Some middle-aged guy on the Internet. Seen a lot of it, occasionally regurgitating it, trying to be amusing and informative.

Lurked Digg until v4. Commented on Reddit (same username) until it went full Musk.

Was on kbin.social (dying/dead) and kbin.run (mysteriously vanished). Now here on fedia.io.

Really hoping he hasn’t brought the jinx with him.

Other Adjectives: Neurodivergent; Nerd; Broken; British; Ally; Leftish

  • 0 Posts
  • 172 Comments
Joined 2 years ago
cake
Cake day: August 13th, 2024

help-circle

  • I’m going to assume you’re not kidding, in which case, no, I mean the first letter of the command name it was called by.

    There are already commands that do this. For example, on my machine, ex is the head of a symlink chain that leads to the vim text editor’s executable and if I run ex, vim will know that it was started with the name ex and will start in ex mode. ex was an editor that worked in a different way but was vim’s ancestor, so backwards compatibility is built right in for those strange people who love ex, (or have some kind of automation reliance on it being present).

    Usually, the main command has a command line option that achieves the same effect as the special name. Here, vim -e is the less clever way to start vim in ex mode.

    For yes, symlinking the name no to it and then calling that should arguably cause it to print n repeatedly, but it doesn’t, for historical reasons, hence my suggestion to go back in time and make it act differently.

    (None of this touches on the fact that the GNU philosophy wants nothing to do with clever tricks like this. They prefer to compile separate executables for each and every use case. For example, most Linuxes have dir and vdir as variants of the ls command. Their functionality could have been implemented through this symlink trick, but instead there are three near-identical executables taking up space instead.)


  • The two commands are not equivalent. sed 11q prints 11 lines whereas head’s default is 10.

    Personally I would prefer head -11 in this situation as it more clearly indicates, for the sake of the meme, that something is being removed from the head.

    There’s also that head seems to be ever-so-slightly quicker, perhaps proving what we already knew about thinking being quicker than speech.

    TL;DR That’s what she sed?


  • The BeOS command line command set were all borrowed from or based upon Unix and/or Linux (IIRC many were straight from GNU), which is the basis for my comparison.

    The kernel and graphics were all from-scratch and radically different from Linux, sure, but the same could be said of Linux when compared to the original Unix, or any of the BSDs.





  • $ yes n
    n
    n
    n
    n
    n
    n
    ...
    

    I kind of want to go back in time and make it so that the original yes always printed the first letter of the name it was called by. That way you could symlink any name you like to it and it would do the right thing. Called as no it would print ns, etc. The optional parameter would still be there for longer strings or alternate uses.

    The reason time travel would be needed is that there’s bound to be, or have been, someone who has done something weird regarding symlinking yes that relies on it always printing y when it has no parameter, and the name trick would be a breaking change.




  • Note for second (or more) language speakers of English (and maybe a few first language folks as well): The plural ‘s’ is omitted when a sentence fragment is turned into an adjective. It’s supposed to have hyphens in it as well, though these are often left out.

    So, for example, “My PC is ten years old and runs Linux” becomes “My ten-year-old PC runs Linux”.

    In the case of this meme, it should be “My 10-year-old PC”.


  • If the day ever comes that I end up in possession of a healthy late 20th century laptop, I’d genuinely consider putting FreeDOS on it. Not least because I threw away my customised MS-DOS 6.22 and Windows 3.11 floppies years ago (a regrettable decision).

    For later hardware, I think I’ll stick with Linux.

    For a middle ground, I seem to remember Puppy Linux, which is designed to run on more limited hardware, runs most things as root. (Though maybe they’ve changed that in the intervening years. Correction welcome).




  • I’ve always just used gio trash (formerly gvfs-trash). KDE-based systems have something similar (but with syntax that’s perfectly logical but completely unsuitable, in my opinion).

    The third party trash package works in places the GUI and the aforementioned GUI-related command line tools may not. I can’t tell whether this is a bug in trash or in the system tools, TBH.

    For example, /tmp is one such directory where trash works but gio trash refuses.

    Either way, the GUI Rubbish Bin won’t keep track if things are deleted from such places by trash.


  • If I’m about to run an rm with a slash in it, alarm bells go off in my head. I prefer to cd to the parent and then rm whatever without slashes in the name.

    That didn’t save me the other day when I accidentally put a space before an asterisk, but thankfully that wasn’t in a place that was overly important.

    Gotta retrain myself to look out for extra nothing now.


  • I dunno, ~/bin is a fairly common thing in my experience, not that it ends up containing many actual binaries. (The system started it, miss, honest. A quarter of the things in my system’s /bin are text based.)

    ~/etc is seriously weird though. Never seen that before. On Debians, most of the user copies of things in /etc usually end up under ~/.local/ or at ~/.filenamehere


  • palordrolap@fedia.iotolinuxmemes@lemmy.worldBeware
    link
    fedilink
    arrow-up
    7
    ·
    2 months ago

    In LMDE4, 5 and 6, I pretty much had to install the OEM NVIDIA driver because the open source Nouveau driver didn’t quite cut it, but for AMD, the stock driver that comes with LMDE7 has worked fine for my purposes so far.

    I may change my tune if I try to run a more modern game*, but that will likely put me back in Frankendebian territory which caused me problems under LMDE6. (As you might surmise, I upgraded to new hardware and tried to do things as I’d always done them when LMDE6 was current.)

    * Minecraft notwithstanding, because it both is and isn’t modern. That can get above 1000 FPS if I don’t limit it.



  • This is true. But then I’m not using the latest version while I still have an active session, and that can lead to weird behaviour or errors after the fact.

    Case in point, I once received an Xorg update that I allowed to install, but didn’t restart the computer properly until much, much later.

    By then I’d forgotten about the update, so when I restarted and started having graphics problems, I was mystified.

    I’ve also forgotten how that all panned out, but in the same situation I’d roll back to a previous Timeshift snapshot and work the system forward again until I find the culprit or things are stable, so I assume that’s what I did back then.