You've stumbled across the archive of the blog posts I wrote back in 2014 and prior. Feel free to peruse, through everything from code snippets that never made it to GitHub, to random ramblings about my passion for technology.

So, I wrote this code, inspired by a Daily WTF post, which I wanted to make "more efficient":

public static string LastSixDigits(string number)
{
    return new List<string>(new string[] { number })
        .Where(n => !string.IsNullOrWhiteSpace(n) && n.Length >= 6)
        .DefaultIfEmpty(string.Empty)
        .First().Reverse().Take(6).Reverse()
        .Aggregate(string.Empty, (s, c) => s += c);
}

Continue reading...

I was sorely disappointed with the lack of labelled, complete world maps available via Google Search and Google Images.

World Map preview

So I found one without labels, and added everything myself. Just used standard Arial, nothing fancy. There were a couple that were difficult to label, so hopefully everything is clear. So, this is a fully bordered, fully labelled Photoshop file of a world map.

Continue reading...

As frequent readers will know, I recently triple-booted my new laptop with Ubuntu 13.10 as one of the host operating systems. However, Chrome has been acting up a bit. When I went to start Chrome from the launcher, it would instead start an icon called "Getting Started - Google Chrome" (other people have reported "New Tab" and "Chrome Settings" as their icon label of choice). If you pin this icon, Chrome does not start when clicked; if you pin the other, you'll always have two Chromes in your dock.

Continue reading...

I joined Stack Overflow almost two years ago now, and it's been an invaluable tool for both teaching and learning. Though my activity has declined recently, I've been active on other Stack Exchange sites; most notably, I've been an active participant on the Anime & Manga Stack Exchange, which is currently in beta.

With beta sites, we want to make sure that the site is headed in the right direction. Higher visit counts, more avid users, and all that, so that the site can successfully graduate from beta and become a full-fledged member of the Stack Exchange community.

Continue reading...

I recently bought a Macbook Air, wanting to expand my repertoire with iOS applications. (Despite how much I speak out against Apple, they have two things going for them: build quality and platform awareness; two things which are very hard to pass up as a developer.) However, having used Ubuntu for my schoolwork and also wanting Windows for a future job at Microsoft, I knew that I would struggle to be able to use a Mac without my trusty developers' operating systems.

That left me with one choice: multiple operating systems in a dual- or triple-boot fashion. But I'm ambitious with technology, so I was going all-in on this. I found this LifeHacker tutorial and planned to follow it to the tee, with the addition of a shared partition to transfer files easily between operating systems.

Continue reading...