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.

Perfect Shape - Pure Ruby Geometric Algrithms

Perfect Shape 1.0.0 was released today, providing the Ruby community with an open-source library of Pure Ruby Geometric Algorithms. The reason behind creating this library was that before, there were no comprehensive geometric algorithm libraries in Ruby that covered all the geometric shapes like rectangle, square, arc (open, chord, and pie), ellipse, circle, polygon, and paths containing lines, quadratic bézier curves, and cubic bezier curves. Most of them either lacked support for certain shapes like arc or lacked algorithms for checking point containment in every shape, including Cubic Bezier Curves. Thankfully, Perfect Shape addresses that issue completely for the Ruby community. [more inside]

Ruby Conferences & Camps in 2022 @ Planet Ruby - What’s Upcoming?

Hello, thanks to the contribution of Andy Maleh I added a new datafile and page for 2022 to collect upcoming ruby (and rails) conferences & camps around the world. For a first listing what’s upcoming in 2022, see Ruby Conferences & Camps in 2022 - What’s Upcoming?. Yes, you can. Add more conferences and camps. PS - Note: This is a public service from a banned for life ruby (reddit) member - the reason - what have you done for the ruby community - zero, nada, zilch.

How to reduce your method calls by 99.9% by replacing Thread#pass with Queue#pop

When doing multi-threaded work in Ruby, there are a couple of ways to control the execution flow within a given thread. In this article, I will be looking at Thread#pass and Queue#pop and how understanding each of them can help you drastically optimize your applications: [more inside]

Rails 7 application inside Docker on macOS

Sometimes we want to play with the new version of Ruby/Rails, but in order to do so we need to install dependencies which quite often is not so seamless. So let’s take a look how to use Docker and shell commands in order to quickly start new project with any combination of Ruby/Rails version and keep the macOS itself clean as a baby’s bottom.

Loading older posts