frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Betty White's shoulder bag is a time capsule of World War II

https://americanhistory.si.edu/explore/stories/betty-white-world-war-ii
98•thunderbong•6d ago•5 comments

Claude Memory

https://www.anthropic.com/news/memory
374•doppp•9h ago•208 comments

How memory maps (mmap) deliver faster file access in Go

https://info.varnish-software.com/blog/how-memory-maps-mmap-deliver-25x-faster-file-access-in-go
68•ingve•4h ago•44 comments

/dev/null is an ACID compliant database

https://jyu.dev/blog/why-dev-null-is-an-acid-compliant-database/
155•swills•4h ago•76 comments

React Flow, open source libraries for node-based UIs with React or Svelte

https://github.com/xyflow/xyflow
34•mountainview•2h ago•6 comments

AI discovers a 5x faster MoE load balancing algorithm than human experts

https://adrs-ucb.notion.site/moe-load-balancing
71•melissapan•3h ago•27 comments

Cheap DIY solar fence design

https://joeyh.name/blog/entry/cheap_DIY_solar_fence_design/
26•kamaraju•1w ago•9 comments

Can “second life” EV batteries work as grid-scale energy storage?

https://www.volts.wtf/p/can-second-life-ev-batteries-work
109•davidw•7h ago•122 comments

When is it better to think without words?

https://www.henrikkarlsson.xyz/p/wordless-thought
60•Curiositry•4h ago•24 comments

Zram Performance Analysis

https://notes.xeome.dev/notes/Zram
61•enz•6h ago•16 comments

PyTorch Monarch

https://pytorch.org/blog/introducing-pytorch-monarch/
313•jarbus•15h ago•40 comments

Introduction to the concept of likelihood and its applications (2018)

https://journals.sagepub.com/doi/10.1177/2515245917744314
15•sebg•3h ago•2 comments

Pyscripter – Open-source Python IDE written in Delphi

https://github.com/pyscripter/pyscripter
51•peter_d_sherman•4d ago•8 comments

Summary of the Amazon DynamoDB Service Disruption in US-East-1 Region

https://aws.amazon.com/message/101925/
411•meetpateltech•1d ago•110 comments

Kaitai Struct: declarative binary format parsing language

https://kaitai.io/
79•djoldman•1w ago•26 comments

New updates and more access to Google Earth AI

https://blog.google/technology/research/new-updates-and-more-access-to-google-earth-ai/
128•diogenico•9h ago•40 comments

Armed police swarm student after AI mistakes bag of Doritos for a weapon

https://www.dexerto.com/entertainment/armed-police-swarm-student-after-ai-mistakes-bag-of-doritos...
479•antongribok•8h ago•297 comments

Deepstaria Enigmatica

https://en.wikipedia.org/wiki/Deepstaria_enigmatica
5•handfuloflight•1w ago•1 comments

US probes Waymo robotaxis over school bus safety

https://www.yahoo.com/news/articles/us-investigates-waymo-robotaxis-over-102015308.html
72•gmays•13h ago•110 comments

Trump pardons convicted Binance founder

https://www.wsj.com/finance/currencies/trump-pardons-convicted-binance-founder-7509bd63
736•cowboyscott•10h ago•742 comments

I managed to grow countable yeast colonies

https://chillphysicsenjoyer.substack.com/p/i-managed-to-grow-countable-yeast
26•crescit_eundo•1w ago•6 comments

Show HN: Git for LLMs – A context management interface

https://twigg.ai
61•jborland•11h ago•18 comments

The OS/2 Display Driver Zoo

https://www.os2museum.com/wp/the-os-2-display-driver-zoo/
61•kencausey•1w ago•7 comments

Counter-Strike's player economy is in a multi-billion dollar freefall

https://www.polygon.com/counter-strike-cs-player-economy-multi-billion-dollar-freefall/
30•perihelions•1h ago•13 comments

Show HN: OpenSnowcat – A fork of Snowplow to keep open analytics alive

https://opensnowcat.io/
53•joaocorreia•6h ago•13 comments

Glasses-free 3D using webcam head tracking

https://assetstore.unity.com/packages/tools/camera/vr-without-glasses-for-webgl-332314
80•il_nets•5d ago•61 comments

OpenAI acquires Sky.app

https://openai.com/index/openai-acquires-software-applications-incorporated
138•meetpateltech•9h ago•78 comments

Apple loses UK App Store monopoly case, penalty might near $2B

