In recent years, streaming libraries seem to have evolved significantly. To name a few, we’ve seen Akka Streams, KafkaStreams, Flink, Spark Streaming and others, becoming increasingly popular. There might be numerous reasons for that. A common motivation for using stream processing in your systems is to avoid heavy computations upon…

https://pixabay.com/en/stones-pebbles-stack-pile-zen-801756/

TL;DR: I’ve released Priora, a new gem that helps in prioritizing collections of objects in Ruby in a friendly way! Check it out (GitHub / RubyGems).
In this post, I will discuss the motivation, design and agenda I have picked in creating this utility. …

https://pixabay.com/en/build-play-fun-creative-1159776/

I stumbled upon the Datamuse API the other day as I was looking for thesaurus-like data for some small app I am currently toying with. If you are not a 100% sure what “thesaurus-like data” means, check out Thesaurus.com. For those who consider accuracy and creativity in their choice of…

https://pixabay.com/en/clock-wall-clock-watch-time-old-1274699/

This story continues How I Built Timeasure: Part 1 — Motivation & Method Wrapping.

The previous story described Timeasure (see: Github / RubyGems / Live Demo), a new gem that helps Ruby developers in measuring the runtime of their methods in production and gaining valuable knowledge regarding the proper path…

https://www.pexels.com/photo/athletes-running-on-track-and-field-oval-in-grayscale-photography-34514/

I’ve recently released Timeasure, a new gem that serves as a transparent method-level wrapper for profiling purposes in Ruby.

It was released under the GitHub account of the company I work for, Riskified, as its core was developed as part of a task I was given there. I have taken…

https://pixnio.com/nature-landscapes/winter/landscape-sky-winter-snow-ice-water-tree-nature-outdoor-reflection

Class methods are the source for continuous discussions and disagreements among my colleagues. While some consider them precise and helpful, others feel they are actually pesky and that they tend to make code harder to read and manage. As for me, I find that the truth tends to lean to…

CC BY-SA 3.0 Nick Youngson (http://www.thebluediamondgallery.com/wooden-tile/d/delegate.html)

It is a rather common claim that Object Oriented programming is a lot about passing messages between objects. Also, OO encourages us to find the right nouns and verbs in order to solve a given problem. I often like to think about a program as a theatrical stage, upon which…

https://commons.wikimedia.org/wiki/File:Hebbuz.jpeg

Ruby and collections-handling go well together. Whether it’s an Array, a Set or a Hash, the language provides us with a variety of useful methods that ease iterating, selecting and manipulating collections.

Sometimes, though, we find ourselves dealing with long lines of code that deal with the issue of picking…

Eliav Lavi

Software Developer @ Riskified; Theorbo Player

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store