frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Git is a file system. We need a database for the code

https://gist.github.com/gritzko/6e81b5391eacb585ae207f5e634db07e
25•gritzko•1h ago

Comments

mtsolitary•37m ago
I’ve recently been thinking about this too, here is my idea: https://clintonboys.com/projects/lit/
gethly•11m ago
> Like everyone else with a keyboard, a brain and a vested interest in their future as a programmer, I’ve been using AI agents to write a lot of code recently.

alrighty then..

sublinear•36m ago
Missing 4 out of 5 parts. The attempt to wrest control away from the open source community doesn't even have the effort to keep going.
gritzko•33m ago
Yes, parts will keep coming, this weekend and the next week.
bonzini•12m ago
The gist was created 1 hour before your comment.
forrestthewoods•35m ago
Definitely agree that Git is mediocre-at-best VCS tool. This has always been the case. But LLMs are finally forcing the issue. It’s a shame a whole generation programmers has only used Git/GitHub and think it’s good.

Monorepo and large binary file support is TheWay. A good cross-platform virtual file system (VFS) is necessary; a good open source one doesn’t exist today.

Ideally it comes with a copy-on-write system for cross-repo blob caching. But I suppose that’s optional. It lets you commit toolchains for open source projects which is a dream of mine.

Not sure I agree that LSP like features need to be built in. That feels wrong. That’s just a layer on top.

Do think that agent prompts/plans/summaries need to be a first class part of commits/merges. Not sure the full set of features required here.

JodieBenitez•20m ago
> It’s a shame a whole generation programmers has only used Git/GitHub and think it’s good.

Well... I used SVN before that and it was way worse.

EliRivers•5m ago
Continuing the theme, a new starter at my place (with about a decade of various experience, including an international financial services information player whose name is well known) had never used git or indeed any distributed, modern source control system.

HN is a tiny bubble. The majority of the world's software engineers are barely using source control, don't do code reviews, don't have continuous build systems, don't have configuration controlled release versions, don't do almost anything that most of HN's visitors think are the basic table stakes just to conduct software engineering.

solarized•33m ago
Talk is cheap. Show me the code.
nylonstrung•30m ago
Trustfall seems really promising for querying files as if they were a db

https://github.com/obi1kenobi/trustfall

charcircuit•26m ago
>I definitely reject the "git compatible" approach

If your version control system is not compatible with GitHub it will be dead on arrival. The value of allowing people to gradually adopt a new solution can not be understated. There is also value in being compatible with existing git integrations or scripts in projects build systems.

quadrifoliate•15m ago
Based on reading this, I don't see anything that would prevent keeping track of a repo tracked by this database with Git (and therefore GitHub) in addition to the database. I think the "compatible" bit means more that you have to think in terms of Git concepts everywhere.

Curious what the author thinks though, looks like it's posted by them.

conartist6•15m ago
A system as described could be forwards compatible with git without being backwards compatible with git. In other words let people migrate easily, but don't force the new system to have all the same flaws of the old
jasode•20m ago
A related (not duplicate) thread submitted a few hours ago "Evolving Git for the Next Decade (lwn.net)" : https://news.ycombinator.com/item?id=47018814

tldr of other article : does not mention new AI/LLM workflows affecting Git. Instead, it's a recap of Patrick Steinhardt (Gitlab) talk at FOSDEM about other Git pain points: SHA256 adoption, lessons from jj jujitsu, large file blobs, confusing UI

As for this thread's topic... several startups are trying to overlay a new "git/Github" type of workflow/versioning platform for LLM coding and AI agents coordination.

benrutter•17m ago
> The monorepo problem: git has difficulty dividing the codebase into modules and joining them back

Can anyone explain this one? I use monorepos everyday and although tools like precommit can get a bit messy, I've never found git itself to be the issue?

gritzko•8m ago
Based on my personal experience, big-corp monorepos have all features of a black hole: they try to suck in all the existing code (vendor it) and once some code starts living in a monorepo, there is no way to separate it as it becomes entangled with the entire thing. There is no way to "blend it in", so to say. Once the code goes under the "event horizon", it is one way only.

This subject deserves a study of its own, but big-big-tech tends to use other things than git.

PunchyHamster•7m ago
The author doesn't know how to use git or how git works.

If he knew how to use it, he'd be annoyed at some edge cases.

If he knew how it works, he'd know the storage subsystem is flexible enough to implement any kind of new VCS on top of it. The storage format doesn't need to change to improve/replace the user facing part

panstromek•10m ago
I think agree (but I think I think about this maybe a one level higher). I wrote about this a while ago in https://yoyo-code.com/programming-breakthroughs-we-need/#edi... .

One interesting thing I got in replies is Unison language (content adressed functions, function is defined by AST). Also, I recommend checking Dion language demo (experimental project which stores program as AST).

In general I think there's a missing piece between text and storage. Structural editing is likely a dead end, writing text seems superior, but storage format as text is just fundamentally problematic.

