this post was submitted on 14 Aug 2023
516 points (95.7% liked)

linuxmemes

21378 readers
1307 users here now

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 members of the community for any reason.
  • 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 will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 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. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    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 fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] glibg10b@lemmy.ml 113 points 1 year ago (6 children)

    You seem to like the lines-of-code metric. There are many lines of GNU code in a typical Linux distribution. You seem to suggest that (more LOC) == (more important). However, I submit to you that raw LOC numbers do not directly correlate with importance. I would suggest that clock cycles spent on code is a better metric. For example, if my system spends 90% of its time executing XFree86 code, XFree86 is probably the single most important collection of code on my system. Even if I loaded ten times as many lines of useless bloatware on my system and I never excuted that bloatware, it certainly isn't more important code than XFree86. Obviously, this metric isn't perfect either, but LOC really, really sucks. Please refrain from using it ever again in supporting any argument.

    [–] rikudou@lemmings.world 62 points 1 year ago (3 children)

    Can confirm it's a shitty metric. I once saved the company I was working at few millions by changing one line of code. And it took 3 days to find it. And it was only 3 characters changed.

    [–] agressivelyPassive@feddit.de 27 points 1 year ago (1 children)

    That's the curse and blessing of our profession: efficiency of work is almost impossible to measure once you go beyond very simple code.

    You can feel like a hero for changing three characters and finally fixing that nasty, or you can feel like an absolute disgrace for needing days to find such a simple fix. Your manager employs the same duality of judgement

    [–] rikudou@lemmings.world 15 points 1 year ago (1 children)

    I feel like a hero in this particular case, it was a bug in a code that was written when I was still too young to even read. And no one knew how to run it. We didn't have access to the pipelines so no one knew how to build it and how to run it. It was a very obscure hybrid of C and PHP. I basically had to be the compiler, I went line by line through the whole codebase, searching for the code path that caused the error. Sounds easy enough, right? Just CTRL+click in your IDE. Wouldn't it be a shame if someone decided that function names should be constructed as a string using at least 20 levels of nesting where each layer adda something to the function name and then it's finally called. TL;DR it was a very shitty code.

    [–] Sanctus@lemmy.world 9 points 1 year ago (1 children)

    What the fuck. I'm so appalled I had to leave this useless comment to digitally stare with an agape mouth.

    [–] rikudou@lemmings.world 5 points 1 year ago

    To be fair, they said I'll be dealing with legacy code from time to time during the interview.

    [–] Gork@lemm.ee 15 points 1 year ago (1 children)

    But did you add 3 characters? Gotta bump up that code count bruh.

    [–] rikudou@lemmings.world 13 points 1 year ago

    Nope, removed 3, added 1.

    [–] stylist_trend@lemmy.world 21 points 1 year ago (1 children)

    I wrote a program that does nothing but busy loop on all cores. stylist_trend/Linux is my favourite OS.

    [–] affiliate@lemmy.world 8 points 1 year ago (2 children)

    i’m partial to the more relaxing sleep(500)/linux os, but to each their own

    load more comments (2 replies)
    [–] starman@programming.dev 11 points 1 year ago (1 children)

    Then this: :(){ :|:& };: is most important code in existence.

    [–] stylist_trend@lemmy.world 14 points 1 year ago

    What you refer to as Linux, is actually called Forkbomb/Linux, or as I've recently taken to calli-[Process Killed]

    load more comments (3 replies)
    [–] style99@kbin.social 57 points 1 year ago (2 children)

    Ubuntu: "Linux"
    Fedora: "Linux"
    Arch: "Linux"
    Gentoo: "Linux"
    Slackware: "Linux"
    Debian: "Free Operating System"

    [–] Emma_Gold_Man@lemmy.dbzer0.com 59 points 1 year ago* (last edited 1 year ago)

    There's more truth to that than most people realize: Linux is only one kernel option in Debian:

    Debian GNU/kFreeBSD

    Debian GNU/NetBSD

    Debian GNU/Hurd

    [–] wildbus8979@sh.itjust.works 16 points 1 year ago (1 children)

    Debian: "Libre Operating System"

    FTFY

    [–] SnowdenHeroOfOurTime@unilem.org 54 points 1 year ago (1 children)

    Been running a Linux based os for coming up on two years. I still definitely do not care about this.

    [–] Ddhuud@lemmy.world 33 points 1 year ago

    Been running a Linux based os for coming up on twenty years. I still definitely do not care about this.

    [–] traches@sh.itjust.works 39 points 1 year ago* (last edited 1 year ago)

    But the compiler is GNU!


    If you compile windows with GCC is it gnu/windows?

    [–] Hallainzil@startrek.website 39 points 1 year ago
    [–] rikudou@lemmings.world 28 points 1 year ago

    So, how's Hurd doing these days? If they want their own operating system, maybe they should release version 1.0 of their kernel.

    [–] Jerrimu2@startrek.website 25 points 1 year ago* (last edited 1 year ago) (1 children)

    There are distros without GNU, like alpine.

    load more comments (1 replies)
    [–] dcat@lemmy.world 20 points 1 year ago (3 children)
    [–] rikudou@lemmings.world 5 points 1 year ago

    Well, no surprise they have more lines of code. And that's even if you disregard printing help.

    load more comments (1 replies)
    [–] tired_n_bored@lemmy.world 20 points 1 year ago (6 children)

    I honestly never cared about this, it's the first time I write something about that, but any Linux-based OS is made of countless different software. What limits the number of names to two? Why can't I call my OS OpenVPN/Gnu/Linux, then why not Wayland/OpenVPN/Gnu/Linux? That would be crazy. A single recognizable name is what makes it.

    Furthermore by definition an operating system is an interface between userspace applications to the hardware, hence the operating system should be just Linux.

    Not shitting on GNU at all, but this push for calling the OS Gnu/Linux seems futile

    load more comments (6 replies)
    [–] collegefurtrader@discuss.tchncs.de 14 points 1 year ago (2 children)

    This is why Windows users don’t switch.

    [–] ShustOne@lemmy.one 12 points 1 year ago (5 children)

    I used Linux for many years, I still run it for my personal projects. I'm sure it's not everyone but damn the community is toxic as hell to newbies. If something doesn't work it's your fault. Don't know what flatpak is? You're an idiot. How do I use X? Don't use X it sucks but also I won't provide alternatives. Linux just works now open up terminal and type these flags to mount your external drive correctly so other programs can see it.

    I love the power and customization but it's a confusing world at times with unhelpful people.

    load more comments (5 replies)
    [–] Default_Defect@midwest.social 8 points 1 year ago (2 children)

    Some guy got mad at me for referring to linux as GNU/Linux in a post clearly making fun of him for being a huge shit head to someone earnestly trying to do something on Linux and failing. Never address any of the criticisms, just called me an idiot and a liar. SOME linux users are their own worst enemy if they want wider adoption.

    load more comments (2 replies)
    [–] SaltyIceteaMaker@lemmy.ml 12 points 1 year ago (1 children)

    holds up linux os without gnu software WHATS THIS THEN HUH?!

    [–] Kirbo@lemmy.world 16 points 1 year ago (1 children)
    load more comments (1 replies)
    [–] AlmightySnoo@lemmy.world 12 points 1 year ago

    busybox, musl and llvm enter the room

    [–] pineapplelover@lemm.ee 10 points 1 year ago (1 children)
    [–] WhoRoger@lemmy.world 5 points 1 year ago (3 children)

    Cuz like, GNU was the thing before Linux, so I'd say that's pretty important.

    load more comments (3 replies)
    [–] hellfire103@sopuli.xyz 9 points 1 year ago

    Take a look at Alpine, Void, and (most importantly) Chimera Linux.

    [–] lasagna@programming.dev 7 points 1 year ago (1 children)
    [–] Speiser0@feddit.de 24 points 1 year ago (2 children)

    I use arch/linux, btw.

    As a german I also use Arsch, btw., for sitting.

    load more comments (2 replies)
    [–] dukk@programming.dev 6 points 1 year ago

    Alpine Linux: what’s up, guys?

    [–] jsnc@lemmy.blahaj.zone 6 points 1 year ago* (last edited 1 year ago) (1 children)

    The shortest proper name is GNU.

    Inb4 Alpine, which is just called "Linux" internally.

    People use terrible words in CS and engineering in general. Doesn't mean we don't challenge them.

    [–] rikudou@lemmings.world 14 points 1 year ago (16 children)

    I mean, GNU wants to be called an operating system but it can't talk to hardware.

    [–] starman@programming.dev 10 points 1 year ago (1 children)

    Linux want to be called an operating system but it's a kernel.

    if only there was a way to combine these two...

    [–] Gork@lemm.ee 12 points 1 year ago (1 children)
    load more comments (1 replies)
    load more comments (15 replies)
    [–] Whisper06@lemmy.dbzer0.com 5 points 1 year ago

    So GNU I’d just bloat /s

    [–] grue@lemmy.ml 5 points 1 year ago

    throws chair "Fine, it's just GNU then!"

    load more comments
    view more: next ›