this post was submitted on 02 Sep 2024
48 points (100.0% liked)

Programming

420 readers
12 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

cross-posted from: https://lemmy.ndlug.org/post/1064425

And Linux isn't minimal effort. It's an operating system that demands more of you than does the commercial offerings from Microsoft and Apple. Thus, it serves as a dojo for understanding computers better. With a sensei who keeps demanding you figure problems out on your own in order to learn and level up.

...

That's why I'd love to see more developers take another look at Linux. Such that they may develop better proficiency in the basic katas of the internet. Such that they aren't scared to connect a computer to the internet without the cover of a cloud.

Related: Omakub

top 32 comments
sorted by: hot top controversial new old
[–] cRazi_man@lemm.ee 52 points 3 weeks ago (2 children)

I love Linux. I'm so glad I switched both my PC and laptop to OpenSUSE and got rid of dual boot Windows. Using Linux exclusively for months has really opened my eyes to the truth:

Linux

[–] YourPrivatHater@ani.social 4 points 3 weeks ago (1 children)

We can force it on them...

[–] wizardbeard@lemmy.dbzer0.com 18 points 3 weeks ago (1 children)

Lol, tell me you've never worked IT support again.

The average user can't remember passwords without browser autofill. They don't want to tinker. A "just works" linux distro with a relatively limited set of default features targeted to a specific hardware set to avoid complications, like SteamOS on Steam Deck, is pretty much at the limit of the investment level the average user is willing to put in to keep things working.

[–] YourPrivatHater@ani.social 2 points 3 weeks ago (1 children)

Bro im literally working in IT and it was a joke.

[–] Swedneck@discuss.tchncs.de 1 points 3 weeks ago

the irony of their post is absolutely off the charts lmao

[–] QuadriLiteral@programming.dev 1 points 3 weeks ago (1 children)

What was difficult in your experience?

[–] cRazi_man@lemm.ee 1 points 3 weeks ago* (last edited 1 week ago)

One of the first issues I had problems with was figuring out what was wrong with Street Fighter 6 giving ultra low frame rates in multiplayer, but working fine in single player. It needed disabling of split lock protections in the CPU.

A recent update in OpenSUSE made the computer fail to boot half the time and made the image on the right half of the screen garbled. I rolled back to before the update and am using it without updating for a few weeks to see if the GPU driver problem gets ironed out.

I installed VMware Horizon for my job's remote work login and it fucked up my Steam big picture mode and controller detection. I didn't bother trying to figure that out and just uninstalled VMware remote desktop.

I managed to install my printer driver, but manually finding the correct RPM file to install would not be tolerable for normies.

I still can't get my Dualshock 3 controller to pair via Bluetooth despite instructions on the OpenSUSE wiki. I've stopped trying to troubleshoot that and use my 8BitDo controller instead.

I still can't find a horizontal page scrolling PDF app.

Figuring out how to edit fstab to automount my secondary drives is not a process normies would be able to execute.

Plasma recently added monitor brightness controls to software and these seem to have disappeared for me now, and I can't figure out why.

I can't get CopyQ to launch minimised no matter what I do.

~~My KDE Plasma task bar widgets for monitoring CPU/GPU temp worked till I reinstalled OpenSUSE, and I can't figure out why they've decided to not work on this fresh install. System monitor can see the temperature sensors just fine still.~~ fixed

Flatpak Steam app wouldn't pick up controllers for some reason. Minor issue, but unnecessary jankiness.

My laptop fingerprint reader plainly isn't supported.

People do not tolerate this amount of jankiness. And this doesn't include the discomfort with relearning minor design differences between OS's when switching. Linux is a bit of a battle with relearning and troubleshooting things that would never be problematic on Windows.

[–] abbadon420@lemm.ee 27 points 3 weeks ago

I'd love to use Linux, but I just don't have the legs for those socks

[–] SorteKanin@feddit.dk 23 points 3 weeks ago (3 children)

Linux isn't minimal effort. It's an operating system that demands more of you than does the commercial offerings from Microsoft and Apple. Thus, it serves as a dojo for understanding computers better. With a sensei who keeps demanding you figure problems out on your own in order to learn and level up.

Guy says this as if it's a good thing lol. That's the real reason people don't use Linux, nobody making Linux seems to care about user experience for normal people.

[–] tatterdemalion@programming.dev 4 points 3 weeks ago

