• 2 Posts
  • 44 Comments
Joined 1 year ago
cake
Cake day: August 10th, 2023

help-circle




  • The way I’ve got it set up is I have a Nextcloud\Desktop, Nextcloud\Downloads, Nextcloud\Documents, Nextcloud\Pictures, and Nextcloud\Videos folder, and on each machine I use I point each of those points in windows to use the folder in the nextcloud folder instead of my users folder, then I run the official client to sync the entire nextcloud folder. By doing that, whichever computer I’m on I’ve got the same stuff in my main folders and anything else I have I can keep in the nextcloud folder. I’ve also got it on my mobile device just to automatically upload new pictures to the InstantUploads folder, but the app is a bit limited.

    I live equally on the road working as at home, and I’ve got completely different computers for home and travel, so in this way I’ve always got all my files available since once I start up the computer it automatically starts pulling the local files. If you don’t want a full copy of everything on both machines, I think you can tell it to just create links of the files and the client will download the files from the server as they’re required, but I prefer having a local copy of the files myself.


  • I use nextcloud for syncing between different computers, because I tend to have different machines that are far separated geographically, and it works well. I put all my home folders on each computer into the nextcloud directory so I have all the same files everywhere I go and if I don’t have one of my computers I can still log in and access those files.

    I used to use nextcloud as my solution for everything, but a big problem with photos is it isn’t really very navigable, and a problem with nextcloud as a general platform is everything is a plugin so if the plugin doesn’t get updated you can be stuck on an older version of the software which carries its own risks. As well, given the interface, You have your media but you can’t really go back and look at it. What I did instead is I set up a library in jellyfin with all my photos sorted into directories, and you can scroll and navigate through them fairly intuitively. I pulled my data out of google and facebook before deleting the accounts and so had many many photos but no way to really enjoy them, but that solution worked really well for me and I’ve been able to look at my old photos easily.


  • I wonder if you’ve ever used a Chromecast based on this criticism.

    For a standard Chromecast, you open the app on your phone, then press the cast button, then the device you want to cast to, and the the device begins to stream the media independently of your device. You can shut off the device you used to start casting and it doesn’t matter because Chromecast is pulling the data on its own.

    On some websites such as YouTube on PC, you also have a cast button and you can press it, select the device and it’ll start playing. you can get this button to work on all kinds of sites, and a lot of open source software supports it to a degree such as VLC, Peertube (through a plugin), and Jellyfin.

    Using google chrome you can cast your current webpage or your desktop, but that’s not the standard use of Chromecast.

    It takes some finagling, but you can cast from Jellyfin to a standard Chromecast right from your phone.

    The latest version out is Chromecast with Android TV, which is really nice (for now). It’s running a version of android and has the play store, so you can set up the Jellyfin android TV app, and stream from your home server without requiring a domain name or https like you do to stream properly on straight Chromecast.

    The big issue with Chromecast in my view is that it’s a Google product which means 3 things:

    1. it’s proprietary, which has many risks coming from that nature and a crappy largely hidden API
    2. it can be shut down any moment if they desire (see google graveyard), and being an always-on device it’s possible they just brick it on the way out
    3. it will suck up as much data as they can from you to try to sell you more crap



  • The most important risk you face is if somehow mains voltage ends up contacting somewhere you get electrocuted and die.

    There are 2 purposes of an earth ground: First it can be used as a reference for certain signals, such as microphones. Second, it can be used to protect against turning yourself into a sparker.

    There is a clear separation between mains voltage and system voltages so it’s typically not going to be a problem, but if a little wire ends up contacting the power supply case it can become energized and things start to get really bad.

    Most of the electrical code where I live focuses on grounding as “Bonding”, which is purely safety related for giving dangerous voltages a safe place to go.






  • I’ve been using a number of different tools which I interface to my nextcloud.

    My main nextcloud has a llm plugin which was really easy to install, you just install the plug-in, make sure that you are configured properly with python in your path, and then run an OCC command to download one of a few models.

    https://localai.io/

    I also hosted localAI, which was a little bit more involved, but the website did a decent enough job of explaining exactly all the things that you needed to do in order to get all the different types of AI model working. Besides LLMs, it also supports text to speech, speech to text, and image generation.

    Two things that are important: first, if you are server doesn’t have a pretty advanced video card then you’re going to be using the CPU exclusively for AI, and that’ll be pretty slow. Second, I found it very quickly that the amount of RAM you have is critical. My main server is a core i5 4th gen, and so I put AI software on another one of my servers which is a core i5 7th gen. You would think that the latter would work a lot better, but it had half the ram, and it basically wasn’t even able to get started.

    Besides hosting ai, if you have a desktop computer or gaming laptop you can run local AI models. There’s a fantastic piece of software called Faraday that works pretty well on my laptop. You can get more and more sophisticated models depending on how much memory you have.

    https://youtu.be/aLy_vVLUHZk

    Krita has AI dal-e support for image generation available as a plug-in. I haven’t used it yet because I just got it started downloading last night before I went to bed, but the installation process has defined in the video seems accurate and was extremely easy and mostly automated.

    https://youtu.be/AU8NDSBIS1U






  • The level of raid is fundamental to the operation of your raid array.

    As I recall, RAID 0 is striping. It will give you faster throughput because your array can pull values out of multiple drives at once. RAID 1 is mirroring. In that, half of the drives are used for data, and the other half are used to back up the first half. RAID 5 is parody, and that’s what you’re looking for. Essentially, your drives will mostly be used for storing data come up with the last one will be used to track what information is on the other four, so you will have one drive for redundancy and the other four will be storing data.

    Hardware raid versus software raid matters to the extent that parity calculations are relatively expensive and so if you’re trying to do RAID 5 on software raid, that’s going to eat up more of your CPU power and reduce your drive throughput.

    I don’t recall truenas in particular, and what you using the nas for is really what is important, but I do recall that some Nas software doesn’t even want you to be using hardware raid because it will be using its own software algorithms that are separate from what you would typically consider to be raid.


  • I’ve never used syncthing, but nextcloud has become a major part of my life in part because of the notes app, which I use for my work log, as well as nextcloud news, which lets me read news from any device and which articles I’ve read are tracked so my news feed is actually news. A third thing that’s neat is I keep my windows user folders in my nextcloud folder so my computers have the same synchronized user folders – if I download a file on my main PC it shows up on my travel laptop and vice versa, and if windows crashes I don’t lose the files in my user folders, I just resync.