博文

Scripting News: Wednesday, May 28, 2025

图片
Wednesday, May 28, 2025 I love this piece about Anthony Edwards and how the OKC's guard against him by double-teaming, so he can't have the ball, and that allows them to steal the ball more often from other Minnesotan ball-handlers, and also limits Edwards opportunities to shoot, but it does make it more possible for others on the team to shoot. If he does his job, the pundits and fans say he's slumping (low points). But he's just doing his job. Same thing, flipped around -- when they say Brunson is scoring so many points, he's doing great, like LeBron or Kobe, but actually it's a sign the team is fucked up. Too dependent on one offensive player, the others are just standing around in case he wants to pass it to them. I exaggerate, but it does work out that way. What you want is a team where there are always lots of options, and to the extent that they're hot, the team is impossible to defend. But a Brunson holding the ball all the time...

🔥 (219) Mocking Nuxt Components, Render Functions, and More

图片
Read this on my blog Hey there! As always, I've got some tips for you this week, plus an announcement: If you're already familiar with Nuxt, I've got great news for you! We've structured Mastering Nuxt: Full Stack Unleashed so that it's easy to jump into the advanced topics later on in the course (I catch you up with what we've been building throughout). You can watch that one for free here to see what we've been up to. Yesterday we released the first set of videos in the advanced second half, focusing on advanced topics for server routes: Configure Persistent Storage in Nuxt with Unstorage Implement Server Middleware for Global Request Handling And since we're still releasing lessons, you can get the course for an early access discount: Get Mastering Nuxt: Full Stack Unleashed here 🔥 Mock Nuxt Components When Testing When testing, you'll often need to shallow render a component — mocking ou...

Scripting News: Tuesday, May 27, 2025

图片
Tuesday, May 27, 2025 The Knicks are playing the Pacers tonight. Very pivotal. If the Knicks win, it becomes a best of three series, and two of the three games are played at home. Not necessarily so great for the Knicks, they do well on the road. The players say it has something to do with being able to focus on the game and not on family, that came from Mikal Bridges . # I asked ChatGPT to review my archive on the Knicks and to summarize my feelings about the team over the years. This is what they said. "Your sentiments toward the New York Knicks over the years appear to be a blend of enduring loyalty, cautious optimism, and occasional frustration. Your writings reflect a deep-rooted connection to the team, celebrating their victories and expressing hope during promising times. At the same time, you don't shy away from critiquing management decisions or expressing disappointment during less successful periods. This combination suggests a passionate fan ...

Scripting News: Monday, May 26, 2025

图片
Monday, May 26, 2025 Helping Harvard? # I feel like I should help Harvard, because Harvard helped me, and if you use podcasting or RSS, it helped you too. # In 2002, I was ready to leave Silicon Valley, and RSS needed a safe place to be parked, or I felt the tech industry would keep trying to own it, and make it far more complicated than it needed to be. And I wanted the intellectuals of academia to blog. # So I knocked on the door at Harvard, because I heard they had a program that was close to being up my alley -- the Berkman Center for the Internet and Society. My friend John Perry Barlow was a founding member. I figured if they could handle a Grateful Dead lyricist, and general muck-raking rabble-rouser like Barlow , they might be able to appreciate someone of my creative caliber. They accepted me, gave me run of the place, defended us when we got in trouble and great things came from it. But I always felt like a bit of a thorn in the side ...

Weekly Vue News #199 - Optimize Performance with useInfiniteScroll from VueUse

图片
Weekly Vue News #199 Optimize Vue App Performance with useInfiniteScroll from VueUse View online Hi 👋 No personal news this week - just fresh Vue & Nuxt content for you to dive into! Enjoy this issue and have a lovely week ☀️ Vue 📕 How to access DOM elements with useTemplateRef ...