Show HN: Where Were We
Where Were We is a photo-guessing game where players identify when and where each picture was taken. Users can create shareable photo rolls, which automatically delete after 30 days. (wherewerewe.app)
A real-time voice call is presented as a stream of small, time-sensitive packets, rather than as one continuous audio file. A typical packet carries 20 milliseconds of sound, sent 50 times per second. At 48 kHz, that slice contains 960 audio samples: 1,920 bytes as raw PCM, compressed by Opus to 80 bytes at a constant 32 kb/s. IPv4, UDP and RTP add another 40 bytes, making a 120-byte packet. The walkthrough decodes a sample packet layer by layer: IP identifies the destination machine, UDP selects the receiving program, and RTP identifies the audio stream, codec, packet order and sampling time. RTP’s timestamp advances by 960 for each 20 ms slice.
The central argument is that audio packets have deadlines, so reliable delivery is not always useful. A receiver buffers packets briefly to smooth out jitter, then plays each at a fixed time; a packet arriving after its playout deadline is effectively lost, even if it reached the machine. UDP does not resend missing data or enforce ordering, allowing later audio to continue. RTP sequence numbers reveal gaps, and the decoder can fill them with an approximation. TCP, which carries WebSockets, instead guarantees ordered delivery: if one packet is lost, later bytes wait behind it until retransmission succeeds. This head-of-line blocking can make several audio packets late, turning one network loss into a longer interruption. A deterministic example models 20 ms frames, a 30 ms one-way trip and a 40 ms jitter buffer to illustrate the timing.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.
Where Were We is a photo-guessing game where players identify when and where each picture was taken. Users can create shareable photo rolls, which automatically delete after 30 days. (wherewerewe.app)
OpenAGPS is an early-stage open-source assisted GNSS project designed to work with SUPL-compatible devices while reducing location-data sharing with service providers. It plans to use crowdsourced satellite data as a private alternative to corporate services such as Google’s SUPL. (openagps.net)
XMPP and Matrix can be difficult to recommend as SMS alternatives because their apps often feel clunky and cross-platform group chats lack features. A developer asks what has persuaded families and friends to adopt them despite these usability problems. (news.ycombinator.com)
A mail operator reported Microsoft rejecting messages with a 550 error when the sender domain lacked a DMARC record, despite valid SPF and DKIM. They asked whether Microsoft has begun requiring DMARC broadly or is targeting specific senders. (list.sys4.de)
Port 0 is a reserved networking port, not a port used by a normal service. In socket programming, binding to port 0 tells the operating system to assign an available ephemeral port. (acid.vegas)
Bong is an open-source, self-hosted alternative to DuckDuckGo bangs, with 61 shortcuts for searching and navigating popular sites. Users enter a shortcut to send their query directly to services such as GitHub, Wikipedia, and YouTube. (bong.glendalab.com)
Today's best Hacker News stories, summarized and screenshotted, one email a day.