We are often accused here that we are writing promotional articles, the purpose of which is “again to promote our courses”. Therefore, today we will not say that the
“DevOps practices and tools” course will start soon - no.
Today we want to share with you the method of the draw that our teachers came up with - engineers of Express 42. Articles about methods of the draw, as statistics show, also not everyone likes to read, but the irony of fate (in the last draw of places on the WEB Developer course, both winners - readers Habra) simply demands that we continue to write :)
Before proceeding to the description of the mechanisms of the rally, a small background: before each course we hold open doors, where we play for those who have successfully passed the entrance test, free places on the course. Therefore, our teachers are faced with an unusual task: to come up with not only a crystally fair joke, but also the most interesting joke: after all, the Open House is fun!
')

Many copies were broken, as a result, the guys from Express 42 came up with two machines for the rally in the form of two applications running in Docker containers.
One application is simpler: it will randomly select participants' email addresses for a given period of time and display them on the screen. Two lucky ones, whose email addresses will remain on the screen after a specified time, will be able to study for free on the DevOps course. The application will run in the Docker container. We decided to use Docker for a reason: working with this tool has a special place on the course. In addition, anyone who has Docker installed on their local machine will be able to download and run the application using just one command, since the container image will be available on the DockerHub. The source code of the application will also be available in the public repository of the Express 42 company, which will be called gilmor (did you watch the movie about the lucky one?).
Pretty simple and no frills. And it is. Because the creative was allowed on the second method: on the second Open Day, we decided to guess the potential DevOps expert among the participants!
To do this, our teachers wrote another small application, which was again packaged in a Docker container. The name was also chosen appropriately: future-devops, under this name it will be available from Express 42 on GitHub and DockerHub. How to define a born DevOps expert? We think that DevOps values are manifested in his every endeavor, and the practices and tools themselves are at hand. The future-devops application is able to identify two participants in whom the subconscious love for DevOps is most manifest :)
At the entrance are two lists - a list of e-mail participants and a list of technologies used in the course. Each element of both lists will be counted checksum. Using the Levenshtein distance, we will determine the closest to the list of e-mail hash technologies. These e-mails will be the winners! If the result is more than 2 addresses, then the lucky ones will be selected by the random function.