Live data from Hacker News

/dev/null is an ACID compliant database

jyu.dev

121–130 of 203 posts

Re: /dev/null is an ACID compliant database

#121
post #102

Earlier quoted context omitted.

You've been beaten to the punch: https://devnull-as-a-service.com/

It's down! $ telnet devnull-as-a-service.com 9 Trying 2001:19f0:6c01:497:5400:ff:fe69:8cbf... Connection failed: Connection refused Trying 45.76.95.197... telnet: Unable to connect to remote host: Connection refused

> 85,66% guaranteed uptime (we need some sleep, too)

Re: /dev/null is an ACID compliant database

#124
post #123

It's ACID compliant. But it's not a database.

W just need R&D money to solve reading back from it, but that's just a matter of time we can definitely solve it in a year or two.

This tech is just around the corner I promise, then we will be first to the market and all the big tech companies will want to buy us out, imagine how much we can earn.

/s

Re: /dev/null is an ACID compliant database

#125
post #124
post #123

It's ACID compliant. But it's not a database.

W just need R&D money to solve reading back from it, but that's just a matter of time we can definitely solve it in a year or two. This tech is just around the corner I promise, then we will be first to the market and all the big tech companies will want to buy us out, imagine how much we can earn. /s

If you have infinite time, you can find your data in /dev/random

Re: /dev/null is an ACID compliant database

#126

Earlier quoted context omitted.

WTF is going on with the issues and pull requests for that repo?

Looks like the code for MCP support is reviewed and merged: https://github.com/kelseyhightower/nocode/pull/5540

HaHa, it's empty too :)

Re: /dev/null is an ACID compliant database

#127

Earlier quoted context omitted.

WTF is going on with the issues and pull requests for that repo?

The less substance there is to it, the easier it is to talk about. The Chinese comments ("issues") also seem to be the same kind of jokes as the English ones, "no code means no bugs, perfect", etc., from the few I tried getting translations of. I imagine this went viral on Chinese social media, which makes sense since it's the sort of joke that's easy to translate and doesn't depend on particular cultural assumptions…

Also GitHub is one of the very few western websites with a comment section that isn’t blocked in China.

Re: /dev/null is an ACID compliant database

#128

Earlier quoted context omitted.

Bug free software is a pipe dream, but if there is anything I've never encountered any bugs with, /dev/null and true is certainly in the top 3.

Joking aside I can’t ever remember seeing a bug in either bash or zsh, never seen either crash or segfault and anytime I’ve had weirdness it’s always turned out to be me missing something. Both (along with a lot of the standard utilities) are a testament to what talented C programmers plus years of people beating on them in unintended ways can achieve in terms of reliability/stability.

Depending on how you define "bash" and "bug", funny things happen when you run on a computer with 0 remaining hard drive space.

Re: /dev/null is an ACID compliant database

#129

I've used /dev/null for exactly this purpose. I have output that needs to go somewhere, and I don't want to worry about whether that somewhere can handle it. Later on in deployment, it will go somewhere else. Somewhere that has been evaluated for being able to handle it. In that way, /dev/null is to storage what `true` is to execution - it just works.

Bug free software is a pipe dream, but if there is anything I've never encountered any bugs with, /dev/null and true is certainly in the top 3.

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 fun.

Re: /dev/null is an ACID compliant database

#130

Earlier quoted context omitted.

Joking aside I can’t ever remember seeing a bug in either bash or zsh, never seen either crash or segfault and anytime I’ve had weirdness it’s always turned out to be me missing something. Both (along with a lot of the standard utilities) are a testament to what talented C programmers plus years of people beating on them in unintended ways can achieve in terms of reliability/stability.

Programs not outputting a final newline to stdout leave a prompt that doesn't start on column 0, and readline seams to not takes this into consideration, but still optimizes redraws and overwrites so you get an inconsistent display. This bugs seam to exist in a lot of shells and interactive programs. The program causing the issue isn't POSIX conform though.

I don't get why this is still the case on classic shells. fish properly puts the prompt on column zero, while outputting a small "line return arrow" at the end of the command to indicate it lacked one.
Post reply on HN