博文

Scripting News: Friday, July 19, 2024

图片
Friday, July 19, 2024 An eye-opening segment on Brian Lehrer's show today. The first half is an interview with Hakeem Jeffries , you can skip that part, pretty standard stuff. It gets interesting at 17:50 when they take calls from listeners. A lot of different points of view from people of all ages, they're incredibly passionate, well thought-out, coherent. This is way better than the punditry you hear on news. The real crime here is that the insiders of the Democratic Party are taking control, after they were manipulated by the press. A total insider's route-around of the democratic process, it's just as bad imho as what the Repubs are planning around Election Day. The press did the same thing to NY governor Andrew Cuomo, who was elected by the people, and forced out without any legal process, and certainly not a vote. That experience argues in favor of when you're in doubt, do the thing the voters said to do. Anything else is very very questionabl...

Scripting News: Thursday, July 18, 2024

Thursday, July 18, 2024 Nancy Wicklund Gonzalez : "I've had to switch to watching the BBC. American news is unwatchable. Between the lionization of a sociopath and the denigration of a decent man, I just can't even." # I'm avoiding the actual RNC, the speakers are just actors. Trump looks like the Queens kid he is. People from Queens don't feel like we really belong, except with other Queens people. We expect to be thought of as the kid from Queens. I know this so well. So the "boss" slumps around not sure what to do or say. He's not gregarious. Not in charge of anything. # If the world doesn't know you did something you might as well not have done it. This is what Doug Engelbart learned, and what we learned in his aftermath. He is known for inventing the mouse, because that's the one thing he invented everyone knows about. He also developed software that pioneered using a computer to organize your ideas . For the most...

Scripting News: Wednesday, July 17, 2024

图片
Wednesday, July 17, 2024 Today's song: It's the End of the World as We Know It (And I Feel Fine) . # The Repubs can win by throwing the election into the House. They can probably get it by the courts in enough places, just a couple of swing states, and they win even if they lose by normal vote-counting methods. The whole bit about Biden's age is meant to distract us from the fact it probably doesn't matter how old the Democratic candidate is. # Hello from 2024 # A podcast about listening to the podcasts from 2004. # This is a short episode about what I learned, and what's coming up. # Humbling experience. # Nana Kitty played Shoreline # Wordle Kitty's great grandma plays with the Dead at Shoreline in the 80s. # Linkblog items for the day. Allan Lichtman: The Science of Political Prediction. guykawasaki.com Copyright 1994-2024 Dave Winer. Thi...

🔥 (#174) Start with the Interface (and don't gold plate!)

图片
Hey all! I've got two new articles for you this week, as well as some other tips and tricks. But first, some news! Nuxt Tips Collection will be launched on August 5th! 🎉 You can sign up for more updates and a special discount here . Okay, now for the articles! Start with the Interface (and don't gold plate!) I Messed up My Codebase (and the lessons I learned) This second I wrote a few months ago, then forgot about it in my drafts folder. So consider it a bonus article! Have a great week! — Michael 🔥 Composable Return Values When you're creating composables, here are some things you can do to make it easier to work with their return values. Return an object of refs , so that reactivity is preserved when destructuring: // Composable const useBurger = () => { const lettuce = ref ( true ); const ketchup = ref ( true ); return { lettuce , ketchup , }; }; // Component setup (...

Scripting News: Tuesday, July 16, 2024

图片
Tuesday, July 16, 2024 Highly recommend this Netflix series -- esp the last three episodes. I found it enlightening, even though I lived through most of this history, I never saw it all put together in a series of events over decades. I came out of it with a much clearer perspective of where we are in the Cold War. It never was over. "The end of history" was too good to be true. Also glad I read so much about slavery a few years ago. If you put both these together, you get the USA, and the deep and lasting wounds we keep re-opening. # Shownotes for the Podcast0 from July 16, 2004. # The problem with JD Vance is that he's empty inside, he'll be whatever he needs to be to get more power, and he's young. He's as empty as Trump, and much younger, so we can't hope to outwait him. Now we have a real problem, because Trump has a successor. I imagine Trump's sons probably aren't happy about this. Had he picked Little Marco , no one w...

Scripting News: Monday, July 15, 2024

图片
Monday, July 15, 2024 Al Sharpton should write the defining op-ed in the NYT, not George Clooney , who is very pretty, and a great choice to cast in movies like Up In The Air or Michael Clayton , but we don't know anything about his political judgement. He hasn't done anything to tell us who he is in that dimension. To the extent that we do know anything about him: 1. He's a prankster . 2. He has a brilliant and beautiful wife . 3. He has a huge mansion in Italy which he keeps very private. 4. He's rich . We have nothing in common. He should run for office and get in the mix. The fact that the NYT chose him, that says something about them, they don't care what people think, or they think we're really shallow and will fall for bullshit like George Clooney. He loves Biden. We didn't even know he knew Joe Biden! Why should Clooney have more of a say in this than I do? Tell me what Nancy Pelosi thinks, or Al Sharpton. Or give Michael Moore a...