frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ternary Bonsai 2.5 27B

https://prismml.com/news/bonsai-2-5-27b
312•b0m•4h ago•107 comments

GPT-6 models demonstrate intrinsic protein-design capabilities

https://openai.com/index/gpt-6-models-demonstrate-intrinsic-protein-design-capabilities/
149•acossta•3h ago•34 comments

Launch HN: Versine (YC F26) – MCP to send and receive money

62•harshithl1777•4h ago•44 comments

Get in, friends, the Atmosphere is happening

https://tropopause.pckt.blog/get-in-friends-the-atmosphere-is-happening-q8sf9a9
38•Kye•1h ago•34 comments

Active intrusion campaign against Check Point security management servers

https://www.greynoise.io/blog/check-point-security-management-servers-intrusion-campaign
258•louiereederson•8h ago•122 comments

Fable 5.2 Tries Less on Some Hard Tasks When a Shortcut Is Available

https://goodhartlabs.com/blog/fable-5-2-tries-less-on-some-hard-tasks-when-a-shortcut-is-available
41•atlun•2h ago•34 comments

Gödel Enigma

https://www.helsinki.fi/en/researchgroups/godel-enigma/research/project-description
77•benbreen•16h ago•26 comments

The Spray Bottle

https://mechanical-pencil.com/products/spray-bottle
338•vinhnx•2d ago•93 comments

Calculate how many mesh radio nodes your city needs

https://meshcoveragecalculator.lalala.ing/
76•joshcsimmons•1d ago•10 comments

From CUDA and Jax to TorchTPU: Lessons from a Cayley Graph Solver

https://andlukyane.com/blog/cayley-graphs-and-torchtpu
62•Artgor•5h ago•1 comments

Heart attack and stroke risk detectable decades in advance

https://www.ed.ac.uk/news/heart-attack-and-stroke-risk-detectable-decades-in-advance
127•gmays•3h ago•51 comments

An Italian folding bicycle design that fits into a suitcase

https://www.core77.com/posts/145766/An-Italian-Folding-Bicycle-Design-that-Fits-Into-a-Suitcase
119•surprisetalk•1d ago•79 comments

Show HN: PQCrypta Proxy: Rust proxy with HTTP/3, QUIC, hybrid post-quantum TLS

https://github.com/PQCrypta/pqcrypta-proxy
27•pqpdf•3d ago•8 comments

Jetty Pro

http://hypercritical.co/2026/11/23/jetty-pro
265•zdw•8h ago•119 comments

A training engine for your local model, using your idle compute

https://github.com/sous-labs/songe
172•bluepeter•9h ago•53 comments

GTA 6 Running on Windows

https://twitter.com/raul_bs3/status/2125213756238291075
271•andrem•11h ago•341 comments

Quad9 pulled their DNS service from France

https://quad9.net/news/blog/quad9-service-deactivation-in-france/
348•farrokhi•16h ago•174 comments

Hierarchical Bayesian Neural Networks: When Structure Meets Flexibility

https://statwonk.com/hierarchical-bayesian-neural-network.html
7•RA_Fisher•1d ago•0 comments

Splitting USB-C: USB 3 and USB 2 on one port

https://www.frankchiarulli.com/blog/splitting-usb-c/
127•fcjr•10h ago•86 comments

An unclassified CIA system was breached in a cyberattack

https://apnews.com/article/cia-cyberattack-unclassified-system-bfa6d3b02e3b0e2779dfb613c900bd77
99•armcat•3h ago•29 comments

Weave (YC W25) is hiring ML, AI, product, & design engineers

https://jobs.ashbyhq.com/weave-os
1•adchurch•7h ago

Cento fine foods has been sued for “tomato fraud”

https://slate.com/life/2026/11/cento-san-marzano-tomato-sauce-recipes-lawsuit.html
110•ncr100•2d ago•151 comments

Grafana 12.4.16, 13.0.14, 13.1.11, 13.2.7 and 13.3.2 (multiple CVEs)

https://grafana.com/grafana/download
129•petecooper•5h ago•20 comments

LLM agents work for their parent companies, not for you

https://michaelharley.net/posts/2026/11/01/llm-agents-work-for-their-parent-companies-not-for-you/
894•surprisetalk•12h ago•377 comments

Worshipping at the altar of Brendan Gregg

https://fzakaria.com/2026/11/12/worshipping-at-the-altar-of-brendan-gregg
221•kqr•14h ago•42 comments

How a Mechanical Watch Keeps Time

https://martincmartin.github.io/slidev-stem/watches/article/1/
213•martincmartin•2d ago•57 comments

Show HN: Mason – A lightweight Postgres read-replica, built on columnar storage

https://masondata.ai/
85•tagspace•8h ago•15 comments

The new set of problems for engineers to solve

https://www.katelynlesse.com/blog/new-problems-for-engineers-to-solve
126•ot•2d ago•112 comments

Anthropic breaks below $83 IPO price

https://www.bloomberg.com/news/articles/2026-11-24/anthropic-breaks-below-83-ipo-price-in-premark...
333•Betelbuddy•11h ago•664 comments

2035 came early

https://fzakaria.com/2026/11/23/2035-came-early
961•setheron•18h ago•366 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...)