A fun side project I’ve been helping out on has me digging into quite a bit of Lua recently. It’s been been interesting to dig into, not withstanding the general headscratching (😠 arrays that start at 1…twitch). Since so many new games are developing their plugins and UI components in Lua, it’s a nice language to have in the toolkit.
Code formatting is a bit of a religious discussion among developers. Spaces or tabs, whitespace positions, and line endings at certain elements are all part of the style guide to a project.
Now that the initial configuration is taken care of (see part 1), the real interesting stuff awaits in part 2.
As I mentioned before, SQL Operations Studio is my new favorite SQL digging tool for queries. It loads fast, is portable, and, most of all, has user-configurable widgets.
As part of my migration from my old blogging software to new, I needed a way to snag all of the images. However, the old system stored the images as extension-less numbers, making it tedious to match article slug to image quickly. I pulled down a database extract with photo ID and slug, but needed a way to pull down the images and rename them from