Live data from Hacker News

Viewing profile — DmitryOlshansky

DmitryOlshansky

HN member
Joined
Tue, Jul 25, 2017, 6:02 AM UTC
HN karma
269
Public activity
147 items

About DmitryOlshansky

https://olshansky.me

Recent public activity

  1. comment
    Comment #48621325

    I’ve replaced Asio recently with stright epoll event loop and got about 16% RPS better. That is for resonably sized SQL server, so be careful with nice precanned libraries.

  2. comment
    Comment #48621078

    I would argue that _premature_ abstraction is worse than _some_ duplication of code. Also I’ve seen the kind of codebase that seems to be LZW packed due to the sheer desire to DRY …

  3. comment
    Comment #48248474

    There is a big difference between JIT compiled _dynamic_ language and ahead of time compiled static language. While modern JS engines show that difference sometimes can be narrowed…

  4. comment
    Comment #48190525

    Running NFA is O(nm) not NP.

  5. comment
    Comment #46515693

    On a related note getting my share of data back from OneDrive was a painful exercise - tons of spurious write errors I spent best part of my evening getting everything back to my f…

  6. comment
    Comment #45744501

    I just wonder if it has the three laws builtin.

  7. comment
    Comment #45543640

    And I’ve just implemented BWT and Inverse BWT in D, earlier today! https://github.com/DmitryOlshansky/compd/blob/master/source/...

  8. comment
    Comment #45279059

    I guess this will be killed soon enough, like so many Google projects.

  9. comment
    Comment #45259682

    I too adopted Scala in 2014 and was really satisfied with FP side and how it all was tied with JVM. Honestly I always felt that JVM is a nice platform with a horribly verbose “asse…

  10. comment
    Comment #44771510

    Why not full VM with JIT? Seems much easier and more compatible with apps out there.

  11. comment
    Comment #44746083

    Used cucumber as living specification for our search engine. Sooner or later we realized it was just matching a list of expected JSONs with a bunch of awkward Given, And Then mixed…

  12. comment
    Comment #44696970

    I recall the Zookeeper paper from Yahoo scientist which basically details a more useful version of Google’s chubby. I find reliability and design of Zookeeper fascinating these day…

  13. comment
    Comment #44668512

    I recall playing Warcraft I with my friend over null modem. Kind of boutique LAN party.

  14. comment
    Comment #44570381

    Think of page tables this is essentially a table of tables of tables. I also was meh on triple pointers until I found this use case.

  15. comment
    Comment #44558134

    I think there was a discussion to add SuperStack a threadlocal buffer that will be used for arena style allocation back in 2010-2011. While std wont have it I see no problem implem…

  16. comment
    Comment #44507477

    Patching the binary is an option, though it’s tricky I would attempt it anyway.

  17. comment
    Comment #44488317

    Or zookeeper for that matter.

  18. comment
    Comment #44421466

    > Generic: Works with any type implementing the Event interface. Isn’t this the opposite? Generic is usually implying any type would do.

  19. comment
    Comment #44420408

    A drop-in memcached replacement written in D. The end goal is Redis but memcached is simpler protocol (and less data structures;)) to test the waters. https://github.com/DmitryOlsh…

  20. comment
    Comment #44168075

    I remember how I caught the silver train in Cartahena, most of my pirates didn’t survive the onslaught. So when the time came to divide the plunder each pirate would get ~ -16000 g…

  21. comment
    Comment #43929456

    That’s the POSIX AIO. Linux has had AIO that was only supported for direct I/O and had certain limitations making it awkward to use.

  22. comment
    Comment #43888319

    I wonder how std.regex of dlang would fare in such test. Sadly due to a tiny bit of D’s GC use it’s hard to provide as a library for other languages. If there is an interest I migh…

  23. comment
    Comment #43845896

    At my work they would also disable ptrace in the kernel and require you to explain why need it

  24. comment
    Comment #43717917

    Python is not something I expect to see when talking about performance. Being interpreted with powerful builtins it distorts what is fast and what isn’t in a fairly unpredictable w…

  25. comment
    Comment #43252624

    It certainly doesn’t run like C. I once thought to port my JSM machine learning engine to python and it felt Cython might just be what I needed. Simply put it’s tight loops doing b…