Live data from Hacker News

Start Self Hosting

rohanrd.xyz

391–400 of 625 posts

Re: Start Self Hosting

#391
Self hosting is great, in theory, but terrible in practice.

I was thinking about self hosting my podcast [1], but it's an insane amount of effort and will cost money. Compared to using anchor for free, that's owned by Spotify.

For starters, I'd need to figure out RSS, figure out how to distribute the podcast and how to store it (+ costs). Not impossible sure, but not ideal either.

[1] The Language of My Soul Podcast https://anchor.fm/lang-of-my-soul

Re: Start Self Hosting

#392
I think it's great selfhosting has caught on again. I've been doing it since the 1990's. I host multiple low bandwidth domains on my old laptop over a Wireguard tunnel to my cheap AWS Lightsail instance for $3.50 with 1TB trasfer built in. Also I've hosted my own email all that time so I always have an alternative to Gmail or others (Gmail is good but I like options that I control). I host a custom service I wrote and run in Docker as well. I can and do use AWS services like Codecommit and am looking into others but for control; Selfhosting is where it's at.

Re: Start Self Hosting

#395

Earlier quoted context omitted.

There are numerous projects which have attempted to create this. https://sandstorm.io/ was the biggest one but as far as I can tell its largely unmaintained and most of the apps are outdated https://yunohost.org/ probably has the best "just works" experience but I didn't like that it wasn't using any kind of containerization which has caused them issues with shared libraries like PHP being difficult to update. As wel…

I always check for yunohost on these self-hosting threads. Standing up a yunohost on my raspberry pie has been on my to-do list for a long time. Unfortunately their default for my raspberry pie didn't "just work" on the Saturday evening I tried it. It was my first foray with that raspberry pie, so installed a different server OS and spent the rest of the evening setting up a basic server for an HTML file and learning…

I think we need more than tutorials. The actual software is just harder to host than it needs to be. What we need is some kind of standard where a tool can just automatically plug it in to the stack, start up the docker container, route nginx in, setup certificates automatically, set up SSO automatically in a standard way, Backup the data in a standard way, etc.

These 1 click install services like yuno host achieve it through huge amounts of work per app and patches over upstream.

Problem is its a monster of a job that requires upstream projects to be onboard and ultimately most of these tools are meant for enterprises to run who just have a dedicated ops person so complexity and maintenance are less of an issue.

Re: Start Self Hosting

#396
post #324

Earlier quoted context omitted.

>For a technologist or engineer, yes. For a layperson, no. The average consumer who desires privacy is probably neither a technologist or engineer, so the longterm target is something that just works. In comparison to system V initd startup files, systemd unit files are, arguably, less complicated. I'd say the "complexity" of systemd unit files is mostly irrelevant to end users. For a relatively non-technical user, i…

I'd go a step further: programs aimed to make self-hosting easy should not even need a package manager. They should be self contained (statically linked) binaries. Luckily we have Go which makes this very easy to achieve, and to make things better, Go is designed for web servers. I believe we've had this ability for almost a decade, and still no one is harnessing it to make self-hosting easy and reliable. Further mor…

Echoing this. All the services on my servers (Web, Gemini, Matrix, Fediverse servers and a CSP violations collector) are statically-linked binaries running in sandboxed chroots, with no access to the outside filesystem except a subdir of my data volume mounted into the chroot. Privs are limited to a defined list of acceptable syscalls and other limitations. I'm currently working on enforcing the use of this setup with SELinux policies and transitioning my OCSP fetching and session ticket key rotating scripts to statically linked binaries so I can just stick to one template shared across all services.

It would have been much harder to pull this off if these services required large interpreters, adjacent daemons running, and complex orchestration. Given the amount of time I have, I might have just skipped the SELinux step.

Re: Start Self Hosting

#397

Earlier quoted context omitted.

This is where docker really shines. Unless you’re a php developer or have a lot of experience with it, gluing it all together is best left to some clever person maintaining an upstream docker image.

Docker and I are not friends. The quickest way I found to fill up my limited VPS hard drive was to install Docker. All the work arounds to limit it failed. Then there's the whole lack of concrete control over iptables, where a tiny mistake can open you up to all sorts of horrors. So, it's great that Docker works for many, but I get the exact opposite of warm and fuzzy for it however.

Perhaps Nix could help? It's great for configuration and reproducible builds without the overhead of containers (which in practice aren't often reproducible).

Re: Start Self Hosting

#398
post #319

Earlier quoted context omitted.

> SystemD is complicated for a layperson Is it? It has clean and logical abstractions, and consistency. Services depending in each other isn‘t complex or difficult to understand. I suspect that a nice GUI would make systemd quite usable for non-expert users. BTW: It‘s called ”systemd“: > Yes, it is written systemd, not system D or System D, or even SystemD. And it isn't system d either. [0] [0]: https://www.freedeskt…

Comments like yours are a great example of why Linux has a hard time being user friendly. You take something that's deeply technical but easy to understand for yourself, and somehow generalize it to everyone. "If it's easy for me, it is easy for everyone", without noticing that perhaps your expertise plays a big role in making it easy. The better question is why should a layperson ever need to know about systemd in t…

Systemd is easy compared to init scripts. Maybe that’s the comparison point. I know that’s my comparison point, since I wrangled init scripts for a couple decades before systemd, and when systemd came out, suddenly it felt a million times easier to run services.

> A system where editing text files can make or break the system, is not a reliable system. It's easy to make mistakes in text files. Specially for users without expertise.

I don’t think that’s a salvageable notion of “reliability”. I could bork Mac OS or Windows easily enough by editing text files, if I really wanted to.

Re: Start Self Hosting

#399
I truly do miss Picasa so much, and I'm still mad at google about its loss. It was used extensively in family history research centers, and did a great job of automatically picking out pictures of your ancestors in old photos. I wish google had open-sourced it. Losing Picasa seriously made me distrustful of putting my personal data (in this case all of the annotations) into a proprietary app. I prefer open source, but if I can't get that then the real line for me is open data format.

Re: Start Self Hosting

#400

Earlier quoted context omitted.

But readers might

I'm okay with forcing people to choose between anonymity and reading my content. I'm not going to publish anything that they have any reason to hide, with very high probability.

Maybe they don't want you to know who they are; you shouldn't get to dictate your readers' philosophy. ...Though in a sense, by choosing a Cloudflare you are deciding for them, and they just won't get to see what you have to say (or won't bother training another machine learning system for free solving hCAPTCHAs just to read your post).
Post reply on HN