Posted in programming, windows on July 31st, 2009 1 Comment »
This simple operation took me longer to figure out than I would like, the answer wasn’t obvious on msdn or in any of the searches I did so I figure I should just put it up here for anyone else who might look for it:
To select an item in a list view create an LVITEM [...]
The GNU linker has some trouble when you present it with multiple library archives that depend upon each other. Libraries with symbols resolved in other libraries must be presented earlier on the command line. You can work around this with a command line argument:
“–start-group”, “–end-group”, aternatively “-(” “-)”
See the man page for LD for more [...]
Posted in programming on April 24th, 2008 No Comments »
The post over at pragmatic programmer is timely for me because Tell, Don’t Ask is a concept that I have outlined in a programming style presentation for my new team.
The quote at the beginning of the article is perfect:
Procedural code gets information then makes decisions. Object-oriented code tells objects [...]
Posted in music, programming on April 19th, 2008 No Comments »
This is very much what I have been dreaming of having rubycube accomplish. A very slick presentation.
Posted in build, programming on April 18th, 2008 No Comments »
I investigated make, cmake, cook, jam, bjam, ftjam, scons, cons, rake, ant. What I come to find is this wonderful little paper that turns my out-moded ideas about make completely on it’s head. I wrote a wonderful beginnings of a new build system using 300 lines of Make and 100 lines of bourne shell. Shane [...]
Posted in lisp, programming on December 6th, 2007 No Comments »
Once again I have found the best way to learn is to go to the source. If you really want to learn something you have to find dig into the implementation, read the classics and seek out the originators. In my quest to better understand the lisp I came across this C2 lisp resource with [...]
DSL-FSM.. that kinda sounds like some wierd internet sub-culture. It stands for domain specific language – finite state machine. I proposed both topics as presentation material for the austin-ruby group that I meet with once a month. Steven Harms the organizer recommended both/either so I combined it into one piece of code as it [...]
Posted in programming on August 7th, 2007 No Comments »
There are many choices that must be made during the coding process and how we arrive at those choices is important and can influence our thinking and code quality a great deal. I try to make a concentrated effort to put thought behind each of my choices and be able to explain them to myself [...]
Posted in programming, work on July 27th, 2007 No Comments »
Came across this post on programming.reddit.com today (the programming reddit has been one my guilty pleasures lately). The author has some good tips on staying in the zone. I have some tips of my own as I enjoy the feeling of being in the zone and lament when I’m not.
While it’s nice to get rid [...]
Posted in programming, python on July 12th, 2007 No Comments »
I was working on an in-memory database prototype in python and decided I didn’t want to keep manually running the unit tests so I whipped up a little auto test script that I can run in another terminal.
autotest.py
It’s very simple it relies on a static list of files and an internal cache of the [...]