博文

Scripting News: Tuesday, June 18, 2024

图片
Tuesday, June 18, 2024 My second Podcast0 episode is up. Here's the RSS 2.0 feed . And the page for the episode on Apple Podcasts. # I'm highly motivated to support the newly released Threads API, but a quick look indicates that it's a fairly large project. All I want to do is cross-post, along with Masto and Bluesky. I did both those a loooong time ago. But I really want my links to go to threads, and also create a thread-writer for it like the one I did for Twitter and Bluesky. There's no shortage of really interesting projects now, so I think I'm going to have to wait to do this for a while. If anyone makes a really simple Hello World for Threads for Node.js that would make my day. 😄 # For people who use Electric Drummer . If you accidentally close a file that's open and want it to re-appear in its previous position, you can edit your prefs.json file. You can find it by choosing Open Data Folder from the File menu. You'll see prefs.j...

Scripting News: Monday, June 17, 2024

图片
Monday, June 17, 2024 I added my Podcast0 feed to PodcastIndex and Apple . I've subscribed in Pocketcasts , and am listening to the first episode now. # I can also set up a separate feed for Scripting News podcasts, and I'm definitely going to do that too. If this idea catches on I'd like to collect and share interesting podcast0's. # Here's a screen shot of the post from 2004 in Pocketcasts. The arrow points at the date. It's cool that a podcast from 20 years ago appears to work. I wonder how it'll sort in the Most Recent lists? # Twenty years ago today # I was talking with a friend over the weekend about the origins of podcasting, and how, in June of 2004, I finally decided to do an audio post, to get my feet wet, and to prove all you needed was a laptop and a little software and you could be doing radio almost as easily as writing a blog post. # That was June 11, 2004 . # Then it hit me, it's June 2024 now...

Weekly Vue News #150 - Change Status Code of the Response in Nuxt

图片
Weekly Vue News #150 Change Status Code of the Response in Nuxt View online Hi 👋 Remember last week when I mentioned moving the whole server logic from AWS into my Nuxt app? I hoped that it will not cause any issues. Well, it did. 🤦🏻‍♂️ The current server is configured with 512MB of RAM, but sending the weekly newsletter took more than 1GB of RAM, and my server crashed. I triggered the API endpoint on my local machine to send the newsletter, and it worked fine. After careful consideration, I decided to move only the email sending process to an AWS Lambda function. This function is triggered by the Nuxt app, ensuring that the app is not hindered by the email sending process. This solution not only provides the server with sufficient resources to handle other requests but also proves to be a cost-effective alternative to upgrading the server. 🚀 Have a nice week ☀️ Vue 📕 12 Design Patterns in Vue 👉🏻 In this article, Michael Thiessen compiled 12 different design patterns for Vue...

Scripting News: Sunday, June 16, 2024

图片
Sunday, June 16, 2024 Cat Stevens : "Look at me, I am old, but I'm happy." # Buffalo Springfield : "You make the rules, you say what's fair." # I've written a crawler for the network of blogrolls via connective links in HTML and/or RSS feeds. When I started the project, I had no idea what I'd find. How many blogrolls of what quality. I still don't know the extent of it, but there's a non-trivial number of blogrolls out there. I'm thinking about ways to get a handle on all the feeds in all the blogrolls, and see what we get from that. And I'm beginning to see the utility of FeedLand as a feed operating system, which is what I wanted it to be. It's not just a feed reader. It's able to do things most feed readers don't do, maybe none do. We don't have a good grasp of the depth of the feed products either. I will of course share the results when they are shareable. # Three movies I've watched in ...

Scripting News: Saturday, June 15, 2024

Saturday, June 15, 2024 "If looks could kill it would have been us instead of him." -- Beatles . # This function is included in every bit of software I write. Never know when you might need a random snarky slogan. I added two today. 1. There's no time like now, and 2. Mirrors lie. # I have a server that's returning OPML files. It's not the first time I've done this, but now there seem to be enough other people interested in this that it's worth raising this question. What content type should I use. Generally I've been using text/xml. But I see other people using text/opml. Here's a thread . # One place I could use ChatGPT-like functionality, in debugging CSS. I'd like to put my cursor on an object in Elements view and ask why does this object have a width of 1054.09px. When I look it up in the Computed panel it's greyed out, and for the life of me I can't figure out how to get the debugger to explain this. But the...

China's Dragon Boat Festival highlights

图片
China's Dragon Boat Festival highlights In this week's newsletter, check out what you need to know about the cultural traits of China's Dragon Boat Festival, the consumption and travel boom during this three-day break and how the two different types of zongzi came about. 2024-06-15 15:29:33 View in browser China sees robust Dragon Boat Festival consumption growth 20:54, 11-Jun-2024 https://www.cgtn.com/newsletter/china/53.html ...