frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I made my own Git

https://tonystr.net/blog/git_immitation
90•TonyStr•2h ago•33 comments

Heathrow scraps liquid container limit

https://www.bbc.com/news/articles/c1evvx89559o
392•robotsliketea•3d ago•529 comments

Velox: A Port of Tauri to Swift by Miguel de Icaza

https://github.com/velox-apps/velox
68•wahnfrieden•1w ago•11 comments

Ask HN: Books to learn 6502 ASM and the Apple II

44•abkt•2h ago•21 comments

A list of fun destinations for telnet

https://telnet.org/htm/places.htm
171•tokyobreakfast•10h ago•39 comments

Snow Simulation Toy

https://potch.me/2026/snow-simulation-toy.html
15•surprisetalk•1w ago•5 comments

Kimi Released Kimi K2.5, Open-Source Visual SOTA-Agentic Model

https://www.kimi.com/blog/kimi-k2-5.html
290•nekofneko•7h ago•105 comments

9 Mothers (YC X26, Defense Tech) Is Hiring

https://jobs.ashbyhq.com/9-mothers?utm_source=x8pZ4B3P3Q
1•ukd1•56m ago

We Do Not Support Opt-Out Forms (2025)

https://consciousdigital.org/why-we-do-not-support-opt-out-forms/
21•mefengl•3h ago•4 comments

The Universal Pattern Popping Up in Math, Physics and Biology (2013)

https://www.quantamagazine.org/in-mysterious-pattern-math-and-nature-converge-20130205/
74•kerim-ca•4d ago•26 comments

The hidden engineering of runways

https://practical.engineering/blog/2026/1/20/the-hidden-engineering-of-runways
346•crescit_eundo•6d ago•80 comments

Apple introduces new AirTag with longer range and improved findability

https://www.apple.com/newsroom/2026/01/apple-introduces-new-airtag-with-expanded-range-and-improv...
491•meetpateltech•23h ago•576 comments

ChatGPT Containers can now run bash, pip/npm install packages and download files

https://simonwillison.net/2026/Jan/26/chatgpt-containers/
358•simonw•18h ago•261 comments

There is an AI code review bubble

https://www.greptile.com/blog/ai-code-review-bubble
286•dakshgupta•21h ago•195 comments

Windows 11's Patch Tuesday nightmare gets worse

https://www.windowscentral.com/microsoft/windows-11/windows-11s-botched-patch-tuesday-update-nigh...
338•01-_-•22h ago•265 comments

JuiceSSH – Give me my pro features back

https://nproject.io/blog/juicessh-give-me-back-my-pro-features/
347•jandeboevrie•19h ago•148 comments

Dithering – Part 2: The Ordered Dithering

https://visualrambling.space/dithering-part-2/
215•ChrisArchitect•18h ago•26 comments

Refinement Without Specification

https://buttondown.com/hillelwayne/archive/refinement-without-specification/
8•BerislavLopac•6d ago•0 comments

Over 36,500 killed in Iran's deadliest massacre, documents reveal

https://www.iranintl.com/en/202601255198
572•mhb•1d ago•313 comments

I let ChatGPT analyze a decade of my Apple Watch data, then I called my doctor

https://www.msn.com/en-us/news/technology/i-let-chatgpt-analyze-a-decade-of-my-apple-watch-data-t...
146•zdw•14h ago•149 comments

RIP Low-Code 2014-2025

https://www.zackliscio.com/posts/rip-low-code-2014-2025/
242•zackliscio•21h ago•126 comments

Russia using Interpol's wanted list to target critics abroad, leak reveals

https://www.bbc.com/news/articles/c20gg729y1yo
131•breve•6h ago•47 comments

The C-Shaped Hole in Package Management

https://nesbitt.io/2026/01/27/the-c-shaped-hole-in-package-management.html
5•tanganik•2h ago•0 comments

New York Times games are hard: A computational perspective

https://arxiv.org/abs/2509.10846
43•PaulHoule•4d ago•12 comments

AI code and software craft

https://alexwennerberg.com/blog/2026-01-25-slop.html
204•alexwennerberg•19h ago•118 comments

Model Market Fit

https://www.nicolasbustamante.com/p/model-market-fit
68•nbstme•6d ago•11 comments

The Adolescence of Technology

https://www.darioamodei.com/essay/the-adolescence-of-technology
206•jasondavies•20h ago•137 comments

