There was a young coder whose hacks
His manager often claimed lacked
The requisite clarity
For to clamp vars would he:
Math.min(Math.max(number, min), max);
TIL the U.K.’s Supreme Court counts as government department, albeit one without a minister[1]
I see the world hasn’t much moved on from Victorian sawdust — https://www.theguardian.com/world/2020/oct/01/irish-court-rules-subway-bread-is-not-bread
Good on you California for facilitating this, but wow America, clandestine operations for disposing of dangerous chemicals just because climate change is so political! (Planet Money — Sell me your climate bombs)[https://pca.st/episode/09430109-ccdb-46a5-b2f6-bf49b2c58f12]
2020, the year walking around one’s garden is enough to get a biopic — https://www.theguardian.com/film/2020/sep/23/captain-tom-moore-signs-film-deal-for-biopic
Nihilistic Password Security Questions https://www.schneier.com/blog/archives/2020/09/nihilistic-password-security-questions.html
"When you browse Instagram and find former Australian Prime Minister Tony Abbott's passport number" by Alex Hope https://mango.pdf.zone/finding-former-australian-prime-minister-tony-abbotts-passport-number-on-instagram
One of the most entertaining security stories I've read. Let's hope the author finds some more security vulnerabilities so we can enjoy more fun writeups like this.
“What’s our message going forward?” Mr. Ness said. “What’s going to stick with those young people and make them support oil and gas?”[1] Nothing. How can you possibly be so ignorant and delusional of the world today? https://www.nytimes.com/2020/09/12/climate/methane-natural-gas-flaring.html
Just seen a genuinely beautiful bit of Web design. The content and just the content, minimally framed. https://eu.usatoday.com/story/opinion/2020/09/04/trump-and-stars-and-stripes-attacking-american-icon-column/5706859002/
I don't think it can have been more than about a year since I discovered Firefox's "Reader" mode, and in that relatively short time I have gotten to the point that, when I'm on my phone at least, I instinctively check for whether the icon is available on every single site and hit it the moment I see it, even if the page in question hasn't yet loaded/rendered to the point where I can even assess it's readability. I just do it, because I have literally never once seen a single case where switching to Reader mode made the site *less* usable on a mobile. Not even once. I guess this shouldn't surprise me - nobody would have gone through the trouble of writing the feature if it didn't work well. But what does it say that we have gotten to the point where its of real practical value to automate the process of routinely throwing away the entire product of the web design industry?
“They envisage that “Akoin”, a cryptocurrency founded by the R&B star, would be the central currency.”[1] — someone please explain to me how the word “cryptocurrency” isn’t just a synonym for snake oil already
2020 might seem bad, but at least the world isn’t covered in a volcanic fog
https://www.sciencemag.org/news/2018/11/why-536-was-worst-year-be-alive
Chromium automatically issues DNS lookups for 3 randomly generated domains on every startup and change of network.
Turns out this "adds up to a whopping half the total load on the root DNS servers… 60 billion bogus queries every day." Oops.
Software engineer by trade. Programmer by hobby too (in addition to basketry and spoon carving). Personal website: https://rlamacraft.uk/. Gemini capsule: gemini://gemini.rlamacraft.uk