Author Archives for Manuel Dewald

CFP: Things I love about SRE that I loathe about DevOps

January 28, 2020 8:32 pm Published by Comments Off on CFP: Things I love about SRE that I loathe about DevOps

DevOps & SRE – what is it? Let’s define what those terms mean. DevOps means, the same team building the software is responsible for running it. This can be easiest imagined for software that is operated by the vendor themselves, i.e. cloud services. The idea is, no one knows the software better than the developers, so no one could better operate and fix in-flight issues than them. On the other hand, developers have high interest in building software that is... View Article


Ruby best practice: Implementing operator == and ensuring it doesn’t break

March 8, 2019 12:42 pm Published by Comments Off on Ruby best practice: Implementing operator == and ensuring it doesn’t break

In ruby, comparing hashes, strings and objects is a complicated topic. Should you use equal?, eql? or ==? There is plenty of help on this topic, but in this post, we will focus on the interesting behavior of the == operator and how you can make it behave as you need it for your use case. When comparing Hashes in Ruby, the == operator compares the content of a hash recursively. 1 2 3 4 5 6 7 8 9... View Article


Raspberry Pi powered Wifi Pictureframe

March 6, 2019 7:09 am Published by Comments Off on Raspberry Pi powered Wifi Pictureframe

Some days ago I wrote an post about building a picture frame using a Raspberry Pi. The article has been published on opensource.com. The software to show the slideshow has been written by myself and published on github as I wasn’t happy with all the existing solutions. As they either involve using a GL rendered xscreensaver which was terribly slow on the Raspberry Pi or installing Kodi which I think is kind of overkill, just to get a slide show.Also I wanted the... View Article


Ansible: Passing arrays to BASH scripts

January 7, 2019 7:56 am Published by Comments Off on Ansible: Passing arrays to BASH scripts

When using Ansible, it may become handy sooner or later to invoke a BASH script in one of you playbooks. Invoking a BASH script in Ansible can be done using a simple shell task: 1 2 3 4 5 6 --- - hosts: 127.0.0.1 connection: local tasks: - name: ensure stuff is done shell: ./do_stuff.sh This task will execute the bash script do_stuff.sh. Sometimes, it is also necessary to configure the behaviour of the BASH script you are executing. The simplest way... View Article


A Christmas Poem

December 19, 2018 7:31 am Published by Comments Off on A Christmas Poem

1 2 3 4 5 6 7 8 910111213141516171819202122232425262728293031 #include <stdio.h>/* A CHRISTMAS POEM * * Christmas is near, * brings relaxed atmosphere. * The devs are staying at home, * feeling bored like a stone. * * Left the winter outside, * but still not satisfied. * They are missing their code, * yet so tired of node. * * And if this feels like you - * here is something to do. * Celebrate! It's written in C:... View Article


Blogpost: CloudFoundry Summit Europe 2018

December 18, 2018 7:31 am Published by Comments Off on Blogpost: CloudFoundry Summit Europe 2018

After attending CloudFoundry Summit 2018 in Basel in October, I published an event summary together with my colleagues. This writing summarizes the talks that where interesting from the perspective of us as BOSH developers. You can find the post on the community page of SAP. Recap and collected replays: Cloud Foundry Summit Europe 2018 — thanks @ManuelDewald and team! #cfsummit @cloudfoundryhttps://t.co/t7b6NjplyN — SAP Cloud Platform (@sapcp) 6. November 2018 Watch all talks online via the youtube playlist.


Define interfaces in a duck typed language like ruby

October 5, 2018 6:55 am Published by Comments Off on Define interfaces in a duck typed language like ruby

In Java, it is very intuitive how interfaces are defined and used. You just create an interface in a similar way you would create a class and derive the classes, implementing the interface. interface Drivable { public void drive(int meters); public void stop();}class Car implements Drivable { public void drive(int meters) { //start the engine //go for it } public void stop() { //stop the engine }}class Bagger implements Drivable { public void drive(int meters) { //start engine //start left... View Article


RaspberryPi NAS

July 27, 2018 7:47 am Published by Comments Off on RaspberryPi NAS

Guest Series at opensource.com After my recent first guest article on https://opensource.com the first part of a series about creating a Raspberry Pi based NAS has just been published. You can read it here. There has been a surprising amount of twitter reactions to the article and it seems it also collected more than a thousand visits on the first day. Building a network attached storage device with a #RaspberryPi https://t.co/PrNwRsZnjr via @opensourceway by @manueldewald #RPi #OpenSource #FOSS — Juha Remes (@jremes84)... View Article


Use Ansible to clone & update private git repositories via ssh

July 7, 2018 7:21 am Published by Comments Off on Use Ansible to clone & update private git repositories via ssh

One of the first things I wanted to do when I started using Ansible was to clone a git repository on a remote machine as I keep configuration, scripts, and source code in github or gitlab repositories. Things that are not meant for the public, I store in private repositories that I want to clone via ssh. Cloning and updating them I now want to automate with Ansible. There are different ways to go for this task: Checkout the repo locally and copy it... View Article


Guest Post on opensource.com: “Try this vi setup to keep and organize your notes”

June 19, 2018 9:14 pm Published by Comments Off on Guest Post on opensource.com: “Try this vi setup to keep and organize your notes”

Today my first blog post on opensource.com has been published, please have a look at it if your are, similar to myself, interested in an easy, intuitive, synchronized way to keep your notes. You can find it on the opensource.com blog or just by following this link. Thanks to the opensource.com team for collaboration and editing, I hope I will get the chance to write another one soon!