frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Intel and AMD standardise ChkTag to bring Memory Safety to x86

https://community.intel.com/t5/Blogs/Tech-Innovation/open-intel/ChkTag-x86-Memory-Safety/post/172...
150•ashvardanian•6d ago•62 comments

AWS multiple services outage in us-east-1

https://health.aws.amazon.com/health/status?ts=20251020
1592•kondro•18h ago•1779 comments

Building a message queue with only two UNIX signals

https://leandronsp.com/articles/you-dont-need-kafka-building-a-message-queue-with-only-two-unix-s...
64•SchwKatze•3h ago•36 comments

Claude Code on the web

https://www.anthropic.com/news/claude-code-on-the-web
360•adocomplete•7h ago•219 comments

A laser pointer at 2B FPS [video]

https://www.youtube.com/watch?v=o4TdHrMi6do
206•thunderbong•1d ago•35 comments

My trick for getting consistent classification from LLMs

https://verdik.substack.com/p/how-to-get-consistent-classification
101•frenchmajesty•1w ago•24 comments

BERT is just a single text diffusion step

https://nathan.rs/posts/roberta-diffusion/
346•nathan-barry•11h ago•83 comments

Production RAG: what I learned from processing 5M+ documents

https://blog.abdellatif.io/production-rag-processing-5m-documents
296•tifa2up•9h ago•82 comments

Alibaba Cloud says it cut Nvidia AI GPU use by 82% with new pooling system

https://www.tomshardware.com/tech-industry/semiconductors/alibaba-says-new-pooling-system-cut-nvi...
335•hd4•13h ago•230 comments

Postman which I thought worked locally on my computer, is down

https://status.postman.com
208•helloguillecl•9h ago•93 comments

Show HN: I created a cross-platform GUI for the JJ VCS (Git compatible)

https://judojj.com
65•bitpatch•10h ago•8 comments

Why UUIDs won't protect your secrets

https://alexsci.com/blog/uuids-and-idor/
15•8organicbits•2h ago•4 comments

Today is when the Amazon brain drain sent AWS down the spout

https://www.theregister.com/2025/10/20/aws_outage_amazon_brain_drain_corey_quinn/
321•raw_anon_1111•4h ago•131 comments

I made a small LED panel

https://www.stavros.io/posts/really-small-led-panel/
11•Brajeshwar•1w ago•1 comments

x86-64 Playground – An online assembly editor and GDB-like debugger

https://x64.halb.it/
107•modinfo•7h ago•8 comments

Code from MIT's 1986 SICP video lectures

https://github.com/felipap/sicp-code
86•felipap•3d ago•6 comments

The scariest "user support" email I've received

https://www.devas.life/the-scariest-user-support-email-ive-ever-received/
154•hervic•5d ago•117 comments

TernFS – an exabyte scale, multi-region distributed filesystem

https://www.xtxmarkets.com/tech/2025-ternfs/#posix-shaped
92•kirlev•7h ago•13 comments

Art Must Act

https://aeon.co/essays/harold-rosenberg-exhorted-artists-to-take-action-and-resist-cliche
23•tintinnabula•4d ago•0 comments

How to stop Linux threads cleanly

https://mazzo.li/posts/stopping-linux-threads.html
168•signa11•5d ago•64 comments

Optical diffraction patterns made with a MOPA laser engraving machine [video]

https://www.youtube.com/watch?v=RsGHr7dXLuI
111•emsign•6d ago•20 comments

Old Computer Challenge – Modern Web for the ZX Spectrum

https://0x00.cl/blog/2025/occ-2025/
8•0x00cl•1h ago•0 comments

Atomic-Scale Protein Filters

https://press.asimov.com/articles/filters
12•mailyk•5d ago•0 comments

Old Is Gold: Optimizing Single-Threaded Applications with Exgen-Malloc

https://arxiv.org/abs/2510.10219
6•todsacerdoti•5d ago•2 comments

Space Elevator

https://neal.fun/space-elevator/
1478•kaonwarb•20h ago•336 comments

Argentina Could Be a Superpower

https://unchartedterritories.tomaspueyo.com/p/argentina-could-be-a-superpower
8•paulpauper•28m ago•1 comments

Docker Systems Status: Full Service Disruption

https://www.dockerstatus.com/pages/incident/533c6539221ae15e3f000031/68f5e1c741c825463df7486c
327•l2dy•18h ago•124 comments

The longest baseball game took 33 innings to win

https://www.mlb.com/news/the-longest-professional-baseball-game-ever-played
40•mooreds•5d ago•57 comments

Servo v0.0.1

https://github.com/servo/servo
466•undeveloper•12h ago•141 comments

DeepSeek OCR

https://github.com/deepseek-ai/DeepSeek-OCR
864•pierre•19h ago•220 comments
Open in hackernews

Building a message queue with only two UNIX signals

https://leandronsp.com/articles/you-dont-need-kafka-building-a-message-queue-with-only-two-unix-signals
60•SchwKatze•3h ago

Comments

bradleybuda•2h ago
This is awesome. Does POSIX guarantee the order of signal delivery? And I'm dying to see what the bandwidth / throughput of this channel is...
bradleybuda•2h ago
Answering both of my questions, from the post:

  sleep 0.001 # Delay to allow the receiver to process the signal
