The problem Priscilla sets out to solve is the hardship of identifying your own output in a wall of text while print debugging. And she does it with style…
Ruby is a dynamic, interpreted, object-oriented, open source programming language that combines syntax inspired by Perl with Smalltalk-like features. It was also influenced by Eiffel and Lisp. Ruby was first designed and developed in the mid-1990s by Yukihiro “Matz” Matsumoto in Japan. #
What is it? A Ruby web framework where views are created in isolation from the back-end app. Pakyow’s developers say it:
gives the designer complete control over the front-end through the entire development process.
They have a nice warmup page if you want to see how it all fits together.
One of WordPress’s strengths is the ability to give non-coders a way to generate custom data with the use of shortcodes. Shortcode elegantly brings that classic feature to the Ruby community.
The gem notes using Parsing expression grammar instead of regular expressions to improve the readability and testability of the code. It supports both block tags and self-closing tags, and adding shortcodes is as easy as adding a partial.
%blockquote %p.quotation= @content - if @attributes[:author] %span.author= @attributes[:author]
Shortcode also supports custom presenters for more complex tasks like image galleries. Take a look at the documentation on GitHub.
Promise Anti-patterns, Ansible, npm, CSON is JSON for CoffeeScript, Linuxbrew, Hyper, Dude!, KidsRuby, and more.
You just built an API, and want to make sure everyone can use it. Building libraries in every language isn’t only going to be hard, its going to take a lot of time. Time you don’t have. This is where Alpaca can help.
You define your API according to the format, alpaca builds the API libraries along with their documentation. All you have to do is publishing them to their respective package managers.
In Episode #90 we talked with Avdi about pair programming, distributed teams, workflows, and of course, Ruby! Needless to say, we’re big fans of Avdi and his work — and we’re happy to have him sponsor the RSS feed this week.
Don’t just take our word — Avdi has shared an exclusive, Changelog-only, freebie of episode #72 for you to check out (the video above). The episode is called “Random Access” and it kicked off a short mini-series for Avdi where he takes his subscribers on a journey to reimplement a small subset of the UNIX “tail” command in Ruby.
Why would production code coverage data be useful? Because you can use it to find (and then purge) latent code paths in your app. How’d it go at Living Social? Dan says:
After running in production for 30 minutes, we were able very easily delete 2000 LOC after looking through the data. We expect to be able to clean up much more after it has collected more data.
Read more about Coverband on the Living Social Tech Blog.
Que is the new kid on Ruby’s job-backgrounding block.
It takes advantage of PostgreSQL’s advisory locks to provide concurrency, efficiency, and safety. Chris Hanks – Que’s author – in an email to us, says:
…in a benchmark on EC2′s biggest compute-optimized instance it’s capable of queuing and dequeuing almost 10,000 jobs per second, while DelayedJob and QueueClassic max out at around 500
For members only — Avdi wants you to start learning Ruby with a pro (him). He’s giving our members an exclusive 77% off discount to enjoy RubyTapas for 3 months. Normally a subscription to RubyTapas is $9 per month, but our members save $21 and pay just $6 to get access for 3 months!
This looks like a shining example of a well-factored Sinatra app powered by PostgreSQL. If you’re just learning Ruby or want to learn some new tricks, give it a read.
Watson lets you create issues while you code, including custom labels, without ever having to interrupt your workflow. It syncs with remote services like GitHub and Bitbucket — Push locally created issues and get the status of remote issues right in your command line.
If you aren’t happy with the current process monitoring tools out there, check out Eye. It uses Celluloid to provide multi-threaded process monitoring that behaves very similarly to Bluepill. One valuable addition is the ability to get more information about the processes running:
$ eye i(nfo) test samples sample1 ....................... up (21:52, 0%, 13Mb, <4107>) sample2 ....................... up (21:52, 0%, 12Mb, <4142>)
Other bonus tools include debugging configurations and tailing the logs of the processes being monitored.
Andrew and Adam talk with Lee Hambley about some serious subjects such as Capistrano 3.0/2.0, open source burnout, various conversations around deploying, Ruby, respect, handing over the reigns and more. If you hack on open source or run an open source project, you should listen to this episode.
Want to add personalization such as recommendations or content discovery to your application? PredictionIO has your back.
You can download and install the server yourself or use their cloud infrastructure. Clients already exist for Java, PHP, Python, and Ruby, and I assume more are on the way.
Check out all of their open source goods right here.
Adam and Jerod talk with Katrina Owen – Panelist on Ruby Rogues, Instructor at Jumpstart Lab and creator of Exercism.io, an open source platform for crowd-sourced code reviews on daily practice problems.
Interesting project from Brian Shirai which he describes as:
Rubinius X is an experiment in modernizing Ruby. Rubinius X can be imagined as a time machine that brings the future to the present, enabling us to write modern programs now.