博文

目前显示的是 五月 28, 2025的博文

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...