RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

wbailey — 34 posts

http://www.becomingmedium.com

Stunned by Sexism  becomingmedium.com
I am a ruby engineer at heart. Those who know me usually see my posts about the ruby tools I have built on here. However today I am sharing a story about sexism that I think everyone should read. Let this be a reminder that as a Ruby community we need to be open and embrace everyone, including the companies we work for.
This release fixes an issue when encoding a table with standard ascii or utf8 characters. Check out the wiki to see examples of nicely formatted tables. As always The gem is available on rubygems.org with source on github. For those not familiar with "the reporter", it provides a ruby DSL for writing reports with built in features for progress reporting and table formatting. It is very handy for system level and data reporting scripts.
The latest version allows for encoding table with standard ascii or utf8 characters. Check out the wiki to see examples of nicely formatted tables. As always The gem is available on rubygems.org with source on github. For those not familiar with "the reporter", it provides a ruby DSL for writing reports with built in features for progress reporting and table formatting. It is very handy for system level and data reporting scripts.
Kata 1.4.0 Released  twitter.com
There is a new addition to the kata gem DSL. Questions can be asked inspiring further thought on the solution journey. The inspiration came after a brief twitter discussion with @pragdave. Have a look at the wiki for complete information on what the gem provides and how to use it to improve your ruby programming skills. Also checkout the companion code katas project if you want to contribute.
Kata 1.3.3 Released  code-worrier.com
After some time away I have updated the kata gem to fix a couple of lingering bugs. Github integration should work properly now. Have a look at the wiki for complete information on what the gem provides and how to use it to improve your ruby programming skills. There is also this nice blog post by Michael Hoffman documenting how he uses it.
The latest post in my series on recruiting and interviewing. This time I tackle the technical interview and discuss how to ensure that both you and the candidate can be successful in determining fit.
In what is turning out to be a series on recruiting and interviewing, in my latest blog post, I discuss the when, what and how of asking questions in an interview and why it is so important.
I take on recruiting in my latest blog post Avoiding Paper Tigers, Leaches and Space Cadets. If you are a hiring manager, you will want to avoid the candidates I describe and learn from my experience what qualities they have and techniques to expose them early. If you are a ruby engineer, then you will want to avoid presenting yourself like one of them. As always, enjoy the read and share your thoughts!
What is the difference between a Software Engineer and a Senior Software Engineer? Do years of experience have any part in determining seniority? How do the years of experience numbers get determined in all these job descriptions I read? I address these and other questions in a new post.
Stages of Learning  becomingmedium.com
It has been a while since I posted on here but I wanted to share a post on The 5 Stages of Learning as seen through the eyes of a ruby developer. Would love to hear what the community thinks and if they can relate.
Claws is a command line based AWS (Amazon Web Services) console. Thanks to rapid community adoption a new release is already available. With this release you can connect to VPC hosts properly as well as specify an alternate ssh identity file to use. There is also a bug fix regarding initializing the configuration file. Check out a screenshot example of how it works along with other information on github.
Claws 1.1 Released  rubyflow.com
Claws provides a command line interface to your Amazon Web Services account. With this release it now properly supports multiple regions allowing all instances to be reported along with their region displayed. Check out a screenshot of the update on github. You can also read the initial announcement on rubyflow here.
Amazon AWS users are all to familiar with the steps required to connect to an available instance. Using the management console you have to copy and paste the public dns name into the shell to construct the ssh command. It is annoying when the mouse isn't placed just right and your clipboard is filled with more than what you want.

