frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: I built Divvy to split restaurant bills from a photo

https://divvyai.app/
1•pieterdy•57s ago•0 comments

Hot Reloading in Rust? Subsecond and Dioxus to the Rescue

https://codethoughts.io/posts/2026-02-07-rust-hot-reloading/
1•Tehnix•1m ago•0 comments

Skim – vibe review your PRs

https://github.com/Haizzz/skim
1•haizzz•2m ago•1 comments

Show HN: Open-source AI assistant for interview reasoning

https://github.com/evinjohnn/natively-cluely-ai-assistant
1•Nive11•3m ago•1 comments

Tech Edge: A Living Playbook for America's Technology Long Game

https://csis-website-prod.s3.amazonaws.com/s3fs-public/2026-01/260120_EST_Tech_Edge_0.pdf?Version...
1•hunglee2•6m ago•0 comments

Golden Cross vs. Death Cross: Crypto Trading Guide

https://chartscout.io/golden-cross-vs-death-cross-crypto-trading-guide
1•chartscout•9m ago•0 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
2•AlexeyBrin•12m ago•0 comments

What the longevity experts don't tell you

https://machielreyneke.com/blog/longevity-lessons/
1•machielrey•13m ago•1 comments

Monzo wrongly denied refunds to fraud and scam victims

https://www.theguardian.com/money/2026/feb/07/monzo-natwest-hsbc-refunds-fraud-scam-fos-ombudsman
3•tablets•18m ago•0 comments

They were drawn to Korea with dreams of K-pop stardom – but then let down

https://www.bbc.com/news/articles/cvgnq9rwyqno
2•breve•20m ago•0 comments

Show HN: AI-Powered Merchant Intelligence

https://nodee.co
1•jjkirsch•23m ago•0 comments

Bash parallel tasks and error handling

https://github.com/themattrix/bash-concurrent
2•pastage•23m ago•0 comments

Let's compile Quake like it's 1997

https://fabiensanglard.net/compile_like_1997/index.html
2•billiob•23m ago•0 comments

Reverse Engineering Medium.com's Editor: How Copy, Paste, and Images Work

https://app.writtte.com/read/gP0H6W5
2•birdculture•29m ago•0 comments

Go 1.22, SQLite, and Next.js: The "Boring" Back End

https://mohammedeabdelaziz.github.io/articles/go-next-pt-2
1•mohammede•35m ago•0 comments

Laibach the Whistleblowers [video]

https://www.youtube.com/watch?v=c6Mx2mxpaCY
1•KnuthIsGod•36m ago•1 comments

Slop News - HN front page right now as AI slop

https://slop-news.pages.dev/slop-news
1•keepamovin•40m ago•1 comments

Economists vs. Technologists on AI

https://ideasindevelopment.substack.com/p/economists-vs-technologists-on-ai
1•econlmics•43m ago•0 comments

Life at the Edge

https://asadk.com/p/edge
3•tosh•48m ago•0 comments

RISC-V Vector Primer

https://github.com/simplex-micro/riscv-vector-primer/blob/main/index.md
4•oxxoxoxooo•52m ago•1 comments

Show HN: Invoxo – Invoicing with automatic EU VAT for cross-border services

2•InvoxoEU•53m ago•0 comments

A Tale of Two Standards, POSIX and Win32 (2005)

https://www.samba.org/samba/news/articles/low_point/tale_two_stds_os2.html
3•goranmoomin•56m ago•0 comments

Ask HN: Is the Downfall of SaaS Started?

3•throwaw12•57m ago•0 comments

Flirt: The Native Backend

https://blog.buenzli.dev/flirt-native-backend/
2•senekor•59m ago•0 comments

OpenAI's Latest Platform Targets Enterprise Customers

https://aibusiness.com/agentic-ai/openai-s-latest-platform-targets-enterprise-customers
1•myk-e•1h ago•0 comments

Goldman Sachs taps Anthropic's Claude to automate accounting, compliance roles

https://www.cnbc.com/2026/02/06/anthropic-goldman-sachs-ai-model-accounting.html
4•myk-e•1h ago•5 comments

Ai.com bought by Crypto.com founder for $70M in biggest-ever website name deal

https://www.ft.com/content/83488628-8dfd-4060-a7b0-71b1bb012785
1•1vuio0pswjnm7•1h ago•1 comments

Big Tech's AI Push Is Costing More Than the Moon Landing

https://www.wsj.com/tech/ai/ai-spending-tech-companies-compared-02b90046
5•1vuio0pswjnm7•1h ago•0 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
4•1vuio0pswjnm7•1h ago•0 comments

Suno, AI Music, and the Bad Future [video]

https://www.youtube.com/watch?v=U8dcFhF0Dlk
1•askl•1h ago•2 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
137•SchwKatze•3mo ago

