Add first posts + layouting

This commit is contained in:
tiltowait
2025-10-27 13:55:29 -07:00
parent 40591ed78c
commit f5cb5028f5
9 changed files with 130 additions and 2 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.hugo_build.lock

3
content/_index.md Normal file
View File

@ -0,0 +1,3 @@
+++
title = ''
+++

6
content/blog/_index.md Normal file
View File

@ -0,0 +1,6 @@
+++
title = "all posts"
menu = "main"
weight = 100
+++

15
content/blog/hello.md Normal file
View File

@ -0,0 +1,15 @@
+++
title = "From There to Here"
date = "2025-10-25T10:04:10-07:00"
#
# description is optional
#
# description = "An optional description for SEO. If not provided, an automatically created summary will be used."
tags = []
+++
Im [tiltowait](https://github.com/tiltowait). I run a [few](https://tzimisce.app/#/) [popular](https://docs.inconnu.app) [Discord bots](https://docs.botch.lol) for World of Darkness (and more specifically Vampire: The Masquerade) games. Though the tech world is replete with stories like mine, it still surprises me that Im only in my current career because I got annoyed typing out dice rolls on my phone.
This site will be a journal of dev notes, stories, etc. Almost entirely for myself and my own edification, but I need to store it somewhere, and if even one person finds it useful, interesting, or informative, why not here?

27
content/blog/migration.md Normal file
View File

@ -0,0 +1,27 @@
+++
title = "Migration"
date = "2025-10-26T10:09:55-07:00"
#
# description is optional
#
# description = "An optional description for SEO. If not provided, an automatically created summary will be used."
tags = []
+++
[Railway](https://railway.com) is a great service. Ive been using it for ~2 years now. Its got a clean interface, good performance, and possibly the best hosted Postgres prices in the business.
But its not without quirks. Railway instances share resources, such as compute time, memory, and IP. This is standard in the [PaaS industry](https://en.wikipedia.org/wiki/Platform_as_a_service), but for Discord bots, it kind of sucks.
Discord bans IPs of bots that violate the terms of service. On a service like Railway, you might share the same IP with multiple Discord bots. If one of them is a bad actor, then Discord kicks them *all* offline.
(Thankfully, this only happens a few times a year in practice, and fixing it is just a button click in the dashboard.)
More, while Railway is a good price, they still need to make money. But when you could run most Discord bots on a [Raspberry Pi](https://www.raspberrypi.com), why spend $35/mo?
We can do cheaper.
Though Railway wasnt affected, [the October 2025 AWS outage](https://www.pcgamer.com/software/the-multi-billion-dollar-15-hour-aws-outage-that-brought-the-internet-to-its-knees-last-week-was-apparently-caused-by-a-single-software-bug/) had me missing the days of self-hosting. When I was a teen, Id run *nix boxen in my bedroom, wrestle with WiFi, wrestle with ATI drivers, and marvel that Doom 3 ran natively.
Thats two reasons to switch. I dont need a third. Its time to go back.

28
content/blog/not-linux.md Normal file
View File

@ -0,0 +1,28 @@
+++
title = "Not Linux"
date = "2025-10-27T10:39:17-07:00"
#
# description is optional
#
# description = "An optional description for SEO. If not provided, an automatically created summary will be used."
tags = []
+++
I first used Linux when I was 13-14. Like many nerdy teens, I went through a cavalcade of distros: Red Hat, Fedora Core (2), Slackware, Debian, SUSE, Gentoo, Ubuntu, Arch. Im probably missing one or two.
But there was another. Not Linux. [FreeBSD](https://www.freebsd.org).
The BSDs are weird. Theyre older than Linux. They are closer to UNIX than is Linux. They have much the same userland as Linux. But they are decidedly *not* Linux.
I first tried FreeBSD around 2004. I had a brand-new Athlon64 3200+. Windows didnt have a 64-bit version yet, and I was itching to take advantage of the extra bits (not understanding they didnt mean much for performance). Enter FreeBSD.
It was actually a failure, thanks (of course) to driver issues. A generous (not to mention patient) user on [Freenode](https://en.wikipedia.org/wiki/Freenode) spent hours teaching me how to build a new kernel. That was my first introduction to `vi` (not `vim`; the default FreeBSD install didnt and still doesnt come with something as new as a 1991 text editor). And after hours of work, we learned that the FreeBSD Radeon drivers just didnt compile on amd64, so I couldnt have hardware acceleration. I wiped the install.
(Looking back, I dont know why this was so important to me. It might have just been the principle of the matter.)
Spoiler: I came back.
Im not here to convince you to install FreeBSD, so Ill just say this: FreeBSD, like OpenBSD, NetBSD, etc. is very much *an operating system*, not a distro, and that shows itself in subtle ways. Look no further than [the handbook](https://docs.freebsd.org/en/books/handbook/) to see what I mean.

View File

@ -1,3 +1,17 @@
baseURL = 'https://example.org/'
baseURL = 'https://blog.tiltowait.dev/'
languageCode = 'en-us'
title = 'My New Hugo Site'
title = 'do as sudo'
theme = 'bear'
[params]
title = 'do as sudo'
description = 'thoughts, dev notes, and musings during a freebsd migration'
hideMadeWithLine = true
enablePostNavigator = true
[[menu.main]]
name = 'home'
url = '/'
weight = 1

16
layouts/index.html Normal file
View File

@ -0,0 +1,16 @@
{{ define "main" }}
<div class="intro">
{{ .Content }}
</div>
{{ range first 5 (where .Site.RegularPages "Section" "blog") }}
<article>
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
<time>{{ .Date.Format "January 2, 2006" }}</time>
<div>
{{ .Content }}
</div>
</article>
<hr>
{{ end }}
{{ end }}

View File

@ -0,0 +1,18 @@
<style>
article h2 {
margin-bottom: 0;
}
article time {
font-size: 13px;
}
main h1 {
margin-bottom: 0;
}
main h1+p {
margin-top: 0;
margin-bottom: 1.5rem;
}
</style>