Since I learned to create service workers for progressive web apps, I have a specific view on what I want service workers to do and I am used to writing them myself. For Angular there's a package that brings a ready to use service worker. But how can we create and use our own service worker with Angular?
Coroutines are a nice way for managing asynchronous processing, except on Kotlin/Native it is not possible to use coroutines on multiple threads at the time of the creation of this article. Nevertheless, it can be quite useful even on the main thread only. This article describes one usecase.
While programming lcarswm, I ran into a scenario where I would have liked to have something like Java's Closable. But I needed it in Kotlin/Native and I needed it on an application global scale.
I recently finished my GitHub year, a year with contributions on Github on each day without any exception. It's now one week since that year ended and time to reflect on it.
There's already a lot of guides out there about how to adjust your bash prompt. So this article is mostly for me to have easy access to my personal prefered prompt, no matter at which computer I am. But maybe it's useful for you as well.
Kotlin/Native allows to compile to a native application and use system libraries. Sometimes, this can be a little confusing at first, for example with pointers of pointers ...