Blogs

Better Know A Ruby Thing: Method Lookup – Noel Rappin Writes Here
Before we get fully started here, a couple of notes on Better Know Singleton Classes, which, among other things, got mentioned on Hacker News, giving me comments there for the first time in years, maybe for the first time ever.
One Hacker News co...




Understanding Ruby's insertion sort algorithm - Honeybadger Developer Blog
There are lots of ways to sort data. The insertion sort algorithm is particularly interesting because it sorts the data in place and is easy to understand.Ruby's default sort method is not stable, so it does not preserve the relative order of elem...

Rails 8 assets: Break down of how Propshaft and importmap-rails work together | Radan Skorić's website
I almost gave up and it was actually so simple.
I wanted to change default asset organisation on a fresh Rails 8 application with the default set up: Propshaft + importmap-rails gems. And I just couldn’t get it to work. Frustrating.
I looked at ...

Rails views, web components, React. Why make a choice?
How many times have you heard or read statements like these in tech discussions?
"Everything needs to be a single-page app these days. Server-rendered templates are holding you back."
"Web components are the future. Why tie yourself to any frame...



Building a Vector Database in Ruby: A Comprehensive Guide - DEV Community
In the era of artificial intelligence and machine learning, vector databases have emerged as a critical component for applications that require similarity search, recommendation engines, and natural language processing. This article provides a det...