Naming Things is Hard

a blog about nerd stuff

Recent Blog Posts

Bug Watching Considered Benficial?

September 22, 2023

Did you know you can kind of watch browsers be developed? It's true! Like once upon a time I subscribed to this "bug" against Firefox in Mozilla's Bugzilla site and ever since then I've been getting notification bits in my inbox about this dependency or that blocked issue as they've trickled out and it's just enough to remind me that this new feature I'm really interested in is definitely being worked on and is certainly coming, someday, probably. It's kind of cool.

You can also of course file bugs against browsers. Which is how I know that this incredibly weird and obscure bug I filed against Safari…does not appear to be definitely being worked on. But hey! Maybe someday!

Experimental Dark Mode

May 26, 2023

Hi. I've added a dark mode toggle. It's wildly underthought and highly experimental. Which is pretty much the entire M.O. of this site, anyway, so, you know. Anyway, you can click that button down below and maybe it'll work and not be too horrible?

Clean-up, clean-up, everybody does their share

May 26, 2023

I'm working on some clean-up here, fixing some things and rearranging some furniture that's been bothering me for a while. To that end I suspect lots of links are going to break and the RSS feed is going to probably vomit all over the place for a bit. I apologize in advance. Should be a one-time thing. (I hope.)

Visual Studio Storm

March 22, 2023

Sometime late in 2022 I made the switch from PhpStorm to Visual Studio Code. Now I think I'm switching at least partially back. Maybe!

I really had no interest in making the switch in the first place, but PhpStorm, for whatever reason, was starting to act like a mess, crashing way more than is ideal. I kept updating the app and hoping it would fix whatever problems were plaguing me but then it kept seeming to get worse. Not quite to the point of unusability, but to the point of, between the crashes and a light desire to maybe not have to pay money for my code editor, wondering if maybe it wasn't time to jump off that ship.

So I've been trying to use VS Code since, and I do generally like it, once I got up and running with it. But it also annoys me in equal measure. Trying to get my keyboard shortcuts matched up has been a never-ending battle—I kind of hate the way it works in Code, the fact that it feels like I could get everything to work the way I know it worked in the previous editor, if only I were willing to spend all my time customizing my shortcuts.

I'm also growing less interested in how much it feels like I need to customize the editor to be the editor I need the editor to be. As much as I get the experience of having this base code editor which you can then plugin your way into being whatever it is you want it to be, I'm also kind of tired of feeling like I'm building my own code editor on the fly every time I open it up and discover this one other thing that doesn't quite work the way I need it to.

Like…PHP support is kind of a hot mess, isn't it? It's frustrating that some of the basic formatting stuff I feel like I need access to is depending on community plugins that are basically unsupported at this point. As much as I want to be cheap, there's also something to be said for giving the right someone some money, so then at least when something doesn't work right, I have some skin in the game when I feel like I have complaints to voice.

The final straw's been when—I work in Drupal 7 still, a lot, and so I do a lot of template structured stuff; <?php if ($foo): ?> kind of stuff. And for some reason formatting all those *.tpl.php files has become the absolute bane of my existence. Nothing is quite working to the point where the style I had going into the file is the style I have going out of the file; indents are off and nesting levels are off and all sorts of little things are just going “I dunno, let's try it like this!" The tipping point's been when I think I finally got everything working right, except for whatever reason the editor, when I try to format the file, is sticking a space between the closing parenthesis and the colon up there in the alternate control structure syntax. I got as far as the editor putting the space in there, but then telling me it shouldn't be there, at which point I almost Ron Swanson'ed my laptop into the trash bin.

I know there's going to be a certain amount of churn when it comes to getting a new environment up and running, but at some point when you realize you're thinking you might have to learn how to script the browser yourself to do a basic task that just kind of worked somewhere else, maybe this isn't the best use of one's time. So I'm hoping reinstalling PhpStorm gets me back and running without having to think about this stuff anymore. Since I made the switch my organization upgrades me to an Apple silicon MacBook, and I'm hoping against hope maybe the new machine will handle better whatever the older machine couldn't. I'm also debating just moving my main Drupal project back into PhpStorm and leaving everything else back in VS Code, because there's definitely things I like about VS Code that PhpStorm doesn't seem to offer, but then also the thought of running two code editors and trying to keep my keyboard shortcuts in sync feels like a recipe for nightmares, too.

Long story short: I don't know! I'm annoyed.

The node_modules folder considered harmful

March 6, 2023

For various reasons I'm finding myself in the process of needing to delete multiple node_modules folders from a Time Machine back-up drive. No, it's not how I planned to spend my Monday, but here we are.

Here's the thing: I'm looking at these folders that have like 160 MB of stuff in them, and it's like, okay, that's gross, and then I'm deleting them, and I'm deleting some 17,000 items. That is shocking. That is weirdly upsetting.

I mean, what exactly am I doing as a developer that requires nearly 20,000 files worth of JavaScript installed locally on my laptop per project? I don't do anything that fancy. I use 11ty a lot for static site generation and Fractal some for pattern libraries and then there's basic sass and JS compilers and stuff like that, but, like, 20,000 files worth of script to do that?

I know I'm not the first person to point out that the node_modules folder is broke as a joke but it's really hammering home right now just how gross it is when it's actually impeding my ability to restore data from a back-up drive. Maybe there's a way to tell Time Machine not to touch those folders in the future, I don't know.

Really I'm just having a Monday of a Monday here and this seems like as good a thing as any to complain into the void about.

Additional Content

Today I Learned...

Home & About &