August 3, 2017 by Daniel P. Clark

Elixir Envy ᐅ Ruby

When a Rubyist learns about Elixir’s pipe operator and how it behaves similarly to Linux/Unix command line piping he, or she, very likely envies that feature and wishes to have it in Ruby.  How can I say that or how could I know that?  Well it’s a reasonable deduction when I see others, as well…

Continue Reading »

May 25, 2017 by Daniel P. Clark

Leveling up with Git

This past weekend I got to spend 4 days at the Ruby for Good event.  This is an event where programmers get together and volunteer their efforts in charitable programming for many needs in our communities.  The team I joined up with consisted of 10 developers and most of the team grouped together in about…

Continue Reading »

May 13, 2017 by Daniel P. Clark

Don’t Use Objects as Hash Keys in Ruby*

Hashes have been optimized for symbols and strings in Ruby which technically are objects but this article is for revealing how much of a difference this makes when using other objects as hash keys.  There are some cases where this makes a big difference but many times you won’t notice much of a difference. I…

Continue Reading »

April 14, 2017 by Daniel P. Clark

“Naming Things is Hard”

I’ve lost count of the times I’ve heard that “Naming things is hard.”  This is said very often in the world of software development.  So I wanted to take the time to address it. First of all this statement “Naming things is hard.” is a misnomer (a wrong or inaccurate name or designation, or use of a name…

Continue Reading »

March 12, 2017 by Daniel P. Clark

Installing the Adafruit 2.8″ TFT Display on the Raspberry Pi

One thing I’ve learned over and over from working on the Raspberry Pi is that it’s most likely going to take a chunk of time to get things set up just the way you want.  And this display is no different. I’ve written in the past about How to Play HD Video on a Raspberry…

Continue Reading »

January 12, 2017 by Daniel P. Clark

Re: What is the splat operator doing here?

I’ve received an email from a fellow software developer inquiring about a bit of code where I use Ruby’s splat operator in two different ways.  In my Ruby gem cards_lib I wrote a “macro” to take a list of strings and generate card instances from them.  You don’t really hear of macros in the Ruby community…

Continue Reading »

July 1, 2016 by Daniel P. Clark

5+ Linux Video Editing Tool Tips

Finding a video editor in Linux that isn’t severely handicapped or come with an extreme learning curve is difficult.  But this article isn’t about fancy video editors.  As it turns out many of the things you need to get done are easiest with a few command-line tools.  The packages you’ll want to install are mpv,…

Continue Reading »

May 29, 2016 by Daniel P. Clark

How to Build the Ultimate Remote Pair Programming Environment

There are a handful of desktop sharing apps out there and there are plenty of shell/editor sharing setups.  But the biggest problem with these is you are opening up your own personal computer to not only the person(s) you’re connecting with, but also the potentially vulnerable or malicious technology you choose to use.  A proper…

Continue Reading »

April 21, 2016 by Daniel P. Clark

Encrypted Linux Backup with Google Drive and Duplicity

When it comes to protecting your important data it’s best to have at least 3 copies of your things backed up.  One should be air-gapped (not actively connected) and another be offsite (not at the same building).  The air gap will protect against malicious code that would encrypt all your files and force you to…

Continue Reading »

April 21, 2016 by Daniel P. Clark

Use Ruby’s Refinements Anywhere With An Anonymous Class

For a long time I’ve been looking for a way to use Ruby’s refinements without building a class & method setup and then instantiating an instance of the class just to use it. And now I’ve finally found a solution.

The best work around I’ve found for accessing values outside the class wood be…

Continue Reading »

Page 1 of 11
1 2 3 11
1 2 3 11