web-mode + eglot + Vetur + Vue.js = happy

30 aug 2020

Recently, I’ve been writing code for a work project that involves a Vue.js front end, written in a mix of JavaScript and TypeScript, along with a backend API that’s completely TypeScript. My emacs config gave me great tooling when I was working on the API, but support for the front end code felt really lacking in comparison. Yesterday, thanks to a lucky discovery, I solved this. I’m really happy about it!

…read on for what i found

Project FOAMY

16 jul 2020

I recently read “Every Tool’s A Hammer”, Adam Savage’s autobiography. In chapter ten, he talks about his hatred of drawers, and then devotes some time to how he makes custom drawer organizers from foamcore.

Now, I’ve long had a mixed relationship with my drawers (ahem.) I don’t have the same “out of sight out of mind” issue that Savage describes in his book, but I’ve long hated how things in drawers won’t stay put. I’ve tried using in-drawer organizers, but that just moved the problem to a different level: stuff would stay inside the organizers, but the organizers themselves would still slip and slide when the drawer was opened or closed.

…read on for the solution

The really interesting thing about Git::Wrapper

3 jun 2020

Since I maintain the Git::Wrapper module, I was super happy to see the recent ETOOBUSY post about it — but I thought that the post, which starts with the TL;DR of “Git::Wrapper is an interesting Perl module.” didn’t mention the thing I think is the most interesting feature of Git::Wrapper.

In my opinion, the most interesting part of the module is the core of the implementation (which was originally written by HDP). Because of the way Git::Wrapper is written, it will continue to support any new sub-commands or sub-command options as they’re added to the Git binary, without requiring a single update to the Git::Wrapper code itself!

…how even does that work?

introducing eleventy-plugin-json-feed

23 may 2020

JSON Feed icon
JSON Feed icon

JSON Feed is a relatively new syndication format, similar to RSS or Atom — but where those two formats are based on XML, JSON Feed is based on …JSON.

Most major feed readers have added support for JSON Feed, and as you can see on the “code” page on the JSON Feed site, there are tons of plugins available for various languages and blogging systems. However, there wasn’t one for Eleventy …until now.

Over the last day or so, I wrote and released eleventy-plugin-json-feed, making it super easy to add a JSON Feed to your Eleventy-generated blog. I tried to make sure it would only generate connect feeds, by validating all the inputs to make sure they confirm to the JSON Feed spec. I’d appreciate hearing any feedback any of y’all have, if you should try to use it.

(You may notice this site is sporting a new icon in the header as well. If you happen to subscribe via JSON feed, holler if you notice any issues…)

open source annoyances and affordances

16 may 2020

As is my wont, I upgraded my installed Emacs packages this Saturday morning. When I restarted Emacs afterwards, everything broke. I’ve gotten the problem fixed, but I ran into some frustrations along the way.

…read on for the gory details