Jan-Lukas Else

Tech, life and everything else

rakyll/hey

Published on in 🔗 Links

If you need a simple tool, that sends some load to your web application or site, you can use hey. You can also use it to measure the performance. It provides a nice overview of the distribution of response times and shows how many requests per second your app served.

View

Being an inspiration

Published on in 💭 Thoughts

Somehow that’s a nice feeling to hear that you yourself inspire others to do something.

View

First impression: AfterShokz OpenComm

Published on in 💭 Thoughts

It’s been about 24 hours since my new AfterShokz OpenComm arrived. And I have to say, this is really the best headset I ever had!

View

📍 Post locations

Published on in 💬 Micro
📍 Brandenburger Tor, Berlin

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

Published on in 💬 Micro

Pro tip: Double check your commits for copy and paste mistakes. I learned my lessons today.

View

TIL: gob

Published on in 👨‍💻 Dev

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

Modularizing GoBlog?

Published on in 💭 Thoughts
Updated on

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

Published on in 🔗 Links

Did you know that Windows has 52 000 different family emoji combinations? See Emojipedia for more details on family emojis.

View

Published on in 💬 Micro

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

“Native English speakers are the world’s worst communicators”

Published on in 🔗 Links

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

Jan-Lukas Else