Author Archives: Chris

Passionate Hatred…

Passionate hatred can give meaning and purpose to an empty life.
~ Eric Hoffer

Miracle Max

You rush a miracle man, you get rotten miracles.

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.
~Picasso

He probably paraphrased T. S. Eliot…

Brought to You by Burr Cleanse™

90% Fail Answer

Today on LinkedIn, I saw this:

fail_answer

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