I think we need a good bridge that allows editing via text, but storage like structured database (I'd go as far as say relational database, maybe). This would unlock a lot of IDE-like features for simple programmatic usage, or manipulating langauge semantics in some interesting ways, but challenge is of course how to keep the mapping between textual input in shape.

PunchyHamster•8m ago
No we don't.

And you can build near any VCS of your dream while still using Git as storage backend, as it is database of a linked snapshots + metadata. Bonus benefit: it will work with existing tooling

The whole article is "I don't know how git works, let's make something from scratch"

gfody•7m ago
I've had this idea too, and think about it everytime I'm on a PR with lots of whitespace/non-functional noise how nice it would be if source code wern't just text and I could be looking at a cleaner higher level diff instead.. I think you have to go higher than AST though, it should at least be language-aware
gritzko•2m ago
In my current codebase, I preserve the whitespace nodes. Whitespace changes would not affect the other nodes though. My first attempt to recover whitespace algorithmically not exactly failed, but more like I was unable to verify it is OK enough. We clang-format or go fmt the entire thing anyway, and whitespace changes are mostly noise, but I did not find 100% sure approach yet.

A Pokémon of a Different Color

https://matthew.verive.me/blog/color/
1•Risse•1m ago•0 comments

France assembles magistrate team to examine 'Epstein files'

https://www.dw.com/en/epstein-files-france-investigation-magistrates/a-75975774
1•pera•2m ago•0 comments

Show HN: Manga Viewer – Zero-dep manga/comic reader in vanilla JavaScript

https://github.com/tokagemushi999/manga-viewer
1•tokagemushi•5m ago•0 comments

AI to stay in Flow – a personal decision on how I chose to (not) use AI

https://www.dev-log.me/ai_to_stay_in_flow/
1•wazHFsRy•8m ago•0 comments

AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach

https://socket.dev/blog/ai-agent-lands-prs-in-major-oss-projects-targets-maintainers-via-cold-out...
1•choult•9m ago•0 comments

Starflight

https://en.wikipedia.org/wiki/Starflight
1•tosh•9m ago•0 comments

Storepage – I'm a tool builder making app launch pages less painful

https://storepage.app
1•scaleinitiative•11m ago•1 comments

Show HN: Visual state tracking for AI agents in tmux

https://github.com/accessd/tmux-agent-indicator
1•accessd•17m ago•0 comments

Former teen superstar James Van Der Beek needed help to pay his medical bills

https://www.bbc.com/news/articles/cx2dw01p7k8o
1•breve•21m ago•0 comments

The great computer science exodus (and where students are going instead)

https://techcrunch.com/2026/02/15/the-great-computer-science-exodus-and-where-students-are-going-...
1•e2e4•21m ago•0 comments

Show HN: Addictive little browser game involving gravity

https://retroburn.space/
1•amiralul•21m ago•0 comments

Paper Plotter

https://felixboiii.github.io/paper-plotter/#create-function
1•Tomte•22m ago•0 comments

Orjson no more open issue tracker or pull requests due to signal-to-noise ratio

https://github.com/ijl/orjson
1•anutrix•22m ago•1 comments

Learning Lean: Part 1

https://rkirov.github.io/posts/lean1/
1•vinhnx•22m ago•0 comments

How I made $2.5K in 4 days selling a SaaS boilerplate for OpenClaw wrappers

https://clawwrapper.com
1•omridan159•24m ago•1 comments

Understanding the Go Runtime: The Bootstrap

https://internals-for-interns.com/posts/understanding-go-runtime/
1•birdculture•24m ago•0 comments

Guthrie video delayed by difficult data recovery, privacy advocates worry

https://www.reuters.com/world/guthrie-doorbell-video-delayed-by-difficult-data-recovery-privacy-a...
2•cobbzilla•24m ago•1 comments

Show HN: Ventoux – get insights into your FIT activities

https://codeberg.org/eikek/ventoux
1•eikek•26m ago•0 comments

Sammy Jankis – an autonomous agent by Jason Rohrer

https://sammyjankis.com/
1•jdietrich•32m ago•0 comments

Arrays in Forth

https://www.forth.org/svfig/Len/arrays.htm
2•tosh•34m ago•0 comments

Show HN: Claude Extender – Autonomous Agent Management for Claude Code

https://github.com/wbnns/cx
1•wbnns•36m ago•1 comments

Peloton Revenue Falls on Declining Subscriptions and CFO Leaves

https://www.wsj.com/business/earnings/peloton-revenue-falls-on-declining-subscriptions-as-cfo-lea...
1•KnuthIsGod•36m ago•1 comments

Lit: Version control where prompts are the source

https://clintonboys.com/projects/lit/
1•mtsolitary•38m ago•0 comments

AI CMO

https://ai-cmo.net/
2•lunaberry•38m ago•0 comments

Show HN: Minisft – from base model to chat model

https://github.com/onurkanbakirci/Llama-2-7b-oasst-sft
1•onurkanbkrc•39m ago•0 comments

The Sacred Ass Life Course

https://sacredass.com/
1•ZguideZ•39m ago•1 comments

Ask HN: What will Software Engineering evolve to?

1•lopespm•41m ago•0 comments

Willpower isn't a muscle - Here's a better way to think of it

https://psyche.co/ideas/no-willpower-isnt-a-muscle-heres-a-better-way-to-think-of-it
1•helloplanets•43m ago•0 comments

'medical freedom' fuels worst US measles outbreak in 30 years

https://www.reuters.com/business/healthcare-pharmaceuticals/doctors-bear-burden-medical-freedom-f...
1•u1hcw9nx•45m ago•1 comments

Show HN: Goutils – 70 type-safe generic functions for async/functional Go

https://github.com/skatiyar/goutils
2•skatiyar•46m ago•0 comments