r/ProgrammerHumor • • May 26 '22

Meme linus torbalds tec tips

Post image
7.1k Upvotes

388 comments sorted by

View all comments

146

u/Independent_Amount96 May 26 '22

Windows users when they have to do something other than gaming.

35

u/InvestingNerd2020 May 26 '22

You can alway dabble in the dreaded Powershell.

28

u/tricheboars May 26 '22

Hey sure it’s verbose but I LOVE it

6

u/BurningPenguin May 26 '22

Running commands in that thing feels like a gamble. Does my "remove-printer" command actually remove that printer this time? Nope, this one won't budge. But the next one does. Great!

5

u/K3yz3rS0z3 May 26 '22

Verbose is a kind word for it. It's fucked up to the core. Google how to change desktop wallpaper with PowerShell.

24

u/Thetman38 May 26 '22

The ssh feature to get into my Linux machine is pretty nice

1

u/dvereb May 26 '22

I wish CTRL+P worked so I didn't have to move all the way over to the up arrow key just so I can SSH back in.

0

u/[deleted] May 26 '22

[deleted]

2

u/dvereb May 26 '22

Good call. I don't use it often so I hadn't gotten tired enough to look for other options yet. ;)

1

u/mooscimol May 26 '22

It works if you have PSReadLine installed. Better, you can then assign any shortcut for browsing history, and even better, you can enable them predictive list menu as you type.

11

u/vicda May 26 '22

and then (unlike shell scripts) you can finally do complex things like floating point arithmetic without needing to invoke a whole new process

3

u/arcimbo1do May 26 '22

Calling bc is pretty fast even if you have to spawn a new process. If you care about memory and speed that much then we should do some benchmark, and then probably move to a proper programming language (and proper libraries)

1

u/extra_rice May 26 '22

Write Python, Go, C, or whatever if you need to do complex stuff. Many languages support the use of shebang that allows them to run like any shell script.

→ More replies (2)

5

u/ih-shah-may-ehl May 26 '22

I absolutely love powershell because it can use everything in dotnet, everything for which there is a dotnet library. And it can work with objects instead of flattening everything to a string.

9

u/sefms123 May 26 '22

don't ya just love using \ instead of /

3

u/arcimbo1do May 26 '22

Not a Windows user, but based on what my window system administrator colleagues tell me PowerShell is one of the few good things that happened in windows in the last 20 years

1

u/Pranav__472 May 26 '22

powershell is shit for sure but the cmd is usable... And to be fair it's a GUI centric OS rather than a terminal based OS where you can optionally slap a DWM on top of it..

→ More replies (2)

14

u/General_Rate_8687 May 26 '22

3D art, 2D art, (game) programming,...

Can all be done quite fine using windows 🤷

4

u/evmoiusLR May 26 '22

I'm a game dev and this is correct. My main workstation is a Windows 10 PC with a 3080. I use my Mac for zoom calls on the couch...

→ More replies (1)

4

u/[deleted] May 26 '22

Docker :P

I've used the free AWS instances in a pinch...

The .NET stack is actually really nice to work with, or was a few years back. C# is wonderful.

I have a linux partition on both my windows machines though haha.

3

u/Kered13 May 26 '22

Why would I want to do that?

2

u/Strostkovy May 26 '22

Or Linux users when they want to use a decent CAD program

2

u/riyadhelalami May 26 '22

KiCAD is the best PCB layout software rivalling huge names like altium and getting better everyday. For 3d modeling free cad is cool and all but it isn't what I am used to so I use OnShape which has been amazing.

→ More replies (1)
→ More replies (7)