frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Make your first edit to OpenStreetMap

https://high5apps.github.io/josm-plugin-website-wizard/
318•juliantigler•8h ago•75 comments

Real-SWE: Benchmarking AI models on private, real-world, enterprise codebases

https://withspecific.com/benchmarks/real-swe
105•theanonymousone•4h ago•59 comments

Nvidia is the central bank of AI

https://www.economist.com/interactive/briefing/2026/09/03/nvidia-is-the-central-bank-of-ai
386•tolugenius•10h ago•265 comments

Apple iPod Engraver (2019)

https://dunstanorchard.com/apple-ipod-engraver/
115•NaOH•3d ago•22 comments

Getting 50 GB/S Back from the Apple Neural Engine

https://eiln.github.io/posts/ane-dma.html
66•eiln•3d ago•11 comments

Stabilizing Rust's Never Type

https://lwn.net/SubscriberLink/1091015/d9e48318ed242b41/
126•cjd8•3d ago•31 comments

LG denies TV spying claims, says tracking and snooping concerns 'not true'

https://www.tomshardware.com/tech-industry/big-tech/lg-strongly-denies-tv-security-claims-says-tr...
429•datakan•2d ago•351 comments

IKEA made a mod for Skyrim [video]

https://www.youtube.com/watch?v=iZODN0QUgjI
558•kegenaar•2d ago•151 comments

We must pace the frontier

https://darioamodei.com/post/we-must-pace-the-frontier
535•apsec112•11h ago•755 comments

Will There Be a 7G?

https://arxiv.org/abs/2609.01877
82•Betelbuddy•8h ago•138 comments

I made a build visualizer to understand Bun's compile times

https://lalitm.com/post/buildprof/
91•lalitmaganti•10h ago•17 comments

Microcode in Intel's 8087 floating-point chip: the scale instruction

https://www.righto.com/2026/09/8087-microcode-reverse-engineering-fscale.html
88•pwg•9h ago•25 comments

Tree Calculus

https://olydis.medium.com/a-visual-introduction-to-tree-calculus-2f4a34ceffc2
9•MelonUsk•4d ago•1 comments

Linux Zoom client proactively reading everything written to X11 clipboard

https://hachyderm.io/@simontatham/117201594980991062
179•encyclopedism•6h ago•58 comments

LG Says We're Fake News [video]

https://www.youtube.com/watch?v=ToP9xfLDSME
153•HelloUsername•5h ago•59 comments

How Trail of Bits helps verify the integrity of Signal chats

https://blog.trailofbits.com/2026/08/11/how-trail-of-bits-helps-verify-the-integrity-of-your-sign...
52•dgroshev•13h ago•30 comments

I fixed a tractor using John Deere's self-repair service. Farmers aren't sold

https://www.wired.com/story/i-fixed-a-tractor-john-deere-self-repair-service/
102•sbulaev•1d ago•106 comments

Retrospectively Reverse-Engineering Apple's Neural Engine

https://eiln.github.io/posts/ane.html
222•zdw•17h ago•31 comments

Android NAT-T keepalive offload bypasses VPN lockdown

https://supuk.ch/papers/android-natt-keepalive-vpn-bypass
173•mhitza•1d ago•44 comments

A Mathematical Framework for Transformer Circuits (2021)

https://transformer-circuits.pub/2021/framework/index.html
83•Bluestein•11h ago•17 comments

Eating Fruit Skins

https://pgadey.ca/blog/eating-fruit-skins/
81•surprisetalk•3d ago•173 comments

Performance of WebAssembly Runtimes in 2026

https://00f.net/2026/06/23/webassembly-runtimes-2026/
90•fagnerbrack•3d ago•20 comments

The Magic Behind Cubacadabra

https://andrewarrow.dev/2026/moon/2/day/19/the-magic-behind-cubacadabra/
11•andrewfromx•2d ago•3 comments

A Design Space Exploration of Async/Await

https://cel.cs.brown.edu/blog/design-space-async-await/
423•wcrichton•3d ago•123 comments

λ Snap – An inviting programming language for kids and adults for CS study

https://snap.berkeley.edu/
176•dr_kiszonka•1d ago•112 comments

The worst spam emails: iLands AI agent hustle

https://tedium.co/2026/09/11/ilands-agents-email-spam-kaixin-tang/
103•ColinWright•13h ago•49 comments

LRU is harder to beat than the KV-cache papers suggest

https://github.com/gauravapiscean/agentic-kv-cache
100•gauravapiscean•2d ago•47 comments

google.com/goto: Google's anti-scraping update

https://www.autom.dev/blog/google-search-goto-links
631•1e1a•21h ago•488 comments

How we manage and engage with our horses shapes their personality

https://www.utu.fi/en/news/press-release/how-we-manage-and-engage-with-our-horses-shapes-their-pe...
36•thunderbong•2d ago•14 comments

A misalignment of AI in mathematics

https://mathandai.org/
1179•meredydd•1d ago•1139 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.