Live data from Hacker News

Discord runs Powershell on load to find Nvidia binaries

twitter.com

41–50 of 57 posts

Re: Discord runs Powershell on load to find Nvidia binaries

#41

Earlier quoted context omitted.

Ok this particular piece of garbage software is not the crime of the century, and we all have dirty underwear, but there is nothing about this that deserves the tiniest bit of empathy. This is not an empathy situation. This is an atrocious job full stop. Anyone attempting, or purporting to do this job should know this, and if they don't know this, then that very fact is the unforgivable thing. I say this as someone w…

I believe they're referring to the tone of language used, which is IMHO just unnecessarily rude. > THIS is why your software is slow. it's not "web tech" or "electron" or "JIT compilation" or any fucking sorting algorithm > it's boneheaded _design decisions_ made to avoid doing things properly in packages with 1,600,000 weekly downloads. > :DDDDDDDDDD this is why everyone hates nodejs developers Yes, you can criticis…

hi op here, there's a bit to this that's missing

the bit about web tech and electron is a direct response to a common criticism i see about software written with these frameworks, they have a reputation for being slow and bloated and from experience i know it doesn't have to be that way, what makes web apps bloated and slow is usually poor design choices. the point i was trying to get across here is that this code written this way would've been slow if it was C too, it's not always about the tech stack. same goes for the comments about nodejs, i love node, but some of the packages in the ecosystem really let it down, and it means node devs get a bad wrap.

i know my general tone isn't great, i do feel for the package maintainer and tried to get in touch to get ahead of this but didn't find a way to do so. though in my defence, this is far from the first time i've tweeted about discord bogging down a system and 99.9% of the time they've gone nowhere, let alone reached hackernews, i've never had "a platform" so i've never had the need to worry about things like this before, it's something i've noted for the future, so i hope that makes things a little more understandable.

Re: Discord runs Powershell on load to find Nvidia binaries

#42

Earlier quoted context omitted.

Ok this particular piece of garbage software is not the crime of the century, and we all have dirty underwear, but there is nothing about this that deserves the tiniest bit of empathy. This is not an empathy situation. This is an atrocious job full stop. Anyone attempting, or purporting to do this job should know this, and if they don't know this, then that very fact is the unforgivable thing. I say this as someone w…

I believe they're referring to the tone of language used, which is IMHO just unnecessarily rude. > THIS is why your software is slow. it's not "web tech" or "electron" or "JIT compilation" or any fucking sorting algorithm > it's boneheaded _design decisions_ made to avoid doing things properly in packages with 1,600,000 weekly downloads. > :DDDDDDDDDD this is why everyone hates nodejs developers Yes, you can criticis…

They deserve all of it.

The entire point everyone is making is that this ISN'T about some fine point. This is a completely stupid approach. It should offend anyone on first sight or thought. There is no valid way to think up this idea for this way to get this result, and not immediately discard it as ridiculous.

If you're brainstorming initially for possible ways to get from your house to the one across the street, sure maybe one of the possible ways is to give yourself some minor injury, call an ambulance, go to the hospital, and then give them the other address when they take you back home (setting aside thatthey don't take you back home, let's pretend they do). But you don't actually do it. You reject that idea as outlandish and crazy.

Even IF it worked fine. Maybe you can't actually successfully get an ambulance to function as a taxi, but Uber will just fine. It would outwardly function just fine to call uber to take from one address to another. Yet you still do not use that approach to that problem. You consider it for one second and conclude that that would be outlandish and crazy. Just utterly gross and stupid and fucking inexcusably so.

Re: Discord runs Powershell on load to find Nvidia binaries

#43

Earlier quoted context omitted.

I believe they're referring to the tone of language used, which is IMHO just unnecessarily rude. > THIS is why your software is slow. it's not "web tech" or "electron" or "JIT compilation" or any fucking sorting algorithm > it's boneheaded _design decisions_ made to avoid doing things properly in packages with 1,600,000 weekly downloads. > :DDDDDDDDDD this is why everyone hates nodejs developers Yes, you can criticis…

hi op here, there's a bit to this that's missing the bit about web tech and electron is a direct response to a common criticism i see about software written with these frameworks, they have a reputation for being slow and bloated and from experience i know it doesn't have to be that way, what makes web apps bloated and slow is usually poor design choices. the point i was trying to get across here is that this code wr…

> i love node, but some of the packages in the ecosystem really let it down, and it means node devs get a bad wrap.

I think you'll find that for any environment that promotes package use and has a large following, I don't think its down to inheritably down to something node is doing wrong.

> so i've never had the need to worry about things like this before, it's something i've noted for the future, so i hope that makes things a little more understandable.

part of the reason I left Twitter (or X now?), Mastodon, Threads etc. The platforms promote people posting things without thinking them through first and you never know what's going to come bite you in the arse later.

Re: Discord runs Powershell on load to find Nvidia binaries

