博文

Scripting News: Tuesday, January 7, 2025

图片
Tuesday, January 7, 2025 Has anyone come up with a variant of JSON that allows comments? I've started using names like "comment1" etc to shoehorn comments in. A complete hack, impossible to maintain over time. The idea of not being able to put notes in your config.json files is absolutely ridiculous. # I wish the Ecmascript committee had put more effort into real soul-saving enhancements like comments in JSON instead of coming up with contorted ways to do the same old contortions we got used to dealing with ten years ago. And they could have removed features from the language instead of piling on more and more random reinventions. End of editorial, now on with the new Bingeworthy. # The new Bingeworthy # Last night while watching a basketball game, checking my iPad, and all of a sudden new items started appearing in the RSS feed for the new Bingeworthy . # I thought oh geez there's some kind of bug, last thing I need now, but quickl...

Scripting News: Monday, January 6, 2025

图片
Monday, January 6, 2025 The great thing about using a system like MySQL (or any SQL for that matter) is that it's been around for so long that if you can think of something that would be nice to have, you can be sure it's there somewhere. They've had enough time not only to hit all the walls, but to try out different approaches and settle on one. Maybe at times there were competing ways to do things, like the way Bluesky and ActivityPub, and probably Threads, and certainly Facebook and Twitter insist on reinventing RSS . But when I ask ChatGPT "can you do this in MySQL" it gives me one or two ways to do it, but usually just one. These are things I never would have found in the old Google-search way of finding answers. An example, I wanted to find out if there was a MySQL way to query a value inside a JSON object, and the answer is (of course) yes. And you can create an index on such a value. I didn't even ask for it, ChatGPT volunteered, guessin...

Weekly Vue News #179 - Win Two VueSchool Licenses

图片
Weekly Vue News #179 Weekly Vue News #179 - Win Two VueSchool Licenses View online Hi 👋 Happy New Year! 🎉 I'm kicking off 2024 with some exciting news: I've teamed up with the Vue.js Nation Conference 2025 to raffle off 1 VueSchool Lifetime License and 1 Mastering Nuxt 3 License! You'll find all the details below. Behind the scenes, I'm making great progress on my Nuxt SaaS Starter Kit and can't wait to share more in one of the upcoming issues. Stay tuned! ...

Scripting News: Sunday, January 5, 2025

图片
Sunday, January 5, 2025 Update: Bluesky images work again and thus the Great Art on Bluesky channel is back. If you're on Bluesky please subscribe. # The crazy thing about Bluesky's API is they took already standardized things like links and enclosures, and after 20+ years came up with new definitions. Makes our apps more expensive to maintain, and we waste time and human wear and tear on stupid bullshit make-work. Developers are people, and our work is already horribly overly complex, we're working at the edge of comprehension, and what the fukc let's throw some more unnecessary complication into the mix. Arrogance, narcissism, whatever the source is, it's not a good way to introduce yourself. And, even better, after you go through the maze they break it, with an error message about legacy blob bullshit. They've already done this, and they're just getting started. It's why I say they should just adapt to RSS instead of trying to forc...

Scripting News: Saturday, January 4, 2025

Saturday, January 4, 2025 Just taking it easy. Thinking about stuff. Will resume blogging soon. 😄 # BTW, as promised , last night's Knicks game was great. Up until the end, when the other guys took over and sadly the Knicks lost. We need a stronger bench. The starting five are great but they're not totally super-human. # Linkblog items for the day. Trump's Second Term: Punish the Vulnerable, Enrich the Wealthy. rollingstone.com Cartoonist quits 'Washington Post' after Bezos sketch killed. npr.org Apple TV+ is free this weekend. Here are some streaming suggestions. npr.org Manton Reece: The long goodbye for Tim Cook. manton.org How a Mole Infiltrated the Highest Ranks of American Militias. propublica.org Knicks' biggest weakness was exposed by late Thunder comeback, and they may only have a month to fix it. cbssports.com Copyright 1994-2024 Dave Winer. This email was sent on: 1/5/2025, 12...

Scripting News: Friday, January 3, 2025

Friday, January 3, 2025 Knicks on Friday night : A big offline day here in the mountains, the show will resume tomorrow bright and early, Murphy-willing. Enjoy tonight's Knicks game in OKC. Should be a great game. 😄 # Gambling, sports, kids # Krugman writes about social media is poisoning children's minds. # I like that Krugman has resumed his blogging. # This means that sometimes I agree or disagree, or have mixed opinions, but I always learn something. That's what makes a blogger good imho. # I don't know if I agree that children's minds are being poisoned. But I am pretty sure when people like Krugman and myself reach a certain age, and we are the same age, we start looking at new media that way. Maybe our minds are poisoned. My father called television the "idiot box." But it eventually became the literature of my generation, often very good. But maybe laws can help. # One thing I am sure of is that spor...

Scripting News: Thursday, January 2, 2025

Thursday, January 2, 2025 Little Feed Reader on Bluesky # My little feed reader on Bluesky is ready for you to follow. # Technically, this is how the pieces fit together. # I'm using the OPML file for my blogroll category on feedland.social to determine what's posted on Bluesky. When I add or remove feeds from the category, the OPML adjusts dynamically. # I'm running a new Node app that has a websocket connection to feedland.social. It receives all the new items as they are found from all feeds over the socket. It's feedland.social's firehose . Since I'm currently the only user of that server, it's getting news from the all feeds I follow, not just the ones in the blogroll category. # The Node app checks each new item to see if it's in one of the feeds in the OPML list. If so, it reformats it to fit in a Bluesky post and sends it to the feediverse account . # If you're subscribed you should see...

Scripting News: Wednesday, January 1, 2025

图片
Wednesday, January 1, 2025 I wrote a few blog posts in WordLand this morning because it was convenient. It's good the same way I like to use a twitter-like app to write first drafts, when all I have to type into is my iPad. I've also started using it on my desktop for short things, but I just wrote and edited a complete blog post , a response to something Krugman wrote , about how gambling is destroying sports. And what for? It's like what Marge said at the end of Fargo. "There's more to life than a little money, you know." It feels like they're feeding the NBA into a wood chipper . What comes out the other side won't imho be recognizable as sport. And here you are, and it's a beautiful day. # Welcome to a brand new year. The best one ever. 😄 # I've archived December in the GitHub repo, in OPML , as usual. # I've got so much new stuff stacked up, on its way out. Hold onto your hats. # Linkblog items...