RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.


What's Your Hash Rate? Find out your Mining Speed w/ compute_hash_with_proof_of_work

Hello, I’ve added a couple of new chapters to the “Programming Blockchains Step-by-Step from Scratch (Zero)” and starting with (crypto) hashes… What’s News? Mining, mining, mining! What’s your hash rate? Let’s find out and use the “stand-alone” version of the by now “classic” compute_hash_with_proof_of_work function. Let’s try (run) benchmarks for the difficulty from 0 (4 bits) to 0000000 (28 bits)… On my “low-end” home computer the hash rate per second is… about 100 000. What’s yours?

Memoizing in Ruby

This has been written about before, and will no doubt be written about again. Memoizing in Ruby addresses the oft-seen footgun of memoizing falsy values. Spoiler alert: you don’t need a gem, you just need some basic Ruby knowledge.

The correct emails configuration in Rails

I wrote an article with the best practices in configuring your emails in Rails. This small article contains some quick hints and suggestions on how to configure the different environments and to properly test emails [more inside]

FasterPath v0.3.9 released!

Did you know the Rails web page load time spends about two thirds of its time handling your assets file paths? Would you like to improve your sites performance by over 50%? FasterPath may just help you do that. FasterPath rewrites file path handling methods from Ruby and C in to Rust for better performance. FasterPath includes binary releases so you won’t need to compile it on your server to use, provided you’re using a Ruby version we’ve pre-compiled for. Now including faster than C code for File.basename, File.extname, and File.dirname.

Are you tired of flaky automated browser tests?

A key problem with browser tests are that changes to HTML style and structure cause unintended test failures and contribute to flaky tests. The UI Interactors gem makes it simple to write automated browser tests using selenium-webdriver - tests which are resilient to HTML structure and style changes. Use the gem with your favorite testing framework. The gem’s readme is comprehensive. It’s still early days, but if you have suffered from the problem, I think you will find the gem useful.

Contribute to RVM, Homebrew and Exercism, May 11-12 at ROSS conf Amsterdam

ROSS conf Amsterdam gives (Ruby) open source software maintainers the platform to introduce their project to an audience of first time as well as existing contributors. After 15 minute introductions to the project, pressing issues and requests, the conference day is reserved for hands-on programming (or contributing through updating documentation or adding artwork!) and pairing with the maintainers in small groups. To conclude the hackathon the maintainers present data on bugs fixed, issues assigned, contributions made etc. [more inside]

My Toolkit for Writing and Promotion of Blog Posts

I would like to describe a couple of tools which I use to create, release and promote my blog posts. If you already are a technical blogger, or maybe still only thinking about setting up your place on the internet, you might find some valuable tips for your own toolkit. [more inside]

An overview of Ruby GUI development in 2018

During the development of a desktop application, I evaluated most of the Ruby GUI toolkits, and prototyped the application with three of them. This article presents a summary of what I’ve experienced. [more inside]

Loading older posts