Live data from Hacker News

Viewing profile — ghj

ghj

HN member
Joined
Thu, May 28, 2020, 12:44 PM UTC
HN karma
634
Public activity
83 items

About ghj

No profile information was provided.

Recent public activity

  1. comment
    Comment #38698762

    That's crazy high isn't it? That's 1 out of 250 people!

  2. comment
    Comment #38616579

    Will you still be working on educational content on the side? (e.g. updating fast.ai and/or making one off lectures like https://www.youtube.com/watch?v=jkrNMKz9pWU ) Either way th…

  3. comment
    Comment #38556572

    AdamantChicken2 (aka AlphaCode2) replied to the thread! https://codeforces.com/blog/entry/123035?#comment-1091379

  4. comment
    Comment #38548351

    Some people on codeforces (the competitive programming platform that this was tested on) are discussing the model: https://codeforces.com/blog/entry/123035 Seems like they don't be…

  5. story
  6. comment
    Comment #38520742

    I remember deciding that I never want to ever have my DNA in any database after watching this talk: DEF CON 25 - John Sotos - Genetic Diseases to Guide Digital Hacks of the Human G…

  7. comment
    Comment #38260864

    I didn't realize who this was by the title, but this is betaveros, the guy who won 1st place in Advent of Code every single year since 2019: https://clist.by/account/32289/resource…

  8. comment
    Comment #36946492

    Copying from an older comment of mine shilling Pypy https://news.ycombinator.com/item?id=25595590 PyPy is pretty well stress-tested by the competitive programming community. https:…

  9. comment
    Comment #28023915

    I've commented about this before, but their supposedly optimized implementation is still garbage: https://news.ycombinator.com/item?id=24125312 There's no reason to build the repea…

  10. comment
    Comment #25596638

    PyPy is easily 10x faster than CPython at numeric stuff, which is 99% of these contest problems. For example, using CPython, if you try to make an array of a million ints, you won'…

  11. comment
    Comment #25595590

    If you want more examples of real world use cases, PyPy is pretty stress-tested by the competitive programming community already. https://codeforces.com/contests has around 20-30k …

  12. comment
  13. comment
    Comment #24924248

    Isn't this use case the scientific computing use case? That's a fairly large part of the ecosystem to give up on! I think it's still a relatively low effort way (just need to write…

  14. comment
    Comment #24923310

    I stalked the author's linkedin and notice he has competitive programming experience: https://www.topcoder.com/members/kmod/details/?track=DATA_SC... (and top 15 putnam, ICPC world…

  15. comment
    Comment #24501214

    Soap film is also used to solve the steiner problem: https://www.youtube.com/watch?v=dAyDi1aa40E

  16. comment
    Comment #24404902

    GPT-3 can probably be ran deterministically given some a fixed random seed (even if you might need to "reroll" the seed a few times to cherry pick outputs). Then you can just attac…

  17. comment
    Comment #24387811

    Not a good example because being discontent with c++ for loops is how we got https://en.cppreference.com/w/cpp/ranges (which imo is a good addition to the standard library) But yea…

  18. comment
    Comment #24387438

    I didn't know about functools.singledispatch/singledispatchmethod, it looks really nice! For typing hinting, I've been annotating with @overload which is just god awful ugly. And y…

  19. comment
    Comment #24368522

    Yes actually. Both c++ and java have red black trees. In c++ it's std::set, in java it's TreeSet. BST supports log(n) min/max/inserts/removes (among other stuff).

  20. comment
    Comment #24357976

    You would probably enjoy reading about an alternative implementation for STL's std::deque, called a tier vector[1][2]. It supports O(1) push_front/pop_front/push_back/pop_back/oper…

  21. comment
    Comment #24355543

    Dan Luu has a nice curated list: https://danluu.com/hn-comments/

  22. comment
    Comment #24355453

    Not in python! But I guess using negatives is the same as using different key (which is what python uses instead of comparators). The real problem is if you need min/max at the sam…

  23. comment
    Comment #24355122

    In certain domains, the trend has been to give up constant factors in order to increase programmer productivity (e.g., python pays a 10x slowdown but is batteries included). So in …

  24. comment
    Comment #24346501

    You're probably thinking of storing it as some linked list but that doesn't work with mathematical abstractions (which is my point). For example in mathematics if you write "C = A …

  25. comment
    Comment #24344825

    Mathematical abstractions are often at the wrong level of abstraction. Mathematicians mostly care about value semantics but programmers need to care about how it's realized in hard…