Monthly Archives: November 2005

ln for windows

While working on a C# project, having to copy the built dlls to the working directory to test the application was doing my head in. Now if I was in linux I would just

ln /dir/sourcefile.file /otherdir/targetfile.file

But can I do something similar in windows?, I didn’t think so but with some digging I found the fsutil comand which I had never used before.

fsutil hardlink create /otherdir/targetfile.file /dir/sourcefile.file

Now when I build my project my working directory is also updated…

Command-line reference A-Z

Google Analytics

What is up with Google Analytics, so bloody slow, it forgets about stats it should have, it takes a day to get new stats. Is it just me?. Nice and snazzy but I wish it worked. I hope to God that this isn’t what the Urchin customers got for their money. Sort it out Google…. ps, I am banned from Google Adsense due to “illegal clicks”…. my arse.

Python and UML

It’s been a good while since I’ve used any formal methods to plan any coding so it’s been a great using some UML again. It just shows that all that stuff I thought was fluffy bullshit realy does make sense when developing large projects. A few links I’ve found while looking around at Python and UML.

pyIdea is an IDE that generates Python code from UML diagrams.

Lumpy a UML generator for Python.

PyReverse is a set of tools for reverse engineering Python code.

ArgoUML is a modelling tool that helps you do your design using UML.

BlackAdder is an application development environment.

PyUt is a little UML1.3 diagram editor.

Wing IDE is the most advanced Python IDE available today (supposedly).

Stani’s Python Editor with built in UML and auto-completion.

Boa Constructor is a cross platform Python IDE and wxPython GUI Builder.

wxDesigner is a visual development tool for the free cross-platform GUI library wxWidgets.

Version control tips

Using CVS/SVN is great but it can be a right pain in the ass if it goes wrong. I’ve been using it on an off for a few years now. I always stick to these simple rules and very rarely run into any conflicts or difficulties. On the same note, I managed to get CVS working on my Dreamhost account with TortoiseCVS on my machine and viewcvs web front end hosted on Dreamhost. A very nice set up indeed. I’ll post how I went about getting it working another time.

  1. Update frequently
  2. Always update before committing
  3. Always add a meaningful comment to each commit

Who forgot to buy their lottery ticket

I did,

I play the lottery twice a week every week and have done for the last year. I but my ticket for 5 weeks online and I get an email reminder when my ticket has expired.

Yesterday I check the results using my results checker and I was amazed to see that we had won (only three numbers mind you, £10).

We hadn’t won though as I was busy when checking my mail last week and the reminder email passed by without me noticing it. So we didn’t actaully win at all. It’s only £10 but I can only imagine how pissed off I would be if it was 6 numbers.

Sodds law I reckon though, play solidly for a whole year, then when you forget, your numbers come up. I will never let this happen again, after all , how else will I afford my Hummer H1.