frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Gemini Robotics 2 brings whole body intelligence to robots

https://deepmind.google/blog/gemini-robotics-2-brings-whole-body-intelligence-to-robots/
107•ai2027•54m ago•71 comments

The Economic Benefit of Refactoring

https://martinfowler.com/articles/exploring-gen-ai/refactoring-economic-benefit.html
24•javaeeeee•59m ago•8 comments

SDL_GPU minimal, single-header, high-performance 2D graphics painting library

https://github.com/n67094/sdl_gp
28•n67094•1h ago•6 comments

Paging Through a Parquet File in DuckDB: File_row_number or Offset?

https://rusty.today/blog/paging-parquet-duckdb-file-row-number-vs-offset/
16•rustyconover•1h ago•2 comments

Physicists Solve a Muon Mystery. Now, Old Results Don't Add Up

https://www.quantamagazine.org/physicists-solve-a-muon-mystery-now-old-results-dont-add-up-20260729/
11•ibobev•47m ago•0 comments

Launch HN: Prized (YC S26) – Let non-engineer staff build secure internal tools

https://prized.dev
35•marinoseliades•2h ago•19 comments

Hacker Public Radio

https://hackerpublicradio.org/
41•bmacho•1h ago•3 comments

RFC 8890 – The Internet is for End Users (2020)

https://mnot.net/blog/2020/for_the_users
55•notarobot123•3h ago•17 comments

Ron Gilbert started production on Thimbleweed Park 2

https://www.grumpygamer.com/twp2_announce/
165•alberto-m•7h ago•76 comments

Upper stage impacting the moon on 2026 August 5

https://www.projectpluto.com/25010d.htm
37•ryannevius•2h ago•11 comments

Gpiozero Flow

https://bennuttall.com/blog/2026/07/gpiozero-flow/
103•benn_88•5h ago•33 comments

Are We Stuck with Lean?

https://mathoverflow.net/questions/513742/are-we-stuck-with-lean
52•jjgreen•4h ago•19 comments

Why Don't People Use Formal Methods? (2019)

https://www.hillelwayne.com/post/why-dont-people-use-formal-methods/
80•Thom2503•3h ago•57 comments

Mbodi AI (YC P25) Is Hiring Robotics/Research Engineers

https://www.ycombinator.com/companies/mbodi-ai/jobs
1•chitianhao•4h ago

Building a native C# implementation of CEL engine

https://bsid.io/writing/building-a-cel-engine-for-net
20•jackedEngineer•2d ago•2 comments

Trusted URLs via Cryptographic Signatures

https://blog.certisfy.com/2026/04/trusted-urls-via-cryptographic.html
8•Edmond•1h ago•6 comments

RCade: The Arcade Cabinet with CI/CD Deployment, Custom Graphics Card for CRT [video]

https://www.youtube.com/watch?v=W-OpIbLUOU0
6•evakhoury•19h ago•0 comments

Why Is Everyone Trying to Build a Solid-State Battery?

https://www.construction-physics.com/p/why-is-everyone-trying-to-build-a
79•crescit_eundo•3h ago•86 comments

The Alice and Bob After Dinner Speech (1984)

https://hex.ooo/library/alicebob.html
19•kamma4434•3d ago•3 comments

3D Pinball for Windows (1995)

https://98.js.org/programs/pinball/space-cadet.html
44•mushstory•4h ago•25 comments

Go LLM SDK for streaming, tool-calling AI backends (plus frontend React lib)

https://github.com/grafana/ai-sdk
36•matryer•4h ago•13 comments

The Glass Famine

https://edconway.substack.com/p/the-glass-famine
79•baud147258•3d ago•34 comments

The Lost Civic Life of Movie Rental Stores

https://thereader.mitpress.mit.edu/the-lost-civic-life-of-movie-rental-stores/
43•facundo_olano•1h ago•45 comments

CosmosEscape: Taking over Every Database in Azure Cosmos DB

https://www.wiz.io/blog/cosmosescape-taking-over-every-database-in-azure-cosmos-db
37•uvuv•3h ago•8 comments

Azulejo

