• 0 Posts
  • 17 Comments
Joined 3 years ago
cake
Cake day: July 9th, 2023

help-circle


  • I have tried Umbrella and CasaOS and they are really very similar. That said, learning to use portainer allows you to understand the underlying technology of docker much better and also allowd you to do cool things like making a stack of containers that work together and saving that stack in a single config file. The GUI of Umbrel and CasaOS are basically the same and they only differ a little in their internals, so I would say switching shouldn’t be too hard, but if you have found yourself struggling to get something working on CasaOS you will probably have the same issue on Umbrel.

    The web interface with all the links to your services can be achieved with things like Homarr and you can manage storage on the back end with Open Media Vault or something similar to make things more accessible. If you can have your data files accessible on a single BTRFS or similar partition with folder level sharing then you can have files hard linked between your downloading application and your media serving application, say Deluge and Jellyfin. The files download in /share/Downloads and then on completion get linked into /share/Imports and Jellyfin can manage moving them into /share/Movies or /share/TV as needed, and the same would go for something like Subsonic or AudiobookShelf.

    Personally I have a wonderful set up with AudiobookShelf which syncs to my phone ereader. I can have books for my ereader with all the metadata and it is accessible via WiFi so I can just pick a book and get the epub delivered directly, no Calibre or USB cable required. It also works nicely for the audiobook side by letting me tell a whole series to download to my phone so I can listen back to back without worrying and I can always make space if I need to by clearing things out. Oh, and I can set my default listen speed to 2.0x and that carries over on other devices, so I don’t have to constantly fuss with it.

    Overall, super fun, I would recommend learning about Portainer if that appeals to you, maybe consider setting it up on an old laptop and playing with it there, and if it works out nicely then you can redo your server and get it all working nicely there.


  • Honestly I would not recommend doing it without any backup, but if you can directly connect your internet to any computer or use your phone for tethering then you aren’t really as vulnerable to a problem and should be OK.

    The default set up should actually work fairly well but need you to set up the wireless security and so on. If you use the exact same details as your current WiFi then all your devices will just reconnect and save you a bunch of time. Also the performance of something like a basic TP-Link router is probably not enough to do a lot of extra fun stuff like a VPN or file sharing, so just focus on getting the basic things up first.

    Also, take a backup of your current settings in the TP-Link router and get a copy of the firmware now, before you do anything else, so you can revert without having to get everything from another source. Good luck!


  • Early on I wrote a script for my user account to run df and save the output to a file, then a second script to read that file and if the drive was full send me an email.

    First, it failed because it couldn’t send the email because the email service failed under full disk conditions.

    Second, it failed because it couldn’t write the file to disk because the disk was full.

    Third, it failed because outbound SMTP was blocked by my ISP.

    I learned a lot about how well you can fail if you really put your mind to it. Now I have Home Assistant grabbing the disk stats for my machines and flagging anything over 90%.



  • It looks like a cool project. I wonder if anyone is working on higher PWM frequency for people who are PWM sensitive. Most ereaders with front lights use PWM at a fairly low frequency to control brightness and it can be very taxing on the eyes. Dimming using DC regulation is slightly more expensive but it should be fairly manageable with this kind of open hardware project.


  • I think this should be a thing. At the same time, I would also want something similar for funding or platforming fascists, but that is unlikely to end up being done. I think a simple tag, the [AI] one would work, is the best current solution. I think extra detail in the post is a good thing to do, for example AI assisted documentation, AI assisted bug finding, AI assisted vibe coding. They are all different and have different effects on the product and community. If someone uses AI to find bugs in their own code I am all for it, that is a great use if it. If they use AI to write their login system I am not keen at all given the likelihood of intense security issues and the low likelihood that they will ever fix it.


  • A quick question, what accent do you have? As an Aussie I have real trouble speaking naturally with most speech to text software, open or closed source. I feel like the guys in that Scottish sketch show in the voice activated elevator. I sometimes use voice dictation for my notes for work and I spend almost as much time correcting as I do speaking.

    That said, I have found a perfect solution. I can get well over the 95% correct mark by simply using an English or American accent. I can do both fairly well and the speech to text has no complaints. I imagine someone from Boston would have a tonne of trouble being understood, as would a Welsh person, but pretending to be a Californian or similar can help immensely.

    I would love to find something that can be trained by my speech like Dragon Naturally Speaking used to be. I used that in the early 2000s and at first it was awful, but training it for a few hours really did offer a noticeable improvement, and ongoing use continued to improve further. My computer died and I lost all the trained data, so I never went back, but if I could I would definitely do that again.


  • My personal recommendation is to get started asap with what you have. That would mean using any old thing you have laying around. Do you have an old laptop? They are ideal for beginner self hosting as you can physically access the machine and it includes a battery backup right in the machine. Usually they are also fairly lower efficient, so that is nice too.

    Buying dedicated hardware acts as a barrier to actually doing things, so getting past that is key. If you find you don’t actually want to do self hosting you can just stop using your old laptop, but if you bought a full server machine it will be a bit of a trap and make you feel like you failed in some way. Also, the cost right now is fairly prohibitive, but using existing hardware can make that much more manageable.

    As for what to run, I would recommend trying a fresh install of a distro based on Debian, Ubuntu, Fedora, and Arch. Yes, four. They are different and have a different feel to them, but also have different communities. By going through the process of installing each one you will get a feel for the system and the community around it and have a better idea what works for you. I spent a few years having around the Debian end of things but eventually moved over to Arch stuff and am currently using EndeavourOS. Your experience will likely be different to mine but trying a few different options will help you figure it out.

    Then moving on to services. Try to see what you actually use your machine to do now and then find services for that. For example, if you use something like Google Drive to synchronise data from your phone to your desktop then try using Syncthing to replace that. If you use Netflix to watch stuff try using Jellyfin. If you do play things like Minecraft get a local server running.

    These will all be for learning, so their performance doesn’t need to be better than what a professional can provide, they just need to work and be yours to learn with. If you find you love doing this and enjoy the process but the hardware is holding you back this is a good time to upgrade to a dedicated machine.

    For this I would recommend getting an office computer like an Optiplex or similar, just a basic office computer with an i5 or similar. You will want a fairly good amount of RAM in it, probably 16GB minimum and really 32GB is where things start getting good. A dedicated graphics card is not likely to be useful this early as the iGPU in most modern processors is actually fairly robust and should handle transcoding video for most use cases at a small scale. Storage could be one SSD for the OS and multiple spinning disk drives in a RAID or similar configuration for storage. The SSD will make the actual OS faster, decrease boot times, and make it faster to install and update things making updates less disruptive. The spinning media is way cheaper and you can backup all of your OS drive onto the spinning disks as a cron job in low usage times.

    That’s my two cents on it, start with what you have, expand as you need but not aggressively before you need it, and try things now before you are too afraid to mess something up because you rely on it. Remember to have fun and experiment, nothing teaches better than experience. Enjoy yourself, don’t take it too seriously, and don’t lock yourself in to one specific thing, be flexible and willing to experiment.



  • rowinxavier@lemmy.worldtoSelfhosted@lemmy.world•OpenWRT router
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    10 months ago

    This. I looked at a bunch of options and these are the best for OpenWrt and are very reasonably priced. Mine did torrenting, VPN, and a few other small services before I got my proper served up and running and now it is less loaded and more relaxed without that workload. Absolutely awesome, very high quality for low price, and it comes with a very slightly modified OpenWrt firmware which is unlocked by default.


  • That is essentially what gluetun does. It is a little simpler to set up given that it is all preinstalled and you just select your provider and details and it is done. And again, you just specify the network for other containers to use the gluetun service and it is done. Very simple, easy for using many services through one VPN connection, and available on things like CasaOS with simple setup.



  • I don’t know about videos but having a look at the OSI model is a good way to start. It covers the abstract framework for packetizing data including things like the distinction between hardware and software, envelope, encryption, application layer stuff, the whole shebang. The cool thing is by going hardware, network, application you can see where responsibility are and it helps you understand where things can go wrong.

    If you are interested there are plenty of CCNA style courses available on the internet, licit and otherwise, and they go into more depth, and the same applies to RHCE/RHCSA material. The training for certifications like that covers what you want to know but also puts it in context, and again licit and otherwise sources are available.


  • It looks like it is downsampling the video or streaming after converting to another codec. Some codecs are fine for decoding on the server but the app may not support them so the server converts them. Some files are of higher quality than what the server is configured to deliver so it downsamples to stream it.

    Check the configuration and look for anything to do with codecs, hardware decoding, streaming quality, and so on. It may also be on the app, so if you can access a different interface then test that to narrow down the issue.


  • Something I have found is missing from both of these suggestions as well as every podcast app on device is transcoding to speed up so it is not sped up on the fly. For a lot of phones and other devices the task of playing back at 2x speed is enough to demand a higher power state than what is required to play a sped up file. For efficiency doing a single pass of speeding up the audio then playing back at that speed would use less power during the playback phase, allowing you to download and speed up all of your podcasts at home while on charge then listen for long periods without completely killing the battery. I have checked with a few if the open source devs and this is not a feature they see utility for so nobody intends to make it.