I am a software developer based in Ottawa, Canada. This is my blog about programming. Ruby is my programming language of choice and the topic of most of the posts here, but I occasionally also write about the books I read, or other technologies that I'm tinkering with.
29 Apr
Running LLama 3 and Phi-3 locally using ollama
ai
09 Apr
Abstract methods and NotImplementedError in Ruby
ruby
25 Mar
Copilot and Neovim
vim
26 Jan
Rake task for Jekyll stats
jekyll
ruby
21 Jan
Numeric operations on value objects in Ruby
ruby
15 Jan
Long exposure images from videos
photography
13 Jan
Favorite books of 2023
books
17 Dec
What's new in Ruby 3.3
ruby
16 Oct
15 years of programming
programming
08 Aug
Ruby's bang methods - Handle with care!
ruby
02 Aug
Highlighting liquid code in Jekyll
jekyll
01 Aug
Ruby and Jupyter notebooks
ruby
ai
27 Jul
Jekyll: Skip analytics scripts in development
jekyll
26 Jul
One hundred posts
jekyll
16 Jul
Jekyll: Group posts by year
jekyll
15 Jul
Dark mode
jekyll
14 Feb
Adding Sorbet to a Rails project
ruby
10 Feb
Logseq: How to write custom slash commands
logseq
18 Jan
Favorite books of 2022
books
10 Jan
What's new in Ruby 3.2
ruby
28 Jan
Favorite books of 2021
books
24 Jan
What's new in Ruby 3.1?
ruby
29 Jan
Favorite books of 2020
books
12 Feb
Favorite books of 2017
books
25 Dec
What's new in Ruby 2.4?
ruby
30 Aug
Feature flags in Phoenix projects using laboratory
elixir
phoenix
24 Aug
Bit array data structure in Ruby
ruby
21 Aug
Recurring events in Rails
rails
30 Jul
Rails: Automatically set user timezone during signup
rails
06 Jul
Rails: Handling redirects in the router
rails
13 Jun
Writing and publishing an Elixir library
elixir
09 Jun
Shell history in Elixir (IEx) and Erlang
elixir
10 May
Notes from Open Source Saturday
community
open-source
04 Jan
What's new in Rails 5?
rails
02 Jan
Favorite books of 2015
books
20 Dec
Confident Ruby (Avdi Grimm)
reviews
books
ruby
14 Dec
Getting started with Distributed Ruby (DRb)
ruby
07 Dec
What's new in Ruby 2.3?
ruby
27 Nov
Turbolinks and Google Analytics
rails
24 Jul
Avoid time_ago_in_words in Rails
rails
22 Jul
Set page titles and meta tags in Rails views
rails
17 Jul
Getting started with Rails 5's ActionCable and websockets
rails
11 Jul
Building a chat application using Elixir and Phoenix
elixir
phoenix
04 Jul
Using bower with Phoenix
elixir
phoenix
30 Jun
User authentication from scratch in Elixir and Phoenix
elixir
phoenix
06 Jun
Gradual engagement with Rails
rails
05 Jun
Demystifying @tenderlove's homeopathic code optimizations
ruby
04 Jun
Regular expression matching in Ruby with String#[]
ruby
03 Jun
Rails tests: Setting up guard with minitest for quicker feedback
rails
02 Jun
High level Rails testing using Capybara and Minitest
rails
30 May
Getting started with Phoenix: Building a scaffolded CRUD app
elixir
phoenix
22 May
One year with vim
vim
21 May
Don't use jquery-rails gem alongside rails-assets
rails
18 May
Disable unsafe rake tasks in Rails production environment
ruby
rails
17 May
Rake task to drop and reseed database in Rails
rails
14 May
Bootstrap flash messages in Rails
rails
12 May
Ruby on Rails upgrade guide
rails
11 Apr
Working with MongoDB's aggregation pipelines in Ruby
mongodb
ruby
rails
16 Mar
Tracing global variables in Ruby using trace_var
ruby
03 Mar
Infinity in Ruby
ruby
23 Feb
How I submitted my first patch to Rails (and you can too!)
rails
open-source
16 Feb
Passing optional locals to Rails partials
ruby
rails
12 Feb
How to use Ruby instead of sed and awk
awk
ruby
sed
09 Feb
Fixing git merge conflicts from vim using vim-fugitive
git
vim
06 Feb
The boy scout rule
refactoring
18 Jan
Making vim play nice with ZSH and RVM
vim
zsh
04 Jan
Favorite books of 2014
books
28 Nov
Enable asset compression after upgrading to Rails 4
rails
21 Nov
Flip flop operator in Ruby
ruby
19 Nov
Google Inbox
10 Nov
Better asset management in Rails using Rails assets
rails
09 Nov
Tail call optimization in Ruby
ruby
30 Oct
Haskell quicksort
haskell
functional-programming
27 Oct
Memoization in Ruby using metaprogramming
ruby
25 Oct
Getting started with Io
io
23 Oct
When to use protected methods in Ruby
ruby
28 Sep
NTFS support on OSX El Capitan
osx
25 Sep
Presenters in Rails
rails
24 Sep
Decorator pattern in Ruby
programming
ruby
03 Aug
Problem resolving long CNAME DNS records
programming
27 Jul
The law of Demeter
programming
23 Jun
Elementary OS (Luna)
operating-systems
16 Apr
Complex has_many :through associations in Rails
rails
04 Feb
Single quotes or double quotes?
programming
01 Feb
Export to CSV in Rails
rails
27 Jan
Defending Java
programming
23 Jan
Favorite books of 2013
books
08 Aug
Hello, world!
jekyll