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 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.

New Punk (Pixel Programming) Frequently Asked Questions (F.A.Q.) & Answers

Hello, I started a new “centralized” all-in-one page to collect all Punk (Pixel Programming - Yes, In Ruby -) Frequently Asked Questions (F.A.Q.) and Answers. It’s still the early days. The first entries include: Q: How can I generate 10 000 left-looking p(h)unks in any size (2x, 4x, 8x, etc.) individually, that is, one-by-one? Q: Is there a way to specify the tile width and height for ImageComposite (rather that the default 24 pixels)? Q: Am I allowed to create and sell my own [Crypto] Punks? Q: Can anyone explain the “Flex-How-Stupid-AND-Rich-I-Am?!” [Crypto] Punks? Why pay hundred thousands of dollars for a free public domain 24×24 pixel image? Questions and comments welcome.

Glimmer Metronome - Tap-based Tempo & Up/Down Beat Toggling

A while ago, I reported building a Glimmer Metronome sample using Glimmer DSL for SWT in only 10 minutes for the first version. Well, I extracted that sample into an external project to package as a native executable (Mac DMG file), and added tap-based tempo calculation, up/down beat toggling per-beat, mute button, stop/start button, and other improvements. [more inside]

Loading older posts