Rust Simplified is a series aimed at making Rust much more simple for others to learn. In this episode we cover functions, type information, traits, generics, ownerships, and different various usages of each of these.
Rust Simplified is a series aimed at making Rust much more simple for others to learn. In this episode we cover pattern matching; which is the basis for creating organized data structures and how to use those in simple conditional/destructuring ways. This episode does cover a little bit into other areas, but the main focus here is on pattern matching and those other areas shall be covered in another video.
When writing software there are many times where we try out changes to see what occurs. Sometimes this will bring us to bugs in projects that we depend on and depending on the issue we may simply work around it. When this happens it’s very likely that the non-working code isn’t committed to a software…
Some months ago a friend gave me his old Hackintosh computer to work with. So I have wiped the computer clean and installed ProxMox onto it. ProxMox is a headless Linux distribution which lets you install as many operating systems as you want in the space available. It can run Windows, Mac, Linux, and other…
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…
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…
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…
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…
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…
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,…