frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Trump Official Warns China Against Penalizing Companies Investing in US

https://www.bloomberg.com/news/articles/2025-10-20/trump-official-warns-china-against-penalizing-...
1•zerosizedweasle•35s ago•1 comments

Anyone here work on Amazon Kindle iOS app?

1•stmw•2m ago•0 comments

Scalability and Load Testing for Valorant (2020)

https://technology.riotgames.com/news/scalability-and-load-testing-valorant
1•prydt•3m ago•0 comments

Trump claims 'unquestioned power' in vow to send troops to San Francisco

https://www.theguardian.com/us-news/2025/oct/20/trump-san-francisco-troops
3•mitchbob•7m ago•0 comments

Claude Code for web–a new asynchronous coding agent from Anthropic

https://simonwillison.net/2025/Oct/20/claude-code-for-web/
1•vismit2000•9m ago•0 comments

What GPU pricing can tell us about how the AI bubble will pop

https://www.ft.com/content/d49707ae-5d6b-473e-9e2b-487d318e6fe9
2•kdsudac•12m ago•0 comments

Show HN: One-click publishing for Godot games (Linux, Windows, macOS)

https://thegates.io/export-plugin
1•Mup_TIpekpaceH•13m ago•0 comments

What is Aukus, the submarine deal between Australia, the UK and US?

https://www.bbc.com/news/articles/cgr589k5yleo
1•defrost•16m ago•0 comments

Why Large Language Models Won't Replace Engineers Anytime Soon

https://fastcode.io/2025/10/20/why-large-language-models-wont-replace-engineers-anytime-soon/
1•birdculture•17m ago•0 comments

AWS Clone – Like Cloud, but Honest

https://www.awsclone.com/
1•Handy-Man•20m ago•0 comments

Wall wart and battery = small UPS: Good idea or not?

https://www.edn.com/wall-wart-battery-small-ups-good-idea-or-not/
2•georgecmu•23m ago•1 comments

How to Fix Any Bug

https://overreacted.io/how-to-fix-any-bug/
2•danabramov•24m ago•0 comments

RAII to remedy a defect where not all code paths performed required exit actions

https://devblogs.microsoft.com/oldnewthing/20251016-00/?p=111691
1•ibobev•29m ago•0 comments

Turning trig identities into Fibonacci identities

https://www.johndcook.com/blog/2025/10/17/trig-fibonacci/
1•ibobev•30m ago•0 comments

PDS MOOver now supports automated backups and account recovery

https://retrobailey.leaflet.pub/3m3ntnjv3hc2x
2•Kye•30m ago•0 comments

Ask HN: What did you learn from AWS outages?

1•Brysonbw•36m ago•0 comments

Show HN: TheFairDraw a verifiable, client side random picker

1•thefairdraw•41m ago•0 comments

Trump DOE confirms it's canceling over $700M in manufacturing grants

https://techcrunch.com/2025/10/20/trump-doe-confirms-its-canceling-over-700m-in-manufacturing-gra...
5•pseudolus•41m ago•0 comments

Speculations on arenas and non-trivial destructors

https://nullprogram.com/blog/2025/10/16/
2•ashvardanian•42m ago•0 comments

The Gatekeeper Driving Doctors from Medicine

https://www.wsj.com/opinion/the-gatekeeper-driving-doctors-from-medicine-57597313
2•bookofjoe•42m ago•1 comments

Glimpses of the Future: Speed and Swarms

https://www.dbreunig.com/2025/10/20/speeds-and-swarms.html
1•vinhnx•44m ago•0 comments

Turn off Cursor, turn on your mind

https://allvpv.org/turn-off-cursor/
1•todsacerdoti•44m ago•0 comments

SorterHunter: An evolutionary approach to find small sorting networks

https://github.com/bertdobbelaere/SorterHunter
1•ashvardanian•45m ago•0 comments

I built a Symbolic Python Interpreter to make Python faster

https://chalk.ai/blog/symbolic-python-interpreter
2•noleary•45m ago•0 comments

Continent of Stability

https://en.wikipedia.org/wiki/Continent_of_stability
1•JumpCrisscross•45m ago•0 comments

How Long Do GPUs Last Anyway?

https://appliedconjectures.substack.com/p/how-long-do-gpus-last-anyway-a-look
1•vinhnx•48m ago•0 comments

Something from "space" may have just struck a United Airlines flight over Utah

https://arstechnica.com/space/2025/10/something-from-space-may-have-just-struck-a-united-airlines...
3•nonfamous•1h ago•2 comments

Tech Workers versus Enshittification - Cory Doctorow

https://cacm.acm.org/opinion/tech-workers-versus-enshittification/
8•pseudolus•1h ago•0 comments

Why gold and stocks are partying together

https://www.ft.com/content/f54be5f0-7d6b-43b5-8aad-a4b9d7e3cae5
3•zerosizedweasle•1h ago•2 comments

Apple Will Let You Control How Liquid Glass Looks – Lifehacker

https://lifehacker.com/tech/apple-will-finally-let-you-control-how-liquid-glass-looks?test_uuid=0...
1•samtrack2019•1h ago•0 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
49•SchwKatze•2h ago

Comments

bradleybuda•1h 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•1h ago
Answering both of my questions, from the post:

  sleep 0.001 # Delay to allow the receiver to process the signal
toast0•1h 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•1h 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•1h 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•1h ago
Such titles should be flagged and banned to protect the innocent.
briandw•1h 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•59m 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•38m ago
Naively asking: what prevents RT Unix/Linux from being used in place of non-RT mainstream versions? Seems like a superset.
jmalicki•22m ago
RT signals are an extended API of POSIX you don't need actual RT Linux to use them.
donatj•57m 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•23m ago
How does it work? Can you have multiple workers on the same payload? Do you archive the events afterwards?
otterley•56m 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•38m 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•25m ago
Or you could skip the rage bait title entirely?
SchwKatze•18m ago
Maybe, but I know Leandro, it was more a joke than anything else. People just don't chill, the post is cool
drob518•54m ago
Click bait
nialv7•22m 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•21m ago
Initially I assumed that the author was about to use something like shared memory for bulk transfer. Boy I was totally wrong...