Pro tip: Double check your commits for copy and paste mistakes. I learned my lessons today.
XXXX-05-24
TIL: gob
Today I learned about gob. gob is a package from the standard library of Go and allows to store structs efficiently as a byte array. Faster than encoding data in JSON for example. Useful for communication between Go programs or for temporarily storing data. In GoBlog, I’ve recently been using gob for a SQLite-based queue for verifying webmentions and sending ActivityPub requests. gob has the same interface as the JSON package.
Self-hosted server(less) functions
One thing which I have never looked more closely at, but which I think is very interesting, are “Serverless Functions”, although they are not so serverless because they run on a server. Whatever. On Hacker News, I found a GitHub repository and an article about it.
Bringing back the 90s Internet
There was a discussion on Hacker News the other day about whether blogs are dead or not.
Yesterday evening I hinted that I will give my blog a new design in the next days. I woke up relatively early today and thought that I could just finish it quickly now.
My goals were on the one hand to simplify the design significantly, but on the other hand to save as much HTML and CSS as possible.
Now the page should load even faster than it did before. Almost every page on this blog (except the ones with images) uses less than 10 KB for transfer. All generated files of the blog now only need about 30 MB instead of 60 MB.
Did I succeed?
I Did A Morning Run
I was about writing a post complaining about failing with my new goals. But does complaining bring you any further in life? No! So I’m writing about my positive progress instead, because I did a morning run today and it feels sooo great… 😏