yshui

Joined 2 years ago

Karma
109
Submissions
25
Member since
May 13
Blog: https://trace.yshui.dev Mastodon: https://fosstodon.org/@yshui
View on Hacker News

Recent submissions

Comment · 9 months ago
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 across different Windows versions :)
Comment · 9 months ago
Comment · 9 months ago
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 required 32-bit libraries on the host side, whereas this "new" WoW64 mode doesn't.
Comment · 9 months ago
> 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 has many contributors from outside Codeweavers.

Comment · 1 year ago
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.
Comment · 1 year ago
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 hiring as well, please have a look!
Comment · 1 year ago
Any autoregressive model can do what you are describing. transformers are generating one token at a time too, not all at once.
Comment · 1 year ago
Comment · 1 year ago
i'd say it's mostly due to linking. the debug info generated is absolutely enormous.
Comment · 1 year ago
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 order to another. Each word order feels normal to me in its respective language, mix them and they will feel weird. It's like my brain is able to process information in different orders, but there are feature flags to enable them based on the language used.
Comment · 1 year ago
I suspect the models probably memorized some chess openings, and afterwards they are just playing random moves with the help of the grammar.
Comment · 2 years ago
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 colored good or bad, but that in itself isn't wrong. You could've moved a mountain with a teaspoon, but that's pointless if you don't work for a mountain moving company. i.e. performance isn't just what you have done, but also whether that aligns with the goal of your employer.

(Of course there's the problem where the capitalistic system forces people to work and do things that aren't necessarily aligned with their personal goals and values, just to have a roof over their head and food on their table. But that's a whole different story.)

(And then there's also the problem where people will abuse the review system for their own benefits...)

Comment · 2 years ago
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 faster nsync is compared to SRWLOCK.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton