Skip to content

rubydev.pl

Search

rubydev.pl

Close menu

rubydev.pl

Search Toggle menu

Category: Ruby

May 6, 2025May 6, 2025Design Patterns, Ruby

Optimizing pg_search with precomputed tsvector columns in Postgres

TLDR: If your pg_search queries are slow due to joins and dynamic tsvector generation, precompute a weighted search_vector column and index it. […]

March 5, 2025March 5, 2025Ruby

Visualized multi-threaded simulators

Hey! Here’s my talk from EuRuKo2024 in Sarajevo 🙂

August 21, 2024August 21, 2024Design Patterns, Ruby

Preserving Backtrace When Wrapping Errors for Rollbar Reporting

When dealing with error handling in Ruby, especially in the context of integrating with error monitoring tools like Rollbar, it’s common to […]

August 14, 2024August 14, 2024Design Patterns, Ruby

Responsive Terminal with Async and getch

When developing terminal-based applications in Ruby, managing user input and output efficiently is crucial. The code snippet below demonstrates how to use […]

July 31, 2024September 9, 2024Ruby

From Threads to Async gem

In our ongoing petrol station simulator project, we previously used threads, mutexes, and condition variables to manage the concurrent operations. This approach, […]

July 24, 2024July 31, 2024Ruby

Reducing Resource Overhead with Enumerators

Building a petrol station simulator can be an exciting project that involves managing multiple cars, queues, and pumps efficiently. Initially, you might […]

July 20, 2024July 20, 2024Ruby

Pass by value of reference

There comes a moment of pondering, is Ruby a pass by value or pass by reference language? Or in other words, which […]

June 24, 2024July 20, 2024Ruby

Mutex and condition variable

So in a couple of months I’m about to present this thing on petrol station simulator. And it’s better to know what […]

March 19, 2024March 19, 2024Ruby, Thoughts

Petrol Station Simulator in Ruby

Yes! My simulator speed issue from the previous post is now solved! In this post I just want to show the simulator’s […]

March 7, 2024March 8, 2024Ruby, Thoughts

Sleep granularity delay with Ruby, Rust and C

In my hobby petrol station simulation project that uses threads and custom timer, I’m having an issue with stability of results. When […]

Posts pagination

1 2 3 >

Hello, my name is Jakub Godawa, and I'm a backend engineer. Ruby is my favourite language.

Categories

  • Conversations
  • Design Patterns
  • Ruby
  • Talking to GPT
  • Thoughts
  • Uncategorized

Archive

  • May 2025
  • March 2025
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • March 2024
  • December 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
© 2025 rubydev.pl
https://github.com/vysogothttps://www.linkedin.com/in/jakubgodawa/