博文

Scripting News: Thursday, May 8, 2025

图片
Thursday, May 8, 2025 New feature: How to handle an empty site list . # Changes coming to Bookmarks in next WordLand release. I cut it back to work exactly like bookmarks in Drummer . I have to do a bit more work before it's ready to release, probably tomorrow. # Also, I applied the new Baseline theme to my daveverse site, the one I use to test stuff in WordLand, and occasionally write something with a bit of lasting value. As a result it got a new domain, daveverse.org . We're going to offer the Baseline theme for others to use after a bit more testing and refining. But it's getting close. It seems like it's the last big thing on the agenda, but something else will probably pop up. Praise Murphy. # Dave in the Gilded Age # I asked ChatGPT to "Dress me like Gilded Age captain of industry in front of his mansion on the Hudson River." # Gilded Age Dave. # Linkblog items for the day B...

Scripting News: Wednesday, May 7, 2025

图片
Wednesday, May 7, 2025 The Knicks are unbelievable . It feels like 2015, when the Mets would be down 9-0 in the seventh, and you'd tune in to see how they would win. At the very end of the Knicks game tonight, when the Celtics were up by 1, I thought how would this feel if the Knicks came back so far and didn't win. I should've known better. All those insufferable years when we wore paper bags to hide our faces , even if this is as far as the Knicks get this year, it will have been worth it. Sports teaches you to believe, if you wait long enough your team teaches you that. I've learned it from the Mets so many times, and the Knicks now. I just wish Clyde were doing the color with Mike Breen doing the play by play. But who cares, this was great sports. Watching Monica McNutt on MSG in a daze. It's like homecoming. I might just splurge for a ticket to Saturday night's game. It's a pretty easy drive. # I want the EV's they're get...

🔥 (216) Component design patterns, Nuxt's new data layer, and more

图片
Read this on my blog Hi! If you like design patterns, I've got something great for you. A free, 5 day mini-course that covers 5 different patterns for writing better components. You can get more details and sign up for it here: Component Design Patterns I also wrote up a detailed blog post about the new data fetching in Nuxt 3.17: Nuxt's Data Layer Has Been Rewritten: 5 New Features You Need to Know No new podcast episode this week, but we've got a couple great episodes coming soon! Have a great week! — Michael 🔥 Structuring Composables To keep your composables — those extracted functions written using the composition API — neat and easy to read, here's a way to organize the code. Component and directives provide and inject defineProps , defineEmits , and defineExpose (when using script setup ) refs and reactive variables Computed properties Immediate watchers Watchers Lifecycle m...

Scripting News: Tuesday, May 6, 2025

Tuesday, May 6, 2025 When I did the rewrite of the nightly mail app, I didn't convert the app that builds the nightly RSS feed of the mail page. Wasn't sure if anyone was using it. I heard from a reader who missed it, so I got it running, knock wood, Murphy-willing. # ChatGPT as proofer? Not here # Manton says he runs his posts through ChatGPT before publishing. # I do it the other way, I use it for background info on the things I'm writing about as I write, more and more. I used to use Wikipedia that way. I would love to include links to some of my conversations, but I find their shared links are unreliable, I keep hearing from people who couldn't read them. # Here's an experiment, two such backgrounders I had Claude.ai write for me for a pice I was writing (not published). # Claude.ai on the future of Chrome re antitrust case Google lost. # Claude.ai on claims Bluesky makes about being billionaire-proof. # ...

Component Design Patterns in Vue: a free mini-course

图片
Hey! I put together a completely free mini-course on component design patterns in Vue, based off of my most popular course, Clean Components Toolkit: ​ Component Design Patterns in Vue ​ Here's some details: 5-day email course — delivered straight to your inbox with daily lessons One pattern per day — each day you'll learn a new design pattern Complete code solutions — see working implementations of every pattern Bite-sized lessons — each day's content is focused and digestible Here's the outline: Day 1: The Preserve Object Pattern — Learn to pass complete objects as props to make components more maintainable and resilient to change. Day 2: The Data Store Pattern — Create central stores of data to eliminate prop drilling and simplify component communication. Day 3: The Hidden Components Pattern — Identify and extract focused components to improve code organization and maintainability. Day 4: The Humble Components Pattern — Bui...

Scripting News v2: Monday, May 5, 2025

图片
Monday, May 5, 2025 I think we're at the "no more new features" point of the first release of WordLand . Learned my lesson on the 0.5.7 release . There comes a point in a developing product that it may not be perfect for every possible user, and while it has bugs (all software does), it is useful for what it was designed to do. In the case of WordLand, there's nothing else like it out there, and it forms a foundation to build on, not just for itself but for other types of editors, all pumping people's writing out through WordPress. The writer's web with a sweet new UI. Thousands of developers work in WordPress. Maybe tens of thousands. That's what I get excited about. WordLand is the equivalent of the twitter-like tiny little textbox , but it grows big as your writing does, and it has the features Twitter removed. Anyway I don't expect to do any further adventures in features for WordLand for a while, instead I'm going to assum...

Weekly Vue News #196 - Nuxt 3.17 is out

图片
Weekly Vue News #196 Nuxt 3.17 is out View online Hi 👋 Still writing the docs for my upcoming Nuxt starter kit. In the meantime, this issue is packed with fresh Nuxt news you might find interesting! Enjoy this issue and have a lovely week ☀️ Vue 📕 The Story of Fastif...