Live data from Hacker News

Viewing profile — 430gj9j

430gj9j

HN member
Joined
Wed, Jan 04, 2012, 11:35 AM UTC
HN karma
53
Public activity
28 items

About 430gj9j

No profile information was provided.

Recent public activity

  1. comment
    Comment #6634558

    In the examples, 0x3bffffffffffffffff decodes to -18446744073709551616, which doesn't fit into int64_t. Why didn't they switch to bignums after INT64_MIN (-9223372036854775808) ins…

  2. comment
    Comment #5785813

    The full text is a little less alarmist: http://www.who.int/dg/speeches/2013/world_health_assembly_20...

  3. comment
    Comment #5679811

    According to the original paper, 81% of SO users didn't provide their age, so to conclude that older programmers are more knowledgeable from this data seems unwarranted. The paper …

  4. comment
    Comment #5631748

    The programmer inadvertently used a vendor-specific feature. This is the key difference. Nobody writes perfect, standards-compliant code all the time, so the compiler needs to tell…

  5. comment
    Comment #5631696

    A quote from Stroustrup: "Use of a supplier's language extensions and non-standard-conforming features limits the portability of your code and can prevent you from choosing a new i…

  6. comment
    Comment #5631636

    And also here: http://connect.microsoft.com/VisualStudio/feedback/details/7... And again: http://connect.microsoft.com/VisualStudio/feedback/details/7...

  7. story
  8. story
  9. story
  10. comment
    Comment #5037714

    I'd love to see this with a little more curation. An example (there are more): calling Inmarsat a startup is a bit tenuous when they are LSE listed with a market cap of 2.8 billion…

  11. comment
    Comment #4996955

    This would be a great analogy if countries in grey shared a common language.

  12. comment
    Comment #4996911

    The article opens by quoting the NYTimes claiming the iPad's keyboard is "abysmal for typing anything over 140 characters", yet fails to address this point anywhere. Is touch as fa…

  13. story
  14. comment
    Comment #4852891

    The key is the same length as the data, making this a one-time pad rather than XOR encryption. http://en.wikipedia.org/wiki/One-time_pad

  15. comment
    Comment #4852872

    Presumably you'd have to store the keys somewhere, given that only a savant would be able to memorise them. That somewhere will probably as easy to seize as the encrypted data.

  16. comment
    Comment #4852859

    Yes. In a previous version I was trying to bypass string caching to make x==y return false.

  17. comment
    Comment #4843448

    All languages have pitfalls. Including the author's beloved Java. For example: String x = "foo"; String y = "foo"; // Appears to work but compares references System.out.println(x[0…

  18. comment
    Comment #4601328

    Bear in mind you can't hover on a tablet.

  19. story
  20. comment
    Comment #4517165

    Ask what isn't in Go that is in Scala. The Go authors deliberately left out certain features to focus on what they call "clarity of design". I don't see them ever adding XML litera…

  21. comment
    Comment #4469894

    http://www.pythonect.org/ FTFY

  22. comment
    Comment #4455511

    No copying here: struct person { int age; }; std::list people; people.push_back(person()); people.back().age = 42;

  23. comment
    Comment #4365772

    Last time I checked corporation tax was payable on profits, not turnover. http://www.hmrc.gov.uk/ct/getting-started/intro.htm

  24. comment
    Comment #4322844

    This made me think: do browsers assume square pixels? So that an N by N pixel image will appear square when displayed? Or is that the responsibility of the OS?

  25. comment
    Comment #4022913

    You're right, Python isn't beautifully minimal. But the Scheme version is boring ;) Rather than asking the interview candidate to use recursion for a problem that shouldn't be solv…