a_fancy_kiwi

joined 2 years ago
[–] a_fancy_kiwi 17 points 4 days ago (1 children)

Like they said, no one knows what's real anymore. Instead of sharing this letter and getting my pitchfork out, I'm just going to wait and see where it goes. Even if it's true, it's too late

[–] a_fancy_kiwi 1 points 1 week ago (1 children)

I got an Odroid H4+ and have been extremely happy with it. I'm sure Beelink or GMKtec mini PCs on Amazon would also be fine but I wanted SATA ports for harddrives.

If you end up going with the Odroid, let me know and I'll send you the links to the few things you'll need to get going

[–] a_fancy_kiwi 4 points 1 week ago* (last edited 1 week ago) (3 children)

tldr: keep your smart home seperate from your services and avoid RPI unless you need it specifically for a project

If I were in your shoes, starting from scratch, with the knowledge I have now, I would avoid a raspberry pi and get 2 computers with an Intel N100 (or N97 or N300). Sips electricity and more powerful than a rasberry pi.

A raspberry pi is fine for lights, switches, sensors, a few cameras etc. But if you are at all interested in one day using the voice assistant stuff, the Raspberry pi just isn't powerful enough.

I suggest 2 computers because once you have home assistant set up, you'll want to treat it like an appliance. You don't want to take down your entire smart home because you broke Pixelfed or another service you get into and have to troubleshoot. Speaking from experience, your family won't appreciate the smart home not working 😓.

[–] a_fancy_kiwi 6 points 1 week ago* (last edited 1 week ago)

I hope it's alright that I add to this a little.

What draws me to podcasts are the topics that are talked about but what gets me to stay is the host(s). I heard in your first episode that you do masonry and landscaping. I'd love to hear more about who you are and how you ended up selfhosting. How did a masonry worker find themselves this deep in tech? Thats super interesting. (Please don't take that the wrong way, I work in construction yet here I am)

The 3 episodes you have could totally be split up into multiple episodes if you slow down and thoroughly talk about each topic and how they related to your situation.

You tend to give some hypothetical problems that your listeners might be trying to solve with a few solutions but I want to know what problems you had, how you solved it, and how you might have iterated on that solution and made it better. And in the next episode, what did you tackle next? I want to hear your journey episodically 🙂

Anyway, I'm subscribed. Good luck

[–] a_fancy_kiwi 2 points 1 week ago

I get where the original commenter is coming from. A VPN is easy to use, why not have my partner just use the VPN? But like, try adding something to your routine that you don't care about or aren't interested in. It's an uphill battle and not every hill is worth dying on.

All that to say, I appreciate your comment.

[–] a_fancy_kiwi 1 points 2 weeks ago (5 children)

i guess you were able to install the os ok? are you using proxmox or regular servers?

I was. It was learning the Nix way of doing things that was just taking more time than i had anticipated. I'll get around to it eventually though

I tried out proxmox years ago but besides the web interface, I didn't understand why I should use it over Debian or Ubuntu. At the moment, I'm just using Ubuntu and docker containers. In previous setups, I was using KVMs too.

Correct me if I'm wrong, but don't you have to reboot every time you change your Nix config? That was what was painful. Once it's set up the way you want, it seemed great but getting to that point for a beginner was what put me off.

I would be interested to see the config though

[–] a_fancy_kiwi 7 points 2 weeks ago

Oh, I wasn't sure what platform you needed. For iOS, yeah I have no idea. For anyone else that comes across this though, Grayjay also has a desktop app now

[–] a_fancy_kiwi 27 points 2 weeks ago (6 children)

Grayjay by FUTO has been working well for me

[–] a_fancy_kiwi 2 points 2 weeks ago (3 children)

