Why is TOON better than JSON when working with AI?
TOON format is a simple text data format that simplifies working with JSON-like structures. It is flat: each key and value is written on a separate line, without brackets, quotes, or complex structur…
Read story→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, …
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…
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…
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])…
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…
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…
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…
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 exponential growth?
Exponential growth is the process where a quantity increases in a geometric progression. In other words, each subsequent step mul…
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 a brain stack?
The brain is not just a sponge of neurons, but a system of layers, each of which performs its own function. In cognitive sciences…
What is combinatorial explosion?
A combinatorial explosion is a phenomenon where the number of possible options rapidly increases with the addition of elements. E…
What is vibe coding?
Vibe coding is a state where you don't follow strict programming rules, but simply catch the mood and code intuitively. Without u…
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…