frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Tell HN: Anthropic no longer allowing Claude Code subscriptions to use OpenClaw

199•firloop•2h ago•188 comments

Artemis II crew take “spectacular” image of Earth

https://www.bbc.com/news/articles/ce8jzr423p9o
473•andsoitis•5h ago•193 comments

Show HN: TinyOS – A minimalist RTOS for Cortex-M written in C

https://github.com/cmc-labo/tinyos-rtos
67•hpscript•3h ago•12 comments

iNaturalist

https://www.inaturalist.org/
322•bookofjoe•7h ago•94 comments

Extra usage credit for Claude to celebrate usage bundles launch (Pro, Max, Team)

https://support.claude.com/en/articles/14246053-extra-usage-credit-for-pro-max-and-team-plans
29•angst•1h ago•26 comments

The FAA’s flight restriction for drones is an attempt to criminalize filming ICE

https://www.eff.org/deeplinks/2026/04/faas-temporary-flight-restriction-drones-blatant-attempt-cr...
96•detaro•1h ago•13 comments

The house is a work of art: Frank Lloyd Wright

https://aeon.co/essays/frank-lloyd-wright-as-a-mirror-of-the-american-condition
34•midnightfish•2h ago•8 comments

Fake Fans

https://www.wordsfromeliza.com/p/fake-fans
51•performative•2h ago•6 comments

What changes when you turn a Linux box into a router

https://patrickmccanna.net/7-configuration-changes-that-turn-a-multi-homed-host-into-a-switch-rou...
93•0o_MrPatrick_o0•3d ago•24 comments

Show HN: I built a frontpage for personal blogs

https://text.blogosphere.app/
645•ramkarthikk•12h ago•168 comments

Herbie: Automatically improve imprecise floating point formulas

https://herbie.uwplse.org/doc/latest/tutorial.html
9•summarity•3d ago•0 comments

OpenClaw privilege escalation vulnerability

https://nvd.nist.gov/vuln/detail/CVE-2026-33579
236•kykeonaut•8h ago•155 comments

We replaced RAG with a virtual filesystem for our AI documentation assistant

https://www.mintlify.com/blog/how-we-built-a-virtual-filesystem-for-our-assistant
216•denssumesh•1d ago•96 comments

Charge Robotics (YC S21) Is Hiring Software and Hardware Engineers

https://jobs.ashbyhq.com/charge-robotics
1•banks_h•3h ago

Go on Embedded Systems and WebAssembly

https://tinygo.org/
124•uticus•8h ago•15 comments

Oracle Files H-1B Visa Petitions Amid Mass Layoffs

https://nationaltoday.com/us/tx/austin/news/2026/04/03/oracle-files-thousands-of-h-1b-visa-petiti...
362•kklisura•4h ago•203 comments

How to Write Unmaintainable Code (1999)

https://www.doc.ic.ac.uk/%7Esusan/475/unmain.html
14•downbad_•1h ago•6 comments

Bourbon waste could provide next-gen supercapacitor components

https://spectrum.ieee.org/supercapacitor-electrodes-bourbon-waste
9•prabal97•3d ago•1 comments

Iran strikes leave Amazon availability zones "hard down" in Bahrain and Dubai

https://www.bigtechnology.com/p/iran-strikes-leave-amazon-availability
135•upofadown•3h ago•60 comments

How to Make a Sliding, Self-Locking, and Predator-Proof Chicken Coop Door (2020)

https://www.backyardchickens.com/articles/how-to-make-a-sliding-self-locking-and-predator-proof-c...
69•uticus•6h ago•35 comments

F-15E jet shot down over Iran

https://www.theguardian.com/world/2026/apr/03/us-fighter-jet-confirmed-shot-down-over-iran
362•tjwds•9h ago•829 comments

Age verification on Systemd and Flatpak

https://cybrkyd.com/post/age-verification-on-systemd-and-flatpak/
72•londonanon•5h ago•62 comments

Why are we still using Markdown?

https://bgslabs.org/blog/why-are-we-using-markdown/
52•veqq•7h ago•112 comments

Async Python Is Secretly Deterministic

https://www.dbos.dev/blog/async-python-is-secretly-deterministic
62•KraftyOne•6h ago•27 comments

Run Linux containers on Android, no root required

https://github.com/ExTV/Podroid
14•politelemon•2h ago•6 comments

Build your own Dial-up ISP with a Raspberry Pi

