This post is a part of Implementing Event Sourcing series. It consists of code snippets, thoughts and practical advice how to implement ES in your own project. The contents of this post will probably make the most sense if you also read all other parts. Then you should be ready to use it in your […]
Implementing Event Sourcing in Python – part 3, robust event store atop RethinkDB
This post is a part of Implementing Event Sourcing series. It consists of code snippets, thoughts and practical advice how to implement ES in your own project. The contents of this post will probably make most sense if you also read all other parts. Then you should be ready to use it in your own […]
Implementing Event Sourcing in Python – part 2, robust event store atop PostgreSQL
This post is a part of Implementing Event Sourcing series. It consists of code snippets, thoughts and practical advice how to implement ES in your own project. The contents of this post will probably make most sense if you also read all other parts. Then you should be ready to use it in your own […]
Implementing Event Sourcing in Python – part 1, aggregates
This post is a part of Implementing Event Sourcing series. It consists of code snippets, thoughts and practical advice how to implement ES in your own project. The contents of this post will probably make most sense if you also read all other parts. Then you should be ready to use it in your own […]
I have a big class with too many methods. How do I split it?
So there you are, with a class that has over 100 (200? 500? 1000?) lines of code in Python. Wow, such an impressive achievement. Life with a monster like this can’t be easy. History of our giant class is irrelevant. What’s important is that our patient is sick and needs a treatment. We’ll cure it, […]
asyncio – choosing the right executor
During application development with asyncio you will inevitably encounter situation when there is no asyncio-compatible library to use. It may be an API client for our business partner built with excellent requests library (that naturally doesn’t work well with asyncio) or a simpler example – a Celery. Rewriting problematic dependency may be your first thought, […]
Writing custom checkers for Pylint
In the world of Python we have quite decent tools for a static code analysis. There are pylint, flake8, pep8 just to name a few. Rules they enforce are based on a solid foundation – PEP8 – Style Guide for Python Code. Beside style & convention related issues, tools for SCA can detect errors like using […]
Ext Js Pathfinder progress report #9 – plans for future
There are few things need to be done before I can say a goal of a project was attained. In the next few weeks Ext Js Pathfinder is going to finally get support for Ext Js 5 & 6. This will be even easier than providing it for Ext Js 4 because 5th and 6th […]
Ext Js Pathfinder progress report #8
The end of Get noticed competition is drawing near and so does my little open source project called Ext Js Pathfinder. I will continue it for a while to make sure it is compatible with Ext Js 5 & 6 as I planned in the beginning. What was done: finding components clicking expanding menus hiding […]
Django – squashing migrations versus continuous delivery
Every Django project may encounter a steady increase in a number of migrations over time. One way to lower their quantity is to use squashing. Squashing amounts to taking contents of few migrations and connecting them into one. This would reduce their number, but what happens if we squash a bunch of migrations that were […]