News for hackers. Stuff that matters.
Re:What The Cost Of Renting An Apartment In Boston Looks Like by crisnoble on Thursday January 31, 2013 @04:05PM (#5147453)
Want to create one for your city? Here is the source: https://github.com/jeffkaufman/apartment_prices
Re:What The Cost Of Renting An Apartment In Boston Looks Like by aGHz on Thursday January 31, 2013 @05:18PM (#5147858)
From https://github.com/jeffkaufman/apartment_prices/blob/master/...

  The guy who wrote Padmapper says this tool puts a pretty heavy load on his server and he
  would rather it was run no more than once a month.  If you're just looking for some
  apartment data, I've put some in apts-2013-01-29, which is for Boston in January 2013.
Please be considerate when running this. It does multiple querries to padmapper, one for each choice in number of bedrooms (0 to 9) times the number of 25$ increments in rent between 100$ and MAX_RENT. Consider tweaking those variables and maybe the 100 lower limit at https://github.com/jeffkaufman/apartment_prices/blob/master/...
Re:What The Cost Of Renting An Apartment In Boston Looks Like by cbr on Thursday January 31, 2013 @09:50PM (#5148906)
When I first wrote it I talked to padmapper, and they said that as long as I wasn't going to run it very often it made more sense to keep with the horribly inefficient method in query_padmapper.py than for him to put a bunch of time into making something fancier available. Though a dump of the whole country doesn't sound like it would be that hard and making a US-sized map would be awesome.
Re:What The Cost Of Renting An Apartment In Boston Looks Like by ericd on Thursday January 31, 2013 @11:37PM (#5149229)
Yeah, it's a bit more worrying that it's public code, but I imagine that it will be fairly limited, and it seems like people find it useful, so it's probably not a big deal as long as people don't use it too frequently. If there's enough interest, perhaps I should make this heatmap an option on PM itself so that people don't have to all make their own? Would you be OK with my using the code for that?
Re:What The Cost Of Renting An Apartment In Boston Looks Like by cbr on Friday February 01, 2013 @07:57AM (#5150461)
> perhaps I should make this heatmap an option on PM itself so that people don't have to all make their own?

That would be awesome.

The current code drawing code is probably too slow for this, though.

Re:What The Cost Of Renting An Apartment In Boston Looks Like by ericd on Saturday February 02, 2013 @02:14AM (#5155451)
Cool cool. It'll probably take me longer if it needs to be rewritten. I guess it's not tile-based?
Re:What The Cost Of Renting An Apartment In Boston Looks Like by sycren on Thursday January 31, 2013 @05:34PM (#5147925)
It is interesting how this works. What factors do you believe affects the price?

Euclidian distance away from: shops, travel, crime?

Anyone know of any papers?

Re:What The Cost Of Renting An Apartment In Boston Looks Like by Evbn on Thursday January 31, 2013 @11:12PM (#5149158)
L1, not euclidean.
Re:What The Cost Of Renting An Apartment In Boston Looks Like by sycren on Friday February 01, 2013 @02:13AM (#5149651)
L1?
Re:What The Cost Of Renting An Apartment In Boston Looks Like by textminer on Friday February 01, 2013 @02:49AM (#5149733)
We walk blocks, not as the bird flies.
Re:What The Cost Of Renting An Apartment In Boston Looks Like by sycren on Friday February 01, 2013 @06:49AM (#5150288)
Manhattan distance then. It is easier to work out the Euclidian distance though between 2 coordinates.
Re:What The Cost Of Renting An Apartment In Boston Looks Like by textminer on Friday February 01, 2013 @12:05PM (#5151906)
About computationally as complex, no? The Manhattan distance would just be the sum of the absolute difference in the two coordinates.

The Manhattan and Euclidean distance on finite spaces both generalize to "l_p norms" (1 and 2, respectively) on an n-dimensional Euclidean space, where ||x||_p = (|x_0|^p + |x_1|^p + ... + |x_n|^p)^(1/p). You can even naturally define it in the limit where p goes to infinity!

http://en.wikipedia.org/wiki/Lp_space