My evening project today was to develop a feature to display post locations in GoBlog, for which I created a custom Go module (100% test coverage!) that roughly parses geo-URIs according to RFC 5870. Nice feature for when the location should be relevant for the post context or I want to save where I shared a photo. An example in this post. 😉
View
Pro tip: Double check your commits for copy and paste mistakes. I learned my lessons today.
View
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.
View
I just separated the function I told you about the other day (the one for marking text with “==”) as a Go module. This way the main code remains more organized and if I don’t need the feature any more, the module is still usable. Also for other people who might need the same functionality. I think I should modularize GoBlog even more. 🤔
View
Did you know that Windows has 52 000 different family emoji combinations? See Emojipedia for more details on family emojis.
View
I can now mark text with ==text== in GoBlog. This is probably even better in some cases than using bold text. Isn’t it? 🤔
View
English is my second language. My mother language is German, in school I had Latin for a while (but was rather bad at it) and in university I had one semester of Spanish.
View
A few years ago I used to watch the Google I/O live and report about it on my Android-blog. Time has passed, I no longer blog about Android and I’m not a Google fan anymore.
View
Windows 10 21H1 is available and I just installed it on my ThinkPad. Wow, that was a fast (major Windows) update! Not many new features though…
View
Mrs D wrote a fantastic poem about the IndieWeb:
A static site maker, for a place to begin.
A layout with markup (or just add it in!).
Host it on GitHub in public, for free
or fill up a bucket for a small monthly fee.
Webmention.io to make replies go,
Bridgy to POSSE to your old silo.
Mix with community for sugar and spice,
and enjoy owning your web paradise!
And there’s a nice article about the IndieWeb as well!
View