frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Rise of Spec Driven Development

https://www.dbreunig.com/2026/02/06/the-rise-of-spec-driven-development.html
1•Brajeshwar•1m ago•0 comments

The first good Raspberry Pi Laptop

https://www.jeffgeerling.com/blog/2026/the-first-good-raspberry-pi-laptop/
2•Brajeshwar•1m ago•0 comments

Seas to Rise Around the World – But Not in Greenland

https://e360.yale.edu/digest/greenland-sea-levels-fall
1•Brajeshwar•1m ago•0 comments

Will Future Generations Think We're Gross?

https://chillphysicsenjoyer.substack.com/p/will-future-generations-think-were
1•crescit_eundo•4m ago•0 comments

State Department will delete Xitter posts from before Trump returned to office

https://www.npr.org/2026/02/07/nx-s1-5704785/state-department-trump-posts-x
1•righthand•7m ago•0 comments

Show HN: Verifiable server roundtrip demo for a decision interruption system

https://github.com/veeduzyl-hue/decision-assistant-roundtrip-demo
1•veeduzyl•8m ago•0 comments

Impl Rust – Avro IDL Tool in Rust via Antlr

https://www.youtube.com/watch?v=vmKvw73V394
1•todsacerdoti•8m ago•0 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
2•vinhnx•9m ago•0 comments

minikeyvalue

https://github.com/commaai/minikeyvalue/tree/prod
3•tosh•14m ago•0 comments

Neomacs: GPU-accelerated Emacs with inline video, WebKit, and terminal via wgpu

https://github.com/eval-exec/neomacs
1•evalexec•19m ago•0 comments

Show HN: Moli P2P – An ephemeral, serverless image gallery (Rust and WebRTC)

https://moli-green.is/
2•ShinyaKoyano•23m ago•1 comments

How I grow my X presence?

https://www.reddit.com/r/GrowthHacking/s/UEc8pAl61b
2•m00dy•24m ago•0 comments

What's the cost of the most expensive Super Bowl ad slot?

https://ballparkguess.com/?id=5b98b1d3-5887-47b9-8a92-43be2ced674b
1•bkls•25m ago•0 comments

What if you just did a startup instead?

https://alexaraki.substack.com/p/what-if-you-just-did-a-startup
4•okaywriting•32m ago•0 comments

Hacking up your own shell completion (2020)

https://www.feltrac.co/environment/2020/01/18/build-your-own-shell-completion.html
2•todsacerdoti•35m ago•0 comments

Show HN: Gorse 0.5 – Open-source recommender system with visual workflow editor

https://github.com/gorse-io/gorse
1•zhenghaoz•35m ago•0 comments

GLM-OCR: Accurate × Fast × Comprehensive

https://github.com/zai-org/GLM-OCR
1•ms7892•36m ago•0 comments

Local Agent Bench: Test 11 small LLMs on tool-calling judgment, on CPU, no GPU

https://github.com/MikeVeerman/tool-calling-benchmark
1•MikeVeerman•37m ago•0 comments

Show HN: AboutMyProject – A public log for developer proof-of-work

https://aboutmyproject.com/
1•Raiplus•37m ago•0 comments

Expertise, AI and Work of Future [video]

https://www.youtube.com/watch?v=wsxWl9iT1XU
1•indiantinker•38m ago•0 comments

So Long to Cheap Books You Could Fit in Your Pocket

https://www.nytimes.com/2026/02/06/books/mass-market-paperback-books.html
3•pseudolus•38m ago•1 comments

PID Controller

https://en.wikipedia.org/wiki/Proportional%E2%80%93integral%E2%80%93derivative_controller
1•tosh•42m ago•0 comments

SpaceX Rocket Generates 100GW of Power, or 20% of US Electricity

https://twitter.com/AlecStapp/status/2019932764515234159
2•bkls•42m ago•0 comments

Kubernetes MCP Server

https://github.com/yindia/rootcause
1•yindia•44m ago•0 comments

I Built a Movie Recommendation Agent to Solve Movie Nights with My Wife

https://rokn.io/posts/building-movie-recommendation-agent
4•roknovosel•44m ago•0 comments

What were the first animals? The fierce sponge–jelly battle that just won't end

https://www.nature.com/articles/d41586-026-00238-z
2•beardyw•52m ago•0 comments

Sidestepping Evaluation Awareness and Anticipating Misalignment

https://alignment.openai.com/prod-evals/
1•taubek•52m ago•0 comments

OldMapsOnline

https://www.oldmapsonline.org/en
2•surprisetalk•54m ago•0 comments

What It's Like to Be a Worm

https://www.asimov.press/p/sentience
2•surprisetalk•54m ago•0 comments

Don't go to physics grad school and other cautionary tales

https://scottlocklin.wordpress.com/2025/12/19/dont-go-to-physics-grad-school-and-other-cautionary...
2•surprisetalk•55m ago•0 comments
Open in hackernews

Worktrees: Git's best kept secret (and why you should use them)

https://www.tomups.com/posts/git-worktrees/
38•handfuloflight•6mo ago

Comments

paradox460•6mo ago
They're useful, but the fact that you have to grant them a space somewhere on your computer does handicap them a bit. I typically reach for them when I'm doing library upgrades, which take a while, and having my repo switch back and forth to different versions is cumbersome, mostly due to things like dependencies and other unversioned files needing to be changed to support the application and it's specific set of dependencies.

For most other things, where unversioned files don't cause grief like this, a tool like jujutsu, which eliminates the whole stash dance, is generally better

cozzyd•6mo ago
I usually just clone the same repository multiple times for each branch I'm working on simultaneously, but obviously that's cumbersome if it's very large so worktrees are a good option there
john01dav•6mo ago
You can do clone from an existing clone:

$ git clone git@whatever.com/...

Cloning into example

$ git clone example example-2

This works even if you made uncommitted changes in your first clone. These uncommitted changes aren't copied. You can also check out an origin branch to not work with locally commited changes.

You can use git remote to set the new origin to upstream.

Or, you could use worktrees. That's fine too.

1718627440•6mo ago
When you are cloning a repo on a local machine, git by default makes hardlinks, so a clone shouldn't be that different from a worktree.
revskill•6mo ago
Secrets mean it is not stable yet ?
koinedad•6mo ago
I like the idea of them…was just reading about them yesterday but the folder to a repo concept was a little and I didn’t realize exactly what was going on so this blog is perfect timing. I regularly need to switch branches and don’t really like the stash checkout flow that I have —- too much cognitive lift for me. Maybe work trees is the answer
account42•6mo ago
> That’s why the repo must have at least a main working tree

It doesn't, e.g. bare repositories don't have a worktree. This is useful for e.g. backing up a git repo to any SSH host by cloning a bare repository there and then adding it as an upstream of your local repo.

IshKebab•6mo ago
Just don't use them with submodules or you're in for pain (even more pain than just using submodules in the first place).