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

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

help-circle

  • Pre-calculation or calculation caching is about the best save you’re going to get, but each and every piece of software would need to be rewritten with that idea in mind - assuming it wasn’t already written that way in the first place - rather than it being something the system can impose.

    It’s plausible that someone could write or modify an OS that specifies to each program what they’re supposed to do, be that optimise for time, optimise for CPU, optimise for RAM, etc. etc., but the program itself still needs to provide the ability to do each and every one of those, which is time and effort that program writers may not be willing to put in.

    For a more concrete example, although still something of a toy, there’s a program in the bsdgames package called primes that’s ~80k in size.

    Clearly, at that size, it does not contain all prime numbers but it sure can generate more than 80k of them quickly. It is highly optimised code, if my efforts at beating it are anything to go by.

    If you, as a hypothetical prime number aficionado, wanted even less work on your CPU, you could store your database of prime numbers in RAM (or disk) and not generate them over and over with primes. primes does not do this. It is not written to do this. It could be, but then it would be a larger program to account for extra modes of operation, which is more work for the maintainers.



  • Firefox can view PDFs so I assume Chrome also has that ability, and you’re likely to already have one or the other if you’re already using your computer for web browsing.

    If you need something stand-alone, one of the Evince family might also suit your purpose. Evince = GNOME Document Viewer and XFCE is GTK-based, which seems like a good match. There’s also Atril which is a MATE fork and Xreader, which is a fork of Atril, from Linux Mint’s Xapps project.

    LibreOffice, as mentioned by another respondent, has the ability to modify PDFs if not outright edit them, i.e. ability to place text boxes on top of the document, so you could theoretically use it to digitally complete a form you’ve been sent as a PDF and save it out as one. That may be worth jumping through the hoops if that sounds like a feature you might want.
















  • People who are racist against Chinese are very unlikely not to also be racist against Taiwanese. Therefore, ironically, something both the CCP and racists agree on is that there’s no difference between the two peoples.

    However, they’re both wrong. One group cares too much and the other too little, but still both wrong.

    Taiwan has a right to self-determination and no infiltration, subterfuge, threats, coercion or - if you prefer - pleading from Beijing or anywhere else ought to change that.

    Although if I were given a time machine, I’d prevent the whole split in the first place and protect the native Formosans… but you probably wouldn’t like the China that would exist if I were allowed to meddle like that either.