Live data from Hacker News

Viewing profile — locci

locci

HN member
Joined
Fri, Apr 15, 2011, 6:58 PM UTC
HN karma
78
Public activity
32 items

About locci

No profile information was provided.

Recent public activity

  1. comment
    Comment #4988367

    She was involved in a scandal involving a drug called Cronassial, a pharmaceutical industry called Fidia and the Nobel committee. Through various donations, Fidia (at the time a sm…

  2. comment
    Comment #4740595

    I have always thought the point of this kind of questions is that as a candidate you are supposed to provide the right answer which you are expected to provide despite all the ambi…

  3. comment
    Comment #4673290

    bind was introduced in ES5 (and previously in most libraries) to fix this https://developer.mozilla.org/en-US/docs/JavaScript/Referenc...

  4. comment
    Comment #4586882

    They don't even dodge, which is the staple movement in UT games.

  5. comment
    Comment #4102084

    Soren Johnson talks about AI cheating in "Playing to lose: AI and Civilization" http://www.youtube.com/watch?v=IJcuQQ1eWWI&feature=playe...

  6. comment
    Comment #3831797

    I'm no pythonist, but I think setdefault would be perfect for the case http://docs.python.org/library/stdtypes.html#dict.setdefault

  7. comment
    Comment #3780859

    it seems there are many tricks you can use: check out the first reply here ( ) (explaining the batman equation) ( ) http://math.stackexchange.com/questions/54506/is-this-batman...

  8. comment
    Comment #3573414

    this reminded me of http://web.me.com/agueniot/Data/Flash/cven.html

  9. comment
    Comment #3502924

    I tend to use document.forms['foo'].elements['bar'], here's why: I use the elements collection because the behaviour of adding each input as a property to the parent form element i…

  10. comment
    Comment #3406261

    Oh, I see. And you fiddle with globals by manipulating the window/exports object, which I assume are reserved identifiers. Thanks a lot for clarifying that, it doesn't look that ba…

  11. comment
    Comment #3381103

    Yes, I probably wasn't very clear: what I meant is that a programmer writing a function somewhere in a program must have a complete knowledge of the scope where the function is and…

  12. comment
    Comment #3380212

    I think this is a recurring discussion from the dawn of coffeescript. See for example: https://github.com/jashkenas/coffee-script/issues/238 I really don't understand why this isn'…

  13. comment
    Comment #3288319

    After reading "A Mathematical Model for the Determination of Total Area Under Glucose Tolerance and Other Metabolic Curves"[1] I am unable to see any malice in this sort of things.…

  14. comment
    Comment #3272519

    Google is a search engine, not a content provider: the less time I spend on it, the better it works. On a personal note, I very much dislike the walls facebook builds around its ex…

  15. comment
    Comment #2971294

    He left all that in a parked car? The faith people on the other side of the Atlantic put in strangers astonishes me every time. Leaving the keys to your car inside the car, leaving…

  16. comment
    Comment #2894990

    Ken Kutaragi, ex CEO of SCEI, around 2006 declared the new Playstation 3 would be 4D.

  17. comment
    Comment #2868093

    This is one of the reasons javascript should be used both on the server and the client. The server would offload as many procedures to the client as possible (that is none if js is…

  18. comment
    Comment #2819565

    Popular browsers are "dragged down to 100" by the mass of people who install the browser because of techie friends, or fashion. In the second graph you can notice there are many mo…

  19. comment
    Comment #2802482

    actually, the script doesn't make any sense because it would be executed as soon as the browser is idling, that is after it has rendered the dom completely, that is when the DOMCon…

  20. comment
    Comment #2802262

    I think he meant faster as in executed before, rather than in executed faster.

  21. comment
    Comment #2797287

    The same argument could be made about structured programming: "Why should I restrict my programs to have one entry point, one exit point and a single flow?" The answer is "Because …

  22. comment
    Comment #2793307

    Yeah, but what if someone comes up with a 9-click checkout? http://www.imdb.com/title/tt0129387/quotes?qt=qt0410938

  23. comment
    Comment #2780378

    I really hate this damned machine I wish they would sell it. It never does quite what I want But what I tell it.

  24. comment
    Comment #2775810

    FWIW, javascript implementations all behave very similarly surprisingly. There are some quirks of course, like JScript not accepting trailing commas, not allowing array like access…

  25. comment
    Comment #2771733

    I completely agree with you, but I would use "foo === undefined" for locals and "this/window.foo === undefined" for globals. You can also test for "== null", if you don't care for …