frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

An OpenAI model has disproved a central conjecture in discrete geometry

https://openai.com/index/model-disproves-discrete-geometry-conjecture/
1154•tedsanders•14h ago•840 comments

GitHub confirms breach of 3,800 repos via malicious VSCode extension

https://www.bleepingcomputer.com/news/security/github-confirms-breach-of-3-800-repos-via-maliciou...
833•Timofeibu•19h ago•345 comments

Vivaldi 8.0

https://vivaldi.com/blog/vivaldi-on-desktop-8-0/
117•OuterVale•2h ago•51 comments

Show HN: I reverse engineered Apple's video wallpapers

https://github.com/kageroumado/phosphene
278•kageroumado•9h ago•59 comments

Haskell Foundation 2026 Update

https://discourse.haskell.org/t/haskell-foundation-2026-update/14136
114•azhenley•7h ago•32 comments

Show HN: Rmux – A programmable terminal multiplexer with a Playwright-style SDK

https://github.com/helvesec/rmux
5•shideneyu•20m ago•0 comments

New features in GCC 16: Improved error messages and SARIF output

https://developers.redhat.com/articles/2026/04/28/gcc-16-improved-error-messages-sarif-output
78•siteshwar•2d ago•10 comments

The Letter S, by Donald Knuth (1980) [pdf]

https://gwern.net/doc/design/typography/1980-knuth.pdf
165•bambax•9h ago•21 comments

Typewise (YC S22) Is Hiring an AI Growth Engineer (Zurich or Remote)

https://www.ycombinator.com/companies/typewise/jobs/HmCzfBK-ai-growth-engineer
1•janisberneker•1h ago

DOS Zone

https://dos.zone/
256•rglover•10h ago•53 comments

Flipper One Tech Specs

https://docs.flipper.net/one/general/tech-specs
372•gregsadetsky•15h ago•133 comments

Anthropic is expanding to Colossus2. Will use GB200

https://twitter.com/nottombrown/status/2057194829986300375
200•aurareturn•12h ago•178 comments

All the bugs they found

https://andreapivetta.com/posts/all-the-bugs-they-found.html
22•ziggy42•1d ago•4 comments

How fast is N tokens per second really?

https://mikeveerman.github.io/tokenspeed/
414•hexagr•3d ago•80 comments

Archaeologists find Egyptian mummy buried with the 'Iliad'

https://www.openculture.com/2026/05/archaeologists-discover-ancient-egyptian-mummy-buried-with-pa...
136•diodorus•5d ago•94 comments

Simulating Infinity in Conway's Game of Life with Modern C++

https://ryanjk5.github.io/posts/GOLDE/
32•HeliumHydride•2d ago•4 comments

What is a Demand Coop

https://cahootzcoops.com/blog/what-is-a-demand-coop
61•DeonRob•8h ago•60 comments

OpenAI Is Preparing to File for an IPO Soon

https://www.wsj.com/tech/ai/openai-is-preparing-to-file-for-an-ipo-very-soon-0ec95af5
86•louiereederson•17h ago•217 comments

Your Most Improbable Life

https://kevinkelly.substack.com/p/your-most-improbable-life
106•jger15•2d ago•70 comments

Saying goodbye to asm.js

https://spidermonkey.dev/blog/2026/05/20/saying-goodbye-to-asmjs.html
376•eqrion•21h ago•145 comments

Reviving old scanners with an in-browser Linux VM bridged to WebUSB over USB/IP

https://yes-we-scan.app/details
74•gmac•2d ago•27 comments

Numexpr: Fast numerical array expression evaluator for Python, NumPy, Pandas

https://github.com/pydata/numexpr
5•tosh•2d ago•0 comments

Show HN: I made a tactical map-based WWII submarine simulator (public beta)

https://silentshark.app/alpha/
41•epaga•2d ago•13 comments

The Interview That Ships to Production: replacing whiteboards with pull requests

https://www.angellist.com/blog/the-interview-that-ships-to-production
25•asimov4•2d ago•7 comments

Recreate famous water profiles using supermarket bottled water

https://www.waterdictionary.net
44•smugglerFlynn•2d ago•25 comments

Google’s AI is being manipulated. The search giant is quietly fighting back

https://www.bbc.com/future/article/20260519-google-tackles-attempts-to-hack-its-ai-results
312•tigerlily•22h ago•193 comments

Intuit to lay off over 3k employees to refocus on AI

https://techcrunch.com/2026/05/20/intuit-to-lay-off-over-3000-employees-to-refocus-on-ai/
190•wapasta•9h ago•140 comments

A Markdown-based test suite

https://blogsystem5.substack.com/p/markdown-based-test-suite
40•zdw•2d ago•9 comments

Qian Xuesen: The missile genius America lost and China gained (2025)

https://www.usni.org/magazines/naval-history/2025/december/missile-genius-america-lost-and-china-...
174•thnaks•15h ago•90 comments

The famous O3 "GeoGuessr" prompt did not work

https://www.seangoedecke.com/the-o3-geoguessr-prompt-did-not-work/
12•ingve•49m 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.