Monthly Archives: September 2008
My UPS works… (sorta)
Shame the ISP connection dropped out. I have 3 UPS for 4 computers, 2 monitors, a switch and an adsl modem (and a phone). The alarms woke me up just after 4 this morning, although it appears that one of … Continue reading
Update: GCJ
Finalized results are out – 139th for me. The third question would of gotten me 87th and finally 37 points was above the cut off. In a moment of inspiration, I realised that my solution to the 3rd problem would … Continue reading
Successful Fail
I came 143rd (out of 180 in the APAC). With 2 minutes to go I started running my code for a test case which if it had passed, would have gotten me ~80th. However I was running debug code, with … Continue reading
TMD.Algo 0.0.3.0
A new release of TMD.Algo can be found here. I’ve added a bunch of stuff since last time, and its even got a few more test cases. It still needs a bunch more really, but time flies. If anyone out … Continue reading
Stuff I’ve done in the past
I just realised that this site has no links to all the software I keep on it. My old sudoku solver. Its not all that special… but it can print out its logic for most puzzles, so you can sometimes … Continue reading
Random
Just wondering if I should start a sourceforge project for TMD.Algo…
A new release
TMD.Algo 0.0.2.0 finally escaped. You can get it here. There is a bunch of new stuff, however not all of it has been tested yet, so as usual use with caution. The graph class is especially ultra-alpha right now. One … Continue reading
Generics and .Net internals
I noticed the following method while on a journey through reflector the other day. RuntimeTypeHandle.CreateInstanceForAnotherGenericParameter(Type otherType) Quite an odd method really. Example in use: GenericEqualityComparer.TypeHandle. CreateInstanceForAnotherGenericParameter(typeof(T)); This lets you make a GenericEqualityComparer<T> instance. First thought is why wouldn’t you write … Continue reading
As promised.
Licensed under BSD … TMD.Algo 0.0.1.0 pre-alpha has been uploaded to here I’ve got a few basics there now, standard sorts and selects and a Heap, as well as the previously mentioned TreeList. Do not consider any of the API … Continue reading
Google Code Jam 08
So, its been a couple of years since I last entered the google code jam. Back in 05 I came ~120th, and after a few cancelations it almost looked like I was going to go to the finals. This year … Continue reading