Skip Navigation

Posts
12
Comments
276
Joined
2 yr. ago

  • "Banana apocalypse" my ass, I'm not a banana.

    Call me when bananas start falling from the sky, oceans turn into banana juice, and the Son of Banana returns.

  • What did you expect? I never saw it in person but looking at Wikipedia, that's a large-ass statue.

  • panel 3 is useless, he was clearly wasted and fell asleep.

  • We can all get smart and snarky about "average persons" but then again, who says the OP was for average person.

    Your "average" person is not even on Reddit, let alone Lemmy, and if by chance they stumble along they are probably not clicking posts like this.

    So when you stop laughing from "hilarious disconnected Linux folks", maybe sleep on it, then try thinking about this.

    In context of this community and this thread, no, Linux is not all that horrible compared to Windows.

  • Dude, you just made this no doubt question far, far more interesting!

    ...and what if it was running AWAY from the sun!

    Here, Fixed it for ya.

  • No, they were just superstitious, they did not know how huge the sun was.

    But we know now so ALL HAIL THE SUN GOD!!!

  • Then again, it's not about Linux, it's just about your-favorite-few-click-program not being available for Linux.

    There's nothing technically preventing Adobe from making Reader & Acrobat for Linux (they actually used to, around 2007 I even worked in a L10N company and we tested it.) It's just a business decision.

    Once you start asking questions of why eg. Photoshop is not on Linux while eg. Firefox, VLC or GIMP are on all platforms, you will learn stuff about the world, which has little to do with Linux per se.

  • the ear isn’t very fleshy

    Imagine an interviewer made this comment, and Donnie going on a rant for the next week how his ear is "actually really fleshy, very fleshy, actually more fleshy, Kamabla's ears are like paper... Really fleshy..."

  • Where did you get the impression that words like covfefe and Kamabla were tweeted with full focus, stable, decent, ergonomic sitting pose and both hands dry?

  • I was unclear: I did not mean to imply that it will work with it.

    It's OT, but I'll clarify since it might be useful for people who find Bash cryptic.

    Thing is, roughly speaking:

    • eval will evaluate its first argument as Bash code
    • eval "$(any_command really)" will run run any_command really, take its output and then use it as first argument for eval. So the assumption is that any_command really must output a valid Bash code snippet.

    So what eval "$(ssh-agent -s)" really means is, "run ssh-agent -s, collect the output and run it right here, where we are calling eval. Compare to ssh-agent -s | bash -- this would also run ssh-agent output but it would run it in a new process--a child process of the current process---so the whatever the snippet would be, it would have no way of affecting state of the parent program, which is why it's safer.

    Aside: The reason we need eval in this case is that we actually need to affect state of the program: that's the whole point. We need to set several environment variables to values that ssh-agent "knows". Without eval we would have to "ask" ssh-agent separately for each value (I'm assuming it's not even supported) and then set all these envvars using eg. export keyword. Using eval we let ssh-agent dictate the whole process: which variables are going to be set to what values, with the caveat that if compromised, it could do "evil" stuff like setting PATH to override common commands with compromised code. etc.

    So what's the problem with the quotes? The Shell syntax, foo "$(bar baz)" will make sure that the thing between quotes is

    • kept verbatim
    • treated as a single argument, even if it contains newlines (with some ugly exceptions to this regarding the final newline)

    Now without quotes, Bash (as well as POSIX shell) actually have several things they can do with the output (read man bash for full list, but keep it for a long rainy evening). Some of it involves substituting eg. values like * with matching filenames, some of it may involve actually splitting the output to separate arguments based on spaces or other special characters (which can even be different characters depending on current state, see IFS and the likes).

    You can see the difference, if you run eg. printf '[%s]\n' instead of eval. This printf syntax will simply print all of following arguments on a separate line, adding braces before and after. You can compare

     
            printf '|%s|\n' $(ssh-agent -s)      # printf will probably receive multiple extra arguments
        printf '|%s|\n' "$(ssh-agent -s)"    # printf will receive just one extra argument (and print it as specified)
    
    
      

    (both of these commands should be safe as long as ssh-agent is not compromised and as long I have not made any terrible typo)

  • please, it's eval "$(ssh-agent -s)" (quotes!)

  • Depends on your distribution. I guess most of them use pipewire nowadays, and the bug has not been fixed yet so... if you are using a common GNU/Linux distro, the bug is likely on your system.

    Does it affect you, well, from what I understood, as long as your system registers the camera and pipewire is running, your camera is going to waste energy regardless of whether it's actively streaming video or not.

    From what I've understood there are several workarounds, each bad but in a different way:

    • Disabling pipewire is not a good universal solution since it would effectively disable all audio on your system.
    • Disabling the kernel driver for your camera would be a more precise workaround but it's not simple: apart from knowing how to do -- and undo -- that, you would need to find out which driver it is, and that depends on your actual hardware. And of course, with the driver disabled you would not be able to use the camera, so depending on your situation this might only be viable if you were willing to go back and disable/enable the driver as you need.
    • Physically disconnecting the camera - with desktop computer with the camera connected using a cable; you could just unplug it and plug it back in when you need it. With laptops, this is generally not possible; some laptops do have switches which effectively do the same thing but from technical standpoint that switch is a liability and costs something so most main-stream laptops won't have it.

    In either case, it's also worth noting that whatever app you are using the camera with is likely to keep a "list of cameras" and some sort of memory of your last selection. In theory, disabling or enabling a camera should work fine, but it's not uncommon that apps will have bugs when managing the list; for example an app might not "see" the camera being back on, etc. so if you are going to use any of the above you might need to get used to restarting an app from time to time.

    Assuming that eventually this bug is going to be fixed, the question of when it will be available for your system, again, depends on the distribution you are using. Many distributions have own public bug trackers so you could try and look it up and watch their ticket (in some cases, some distributions might even have fixes available sooner than the bug is fixed upstream, but I would not count on that), or you can try and talk to the community (look for an IRC/matrix channel, discord server, etc.)

  • Pipewire is not an app, it's a system service. It's not like people are going to say, "i'm gonna install pipewire" and then go install pipewire and also happen to have stats from before and after that installation.

    Most people who have pipewire have it either by having it already installed as part of the initial installation or part of some larger update, but in either case, they probably aren't particularly aware of it, especially as long as things are functional.

    To answer the question whether it affects one's system requires a different strategy than and likely a little bit of research.

  • trying to keep up with the vaping industry?

  • I think she was 46 when she went to the VP office. It's been a rough ride. But the hope of defeating the orange man is making her feel like 35 again.

    (She does look really good for 59 though.)

  • LinkedIn

    Jump
  • no the "xyz be like" phrasing implies means it's parody

  • I like that plan because it ends up paying 200%

    edit: 199%

  • how do glasses use dog?

  • "for each desired change, make the change easy (warning: this may be hard), then make the easy change"

    Kent Beck (got this version of his quote from Twitter but it's much older than that)