The view from my new office

Shanghai Skyline

…sort of. It’s really just a spot I found with wifi, free coffee and one of the nicest views I’ve ever seen. Not sure why I’m even allowed up here.

One month complete here in Shanghai. Luckily, I now  actually have stuff to do instead of just wondering around aimlessly. I found a really interesting part-time remote gig that should keep me pretty busy. Completely new technology stack for me. Like, I have no clue what’s going on. Might write about it some in the future.

Triangle Peg Solitare – Brute Force Solver

Camping out with my aunt I came across this interesting little game. Perhaps you’ve played it. The goal is simply to jump over pegs with the goal of having as few pegs left over when you run out of possible moves.

For a fun exercise, and because I’m not smart enough to be clever, I wrote a game solver that recursively works through every possible move to identify a winning solution – completing the puzzle with a single peg left.

Continue reading Triangle Peg Solitare – Brute Force Solver

Cultural Learnings of Shanghai for Make Benefit Glorious Nation of America

Today marks day 5 of my 2 month expat Chinese adventure. My wonderful wife Lin seized an opportunity to come here on business and, being the complete irresponsible idiot that I am, quit my job and came along as Lin’s emotional support animal.

Continue reading Cultural Learnings of Shanghai for Make Benefit Glorious Nation of America

Installing Ubuntu Linux on a Nexus 7 Tablet

So I had this old Google Nexus 7 (2012) lying around. As only a few years old, so naturally it’s completely useless and obsolete and I should probably just make a YouTube video of me smashing it or putting it in a microwave. You would probably like that more anyway, right?

microwave
I still might

But instead, I thought it would be cool to get Linux running on this little guy and perhaps turn it into put some fun stuff on there. Maybe a git server. Do something fun with the camera. Really put it to work. You know? …before I burn it to death with electromagnetic radiation.

Continue reading Installing Ubuntu Linux on a Nexus 7 Tablet

Let’s Freak Out About Code Quality Metrics: The Unmaintainability of Hello World

“There are three kinds of lies: lies, damned lies, and static code analysis tool metrics.” – Confucius

It’s 10am. The entire team is packed into a tiny, overly air-conditioned conference room surrounding a technology manager who is once again fumbling with the projector. There is nowhere to sit and hardly anywhere to even stand. We ran out of chairs long ago but developers are still pilling in and lining the walls of this arctic meat locker of a meeting place.  I’m dying for us to get started – not because I’m eagerly anticipating whatever riveting topic is about to be sprung on us, but because it’s freezing and the guy in front of me smells like B.O. Obviously I’m really happy about this whole situation.

Continue reading Let’s Freak Out About Code Quality Metrics: The Unmaintainability of Hello World