// All posts

← home
  1. What is jemalloc and how does it relate to Ruby / Ruby on Rails

    jemalloc is a fast memory allocator that reduces fragmentation and improves the performance of Ruby/Rails applications. Ideal for…

  2. How to find the maximum subarray sum in Ruby

    Find the subarray with the maximum sum in an array of numbers using Kadane’s Algorithm. Simple explanation, implementation in Rub…

  3. Task to check the correctness of bracket placement (Ruby)

    Let's consider a simple solution to the problem of checking the correctness of bracket placement (Ruby).

  4. Task: Convert a Roman numeral to decimal (Ruby)

    Learn how to convert a Roman numeral to a decimal using Ruby. A simple and effective solution to the problem with an explanation …

  5. [FIXED] cannot load such file -- html/pipeline (LoadError) occurs during rails generate thredded:install

    Fix the error cannot load such file -- html/pipeline (LoadError) that occurs during rails generate thredded:install (when install…

  6. Where to find an older version of Google Chrome and download it? Using an old Mac as an example.

    Where to find old versions of the Google Chrome browser? Official installers for old versions of Mac, Windows, Linux, etc.

  7. Fixing minikube on Mac with M1 (abandoning qemu, running on docker)

    Fixing minikube on Mac with M1 (abandoning qemu, running on docker). The samurai's path.

  8. Fixing minikube "You are trying to run the amd64 binary on an M1 system."

    Fixing minicube "You are trying to run the amd64 binary on an M1 system." Please consider running the darwin/arm64 binary instead.

  9. [Codecov] What is the difference between patch and project coverage?

    What is codecov and what do Patch coverage and Project coverage mean? An explanation in simple terms.

  10. Why does PostgreSQL skip IDs when saving new records? (Heroku)

    Why does PostgreSQL skip IDs when saving new records? (Heroku). Explanation of the reason for gaps in ID sequences.

  11. Pessimistic Lock in Rails: what it is and when to use it. What are the alternatives?

    Learn how to use pessimistic lock in Rails to protect against concurrent record changes. We compare it with optimistic locking an…

  12. Embedded programming: what it is and how to get started

    Embedded programming is the development of software for resource-constrained devices: microcontrollers, IoT systems, industrial a…

  13. What is XOR and how does it work?

    XOR (exclusive OR) is a logical operation used in encryption, bit manipulation, and difference checking. If the values are the sa…

  14. What is CFB (Cipher Feedback)?

    CFB (Cipher Feedback) is an encryption mode where each block depends on the previous one, providing data protection. It is used i…

  15. What is debounce in JavaScript and why is it important?

    Debounce in JavaScript is a technique that limits the frequency of function calls to avoid unnecessary load on the browser or ser…

  16. What is Memoization (examples in Ruby and Ruby on Rails)?

    Memoization is an optimization technique that caches the results of a function to avoid repeated calculations. In Ruby and Rails,…

  17. What is a Promise in JavaScript and how to quickly understand its essence?

    What is a Promise in JavaScript and how to quickly understand its essence? Let's analyze a couple of examples of promises that wi…

  18. Fix the error [DEPRECATION] #adapters is deprecated. Use #profiles instead. (Codecov / docile)

    Fix the error [DEPRECATION] #adapters is deprecated. Use #profiles instead. (Codecov / docile)

  19. [Fix] Heroku / SearchBox addon - indexing error "The client is unable to verify that the server is Elasticsearch"

    [Fix] Heroku / SearchBox addon - indexing error "The client is unable to verify that the server is Elasticsearch". Installing the…

  20. [Fix] No such file or directory @ rb_sysopen - tmp/pids/server.pid

    Fix for starting the Rails server. Resolving the error No such file or directory @ rb_sysopen - tmp/pids/server.pid. Explaining t…