frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Trunk Based Development

https://trunkbaseddevelopment.com/
19•handfuloflight•2h ago

Comments

jascha_eng•54m ago
I've rarely seen the first description of it where people actually commit directly to main. Except in very early stage projects. But it does always feel the fastest if you only review code "on-demand" in PRs/MRs instead of enforcing it for every change.

I think in a team with good ownership, enforcing formal reviews slows down a lot. But of course in a larger code base where no single engineer can understand all the effects a change might have, having a bit of knowledge sharing and 4 eyes enforced is often the better approach than yolo-ing it.

Then again I did build an SQL review tool for database access because I felt like "yolo-ing" production access was also not the way it should be. It's an interesting slider between full autonomy and strict review processes where each team needs to find their sweet spot: https://github.com/kviklet/kviklet/

div3rs3•35m ago
We're organized in small teams around specific products. That leads to mob programming being a good fit, so code reviews and knowledge sharing is organic. This gives us an opportunity to commit to main and do direct deploys to production. Treating every commit as deployable is key, but it drives good practices.
dxdm•24m ago
As I understand it, trunk based development does not call for committing directly to main. It says to avoid long-lived branches for releases, whole features, etc.

There's nothing wrong with small, short-lived branches that can be quickly reviewed and merged into main.

That being said, I've been in a small team where the blessed style was to commit directly to main and do reviews "on demand". It quickly gets features deployed in a way that builds a lot of rot and debt into your project that people quickly lose a good understanding of. Then you just keep piling.

There's probably a way to get this done properly with a tiny team of very experienced and well-aligned developers; but that's usually not what you have in an environment that pushes this kind of extreme no-review-interpretation of trunk-based development.

Slow down, do reviews, avoid keeping branches open for more than a day.

jascha_eng•15m ago
> well-aligned developers

I think this is very key, if the development style and the direction of the project is clear, much less review and alignment is necessary.

And also

> avoid keeping branches open for more than a day

Big +1 on that, fast reviews are extremely key. Most teams I have seen often took days or even weeks to merge branches though, often because you end up waiting too long for reviews in the first place. Or because of good old bike-shedding. But also because these code reviews often uncovered uncertainties that needed longer discussions.

However usually code is easy to change, so defaulting to "just merge it" and creating followup tasks is often the cheaper approach than infinite review cycles.

swiftcoder•16m ago
stacked PRs. stacked PRs!

Seriously wish the stacked PR workflow would gain more traction outside of FAANG. Apart from the (somewhat pricey) Graphite offering, there's no standard UI for managing stacked PRs in the wild.

alfiedotwtf•7m ago
The thing missing with a lot of these branch management posts is release management… because it’s lovely to live in an ideal happy-path world, but what happens when main is tagged for release, only some customers update, main moves of with multiple breaking changes, and only then do some customers require fixes to their releases (who could all be on different i.e even older tags)?

Do you take their tagged release, fix it there, and then send them that branch release with the fix, or do you send them a fix on current main - you know, the main that is now a million releases ahead with multiple breaking changes? And what about all the intermediate release tags? Do you fix each one there too if they have the problem, or do you only update when customers on those releases start having that issue too?

