Saturday
29
Jan 2005

Why do I have so many files?

(8:45 am) Tags: [General]

My new Windows PC is set up to do a full virus scan every Friday night (assuming that I won’t be working then, which is usually wrong), and last night I finally let it finish.

Files scanned: 2,938,482! You read that correctly, almost 3 million files on my PC. Just 4 years ago, it was about 450,000. What is going on? Am I a file whore? Or can I just blame Subversion? It is only 37GB of space, so I could have had that many files 4 years ago, I just didn’t.

Popularity: 8%

Comments: (0)
Friday
28
Jan 2005

Find Your Spot

(9:54 pm) Tags: [Life]

Via LaughingMeme.

I filled out the ‘thousand questions’ (really more like 60) at Find Your Spot.

And the results are:

  1. Annapolis, Maryland
  2. Gardnerville-Minden, Nevada
  3. Grass Valley-Nevada City, California
  4. Eureka Springs, Arkansas
  5. Salisbury, Maryland
  6. Newport, Rhode Island

How cool is it that I moved to #3 just about one year ago? I would say that I know what I like :)

Popularity: 21%

Comments: (0)

Office Politics [Links]

(8:53 pm) Tags: [General]

This is what you don’t learn in college, and is worth so much that you wonder why?

What have I missed? (No, BOFH and Dilbert don’t really count)

Popularity: 8%

Comments: (0)

Bloglines meme

(9:17 am) Tags: [Memes]

Blame it on Simon.

  1. Go to bloglines (don’t think you need to have an account).
  2. Find your own blog on bloglines (if it’s not there you can sign up and add it I guess, if you don’t have a blog this one’s not for you).
  3. Click related feeds (each time you click they may change slightly).
  4. Post the top 5 (or more) on your blog.

Here it is:

  1. Joel on Software (previously subscribed)
  2. inessential.com (previously subscribed)
  3. Wired News (previously subscribed, though not very interesting)
  4. Surfin’ Safari (was subscribed on last reader)
  5. Boing Boing
  6. Daring Fireball (previously subscribed)
  7. Simon Willison’s Weblog
  8. ongoing (Tim Bray) (previously subscribed)
  9. Engadget (previously subscribed)
  10. Slashdot (previously subscribed, about to drop)
  11. Google Weblog (previously subscribed)

Not terrible, but I obviously would have chosen a different set :)

Popularity: 18%

Comments: (2)
Thursday
27
Jan 2005

Amanda is blogging

(10:55 pm) Tags: [People]

Check it out here.

Popularity: 13%

Comments: (0)
Sunday
23
Jan 2005

College of Software Development

(1:49 pm) Tags: [General]

Have you ever wondered why there are not Colleges that specialize in teaching software development? Computer Science is pretty far from the real world of application development. I do believe there is still a need for computer science in education, but not for everyone! The majority of programming jobs out there are for applications which do not need fancy theoretical crap, they need people that know their way around a familiar tool, and the ability to find their way around new tools.

Are there classes out there that teach you how to play schedule chicken effectively? How about the ability to debug an application that you have never seen before? Write usable tech documentation for your code? Test-driven development? Teamwork? Team Building? Technology Evaluation? Bug finding? Bug prevention? Release process management? Basic resource management?

I think this will be a huge oppotunity in the next 10 years, as people and companies alike realize that computer science is not what they signed up for.

Popularity: 11%

Comments: (0)
Friday
21
Jan 2005

Treo 650

(5:54 pm) Tags: [General]

Went out last night, and traded in my dated Samsung A460 for a shiny new Treo 650. 20% of hardware purchases for business, so I switched my account over to a business account, and saved $120. With the $150 rebate on top of that, and the $25 I got for selling my old phone back to them, I feel pretty good about the deal.

First impression: Damn, that’s a nice screen!
First bad impression: Why in Hades is the headset plug on the bottom of the damn thing?

More info here as I set up and play more.

Popularity: 8%

Comments: (0)

Tabbed email

(3:23 pm) Tags: [Software]

Just using Thunderbird with 3 separate accounts, each with about 30 folders, and it occurred to me that Thunderbird should have tabbed email. This would allow me to focus completely on the one account I am using at the moment. The tab could show the number of new emails, etc.

Maybe I am just tired of having too many trees (tree controls, not cellulose-based life forms) in my life. I think this would be a great change for Thunderbird.

Popularity: 9%

Comments: (0)
Wednesday
19
Jan 2005

Comment Spam now has a halflife

