Installing Hudson, Phing, PHPUnit and Git on Ubuntu

In this post, I'm just trying to get the simplest setup. I'll try to post details in a subsequent post.

Here are three posts, in descending order, on this that I found useful :

First, I had to install java :

    $ sudo aptitude install sun-java6-jre  

Dokan - sshfs for Windows

jEdit has a nice SFTP plugin which allows you to edit remote files as if they're on your local machine.

I've been working with the Netbeans IDE lately. It's nice, but lacking a decent SFTP plugin.

A little searching revealed Dokan which allows you to build a ssh file system on your Windows machine.

Setup is a bit awkward. You need two downloads. One is the needed libraries, the other is a simple app/GUI which allows you to mount the remote file system as Windows drive letters N:, T: etc.

So far it seems to work as advertised. And free!


Web front-end test frameworks or test methods

A while back I spent some time evaluating unit test frameworks from front-end web testing. A key driver is the need to handle JavaScript forms.

Here are some thoughts on those test frameworks :

- PHPUnit : Good for back-end work, but weak with front-end (browser) work

- SimpleTest : Same as PHPUnit

- Watir : Very mature and popular browser test app, but requires knowledge of Ruby scripting language

- IeUnit : Not quite as popular as Watir, but mature IE test framework. Scriptable in JavaScript

Improving performance with multi-threading on a multi-core CPU

The other day I was downloading several podcasts from the net, while doing an expensive rsync across my slow home network. My dual core CPU was showing 50% on one CPU, about 0% on the other, and my network was shown at about 1%.

My iTunes had a "download multiple streams" checkbox that was unchecked. I thought running multiple streams might actually slow things down due to thrashing/context switching, but I checked it to give me multiple streams.


Spell checking source code

I'm not sure of the cost/benefit of spell checking of source code, but there seem to be a couple cheap/free utilities that can help with this.

Free Python package :

Commercial shareware - $59.99 (Windows)

Another commercial shareware version - $39.99 (Windows)

Here's one man's experience checking Java source code with a "generic plain English" spell checker :

Subscribe to RSS - Coding