More from videah's blog
Plex has this Relay feature that basically pipes your traffic through their servers if direct access isn't possible for whatever reason, bypassing NAT and presumably cutting down on their support tickets. For free users the relay is capped at a measly 1 Mbps and the [ever-growing expense that is the Plex Pass subscription service only bumps this up to a whopping 2 Mbps. I can imagine this being useful for a selection of people. But as this feature is turned on by default, it's very easy for any issues with your server's network configuration to go unnoticed. It turns out my port-forwarding rule for Plex hadn't been working for several months (thanks Ubiquiti) and I never noticed because the relay feature was masking the problem. So... you're telling me Plex isn't meant to be almost unusably slow this whole time...? It doesn't help that the remote-access configuration UI has been very buggy for 6+ years, making it impossible to tell if the issue is with your server or the broken interface. So please don't make the same mistakes as me. Make sure your Plex client is actually connecting to your server directly, and use a Port Forward Checker.
Credits / Attribution Some of the art used around this blog are by other people. Here is a list of them: Smug Videah by Kelevtov Rantsona Sidebar Videah by ScruffKerfluff Callout Pixel Art Videah by lockedsdcard Videah Mutant Standard Emoji by Caius Nocturne
Whilst implementing Web Push notifications for my toy Q&A service curiouswolf I ran into an issue that led to me being stumped for hours. I was successfully receiving notifications from my server when using Chrome, but no matter what Safari was not playing ball. Web Push requires the browser maintainers to run a notification endpoint. For example, when you use Google Chrome and you enable notifications on a page, your encrypted notifications get funneled through a server Google controls. In the case of Safari however, their endpoint was returning BadJwtToken for me despite it being considered valid by Google. The Solution It turns out that Apple (and Mozilla apparently) require you to include a sub claim in your JWT with a method of contact (such as an email) for them to consider it valid. If you are providing an email, the sub claim should be prefixed with mailto: { "sub": "mailto:[email protected]", // <-- The important part "aud": "https://web.push.apple.com", "exp": "1680135079" } The reasoning behind this is to provide the operator of the endpoint with a means of contacting you if there's an issue. However, this technically goes against the Web Push spec, and it's frustrating that something like this isn't spelled out clearly in Apple or Mozilla's technical documentation. Notice the emphasis on the word MAY Apple quite regularly leave important information out of their docs for web APIs like this, but it's really messed up that the only place Mozilla talk about this is in a blog post from 2016.
Since things are uh... collapsing? I thought it'd be a good idea to finally get my blog up and running. Come in, get comfy and take a look around! Cozy right? Getting Started (Again) Ok admittedly, this is my 4th attempt at making a blog. This time I'm using Zola which is like Hugo or Jekyll but more Rust-y and less JavaScript-y. I can't make any comparisons beyond that because I haven't used either, but my initial impressions of Zola are good! The theme you're looking at I made from scratch using Tailwind which is the only way I can do frontend web stuff now. I wanted to move away from what I had been using in the past (Ghost) and have my blog sit in a git repo in plain text instead. How I currently have things set up means when I push any changes to the blog's GitHub repo an action runner will automatically build my site (in about 17ms!), compile Caddy, embed the site into the binary using caddy-embed (in... a lot more than 17ms!), then finally push it as an image to DockerHub. My server will then see this new image, hot-swap it, and start serving my blog straight from memory! Little Gremlin I hope you like my little rantsona in the sidebar! He took the longest to get working out of everything if you can believe it. I can disable him on a per-article basis, you don't have to worry about him 🤔-ing the more serious posts. You can't see him unfortunately (try looking at this page on a larger screen) but I hope you like my little rantsona in the sidebar! He took the longest to get working out of everything if you can believe it. I can disable him on a per-article basis, you don't have to worry about him 🤔-ing the more serious posts.
More in technology
A former Amazon engineer sees signs that the ‘six-pager’ documents used to promote good decision making are increasingly AI-generated and AI-read, and warns it’s not a positive development.
The greatest illusion is the belief that the illusory precision of the digital realm can magically distill complex dynamics down to "solutions" that strip us of understanding and agency. In reference to my recent post Our Vaunted Technology Is Rubbish, correspondent Bob Stark submitted this summary of the downsides of relying on metrics: "As a software engineer turned holistic product developer then social science + technology applied research scientist, I deeply agree with your point about human agency and socializing costs--when systems optimize narrow outputs while sidelining real-world consequences. That pattern shows up over and over whenever teams optimize for clean, easily measured proxies while pushing messy human trade-offs, maintenance burdens, and downstream externalities onto everyone else. Once people lose genuine agency over the systems shaping their daily lives, frustration and pushback aren't an anomaly--they're inevitable." (Bob's work can be found on Datagochi Labs and GitHub / Datagochi Labs.) I summarize this as: metrics don't replace judgment, and without judgment, there is no agency. Metrics--and the process of "solving problems" by optimizing metrics-- are a shortcut that offer the attractive clarity of easily digestible conclusions, but at the cost of everything that actually matters: an understanding of the trade-offs inherent in complex systems and actual control (i.e. agency) over these complex systems--and at the end of the chain, over our own lives. Here's an analogy of metrics aren't judgment. We're omnivores, so the human diet is extremely diverse. As a rule of thumb, a diverse diet serves us well, as exemplified by the Japanese tradition of consuming five colors of food every day (goshiki) as an easy visual guide to maintaining a varied diet. The optimizing metrics approach would be to calculate the calories of food by weight and optimize those foods that delivered the most calories per gram. The next optimization would be to measure the nutrient density of each food, and choose the most nutrient-dense foods. Lastly, foods that provide the optimum mix of nutrients would be selected. This checks all the boxes of optimizing metrics, but it leaves out taste and judgment. So the optimization says to eat cranberries with natto (fermented soy beans) without including the fact that this combination doesn't taste good. It also leaves out any judgment of what makes sense in terms of seasonality, cultural cuisines, cost and most importantly, what the individual might be hungry for as their bodies signal dietary deficiencies in nutrients that are reflected in desires for certain kinds of food. These two books explain these dynamics--dynamics that can't be "optimized" by wearing devices that measure a crude handful of metrics that don't provide a foundation for actual judgment and are therefore misleading, as they offer the illusion of precision. Eat Like The Animals: What Nature Teaches Us About the Science of Healthy Eating Nourishment: What Animals Can Teach Us about Rediscovering Our Nutritional Wisdom As Bob pointed out, relying on optimizing metrics to "solve problems" only generates larger problems that optimization can't solve because they're complex and demand judgment, not optimization. What this reduction of complexity and elimination of judgment ends up doing is pushing all the unmeasured--and often unmeasurable--downstream consequences onto society and the biosphere, while the optimizing metrics to "solve problems" just so happen to boost the profits of entities offloading the maintenance costs, risks and downstream consequences onto those with no say in how all this plays out. While the metrics mesmerize us with the illusion of precision and the illusion of "problems solved," our agency disappears. We've lost control of not only the systems that dominate our lives, but of a real-world understanding of all the downstream consequences of this reliance on crude, reductionist measures that are not just misleading, they're misreadings of reality that doom the system to model collapse. We're far past the point where pulling a few levers can fix what optimizing metrics have already dismantled. Judgment cannot be automated or replaced by metrics; there are no shortcuts to resolving difficult trade-offs and navigating complex dynamics in the human realm. The greatest illusion is the belief that the illusory precision of the digital realm can magically distill complex dynamics down to "solutions" that strip us of understanding and agency. My new book is now available: $12 for the print edition and $6 for the Kindle ebook. The Revolution No One Sees Coming read the first 4 chapters for free My new book: The Revolution No One Sees Coming ($18 print, Kindle $9) first 4 chapters (free) New collection of five intriguing stories: Jumble Bin Stories (Kindle $6, print $12) read samples for free (PDF) Subscribe to my Substack for free NOTE: Contributions/subscriptions are acknowledged in the order received. Your name and email remain confidential and will not be given to any other individual, company or agency. Thank you, Foster S. ($7/month), for your splendidly generous subscription to this site -- I am greatly honored by your support and readership. Thank you, David B. ($32), for your marvelously generous subscription to this site -- I am greatly honored by your support and readership. Thank you, Ky ($7/month), for your superbly generous subscription to this site -- I am greatly honored by your support and readership. Thank you, Oxky ($7/month), for your magnificently generous subscription to this site -- I am greatly honored by your support and readership. Go to my main site at www.oftwominds.com/blog.html for the full posts and archives.
In the 1960s, if you lived in Columbia, Missouri, you could pick up the telephone and dial “118,” and after a ring or two you could hear “Time and temperature, another service of Boone County National Bank. Time [7:59 a.m., for example], temperature [54, say] degrees.”
It’s wonderful that Mississippi elected a Black Senator for the first time since Hiram Revels in 1881. That in itself is awesome. It’s a step forward, as President Obama was. And once the firsts are out of the way, Colom can be Mississippi’s worst Black Senator.
They talk about how wonderful the Macintosh is and what software Microsoft was making for it.