← 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. How to quickly reset the QA/Staging branch to the state of main

    Sometimes the QA (or staging) branch becomes so cluttered with experiments that it's easier not to try to resolve all conflicts a…

  2. Elasticsearch, OpenSearch, and alternatives: a complete overview

    Imagine you have a million documents. You want to find all where the word "coffee" appears, but only those where it is used in th…

  3. Copilot error - client not supported: bad request: the specified API version is no longer supported.

    Here is the error in GH Copilot: Sorry, your request failed. Please try again.Copilot Request id: af0e035e-3458-486e-a215-XXXXGH …

  4. What is ORM and why is it needed?

    When we work with databases, we usually have to write SQL queries - selections, inserts, updates, etc. But as the project grows, …

  5. What are the differences between OAuth 1 and OAuth 2

    OAuth 1 OAuth 1 was developed in the early 2000s as a way for secure access of third-party applications to user resources without…

  6. Main methods of authentication in API

    When we create an API in Ruby on Rails, it is important to control who has access to resources. Here are the main approaches to a…

  7. What is ivar in Ruby / Rails?

    ivar is short for instance variable. In Ruby, it is written with a @ before the name, for example: @user = User.find(params[:id])…

  8. What is Row Security in PostgreSQL and why is it important for Rails developers

    PostgreSQL has a powerful but often underrated feature - Row Level Security (RLS). In short, it is data protection at the row lev…

  9. Offset vs Cursor Pagination in Rails: what to choose and why

    In web applications with large datasets, the issue of pagination arises sooner or later. Displaying thousands of records in a tab…

  10. What is NP-complexity?

    NP-completeness is a class of problems for which it is very difficult to find a solution, but easy to verify the correctness of a…