博文

Scripting News: Wednesday, August 28, 2024

图片
Wednesday, August 28, 2024 Today Automattic announced that they're converting Tumblr , which they acquired in 2019 , to run on WordPress as its foundation. This could get a simple colorful user-friendly interface for WordPress, something it's needed for a long time. WordPress does everything in its UI, Tumblr has its UI better organized for writers and more casual users. If they can move in this direction, it seems that WordPress could be large part of the emerging social web . # An idea for the Harris campaign. Let me buy some swag and have it sent to 10 of my best friends, esp ones who live in swing states. Plus you get the names and contact info for people at least one of your supporters thought would be a potential Harris voter. I'd send something less presumptuous like When We Fight We Win stickers. Another related idea, let me buy a whole set of promotional materials, kind of like the gift baskets they sell at Zabar's . # Note to the Harris c...

🔥 (#180) Self-healing URLs

图片
Hey all! I'm finally selling the hardcover of Vue Tips Collection 2 again! It's also a great price —  $77 with shipping included, until Friday . Get the hardcover of Vue Tips Collection 2 here We've also got a new podcast and tips. I've also got a short newsletter-only riff on self-healing URLs. Let me know if you're liking this new format! Have a great week, — Michael 📝 Self Healing URLs Recently, I've been thinking about self-healing URLs. It's a pretty cool concept, but I have yet to implement it in any project. A lot of the time we need to stick an id or some sort of unique hash into our URL. But this isn't exactly a great user experience — the hash isn't human readable or descriptive, and hashes don't exactly help your SEO. However, we need some sort of unique hash or id. If we just use the title of the blog post, for example, what happens when we update that title? /my-great-article/ -> /my-awesome-art...

Scripting News: Tuesday, August 27, 2024

图片
Tuesday, August 27, 2024 Very insightful Greg Sargent interview with James Carville. Two take-aways for Democrats. 1. Avoid NPR politics. 2. Appeal to college-educated white men. Most of them vote Republican, but with Walz on the ticket, they have a special ambassador, he represents that straight-talking country folk are part of the Democratic coalition. It's still true that white voters are the majority. Get a small number to vote Democratic could be enough to win the election. It never is about policy. It's about whether you are like them. That's what it means to avoid NPR politics. And btw, imho -- getting the press to like you might not be good. I wonder if the Dems would ever have the courage to sever itself from the journos. Imagine Harris saying "If the press says we're bad you know that means we're good." She could say that in her big interview. 😀 # The reason I asked yesterday if NYT reporters sign NDAs (with the NYT, not sour...

Scripting News: Monday, August 26, 2024

图片
Monday, August 26, 2024 Do NYT reporters sign NDAs with their employer, the NYT? # I know it doesn't matter why the NYT are so fucked up about covering the election, but I can't stop thinking about it anyway. Then, Greg Sargent's podcast gave me an idea. The oppressor in a fascist state doesn't need you to love them, so long as you don't love anyone else. The NYT isn't trying to make us love Trump, that's impossible. But they are trying to make us not fall in love with Harris. I doubt they foresaw that possibility. But our feelings about Harris are very much love. The NYT is our only master, they must think. There's no room for us to love someone else, because we might listen to them. In a sense they respond like a first born child on the arrival of their little sister or brother. I don't know. As I said it doesn't matter why. That's their problem. Our problem is to get them out of the way. # I don't want to give Trum...