Repository navigation
Releases
nmtk 0.5.1
Enter does what the screen says, and the transformer's collapse is shown as it really happens.
Every quest
- "Now give the attacker 51% and press Enter again" starts that attack. It used to go back and redo the 30% one, which vanished from the conversation.
- On a stage with values to turn, the closing line says what Enter does: it runs the stage again with the values on screen, and Tab walks on.
Transformer
- At three thousand times the learning rate, the model collapses onto one character, most often the space. The sentence after the run names that character and the losses that show the collapse, and an answer of nothing but spaces is said in words instead of drawn as a blank.
- The numbers stay numbers when the rate runs away: long gradients are clipped, overflowing scores stay a distribution, and a model with nothing left to rank says nothing rather than inventing letters.
- Settings that are refused let the conversation finish and say that nothing ran. The recap is built from every run in the quest.
Zero-knowledge proofs
- At 80x24 the tuning panel shows all seven rows of the circuit instead of two. Anything that still does not fit goes whole, and the panel says so.
rforgets only what the stage on screen measured.
Ledger models
- A counter that has run out is refused as exhausted, not as already used.
The program
NO_COLORcounts on every launch unless you chose colour yourself unders.- A settings file with a line nmtk cannot read keeps every other setting. The file as it was is copied to
settings.toml.bad, and the list says so. - A second signal while nmtk is shutting down no longer leaves the terminal raw.
To update an existing checkout:
git pull && ./install.shTo build exactly this version: git checkout v0.5.1 && ./install.sh
Enter가 화면에 적힌 대로 동작하고, 트랜스포머가 무너지는 모습도 실제 그대로 보여 줍니다.
모든 퀘스트
- "이번에는 공격자에게 51%를 주고 다시 Enter를 누르세요"를 따르면 바로 그 공격이 시작됩니다. 전에는 앞의 30% 공격으로 되돌아가 다시 돌렸고, 그 공격은 대화에서 사라졌습니다.
- 값을 바꿀 수 있는 단계에서는 마지막 줄이 Enter가 하는 일을 알려 줍니다. Enter는 화면의 값으로 다시 실행하고, Tab은 다음 단계로 넘어갑니다.
트랜스포머
- 학습률을 3000배로 올리면 모델이 글자 하나, 대개는 빈칸만 되풀이하며 무너집니다. 실행 뒤 문장이 그 글자와, 무너졌다는 것을 보여 주는 손실 값을 말해 줍니다. 빈칸만 나온 답은 빈 줄로 두지 않고 글로 보여 줍니다.
- 학습률이 폭주해도 숫자는 숫자로 남습니다. 긴 기울기는 잘라 내고, 넘친 점수도 확률 분포로 남으며, 순위를 매길 것이 남지 않은 모델은 글자를 지어내지 않고 아무 말도 하지 않습니다.
- 거절된 설정에서도 대화가 끝까지 이어지고, 아무것도 돌지 않았다고 말합니다. 정리 단계는 퀘스트 전체의 실행 기록으로 만듭니다.
영지식 증명
- 80×24에서 튜닝 패널이 회로 행을 2개가 아니라 7개 모두 보여 줍니다. 그래도 들어가지 않는 것은 한 줄씩 통째로 빼고, 뺐다고 알려 줍니다.
r은 지금 화면에 있는 단계가 잰 것만 지웁니다.
원장 방식
- 끝에 닿은 카운터는 '이미 쓰임'이 아니라 '다 씀'으로 거절됩니다.
프로그램
s에서 직접 색을 고르지 않았다면NO_COLOR가 실행할 때마다 적용됩니다.- 설정 파일에 읽을 수 없는 줄이 있어도 나머지 설정은 그대로 살립니다. 원래 파일은
settings.toml.bad로 복사해 두고 목록 화면에서 알려 줍니다. - nmtk가 끝나는 도중에 시그널이 한 번 더 와도 터미널이 망가진 채로 남지 않습니다.
이미 받아 둔 저장소를 업데이트하려면:
git pull && ./install.sh딱 이 판으로 빌드하려면: git checkout v0.5.1 && ./install.sh
Changes since 0.5.0: v0.5.0...v0.5.1
nmtk 0.5.0
Every quest now tells the truth about what ran, and nmtk leaves the terminal as it found it.
Proof of work
- Threads look up every 256 hashes instead of every 4,096, so the honest side no longer wastes most of its work on heights already taken. A 10% attacker no longer wins races it should almost never win.
- A reorg carries over the branches that forked from blocks it threw out, and chains are compared by height, so a hard target cannot stall the race.
- 51% on a small machine no longer rounds down to a tie. The attack keeps to the thread count you allowed, and the panel shows the share the attacker really holds.
rforgets only what its own stage did. Every panel shows a word only once the conversation has explained it.
Ledger models
- Paying exactly the value of two coins no longer loses ten of them.
- A whole coin spent twice is refused for the reason the object model names: the version has moved on.
- A counter at the end of its range is refused rather than replayed.
Zero-knowledge proofs
- The verifier draws its challenge from its own coin, not from the prover's.
- The trusted-setup attacker opens a commitment of its own at a false value, using only the leftover randomness. It never touches the honest sender's secret.
The program
- nmtk gives the terminal back on a quit, an error, a panic or a signal, and stops every run.
- The thread count under
sreaches the quests. nmtk --helpandnmtk --versionwork; nmtk will not draw into a pipe.NO_COLORis honoured, and colour off draws no colour at all.
Install
install.shinstalls a C linker andcurlwhen they are missing, fetches the Rust this repository pins, and does not start nmtk outside a terminal.- Every push is checked for formatting, lints, tests and a release build.
To install or update:
git clone https://github.com/needmoretruth/needmoretruthknowledge.git && cd needmoretruthknowledge && ./install.shTo build exactly this version: git checkout v0.5.0 && ./install.sh
모든 퀘스트가 실제로 돈 것을 사실대로 말하고, nmtk는 끝날 때 터미널을 처음 그대로 돌려놓습니다.
작업증명
- 스레드가 4,096번이 아니라 256번 해시할 때마다 새 작업이 왔는지 확인합니다. 그래서 정직한 쪽이 이미 다른 블록이 차지한 높이에 힘을 낭비하지 않고, 10% 공격자가 거의 이길 수 없는 경주에서 이기던 일도 없어졌습니다.
- 리오그가 버린 블록에서 갈라진 곁가지도 이어서 챙기고, 체인은 높이로 비교합니다. 그래서 어려운 목표값에서도 경주가 멈추지 않습니다.
- 작은 컴퓨터에서 51%가 반올림돼 동률이 되던 문제를 고쳤습니다. 공격은 허용한 스레드 수 안에서만 돌고, 패널에 공격자가 실제로 쥔 몫을 보여 줍니다.
r은 그 단계가 한 일만 지웁니다. 패널에는 대화에서 설명한 낱말만 나옵니다.
원장 방식
- 코인 둘의 합과 똑같은 금액을 보낼 때 10이 사라지던 문제를 고쳤습니다.
- 코인 하나를 통째로 두 번 쓰면, 객체 방식이 내세우는 이유대로 버전이 이미 바뀌었다며 거절합니다.
- 카운터가 끝에 닿으면 다시 쓰이는 대신 거절됩니다.
영지식 증명
- 검증자는 증명자의 난수가 아니라 자기 동전으로 챌린지를 뽑습니다.
- 신뢰 설정 공격자는 남은 난수만 써서 자기 커밋먼트를 거짓 값으로 엽니다. 정직한 보낸 사람의 비밀은 건드리지 않습니다.
프로그램
- 정상 종료, 오류, 패닉, 시그널 중 어떤 식으로 끝나도 터미널을 돌려놓고 모든 실행을 멈춥니다.
s에서 정한 스레드 수가 퀘스트까지 전달됩니다.nmtk --help와nmtk --version이 동작하고, 출력이 파이프로 가면 화면을 그리지 않습니다.NO_COLOR를 따르고, 색을 끄면 정말로 색을 하나도 쓰지 않습니다.
설치
install.sh가 C 링커와curl이 없으면 설치하고, 이 저장소가 고정해 둔 Rust를 받으며, 터미널이 아닌 곳에서는 nmtk를 실행하지 않습니다.- push할 때마다 포맷, 린트, 테스트, 릴리스 빌드를 검사합니다.
설치하거나 업데이트하려면:
git clone https://github.com/needmoretruth/needmoretruthknowledge.git && cd needmoretruthknowledge && ./install.sh딱 이 판으로 빌드하려면: git checkout v0.5.0 && ./install.sh
Changes since 0.4.0: a7aed71...v0.5.0