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
  • 147 Comments
Joined 11 months ago
cake
Cake day: August 13th, 2024

help-circle


  • It’s the machine language monitor on the 40-column screen of the Commodore 128 (or, more likely, an emulator of the same). I had a whole part about that, BASIC DATA statements full of numbers, and about how anyone with any sense actually used an assembler even back then in an original draft of my comment, but decided to keep it brief.




  • It sets permissions (ch ange modification rights) on all files (-R = recursive, stepping down through directories) in the file system (hence starting at /) so that they can be read, (re)written and executed as programs by all users (the 777 part). 000 would be no permissions for anyone (except for the root user), which would be just as bad.


  • palordrolap@fedia.iotolinuxmemes@lemmy.worldDirty Talk
    link
    fedilink
    arrow-up
    152
    arrow-down
    2
    ·
    19 days ago

    Obligatory DO NOT RUN THIS ON YOUR COMPUTER (or anyone else’s).

    You’d think with fully open permissions, everything would work better, but many programs, including important low level things, interpret it as a sign of system damage and will refuse to operate instead.

    If you do run it, you’d better have a backup or something like Timeshift to bail you out, and even if you do have that, it’s not worth trying it just to see what will happen.

    It’s not quite as bad as deleting everything because you can boot from external media and back up non-system files after the fact, but the system will almost certainly not work properly and need to be repaired.

    You have been warned.


  • when

    can

    Almost. You did well, but it’s too hard for me, except maybe for short phrases like this, which, regardless, still requires effort well above my comfort. It’s the sixth most used letter by some measures. Seek out the typesetters’ placeholder phrase where the first “word” has it as last (sixth), place, before the successor “SHRDLU”, which show the order of the most used letters of, uh, latter-day British? Oof. Edit: Modified to avoid a superfluous usage.

    This hurts, so it’s time for me to stop.


  • “N-words” plural? I can imagine edgy students going out of their way to avoid all words starting with that letter as a result of that rule, just to be difficult.

    The sign itself lacks words starting with that letter other than the rule which bans it, and the separate quoting of one word that has one in it somewhere suggests they’re allowed as long as they’re unspecified on the list (otherwise that entry would have been omitted), so it’s entirely possible to misinterpret.

    On the other hand, avoiding all words starting with that letter seems like a fun idea, but will people even be able to tell? And it’s surprisingly hard to express some concepts without it.



  • From the ground up has been done at least once, but given there are multiple layers of interface and driver, it might not be at the right level for whatever hardware you have.

    I’m thinking specifically of how pipewire recently came along and basically took over the functions previously provided by pulseaudio, to the point of pretending to be Pulse where necessary so that things don’t break.

    FWIW, I recently learned that my motherboard has features that weren’t unlocked by default in my distro. Not related to sound, mind you, but nonetheless, I’ve gained access to that now. It required loading an extra kernel module. The same might be required to get the best out of your sound card.




  • Wait until you learn that postfix conditionals are syntactic sugar and the compiler* turns that line into the equivalent of $debug and print(debug message), putting the conditional in first place, a lot like the ternary operator.

    * Perl compiles to bytecode before running.

    The ternary operator itself isn’t implemented in terms of and (and or) but it could be.





  • reset is your friend. Less so these days with GUIs where it’s often quicker to close the window and open a new terminal emulator, but still good to know about in a pinch. That rare occasion where you’re actually on a console and Ctrl-Alt-F# isn’t available, or attached to a remote session where disconnection might mean you can’t get back on, etc.

    The man page suggests Control-JresetControl-J as the correct sequence to run it, because the Enter key might have had its behaviour altered. And if things are still slightly weird after the reset, run its parent tset.


  • Ah. The usually implicit topical “this” didn’t even occur to me because I thought, er, this, was about objects. $_ isn’t used for those in Perl.

    I suppose there might be some parallels with the implicit nature of $_ in non-OO contexts in Perl versus this in OO contexts in Javascript, but, at least to me, that feels pretty tenuous.