← postsPopular categories

#Programming (Програмування)

166 posts in category «Programming (Програмування)»

Notes on programming in Ukrainian: coding languages, algorithms, the latest technologies and other useful information for developers.

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

    Let's consider a simple solution to the problem of converting a Roman numeral to a decimal (Ruby). Condition Create a function so…

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

    How to fix the startup error rails generate thredded:install? ~/Desktop/sandbox rails generate thredded:install /Users/username/.…

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

    Codecov is a service for analyzing code coverage by tests, which integrates with CI/CD and shows which part of the code is actual…

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

    Checking the last ID in the database, and it is unexpectedly larger than the actual number of records. Why does this happen?In He…

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

    If you are working with Rails and need to avoid simultaneous changes to a single record by multiple processes, you should pay att…

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

    Embedded programming — is the development of software for devices that have limited computing capabilities and perform specialize…

  7. What is XOR and how does it work?

    XOR (exclusive OR) is a simple yet useful logical operation used in programming, cryptography, and data processing. It works on t…

  8. What is CFB (Cipher Feedback)?

    CFB (short for Cipher Feedback) is one of the methods of data encryption that works on the principle of "chaining." Imagine you h…

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

    If you have ever worked with events in JavaScript, such as scroll, resize, or keyup, you have probably noticed that they can be t…

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

    Memoization — is an optimization technique that involves caching the results of function executions to avoid redundant computatio…