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.

The hidden features of caller

I use Ruby’s caller feature a lot when I’m debugging and trying to figure out the stack trace of a particular code path. I used to think that it couldn’t do much beyond returning the full stack trace as an Array. But it’s got some tricks! Read more.

command_kit 0.2.1 released

command_kit 0.2.1 has been released! This release contains many minor improvements and fixes. command_kit is a toolkit for building clean, correct, and robust CLI commands as plain-old Ruby classes. command_kit also provides many additional CLI features such as ANSI colors, OS/Distro detection, Package Manager detection, XDG directory support, opening a man page when --help is given, spawning less for paged output, etc.

Real-world Concurrency with Ruby and Polyphony: a Telnet Chat App

In my latest article, I’ll show you how to implement a real-world fiber-based concurrent Telnet chat app using Polyphony. Along the way, I’ll demonstrate how Polyphony lets us write concurrent programs in a natural, idiomatic style, and show how fiber messaging, one of Polyphony’s unique features, allows us to design a concurrent app as a collection of simple, autonomous entities, each having a single responsibility.

Best of Ruby Gems Series - Glimmer Days - glimmer-dsl-libui Gem - Desktop UI w/ libui

Hello, let’s thank Andy Maleh for the lastest addition to the glimmer family and to the ruby desktop universe - let’s welcome the Glimmer Mini-Language (Domain-Specific Language / DSL) for Desktop User Interfaces using libui for Linux / Apple Mac / Microsoft Windows. For the full story / write-up see Day 8 - glimmer-dsl-libui Gem - Prerequisite-Free Ruby Desktop Development Library. Happy desktop programming / scripting with ruby.

Ruby Vector Graphics Programming ("Less Is More") Challenge - Draw 24x24 Pixel Punks

Hello, in the ongoing ~pixel~ vector art / punk programming - yes, in ruby - series I put together a new Ruby (Vector) 2D Graphics Programming (“Less Is More” or “Code Golfing”) Challenge. The challenge - draw 24x24 pixel punks w/ vector 2D graphics instructions (e.g. line_to, move_to, …) - using your ruby (2D graphics) library of choice. Cheers. Prost.

Glimmer DSL for GTK

Yes, I’ve done it! I built an entire Glimmer DSL in one day! I built Glimmer DSL for GTK after receiving an issue request for it on the Glimmer project page on GitHub! GTK (aka GIMP-Toolkit or [incorrectly] GNOME-Toolkit) is the premiere desktop GUI toolkit on Linux, which also runs on Mac (Quartz GTK+) and Windows. Glimmer DSL for GTK aims to supercharge productivity and maintainability in developing Ruby-GNOME applications by providing a DSL similar to Glimmer DSL for SWT. [more inside]

Loading older posts