https://www.jeffgeerling.com/blog/2026/build-your-own-dial-up-isp-with-a-raspberry-pi/
105•arjunbajaj•10h ago•23 comments

April 2026 TLDR Setup for Ollama and Gemma 4 26B on a Mac mini

https://gist.github.com/greenstevester/fc49b4e60a4fef9effc79066c1033ae5
294•greenstevester•15h ago•114 comments

A Taxonomy of Interiors

https://misfitsarchitecture.com/2026/03/29/a-taxonomy-of-interiors/
17•downweight•4d ago•0 comments

Show HN: Mtproto.zig – High-performance Telegram proxy with DPI evasion

https://github.com/sleep3r/mtproto.zig
6•slp3r•3h ago•6 comments

SSH certificates: the better SSH experience

https://jpmens.net/2026/04/03/ssh-certificates-the-better-ssh-experience/
210•jandeboevrie•15h ago•91 comments
Open in hackernews

The Scalar Select Anti-Pattern

https://matklad.github.io/2025/05/14/scalar-select-aniti-pattern.html
47•goranmoomin•10mo ago

Comments

castratikron•10mo ago
As long as processing one event does not affect any of the other events in the batch. E.g. events are file IO, and processing one event causes another event's descriptor to get closed before that event can be processed.
wahern•10mo ago
If the close routine on an event source, or the low-level (e.g. epoll) registration, deregistration, and dequeueing logic doesn't know how to keep polling and liveness state consistent between userspace and the kernel, they've got much bigger problems. This looks like Rust code so I would hope the event stream libraries are, e.g., keeping Rc'd file objects and properly managing reference integrity viz-a-viz kernel state before the application caller ever sees the first dequeued event in a cycle. This is a perennial issue with event loop libraries and buggy application code (in every language). One can't just deal with raw file descriptors, call the close syscall directly, etc, hoping to keep state consistent implicitly. There's an unavoidable tie-in needed between application's wrappers around low-level resources and the event loop in use.
taeric•10mo ago
I'm not entirely clear on what the proposal is at the end? Seems that the long term answer as to "which of these implications to pursue" is "all of them?" Simply taking in a batch of instructions doesn't immediately change much? You still have to be able to do each of the other things. And you will still expect some dependencies between batches that could possibly interact in the same ways.

In a sense, this is no different than how your processor is dealing with instructions coming in. You will have some instructions that can be run without waiting on previous ones. You will have some that can complete quickly. You will have some that are stalled on other parts of the system. (I'm sure I could keep wording an instruction to match each of the implications.)

To that end, part of your program has to deal with taking off "whats next" and finding how to prepare that to pass to the execution portion of your program. You can make that only take in batches, but you are almost certainly responsible for how you chunk them moreso than whatever process is sending the instructions to you? Even if you are handed clear batches, it is incumbent on you to batch them as they go off to the rest of the system.

lmz•10mo ago
I guess the proposal is "instead of fetching and acting on one event at a time, consider fetching all available events and look for opportunities to optimize which ones you process (e.g. by prioritization or by skipping certain events if superseded by newer ones)".
taeric•10mo ago
I mean, I got that. But you could as easily say "instead of fetching and acting on one event at a time, fetch and triage/route instructions into applicable queues."

In particular, there is no guarantee that moving to batches changes any of the problems you may have from acting on a single one at a time. To that end, you will have to look into all of the other strategies sooner or later.

Following from that, the problem is not "processMessage" or whatever. The problem is that you haven't broken "processMessage" up into the constituent "receive/triage/process/resolve" loop that you almost certainly will have to end up with.

malkia•10mo ago
in CPU's - pipelining!
jchw•10mo ago
I believe something similar is going on internally in Windows with event queues. It coalesces and prioritizes input events when multiple of them pile up before you're able to pop new events off of the queue. (For some events, e.g. pointer events, you can even go and query frames that were coalesced during input handling.) On the application/API end, it just looks like a "scalar select" loop, but actually it is doing batching behavior for input events!

(On the flip side, if you have a Wayland client that falls behind on processing its event queue, it can crash. On the whole this isn't really that bad but if you have something sending a shit load of events it can cause very bad behavior. This has made me wonder if it's possible, with UNIX domain sockets, to implement some kind of event coalescing on the server-side, to avoid flooding the client with high-precision pointer movement events while it's falling behind. Maybe start coalescing when FIONREAD gets to some high watermark? No idea...)