Dkam's Blog
  • Home
  • TIL
  • Booko
  • Resume

Semantic Searching with RAG and Ruby

  • Dan Milne

Dan Milne

08 May 2025

Hey! I did a talk at Ruby Australia on how to build a Semantic Search system using Ruby.

I really enjoyed building this little demonstration toy. I first got a glimpse of how they work with Simon Willison's excellent video "Embeddings: What they are and why they matter"

SQLite3 Rsync!

I've been researching LiteStream and LiteFS for backing up and replicating SQLite databases. They're both very cool. LiteStream will stream your SQLite database to an S3 bucket, an SFTP server, or a local directory, with configurable sync-interval which defaults to 1 second. LiteFS will replicate your
15 May 2025 1 min read

Hybrid Databases in Rails: Using SQLite Alongside PostgreSQL

My Rails site Booko has several ancillary services which support it. There's the Cover Art system which downloads and resizes book cover art. CSV-to-API service which downloads CSV files of book prices and turns them into an API for Booko to use. The latest of these, which I&
09 May 2025 2 min read

TIL 20250228

Today I learnt that ALTER SYSTEM SET max_connections = 100; writes a new configuration file in the data directory for PostgreSQL, postgresql.auto.conf which takes priority over the values in the normal postgresql.config file. It's especially pointless to use ALTER SYSTEM for max_connections because you
28 Feb 2025
Dkam's Blog © 2025
Powered by Ghost