frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Training a 4B model to produce 81% faster query plans than Postgres

https://rohanbansal.com/qorl
140•polyphilz•1h ago•17 comments

Vectorized and performance-portable Quicksort (2022)

https://opensource.googleblog.com/2022/06/Vectorized%20and%20performance%20portable%20Quicksort.html
145•mococa•2h ago•21 comments

Small programming tricks

https://will-keleher.com/posts/small-programming-tricks-matter/
257•signa11•4h ago•145 comments

Accurate Models of AMD Matrix Cores

https://arxiv.org/abs/2609.14845
33•matt_d•1h ago•3 comments

Xiami Mimo 2.6 Live Training Dashboard

https://mimo.xiaomi.com/rl/
13•krackers•35m ago•1 comments

Dream-RSI: Recursive Self-Improvement through Evolving Worlds

https://arxiv.org/abs/2609.14858
157•bananaflag•6h ago•47 comments

Reversing Factorio's RNG

https://gegell.github.io/posts/factorio-rng/
19•jheitmann•4d ago•3 comments

Mistral X Mozilla: Private, Multilingual AI Browsing

https://mistral.ai/news/mistral-x-mozilla/
482•vertigoruntime•12h ago•169 comments

How good are frontier models at physics?

https://arxiv.org/abs/2609.13009
23•qt31415926•1h ago•5 comments

Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations

https://github.com/arnegiacomo/fugleramme
1984•arnemunthekaas•1d ago•231 comments

Tell the speakers that you liked their talks

https://ohhelloana.blog/tell-the-speakers/
236•whisper2020•1d ago•61 comments

The Siberian Ice Maiden and the Scythian World

https://patrickwyman.substack.com/p/the-siberian-ice-maiden-and-the-scythian
31•NaOH•1d ago•0 comments

Learning Programming in an Age of LLMs

https://blog.ploeh.dk/2026/09/16/on-learning-programming-in-an-age-of-llms/
213•moneroloop2018•11h ago•166 comments

Claude Cowork and chat are now one Claude

https://claude.com/blog/cowork-is-now-claude
166•vertigoruntime•4h ago•179 comments

How big are factorials?

https://eli.thegreenplace.net/2026/how-big-are-factorials/
67•ibobev•1d ago•28 comments

Tell HN: An inside view of Montana's new biotech law

3•niklas_anzinger•2h ago•0 comments

The DeepMind Institute

https://institute.deepmind.com/
89•vertigoruntime•6h ago•28 comments

The Google Play app review process now regularly takes longer than a week

https://gultsch.social/@daniel/117280438824908947
320•inputmice•9h ago•306 comments

Hackers Got Inside a Flock Camera

https://www.wired.com/story/hackers-flock-camera-data-shows-how-system-works/
386•driverdan•7h ago•188 comments

Training Text-to-Image Models 3.6× Faster

https://www.linum.ai/field-notes/jit-ddt
4•schopra909•3h ago•0 comments

Kyber (YC W23) Is Hiring a Forward Deployed Engineer

https://www.ycombinator.com/companies/kyber/jobs/eturrAR-forward-deployed-engineer
1•asontha•8h ago

Why a fast-growing German AI startup is moving its parent company from the US

https://www.euronews.com/business/2026/09/16/why-this-fast-growing-german-ai-start-up-is-moving-i...
31•jethronethro•1h ago•7 comments

A coffee shop owner used AI to make a menu poster. Then came the angry DMs

https://www.businessinsider.com/coffee-shop-owner-ai-menu-backlash-2026-9
36•TMWNN•1h ago•104 comments

Show HN: How Stale Is Your AI? Release age and training cutoff for 20 models

https://stale.jock.pl/
63•joozio•7h ago•42 comments

ER visits for gambling disorders doubled after expanded online gambling market

https://temertymedicine.utoronto.ca/news/emergency-room-visits-gambling-disorders-nearly-doubled-...
127•geox•3h ago•108 comments

Salesforce Global Outage

https://status.salesforce.com/products/all
253•mabil•10h ago•156 comments

Can we stop with the uptime percentages?

https://blog.jim-nielsen.com/2026/stop-with-the-uptime-percentage/
113•surprisetalk•5h ago•93 comments

Show HN: I made a flight simulator, except you're just a passenger

https://inflightsimulator.com
407•rkotcher•2d ago•199 comments

Data Broker Radaris Loses Domains in Privacy Fight

https://krebsonsecurity.com/2026/09/data-broker-radaris-loses-domains-in-privacy-fight/
6•arnaudsm•1h ago•1 comments

Barndoor acquires Diaphora, creators of open-source workflow runtime Frags

https://barndoor.ai/barndoor-acquires-diaphora/
5•mansilladev•1h ago•0 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...)