Live data from Hacker News

Viewing profile — anderse

anderse

HN member
Joined
Sun, Jul 11, 2010, 9:04 AM UTC
HN karma
10
Public activity
11 items

About anderse

No profile information was provided.

Recent public activity

  1. comment
    Comment #17108090

    Do you mean your database driver doesn’t supply you with field names, that you rely on order to map up data?

  2. comment
    Comment #17108063

    Probably something like: to_select = fields - [:created_at, :updated_at] Though there’s always a slight uncomfort in not being 100% sure the array elements aren’t strings, so might…

  3. comment
    Comment #4775122

    Calling it a DSL is bit weird to me, it's a single instance method. You'd use the same kind of thing to set the appropriate caching headers for Varnish.

  4. comment
    Comment #4609100

    subject.should_receive(:popular).and_return(subject) Now you're testing that your piece of code is calling the "popular" method, but you have no idea whether or not that method eve…

  5. story
  6. comment
    Comment #4290613

    Beware that proxies sometimes strip the accept header. I know of at least one European ISP that does this for its 3gs users.

  7. comment
  8. comment
    Comment #3964682

    While you basically built this country? It happens that Swedes who are actually paid to think(or paid at all) don't often share your views. This might be because they are not expec…

  9. comment
    Comment #2984020

    Here's a helpful two-part Berkeley lecture on the topic: http://academicearth.org/lectures/streams-i

  10. story
  11. comment
    Comment #1814853

    What if the other guys do "Content + Links" as well(seeing how this has been the general consensus SEO silver bullet for 5+ years now), we all win? Link building is to on-page opti…