frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: async-anywhere, a Python library for crossing between async/sync code

1•zbentley•7m ago
Python's asyncio ecosystem, especially its tools for crossing between asynchronous and blocking code, is broken in some frustrating ways.

I made a library, "async-anywhere", to help with a few common issues in this area. It contains:

1. AwaitableFuture, a future which can be blocked on or awaited, from anywhere, any number of times.

2. EventLoopExecutor, a worker backed by a single thread that runs async code on a captive event loop, and produces AwaitableFutures for interacting with jobs.

3. StateTracker, a simple state machine which allows observers to wait on and react to state transitions from anywhere.

Those primitives are fork-safe, thread-safe, competitively performant, do cancellations in a sane way, and handle many different async/sync/threaded contexts and assumptions well.

Docs: https://async-anywhere.readthedocs.io

Source: https://github.com/zbentley/async-anywhere

Rationale/blog post: https://blog.zacbentley.com/post/async-anywhere/

Berkshire Hathaway Announces the Passing of Warren E. Buffett

https://www.businesswire.com/news/home/20261201817704/en/Berkshire-Hathaway-Announces-the-Passing...
1•wizerno•1m ago•0 comments

Authorities need more tools to help unhoused Californians who don't want help

https://www.latimes.com/opinion/story/2026-11-12/unhoused-californians-mental-illness
1•rmason•2m ago•1 comments

Cryptography Incident Review Group Review Group Review Group Review Group

https://cirgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrg.org/
2•denysvitali•4m ago•1 comments

No polynomial-time 7/8-approx. algorithm for MAX SAT, assuming UGC and P ≠ NP

https://arxiv.org/abs/2611.38240
1•amichail•4m ago•0 comments

Is This Working?

https://www.theverge.com/cs/features/1038425/human-resources-conference-hr
1•hn-aarvin•4m ago•0 comments

Proactive, Persistent, Personal and Professional Agents in Agent Commerce

https://kenhuangus.substack.com/p/the-4p-agent-proactive-persistent
1•mooreds•5m ago•0 comments

Warren Buffett, the billionaire sage of investing, dies at age 96

https://www.cnbc.com/2026/12/01/warren-buffett-dies-at-age-96.html
12•United857•5m ago•0 comments

Elevating Afghan-American Voices

https://www.afghanamericans.org
1•mooreds•5m ago•0 comments

Acast to Acquire LibSyn

https://investors.acast.com/press-releases/acast-to-acquire-podcast-pioneer-libsyn-creating-the-l...
1•mikehall314•6m ago•0 comments

Show HN: async-anywhere, a Python library for crossing between async/sync code

1•zbentley•7m ago•0 comments

BetterStack launches cloud, 10x cheaper than AWS

https://betterstack.com/cloud
1•agilek•9m ago•0 comments

Nvidia Announces Linux Support for RTX Spark on Ubuntu and Omarchy

https://blogs.nvidia.com/blog/local-ai-openshell-rtx-spark-gtc-dc/
1•cromka•11m ago•3 comments

Border Cops Seize Nurse's Phone Filled with Psychiatric Patient Information

https://reason.com/2026/10/22/border-cops-seize-nurses-phone-filled-with-psychiatric-patient-info...
1•g-b-r•12m ago•0 comments

Ask HN: Is anyone using voice for AI prompts?

1•Sheeny96•13m ago•0 comments

How Jensen Huang's opening statement is carefully caveated

https://www.cnn.com/2026/12/01/politics/live-news/jensen-huang-testimony-nvidia
2•MilnerRoute•13m ago•0 comments

Tracing Nazi-seized art using Gemini 4, and other things historians can do now

https://resobscura.substack.com/p/tracing-nazi-seized-artworks-using
1•benbreen•13m ago•0 comments

Technologists to create copy of GSA web design system amid AI-driven takeover

https://www.nextgov.com/digital-government/2026/10/technologists-create-trustworthy-copy-gsa-web-...
2•stefankuehnel•13m ago•0 comments

Show HN: Run any coding agent in our own cloud from your phone (OSS)

https://github.com/plexe-ai/pocketeng
1•vaibhavdubey97•17m ago•0 comments

Show HN: TinyTPA – A living miniature of Tampa International Airport

https://tinytpa.com
3•crisopolis•18m ago•0 comments

The Next Step for Reactive Media

https://medium.com/@luis.johannes.arnold/the-next-step-for-reactive-media-68c846c107da
1•Zugzwangstudios•19m ago•0 comments

I built wumbl., a cozy Mac dashboard with ambient sounds, tiny games

https://wumbl.app/
1•TheCozyDev•20m ago•0 comments

A Closer Look at Claude's Mac "Apps" – MacStories

https://www.macstories.net/stories/a-closer-look-at-claudes-mac-apps/
1•tortilla•20m ago•0 comments

Impact of a Smartwatch Hypertension Notification Feature for Screening

https://jamanetwork.com/journals/jama/fullarticle/2844767
1•brandonb•21m ago•0 comments

The Cube Rule

https://cuberule.com/
1•ThatCaio•24m ago•0 comments

Nvidia VP Who Is Said to Have Had Affair with Huang Is on Leave

https://www.bloomberg.com/news/articles/2026-12-01/nvidia-vp-who-is-said-to-have-had-affair-with-...
3•petethomas•24m ago•0 comments

Ask HN: What do you do when you're waiting for your agents to finish running?

1•g-unit33•26m ago•0 comments

Bel-0 is the first end-to-end encrypted LLM

https://bel.belfortlabs.com/about/how-bel-0-works
2•cpeterso•26m ago•1 comments

At least 125,000 files stolen from Global Affairs Canada system in cyberattack

https://www.cbc.ca/news/canada/livestory/cyberattack-canadian-federal-government-black-october-ai...
2•fidotron•27m ago•0 comments

I built my own arc, you can use it too:)

https://www.getradium.io/
1•samlembke•28m ago•0 comments

Show HN: Meridian Charts – Generate PlantUML Diagrams Using AI

https://drawmeridiancharts.com/
1•kjx656•29m ago•0 comments