Create a strong backside for your project.

Photo by Shahadat Rahman on Unsplash

Previously, I wrote about front-end static website services. But usually, you need also a back-end service to serve the data and logic for your site.

There are 3 main types of back-end services:

Virtual machine — the heaviest, but gives you the most freedom in tuning and managing packages and storage.

Container — aka Docker, a good compromise between virtual machine’s capabilities and serverless maintenance. The container itself has its own lightweight OS (usually based on Linux) and disk space. It’s easy to create and maintain. …


Good opportunity to mark your presence on the Internet.

Photo by Domenico Loia on Unsplash

It’s tempting to have your own internet site and pay nothing for it. You shouldn’t pay anything except, maybe, for a first-level domain name to have your own page, blog, or site for business.

What is a static website?

A static website is a site that contains only static web pages. According to Wikipedia — A static web page (sometimes called a flat page or a stationary page) is a web page that is delivered to the user’s web browser exactly as stored.

But it sounds like the Internet in the good old days, right? Exactly…


Photo by Hello I'm Nik on Unsplash

At the end of the previous year, I wrote an article about new year’s resolutions for the first quarter of 2021.

It’s interesting, for me at least, to compare what I’ve done.

I will go one by one and evaluate myself.

  1. PC upgrade — not done. Prices on graphic cars skyrocketed during this quarter, thank the Bitcoin fever. It’s, basically, doesn’t make any sense to upgrade PC right now. And those mentioned earlier game turns out to be a laggy-buggy creation. Resolution — I will wait another quarter.
  2. PС notebook — not done. Because I didn’t find a side hustle…


Help yourself with some Jupyter magic.

Photo by Ramón Salinero on Unsplash

IPython has special commands, called “magic commands”, which are specially designed to help and gain more information about how your program works.

Magic symbol “%”.

Magic commands usually start with the special symbol “%”. Such commands as %debug or %time have this symbol at the beginning. So, when you see this symbol, you know that is the magic command.

But! there’s an exception — by default you no need to put this symbol before the automatic command unless you don’t have a variable with the same name already. …


Create and deploy your own resume or portfolio for free.

Recently, one of the HRs from LinkedIn asked me to send my CV to her. I was quite puzzled, as I was in need to spend some time to find my latest CV. And when I found it, I realize that I have this CV (with small variations) all my work life! Plain old word document (saved as .rtf — for Linux of these days when it wasn’t able to read Word documents). It looks so “two thousand and two” these days (to be honest, the first version was created…


How to have a maximum joy for minimum money?

Photo by “Amatérské automobilové závody CZ

If you are a petrolhead. You like watching races, playing race games, but thinking that race in the real world needs a lot of money, effort, and all your free time. I have good news for you, it’s not necessary!

What to do if you want to race, but don’t want to spend a lot of money?

An answer — low-key amateur races!

You don’t need to spend a fortune buying a proper powerful (and very expensive) racecar to go racing. All you need is your daily car or old cheap…


One of the most important metrics in machine learning.

I searched a little about how to explain what is bias and variance and found this perfect video. It explains these terms quickly and understandable.

Here I just write my own summary of this great video.

Just imagine we have some dataset, doesn’t really matter what. It can be weight and height of mice, or price and square meters of flat, or fuel consumption and displacement of the car, whatever.

This dataset has a diagram like this:


One of the main pillars of DDD.

Photo by Sigmund on Unsplash

During the development right communication process is one of the important parts. Lack of communication can lead to delay, wrong work, or, even, fail of the whole project. On the other hand, if business and developers speaking in the same language it can make the process much faster and easier.

During the development of a software project, all participants must be “on the same page” in terms of the meanings of the project. When somebody says the word, there shouldn’t be any ambiguity in understanding what this word means. For example, “Trade” and…


A very simple explanation

Photo by Jon Tyson on Unsplash

A Support Vector Machine (SVM) is one of the widely used algorithms in Machine Learning. In the simple implementation, it looks similar to the linear regression but can be more precise in more complex classification tasks.

How it works?

From first sight, it looks similar to linear regression, but there are also a few key differences. In the simple case of classification, it also tries to separate two classes by the straight line.

This line is called hyperplane and the method to find it is to find the maximum sum of the distance between closest points from both classes…


Deploy Flask application in lambda.

Recently I’ve found out that it’s possible to deploy flask WebAPI application as a lambda function.

The idea to establish a free (or almost free) API back end looks very tempting. Along with such architecture as JAMStack it gives you the possibility to create your own website without the need to pay for hosting.

Also, you can use it for various applications. Such as web scraping, a prediction engine, or chatbot.

Why Flask?

Because it’s a Python and you can write programs on Python everywhere, even on your mobile phone.

It’s well established, with good…

Bogdan Samoletskyi

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store