frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Antirender: remove the glossy shine on architectural renderings

https://antirender.com/
1240•iambateman•14h ago•279 comments

Sumerian Star Map Recorded the Impact of an Asteroid (2024)

https://archaeologyworlds.com/5500-year-old-sumerian-star-map-recorded/
36•griffzhowl•2h ago•8 comments

Show HN: I trained a 9M speech model to fix my Mandarin tones

https://simedw.com/2026/01/31/ear-pronunication-via-ctc/
246•simedw•9h ago•90 comments

YouTube blocks background video playback on Brave and other Browsers

https://piunikaweb.com/2026/01/28/youtube-background-play-samsung-internet-brave/
92•croes•2h ago•62 comments

A novelist who took on the Italian mafia and lived

https://www.thetimes.com/culture/books/article/sicilian-man-leonardo-sciascia-rise-mafia-struggle...
41•Thevet•3d ago•22 comments

Direct Current Data Centers

https://terraformindustries.wordpress.com/2026/01/30/direct-current-data-centers/
9•jk_tech•10h ago•0 comments

A Step Behind the Bleeding Edge: A Philosophy on AI in Dev

https://somehowmanage.com/2026/01/22/a-step-behind-the-bleeding-edge-monarchs-philosophy-on-ai-in...
9•Ozzie_osman•1d ago•0 comments

Show HN: Phage Explorer

https://phage-explorer.org/
64•eigenvalue•4h ago•11 comments

Peerweb: Decentralized website hosting via WebTorrent

https://peerweb.lol/
261•dtj1123•13h ago•91 comments

Ashcan Comic

https://en.wikipedia.org/wiki/Ashcan_comic
34•benbreen•1d ago•7 comments

An anecdote about backward compatibility

https://blog.plover.com/2026/01/26/#wrterm
35•speckx•4d ago•5 comments

Naples' 1790s civil war was intensified by moral panic over Real Analysis (2023)

https://lareviewofbooks.org/article/foundational-anxieties-modern-mathematics-and-the-political-i...
35•OgsyedIE•6h ago•7 comments

My Ridiculously Robust Photo Management System (Immich Edition)

https://jaisenmathai.com/articles/my-ridiculously-robust-photo-management-system-immich-edition/
21•jmathai•2d ago•12 comments

Moltbook

https://www.moltbook.com/
1474•teej•1d ago•697 comments

HTTP Cats

https://http.cat/
369•surprisetalk•20h ago•65 comments

Disrupting the largest residential proxy network

https://cloud.google.com/blog/topics/threat-intelligence/disrupting-largest-residential-proxy-net...
166•cdrnsf•2d ago•143 comments

Kimi K2.5 Technical Report [pdf]

https://github.com/MoonshotAI/Kimi-K2.5/blob/master/tech_report.pdf
302•vinhnx•17h ago•112 comments

Stonebraker on CAP theorem and Databases (2010)

https://perspectives.mvdirona.com/2010/04/stonebraker-on-cap-theorem-and-databases/
67•onurkanbkrc•10h ago•29 comments

CERN accepts $1B in private cash towards Future Circular Collider

https://physicsworld.com/a/cern-accepts-1bn-in-private-cash-towards-future-circular-collider/
5•zeristor•19m ago•1 comments

Designing a Passively Safe API

https://www.danealbaugh.com/articles/passively-safe-apis
22•dalbaugh•4d ago•3 comments

Surely the crash of the US economy has to be soon

https://wilsoniumite.com/2026/01/27/surely-it-has-to-be-soon/
309•Wilsoniumite•1d ago•439 comments

The engineer who invented the Mars rover suspension in his garage [video]

https://www.youtube.com/watch?v=QKSPk_0N4Jc
321•UltraSane•4d ago•45 comments

P vs. NP and the Difficulty of Computation: A ruliological approach

https://writings.stephenwolfram.com/2026/01/p-vs-np-and-the-difficulty-of-computation-a-ruliologi...
72•tzury•13h ago•33 comments

International Collection of Tongue Twisters (2018)

https://tongue-twister.net
19•NaOH•4d ago•5 comments

Ask HN: Do you still physical calculators?

3•speedylight•43m ago•1 comments

Coding is when we're least productive

https://codemanship.wordpress.com/2026/01/30/coding-is-when-were-least-productive/
24•vinhnx•8h ago•7 comments

Starlink updates privacy policy to allow consumer data to train

https://finance.yahoo.com/news/musks-starlink-updates-privacy-policy-230853500.html
58•malchow•4h ago•15 comments

Code is cheap. Show me the talk

https://nadh.in/blog/code-is-cheap/
227•ghostfoxgod•22h ago•195 comments

Declassifying JUMPSEAT: an American pioneer in space

https://www.nro.gov/news-media-featured-stories/news-media-archive/News-Article/Article/4392223/d...
37•mkmk•2d ago•15 comments

The $100B megadeal between OpenAI and Nvidia is on ice

https://www.wsj.com/tech/ai/the-100-billion-megadeal-between-openai-and-nvidia-is-on-ice-aa3025e3
304•pixelesque•10h ago•222 comments
Open in hackernews

The Scalar Select Anti-Pattern

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

Comments

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