frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Claude discovers a novel enzyme system with CRISPR-like repeats

https://www.anthropic.com/news/claude-discovers-novel-enzyme-system
410•raahelb•5h ago•446 comments

Linux support is coming to Snapdragon X2 Series

https://www.qualcomm.com/news/onq/2026/09/snapdragon-summit-agentic-ai-pcs-linux
30•aaronday•45m ago•10 comments

VSCode's SSH Agent Is Bananas (2025)

https://fly.io/blog/vscode-ssh-wtf/
79•Rapzid•2h ago•59 comments

We just shipped support for the ugliest part of HTTP: Vary – Cloudflare Blog

https://blog.cloudflare.com/vary-support/
19•thisisfatih•1h ago•2 comments

Fixing the Portobello Police Station Clock

https://pointinthecloud.com/2026-04-11-211700.html
363•avidly•8h ago•84 comments

LensVLM: Compressing long context as images, expanding only relevant pages

https://huggingface.co/apple/LensVLM-9B
34•victormustar•4h ago•2 comments

Italian parliament votes for return to nuclear energy

https://apnews.com/article/italy-nuclear-chernobyl-4891b6b7c7791ae84db6b0bf0f7cf567
500•geox•6h ago•323 comments

The mystery animal on an ancient god's head

https://signoregalilei.com/2026/09/13/the-mystery-animal-on-an-ancient-gods-head/
32•surprisetalk•1d ago•9 comments

A brief history of Windows scroll bar shortcuts

https://devblogs.microsoft.com/oldnewthing/20260922-00/?p=112719/
98•tybulewicz•5h ago•40 comments

The Curious Power of Punctuation

https://www.newyorker.com/magazine/2026/09/28/on-the-mark-louis-menand-book-review
13•pepys•1d ago•2 comments

Mercury 2.5 LLM hits 770 tokens per second

https://artificialanalysis.ai/models/mercury-2-5
7•Retro_Dev•1h ago•4 comments

Jev in 25 Lines of Python

https://www.nobodywho.ai/posts/jev-in-25-lines/
612•bashbjorn•15h ago•194 comments

Gemini 3.8 text-to-speech

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-8-text-to-speech/
232•swolpers•7h ago•116 comments

Radicle: Disclosure of Vulnerability in the Network Protocol

https://radicle.dev/2026/09/23/disclosure-of-vulnerability-in-network-protocol
110•lostmsu•8h ago•43 comments

Tokens too cheap to meter

https://jyn.dev/tokens-too-cheap-to-meter/
217•teoruiz•14h ago•174 comments

Show HN: An atlas of system designs with interactive architecture diagrams

https://atlas-sysdes.vercel.app/
28•mertkahyaoglu•1d ago•17 comments

Making Tailscale Faster

https://tailscale.com/blog/making-tailscale-faster
28•yarapavan•5h ago•7 comments

Stripe's Knowledge AI Platform

https://stripe.dev/blog/meet-stripes-knowledge-ai-platform
167•ltononro•9h ago•102 comments

I don't want the details

https://michaelheap.com/i-dont-want-the-details/
335•mooreds•10h ago•190 comments

Swap, ZRAM, Zswap and Hibernate on NixOS

https://blog.matthewbrunelle.com/swap-zram-zswap-and-hibernate-on-nixos/
23•speckx•5h ago•4 comments

Z80 REPL (2018)

https://abagames.github.io/z80-repl/index.html
139•adunk•12h ago•18 comments

Claude Code reads AGENTS.md only when telemetry is on [fixed]

https://blog.szypowi.cz/p/claude-code-reads-agents.md-only-when-telemetry-is-on/
437•pszypowicz•11h ago•242 comments

Show HN: I built a post-mortem debugger for native Windows x64/x86 crashes

https://www.forensicdbg.com
18•Loren_SL•4h ago•2 comments

Bwbach, My Guardian Goblin

https://robertmay.photography/journal/bwbach-my-guardian-goblin
7•robotmay•1d ago•5 comments

Once Claude can measure something, it can make it faster

https://claude.dev/blog/how-we-made-claude-ai-faster/
135•matthieu_bl•4h ago•90 comments

A refined phylochronology of the second plague pandemic in Western Eurasia

https://www.pnas.org/doi/10.1073/pnas.2534899123
7•Thevet•2d ago•0 comments

QuestDB (YC S20) Is Hiring a Sales Engineer

https://questdb.com/careers/pre-sales-engineer-north-america/
1•nhourcard•11h ago

28% of job postings on company career sites have been open over 90 days

https://unlisted.careers/ghost-jobs/report/2026-09
206•rubatrejo•6h ago•276 comments

UK military jamming other nations' satellites to defend itself, BBC told

https://www.bbc.com/news/articles/c32l8y8kygdvo
126•thm•5h ago•174 comments

Seattle City Council votes to ban surveillance pricing in sale of groceries

https://advocacy.consumerreports.org/press_release/seattle-city-council-votes-to-ban-surveillance...
275•ortusdux•9h ago•167 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...)