#Programming (Програмування)
166 posts in category «Programming (Програмування)»
Notes on programming in Ukrainian: coding languages, algorithms, the latest technologies and other useful information for developers.
What is factorial complexity?
Factorial complexity is a situation where the number of options or combinations grows like the factorial of the number of element…
What is Bubble Sort (algorithm explanation)?
Bubble Sort is one of the simplest sorting algorithms. Its essence lies in comparing adjacent elements of the array and swapping …
What is a HAR file (HTTP Archive)?
HAR file (HTTP Archive) is a special file format .har that stores the log of a web browser's interaction with the network. Essent…
What is integer overflow?
You have a counter that can only count up to a certain number. For example, a pocket calculator that shows a maximum of 999. If y…
What is the HEIC format and why simply renaming it to .jpg is a bad idea
Modern iPhones and some Android devices take photos in HEIC (High Efficiency Image Coding) format — this is a new image standard …
The preview in the network tab after the Chrome update has become very small.
In the new versions of Google Chrome (on MacOS in my case), the Preview in the Network Tab is very small. The same problem exists…
[Fixed] uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError)
Fix the error after installing the latest version of paper_trail:uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Log…
What is jemalloc and how does it relate to Ruby / Ruby on Rails
What is jemalloc?. jemalloc (short for Jason Evans malloc) is a high-performance memory allocator that replaces the standard mall…
How to find the maximum subarray sum in Ruby
Let's consider a classic algorithmic problem: find the subarray with the maximum sum. Problem Statement We have an array of integ…
Task to check the correctness of bracket placement (Ruby)
The condition for the task is as follows. Create a function valid_braces that takes a string consisting only of brackets: ()[]{}.…