News for hackers. Stuff that matters.
Re:Ask HN: Who is Hiring? (September 2011) by nnythm on Thursday September 01, 2011 @12:35PM (#2950679)
look into mongoDB's geospatial indexing, don't reinvent the wheel.
Re:Ask HN: Who is Hiring? (September 2011) by yummyfajitas on Thursday September 01, 2011 @01:07PM (#2950801)
Mongodb spatial indexing is 2d ([x,y]), as far as I know, so that would only work if we didn't have any items with a blue channel (rgb(x,y,0)).

Regardless, that's all Euclidean. Human perception of color follows the CieLAB non-metric. (It's basically just a function of two variables, since it satisfies neither the triangle inequality nor symmetry.)

Re:Ask HN: Who is Hiring? (September 2011) by aangjie on Friday September 02, 2011 @12:00PM (#2954535)
Interesting CieLAB (Never heard of it before,but just looking through it). Function of two variables, yeah that makes sense as neurologically we have found only two types of neural cells in the retina (rods and cones).http://en.wikipedia.org/wiki/Photoreceptor_cell