#ruby

razzlom is always sadrazzlom@quietplace.xyz
2026-01-26

Читаю книгу по Ruby и она вся пропитана тем, что так пишут нубасы:

if operator.start_with?("t")
puts((1..10).collect { |n| n*number }.join(", "))
else
puts((1..10).collect { |n| n+number }.join(", "))
end

а вот так Ruby проффесионалы:
method = number.method(operator.start_with?("t") ? :* : :+)
puts((1..10).map(&method).join(", "))

Но ведь во втором случае вообще ничего не понятно. Брейнфак какой-то...
​:blobcatnotlike:​

#Ruby

Phantasus 🏳️‍🌈phantasus@fedi.at
2026-01-26

Does anybody need going to #fosdem2026 #fosdem an #elixir or #ruby coder? I can also do #python #java and #clang

2026-01-26

I recently discovered not one, but TWO text editors written in Ruby:

- Emacs-like: github.com/shugo/textbringer
- Vim-like: github.com/S-H-GAMELINKS/mui

It would be neat to be able to use Ruby to customize and extend my editor.

#ruby

2026-01-26

【勉強会参加】Ruby4.0.0で追加されたRuby::Boxの機能を知る #Ruby - Qiita qiita.com/Chiba_67/items/9e924

2026-01-26

Aprende Ruby: 1 - Introducción

Este es el primer post en una serie que estoy escribiendo denominada "Aprende Ruby". Por este medio quiero difundir el lenguaje de programación Ruby con contenido en español.

picandocodigo.net/2026/aprende

#Ruby #RubyEnEspañol #AprendeRuby

#TaylorEngine v0.4.1 has released!

- New collision methods
- New colour tweaking methods

Trying to do minor releases with some frequency now that the biiiig redesign is all done.

taylormadetech.dev/2026/01/26/

#ruby #GameDev #OpenSource #FOSS #MIT

The Taylor Engine header
2026-01-25

I'm looking for #Ruby or #Elixir work, can start immediately. Freelancer, getter-of-things-done, many years of experience, feel free to DM for more info. Can work worldwide. Happy to work with other languages/frameworks and devops as needed.

2026-01-25

@joerg_spengler yes but #problem example #mastodon mas.to is running on #donations (?) the massive #RAM hungry #ruby is a expensive 500 bucks a month expensive problem hetzner.com/dedicated-rootserv #eu #gov needs to help

Curated Hacker NewsCuratedHackerNews
2026-01-25

Accept_language 2.2 – RFC 7231/4647 compliant Accept-Language parsing for Ruby

github.com/cyril/accept_langua

three word chant3wordchant@social.coop
2026-01-25

Almost 15k lines of #Ruby, bodily dragged into the present, catching up on ~6 years of updates.

Test coverage increased from "uhh basically nothing" to 65%.

And, thanks mostly to #Rubocop, the code is way neater and more maintainable now.

We even accidentally fixed some longstanding bugs!

Hugely excited for the next major dev task: moving away from "Amazon" "Web" "Services" for file hosting.

three word chant3wordchant@social.coop
2026-01-25

WOW IT IS DONE!!!111

github.com/neuronic-games/leve

497 files changed, +12137, -8793

Now there are ~5 days to test before the next cohort of students is let loose on the platform 😌

#Ruby #Rails

I updated my "is #guile fast?" page with the new r7rs #benchmarks data and anchored Guile and #Chez in the benchmarksgame:

#Scheme benchmarks: draketo.de/software/guile-fast
Compared to other languages: draketo.de/software/guile-fast

Chez is roughly factor 7 slower than C,
Guile roughly factor 18
(#Java 3.5, #SBCL 5, #Racket 12, #Ruby 60 and #Python 70)

Diagram of the slowdown of different programming languages, with Guile and Chez anchored it:

#+caption: Approximate geometric mean slowdown¹ as of 2026-01, /Guile* and Chez* only via their relative speed to Racket. ¹ taken by eye from the benchmarksgame graph./
|          |   C | Java | SBCL | Chez* | Racket | Guile* | Ruby | Python |
|----------+-----+------+------+-------+--------+--------+------+--------|
| Slowdown | 1.1 |  3.5 |    5 |     7 |     12 |     18 |   60 |     70 |
Bozhidar Batsov (a.k.a. Bug)bbatsov@hachyderm.io
2026-01-24

The TIOBE index is often cited when people discuss programming language popularity, but it's ridiculously flawed. I mean, just take a look at the current data - according to it #Ruby and #TypeScript are less popular than #Cobol, #Prolog and Visual Basic…

2026-01-23

```
def foo = raise "useless foo"
val = true

val ||= false if foo # will raise
val ||= (false if foo) # no raise
```

#snippet #ruby

2026-01-23

my PoW is looking to hire Ruby/Rails developers at multiple levels over the next few months.

we're an established/profitable and rapidly growing startup in the health/research services space. the team is experienced and energized. compensation is competitive.

if you're a real one, be in my DMs.

#ruby #rails #hiring #jobs

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst