Dan M

Dan M

@devuxer.com

UI/UX designer/prototyper/developer in San Diego. Tennis & automobile enthusiast. 🏳‍🌈 him/his

132 followers205 following87 posts

So far, I've had a lot more luck getting LLMs to review and help me fix issues with my code than generate or fix code. GitHub Copilot specifically sometimes generates suggestions I like, but it can also be very insistent when I know I don't want it to suggest something. So, it's kind of a wash.

@feross.bsky.social Hey Feross! Heard you talk about Socket Firewall on a podcast and was about to install it when I noticed that it only scores a 77% on supply chain security and quality on socket.dev. Also, the package was created 8 years ago but you said it was new. Should I be worried?

One really annoying habit of Copilot autofill in VSCode is when I delete the thing it recently auto-filled, and as soon as I lift my finger up from the Delete key, it re-suggests the thing I just deleted. Then I have to escape out of it. Sometimes twice. I hoped the UX would be more mature by now.

Welp, I've been giving Arc Browser for Windows the old college try for a while now, but it's never really stopped being glitchy, and now The Browser Company has deprecated it, so I think the time has come to go back to Brave, but this time, with the "Use vertical tabs" option turned on.

One of the most amazing stats of the epic 5-set French Open final was that Sinner won 193 points and Alcaraz won 192. 385 points played and the loser wins a single point more than the winner. It’s representative of how close this match was. Alcaraz was literally millimeters away from losing the 4th.

@danshappir.bsky.social, Hey Dan, enjoyed the JS to TS conversion episode of JSJ, but I disagree with your choice of linter. I’ve been migrating all my projects over to Biome, and I find infinitely easier to configure. It’s also faster.

One other comment. I was surprised you didn’t manage to find a role for LLMs in your conversion. I would imagine an LLM could do a halfway decent first pass at converting (adding types to) files. Interestingly, though, you did bring up MCP in your picks ☺️

Wow, @twilio.bsky.social (SendGrid) ditched its free plan with only 60 days notice and claims this is ample warning. It’s not when you maintain web apps in your free time. Anyway, I think I’ll move the non-profit web app I maintain over to SMTP2GO. Hopefully, it will stay free. 🙏

@podsaveamerica.crooked.com TY so much for “Why are Fundraising Texts SO annoying?”!!! I admit, I thought the whole texting nightmare was ActBlue’s fault, but now I know better. That said, a lot of people don’t, so I think it’s on ActBlue to solve this. Perception > reality. motivated

Hey Carl and Richard @dotnetrocks.bsky.social, regarding your discussion with Steve Smith about how DRY can sometimes backfire, I think a better guideline is “maintain a single source of truth”. It’s often okay to repeat code, but it’s not so okay to repeat things that should be consistent.

One example is business logic. If you have multiple copies of logic that determines whether a user is authorized to see a particular piece of data, then requirements change, multiple copies must be located and edited to ensure correct behavior of the system, an error prone process.

@maddow.msnbc.com Your segment on airplane incidents was riveting but left me wanting more. How does the rate of incidents since Trump 2 compare to normal? Is there evidence of a *causal* relationship between bad leadership and incidents?

Hey @leerob.com, I am using git integration with a NextJS project in a private GitHub repo. When I push to Master (the only branch), Vercel is simply not notified. This has worked for years and suddenly stopped. No change in any settings. Tried all troubleshooting steps but to no avail. Any advice?🙏

To add to the mystery, I also have a deploy hook in Contentful that still works (triggers a new deployment upon publish). Interestingly, it also causes Vercel to requery my GitHub repo and build to the latest commit. So that's good, BUT this deploy hook is no longer listed in Vercel settings > git!

This literally cannot be done with JavaScript: Check whether a keyboard key has been pressed or released while the browser's right-click context menu is open. My app needs to keep track of key states, and I can't disable the browser context menu. What do you advise, @w3c.bsky.social?

Great post! To me, the type-safety drawback is not as significant as the "relying on strings that don't autocomplete and are not compile-time checked" drawback. But that's not a drawback of CSS variables per se, it's a drawback of CSS in general (class names and IDs suffer from the same problem).

Regret regret regret! If you’re about to head off somewhere with a Windows laptop, do not do “update and shut down” on Windows. I’m 30 minutes in, and it’s still. not. done. The Windows update part is massive, and it also did a BIOS refresh at some point. I wish there had been a warning.

Hey @joshuakgoldberg.com, would you happen to have any suggestions on how to migrate an eslintrc that configured eslint-plugin-import and eslint-import-resolver-typescript to eslint.config.mjs. Are these even still needed?

To answer my own question, it seems that there is a new project, eslint-plugin-import-x, and the resolver story for it is still a WIP. As usual with ESLint, complexity abounds. Maybe time to try @biomejs.dev? Or will I have the same problems with that too?

Welp, I took the plunge and switched to @biomejs.dev. It seemed to migrate my eslintrc file even though it threw this error: "Migration has encountered an error: The module C cannot be resolved." Googled the error to no avail. Otherwise, seamless: ⚡fast and builds in plugins for React, Import, etc.

Went to Costco yesterday (Black Friday) with my partner in the early afternoon. Thought I’d have to drop him off and look for parking 1/2 mile away… The parking lot was only 3/4 full. Nearby IKEA was also quiet. Is this the new normal?

Bluesky is starting to feel like pre-fubar'd Twitter. Not that I want to be tempted to while away hours scrolling social media, but it can't be a bad thing to have our community resurrected. Hope things continue in this direction!

@housecor.com, Really enjoyed meeting you at Connect! So much new React stuff to get my head around, but your talk really helped get the ball rolling for me. Would love to keep in touch. Drop me a line if you're in San Diego.

Hey @tolin.ski, from recent episodes of Syntax, it sounds like you stopped using Arc browser? Just curious what ended the romance. (Feel free to use this for a potluck if you think a wider audience might be interested.)

No matter how many improvements they make to CSS—and it really has improved by leaps and bounds—it’s still way too confusing. Case in point: on today’s @syntax.fm, Wes brought up the problem of “ghost spaces”. This should not be a thing!

Was just unpleasantly reminded that in the bizarre world of JS, typeof null === “object” Oh well, bug solved.

The best debugging strategy really is to walk away. You do have to wait until you get stuck first…but only the right amount stuck. Understand the problem and try sone things, but don’t bang your head against the wall for 6 hours. If you get it right, you’ll come back be like Ohhh!