The Nice

For me for you

5 Notes & Comments

Poll Everywhere Ruby API Wrapper

[Download]

Hey there. I just released the beginnings of a Ruby library for use with Poll Everywhere, an awesome service that will satisfy all of your polling needs. Stay tuned for more features.

What is Poll Everywhere?
Poll Everywhere is a premium real-time web-based polling service. Poll Everywhere is unique in that it allows users to submit poll responses via SMS, web, twitter, and blog widget— and will display the results on a chart updated in real time. If you are looking for a full-featured polling service, check out Poll Everywhere. For more information about the Poll Everywhere API, check out their API details.

Synopsis
This is a Ruby library that wraps the Poll Everywhere RESTful API. Each Poll is represented by a Ruby object of type PollEverywhere::Poll and includes some convenient methods for interfacing with your Poll Everywhere account. Requires a PollEverywhere Account. Visit Polleverywhere.com for more information. Stay tuned for more features coming soon!

Installation in three easy steps
  1. Open the poll_everywhere.rb file, and make sure that the CONFIG_FILE_URL points to your config file. By default. the config file is called: “#{RAILS_ROOT}/config/poll_everywhere.yml”
  2. Make sure the poll_everywhere.rb file is loaded into your application. If your application is a Rails app, just put it in your /lib directory
  3. Edit the poll_everywhere.yml file to contain your Poll Everywhere account credentials.
Sample usage
Here is a sample of some of the features provided in this release:

  • Requests all polls in the user’s account. Subsequent calls to Poll.all() look in a cached copy. Use Poll.refresh() to reload the cache. Returns an array of Poll objects.
    
    PollEverywhere::Poll.all
    
    

  • Returns an array of matching Polls from the user’s account
    
    PollEverywhere::Poll.find_by_title("title")
    
    

  • Find a Poll by the permalink value
    
    PollEverywhere::Poll.find("LTE4MzMzNTgxNzI")
    
    

  • Records a response for a given Poll
    
    PollEverywhere::Poll.vote("keyword")
    
    

Filed in polling sms software ruby plugins libs

5 Notes & Comments

The Importance of The Why

A Company’s success lies not in what they do, but rather why they do it. Companies that are greatly successful (like Apple, Google, and Southwest Airlines for example) are so not because of the services and products they provide— because often competing products are far more similar than we’d believe them to be (what are the differences between the iPhone and Droid, really??). In this fiercely competitive economy where companies are competing for narrow slivers of market share, a company will win if and only if they have and understand their very reason for existing. What’s your purpose?

Filed in branding business philosophy success thoughts

4 Notes & Comments

Hiyiah!

What is it with job posters using phrases like “Ninja” or better yet, “Rockstar” to describe their ideal candidate? Why would a software developer ever conjure up these images? Have these job posters ever met a rockstar before? Rockstars sleep all day, and party and play music at night. Ninjas throw stars and use nunchucks. I’m not so sure these are these qualities that software companies are actually looking for in a candidate. So why do they use these ridiculous terms?

In reality, being a software developer means sitting in a chair all day until your back and eyes hurt— a far cry from the stealthiness of being a ninja, or the excitement of being a rockstar. In actuality, what the job poster is actually seeking is a slave — Someone who will crank out an endless list of commands without question or hesitation. As a job seeker, these are the types of companies to be wary of. They are over-glorifying the job, and being over-complimentary to get something from you.

I would much rather work for a company that values my judgement, and encourages me to share my thoughts— not call me a ninja and give me a free slice of pizza and a beer on Friday.

Filed in employment, jobs thoughts rants