Mauro Morales

software developer

Blog

  • Ruby’s DATA Stream

    The STDIN and ARGF streams are commonly used in Ruby, however there’s also the less popular DATA one. This is how it works and some examples in the wild. HOW TO READ FROM DATA? Like with any other stream you can use gets and readlines. This behaviour is defined by the IO class. However there’s a caveat, your script needs to have a data section. To…

    read more

  • Numbered Parameters in Ruby 2.7

    A new feature called “numbered parameters” will see the light of day in the Ruby 2.7 release at the end of the year. What caught my attention was not the feature itself but the mixed reception it got from the community. BLOCK PARAMETERS Whenever you open a block you have the chance to pass a…

    read more

  • A Guided Tour of Machinery

    A detailed description of how to use Machinery to inspect a Linux server and re-generate it at openSUSE Conference 2016 in Nuremberg, Germany

    read more

  • Installing openSUSE Tumbleweed On the Dell XPS 13

    This post will show you how install openSUSE’s rolling release, Tumbleweed, on the Dell XPS 13 9350 FHD. Update 2016–06–30: Bios 1.4.4 is out. Update 2016–06–22: The kernel flag is not needed anymore since kernel 4.6 which was introduced around Tumbleweed version 20160612. Update 2016–05–04: Added a section to fix the sound issues when using…

    read more

  • Running Multiple Redis Instances

    This article will teach you how to run one or more Redis instances on a Linux server using systemd to spawn copies of a service. INSTALLING REDIS The easiest way to install Redis in Linux is with your distributions package manager. Here is how you would do it on openSUSE: In case your distribution doesn’t…

    read more