<feed xmlns='http://www.w3.org/2005/Atom'>
<title>krino.git/internal/extract, branch main</title>
<subtitle>rule-based file sorter in Go, shows the plan before touching anything, applies only the files you choose, and can undo any run, with s-expression rules and a GTK 4 window</subtitle>
<id>https://git.labunix.xyz/krino.git/atom?h=main</id>
<link rel='self' href='https://git.labunix.xyz/krino.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/'/>
<updated>2026-09-17T12:07:37Z</updated>
<entry>
<title>max-read bounds what a file becomes, not only what is read</title>
<updated>2026-09-17T12:07:37Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-17T12:07:37Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=4c6fadfab5434317357ad0272ace7927d2945942'/>
<id>urn:sha1:4c6fadfab5434317357ad0272ace7927d2945942</id>
<content type='text'>
max-read gates on file size before reading, then the text was read
whole and decoded: a file that is not valid UTF-8 decodes one byte per
code point and doubles, and normalising and folding copy that again per
set of options, with GOMAXPROCS files in flight. Twelve 40 MB files
reached 3.3 GB - enough to put a laptop into the OOM killer, with no
attacker involved, just a few big .log or .csv files.

Two bounds. The decoded text is cut to max-read at a rune boundary, so
the ceiling means what a reader takes it to mean. And extraction of
files at or above 4 MiB is rationed to two at a time, since holding
several large texts at once is what multiplies the ceiling; smaller
files, which is nearly all of them, are untouched.

  twelve 40 MB files: peak RSS 3294 MB -&gt; 728 MB, wall 27s -&gt; 46s
  two thousand small files: 0.05s both ways

The wall-clock cost falls entirely on large files needing extraction,
and buys a program that finishes instead of being killed.
</content>
</entry>
<entry>
<title>comments that explain the code, not how it was written</title>
<updated>2026-09-17T10:11:42Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-17T10:11:42Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=bddbd74e4a73e8e32bcf648efd1cac5655f6d0cd'/>
<id>urn:sha1:bddbd74e4a73e8e32bcf648efd1cac5655f6d0cd</id>
<content type='text'>
About 340 comments cited the development process: task and plan
numbers, fix waves, rulings, reviewers, and the author in the third
person with a date. None of that exists outside the work itself, so to
a reader it pointed at nothing. Each one now states the engineering
reason it was standing in front of; where a comment was provenance and
nothing else, it is gone.

References to docs/design.md and docs/gui-design.md by section stay:
both ship with the repository. The design documents lose their
amendment diaries - CHANGELOG.md is that record - and the GUI's says
plainly that the window has gone further than the document.

Only comments changed. Every .go file was parsed and its code printed
with comments stripped, before and after: the two hashes are identical
across all 175 files.
</content>
</entry>
<entry>
<title>docs: GUI design draft; code comments no longer name the owner</title>
<updated>2026-09-15T20:09:06Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-15T20:09:06Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=bbc9b103acac96b83b150b81f2effe1b65c3f8a2'/>
<id>urn:sha1:bbc9b103acac96b83b150b81f2effe1b65c3f8a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>partial reads never cached; extractor version 3 discards 0.0.7 caches</title>
<updated>2026-09-14T22:27:13Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-14T22:27:13Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=fc6eda20555ea33f1a8260610056b7079c8e8fd9'/>
<id>urn:sha1:fc6eda20555ea33f1a8260610056b7079c8e8fd9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests read real documents from LibreOffice and pandoc; antiword's short-document limit documented</title>
<updated>2026-09-14T22:02:37Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-14T22:02:37Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=8a046c897e42e9459aa99377589c80c773601efc'/>
<id>urn:sha1:8a046c897e42e9459aa99377589c80c773601efc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>build: VERSION checked for build and install, cross names without v, dependency gate covers tests and BSDs, tarball install, examples and extractor list tested</title>
<updated>2026-09-14T21:55:57Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-14T21:55:57Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=04f46bf180cf506ceadb76b5afacf9c02700cc65'/>
<id>urn:sha1:04f46bf180cf506ceadb76b5afacf9c02700cc65</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main excludes checked with the defaults' case and fold; Latin-1 decoding memory; hardlink election documented</title>
<updated>2026-09-14T21:53:54Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-14T21:53:54Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=0b155e8df3205aebf129091b517f4116665a5adc'/>
<id>urn:sha1:0b155e8df3205aebf129091b517f4116665a5adc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>content tests are three-valued: unknown when unreadable or read in part</title>
<updated>2026-09-14T21:39:37Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-14T21:39:37Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=c09020c2fb01da24d5befbed78ce3b73b5efbe4c'/>
<id>urn:sha1:c09020c2fb01da24d5befbed78ce3b73b5efbe4c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests run on OpenBSD; a tool's error message survives one large write; lock pids beyond 32 bits name no process</title>
<updated>2026-09-14T21:30:08Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-14T21:30:08Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=01b0cfe2055e23cf03870d9a9f60648037b4005e'/>
<id>urn:sha1:01b0cfe2055e23cf03870d9a9f60648037b4005e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>text that turns binary further on has no content, like an image</title>
<updated>2026-09-14T21:24:08Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-09-14T21:24:08Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/krino.git/commit/?id=11a2c57c6eeaff0ef963fc6f8b74caa27b147bdb'/>
<id>urn:sha1:11a2c57c6eeaff0ef963fc6f8b74caa27b147bdb</id>
<content type='text'>
</content>
</entry>
</feed>