https://en.wikipedia.org/wiki/Azulejo
126•Amorymeltzer•1d ago•41 comments

Show HN: Claude-account – switch Claude Code accounts without logging in again

https://github.com/hamzarehmandeveloper/claude-account
3•hamza_rehman•1h ago•0 comments

You can't solve computer use by ignoring the interface

https://steelmanlabs.com/blog/computer-use-is-far-from-solved
40•mpavlov•4h ago•19 comments

Google will expand age checks on Android worldwide till the end of the year

https://android-developers.googleblog.com/2026/07/google-play-age-signals-api-safer-experiences.html
254•dmantis•5h ago•286 comments

The first watch featuring computer functions

https://by.seiko-design.com/140th/en/topic/58.html
68•stefanv•4d ago•28 comments

Parody Hacker News (2013)

http://bradconte.com/files/misc/HackerNewsParodyThread/
14•chistev•50m ago•2 comments
Open in hackernews

Git worktrees are not an isolation boundary for coding agents

https://fletch.sh/blog/git-worktrees-vs-clones-for-ai-agents/
27•alchaplinsky•1h ago

Comments

nullderef•1h ago
I haven’t hit these issues when using worktrees. But what’s a pain is having to compile from scratch every time, and not carrying over gitignored files.
bengt•40m ago
.worktreeinclude is probably part of the solution.

https://code.claude.com/docs/en/worktrees#copy-gitignored-fi...

user43928•36m ago
Same here, over hundreds of worktrees in months of work.

The only problem I ran into was when Codex or Claude Code were configured to create the worktrees nested into the parent repository.

Then grep would yield results from a worktree and the agent would happily start to work in the wrong worktree.

francislavoie•32m ago
I set up a custom hook in Claude which runs my own worktree creation/cleanup script, which takes care of copying my node_modules into the worktree, my .env (plus doing some edits to the .env to isolate it so it can run in parallel), and stuff like that. Each worktree gets its own docker compose project name so they can run docker stacks in parallel. Works pretty seamlessly.
knighthacker•26m ago
look into .worktreeinclude
alchaplinsky•1h ago
Worktrees are the obvious pick, and I get why. One command, cheap, and if you're the only one driving, then sharing .git is the point rather than a compromise. I started there too.

An agent in a worktree can reach your hooks, your config, another worktree's stash. Probably not a common problem. But when it does happen you're not debugging your code, you're debugging git, and it's not obvious where to even start looking.

The one that actually bothers me is prompt injection. The agent reads an issue, or a dependency's README, or a web page, and what it's told to do is drop a file in the .git it can already write to. Next time you commit, that runs on your machine as you.

Separate thing - worktrees just get annoying to manage. Can't check out the same branch twice, so you're making up branch names to keep git happy. Every one is another directory to keep track of. Then something goes stale and you're back in git worktree prune.

So has any of it got to you? Or do you hit the annoying parts, shrug, and carry on?

kfrzcode•41m ago
Is this an LLM response? If not, take a break, you've assimilated.
_def•39m ago
I don't think people use it for isolation, but for what the feature enables in the first place: parallel workstreams
saltcured•36m ago
It would be interesting to have a general fix for this in git. Something that more carefully splits the metadata from the working copy, a bit like we used to routinely do with "shadow build trees" with autoconf+make etc.

The parallel trees could have different ownership and access privileges, so that the editable working copy does not require the same filesystem access rights as the metadata tree. The git CLI actions would be performed with the more privileged filesystem role, and it would also have to be audited to make sure it treats all the working copy content as untrusted payload.

msejas•35m ago
For me the most pragmatic way to solve this is in the agent harness layer simply prohibiting commands like git force and others in the settings configuration of your harness of choice with pre tool hooks, its quite easy to setup, obvious ones are prohibiting pushes to main, among others.

Unless someone is building their harness from scratch like you this is a 30sec configuration and you could just save your list of blocked commands with wildcards in a file, and copy paste from one harness to the other.

knighthacker•27m ago
Agreed. I had to solve this at the harness layer myself. It just makes more sense to me this way. We basically created hooks around these operations and you can configure what happens at these calls.

