frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

QBittorrent breaks out of sandbox to commit crimes

https://beige.party/@intransitivelie/117057396732763183
363•mraniki•3h ago•61 comments

Intellectual Fly Is Open (2025)

https://bcantrill.dtrace.org/2025/12/05/your-intellectual-fly-is-open/
281•cyb0rg0•4h ago•155 comments

Isar Aerospace reaches orbit and deploys payloads on second flight

https://isaraerospace.com/press/history-for-european-spaceflight-isar-aerospace-reaches-orbit-and...
412•mpweiher•9h ago•121 comments

A/I shuts down – Stay human

https://keepitfree.ai/announcements/a/i-shuts-down-stay-human/
243•captainmuon•2h ago•130 comments

Doomscrolling Ourselves to Death

https://www.edwest.co.uk/p/doomscrolling-ourselves-to-death
213•shubhamjain•4h ago•140 comments

Alberta (Canada) slaps punitive tax on solar panels

https://albertapolitics.ca/2026/09/ucp-slaps-punitive-tax-on-solar-panels-opening-new-front-in-it...
33•cmrdporcupine•1h ago•32 comments

Is There I/O After Death? What Happens to Io_uring When a Process Dies

https://blog.ydb.tech/is-there-i-o-after-death-what-happens-to-io-uring-when-a-process-dies-92c65...
19•porridgeraisin•3d ago•1 comments

What is Nueralese and Why is it Bad

https://www.lesswrong.com/posts/RCYF2rW8wgusidZk7/what-is-neuralese-and-why-is-it-bad
43•tristanMatthias•2d ago•36 comments

The many mysteries and lessons of the Bayeux tapestry

https://economist.com/interactive/culture/2026/09/03/the-many-mysteries-and-lessons-of-the-bayeux...
33•andsoitis•2h ago•5 comments

M-DISC – DVD/Blu-ray compatible discs that may last up to 1000 years

https://en.wikipedia.org/wiki/M-DISC
128•gurjeet•4d ago•49 comments

Show HN: Kadō – open-source habit tracker, with non-binary habit score, for iOS

https://github.com/scastiel/kado
31•scastiel•2h ago•9 comments

Asahi Linux Now Officially Supports Apple M3 Macs – With Caveats

https://www.phoronix.com/news/Asahi-Linux-Official-M3
111•mdp2021•2h ago•56 comments

NetBSD 9.5 released and EOL for NetBSD-9

https://blog.netbsd.org/tnf/entry/netbsd_9_5_released_and
8•jaypatelani•52m ago•0 comments

Research carried out using NetBSD

https://www.netbsd.org/gallery/research.html
5•Bluestein•26m ago•0 comments

I Feel about AI

https://beza1e1.tuxen.de/ai_feelings.html
117•qznc•1h ago•113 comments

Cultivating Trust

https://kaeruct.github.io/posts/2026/09/06/conquering-entropy-cultivating-trust/
3•kaeruct•34m ago•1 comments

Cloud in a Bottle: making self-hosting accessible to everyone

https://cloudinabottle.org/blog/launch-post
539•zplizzi•16h ago•267 comments

The revolt of the reader

https://bcantrill.dtrace.org/2026/09/05/the-revolt-of-the-reader/
499•chmaynard•18h ago•238 comments

The pencil case model of creativity

https://dub.uu.nl/en/column/pencil-case-model-creativity
33•jruohonen•4h ago•11 comments

I'm teaching an introductory 12 week course on Quantum Oracle Engineering

https://shukla.io/quantum-oracle-engineering/
22•BinRoo•3h ago•10 comments

IBM Quantum Nighthawk R2

https://www.ibm.com/quantum/blog/nighthawk-r2
54•fuglede_•3d ago•31 comments

Music Theory for Programmers

https://runjs.app/blog/music-theory-for-programmers
270•birdculture•3d ago•172 comments

Household Laser Cuts

https://cceckman.com/writing/household-laser-cuts/
33•evakhoury•1d ago•7 comments

When did French fries become the standard side to serve with a hamburger?

https://www.reddit.com/r/AskHistorians/comments/39v00a/comment/cs72af6/
7•thunderbong•29m ago•0 comments

Ganon's Mysterious Origins (Revisited)

https://www.thrillingtalesofoldvideogames.com/blog/ganon-name-origin-kamen-rider
9•tobr•20h ago•1 comments

The ColorChecker, photography's most important 24 squares, turns 50

https://www.dpreview.com/news/the-colorchecker-photographys-most-important-24-squares-turns-50/
108•sohkamyung•4d ago•19 comments

AI, Tools and Transformation

https://www.ben-evans.com/benedictevans/2026/9/3/ai-tools-and-transformation
125•firexcy•14h ago•56 comments

Discovery of a new OpenAI agent message board

https://collusion.wiki/
2241•moultano•2d ago•1567 comments

Fileregister: Tagging and reference layer for your files, in plain text

https://github.com/rhsev/fileregister
15•ingve•5d ago•2 comments

AMD Based FreeBSD Desktop Reloaded

https://vermaden.wordpress.com/2026/09/06/amd-based-freebsd-desktop-reloaded/
96•vermaden•14h ago•12 comments
Open in hackernews

The Scalar Select Anti-Pattern

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

Comments

castratikron•1y 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•1y 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•1y 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•1y 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•1y 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•1y ago
in CPU's - pipelining!
jchw•1y 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...)