博文

Scripting News: Friday, September 13, 2024

Friday, September 13, 2024 Show notes for a short podcast I recorded on this day in 2004, a response to Adam's podcast which I had just listened to. These were the good days, a new medium in its early stages of booting up, after years of trying to get it to go. In the next few weeks, it'll really start going. You can subscribe to the podcast feed here. # I also added a link to the RSS feed in each shownotes page. In the HTML at the bottom, as a white on orange icon and in the page source as a <link> element. # I keep seeing mention of "Podcast 2.0" in various places. That is unusually greedy, even for the tech industry. What next? Deprecating the way podcasting has worked for the last 20 years? How do we know the people doing this aren't shilling for Spotify, Google or Amazon? Please don't mess with something that works as well as podcasting. You want to do something better, great -- make your own name and get people to respect it....

Scripting News: Thursday, September 12, 2024

图片
Thursday, September 12, 2024 Just watched a Harris rally in Charlotte NC. She's using what Trump said in the debate in her new campaign speech. Brilliant. Getting him on the record in that context is a gift. 60 million viewers. Up till then he only took interviews where he could bully his way past the interviewer. # Braintrust query : I got an email from OpenAI saying I could access the new models, but I don't see the new models in the popup menu. # I've been enjoying the recent blog posts by my longtime friend Jeff Jarvis . A couple of months ago, I was practically begging him to do this. He was pouring so much unfocused energy into making journalism play an appropriate role in our democracy. When Jeff started posting to his blog, it gave his friends something to point to. This writing had much more impact than a random tweet. Journalism crossed a line they should not have crossed. Now we fully expect them to try to do it again. We have to find a way f...

Scripting News: Wednesday, September 11, 2024

图片
Wednesday, September 11, 2024 The most encouraging thing about last night's debate was that the moderators were journalists. When Trump repeated his most egregious lie about murdering babies being legal in certain states, moderator Muir confidently, almost derisively, said that there is no such thing. And when Trump said he didn't admit he lost the election, and then when challenged said in a snotty way he was being sarcastic, Muir plainly that wasn't true either. It was like the Monty Python dead parrot sketch . ABC News was the last place you'd expect real journalism to surface, maybe the NYT et al will follow their lead. # I wouldn't have traded places with Harris for anything in the world, she did fantastic. The pressure on her was enormous. I don't think Trump said one thing that was true. And Harris made the point that the division is coming from that guy over there, and if we don't want it all we have to do is turn the freaking page...

🔥 (#182) Building reactivity from the ground up

图片
Hey all, In case you missed it, I just launched a free mini-course called Reactivity From Scratch . It's a free course that goes over how to build your own Composition API inspired reactivity system from scratch. No matter your skill level, I think you'll find it useful! Check it out here: Reactivity From Scratch . Of course, I also have some great tips for you. — Michael 🔥 Example of a Composable Using the Options Object Pattern Let's create a useEvent composable that will make it easier to add event listeners. We'll use the EventTarget.addEventListener method, which require the event and handler parameters. These are the first two required parameters: export function useEvent ( event , handler ) {}; But we also need to know which element to target. Since we can default to the window , we'll make this our first option: export function useEvent ( event , handler , options ) { // Default to targeting the window const { t...

Scripting News: Tuesday, September 10, 2024

图片
Tuesday, September 10, 2024 Today's song: Spanish Moon . # Ed Kranepool was a Met when that really meant something . He started on the Mets in their inaugural year, 1962. They went from the worst team ever to World Champions in record time. They became the heroes of NYC in 1969. I was riding the subway back then to get from Flushing to the Bronx to go to school, and in the Bronx, when the Mets won, everyone was smiling. If you've ever been to NYC you know how unusual that is. And in the Bronx, which is of course where the always-hated Yankees were HQ'd. Ed Kranepool died Sunday. He was watching a Mets game when he had a heart attack. # James Earl Jones : "I don't know if we ever learn from history." # Famous heroic kitten breaks out of prison to rescue house pets in Ohio from being eaten by JD Vance. # I made kittens the theme for the presidential campaign, it was my attempt to bring levity to it for readers of my blog. Then came ...

China-Africa cooperation ranges from Juncao to electrical transport

图片
China-Africa cooperation ranges from Juncao to electrical transport The 2024 Summit of the Forum on China-Africa Cooperation concluded in Beijing on Friday. In this week's newsletter, we provide you with stories and videos depicting how China is helping African countries in areas ranging from transport to mushroom cultivation to e-commerce. 2024-09-10 09:07:32 View in browser Sustainable wheels: How China is driving Rwanda's electric transport 18:05, 04-Sep-2024 https://www.cgtn.com/newsletter/china/6...