Live data from Hacker News

Start Self Hosting

rohanrd.xyz

441–450 of 625 posts

Re: Start Self Hosting

#441

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…

I'm certainly not a layperson, but systemd frequently confuses me. I want to edit a service to harden it for example. Oh, wait I shouldn't edit it directly with vi? Because it gets overwritten by package updates. Okay, makes sense, I need to use systemctl edit instead. But that opens a file that has everything commented out. Do I uncomment the [Unit] heading? What do I need to keep and where do I add my additions? I…

> I want to edit a service to harden it for example. Oh, wait I shouldn't edit it directly with vi? Because it gets overwritten by package updates.

I don't think you're supposed to edit anything inside /usr, except perhaps /usr/local, but even that has a better alternative in the form of $HOME/.local, which is a well defined standard at this point.

Maybe I'm unaware or mistaken but if you're editing anything inside /usr as a normal user, you're either using Linux wrong or doing something unexpected or unusual. This is why requests to make GUI file explorers have root escalation capabilities sound absurd to me. I can't think of a reason why one would need root access when using a file manager, especially a GUI file manager.

Re: Start Self Hosting

#442
post #396
post #324

Earlier quoted context omitted.

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 wit…

I hope you are not saying this is a layperson doable setup. ;-)

Re: Start Self Hosting

#443

You know what would be kind of neat? Like, a web site you'd go to called makemeoneofthose.com, and you'd click some buttons, and then sometime later you'd have a hosting setup that you own with some software, web server(s) and database(s) on it, and then you can go hack on it yourself, add some features, whatever. Like they send you some AWS keys and say "It's all yours. Good luck and don't forget to pay your hosting…

I am not related at all, but seems like a good dude: https://www.molecule.dev/

Interesting landing/marketing page. But once I clicked to test it I ran into these notifications for nearly everything I would have preferred to use:

> We have not yet started working on our XXX implementation, but you can select it and submit to let us know you're interested. Development is prioritized by demand.

Or the "We are currently working on our YYY implementation..."

So nearly nothing I would have wanted to use was available currently.

Looked interesting from the outside. Looked to me as of more time was spent polishing the marketing than the actual offering.

Re: Start Self Hosting

#444
post #396
post #324

Earlier quoted context omitted.

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 wit…

The reason I want things to be self contained is not for someone else to use it as a base upon which to build additional layers of complexity. That defeats the whole point.

Re: Start Self Hosting

#445
post #414

Earlier quoted context omitted.

I don't know anything about systemd, nor do I want to. I absolutely have problems with configuration via text files. A lot of things on linux desktops that a typical user wants to do require editing text files to work. For example, try searching for information about how to enable Japanese input in Gnome or XFCE desktops. Invariably, the steps involve installing and configuring some specific packages, and editing sev…

> I don't know anything about systemd, nor do I want to. Well, that’s fine. We’re mostly talking about self-hosting web servers, and you don’t need to know anything about systemd in order to run a web server on Linux, any more than you need to know about fuel injection computers because you drive a car. The reason I’m familiar with systemd is for other reasons besides hosting a web site. I don’t know how problems wit…

The conversation is about why it takes for something to be usable by end users.

Re: Start Self Hosting

#446
post #98

Self-hosting is something that we should be constantly iterating on making easier; it's really the path forward for privacy centric folks. The main challenges are managing workload scheduling (SystemD is complicated for a layperson). Networking is another challenge; for instance, if you wanted all or part of these services to remain offline or on a Mesh VPN there's a lot of knowledge required. There's some projects t…

Can CasaOS run compose stacks or simply containers?

Re: Start Self Hosting

#447
post #98

Self-hosting is something that we should be constantly iterating on making easier; it's really the path forward for privacy centric folks. The main challenges are managing workload scheduling (SystemD is complicated for a layperson). Networking is another challenge; for instance, if you wanted all or part of these services to remain offline or on a Mesh VPN there's a lot of knowledge required. There's some projects t…

> 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…

> Services depending in each other isn‘t complex or difficult to understand.

I am not an expert here, but to the best of my knowledge systemd has no concept of inter-host dependencies, making it effectively useless for anything distributed. For example classic lb+app+db cannot be directly controlled by systemd.

Re: Start Self Hosting

#448

Earlier quoted context omitted.

"lambda users"? I've not heard that term before.

Same here. Is that a synonym for a lay person?

French here. Lambda user is definitely the term we use for the Average Joe. Comes from Greek. Never heard of Lay Person or read about it before, happy to discover the term !

Re: Start Self Hosting

#449
post #132

This is why I'm building Timelinize [1]. It's a follow-up to my open source Timeliner project [2], which has the potential to download all your digital life onto your own computer locally, and projects it all onto a single timeline, across all data sources (text messages, social media sites, photos, location history, and more). It's a little different from "self hosting" but it does have a similar effect of bringing…

Probably out of scope for this project. But if this would include Browser history, and essentially include all the webpage you viewed, it would not just be Data you created ( which is currently the case ) but Data you consumed all on your computer.

Anyway I love this idea. Storing your data as Timeline, such as simple thing yet I never thought of it. Please submit shown HN when you are ready.

Edit: I was wondering why the username look for familiar, turns out it was the author of Caddy Server :)

Re: Start Self Hosting

#450
post #117

I've gone down this path a while back and self-host Gitea and other things: https://taoofmac.com/space/blog/2022/02/12/1930 I will be moving my KVM/LXD setup to Proxmox eventually (probably when I get new hardware) and am looking into low-wattage servers (ARM would be nice, to continue the grand tradition of running services on an NSLU2 a few years back, but there just aren't any good ARM server boards with lots of R…

> I will be moving my KVM/LXD setup to Proxmox eventually How come? I'm running proxmox currently but I'm considering just using a regular distro with lxd because I'm almost only using lxc containers...

Old kernel, and I would like a UI other people (my kids) can use.
Post reply on HN