frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Speeding up code review with `small-change`

https://lethain.com/small-changes/
9•alexmolas•3d ago

Comments

fishtoaster•1h ago
We arrived at a similar concept, though ours it the negation of this: we have a series of deterministic checks that can potentially add the `needs-human-review` tag to a PR. If that tag isn't present, you can merge your own PR; otherwise you need at least one human.

I think we're probably around 50/50 needing human review vs not.

Our rules for whether something needs a human review are currently mostly filepath-based: are you touching the api, or an important internal contract, or adding db migrations? Though I'd like to make it a bit smarter as we're definitely getting false positives.

lukeify•39m ago
> Something is a small-change if it meets all of these criteria it is less than 1,000 lines of code

Only my personal view but even 1000 LoC is not a "small change".

skydhash•21m ago
Yep a small changes is one computer screen of diff (36 to 48 lines) excluding generated changes (lock files, formatted files,…)
0xbadcafebee•37m ago
I introduced a similar change at work for Terraform changes. One big PR can create many planned changes in many different root modules; one tiny requested change in that PR can thus hold up a lot of stuff that doesn't need to be held up. So I added Claude rules/skills that instruct AI to break up the PR into the smallest possible functional/mergeable units of work, make one PR for each, and stack PRs on inter-dependencies. The result may be 40 PRs, but 38 of them can be approved and merged immediately. This lands more changes sooner, so work being started by others incorporates more current work, leading to less rework/refactoring/rebase fixes. It's Continuous Integration on autopilot. (https://martinfowler.com/articles/continuousIntegration.html)

The author is only seeing 10% as small-change, but my version has 80% as small-change. This is due to Terraform forcing you to be intentional about the borders of functional software. There is a minimum-viable-deployable component in Terraform called a Resource: you can add more resources to your module (increasing the scope), but you can't get any smaller than one resource. So it's relatively easy to define what makes a module functional, and reason about how big it gets, before deciding to break the module up. (Technically you can -target specific parts of a single resource but it's quite frowned upon)

Compare to traditional software design, where there is no absolute minimum functionality. You can make "minimum functional software" as huge or as tiny as you want. Different people design their software different ways (often unintentionally) resulting in low cohesion and a very large scope of changes required for minimum function. If you want smaller changes, you have to intentionally design your software for it.

Quad9 (DNS Resolver) to Exit France

https://quad9.net/news/blog/au-revoir-france/
934•farrokhi•9h ago•340 comments

OpenShell – A safe, private runtime for fleets of autonomous AI agents

https://github.com/NVIDIA/OpenShell
263•niemandhier•5h ago•136 comments

Getting ready to operate GNU Taler in Germany

https://www.taler.net/en/news/2026-13.html
211•dewey•7h ago•75 comments

Woman faces six years in prison over Cash App account she never opened

https://www.techspot.com/news/114296-woman-spends-three-nights-jail-faces-six-years.html
424•oidar•10h ago•422 comments

Every AI model has the same "controversial" take on humans

https://www.modelcompare.ai/blog/ai-models-controversial-take-on-humans
190•rakannimer•7h ago•220 comments

Run full iOS 16.5 firmware on Android Devices

https://github.com/oosexgang/hackios-xnu-kernel
296•aghuang•8h ago•116 comments

Jailbreaking the Switch 2

https://pepsipu.com/blog/2026-10-switch2-jailbreak-ns2jb/
685•ledoge•15h ago•240 comments

Hedra is a 3D open world game I wrote from scratch while in highschool

https://github.com/maxilevi/project-hedra/tree/pre-ai
104•maxilevi•4h ago•26 comments

What Is Gridifcation

https://musicalform.substack.com/p/what-is-gridifcation
382•gumby•3d ago•187 comments

eMudhra to exit global SSL/TLS certificate business

https://emudhra.com/en/press-release/emudhra-to-exit-global-ssl-tls-certificate-business
901•bo0tzz•10h ago•611 comments

AI and the Enclosure of the Scientific Commons

https://arxiv.org/abs/2610.27251
97•jrepinc•5h ago•56 comments

Tell HN: I unknowingly broke the PHP RCE embargo. I am sorry.

330•petecooper•13h ago•133 comments

Show HN: An icon for every city in North America

https://evans.bike/naicons
15•civilchaos•1d ago•10 comments

Xbox wants you to pay 24 to 40 cents per hour to stream games you bought

https://arstechnica.com/gaming/2026/10/xbox-wants-you-to-pay-24-to-40-cents-per-hour-to-stream-ga...
170•entryleveljobsc•11h ago•182 comments

Railpass

https://train.samismith.com/
29•CharlesW•2h ago•7 comments

Jared Kushner Hacked Phone Reveals Secret Negotiations, Millions in Transactions

https://www.vanityfair.com/story/jared-kushner-hacked-phone-secret-negotiations
182•ck2•2h ago•73 comments

Dungeon Generation in the Gnomish Mines of NetHack

https://www.boristhebrave.com/2026/10/18/dungeon-generation-in-the-gnomish-mines-of-nethack/
115•ibobev•3d ago•13 comments

A farewell to Arc browser

https://arc.net/
217•suhdonghwi•7h ago•197 comments

Faster than earcut: triangulating 3.7M map polygons in 489 ms

https://globus.software/blog/2026/10/16/cutting-map-polygons/
197•molind•14h ago•36 comments

Show HN: Uberblok – an interactive museum of ZFS internals

https://uberblok.storagebits.workers.dev/
69•storagebits•1d ago•20 comments

How to Design Flowers

https://www.asimov.press/p/flowers
4•surprisetalk•2d ago•0 comments

Speeding up code review with `small-change`

https://lethain.com/small-changes/
9•alexmolas•3d ago•4 comments

What’s getting pwned right now

https://pwn.watch/
326•mrkd•9h ago•152 comments

Show HN: UI micro interactions prompts for AI

https://www.typeui.sh/micro-interactions
68•elwingo1•5h ago•37 comments

Show HN: Replacing CAPTCHAs with adaptive proof-of-work in WordPress

https://wordpress.org/plugins/gdpr-compliant-recaptcha-for-all-forms/
6•MatthiasNordwig•10h ago•4 comments

Show HN: CATT 0.2.1: Test agents/services against a Muse/Instinct-alike, in CI

https://github.com/Coverage-Cat/consumer-agent-testing-tool
4•botacode•1h ago•0 comments

Mini brain organoids ‘reading’ Braille key step towards biohybrid computing

https://www.frontiersin.org/news/2026/10/16/mini-brain-organoids-reading-braille-biohybrid-comput...
36•CharlesW•7h ago•38 comments

The phenomena that brighten dawn and dusk (2016)

https://www.colorado.edu/asmagazine-archive/node/2039
21•NaOH•2d ago•2 comments

AI analysis of CT scans finds 42.9% of patients have coronary inflammation

https://www.biograph.com/newsroom/biograph-completes-first-u.s.-study-with-caristo-diagnostics%E2...
72•brandonb•5h ago•37 comments

Show HN: Turn regular JavaScript into a neural net

https://chenglou.me/handwired/
29•chenglou•2d ago•11 comments