• 0 Posts
  • 20 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle

  • I don’t use Calibre for this (but I do for epub and pdf ebooks). I use Plex and use Plexamp for my music collection. For audio books I used to have Chronicle Audiobook Player installed (which is open source, but not actively maintained) but am now trying out Listen Audiobook Player (which is not open source as a heads up). Both of those allow me to download books wherever I am.

    If you have no interest in running a Plex server neither of them are suitable for you, but I just wanted to mention this solution in case you’re not dead set on using Calibre. Plex has a cost factor which may come into play (an obvious non starter for some). I have had Plex Pass for a long time so it was natural for me to use it, but might not be for you.









  • According to a news article about US MIL emails being accidentally sent to ML addresses due to misspellings, there was apparently a contractor in charge of the ML TLD, whose 10(?)-year contract was up the other day, I think, or will be soon. With Mali taking direct control over it, presumably they have their own ideas how to manage it. Why they wouldn’t or couldn’t have had the contractor do it (charge for domains) a long time ago, I have no idea. Doesn’t seem like something that would have to be postponed until the contract was over, but obviously I have no insight into the details of the matter.





  • Proxmox with a bunch of small dedicated lxc containers (running small Ubuntu lxcs mostly). It works for me anyway, though I don’t use any of the rr programs. My Plex lxc gets its Media files from an openmediavault NFS mount (Running in a VM instead of lxc), and I use smb file sharing for my windows desktop to access the same files. Your mileage may vary, what works for me night not be for someone else.





  • It was already mentioned by @RHOPKINS13 so I didn’t bother.

    As for Qt itself, I wasn’t thrilled with their path regarding licensing back in the day, like only allowing GPL (not LGPL) on Unix like systems and attempting their own special licenses, and only offering a paid commercial license for Windows development. These days I can’t say I find the $300+/month subscription option for commercial usage very appealing either. They can of course do whatever they want, just as I look at what is at my disposal and what’s out there and choose according to my needs and preferences (which may be very different from other individuals). Essentially, their decisions early on soured my opinion of Qt (regardless of any technical merits), and since those days I have always had other options that have worked well enough for me. It may also have played a role in my relative lack of interest in KDE,

    I’m just expressing my feelings, and it is not a statement whether anyone else should make any specific choices. :)



  • For these kinds of expressions, I really like to use the ternary operator. I find that more readable. An if statement with a condition and two simple possible return values like your code can be written as

    return (value == 1) ? “Yes” : “No”;

    The return keyword is not part of the ternary operator. The definition is “<condition> ? <value if true> : <value if false>”.

    As the operator is an expression, the result of it can be assigned to a variable of course. But in your code example there is no need for a local variable to hold the result so it can just be returned.

    If the expressions for the condition, or true or false results get too complicated I’ll switch to if/else for readability (the question mark or the colon might get harder to spot).