My one week with a Tesla
In December of 2023 my girlfriend and I went on an eight day vacation to Iceland, where we wanted to rent a car and travel the south coast. This seemed like the perfect chance to try out living with an electric car, since the charging infrastructure in Iceland is very good, and their electricity very cheap. So we rented a Tesla model 3 and let’s just say I have some opinions.
2023 in review
Another year in review - even though it feels like I wrote the previous one not so long ago. Time flies and it’s flying faster and faster each and every year.
Deleting anonymous users' baskets when their sessions expire
How do you delete baskets belonging to anonymous users when their sessions expires? It wasn't quite as simple as I thought.
Adding custom actions to the Django Admin
Let's add custom actions to Django's admin site - but to the change form, not the list view.
Setting up a Debian 11 server for SvelteKit and Django
I recently had to set up a brand new server for a website running on SvelteKit and its API running on Django. I am a software developer and setting up servers and hosting isn't something I normally do, so I followed a bunch of different tutorials. In this article I want to combine all these tutorials, mostly for future me, but hopefully you'll find it useful as well.
2022 in review
Another year flew by, I can't really believe it's already been a whole year since I wrote 2021 in review. A very busy and somewhat stressful year - although not for all the reasons I predicted a year ago.
Hosting SvelteKit
I've been running my side project Critical Notes, built with SvelteKit, on my own server for about a year now and it's been pretty much rock solid. Since I saw some questions about how to host a SvelteKit app on your own server, I figured I'd document my setup.
SvelteKit session refactor
SvelteKit version 1.0.0-next.415 removed the session object and store. Refactoring my project wasn't very straightforward, let's go over the changes.
SvelteKit Architecture - the solution
Last August I wrote about trying to come up with the architecture for a SvelteKit app I was working on, and failing. I'm happy to say that I have found a solution for all my problems!
2021 in review
Welcome to the end of 2021, a.k.a. the second year of the pandemic. Another year of not going abroad, barely seeing friends, playing Dungeons & Dragons via Zoom instead of at the table. A year of mild depression and feelings of loneliness. But also a year of hope when we all got access to the vaccines and when we didn't hear about Trump every day in the news. And last but not least: it was also a very productive year!
Working around HttpOnly cookie problems in SvelteKit
When HttpOnly cookies didn't work as expected in my SvelteKit project I had to find a workaround.
Saga 1.0.0 has been released
About ten months ago I wrote that I was confident that the API of Saga wasn't going to change a lot anymore, and that I'd release 1.0.0. Well, it's taken a little bit longer than I expected back then, but 1.0.0 has finally been released!
Vapor 4 versus Django REST Framework
Over two years ago I wrote an article where I compared Vapor 3 to Django REST Framework. It's time for a rematch with Vapor 4.
Architecting a SvelteKit app - and failing
I was working to architect a SvelteKit app so that it does as few requests as possible, from a central place, so that all subpages have access to the content. Sadly dealing with SSR makes it very hard to achieve my goals.
My one big complaint working with Vapor 4
I'm trying out Vapor 4 for a side project, and one thing that I am constantly running into is the amount of boilerplate and copy-pasted code. Are there no better solutions for this?
Interview with proglib.io
Recently I was interviewed for the Russian IT website proglib.io. Since it might be interesting for non-Russian speakers, here it is in the original English version.
WWDC21 keynote review
A new year, a new WWDC with once again new iOS, iPadOS, macOS and watchOS releases. If you ask me, I think yearly releases are overkill and really not necessary; I’d rather have Apple split off features like Weather, Maps, Notes and more into...
Mentee Question 5: What's the deal with coordinators?
A few weeks while ago in my how to get started article I mentioned coordinators in the “What architecture should I use?” section, and how they allow you to decouple your view controllers from one another, and improve the way you can test your code....
Mentee Question 4: When to use PassthroughSubject and CurrentValueSubject?
That’s a great question! And actually one I asked myself too, when I just got started with Combine. Let’s first explain what PassthroughSubject and CurrentValueSubject are though. Subjects are a kind of publisher that you can subscribe to, but can...
Mentee Question 3: How to know when multiple publishers completed?
In JavaScript-world, it's really easy to know when multiple promises completed: just use Promise.all. How do you do the same thing in Combine?