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

help-circle





  • This is clever and worth reading, and I didn’t know about some of the 3.12 changes. Overall though I think the author has some pain in store. Using functions like map in Python result in Python iterators which are mutable objects (they consume and throw away an element of the sequence on each iteration) and this often causes hassles unless you convert them to lists (which burns memory and maybe does unnecessary computation). Also, Python’s type checking stuff (at least Mypy) are mostly a bug catching feature. They aren’t like a real type system though: mistyped programs can still get through, and properly typed ones can get flagged. It’s better than nothing and I use it, but it’s nowhere near e.g. Haskell.


  • Beaglebone has always been less shittified than Rpi, but didn’t keep up price-wise.

    Rpi fell under the spell of consumer attention almost from the beginning, abandoning whatever mission it had to make media center boards.

    Besides Broadcom, Rpi is also under the thumb of ARM. I don’t see why else the Pico didn’t use RISC-V cores with actual mul/div and floating point hardware instead of the kludges they bolted onto the cortex m0.








  • If you want a fancy multi-user site, the source code for archiveofourown.org is on github or gitlab (idr which). But for a small single user site I’d just go static. You could go full nerdy and write in texinfo then run an html converter. Texinfo is actually for computer manuals so it has chapters, sections, cross references, indexes, link navigation between pages, the whole bit. It is a markup language which I think is better than a wysiwyg formatter for documents that will be read in more than one way. I think there is a way to make epubs from texinfo docs.

    In a sort of similar spirit there is Org mode (org-mode.org) but you have to be or become an Emacs zealot to use it.

    Look also at pandoc.org which converts between lots of formats.



  • 25 machines at say 100W each is about 2.5KW. Can you even power them all at the same time at home without tripping circuit breakers? At your mentioned .12/KWH that is about 30 cents an hour, or over $200 to run them for a month, so that adds up too.

    i5-4560S is 4597 passmark which isn’t that great. 25 of them is 115k at best, so about like a big Ryzen server that you can rent for the same $200 or so. I can think of various computation projects that could use that, but I don’t think I’d bother with a room full of crufty old PC’s if I was pursuing something like that.


  • Tbh I sometimes sshfs mount a vps onto a home machine but doing it the other way around doesn’t seem worthwhile. The idea of a vps is that it’s in a data center, has tons of bandwidth, backup power, you can set up a failover scheme if you need high availability, etc. Stuff like media is on your home server so you can use it locally, and maybe it’s backed up remotely just in case, but doesn’t need to be live mounted. That said, I’m used to home internet being unreliable compared to VPS, so mounting it to a vps sounds flaky.

    If you want more storage on your vps, just get a bigger one, I would say. Or if you want tons of remote storage, get something with better connectivity.