博文

Scripting News: Friday, December 20, 2024

图片
Friday, December 20, 2024 I've been alternating days here on my blog. One day, lots of posts, maybe even a podcast. And then a quiet day. Today started out quiet, and then the ideas started flowing. # Programming work: I was trying to work out a feature for WordLand that isn't cooperating, having to do with the clipboard and the MediumEditor package, which does all these nice things for us with the clipboard, but it isn't willing to share custody, or perhaps more accurately we can't figure out how to. The feature I want is when you paste a URL and there's a selection, the selected text is turned into a link. A video explanation . I've burned two full sessions on this, seeking advice from ChatGPT, Claude and Perplexity. They all pretend to know what to do, but in fact they don't. The clipboard is one of those areas of the browser that is held together with rumors and confusion, as is MediumEditor, and the intersection is rumors and confusi...

Scripting News: Thursday, December 19, 2024

图片
Thursday, December 19, 2024 Podcast : ChatGPT is encyclopedic but is not good at strategy. It will drive you down blind alleys. It rewrites your code to conform to its standards. It has a terrible memory. Forgets things you told it specifically not to forget. It does not keep promises. People who say the bubble is fully inflated on this stuff are not paying attention. We're still dealing with very basic features. # A tuneup for WordLand confirms that it's publishing. # I'm thinking maybe we'll do a Kickstarter for WordLand . It'll cost money to run the server and continue to develop the sofware. It fills a big enough need to ask the users to support it financially, at least to get it off the ground. The server is open source so theoretically anyone can run one. But in practice most people will probably just want to use the service. I just want to solve this problem so we can start building a developer ecosystem around WordPress that it's neve...

Scripting News: Wednesday, December 18, 2024

图片
Wednesday, December 18, 2024 I've got a new project called davegpt , it's in GitHub, open source of course. I also created a ChatGPT project with the same code. Presumably I can ask it questions about the code. Because I have a worknotes.md file in the GitHub project, ChatGPT understands where I want to take this project. Most amazing, it wrote a summary of what it saw in the project. I added that to the GitHub project, of course, and since it was in Markdown, it fit right in with no mods. The power of standards. I love it when things that should work, do. The next step is to implement a feature in the new Bingeworthy that can only be done with an AI bot like ChatGPT. It's such a thrill to be working on this stuff as it's happening. And what a delight that it has an API. I don't mind that I'm paying for it, I love the idea of paying to break down walls to create new things that couldn't have been created before. # Linkblog...

Introducing tutorials for ChromeOS

图片
Check out in-depth walkthroughs to boost your next project View our web version A new way to learn how to build for ChromeOS Introducing tutorials—new resources to help make your dev dreams a reality. These guides will help you develop a project from start to finish. Explore available tutorials New from ChromeOS Managing Isolated Web Apps' signing keys Improve IWA signing key management wit...

🔥 (#196) Decouple Components, async components, and more

图片
Read this on my blog Hey, I'm wrapping up work now and spending the rest of this year with my family. Flying for the first time with my daughter! Hopefully that goes smoothly and isn't too much of an adventure. I've been hard at work on the content for Composable Design Patterns, and I've got a batch of 4 more patterns nearly ready to go. Here's a new article I wrote for you: Scaling Your Vue App: 4 Proven Patterns to Keep It Clean And of course, an awesome new episode of DejaVue, some tips, and some links. Have a great week! — Michael 🔥 Decouple Components Changes are really difficult to make if components have lots of dependencies on each other, or if they're doing multiple things at once — often these issues come together. If we can disentangle the spaghetti code we can make our lives a lot simpler. Here's how we can do this: Single Responsibility Principle (SRP) — Each component shoul...