frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

GitLost: We Tricked GitHub's AI Agent into Leaking Private Repos

https://noma.security/blog/gitlost-how-we-tricked-githubs-ai-agent-into-leaking-private-repos/
143•ColinEberhardt•3h ago•42 comments

How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)

https://neil.computer/notes/how-to-setup-minimal-zfs-nas-without-truenas/
175•4diii•4h ago•103 comments

Tenda firmware (multiple versions) contains hidden authentication backdoor

https://kb.cert.org/vuls/id/213560
190•miniBill•8h ago•56 comments

Copy That Floppy – Cambridge guide for preserving data from fragile floppy disks

https://www.digipres.org/the-floppy-guide/
62•whiteblossom•5h ago•14 comments

Structure and Interpretation of Computer Programs Video Lectures (1986)

https://ocw.mit.edu/courses/6-001-structure-and-interpretation-of-computer-programs-spring-2005/v...
158•gjvc•8h ago•16 comments

GAO: DOE Is Prematurely Excluding Less Expensive Options for Nuclear Cleanup

https://www.gao.gov/products/gao-26-108193
198•Jimmc414•10h ago•95 comments

Chat Control 1.0 and 2.0 Explained

https://fightchatcontrol.eu/chat-control-overview
634•gasull•18h ago•221 comments

Canada's only watchmaking school still ticking after 80 years

https://www.cbc.ca/news/canada/montreal/canada-s-only-watchmaking-school-9.7254211
134•throw0101a•3d ago•65 comments

Local, CPU-Friendly, High-Quality TTS (Text-to-Speech) with Kokoro

https://ariya.io/2026/03/local-cpu-friendly-high-quality-tts-text-to-speech-with-kokoro/
398•speckx•14h ago•78 comments

The difference between "today's task" and "accretive work"

https://pluralistic.net/2026/07/02/canonization/
40•hn_acker•5d ago•25 comments

LineageOS Statistics

https://stats.lineageos.org
77•pentagrama•7h ago•37 comments

30papers.com – Ilya's 30 essential ML papers, in a beginner friendly format

https://30papers.com/
505•notmcrowley•16h ago•77 comments

Home made GPU escalated quickly [video]

https://www.youtube.com/watch?v=qMR3IXF2sWw
26•erichocean•2d ago•0 comments

Herdr: One terminal to rule them all

https://herdr.dev/
268•handfuloflight•6d ago•120 comments

Show HN: Davit, a Apple Containers UI

https://davit.app
301•xinit•14h ago•68 comments

GPT-5.6 Sol, along with Terra and Luna, will launch publicly this Thursday

https://twitter.com/OpenAI/status/2074704958419792299
181•jfrbfbreudh•4h ago•127 comments

Show HN: Rowboat – Open-source, local-first alternative to Claude Desktop

https://github.com/rowboatlabs/rowboat
157•segmenta•16h ago•42 comments

l: A new runtime for k and q

https://lv1.sh/
141•skruger•14h ago•83 comments

Scheme Is a Hoot

https://gracefulliberty.com/notes/scheme-is-a-hoot/
73•signa11•2d ago•11 comments

IEEE Rolls Out Large Language Models Training Course

https://spectrum.ieee.org/large-language-models-ieee-course
70•JeanKage•1w ago•10 comments

Show HN: Chiptune Radio

https://chiptune-radio.alephvoid.com/
47•bootbloopers•8h ago•9 comments

Every new car sold in the European Union must include a driver monitoring camera

https://allaboutcookies.org/eu-mandatory-distracted-driver-system
619•nickslaughter02•12h ago•774 comments

Show HN: Neil the Seal Game

https://neiltheseal.app/
55•dalemhurley•2d ago•41 comments

Jim's TrueType QR Code Font

https://github.com/jimparis/qr-font
176•arantius•16h ago•22 comments

We're extending access to Fable 5 on all paid plans through July 12

https://twitter.com/claudeai/status/2074548242386178258
181•minimaxir•15h ago•185 comments

Automate Excel with Python: From manual grind to one-click workflow

https://nostarch.com/automate-excel-with-python
6•teleforce•3d ago•3 comments

Why we built yet another Postgres connection pooler

https://pgdog.dev/blog/why-yet-another-connection-pooler
184•levkk•17h ago•43 comments

StreetComplete: Fixing OpenStreetMap, one tiny quest at a time

https://streetcomplete.app/
756•kls0e•20h ago•182 comments

Notes on Software Quality

https://anthonyhobday.com/blog/20260410
124•speckx•14h ago•52 comments

Out of the Armchair

https://literaryreview.co.uk/out-of-the-armchair
6•Thevet•6d ago•0 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.