Live data from Hacker News

Viewing profile — sereja

sereja

HN member
Joined
Fri, Apr 19, 2019, 12:46 AM UTC
HN karma
423
Public activity
60 items

About sereja

No profile information was provided.

Recent public activity

  1. comment
    Comment #39728272

    The Russian version is more about algorithm design 101 and 102 (similar to cp-algorithms.com). I used to do competitive programming, and I co-founded an educational nonprofit where…

  2. comment
    Comment #39728076

    When you add prefetching (that is, compare against the middle element and fetch both the middle of the left half and the middle of the right half ahead of time) you are essentially…

  3. comment
    Comment #39727842

    https://en.algorithmica.org/hpc/data-structures/s-tree/ https://www.youtube.com/watch?v=1RIPMQQRBWk

  4. comment
    Comment #39725650

    Author here. I published most of these in one batch two years ago, and this is a relatively short time for compilers and libraries to catch up (when Daniel Lemire publishes somethi…

  5. comment
    Comment #39724912

    Author here. For a perfect drop-in replacement of std::lower_bound, the best you can do without breaking anything is to make the search branchless and maybe add some prefetching [1…

  6. story
  7. story
  8. story
  9. story
  10. story
  11. story
  12. story
  13. story
  14. comment
    Comment #35853419

    Actually, during the Medvedev presidency, there were serious efforts to negotiate visa-free travel and reduced tariffs (which is the essence of what everybody wants, not full integ…

  15. comment
    Comment #35853177

    The EU is primarily a trade bloc, and it is in natural competition with the Eurasian Economic Union: countries can have tariff-free trade with either one bloc or the other, but not…

  16. comment
    Comment #35753165

    Also available on YouTube: https://www.youtube.com/watch?v=1RIPMQQRBWk

  17. comment
    Comment #35752366

    This is a tricky part. The middle element is still part of the search range if we go "left" (≥). After we compare against it, the search range length becomes either floor(n/2) or c…

  18. comment
    Comment #35751172

    Author here. There is a newer and significantly expanded version of the article: https://en.algorithmica.org/hpc/data-structures/binary-searc...

  19. story
  20. story
  21. comment
    Comment #34529203

    You don't need to hack Yandex. The entire monorepostory is synced on every intern's laptop, and you can do whatever your want with the files. I always wondered how it hasn't been l…

  22. comment
    Comment #32922971

    The mobilization only includes people who formerly served in the military (at least 1-2 years of training). A certain percentage of them are "reservists" who work normal jobs but a…

  23. comment
    Comment #32655476

    Interestingly, the disdain for democracy in both Russia and China is strongly motivated by "we've already tried giving people freedom and it didn't work". https://en.wikipedia.org/…

  24. comment
    Comment #32655350

    The world had already A/B tested "damage the economy so that it would never be a threat again" and "help transition to democracy" with Germany. The latter worked better.

  25. story