Breadcrumbs Collector

Acquiring knowledge one crumb at a time

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…. Continue Reading →

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)… Continue Reading →

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… Continue Reading →

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… Continue Reading →

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… Continue Reading →

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… Continue Reading →

Optimizing MySQL queries

One suboptimal database query can effectively paralyse whole application. Tracking down such bottleneck is one thing but speeding it up is not a trivial task. This article is intended to show how one can analyse and refactor slow database query…. Continue Reading →

Ext Js Pathfinder progress report #7

Today I took care of basic support for windows. They are not very interesting when it comes to interacting with. The only way to do something with them beside moving them around is to close them using icon in the… Continue Reading →

Dive into Python’s asyncio, part 5 – protocols

Protocols are asyncio’s primitives supplied as convenient base classes to quickly set up clients or servers using TCP/UDP (+ subprocesses). These are especially helpful when we need to implement low level handling of protocol of some sort. I believe they… Continue Reading →

Ext Js Pathfinder progress report #6

Ext JS has plenty of components. There are main categories, quite familiar to many people like buttons and less-expected descendants such as split buttons. Split button is a creature that hides a menu – when user clicks an “arrow part”… Continue Reading →

« Older posts

© 2017 Breadcrumbs Collector — Powered by WordPress

Theme by Anders NorenUp ↑