This lead me to create the claws gem which is a command line interface to your AWS instances. It uses the command line reporter gem to provide a character based table view of the status and customizable list of fields displaying information about each instance. It also provides a way for you to select an instance from the list and execute the ssh command to connect to it automatically. Checkout the screen shots on github and read the wiki for how to customize.
Katas are well known in the ruby community as a great way to practice the language. The kata gem provides facilities to make the practice easier. Writing a kata is as easy as writing an rspec test while taking it is a step by step process with github integration baked in. With this release kata supports other languages besides ruby and it commits to your git repo after completing a requirement during a practice session. Check it out and have a look at the code katas project for some samples to test yourself against!
Katas are well known in the ruby community as a great way to practice the language. The kata gem provides facilities to make the practice easier. Writing a kata is as easy as writing an rspec test while taking it is a step by step process with github integration baked in. With this release you don't have to create a new repo but instead just add the project tree to an existing one. Check it out and have a look at the code katas project for some samples to test yourself against!
The latest version of Command Line Reporter now supports unicode drawing characters for better looking output if your ruby version supports unicode. Check out the wiki to see examples of nicely formatted tables. As always The gem is available on rubygems.org with source on github. For those not familiar with "the reporter", it provides a ruby DSL for writing reports with built in features for progress reporting and table formatting. It is very handy for system level and data reporting scripts.
The latest version of Command Line Reporter now allows you to capture output as a single string. The gem is available on rubygems.org with source on github. For those not familiar with Command Line Reporter, the gem provides a ruby DSL for writing ascii reports with built in features like progress reporting and table formatting. It is very handy for system level and data reporting scripts.
The latest version of Command Line Reporter has undergone a major refactoring and now supports color and boldface output. Highlighting and making data visually appealing on the terminal screen is easy now. The gem is available on rubygems.org with source on github. For those not familiar with Command Line Reporter, the gem provides a ruby DSL for writing ascii reports with built in features like progress reporting and table formatting. It is very handy for system level and data reporting scripts.
The latest version of Command Line Reporter now supports suppressing of output so that scripts can support a --quiet flag. The gem is available on rubygems.org with source on github. For those not familiar with Command Line Reporter, the gem provides a ruby DSL for writing ascii reports with built in features like progress reporting and table formatting. It is very handy for system level and data reporting scripts.
The latest version of Command Line Reporter now supports table formatting of your data. The DSL is very similar to writing HTML tables making it easy to build sophisticated reports. The gem is available on rubygems.org with source on github
The latest version of Command Line Reporter has new features including horizontal rules, vertical spacing, headers and footers. See the post from the other day for more details on formatting capabilities. The gem is available on rubygems.org with source on github
I am releasing the first version of Command Line Reporter. It allows you to control the output of your ruby scripts using formatters just like RSpec does displaying the results of your tests. The result is cleaner code that is not polluted with unreadable puts and print statements with hard to track whitespace. The gem is available on rubygems.org with source on github
Why so many V/Ps?  exposinggotchas.blogspot.com
I was recently involved in a discussion about what makes an Agile company successful. Of course there are many opinions, blogs, books and studies on this topic but in this blog post I discuss a very simple formula that makes it very easy to calculate.
Introducing the Code Kata project  exposinggotchas.blogspot.com
I just wrote a blog post about a project aimed at making code katas a bigger part of the ruby community. Have a read to see what I think the past barriers have been and how this project and the kata gem help eliminate them. It would also be nice if you have the time to fork the project and contribute in addition to working on the katas as practice exercises.
A kata is defined as an exercise in programming which helps hone your skills
through practice and repetition. Authoring katas is done in blogs but you can't
really test yourself. This gem provides a DSL to author the kata and administer
it as a test providing feedback for evaluation. It also provides basic github
repo setup so that you can chart solution progress over time. Check it out on github.
Fun with ruby arrays, hashes and benchmarking  exposinggotchas.blogspot.com
My friend always jokes about waiting for a late post from me on subjects that come up from the day. I had one of this discussions today about making a hash from arrays that turned into a learning exercise that you can read about here
ActiveRecord migrations outside of Rails  exposinggotchas.blogspot.com
Sometimes you are working with a database that is not used in the full rails context. This blog post describes how I accomplished using ActiveRecord migrations to build and manage my database.
Stop being a tourist!  exposinggotchas.blogspot.com
About a month ago I saw a post on the Rails Best Practices site regarding comments and magic codes. The point of the article is when you meta-program in Ruby you should write comments that reflect dynamically generated code. I think this is a terrible idea and I explain in this blog post.
Using Singleton Classes in Ruby  exposinggotchas.blogspot.com
A short blog post covering how one can use a Singleton class in a real life example to encapsulate logic in a better way and make your code more extensible.
Little known fact about Memoization  exposinggotchas.blogspot.com
I just wrote a short blog about using blocks with the memoization operator. I find that this a little known fact and the post demonstrates how you can more well intentioned code.
A kata is defined as an exercise in programming which helps hone your skills through practice and repetition. Authoring katas is done in blogs but you can't really test yourself. This gem provides a DSL to author the kata and administer it as a test providing feedback for evaluation. Check it out on Github.
A kata is defined as an exercise in programming which helps hone your skills through practice and repetition. Authoring katas is done on the web in blogs but you can't really test yourself. This gem provides a DSL to author the kata and administer it as a test providing feedback for evaluation. Check it out on Github.
Based on feedback from the release last night the latest version allows you to alternately define the parent class for your exception. The define_exception gem provides a succinct manner in which exceptions can be defined much like read/write attributes in your class using attr_accessor. It also makes it trivial to define a default message so that in most cases the second argument to raise is not necessary.
Exceptions in ruby are defined by subclassing off of a standard exception and then using raise to invoke them. Messaging is typically separate from the class definition which isn't very DRY when invoking raise with a second String argument multiple times. The define_exception gem provides a succinct manner in which exceptions can be defined much like read/write attributes in your class using attr_accessor. It also makes it trivial to define a default message so that in most cases the second argument to raise is not necessary.