https://9to5mac.com/2025/10/23/apple-loses-uk-app-store-monopoly-case-penalty-might-near-2-billion/
173•thelastgallon•4h ago•141 comments

Make Any TypeScript Function Durable

https://useworkflow.dev/
85•tilt•9h ago•57 comments

I spent a year making an ASN.1 compiler in D

https://bradley.chatha.dev/blog/dlang-propaganda/asn1-compiler-in-d/
244•BradleyChatha•13h ago•151 comments
Open in hackernews

/dev/null is an ACID compliant database

https://jyu.dev/blog/why-dev-null-is-an-acid-compliant-database/
152•swills•4h ago

Comments

cluckindan•4h ago
Always instantly consistent, always available, and perfectly tolerant of partitioning.

Truly, it is the only database which can be scaled to unlimited nodes and remain fully CAP.

thfuran•3h ago
It's really fast too.
ozim•3h ago
I guess we have a perfect idea for vaporware here. (pun intended)

I am putting my marketing hat on right now.

pasteldream•3h ago
Reminds me of Falso.

https://inutile.club/estatis/falso/

the_jeremy•3h ago
You've been beaten to the punch: https://devnull-as-a-service.com/
tgma•3h ago
Always available? Clearly you have not experienced situations with no /dev mounted.
pasteldream•3h ago
One easy way to create such a situation is to use bwrap without --dev.
inopinatus•1h ago
Enterprise DBAs will nevertheless provision separate /dev/null0 and /dev/null1 devices due to corporate policy. In the event of an outage, the symlink from null will be updated manually following an approved run book. Please note that this runbook must be revalidated annually as part of the sarbox audit, without which the null device is no longer authorised for production use and must be deleted
pyuser583•3h ago
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.

CaptainOfCoit•3h ago
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.
noir_lord•3h ago
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.

qwertox•3h ago
Amen.
gucci-on-fleek•2h ago
> I can’t ever remember seeing a bug in either bash

Shellshock [0] is a rather famous example, but bugs like that are rare enough that they make the news when they're found.

[0] https://en.wikipedia.org/wiki/Shellshock_%28software_bug%29

PokestarFan•2h ago
I've been able to trigger a segfault in zsh with certain plugins, a directory with a lot of files/folders, and globs with a bunch of * characters.
1718627440•1h ago
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.
latexr•1h ago
> seams

The correct spelling is “seems”. I first assumed it was a typo, but since you did it twice I thought you might like to know.

rkeene2•29m ago
I had a fun bug where bash would run scripts out of order!

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

AdieuToLogic•12m ago
> 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.

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. :-)

SanjayMehta•2h ago
False.

Wait: that's just not true.

Carry on.

imcritic•3h ago
How does a disaster recovery plan with it look like?
tadfisher•3h ago
There is never a disaster; reading from /dev/null will return the same result before and after any external event.
wolrah•3h ago
/dev/null is globally redundant across almost every *nix-ish system in operation. Just reinstall your software on whatever is convenient and all the same data will be there.
mpyne•7m ago

    sudo mknod /dev/null c 1 3 && sudo chmod 666 /dev/null
might do it on many systems
rezonant•3h ago
But is /dev/null web scale?
epistasis•3h ago
Yes, /dev/null can even power sites like zombo.com
bottled_poe•3h ago
What’s the I/O throughput of /dev/null ?
epistasis•3h ago
Single client, I'm getting ~5GB/s, both on an 8-year-old intel server, and on my M1 ARM chip.

However with a single server, it doesn't perfectly linearly scale with multiple clients. I'm getting

1 client: 5GB/s

2 clients: 8GB/s

3 client: 8.7GB/s

fukka42•3h ago
I'm easily reaching 30GB/s with a single client:

    dd if=/dev/zero of=/dev/null bs=1M status=progress
A second dd process hits the same speed.
epistasis•3h ago
My artisanal architecture design uses writes with a few characters and uses unix pipes:

    yes | pv > /dev/null
I hope that in my next rewrite I can advance to larger block sizes.
fukka42•2h ago
Interestingly I tried this as well and was disappointed with the results:

  yes $(printf %1024s | tr " " "y") | pv > /dev/null
About the same throughput as letting yes output a single character. I guess Unix pipes are slow.
1718627440•1h ago
> I guess Unix pipes are slow.

Or string concatenation, or pipeviewer.