A few reasons

  1. My partner has plenty of hobbies but sys-admin isn't one of them. I know I'll show them how to turn off wireguard to troubleshoot why "the internet isn't working" but eventually they would forget. Shit happens, sometimes servers go down and sometimes turning off wireguard would allow the internet to work lol
  2. I'm a worrier. If there was an emergency, my partner needed to access the internet but couldn't because my DNS server went down, my wireguard server went down, my ISP shit the bed, our home power went out, etc., and they forgot about the VPN, I'd feel terrible.
  3. I was a little too ambitious when I first got into self hosting. I set up services and shared them before I was ready and ended up resetting them constantly for various reasons. For example, my Plex server is on it's 12th iteration. My partner is understandably weary to try stuff I've set up. I'm at a point where I don't introduce them to a service I set up unless accessing it is no different than using an app (like the Homeassistant app) or visiting a website. That intermediary step of ensuring the VPN is on and functional before accessing the service is more than I'd prefer to ask of them

Telling my partner to visit a website seems easy, they visit websites every day, but they don't use a VPN everyday and they don't care to.

[–] a_fancy_kiwi 1 points 2 weeks ago

Thanks for the info, I appreciate it

[–] a_fancy_kiwi 1 points 2 weeks ago

awesome, thanks for the info

[–] a_fancy_kiwi 1 points 2 weeks ago (1 children)

That's interesting, I didn't know that was a thing. I'll look into it, thanks!

83
submitted 2 weeks ago* (last edited 2 weeks ago) by a_fancy_kiwi to c/selfhosted
 

tldr: I'd like to set up a reverse proxy with a domain and an SSL cert so my partner and I can access a few selfhosted services on the internet but I'm not sure what the best/safest way to do it is. Asking my partner to use tailsclae or wireguard is asking too much unfortunately. I was curious to know what you all recommend.

I have some services running on my LAN that I currently access via tailscale. Some of these services would see some benefit from being accessible on the internet (ex. Immich sharing via a link, switching over from Plex to Jellyfin without requiring my family to learn how to use a VPN, homeassistant voice stuff, etc.) but I'm kind of unsure what the best approach is. Hosting services on the internet has risk and I'd like to reduce that risk as much as possible.

  1. I know a reverse proxy would be beneficial here so I can put all the services on one box and access them via subdomains but where should I host that proxy? On my LAN using a dynamic DNS service? In the cloud? If in the cloud, should I avoid a plan where you share cpu resources with other users and get a dedicated box?

  2. Should I purchase a memorable domain or a domain with a random string of characters so no one could reasonably guess it? Does it matter?

  3. What's the best way to geo-restrict access? Fail2ban? Realistically, the only people that I might give access to live within a couple hundred miles of me.

  4. Any other tips or info you care to share would be greatly appreciated.

  5. Feel free to talk me out of it as well.

6
submitted 1 year ago* (last edited 1 year ago) by a_fancy_kiwi to c/webdev
 

To preface, I’m currently rewriting a personal webapp to use MySQL instead of storing everything in hundreds of JSON files. I’m currently in the testing phase of generating tables with the data from the JSON files, destroying the tables, adding more columns and data, repeat, all to make sure everything is working as intended.

My issue is that occasionally I’ll create too many columns and then I get an error saying something about the row being too large? I’ve also noticed that if I change the parameters of what data is allowed to go in the column, I can generate more columns. I know there is some relationship between number of columns, the data that can go in a column, data size, and row size but I don’t know what’s going on. I’d appreciate it if someone could broadly go over how row length(?) can affect number of columns.

Thank you

26
submitted 1 year ago* (last edited 1 year ago) by a_fancy_kiwi to c/selfhosted
 

I've been interested in building a DIY NAS out of an SBC for a while now. Not as my main NAS but as a backup I can store offsite at a friend or relative's house. I know any old x86 box will probably do better, this project is just for the fun of it.

The Orange Pi 5 looks pretty decent with its RK3588 chip and M.2 PCIe 3.0 x4 connector. I've seen some adapters that can turn that M.2 slot into a few SATA ports or even a full x16 slot which might let me use an HBA.

Anyway, my question is, assuming the CPU isn't a bottle neck, how do I figure out what kind of throughput this setup could theoretically give me?

After a few google searches:

  • PCIe Gen 3 x4 should give me 4 GB/s throughput
  • that M.2 to SATA adapter claims 6 ~~GB/s~~ Gb/s throughput
  • a single 7200rpm hard drive should give about 80-160MB/s throughput

