frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Genie 4

https://deepmind.google/blog/genie-4-a-new-generation-of-world-simulation/
275•acossta•1h ago•153 comments

Police Are Using AI to Pull over Drivers for 'Suspicious' Behavior

https://gizmodo.com/police-are-using-ai-to-pull-over-drivers-for-suspicious-behavior-2000831220
98•gumby•1h ago•35 comments

Ghostty 1.4.0

https://ghostty.org/docs/install/release-notes/1-4-0
115•deaux•1h ago•47 comments

Classification of Finite Simple Groups Formalized in Lean

https://cfsg.axiommath.ai/
45•pfdietz•1h ago•16 comments

Python's experimental JIT to be removed

https://lwn.net/SubscriberLink/1102102/0c00e4d550f25f8c/
319•f311a•6h ago•166 comments

New iMac with M6

https://www.apple.com/imac/
180•notfried•4h ago•221 comments

Wikipedia's Cleanup of AI-Generated Content

https://spectrum.ieee.org/wikipedia-wikiproject-ai-writing-cleanup
309•rbanffy•6h ago•146 comments

The US government is hiding secret court ruling about how it spies on Americans

https://www.wired.com/story/the-us-government-is-hiding-a-secret-court-ruling-about-how-it-spies-...
420•helterskelter2•3h ago•138 comments

Microsoft and Others Tell Crypto Platform Not to Tokenize Their Stocks

https://gizmodo.com/microsoft-mcdonalds-verizon-and-others-tell-crypto-platform-not-to-tokenize-t...
25•gumby•2d ago•10 comments

Why Micron Is Suddenly Ditching 4F² DRAM as Rivals Double Down

https://hothardware.com/news/why-micron-is-suddenly-ditching-4f-dram
80•rbanffy•1d ago•11 comments

PHP2Shell, LiteLLM, GitLab: Find What You Need to Patch

https://cloudsleuth.io/blog/php2shell-litellm-gitlab-find-what-you-run/
16•bigfish2026•1h ago•0 comments

Here be monsters: What do you still need to know when agents do the work?

https://blog.adrq.dev/here-be-monsters-what-do-you-still-need-to-know-when-agents-do-the-work
98•adrq•4h ago•29 comments

OpenLDK: Bringing the Java World into Common Lisp

https://atgreen.github.io/repl-yell/posts/openldk-java-in-common-lisp/
32•atgreen•2d ago•3 comments

PHP2Shell: Exploitation attempts and remediation trends

https://www.wiz.io/blog/php2shell-exploitation-so-far
156•acossta•4h ago•51 comments

Apple introduces the new 14‑inch MacBook Pro with M6

https://www.apple.com/in/newsroom/2026/10/apple-introduces-the-new-14-inch-macbook-pro-with-m6/
75•beex•1h ago•74 comments

Antique Fonts Collection – Restored 19th Century Typefaces

https://centurylibrary.com/collection/antique-fonts/
9•eustoria•1h ago•3 comments

Anthropic trained Claude on illegally obtained Stanford professors' books

https://stanforddaily.com/2026/10/27/professors-books-pirated-to-train-claude/
130•car•2h ago•62 comments

A 28-Year-Old DOGE Operative Gutted USAID. HR Had No Record of Him Working There

https://www.wired.com/story/a-28-year-old-doge-operative-gutted-usaid-hr-had-no-record-of-him-wor...
115•ck2•1h ago•45 comments

Analysis of 'Demon Seed' – Infinite Ocean

https://mawrgorshin.com/2025/07/12/analysis-of-demon-seed/
4•rbanffy•3d ago•0 comments

Show HN: Specification First Agentic Development Plugin and Prove

https://spec-first.dev/
14•hleichsenring•2h ago•1 comments

Vicious Cycles: Theses on a philosophy of news

https://harpers.org/archive/2020/01/vicious-cycles-theses-on-a-philosophy-of-news/
7•eustoria•1h ago•1 comments

A $300B 'Debt Wall' Is Looming over Private-Equity Backed Companies

https://www.wsj.com/finance/investing/a-300-billion-debt-wall-is-looming-over-private-equity-back...
76•JumpCrisscross•2h ago•17 comments

Introducing LFM3: Every Modality for Specialized Intelligence

https://www.liquid.ai/blog/lfm3
16•Philpax•51m ago•5 comments

Is my data used for model training?

https://privacy.claude.com/en/articles/7996868-is-my-data-used-for-model-training
176•jonpizza•4h ago•75 comments

The Mythical Man-Month in the Age of AI

https://j11g.com/the-mythical-man-month-in-the-age-of-ai
364•ilreb•11h ago•251 comments

We let our cloud agents query prod (with OIDC, not secrets)

https://www.formal.ai/blog/cloud-agents-oidc-infrastructure/
11•saligrama•1h ago•3 comments

Gforth 1.0

https://gforth.org/manual/1.0/NEWS.html
121•joshcsimmons•7h ago•7 comments

A Stackless Floodfill Automaton

https://t3x.org/files/floodfill.pdf
30•andsoitis•1d ago•8 comments

Software may be getting worse, but it used to be horrible

https://www.bitlog.com/2026/10/27/software-may-be-getting-worse-but-it-used-to-be-horrible/
243•jakevoytko•6h ago•220 comments

Brazil's Flavio Bolsonaro headed to US, sources say

https://www.reuters.com/world/americas/brazil-wonders-where-earth-is-flavio-bolsonaro-2026-10-27/
9•jumpocelot•10m 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...)