PM2 Startup Error with Node and Typescript

If you decide to run PM2 to run your node server and you're using Typescript you can get this error: [PM2][ERROR] Interpreter .nvm/versions/node/v18.11.0/lib/node_modules/pm2/node_modules/.bin/ts-node is NOT AVAILABLE in PATH. (type 'which .nvm/versions/node/v18.11.0/lib/node_modules/pm2/node_modules/.bin/ts-node' to double check.) It can come in many forms but the important part is ts-node is NOT AVAILABLE in PATH. The fix for this …

Groovy, Kotlin, and Java

I was reading this article https://medium.com/sciforce/kotlin-vs-groovy-which-language-to-choose-47e4369fb905 which discusses the pros and cons of Kotlin vs Groovy. It's a good article and worth the read. It's been a few years since this was published, but I'm going to comment anyway. Disclaimer: I've used Groovy since 2005, have been a Java developer since 2000, and use Grails …

SvelteKit Express SocketIO Template Project

I have wanted to create a multiplayer game for a long time. I've done some similar work in the past with Java and wanted something lighter and easier to work with. I really like Svelte. So my multiplayer game will include SvelteKit, Express, and SocketIO. I'm also using Grails for the REST API. I spent …

Access POGO/POJO Properties

I was working with my database and my domain classes have 45 properties. I didn't want to implement those by hand. If you're using Grails it will automatically populate the object via GORM. I'm writing some tests to run so I can check my assumptions before I actually run code against the database and populate …

Leaving Evernote?

I have four pain points in my life that lead me to be less organized than I'd like. My bookmarks, my Google Drive, my Evernote, my YouTube playlists. Each one of these are collectors for my "stuff." My Chrome bookmarks have tons of named folders. What happens is I find a bunch of videos I'd …

Cherokee Word Deconstruction

I've been working on a word deconstructor. This was originally called an AffixSplitter or Lemmatizer depending on the project you look at. The original projects can be found here and here and here. It's easy to determine affixes when you know what type of word you're dealing with (verb, noun, adjective, etc). When you don't …

Cherokee Code Libraries

I have spent quite a while (like 2 months now?) working on getting the libraries available for open sourcing. I am finally at the point that they're ready. I'm still improving some of the libraries, but they're ready for use now. I also spent a bit of time refactoring the website to the latest Grails …

QR Code Reader and Catalog RaspberryPi Part 1

I have a storage room, garage, and a workspace. I'm planning to use this to catalog everything from collectibles, Christmas decorations, electronics, leather works, models, research materials, and more. I want to be able to search for items I need and find where they are located in my massive collections. A while back I wanted …

Python 3 cv2 Has No Attribute Aruco

Osiyo. Dohiju? ᎣᏏᏲ. ᏙᎯᏧ? Hey, welcome back. I don't use Aruco in my work. I haven't had a need for Hiro or Aruco markers. However, I was testing some code and came across this error: AttributeError: module 'cv2.cv2' has no attribute 'aruco' Sometimes my pip installs get munged when I install other packages. So I …

%d bloggers like this: