News for hackers. Stuff that matters.

Azuldolphin

Re:Today you, tomorrow me on Tuesday December 14, 2010 @10:04AM (#2004367)
Not to be a jerk, but I'm genuinely curious. Why did you feel the need to preface your comment with "I'm going to get downvoted to hell"? I can't see a reason why this comment would get downvoted.

Edit: I see you've been downvoted. I wonder if it's BECAUSE of your preface, rather than IN SPITE of it.

Ask HN: What is a monad?

I'd like to start digging into functional programming beyond what is available in C# and Javascript, and began by reading a little about Haskell. There are a lot of mentions about something called Monads, which are part of category theory.Can someone provide an explanation that would make sense to an experienced developer in the OOP world?

( Read More... | 43 comments | 100 points | on HN )

Ask HN: Apartment in SF w/o a Job

My cofounder and I (YC W11 rejects) are moving to San Francisco in January to work full time on our start-up. We're leaving our jobs with enough savings to reasonably get by for a year.Does anyone hav advice regarding finding an apartment without an income? Will having enough cash reserves to pay for 6 months up front be enough? Or will we have to find a guarantor? Or ... would it make sense to...

( Read More... | 2 comments | 2 points | on HN )
Re:Tablets on Wednesday December 01, 2010 @03:40PM (#1959493)
I don't know. I've always gotten the feeling that Jobs is a perfectionist to the point of it almost being a pathology. I doubt his motivations are primarily focused on money, especially at this point.
Re:Ask HN: Storing spatial data in SQL on Wednesday November 17, 2010 @11:52PM (#1916930)
Thanks a lot, that looks like it's along the same lines as what I'm trying to do. How did you test this locally? Does Sqlite support this? Or did you set up PostgreSQL on your development machine?
Re:Ask HN: Storing spatial data in SQL on Wednesday November 17, 2010 @11:24PM (#1916862)
I'm hoping to use PostgreSQL (because I'm using Heroku;) ), but I read up on how MS Sql Server implements spatial indexes. Basically, it recursively divides the coordinate system into quadrants. Then, when looking for a range of coordinates, it can figure out which quadrants are covered by that range and efficiently query them using b-trees. Very cool. I wonder if PostgreSQL spatial support works similarly...

Ask HN: Storing spatial data in SQL

What's the best way to store spatial data in SQL in a way where the query "find all points within x miles of point a" can be performed efficiently.My initial approach is to store latitude and longitude, and create an index on both longitude and latitude. However, since I'd be querying both longitude and latitude with a range, only one of the indexes would be useful. Basically, the index could...

( Read More... | 10 comments | 4 points | on HN )
Re:Ask HN: Best place to start in San Francisco? on Friday October 01, 2010 @01:32PM (#1747808)
Also, can anyone speak to the social scene of the different neighborhoods? Since we're not going to know anyone when we get out there it's important that we live somewhere where we can make friends either through good bar scenes, or startup meetups. Does anyone have experience moving to Sf without knowing anyone and making friends?
Re:Ask HN: Best place to start in San Francisco? on Friday October 01, 2010 @01:24PM (#1747774)
I actually am considering picking up a scooter when infer there, as I've already got a motorcycle license. Does anyone have experience getting around on one in sf? Is it possible to make it out of the city to somewhere like mountain view / San Jose on a scooter, or does it require going on high speed highways?
Re:Ask HN: Best place to start in San Francisco? on Friday October 01, 2010 @01:14PM (#1747738)
Thanks for the advice but we're really leanin towards living in SF. After living in NYC for 3 years I think I'd go crazy living 45 mins away, and needing to get around by car.
Re:Ask HN: Best place to start in San Francisco? on Friday October 01, 2010 @12:53PM (#1747647)
Yea, we were hoping for $1000 total, for a small studio. What price range should we expect to find?

Please keep in mind we have no idea what the neighborhoods are in SF, so please include that as well.

Ask HN: Best place to start in San Francisco?

My partner and I are going to be leaving our current job and moving from NYC to San Francisco to join the startup community in December. We're looking to find a studio that we can share for around $1000 a month. Does this sound reasonable? What areas do you guys recommend we check out? We're planning on staying with a friend when we get there while we check out places in person. How long...

( Read More... | 38 comments | 20 points | on HN )