News for hackers. Stuff that matters.

rkuska

Re:Better HTTP/1 connection reuse in Go 1.27 on Thursday October 15, 2026 @06:41AM (#50101796)
We switched to Decoder due to allocations after profiling - we were using the Decoders/Encoders in a pipeline.

Don't believe there was a more convenient way to achieve the same without writing our own Decoders/Encoders.

Re:Better HTTP/1 connection reuse in Go 1.27 on Thursday October 15, 2026 @06:39AM (#50101773)
go-gin switched to using Encoder in some minor version and had to switch back too due to the same problem: https://github.com/gin-gonic/gin/issues/2209
Re:Better HTTP/1 connection reuse in Go 1.27 on Wednesday October 14, 2026 @02:12PM (#50092268)
Now if you use json’s Decoder you can read a body and still might end up without reused connection - if a response contains a newline.

Decoder only reads X bytes (512? I don’t remember) and if the structure fits into these bytes exactly (and the multiplications of it) the newline leaves hanging there.

I always check for Decoder.More (this drains whitespace) after decoding.

Gilfoyle's take on Smart Fridges: > This thing is addressing problems that don't exist. It's solutionism at its worst.
My favorite part of the UK’s eVisa was taking a portrait photo of my 1.5y old.

I was losing my sanity over all the refusals (app refusing the photos).

Re:Stealth Model on Friday August 21, 2026 @05:20AM (#49385692)
Are you sure you are not talking about CIA?
Re:The Session You Cannot take with you on Friday July 31, 2026 @05:16AM (#49120805)
I am waiting for prices to get down and in the meanwhile I am gathering as much session data from claude/codex as possible so I can then later use them to fine tune open models. I've built my own session parser/archiver for this.
There is a park in my city that used to be the city cemetery. They moved the cemetery to a new place due to capacity and turned the original one into a park.

I think it is a very common practice. Everyone will be forgotten eventually, no matter the fame.

https://cs.wikipedia.org/wiki/Tyr%C5%A1%C5%AFv_sad_(Brno-Vev...

This reminds me of my former CTO. He would take bunch of CVs and randomly throw some of them in a bin. He didn’t want to work with “unlucky” people.
Re:Local Qwen isn't a worse Opus, it's a different tool on Thursday June 18, 2026 @02:23AM (#48581486)
It system prompts that change all the time especially in claude code.
Re:Who's the Smartest Corvid? on Thursday June 11, 2026 @06:07AM (#48488375)
I feed crows during winter in my local park. They recognize me as soon as I enter and follow me around. Some even fly very close above my head and tap me with a wing.

Also they cache food they don't eat, they hide it, cover with leaves and make sure nobody is watching them, they act very casual. I am not sure if they remember the locations though.

Compared to ravens they have smaller head but I believe it is because they spend so much time near people (at least here in Europe you don't see ravens in cities, they are afraid,for historical reasons, of people and low in numbers) they get smarter and more crafty.

I can recommend a great book about corvids with beautiful illustrations: https://yalebooks.yale.edu/book/9780300122558/in-the-company...

Re:Claude Fable 5 on Tuesday June 09, 2026 @01:39PM (#48464535)
Is it possible to use the credits from subscription (https://support.claude.com/en/articles/15036540-use-the-clau...) for fable?
I've tried it on my repository; for go if function is in format `func(...) (T, bool)` and you use it as `object, _ := func(...)` it reports as `Error return value is being ignored` even though it's clearly not an error being ignored (and ignoring the bool ok is a common pattern in go).
Re:Claude Opus 4.8 on Thursday May 28, 2026 @03:42PM (#48314360)
Thinking on max is broken on 4.8 for me, getting many:

⎿ API Error: 400 messages.1.content.17: `thinking` or `redacted_thinking` blocks in the latest assistant message cannot be modified. These blocks must remain as they were in the original response.

From /code-review max.

I don't know, after working for 13 (?) years as a software (and backend) engineer I kind of think writing the actual code is the boring part of our job. 90% of it (random number) is mostly a template code (depending on the language you use).
There is so many concepts that I just sometimes forget, that's the purpose of the file, so I don't have to guess and can explain clearly what I mean (I am not a native speaker).

Example: https://github.com/rkuska/carn/blob/main/VOCABULARY.md

Regarding:

``` # Development Workflow

*Always use `bun`, not `npm`.*

# 1. Make changes

# 2. Typecheck (fast)

bun run typecheck

# 3. Run tests

bun run test -- -t "test name" # Single suite bun run test:file -- "glob" # Specific files

# 4. Lint before committing

bun run lint:file -- "file1.ts" bun run lint

# 5. Before creating PR

bun run lint:claude && bun run test ```

I have these things in pre-commit, this way the targets are always ran and the agent is forced to fix them (I ask claude to commit changes). The agents are erratic and very often skip these steps. Anything that can be deterministic I keep as scripts.

Regarding commits; both codex and claude are terrible at writing them. I have in my user CLAUDE.md:

``` Pattern: `type(scope): message` where type is `fix`, `feat`, `chore`, `docs`, `refactor`, or `style`; scope marks what is affected; message is a short lowercased description.

Keep subject and body lines under 72 characters. Always write a body explaining what, how, and why in continuous human-readable text. For fixes include the error message being fixed. No first-person speech. Re-read the actual git diff before writing — the message must describe what changed, not what was planned.

Use following command to create commit:

```bash git commit -F - <<'EOF' type(scope): subject line

Body paragraph explaining what, how, and why. EOF ```

```

Without it would write the body as a single long sentence; when asked to fix lines it would just insert \n (newlines), which were not respected and were instead just rendered as characters.

Another thing I find helpful is VOCABULARY.md. Very often the agent would assume (connect?) a different thing than what I had in mind, with VOCABULARY I make sure when I say "thing" claude and I have both the same "understading" (connection?) what "thing" is.

Re:An update on recent Claude Code quality reports on Thursday April 23, 2026 @04:25PM (#47881376)
I don't think you can store the cache on client given the thinking is server side and you only get summaries in your client (even those are disabled by default).
I wrote a tool for myself to copy (and archive) the claude/codex conversations github.com/rkuska/carn
Re:Claude Opus 4.7 on Friday April 17, 2026 @03:08PM (#47809423)
It seems like the correct way is to use:

`claude --thinking-display summarized`

The thinking is then visible with ctrl+o in the claude cli (shortcut available at least on mac).

Well you can't really trust the documentation I guess. I can't edit my original comment anymore.

Re:Claude Opus 4.7 on Friday April 17, 2026 @04:19AM (#47803650)
For 4.7 it is no longer possible to disable adaptive thinking. Which is weird given the comment from Boris followed with silence (and closed github issue). So much for the transparency.

> Claude Opus 4.7 (claude-opus-4-7), adaptive thinking is the only supported thinking mode. Thinking is off unless you explicitly set thinking: {type: "adaptive"} in your request; manual thinking: {type: "enabled"} is rejected with a 400 error.

https://platform.claude.com/docs/en/build-with-claude/adapti...

For my claude code I went with following config:

* /effort xhigh (in the terminal cli) - To avoid lazying

* "env": {"CLAUDE_CODE_DISABLE_1M_CONTEXT": "1"} (settings.json) - It seems like opus is just worse with larger context

* "display": "summarized" (settings.json) - To bring back summaries.

* "showThinkingSummaries": true (settings.json) - Should show extended thinking summaries in interactive sessions

Freaking wizardry.

Re:Elevated errors on Claude.ai, API, Claude Code on Wednesday April 15, 2026 @11:41AM (#47780688)
I’ve built a browser cli for that.

https://github.com/rkuska/carn

There is a miniature of Prague from around 1830 by Antonín Langweil. He dedicated his all free time to finish it in a hope of making money for his daughters. Langweil never found a benefactor for his work and he died poor. Pretty tragic story.

https://www.muzeumprahy.cz/en/visit-langweils-model-of-pragu...

Show HN: Càrn – A TUI for browsing your Claude and Codex session archives

https://github.com/rkuska/carn

I was resuming sessions from claude very often and I was always struggling to find the right session to resume. Later I noticed also that some sessions disappeared so I decided to build my own archiver/viewer for conversations from claude/codex.It parses the conversations and shows them in uniform view with toggles to enrich the view with more data and provides an easy way to search/resume and...

( Read More... | no comments | on HN )
Re:The 49MB Web Page on Monday March 16, 2026 @08:09AM (#47397879)
Have the same story but I forgot to disable tc enem on a server, luckily it was just staging.
Re:Ask HN: What did you read in 2025? on Saturday December 27, 2025 @03:01PM (#46404743)
I would recommend The Children of Noisy Village, my 3 year old loves it (she didn't like Pippi Longstocking) and we've read all chapters from all the books several times already.
That's what we do here (Czech republic), we don't take meds until the fever goes over 39°C (above 40 you are looking for trouble). You lay in bed and drink enough to compensate for sweating. My grandma would make you onion tea.
Your comment reminded me of "Godspeed You! Black Emperor - Blaise Bailey Finnegan III":

> Like I said, America's a third world country as it is and... and we're just basically in a hopeless situation as it stands

https://www.youtube.com/watch?v=pP8XBJc2p_g

I keep GY!BE playing on repeat for the past several months.

Older »