Live data from Hacker News

Viewing profile — anttihaapala

anttihaapala

HN member
Joined
Thu, Apr 28, 2016, 8:46 AM UTC
HN karma
87
Public activity
29 items

About anttihaapala

No profile information was provided.

Recent public activity

  1. comment
    Comment #49143319

    The problem is for most practical uses where you need fast calculations the 64 bit precision is enough. For example there is hardly any physical calculation that would need more pr…

  2. comment
    Comment #47100412

    How about everyone gets a digital certification from their own government that this is the person named this and that. No need to share cranial measurements and iris scans.

  3. comment
    Comment #46874762

    formatting should definitely be in pre-commit though, otherwise you'll destroy diffs.

  4. comment
    Comment #44203856

    This is not a complicated algorithm. A hash map (dictionary) or a hash set is how you would always do deduplication in Python, because it is easiest to write / least keystrokes any…

  5. comment
    Comment #43901188

    Yes, and while waiting for the child services to intervene then those children would still be starving.

  6. comment
  7. comment
    Comment #43385740

    What it means is that since i as the variable is monotonically increasing, an array indexing operation that is in the loop body can be replaced with an incrementing pointer instead…

  8. comment
    Comment #42540432

    It definitely hit this https://maps.app.goo.gl/Npbyqgiy57y7jZDj7 instead.

  9. comment
    Comment #42351410

    If you consider an underwater cable running from Finland to Germany or Sweden to Lithuania in the Baltic Sea, it is virtually impossible for a ship travelling from St. Petersburg t…

  10. comment
    Comment #42230659

    Yet Vietnamese can be written in Unicode without any combining characters whatsoever - in NFC normalization each character is one code point - just like the U+1EC7 LATIN SMALL LETT…

  11. comment
    Comment #42203028

    Oftentimes many of the significant new PHP features are to fix the shortsighted implementation in the previous ones - for example this method chaining with `new` - there was preced…

  12. comment
    Comment #42024571

    The issue was migrated to github so more up-to-date discussion is in https://github.com/python/cpython/issues/62817

  13. comment
    Comment #41669233

    IPv6?! The big thing about this was that you'd have end-to-end connections without NAT etc.

  14. comment
    Comment #41288685

    and it almost works, does not get rid of efivars... needed to add `-x efivarfs` for that .

  15. comment
    Comment #40807009

    No, it is not, and it has never been OK for as long as C has been standardized by ANSI or ISO. C89 says that "The value of a pointer that refers to freed space is indeterminate." a…

  16. comment
    Comment #39463954

    Well, there is even more to it. First of all the name My is (Finland-)Swedish, the Finnish name of the character is Pikku Myy. The Finnish name registry contains only ~2 mentions b…

  17. comment
    Comment #38346050

    In the case of execvp, you would pretty much be required to fork before it and then you could change PATH.

  18. comment
    Comment #37911906

    This! And the attributes page explains these even better: const Functions marked with const as an MT-Safety issue non- atomically modify internal objects that are better regarded a…

  19. comment
    Comment #37654234

    Well, Finland has been landing and taking off F-18s on these road bases for almost 30 years now.

  20. comment
    Comment #37143043

    This is for backward-compatibility reasons. The comparison operators in Python produced 1 or 0 before boolean was a thing, and programs existed that exploited this, i.e. you can do…

  21. comment
    Comment #37099181

    With pointers having lowest bit set, you'd check if the LSB is set and then do for example (uint32_t *)((char *)p - 1) + 2 which the compiler would optimize to register + 7 instead…

  22. comment
    Comment #37024557

    I believe it might be just because it is really easy to incorporate an association in Finland and an association that is a non-profit organization founded for public benefit will b…

  23. comment
    Comment #37024317

    I lived in Oulu and would go to a local library to download game programming tutorials for Turbo Pascal from x2ftp, not quite realizing that the library was pretty much half-way on…

  24. comment
    Comment #34567826

    I've wanted this too. Postgres allows one to write custom data types in C or other system programming language. The only limitation is that the "type modifier", in this case the pr…

  25. comment
    Comment #34543142

    Well, the mypyc was not a side project originally, as mypy was conceived to be a complete programming language with optional static typing ( https://www.slideshare.net/jukkaleh/myp…