9 ms·
I Love Coding on Linux
- krisdol 6y agoSo I like coding in linux too. I absolutely prefer it over anything else; but, lately my ubuntu distro has not been able to wake up from suspend so I force a reboot when I get back to my computer after a prolonged break. And I was pretty intentional about not futzing around with X11 and third-party graphics with this distribution specifically to avoid this kind of thing happening and have a long-term Linux OS. I also recently got a bluetooth adapter and found out I simply cannot turn on bluetooth. When I was younger, I had more patience to hack around with things until they work exactly as I like, but I'm surprised that I'm still encountering issues like these in 2021 on a desktop-focused OS. I wish other OSes followed the unix philosophy more. I wish I could separate the windowing manager from the desktop in OS X, and have more extensive customization options over everything. It'd be nice if Windows had as nice of a filesystem organization story as any linux distro.
- Enginerrrd 6y agoHonestly, it's weird that Ubuntu has the reputation that it does. I still conceive of it as a "user-friendly" distro in the back of my mind, but my experience is that it constantly finds new and interesting ways to break. Compare that to Arch, which was a PITA to setup once, but since I have, I've had one minor thing break on an AUR package and that's it. But Arch has the reputation as the one that breaks on updates. My experience is definitely contrary to my conception of, and the reputation of these distros.
- shrimp_emoji 6y agoYeah. PPAs are such a user-unfriendly alternative to the AUR, which just has everything. Also, Ubuntu (with GNOME), Kubuntu, and Xubuntu (but not Lubuntu...) recently switched to some new crypto greeter (the thing you put your password into to unlock your encrypted drive at boot) which glitches out very badly. On every other boot, it flickers between its graphical facade and the underlying CLI prompt, and single keypresses are interpreted as multiple ones. Lubuntu, however, uses the same crypto greeter as Manjaro seems to, which still works. Also, a funny thing: my keyboard (a Code V3)'s Num/Caps Lock LED keys don't illuminate at all in any of the *buntus, though they do in Debian, Manjaro, and Arch (on both newer and older kernels than Ubuntu 20.04 currently uses). It's pretty disappointing. On the other hand, after around 2 years of using Manjaro without problems, kernel 5.10 got me recently. :D It has big problems. Same problems in Arch. But, unlike in Arch, a kernel rollback in Manjaro is an in-OS GUI and/or a GRUB selection away. Manjaro's been the sweet spot for me, and it looks like it'll continue to be. On the other hand², some software I recently had to build explicitly refuses to run on any unsupported *nix systems, and it doesn't support Arch or Arch-flavored distros. :c (Hence my recent adventures in Ubuntu.) So there's definite downsides to straying off of the Ubuntu-flavored Linux reservation, but Ubuntu's always been surprisingly buggy for me compared to Arch and Manjaro.
- wayneftw 6y agoSticking with an LTS/Recommended kernel has served me well in Manjaro. Currently I'm running 5.4.95-1. Last year I was running a 4.x kernel but I began having an issue with some piece of software (I forget) that, when I researched it found everybody recommending a switch to a 5.x kernel which fixed it immediately for me. Switching kernels indeed is extremely easy!
- shrimp_emoji 6y agoYep, rolling back to 5.4 saved me. :p Just watch out for 5.10. Happily, 5.11 seems okay, but it's still experimental. Sticking to the LTS is a great idea, though part of me wants to go "Well then why not just run Ubuntu?! ;w;", despite having some answers. (Funnily, Ubuntu 20.04 LTS actually updates from 5.4 to 5.8. Apparently, the Ubuntu LTS doesn't stick to the LTS kernel now! Unless it never really did.)
- shrimp_emoji 6y ago>Also, Ubuntu (with GNOME), Kubuntu, and Xubuntu (but not Lubuntu...) recently switched to some new crypto greeter (the thing you put your password into to unlock your encrypted drive at boot) which glitches out very badly. On every other boot, it flickers between its graphical facade and the underlying CLI prompt, and single keypresses are interpreted as multiple ones. Lubuntu, however, uses the same crypto greeter as Manjaro seems to, which still works. EDIT: it turns out that the falling back to the underlying CLI is the greeter's response to arrow key input (e.g., the up arrow key is "^[[A", which is multiple characters[0]). XD And, with Num Lock turned off, the numpad keys work as arrow keys. 0: https://unix.stackexchange.com/q/103608 https://unix.stackexchange.com/q/103608
- kitsunesoba 6y agoFor the bluetooth adapter, you might need a distro with a newer kernel. I recently put an Intel AX200 wifi+BT combo card in an old laptop and couldn't get it working in Debian 10, but it works perfectly out of the box with Pop!_OS 20.10.
- krisgenre 6y ago>>ubuntu distro has not been able to wake up from suspend Yes, this has been bugging me too. At work, I recently upgraded to a Dell Precision running Ubuntu 20.04 and this has been happening quite frequently (a bit less since a firmware upgrade). Strangely this was never an issue on my previous Dell Latitude running the same.
- BrS96bVxXBLzf5B 6y agoPossible avenue of investigation from my experience years ago, it was Light Locker. Across multiple installs.
- grifball 6y agoWhat laptop do you have? You may know this, but for anyone who doesn't: with Linux, you really have to choose the laptop model from a list. Here's a good list for Ubuntu: https://certification.ubuntu.com/desktop https://certification.ubuntu.com/desktop I've got two thinkpads that I've never had any real problems with. One is a 2-in-1 and the tablet mode is amazing with xournalpp (I've never owned an iPad so I can't compare). Bluetooth is always a little testy though. Lately, it's been getting a lot better, but if bt is a make-or-break feature, you might wanna try wsl or a VM. Also, remember to 'sudo apt upgrade'. It fixes a lot of random problems.
- deleted 6y ago[deleted]
- AnIdiotOnTheNet 6y ago> It'd be nice if Windows had as nice of a filesystem organization story as any linux distro. ...are you serious? There's a lot of words to describe the Linux filesystem organization and 'nice' is definitely not one of them. Windows file hierarchy has some problems to be sure, but at least it doesn't scatter every application's files all over the hierarchy and require a specialized tool and database to track which ones belong to which applications.
- cycloptic 6y agoIt's popular for Linux distributions to have a scattered hierarchy with a package manager, but it certainly isn't a requirement. Take a look at AppImages.
- AnIdiotOnTheNet 6y agoAppImages are pretty great, when they actually exist for your applications. It is exceptionally disingenuous, however, to suggest that the existence of some AppImages invalidates the file hierarchy organization problems of any distro. You might have been better to point out the existence of GoboLinux, but that is but one not very popular distro among many.
- cycloptic 6y agoPlease do not baselessly accuse me of being "disingenuous," I'm trying to help you. If you won't use GoboLinux or ask packagers to make AppImages for the apps you want then I don't know what to say, those are solutions to your problem. If you're saying you want all other distributions to be like GoboLinux, I doubt that would happen because that comes with its own set of other problems. Edit: You can do some pretty interesting things here with Nix/Guix too although that still requires a package manager. The reason I said AppImages is because that's currently the best method that doesn't require any package manager at all.
- AnIdiotOnTheNet 6y ago
- oli5679 6y agoI bought a laptop with Ubuntu preinstalled and had an amazing experience for the first month. Then one day the computer would no longer boot. I had to manually tinker to revert to older version and it booted again, but now 50% time microphone didn't work. Then one day I installed mysql, and had to do some crazy brute force experimentation to be able to run a local copy of our db. I accept it's possible the hardware vendor messed up the setup, and someone with greater skills than me could have worked around these issues more productively whilst benefitting from greater flexibility and customisation in other areas. I will stick to MacBooks from now onwards. I don't have the time to deal with all this hassle.
- pmontra 6y agoWho's the manufacturer?
- oli5679 6y agoDell
- AzzieElbab 6y agoAt some point I had similar issues with every windows machine I ever used :) Macs do benefit a lot from single vendor for software and hardware
- ur-whale 6y agoYou just described my daily experience with OSX until I decided to toss it and switch to Linux. Never going back.
- bengale 6y agoI have found it to be somewhat awkward too. I’ve been using a headless Linux server under my desk recently and using remote vscode and shh to interact with it from macOS. Just the other day though the wifi just stopped working, nothing I did could bring it back. Until the fifth restart, still no idea why that happened. Sometimes it won’t boot, gets stuck in the boot sequence and I have to reboot a handful of times until it straightens itself out. I just don’t get these issues with macOS. But sadly the specification of machine I’m running Linux on costs 1/3rd of what I’d pay for a similar Mac Pro, so for now I’ll have to live with it.
- dm319 6y agoI also started on Linux without knowing how to program, but simply having that accessibility and ability meant that I had the option of quicker ways for doing batch things. I would agree with the author that Linux can be a gateway to programming.
- cf100clunk 6y agoI think the author wasn't discussing types of individual use cases like hardware or Ubuntu problems, but if Coding On Linux is unfortunately synonymous with such issues I can see how some might be put off.
- GuB-42 6y agoI also love coding on Linux, but there are shortcomings. Not enough to make me prefer Windows, but enough to make me wish for something better. Generally, Windows has better GUI-based tools. The big one being debuggers, I really miss debugging in Visual Studio (C++). But more generally, Windows tends to have a better selection of IDEs, database editors, version control GUIs, etc... I love command lines and text editors, maybe that's the reason why I prefer Linux, but sometimes, GUIs are useful. I don't know how the experience on OSX is. It never struck me as a particularly developer friendly platform but I may be wrong. It has a proper Unix shell, so it shouldn't be that bad.
- ur-whale 6y agoOSX is still miles behind windows when it comes to debugging. I dislike windows with a passion (having had to code on it for ~5 years was torture), but I'm with you: debugging with Visual Studio was the best I've ever had (and I've coded on OSX, Windows, Linux, and other stranger things).
- mamcx 6y agoAnd yet Visual Studio is weak against Delphi and both weak against Visual FoxPro. No mainstream debugger today is good with visualization of data structures (still you see 0xf... everywhere) and much less if have more than 10 entries. With Fox I was able to debug the whole database visually!
- pjmlp 6y agoUse the right tool, SQL Server Management Studio.
- mamcx 6y agoOh, Fox is not like a half-crippled* rdbms of late. The "database" is the whole program! (forms, menus, the database itself, etc) * in the sense that RDBMS are relegated to data storage, when in the case of fox was open to make full apps
- markyc 6y agoBeen coding on ubuntu for the last 10 years and just moved to m1 air. I miss gnome but not much else, and definitely not tweaking everything from the console by using obscure commands found on google I love the macos "just works" mantra and while i'm still getting adjusted to it and there are definitely some quirks I don't like, I think I'm being more productive on mac for just not needing to mess with random things breaking when ubuntu gets updated
- pjmlp 6y agoSure if everything that one cares about are POSIX CLI applications and daemons.
- Blikkentrekker 6y agoNone of this has anything to do with Linux and could better be phrased as “a Unixlike environment”. Better yet, it could be phrased as “I like using the command shell and it's many utilities.”, for even non-Unixlike environments have such shells and utilities, from what I head.
- bezout 6y agoNowadays, I mainly run Linux in a VM - being it WSL2 on Windows, or a plain old Ubuntu VM on macOS. I do so because of the Linux ecosystem, not the operating system. For instance, the package managers are way better than anything that macOS and Windows currently offer, and Docker is nice for local development. I really don’t care about the operating system itself. I just need a nice UNIX-like experience, and Linux seems to offer the best one.
- quijoteuniv 6y agoNot the best article for Linux lovers but probably good for people that have very little idea about linux. I recently had to edit a lot of videos. With a couple of scripts in bash using FFMPEG I did a ton of work, denoise, watermark, add a titles according to the file name, trim. All this could have been done in OSx or windows but the «common» users of those OS have little contact with the command line.
- ofrzeta 6y agoThat article is really weak as are most articles on opensource.com (some kind of content marketing site of Red Hat). I recount the following points as someone who has worked with Linux for many years and is using it on the Desktop as well as on servers at work but (or thus) has not lost his sense for reality: - the point of "automation" applies to all Unix-like systems. You probably could do the same with Powershell and pdftk for Windows. - Code connections: I don't even know what this is about. - Existing code: same same, but I guess there's indeed more open source / free software for Linux/Unix systems than Windows. - Direct access to peripherals: You might have access to /dev/video0 but that doesn't relieve you from the intricacies in working with that device. Take a look at https://www.kernel.org/doc/html/v4.9/media/uapi/v4l/capture.c.html https://www.kernel.org/doc/html/v4.9/media/uapi/v4l/capture.... to see if that's such a nice API. Also take a look at this to see if the API on macOS is so much worse: https://developer.apple.com/documentation/avfoundation/cameras_and_media_capture/avcam_building_a_camera_app https://developer.apple.com/documentation/avfoundation/camer... - Abstraction layers: the "conveniences" in Qt and Java obviously are not very Linux-specific. "Whole stacks" like Pipewire are work in progress while the multiverse of Jack, Pulseaudio and Alsa makes every programmer wonder what's the proper framework to use. EDIT: I think Linux is a great platform for programming internet services in a modern Unix (containers, userspace networking, epoll, sendfile, AIO, async_tx, ...) way but that's not in the article.
- ryanklee 6y agoThere's rampant *NIX provincialism out there that's blind to the reality that Windows is basically on par (and even innovative) as a dev environment. Just another form of self-serving elitism.
- pengaru 6y agoI too love coding on linux, and have been doing so exclusively since the 90s. But I must admit there's quite a hill to climb before you're sufficiently steeped in this environment to feel like it's a welcoming home. And it's not perfect, but nothing is. Just the other day I wanted to burn someone at the stake after wasting an hour rediscovering Debian broke /etc/vim/vimrc.local overrides of defaults.vim for users lacking a ~/.vimrc, while simultaneously making defaults.vim enable the absolute worst mouse settings anyone using vim for decades could ever be forced to use in an xterm. But that's also an indication of how exceptional it has become for my GNU/Linux boxes to not behave precisely as I want and expect at all times. One little thing like that and it feels like the world has been turned upside down. When you develop on and for a Libre OS like this long enough, it becomes part yours. I live in my own window manager, hacking mostly on my own projects, in an operating system running system code I've contributed to both professionally and personally. Whether that's a good or a bad thing, I'm really not sure. But it certainly facilitates a unique and strong relationship with the machine.
- wrinklz 6y agoLove the choice of window managers and desktop environments in GNU/Linux. I love i3wm and XFCE. I fully utilize my screen(s) real estate (automatically), and everything I need is at my fingertips.
- ostenning 6y agoI spent the last few years using Arch for development. Meh. There’s a lot of over zealous Linux people that defend it rigorously, and while generally things do work pretty well, the devil is always in the details. I just switched back to macOS, downgrading to an old dual core 2015 mbp which runs overall better than my T480 with 32GB of RAM. Don’t get me wrong, I wanted to love it, and I believe in the project, but I’ll check back when there’s a DE that can actually scale its GUI properly and when Bluetooth and Spotify don't make my T480 quadcore processor lag.
- Toutouxc 6y agoMy programming-related usage was four years on Mac, then two years on Linux (a quad core Dell) and now I'm back on a M1 Mac. I believe that there are people who have their Linux boxes configured just right with carefully crafted dotfiles and custom tiling DEs and whatnot, but it's usually people who do coding or writing or some other single thing. You don't hear often about people who would use their 12-month-uptime-no-crashes-whatsoever machines for coding for a living, a bit of gaming on the side, some hobby-level photography stuff, maybe a bit of music production, and all of that without a single issue.
- Shadonototro 6y agoi love linux for everything except for: - gamedev - gaming - audio - video editing anything multimedia, linux (for me) only good for terminal based tasks, everything else lags behind competition, even macOS is better suited nowadays