this post was submitted on 07 Jul 2024
837 points (92.9% liked)

linuxmemes

20454 readers
153 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 175 points 1 month ago (2 children)

SIGTERM is the graceful way tho? It nicely asks programs to please close and cleanup. Unlike SIGKILL, which bombs the shop and creates orphans.

[–] [email protected] 38 points 1 month ago (3 children)

And we give steam a fewilliseconds to comply, so IDK what they're complaing about...

[–] [email protected] 54 points 1 month ago (1 children)

Please end your process. You have ten milliseconds to comply.

[–] [email protected] 14 points 1 month ago* (last edited 1 month ago)

Please do not resist.

[–] [email protected] 9 points 1 month ago* (last edited 1 month ago)

?

You're supposed to close Steam via menu or systray. If you run it in cli, you see that it cleans then a whole bunch up for a few seconds.

[–] [email protected] 6 points 1 month ago

Steam is clunky... Exit -> Oh you want to exit? Let me launch a new window letting you know I'm shutting down and take about 20 seconds while I was sitting here idle before you asked to shutdown.

See you tomorrow where I'll validate your games again. Just in case!

[–] [email protected] 18 points 1 month ago (2 children)

Yup. And you can kill processes in Windows to in the task manager. Or probably with a Powershell command too, but nobody's gonna learn Powershell LOL.

There's nearly always equivalent functions in both Linux and Windows, just in Windows you gotta click around in more bullshit forms and shit to find stuff. Or learn Powershell, but again, LOL. They are both OSes after all, they do similar things. Just one might do them better than the other.

[–] [email protected] 10 points 1 month ago (5 children)

Why u gotta hate on PowerShell like that? I like it. 😭

[–] [email protected] 7 points 1 month ago

It might be nice and all that (I wouldn’t know), but it’s not a sub- nor superset of glorious POSIX

[–] [email protected] 6 points 1 month ago (3 children)

Probably because it's the scripting language equivalent to Clippy. Ref.: Approved "verbs"

[–] [email protected] 7 points 1 month ago (2 children)

Boy oh boy would you hate AppleScript. This is what I have to type to throw files in the trash instead of deleting them.

tell application ”Finder” to delete POSIX file “/full/fucking/path/to/file”
[–] [email protected] 1 points 1 month ago (1 children)

Why do you need to "tell" some "application"? Why do you need a "finder" if you know the absolute path already? Does this imply that "finder" always runs, ready to be told something?

[–] [email protected] 2 points 1 month ago (1 children)

Finder is macOS equivalent of Windows Explorer (maybe, it’s been a while). I assume Linux desktop suites have various similar processes. In other words, a second optional layer (with more features) to access runtime libc file manipulation api.

[–] [email protected] 1 points 1 month ago (1 children)

Explorers in Linux don't work like this. They are just some app you can move your files with.

[–] [email protected] 1 points 1 month ago

Yes. Finder is just some app you can move files with on macOS.

[–] [email protected] 2 points 1 month ago (1 children)

I really appreciate the consistency. People also dog it for being verbose to write but it makes it so much more legible.

/shrug

[–] [email protected] 4 points 1 month ago

I usually write verbose code and use self-documenting function names, but to have such a limited set of verbs available can be frustrating. They could at least have used a proper dictionary and included all verbs. Then have a map of synonyms that are preferred, like instead of 'create' they prefer 'new' (which isn't even a verb).

[–] [email protected] 1 points 1 month ago (1 children)

You don't have to follow best practices though. You can name shit pretty much whatever you want.

[–] [email protected] 2 points 1 month ago (1 children)

No, but if you don't the UI will nag at you just like Clippy did, which is my point.

[–] [email protected] 1 points 1 month ago

Only if you haven't disabled or dismissed the "problem"

[–] [email protected] 4 points 1 month ago

Your opinion is wrong, Powershell must be banished

[–] [email protected] 2 points 1 month ago (1 children)
[–] [email protected] 4 points 1 month ago* (last edited 1 month ago) (1 children)

I find objects much easier to work with rather than a bunch of string manipulation.

[–] [email protected] 4 points 1 month ago

Just think of strings as the objects.

/waves magic wand

[–] [email protected] 1 points 1 month ago (1 children)

It's one of those things wher eI'm sure it's fine if you learn it. But it's not DOS CMD, but also not bash.

So instead of improving CMD to have more features or just going all the way and offering an official bash implementation, they want me to learn a third thing. Just don't have time for it.

[–] [email protected] 1 points 1 month ago (1 children)

It’s second to none if you have to get things done in a Windows environment, especially if dealing with Active Directory.

But if not, I don’t blame you for not picking it up. Right tool for the job and all that.

[–] [email protected] 1 points 1 month ago

I do use it occasionally, but I gotta google for the command every time. So not exactly learning it.

[–] [email protected] 2 points 1 month ago (1 children)

I use powershell quite a bit at work and I really like it.

If anything it's much easier to read than the abomination called bash.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago)

I wanna learn PowerShell but I only really learn extra stuff like that if I have to. My work computer is a Mac now and has been since 2019. At home I don't use too much on Windows to really warrant it. I did used to know how to do "sudo" in PowerShell which was useful. Best the hell out of restarting as admin.

The "object" approach instead of everything as text seems desirable.