2026-03-18 - hello world
finally, after having this domain since *checks file timestamps* 2018?, and a failed attempt at starting a blog in 2021, something's happening here!
a brief history of my attempts, looking through some files:
pre-2018
at some point, I had a wordpress blog on this domain I think, on another hosting provider. either way, that's now lost to time, as not even the internet archive has any snapshots before then.
2018-08-13:
I created a public_nodejs directory, and a git repo, apparently. 0 commits.
I tried to set up a website using express.js, and got as far as putting this into app.js
const express = require('express')
const app = express()
app.get('/', (req, res) => {
res.send('Hello World!')
})
app.listen(3000, () => console.log('Example app listening on port 3000!'))
...and this into blog.js.
const express = require('express')
const router = express.Router()
then I guess I gave up?
2019 - 2020
at some point I created a public folder with some static files.
inside, we have:
newtab, with a index.html that is 6 bytes long and only contains the string hello???
a presentation from uni about "clouds" aka data centers, dated 2020-01-16, made using impress.js?
another presentation, this time about thorium (as in the element)
and a .jar file with some stuff I made for a friend.
2021-08-07?
new attempt. probably much earlier than this date, but no idea when.
<p>*sigh* this is never gonna actually become a proper website is it</p>
<p>update: blog is <a href="/2021">actually here!</a></p>
<p>only took like stupid amounts of time huh</p>
inside the 2021 directory is one directory, 08, containing another one, 07, containing hello_world.html. apparently generated using "a little utility I wrote in Rust using comrak" that converts markdown into html. sounds familiar.
I probably even still have the source for that somewhere.
that's the only post there btw.
2024-11-30
I decided to try another time. this time giving up on making my own static site generator and using jekyll.
one post: 2024/07/30/hello-world.html.
contents?
"Finally, I've decided to set up a blog!"
yeah. I set up a blog. then proceeded to forget where I had the jekyll setup, and kinda gave up.
2026-03-18
and that brings us to today.
will this finally be the time I actually stop messing around with tools and *gasp* actually post something here? only time will tell.
this time, though, I actually have a few things I wanna post, so who knows.
oh, right. almost forgot this part.
this time i gave up on messing around and just used 11ty, or eleventy or however you're supposed to spell it.
it's... almost neat, just the part where it doesn't have a ton of pre-made stuff, or boilerplate for that matter.
meaning I can just (hand!)write some simple css to make this just barely usable, instead of having to figure out how to modify some giant theme framework thing.
only downside is it's js.
wrote this beautiful filter for shortening dates:
eleventyConfig.addFilter("smoldate", function(date) {
// ooooh i hate this
let y = date.getUTCFullYear()
let m = (date.getUTCMonth() + 1).toString().padStart(2,"0")
let d = (date.getUTCDate()).toString().padStart(2,"0")
return `${y}-${m}-${d}`
});
I've forgotten how glad I am I don't need to work with that madness daily.
if you happened to come across this and know of a less awful way of doing this, let me know. you can probably guess my email address based on the name of the domain.
~ kamnxt
updates:
- made the website "responsive"-ish
- added syntax highlighting via a plugin thingy
- realized lists are ugly, but that's gotta wait