Author Archive

iostat: Report CPU and IO Statistics

October 14th, 2007

The Linux User’s Manual page states, “The iostat command is used for monitoring system input/output device loading by observing the time the devices are active in relation to their average transfer rates.” The page continues, “The iostat command generates reports that can be used to change system configuration to better blaance the input/output load between […]

Explicitly Redundant

October 12th, 2007
Posted in Refactoring | No Comments

Today, I caught myself doing this: bool f() { bool r; if( x == y ) { r = true; } else { r = false; } return r; } When I really should have written: bool f() { return x == y; } In the actual code I that I was writing, x and […]

Code Refinement

October 11th, 2007
Posted in Refactoring | No Comments

Everyday is an opportunity to learn something new. Today, I learned how to set the tab width for vi (set tabstop=2) while trying to format the picture for this blog entry, for example. Daily learning is a form of personal refinement. Accumulated knowledge allows people to do things better. If the lesson relates to development, […]

Reinforcing Knowledge while Learning

October 3rd, 2007

I just finished rereading Design Patterns: Elements of Reusable Object-Oriented Software. As a little experiment, I will explore how far I can get with the book’s fundamental design patterns with Python, an object-oriented scripting language that I am trying to pick up. One of the first design patterns I came across even before reading DP […]

Goal-based Learning

September 18th, 2007

“You dropped a hundred and fifty grand on a fucking education you could’ve got for a dollar fifty in late charges at the public library.” –Will, Good Will Hunting My experience in college can be summed up as an ongoing lesson on learning. College was an opportunity to learn how to learn. I am employing […]