Andrei Kaleshka

Software developer | "Rake Task Management Essentials" book author

Andrei Kaleshkawidefix@ruby.social
2025-06-05

If you got #rubocop failing on EmptyInterpolation linter in the recent version (v1.76.0), there is good news for you. The issue got fixed - github.com/rubocop/rubocop/pul

#ruby

Andrei Kaleshkawidefix@ruby.social
2025-05-28

The internet's full of fakes — critical thinking is survival. Surprisingly, #sociology sharpened mine. Proud to have completed this course from @UniversityofAmsterdam and highly recommend it - bit.ly/43P21pN

Andrei Kaleshkawidefix@ruby.social
2025-05-21

I'm happy to announce the new release of actual_db_schema happened today 🎉 - github.com/widefix/actual_db_s. No significant changes, but one bug fix you might love. Happy and productive coding, everyone! #ruby #rails #productivity

Andrei Kaleshkawidefix@ruby.social
2025-04-11

@avsej rewriting everything into Python would be a costly procedure. And it the end, I doubt the final result would be better. But having the instrument in Ruby that makes its code closer to Python is appealing. It kinda unlocks you using Python inside Ruby only in those places make sense using Python.

Andrei Kaleshkawidefix@ruby.social
2025-04-11

@avsej the line gets too long then. I believe it’s clear from the screenshot. We need another concept that would shrink the option names and expand automatically where needed. But thanks for your feedback I got an idea how to make this. If all params will be options and those decorators just decorate them it would make the trick.

Andrei Kaleshkawidefix@ruby.social
2025-04-11

Got a chance to give a shot to endless method definitions in #ruby

They look super cool!

Endless method definition example in Ruby
Andrei Kaleshkawidefix@ruby.social
2025-04-11

#actual_db_schema v0.8.5 is out with a fix allowing the gem to work without git. More details are in this Reddit post: bit.ly/43JUI3h

#rubyonrails #rails #ruby #opensource

Andrei Kaleshkawidefix@ruby.social
2025-04-02

After 2 months as a "teacher," my 9yo finally read, understood & implemented a task alone. Teaching how to grasp requirements is so hard—wild how I once learned it myself. The gap between us is fascinating—but it shrinks a little every day. Watching it happen is just amazing!
#learning #python

Andrei Kaleshkawidefix@ruby.social
2025-03-31

Efficient and productive #WebDev without #SQL? I don’t think so. I’m strong in #Ruby — better than in #SQL — but with SQL, I’m 5x (or more) productive when tackling data-related issues. #SQL is as fundamental to web development as logic is to math. It’s the foundation. Period.

SQL to group data correctly
Andrei Kaleshka boosted:
Esparta :ruby:esparta@ruby.social
2025-03-21

thoughtbot is pausing activity on X and Meta
thoughtbot.com/blog/thoughtbot

BRAVO!
GREAT!
AMAZING MOVE!
Thank you, @thoughtbot!

Andrei Kaleshkawidefix@ruby.social
2025-03-21

ActualDbSchema v0.8.4 is out! 🎉 Fixes: initializer file breaking non-dev Rails envs & switch to prism gem for Ruby 3.4. Thanks all!

bit.ly/4kIAHQF

#actual_db_schema #ruby #rails

Andrei Kaleshkawidefix@ruby.social
2025-03-10

It turned out puma config had 16 threads that was too many for the setup. Decreased to 5 and now all is perfect. And yeah jemalloc also installed

Andrei Kaleshkawidefix@ruby.social
2025-03-08

@zhulik how is it connected? Is 2.7.8 known for Ruby leaks?

Andrei Kaleshkawidefix@ruby.social
2025-03-08

Have you ever dealt with this issue? Should I install #jemalloc right away or play detective? Setup: #ruby 2.7.8, #puma 3.12.6.

Ruby memory leak
Andrei Kaleshkawidefix@ruby.social
2025-03-04

Meet the new release v0.8.3 of ActualDbSchema 🎉

It has UI improvements, and new functionality has been added to clean the migration versions table from broken versions.

Overview: bit.ly/4bpc4Ei

Check out the gem -
github.com/widefix/actual_db_s

Have a productive day!

#rubyonrailsdevelopment

New features on UI in ActualDbSchema
Andrei Kaleshkawidefix@ruby.social
2025-03-03

Had fun solving a #math problem with my kid, then coding it in #python.

My 3 takeaways:
1. School math is too easy. More memorizing templates than thinking.
2. Want your kid to think? Teach the skills or get a tutor.
3. Doing it yourself builds a better bond.

Which way do you choose?

Solving a math problem with my kid
Andrei Kaleshka boosted:
2025-02-26

90% of the Ruby code I’ve written the past few years has been class methods without shared state. The code has clearer dependencies and is easier to read, test and maintain. OOP has its place, but I don’t think it fits the majority of web-app logic.

Andrei Kaleshkawidefix@ruby.social
2025-02-19

@solnic So true, remember myself doing something similar. I was more positive as my commits messages were "fix". It didn't help though, the fixes were almost endless 😀

Andrei Kaleshkawidefix@ruby.social
2025-02-10

Meet the next release of ActualDbSchema, featuring two great additions:

- Easily run DDL commands in Ruby directly from the Rails console.

- Trace schema.rb diffs effortlessly — a new rake task in the gem pinpoints the migration causing the diff right in your terminal.

More details here:

blog.widefix.com/trace-schema-

We’d love to hear your feedback! Thanks, and happy coding!

#rails #actual_db_schema

Client Info

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