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.)
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.
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.
February 20, 2023
I mean, who knows, right? Either way, though, this is certainly not the best look from one of the design resource websites I've semi-permanently pinned to the top of my browser tabs list.
January 31, 2023
I love static sites, but doing a blog as a static site (as this one is) has long come with the pitfall that I don't actually use it much, because of how all the content files are in the code repo, and that means either needing to do all my content entry directly into the repo, or going out to the repo on Github and manually adding files, or whatever. If only there was a way to manage the content as if it were a unique part of the system…
Enter Static CMS! Which is actually a fork of Netlify CMS, a project which I knew about but which I'd never looked into, as I'd mistakenly assumed it was some kind of premium database-driven back-end thing, which it turns out it is not, nor is Static CMS: instead, these are basically basic web apps that present an admin interface for manipulating the content files in the repo, directly, no database or whatever system required.
And…it's pretty slick. I have some things I want to try upgrading, but as a concept—as a way to make “content entry” feel like actual content entry—it's all there. Hopefully the project keeps its momentum going (and hopefully I find some blogging momentum in using it).