2 min read

Initital Post

Another one of my hobby projects is finally up and running, and the feeling of accomplishment is really nice. I've realized that I either need to finish my open projects or bury them forever because unfinished endeavors don't bring me any joy and contribute to some sort of mental load. And I want to reduce my mental load. And every completed project builds momentum. And this momentum is something one shouldn't undererstimate.

This particular project you see is a blog. While a blog is not something one can ever truly complete, the static site generator for my blog is now operational. This time, I avoided the trap of endlessly adding features and refactoring for the sake of it. I came to the somehow obvious conclusion that a working solution is better than an overly refined one. Besides, who am I kidding? If generating hundreds of HTML files takes under a second, there's no need to optimize my static site generator any further. Now, if I have the neccessity I can add new features along the way.

When I first started, I had a clear vision. I wanted a small generator that uses input other than Markdown. Markdown isn't bad, but I wanted more—the ability to include code in many different dialects and have more control over the layout than Markdown allows. In fact, I wanted to incorporate LATEX code directly and without fuss. I also desired a site that doesn't need any JavaScript, at least on the frontend. For styling, I use TailwindCSS to generate my CSS file during the build process. As I try to block all JavaScript on other sites, and I know other try too.

“The only limit to our realization of tomorrow is our doubts of today.”

- Franklin D. Roosevelt
Here is a mathematical formula: x2+y2=z2, which explains the Pythagorean theorem.
01x2dx=13
This is an example of a mathematical equation in block form.
Python example of a function that prints a greeting.
This code shows a simple Python function that greets a user.
Python and explanation side by side.
$
>
output:

#
ls \
.
components-gen.py first-post.json generate2.py generator3.py highlight-test.py parse_citations.py post1.json references.json tailwind.config.js
document.html foo.py generate.py generator.py output poetry.lock pyproject.toml snippets tailwindcss
vim foo.bar