• 0 posts
  • 44 comments
Joined 2 years ago
Cake day: March 20th, 2024
  • Start small

    This is my strategy whenever I learn a new language. Start easy, escalate in complexity.

    • print to the command line
    • take input from the command line
    • dumb blackjack game
    • dumb blackjack game and store session results
    • Make a fugly UI but keep the operations text
    • Make a fugly UI and add basic graphics

    Etc.

    The basic game itself doesnt matter - make it hangman if you want. The idea is to get used to a language.

    Keep doing that sort of thing, experimenting and learning, find ways to break things, find weird ways to solve problems, figure out ways to write even less lines of code. Find elements that you can make a function instead. Sanitize inputs excessively. Whatever.

    Play around, and keep playing around. You’ll learn in no time.


    For the record, this is how I learn, by doing. I have a really hard time sticking to tutorials, and I find examples far more helpful than a manual entry explanation of what something does. YMMV.

  • Its the only way I roll when it comes to ebooks

    Actually its the only thing I’d like to find in an open comic reader for iOS (iPad, my only iOS device, work bought it for me). Panels supports it (paid version), but I have yet to find an open source solution for iOS that does (for comics specifically).

    For android quite a few do out of the box. Definitely recommended.

    I’d also recommend checking out a server that uses it to try it out. Calibre-server supports it if you want to check it out.

  • I’m fine with keeping equipment in the rack if its secured, but I always remove the cabling. I personally don’t think people pay much attention to that part.

    I’d also put packing between devices. Since its all going in the uhaul, I wouldn’t personally feel the need to separate anything out of the rack, I’d probably leave it in and just check all my mounts are secure. I’d also make sure the rack is secured well in the uhaul, strapped in with a blanket between it and the wall.

  • @Tinnitus@lemmy.world, this is the answer.

    The important part is that its giving clean power to your hardware, and it only needs to last long enough to shut down nicely. Batteries in these units are usually just car or wheelchair batteries, so you can get them cheaper just as a regular battery too.

    You can also grab an older UPS with a crapped out battery for cheap and swap the battery. Last time I did that I got the UPS for $10 (local pickup) and put a new battery in for $20 from Lowes. Battery is still solid, its been about 5 years for that one.

  • US power sucks plenty!

    Texas is an extreme example, but outages happen everywhere. It was only a bit over 10 years ago when Sandy basically hit half the US and took power out in the tristate area for weeks. With climate change making things worse…

    But even when things are running well, not including the random downed line or busted transformers, its still better to give your hardware clean power and avoid the small spikes.

  • Like anything else, it’s good to know how to do it in many different ways, it may help you down the line.

    In production in an oddball environment, I have a python script to ftp transfer to a black box with only ftp exposed as an option.

    Another system rebuilds nightly only if code changes, publishing to a QC location. QC gives it a quick review (we are talking website here, QC is “text looks good and nothing looks weird”), clicks a button to approve, and it gets published the following night.

    I’ve had hardware (again, black box system) where I was able to leverage git because it was the only command exposed. Aka, the command they forgot to lock down and are using to update their device. Their intent was to sneakernet a thumb drive over to it for updates, I believe in sneaker longevity and wanted to work around that.

    So you should know how to navigate your way around in FTP, it’s a good thing! But I’d also recommend learning about all the other ways as well, it can help in the future.

    (This comment brought to you by “I now feel older for having written it”, and “I swear I’m only in my fourties,”)

  • I think you may be misremembering some osx fun with cups in the past, just like with Linux. Honestly most activities for the older folks these days is mobile or web based, the tech support needs for them is about the same regardless of OS imo.

    Back when I did solo IT work (a good 20+ years ago now), the questions were pretty much the same no matter what was being used too, though the Linux desktops at the time were usually focused on specialty hardware (so the dot matrix they were connecting to was about as easy as it could get).

    At the time though, macs were getting popular again, even among folks like me who appreciated Darwin and thought OSX would lean more heavily into open source rather than the outright thievery they ended up doing, but that part is neither here nor there.

    I’d say back then it was maybe 65/25/10 split of windows/osx/linux (usually redhat there, and two machines with slack), but the questions were mostly the same. And no matter what OS it was, it usually became a request for me to just do it for them on my next trip over.

    If anything, aside from specific bits of software that may be unique to an industry and someone actively working, which OS has gotten far, far, far less important than it used to be.