coding

ExifEdit Launch!

Recently I’ve been working on a program to solve a nuisance of mine, why do digital cameras label pictures arbitrarily as DSC_1234.JPG?  It’s a meaningless naming convention and makes it difficult later to go through all your pictures to find that one you took last week.
Failing to find any tool on the web that does [...]


Australian Voting

Our latest project for CS 373 was to create a model that resolves ballots within an Australian voting system.  However this voting method also goes by preferential voting and we specifically modelled the instant-runoff version.  Simply put, preferential voting is to rank the candidates on a ballot as opposed to voting for a single individual.  [...]


Process wait script

 
Often times I would run commands that depended on processes to finish on another tab within a screen session.  Unfortunately, bash’s wait command only works within the existing shell, so I came up with a quick script to check versus executable name.
#!/bin/bash

if [ $# -ne 0 ]; then
    while pgrep ^$1 > /dev/null; do sleep [...]