Borutzki

@borutzki
58 Followers
95 Following
654 Posts

#Pythonista 🐍 | #RobotFramework specialist 🤖 | #GitLab CI/CD tweaker 🦊 | #Django dev 🧑‍💻 | #QA engineer 👌

Coding for people, not just processors.

Aside, some stuff about gym, music and books.

Microblogging in both polish and english. 🇵🇱🇬🇧

Zawieruszony Blog (🇵🇱)https://zawieruszony.blog
My Personal Blog (🇵🇱)https://borutzki.wordpress.com
Xięgozbiór (🇵🇱)https://xiegozbior.pl/
My Technical Blog (🐍)https://borutzki.github.io/

Imagine this: after sitting on some dinner for 2 hours, you notice that two random folks joined your #Spotify Jam on some TV you had no idea existed, playing music with your account (and scrobbling to your Last.FM by that).

And it's apparently not a security breach nor leaked password.

It's just an "interesting" bug in Spotify's Jam functionality.

Imagine you take a shower and some folk 500km away changes your music playing in the background because of this 🫠

See: https://community.spotify.com/t5/Other-Podcasts-Partners-etc/My-Spotify-has-started-randomly-sending-jams-to-people-near-me/td-p/6693543

As someone who’s been maintaining FOSS projects of various levels of popularity for more than a decade, I need y’all to understand one thing: LLMs didn’t change the median PR quality. (1/6)

#TIL: If you work with complex domain, you should start with proper model of that domain.

If the model is missing, no amount of scripts or workarounds will make the code readable.

(yep, I've been reading a book on #DDD recently)

@kuba przeczytałem „mają zlikwidować CDA” i zacząłem się zastanawiać jakim cudem ta platforma podpadła rządowi 😅
@CodenameTim @djangonews isn't the link for django-antipattern wrong? Doesn't load the page for me and I'd assume it should send to https://www.django-antipatterns.com/
Django (anti)patterns

A set of Django (anti)patterns: patterns and things to avoid when building a web application with Django.

Have you ever seen the typing.overload decorator in the wild and wondered what it's actually for?

I wrote a short blog post explaining the problem it solves and how to use it in practice. 🐍

https://borutzki.github.io/2026/02/07/how-to-use-overloaded-signatures-in-python.html

#Python #programming #DailyPythonista

@internetross this is one of the reasons I needed to introduce such simplistic database dump!

With ability to compare tables across two test runs, you can also debug faster e.g. using LLM to compare the JSONs (if they’re big enough) or do some quick diff! 👌

@borutzki Thanks, this is great. I tweaked it in a blog post: https://nedbatchelder.com/blog/202601/testing_exceptions_and_caches
Testing: exceptions and caches

Nicer ways to test exceptions and to test cached function results.

@nedbat nice! I'm glad to be useful! ;)

Debugger is fun and stuff but sometimes it's just faster to dump Django ORM data to a JSON, skim through it, apply fixes and forget about the topic.

Here's how to do that programmatically, e.g. during TestCase execution.

#Django #Python #programming #DailyPythonista #TDD

https://borutzki.github.io/2026/01/25/how-to-dump-django-orm-data-to-json-while-debugging.html