And if you fix to their old tagged release which is incompatible from main, does this mean you have to do this fix twice i.e on their tagged release and also fix it for main? But what if this fix affects other people who are all on different branches too? Now… times this by 20 different customers all running different hardware and different branches with different problems :(

Maybe my comments are off topic, and don’t get me wrong - I prefer “trunk is releasable” motto, but I think maybe as an industry we should all come up with an Acid Test (like the only CSS Acid Tests) so we can through all these branching strategies into the ring

Red Blood Cells Serve as a Primary Glucose Sink to Improve Glucose Tolerance

https://www.biorxiv.org/content/10.1101/2025.04.24.650365v1
2•janandonly•8m ago•0 comments

Flycast WASM – Sega Dreamcast Emulation in the Browser via WebAssembly

https://github.com/nasomers/flycast-wasm
1•XzetaU8•10m ago•0 comments

Diode – Build, program, and simulate hardware in the browser

https://www.withdiode.com/
1•tzury•11m ago•0 comments

From chickens to humans, animals think "bouba" sounds round

https://arstechnica.com/science/2026/02/newly-hatched-chickens-form-the-same-sound-association-we...
1•lentoutcry•11m ago•0 comments

Deprecate. Fix. Enforce. Repeat

http://emanueleminotto.github.io/blog/dfer
1•EmanueleMinotto•13m ago•0 comments

Hunting for traces of chibicc in Claude's C compiler

https://github.com/anthropics/claudes-c-compiler/issues/232
1•silver_sun•16m ago•0 comments

The Law of Leaky Abstractions (2002)

https://www.joelonsoftware.com/2002/11/11/the-law-of-leaky-abstractions/
1•tosh•16m ago•0 comments

A Modest Server-Centric Development Proposal

https://automattic.com/2026/02/17/server-centric-development/
1•agbonghama•18m ago•0 comments

Creator of Claude Code: "Coding is solved"

https://www.lennysnewsletter.com/p/head-of-claude-code-what-happens
2•birdculture•23m ago•2 comments

Death to Scroll Fade

https://dbushell.com/2026/01/09/death-to-scroll-fade/
1•shpat•23m ago•0 comments

Show HN: New kid on the block: meet Ajime, robotics CI/CD next-gen platform

1•ajime•25m ago•1 comments

A text based life simulation game

https://lifespan-eight.vercel.app/
1•jwatermelon•26m ago•0 comments

Show HN: Remove backgrounds and make passport photos in the browser

https://webaitool.net/bg-remove.html
1•shahidsj•29m ago•0 comments

Show HN: Grantvera – cell-level permission control for Google Sheets

https://grantvera.com
1•omsharp•32m ago•0 comments

Peer validation platform for engineering skills (inspired by X community notes)

1•ms_sv•32m ago•0 comments

Large Language Model Reasoning Failures

https://arxiv.org/abs/2602.06176
1•T-A•35m ago•0 comments

Conference with AI -written paper submissions only

https://humanxaifinance.org/
1•sherlock_h•36m ago•0 comments

WebMCP App for Composing Music

https://music.leanmcp.live/?id=RrFINcOq
1•dheerajmp•37m ago•0 comments

LibreOffice blasts OnlyOffice for working with Microsoft to lock users in

https://www.neowin.net/news/libreoffice-blasts-fake-open-source-onlyoffice-for-working-with-micro...
8•XzetaU8•37m ago•0 comments

Show HN: AI Council v2 – multi-model deliberation, now with 35 personas

https://github.com/prijak/Ai-council
1•prijak•39m ago•0 comments

Show HN: GenPPT AI – Turn any idea into professional slides in seconds

https://genppt.ai/
2•polarisminor•44m ago•0 comments

Scientists find a way to plant ideas in dreams through sound cues

https://www.good.is/scientists-find-a-way-to-plant-ideas-in-dreams-through-sound-cues-to-improve-...
2•bryanrasmussen•47m ago•1 comments

Show HN: undent - fix indentation issues in multiline strings in js

https://github.com/okikio/undent
1•okikio•47m ago•1 comments

The No-BS Guide to AI Video Creation at Scale

https://www.openslop.ai/blog/the-no-bs-guide-to-ai-video-creation-at-scale
1•umairnadeem123•48m ago•0 comments

Louisa May Alcott and H.C. Andersen: a dream

https://medium.com/luminasticity/louisa-may-alcott-and-h-c-andersen-7b854965b402
1•bryanrasmussen•49m ago•0 comments

24 Hour Fitness Won't Let You Unsubscribe From Marketing Spam, So I Fixed It

https://ahmedkaddoura.com/projects/24hf-unsubscribe
4•daem•52m ago•0 comments

Phil Spencer and Sarah Bond Leaving Xbox

https://www.gamesindustry.biz/report-phil-spencer-and-samantha-bond-leaving-xbox
1•gbbloke•53m ago•0 comments

Making YAML the Default in Bruno v3.1

https://blog.usebruno.com/making-yaml-the-default-in-bruno-v3.1
1•jicea•53m ago•0 comments

Maligna Kodera

https://krzyhau.itch.io/maligna-kodera
1•lifthrasiir•54m ago•0 comments

Diffusion of Responsibility

https://tante.cc/2026/02/14/diffusion-of-responsibility/
2•logicprog•54m ago•1 comments