HNHacker News
TopNewBestAskShowJobs

buggymcbugfix

121 karma · joined August 26, 2025

submissionscomments
buggymcbugfix··on I don't have a smartphone or at least I wish I didn't
And this, ladies and gentlemen, is what we call enshittification!
buggymcbugfix··on Tailscale Traces Database Corruption to 16y/o SQLite WAL-Reset Bug
lol good old ostrich algorithm
buggymcbugfix··on Tracking down the 16-year-old WAL-reset SQLite bug
Agreed, I was also wondering about this. Maybe the aggressive checkpointing was for preventing WAL-overflow?
buggymcbugfix··on Tracking down the 16-year-old WAL-reset SQLite bug
Not only are they funding open source, they are actively allowing users to host their own control plane via headscale which is a libre implementation of the tailscale control protocol and developed by an engineer who works for Tailscale by day. This instantly made me trust and like them, even if at first I was cautious because I naturally mistrust anything that gets a lot of hype. I've been running headscale on NixOS, hosting my own tailnet since last year and everything just works out of the box. Tailscale lives up to the hype! <3
buggymcbugfix··on Hunting a 16-year-old SQLite WAL bug with TLA+
Thanks for the nice article. The SQLite docs that explain this bug are emphatic about how utterly rare, even irreproducible it is. How, then, was it found, one wonders?
buggymcbugfix··on All of human cooking compressed into 2 megabytes
Thousands of cheeses, each of which is a unique experience. Heck, even the serving temperature completely alters the experience. Next: wines, charcuterie, ...

Pity the fool who can't taste the difference between any of these.

buggymcbugfix··on The Zig project's rationale for their anti-AI contribution policy
The compiler is being actively worked on by Adam and his team at Nectry, but unfortunately those developments are not currently being backported to the open source repo. I'm fairly confident this will happen eventually.

I maintain my own private fork with some small modifications which I started polishing up this week to release it for a talk that I'm preparing.

The project I'm using this on is an ecommerce site [0] written in 100% Ur/Web with a hand-rolled backend ERP system written in PHP (not by me) which I am slowly replacing bits of with new Ur/Web code. As of today, we have 22223 lines of Ur/Web code, weighing in at 701 KiB.

[0]: https://liepelt.design

buggymcbugfix··on The Zig project's rationale for their anti-AI contribution policy
One reason I love writing production code in Ur/Web is that LLMs are incapable of synthesising something even remotely resembling it. Keeps me on my toes.

I think this is a great policy by the Zig team.

buggymcbugfix··on Why I still reach for Lisp and Scheme instead of Haskell
Whoa you were faster than me!
buggymcbugfix··on Why I still reach for Lisp and Scheme instead of Haskell
You just add `trace`. It's not hard.

https://wiki.haskell.org/Debugging

buggymcbugfix··on Before GitHub
I am a sucker for underdog software (anyone else using Ur/Web in prod?) and I was instantly infatuated when I first came across Fossil. I wasted a week of my life trying to fall in love with it but actually realising all the little things that make Git awesome. Beautiful diff output. Staging changes in hunks. Fixup commits, interactive rebase with autosquash. Git lets you treat not just your code as art but also your code evolution. In Fossil you don't get to clean up your branch into a coherent story. No, every path to and from dead-end blood-soaked alleys stays with you forever, unless you just don't commit anything until you have smoothed over all the details. No committing and pushing your WIP code to keep it safe (I mean you can, but you cannot then ever undo that). I'm sure other people feel very differently and that's ok. But Git's UX is on a completely different planet, imho.

Yes, I am someone who, when my branch code-wise is ready to be merged, I will still take however long it needs to clean the history into a coherent, bisectable set of patches.

To be fair, Fossil is kinda cool in many ways, but it's a downgrade for my dev UX. Also the configuration interface for access controls and suchlike to the repo server, issue tracker, etc. is... eccentric. I wouldn't be surprised to find some incorrectly/unsafely configured repos in the wild.

buggymcbugfix··on I bought Friendster for $30k – Here's what I'm doing with it
I think this point is crucial:

