Live data from Hacker News

I Love Coding on Linux

opensource.com

41–50 of 86 posts

Re: I Love Coding on Linux

#41

Earlier quoted context omitted.

Please 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 in…

> Please do not baselessly accuse me of being "disingenuous," I'm trying to help you. Help me with what exactly? Am I in need of saving for my denial of The One True UNIX Way? > 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. There are lots of reasons I don't use GoboLinux, not the least of which is that I don't th…

I haven't "pretended otherwise" or evangelized anything, please don't make these accusations at me. I can only offer you suggestions on what to do, I'm not going to argue about what the "right" way to do is as that's simply not interesting to me. The vast majority of Linux distributions may not do things the "right" way but they also support AppImages, so use that to your advantage. If you had no success in getting upstream to make AppImages then you'll have to make them yourself. It seems that's what a lot of flatpak and snap packagers ended up doing, just my observation.

To put this another way: We can sit here making the same complaints about Ubuntu and RHEL that have been made for decades, but what's the point? Let's do something about it. And if that doing something means we turn the whole system into AppImages, then... what else would you really want? It sounds like your problem would then be solved.

Re: I Love Coding on Linux

#42

Earlier quoted context omitted.

What do you refer, specifically? Based on "application's files all over the hierarchy" it seems you talk about configuration files (data files can be spread all over, in any operating system; binaries in Linux reside in a few directories (/opt and /usr)). If you refer to gconf/dconf, AFAIK they require a specialized tool but they're not scattered (you interact through the tool, after all, so they're centralized). Pos…

> binaries in Linux reside in a few directories (/opt and /usr)). and .local/bin and $HOME/bin and $that_path_where_python_and_ruby_put_stuff and let's not forget that one executable which is in /usr/lib/name_of_the_app for some reason...

There's no limit to where applications can put their files, and this applies to any operating system, so complaining about, say, version managers has nothing to do with a given operating system.

If you take Windows, you're going to have %USERPROFILE%.pyenv for example, when it comes to Python (pyenv).

It's unlikely, but not impossible, that a binary ends under /usr/lib, since it wouldn't be in $PATH. If it's there, it's likely invoked via a script somewhere, and this is not good practice, and again, not inherently Linux.

$HOME/.local/bin is not good practice, for the same reason (not being in the standard $PATH).

$HOME/bin seems actually a good place for placing user-specific binaries, since there must be one place for them, and I think it's a proper place.

Re: I Love Coding on Linux

#43

Earlier quoted context omitted.

> Please do not baselessly accuse me of being "disingenuous," I'm trying to help you. Help me with what exactly? Am I in need of saving for my denial of The One True UNIX Way? > 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. There are lots of reasons I don't use GoboLinux, not the least of which is that I don't th…

I haven't "pretended otherwise" or evangelized anything, please don't make these accusations at me. I can only offer you suggestions on what to do, I'm not going to argue about what the "right" way to do is as that's simply not interesting to me. The vast majority of Linux distributions may not do things the "right" way but they also support AppImages, so use that to your advantage. If you had no success in getting u…

> I can only offer you suggestions on what to do,

Why are you doing that? I clearly neither asked for, nor want your suggestions! That's why you come off as an evangelist.

Re: I Love Coding on Linux

#44
post #7

I 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 edito…

OSX 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).

And 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!

Re: I Love Coding on Linux

#45
post #7

I 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 edito…

OSX 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).

Visual Studio Code has an excellent visual debugger for Go. I'm certain it's the same experience for C/C++.

Re: I Love Coding on Linux

#46
post #2

So 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…

Honestly, 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.…

Yeah. 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.

Re: I Love Coding on Linux

#47
post #7

I 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 edito…

macOS (or OS X) appeared quite developer-friendly to me. Xcode had a nice debugger that worked locally as well as remotely on a phone. Also you could use the IDE and commandline tools that were fairly well integrated.

Re: I Love Coding on Linux

#48
post #25

Earlier quoted context omitted.

If Windows is a good GUI, how do I reliably swap caps lock and control?

Assuming you really want to know, try SharpKeys.

https://sharpkeys.en.softonic.com/ looks so scammy, and I have ublock turned on... I can only imagine how it must look without that. I'm sure it's fine but why do all windows tool s always get hosted on the most scam looking websites?

When I'm stuck on windows I use https://docs.microsoft.com/en-us/sysinternals/downloads/ctrl...

Of course adding setxkbmap -option ctrl:nocaps to ~/.xinitrc seems way easier to me. But I'm probably in the minority.

Re: I Love Coding on Linux

#49

Earlier quoted context omitted.

I haven't "pretended otherwise" or evangelized anything, please don't make these accusations at me. I can only offer you suggestions on what to do, I'm not going to argue about what the "right" way to do is as that's simply not interesting to me. The vast majority of Linux distributions may not do things the "right" way but they also support AppImages, so use that to your advantage. If you had no success in getting u…

> I can only offer you suggestions on what to do, Why are you doing that? I clearly neither asked for, nor want your suggestions! That's why you come off as an evangelist.

It seems like you were having trouble with your Linux filesystem so I'm offering solutions that I've seen or heard of. Is there something else I can offer that would work better for you, or am I misunderstanding what the complaint is?

Edit: If you weren't asking for help with this that's fine, however some other interested reader may want to hear the suggestions. Feel free to ignore me.

Re: I Love Coding on Linux

#50
post #25
post #7

I 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 edito…

If Windows is a good GUI, how do I reliably swap caps lock and control?

AutoHotkey seems to work for me
Post reply on HN