AstonJ

AstonJ

Linux Users Thread

Welcome to our thread for Linux users :smiley:


  • Mac users please use this thread
  • Windows users please use this thread
  • For those who dislike one platform or another, maybe post those thoughts on Reddit, or somewhere similar :lol:

For distros in production, you might want to check out: Which OS/Distro do you use in production?

Most Liked

sasajuric

sasajuric

Author of Elixir In Action

It’s been about a month since I switched back to Linux. I summarized a few impressions in this Twitter thread.

jchrist

jchrist

I’m gonna guess that this thread is about “why do you like Linux” similar to the Mac thread, so here goes.

Actually, I’m not sure where to start - there’s many things:

  • free software: I’m not really in on the “no non-free software shall run on my computer” story, but the fact that almost everything is done in the open, by volunteers, is just brilliant to me
  • customizability: Installing or uninstalling something is a matter of one apt install, and keeping software up-to-date is equally simple. Configuring most things is just a matter of viewing the manpage for the service, updating it, and reloading / restarting the service. I know that systemd isn’t everyone’s favourite, but I like it for this exact reason: every piece of its documentation (that I need, anyways) is just one man away, such as man timesyncd.conf if I want to reconfigure my NTP servers.
  • runs everywhere: I run Debian on my (second) home computer, my Raspberry Pi at home runs Debian Buster (custom Kernel), my servers run Debian, the list goes on. Learning something new on one almost always helps you with all others.
  • free software, part two: Likely not super Linux-specific, but the package management probably plays into this. For most things there will be multiple projects accomplishing the same thing (in different ways) and you will rarely be locked in to using a single x or y. For instance, I’m currently messing around with systemd-container (see https://wiki.archlinux.org/index.php/Systemd-nspawn and / or https://packages.debian.org/buster/systemd-container) which is a nice and simple alternative for running containers compared to all the other solutions out there, but using something else is a matter of a few shell commands. :slight_smile:

A big part of the reason is probably also Valve’s excellent proton which works wonders to play games on Linux, and a lot of my “Windows-only” Steam games now run on Linux without any hassles. I love it :smiley:

jdumont

jdumont

I’ve recently had to acquire a Windows machine for C#/.NET Core development. I had been using my MacBook Pro with both the macOS tools and Bootcamp for as long as I could but just got to a point where it wasn’t practical fighting against the current any longer.

I had been considering building a desktop anyway, so knew the parts I needed to order, and despite having never built a computer before, found it was very straightforward.

I put Ubuntu and PopOS before installing Windows as it was taking an age to create a bootable USB (another story). To my surprise, absolutely everything worked straightaway, with PopOS even downloading the correct nVidia drivers for the pretty new 1660 Super I bought. Even Windows later required help finding the right drivers for GPU, WiFi and Bluetooth.

I’ll almost certainly getting a second drive to dual boot (probably Pop) as the Linux experience (for the few hours I used it) was utterly flawless and a far cry from previous attempts with Linux on Apple hardware, and even Windows and macOS on their respective native hardware. Truly impressive.

Sidenote RE: leaving Apple. I was skeptical about ever truly leaving Apple despite knowing that I’d need to build a non-Apple computer for these projects. That said, despite being heavily invested in their ecosystem (iPhone, iPad, iCloud Drive, Apple Music and friends and family using FaceTime & iMessage almost exclusively) I’m not sure I’ll ever buy another Mac again.

All the things I worried about (non-Retina screens, clunky/ugly/unpolished operating systems, ecosystem) are proven to be irrelevant and for the first time in over a decade I’m actually excited by computers again. I’m looking forward to improving the hardware in this computer, building another to act as a homeserver and start playing with all the exciting things that are very “un-Apple”. As @sasajuric said, it’s very liberating no longer being dependant on a single company for your work environment.

otuv

otuv

Not messing around with licenses and stuff also brings the benefit of failure.
If this machine fails me I’ll just spin up a new one.
Should be a familiar concept in this crowd :slight_smile:

dimitarvp

dimitarvp

I will always go with Linux for anything serious in 99% of the time.

That being said, macOS for desktop is unbeaten. I’ve tried 5+ Linux window managers and came out disappointed every time. There’s always some detail not thought through that ruins your work routine; there’s always that just one piece of desktop agent that crashes every 5 minutes. I can’t put my finger on it exactly but it adds up over the years, to the point I threw my hands up in the air and just said “Mac it is”.

Again though, for anything server, Linux is king.

Where Next?

Popular in Dev Env & Tools Top

AstonJ
After reading the below in another thread… It got me wondering how many firms are actually using or encouraging their developers to use...
New
aziz
I’m happy to finally present to you the best Sublime Text package for Elixir, templates and more! :partying_face: :confetti_ball: Elixi...
New
JoeZMar
After the keyboard thread has convinced me to purchase a UHK I wanted to make one about the mouse. Switching to a programmable keyboard h...
New
AstonJ
macOS had always used your Account Name as your Username (Case-Preserving) but from around Catalina onwards it started downcasing usernam...
New
AstonJ
If you have any macOS tips or tricks, or a favourite way of using it, please share :icon_biggrin: For general chat about Macs, please us...
New
calebjosue
What sort of libraries are available to integrate LLMs into your Phoenix Web Framework applications? e.g. Mistral, since these guys have ...
New
dogweather
First, the downsides. I periodically fire the AI. :smiling_face_with_tear: ^^ This was earlier today in Cursor AI, working with “Clau...
New
sodapopcan
I get the impression that the Elixir community at large is using nvim, though it occurred to me that I don’t actually know this so I thou...
New
Nezteb
I frequently switch between ElixirLS, Lexical, and Next LS in order to test each out and compare/contrast. I decided to create a brief fe...
New
g33kidd
Just curious as to what everyone is using in terms of colors. I’m currently using Sublime Text 3 and using the GoldenDragon color scheme....
New

Other popular topics Top

sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
dotdotdotPaul
Okay, I'm having a heck of a time trying to figure out how to best handle the validation of belongs_to associations in Ecto. I'm sure I'...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 record...
New
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
polypush135
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
273 38985 115
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New

We're in Beta

About us Mission Statement