Exploring permutations and a mystery with BSD and GNU split filenames

Recently, I was playing around with the split command-line tool on Mac OS X, and I decided to chop a 4000-line file into 4000 separate single-line files. However, when I attempted to run split -l1, I ran into a funny error: split: too many files Curious to see if any splitting had occurred, I ran ls and sure enough, a huge list of filenames appeared, such as: xaa xab ... xzy xzz Now I could see why you’d run out of unique filenames - there are only 26 letters in the alphabet and these filenames were only three letters long....

January 22, 2018 · Loraine

Bash Prompt Mods: Last Command Time and Conditional Exit Codes

I’ve been spending a lot of time thinking about how I can improve my bash productivity and understand when / why things have gone wrong sooner. Luckily, I stumbled upon this golden blog post by Jake McCrary. Put the last command’s run time in your Bash prompt via @climagic #linux #unix #programming https://t.co/vdi521B4a2 — nixCraft # (@nixcraft) September 15, 2016 I decided to adopt some of his prompt suggestions on tracking the last command and put my own spin on the additions....

October 1, 2016 · Loraine

Unintended tweets from @CoinForTechConf

I recently learned some lessons from the first Twitter bot I made: @CoinForTechConf. This bot was built due to laziness - I didn’t want to keep running the same Twitter search queries to discover scholarships for tech conferences. I wanted to build something that would find scholarships for me, notify me, and share the opportunities with other folks looking for funds. The intention was to be helpful to students studying programming and entering the tech industry....

July 13, 2016 · Loraine

Minimum Freakout Project: MVP Planning

While talking about tech projects, you might hear the acronym “MVP” thrown around, or minimum viable product. Think of it as the absolute bare minimum that you can squeak by with and call something “done” within a given time period. Keeping the MVP in mind was important as I worked on Book Duets, my capstone project for Ada Developers Academy. The MVP served as a focal point that my sprint planning revolved around....

February 16, 2016 · Loraine

RubyConf Lightning Talk

Here’s a Confreaks video recording of my lightning talk on my capstone project, Book Duets, at RubyConf 2015 in San Antonio.

November 30, 2015 · Loraine