Function composition >> Ruby

Ruby's new function composition syntax Last week Proc#<< and Proc#>> got merged into Ruby 2.6. This opens the door for function composition. Here’s my opinion as to why this is a great leap forward for Ruby and what needs to improve. Composition vs. inheritance Ruby is an object-oriented lan...

Continue reading ...

Licensing software

My messy desk Recently I've started working on a small Ruby library. While I was sketching the architecture of it to I was listening to some lectures from Richard M. Stallman which got me thinking about how I should license my library. Note: I'm by no means a legal expert. Everything written ...

Continue reading ...

Do you really need WebSockets?

The Cloud was made by Fabián Alexis (CC BY-SA 3.0), via Wikimedia Commons Over the years I've had this conversation a couple of times. This post will explain why we use WebSockets, how they can be used, what alternatives exist and when to use them. Why WebSockets? Every time I worked on a pr...

Continue reading ...

RabbitMQ is more than a Sidekiq replacement

A rabbit dressed up as the karate kid - a cross of RabbitMQ and Sidekiq logos I've had gripes with Sidekiq because of which I switched to RabbitMQ. Here are my thoughts and experiences after a year of using it in production. I got inspired to write this post by the overwhelming response I rec...

Continue reading ...

Supercharging services architectures with RabbitMQ

A rabbit with a tachometer in it's silhouette When I first started using RabbitMQ I didn't understand its usefulness beyond a job queue, but it's helped me to grow and manage services architectures without headaches. Services Architecture In web development, a services architecture describes...

Continue reading ...

Tips to improve your tests

A shoe stuck in the railing of a bridge in Stockholm Peoples' test suites often get out of hand. Having thousands of tests that run for hours on some CI should be a thing of the past. There doesn't exist code that's too hard to test or code that can't fail. You shouldn't waste your time waitin...

Continue reading ...

Hacking privacy into Facebook’s Messenger in 24 hours

The Copenhagen town hall building Hacking privacy into Facebook's Messenger in 24 hours Hackathons are great. When a friend of mine asked me if I wanted to go with him to Copenhacks I had no idea that we would spend 24 hours reverse engineering Facebook's Messenger, let alone win first place. ...

Continue reading ...

Previous Page