HNHacker News
TopNewBestAskShowJobs

cjk

523 karma · joined January 28, 2011

Cody Krieger

CTO at Config (https://config.com)

Personal website: https://krieger.io

[ my public key: https://keybase.io/cjk; my proof: https://keybase.io/cjk/sigs/ItSjdGcDzRZHDPvBRf-EIRP4QOJEdA26KPBHvi7f3Nk ]

submissionscomments
cjk··on Vomit: Clean up Claude 5's token output with a separate LLM
I recently asked Claude (Opus 5) to give me guidance on how to instruct it to be less verbose in a way that it will _actually follow_. Its response was something to the effect of (and I'm heavily paraphrasing here) "'Succinct' and 'short' aren't objective measurements. Try providing a strict word budget instead."

Given that guidance, I tried specifying "Unless I ask you to elaborate, respond with no more than one paragraph, using sentences of 20 words or fewer." It works...ish. I still see it violate this rule regularly, but it's less bad IME.

cjk··on Vomit: Clean up Claude 5's token output with a separate LLM
After a huge wall-of-text response, I regularly ask Claude to "explain like I'm five, using succinct bullet points," and it works remarkably well.
cjk··on So, you want to make a game engine (2023)
For me, the interest in engine-making is to give myself a toolkit that is suited for the kinds of games I want to make, rather than an engine that is trying to be everything to everyone. Also to avoid the Unreal Engine monoculture.
cjk··on "Opus 5 is a really bad model"
Anecdotally, I have also felt many of these same complaints.

In my case, I have a semi-autonomous loop where Claude writes some code, and uses `codex exec` to do an adversarial review. I had what should have been a trivial feature go for 13 rounds of review/fix before I stopped it, where each round was just flip-flopping the same logic back and forth to try to make the tests pass. Codex kept (correctly) re-identifying the issues Claude was flip-flopping on. Codex even suggested fixes that would have worked; Claude ignored them repeatedly. I never saw anything remotely this bad on Opus 4.8.

Additionally, I have a CLAUDE.md instruction to not silently defer anything, and ask me anytime it wants to do so. Opus 4.8 paid attention to this rule the overwhelming majority of the time. Opus 5 seemingly cannot be bothered.

I have tried updating my CLAUDE.md according to Anthropic’s recommendations for Opus 5, but it doesn’t seem to have made any difference.

cjk··on What to learn to be a graphics programmer
This is brilliant. Thanks!
cjk··on What to learn to be a graphics programmer
Couldn't disagree more. I've only recently started digging into graphics programming and I've found it incredibly rewarding. It's the _one_ area of expertise that I don't yet have that has been preventing me from solo-developing a 3D game engine.

It takes five minutes of trawling through the videos on the GDC Vault to see all of the clever and interesting ways modern graphics engineers are eking every bit of performance out of modern hardware. Is it as clever or innovative as Carmack's fast inverse square root? I don't know. I'm not sure how to compare those things. But there is still plenty of room for that flavor of work for those that are interested.

cjk··on Physical disc production ending in Jan 2028 for new games on PlayStation
Sony in particular is doubling down on platform exclusives again. I was waiting for Ghost of Yōtei to come out on PC, but Sony cancelled the port. We're well and truly fucked without physical media for exclusives like this.
cjk··on Claude Sonnet 5 – benchmark results
I have heard this from a bunch of folks, but that was not my experience. For the couple days I was able to use it, I didn't hit a single gate, and I was using it pretty extensively (but not for anything security-related).
cjk··on Ask HN: Is WordPress the best way to create new websites for beginner
In that case, I would consider a lightweight static site generator.

It sounds like you're fairly new to programming, so I would suggest a static site generator that is easy to install and use.

Zola[1] is less well-known, but it's easy to install and fast. I tend to use Hugo[2] the most these days, which is fast and has solid documentation, but its template syntax is really annoying compared to Zola.

[1]: https://www.getzola.org/documentation/getting-started/overvi...

[2]: https://gohugo.io/getting-started/quick-start/

cjk··on Ask HN: Is WordPress the best way to create new websites for beginner
Depends on your goal.

If you’re not interested in hand-maintaining the code of the website(s), and you just want a nice GUI for publishing pages/posts/etc., then I’d say use some hosted platform like Squarespace.

For actually learning how to build websites, start with something more low-level and barebones like a static site generator (Jekyll, Hugo, Gatsby, etc.), or even plain GitHub Pages without a static site generator for the most “manual” experience.

In neither of those cases would I consider WordPress.

cjk··on DaVinci Resolve – Photo
I use Lightroom Classic with the excellent Negative Lab Pro plug-in for converting film negatives, but I can’t stand Lightroom itself. I could easily see using this for post-conversion color grading.
cjk··on FCC updates covered list to include foreign-made consumer routers
If US manufacturers (or manufacturers in allied countries) do this, legal avenues exist to hold those manufacturers accountable. Not so with China.

(That is not to say that the FCC change will move the needle on the underlying issue of router security; as some of the ancestor comments have said, lax security practices are common industry-wide, irrespective of country of development/manufacture.)

cjk··on Waymo Safety Impact
I would largely agree with that assessment, yeah. Dangerous place to bike, too. I've even seen pedestrians get clobbered by bikers because they stepped into the bike lane not realizing a bike was barreling toward them at 20mph+. This is part of why Waymo and Uber warn you when the dropoff is next to a bike lane.
cjk··on Waymo Safety Impact
I was recently in a Waymo in SF. It was turning right from a busy street onto a narrow street. Mid-turn, the car slammed on the brakes. I sat there for a couple seconds like “???” wondering if we'd hit something. Then a dude on an e-bike _flies_ past the car in the bike lane.

The car saw this dude coming from way down the street, flying, and was like “yeah, better stop.” Probably saved the biker from serious injury, or worse. I wouldn't have seen him if I was driving.

cjk··on Aliens.gov ~ domain registered 17MAR2026
$4.50/gal+ as of a couple days ago in Vegas. Probably higher now.
cjk··on GitHub Actions is slowly killing engineering teams
We started using Buildkite at $DAYJOB years ago and haven't looked back. Incredibly, GitHub Actions seems to have gotten _worse_ in the interim. Absolutely no regrets from switching.
cjk··on Linux From Scratch ends SysVinit support
Man. I'd really rather they did the inverse: drop systemd and only maintain the SysV versions of the materials, even if that means dropping GNOME/etc., because I think understanding the Linux init process is far more important than making any specific desktop environment available.
cjk··on Bose has released API docs and opened the API for its EoL SoundTouch speakers
Oh man. I missed that announcement somehow.

Where'd you see they're exiting pro/flagship tier stuff? Everything I can find says they're continuing to hand-make their higher-end stuff in Germany. One such source: https://www.whathifi.com/headphones/100-year-old-headphone-b...

cjk··on Bose has released API docs and opened the API for its EoL SoundTouch speakers
If you're talking about their headphones, I agree they _feel_ cheaply-made, but they are by no means low-quality. When you make headphones with premium materials, they get heavy, and that makes them uncomfortable/painful to wear. Speaking from prior experience. It's an incredibly delicate balancing act. Bose optimizes for comfort, which is important for e.g. long plane rides.
cjk··on Bose has released API docs and opened the API for its EoL SoundTouch speakers
In a previous life, I was the platform architect for the Bluetooth headphones at Bowers & Wilkins. We, naturally, did tons of competitive analysis, and I tend to agree Bose blows sound quality-wise, but their active noise cancelling is hands-down the best in the biz, and they have the weight and comfort extremely dialed-in.

Glad to see them setting a great example here instead of letting these speakers become expensive paperweights.

cjk··on Creators of Tailwind laid off 75% of their engineering team
I'm a Tailwind Plus customer in spite of not being the world's biggest Tailwind fan. Even though it really grinds my gears how unreadable markup can be when littered with Tailwind classes, I appreciate the quality and variety of the templates and components available in Tailwind Plus and the constant (free!) updates. So this is a bummer to hear. Many thanks to Adam and the team.
cjk··on I switched from VSCode to Zed
Zed has been one of the most consequential changes to my dev tools in years. It's noticeably faster in day-to-day use than VS Code (launch time, input latency, etc.), is way less of a resource hog, and has the best Vim mode of any GUI editor I've ever used.
cjk··on 2026 will be my year of the Linux desktop
It's mostly Mass Effect that's trouble under Proton. It requires the stupid EA launcher, which is trash. I have a Lenovo Legion Go S and getting it to work reliably is an absolute nightmare. Most other games I play are fine.
cjk··on 2026 will be my year of the Linux desktop
Yeah. I feel the same way. If not for the fact that my gaming PC pulls double duty as a work PC, I'd seriously consider ditching Windows 11 for Bazzite.

I worry that we are edging closer and closer to a similar phenomenon with macOS as well. Apple seems intent on squandering every bit of stability and sanity that macOS used to represent. Maybe now that Alan Dye is gone, we will at least see the abomination that is Liquid Glass fixed…somehow.

cjk··on Why users cannot create Issues directly
Having maintained a relatively popular open source project for a bunch of years, I love this idea. Totally stealing this for future projects.
cjk··on Ask HN: By what percentage has AI changed your output as a software engineer?
Extremely context-dependent for me.

For boilerplate stuff like generating tests against a well-defined API, in a compiled language, maybe 2-3x. Far less in languages and frameworks like Ruby/Rails where the distance between generating the code and figuring out if it’s even valid or not is large.

Mechanical refactors that are hard to express via e.g. regex but easy in natural language: maybe 5x.

HTML and CSS, where I know exactly what I want and can clearly articulate it: 2-5x.

For anything architecture-y, off the beaten path, or where generating a substantial amount of code is required: near 0%. Often in the negatives.

cjk··on Fil-C: A memory-safe C implementation
I worked with the author of Fil-C at Apple while on the Safari team, and he's easily one of the brightest folks I've had the pleasure of knowing. Fil-C looks extremely cool.
cjk··on Steve Jobs and Cray-1 to be featured on 2026 American Innovations $1 coin
Yes, the US Mint sells all of the coins in the American Innovation set to the public. Previous years’ coins can still be bought if they are not sold out.
cjk··on Retiring Test-Ipv6.com
I've had IPv6 with the last three ISPs I've had across California and Nevada. I can't honestly remember the last time I _didn't_ have IPv6.
cjk··on Electron-based apps cause system-wide lag on macOS 26 Tahoe
Before I left Apple ~10y ago, it was pretty common to drop linked-on-or-after hacks into AppKit and UIKit to keep popular software chugging along. Assuming they're still doing that sort of thing, this was either missed or deemed not high-enough priority to add such a check (or maybe one was added, and the only reason this issue has been noticed is because Electron and Electron apps are now being built against the macOS 26 SDK).
Page 1 of 5Next →