News for hackers. Stuff that matters.
Re:Hunting a 16-year-old SQLite WAL bug with TLA+ by doctorpangloss on Friday July 03, 2026 @11:23PM (#48782385)
What mission critical purpose does sqlite provide at Tailscale exactly? Why use it at all?
Re:Hunting a 16-year-old SQLite WAL bug with TLA+ by akoboldfrying on Saturday July 04, 2026 @02:53AM (#48783211)
It's in Chrome, Firefox, Safari, Windows 10, macOS because it efficiently solves a huge number of use cases while giving plenty of headroom for flexible querying.

If you have data more complicated than a single CSV or tab-separated text file that you will only ever process in sequential order, and you don't need inter-process interaction, you should be asking why not use SQLite.

Re:Hunting a 16-year-old SQLite WAL bug with TLA+ by inigyou on Saturday July 04, 2026 @05:23AM (#48784040)
sqlite is useful everywhere CSV files are useful but you'd like them to have more data integrity and faster updates. sqlite can replace some uses of MySQL, but more commonly it replaces fopen. https://sqlite.org/whentouse.html
Re:Hunting a 16-year-old SQLite WAL bug with TLA+ by jen20 on Saturday July 04, 2026 @08:48AM (#48785040)