frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Loop Engineering: Optimizing Code Generation and Verification

https://bradleygibbs.dev/posts/loop-optimization/
11•bradleygibbs•18h ago

Comments

bradleygibbs•18h ago
Author here. This is a detailed (8,000+ word, plus 2 companion pieces) walk-through of building loops for code generation and verification, complete with artifacts and detailed explanations to allow you to implement any of these techniques.

We walk through building: - an evaluation contract, evaluator and stopping conditions to minimize bugs - establishing an environment and priming AI to produce production-quality tests and code - detecting and correcting common AI failure modes - building a learning loop to monitor and improve all phases.

I'd love to get your feedback!

Brad

Neywiny•9h ago
I think it's just too much. Honestly it feels like the whole thing could be a tight 100 line bash script. The diagram at the start didn't look too complicated
dhruvagoyal•22m ago
it's full of slop, even if there is something you were hoping to convey, it's lost in 8,000+ words. In this LLM world, less is more.
docheinestages•12m ago
> (8,000+ word, plus 2 companion pieces)

I appreciate the idea, but I doubt you wrote or actually read the whole thing. There's no point in trying to impress people with complexity. The art of writing is to convey your message with the least amount of text, while retaining maximum information, and making it easy to read.

I could've written what I wrote above with 8,000+ words too.

duhhhhh1212•8h ago
https://www.pangram.com/history/664f8cc4-cfcb-40f4-8c81-e468...

Don't waste your time. (s)Looped!!

mobilejdral•15m ago
Sure, could probably be made shorter, but the content was more valuable than some pangram score. I found it useful to read as it discusses a problem currently facing teams.

Fable Took My Job

https://cendyne.dev/posts/2026-10-11-fable-took-my-jorb.html
75•jllyhill•1h ago•21 comments

Postgres isn't slow, your storage is

https://clickhouse.com/blog/posette-talk-recap-postgres-isnt-slow-your-storage-is
79•saisrirampur•3h ago•43 comments

Type-safe HTML templating in Zig

https://lalinsky.com/2026/10/11/type-safe-html-templating-in-zig.html
113•lukaslalinsky•4h ago•50 comments

Fingerprints are the new cookies

https://royfish.dev/fingerprints-are-the-new-cookies
365•royfish•11h ago•173 comments

Total Annihilation, rebuilt for modern computers

https://nanolathe.gg
506•jttnr•15h ago•201 comments

Calculus with Julia

https://jverzani.github.io/CalculusWithJuliaNotes.jl/
127•subset•1d ago•11 comments

Running the unmodified Linux amdgpu driver on an iPad

https://github.com/Geramy/LemonSeed-Studio
18•joshcsimmons•23h ago•9 comments

Whatever became of holography? (2011)

https://www.americanscientist.org/article/whatever-became-of-holography
132•cainxinth•9h ago•63 comments

Cartographers of North Korea (2019)

https://cartographers-nk.wonyoung.so/
261•edent•13h ago•47 comments

Zod 4.6.6 compromised by malware?

https://github.com/colinhacks/zod/commit/d821685ea6732436fcdf786a81d076958471e467
118•luggage_bazooka•1h ago•31 comments

Terence Tao: Math 2.0 [pdf]

https://teorth.github.io/tao-web/slides/math-2-0-caltech-2026.pdf
399•Anon84•20h ago•423 comments

Loop Engineering: Optimizing Code Generation and Verification

https://bradleygibbs.dev/posts/loop-optimization/
11•bradleygibbs•18h ago•6 comments

Show HN: PS2 games statically recompiled to WebAssembly

https://github.com/snuri00/ps2-web-recomp
18•deadxwarrior•2h ago•0 comments

The gap in shared understanding of LLM capability is widening

https://twitter.com/karpathy/status/2109361546505966046
457•albertzeyer•13h ago•654 comments

No portable way to detect string-to-float conversion errors in standard C

https://sebsite.pw/w/20261009-strtod.html
49•signa11•1d ago•40 comments

Local Indexing to reduce tool calling and token usage

https://tedhaley.ca/pensieve/
78•TedHaley•9h ago•19 comments

Will Linux phones become a viable alternative to the Android/iOS duopoly?

https://amosbbatto.wordpress.com/2026/10/05/linux-phones-alternative/
146•amosbatto•4h ago•154 comments

Research Firm Calls Anthropic's IPO 'Unprecedented Test of Investor Gullibity'

https://www.cnbc.com/2026/10/07/anthropic-will-be-most-ridiculous-ipo-of-year-analyst-says.html
63•m463•4h ago•19 comments

Doory – Open-Source Canva

https://github.com/shaongitbd/doory
112•acley•8h ago•41 comments

Illustration Beyond Proof

https://terrytao.wordpress.com/2026/10/11/illustration-beyond-proof/
66•smilelamp•10h ago•4 comments

Passkeys are a trap

https://nonfunctional.substack.com/p/passkeys-are-a-trap-do-not-use-them
613•laurex•11h ago•367 comments

Chapter 1 of "Ways of Seeing" by John Berger (1972)

https://www.ways-of-seeing.com/ch1
110•rafael859•15h ago•18 comments

Every US Electrical Outlet Explained [video]

https://www.youtube.com/watch?v=n_1wzYQwnts
25•zdw•1d ago•30 comments

Ask HN: Do you want a router that has DD-WRT pre-installed?

53•Ixander•1d ago•56 comments

So, you’d like to sell your print issues of The Onion?

https://theonion.com/archivehunt/
325•mooreds•13h ago•48 comments

Programmable pigments: Photochromic nanoparticle inks for rewritable tattoos

https://www.cell.com/matter-light/fulltext/S3117-5848(26)00119-5
53•Bluestein•1d ago•36 comments

NYC's "Click to Cancel" rule is now in effect

https://www.nyc.gov/main/click-to-cancel
472•gregsadetsky•15h ago•221 comments

Google Data Centers around the world

https://datacenters.google/locations/
57•andsoitis•10h ago•52 comments

Vectorized CLZ and CTZ

https://purplesyringa.moe/blog/vectorized-clz-and-ctz/
44•zX41ZdbW•1d ago•5 comments

I guess I'm using WebP now?

https://anderegg.ca/2026/10/08/i-guess-im-using-webp-now
110•Brajeshwar•2d ago•122 comments