博文

Scripting News: Monday, February 17, 2025

图片
Monday, February 17, 2025 This is how the US government used to describe slaves. # Slow down please # If I were in charge of marketing for the Democrats: 1. I'd restart the online channel that Kamala Harris had that was shut down on Election Day. 2. I'd get out the message over and over about how things are going too fast, we need to slow it down, so we can consider what's happening. Who? The people. I know this will resonate with almost everyone in the US, no matter who they voted for. Stop I want to know how these changes will help or hurt me, my family, community. For Trump voters, it was fun to make my statement, but I'm afraid this is going too far. I think we can all relate to that. We aren't being represented here. # I asked Google Gemini to visualize what it feels like to be watching what's happening in the US from inside the US. This came close to capturing it, but it could have expressed the fear of it more clearly. S...

Weekly Vue News #185 - Default Configs for NuxtLink, useAsyncData & useFetch

图片
Weekly Vue News #185 Default Configs for NuxtLink, useAsyncData & useFetch View online Hi 👋 Still working on my SaaS starter kit! I've decided to switch to Polar as the merchant of record, which will simplify the payment code in my boilerplate and make features like usage-based pricing easier to offer. I'm also integrating the remaining Nuxt UI Pro v3 components, including Dashboard and AuthForm. Enjoy this issue and have a lovely week ☀️ ...

Scripting News: Sunday, February 16, 2025

图片
Sunday, February 16, 2025 We're diving head first into a world run by AI bots, before we've even begun to understand how to use them. Musk couldn't be more diabolical if he were cast as a comic book anti-hero. Trump is like the straight man police commissioner. I grew up reading those kinds of comic books. We all did I guess. Probably Elon Musk too. He needs a biographer, asap. Someone please get to work on this. # The idea of a coup in the US is one we all presumably have a hard time thinking about. I sure do. It has never happened before. But it has happened now, and the group that is governing is doing it illegally, and is dismantling the country as quickly as they can, assuming someone will at some point try to stop them? Is that correct? What comes next? # Great quote from a favorite show . "He put the dick in contradiction." This is a show that doesn't often indulge in that kind of humor. I imagine they must've had a great time w...

Scripting News: Saturday, February 15, 2025

图片
Saturday, February 15, 2025 The way to get even is to win. A lot of people don't get that, and it's almost always their downfall. # I'm not giving money to Democrats. I will give to campaigns that run hard-hitting ads telling the full truth about what Musk is doing now. I want to see the actual ads before I chip in, and will do so enthusiastically, but they can't be anemic. # The Dems don't do positioning . The Repubs run circles around Dems. They are masters at positioning. It's not hard, you just have to decide to do it. # The web before the web # Hypercard stacks were the equivalent of websites. # If it had been built around the Macintosh Toolkit, and had an API that fit in with Mac apps, there wouldn't be a web, we'd all be using Macs. Alas it was all on its own, didn't work with anything but itself. # A lot was lost because the Mac development model was far in advance of what existed on the web, and it ...

Scripting News: Friday, February 14, 2025

图片
Friday, February 14, 2025 Podcast : Dems must campaign 365 days every year. # Anne Applebaum writing in the Atlantic says that people in the US feel like we're living in an occupied country. I get it. That's what it feels like to be in a Silicon Valley company that has been acquired by another Silicon Valley company, a subject I wrote about on Wednesday. I wish there was some way for us to communicate with each other about this, because I'm sure my description comes closer to the way Musk sees it, though they are very similar ideas. One of the defects of the social web is that we live in little bubbles and not much information is exchanged over bubble boundaries. So if anyone knows Applebaum, please send her a link to this post. Thanks. # More than death panels # Musk will defund Medicare. # More than death panels . # Say goodbye to everyone who needs health care # Because almost no one can afford it without coverage. # That...

Scripting News: Thursday, February 13, 2025

Thursday, February 13, 2025 Here's a two-minute demo of my new writing tool for Bluesky. This is quite a bit simpler than the last version, you log on directly to Bluesky, doesn't go through my server at all. This removes a whole layer of complexity for the user, and means a lot of people can use it without it having to scale up. Also made it simpler, more of a writing tool, closer to where I'd like this stuff to be when we have across-the-board textcasting support. Really focused on the flow for writers. # Here's the thread that's created in the demo. # If the US were a company, what would its market capitalization be? # If you're getting bummed about the news, remember tonight there's another new episode of Severance to kvell about. # Re-did the social media links at the bottom of each story page. Screen shot . Used to be just RSS and Linkedin. I got rid of Linkedin because I never use it. Added Bluesky, Mastodon, Threads. Debated...

Scripting News: Wednesday, February 12, 2025

Wednesday, February 12, 2025 The United States is not a Silicon Valley company # I've had an experience few people have had, and it's relevant to the way all of us feel right now. The experience: Being part of a Silicon Valley company that was acquired by another Silicon Valley company. I was the CEO. # I recognize the feeling, because Musk is acting as if he is the acquirer of a Silicon Valley company, and the company he has acquired in the USA. Or so he thinks. But the United States is not a Silicon Valley company where, you have departments and managers at every level, and each level must follow orders from the level above them. It doesn't work that way here. Deliberately. Very deliberately. # There never has been a Silicon Valley company that gives each employee the rights and responsibilities of an American citizen. We don't take orders except in very exceptional circumstances, and then with all the rights guaranteed by the Consti...

🔥 (#204) Forcing a component to update, dynamic returns, and more

图片
Read this on my blog Hey all! This weeks podcast episode was fun, because I was interviewed by my friend Alex Lichter (next week's episode is the other way around). I've also been working hard on the big update for Mastering Nuxt! I've been sharing some updates on my social media, so you can follow along there if you'd like. — Michael 🔥 Forcing a Component to Update What do you do if a component isn't updating the way it should? Likely, this is caused by a misunderstanding and misuse of the reactivity system. But let's look at a quick solution using forceUpdate : import { getCurrentInstance } from 'vue' ; const methodThatForcesUpdate = () => { // ... const instance = getCurrentInstance (); instance . proxy . forceUpdate (); // ... }; This getCurrentInstance is actually an undocumented part of Vue (it was removed from the docs) and is not recommended — the better solution i...