I have no idea why this spaceship comparison is important, but a note in the file marked it so, and now here we are. #!/usr/bin/env zsh spaceship() { if [[ $1 -lt $2 ]]; then echo -1 elif [[ $1 -eq $2 ]]; then echo 0 else echo 1 fi } spaceship $1 $2
In January I got sick of being fat. All around me, clear to see, were middle-aged (45-60) year old people who didn’t take care of themselves. Most of my ex-wife’s family struggle with being overweight; diabetes is ubiquitous and even my ex-wife is seriously obese. My dad died of an asthma attack at 63 which […]
I am revisiting 2014’s Typewriter Permutation Simulator. Now powered by Node.js, because I want to learn more JavaScript. I have a healthy start made for a web-based performant bogosorter. var args = process.argv.slice(2); var permute = function() { var letters = this.split(''), count = letters.length; while (--count > 0) { var rand = Math.floor(Math.random() * […]
Eadaoin got us out of the house this morning for a walk through Saint Anne’s park in Clontarf and across North Bull Island. Gorgeous day, showers aside!
Here’s a blast from my past: I was an avid gamer in my teens. I can’t remember every game that I played. I can say that they included Magic, L5R, D&D, and Middle Earth. I put hundreds of hours into Tribes. I collected all the things, played all the things, and that was before had […]