21 November 2004 in General | Comments (0)

I’ve been following this for a few months now. It’s an open source version of Transport Tycoon Deluxe with many advantages over the original.

If you’re a fan of Transport Tycoon Deluxe I would strongly suggest you try this out. You will need the original Windows version of Transport Tycoon for the graphics files but otherwise it’s very easy to use.

Currently they’re working on:

  • Larger maps
  • Network rewrite (almost done)
  • Possible new graphics engine
  • Completely new graphics set (for copyright reasons)

Site: http://www.openttd.com

– JD

Average Rating: 4.8 out of 5 based on 182 user reviews.


7 November 2004 in General | Comments (0)

The only time my parents were anti the amount of time I spent on the computer was around the summer of 1998 when I first started strapping a frozen flannel to my forehead* to help with the heat of sitting in a room that was ~30 degrees on a hot summers day while on holiday.

* I don’t do this anymore to keep cool while working on a computer, but it does occassionally help with headaches.

– JD

Average Rating: 4.6 out of 5 based on 254 user reviews.


6 November 2004 in General | Comments (0)

I’ve managed to get the listview drawing correctly! After using some reflection I found that some of my enumerated types weren’t working as I expected and hence certain messages weren’t being handled correctly.

Now I need to modify it so that it doesn’t simply draw thumbnails when View = View.Large and add a new View type which will enable the thumbnails.

Also found that I need to implement object caching into my datalayer as the listview is quite chatty with my objects which, at the moment, talk to the database far too much (scrolling a list of 2, 000 item used to not increment the query count, now it jumps to about 4, 000 queries off the scroll!).

I’m just stoked it’s working and look forward to adding the new features to it. Might look at sharing the component once I’ve completed the changes.

– JD

Average Rating: 4.9 out of 5 based on 205 user reviews.


6 November 2004 in .Net | Comments (0)

Over the last week I’ve been battling with converting a VB version of an ower-drawn listview to C#.

The benefits of the code I’m trying to convert is that it supports displaying thumbnails in the listview – something missing from even the .net 2.0 listview control (Note: I’m not interested in just setting the icon size to 100 or whatever and loading an imagelist and setting the listview.View.LargeIcons – that’s not efficient enough and will require all sorts of ugly hacks).

So anyway, I’ve altered the original code quite considerably and finally managed to get it somewhat working. I say somewhat working because it’s not actually displaying the thumbnails, but it’s a million miles ahead of where I was. My current problem seems to be that the dwItemSpec value that I’ve pulled from the Message gives massive numbers, like 758437504. This causes problems as that’s meant to be the index of the listview item. Obviously I don’t have close to a billion list view items, I only have 9, so it never gets to doing the custom draw due to it always thinking the current item is out of view.

I’ll keep going at it and see how I get on. The code works pefectly in VB, so I’ll build that and decompile that to see if it gives me any help.

The custom listview I’m attempting to duplicate is the one that ships with the FotoVision sample smart client application from the MSDN Smart Client site. Well worth a look at for anyone who enjoys winforms development.

- JD

Average Rating: 4.7 out of 5 based on 176 user reviews.


29 October 2004 in .Net | Comments (1)

Been a while since I last posted so I thought I’d dump something I’ve done recently.

I’m on holiday at the moment so this afternoon I decided that I would order a pizza. Decided to go with X pizza company (lets keep them anon. for now). They have an interesting site where you can signup and get the “Managers Special” which allows you to print out an online-only vocher and claim your discount.

What was interesting was that while looking at this page my flatmate and I had a poke around and found that with some very simple URL manipulation you can get the name and email address of everyone that has ever signed up with X Pizza Company of New Zealand.

This lead me to think, how hard would it be to harvest these details? Within about 10 minutes I had a C# application that was dumping the details to a csv file (I only got a few – don’t want any calls from my ISP to complain about DOS attacks coming from our IP :-) ). It was somewhat scary at how easy this was to do.

My flatmate then made an interesting observation – most of the email addresses were hotmail accounts. Sure enough, if you plug these into the MSN site we had about an 80% strike rate for getting the persons profile.

So now, from this we could effectively build up:

  • Name
  • Email address
  • Likes / Dislikes*
  • Photo*
  • Age*
  • Marital Status*
  • Location in NZ*
  • Gender* (if you couldn’t guess from the name)
  • Favourite Quote*
  • Occupation*
  • Link to personal website*

*Information from the MSN profiles. Some of these fields may not be completed.

What makes this a little worrying is that it would probably only take about another 30 minutes of coding to build up a lot of information about all the people on the list we gathered from X pizza company.

When you really start to think about it further and imagine that you could automate a google search on the email address or name (and possibly limit it to New Zealand sites only) you could build a huge database of information about people who have never met you in their entire life.

The amount of information on the net that could be used to exploit people through Identity threft is enormous – and, as you can see, can be automated rather easily.

Obviously, while I mentioned that the details can be gathered from an exploit in a website, you could do it just fine without an exploit through things such as dating sites, message boards etc.

Makes you think about what you put online

- JD

Average Rating: 4.5 out of 5 based on 285 user reviews.


12 October 2004 in Intergen | Comments (2)

Microsoft Messenger has been pretty shot for the last 24 hours (some say up to 48 hours, but I haven’t experienced that).

Basically you can’t login anymore. Before that you could login but there was a good chance you couldn’t even message people. Now the Service Status page even returns an error.

This never ceases to amaze me, how badly do you have to operate a server environment to have it go down and die and not have it fixed within 24 hours? Surely they have a policy around this.

Doesn’t really sit well with Microsofts release of Live Communications Server which is supposed to come out this month to push MSN into the enterprise. I mean after hearing how nobody could use it for two days would you really see it as something you want your business to use? (I realise LCS allows all sorts of funky stuff to do with MSN, does it also provide a type of MSN server so you don’t have to rely on Microsoft? If anyone knows and reads this please leave a comment :-) )

- JD

Average Rating: 4.4 out of 5 based on 279 user reviews.


5 October 2004 in General | Comments (1)

Today I ordered a new 200GB harddrive – it was an impressive 191 dollars – finally <$1 per GB!

It’s 7200RPM, 8MB Cache, SATA. Will be a good file drive (I’m running out at the moment, hence the purchase).

Brings the drive space on my current PC to a theoretical 380GB of space but I’ll probably delegate the 60GB IDE (and the spare 30GB one I have floating around) to the server that I will build soon.

Getting back to that server, I have delayed my purchase, it came out at roughly 600 dollars to build a 2.4Ghz, 512MB system (mobo, ram, cpu, power-supply only). That’s just a tad too much since I have another 600+ dollars to give the dentist this month as well.

I will still build it, just a little slower. Possibly I’ll delegate my current system to being the server and build a new core up for my existing system – who knows.

- JD

Average Rating: 4.4 out of 5 based on 297 user reviews.


5 October 2004 in General | Comments (1)

In 1995 when Windows 95 was released there was a full page, bright orange, advert for it’s release in the local paper. I cut it out and it stayed on the wall of my room for about 4 years.

– JD

Average Rating: 4.7 out of 5 based on 225 user reviews.