Categories


Recent Posts


Archives


Category: Programming Quickies

Back in they day, I ran a Tumblr blog named Magento Quickies where I’d post shorter, less in-depth posts about my travels through Magento’s source code. This Programming Quickies categories is the successor to that Tumblr blog. You’ll find all the old Magento Quickies content here, as well as new short posts about programming in general.

This section has its own RSS feed, the old Magento Quickies feed should should be redirecting, and we’re cross posting notifications for new posts over to magento-quickies.tumblr.com. In other words, you shouldn’t need to know any of this, but the duct tape that keeps the internet held together isn’t aging well, so your mileage may vary.

Below you'll find all the Programming Quickies articles on the site.

Large Excel Data Dumps

I don’t know much about its provenance, but this small python program is just the thing if you’re trying to export a large Excel spreadsheet to a far more usable/malleable CSV file. Particularly useful for folks with Macs, since Numbers, Libre Office, and Open Office don’t handle large files well (Numbers and Open [...]

astorm

Datasette

It’s been long enough and I’m now old enough that I can’t quite remember when I started following Simon Willison’s work. He’s the co-creator of Django and one of those early online programming voices that were invaluable if you were cobbling together how all this stuff worked without direct access to the [...]

astorm

Line On Sierra

When it comes to retro gaming I’m mostly a dillitante, and I’m mostly chasing nostalgia. That probably explains why I’ve only just discovered this fantastic four year old series from a modern game critic (LIne Hollis) playing through the origial Sierra On-Line lineup. I mention this here, on a programming blog, because [...]

astorm

Unfriendly Fire

One of the less fun parts about working in a C code base is dealing with the toxic machismo that’s still present in the wider culture. The people I work with are (fortunatly) great, but when I’m wading through the internet for answers I come across things like this time and time again. The top answer is a rant that spends [...]

astorm

Mage TV Beta

Vinai Koop has opened his Mage2.tv service/channel as a free public beta. Right now there’s over an hour of free Magento 2 tutorials, and a roapmap for what content’s coming next. It’s also an interesting example of a single person’s vision for a video delivery system. These sort of systems are common, but are [...]

astorm

Chrome Redirecting .dev to HTTPS

The latest version of Google Chrome (Chrome 63) will redirect any domain that ends in .dev and .foo to an https URL automatically. It sounds like Google felt they could do this since they bought the entire .dev and .foo global top-level domains (gTLD). I joke complained about this on Twitter before, but it seems like my Chrome finally [...]

astorm

No Clear Wins

Two of the biggest mind shifts I’ve had to make in coming back to C programming have been strings and variable scope/lifetime. This Stack Overflow question is a nice encasulation of both. First off — strings aren’t a first class type in C. They’re just a char array of individual characters, with a NULL character as the final [...]

astorm

Simulate a cron Enviornment

Debugging cron jobs is one of my least favorite activities. This clever tip over on Stack Overflow shows how to use cron and the env generate the enviornmental variable your system’s cron runs under, which in turn will let you pretend to be the cron job. (This won’t help you if you’re using a PHP system that layers its [...]

astorm

Packagist Semver Checker

Speaking of composer and sematnic versioning, here’s a neat web page that will List all the avaiable versions of a particular packagist package Highlight which versions composer will pick when you use a particular set of SemVer characters Useful when you’re chasing down composer dependencies — although this project (as [...]

astorm