jlelse's Blog

Thoughts, stories and ideas

XXXX-05


Published on in 💬 Micro

To all of you who use Miniflux to follow my JSON feed: My (first) real contribution to Miniflux fixes the problem. 🤓

View

My May '21 in Review

Published on in ✍️ Posts

And the next month is over, May. What happened? From my point of view not very much.

View

Published on in 💬 Micro

I’m riding my electric bike and came across this castle. It’s called “Schloss Richmond”. 🚴‍♂️

🖼️ View

Published on in 💬 Micro

I have now completely disabled logging on my sites. Why? Because I don’t need the logs. Sometimes I used GoAccess to analyze the 30 days of logs, but I did that less and less and it doesn’t bring me any benefit. If any page is broken, I hope someone will send me a message.

View

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

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

Next

Jan-Lukas Else