frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

AI Wrote My Project, an Nginx Engineer Rebuilt the Architecture

4•zhidao9•2h ago
I've been writing code for over a decade. I work on the nginx team. Recently I had AI (Claude Code + Opus 4.6) write a programmable HTTP benchmarking tool from scratch — C + QuickJS, ~2,000 lines, running in a day. Then I started refactoring its architecture, one commit at a time.

What I learned doesn't match either camp — not "AI will replace us all" nor "it's just hype."

*AI's most dangerous bugs are invisible.* jsbench lets users write JS scripts calling fetch() for load testing. AI wrote the feature and the tests. Report: 16,576 requests, 0 errors. PASS. But every single fetch had failed. The worker thread had no event loop — fetch() couldn't send anything. The code just unconditionally counted each call as success. AI-written code and AI-written tests shared the same blind spot. Not crashes — programs that run fine, pass all tests, and produce wrong results.

*With the right direction, AI is your entire team.* fetch() didn't support concurrency — Promise.all with three requests took 900ms instead of 300ms. AI had implemented "fake async": Promise signature, synchronous blocking inside. I knew the fix: register with a global event loop, return a pending Promise, let the loop drive I/O. I gave AI the problem, the architecture, the existing code, and the constraints. It got it right in one shot — 9 files, 905ms → 302ms. If I'd just said "fetch has a bug," it would've patched around the broken architecture. But a clear direction got a correct structural change.

*Judgment is the real multiplier.* I combined epoll and timers into one "engine" object — one per thread. Simple idea, but 6 files, 20+ call sites. AI changed every one without missing any. If the judgment had been wrong, AI would've applied the mistake just as thoroughly. One architectural call, applied across dozens of files — enormous leverage either way.

*What becomes more valuable:* Architectural judgment — AI implements any direction but won't choose one. Code review — AI produces bugs as fast as code; spotting logic/architecture problems is now a defensive necessity. Domain depth — I knew fetch() needed an event loop because I've written event-driven systems for a decade, not because of a good prompt. AI amplifies abilities you already have; it doesn't create them.

*One line:* In the AI era, technical knowledge isn't for writing code — it's for seeing what's wrong with AI's code. See it, and you have leverage. Miss it, and you're trusting a tool that will confidently tell you everything is fine.

Full series (ongoing): https://github.com/hongzhidao/jsbench/tree/main/docs

Report on the subject of Manufacturers (1791) [pdf]

https://constitution.org/2-Authors/ah/rpt_manufactures.pdf
1•pilingual•1m ago•0 comments

Explaining the PeV neutrino fluxes with quasiextremal primordial black holes

https://journals.aps.org/prl/accepted/10.1103/r793-p7ct
1•dataflow•1m ago•0 comments

Internet Background Noise

https://en.wikipedia.org/wiki/Internet_background_noise
1•tripdout•1m ago•0 comments

Show HN: Secure managed hosting for OpenClaw (free and BYOK)

https://openclaw-setup.me/
1•Gregoryy•5m ago•0 comments

Ask HN: How do you interpret P99 latency without being misled?

1•danelrfoster•8m ago•0 comments

Trapped Between Pitch, Disclaimer, and Confession

https://gilpignol.substack.com/p/trapped-between-pitch-disclaimer
1•light_triad•8m ago•0 comments

The Vocabulary Priming Confound in LLM Evaluation [pdf]

https://github.com/Palmerschallon/Dharma_Code/blob/main/paper/vocab_priming_confound.pdf
1•palmerschallon•10m ago•0 comments

The committee problem: why B2B demos die after the form

https://blog.skipup.ai/buying-committee-demo-scheduling-problem/
1•bushido•12m ago•0 comments

Show HN: Seedance2.live – One place to try many AI image and video models

https://seedance2.live
1•yuni_aigc•16m ago•1 comments

Show HN: Grok Video 10s – Grok AI video generation and creator contest

https://grok-video.org/
2•thenextechtrade•17m ago•0 comments

Grumpy Julio plays with CLI coding agents

https://jmmv.dev/2026/02/one-week-with-claude-code.html
1•todsacerdoti•17m ago•0 comments

The Software Business

https://ivanbercovich.com/2026/the-software-business
2•jimmythecook•21m ago•0 comments

Monopoly Round-Up: The $2T Collapse of Terrible Software Companies

https://www.thebignewsletter.com/p/monopoly-round-up-the-2-trillion
1•walterbell•22m ago•0 comments

Show HN: HelixNotes – Local-first Markdown notes app built with Rust and Tauri

https://helixnotes.com
4•ArkHost•24m ago•0 comments

Security audit of Browser Use: prompt injection, credential exfil, domain bypass

https://arxiv.org/abs/2505.13076
2•tiny-automates•25m ago•1 comments

Infinite Terrain

https://mesq.me/infinite-terrain/
1•memalign•26m ago•1 comments

"What Questions Do You Have for Me?": Acing the Reverse Interview

https://robbygrodin.substack.com/p/what-questions-do-you-have-for-me
1•code_pig•26m ago•0 comments

Show HN: SplitFXM – Multi-Dimensional Computational Library for Physics-Aware AI

https://splitfxm.com
1•gpavanb•30m ago•0 comments

Tired of sharing small files via Google Drive or Dropbox just to manage access

https://www.styloshare.com/
1•stylofront•30m ago•1 comments

Scientists Send Secure Quantum Keys over 62Mi of Fiber–Without Trusted Devices

https://singularityhub.com/2026/02/09/scientists-send-secure-quantum-keys-over-62-miles-of-fiber-...
3•WaitWaitWha•32m ago•0 comments

Dr. Younghoon Kim (claims world highest IQ of 276) speaks about Jesus

https://www.youtube.com/watch?v=B55knDYYWxM
1•quasibyte•33m ago•0 comments

CIA announces new acquisition framework to speed tech adoption

https://www.nextgov.com/acquisition/2026/02/cia-announces-new-acquisition-framework-speed-tech-ad...
2•WaitWaitWha•35m ago•0 comments

SBX Avalanche Survival System

https://www.safeback.no/sbx
1•dabinat•37m ago•0 comments

De-Enshittify Windows 11: OneDrive

https://www.thurrott.com/windows/windows-11/332529/de-enshittify-windows-11-onedrive
5•tech234a•40m ago•1 comments

Gradient.horse

https://gradient.horse
2•microflash•40m ago•0 comments

Claude /fast mode consumes money fast

1•diavelguru•46m ago•0 comments

CLIProxyAPIPlus – use antigravity, Gemini CLI, & more with Claude Code / etc.

https://github.com/router-for-me/CLIProxyAPIPlus
1•radio879•46m ago•1 comments

Electric Cars Are Making It Easier to Breathe, Study Finds

https://www.thedrive.com/news/electric-cars-are-making-it-easier-to-breath-study
2•m463•47m ago•0 comments

FDA Takes Steps to Ease Path for Non-Petroleum Food Colors

https://www.jdsupra.com/legalnews/fda-takes-steps-to-ease-path-for-non-1066153/
1•WaitWaitWha•53m ago•0 comments

Show HN: A daily news app that helps kids build reading and thinking skills

https://www.zaplearner.com/trial
2•farstill•53m ago•0 comments