• 27 Posts
  • 201 Comments
Joined 1 year ago
cake
Cake day: March 4th, 2024

help-circle




  • There’s always the old piece of wisdom from the Unix jungle: “If you write a complex shellscript, sooner or later you’ll wish you wrote it in a real programming language.”

    I wrote a huge PowerShell script over the past few years. I was like “Ooh, guess this is a resume item if anyone asks me if I know PowerShell.” …around the beginning of the year I rewrote the bloody thing in Python and I have zero regrets. It’s no longer a Big Mush of Stuff That Does a Thing. It’s got object orientation now. Design patterns. Things in independent units. Shit like that.







  • And Calibre, a third party software for managing ebooks, has a plugin to crack Kindle files.

    Unfortunately currently broken for the latest version of Kindle for PC, which switched to a different encryption scheme. It also uses KFX file format that nobody likes, which fortunately can be converted to EPUB with another plugin, but de-DRMing doesn’t seem to work right now. It still seems to work for titles in AZW3/MOBI that didn’t get DRM update or didn’t have DRM in the first place.




  • Previously, you could just download the books on the Kindle for PC, use a random decoder software or install a plugin for Calibre, and boop, decoded books, readable in Calibre, can be converted to EPUB.

    For ssssssome reasonnns I’ve been looking at how to do the same thing again, but apparently you need an old version of KfPC because the new one uses new encryption/file format that hasn’t been sussed out yet. Weirdly enough, even with the newer app, I’ve still been able to download a bunch of books that didn’t have DRM to begin with, but of course Amazon doesn’t exactly advertise if a book is DRM-free anywhere on the store page.

    Also weirdly enough this quest of mine actually started last year when one Finnish ebook store was closed down, but that was less of a problem. I just downloaded all of my purchases as unencrypted EPUBs. Guess the local publishers are less dickish, worst thing they asked for was watermarking.



  • Reminds me: long ago, one comedy website made a bunch of awards that you could put on your own website with if you didn’t get awards from anyone else. (Having a bunch of random awards was the style of the time.) One of these was the coveted Titanic Navigation Award. I don’t think it can be awarded to anyone any more, as the developers of React have been the most deserving one to receive it in recent years, for their unending efforts in making navigation more confusing for everyone.






  • Yup, the bottom line is, there was this dude who, upon buying a website, fucked it up.

    Upon attaining unprecedented government position, he got access to government systems, and fucked them up.

    Did anyone vote for this? No, no one voted for this. Were there supposed to be checks and balances to stop this from happening? Well, theoretically, maybe, but, urgh, the Founding Fathers didn’t expect anyone to unleash the Ultimate Idiot on crucial data infrastructure.