honest.knave

this statement is false

honest.knave header image 4

Entries from January 2008

My Cordless Workspace

January 31st, 2008 · No Comments

In the spirit of this LifeHacker entry (and this follow-up), I present my cordless desktop (sort of):

As you can probably tell, I have too much hardware in my workspace (but, but I need it!). For some time, I’ve wanted to do a better job organizing it. I’m not a fan of seeing wires everywhere, [...]

[Read more →]

Tags: clutter · tips and tricks

Project Euler: Problem 7

January 30th, 2008 · No Comments

I’m not going to discuss every Project Euler problem I attempt, but I thought the seventh problem was interesting. The goal of the problem is to identify the 10,001st prime. Several times in the past, I’ve written a simple primality test, the naive way. This time I figured it would be a [...]

[Read more →]

Tags: project euler · python

Project Euler: Problem 1

January 29th, 2008 · No Comments

I decided to broaden my horizons a little by learning Python. I’ve been using it internally on some projects, but primarily as a glorified shell scripting language. In order to become more comfortable with Python, I decided I need to write small programs on a regular basis.
Project Euler is a great set of [...]

[Read more →]

Tags: project euler · python

C++ exception specifications considered harmful

January 28th, 2008 · No Comments

Like many topics in the arena of software development, exceptions continue to be a subject of religious debate. Leaving aside the issue of whether they should be used at all (although that sounds like a topic for a future article), I would like to focus for the moment on their proper usage in C++.
Exceptions [...]

[Read more →]

Tags: c++