Live data from Hacker News

Self-Host and Tech Independence: The Joy of Building Your Own

ssp.sh

241–247 of 247 posts

Re: Self-Host and Tech Independence: The Joy of Building Your Own

#241

Earlier quoted context omitted.

I think your view show the success of Docker but also an over-hype and generation that only know how to do things with Docker (or and so think everything is easier with it). But before Docker there was the virtualisation hype when people sweared every software/service needs its own VM. VM or containers we end up with frankenstein systems with dozens of images on one machine. And with Docker we probably lost a lot of…

Why are you assuming my age and experience because I use Docker? This doesnt help your argument. I have been around since long before Docker was a thing, so yes I have been there, serving apps on bare metal and then using unwieldy VMs. It doesnt matter if its my home lab or some Saas server, how is it simpler to serve 3 PHP apps with different PHP versions on raw linux than simply using docker for example? This is ca…

> It doesnt matter if its my home lab or some Saas server, how is it simpler to serve 3 PHP apps with different PHP versions on raw linux than simply using docker for example?

You got me, I have no idea how to manage PHP. Intuitively I would try to solve that problem with Nix first.

But here if you can't run two PHP versions on the same OS I would say the flaw is at the PHP level or how distributions handle it. So personally in my home I would probably avoid it and be grateful containers solve this problem for me at work.

To end on a more positive note, if you like Docker I would recommend you check FreeBSD Jails too because you probably gonna love it.

I used both but Jails have a level of integration in the OS which is next level (if used with ZFS). You really get the best of both world.

Re: Self-Host and Tech Independence: The Joy of Building Your Own

#242
post #193

Earlier quoted context omitted.

Host the wrong content, you are out, get sued because of someone elses trademark on your domain, you are out, registrar actually dissolved or has weird stuff? out.

True...but there are alternative approaches...such as maybe register a couple (not alot) of alternative, different domains. I think the trick is to keep the number of alternative domains low enough that it wont break the bank, but still give the option of serving as sort of backups. Then again, one would need to understand one's "threat" model before beginning to post content that might be "attacked" by others.

Which is why I included the third one - even if you don't piss off a sovereign no technology hosting company is forever.

Re: Self-Host and Tech Independence: The Joy of Building Your Own

#243
post #242

Earlier quoted context omitted.

True...but there are alternative approaches...such as maybe register a couple (not alot) of alternative, different domains. I think the trick is to keep the number of alternative domains low enough that it wont break the bank, but still give the option of serving as sort of backups. Then again, one would need to understand one's "threat" model before beginning to post content that might be "attacked" by others.

Which is why I included the third one - even if you don't piss off a sovereign no technology hosting company is forever.

> ...no technology hosting company is forever.

Yeah, good point!

Re: Self-Host and Tech Independence: The Joy of Building Your Own

#244

Earlier quoted context omitted.

"You can only rent a domain." If ICANN-approved root.zone and ICANN-approved registries are the only options. As an experiment I created own registry, not shared with anyone. For many years I have run own root server, i.e., I serve own custom root.zone to all computers I own. I have a search experiment that uses a custom TLD that embeds a well-known classification system. The TLD portion of the domainname can catgori…

Is there any difference here from running a normal DNS server? Any of your special domains will be ones your server claims as authoritative, so I don't understand why you need a root server?

"Is there any difference here from running a normal DNS server?"

Yes.

Re: Self-Host and Tech Independence: The Joy of Building Your Own

#245

Earlier quoted context omitted.

what are the specs ? I use a 10yo thinkpad with a core i3 and arch based desktop, sometimes the web is too heavy (discord or similar webapps) but it's mostly fine. it's true that with a bit of education, you can get pretty far with old machines

CPU: Intel i7-3630QM (8) @ 3.400GHz GPU: NVIDIA GeForce GT 640M Memory: 7818MiB Those specs are showing their age for sure, but I run the TV at 1366x768, so they've been enough. The CPU has been an absolute champ. I'm sure running XFCE as the window manager has a lot to do with why it trucks along, XFCE is amazingly low footprint and snappy.

Thanks, I can see how an i7 with a discrete gpu could keep handling most things easily.

Re: Self-Host and Tech Independence: The Joy of Building Your Own

#246

Earlier quoted context omitted.

Or they have explored other options and find docker lacking. I've used docker and k8s plenty professionally, and they're both vastly more work to maintain and debug than nixos and systemd units (which can optionally easily be wrapped into containers if you want on nixos, but there you're using containers for their isolation features, not for the ability to 'docker pull', and for many purposes you can probably e.g. ju…

> Or they have explored other options and find docker lacking. I don't think so. Containerization solves about 4 major problems in infrastructure deployment as part of it's happy path. There is a very good reason why the whole industry pivoted towards containers. > . I've used docker and k8s plenty professionally, and they're both vastly more work to maintain and debug than nixos and systemd units (...) This comment…

It's just bad faith argument after bad faith argument with these contrarian folks. I have to laugh every time I see systemd mentioned as an "easier" alternative.

Re: Self-Host and Tech Independence: The Joy of Building Your Own

#247

Earlier quoted context omitted.

Why are you assuming my age and experience because I use Docker? This doesnt help your argument. I have been around since long before Docker was a thing, so yes I have been there, serving apps on bare metal and then using unwieldy VMs. It doesnt matter if its my home lab or some Saas server, how is it simpler to serve 3 PHP apps with different PHP versions on raw linux than simply using docker for example? This is ca…

> It doesnt matter if its my home lab or some Saas server, how is it simpler to serve 3 PHP apps with different PHP versions on raw linux than simply using docker for example? You got me, I have no idea how to manage PHP. Intuitively I would try to solve that problem with Nix first. But here if you can't run two PHP versions on the same OS I would say the flaw is at the PHP level or how distributions handle it. So pe…

Yes, running 2 php versions at the same time is quite tricky. One can do it using symlinks, but its a pain.

Its the same like running multiple versions of python (python vs python3, etc… cue the xkcd meme pic).

in the end its all a mess and thats why docker is such a nice thing.

Thanks for the heads up i will check Jails out.

Post reply on HN