frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Playa Phone

https://playaphone.com/
169•cutoff•2h ago•72 comments

OpenShot 4.0: Record, Edit, and Color Like Never Before

https://www.openshot.org/blog/2026/08/30/openshot-40-record-edit-color-like-never-before/
407•metrofun•6h ago•95 comments

Apache Iggy, a message streaming platform in Rust, graduates to an Apache TLP

https://iggy.apache.org/blogs/2026/08/24/apache-iggy-top-level-project-tlp-graduation/
59•spetz•1h ago•13 comments

ravynOS: Pre-alpha open-source OS based on Darwin, FreeBSD, Apple open-source

https://ravynos.com/
13•Bluestein•33m ago•3 comments

ChatGPT Work Tool and Skill Reference

https://codex-tool-reference.simonw.chatgpt.site/
93•ijidak•2h ago•43 comments

Marx, Keynes, and A.I

https://www.unpopularfront.news/p/marx-keynes-and-ai
28•speckx•2h ago•12 comments

Culture Clash

https://aeon.co/essays/at-the-heart-of-the-snow-leavis-two-cultures-clash
31•Hooke•2h ago•12 comments

C++26: Standard Library Hardening Experiments

https://www.cppstories.com/2026/hardening-experiments/
36•ibobev•2h ago•21 comments

Mental Health Workers Say Algorithmic Triage Is Hurting Patients

https://capitalandmain.com/mental-health-workers-say-algorithmic-triage-is-hurting-patients
9•hn_acker•14m ago•0 comments

Launch HN: Almanac (YC S26) – AI that knows your company

https://usealmanac.com/
12•kushagrchitkar•1h ago•10 comments

Launch HN: Hebbian Robotics (YC S26) – Build scalable robotics data pipelines

https://github.com/Hebbian-Robotics/hflow
16•kstonekuan•1h ago•4 comments

Show HN: Linux server management over SSH – written in Rust and Tauri

https://serverbox.stupidlabs.lol/
40•freakynit•3h ago•35 comments

Breaking Claude Code Opus 5 Auto Mode

https://embracethered.com/blog/posts/2026/breaking-claude-code-opus-5-and-automode/
284•Recursing•9h ago•91 comments

DNS Abuse and Criminal Infrastructure

https://labs.ripe.net/author/andrew_campling/dns-abuse-and-criminal-infrastructure-beyond-definit...
35•jruohonen•1d ago•20 comments

Agentic Trust Controls

https://trustcontrols.ai/
17•mooreds•1h ago•3 comments

Navigation App for People with Blindness and Low Vision

https://seas.harvard.edu/news/smartphone-navigation-app-people-blindness-and-low-vision
14•geox•4d ago•5 comments

ReactOS 0.4.16

https://reactos.org/project-news/reactos-0416-released/
120•marttt•8h ago•29 comments

Agents still can't automate Excel

https://www.orcaset.com/blog/agents-still-can-t-automate-excel
5•jrdnh•4d ago•1 comments

Doubling of Kobo's U.S. sales in both 2025 and 2026, 70% US female customer base

https://www.reddit.com/r/kobo/comments/1w20azv/the_doubling_of_kobos_us_sales_in_both_2025_and/
58•seam_carver•1h ago•43 comments

uv: Deduplicate all files in the wheel cache

https://github.com/astral-sh/uv/pull/21327
168•tosh•10h ago•82 comments

Malleable software = solid bases and custom code

https://www.mdubakov.me/malleable-software-solid-bases-custom-code/
68•tablet•6h ago•23 comments

The Art of Chip-8

http://beyondloom.com/blog/artofchip8.html
36•surprisetalk•1w ago•5 comments

My hobby of building miniatures and taking pretty pictures

https://sandyuraz.com/blogs/tiny-cafe/
319•thecsw•3d ago•55 comments

Agent Memory as a File Format

https://calpaterson.com/memoryfields.html
118•ingve•5h ago•58 comments

Study: Blue light impairs the eye's ability to distinguish fine detail most

https://research.uga.edu/news/blue-light-has-a-surprising-effect-on-your-eyes-study-finds/
71•giuliomagnifico•8h ago•41 comments

Hit anything. Discover how it rings

https://fraware.github.io/EVERYTHING-RINGS/
32•MADEinPARIS•4d ago•20 comments

“I just chose words carefully”

https://unsung.aresluna.org/i-just-chose-words-carefully/
1113•zdw•18h ago•313 comments

State of the Map 2026: OpenStreetMap conference

https://povesham.wordpress.com/2026/08/30/state-of-the-map-2026-openstreetmap-conference/
48•altilunium•7h ago•4 comments

P99 0 ms* autocomplete for 240M domain names

https://ruurtjan.com/articles/p99-0ms-autocomplete-for-240-million-domain-names
200•dbalatero•13h ago•74 comments

Transfer files over an Ethernet patch cable

https://maurycyz.com/misc/etherfiles/
127•jllyhill•13h ago•138 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...)