博文

Scripting News: Wednesday, November 20, 2024

Wednesday, November 20, 2024 On Bluesky, inbound RSS is becoming a thing . # It's noteworthy that we haven't seen many outages as Bluesky scales. On Twitter they had fail whales for years. # What matters with social networks is what you can get done there, not so much the features of the network. Bluesky has the same features today it had a month ago. The difference is we had an election in the US, I guess that was the catalyst. The presence of Elon Musk so close to Trump says there is a need for a Musk-free place. I've kept my account on Twitter. I started there in 2006, and I love the web more than I feel it would do any good to erase my presence there. It's pretty much against my religion to deliberately erase bits of the web. And whatever you think of Twitter, it is most definitely part of the web. # Basically, if you have to lock your users in, your product must suck. # Linkblog items for the day. Why doesn't President B...

🔥 (#192) Testing components in Nuxt, extract conditional patterns, and more

图片
Read this on my blog Hey! Yesterday I gave my talk on Nuxt Layers at VueConf Toronto, and I think it went really well — maybe one of my best talks yet. Alex and I are also doing some recording at the conference, so you'll see that in an upcoming episode soon. I've also got a quick Black Friday reminder: On Monday, November 25, you'll get a single email about my Black Friday sale. That's it. As always, I've got some great tips and articles for you. — Michael 🔥 Restrict a prop to a list of types With the Composition API we get fantastic TypeScript support, so this is quite straightforward: defineProps <{ src : string ; style : 'square' | 'rounded' ; }>(); Doing this in the Options API is more complicated, and not as powerful as TypeScript. Using the validator option in a prop definition you can restrict a prop to a specific set of values: export default { name : ...

Scripting News: Tuesday, November 19, 2024

Tuesday, November 19, 2024 A quick podcast about the new 365-day-a-year campaign we need on the social web to keep our democracy alive. # We've found Lauren Kapp , the 25-year-old creative genius behind kamalahq. We need to get her back on the air, with her team, fully funded and supported. We need leadership on the social web. Thanks to Brian Puckett for the link. # Linkblog items for the day. Trump nominee for Secretary of Space. youtube.com Lauren Kapp was one of the creative geniuses behind @kamalahq. We need to get her back on the air, with her team, fully funded and supported. We need leadership on the social web. tiktok.com US justice department plans to push Google to sell off Chrome browser. I like this a lot. And make sure the browser company understands that all they do is make a browser, one of many. theguardian.com Truth Social investors hoped to get 'very rich' after Trump's win. wapo.st "...a layer cake of ...

Scripting News: Monday, November 18, 2024

图片
Monday, November 18, 2024 Bluesky feature request # I posted a feature request on Bluesky that has gotten a lot of flow. # Bluesky devs.. How about a compromise. Support inbound RSS. Let me enter the URL of an RSS feed in settings. I'll ping a fixed location when the feed updates. Would allow the same flow to go to other systems. This would help a lot. # Discussion # Imagine a Bluesky-like network that you could post to through any blogging tool that can create an RSS feed. Imagine the new tools that could be created. All of a sudden a whole world of writing tools opens up. # It should happen faster than the proprietary format that Bluesky defined, because RSS is so well understood in the developer world. Lots of software out there for reading and writing. I have a couple of toolkits of my own, for JavaScript, MIT licensed. In use in deployed software so they work pretty well. (Knock wood.) # Also it would create an ince...

Weekly Vue News #172 - Speed Up Vue 3 Development With VS Code Snippets

图片
Weekly Vue News #172 Speed Up Vue 3 Development With VS Code Snippets View online Hi 👋 VueConf Toronto is happening this week, and I'm wishing everyone attending an amazing time filled with inspiration and new insights! For this issue, I'm sharing a quick tip on using snippets in VS Code to help speed up your development workflow. Hope it comes in handy! Enjoy this issue and have a lovely week ☀️ ...