I'm gaslighting them for the greater good

18 days ago by tomatoely to c/linuxmemes

Skullgrid 76 points 18 days ago

What about setting up a new environment correctly instead?

Says the man that just copied and pasted, then checked in 800mb of shitty angular dependencies just to get Jenkins to be able to build his inherited project.

It's ok, they don't pay me enough to support a family and don't give a shit about this project, and it's for internal use.

path: 0 25993965, hotness: undefined, score: 76, children: 27
panda_abyss 78 points 18 days ago

That’s so stupid.

downloads and runs entire Linux distro just to run a python script without managing dependencies

path: 0 25993965 25994442, hotness: undefined, score: 78, children: 24
Skullgrid 9 points 18 days ago

.... virtual environments?

path: 0 25993965 25994442 25994485, hotness: undefined, score: 9, children: 23
panda_abyss 32 points 18 days ago

Docker

path: 0 25993965 25994442 25994485 25994545, hotness: undefined, score: 32, children: 22
Skullgrid 6 points 18 days ago

ok sure. but FYI, venv is basically the same thing if it's python based.

path: 0 25993965 25994442 25994485 25994545 25994763, hotness: undefined, score: 6, children: 20
x0x7 1 point 17 days ago

Docker took off because Ubuntu can't run current software. Now you need multiple copies of an up to date Linux visualized just to keep it interacting with old software on a base system we insist we need.

If all your docker images prove that an up to date Linux can run, then why not just make the main system up to date and you won't need docker as much.

path: 0 25993965 25994442 25994485 25994545 26003179, hotness: undefined, score: 1, children: 0
corsicanguppy 9 points 18 days ago

Jenkins

This is where I spat my tea: not because jenkins is super old but because I still have residual PTSD from using it.

My sympathies.

path: 0 25993965 25996032, hotness: undefined, score: 9, children: 1
Skullgrid 4 points 18 days ago

not because jenkins is super old

I mean, I just updated the wallpaper on that machine to be Ask Jeeves for maximum millennial retro points for when I use it and can tell at a glance which stupid VM I am looking at.

path: 0 25993965 25996032 25996894, hotness: undefined, score: 4, children: 0
juipeltje 35 points 18 days ago

Meanwhile as a guix+nix user i can just build it against that old library version because nothing can conflict with each other anyway

path: 0 25995225, hotness: undefined, score: 35, children: 23
tomatoely 20 points 18 days ago

Yea but wheres the fun in that

path: 0 25995225 25995544, hotness: undefined, score: 20, children: 0
SigHunter 8 points 18 days ago

As a Gentoo user, I can relate ;-)

path: 0 25995225 25995840, hotness: undefined, score: 8, children: 4
fleck 1 point 17 days ago

How does Gentoo deal with this? Just curious, I'm looking to try it this weekend

path: 0 25995225 25995840 26012940, hotness: undefined, score: 1, children: 3
SigHunter 1 point 17 days ago

well, for one, Gentoo builds it's packages from source when you install them, so you don't need a binary that targets your specific version of libraries because it was built with those library versions from that point in time. like with other distros, you have to choose the el9, el10, fc44, fc45 version or the one for "noble", "forky", "bookworm" or "trixie". on Gentoo, the application you install get's linked to the library version you have installed. (simplified)

for the second part, the "conflict with each other", Gentoo doesn't do it like NIX, where you have those unique paths like "/nix/store/ggl4fqsvvlyf1y3rl6mk72nf0dc8c8hr-system-path/bin/bash". but some packages (but not all) have "slots" that you can install in parallel. (e.g. rust, python, gentoo-kernel, wine, lua, ...)

usually the actual binary of those packages is named like the version, e.g. /usr/bin/python3.14 and /usr/bin/python (which is the thing that actually gets used via PATH) is a symlink that you can switch with Gentoo tooling (eselect). another way it is done is: packages you install come preset with what dependency version they like to use and that version gets installed along the already installed version, if necessary. (e.g. they set RUST_MIN_VER="1.98.0" or PYTHON_SINGLE_TARGET="python3_12")

when a dependency gets updated, sometimes the application also needs to get rebuilt to that updated library version. it happens automatically on dist-upgrade (@world update)

path: 0 25995225 25995840 26012940 26014544, hotness: undefined, score: 1, children: 2
fleck 1 point 16 days ago

thank you, that makes sense. have you used nix/nixOS before? I am currently using it and considering to switch (maybe to gentoo ^^)

path: 0 25995225 25995840 26012940 26014544 26021165, hotness: undefined, score: 1, children: 1
defaultusername 2 points 18 days ago

