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.

cryptopunks gem v2.0, The Shell Edition - What’s New? New Commands Incl. Generate, ..

Hello, The cryptopunks gem and command line tool v2.0 is now out! What’s new? New punk commands include generate (or gen or g), list (or ls or l), query (or q) and tile (or t). Try: $ punk -h # or punk help resulting in […]. PS: Halloween is upcoming. Try some super-rare never-before-seen demons or vampires. Example: $ punk generate demon heart_shades or $ punk generate vampire_female wild_hair

Explaining Ruby Fibers

Fibers have long been a neglected corner of the Ruby core API, have never really seemed to deliver on their promise of lightweight concurrency, and remain relatively little explored. In this article I’ll explain how fibers work from the point of view of a concurrent Ruby application written using Polyphony. I’ll give an overview of fibers as concurrency constructs, and discuss how Polyphony harnesses Ruby fibers in order to provide an idiomatic and performant solution for writing highly-concurrent Ruby apps. Read on…

Befunge GUI by Glimmer (2 for 1: LibUI & SWT)

In light of the recent Beta release of Glimmer DSL for LibUI, I have been looking for applications that could take advantage of its productivity and speed in building desktop GUI with its Ruby DSL. One such application has been Befunge98 GUI, built for a Ruby implementation of the Befunge98 programming language. In fact, I built its GUI twice with two different approaches, one using the up and coming Glimmer DSL for LibUI on CRuby relying on a multi-canvas-grid (LibUI area) approach, and one using the very mature Glimmer DSL for SWT on JRuby by relying on a button-grid approach. [more inside]

Ruby Pixel Art Programming Challenge #2 - Cryptopunk Redux - Generative Modern Art

Hello, Let’s try another round in the ruby pixel art (graphics) programming challenge: Ruby Pixel Art Programming Challenge #2 - Cryptopunk Redux - Generative Art Taking Each of the 576 Pixels [from a Punk] from the Original Series and Placing the Pixels Randomly within the Same 24x24 Pixel Grid - Yes, You Can - Let’s Do A Free (Right-Click & Save Image) Edition / Share Your Pixel Art Scripts (in Ruby) ++ Let’s get inspired by the pre-currency (spots painting “Damien Hirst-style”) Cryptopunk Redux collection. The modern art (pixel art) collection blurb reads [..] Share your generative (pixel) art script(s) in ruby (on ruby-talk) or for an alternative join us on r/CryptoPunksDev - a channel mostly about - yes, pixel art programming in ruby. Bonus - for trying circles (“spots”) instead of square pixels / rectangles :-). Cheers. Prost.

Thank you. That’s a very interesting article where you completely explained the…

Get ready for Rails 7.0: How to upgrade your Rails 6.x app from Classic to Zeitwerk

Zeitwerk is the code autoloader and reloader that was integrated with Rails 6. Beginning in Rails 7, it will be the only codeloader option. As a result, upgrading to Zeitwerk will be an important step in getting your application ready for the next version of Rails. In this article, we’ll talk about upgrading your Rails 6 application from classic to zeitwerk mode. [more inside]

Loading older posts