> [...] would be roughly proportional to the strength of the friend network connecting them.

buggymcbugfix··on Composition shouldn't be this hard
That is true! The system I mentioned above, which I had to refactor, was written in the worst Haskell that I've ever seen and nobody at the company dared touch it with a 10-foot pole.
buggymcbugfix··on Composition shouldn't be this hard
You can't say...

> Not sure if tools and technologies can solve accidental complexity.

... and then say

> For me, consistent systematic naming and prefixes/suffixes to make names unique are a hint that a person is thinking about this or has experience with maintaining old systems. This has a huge effect on how well you can search, analyze, find usages, understand, replace, change.

I have battle scars from refactoring legacy systems where my predecessors did _not_ consistently or uniquely name things and I would not have seen it through without my sidekick, the type checker!

buggymcbugfix··on PostgreSQL production incident caused by transaction ID wraparound
Getting AI vibes from this article? It is strangely repetitive and meandering. Also tell-tale "It's not X, it's Y" and sort of unspecific mostly.

Also, why would you have billions of open transactions? That is the implication I got from the article as someone who doesn't know anything about Postgres.

(I use SQLite and perhaps I have Stockholm syndrome, but I like how it pushes you towards a design with small transactions, ideally entirely database-side.)

EDIT: Yeah, gptzero says AI with 100% confidence.

buggymcbugfix··on Blue light filters don't work – controlling total luminance is a better bet
> That’s all great, but there are websites that still don’t have dark modes.

Such as that very website? ;)

buggymcbugfix··on Laser writing in glass for dense, fast and efficient archival data storage
Very cool! Although this part feels a bit hand-wavy (or shall I say, AI-wand-wavy?)

<quote> Machine learning decode: building on our previous work23, here we apply machine-learning-based decode (see section ‘Reading and decoding data’) to account for noise and inter-voxel cross-talk. </quote>

buggymcbugfix··on Garment Notation Language: Formal descriptive language for clothing construction
+1. This is 100% hallucinated. Creds: My first programming language was GRAFIS CAD Fachsprache, a parametric pattern drafting software for garments, which incidentally powers our business (https:/liepelt.design—the website and intranet of which we are developing in ur/web btw just to clarify the geek factor!)
buggymcbugfix··on Improving Unnesting of Complex Queries [pdf]
Indeed they write that the algorithm has been implemented in DuckDB.
buggymcbugfix··on Improving Unnesting of Complex Queries [pdf]
I wonder if this is being implemented for SQLite?
buggymcbugfix··on [dead]
Erlang does exactly what the author wants.
buggymcbugfix··on The creator of Claude Code's Claude setup
> [I'm] the creator of Claude Code.

but also

> Claude Code works great out of the box, so I personally don't customize it much.

Am I the only one to notice the irony of this juxtaposition?

buggymcbugfix··on Mozilla's New CEO Confirms Firefox Will Become an "AI Browser"
Which one of these is most trustworthy in terms of

1. doesn't (and won't) munge personal data

2. will be available in 2035

?

buggymcbugfix··on Mozilla's New CEO Confirms Firefox Will Become an "AI Browser"
Now this makes me genuinely curious: is there a browser which respects privacy, that is usable?
buggymcbugfix··on Basalt Woven Textile
Next sewing project: rock pants.
buggymcbugfix··on Why don't people return their shopping carts?
Of course hooligans steal shopping carts. This was about people leaving shopping carts in the parking lot :)
buggymcbugfix··on Why don't people return their shopping carts?
Whoa!
buggymcbugfix··on Why don't people return their shopping carts?
Here, US?
buggymcbugfix··on Why don't people return their shopping carts?
PS: This is not meant as snark, but rather an observation, that by means of a small nudge (in this case the coin deposit), people can learn to do the Right Thing. To quote Charlie Munger:

> Show me the incentive and I'll show you the outcome.

buggymcbugfix··on Why don't people return their shopping carts?
Naww, that is very sweet!
Page 1 of 2Next →