My guess is that ultimately, I'm limited by that 4GB/s throughput on the PCIe Gen 3 x4 slot but since I'm using hard drives, I'd never get close to saturating that bandwidth. Even if I was using 4 hard drives in a RAID 0 config (which I wouldn't do), I still wouldn't come close. Am I understanding that correctly; is it really that simple?

 

PSA

After updating to TvOS 17, my Sonos Beam sound bar started making weird crackling sounds and music sounded tinny. Turns out, I had to change the audio format in the Apple TV settings from Stereo to Dolby Digital 5.1 for the issue to be fixed.

Not sure what I had that setting set to before but I’m leaning toward the idea that the update reset the audio format back to default settings. If you are having sound issues after updating, that might be the issue.

10
submitted 2 years ago* (last edited 2 years ago) by a_fancy_kiwi to c/running
 

My garmin has it set up like this:

Z1 = 50-60%
Z2 = 60-70%
Z3 = 70-80%
Z4 = 80-90%
Z5 = 90%+

As of right now, I’m seeing my Z3 improve but improving Z2 is going to take me a while. I can have a conversation in Z3 using the Garmin percentages.

I’ve also seen other forums/websites have different percentages. Ex.

Z1 = 68-73%
Z2 = 73-80%
Z3 = 80-87%
Z4 = 87-93%
Z5 = 93%+

If I used this method, then my Z2 is the one that has been improving this whole time. This one ‘feels’ right to me when I’m running but I’ve only been running for a few months at this point (was running last year but got sick a few times and had to basically start all over) so maybe I just need to stick to it and the garmin method will start to make more sense.

So I was just curious how everyone has their percentages set up. What do you all actually train at?

a_fancy_kiwi

 

I'm relatively new to MacOS and I frequently find myself needing to copy a file to my clipboard so that I can paste it somewhere else. Every time I click the share icon, I'm disappointed to see no "copy to clipboard" extension.

This is most frustrating when editing a screenshot or opening up a file in safari.

Anyone have a recommended app for this? I found this one but haven't tried it yet

 

I occasionally find myself reinstalling home assistant and every time I do, I get stuck on two steps because I forgot the commands and didn't write them down from the last time. I'm writing them below mainly for myself but also for anyone else who may get stuck. For future reference, I'm using Ubuntu 23.04 with Virt-Manager.

Before you begin the installation of the provided qcow2 image, you might want to resize that image from 32G to whatever size you want. ex:

qemu-img resize haos_ova-10.3.qcow2 +68G

Next, you might want to make a network bridge device. Navigate to your netplan folder and backup the yaml file that's in there (your file may be named differently)

cd /etc/netplan

cp ./01-network-manager-all.yaml ./01-network-manager-all.yaml.old

Edit the yaml config.

nano ./01-network-manager-all.yaml

Change the renderer to networkd and add the bridge device (br0). Your ethernet device may not be named enp12s0, make sure to use your ethernet device name. If you are on wifi, look up a netplan wifi config and make adjustments as needed.

network:
  renderer: networkd
  ethernets:
    enp12s0:
      dhcp4: true
  version: 2
  bridges:
    br0:
      dhcp4: yes
      interfaces:
        - enp12s0
      parameters:
        stp: true

save the file. generate and apply the new netplan. WARNING - If you are hosting this on your own network, it's possible the Ubuntu host IP could change. If you were doing these steps over SSH, you might need to find the new IP and reconnect. Static IPs can be set in the netplan config but I usually just do it from my router settings afterwards which is probably why the IP changed.

netplan generate

netplan apply

Now just go through the installation process and when you select your network device, make sure you select "Bridge Device" and the device name is "br0"

Edit 12/15/23 - well, I rebuilt my server again. I used regular Ubuntu desktop this time and I for the life of me I couldn’t get networking to function properly. I ended up buying an Ethernet card and passed it through to the VM

5
Where to start? (self.radiocontrolled)
 

What advice and/or product recommendations would you give a beginner? What websites do you buy your parts from? What software do you use?

view more: next ›