#Programming (Програмування)
163 posts in category «Programming (Програмування)»
Notes on programming in Ukrainian: coding languages, algorithms, the latest technologies and other useful information for developers.
What is ORM and why is it needed?
ORM is a technology that allows working with databases through code objects, simplifying development, reducing SQL queries, and s…
What are the differences between OAuth 1 and OAuth 2
The post discusses OAuth 1 and OAuth 2: their history, purpose, differences, security features, and use in modern APIs.
Main methods of authentication in API
The main methods of authentication in the API on Ruby on Rails: Basic Auth, Token, JWT, and OAuth 2 for secure access to resource…
What is ivar in Ruby / Rails?
ivar in Ruby is an instance variable, denoted by @. In Rails, it passes data from the controller to the view, maintaining the obj…
What is Row Security in PostgreSQL and why is it important for Rails developers
Row Level Security in PostgreSQL is data protection at the row level of a table. It allows for controlling access directly in the…
Offset vs Cursor Pagination in Rails: what to choose and why
Offset and cursor pagination in Rails are two approaches to splitting data into pages. Offset is simpler but slower with large vo…
What is NP-complexity?
NP-completeness is a class of problems where finding a solution is extremely difficult, but verifying a given answer can be done …
What is factorial complexity?
Factorial complexity is the rapid increase in the number of options, where for n elements the possible permutations are n!. It is…
What is Bubble Sort (algorithm explanation)?
Bubble Sort is a simple sorting algorithm that compares adjacent elements of an array and swaps them until all the numbers are in…
What is a HAR file (HTTP Archive)?
HAR file (HTTP Archive) is a .har format that stores a log of the browser's interaction with the network. It contains all HTTP(S)…