this post was submitted on 07 Oct 2024
45 points (79.2% liked)

Programmer Humor

19695 readers
91 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

For the record, I use Mac and I like it that way.

all 39 comments
sorted by: hot top controversial new old
[–] BatmanAoD 9 points 1 month ago* (last edited 1 month ago) (3 children)

For what it's worth, WSL 2 with VSCode is actually great. Almost all the benefits of Linux (I still miss true tiling window management), with fewer weird driver issues.

That said, I generally just use whatever my company wants me to use, and I haven't worked somewhere that let us use native Linux boxes since 2014.

[–] firelizzard 10 points 1 month ago (1 children)

I have to strongly disagree with you. I've used WSL 2 with VSCode, and I experienced waaaaaaaay more weird broken shit than I ever have running Linux. And even if it weren't for that, it's still not at all worth it IMO because using WSL 2 means every interaction I have with my development environment has to go through a Linux-to-Windows translation layer. I will never use Windows again for anything beyond testing unless I'm forced to.

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

🤷 That wasn't my experience, and I used it as my primary dev environment for four years.

It doesn't go through a translation layer, though. WSL 2 has a whole separate kernel. You can even use GUI apps with Wayland.

[–] firelizzard 2 points 1 month ago (1 children)

I mean, any time a Windows process needs to interact with resources within WSL it has to go through a translation layer. I didn’t realize you could run native GUI apps within WSL. But if I’m to the point of installing Wayland and GUI apps in WSL, I’d just wipe Windows and install Linux instead…

[–] BatmanAoD 4 points 1 month ago (1 children)

Yes, using Windows apps (beyond very simple things like the file manager) to deal with WSL resources, or vice-versa, is generally a bad time; WSL only really shines if you treat it like a separate computer, i.e. a Linux server you have access to. (This is exactly how VSCode's WSL extension does in fact operate.)

And yeah, if I had been given the choice, I definitely would have gone back to native Linux rather than stuck with Windows during the years I used WSL as my daily driver. But that would have been an uphill battle against IT that I wasn't interested in fighting, and I preferred WSL+Windows to MacOS. (Now that I've got an ARM Mac, the hardware advantage is sufficient that I probably wouldn't go back to WSL any time soon, but I still miss having a genuine Linux kernel without needing to run VirtualBox or something.)

[–] firelizzard 2 points 1 month ago

I have mixed feelings about macOS. I grew up using it and I talked my previous employer into getting me a mac for work but I’ve barely used my mac laptop in the last four years, even more so in the last year since I bought a Linux laptop.

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

I've used it with an x server too, but that requires you to install one of those on the windows side

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

I like this app called windowgrid. It's not particularly fancy, but it makes for a very flexible solution

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

I hope this is bait.

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

The closest thing to Linux that I can use at work is MacOS. And credit where credit is due, apple makes some damn good hardware. There's not even the start of a competition going on against the ThinkPad I had before asking for a Mac. Everything except the keyboard is so far ahead in terms of feel, performance, fan noise, display quality, efficiency and more that I'm skipping. While WSL is pretty cool, it just sucks, about once a week for me it would simply crash and take 100% of the CPU and 100% of the RAM and the only way to get it back is to try running a command in a computer that is barely responding to my keyboard inputs. So yeah I'll stick with a native Unix shell that doesn't stop to a crawl when it's being used hard. Marcos definitely has its drawbacks but non of them really affect what I use the computer for at work

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

Eh. Sublime and vagrant run on windows and the machines are better value than Macs.

I'll stick to a windows host with Linux rather than feed Apple ridiculous money for dongles that do shit that should be built in. Multiple display port out and a built in ethernet cable or death - I actually need a laptop that's portable.

I just checked and it looks like the latest MacBook Pro has a single hdmi port and three USB-C ports... so I've got my power cable, my mouse, my keyboard, and my ethernet cable dongle... already at negative one ports. Then I've got two monitors on display port to somehow cram into a single hdmi port - and apparently the processor only supports a single external monitor unless you get the MacBook Pro Pro or MacBook Pro Max... that's impressively shit.

All for 4,649 CAD - I can buy so many more ports on PC with a ridiculous amount of power for 4.5 thousand. I don't mind spending my employer's money, but I want to spend it on shit that's useful for me.

[–] firelizzard 2 points 1 month ago (1 children)

the machines are better value than Macs.

In my personal experience, Apple laptops are far more durable than the crap Dell, Lenovo, etc are selling. Either way though I'm done with Apple and Microsoft. I doubt I'll ever buy another computer that comes preinstalled with an OS.

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

That's a fair complaint - I think the manufacturing quality has taken a nose dive across the board. I had a computer for two months that had oddly poor performance underload before I checked and realized there was no thermal paste between the heatsink and the CPU. I think as computers become more commoditized the quality has been falling more and more.

I also can't really speak to comparative quality as I've never worked maintaining a fleet of computers - just personal devices - but I'd believe it that Macs had a lower defect rate... it's more the design choices that I have an issue with.

[–] onlinepersona 4 points 1 month ago

Using Mac was the worst experience developing I ever had, mostly because of using containers. Everybody seems to have a different qemu solution doing it. Malus introduced some kind of VM which at the time didn't work either.

Additionally, simple hardware like my mouse and keyboard weren't properly supported by mac. And multiple displays were really annoying to use when maximising windows or trying to tile them with a shortcut.

Windows is a whole other beast and luckily I haven't had to touch that cursed OS in more than decade. Probably just as bad in total as Mac.

Anti Commercial-AI license

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

Grow some skills and stop being stuck on one platform. You don't want to be a one trick pony, right?

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

lol. I’ve been doing this 25 years, and I’ve done them all multiple times.

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

Then grow up and stop being pissy about a platform, they've all got their own uses

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

Ey, I use multiple every day. You're still on a mac

[–] jupiter 2 points 1 month ago

This is why I identify as ~~celibate~~ asexual.

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

I worked at a client where we had to remote in and use a windows environment for development. I was able to mostly get my Vim setup how I wanted but you'd be surprised how many development tools and utilities just assume you're on Mac or Linux. So glad that is far behind me now.

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

ive always been one of the huge windows enthusiasts and i fsckin hate win11

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

I modify every system I have to fit my liking. Windows is no exception

[–] GetOffMyLan 1 points 1 month ago

I have no issues with windows 11 personally. Sometimes use wsl if things are simpler that way.

But visual studio and vscode cover pretty much anything I need.

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

Notepad++ and putty are what makes you a true professional.

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

The better question is why would you want to exit vim?

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

To live in the modern world

[–] Mechaguana -2 points 1 month ago (2 children)

Windows aint so bad, you just got a shit ton of setup to do and maintain. Is it easier than linux? Not by a long shot but it does teach you more about how the system works when you get around to it.

[–] cbazero 2 points 1 month ago

The only thing Windows teaches you is that it does not work.

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

Is it easier than linux? Not by a long shot but it does teach you more about how the system works when you get around to it.

Windows teaches you more on how the system works? Interesting take.

I, for one, learned lots of things about linux in general from just installing arch linux manually