Viewing profile — marvy
marvy
HN member- Joined
- Sun, Oct 20, 2013, 7:28 AM UTC
- HN karma
- 715
- Public activity
- 654 items
- HN profile
- View on Hacker News ↗
About marvy
No profile information was provided.
Recent public activity
-
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)
-
comment
Comment #38605553
you can choose; there's an option buried in settings somewhere
-
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…
-
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…
-
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…
-
comment
Comment #34348305
sorry I meant it was an UNSIGNED integer back then
-
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…
-
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.
-
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 …
-
comment
Comment #30523769
New York presumably
-
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?
-
comment
Comment #28351060
isn't it?
-
comment
Comment #27870259
Amazing. A real, live, credible proposal for lambdas in ISO standard C.
-
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 …
-
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…
-
comment
Comment #26691682
they got rid of that in Python 3, I think
-
comment
Comment #25887071
Okay now I'm curious: what IDE do you use that makes this a non-issue?
-
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 …
-
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…
-
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…
-
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 …
-
comment
Comment #24961140
Might be worth filing an issue; a glance at the repo suggests that the list is still being actively maintained.
-
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.
-
comment
Comment #24536923
With Project Panama, they are finally trying to make calling non-Java code easy.
-
comment
Comment #24454848
Kernel will hopefully be ready; user space is another story.