thibaultamartin

Joined 9 years ago

Karma
399
Submissions
65
Member since
Feb 13
ergaster.org

Director of Program Development at The Matrix.org Foundation

View on Hacker News

Recent submissions

Comment · 1 year ago
Comment · 1 year ago
I'm not too familiar with it. Why do you want or need ECC RAM for your homelab?
Comment · 1 year ago
Oh lord of the rings, that's embarrassing. Thanks for reporting the typo!
Comment · 1 year ago
Author here, I completely agree. In fact, I even wrote about it: https://ergaster.org/posts/2023/08/09-i-dont-want-to-host-se...

My homelab is my hobby. I maintain it for my pleasure and to learn new skills. We have an infra nerds club with a few colleagues and we're having a lot of fun comparing our approaches!

Comment · 1 year ago
Author here, indeed I didn't install a UPS. I've tried to keep my setup fairly minimal, and I'm consciously accepting that if there's a power outage my services will be down. I self-host exclusively for myself, not for others.

What I don't want though is a power outage putting my server offline while I'm on holidays, and not be able to access my services at all.

My ISP-provided router supports Wireguard, so I can use that to connect to my KVM and send the Wake on LAN packages.

Comment · 1 year ago
Comment · 1 year ago
That's right, I've added an errata to clarify. Thanks for the heads up!
Comment · 1 year ago
Thanks for pointing it out! I've added an errata to the blog post
Comment · 1 year ago
Comment · 1 year ago
Do you have specific books to recommend?
Comment · 1 year ago
Fair questions.

For the first one, the main benefits of Astro over static html and css (for my use cases) are the ability to include components and enforce the properties that must be passed. A typical example would be [here][0] where I define a layout for the whole website, and then [on each page that uses it](https://github.com/matrix-org/matrix-conf-website/blob/main/...) I have to pass the right properties. Doable by hand, but it's great to have tooling that can yell at me if I forgot to do it.

Content Collections also let me grab content from e.g. markdown or json and build pages automatically from it. The [Content Collections docs][1] are fairly straightforward.

As for performance issues, I've spent quite a bit of time on the countryside where connectivity was an issue and every extra request was definitely noticeable, hence the value of inlining it (you load one html file that has the css embedded, instead of loading an html file that then tells your browser to load an extra css file). The same can be true in some malls where I live.

[0]: https://github.com/matrix-org/matrix-conf-website/blob/main/... [1]: https://docs.astro.build/en/guides/content-collections/

Comment · 1 year ago
I can only approve. To me Astro started as "it's just html and css but with includes."

I used it for my personal website, and recently used it when reimplementing the Matrix Conference website. It's really a no-fuss framework that is a joy to use.

Among the things I love about Astro:

- It's still html and css centric - Once built, it doesn't require js by default - You can still opt-into adding js for interactivity here and there - Content collections are neat and tidy - Astro massively optimizes for speed, and the maintainers know how to do it - It had a very helpful devbar to help you visually figure out what easy fix can make your website snappier (like lazily loading images if it detects them below the fold)

For the "optimize for speed" bit, an example is that the css minifier cleverly inlines some CSS to avoid additional queries. The Image component they provide will set the width and height attribute of an image to avoid content layout shifts. It will also generate responsive images for you.

Comment · 1 year ago
Author here, that's a great question. I only host a handful of services on the VPS, including Nextcloud. I was mostly interested in storage, not so much in compute power.

Netcup offered VPS with 1 TB of storage for €30 / month back when I subscribed. The server has always been oversized for my needs, but that was the most financially interesting back then.

I recently switched to another ISP at home that gives me a fixed IP. I decided to move my services at home to shave off the VPS costs. Since I already had a Raspberry Pi 4, I only had to buy a SSD and an enclosure.

Comment · 1 year ago
This is absolutely right, thanks for pointing it out! The post has been updated to reflect that.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton