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
  • 129 Comments
Joined 2 years ago
cake
Cake day: August 13th, 2024

help-circle
  • because some languages allow you to write statements  
        that wrap over multiple lines
            in order to space things out that would
                otherwise be crammed onto one line,
        so for the compiler to know when the statement ends
            a character is needed so that it doesn't think the next line
                is part of the previous;
    statement number 2 goes here
    

    Without that semicolon, you might have continued to read “previous statement” which makes sense at first, until the words that follow.

    Without the allowance for multiple lines in one statement, that second physical line makes no sense at all, despite the first one making perfect sense on its own.

    And without the spacing, the run-on sentence would be a lot harder to read.

    Sometimes you have to write code a particular way. Here I was making a point. In a programming language there are other reasons.







  • Huh. I guess it’s possible it’s always been a thing in my WM and I thought I set it up. I do like to fiddle with the keybinds to do funky things. And lots of things carry over between machines and reinstalls if you move your entire home directory around like I do, so it’s easy to forget what’s original and what’s not.

    Now that I think about it, maybe the change I made was to add Alt-Enter as an alternative for Alt-F11 as a carry-over from DOS prompts in the old days, and Alt-F11 was already there.

    Anyway, if it solves your problem, that’s all that matters!


  • Minecraft scales with window size. Try using your window manager’s full-screen option rather than Minecraft’s own.

    I used to have to do this on an old computer because, for a while at least, I found that Minecraft’s full screen didn’t play nice with vsync, and I got screen-tearing, but windowed mode had no such problems. The problem resolved itself either due to a Minecraft upgrade or something in the graphics driver, X11 or the kernel finally got patched. Still not sure which.

    When you use the WM’s full-screen, Minecraft (or at least older Minecrafts) will still think it’s in windowed mode. Newer Minecrafts seem to be wiser to the trick, but you shouldn’t have any such trouble.

    Anyway, I used to bind Alt-F11 in the system keybinds (actually I still do, just in case) and used that rather than regular F11 to toggle mode.

    Tangentially, I also have a keybind that moves the Cinnamon panel to the top of the screen. For a while, the trick didn’t work and I had to run Minecraft maximised. Having the panel at the bottom under the game’s UI was a distraction. At the top I could tune it out along with the window’s title bar. I found that having the panel auto-hide, which misbehaved, or just disabling it outright, were too much of an inconvenience, hence figuring out a hack that moved the panel.

    That situation didn’t last long. Maybe a point revision or two of Minecraft, and that was definitely well after 1.12.


  • Obligatory mention that the old-school greybeard archetype still exists and I’d guess that more of those are gay than egg or hatching / hatched (UrbanDictionary is no help here, but I assume those are terms. If not, please extrapolate.)

    There may also be other archetypes not predisposed to needing HRT. I’m not sure what archetype Linus himself is, for example. The distinct lack of beard means he doesn’t quite fit greybeard, and it sure looks like he’s comfortable as he is.

    But it’s good to know that tech folks are now available in more stripes than the original stereotypes. It keeps the weirdy-beardies* who still live in musty wizard towers on their toes if they dare to come down.

    * I look in the mirror every day. I know what I see.



  • Given the reference, it would have been a decent burn if you’d said Mint or Ubuntu.

    I’m an LMDE user which is a sliver more advanced, but not by much. The song might even fit better. I can point at and name parts of the system and maybe even work with them, but most of the time someone else is looking after me.






  • Perl’s system of use ModuleName LIST is pretty nifty.

    The LIST may contain pretty much anything and it’s passed to the module’s import method (or one that the module has imported in turn from elsewhere). It can be interpreted or parsed freely by that routine.

    Usually, it’s expected to contain the names of variables and subroutines to be linked into (some might say “pollute”) the current namespace, as well as special flags that can import multiple at once, but it can also be left empty with () and then everything in the module has to be referred to by prefix in a very similar way to how C++ does it.

    But in theory, you could put an entirely different programming language into that LIST and have the module do magical things with it. If you thought the fact that C++'s template system being Turing complete was insane, this is basically that, but to the next order of magnitude.


  • I actually did this for a laugh a very, very long time ago. I had upgraded my 75MHz Pentium machine from 8MB to a whopping 40MB, so since I knew it would run fine with just 8, I installed a TSR RAMdisk and told Windows 3.1 to put its swap on that drive.

    It worked great, but I decided I’d rather use the memory for other things.

    But in more modern times, I’ve literally forced browser caches into memory-based tmpfs to take the load off system disks, which is basically the same thing. And it reduces wear on my hardware.