Onno (VK6FLAB)

Anything and everything Amateur Radio and beyond. Heavily into Open Source and SDR, working on a multi band monitor and transmitter.

#geek #nerd #hamradio VK6FLAB #podcaster #australia #ITProfessional #voiceover #opentowork

  • 32 Posts
  • 946 Comments
Joined 2 years ago
cake
Cake day: March 4th, 2024

help-circle
  • Writing software is about problem solving skills which improve with practice. Often the process involves breaking down a problem into smaller pieces and breaking each of those down, until you know how to “solve” each problem.

    Writing down each “solution” and stringing them together is then the actual “programming” part of this activity … which brings with it a whole new layer of “problems” to “solve”.

    It’s as much art as it is accounting and the more you do it, the better you get at it.

    Source: I’ve been writing software since 1982.








  • Here’s some questions:

    • What happens when you die?
    • What happens if your house is burgled or catches fire?
    • How do you protect against pe(s)ts making themselves at home in your server?
    • What happens with a power or internet outage?
    • What happens with hardware failure?
    • What happens if you suffer dementia?
    • How are you dealing with AI bots?
    • How are you mitigating hacking attempts, security, authentication and exploits?
    • How are you dealing with data corruption?
    • How do you mitigate against ransomware having entered your systems?

    Note that I’m not picking on you, nor is this list comprehensive or in priority order. I’m trying to determine if you’ve considered these common issues and concerns associated with hosting stuff that has great sentimental value, if not actual value.









  • Puppeteer is the tool. It takes some getting used to.

    You can set a bunch of triggers that determine exactly when the screenshot fires, and you can simulate mouse movement and scrolling to deal with lazy loading.

    There’s even time delays that differentiates between human time and machine time, allowing you to have the software act as if it was running for longer than it actually was, which deals with other weirdness seen in web apps.

    You can run it inside Docker which might simplify things for you.

    I ended up writing a node.js app to control puppeteer precisely how I needed to.

    Source: I spent 48 months or so using it for a project that required all of that.