frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Pope tells priests to use their brains, not AI, to write homilies

https://www.ewtnnews.com/vatican/pope-leo-xiv-tells-priests-to-use-their-brains-not-ai-to-write-h...
119•josephcsible•1h ago•93 comments

I built Timeframe, our family e-paper dashboard

https://hawksley.org/2026/02/17/timeframe.html
1041•saeedesmaili•13h ago•247 comments

Sub-$200 Lidar Could Reshuffle Auto Sensor Economics

https://spectrum.ieee.org/solid-state-lidar-microvision-adas
32•mhb•3d ago•22 comments

0 A.D. Release 28: Boiorix

https://play0ad.com/new-release-0-a-d-release-28-boiorix/
89•jonbaer•3d ago•25 comments

The JavaScript Oxidation Compiler

https://oxc.rs/
144•modinfo•6h ago•50 comments

Show HN: CIA World Factbook Archive (1990–2025), searchable and exportable

https://cia-factbook-archive.fly.dev/
308•MilkMp•12h ago•77 comments

Loops is a federated, open-source TikTok

https://joinloops.org/
396•Gooblebrai•13h ago•241 comments

Freemediaheckyeah

https://fmhy.net/
193•con•5h ago•49 comments

My journey to the microwave alternate timeline

https://www.lesswrong.com/posts/8m6AM5qtPMjgTkEeD/my-journey-to-the-microwave-alternate-timeline
212•jstanley•4d ago•64 comments

Bitmovin (YC S15) Is Hiring Interns in AI for Summer 2026 in Austria

https://bitmovin.com/careers/8023403002/
1•slederer•1h ago

How to train your program verifier

https://risemsr.github.io/blog/2026-02-16-halleyyoung-a3/
40•matt_d•4d ago•8 comments

Man accidentally gains control of 7k robot vacuums

https://www.popsci.com/technology/robot-vacuum-army/
281•Brajeshwar•18h ago•154 comments

Six Math Essentials

https://terrytao.wordpress.com/2026/02/16/six-math-essentials/
208•digital55•13h ago•44 comments

Google restricting Google AI Pro/Ultra subscribers for using OpenClaw

https://discuss.ai.google.dev/t/account-restricted-without-warning-google-ai-ultra-oauth-via-open...
577•srigi•9h ago•478 comments

Aqua: A CLI message tool for AI agents

https://github.com/quailyquaily/aqua
45•lyricat•6h ago•25 comments

The Musidex: A physical music library for the streaming era

https://hannahilea.com/blog/musidex/
40•zdw•3d ago•12 comments

What I learned designing a barebones UI engine

https://madebymohammed.com/miniui
21•teleforce•4h ago•1 comments

Fix your tools

https://ochagavia.nl/blog/fix-your-tools/
237•vinhnx•16h ago•77 comments

A Bug Is a Bug, but a Patch Is a Policy: The Case for Bootable Containers

https://tuananh.net/2026/02/20/patch-is-policy/
3•tuananh•2d ago•0 comments

How close are we to a vision for 2010?

https://shkspr.mobi/blog/2026/02/how-close-are-we-to-a-vision-for-2010/
20•ColinWright•4h ago•5 comments

Hello Worg, the Org-Mode Community

https://orgmode.org/worg/
122•dargscisyhp•15h ago•40 comments

Using the new bridges of FreeBSD 15

https://blog.feld.me/posts/2026/02/using-new-bridges-freebsd-15/
85•vermaden•10h ago•22 comments

Linuxulator on FreeBSD Feels Like Magic

https://hayzam.com/blog/02-linuxulator-is-awesome/
108•vermaden•14h ago•39 comments

Show HN: Local-First Linux MicroVMs for macOS

https://shuru.run
167•harshdoesdev•14h ago•53 comments

Emulated Windows 3.11 in the Browser

https://pieter.com/
117•jalev•15h ago•58 comments

Rhythms the Compendium: Life aboard an aircraft carrier (2021)

https://thelexicans.wordpress.com/2020/04/05/38223/
17•cwillu•1d ago•1 comments

Show HN: A geometric analysis of Chopin's Prelude No. 4 using 3D topology

https://github.com/jimishol/cholidean-harmony-structure/blob/main/docs/03-case-study-chopin-prelu...
34•jimishol•2d ago•9 comments

Attention Media ≠ Social Networks

https://susam.net/attention-media-vs-social-networks.html
600•susam•20h ago•251 comments

Git's Magic Files

https://nesbitt.io/2026/02/05/git-magic-files.html
146•chmaynard•18h ago•43 comments

Fresh File Explorer – VS Code extension for navigating recent work

https://github.com/FreHu/vscode-fresh-file-explorer
93•frehu•14h ago•28 comments
Open in hackernews

The Scalar Select Anti-Pattern

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

Comments

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