Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fielding
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
fielding
6mo ago
I designed the system, wrote the spec, validated the output, and ran it through a test framework I'm building that generates constraints in isolation. Then checks the implementation against those constraints in a feedback loop until th
2.
▲
by
fielding
6mo ago
Nit was actually one of the first projects built via a framework I'm building (specter) that generates code and test constraints in parallel isolation (to prevent gaming the tests/constraints), then uses the constraints as a feedb
3.
▲
by
fielding
6mo ago
Yeah, Claude is a co-author on the commits. On purpose. You can turn that off in one line, I left it on because I'm not trying to hide it. I do have a day job that takes up the majority of my time, so yes, I absolutely use claude to bu
4.
▲
by
fielding
6mo ago
Is it though? The person who commissions a painting doesn't design the composition, validate every brushstroke, and run the output through an automated test suite. The analogy breaks down pretty fast.
5.
▲
by
fielding
6mo ago
Not saying it is the bottleneck. It's bloat. 7.4% of all shell tokens across 3,156 sessions is a lot of unnecessary context. It won't make or break a session, but it adds up across thousands of calls.
6.
▲
by
fielding
6mo ago
The tokens still land in the context window either way. Prompt caching gives you a discount on repeated input, but only for stable prefixes like system prompts. Git output changes every call, so it's always uncached, always full price.
7.
▲
by
fielding
6mo ago
this is awesome! thanks for sharing rtk.. going to check it out.
8.
▲
by
fielding
6mo ago
correct
9.
▲
by
fielding
6mo ago
It goes beyond what I was able to do with git settings alone. Specifically stripping the headers/padding/decorative and it doees it across all output (or well a lot of it).
10.
▲
by
fielding
6mo ago
nit's defaults go beyond what --short does. The token savings come from stripping headers, padding, instructional text, etc. Headers and decorative text ends up tokenizing poorly, so it helps quite a bit there.
11.
▲
Show HN: Nit – I rebuilt Git in Zig to save AI agents 71% on tokens
(justfielding.com)
23 points
by
fielding
6mo ago
|
34 comments
12.
▲
by
fielding
10y ago
If anybody needs an invite I will gladly invite =)