Enforcing Subclass Method Implementation in WiFi Wand Using TracePoint
Ruby’s inherited Hook: The Timing Problem and a TracePoint Solution in WiFi Wand
Technical Explorations by Keith R. Bennett
Ruby’s inherited Hook: The Timing Problem and a TracePoint Solution in WiFi Wand
💡 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…
Introduction
AI Downsides
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.
Introduction
The Stabby Lambda (->)
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.
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…
Using Ruby for Primitive but Productive Workflows