Even though my team has been diligent with mocking external requests, a few web requests still managed to slip through after a few months of cranking out new features. We only noticed them when our tests started to fail. 🫣| Anže’s Blog
Django 5.2 added a new warning that shows up when you start your development server with python manage.py runserver:| Anže’s Blog
This blog has been a static site powered by Jekyll for over 13 years, and I’ve been happy with the setup. After all this time, I still enjoy using my code editor to write new posts and git commit and git push to publish them.| Anže’s Blog
After a power outage, some of my Gunicorn jobs failed to start correctly. In this blog post, I explain why it happened and how I solved it.| Anže’s Blog
Using UV to manage dependencies of your Django application.| Anže’s Blog
Adding special syntax to Javascript or Python to allow Go-like error handling feels like a good idea at first glance, but I think it doesn't improve the issues with error handling in these two languages.| blog.pecar.me
pip sometimes returns a checksum error when the urllib3 library is unable to parse a received TLS packet due to a network error. This pip issue will be resolved in 2025 when Python 3.9 is EOL, but you can get around it today by using wget or curl.| blog.pecar.me
What you need to know before putting SQLite in production| blog.pecar.me
How and when to use Streaming HTTP responses and when not to.| Anže’s Blog
I made a video of me deploying a new Django project to my Raspberry Pi.| Anže’s Blog
My thoughts on code reviews.| Anže’s Blog
How to configure SQLite for better throughput with Django.| Anže’s Blog
Explains `database is locked` errors in Django when using SQLite, and how to solve them.| Anže’s Blog
This article shows how to achieve zero-downtime deploys of your Django, Flaks, or FastAPI app using only Gunicorn. It explains how to reload the Gunicorn process with the -HUP signal using systemd or the kill command directly making sure no requests are dropped during the upgrade.| Anže’s Blog
Speed up your SQLite writes and reads with this crazy trick. 🤪| Anže’s Blog
How to write a simple pytest plugin.| Anže’s Blog
Discover the most favorited posts from developers on Mastodon with Fedidevs Posts.| Anže’s Blog
How I've built django-tui| Anže’s Blog
Scribbling down how I automated publishing to PyPI with GitHub Actions.| Anže’s Blog
I am coding a TUI application to help me with my daily writing.| Anže’s Blog
How to automatically reload your Textual app when code changes occur| Anže’s Blog
Upgrading your database with Blue/Green deployments| Anže’s Blog
Ensure your SSL certificate doesn't expire to avoid downtime| Anže’s Blog
Why and how to use the Testing Library with Selenium in Python.| Anže’s Blog
A short story on how I managed to not overengineer a read-only JSON API.| Anže’s Blog
The `import __hello__` easter egg in Python.| Anže’s Blog
A change in how Python handles `str` and `int` mixins in Enum classes might break your code when you upgrade to Python 3.11.| Anže’s Blog
An example of smelly code that served customers for over 6 years without issues before breaking.| Anže’s Blog
...| Anže’s Blog
How we found and fixed an integer overflow error in our Django app.| Anže’s Blog
Overview of common methods for managing Python dependencies| Anže’s Blog
Upgrading from Django 2.2 to Django 3.2 caused a severe performance degradation with MySQL 5.7 due to a bug introduced in Django 3.1.| Anže’s Blog
Highlighting some of the new features in Python 3.8 and 3.9.| Anže’s Blog
In the last article we learned how important it is to reduce the friction in code reviews, by making code reviews your top priority. Based on the theory of constraints, not working on the bottleneck is counterproductive. If your code review queue is backed up, writing more code will not make you deploy features any faster!| Anže’s Blog
Code reviews are insanely useful. The only problem is that they have the nasty habit of making your cool new feature stuck in the queue waiting for reviewers. Let’s take a look at how to make sure code reviews are done as efficiently as possible. Let’s see how we can do quality code reviews without impeding feature velocity.| Anže’s Blog
Code reviews are an important part of how we write code today. It’s pretty rare to find a company that doesn’t practice code reviews in some shape or form. If the drivers for doing code reviews in the company aren’t engineers it’s regulation. Code reviews have become a compliance requirement for some security standards (e.g. PCI DSS 3.0)!| Anže’s Blog
I’ve been using golang for the past few days and I really like it. It’s fast, it’s typesafe, it’s easy to learn and it has concurrency built right into the language.| Anže’s Blog
Last Friday a coworker asked me how was I able to grasp the complexity of our project so quickly, while he’s been struggling with it for months. I never gave it much thought, but it was true. I went from novice to pro faster than any other dev that joined the team. This even went so far that the CEO started calling me ‘star developer’. At first I fought they were all mocking me, but later I came to realize they were honestly impressed by the progress I’ve made.| Anže’s Blog
| Anže’s Blog
Recently, I’ve helped in the making of a cool little side project WindowShopper.| Anže’s Blog
It’s Friday night and I’ve just survived my first week of being self-employed. It’s been a helluva ride getting all the paperwork straightened out, finding an accountant, opening a new bank account, sending out invoices, and, the most frightening of all, actually talking to people. I much prefer talking to computers - programming, solving problems or even dealing with merge conflicts, but I’m an adult now and I’m told I can’t just play around and code all day anymore.| Anže’s Blog
It was just a matter of time until my game development hobby started creeping into my serious work. I have made an application prototype, that draws a 3D graph, using what is essentially a game engine. The application can be run on Android, iOS, Blackberry and desktop (Windows, Mac OSX, GNU/Linux).| Anže’s Blog
Recently I’ve bought a small bluetooth keyboard for my nexus 7. And when I say small I actually mean tiny. The keyboard is as big as the tablet.| Anže’s Blog
Most modern browsers have a huge address bar that makes up a huge chunk of the browser chrome:| Anže’s Blog
A month ago I’ve added Google Game Services (GGS) to my Android game. I’ve added a few achievements and a leaderboard and this is what happened:| Anže’s Blog
So you want to create a cross-platform game that works on all the major operating systems and mobile as well? Here are some of your options:| Anže’s Blog
Google Analytics is an awesome tool. I have the utmost respect for the googlers working on it every day.| Anže’s Blog
Optimize your Django SQLite configuration for production.| blog.pecar.me