博文

Scripting News: Sunday, January 12, 2025

图片
Sunday, January 12, 2025 Is Bluesky federated like Masto? # This is one of the dialogs you encounter when getting started with Bluesky. It's easy to see how new users might be led believe that Bluesky is federated, as Mastodon is. I'm a developer and I was confused by what it was saying. # Is Bluesky is federated? # Linkblog items for the day. I see Wordpress as a lot of things, an open source product with complete apis and a great track record of not breaking developers, it scales, is widely deployed , a huge developer ecosystem, there's much opportunity there. mastodon.social Insurrectionists Melt Down After Vance Says Trump Shouldn't Pardon Violent J6ers. motherjones.com Vance: Jan. 6 Rioters Who 'Committed Violence' Shouldn't Be Pardoned. rollingstone.com A federal employee explains the support they need to hope to stay in their jobs while Trump. nytimes.com How to find a YouTube channel I...

Scripting News: Saturday, January 11, 2025

图片
Saturday, January 11, 2025 Notes on Little Feed Reader, running on Bluesky since Jan 2. # YouTube channels have feeds. Here's the feed for my YouTube channel. And a canonical JSONification of the feed (this is how FeedLand gets the data from any type of feed, RSS, Atom or RDF, the YouTube feed is Atom). I did not know they had feeds, in fact I thought I heard they specifically did not have feeds. I've subscribed to the feed in FeedLand and it seems to work, and also included it in my blogroll category, so it should show up in my blogroll, and possibly in the Little Feed Reader on Bluesky. All of this, and more, was discovered by Andrew Shell . Two suggestions. 1. Include descriptions with the items. 2. Use enclosures for the videos. Atom does enclosures differently from RSS, but it can be made to work, imho. No matter what, thank you YouTube, and it's a great start. # This is what my YouTube channel looks like in my blogroll. # Li...

Scripting News: Friday, January 10, 2025

Friday, January 10, 2025 The personal profile pages for Bingeworthy are working again. Here's my profile page . This is how you share recommendations. More info here . # Good questions from Phil Jones re Wednesday's podcast. I'm glad to get to answer these questions. There's more to wpIdentity than is obvious at first glance, for example it has a relatively complete storage system built in for developers to use. I used one of its features yesterday in the connection between Bingeworthy and the profile display app. # BTW, I'm going through all the episodes of Deadwood , and find it's influencing how I write. A good bingewatch is like that. You become one of the characters, or in a way, all of them. Sometimes I'm Swearingen and other times I'm Wu. Etc. # GitHub and chatbots # We need an AI chatbot that can work with GitHub repos. That is, in my prompt I say, the following questions are about this GitHub repo. At that point...

Scripting News: Thursday, January 9, 2025

图片
Thursday, January 9, 2025 If you read this blog, I hope you'll take the time to listen to yesterday's podcast . It's all about WordPress, a product that you won't read much about on this blog, going back through the archive . I wasn't paying attention until 2023 when I began to see what an amazing product it is, not just for 2004 when it came out, but in 2024. My theory is that it's the basis for an incredible social web platform, much better than Threads, Mastodon, Bluesky and of course Twitter. That's what I'm talking about for 1/2 hour in this podcast. If you give me that much time, I'll change the way you see the world, or at least the way you see me. I think I'm right about this, with another layer on top of the WordPress foundation, it becomes newly relevant, and very timely, in ways that as far as I know, no one has been pushing it. I think for example that Ghost and Substack should be built on top of WordPress. The fact tha...

🔥 Composable Design Patterns is here! 🎉

图片
It's here! Learn to write better composables in Vue with my latest course. You can now grab Composable Design Patterns for 35% off during the launch . ​ Check it out here . Composable Design Patterns is a collection of patterns to help you write better composables in Vue. The format is very similar to Clean Components Toolkit: Pattern overview — an in-depth explanation of the pattern, including edge cases, variations, and common pitfalls. Real-world example — an example using the pattern that goes beyond toy demos that don't really show you much. Step-by-step refactoring — see how to use this pattern by following a refactoring example worked out for you. The first three patterns are borrowed from Clean Components Toolkit, but the rest are completely brand-new, and exclusive to this course. ​ (the last two patterns will be finished next week). Here's the link again if you'd like to know more: ​ Composable Design Patterns in Vue ​ ...

Scripting News: Wednesday, January 8, 2025

图片
Wednesday, January 8, 2025 Podcast: How I view WordPress . # Started a new support repo for Bingeworthy. # Just found an exponential memory leak at the database level in Bingeworthy. I have never seen one of these in all my years of programming. A data structure that saves a copy of itself in itself. So every time it saved it became exponentially bigger. Until it made the SQL server crash because the JSON object it was storying was over the limit of JSON objects. Crashed the freaking server. Fixed. Feels good. # As part of the conversion of BingeWorthy , I started the database from scratch, but before I did that, I exported all the data and put it in a GitHub repo. This included a JSON file of ratings for each user. For example, this is my file. Remember we used Twitter identity then, davewiner is my Twitter username, just replace my name with yours to see your file, if you were a Bingeworthy user in the past. # I wrote this post in 2023 as Threads was comi...

🔥 (#199) Async without await, SSR safe directives, custom directives, and more

图片
Read this on my blog Hey all! Tomorrow I'm launching Composable Design Patterns — a collection of 15 patterns on how to use the composition API better. I've been working on this for a while (it's been in my head for years), and I'm excited to share it with you! You'll be getting a special launch discount, so make sure to pay attention to your email inbox tomorrow. Other than that, I've got a new podcast episode for you, and some links to check out, as well as some tips. Enjoy your week! — Michael ...