Peter Blair

Posts Tagged ‘computer science’

Guerilla Refactoring

In the world of software development, refactoring is the process of updating code (usually for the better). But the problem may exist where management sees the existing application as “good enough” and doesn’t want to allocate any budget towards fixing what in their eyes “aint broke”. Enter guerilla refactoring. I must admit that I fall [...]

Leslie Lamport

I just stumbled upon Leslie Lamport‘s website, which has electronic copies of most of his published work. I’ve studied some of Lamport’s work in the past (mainly in regards to Lamport Logical Clocks & totally ordered multicasting, etc) and was recently doing some digging to find out how & why he created the LaTeX extensions [...]

kd-tree creation tutorial

I’ve started work on the walkthrough mentioned in my previous post. It doesn’t touch on topics such as searches of the completed tree, but sticks to the theory behind the creation and balancing of the resulting tree. The graphic(s) for the walkthrough were created using graphviz. I wrote a small utility module in python that [...]

Down with protected class variables?

I’m not sure. Kasia writes in her blog entry: If a variable is not final then it should be private. If you need to make it accessible to another class and there is no accessor then you’re probably not doing something right. While true, that making fields/attributes publicly available via an interface of sorts (not [...]

Programming languages and their relationship styles

http://maradydd.livejournal.com/293666.html I particularly like the comment on C: I don’t think C gets enough credit. Sure, C doesn’t love you. C isn’t about love–C is about thrills. C hangs around in the bad part of town. C knows all the gang signs. C has a motorcycle, and wears the leathers everywhere, and never wears a [...]

C++ Exceptions: Continuance

In designing a language that supports exception handling, one must consider the aspect of continuance: where does execution resume after the exception has been raised? I recently came upon an online conversation of Bjarne Stroustrup, in which he discusses why resumption directly after the statement that raised the exception wasn’t implemented. Basically, someone resuming from [...]

The Art of UNIX Programming

The current quote above (“When in doubt, use brute force”) was retreived from the following book: The Art of UNIX Programming It’s an interesting read (and free too!). It isn’t a technical manual on how to write applications for the UNIX environment, but rather a philosphical approach for programming according to the (so called) UNIX [...]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes