frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

More on Version Control

https://bramcohen.com/p/more-on-version-control
27•velmu•1h ago

Comments

mrtesthah•1h ago
Someone make a TLA+ model for this bad boy
SAI_Peregrinus•1h ago
Discussion on the previous post in this series: https://news.ycombinator.com/item?id=47478401
josephg•1h ago
> Oddly they don’t seem to have figured out the generation counting trick, which is something I did come up with over twenty years ago. Combining the two ideas is what allows for there to be no reference to commit ids in the history and have the entire algorithm be structural.

Can you say more about this? What exactly is this trick you’re talking about? What are the benefits?

sfink•20m ago
I've read much of the HN discussion on the previous post, a skimmed the rest, but I didn't see a couple of things addressed:

First, how could you make this deal with copies and renames? It seems to me like the pure version of this would require a weave of your whole repository.

Second, how different is this from something like jujutsu? As in, of course it's different, your primary data structure is a weave. But jj keeps all of the old commits around for any change (and prevents git from garbage collecting them by maintaining refs from the op log). So in theory, you could replay the entire history of a file at a particular commit by tracing back through the evolog. That, plus the exact diff algorithm, seems like enough to recreate the weave at any point in time (well, at any commit), and so you could think of this whole thing as a caching layer on top of what jj already provides. I'm not saying you would want to implement it like that, but conceptually I don't see the difference and so there might be useful "in between" implementations to consider.

In fact, you could even specify different diff algorithms for different commits if you really wanted to. Which would be a bit of a mess, because you'd have to store that and a weave would be a function of those diff algorithms and when they were used, but it would at least be possible. (Cohen's system could do this too, at the cost of tracking lots of stuff that currently it doesn't need or want to track.) I'm skeptical that this would be useful except in a very limited sense (eg you could switch diff algorithms and have all new commits use the new one, without needing to rebuild your entire repository). It breaks distributed scenarios -- everyone has to agree on which diff to use for each commit. It's just something that falls out of having the complete history available.

I'm cheating with jj a bit here, since normally you won't be pushing the evolog to remotes so in practice you probably don't have the complete history. In practice, when pushing to a remote you might want to materialize a weave or a weave-like "compiled history" and push that too/instead, just like in Cohen's model, if you really wanted to do this. And that would come with limitations on the diff used for history-less usage, since the weave has to assume a specific deterministic diff.

Show HN: A war-strategy game played by AI agents

https://agentempires.app/
1•ttamslam•5m ago•0 comments

Which Porsche 911 Generation Is the Best Investment in 2026?

https://pistonalpha.com/articles/porsche-911-investment-guide-2026
1•magrix•5m ago•0 comments

Tell HN: Bug in Claude Code CLI is instantly draining usage plan quotas

https://github.com/anthropics/claude-code/issues/38335
1•nikhilgk•6m ago•1 comments

Ootils – An open source supply chain engine designed for AI agents (not humans)

https://github.com/ngoineau/ootils-core
1•ngoineau•10m ago•0 comments

A whirlwind tour of systemd-nspawn containers (2025)

https://quantum5.ca/2025/03/22/whirlwind-tour-of-systemd-nspawn-containers/
1•indigodaddy•11m ago•0 comments

Show HN: Vocab extractor for language learners using Stanza and frequency ranks

https://huggingface.co/spaces/vladvlasov256/vocab-nlp
2•crivlaldo•12m ago•0 comments

Can this technology end drone warfare? [video]

https://www.youtube.com/watch?v=unraT22a4zY
1•teleforce•13m ago•0 comments

Open-Sourcing Our Mail Client Mono Mail

https://github.com/erickim20/monomail-desktop
2•rhksnrla•20m ago•2 comments

Arena Zero Ep.1 [video]

https://www.youtube.com/watch?v=qqcH-1Rk-ow
2•thewanderer1983•21m ago•0 comments

M4 and M5 Macs cannot run 4k screens in HiDPI mode – limited to 3.3k

https://github.com/waydabber/BetterDisplay/discussions/4215
3•smcleod•22m ago•1 comments

Build123d: A Python CAD programming library

https://github.com/gumyr/build123d
2•Ivoah•23m ago•0 comments

Age verification, child protection and economic power

https://www.cyberverso.net/age-verification-child-protection-and-economic-power/
2•MatteoFrigo•24m ago•0 comments

TeamPCP Supply Chain Campaign: Update 002

https://isc.sans.edu/diary/32838
2•jruohonen•26m ago•0 comments

Samsung Magician disk utility takes 18 steps and two reboots to uninstall

https://chalmovsky.com/2026/03/29/samsung-magician.html
2•chalmovsky•26m ago•0 comments

Things I learned building a model validation library

https://wilsoniumite.com/2025/01/24/things-i-learned-building-a-model-validation-library/
2•Wilsoniumite•26m ago•0 comments

AI isn't killing jobs, it's 'unbundling' them into lower-paid chunks

https://www.theregister.com/2026/03/24/ai_job_unbundling/
6•gnabgib•30m ago•1 comments

Para-Academic Techno-Philosophy

https://elftheory.substack.com/p/para-academic-techno-philosophy
2•lentoutcry•30m ago•0 comments

Generating one token at a time is a blessing in disguise

https://kachkach.com/blog/generating-one-token-at-a-time-is-a-blessing-in-disguise
2•halflings•32m ago•1 comments

The Acceleration of Addictiveness (2010)

https://paulgraham.com/addiction.html
2•microsoftedging•33m ago•0 comments

Show HN: OpsScaleIQ – The operational intelligence OS for franchise operators

https://opsscaleiq.com
2•dsptl•33m ago•0 comments

Personal story: BR airlines sites sucks. Struggling to cancel seat selection

https://blog.thisago.com/story/20260329-cancellingFlightSeatSelection.txt
2•thisago•33m ago•0 comments

Show HN: Tabical – Tinder-style city micro-itineraries, personalized by swipe

https://tabical.com/
4•akhilpotturi•35m ago•0 comments

Hundreds of strangers flock to San Francisco beach to dig a really big hole

https://www.sfgate.com/sf-culture/article/hundreds-strangers-flock-sf-beach-dig-really-big-221583...
4•Stratoscope•35m ago•0 comments

Ask HN: What is TensorFlow still good for now?

1•asxndu•37m ago•1 comments

What category theory teaches us about dataframes

https://mchav.github.io/what-category-theory-teaches-us-about-dataframes/
6•fanf2•39m ago•0 comments

Show HN: Crazierl – An Erlang Operating System

https://crazierl.org/demo/
4•toast0•43m ago•2 comments

The Agentic Passive Voice

https://lethain.com/agentic-passive-voice/
1•jbernardo95•43m ago•0 comments

AI on deck: assessing impact of MLB's new ball-strike system

https://news.cornell.edu/stories/2026/03/ai-deck-assessing-impact-mlbs-new-ball-strike-system
1•rmason•44m ago•0 comments

Magellan: AI agents for autonomous cross-disciplinary scientific discovery

https://github.com/kakashi-ventures/magellan-cli
1•ameft•44m ago•1 comments

An uncatchable CoreML crash: MLIR compiler failures on the iPhone SE 2

https://medium.com/@wagaodongo/the-uncatchable-crash-why-my-coreml-app-works-on-every-iphone-exce...
2•volvogradSaint•47m ago•1 comments