Yea I agree. Good UX is a lot of work, and I think FOSS projects rarely prioritize it. Even good documentation is hard to come by. When you write software for your own use case, it's easy to cut UX corners, because you don't need your hand held.

And good UX for a programmer might be completely different from good UX for someone that only knows how to use GUIs. E.g. NixOS has amazing UX for programmers, but the code-illiterate would be completely lost.

I believe that the solution is "progressive disclosure", and it requires a lot of effort. You basically need every interface to have both the "handholding GUI" and the underlying "poweruser config," and there needs to be a seamless transition between the two.

I actually think we could have an amazing Linux distro for both "normies" and powerusers if this type of UX were the primary focus of developers.

[–] QuadriLiteral@programming.dev 3 points 3 weeks ago

What you say describes my experience 10 to 15 years ago, not my experience today. Compare the settings dialog in KDE Plasma to the windows settings dialog for instance. Or should I say myriad of Windows settings dialogues.

[–] Hawk@lemmynsfw.com 2 points 3 weeks ago (1 children)

Perhaps another perspective is where to draw the line in terms of expected expertise.

[–] SorteKanin@feddit.dk 1 points 3 weeks ago

What do you mean?

[–] silkroadtraveler@lemmy.today 15 points 3 weeks ago (1 children)

For 99% of Windows or MacOS users who work in their browser and within simple applications, day-to-day Linux usage is as easy or easier than Windows. Microsoft’s monopolistic practices and lack of government intervention/regulation led us to this point plain and simple.

[–] koalaSunrise@programming.dev 11 points 3 weeks ago

I just a few weeks ago successfully switched my father-in-law's mid-2011 iMac (out of support for years) to Nobara 40. It took some finagling with the SIP settings and some other macOS specific stuff before it would boot the liveUSB but once it did, it works flawlessly OOTB.

