a new beginning!

generated at Mon Jun 24 04:50:29 UTC 2019

Welcome to the latest iteration of the content portal that is my blog! Yeah, I redesigned my website and the blog once again for the umpteenth-billionth time. It is definitely more modern and minimalist (maybe even brutalist) compared to the previous 2006-esque style. I even added custom fonts and all that.

plans for the blog

I will be updating the blog more frequently, discussing interesting computer things I like, things about programming languages and maybe low level assembly idk. Expect an update like once a week or so, hopefully.

Since my website is designed upon minimalism, I won't be using images or videos. Expect cool ASCII diagrams I whipped up in 5 mins.

technical details

Like an intellectual I am, I decided to rewrite my site in actual HTML, with the help of a static site generator, sora, in a language I created, hana, instead of using C macros to generate it.

The site generator works like a templating engine a la PHP, you could do something like this:

{{ if 1 + 1 == 2 begin }}
    <p>{{: "1 + 1 = 2" }}</p>
{{ end }}

which generates something like:

<p>1 + 1 = 2</p>

The site generator uses text substitution to generate code for hana, which is then evaluated, creating a string output. The resulting string is automatically written to an output file.

I also have an in-house build system used to automatically recompile HTML whenever the input changes.

One thing I find strange about neocities is the inability to host files with extensions that are considered harmful. While it does prevent people from hosting unwanted executables, it doesn't even allow me to upload fonts or svgs (at least not from the command-line application) for some reason, so obviously I embedded a base64-encoded version of the ttf font file and the svg file as a data url into a javascript script then manually embed that from there (sorry neocities admin)

final words

Like and subscribe and be my friend because i don't have any.

and send my questions on my email: mogamiriver@tuta.io