Journal 3037 Links 10191 Articles 84 Notes 7307
Thursday, February 15th, 2024
Apple on course to break all Web Apps in EU within 20 days - Open Web Advocacy
I don’t like to assume the worst and assign vindictitive motives to people, but what Apple is doing here is hard to read as anything other than petulant and nasty …and really, really bad for users.
If you’ve ever made a progressive web app, please fill in this survey.
Wednesday, February 14th, 2024
Wednesday session 🪕🎻
Tuesday, February 13th, 2024
Tuesday session
Monday, February 12th, 2024
The German word for that pleasurably smug but slightly wistful feeling you get when you use the dfn element in a web page in 2024.
Federation syndication
I’m quite sure this is of no interest to anyone but me, but I finally managed to fix a longstanding weird issue with my website.
I realise that me telling you about a bug specific to my website is like me telling you about a dream I had last night—fascinating for me; incredibly dull for you.
For some reason, my site was being brought to its knees anytime I syndicated a note to Mastodon. I rolled up my sleeves to try to figure out what the problem could be. I was fairly certain the problem was with my code—I’m not much of a back-end programmer.
My tech stack is classic LAMP: Linux, Apache, MySQL and PHP. When I post a note, it gets saved to my database. Then I make a curl request to the Mastodon API to syndicate the post over there. That’s when my CPU starts climbing and my server gets all “bad gateway!” on me.
After spending far too long pulling apart my PHP and curl code, I had to come to the conclusion that I was doing nothing wrong there.
I started watching which processes were making the server fall over. It was MySQL. That seemed odd, because I’m not doing anything too crazy with my database reads.
Then I realised that the problem wasn’t any particular query. The problem was volume. But it only happened when I posted a note to Mastodon.
That’s when I had a lightbulb moment about how the fediverse works.
When I post a note to Mastodon, it includes a link back to the original note to my site. At this point Mastodon does its federation magic and starts spreading the post to all the instances subscribed to my account. And every single one of them follows the link back to the note on my site …all at the same time.
This isn’t a problem when I syndicate my blog posts, because I’ve got a caching mechanism in place for those. I didn’t think I’d need any caching for little ol’ notes. I was wrong.
A simple solution would be not to include the link back to the original note. But I like the reminder that what you see on Mastodon is just a copy. So now I’ve got the same caching mechanism for my notes as I do for my journal (and I did my links while I was at it). Everything is hunky-dory. I can syndicate to Mastodon with impunity.
See? I told you it would only be of interest to me. Although I guess there’s a lesson here. Something something caching.
I’ve spent a nice afternoon tinkering with my websites.
Now it’s time to play some mandolin.
Sunday, February 11th, 2024
Sunday session
Blade Runner, Tron, E.T., Wargames, The Terminator, and Brazil were all released closer to World War Two than to the present day.
Saturday, February 10th, 2024
Miniver Cheevy: Decision-based evidence-making
My presumption that one should examine evidence before reaching a conclusion, rather than using it to support a conclusion, was not even an idea they could understand well enough to reject.
I am not against trying to be persuasive. That is a necessary art. But I was shaken they could not conceive of any use of information other than persuasion.
I think about AI like I do Plastics. | Apple Annie’s Microblog
I want to say one word to you. Just one word. Are you listening? Plastics. There’s a great future in plastics.
— The Graduate
Against Disruption: On the Bulletpointization of Books ‹ Literary Hub
It seems to me that there is a fundamental discrepancy between the way readers interact with books and the way the hack-your-brain tech community does. A wide swath of the ruling class sees books as data-intake vehicles for optimizing knowledge rather than, you know, things to intellectually engage with.
In a world where tech billionaires dominate so much of our culture, it’s troubling to see books treated like mere vessels for self-betterment the way that cold-water therapy and Fitbits are. Some of us enjoy fiction.
When people say “RSS is dead” what they really mean is “we couldn’t figure out a way to monetise RSS.”
Friday, February 9th, 2024
It’s as if humans have a tendency to underestimate the difficulty of what other people do and overestimate the difficulty of what they themselves do.
Some people are spending a lot of time and energy trying to figure out how to use “AI” to automate other people’s jobs rather than their own.
Reading Children Of Memory by Adrian Tchaikovsky.
Bill Oddie taught me how to make web sites - Hicks.design
I remember Jon telling me this lovely story when we first met in person. I love the idea that we had already met in a style sheet.
I also love the idea of hosting your own little internet archive—that Bill Oddie site still looks pretty great to me!
It’s a lot like an embarrassing family photo, but I’m owning it!
Speak up
Harry popped ’round to the Clearleft studio yesterday. It’s always nice when a Clearleft alum comes to visit.
It wasn’t just a social call though. Harry wanted to run through the ideas he’s got for his UX London talk.
Wait. I buried the lede. Let me start again.
Harry Brignull is speaking at this year’s UX London!
Yes, the person who literally wrote the book on deceptive design patterns will be on the line-up. And judging from what I heard yesterday, it’s going to be a brilliant talk.
It was fascinating listening to Harry talk about the times he’s been brought in to investigate companies accused of deliberately employing deceptive design tactics. It involves a lot of research and detective work, trawling through internal communications hoping to find a smoking gun like a memo from the boss or an objection from a beleaguered designer.
I thought about this again today reading Nic Chan’s post, Have we forgotten how to build ethical things for the web?. It resonates with what Harry will be talking about at UX London. What can an individual ethical designer do when they’re embedded in a company that doesn’t prioritise user safety?
It’s like a walking into a jets pray of bullshit, so much so that even those with good intentions get easily overwhelmed.
Though I try, my efforts rarely bear fruit, even with the most well-meaning of clients. And look, I get it, no on wants to be the tall poppy. It’s hard enough to squeeze money from the internet-stone these days. Why take a stance on a tiny issue when your users don’t even care? Your competitors certainly don’t. I usually end up quietly acquiescing to whatever bad are made, praying no future discerning user will notice and think badly of me.
It’s pretty clear to me that we can’t rely on individual people to make a difference here.
Still, I take some encouragement from Harry’s detective work. If the very least that an ethical designer (or developer) does is to speak up, on the record, then that can end up counting for a lot when the enshittification hits the fan.
If you see something, say something. Actually, don’t just say it. Write it down. In official communication channels, like email.
I remember when Clearleft crossed an ethical line (for me) by working on a cryptobollocks project, I didn’t just voice my objections, I wrote them down in a memo. It wasn’t fun being the tall poppy, the squeeky wheel, the wet blanket. But I think it would’ve been worse (for me) if I did nothing.
Thursday, February 8th, 2024
Offloading JavaScript With Custom Properties: HeydonWorks
With classes, we can send CSS static values but with custom properties we can send dynamic ones, which is a major shift in the way we can style state. This is something that has been true for some time—and is extremely well supported—but sometimes it takes solving a small real-world problem to make you appreciate the value of it.
I think we still haven’t come to fully appreciate the superpower of custom properties: dynamic values that are shared between CSS and JavaScript.
The web is mostly links and forms | Go Make Things
In the same vein as that last link, Chris says what we’re all thinking:
Most of what we build is links from one page to another, and
formsubmissions that send data from the browser to the server.
Web Development Is Getting Too Complex, And It May Be Our Fault — Smashing Magazine
The idea of needing a framework for everything has been massively oversold.
Premature optimisation is the root of all evil:
Trying to imitate their mega stacks is pointless. Some might argue that it’s a sacrifice we have to make for future scalability and maintenance, but we should focus first on building great sites for the user without worrying about features users might need in the future. If what we are building is worth pursuing, it will reach the point where we need those giant architectures in good time. Cross that bridge when we get there.