My mission is to bridge the gap between innovation and liberty, crafting a future where technology empowers all. With a commitment to coding, software, and liberty, I strive for impactful innovation.

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

help-circle

  • Don’t worry too much about it if it doesn’t make sense to you. It can be really valuable if you’re deploying a substantial amount of IoT devices on the edge with no to little possibility to do over the air upgrades reliably or when the cost of failure is high (i.e. a technician has to be on site to fix it). So, sometimes you just want it to be running as stable as possible for as long as possible without management.



  • To add to all great comments here I have one that I’ve used for ages and not seen mentioned here: lftp

    It supports many protocols for ftp like over ssh and allows for shaky connections with resume and back in the days when this was more common I used to just run it in the background to download huge files that took days to download and it would gracefully just reconnect/resume/retry until done.


  • It works the same because the value of the last expression in the for loop is not used for anything. It’s the side effect of that statement that counts. Eg, the value of i is checked the next time the for loop is executed by the condition check. Try replacing i in the condition check instead with i++ or ++i and you would see different results.

    Something like: for (int i = 0; ++i < 10;) { ... }