Comments

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

  sleep 0.001 # Delay to allow the receiver to process the signal
toast0•3mo 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•3mo ago
For standard signals--no, but for real-time signals, yes. The latter are still a portability issue, though.
o11c•3mo 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•3mo 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•3mo 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•3mo ago
Such titles should be flagged and banned to protect the innocent.
briandw•3mo ago
You have problem with too much traffic that your server can't handle. You add a queue. Now you have 2 problems :)
foofoo12•3mo 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•3mo ago
Obligatory: Kafka is a log, not a message queue (although it turns out there's a lot of overlap)
ape4•3mo ago
I hope this is a joke / hack.

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

liqilin1567•3mo ago
Yeah, there are a lot of more elegant, simple and reliable ways to do that.
kryword•3mo 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•3mo ago
Wow, I didn't know! I will work on replacing my Kafka cluster handling 10 million msg/sec with this right away!
ok123456•3mo ago
Why use signals when POSIX defines a complete message queue interface: https://www.opensourceforu.com/2023/06/a-deep-dive-into-posi...
gldrk•3mo 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•3mo 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•3mo ago
Naively asking: what prevents RT Unix/Linux from being used in place of non-RT mainstream versions? Seems like a superset.
jmalicki•3mo ago
RT signals are an extended API of POSIX you don't need actual RT Linux to use them.
kscarlet•3mo ago
Are they guaranteed to be delivered in order?
jmalicki•3mo ago
Yes as long as you use sigqueue with SA_SIGINFO
RedShift1•3mo ago
That's easily solved, just create a queue for your signals.
gldrk•3mo ago
Come to think of it, I think the original idea can be salvaged with an acknowledgment signal. Send bit, wait for acknowledgment, send next bit or retransmit accordingly. Actually you would need a handshake before each bit.
johnisgood•3mo ago
It is waiting for NULL! :)
donatj•3mo 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•3mo ago
How does it work? Can you have multiple workers on the same payload? Do you archive the events afterwards?
otterley•3mo 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•3mo 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•3mo ago
Or you could skip the rage bait title entirely?
SchwKatze•3mo ago
Maybe, but I know Leandro, it was more a joke than anything else. People just don't chill, the post is cool
bawolff•3mo ago
"Its just a joke, bro" is always a terrible defense for rude behaviour.
SchwKatze•3mo ago
I'm truly curious to know why would this be rude, seriously. Maybe it's a cultural mismatch.

For me ragebait and rudeness are things like: "X sucks, use Y", "If you aren't doing W you're losing money", etc.

He never said that Kafka sucks, nor anything related, obviously you can't replace kafka with only two signals. I'm asking with all politeness as possible, I just wanna understand what other people consider improper behavior

jamiejquinn•3mo ago
Nah, I wouldn't say this is rude or even a ragebait title. It's completely accurate and to the point...
cortesoft•3mo ago
That's fine, but then you shouldn't be surprised and complain when people respond to the rage bait.
dataflow•3mo ago
What would a better title be?
cortesoft•3mo ago
The one they changed the HN title to be… basically remove the “You don’t need Kafka” bit.
dataflow•3mo ago
Oh I never sad the original, that's why I was confused. Thanks.
kalterdev•3mo ago
The later the disclaimer, the funnier.
drob518•3mo ago
Click bait
nialv7•3mo 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•3mo ago
Initially I assumed that the author was about to use something like shared memory for bulk transfer. Boy I was totally wrong...
bawolff•3mo 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?

johnisgood•3mo ago
I read the article. I think it is accurate enough.
m-hodges•3mo ago
Attention is the new oil.
bcrl•3mo ago
This is the kind of article that deserves to be posted on April 1st, preferably with an accompanying RFC published at the IETF.
hshdhdhehd•3mo ago
Can those two Unix signals run Doom?
sheepscreek•3mo ago
I challenged ChatGPT the other day to design a bidirectional process interop in *nix and this was one of the suggestions. Until then I had only ever thought of pipes as unidirectional. I still thought it was bonkers. This looks like a neat prototype though.
m-hodges•3mo ago
This was a really fun article and many in the comments seem to have forgotten you're allowed to have fun with the computer.
hajimuz•3mo ago
Great article for learning UNIX Signal
florians•3mo ago
I enjoyed reading the article and found it interesting. Had no prior interest in the topic but it was an entertaining read. Last time I used binary and calculated with it was in high school. Didn’t know about UNIX signals and now I understand how processes are terminating.
up2isomorphism•3mo ago
The author doesn’t know why people use things like Kafka in the first place
esseph•3mo ago
One of my favorite things that happens on the internet is when it is clear as glass when someone didn't read the article.

You nailed it!