博文

Scripting News: Thursday, January 16, 2025

图片
Thursday, January 16, 2025 Before declaring democracy over, as our major news orgs and tech companies seem to have, remember there are still 50 states, most of whom still seem to accept that votes must be counted, and the winner is who gets the most, not the one who sends in a mob to trash the state Capitol. # Now that I have a search engine for my blog, I can reliably look for all instances of Wordle Kitty which was a character I was playing around with last year with ChatGPT. It even comes out in reverse chronologic order, and it's better than Google which ignores a lot of my blog these days. My own search engine doesn't do that of course. # When I buy a domain speculatively, I usually put up some kind of placeholder page with a title, picture and tagline. Like feediverse.org . I pushed a link to it yesterday, and got back this possibly snarky response, but still thought provoking. Why isn't there a feed for the feediverse.org page. Good point! So if ...

Last chance to get Composable Design Patterns!

图片
This is your last chance to get Composable Design Patterns with the great 35% off launch discount! Maybe you've been on vacation, maybe you've been busy with work or with life and haven't seen my previous emails. But now is your final opportunity to learn and master composables in Vue for a really fantastic price. ​ Get Composable Design Patterns now . And if you decide you don't want it, I hope you'll stick around for the free content I send out each week in my newsletter. Have a great weekend! — Michael ​ Unsubscribe | Update your profile | 8 Queen St N, Kitchener, ON N2H2G8

Scripting News: Wednesday, January 15, 2025

图片
Wednesday, January 15, 2025 The feediverse is not a joke. It's deployed, scaled, widely supported, far beyond AT Proto or ActivityPub. It's the HTML of the open social web. And where the others are complicated, feeds are really simple. # Matt Mullenweg said something provocative on Twitter two days ago that I'm just tuning into now. "The lawsuits will go years and could potentially bankrupt me or force the closure of WordPress.org." I commented on it as a developer who views WordPress as a platform. # Sad to say I'm going to have to mention Trump from time to time. When I hear a reporter wondering what to make of his thing about all those friendly countries he wants to go to war with, here's what it means. He's trolling you. Haven't you figured that out by now. Just by mentioning the weird thing he's talking about as if it were some kind of puzzle, a brilliant chess move, etc blah blah zzzz. It's trolling. Stop fallin...

24 hours left to get Composable Design Patterns for 35% off!

图片
If you want to learn how to get better at writing composables, Composable Design Patterns is the best way to do it. There's really nothing else like it. But the 35% off launch sale is ending in 24 hours. ​ Get Composable Design Patterns now . And you can buy it without any risk. If you don't like it, you can get your money back, no questions asked. (but I'm 99% sure that you will like it.) You can also check out the course preview if you want to take a look before putting up your money. Once you log in with your Github you'll be able to preview a couple of the patterns in the course. Here's the link again: ​ Check out Composable Design Patterns. ​ — Michael ​ Unsubscribe | Update your profile | 8 Queen St N, Kitchener, ON N2H2G8

🔥 (#200) Default content, debugging templates, and more

图片
Read this on my blog We made it to 200! Thanks for reading and supporting me over the last few years, it means a lot to me. Tomorrow is the last day of the Composable Design Patterns course launch and the 35% off discount. If you were hoping to pick it up, don't forget to check it out! As always, I've got some tips and links for you, and a new podcast episode. Enjoy, and have a great week! — Michael 🔥 Default Content with Slots You can provide fallback content for a slot, in case no content is provided: < !-- Child.vue --> < template > < div > < slot > Hey! You forgot to put something in the slot! < / slot > < / div > < / template > This content can be anything, even a whole complex component that provides default behaviour: < !-- Child.vue --> < template > < div > < slot name = "search" > < !-- Can...

Scripting News: Tuesday, January 14, 2025

图片
Tuesday, January 14, 2025 Why are all the people who hate AI so pissy about it. # In the future I will be able to type a post into my blog and people who are following me will see it in their timeline. # Peeve: TV shows or movies that show text messages that are impossible to read even if you stop the video and zoom in. # An internet of ideas # I used to use Twitter for middle of the night ideas. These days I use one of Twitter's successors. # Here's one . "We should be able to tweet from within any application that has the ability to create and edit text, and not just in tiny little text boxes." And another . "The limits imposed by twitter initially in 2006 resulted in there being room for only very simple ideas. # Self-contained isolated silos make progress impossible. We need an internet of ideas. Why should we depend on one small vulnerable company to handle all our internet publishing? It's an old outdated idea...

Answering your questions about Composable Design Patterns

图片
Hey! I need to clear some things up. You might be interested in learning how to write better composables, but unsure if Composable Design Patterns is right for you. If you're a beginner Vue dev, this is perfect to get you started off on the right foot — without developing bad habits or learning things the hard way. And if you've been writing Vue for a while, you'll get immediate value from this course because you'll be able to see exactly how these patterns will help you. You've experienced the pain of badly written composables (maybe even ones you wrote yourself 🙃). For those of you who are transitioning from the Options API to the Composition API (which is better for many reasons ), I specifically included the Options to Composition pattern to provide a super simple path for upgrading your app one component at a time. But this course isn't for everyone. This course is designed for professional Vue developers . If you're a student, o...