What is the purpose of the HTTP header Content-Type?
Anonymous Quiz
10%
To specify the response status code
85%
To specify the media type of the resource or payload
4%
To authenticate the user
1%
To indicate the caching policy
What does this code output?
puts "π" * 3
puts "π" * 3
Anonymous Quiz
3%
π3
88%
"πππ"
1%
"3π"
7%
Error
1π2π±1
Which header controls cross-origin resource sharing (CORS)?
Anonymous Quiz
9%
Authorization
3%
User-Agent
85%
Access-Control-Allow-Origin
2%
Content-Length
Which of these is NOT a valid way to define a method in Ruby?
Anonymous Quiz
6%
def beach; "relax"; end
46%
def surf() "cool" end
43%
def 123sun; "hot"; end
5%
def chill(*args); "π"; end
Whatβs the main drawback of monolithic architecture in Ruby on Rails applications?
Anonymous Quiz
2%
No database support
67%
Harder to test small parts of the system
28%
Ruby cannot scale monoliths at all
3%
Controllers cannot talk to models
Forwarded from Android frameworks
π‘ WiFi Temperature Sensor (ESP32 + DHT11)
A simple IoT temperature and humidity sensor based on ESP32-C3 and DHT11.
The device measures temperature and humidity, sends the data to a backend server, and from there it can be forwarded, for example, to a Telegram bot.
https://github.com/UDFSoft/Wifi-Temp-Sensor/
A simple IoT temperature and humidity sensor based on ESP32-C3 and DHT11.
The device measures temperature and humidity, sends the data to a backend server, and from there it can be forwarded, for example, to a Telegram bot.
https://github.com/UDFSoft/Wifi-Temp-Sensor/
1π2β€1π1
What is the main risk of using Active Record callbacks too much in a Rails application?
Anonymous Quiz
6%
They make SQL queries run faster.
83%
They hide business logic inside models and make code harder to follow.
5%
They prevent background jobs from running.
5%
They force controllers to duplicate logic.
What will this code print?
puts "2 + 2 = #{2 + 2}"
puts "2 + 2 = #{2 + 2}"
Anonymous Quiz
4%
2 + 2 = 2 + 2
2%
2 + 2 = 22
92%
2 + 2 = 4
2%
Error
In a distributed Ruby system, what is the biggest challenge of scaling via microservices?
Anonymous Quiz
8%
Choosing gems for each service.
9%
Deploying to a single server.
3%
Running Rails without a database.
80%
Network communication, consistency, and monitoring.
How do you create a hash in Ruby?
Anonymous Quiz
98%
{ name: "Alice", age: 25 }
0%
[ name: "Alice", age: 25 ]
1%
( name: "Alice", age: 25 )
0%
< name: "Alice", age: 25 >
Which header is used to send authentication tokens in REST APIs?
Anonymous Quiz
9%
Content-Type
3%
Accept
85%
Authorization
3%
Cookie
What does HTTP status code 201 Created mean?
Anonymous Quiz
3%
The request failed due to server error.
90%
A resource was successfully created.
2%
The resource was deleted.
5%
The request is still processing.
Santa asks:
Which design choice makes systems easier to test?
Which design choice makes systems easier to test?
Anonymous Quiz
13%
Logic in controllers
16%
Logic in ActiveRecord models
69%
Logic in service objects / plain Ruby objects
2%
Logic in callbacks
π4
Ruby in 2025 π
Ruby in 2025 stayed calm and mature.
No hype, no drama β just stable, readable, productive code.
π Performance kept improving (YJIT)
π€ Rails focused on Hotwire and boring, reliable architecture
π More modular monoliths, fewer unnecessary microservices
π§ͺ Cleaner code, fewer callbacks, more explicit logic
Ruby isnβt trendy anymore β and thatβs its strength.
Itβs a language for teams who value clarity, stability, and long-term maintenance β€οΈ
Ruby in 2025 stayed calm and mature.
No hype, no drama β just stable, readable, productive code.
π Performance kept improving (YJIT)
π€ Rails focused on Hotwire and boring, reliable architecture
π More modular monoliths, fewer unnecessary microservices
π§ͺ Cleaner code, fewer callbacks, more explicit logic
Ruby isnβt trendy anymore β and thatβs its strength.
Itβs a language for teams who value clarity, stability, and long-term maintenance β€οΈ
1π₯16β€4π₯°3
What is the correct way to handle a ZeroDivisionError in Ruby?
Anonymous Quiz
49%
using rescue
8%
using raise
37%
using begin and rescue
6%
using catch
What is an Event Store in the context of event-driven architecture?
Anonymous Quiz
15%
A database for storing user data
29%
A tool to manage application state changes
46%
A system for capturing and replaying events
9%
A service for handling HTTP requests
What method in Rails controllers is used to handle HTTP GET requests for retrieving data?
Anonymous Quiz
4%
get_data
40%
show
42%
index
14%
fetch
What is the name of the Rails callback that runs before a model's destroy method?
Anonymous Quiz
5%
before_save
2%
after_commit
2%
around_validation
91%
before_destroy
β€1
What is the correct way to create a Thread in Ruby?
Anonymous Quiz
85%
Thread.new { puts 'Hello' }
9%
thread = new Thread('puts', 'World')
4%
Thread.start { puts 'Ruby' }
1%
new Thread { puts 'Concurrency' }
β€1
Forwarded from Android books channelπ€
[EN] For lovers of 2000s nostalgia:
[RU] ΠΠ»Ρ Π»ΡΠ±ΠΈΡΠ΅Π»Π΅ΠΉ Π½ΠΎΡΡΠ°Π»ΡΠ³ΠΈΠΈ 2000-Ρ :
https://github.com/USoft-History/J2ME-Articles/
[RU] ΠΠ»Ρ Π»ΡΠ±ΠΈΡΠ΅Π»Π΅ΠΉ Π½ΠΎΡΡΠ°Π»ΡΠ³ΠΈΠΈ 2000-Ρ :
https://github.com/USoft-History/J2ME-Articles/