fukka42•1h ago
yes doesn't do string concatenation, at least not in the loop that matters. It just prepares a buffer of bytes once and writes it to stdout repeatedly.

https://github.com/coreutils/coreutils/blob/master/src/yes.c

rezonant•3h ago
What's the best hardware for running a /dev/null instance for production?
epistasis•2h ago
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...)
wowczarek•49m ago
> Except for Windows...

copy c:\file nul

It's been there since DOS or more likely CP/M :)

__turbobrew__•1h ago
A single resistor at ground voltage.
dinkelberg•3h ago
How did you measure this? Do you know that /dev/null is the limiting factor, or could it be the data source that is limiting?
CaptainOfCoit•3h ago
You start dealing with Heisen-throughput at that point, it goes as high as you can measure.
pasteldream•3h ago
reference for the unaware: https://youtube.com/watch?v=b2F-DItXtZs
QuiCasseRien•3h ago
Fast and easy to read, funny and fuckingly true !

best post of the week ^^

hmokiguess•3h ago
I guess it is also idempotent then
gchamonlive•3h ago
Best stack cloud providers don't want you to know about, /dev/null for db and https://github.com/kelseyhightower/nocode for the backend.
quietbritishjim•2h ago
WTF is going on with the issues and pull requests for that repo?
gchamonlive•2h ago
In nocode you fix nothing and you don't change anything, that's why issues and pull requests are a mess, they literally cannot be dealt with by design.
fennec-posix•2h ago
Had to see for myself, and yeah... that's a whole lot of chaos. I'm sure I'd get the joke if I could read Chinese though.
SanjayMehta•2h ago
They're using it to communicate in code to each other.
QuantumNomad_•2h ago
Well they should stop that and start communicating in nocode instead.
sundarurfriend•2h ago
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 or anything.

thelastgallon•17m ago
Looks like the code for MCP support is reviewed and merged: https://github.com/kelseyhightower/nocode/pull/5540
nomel•2h ago
I've never had a single issue with any user after moving our databases to /dev/null.
PlunderBunny•36m ago
Did you route the support requests to /dev/null as well?
charcircuit•2h ago
/dev/null is not a database. By this logic is a hard disk a database, is a CD a database. No. They are storage mediums. You could store a database on them, but they themselves are not a database.

Considering there is no way to read back data written to /dev/null it will not be useful for storing database data.

chrisweekly•2h ago
seems you've missed the joke
charcircuit•2h ago
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.
voidfunc•1h ago
"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.

brobbin•1h ago
It's nerd humor. You're not supposed to find it funny, but nod along approvingly while noticing how awfully clever you are for noticing the attempt at being funny.
jfengel•31m ago
It's not a great joke, to be sure. But the essence of it is that it's a good database, by relevant but inappropriate standards.
jonathrg•2h ago
You can store any data as long as it doesn't contain any ones
doublerabbit•2h ago
Idea: NaaS. Null as a service.
1970-01-01•2h ago
So if you could somehow get something stuck in /dev/null would it cause a panic or what happens?
idontwantthis•2h ago
This reminds me of how I would write a HashCode implementation on intro CS exams in college:

‘return 5’

keithnz•1h ago
took a while to pipe my multi-terabyte db to /dev/null but now that I have I'm saving a ton of money on storage.
jefftk•1h ago
"The system transitions from one valid state to another" is clearly false: the system only has a single state.
mpyne•10m ago
One of the first state machine you'll ever learn about in undergrad permits transitions from a state back to itself, so I don't see this as a barrier.
layer8•1h ago
Not on Windows.
tech234a•1h ago
This reminds me of the S4 storage service: http://www.supersimplestorageservice.com/

Discussed on HN a few times, but apparently not for a few years now: https://hn.algolia.com/?q=http%3A%2F%2Fwww.supersimplestorag...

johnfn•1h ago
Not only that, it provides all 3 components of CAP!
_joel•1h ago
The Jespsen tests pass quickly too!
bitwize•1h ago
Yes, but does it support sharding? Sharding is the secret ingredient in the web scale sauce.
mjb•1h ago
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? Demand real-time guarantees.

mjb•58m ago
This doesn't work as cleanly for SQL-style transactions where there are tons of RW transactions, sadly.
theandrewbailey•1h ago
/dev/null is the ultimate storageless function. It's like serverless, but for PII, and deployable anywhere!
BiraIgnacio•1h ago
A strong business opportunity right there.
jihadjihad•48m ago
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