• 0 Posts
  • 7 Comments
Joined 1 year ago
cake
Cake day: July 16th, 2023

help-circle



  • The difference between generating JSON and generating HTML is minimal for the server

    That should be true, but have you looked the HTML of any “modern” site? Dozens of nested elements, each tagged with multiple lines of attributes. Generating that is probably 10x the cost of generating the JSON.

    Plus, with server side rendering you also have to recompute the HTML for the entire site, which often means re-computing a whole bunch of non-trivial queries as well.



  • As you’ve already noticed, the default way to get Octoprint running is by running it on an RPi with OctoPi as its operating system and connecting that to your printer using a serial connection, which basically means connecting a USB cable in your case.

    The docker container gets interesting if your home server is physically close enough to your printer that you can connect the printer directly. Then you can just mount the serial connection into the container and run Octoprint there, cutting out the need for a RPi.

    As others already said, the Prusa Mini also has PrusaLink integrated into its , which is an alternative to Octoprint and only needs the printer connected to your network via Ethernet or Wi-Fi with the Wi-Fi upgrade.


  • Exactly. C# just works for almost everything and there’s very little criticism I could level against it. Modern multiplatform UI is in a bit of a weird spot right now and their product naming is absolutely terrible, but that’s about it.
    (I even think that Visual Studio is pretty decent, although I still prefer Rider and Code.)

    Unless there’s a good reason to not use C#, like microcontroller programming, it’s become pretty much my go-to language, pun not intended.