#44
post #20

Earlier quoted context omitted.

Browsers are a platform too

Other than features specific to a given browser—-which seem to be more uncommon as a user than as a developer—-how can browsers lock you in in anywhere near the way a standalone application can?

WebHID comes to mind

Re: Discord runs Powershell on load to find Nvidia binaries

#45
post #27

> this person has never programmed on windows in their lives https://nitter.poast.org/da_wamwoowam/status/182487490957266... How about some fucking empathy? Yes, maybe the dev isn't a windows expert, but I'd guess most devs aren't. Most people don't have the luxury of pulling in a specialist to do every little feature, nor the luxury to do a deep dive to figure the absolute correct way. Such is the reality of (commer…

Whoever wrote this twitter post is irritating beyond my will of reading their rambling. Closed the window real quick.

Re: Discord runs Powershell on load to find Nvidia binaries

#46
post #44

Earlier quoted context omitted.

Other than features specific to a given browser—-which seem to be more uncommon as a user than as a developer—-how can browsers lock you in in anywhere near the way a standalone application can?

WebHID comes to mind

Yes. As I said, there certainly are APIs which are only supported by a certain browser or family of browsers. I just don’t think avoiding vendor lock-in for browsers is anywhere remotely as difficult as it is with operating systems. Admittedly, I’m a web developer and don’t do native development. However, I frequently run into applications which don’t support macOS or Linux, whereas I very rarely run into sites—especially for everyday tasks—which don’t work on Safari or Firefox.

Re: Discord runs Powershell on load to find Nvidia binaries

#47

Earlier quoted context omitted.

I believe they're referring to the tone of language used, which is IMHO just unnecessarily rude. > THIS is why your software is slow. it's not "web tech" or "electron" or "JIT compilation" or any fucking sorting algorithm > it's boneheaded _design decisions_ made to avoid doing things properly in packages with 1,600,000 weekly downloads. > :DDDDDDDDDD this is why everyone hates nodejs developers Yes, you can criticis…

hi op here, there's a bit to this that's missing the bit about web tech and electron is a direct response to a common criticism i see about software written with these frameworks, they have a reputation for being slow and bloated and from experience i know it doesn't have to be that way, what makes web apps bloated and slow is usually poor design choices. the point i was trying to get across here is that this code wr…

Honestly I think your tone was fine. People need to get over themselves because you said nothing wrong. If someone does something stupid I wholeheartedly believe they should be called out for doing something stupid. It’s how we learn

Re: Discord runs Powershell on load to find Nvidia binaries

#48
post #27

> this person has never programmed on windows in their lives https://nitter.poast.org/da_wamwoowam/status/182487490957266... How about some fucking empathy? Yes, maybe the dev isn't a windows expert, but I'd guess most devs aren't. Most people don't have the luxury of pulling in a specialist to do every little feature, nor the luxury to do a deep dive to figure the absolute correct way. Such is the reality of (commer…

I have also never programmed on Windows in my life. Seriously, not so much as a trivial script. But I would look up the right way to find the system installation if I were writing production code, or even personal-use code, that needed to know where it was. I also wouldn't walk the filesystem looking for a program I was relying on (and assuming filenames and installation locations, but evidently not with a definitive…

[deleted]

Re: Discord runs Powershell on load to find Nvidia binaries

#49
post #27

> this person has never programmed on windows in their lives https://nitter.poast.org/da_wamwoowam/status/182487490957266... How about some fucking empathy? Yes, maybe the dev isn't a windows expert, but I'd guess most devs aren't. Most people don't have the luxury of pulling in a specialist to do every little feature, nor the luxury to do a deep dive to figure the absolute correct way. Such is the reality of (commer…

I have also never programmed on Windows in my life. Seriously, not so much as a trivial script. But I would look up the right way to find the system installation if I were writing production code, or even personal-use code, that needed to know where it was. I also wouldn't walk the filesystem looking for a program I was relying on (and assuming filenames and installation locations, but evidently not with a definitive…

So what's the enterprise-quality solution for querying the GPU for the information they need?

If I search Google for "nvidia-smi.exe", one of the top results is a Stack Overflow answer with 70 upvotes, describing exactly the approach taken by the linked code.

https://stackoverflow.com/a/57100016

Re: Discord runs Powershell on load to find Nvidia binaries

#50
post #45
post #27

> this person has never programmed on windows in their lives https://nitter.poast.org/da_wamwoowam/status/182487490957266... How about some fucking empathy? Yes, maybe the dev isn't a windows expert, but I'd guess most devs aren't. Most people don't have the luxury of pulling in a specialist to do every little feature, nor the luxury to do a deep dive to figure the absolute correct way. Such is the reality of (commer…

Whoever wrote this twitter post is irritating beyond my will of reading their rambling. Closed the window real quick.

Yeah, the real cringe here is how the Twitter user chose to communicate this
Post reply on HN