Archive for August, 2009

I tried to illustrate how you convert between the two. This is what came out. Probably not entirely correct, but it works. It can be mixed and matched for legacy apps.


Ever since Microsoft decided to remove the file search that actually worked in Windows XP, I’ve been trying to find an easy to use search tool. Turns out it exists – the findstr command line tool. so, for example, findstr /L /S base.url *.xml finds all xml files containing the string base.url. It also works [...]


So, I’m writing this constructor here: public Square(double x, double y, double size, double gap) {   … } Then I think, really, these should be BigDecimals, because I’m modeling a rectangular area on a grid, which could be of any precision and being maths stuff has to be precise, so I change it to: [...]


The new (well, not that new now) Windows search is way annoying, so I thought may be I could use Powershell for searching. This is how to do it (best do it on one line): foreach ($file in get-Childitem . -include *svn* -force -recurse)  { $file.fullname } The -force is to make it include the [...]