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
29•velmu•2h 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•28m 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.

ChatGPT Won't Let You Type Until Cloudflare Reads Your React State

https://www.buchodi.com/chatgpt-wont-let-you-type-until-cloudflare-reads-your-react-state-i-decry...
92•alberto-m•1h ago•42 comments

Voyager 1 runs on 69 KB of memory and an 8-track tape recorder

https://techfixated.com/a-1977-time-capsule-voyager-1-runs-on-69-kb-of-memory-and-an-8-track-tape...
308•speckx•5h ago•121 comments

Midnight train from GA: A view of America from the tracks as airports struggle

https://isp.netscape.com/news/story/0001/20260329/e4d8ea591b3b036142c2bf2dee7dff5a
31•walterbell•1h ago•13 comments

The Cognitive Dark Forest

https://ryelang.org/blog/posts/cognitive-dark-forest/
87•kaycebasques•1h ago•45 comments

C++26 is done ISO C++ standards meeting, Trip Report

https://herbsutter.com/2026/03/29/c26-is-done-trip-report-march-2026-iso-c-standards-meeting-lond...
114•pjmlp•3h ago•83 comments

Pretext: TypeScript library for multiline text measurement and layout

https://github.com/chenglou/pretext
138•emersonmacro•1d ago•19 comments

The RISE RISC-V Runners: free, native RISC-V CI on GitHub

https://riseproject.dev/2026/03/24/announcing-the-rise-risc-v-runners-free-native-risc-v-ci-on-gi...
92•thebeardisred•3d ago•21 comments

Neovim 0.12.0

https://github.com/neovim/neovim/releases/tag/v0.12.0
212•pawelgrzybek•3h ago•84 comments

More on Version Control

https://bramcohen.com/p/more-on-version-control
29•velmu•2h ago•4 comments

Ohm's Peg-to-WASM Compiler

https://ohmjs.org/blog/2026/03/12/peg-to-wasm
10•azhenley•2d ago•1 comments

Kyushu Railway Company Train Varieties

https://www.jrkyushu.co.jp/english/train/index.html
21•NaOH•2h ago•0 comments

Creating West Coast Buddhism (2024)

https://letter.palladiummag.com/p/creating-west-coast-buddhism
31•surprisetalk•3d ago•8 comments

AyaFlow: A high-performance, eBPF-based network traffic analyzer written in Rust

https://github.com/DavidHavoc/ayaFlow
65•tanelpoder•6h ago•4 comments

The rise and fall of IBM's 4 Pi aerospace computers: an illustrated history

https://www.righto.com/2026/03/ibm-4-pi-computer-history.html
51•zdw•5h ago•13 comments

Show HN: I made a "programming language" looking for feedback

https://github.com/alonsovm44/glupe
15•alonsovm•2h ago•16 comments

The Epistemology of Microphysics

https://www.edwardfeser.com/unpublishedpapers/microphysics.html
29•danielam•4d ago•16 comments

Show HN: Crazierl – An Erlang Operating System

https://crazierl.org/demo/
6•toast0•51m ago•2 comments

Show HN: QuickBEAM – run JavaScript as supervised Erlang/OTP processes

https://github.com/elixir-volt/quickbeam
52•dannote•1d ago•8 comments

Police used AI facial recognition to wrongly arrest TN woman for crimes in ND

https://www.cnn.com/2026/03/29/us/angela-lipps-ai-facial-recognition
283•ourmandave•7h ago•110 comments

LinkedIn uses 2.4 GB RAM across two tabs

503•hrncode•12h ago•301 comments

Nitrile and latex gloves may cause overestimation of microplastics

https://news.umich.edu/nitrile-and-latex-gloves-may-cause-overestimation-of-microplastics-u-m-stu...
468•giuliomagnifico•11h ago•205 comments

Observations from carbon dioxide monitoring

https://grieve-smith.com/ftn/2026/03/nine-observations-from-carbon-dioxide-monitoring/
24•coloneltcb•2d ago•6 comments

Miasma: A tool to trap AI web scrapers in an endless poison pit

https://github.com/austin-weeks/miasma
260•LucidLynx•11h ago•193 comments

A nearly perfect USB cable tester

https://blog.literarily-starved.com/2026/02/technology-the-nearly-perfect-usb-cable-tester-does-e...
251•birdculture•3d ago•136 comments

Full network of clitoral nerves mapped out for first time

https://www.theguardian.com/society/2026/mar/29/full-network-clitoral-nerves-mapped-out-first-tim...
171•onei•5h ago•47 comments

Sky Wins Irish Court Order to Unmask 300 Pirate IPTV Users via Revolut Bank

https://torrentfreak.com/sky-wins-irish-court-order-to-unmask-300-pirate-iptv-users-via-revolut-b...
13•nixass•1h ago•0 comments

I turned my Kindle into my own personal newspaper

https://manualdousuario.net/en/how-to-kindle-personal-newspaper/
167•rpgbr•2d ago•54 comments

Netscape News Feed Straight Out of the Late 00s

https://isp.netscape.com/
64•mistyvales•3h ago•16 comments

Show HN: BreezePDF – Free, in-browser PDF editor

https://breezepdf.com/?v=3
54•philjohnson•7h ago•32 comments

My MacBook Keyboard Is Broken and It's Insanely Expensive to Fix

https://tobiasberg.net/posts/my-macbook-keyboard-is-broken-and-its-insanely-expensive-to-fix/
78•TobiasBerg•2h ago•82 comments