There’s a common programming interview question that asks you to find the single non-duplicated value in a list of duplicated integers. This can be done in O(n) time and O(1) space by XOR’ing the values, and doing so is almost always the wrong answer. A better solution when you can afford to do it is to use a hash table to count occurrences.
HTTP “Timeout” header for requesting resources from the future
Background
I’ve been participating in MPEG’s DASH group, and currently a lot of work has been focused on reducing live streaming latency. The latency problem in DASH is that clients have to poll servers to check for new media segments. If they poll too slowly, it introduces latency, but if they poll too quickly, it increases server load. When MPD’s are dynamic, a client needs to poll the server until it finds a new MPD, then request newly available segments, then only after the segment has downloaded enough to start, it can continue playback.
My RSS Reader is Done
I posted a few months ago about vibe-coding an RSS reader. The mood on the internet seems to be that these apps are buggy and never get finished, so I figured it was worth posting an update. Another thousand commits later, Lion Reader supports every feature I care about, works reliably, has very good performance, and is open for public signups.

Benefits of Psyllium Dietary Fiber in Particular
Psyllium husk is a non-fermenting (no gas or bloating) soluble dietary fiber that improves both constipation and diarrhea (such as with IBS), normalizes blood sugar, reduces LDL (“bad”) cholesterol, and can help with weight loss. Each type of dietary fiber has different effects, and a “high fiber” diet in general won’t necessarily provide the same benefits, especially for conditions like Irritable Bowel Syndrome.
If you’re not a morning person, consider quitting allergy pills
This is probably obvious to a lot of people, but I thought it still might be useful since I didn’t think of it myself for years. Since sometime in college, I’ve been the kind of person who wakes up groggily at 10 am and then drags myself out of bed. I’ve always been a late sleeper so I didn’t think much about it, but when I stopped taking allergy pills, I fairly quickly became someone who woke up around 8:30 am without much effort (still not early but not crazy-late).