July 19, 2025, 11 a.m.

Weeknotes: 15 July to 18 July 2025

Examining SQLite shell commands, diving into Ruby's attr_accessor method, Object-Oriented Programming in Ruby, and identifying other ways to solve problems

Sandra's Weeknotes

a view of a turquoise sea and cliffs
Blue Cave, João Baptista da Costa (Brazilian, 1865-1926)

What I have found gripping

  • Typing the command sqlite3 in a terminal opens a SQLite interactive line shell

  • To quit the SQLite interactive shell, it’s necessary to type .quit

  • The built-in method attr_accessor automatically creates getter and setter methods at once for instance variables in a given class. You can then run this code inside IRB (Interactive Ruby) before seeing the output for each line below the class:

class Person
  attr_accessor :name, :age
  def initialize(name, age)
    @name = name
    @age = age
  end
end

person = Person.new
person.name = "Jay"
person.age = 30
p person
  • Making space for doing things differently without reinventing the wheel matters

What I have read

  • How We Respond Matters, Jade Garratt

  • Weeknotes Jun 25, 2025, Emily Macaulay, Connected by Data

  • I (don't?) want to say yes to everything, Cassidy Williams (aka Cassidoo)

  • Weeknotes 2025 W27: A ivitam, Denis Defreyne

  • The future of government is green: five ways to make a sustainable difference today, Hidde de Vries

  • Interview with Lola Odelola, Steve Faulkner

  • The One-Woman Dev Team Diaries #202, Nadia Odunayo

  • What’s the difference between Rails’s try and the safe navigation (&.) operator?, Andy Croll, One Ruby Thing

  • The joy is in the craft, Trys Mudford

What I have watched

Learning Ruby OOP model in 10 minutes, Andrzej Krzywda from Arkency

Featured quote

If you’re a maker, like I am on the web, you’ll no doubt know the joy and wonder of creating something from scratch. That you can assemble something useful, useless, beautiful or brilliant from a few pixels, phrases or physical objects. To “see the angel in the marble, and carve to set it free” is a feeling unique to those who create. — Trys Mudford

Further reading and resources

In English

  • Podcast: What the spec?! Lola’s Lab

  • Object-Oriented Programming, Jesus Castello, Ruby Guides

In French

  • L’écologie, un problème de riche ? L’histoire environnementale nous dit plutôt le contraire, Renaud Bécot

  • Pourquoi l’océan est-il si important pour le climat ? Sabrina Speich

You just read issue #60 of Sandra's Weeknotes. You can also browse the full archives of this newsletter.

Share on LinkedIn Share via email
Powered by Buttondown, the easiest way to start and grow your newsletter.