toast0•2h ago
I don't know if POSIX has a position on signal order. But I'm pretty sure it allows signals to be coallesced... if a process is sent the same signal several times before the handler is invoked, it's in spec to only invoke it once.
cannonpalms•1h ago
For standard signals--no, but for real-time signals, yes. The latter are still a portability issue, though.
o11c•1h ago
Real-time signals have guaranteed order: first by number (lowest first, i.e. `SIGRTMIN`), then by the order in which they are sent.

Signals are generally the slowest IPC method, unless you're doing something stupid with a different method.

president_zippy•2h ago
Glad you had fun doing this!

If you choose to take this experiment further and go deeper, you will discover something even more fun: reentrancy.

... That, and how software interrupts work at the kernel level. Happy hunting!

EDIT: In anticipation of an eventual response, I just realized how condescending this sounds at first glance. I meant it in good faith.

gleenn•2h ago
Fun article but the title is definitely overstating the huge amount of functionality lost if you replace Kafka. Immediately on my mind would be durability and broadcasting.
dbacar•2h ago
Such titles should be flagged and banned to protect the innocent.
briandw•2h ago
You have problem with too much traffic that your server can't handle. You add a queue. Now you have 2 problems :)
foofoo12•1h ago
This has nothing to do with Kafka and it's not not really a functioning message queue except for theoretically speaking.

The article is fine, but call it what it is: abusing the Unix signal system for shit and giggles. Nothing wrong with that.

nijave•1h ago
Obligatory: Kafka is a log, not a message queue (although it turns out there's a lot of overlap)
ape4•1h ago
I hope this is a joke / hack.

A named pipe (like Postfix sendmail uses) seems slightly more sane.

kryword•1h ago
I liked a lot your article, hacking with Unix signals is impressive, and was faster than I expected. I would have expected signals to be slower.
cortesoft•1h ago
Wow, I didn't know! I will work on replacing my Kafka cluster handling 10 million msg/sec with this right away!
ok123456•1h ago
Why use signals when POSIX defines a complete message queue interface: https://www.opensourceforu.com/2023/06/a-deep-dive-into-posi...
gldrk•1h ago
UNIX signals *do not* queue. If two or more signals with the same number are sent faster than the receiving thread handles them (due to the signal being blocked and/or the thread not being scheduled), all but the last will be lost irrevocably. There is no mechanism to prevent this.

https://ldpreload.com/blog/signalfd-is-useless

jmalicki•1h ago
RT signals do get queued... that is one of the major differences (and yes, the essay is not using them, so your point stands as it is written, but using RT signals is a mechanism to prevent it).

https://davmac.org/davpage/linux/rtsignals.html

nakamoto_damacy•1h ago
Naively asking: what prevents RT Unix/Linux from being used in place of non-RT mainstream versions? Seems like a superset.
jmalicki•56m ago
RT signals are an extended API of POSIX you don't need actual RT Linux to use them.
RedShift1•21m ago
That's easily solved, just create a queue for your signals.
donatj•1h ago
We run a very simple filesystem based queue that processes around 1 billion events a day. Makes use of XFS for it's better handling of large numbers of files.

Corporate tried to push us to replace it with SQS and it could not keep up / costs with through the roof

RedShift1•57m ago
How does it work? Can you have multiple workers on the same payload? Do you archive the events afterwards?
otterley•1h ago
Before y'all go nuts with the criticisms...

"Yes, we built a message broker using nothing but UNIX signals and a bit of Ruby magic. Sure, it’s not production-ready, and you definitely shouldn’t use this in your next startup (please don’t), but that was never the point.

"The real takeaway here isn’t the broker itself: it’s understanding how the fundamentals work. We explored binary operations, UNIX signals, and IPC in a hands-on way that most people never bother with.

"We took something “useless” and made it work, just for fun. So next time someone asks you about message brokers, you can casually mention that you once built (or saw) one using just two signals. And if they look at you weird, well, that’s their problem. Now go build something equally useless and amazing. The world needs more hackers who experiment just for the fun of it."

SchwKatze•1h ago
Unfortunately I bet that 90% won't even reach at that part and just ragebait based on the title. The golden rule of modern age is always do the disclaimer as soon as possible.
cortesoft•1h ago
Or you could skip the rage bait title entirely?
SchwKatze•52m ago
Maybe, but I know Leandro, it was more a joke than anything else. People just don't chill, the post is cool
bawolff•25m ago
"Its just a joke, bro" is always a terrible defense for rude behaviour.
cortesoft•21m ago
That's fine, but then you shouldn't be surprised and complain when people respond to the rage bait.
kalterdev•26m ago
The later the disclaimer, the funnier.
drob518•1h ago
Click bait
nialv7•56m ago
you can literally just attach data[1] to signals... you don't need to do this.

[1]: https://man7.org/linux/man-pages/man3/sigqueue.3.html

lifthrasiir•56m ago
Initially I assumed that the author was about to use something like shared memory for bulk transfer. Boy I was totally wrong...
bawolff•28m ago
> And if you came here just because of the clickbait title, I apologize and invite you to keep reading. It’ll be fun, I promise.

I kind of hate this trend of making clickbait and then apologizing for it. I think its more annoying then just making clickbait.

Is it really that hard to just accurately title your blog posts?