Benjamin is a Software Engineer at EasyMile, Singapore where he spends most of his time wrangling data pipelines and automating all the things. He is the author of The Little Elixir and OTP Guidebook and Mastering Ruby Closures Book. Deathly afraid of being irrelevant, is always trying to catch up on his ever-growing reading list. He blogs, codes and tweets.
Benjamin's articles
Machine Learning Pipelines for the Scrappy Startup, Part 1: Benjamin Tan walks through how he sets up an on-premise machine learning pipeline with open-source tools and frameworks.
Benjamin Tan Wei Hao takes a quick dive into Crystal, a new programming language that is statically typed and compiled but has Ruby syntax.
Read Learn Concurrency by Making a Countdown Latch in Ruby and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Benjamin Tan Wei Hao shows you are different kind of testing called "property-based testing". Generate 100s or 1000s or iterations for your tests.
Learn about concurrency in Ruby while implementing Futures. Benjamin Tan Wei Hao takes a test-first approach in this informative post.
Benjamin Tan Wei Hao offers this excerpt from his Ruby Closures book about creating your own lazy enumerable. See how fibers and enumerators work magic.
Benjamin Tan Wei Hao takes your Tmux-fu to the next level with 10 excellent tips about improving your dev with Tmux.
In this article, Benjamin Tan Wei Hao will talk about SitePrism. SitePrism gives you a simple, clean and semantic DSL for describing your site using the Page Object Model pattern, for use with Capybara in automated acceptance testing.
ZeroMQ is a network messaging library that provides the building blocks to create complex communication systems with minimal fuss via its simple API. In this article, we set up ZeroMQ on our system and install Ruby bindings. Next, we dive straight into the good bits by implementing 2 messaging patterns – the request-reply and publish-subscribe. At the end of the article, I point to resources where you can learn even more about ZeroMQ.
In this article, we will complete Conway's Game of Life using Opal and Ruby. The completed source can be found at the end of the article.
Read Opal: Ruby in Your Browser, the Basics and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Pry, an extremely powerful alternative to the standard IRB shell that Ruby gives us.
Read Rubyists, It's Time to PRY Yourself Off IRB! and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.