frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

A 0.5s periodic hitch in my local screen stream turned out to be macOS AWDL

https://github.com/jo-duchan/tapflow
7•duchanjo•1h ago

Comments

duchanjo•1h ago
I recently built a self-hosted tool that streams an iOS/Android simulator to a browser.

Since everything was running on the same LAN, I expected the stream to feel almost local. It didn't.

About twice per second, the stream would freeze briefly and then catch up. The pattern was very consistent.

Bandwidth wasn't the issue, and CPU usage was low, so "the network is slow" wasn't the cause.

To investigate, I started pinging my router from the relay Mac with a very short interval:

`ping -i 0.01 <router-ip>`

The latency pattern was interesting. Most packets were fast, but every so often there was a spike of around 90 ms. The interval between those spikes matched the stutter in the stream almost exactly.

That was it.

It turned out to be AWDL (`awdl0`), the macOS interface used for AirDrop, AirPlay, and Handoff. When AWDL is active, macOS periodically switches Wi-Fi channels for a short time. During those channel hops, packets on the normal Wi-Fi connection can be delayed. In my case, the delay was roughly 90 ms.

After disabling AWDL (`sudo ifconfig awdl0 down`) or stopping the features that activate it, the stutter disappeared.

AWDL doesn't hop channels all the time. It usually becomes active when triggered by AirDrop discovery, AirPlay, or Bluetooth-based proximity features. If those stay idle, AWDL stays quiet.

I use Ethernet for the relay machine now. That completely removes the issue because the stream traffic never touches Wi-Fi.

Repo: github.com/jo-duchan/tapflow

Show HN: Taqta – Are.na-style visual boards for Obsidian

https://github.com/djakish/obsidian-taqta
1•wasdwasdwasd•34s ago•0 comments

Apple Internals: Swift in the Kernel – By Josh Maine

https://blog.calif.io/p/apple-internals-swift-in-the-kernel
1•rbanffy•1m ago•0 comments

Just because each item makes sense doesn't mean they make sense together

https://blog.osull.com/2026/06/22/just-because-each-item-makes-sense/
1•danosull•1m ago•0 comments

Scanned React source code: 659 security issues, one real GitHub token found

https://github.com/xiaohou2503687-design/guardrail
1•shipfastcli•1m ago•0 comments

A Bitter Lesson for Memory

https://personal-website-3bed.onrender.com/blog-viewer.html?slug=A%20Bitter%20Lesson%20for%20Memory
1•wenhan_zhou•1m ago•1 comments

Is Anyone Else Excited by Swift's Progress as a Language? – Fatbobman's Weekly

https://weekly.fatbobman.com/p/fatbobmans-swift-weekly-141
1•fatbobman•1m ago•0 comments

Stargazing

https://www.futilitycloset.com/2026/06/15/stargazing/
1•surprisetalk•2m ago•0 comments

JSON Inspector – an offline-first Chrome extension to view and query JSON

https://chromewebstore.google.com/detail/jstools-json-inspector/dkgnmlmlpipjoabeolnfnpkkfmcbcjmj
1•javatuts•2m ago•0 comments

Binance set to lose permission to operate in Europe

https://www.reuters.com/business/finance/binance-set-lose-eu-licence-bid-permission-offer-service...
1•darktoto•4m ago•0 comments

Squidbleed

https://blog.calif.io/p/squidbleed-cve-2026-47729
1•Tomte•6m ago•0 comments

SpaceX Shares Poised to Fall Again as US Market Reopens

https://www.bloomberg.com/news/articles/2026-06-22/spacex-shares-poised-to-slide-again-as-us-mark...
1•johnbarron•7m ago•0 comments

How to Fix Bay Area Transit [pdf]

https://ti.org/pdfs/BayAreaTransit.pdf
1•xnx•9m ago•0 comments

Show HN: Lockin – system-level distraction blocker controlled via text

https://www.lockinmcp.com
1•Kiog-Aser•9m ago•0 comments

I Shot Films for 30 Years. Now I'm Building Safety Systems for AI Agents

https://maref.org/blog/from-steadicam-to-agent-governance
1•Athena-maref•10m ago•0 comments

Resolving Uncertainty: A Unified Overview of Rabbinic Methods [pdf]

https://u.cs.biu.ac.il/~koppel/rov-25.5.pdf
2•FergusArgyll•12m ago•0 comments

When Diets Don't Work: Parents Turn to Wegovy for Elementary School Kids

https://www.wsj.com/health/wellness/when-diets-dont-work-parents-turn-to-wegovy-for-elementary-sc...
1•JumpCrisscross•12m ago•0 comments

Show HN: Bowora – A launchpad for build-in-public founders

https://bowora.com
1•Nimaaksoy•15m ago•0 comments

Show HN: Appareo – For when you know what you want to say but can't write it

https://www.appareo.ink/
2•ShaunakInamdar•17m ago•0 comments

You Have the Pieces. Now Build It

https://www.theidentityunderground.com/post/you-already-have-the-pieces-now-build-it
1•mooreds•17m ago•0 comments

Instagram sued over illegal gambling ads in the Nederland

https://nltimes.nl/2026/06/22/instagram-sued-illegal-gambling-ads-featuring-virgil-van-dijk-ronaldo
2•giuliomagnifico•19m ago•0 comments

Llama-dash – One go-to control plane for local inference

https://llama-dash.dev
1•ndom91•20m ago•1 comments

The Things We Share

https://codeplusconduct.substack.com/p/the-things-we-share
1•mooreds•21m ago•0 comments

How Accurate Is Professor Jiang?

https://predictivehistory.com/prediction-tracker/
2•mooreds•21m ago•1 comments

Any Sufficiently Large Lookup Table Must Be Conscious

https://julianrdcosta.substack.com/p/any-realizable-implementation-of
1•Anon84•23m ago•0 comments

Alan Greenspan, former chairman of the Fed, dies at age 100

https://www.cnbc.com/2026/06/22/alan-greenspan-former-chairman-of-the-fed-dies-at-age-100.html
3•jacquesm•24m ago•0 comments

Show HN: Nigel – A web-based assistant to navigate and alter Wikipedia

https://codingbutler.webfuse.com/
2•Salomeko•25m ago•0 comments

Nexus – AI teams that attack your business plan until weak assumptions collapse

https://nexussim.ai/
3•youngyankee•25m ago•0 comments

Meta to Address Low Employee Morale With Snacks

https://mashable.com/tech/meta-facebook-morale-employee-perks
2•dccoolgai•26m ago•0 comments

Show HN: Ze.sh – a z.sh-derived directory jumper that uses an event clock

https://github.com/jghub/ze
2•jghub•27m ago•0 comments

Ask HN: Can someone help me find HN post about 00s console emulation?

1•NooneAtAll3•28m ago•0 comments