Skip to content

2024

The Hidden Power of Symbols in Ruby: When to Use Symbols Instead of Strings - Thnk And Grow

Link: The Hidden Power of Symbols in Ruby: When to Use Symbols Instead of Strings - Thnk And Grow: "What are symbols in Ruby and why are they?"

The linked article talks about strings and symbols in Ruby. When I teach software engineering with Ruby I often struggle to really explain symbols, why they exist and how to use them. While they are cool for certain very specific purposes, I think if we were going to try to make the language smaller, I would suggest removing that feature!

The polish paradox

Link: The polish paradox: "The more you polish, the less you see"

That’s p-oh-lish not powe-lish! Linked article has some cool examples of user interface polish and where and when it is important.

Lessons Learned: The Evolution of an Undergraduate Robotics Course in

Link: Lessons Learned: The Evolution of an Undergraduate Robotics Course in: "Seven years ago (2016), we began integrating Robotics into our Computer Science curriculum. This paper explores the mission, initial goals and objectives, specific choices we made along the way, and why and outcomes. Of course, we were not the first to do so. Our..."

The link is to a paper of mine that was/will be published as a chapter in this volume

The PhD Paradox: A Journey into Academia’s Upside-Down World – Daniel Lemire's blog

Link: The PhD Paradox: A Journey into Academia’s Upside-Down World – Daniel Lemire's blog: "An ironic and cynical view of higher education’s obsession with degrees"

The linked article critiques the role of doctorates (PhDs) in higher ed and society as a whole. Key quote: “Imagine if we recruited professors not just for their academic credentials but for their real-world achievements. People who’ve actually built things that work, could revolutionize how we teach software engineering or entrepreneurship.” . Duh.

How Not To Use Static Typing In Ruby

Link: How Not To Use Static Typing In Ruby: "Great advanced analysis of Ruby designs"

The linked article does a wonderful job exploring design choices in Ruby. It happens to focus on type checking and “fail early” vs “fail late”. But it’s most interesting to see the advanced and useful application of Ruby features and patterns. I

B-trees and database indexes — PlanetScale

Link: B-trees and database indexes — PlanetScale: "B-trees are used by many modern DBMSs. Learn how they work, how databases use them, and how your choice of primary key can affect index performance."

Linked is a neat article explaining a lot about b-trees. Especially notable are the excellent visualization and animations which gave me a new way to understand these incredibly important data structures.

1 dataset, 100 matplotlib visualizations – Curbal

Link: 1 dataset, 100 matplotlib visualizations – Curbal: "The 1 dataset, 100 matplotlib visualizations, displays 100charts made with matplotlib. Just click on a thumbnail to get to the full code."

If you've used Matplotlib, you may have seen their galleries and various other galleries. Attached is what looks to me like a MEGA gallery by someone who has really good aesthetic sense. (Joke: "Almost as good as ChatGPT")

The Thread API : Concurrent, colorless Ruby

Link: The Thread API : Concurrent, colorless Ruby: "👋🏼 This is part of series on concurrency, parallelism and asynchronous programming in Ruby. It’s a deep dive, so it’s divided into 12 main parts: Your Ruby programs are always multi-threaded: Part 1 Your Ruby programs are always multi-threaded: Part 2 Consistent, request-local state Ruby methods are colorless The Thread API: Concurrent, colorless Ruby Interrupting Threads: Concurrent, colorless Ruby Thread and its MaNy friends: Concurrent, colorless Ruby Fibers: Concurrent, colorless Ruby Processes, Ractors and alternative runtimes: Parallel Ruby Scaling concurrency: Streaming Ruby Abstracted, concurrent Ruby Closing thoughts, kicking the tires and tangents How I dive into CRuby concurrency You’re reading “The Thread API: Concurrent, colorless Ruby”."

Linked is a really excellent, comprehensive tour of the Thread class and feature of Ruby. If you're a ruby person, then this is as good as anything you will find.