Live data from Hacker News

Viewing profile — yshui

yshui

HN member
Joined
Mon, May 13, 2024, 6:50 PM UTC
HN karma
109
Public activity
25 items

About yshui

Blog: https://trace.yshui.dev Mastodon: https://fosstodon.org/@yshui

Recent public activity

  1. comment
    Comment #46679744

    If you think directly calling Windows syscall is crazy, some applications parse binary code from ntdll.dll to figure out what the syscall numbers actually are, since they change ac…

  2. comment
    Comment #46679692

    see also the proton release notes: https://github.com/ValveSoftware/Proton/releases

  3. comment
    Comment #46679666

    It's a bit different. WoW64 is the technology used to run 32-bit applications on 64-bit Windows. Wine has support WoW64 for a long time. The difference is the "old" wine WoW64 mode…

  4. comment
    Comment #46679554

    > who are the devs of Wine. they employs many devs of Wine (including the project lead, Alexandre Julliard). but technically Wine is still an independent open-source project, and h…

  5. comment
    Comment #45353352

    That's a cool find. I wonder if LLVM also does the other way around operation, where it pattern matches handwritten CAS loops and transform them into native ARM64 instructions.

  6. story
  7. story
  8. comment
    Comment #42851117

    CodeWeavers, which I am very lucky to be part of, is also an (almost) 30-year-old small company! We make Wine, Proton, and CrossOver, you might've heard of them. And I think we are…

  9. comment
    Comment #42574424

    Any autoregressive model can do what you are describing. transformers are generating one token at a time too, not all at once.

  10. comment
    Comment #42538053

    further reading: xkcd's "A mole of moles" https://what-if.xkcd.com/4/

  11. comment
    Comment #42375587

    i'd say it's mostly due to linking. the debug info generated is absolutely enormous.

  12. comment
    Comment #42167260

    I (kind of) know multiple languages and they all have different word orders. I find it interesting that my brain is able to switch from expecting information to be received in one …

  13. comment
    Comment #42150800

    I suspect the models probably memorized some chess openings, and afterwards they are just playing random moves with the help of the grammar.

  14. comment
    Comment #42043589

    Okay, I can't believe I am going to defend performance reviews (I hate them with passion), but I actually disagrees with the author's main point. Same accomplishments can be colore…

  15. comment
    Comment #41723421

    I had the pleasure of reverse-engineering win32 SRWLOCKs, and based on the author description of nsync it is very close to how SRWLOCK works internally. Kind of surprised how much …

  16. story
  17. comment
    Comment #41408613

    This is pretty dumb on Debian's part. First of all I don't understand why they insist crate dependencies must be pulled from their repository. They are just source code, not built …

  18. comment
    Comment #41405413

    I am split on this. Maybe I am idealistic and naive, but I will always wish people can just stop fighting, and work together. Fragmenting the community and starting a project out o…

  19. story
  20. comment
    Comment #40681166

    Congrats! :) BTW, instead of max(min()) when I wrote mine I used this equality: V'(s) = 1 - V(swap_players(s)), where swap_players(s) switches X and O pieces. And I only need to do…

  21. comment
    Comment #40658177

    Yep, this is what I ended up doing as well! With how the game generate boards, the player that goes first always have a ~5% advantage. Since players switch hands each around they s…

  22. comment
    Comment #40645910

    Turns out linear programming is not fast... Takes about 90 minutes to find the optimal solution for any board configuration.

  23. comment
    Comment #40642776

    I think this is doable. Say we assign a win rate W(S) to each board state S, and let W(S, A) denote the win rate after taking action A from state S. Since the transition is probabi…

  24. comment
    Comment #40614498

    I have a similar project too! I have an e-ink display connected to a Pi Zero that shows just a "Yes" or "No" telling me if it's going to rain outside in the next three hours. (On a…

  25. comment
    Comment #40346869

    Author here. I probably should have stated this more explicitly in the article, but my main concern with using it for day job is copyright. I don't want to accidentally commit copy…