Live data from Hacker News

Jeffgeerling.com has been migrated to Hugo

jeffgeerling.com

151–160 of 253 posts

Re: Jeffgeerling.com has been migrated to Hugo

#151
post #138
post #132

Earlier quoted context omitted.

> About a year ago I converted my 500+ post Jekyll blog to Hugo Why? I'm using Jekyll and been happy with it. What am I missing?

The blog post linked in my previous comment covers the why and everything else.

Right, I missed that!

> That gives near instant live reload when writing posts which makes a huge difference from waiting 4 seconds.

Mhm. Why? I can write all of my post and look at it only afterwards? Perhaps if there's a table or something tricky I want to check before. But normally, I couldn't care less about the reload speed.

> I use that plugin because it digests your assets by adding a SHA-256 hash to their file names. This lets me cache them with nginx. I can’t not have that feature.

Why?

Re: Jeffgeerling.com has been migrated to Hugo

#152
post #86
post #84

Earlier quoted context omitted.

Run Hugo in Docker; in that instance, rolling forward/back is as easy as changing the tag in your Docker image.

it's a Go programmer, so it's statically linked by default. No need for docker.

It's useful if you want more control over how directories are mounted. I use this to hot-swap themes, for example.

Re: Jeffgeerling.com has been migrated to Hugo

#153
post #72

Earlier quoted context omitted.

Happy Pelican user. If you know Python, it's the way to go.

Do you snapshot everything into a venv to insulate from upstream changes?

No, but I probably should.

To be frank, in using it for well over a decade I think something broke only once or twice. It's pretty stable and they give plenty of deprecation warnings.

Re: Jeffgeerling.com has been migrated to Hugo

#154
post #150
post #3

I made the jump to Hugo too (from a managed service: svbtle) a long time ago, but I'll be really honest... I regret it. I decided to use an off-the-shelf theme, but it didn't quite meet the needs and I forked it; as it so happens Hugo breaks userland relatively often and a complex theme like the one I have requires a lot of maintenance. Like.. a lot . Now I can't really justify the time investment of fixing it so I j…

I'm on your side. Nobody can point to a reason why it's a good idea for a site with any interactivity now. All the supporters here are all the same: "I had to do a whole bunch of mental gymnastics and compromises to get but it's worth it!" But they don't say why it was worth it, beyond "it's easy now ". When you try get to why they did it in the first place, it's universally some variation on "I got fed up with so to…

I was nodding along until your last paragraph - SSGs encourage letting other people own parts of your personal site, really? Sure, people bolt on Disqus or something, but otherwise I am not sure I follow the argument. Isn't part of the appeal of SSGs that all you have is a bunch of html/css/js that you can drop on any server anywhere (even a solar-powered RPi can serve a lot of requests[1])?

1: https://www.vice.com/en/article/this-solar-powered-low-tech-...

Re: Jeffgeerling.com has been migrated to Hugo

#155
My impression is that tools that grew complex only because they want to serve every use case under the son got obsoleted by AI, and static site generators like Hugo are a good example.

Today, if I were setting up a blog to host just some text and images, a vibe-coded SvelteKit project using the static adapter[1] would easily solve every single problem that I have. And I would still be able to use the full power of the web platform if I need anything further customized.

[1]: https://svelte.dev/docs/kit/adapter-static

Re: Jeffgeerling.com has been migrated to Hugo

#156

Earlier quoted context omitted.

I’ve slowly grown to realize there’s some software you just don’t need to update. A static site generator (almost certainly) won’t have security issues as long as you control the input and the output is just a bunch of static files. Unless the new version of the software includes some feature I need, I can be totally fine just running an old version forever. I could just write down the version of the SSG my site buil…

Is there any static site generator where you specify the version you use, and the launcher will simply run the old binary that you want? Like most build systems work, for example when you set a "rust-version" in Cargo.toml and only bump it when you explicitely want to. This way it will still use the older version on a fresh checkout.

> Is there any static site generator where you specify the version you use, and the launcher will simply run the old binary that you want?

For Hugo, there is Hugo Version Manager (hvm)[0], a project maintained by Hugo contributor Joe Mooring. While the way it works isn't precisely what you described, it may come close enough.

[0]: https://github.com/jmooring/hvm

Re: Jeffgeerling.com has been migrated to Hugo

#157
post #148
post #108

Earlier quoted context omitted.

Pretty much every single option there involved letting a 3rd party collect and own the comments. If you're fine for 3rd parties to own all your comments and content, why even take on the extra effort of hosting or managing or building your own website? That's basically what social media is for.

What do you mean? The list has more open source options than not. You can self-host those. It’s going to be easier to self-host a drop-in comment system than an entire dynamic site plus/including comment system.

If you want interactivity, we agree, you have to either run a server, or you have to use a 3rd party.

It's easier for a server to render markdown than it is for an SSG site to do server stuff.

Your suggestion for comments is to run a server/use a third party, and do SSG. My suggestion is to just run a server. One is clearly easier as it has fewer steps.

The idea that you can run a decent personal website without compromising on interactivity, and without running a server or using 3rd parties is a myth. As soon as you accept that you have to run a server, SSG becomes an unnecessary extra step.

Re: Jeffgeerling.com has been migrated to Hugo

#158
post #38

Earlier quoted context omitted.

I'm not sure if there should be a /s there. AI to me seems to be the antithesis of stable.

The AI only changes things when I want it to, and to my command. It's very stable.

You could also upgrade a static generator when you want to and equally achieve stability.

Re: Jeffgeerling.com has been migrated to Hugo

#160
post #34

A few years ago, I decided to migrate my personal website to a Common Lisp (CL) based static site generator that I wrote myself. In hindsight, it is one of the best decisions I have made for my website. It started out at around 850 lines of code and has gradually grown to roughly 1500 lines. It handles statically rendering blog posts, arbitrary pages, a guestbook, comment pages, tag listings, per tag RSS feeds, a con…

Only problem I find with self-hosted blogs and certain personalities like mine is that I spend more time tinkering with the blog engine than actually blogging. I ended up migrating back to a hosted solution explicitly because it doesn't allow me such control, so the only thing I can do is write instead of endlessly tinkering with the site.

https://rakhim.org/honestly-undefined/19/
Post reply on HN