jlelse's Blog

Thoughts, stories and ideas

πŸ‘¨β€πŸ’» Dev

Welcome to the Dev section of my blog with development related articles.


go-shutdowner: Simple graceful shutdowns in Go

Published on in πŸ‘¨β€πŸ’» Dev

As I already mentioned, I’m trying to modularize parts of GoBlog to make the code more organized and to be able to test it better (thanks to the tests, I always notice small bugs that I can then correct).

View

XOR Operator in Java

Published on in πŸ‘¨β€πŸ’» Dev

At work today I came across an Eclipse feature for cleaning up Java code. It helps you to improve the code, for example to add final to attributes or parameters, or to improve boolean expressions.

View

Simply cache form fields in localStorage

Published on in πŸ‘¨β€πŸ’» Dev

Have you ever started typing something into a web form and then you accidentally closed the browser and lost everything you typed there? Because of that I usually use an external text editor for long posts and later copy the text into my blog editor.

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

Miniflux scraper rules

Published on in πŸ‘¨β€πŸ’» Dev

Speaking of web comics that I follow via RSS, ATOM or JSON feed: ideally I would like to see the comics directly in my feed reader (Miniflux). Some feeds already show the images directly in the content, others do not.

View

Be careful when using "::file-selector-button"!

Published on in πŸ‘¨β€πŸ’» Dev
Updated on

A reader pointed out to me today that the styling of buttons on my sites was broken in the Firefox ESR version 78. I took this notice as a reason to search for the root cause, because I had already noticed the error in the Tor browser, but I always thought it was due to some security rules.

View

Find broken links with GoBlog

Published on in πŸ‘¨β€πŸ’» Dev

Even though it is often said that the Internet does not forget, it does forget some things. When people shut down their websites, delete sites or even sell their domains.

View

Firefox 87 with some nice changes

Published on in πŸ‘¨β€πŸ’» Dev

Firefox 87 was released with a new feature for everyone developing websites with light and dark modes.

View

Tor support in GoBlog

Published on in πŸ‘¨β€πŸ’» Dev

I don’t know of any other blogging software that supports this: Serve a blog directly as a Tor hidden service.

View

How I sync my Nextcloud with an S3 bucket using Drone CI and rclone

Published on in πŸ‘¨β€πŸ’» Dev

A few days ago, an OVH data center went up in flames and was completely destroyed. This reminded me that it is important to store backups in another place on earth if possible, so better not in the same data center as the server that might burn down.

View

Next

Jan-Lukas Else