博文

Scripting News v2: Friday, May 2, 2025

Friday, May 2, 2025 Spent the day in NYC, had an idea and it was a gorgeous day, and I decided to be impulsive. See you back here tomorrow, Murphy-willing. # Linkblog items for the day These judges ruled against Trump. Then their families came under attack. reuters.com Why did Tommy Tuberville vote in Florida if he lived in Alabama? al.com Army plans for a potential parade on Trump's birthday call for 6,600 soldiers, AP learns. apnews.com Copyright 1994-2025 Dave Winer. This email was sent on: 5/3/2025, 12:00:00 AM Eastern. "Thanks for listening." This blog has been running for: 30 years, 6 months, 25 days, 9 hours, 0 minutes, 0 seconds. How to subscribe . Read on the web . Click here to unsubscribe.

Scripting News v2: Thursday, May 1, 2025

图片
Thursday, May 1, 2025 Has anyone thought to give ChatGPT a Turing test? # Rewrite of WebSockets functionality in the server side of WordLand . # One consistent bit of feedback on the new email format, which appears to be working for just about everyone, is that the text is too small. And while it is a rewrite, for a lot of people it looks exactly the same. That's because of differences in how email clients deal with HTML. # Phil Donahue interview with Bernie Sanders from 1981, then-mayor of Burlington, VT. He was a novelty then, an American politician who was a socialist. He was asked if capitalism was the normal way for humans to relate, he said no. I wonder if he still agrees, because I think that's the goal, and the reason we're in so much trouble is there really isn't an impulse to work with each other. What I've seen mostly is that when there's work to do, it's hard to find help, but once something has taken off, there isn...

Scripting News v2: Wednesday, April 30, 2025

Wednesday, April 30, 2025 We could follow the clues in the TrumpLand with more gusto. They know their numbers are bad and likely to get worse, they did the things that made it the numbers bad. And at the same time they don't seem to care? If this were a mystery show, like Dallas or Succession or Severance, Lost perhaps, what would you think? # Here's a prototype of what a story page might look like on our baseline site for WordLand. I did this off on the side as input for the WordPress theme. I find it easier to work on style in a standalone page without much tech that can get in the way of fast iteration. # How blogs show their site title # We're working on the "baseline" theme for WordLand, the default -- the one that shows the user's writing in a WordPress context. I did a survey of news sites and blogs to see how they show their titles: # Gothamist puts the name in the upper left corner, leaving room for some b...

🔥 (215) Nuxt data fetching re-written: reactive keys, shared refs, and more

图片
Read this on my blog Just a few days ago Nuxt 3.17 dropped, and it comes with a massive data fetching improvement. So I've taken a bit of extra time with this one to give you some bonus tips based on these new features. You'll also get your regularly scheduled Vue tips, too. This one's got a lot in it, so enjoy! — Michael 🔥 Reactive Keys with useAsyncData You can make the keys in useAsyncData (and urls in useFetch ) reactive: // Getter (some function) const { data } = useAsyncData ( () => `key- ${ index + 1 } ` , () => $fetch ( 'https://some-url' ) ) // Ref const myRefKey = ref ( 'my-key' ) const { data } = useAsyncData ( myRefKey , () => $fetch ( 'https://some-url' )) // Computed const myComputedKey = computed (() => `my-key- ${ someOtherRef . value } ` ) const { data } = useAsyncData ( myComputedKey , () => $fetch ( 'https://some-url...