You use both Guix and Nix on the same system?

path: 0 25995225 25999879, hotness: undefined, score: 2, children: 1
juipeltje 5 points 17 days ago

Well i use guix as a full OS but i still have nix installed as well for some packages that aren't in guix

path: 0 25995225 25999879 26003155, hotness: undefined, score: 5, children: 0
Skullgrid 1 point 18 days ago

can you teach me how to make a config file that only has lxqt? I tried the thing below replacing XFCE with LXQT and failed loads, I'm tired of wasting gigs and hours trying to make it work when I'm sleepy.

spoiler
;; This is an operating system configuration generated
;; by the graphical installer.
;;
;; Once installation is complete, you can learn and modify
;; this file to tweak the system configuration, and pass it
;; to the 'guix system reconfigure' command to effect your
;; changes.


;; Indicate which modules to import to access the variables
;; used in this configuration.
(use-modules (gnu))
(use-service-modules cups desktop networking ssh xorg wm)

(operating-system
  (locale "en_GB.utf8")
  (timezone "America/place")
  (keyboard-layout (keyboard-layout "gb"))
  (host-name "pc")

  ;; The list of user accounts ('root' is implicit).
  (users (cons* (user-account
                  (name "name")
                  (comment "name")
                  (group "users")
                  (home-directory "/home/name")
                  (supplementary-groups '("wheel" "netdev" "audio" "video")))
                %base-user-accounts))

  ;; Packages installed system-wide.  Users can also install packages
  ;; under their own account: use 'guix search KEYWORD' to search
  ;; for packages and 'guix install PACKAGE' to install a package.
  (packages (append (list
                          (specification->package "xterm")) %base-packages))

  ;; Below is the list of system services.  To search for available
  ;; services, run 'guix system search KEYWORD' in a terminal.
  (services
   (append (list (service xfce-desktop-service-type) ;; I replaced this with  lxqt-desktop-service-type and it didn't "start" the DE properly when I logged in, I just got a blank screen, or worse, it failed to install properly with different "rest of the file"

                 ;; To configure OpenSSH, pass an 'openssh-configuration'
                 ;; record as a second argument to 'service' below.
                 (service openssh-service-type)
                 (set-xorg-configuration
                  (xorg-configuration (keyboard-layout keyboard-layout))))

           ;; This is the default list of services we
           ;; are appending to.
           %desktop-services))
  (bootloader (bootloader-configuration
                (bootloader grub-bootloader)
                (targets (list "/dev/vda"))
                (keyboard-layout keyboard-layout)))
  (swap-devices (list (swap-space
                        (target (uuid
                                 "666id")))))

  ;; The list of file systems that get "mounted".  The unique
  ;; file system identifiers there ("UUIDs") can be obtained
  ;; by running 'blkid' in a terminal.
  (file-systems (cons* (file-system
                         (mount-point "/")
                         (device (uuid
                                  "666id"
                                  'ext4))
                         (type "ext4")) %base-file-systems)))

This is just to run in a VM in Virtual Machine Manager

path: 0 25995225 25997735, hotness: undefined, score: 1, children: 14
juipeltje 1 point 17 days ago

What error are you getting? Does it reconfigure succesfully?

path: 0 25995225 25997735 26004695, hotness: undefined, score: 1, children: 13
Skullgrid 1 point 17 days ago

If it does reconfigure successfully, it just gives a blank screen, or takes me to the terminal login prompt instead of a GUI login prompt.

I tried other things and it fails after hours of downloading packages and building. Does it seem right to you? What do you think I might be missing?

path: 0 25995225 25997735 26004695 26011567, hotness: undefined, score: 1, children: 12
MaskedNybbles 1 point 17 days ago
path: 0 25995225 25997735 26004695 26011567 26011853, hotness: undefined, score: 1, children: 2
juipeltje 1 point 17 days ago

Well from a glance the config looks fine. I looked at the documentation but there's not a lot of information on what the lxqt service actually includes. My first guess as to why it drops you to a tty is that perhaps it doesn't include a display manager.

Edit: actually nevermind, you're appending to %desktop-services and i'm pretty sure that includes gdm. Maybe the problem lies in gdm trying to use wayland by default. There's an option to change that, i'll see if i can find it.

path: 0 25995225 25997735 26004695 26011567 26012648, hotness: undefined, score: 1, children: 8
morto 24 points 18 days ago

I remember when games would't work with wine, complaining about some dll, I would get it from some random shady site and drop into the wine system dir. Some of the times, it worked, to even my own surprise

path: 0 25997547, hotness: undefined, score: 24, children: 3
terranoid 36 points 18 days ago

"DLL finder", holy shit I remember tools like that... God, now that I know how shared libraries work, that's kinda terrifying people just saw that error message and downloaded whatever the fuck they found whereever they found it...

Must be how some malware spread.

path: 0 25997547 25997605, hotness: undefined, score: 36, children: 2
morto 14 points 17 days ago path: 0 25997547 25997605 26000420, hotness: undefined, score: 14, children: 0
DonkeyStar 10 points 17 days ago

Look, man, I gotta play Sim Theme Park. If everything else blows up, that’s a problem for later.

path: 0 25997547 25997605 26001097, hotness: undefined, score: 10, children: 0
rumba 16 points 17 days ago

path: 0 26011235, hotness: undefined, score: 16, children: 0
palordrolap 15 points 18 days ago

In my experience, this works about 25% of the time and is cause for extreme nervousness about what will happen if it tries to call a function that isn't actually present in the version it has been fooled into accepting.

It's never actually formatted my entire system even when it's gotten me a little further, perhaps to a different sort of crash, but that fear is always there.

path: 0 25995379, hotness: undefined, score: 15, children: 0
pewpew 12 points 17 days ago

Apparently sometimes you have to remove symlinks to make programs load. I had a very weird bug that made a library fail to load even if the symlink was good. I wrote a bug report to bugs.debian.org and they told me to remove the symlink. That fixed it, wtf

path: 0 26013149, hotness: undefined, score: 12, children: 1
Trigger2_2000 8 points 17 days ago

Patient: Doctor, it hurts when I move my arm this way.

Doctor: Well, don't move your arm that way then.

path: 0 26013149 26013538, hotness: undefined, score: 8, children: 0
RustyNova 10 points 17 days ago

Daily nixos behaviour

path: 0 26003578, hotness: undefined, score: 10, children: 0
mlg 8 points 18 days ago

The most junk hack I ever did (that somehow worked) was replacing a Tensorflow 1.x library set with the Tensorflow 2.x library set and keeping the original 1.x symlink so that the software using it would think it's still the 1.x. .so file lol.

I presume the API had some deprecated fallback for poorly migrated software, which is why it worked without complaints.

Also bazel is by far the worst build system I have ever used.

path: 0 25997112, hotness: undefined, score: 8, children: 2
dan 9 points 18 days ago

COM solved all this stuff over 30 years ago. When you're making breaking changes to an interface, you create a new one while still keeping the old one around (at least for a while). Both interfaces are shipped with the same DLL. Software written for the old interface continues to work, while newer software can take advantage of the extra features in the new interface.

You can do something kinda similar in Linux with sonames, like libfoo.so.1, libfoo.so.2, etc. but there's still a bunch of use cases where you need to use LD_LIBRARY_PATH, and they're entirely separate libraries vs the COM approach where both interfaces are in a single library.

Modern software keeps poorly reinventing the same concept. Software like Home Assistant has breaking changes between releases because they don't have a consistent interface.

path: 0 25997112 25997598, hotness: undefined, score: 9, children: 1
nroth 1 point 17 days ago

COM was cool and a good idea

path: 0 25997112 25997598 26008561, hotness: undefined, score: 1, children: 0
megopie 8 points 17 days ago

CKAN (mod manager for kerbal space program) created a multi month long battle for me because it started making copies of the original game for mod installs with symlinks to the original game files rather than just copying it outright, this made it impossible to boot certain mods because part of their first time set up was overriding files. Eventually I realized what the problem was and just manually copied the files in to the folder before loading up the mods for the first time.

WHICH IS INFURIATING! The whole reason I made new game installs was so that shit could be overwritten without breaking the base instal! WHY THEY HELL WOULD IT DEFAULT TO SYMLINKS FOR THAT?

path: 0 26009430, hotness: undefined, score: 8, children: 0
BCsven 6 points 18 days ago

Its like the Gnome extension not available for your version, so you just edit the file to have your version in its list. Usually works

path: 0 25995956, hotness: undefined, score: 6, children: 0
AliasVortex 5 points 18 days ago

Me injecting the makemkv libraries into handbrake/ vlc

path: 0 25997708, hotness: undefined, score: 5, children: 1
nroth 1 point 17 days ago

Yeah, see, on Arch that just works

path: 0 25997708 26008532, hotness: undefined, score: 1, children: 0
avocado 5 points 17 days ago

Guys do not do this, it's gonna cause a mess further down the line.

"The problem with creating these links is that they aren't managed in any meaningful way. If that library is removed, the link becomes broken. If the library is upgraded, it may encounter an error because of the link that it doesn't expect to be there."

https://askubuntu.com/...

path: 0 26008645, hotness: undefined, score: 5, children: 3
angband 2 points 16 days ago

It is most commonly used to get an older archived program to load a newer library without recompiling the older program, so none of those objections apply, or are serious, because a dangling symlink (when the os moves to a newer library version) just keeps the one program from loading, reproducing (in a way) the error the symlink was introduced to fix.

The user can typically fix the same exact problem in that case. Honestly, those objections read like that meme, "No, not that way!"

path: 0 26008645 26026334, hotness: undefined, score: 2, children: 0
Skullgrid 2 points 14 days ago

“The problem with creating these links is that they aren’t managed in any meaningful way. If that library is removed, the link becomes broken. If the library is upgraded, it may encounter an error because of the link that it doesn’t expect to be there.”

If anyone is forwarding shit the way OP is, I'm pretty sure this is a "move the earth to hack this shit to work right now" action instead of "here are the foundations of my best practice based system"

path: 0 26008645 26049433, hotness: undefined, score: 2, children: 0
glibg10b 1 point 16 days ago

I think they meant creating the symlink in a local directory and using LD_PRELOAD

path: 0 26008645 26022925, hotness: undefined, score: 1, children: 0
jkercher 4 points 17 days ago

Reminds me of when I abused LD_LIBRARY_PATH and installed a Linux from scratch distro on a headless test server that no one was using. I got it all the way to x11 forwarding a full i3 environment without super user privileges.

path: 0 26012010, hotness: undefined, score: 4, children: 0
MonkderVierte 4 points 17 days ago

Why do we even need dynamic linking if we have deduplicating file systems?

path: 0 26007573, hotness: undefined, score: 4, children: 1
thedeadwalking4242 2 points 17 days ago

We don't, blame Oracle it's their fault

path: 0 26007573 26012939, hotness: undefined, score: 2, children: 0
jpreston2005 3 points 17 days ago

As a lay-person, reading these memes and comments, and understanding nothing, is probably the biggest factor that's made me decide that, while I hate windows, I'll never feel comfortable using Linux. I mean, seriously, how much of the time are you frustratingly troubleshooting stuff? I just want something like Windows that won't shove ads and ai bullshit at me and won't brick my laptop after updates 😭

path: 0 26012478, hotness: undefined, score: 3, children: 19
Damage 11 points 16 days ago

Let's just say that Linux invites tinkering, and there are consequences. If you install a mainstream (fedora), reliable (fedora) distro, and just do normal stuff, it's unlikely you'll encounter more issues than Windows. Or even a tenth of the issues.

path: 0 26012478 26022809, hotness: undefined, score: 11, children: 9
glibg10b 4 points 16 days ago

For me, the difference between Windows and Linux is that when I encounter a weird issue on Windows, I might decide to give up, while on Linux, I can always dig deeper if I have enough time

path: 0 26012478 26022809 26022917, hotness: undefined, score: 4, children: 1
Damage 3 points 16 days ago

I have a pair of old-ish but expensive Sony bluetooth over-the-ear headphones. On Windows, their microphone doesn't work. I've searched the web and apparently, that's just it, nothing I can do.

path: 0 26012478 26022809 26022917 26024505, hotness: undefined, score: 3, children: 0
MrSoup 1 point 16 days ago

Fedora without codecs? That's the reason I don't suggest it to normal users.

path: 0 26012478 26022809 26033412, hotness: undefined, score: 1, children: 6
Damage 1 point 15 days ago

Oh no, they have to run sudo dnf group install multimedia once in the terminal!

path: 0 26012478 26022809 26033412 26037886, hotness: undefined, score: 1, children: 5
MrSoup 1 point 15 days ago

And add RPM Fusion. Which could give errors when updating to a new major release.

path: 0 26012478 26022809 26033412 26037886 26040906, hotness: undefined, score: 1, children: 4
tomatoely 6 points 17 days ago

If it makes you feel any better, everytime I had to do this was because I was going out of my way to fix a linux game I compiled myself or some service I hacked together. I'm 99% sure you can have a hassle-free linux desktop experience if you follow the standard way your distro suggests of doing things. Have you tried testing the waters with a linux live usb stick yet?

path: 0 26012478 26013198, hotness: undefined, score: 6, children: 1
jpreston2005 4 points 17 days ago

Oh I haven't tried anything yet. I'm too scared I'll fuck it up 😅 Anything that has me loading boot screen and entering commands has me thinking I'll just absent mindedly type "delete system/32" somehow

path: 0 26012478 26013198 26015612, hotness: undefined, score: 4, children: 0
Goodlucksil 4 points 17 days ago

I use Linux Mint since last June and I rarely have to troubleshoot my PC and when I have to, it's obviously my fault for messing around.

path: 0 26012478 26015179, hotness: undefined, score: 4, children: 0
savvywolf 4 points 16 days ago

To flip that on it's head, if you do have computer issues, would you rather get help from someone who laughs at these silly memes or a huge ai powered bureaucracy that prioritises upselling and closing tickets?

path: 0 26012478 26022973, hotness: undefined, score: 4, children: 0
Anarki_ 3 points 17 days ago

Fedora, I think?

path: 0 26012478 26012754, hotness: undefined, score: 3, children: 0
edryd 2 points 16 days ago

I have been using Linux for 15 years and have never had to do this. As long as you choose a mature, stable distro (not arch or the newest fad) you will have a much easier time.

path: 0 26012478 26033737, hotness: undefined, score: 2, children: 2
jpreston2005 1 point 15 days ago

what's the most mature, stable distro there is? One wherein I can stream and download torrents?

path: 0 26012478 26033737 26045262, hotness: undefined, score: 1, children: 1
edryd 2 points 10 days ago

Debian or Fedora are the most popular and therefore your safest and easiest options. Debian is slightly more common and therefore most tutorials and guides will be for Debian if they only have documentation for one distribution. Debian is also slightly more stable than Fedora since the packages are older and better tested, but I have never had a problem with Fedora breaking.

If you want to have the latest version of new software faster go with Fedora, if you want the easiest mainstream experience (the path of least resistance) go with Debian. But don't overthink, both are great options you can't go wrong with as long as you don't fall down the rabbit hole of endless customization.

path: 0 26012478 26033737 26045262 26131019, hotness: undefined, score: 2, children: 0
cute_noker 2 points 17 days ago

Haha me neither... i have been daily driving linux 7 years now

path: 0 26012478 26013857, hotness: undefined, score: 2, children: 0
Solrac 3 points 17 days ago

What in ln - s good name are you suggesting. Any and all uses of ln - s /usr/lib/something.so.7 /usr/lib/something.so.6 is merely accidental!

path: 0 26009968, hotness: undefined, score: 3, children: 0
x0x7 0 points 17 days ago

Ubuntu problems. Just use Arch. Then all of your software is from the same era... aka current.

path: 0 26003127, hotness: undefined, score: 0, children: 6
iocase 2 points 17 days ago

I dont have this problem on Ubuntu somehow (yet?) Why does it happen to people?

path: 0 26003127 26003538, hotness: undefined, score: 2, children: 3
pupbiru 1 point 17 days ago

unlikely if you install from official repos, but it’s a more common occurrence installing random debs or curl totallylegit.ru | bash…. or… installing from rpms :p (which if something only ships via rpm is likely to be enterprise and targeting RHEL rather than fedora, so super old and a non-trivial chance of random patches to libraries)

path: 0 26003127 26003538 26003952, hotness: undefined, score: 1, children: 1
iocase 1 point 17 days ago

Oh that makes sense. I think my instinct would be trying to get something like that running in a container personally. I dont like globally fucking with dependancies to solve one issue locally

path: 0 26003127 26003538 26003952 26004023, hotness: undefined, score: 1, children: 0
Sxan 0 points 17 days ago

Lots of software isn't "officially" available for Debian derivatives so þere's more need for side-loading. You may not have encountered it because you haven't yet come across some software you'd like to use which isn't available in an official repos.

path: 0 26003127 26003538 26007314, hotness: undefined, score: 0, children: 0
MonkderVierte 1 point 17 days ago

Also happens on Arch.

path: 0 26003127 26007884, hotness: undefined, score: 1, children: 1
nroth 2 points 17 days ago

Less often though. Way less often

path: 0 26003127 26007884 26008517, hotness: undefined, score: 2, children: 0
linuxmemes
linuxmemes

@lemmy.world

login for more options
33061
2389
6292

Hint: :q!


Sister communities:

Community rules (click to expand)

1. Follow the site-wide rules
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry of any kind will not be tolerated. This is an LGBTQ+-friendly community -- if that is a problem for you, you should leave.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves / tolerates / hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

go to feed...