Disclosure: I'm building AQ (aq.dev) a multiplayer coding harness.

msejas•19m ago
Checked it out, it doesn't particular talk to me but for sure other people, looks like a cool project! Wish you best of luck and success!
niceguy1827•35m ago
Please stop writing straw man arguments to sell your product. Worktrees do work as intended for most people. And they work better than your broken homepage.
QuercusMax•34m ago
If you want to properly isolate things, use containers. That's not what worktrees are for.
gslepak•33m ago
Do people not know how to write blogs without AI anymore? I enjoy hearing a human's unique voice and miss hearing it when it's abscent.
IshKebab•29m ago
You can literally tell from the box styling that it's AI now. Awful.
bellowsgulch•16m ago
I wonder if it's primarily that developers are too lazy to design anything? I remember low-quality developers relying on Bootstrap and not making a modicum of effort to design a website.

Of course, if you're that lazy, you're going to surround yourself and industry with AI-generated websites and UI, and you're going to recognize it, so...

overgard•23m ago
I would bet the guy asked ChatGPT a question and then went "turn your answer into a blog post"
sbysb•24m ago
Git worktrees are a great isolation boundary for _changes_ (especially making changes in parallel on a single machine), but not behavior. If you are trying to actually run autonomous agents securely you need something that lives outside the harness that actually blocks actions in a way that can't be prompted around.

We use nono [1] for this internally, essentially blocking any actions we don't want agents to be able to do without human approval. Our developers can just run `task claude` or whatever their harness is) and it pre-wraps it with our profile that enforces:

- Filesystem: read/write only the worktree plus dev-tooling dirs (Go, Doppler, Graphite caches, git common dir); explicitly no Docker socket and it can't edit its own Claude settings files (so it can't loosen its own permissions).

- Network: outbound only to an allowlist - Anthropic, Doppler, Go module proxies, our dev environments while still allowing binding local dev-server ports.

- GitHub: read anything in the org, and create/edit PRs and push branches - but it cannot merge, close, review, or comment on PRs, delete branches, touch repo settings/secrets, manage auth, or use raw gh api. Those are all "human-only". GitHub tokens are never exposed to the agent; they're injected by a proxy so it can't read or exfiltrate them.

This is great because it is harness agnostic - any developer can use whatever harness they want as long as they port the nono profile to it, as it will enforce all of the above in a way that is not tied to a specific harness implementation

[1] https://github.com/nolabs-ai/nono

alchaplinsky•7m ago
"read/write only the worktree", but git requires .git dir writable for common commands to work in a worktree. And that's where .git/hooks live. So agent inside that profile can still write a pre-commit hook that runs on your machine whenever you commit outside the sandbox. Or am I missing something?
Laurel1234•23m ago
If you can't be fucked to write your blog, nobody will be fucked to read it.
firasd•22m ago
I think the first question is what exactly are we trying to preserve by using either worktrees or multiple clones? The answer is: non-pushed changes

So if all you want is to work on index.ts in a separate dir from api.ts then worktrees might work well

If you want to be able to rm -rf one of the dirs without wondering about dependencies then yeah multiple clones makes sense

Either way is a way to avoid using more fragile/finicky workflows like stash and stash pop

ramon156•22m ago
tl;dr an agent can still run commands that affects other worktrees

Local agents use worktrees. If you do not trust those (or your own input), then what are you doing?

Bnjoroge•7m ago
Why a clone over a worktree? The obvious disadvantage I can see is you dont share your git objects with a clone and for really large repos that becomes an issue
alchaplinsky•5m ago
Well, actually `git clone --shared` writes an alternates file pointing at your object store and copies zero objects.
skeledrew•5m ago
This is quite useful. The title and first paragraph anyway; the rest is fluff. I've actually been trying to solve a problem where I have agents running other agents in worktrees, with the delegated agents contained by jai[0], and the delegating agent would always have to check and reconcile the commits since they get jailed (by design for security). Working on clones instead should resolve that cleanly, as I can relax the .git limitation. I do wish I'd thought it this before.

[0] jai.scs.stanford.edu/