Porting 100k lines from TypeScript to Rust using Claude Code in a month

https://blog.vjeux.com/2026/analysis/porting-100k-lines-from-typescript-to-rust-using-claude-code...
225•ibobev•23h ago•140 comments

France Aiming to Replace Zoom, Google Meet, Microsoft Teams, etc.

https://twitter.com/lellouchenico/status/2015775970330882319
777•bwb•21h ago•683 comments

People who know the formula for WD-40

https://www.wsj.com/business/the-secret-society-of-people-who-know-the-formula-for-wd-40-e9c0ff54
175•fortran77•16h ago•256 comments
Open in hackernews

I made my own Git

https://tonystr.net/blog/git_immitation
90•TonyStr•2h ago

Comments

kgeist•1h ago
>The hardest part about this project was actually just parsing.

How about using sqlite for this? Then you wouldn't need to parse anything, just read/update tables. Fast indexing out of the box, too.

grenran•1h ago
that would be what https://fossil-scm.org/ is
TonyStr•1h ago
Very interesting. Looks like fossil has made some unique design choices that differ from git[0]. Has anyone here used it? I'd love to hear how it compares.

[0] https://fossil-scm.org/home/doc/trunk/www/fossil-v-git.wiki#...

embedding-shape•1h ago
Used it on and off mainly to check it out, but always in a personal/experimental capacity. Never managed to convince any teams to give it a try, mostly because git don't tend to get in the way, so hard to justify to learn something completely new.

I really enjoy how local-first it is, as someone who sometimes work without internet connection. That the data around "work" is part of the SCM as well, not just the code, makes a lot of sense to me at a high-level, and many times I wish git worked the same...

usrbinbash•1h ago
I mean, git is just as "local-first" (a git repo is just a directory after all), and the standard git-toolchain includes a server, so...

But yeah, fossil is interesting, and it's a crying shame its not more well known, for the exact reasons you point out.

embedding-shape•31m ago
> I mean, git is just as "local-first" (a git repo is just a directory after all), and the standard git-toolchain includes a server, so...

It isn't though, Fossil integrates all the data around the code too in the "repository", so issues, wiki, documentation, notes and so on are all together, not like in git where most commonly you have those things on another platform, or you use something like `git notes` which has maybe 10% of the features of the respective Fossil feature.

It might be useful to scan through the list of features of Fossil and dig into it, because it does a lot more than you seem to think :) https://fossil-scm.org/home/doc/trunk/www/index.wiki

smartmic•58m ago
I use Fossil extensively, but only for personal projects. There are specific design conditions, such as no rebasing [0], and overall, it is simpler yet more useful to me. However, I think Fossil is better suited for projects governed under the cathedral model than the bazaar model. It's great for self-hosting, and the web UI is excellent not only for version control, but also for managing a software development project. However, if you want a low barrier to integrating contributions, Fossil is not as good as the various Git forges out there. You have to either receive patches or Fossil bundles via email or forum, or onboard/register contributors as developers with quite wide repo permissions.

[0]: https://fossil-scm.org/home/doc/trunk/www/rebaseharm.md

graemep•24m ago
I like it but the problem is everyone else already knows git and everything integrates with git.

It is very easy to self host.

Not having staging is awkward at first but works well once you get used to it.

I prefer it for personal projects. In think its better for small teams if people are willing to adjust but have not had enough opportunities to try it.

prakhar1144•1h ago
I was also playing around with the ".git" directory - ended up writing:

"What's inside .git ?" - https://prakharpratyush.com/blog/7/

sluongng•1h ago
Zstd dictionary compression is essentially how Meta's Mercurial fork (Sapling VCS) stores blobs https://sapling-scm.com/docs/dev/internals/zstdelta. The source code is available in GitHub if folks want to study the tradeoffs vs git delta-compressed packfiles.

I think theoratically, Git delta-compression is still a lot more optimized for smaller repos. But for bigger repos where sharding storaged is required, path-based delta dictionary compression does much better. Git recently (in the last 1 year) got something called "path-walk" which is fairly similar though.

darkryder•1h ago
Great writeup! It's always fun to learn the details of the tools we use daily.

For others, I highly recommend Git from the Bottom Up[1]. It is a very well-written piece on internal data structures and does a great job of demystifying the opaque git commands that most beginners blindly follow. Best thing you'll learn in 20ish minutes.

