// All posts
← homeHow to fix a Windows crash caused by CrowdStrike?
We are fixing the Windows crash caused by CrowdStrike. First, boot Windows in safe mode or in the Windows recovery environment. B…
We are writing a demo game Drones vs Zombies (Gosu / Ruby)
```html I have already written a minimal overview of the functionality of the gosu library. To write a simple 2D game, you really…
Gosu Ruby Tutorial - пройдемось по офіційній документації
Це не переклад Ruby Tutorial сторінки бібліотеки Gosu, а скоріш огляд з коментарями та додатковою інформацію. Не люблю сухі Readm…
Ruby library Gosu for creating 2D games
Gosu is a library for developing 2D games and graphical applications in the Ruby programming language (as well as C++). It simpli…
How to make an empty git commit?
Making an empty git commit. Everyone has their own goals for this action. In my case - to trigger CI. git commit --allow-empty -m…
[Fix] extconf.rb failed during the installation of the Ruby library Gosu
Gosu is a popular gem for Ruby that provides a simple and powerful interface for creating 2D games. It includes features for work…
What is a function in programming?
A function is the fundamental building block of programming that defines a set of instructions or actions that are executed when …
What is the difference between variables that start with @, @@, and $?
In Ruby, variables that start with @, @@, and $, have different levels of visibility and usage (scope). Let's look at examples an…
What will be the result of adding 10.5 and 10?
A seemingly simple question can come up in an interview for a junior ruby dev position. What will be the result of adding 10.5 an…
What is immutability and mutability?
Immutability and mutability are properties of objects (in programming and other fields) that determine whether objects can change…
What does the error 'is out of range' mean in Ruby on Rails? Range Error - Integer with limit 4 bytes
RangeError can be seen in Ruby on Rails after attempting to write a number that is too large (or too small) to the database. The …
What is the difference between int and bigint in Ruby? Minimum and maximum values.
In Ruby, there is only one type of integer — Integer. In previous versions of Ruby, there were separate classes for integers of d…
Scope of a local variable in Ruby
In Ruby, a new scope for a local variable is created in several places. It is necessary to understand and study these places. glo…
Why is an empty string in Ruby not false?
An empty string in Ruby is not false. Programmers like to compare this nuance with Perl, because in Perl an empty string is false…
What is the difference between nil and false in Ruby?
In Ruby, both nil and false are used to represent the concept of "nothing" or "falseness," but they have different roles and beha…
Why does Ruby code return nil after executing puts?
In Ruby, the puts method always returns nil after printing a string to the screen. This is standard behavior for puts, as its mai…
What is the difference between immediate value and reference in Ruby?
First, we need to understand what immediate value and reference are in Ruby.Immediate value in programming is a value that is sto…
Does Ruby create a new copy of an object when assigning a variable to another variable?
When assigning a variable to a variable in Ruby, a reference to the object is created, not a new copy of the object. This means t…
Which operating systems support Ruby?
Ruby is developed on Linux and written in the language - C. Ruby runs on Linux and other UNIX-like operating systems, macOS, Wind…
What is the purpose of the CVE (Common Vulnerabilities and Exposures) database?
CVE (Common Vulnerabilities and Exposures) is a list of publicly known vulnerabilities and exploits in software and hardware. Eac…