frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

REA Reverse – Engineer Anything

https://rea.tools/
389•modinfo•8h ago•144 comments

Computers Cannot Make Decisions

https://wiki.cateat.fish/art:computers_cannot_make_decisions
53•heavensteeth•3h ago•35 comments

Telegram Desktop vulnerability allowed any user's file to be stolen

https://beaksec.github.io/posts/telegram-desktop-one-click-account-takeover/
142•g-b-r•6h ago•62 comments

Cloudflare acquires Deno

https://deno.com/blog/cloudflare
1211•ilreb•20h ago•613 comments

Triple-A Minesweeper

https://minesweeper.mikelacher.com/
942•robin_reala•17h ago•180 comments

Eye of Sauron: Long-Range Hidden Spy Camera Detection

https://www.usenix.org/conference/usenixsecurity24/presentation/zhang-qibo
136•ortusdux•2d ago•33 comments

How to head into VR without wearing a headset

https://www.kyushu-u.ac.jp/en/researches/view/414/
29•Betelbuddy•3d ago•9 comments

Can you use autoregressive diffusion to generate market data?

https://blog.janestreet.com/can-you-use-autoregressive-diffusion-to-generate-market-data/
81•jsomers•18h ago•25 comments

Show HN: Carrier-Explode: iPhone, Pixel and Galaxy carrier settings decoded

https://carrierexplode.com/
315•simplyalec•14h ago•40 comments

Typesafe AI raises $870M at $7.5B

https://typesafe.ai/blog/series-ai
365•tosh•16h ago•268 comments

Compiling Rust to readable C with Eurydice

https://lwn.net/Articles/1055211/
69•peter_d_sherman•9h ago•14 comments

Food processing influences metabolism and brain activity

https://news.vt.edu/articles/2026/10/research_fralinbiomed_upfhutelin.html
20•gmays•3h ago•7 comments

Cube Type – Isometric Typography Generator

https://typeincube.com/
4•eustoria•1d ago•0 comments

Clinical trial of a prion disease drug candidate begins enrolling participants

https://www.broadinstitute.org/news/clinical-trial-prion-disease-drug-candidate-begins-enrolling-...
61•luu•9h ago•11 comments

I tried to move my notes out of Emacs. I failed. Again

https://baty.net/posts/2026/10/i-tried-to-move-my-notes-out-of-emacs-i-failed/
15•speckx•2d ago•22 comments

Pointing AI at archives found a forgotten meteorite, lost rhinos, and more

https://jessewaites.com/blog/post/i-pointed-ai-at-400-years-of-archives/
142•piratebroadcast•21h ago•75 comments

What mathematicians should know about the Lean Theorem Prover: reliability & AI

https://terrytao.wordpress.com/2026/10/09/what-mathematicians-should-know-about-the-lean-theorem-...
113•matt_d•15h ago•22 comments

Show HN: Proton Drive for Linux

https://oss.lsantos.dev/proton-drive-linux-fs/
74•khaosdoctor•1d ago•28 comments

Scam American companies are using to manipulate ingredient lists

https://twitter.com/WallStreetApes/status/2108594998656807078
114•bilsbie•15h ago•126 comments

Vegetative Electron Microscopy WTF? (2025)

https://www.sciencebase.com/science-blog/vegetative-electron-microscopy.html
8•adunk•1d ago•0 comments

YouTuber Says Cops Visited Him After He Built a Flock-Style Camera to Track Cops

https://gizmodo.com/youtuber-says-cops-paid-him-a-visit-after-he-built-flock-style-camera-to-trac...
566•gumby•11h ago•307 comments

Our $445M Series D

https://oxide.computer/blog/our-445m-series-d
655•ahlCVA•19h ago•295 comments

The role of cat eye narrowing movements in cat–human communication (2020)

https://www.nature.com/articles/s41598-020-73426-0
80•bushwart•3d ago•34 comments

Communication Between the Compiler, the Build System, and Beyond

https://shrub.industries/words/problem.html
13•shrub900•3d ago•2 comments

'Wallace and Gromit,' 90% Alone

https://animationobsessive.substack.com/p/wallace-and-gromit-90-alone
205•vinhnx•19h ago•25 comments

Atari Falcon

https://atarimuseum.nl/atari-falcon/
50•debo_•10h ago•17 comments

Sorry, I'm in a meeting

https://iminafleeting.com/
892•splintersio•23h ago•250 comments

Show HN: The rarest tech books and docs you've probably never read

https://readrare.com/
124•miletus•15h ago•48 comments

100+ reactions to 100+ solutions

https://proofsandprompts.com/2026/10/08/100-reactions-to-100-solutions/
69•jacobedawson•20h ago•62 comments

Programming Isn't Special

https://blog.glyph.im/2026/10/programming-isnt-special.html
208•ingve•1d ago•231 comments
Open in hackernews

How async/await works in Python (2021)

https://tenthousandmeters.com/blog/python-behind-the-scenes-12-how-asyncawait-works-in-python/
61•sebg•1y ago

Comments

quentinp•1y ago
While it stays at the Python level, https://github.com/AndreLouisCaron/a-tale-of-event-loops really helped me to understand how asyncio and Trio are implemented. I had no idea how sleeps worked before reading that post.
incomingpain•1y ago
Page didnt load for me.

https://realpython.com/async-io-python/

Multiprocessing all the way!

emmelaich•1y ago
(2021)

Good article!

punnerud•1y ago
A more simplified version:

Synchronous code is like a single-lane road where cars (tasks) must travel one after another in perfect sequence. If one car stops for gas (waiting for I/O), every car behind it must stop too. While orderly and predictable, this creates massive traffic jams as tasks wait unnecessarily for others to complete before they can proceed.

Pure asynchronous code (with callbacks) is like dispatching multiple cars onto independent routes with no coordination. Cars move freely without waiting for each other, but they arrive at unpredictable times and following their progress becomes chaotic. It's efficient but creates a complex tangle of paths that becomes hard to maintain.

Async/await combines the best of both approaches with a multi-lane highway system. Cars follow clear, synchronous-looking routes (making code readable), but only wait at strategic "await" exit ramps when truly necessary. When a car needs data, it signals with "await", pulls off the highway temporarily, and other cars continue flowing past. Once its operation completes, it merges back into traffic and continues. This gives you the logical simplicity of synchronous code with the performance benefits of asynchronous execution - cars only wait at crossroads when they must, maximizing throughput while maintaining order.

The genius of async/await is that it lets developers write code that looks sequential while the runtime handles all the complex traffic management under the hood.

explodes•1y ago
Excellent write up. I appreciate the level of details here showing the history from the days of old, before async/await were even keywords.
bilsbie•1y ago
How does the GIL come into play here?
punnerud•1y ago
GIL is like a "red-cap" on the head for the CPU-core running the task, so you would not be able to run true Async without GIL. Have to hand the "red-cap" back, for the next task.

Instead of using a global lock ("red-cap"), Python objects have introduced a specialized reference counting system that distinguishes between "local" references (owned by a single thread) and "shared" references (accessed by multiple threads).

In that way enabling to remove GIL in the long run, now starting with making it optional.