1. https://jwiegley.github.io/git-from-the-bottom-up/

spuz•29m ago
Thanks - I think this is the article I was thinking of that really helped me to understand git when I first started using it back in the day. I tried to find it again and couldn't.
heckelson•57m ago
gentle reminder to set your website's `<title>` to something descriptive :)
TonyStr•39m ago
haha, thank you. Added now :-)
teiferer•55m ago
If you ever wonder how coding agents know how to plan things etc, this is the kind of article they get this training from.

Ends up being circular if the author used LLM help for this writeup though there are no obvious signs of that.

wasmainiac•50m ago
Maybe we can poison LLMs with loops of 2 or more self referencing blogs.
jdiff•36m ago
Only need one, they're not thinking critically about the media they consume during training.
falcor84•31m ago
Here's a sad prediction: over the coming few years, AIs will get significantly better at critical evaluation of sources, while humans will get even worse at it.
andy_ppp•8m ago
The secret sauce about having good understanding, taste and style (both for coding and writing) has always been in the fine tuning and RHLF steps. I'd be skeptical if the signals a few GitHub repos or blogs generate at the initial stages of the learning are that critical. There's probably a filter also for good taste on the initial training set and these are so large not even a single full epoch is done on the data these days.
mexicocitinluez•47m ago
> Ends up being circular if the author used LLM help for this writeup though there are no obvious signs of that.

Great argument for not using AI-assisted tools to write blog posts (especially if you DO use these tools). I wonder how much we're taking for granted in these early phases before it starts to eat itself.

anu7df•43m ago
I understand model output put back into training would be an issue, but if model output is guided by multiple prompts and edited by the author to his/her liking wouldn't that at least be marginally useful?
TonyStr•24m ago
Interestingly, I looked at github insights and found that this repo had 49 clones, and 28 unique cloners, before I published this article. I definitely did not clone it 49 times, and certainly not with 28 unique users. It's unlikely that the handful of friends who follow me on github all cloned the repo. So I can only speculate that there are bots scraping new public github repos and training on everything.

Maybe that's obvious to most people, but it was a bit surprising to see it myself. It feels weird to think that LLMs are being trained on my code, especially when I'm painfully aware of every corner I'm cutting.

The article doesn't contain any LLM output. I use LLMs to ask for advice on coding conventions (especially in rust, since I'm bad at it), and sometimes as part of research (zstd was suggested by chatgpt along with comparisons to similar algorithms).

prodigycorp•11m ago
Random aside about training data:

One of the funniest things I've started to notice from Gemini in particular is that in random situations, it talks with english with an agreeable affect that I can only describe as.. Indian? I've never noticed such a thing leak through before. There must be a ton of people in India who are generating new datasets for training.

sneela•52m ago
> If you want to look at the code, it's available on github.

Why not tvc-hub :P

Jokes aside, great write up!

TonyStr•32m ago
haha, maybe that's the next project. It did feel weird to make git commits at the same time as I was making tvc commits
igorw•42m ago
Random but y'all might enjoy. Git client in PHP, supports reading packfiles, reftables, diff via LCS. Written by hand.

https://github.com/igorwwwwwwwwwwwwwwwwwwww/gipht-horse

nasretdinov•4m ago
Nice! This repo is a huge W for PHP I'd say.

P.S. Didn't know that plain '@' can be used instead of HEAD, but I guess it makes sense since you can omit both left and right parts of the expressions separated by '@'

h1fra•34m ago
Learning git internals was definitely the moment it became clear to me how efficient and smart git is.

And this way of versionning can be reused in other fields, as soon as have some kind of graph of data that can be modified independently but read all together then it makes sense.

p4bl0•23m ago
ugit: DIY Git in Python [1] is still by far my favorite of this kind of posts. It really goes deep into Git internals while managing to stay easy to follow along the way.

[1] https://www.leshenko.net/p/ugit/

TonyStr•21m ago
This page is beautiful!

Bookmarked for later

eru•19m ago
> These objects are also compressed to save space, so writing to and reading from .git/objects/ will always involve running a compression algoritm. Git uses zlib to compress objects, but looking at competitors, zstd seemed more promising:

That's a weird thing to put so close to the start. Compression is about the least interesting aspect of Git's design.

alphabetag675•18m ago
When you are learning, everything is important. I think it is okay to cut the person some slack regarding this.