Live data from Hacker News

/dev/null is an ACID compliant database

jyu.dev

171–180 of 203 posts

Re: /dev/null is an ACID compliant database

#172

Best stack cloud providers don't want you to know about, /dev/null for db and https://github.com/kelseyhightower/nocode for the backend.

Totally true! Also did you know that deleting all S3 object buckets decreases latency? Lots of developers seem to agree: https://www.youtube.com/watch?v=PLKrSVuT-Dg&lc=UgxSygpx7d6yF...

Re: /dev/null is an ACID compliant database

#173

In a similar vein, this is one of the most interesting things I’ve come across on HN over the years: https://www.linusakesson.net/programming/pipelogic/index.php Past HN post: https://news.ycombinator.com/item?id=15363029

That vaguely reminds me of https://en.wikipedia.org/wiki/Inerter_(mechanical_networks)

Re: /dev/null is an ACID compliant database

#175
post #109

It's also horizontally scalable: https://gist.github.com/raggi/560087#file-shardnull

I understand this is supposed to be satire, but IMHO a well-executed joke should still be well-written and easy to follow. This " unless " is just terrible to read, and I can't even tell if FFI is necessary here, or a part of the joke. Funny not funny.

There was quite a different context when it was written 15 years ago, but essentially the same root jokes.

Re: /dev/null is an ACID compliant database

#178

Earlier quoted context omitted.

The only bug with it was due to my own stupidity. I wanted a quick way to see how fast a drive was, thus sending one of its large files to /dev/null was fine. Except I went too fast and cp'd the file to /dev/null. It took a while before noticing I had no more /dev/null on the machine (read: the time needed to fill the rootfs). In a panic, I removed the file. Seeing the machine collapse due to /dev/null missing was fu…

Wait, you can actually remove /dev/null? I always thought of it as a special driver file I guess that might not be true for all nixes out there

/dev/null is a device file, and can be removed by root, or any user with write access to the /dev directory itself.

You can recreate it with 'mknod /dev/null c 1 3; chmod 666 /dev/null'.

The '1 3' are the major and minor device numbers, respectively, which are assigned / maintained by LANA, the Linux Assigned Numbers Authority.

Re: /dev/null is an ACID compliant database

#179
Ah, how cute. An actual "old school" blog. Nostalgia. Tears in eyes.

https://jyu.dev/blog/

And the production of articles is about right too.

    . "Hello World" - The start of something great. [Dec 2024]

    . "Comparison is the Thief of Joy" - Link to another article. [Apr 2025]

    . "/dev/null is an ACID compliant database" - Funny, insightful. [Aug 2025]
That read about like my blog 20 years ago.

Funny post though, good read!

Post reply on HN