Thursday, April 30, 2009

Book Ratings

Another note to self. Book ratings:
Scale of 1 to 10.
R = reread

Dune 1 - 9
Dune (last one) - 10 R (might be difficult without rereading the entire series)
Alan Stelle - Coyotte 1 - 9 R
Alan Stelle - Coyotte 2 - 10 R
Alan Stelle - Coyotte 3 - 6
Jared Diamond - Guns Germs and Steel - 7

Monday, April 27, 2009

Microsoft LifeCam VX-1000 driver download

The Microsoft LifeCam VX-1000 driver is a pain to find on the internets:

Feel free to click on some of my ads if this post has saved you some headaches or time =)

This driver also works for
* LifeCam VX-2000
* LifeCam NX-3000
* LifeCam NX-6000
* LifeCam VX-1000
* LifeCam VX-3000
* LifeCam VX-6000
* LifeCam VX-5500
* LifeCam VX-5000
* LifeCam VX-7000
* LifeCam Show
* LifeCamCinema

Also, if you cant download the driver from the microsoft site, i am providing a mirror on my server for the download (please be gentle):


edit 7/28/09: Some people are having problems getting this webcam to run on windows Vista with 4GB+ ram. There is a hotfix for that here: (Windows6.0-KB933433-x64.msu)

Friday, April 03, 2009

Trim a string in perl

I am a perl noob and i need trim a string.

1) if i can modify the actual string:
sub trim {$_[0] =~s/^\s+|\s+$//g}

2)if i don't want it to modify:
sub trim {my $s = $_[0]; $s=~s/^\s+|\s+$//g;return $s;}