frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Whistle: Speech to Text in 16.9 MB

https://cactuscompute.com/blog/whistle
197•gmays•2h ago•54 comments

Show HN: K10s – A Clickable Kubernetes TUI (Go, Bubble Tea)

https://github.com/p10node/k10s
32•pierreneter•53m ago•17 comments

Trump administration is suspending Microsoft from a green card program

https://apnews.com/article/h1b-visa-program-vance-microsoft-e7b3a407f822702b269ee277d21343ea
605•alephnerd•4h ago•1037 comments

Step 5 Preview, a 1M-context MoE from StepFun, shows up on OpenRouter

https://openrouter.ai/stepfun/step-5-preview
43•AnneWodell•3h ago•16 comments

Beauty in DVD Menus

https://vale.rocks/posts/dvd-menus
196•speckx•6h ago•125 comments

“Math 2.0” will need to value mathematical progress more holistically

https://mathstodon.xyz/@tao/117395269325940185
571•ent101•14h ago•586 comments

Archaeologists Are Reconstructing the 'Invisible' Technologies of the Stone Age

https://www.smithsonianmag.com/science-nature/archaeologists-are-reconstructing-the-invisible-tec...
69•Hooke•21h ago•30 comments

OpenAI annualised revenues $20B less than previously signalled

https://www.cnbc.com/2026/10/08/open-ai-revenue-nvidia-oracle-coreweave.html
174•mfiguiere•2h ago•96 comments

What ArtCraft's Vibe-Coded Apps Say About Adobe

https://tedium.co/2026/10/08/artcraft-vibe-coding-creative-cloud-remake/
6•speckx•37m ago•6 comments

I gave Opus 5.5 one prompt and six hours to visualize Invisible Cities

https://quesma.com/blog/invisible-cities-one-shot/
287•stared•7h ago•152 comments

The Deeply Impersonal Personalized Recruiter Mail

https://blog.pentlander.com/the-deeply-impersonal-personalized-recruiter-mail/
24•speckx•2h ago•18 comments

4-hour battery storage is cheaper to install than gas turbines all across globe

https://www.solarpowerworldonline.com/2026/10/4-hour-battery-storage-is-cheaper-to-install-than-g...
173•01-_-•3h ago•87 comments

The Slow Formation of Durable Software

https://newsletter.dancohen.org/archive/the-slow-formation-of-durable-software/
218•benbreen•2d ago•89 comments

The value of not getting to the point (2015)

https://ken.arneson.name/2015/11/the-value-of-not-getting-to-the-point/
3•NaOH•17m ago•0 comments

Tell HN: I've been paying for a rural Tanzanian's education for 10 years

573•lukehandcool•4h ago•151 comments

Sub-1-Bit LLM Compression via Latent Factorization

https://github.com/SamsungLabs/LittleBit
69•brainless•5h ago•11 comments

OpenAI withdraws three mathematical results

https://twitter.com/danintheory/status/2108065033070789090
202•sashank_1509•12h ago•495 comments

15-year search for a band that charted once and vanished

https://shahidhussain.com/writing/search-for-salvage/
334•shahidhussain•3d ago•117 comments

Telnet BBS Guide

https://www.telnetbbsguide.com/
91•kmstout•6h ago•30 comments

Time Travel in Braid (2015)

https://qntm.org/braid
92•Ariarule•3d ago•37 comments

Show HN: Artvinto – Vintage posters and fine art prints

https://www.artvinto.com
5•bluefin•1h ago•0 comments

Living off-grid: Hundred Rabbits

https://100r.ca/site/home.html
349•Muhammad523•2d ago•163 comments

Serverless Horrors $10,811.41

https://serverlesshorrors.com/all/cloudflare-108k/
26•7777777phil•1h ago•9 comments

Show HN: AI SRE Arena, an Open Benchmark for AI SRE Agents on Kubernetes

https://github.com/edgedelta/project-arena
16•emrahsamdan•2h ago•5 comments

Float and integer arithmetic follow two different paradigms

https://blog.pkh.me/p/49-float-and-integer-arithmetic-follow-two-different-paradigms.html
57•ibobev•3d ago•12 comments

Cloudflare Keeps 1.1.1.1 Out of Piracy Blocking, Escapes Penalties in France

https://torrentfreak.com/cloudflare-keeps-1-1-1-1-out-of-piracy-blocking-escapes-penalties-in-fra...
10•HotGarbage•49m ago•0 comments

'Jonathan' is the oldest land animal on Earth

https://www.404media.co/oldest-living-land-animal-jonathan-the-tortoise/
261•gumby•23h ago•148 comments

Cleo (Mathematician)

https://en.wikipedia.org/wiki/Cleo_(mathematician)
244•djoldman•2d ago•55 comments

The Mathocalypse

https://scottaaronson.blog/?p=10169
363•6bitquant•23h ago•380 comments

Show HN: Bigwords.page – Turn any screen into a sign. The URL is the app

https://bigwords.page/
670•SpeakingOfBrad•1d ago•154 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...)