Linux gamer, retired aviator, profanity enthusiast

  • 2 Posts
  • 437 Comments
Joined 2 years ago
cake
Cake day: June 20th, 2023

help-circle

  • AFAIK the syntax seems to be the same.

    def sayHam():
        print("Ham")
    
    sayHam()
    

    works when typed into the Python console, no class needed. I program as a hobby, I’m no expert on the language, but does Python even differentiate between functions and class methods internally? Other than just scope? There’s a possibility I’ll learn something today.



  • My experience with LibreOffice is it works fine if you’re doing straightforward things by yourself. MLA formatted essay? “Twelve point double-spaced Times New Roman or you get a zero” and they never noticed my papers were Liberation Sans? Sure that works. “Pick a partner and make a 20 slide PowerPoint presentation” is a nightmare because sharing files back and forth between Powerpoint and Impress doesn’t work very well.

    The more usable solution to that is Google Docs. I had a group project with four other guys, and we were all sat around a table typing in the same document at the same time on three different operating systems. Played perfectly well with Windows, Mac and Linux. Us Linux nerds who hate “the cloud” because “someone else’s computer” and Google because “Don’t Be Evil” kind of lurch at that one, but it functions.


  • I’m especially talking about smaller utility programs, like a USB stick formatter. If Gnome even has one of their own, it’ll be an empty window with a single button in the top bar that says “Format Drive.” There will be no choice or indication as to the name, the format, or perhaps even which drive to format. Turns out it will always do the removable drive that was mounted first chronologically. What the pity fuck do you mean you want to format a USB drive while your external backup HDD is attached? Who could ever want to do that? Oh and it’ll be carefully designed to be unusable if you use any theme but light Adwaita. If you want to do something specific, open the terminal and use dd.

    KDE’s USB stick formatter will include several different wiping algorithms, you can key in a custom string to fill the empty drive space with with unicode support, settings for physical disks and solid state memory, the weird features of SD cards, it’ll support formats only used by Sun Solaris and OS/2, you can specify a maximum write speed, and it’s got a full set of drive encryption tools built in. All of this is perfectly themeable, but the UI elements are crammed a little too dense and not quite lined up right so it has a little bit of amateurish Windows 98 jank to it.

    Cinnamon’s USB stick formatter will be somewhere in the middle. It lets you choose which drive to format, what name to call it, which of about 8 formats to put on it, whether to do a “full wipe”, and that’s about it. Made in GTK for Cinnamon’s design language, it looks straightforward but competent, like it’s from Windows 7. Does what almost all users need, almost all of the time, without getting in the way. The only snag I can think of is likely the Cinnamon menu’s fault: They provide a USB Stick Formatter, and a USB Image Writer. And it will switch places in the order it presents so you can’t memorize “for the formatter, type “USB” and hit enter, for the writer, type “USB” press down and enter.” They use the same icon so you have to stop and process the written language to get the app you want.













  • I’ve got a Lenovo tablet with an Intel Pentium processor that runs Fedora okay. Everything works, but especially remembering/detecting orientation with the keyboard attached is about as polished as stucco.

    Apparently the hardware defaults to a portrait layout; it’s a 1080x1920 monitor, not a common 1920x1080, and by god and all his rapey little clergy if it CAN wake up in portrait mode, it will. Waking the thing up means turning it on, ripping it in half, waiting 3 seconds for the monitor to rotate back to the way it was when you put it to sleep, and then clicking the keyboard back on.