January 29, 2010 at 9:45 am
· Filed under General
Yes it does happen that sometimes a file is deleted either inadvertently or on purpose and you either need to get it back or you just want to see what was there.
Since I keep forgetting on how to do this I thought I’d write it down.
The first step to recovering the file is to find the version in which it existed; to do so either go go to the directory it was in (or as close as you can get to the directory it was in) and run:
svn log –verbose
Note the revision of the file you are looking for.
If you want to restore your file to your current source tree then issue an
svn up -r [revision number] filename
If you just want to look at it then just go to any temporary folder and issue an
svn export -r [revision number] repository path (in the form of http://../filename)
Not that for the export notation you could use the parent folder name to get all the files in that folder at the same time.
Permalink
September 1, 2009 at 8:37 am
· Filed under Techno
I have to say that so far I really like Wicket, after years of developing J2EE Web application it’s a big relief to be able to develop Web application without having to maintain reams of URL or Action mappings in XML files.
Wicket offers a programming paradigm much closer to standard Java Swing instead which makes Web development much smoother.
There are a few pitfalls unfortunately as nothing is perfect but so far it’s been great.
One problem I’ve run into is when using Wickets LinkTree component (an Ajax based explorer like tree structure) is that it assumes that I always want to do an Ajax update from the server. But what if I want to run some JavaScript or simply redirect based on the clicked node. Read the rest of this entry »
Permalink
July 29, 2009 at 11:41 am
· Filed under Techno
I originally got my inspiration from this article on how to send Javascript functions over JSON and most of this work here is based on it.
By default every string attribute specified inside a JSON string is bounded by double quotes which works fine most of the time except when you are trying to pass a Javascript function in which case you have a string but it needs to be without double quotes.
Read the rest of this entry »
Permalink
July 1, 2009 at 10:07 am
· Filed under General
Was cleaning out my desk and found this….

We spent the weekend in Seattle with our friends, ate good food, visited Pikes Market, the Boeing Flight Museum, and went to the game (Green Bay at Seattle).
Le Sigh.
Pictures here.
“Remember Gary? Gary from the office, good times.”
Permalink
June 14, 2009 at 2:37 pm
· Filed under General
Went for a walk in Fish Creek Park in Calgary and just at the southern end of Sikome Lake we heard a bird crying.
Looked like a little plover and it sounded like this.
Permalink
May 20, 2009 at 9:25 am
· Filed under General
Wish we had these…

In Italy, futuristic bus stops to blend practical, chic | Planetary Gear – CNET News
Unfortunately where I live they probably wouldn’t last fifteen minutes; notice the nice white paint and the missing glass (smashed)…

Permalink
May 18, 2009 at 9:28 pm
· Filed under General
Not sure what caused the actual problem but it seems that shortly after upgrading Leopard on my Macbook Pro to 10.5.7 my Macbook wouldn’t fall asleep properly and wouldn’t show all my shared computers in Finder.
I tried a variety of things but finally the simplest solution worked, I deleted the SystemConfiguration folder inside the /Macintosh HD/Library/Preferences folder and rebooted the computer.
This fixed both the sleep issue and the shared computers not showing up in Finder issue.
Good Luck.
Permalink
April 27, 2009 at 9:11 am
· Filed under General

I recently powered though the new Resident Evil 5 title in about 10 hours (rounded up from 8.9) which was fairly disappointing for a $60 game. Technically the game was superb both in terms of graphics, controls, and gameplay. But the story and length of the game were severely disappointing. Not sure why but the Japanese game makers make technically great games but their stories are so convoluted I usually give up trying to follow any of it (see if you can make any sense out of Metal Gear Solid 4) and just pound my way through the levels and then I get rid of the game.
Read the rest of this entry »
Permalink
April 24, 2009 at 10:29 am
· Filed under Techno
Modern cameras have become very powerful and have myriads of features to help us take better and more pictures.
Unfortunately with all that power comes significant complexity which sometimes makes it hard to use these cameras and gear effectively.
Read the rest of this entry »
Permalink
April 23, 2009 at 8:40 am
· Filed under Fun Stuff
Somewhere in my basement I still have the original Watchmen comic books from way back when (1987) and consequently was thrilled to hear that a movie was made then disappointed when it got slammed by the main stream media.
When I finally went to see it I found a movie that was a a faithfull adaptation of the original comic book. It was dark, gritty, the casting and acting were excellent and the special FX were stunning.
And yet I couldn’t wait for the long (162 minutes = almost three hours) movie to end. Maybe it was that I already knew the ending which is equally dark or maybe I’m just too used to the instant gratification of the recent spate of Hollywood movies whereas Watchmen stuck to the pace of the original story which slowly and inexorably led us to its inevitable conclusion.
Again, all the technical elements of a great movie were there but for some reason it just didn’t come together for me but nevertheless is certainly didn’t suck. A worthy adaptation of a comic book classic.
Permalink