• 3 Posts
  • 47 Comments
Joined 11 months ago
cake
Cake day: August 7th, 2023

help-circle
  • 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



  • sj_zero@lotide.fbxl.netto3DPrinting@lemmy.worldStepper not moving
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    6 months ago

    I use a tevo tornado which is similar in many ways to an ender3 and added a direct drive extruder. I ended up needing to change the wiring for the stepper motor because it just sat there jerking around but not moving. I don’t recall if I used a meter to measure resistance or if I just swapped wires until I got it working but it prints perfectly today and has for years.

    To do it I think I had to use a small screwdriver to push in the little barb that holds the pin in the connector (on some you can lift a little plastic tab on the connector to pull it out) then I could just push it back in place. Make sure you don’t disconnect your stepper while powered, it can toast your controller.







  • 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.