Live data from Hacker News

Viewing profile — magnusjonsson

magnusjonsson

HN member
Joined
Sun, May 24, 2009, 3:17 AM UTC
HN karma
137
Public activity
40 items

About magnusjonsson

No profile information was provided.

Recent public activity

  1. comment
    Comment #20192450

    The PRC didn't exactly cooperate when the UK wanted to introduce democratic measures in HK well before the handover. https://en.wikipedia.org/wiki/Democratic_development_in_Hong...…

  2. comment
    Comment #20192311

    China has a lot of vague laws and a history of making up accusations to fit the occasion, with no way for HK judges to examine evidence, and trial with presumption of guilt. This e…

  3. comment
    Comment #20192192

    But people elect the parliament and the parliament electthe PM, so it's OK, there's a chain of accountability to the populace. In HK, the parliament has only 70 seats of the 1200-m…

  4. comment
    Comment #20141706

    whataboutist wumao

  5. comment
    Comment #19773805

    No, Hong Kong should lead the way.

  6. comment
    Comment #19654153

    When I started learning Mandarin (my fourth language) I became totally unable to speak French (my third language) as the Mandarin words would pop up first in my mind. I think by no…

  7. comment
    Comment #16452169

    Swedish has "nja" (blend of Swedish ja and nej).

  8. comment
    Comment #15372891

    That is not what he said.

  9. comment
    Comment #14998524

    That's an awesome article! Thanks for sharing.

  10. comment
    Comment #14093601

    Actually those are very bad examples. In practice, compilers will produce warnings in all of those examples. Better examples (of actually useful things) would be things like design…

  11. comment
    Comment #13381976

    FWIW, the Unsafe class is generally much faster than DirectByteBuffer

  12. comment
    Comment #9550433

    This does not do away the distinction between attributes and content -- that attributes are flat strings while content can be nested.

  13. comment
    Comment #8660988

    You can call it a style if that makes a difference. I think there are reasons behind that style, and I think the too minimal standard library is the main reason. The lack of a good…

  14. comment
    Comment #8655853

    It's a problem. Until people have standardized on which 'better standard library' to use, programs will keep building from these too low level building blocks.

  15. comment
    Comment #8655493

    The ocaml standard library is minimal to a fault. It's just enough to implement the compiler itself. For higher level operations like starts_with, you use libraries. The Batteries …

  16. comment
    Comment #7925159

    No syntactic sugar needed. In most lisp pattern matching libraries there are higher level matchers such as "list" etc. Just as the first element of a list is a function or special …

  17. comment
    Comment #7880237

    Just keep your supply of rolls in the bathroom?

  18. comment
    Comment #7724220

    What's the software analogy of a factory? Making copies is simple in software so you must have something else in mind?

  19. comment
    Comment #7441954

    Horizontal space isn't.

  20. comment
    Comment #7308808

    (47 choose 39) * 0.5 ^ 39 * 0.5^8 = 0.0000022, so that'd be about 1 in 500000 of all who traded for this long.

  21. comment
    Comment #7304908

    Side remark: Please don't use equality and inequality like that. How can a noun and an adjective possibly be equal? They aren't even the same word class. Just use english "is" and …

  22. comment
    Comment #7046198

    The constant factor is huge compared to a straight pointer.

  23. comment
    Comment #6992951

    Forth has it right: One data stack and one return stack. Though you could argue that using unsafe languages is the real problem I suppose.

  24. comment
    Comment #6950918

    You are both correct. See http://en.wikipedia.org/wiki/Exponential_distribution

  25. comment
    Comment #6946936

    Suffer can mean "tolerate" sometimes.