Author Archives: Chris - Page 2

The Fastest Code is Code You Don’t Write

I guess this is kinda-sorta like YAGNI.

Clever Coding

Never show me how smart you are in code.

It should be understandable to a precocious five-year-old.

Granted, there’s some stuff — like trig when you’re using map APIs — that might be a little bit challenging, but…

Good artists copy; great artists steal.

Good artists copy; great artists steal.

He probably paraphrased T. S. Eliot…

Brought to You by Burr Cleanse™

90% Fail Answer

Today on LinkedIn, I saw this:


Here’s my (correctly formatted) answers:

The following assumes:

  • + is the arithmetic addition operator
  • x is the arithmetic multiplication operator
  • Standard order of operations: multiplication takes precedence

Given no line has operators joining them, an answer (in decimal) is:

  • Line 1: 5
  • Line 2: 5
  • Line 3: 2

However, if one were to concatenate the lines (assuming whitespace is ignored), this gives:

1 + 1 + 1 + 1 + 11 + 1 + 1 + 1 + 11 + 1 x 0 + 1

Since there is no indication of which base is used, here are some answers:

  • binary: 1110
  • octal: 33
  • decimal: 35
  • hexadecimal: 2A

Yeah, I kind of geeked out on this…

Figuring Things Out

Figuring things out for yourself is practically the only freedom anyone really has nowadays. Use that freedom.
~Jean Rasczak, Starship Troopers

On Perfection

Have no fear of perfection – you’ll never reach it.
~Salvador Dali

Army Leadership Principle #3

Army Leadership Principle #3: Seek Responsibility and Take Responsibility for Your Actions

How to Pronounce “Ciulla”

While reviewing my keyword stats, I noticed there were two hits for “pronouncing ciulla”.

My family pronounces it “chew lah” with slightly more emphasis on the “chew”.

“Don’cha mean heavy emphasis on the chew?” Fnar, fnar, fnar. Everyone’s a comedian.


Just called Representative Steve Stivers, Senator Sherrod Brown, and Senator Rob Portman to ask them, politely, to pull their heads out of their collective asses regarding SOPA and PIPA.

Representative Stivers and Senator Brown’s voice mail boxes were full.

I briefly discussed PIPA with a harried, over-worked call monkey at Senator Portman’s office who took down my contact information.

That probably put me on a list, so if I get whisked away in the middle of the night, you guys will know what happened. Thank you, NDAA.

Anyway, if you are a technologist or use technology, please let our bastions of “for the people, by the people” know that you are pissed.