My daughter will be eight days old by the time I'm done writing this. She's on food intake and diaper watch, so among the things we brought home from the hospital was this pink sheet where we were supposed to record full diapers and feeding patterns. Of course we then filled it out, and when [...]
Archives for the Month of August, 2009
Subversion: UNIX server, Windows XP client
Thursday, 20 August 2009
It took me long enough to figure this out to be worth documenting. If you use Windows, you can use TortoiseSVN with a local repository, installed by default on C:\svn. But you can also use TortoiseSVN to connect to a remote UNIX repository. They hook up through PuTTY, and the protocol is svn+ssh://. There are [...]
Baby steps with Subversion
Wednesday, 19 August 2009
I set up a Subversion server on the FreeBSD box a while back, then didn't do much with it until this past weekend, when Software Carpentry mentioned it. I installed SmartSVN on the Ubuntu box and declared a new repository with a svn+ssh:// protocol. I figured it would make sense, since I connect to the [...]
Genetics with Python
Thursday, 13 August 2009
The last problem in the first set of Software Carpentry goes like this: "9. In genetic cryptography, the four bases ACGT represent the digits 0123 in a base-4 numerical system, so CGA is (1*4^2)+(2*4)+0 = 20. Write a function dna2num(str) to convert a DNA string to a number, and another function num2dna(int) to convert an [...]
Real FAQ’s
Tuesday, 11 August 2009
This list at the UNC help desk looks like it really was compiled from questions actually asked. That's always a good thing, so here goes. I hope you find it useful.
SciTE and Python
Sunday, 9 August 2009
I have 10 days or so before the fall semester at NC State starts, and with it an online course on assembly language. So in the meantime I thought I'd visit here and learn me some Python. I like that the lessons come with problem sets. OK, so that's the setup for this post, which [...]
Regex tricks with Notepad++ and Statalist
Sunday, 2 August 2009
If you haven't heard, the do-file editor in Stata 11 comes with proper syntax highlighting, folding, etc. That means that this post will be obsolete as soon as I upgrade, unless the new do-file editor doesn't do regular expression-based find and replace. No matter. In the meantime, here goes: People often post code on Statalist [...]