Pretty incredible how frictionless the transition was for him. He even chose to switch from chrome to the default firefox, despite me having setup chromium for him to compare (but he knows its there if a website doesn't load right in Firefox). He's in his 60's and not a techy person at all. Everything is so intuitive with KDE these days he picked it up no problem.

Only downside is background sync for KDE connect doesn't work on iOS yet, seems this is a sticking point for most FOSS apps for some reason. It was causing disconnect/pairing issues for us. But I showed him localsend for now and it works flawlessly for transferring photos from the phone to the computer.

He's happy with all the default apps and onlyoffice (which I switched out from libreoffice as I've found much more consistent formatting when sending/receiving to MSoffice users)(maybe this is outdated, haven't tried the new release). Printing and scanning was plug and play. Apple trackpad and keyboard auto-paired. I showed him how to setup widgets and he went nuts. Overall 9.95/10 would convert a normie again.

[–] OhNoMoreLemmy@lemmy.ml 14 points 3 weeks ago (3 children)

I mean coding is difficult enough as it is, I wouldn't choose to use an OS that makes it even harder.

I use Linux because it makes my life easier. It has better support for development. Some of the other stuff is maybe not as easy or polished, but the support for dev tools and the ease of deploying to from local machines to servers that are also running Linux makes up for it.

If I wanted more effort I'd still be using Windows. It would force me to work on cross platform development and deployment. The idea that there's value in making things unnecessarily hard is just weird. I want Linux to be as simple as possible to use, so I can spend that effort on things that actually matter.

[–] ParetoOptimalDev@lemmy.today 8 points 3 weeks ago (1 children)

I use Linux in part because it makes building software easier.

[–] 3H3x36tBElshOa@feddit.nl 5 points 3 weeks ago (1 children)

I agree, it's usually much easier to install required dependencies with Linux. I also recently noticed that some stuff, like compiling Rust, is much faster, but I haven't timed it.

[–] tatterdemalion@programming.dev 2 points 3 weeks ago

It's definitely faster. I have seen measurements from many people showing that Windows is slower compiling Bevy on the same hardware.

[–] Cyno@programming.dev 2 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

I wonder what kind of support for development do you get? Honestly I've only had obstacles when I switched, for example the docker installation was much more complicated on linux than on windows+wsl. Even installing python was problematic because apparently 'upgrading it yourself can brick the system', at least if an older version comes with the OS?

And lastly it's the simple thing that pretty much all tools work on windows natively but on linux you have to find workarounds, which is definitely a problem when it comes to productivity.

So what are the benefits, what does linux have that windows doesn't in this context?

[–] OhNoMoreLemmy@lemmy.ml 3 points 3 weeks ago

It really comes down to what you're used to. If you use Windows tools then you already know many of the workarounds for Windows and you don't know the tools that haven't been ported there.

For example, you know not to use Python directly, but that you have to install anaconda instead, or whatever the current problems with Python development on Windows are.

The big obvious thing that you can't get away from is that you have to do things differently if you have develop for two different OSs with a view to deploying on Linux.

In particular support for shell scripts is crap on Windows. I could learn powershell or there's workarounds using WSL and a bunch of other stuff that I don't need to care about, but I'd rather not bother.

[–] leetnewb 1 points 3 weeks ago

I don't think it was the point of your post necessarily, but I did want to mention a couple of things that might make the Linux switch a little easier - if not for you, anybody else reading and agreeing.

First, distrobox (https://github.com/89luca89/distrobox) is a nifty frontend for podman/docker that I think makes it a little more usable/accessible without having a PhD in devops. Basically helper scripts that create a series of simple CLI commands that let you launch a new environment, enter the new (or old) environment, do stuff in the environment, exit the environment. Keeps your core system's python separated from your development environment(s). Sacrifices the isolation qualities of containers in favor of usability, so probably ok for dev work on a desktop and not so much for production on a server.

Also, there are GUI applications for point and click management of distrobox - I use BoxBuddy, which is available as a Flatpak on Flathub, so again no interference with the core system provided it can run podman and flatpak.

Second, I know the php dev world figured out ways to abstract some docker complexity away with stuff like ddev (https://github.com/ddev/ddev) and lando (https://github.com/lando/lando). I wonder whether other languages have or will build that dev environment in a box abstraction on Docker/Podman/whatever.

[–] FizzyOrange@programming.dev 1 points 3 weeks ago

Depends on the programming language. Some are just as easy on Windows as Linux - sometimes easier. C#, Java, Rust, Go, etc. are all perfectly fine on Windows.

Some treat Windows as a weird second class citizen though, so for those I would agree: OCaml, Perl, Python, etc. However you can still use WSL for those and have the benefits of Linux without the downsides of broken hardware, terrible battery life, etc.

[–] floofloof@lemmy.ca 8 points 3 weeks ago (1 children)

That's why I'd love to see more developers take another look at Linux. Such that they may develop better proficiency in the basic katas of the internet. Such that they aren't scared to connect a computer to the internet without the cover of a cloud.

The developers I have come across mostly use Linux if they can, or another OS if they can't (e.g. when developing specifically for Apple or Microsoft platforms). Are there many that haven't even looked at it?

[–] tatterdemalion@programming.dev 4 points 3 weeks ago

I think there's a pretty big overlap of gamers and programmers who use Windows or WSL because they don't want to have to dual boot.

[–] NaevaTheRat@vegantheoryclub.org 5 points 3 weeks ago (3 children)

random fatphobia in the opening paragraph followed by programmer elitism.

Dude seems well adjusted and pleasant. Overall point isn't wrong though.

[–] moomoomoo309@programming.dev 3 points 3 weeks ago

I'm quite skinny and I also think I should exercise more and eat less junk food. There isn't any fat phobia there, it targeted me just as well.

[–] FizzyOrange@programming.dev 2 points 3 weeks ago

What is fatphobia? I think he was just saying it's easier to let yourself go and turn into a blob than to stay healthy. Definitely true no?

[–] kaitwalla 1 points 3 weeks ago (1 children)

Welcome to the DHH Show! He’ll be forever, no matter how many people beg him to stop.

[–] NaevaTheRat@vegantheoryclub.org 6 points 3 weeks ago

I used to work as a sysadmin/dev/monkey/serverwrencher and in my experience there are 3 main groups:

  • queer happy people who enjoy being weird.
  • serious quiet nerdy men.
  • people who think Christian Bale's portrayal of Patrick Bateman was meant to be aspirational.
[–] FizzyOrange@programming.dev 4 points 3 weeks ago

This is just an excuse. A poor one.

[–] Kissaki@programming.dev 1 points 3 weeks ago* (last edited 3 weeks ago)

It’s an operating system that demands more of you than does the commercial offerings from Microsoft and Apple.

Does it?

It's different, but I imagine they're not fundamentally different if you exclude established knowledge/already being used to something.

Normal office use for non-techy people is launching apps, editing documents, and surfing the web. That doesn't work much differently, not fundamentally different, and not fundamentally more difficult.