博文

Scripting News: Friday, November 22, 2024

图片
Friday, November 22, 2024 I started a feature list on the About WordLand page. # Billionaire-proof? # I just realized that there's another kind of enshitification that we're experiencing now because the twitter-verse has split into so many forks. Bluesky is hot now, but this isn't over yet. # Developers are deliberately locking their users in by creating new APIs that are not only incompatible with previously existing APIs, but also are difficult for developers who learned earlier APIs to adopt because now they have all kinds of replicated code for different systems. It adds another level of complexity to the developer's code. # What each platform vendor wants is not only captive users, but also locked-in developers. Why do you think they all have new languages? Come on is Swift really better than Go or React or whatever. Groups of Mac developers constantly spinning their wheels to keep up with Apple breaking releases. Groups of Ja...

Scripting News: Thursday, November 21, 2024

图片
Thursday, November 21, 2024 Ayn Rand, Rand Paul and Paul Ryan walk into a bar. The bartender serves them tainted alcohol because there are no regulations. They die. # There are no more gotchas # When people said they didn't know Kamala well, they weren't kidding. She didn't start broadcasting until three months before the election. That's not even one season of Abbott Elementary or Wheel of Fortune . Of course they didn't know her. That's because the Dems go off the air on Election Day and don't show up again for three years. Meanwhile the other party is on the air 24 hours a day, every day of every year. # Next time we nominate a candidate, the voters will already know them and like them. No more of the "we don't know her well enough." That's what mattered. They want a sense that they know who you are. The same way kids of my generation knew who Archie Bunker was, and Maude , and Mary Tyler Moore . That...

SELECT AI is Not a Toy!

图片
SELECT AI is Not a Toy! Nov 21, 2024 · 11 min read Introduction I must admit that when I first saw a demo of SELECT AI, I thought it was somewhat of a novelty. However, I changed my mind after completing a proof of concept for a real-world business use case. This post will introduce SELECT AI, describe how to set it up and demonstrate how SELECT AI performed for real-world business POC. What is SELECT AI SELECT AI is a feature of the Oracle Autonomous Database that allows you to converse with data in your database with some help from Generative AI. 💡 SELECT AI allows you to turn a question like "Which customers have the most credit memos?" into a query on your sales database without the end-user needing to know the underlying data model or SQL. You can use IDE tools like SQL Developer, SQL Developer Web, or SQL Developer for VS Code to enter SQL statements like this: SELECT AI summarize the sales by region for period JAN -20 showing revenue a...

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 : ...