博文

Scripting News: Thursday, November 27, 2025

Thursday, November 27, 2025 Connecting apples and oranges on the web # This is a really good blog post , in response to a post I wrote here that said among other things that a WordPress instance is easier to set up on your own server than Mastodon. # At the start of the piece he said it was like comparing apples and oranges, but by the end, he was starting to see that they kind of do the same thing. I am prepared to explain that. # First what they have in common is that they deal with posts, and they have more or less the same features. Mastodon for historic reasons, places limits on posts. I'm sure they could relax those limits, so I don't see this as an important difference. # And then there's all the traffic that comes into a Mastodon instance that doesn't come into a WordPress instance, posts from people you follow, some in response to posts you made. But there is a feed reader built into WordPress. And WordPress supports ...

Scripting News: Wednesday, November 26, 2025

图片
Wednesday, November 26, 2025 I love shows like Succession and Severance , but I hate their official podcasts because they're mostly outlets for the actors to praise each other. I don't know who the actors are! I know the characters they play. I want a podcast where Carol and Zosia speak about the crazy shit they did in the last episode. I don't mind if the showrunner plays herself. She really is God, in this context. She could explain why she had this character do this crazy shit or done other crazy shit. i don't know or care about the actors. If they're any good they disappear. Whodat? # My State of the Word, in a tweet # I saw a post from my friend Matt Mullenweg where he said they're working on WordPress for the next generation. I like that idea. # I'm doing the same, myself -- only I'm one generation ahead of Matt. So the improvements I'm working on will likely end up benefiting people his age and younger...

🔥 (245) A better way to handle errors (and warnings), mixing local and global styles together, and more

图片
Read this on my blog What's up? This week I have a 35% discount on all of the courses I sell on michaelnthiessen.com! Just use the code BLACKFRIDAY25 at checkout to get the discount. The discount will be available until November 28. Here's a list of what you can get: Clean Components Toolkit (most popular) Advanced Reactivity (new) Composable Design Patterns Nuxt Tips Collection Vue Tips Collection 2 And as always, here are some tips and other Vue content for you. — Michael 🔥 A better way to handle errors (and warnings) You can provide a custom handler for errors and warnings in Vue: // Vue 3 const app = createApp ( App ); app . config . errorHandler = ( err ) => { alert ( err ); }; // Vue 2 Vue . config . errorHandler = ( err ) => { alert ( err ); }; Bug tracking services like Bugsnag and Rollbar hook into these handlers to log errors, but you can also use them to handle errors ...

Scripting News: Tuesday, November 25, 2025

图片
Tuesday, November 25, 2025 RSS 2.0 , the antidote to enshitification. # The web is open the same way water is wet. # One of my recent posts is getting a lot of traffic. Basic idea is that the new AI-enhanced Alexa spooked me so much I went back to the old one. It's in every room of the house. The more it acts like a human the more offended I am. # The new blog discourse system, post 0 # I'm starting to work on my new discourse system. I've been waiting to do this for a while, until all the pieces I needed were there, and they have been for a couple of months. I'll tell you about it as it starts to come into view. # The first thing to know is that all comments are blog posts. You write the comment on a blog that you own. And maybe that will be the only way anyone other than you will ever see it. But you don't have to "go" to the blog to write the comment. You stay right where you are. # A comment is not in any ...

Scripting News: Monday, November 24, 2025

图片
Monday, November 24, 2025 Pocket Casts has come up with a new feature called Playlists. I was able to figure out how to use it in a few minutes using their web app . Questions. Is there an open format behind this feature? Can I create a playlist outside of Pocket Casts? Can I use a PC playlist in another app? Pocket Casts comes from Automattic so I would expect the answers to be yes, given how committed they are to the web, and how podcasting is of the web . The most logical open format to use here would be imho RSS 2.0 . # Yesterday I put up a form asking for the addresses of people who have WordPress sites that have the ActivityPub feature turned on. Only got four responses so far. But it's good to see what people are doing. For example Evan Prodroumou is using it, and his Mastodon posts are blog posts. I smiled when I saw this. Nicely done. Loop closed. # The feed validator operated by the W3C is kind of frozen in time, and imho has a very odd perspe...