Best of all, /dev/null is also serializable (but not strict serializable) under many academic and textbook definitions. Specifically, these definitions require that transactions appear to execute in some serial order, and place no constraints on that serial order. So the database can issue all reads at time zero, returning empty results, and all writes at the time they happen (because who the hell cares?). The lesson…
/dev/null is an ACID compliant database
71–80 of 203 posts
Re: /dev/null is an ACID compliant database
#72Earlier quoted context omitted.
What's the best hardware for running a /dev/null instance for production?
I usually do a kubernetes cluster on top of VMs. But sometimes when I really want to scale the standard cloud server less platforms all support /dev/null out of the box. (Except for Windows...)
copy c:\file nul
It's been there since DOS or more likely CP/M :)
Re: /dev/null is an ACID compliant database
#73https://www.linusakesson.net/programming/pipelogic/index.php
Past HN post: https://news.ycombinator.com/item?id=15363029
Re: /dev/null is an ACID compliant database
#74Earlier quoted context omitted.
It's not a funny one if it was one. Of course something is going to be a bad database if it's not a database.
"Its not funny" says the one guy in a room where literally everyone else is laughing and riffing on the joke. Your humor unit might be defective.
Re: /dev/null is an ACID compliant database
#75Re: /dev/null is an ACID compliant database
#76Earlier quoted context omitted.
seems you've missed the joke
It's not a funny one if it was one. Of course something is going to be a bad database if it's not a database.
Re: /dev/null is an ACID compliant database
#77Earlier 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.
This would lead to impossible states, like
if cat foo | false; then echo hmm; fi
Producing output sometimes, depending on whether or not `cat foo` or `false` return value was used
[0] https://lists.gnu.org/archive/html/bug-bash/2015-06/msg00010...
Re: /dev/null is an ACID compliant database
#78Best stack cloud providers don't want you to know about, /dev/null for db and https://github.com/kelseyhightower/nocode for the backend.
WTF is going on with the issues and pull requests for that repo?
Re: /dev/null is an ACID compliant database
#79Earlier 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.
Given that this statement begins with "joking aside", I have to assume it is either a meta-joke or an uninformed opinion. Taking the subsequent sentence into account thoroughly reinforces the former.
Well played. :-)
Re: /dev/null is an ACID compliant database
#80"The system transitions from one valid state to another" is clearly false: the system only has a single state.