RSSAmplifier

Blog

Technical Explorations

Technical Explorations by Keith R. Bennett

blog.bbs-software.comRSS feed ↗10 posts

Latest posts

Enforcing Subclass Method Implementation in WiFi Wand Using TracePoint

Ruby’s inherited Hook: The Timing Problem and a TracePoint Solution in WiFi Wand

Signaling Cursor AI Completion with a File Watcher and Screen Flasher

💡 Quick Start: If you want to jump straight to implementation, see the Complete Setup Instructions at the end of this article. Quick Access: View and Download Scripts (Remove the '.txt' extension after downloading.) 📖 View file_watcher.py with syntax highlighting 📁 Download #!/usr/bin/env python3 """ File Watcher - A generic file monitoring and command execution script This script monitors a…

Synchronous, Thread, and Fiber HTTP Requests in Ruby

Introduction

AutoPilot, CoPilot, or AI Assistant?

AI Downsides

Installing International Language Keyboard Input Methods on Linux Mint 20 Cinnamon & Mate

I just started using a desktop system using Linux Mint 20 Cinnamon, and wanted to make sure that keyboard input methods worked for Thai and Korean. This took me down a long road, consulting several blog articles, questions, and answers, so I decided to document it to save others (and future me!) this effort.

Add Bootstrap to Rails 6 with Two Shell Commands

Introduction

The Case for Stabby Lambda Notation

The Stabby Lambda (->)

lambdas Are Better Than procs

Many Rubyists believe that lambda and nonlambda Procs are pretty much the same and that choosing which one to use is a subjective preference. This is an unfortunate fallacy.

Ruby Enumerables Make Your Code Short and Sweet

One of the most amazing things about Ruby is the richness of its Enumerable library; there are so many things it can do. Another is Ruby’s ability to express intent with the utmost conciseness and clarity. However, out in the wild I very often see code that fails to take full advantage of these qualities. As a contrived example, let’s say we’re keeping track of letter frequencies in a document. We…

Automate the Little Things Too

Using Ruby for Primitive but Productive Workflows