frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Meta’s new commercial terms will allow the scraping of news sites: experts

https://www.niemanlab.org/2026/10/metas-new-commercial-terms-will-allow-the-scraping-of-news-site...
278•0in•9h ago•102 comments

Muse Spark Open

https://research.meta.ai/blog/muse-spark-open
802•bigwheels•15h ago•400 comments

New York City's iconic horse-drawn carriages expected to take their last trot

https://www.cnn.com/2026/10/13/us/nyc-horse-carriage-ban
35•1659447091•2d ago•21 comments

Woman who rescued injured crow keeps getting 'thank-you gifts' from birds [video]

https://www.youtube.com/watch?v=sjNpfz4UzqU
272•johnnyApplePRNG•3d ago•76 comments

The insider trading you're allowed to do

https://coached.com/essays/the-insider-trading-youre-allowed-to-do/
16•rohanm93•2h ago•6 comments

RPKI now protects 70% of internet routes

https://ipinfo.io/blog/rpki-protects-70-internet-routes
150•emot•8h ago•42 comments

The Folders Programming Language

https://danieltemkin.com/esolangs/folders
46•gurst•4h ago•7 comments

Neural networks are clean

https://already-clean.goodfire.com/
679•themgt•17h ago•248 comments

What I self-host

https://viceconsole.fyi/blog/2026/10/10/what-i-self-host/
474•BrunoBernardino•12h ago•295 comments

'500-hour' Order of the Sinking Star is as complex and exhausting as it sounds

https://www.polygon.com/order-of-the-sinking-star-impressions/
138•cvoss•2d ago•83 comments

Two-Stack Sliding-Window Aggregation

https://orlp.net/blog/two-stack-sliding-window-aggregation/
7•surprisetalk•2d ago•0 comments

New Withings Users Must Pay $99/Year for Apple Health Syncing

https://support.withings.com/hc/en-us/community/posts/51887047154577-Unacceptable-Apple-Health-Sy...
283•johnbehnke•13h ago•182 comments

Wayland desktop for Linux with skeuomorphic design

https://github.com/fyzugx/DEsk
604•FinalDestiny•19h ago•236 comments

Apple routed a graphite pipe through the iPhone Duo's hinge to dissipate heat

https://www.pcmag.com/news/apple-routed-a-graphite-pipe-through-the-iphone-duos-hinge
133•giuliomagnifico•3d ago•94 comments

Last rites for Gentoo's Chromium package

https://lwn.net/Articles/1097760/
54•signa11•4h ago•41 comments

Jev meets the Trolley Problem

https://zachlandes.com/trolley-problem/
449•zlandes86•16h ago•192 comments

BIPM decides to stop adding leap seconds to UTC

https://www.bipm.org/en/cgpm-2026/resolution-5
174•gliffie•17h ago•80 comments

Any window from your Mac, on your iPhone and iPad

https://github.com/Saffsanity/sill
141•chanana•7h ago•33 comments

The Economic Complexity of the Western Roman Empire

https://www.michelecoscia.com/?p=2613
6•mikk14•1d ago•0 comments

Someone on Torrent Sites Kept Fucking with My Sonarr

https://thereallo.dev/blog/someone-on-torrent-sites-kept-fucking-with-my-sonarr-setup
339•speckx•13h ago•151 comments

Celebrating 70 Years of Fortran

https://fortran-lang.org/news/2026/09-15-Fortran-birthday/
273•rbanffy•18h ago•111 comments

Krea 3 – An image model built for editing at scale

https://www.krea.ai/krea-3
307•dvrp•17h ago•98 comments

Comparing Chromium Development at Google and Igalia

https://lwn.net/Articles/1094721/
44•signa11•7h ago•15 comments

Thank You, Deno

https://www.vlt.io/blog/competition-keeps-javascript-moving
75•jcbhmr•8h ago•12 comments

Why I Wrote PGP (1991, revised 1999)

https://philzimmermann.com/EN/essays/WhyIWrotePGP.html
156•GaryBluto•2d ago•54 comments

Libreboot 26.10 "Ominous Olive" released with UEFI, Chromebook support

https://libreboot.org/news/libreboot2610.html
288•iamnothere•20h ago•173 comments

Delta’s Biscoff cookies were supposed to be temporary

https://www.seriouseats.com/biscoff-history-12168161
220•mhb•2d ago•172 comments

Major ICQ security hole (1998)

https://opennet.ru/base/maillist/169.txt.html
84•sysoleg•2d ago•48 comments

Using AI to reverse engineer hardware

https://blogs.gnome.org/uraeus/2026/10/15/aiandreverseengineerhardware/
189•ErenayDev•18h ago•172 comments

BeBox is a Haiku application that emulates Be Inc.'s BeBox

https://github.com/johnrash/bebox
59•rguiscard•9h ago•15 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.