Hacker Newsnew | past | comments | ask | show | jobs | submit | malern's commentslogin

I've no idea if Sony uses Gentoo or not, but you can definitely run Gentoo on AWS


Thanks for your efforts! It's great to see someone keeping the classic Worms going.

Out of general curiosity, is there anything you can tell us about the source code? What languages are used? How many LOC? Did they use any sort of version control? Whats the build process like?

Were you surprised by any of the ways they were doing things when you first got to see the code?


Yes, I'll gladly answer those questions!

Worms Armageddon is written in C++, with some bits of x86 assembler. Though, we are phasing out the assembler code (for portability), and it isn't as necessary due to advancements in compiler optimizers. 300KLOC at the moment. No version control software was used back in 1999, to the best of our knowledge. The build process changed over the years, due to inheriting Worms 2's frontend/game split; these days it's just one Visual Studio project, though I'm trying to move to CMake/Clang.

The game engine was written by Karl Morton, and it definitely felt special. Information is propagated using a message queue system. Other parts of the code were in a completely different style, having been written by other people. Fun things like jokes left around in comments, and also "fun" things like UI code tangled with network code and other nightmares that we're untangling to this day. It's humbling being able to maintain this legacy!


There was a project to get some D code into the engine, did this get anywhere?


The available columns are

Postcode, IntroductionDate, GridRefEast, GridRefNorth, County, District, Ward, UserType, GridStatus, Country, WardStatus, NHS_Code, NHS_Region, Long, Lat, OSRef, Update

You can already get the co-ordinates from a postcode using google maps. So I can't think of anything massively exciting you could do with this information. Maybe some sort of offline navigation app.


how about "what postcode am I in"? when out and about.

also "click on the map, what's the postcode?"

quite handy for getting the area code i.e N1


If those are the columns this isn't 'precise' postal code data. The log/lat is just the 'centroid' of the postal code. At least in the US, most -- if not all -- postal codes are irregularly shaped, so it's not like you can pull up precise GPS data on the perimeter of the postal code (i.e. in order to draw it on a map).


UK postcodes are equivalent to the 5+4 US zip codes. They list part of a street, typically 10-20 houses.


still close enough to search for things.

% postcode

NG15

% ff http://www.google.com/webhp?q=ng15+curry

bah google changed their uri scheme


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: