News for hackers. Stuff that matters.
Re:Ask HN: Please Test my New Project by Voting by csouth on Friday November 26, 2010 @09:35PM (#1944085)
I'm guessing the map is for me to put in my location. If so, 2 things. 1 the area I live in is labeled wrong (email me and I'll point you to it if you want to fix it), also when I hit take another poll it takes me out to country level, it should stay.
Re:Ask HN: Please Test my New Project by Voting by BenSchaechter on Friday November 26, 2010 @09:57PM (#1944134)
Actually, your location is determined automatically based off of your IP address. The map displays the majority votes for their respective regions.

I'll email you about the misspelling, though. Thanks.

Re:Ask HN: Please Test my New Project by Voting by ecaroth on Friday November 26, 2010 @10:46PM (#1944231)
Ben, that interactive map that zooms in with all the counties in a state is pretty friggin nifty. Did you make that from scratch with a n ip-to-location data set, or use some kind of location API??
Re:Ask HN: Please Test my New Project by Voting by BenSchaechter on Saturday November 27, 2010 @02:16AM (#1944516)
I built everything myself from scratch in regards to the maps. This includes all vector paths (you wouldn't believe how much work this is), JQuery & Raphael interaction. There is also some websockets goodness. 90% of everything is handled in the background then pushed to browsers via websockets (for browser which support them).

To get location I do a variety of things mostly based off of the IP address of a user. However, I've built up a lot of meta data around locations which I may release later on down the road. Happy to talk more if you want to email me.