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

mveytsman
If you use vim, upgrade alchemist.vim to 2.8.0 as soon as possible!! There’s a bug that allows any website to take over your computer. ...
New
xiaoqiang
These past few days, I’ve tried switching from Neovim to Helix, and so far the experience has been great. Compared to neovim, which requi...
New
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
AstonJ
Welcome to our thread for Mac users :smiley: Windows users please use this thread Linux users please use this thread For those who dis...
New
sodapopcan
I just placed on an order for my first mechanical watch since I last wore one in my mid 20s which was… oh boy, technically decadeS ago (t...
New
SyntaxSorcerer
I found Elixir after a friend recommended looking into it for developing a multi-agent orchestration and task management system. Soon aft...
New
borag
I shared an Elixir Architect skill for Claude Code which proves that Elixir is the best LLM friendly language (@josevalim ) https://git...
New
evnp
How do you all feel about the use of AI tools for building Elixir/Phoenix projects, with respect to these topics? Longform context below....
New
SpaceVim
I am author of SpaceVim, As you know SpaceVim is a vim config which provide layer feature. I want to improve the elixir layer in Space...
New
bitboxer
In the last couple of months I only played a little bit with elixir, haven’t had much time to actually build something with it. But now t...
New

Other popular topics Top

William
I would like to know that is there any online source for learning Phoenix Framework for building E-Commerce Store? Any advantage on build...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set? Thanks.
New
chrismccord
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? https://hexdocs.pm/ecto/Ecto.Repo.h...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
AstonJ
by Lance Halvorsen Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web application...
460 27162 124
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New

We're in Beta

About us Mission Statement