Live data from Hacker News

Viewing profile — marvy

marvy

HN member
Joined
Sun, Oct 20, 2013, 7:28 AM UTC
HN karma
715
Public activity
654 items

About marvy

No profile information was provided.

Recent public activity

  1. comment
    Comment #43771817

    the full story is in the language reference, but the short answer is: __radd__ (unless it's more complicated than I realize)

  2. comment
    Comment #38605553

    you can choose; there's an option buried in settings somewhere

  3. comment
    Comment #36690243

    Clever! I like this! I feel a bit jealous that I didn't think of it :) It's not quite as easy as it seems, because these methods are "intrinsics". That is, the pure Java code you s…

  4. comment
    Comment #35837668

    I feel like there's two sides to this. On one hand, I agree with Zulip: don't make promises you're not sure can keep. On the other, you also shouldn't believe promises if the perso…

  5. comment
    Comment #34942022

    Thanks for the above. (nice self-restraint in the last paragraph.) Things almost make sense now. Except one problem ... this implies that there are software developers who think to…

  6. comment
    Comment #34348305

    sorry I meant it was an UNSIGNED integer back then

  7. comment
    Comment #34292267

    I thought it was settled in Version 4. Compare: https://www.tuhs.org/cgi-bin/utree.pl?file=V3/man/man2/time.... vs https://www.tuhs.org/cgi-bin/utree.pl?file=V4/man/man2/time.... E…

  8. comment
    Comment #30574812

    Thanks for explaining. I guess if you ever decide to become a foreign spy, you can point to this as "relevant experience" in THAT job interview. Or something.

  9. comment
    Comment #30523868

    How would a boyfriend or lack thereof even come up in an interview? Let alone so often as to be worth practicing such a thing? (I'm single, but I don't remember ever mentioning it …

  10. comment
    Comment #30523769

    New York presumably

  11. comment
    Comment #30523738

    Why does it need a champion? Suppose some legislator is drunk one night and decides to introduce a bill banning non-competes. Who would vote against it?

  12. comment
    Comment #28351060

    isn't it?

  13. comment
    Comment #27870259

    Amazing. A real, live, credible proposal for lambdas in ISO standard C.

  14. comment
    Comment #27718970

    Ooh nice! I didn't think of that! Since appending to an array is cheap, you can just move-to-end instead of move-to-front, and then iterate in "reverse" order, so from the outside …

  15. comment
    Comment #27707861

    I think LRU does NOT work with this trick, because there's no easy way to "move-to-front" in O(1) time. The article mentions Java's LinkedHashMap, which actually can do LRU. But as…

  16. comment
    Comment #26691682

    they got rid of that in Python 3, I think

  17. comment
    Comment #25887071

    Okay now I'm curious: what IDE do you use that makes this a non-issue?

  18. comment
    Comment #25884713

    Consider the following two cases: 1. MyClass has 10 private fields, each with a trivial getter and setter. 2. YourClass has 10 private fields, of which 9 have a trivial getter and …

  19. comment
    Comment #25625538

    I think mh7 did not mean to hard-code intcmp into qsort. The idea is to move the definition of qsort directly into the stdlib.h header file. That way, the compiler can see the defi…

  20. comment
    Comment #25101603

    You can tweak the definition to take advantage of whatever your language DOES allow. He alludes to this during the Q&A at the end. For instance: two expression are equal if (and on…

  21. comment
    Comment #25101567

    In this simple script you can, but eventually you need an loop or something and you realize you're kind of stuck: before_loop; while something: step1; step2; after_loop; Note that …

  22. comment
    Comment #24961140

    Might be worth filing an issue; a glance at the repo suggests that the list is still being actively maintained.

  23. comment
    Comment #24903080

    > maybe even win with In a U.S. court? You really think so? If you're right then in my opinion that's proof that the law needs fixing.

  24. comment
    Comment #24536923

    With Project Panama, they are finally trying to make calling non-Java code easy.

  25. comment
    Comment #24454848

    Kernel will hopefully be ready; user space is another story.