frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Unkernel: Real Linux kernel, compiled to WebAssembly

https://unkernel.dev
155•nreece•3h ago•11 comments

Google's DeepCrossAttention achieves comparable model quality up to 3x faster

https://research.google/blog/supercharging-transformer-residual-connections/
298•ComputedCamp995•7h ago•121 comments

The Balatro Timeline

https://localthunk.com/blog/balatro-timeline-3aarh
252•sheepscreek•1d ago•56 comments

GPT 6.2 Astra Solves a Historical Mystery

https://generativehistory.substack.com/p/gpt-62-astra-solves-a-historical
406•dr_red_dog•2d ago•256 comments

Loom seamlessly combines weaving, knitting and braiding

https://news.cornell.edu/stories/2026/11/loom-seamlessly-combines-weaving-knitting-and-braiding
17•PaulHoule•3d ago•0 comments

Credit card skimming scripts using WebRTC found on popular shopping sites

https://www.infohawk.com/news/2026-11-27-black-friday-webrtc-skimmer
491•scanr•15h ago•259 comments

Paolo Soleri built a utopian eco-city in the Arizona desert

https://www.worldofinteriors.com/story/paolo-soleri-arconsati-arizona
24•robtherobber•17h ago•4 comments

Sydney Fire Ant Infestation

https://www.abc.net.au/news/2026-11-25/nsw-government-ramps-up-efforts-to-respond-to-fire-ants-/1...
37•altilunium•2d ago•13 comments

Convex skills send the user's app idea to a remote server without telling them

https://github.com/convex/convex-backend-skill/issues/64
274•MickyTheMouse•12h ago•88 comments

Citroën Hydraulic System

https://www.citroenet.org.uk/miscellaneous/hydraulics/hydraulics-1.html
171•o4c•1d ago•54 comments

9/UX: a Macintosh-inspired desktop for 9front

https://progrium.github.io/9ux/
111•rbanffy•9h ago•26 comments

Build your own amp modeler: $78 DIY pedal kit from TONE3000

https://www.guitarworld.com/gear/guitar-pedals/tone3000-daisy-audio-diy-pedal-kit
79•gregsadetsky•3d ago•17 comments

Show HN: bouncemarket – a live prediction market game for a bouncing ball

https://bouncemarket.minhanhday.com/
359•mday404•16h ago•119 comments

Tabernetes: A Kubernetes cluster whose nodes are browser tabs

https://tabernet.es/
85•mmcclure•8h ago•30 comments

First images of the impact of DART asteroid deflection experiment

https://arstechnica.com/space/2026/11/europes-hera-mission-returns-to-the-chaotic-scene-of-a-cosm...
205•Bender•1d ago•61 comments

Atari Homebrew Awards Cancelled

https://forums.atariage.com/topic/394894-atari-homebrew-awards-cancelled/
168•bpierre•4h ago•160 comments

Rayshader 1.0: Exit the Matrix

https://www.tylermw.com/posts/rayverse/rayshader-1-0-exit-the-matrix.html
109•tylermw•16h ago•14 comments

The AT&T Unix PC (3B1) VM

https://virtuallyfun.com/2026/11/22/the-ultimate-att-unix-pc-3b1-vm-w-tcp-ip-and-apps/
77•ok123456•11h ago•13 comments

How WinHelp Files Work

https://quin.fyi/posts/how-winhelp-files-work.html
28•frostbyte7•1d ago•22 comments

States sue SpaceX to stop Grok from generating child sex images, revenge porn

https://www.oag.state.va.us/media-center/news-releases/jay-jones/3162-attorneys-general-jones-and...
356•DeepLogin•11h ago•201 comments

Cyberpunk Television Shows

https://shellzine.net/cyberpunk-television/
83•zdw•2d ago•81 comments

Prospero: Bloat-free, native AI coding harness with ImGui

https://github.com/skeeto/prospero
55•ingve•10h ago•17 comments

Show HN: Analysis of Hacker News predictions since 2008

https://hnpredictions.com/
80•mv4•3d ago•69 comments

Michael Nielsen took down his book on neural nets

https://neuralnetworksanddeeplearning.com/
484•brandonb•11h ago•299 comments

Show HN: DragDropMath – Learn math by feel

https://dragdropmath.com/
123•ziofill•13h ago•37 comments

False computer-checked proofs

https://cr.yp.to/proofs/falseccp.html
214•_tk_•15h ago•83 comments

Source Control from Hell

https://frantic.im/git/
84•emschwartz•8h ago•62 comments

SessionGraph: Visualize all your coding agent sessions in one interactive graph

https://sessiongraph.ai/
44•arvindell•9h ago•23 comments

Lydian Chromatic Concept of Tonal Organization

https://en.wikipedia.org/wiki/Lydian_Chromatic_Concept_of_Tonal_Organization
58•benbreen•3d ago•13 comments

fplotlib – Fortran Plotting Library

https://github.com/fortran-lang/fplotlib
9•AlexeyBrin•1d 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...)