frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

A Jev that can ask Opus for help gives Opus accuracy at 4x lower cost

https://hightouch.com/blog/llm-judges-identity-resolution
153•theanomaly•1h ago•39 comments

AI is dramatically accelerating AI research

https://www.planned-obsolescence.org/p/ai-is-dramatically-accelerating-ai
61•yurivish•1h ago•18 comments

Firecracker VM Escape: PwnEscape Part 2

https://pwn.ai/blog/firecracker-escape
98•SerCe•2h ago•53 comments

US FAA says it will phase out floppy disks from air traffic control by 2028

https://www.reuters.com/world/us/us-faa-says-it-will-phase-out-floppy-disks-air-traffic-control-b...
214•ChrisArchitect•17h ago•169 comments

Tesla to wind down Cybertruck production

https://www.nbcnews.com/tech/tech-news/tesla-wind-cybertruck-production-years-poor-sales-markets-...
695•PLenz•9h ago•1480 comments

First steps in bare-metal programming using UEFI

https://kevinboone.me/efitest_index.html
145•LaSombra•4h ago•24 comments

The Valley Bubble Breaks

https://quirksmode.org/quirksblog/2026/1106-valley-bubble.html
32•cdrnsf•1h ago•20 comments

Restaurant Delivery Payment-Skimming Campaign

https://www.infohawk.com/news/2026-11-05-scamwich-restaurant-skimming
39•fiej•2h ago•17 comments

Blender's UI and Runtime: Much Faster Than GPUI

https://github.com/ppmpreetham/BUI
650•ppmpreetham•14h ago•261 comments

Memorilla: Latent Semantic Memory for LLMs

https://arxiv.org/abs/2610.21375
54•handfuloflight•3h ago•3 comments

Replit rebuilt its sandbox engine with microVMs

https://frontier.replit.com/sandbox-engine-microvms-part-1/
21•gaplong•2h ago•8 comments

Devvm.dev: One VM for every project

https://devvm.dev/
61•luispa•4h ago•35 comments

Gemini Omni 1.2 Flash

https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemini-omni-1-2-flash/
265•thisisauserid•8h ago•205 comments

My first and last telegram was from Rebecca West

https://thelampmagazine.com/blog/rebecca-wests-nightingale
23•bryanrasmussen•2h ago•6 comments

UpCodes (YC S17) is hiring SDR's to sell AI compliance software

https://up.codes/careers?utm_source=HN
1•Old_Thrashbarg•4h ago

Size-It-Up (Game)

https://magnitudle.com/size-it-up
49•whoishiding•3h ago•17 comments

Show HN: Waymark – A workflow engine that compiles jobs instead of replaying

https://github.com/piercefreeman/waymark
11•icyfox•1d ago•0 comments

How octopuses squeeze through too small gaps

https://journals.biologists.com/jeb/article/229/21/jeb253615/373332/How-octopuses-squeeze-through...
28•bookofjoe•7h ago•4 comments

PyLings: Solve Exercises and Learn Python

https://github.com/thesayfulla/pylings
34•thesayfulla•4h ago•2 comments

40C3 halfnarp – Submit talk preferences to aid scheduling

https://halfnarp.events.ccc.de
27•hanemile•3h ago•5 comments

Anthropic IPO buyers see valuation as low as $1.1T

https://www.bloomberg.com/news/articles/2026-11-06/anthropic-ipo-valuation-expectations-pressured...
145•dgellow•4h ago•342 comments

Deus Ex

https://www.filfre.net/2026/11/deus-ex/
297•cybersoyuz•6h ago•149 comments

Show HN: Agents infer Lego mechanisms from sources, then animate them

https://github.com/anteloc/ldraw-mecha/tree/v0.5.0
15•antelocnova•2h ago•0 comments

As the Japanese countryside empties out, wildlife is disappearing

https://e360.yale.edu/digest/japan-depopulation-biodiversity
55•rdmuser•2h ago•28 comments

We know 15k websites are infected. how do we tell them?

https://scotthelme.co.uk/we-know-15-579-websites-are-infected-how-do-we-tell-them/
113•speckx•3h ago•94 comments

Chomsky and the two cultures of statistical learning (2011)

https://www.norvig.com/chomsky.html
77•andsoitis•13h ago•65 comments

SketchAgentBench – evaluate LLMs on 3D spatial reasoning

https://sketchagent.dev/
6•wsxiaoys•1h ago•0 comments

Rune: A native GPU-rendered Rust UI framework for macOS, Windows, Linux and web

https://github.com/anomalyco/rune
119•mik3y•5h ago•92 comments

Lippitt-Knoster in Practice (Field Notes for Managing Complex Projects)

https://sharedphysics.com/lippitt-knoster-in-practice-field-notes-for-managing-complex-projects/
53•goopthink•6h ago•2 comments

Zero Hour: Telling time was a matter of survival and strategy during WWI (2014)

https://www.laphamsquarterly.org/roundtable/zero-hour
90•NaOH•1d ago•4 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...)