2025

// JUL 06 2025
ARCHITECTUREPATTERNSPYTHON

Availability Archetype in Practice

Today I want to write about availability software archetype. This will be not a generic description of it but rather a case study of problem I had to solve.

// JUN 07 2025
PATTERNS

Build a Policy-Based Access System in Python

Last week, I was staring at permission checks scattered across my API codebase. You know the feeling - nested if-statements everywhere, duplicated logic, and th...

2024

// AUG 06 2024
HOWTO

Chat with HTMX, WebSockets and Hono

Last week, I wrote about [tweaking `htmx` to display instant messages](https://kubaszwajka.com/posts/posts/instant-message-display-in-chat-apps-with-htmx). ...

// AUG 01 2024
HOWTO

Instant Message Display in Chat Apps with htmx

While building my AI assistant, I needed a simple chat interface to test it locally. The challenge was displaying user messages instantly while waiting for API responses...

2023

// DEC 31 2023
RANDOM

Spiral Indexing

- [https://github.com/JakubSzwajka/spiral-grid-indexing](https://github.com/JakubSzwajka/spiral-grid-indexing/blob/main/main.py)

2022

// APR 16 2022
WEB3

Ethereum ICO - Minted Crowdsale

The previous [post](https://jakubszwajka.github.io/Ethereum-token/) was about the ERC20 token. Now let's prepare Crowdsale for this token. I'll keep this Crowds...

// APR 07 2022
WEB3

Coding my first Ethereum token

One year passed since the very first post here. And half from the last one xd. Time to get cracking!

2021

// APR 22 2021
PATTERNSPYTHON

Build your own event system in python

Event system is not hard to build on your own. There are plenty of libraries ready to use, but for better understanding I want to implement it by myself.

// APR 06 2021
HOWTOPYTHON

Mocking API in Python

They said that cool guys test their code. So I have tried. You can find here some samples for quick mocking API in your project.