Better HN
topnewbestaskshowjobs
Log inSign up

zmj

904 karma · joined Jul 11, 2011 (15y ago) · 255 submissions

Blog: https://words.zmj.dev

RMNP hiking photography: https://hiking.zmj.dev

Go radix tree: https://pkg.go.dev/github.com/zmj/radixtree

C# rsync delta: https://github.com/zmj/rsync-delta

C# SQLite wrapper: https://www.nuget.org/packages/Sqlite.Fast/

Submissions

comment 2w ago · link · parent

I built https://recvmail.net to scratch my itch for a way for agents to sign up for accounts with email verification.

comment 1mo ago · link · parent

Nice writeup. Structured handoffs and external plan reviews are good takeaways.

comment 1mo ago · link · parent

This is awesome. The Cloudflare platform is great; being able to run more of it locally is a definite plus.

comment 1mo ago · link · parent

I had the exact same thing happen a few weeks ago - a DO alarm accidentally set to a past time, retriggering immediately. Claude caught it within a couple minutes from its log tail, though.

comment 2mo ago · link · parent

I thought this was going to be about comma-separated CSV files.

comment 3mo ago · link · parent

Yep. Look for the problems that aren't going to get solved without you - either because nobody else sees the problem, nobody else is positioned to be the solution, or because your skills uniquely line up. That can't be all you do, but it's the highlight reel.

comment 3mo ago · link · parent

The incentives that creates are really bad: it encourages users to organize their code across the smallest number of repos, and I'd bet anything that larger repos are disproportionately more expensive for GitHub than smaller ones. It's very possible that a per-repo charge would make things worse.

comment 3mo ago · link · parent

I'm coming to think there's a selection effect here. The people that want to write complex code feel unsupported by Go and avoid it.

comment 3mo ago · link · parent

It's not contradictory to say that expertise is a multiplier, and that models are systematically underconfident in themselves.

comment 3mo ago · link · parent

This is what reward hacking looks like in practice. The best way to satisfy the grader is to read from the same answer key (or go after the grader more directly). Just making an honest attempt to pass the test doesn't get the best score if the grader is wrong, and the model is willing to do wildly disproportionate things to maximize that score.

comment 4mo ago · link · parent

It wasn't. The model discovered and exploited a vulnerability in their package manager proxy to (inferred) move laterally through their internal systems to one with open internet access.

comment 4mo ago · link · parent

I haven't modeled it, but I wonder how far you'd get on randomizing the policy choice for concurrency limit 1. Maybe weighted by past results, but bounded to allow it to shift instead of falling permanently into a basin.

comment 4mo ago · link · parent

This plausibly extrapolates to extraterrestrial consciousness, if any exist. Specialized sub-processors with an awareness hub might be the optimal architecture, or at least a local maximum.

comment 4mo ago · link · parent

This is basically the same problem as bear-safe trash cans - there's substantial overlap between the smartest bears and stupidest humans. Affordances that one audience can use and the other can't (requiring human finger dexterity) are the only real solution.

comment 4mo ago · link · parent

Thank you to the folks that navigated the maze in the dark to make this happen.

comment 5mo ago · link · parent

Rule of thumb: if you’re not doing math with a value, it’s not a number.

comment 6mo ago · link · parent

If you want hard rules, use deterministic tools. Prompts are for fuzzy guidance.

comment 6mo ago · link · parent

There are standard library APIs that let you do memory-unsafe things without the unsafe keyword (CollectionsMarshal, MemoryMarshal). They're useful, but the burden is on the caller to uphold the invariants. This proposal seems aimed at making that kind of contract more explicit and obvious.

comment 6mo ago · link · parent

If the fix commit is public, so is the issue being fixed.

comment 7mo ago · link · parent

Yeah, I've been using it heavily at work since the beginning of January (and have a personal Anthropic sub to compare to). Copilot CLI is pretty good, honestly. Most new features in Claude Code get cloned by Copilot CLI within a couple weeks. Claude models seem mildly more clumsy in that harness than the one they're trained on - subjective guess around 20% more turns for an equivalent task - but it's not a noticeable difference in the final output.

21.

2026 Hugo Nominees(thehugoawards.org ↗)

1 points · by zmj · 7mo ago · discuss

comment 8mo ago · link · parent

It's great. I'd guess 80-90% of my code is produced in Copilot CLI sessions since the beginning of the year. Copilot CLI is worse than Claude Code, but not by a huge amount. This is mostly working in established 100k+ LOC codebases in C# and TypeScript, with a couple greenfield new projects. I have to write more code by hand in the greenfield projects at their formative stage; LLMs do better following conventions in an existing codebase than being consistent in a new one.

Important things I've figured out along the way:

1. Enable the agent to debug and iterate. Whatever you'd do to test and verify after you write your first pass at an implementation, figure out a way for an agent to do it too. For example: every API call is instrumented with OpenTelemetry, and the agent has a local collector to query.

2. Make scripts or skills to increase the reliability of fallible multi-step processes that need to be repeated often. For example: getting an oauth token to call some api with the appropriate user scopes for the task.

3. Continually revise your AGENTS.md. I'll often end a coding session by asking the agent whether there's anything from this session that should be captured there. That adds more than it removes, so every few days I'll compact it by having an agent reword the important stuff for conciseness and get rid anything obvious from implementation.

comment 9mo ago · link · parent

This is the happy ending.

comment 9mo ago · link · parent

I also like the callback - not sure if it's intentional - to Stross's "Lobsters" (short story that turned into the novel Accelerando).

comment 9mo ago · link · parent

Testing the "whole system" for a mature enterprise product is quite difficult. The combinatorial explosion of account configurations and feature usage becomes intractable on two levels: engineers can't anticipate every scenario they need their tests to cover (because the product is too big understand the whole of), and even if comprehensive testing was possible - it would be impractical on some combination of time, flakiness, and cost.

comment 9mo ago · link · parent

Separate! You lose the flexibility to move logic between the application and the database when the database is its own API.

comment 9mo ago · link · parent

Try this:

* have Claude produce wireframes of the screens you want. Iterate on those and save them as images.

* then develop. Make sure Claude has the ability to run the app, interact with controls, and take screenshots.

* loop autonomously until the app looks like the wireframes.

Feedback loops are required. Only very simple problems get one-shot.

comment 9mo ago · link · parent

I like this thought. Scaling review is definitely a bottleneck (for those of us who are still reading the code), and spending some tokens to make it easier seems worthwhile.

comment 9mo ago · link · parent

Yesterday I had it using an internal library without documentation or source code. LSP integration wasn't working. It didn't have decompilation tools or the ability to download them.

I came back to my terminal to find it had written its own tool to decompile the assembly, and successfully completed the task using that info.

12345
9