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.

How does Bitcoin force consensus among Byzantine generals?

Matias Fernandez has a very good example implementation of a blockchain exercise written in Ruby. In this post I want to use it to explain, in very simple terms, what a bitcoin blockchain is and why it’s so resilient.

Fantastic article. Check out this example implementation from Matias Fer…

The latest Ruby news: Roobykon Ruby Digest: Issue 16

Web servers! Everyone seems to have an opinion about which are the best and why, but if we’re not careful, habit and loyalty can blind us to rational decision-making. In this issue of Digest, we look in depth at some issues around servers for Ruby – and a whole bunch of other things besides. Enjoy. [more inside]

I wrote that item about Raptor over three years ago, and it was the codename fo…
Thanks, Peter! Your article has become a fine addition to our digest! :)

The Case Against Exotic Usage of :before_validate Callbacks

It’s nothing new that ActiveRecord callbacks are abused in many projects and used for the wrong reasons for many use cases where they can be easily avoided in favor of a much better alternative, like service objects. There is one callback though that is special and quite often used for pretty exotic reasons that have nothing to do with the process when it gets executed – it’s the before_validate callback. [more inside]

Implementing OCR using a Random Forest Classifier in Ruby

In this blog post I will show how to implement OCR (optical character recognition) using a Random Forest classifier in Ruby. As our dataset we will be using the MNIST database of handwritten digits and for our Random Forest implementation we will be using Python’s sci-kit learn library. This post also shows how easy it is to integrate the plethora of data science tools from Python into Ruby applications. Read more here: https://www.practicalai.io/implementing-ocr-using-random-forest-classifier-ruby/

Slide Show (S9) v.4 Update - Write Yr Talks / Slides in Plain Text (w/ Jekyll Themes)

Hello, I’ve updated the Slide Show (S9) command line tool (and library/gem) that lets you write your talks / slides / presentations in plain text w/ markdown conventions. You can use any of the (Jekyll-compatible) theme packs such as reveal.js, bespoke.js, s6blank, etc. As an example, see the Blockchain! Blockchain! Blockchain! talk (source in markdown). Happy publishing & talking. Cheers.

Loading older posts