(10:15 am) Tags: [Software, Site]

Says it all. Now, how long will it take before comment spam actually dies? Quite a long time (2+ years in my opinion), and it will get worse before it gets better. At least the search engine community is responding to a negative situation in a positive and timely fashion.

Popularity: 16%

Comments: (0)
Thursday
13
Jan 2005

Refuse access to .svn directories in Apache 2?

(10:12 pm) Tags: [Site, How do I..., Sysadmin]

From the documentation:

<Directory\~ “\.svn”>
Order allow,deny
Deny from all
</Directory>

Popularity: 23%

Comments: (0)

Move a Subversion repository from one machine to another

(6:05 pm) Tags: [Site, How do I..., Sysadmin]

Even if the machines are on different operating systems, this is dead easy. On the source machine, simply ‘dump’ the repository:

svnadmin dump /path/to/repo > reponame.dump
tar zcf reponame.tgz reponame.dump
scp reponame.tgz hostname:/path/to/new/repo

Then login to the new machine, and set up the new repo:

cd /path/to/new
svnadmin create reponame
tar zxf reponame.tgz
svnadmin load reponame < reponame.dump

That’s all there is to it. Then you can of course delete the dump files, the .tgz files, and even the source repo if you are brave.

Popularity: 88%

Comments: (24)

How to SSLify a site in Apache 2

(5:49 pm) Tags: [Site, How do I..., Sysadmin]

(Adapted to my needs from the original at http://www.apache-ssl.org/#FAQ)

First, you create the cert:

cd /www/conf
vi www.example.com.conf
openssl req -new > www.example.com.csr
mv privkey.pem www.example.com.privkey.pem
openssl rsa -in www.example.com.privkey.pem -out www.example.com.key
openssl x509 -in www.example.com.csr -out www.example.com.cert -req -signkey www.example.com.key -days 10000

Then, you edit the site config, adding the following lines:

SSLEngine on
SSLCertificateFile /www/conf/www.example.com.cert
SSLCertificateKeyFile /www/conf/www.example.com.key

Then, you restart apache, while crossing your fingers:

sudo /usr/local/apache2/bin/apachectl restart

Popularity: 23%

Comments: (0)
Wednesday
12
Jan 2005

Python port of SWT?

(4:53 pm) Tags: [Software]

LazyWeb, I ask thee, is anyone working on a port of SWT to python? Is anyone interested in such a thing? Comment or trackback here so that I can either find what I am looking for, or guage interest in such a venture.

Popularity: 12%

Comments: (12)

What software to install on Windows?

(4:40 pm) Tags: [Software]

I have a new CPU (Dell Dimension 8400), running Windows XP SP2. I am setting it up to be my primary windows development box. This article is to show what I have installed/use on a daily basis. Below is a list of installed software and the current version in use:

Stuff I don’t use everyday, but do need for the odd project:

Other stuff I should not forget:

Stuff I did NOT install:

Should I install these again?

Popularity: 11%

Comments: (2)
Tuesday
11
Jan 2005

Query logging in MySQL on Windows

(10:40 pm) Tags: [Software, How do I...]

So, you’re running MySQL on Windows, and would really like to see a log of all of the queries the server is processing? Simple, just find your my.ini file, open it in a text editor, and add the following line in the [mysqld] section:

[mysqld]
log=hostname.log

Then restart the mysql service, and every query will be logged in a file called hostname.log in the MySql\data directory.

For you unix types, starting the mysqld daemon with the ‘–log’ parameter will create the file ‘hostname.log’ in the $MYSQL_HOME/data directory.

Popularity: 19%

Comments: (2)
Tuesday
4
Jan 2005

ezmlm management

(5:31 pm) Tags: [Software]

Check out the ezmlm manual pages.

Is there much interest in a web-based interface to ezmlm and its management functions?

Popularity: 8%

Comments: (0)
Monday
3
Jan 2005

molt - a java to D converter

(5:37 pm) Tags: [Software]

Just dropped my initial code on a new project, molt. molt is a source level java to D conversion tool.

Basically, we parse java into an xml format (using jikes and javaml), then run an XSLT stylesheet (using saxon) over it to transform it to the equivalent D source code. Manual intervention is still necessary, and all comments are lost (this could be a good thing).

I had stopped working on it when I had all but given up on D in the Summer of 2004, but I am putting it out there to try and get others to help out with it.

Come check it out over at dsource.org.

Popularity: 9%

Comments: (0)