Demystifying Ruby ♦️ (2/3): Objects, Objects everywhere

And a little bit of Metaprogramming

One of the most fundamental principles of Ruby is that everything in the language is an object. This object-oriented allows developers to think in terms of objects and their interactions rather than just functions and procedures.

In Ruby, every piece of data, whether it’s a number, string, array, or even a class itself, is treated as an object. This means that all these entities can have properties and behaviors, encapsulated within methods and attributes. Let’s explore this !

[Read More]

Demystifying Ruby ♦️ (1/3): It's all about threads

Is Ruby a true parallel language ?!

Ruby is a dynamic, interpreted, open-source programming language known for its simplicity, productivity, and its “human-readable” syntax. Ruby is often used in web development, particularly with the Ruby on Rails framework. It supports object-oriented, functional, and imperative programming paradigms.

The most known and used Ruby Virtual Machine is the Matz Ruby Interpreter (aka CRuby), developed by Yukihiro Matsumoto (aka Matz), the creator of Ruby. All other Ruby implementation such as JRuby, TruffleRuby and so on are out of the scope of this blog post.

[Read More]

How to debug a GenServer like Sherlock using IEx

A Sherlock Holmes approved guide 🕵

Elixir, the path to functional programming ⚗️

With my Rust rediscovery a lot of functional programming concepts became less obscure. In order to go deeper into this paradigm I chose Elixir a powerful general purpose, functional programming language, compiled and executed inside the Erlang virtual machine (BEAM).

But why Elixir, if Erlang exists ? Because :

Elixir, is Erlang with underpants - Athoune

Unlike Erlang, the Elixir syntax is clear and elegant. The language comes with everything you need, included : interactive shell, deps tooling, building tooling and more…

[Read More]

Another one bites the Rust

Lessons learned from my first Rust project

Rust, the (re)discovery 🗺️

Back to 2014, the year I wrote my first Rust program ! Wow, that was even before version 1.0 !

At my school, it was all about C, and 10 years of C is quite boring (because, yes, I started programming way before my engineering school). I wanted some fresh air, and even if I really liked Python back to that time, i’m more into statically typed programming languages.

[Read More]

Dear ops, it's 2019 and you need dev skills

Evolve, or die in pain

To infinity… and beyond!

DevOps, IaC, AGILE, SCRUM, Containers, SysOps, CI/CD, microservices, serverless, FAAS

Yes, it’s a buzzwords shitstorm but all of these concepts summarize how software development and deployment evolves. Do i think that sysadmins time is over ? No.

But time as come, we, as sysadmins, have to adapt to this moving industry.

Accept it or die, but cloud computing is the norm now. Small IT companies with “good old LAMP” as the only business model will die soon.

[Read More]
ops  dev  devops  opinion