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.

Chat Example App Using Server-Sent Events

Rails 4 can stream data to the browser with ActionController::Live using server-sent events (SSEs). Mason was curious how server sent events worked so he decided to use them to implement a simple chat application. Tiny-chat is a chat app he built using Goliath, Redis Pub/Sub and of course server-sent events. [more inside]

Managing nil in JSON and Hashes

While developing our new code review tool, Pullreview, we interact a lot with external services (like GitHub), whose APIs mostly return JSONs. While nice, this lead us to some attempts at managing nil values at different levels, in this article</b> we discuss how to manage this.

Steering Behaviors for Ruby game programming now on Github, Rubygems

I just released my Steering Behaviors package to Github, and an accompanying Gem to Rubygems. Steering Behaviors are utilized to ‘drive’ autonomous game agents in a natural manner, and include such behaviors as predictive pursuit, fleeing, arrival, and wandering. Embellishments and expansions are planned, but this is working software you can use to drive your own game’s characters. (I’m using it in my own game programming.) The Github repo includes working graphical examples. Pull requests are enthusiastically encouraged.

Flynn - an open source PaaS built on Docker (seeking funding from community)

Flynn is an open source PaaS built on Docker. A PaaS is like Heroku, but an open source one allows you to run it anywhere, even on your cheap VPS, which not only greatly reduces costs but also avoids vendor lock-in. It’ll even support Heroku buildpacks so that you can run Ruby, or whatever Heroku already supports. Flynn is in an early stage of development and its authors are seeking funding so that they can concentrate on the project full time. [more inside]

Loading older posts