Other articles


  1. About me

    About me

    I'm a middle-senior backend developer. I focus mainly on how to make development more friendly, easier and fearless. This includes discovering and proposing different programming techniques and concepts, adapting tools which increase depeloper performance (linters, formatters, CI/CD pipelines, unified depelopment environments, project templates, etc.)

    Work experience

    • 2020-now …
    read more
  2. Next/Previous model in Django ORM

    Task

    I had a task: there is a table of posts Post with dynamic ordering based on user's input (newest first, by views count, etc.). I need to add button Next and Previous button on each posts' page. Ordering must be preserved between list view and serfing between posts.

    Solution …

    read more
  3. What to read #1

    What to read #1

    List of links of interest materials to read with short description.

    FOMO? YAMO.

    Hype technologies and methodologies aren't necessery.

    Why is the file being rsync’d instead of an S3-Ansible-pipeline? — Why not?

    Why is there a full fledged Node build environment for a page with a …

    read more
  4. "Full and Partial Functions"

    Full and partial functions

    Functions in programming can be splitted into two categories: 1. Partial function - there is at least one combination of arguments that has no defined result. Usually it leads to undefined behaviour or raised exception

    # What if `raw_number` cannot be parsed to integer? ValueError will be raised …
    read more
  5. Parse, Don't Validate

    Parse, don't validate

    That the difference between parsing and validation? Well, let's give definitions for both of them. - Parsing - converting some less structural data to some more structures. For example, converting str to int or json via json.loads it a parsing, not every string can be converted to them …

    read more
  6. pre-commit Advices

    What is pre-commit

    At first, let me remind what pre-commit is. pre-commit is a tool to manage git hooks inside your projects, package them and import them from other sources. Also it make very convinient to manage them using it's declarative YAML configuration.

    Git hooks are useful if you have …

    read more

links