Live data from Hacker News

Viewing profile — tavianator

tavianator

HN member
Joined
Tue, Nov 20, 2012, 5:07 PM UTC
HN karma
436
Public activity
73 items

About tavianator

[ my public key: https://keybase.io/tavianator; my proof: https://keybase.io/tavianator/sigs/4gTWU8ZsLQerX7b8g6Mo023-HRzovm9BiZI_1ESRxEw ]

Recent public activity

  1. comment
    Comment #48768188

    Didn't Google have a tool for this called MOE (Make Open Easy) like 15 years ago? I remember it from some of my open source contributions to Guice

  2. comment
    Comment #47525973

    > Airplanes don't have wings ???

  3. comment
    Comment #46740983

    No: https://en.wikipedia.org/wiki/Sony_Computer_Entertainment_Am...

  4. comment
    Comment #45711918

    Presumably that's just a mistake. The author calls it "stochastic gradient descent" correctly elsewhere in the article

  5. story
  6. comment
    Comment #44607073

    I did try it a while ago and it wasn't profitable, but that was before I added stat() support. Batching those is probably good

  7. comment
    Comment #44606605

    My bfs project also uses io_uring: https://github.com/tavianator/bfs/blob/main/src/ioq.c I'm curious how lsr compares to bfs -ls for example. bfs only uses io_uring when multiple t…

  8. comment
    Comment #43998102

    You may want to look into improvements to A* for grids, like Rectangular Symmetry Reduction.

  9. comment
    Comment #43977505

    > There was no other helix db https://en.wikipedia.org/wiki/Helix_(database)

  10. comment
    Comment #43905634

    They were referencing the title of a specific paper, which invented type classes: https://dl.acm.org/doi/10.1145/75277.75283

  11. comment
    Comment #43894180

    The C standard (since C99) says that `main()` has an implicit `return 0`, you don't need to write it explicitly.

  12. comment
    Comment #43806191

    I was looking for a relevant paper and found this one, which isn't what I was looking for but is related: https://sigops.org/s/conferences/hotos/2023/papers/liargkova...

  13. comment
    Comment #43805305

    My actual "production" implementation of this concept does support that: https://github.com/tavianator/bfs/blob/main/configure But I wanted the blog post sized version to be simple…

  14. comment
    Comment #43804752

    Just tried reconfiguring LLVM: 27.24s user 8.71s system 99% cpu 36.218 total Admittedly the LLVM build time dwarfs the configuration time, but still. If you're only building a smal…

  15. comment
    Comment #43804644

    Fixed! https://github.com/tavianator/tavianator.com/commit/aa9d99d5...

  16. comment
    Comment #43801057

    Nice! I used to do something similar, don't remember exactly why I had to switch but the two step process did become necessary at some point. Just from a quick peek at that repo, n…

  17. comment
    Comment #43800978

    Whoops! Forgot to do that when I switched from a ``` block to raw html

  18. comment
    Comment #43415978

    You might be interested in rawhide[1] or fselect[2]. (Note: I don't really use them myself, but they seem to offer something like what you're suggesting.) Also, this is still a fin…

  19. comment
    Comment #43413447

    At least with GNU coreutils, you can use `-r`/`--relative`

  20. comment
    Comment #43413427

    Someday I will get that functionality into fd :)

  21. comment
    Comment #42645910

    I've replaced Valgrind with sanitizers for most of my workflow. Using the sanitizer APIs in your custom allocator is also easy: https://github.com/tavianator/bfs/blob/main/src/sani…

  22. comment
    Comment #42598476

    Very interesting, thanks! If I get time I'll try to measure every instruction to see the whole set of affected instructions.

  23. comment
    Comment #42596899

    Wrote up the presumed explanation here: https://tavianator.com/2025/shlxplained.html

  24. comment
    Comment #42589440

    In general I'd be very surprised if code alignment had much effect on a 10,000 instruction block, especially since the instruction is 5 bytes long so it will quickly unalign itself…

  25. comment
    Comment #42587837

    > Wait a sec, isn’t this backwards? No, if you push and pop RCX it's fast again. I mentioned this in the blog post, `mov rcx, 1` is slow but `mov rcx, 1; push rcx; pop rcx` is fast…