Articles tagged with 'ruby'

Experiments in Array processing in Ruby

I recently had an assignment which required me to explore alternative solutions to reducing an array of strings to an array of unique words using Ruby. This post shows benchmarks I used during experimentation to compare a number of approaches.

Read More

Post Tags:

Web scraping with Ruby

Web scraping is a way to fetch a small piece of content from a page on the web and do something with it. The Nokogiri gem for Ruby makes this easy and the ActionMailer gem makes it easy to email the scraped content to yourself. If you run the program from this post using cron or some other task scheduler, you could be receiving Canon SLR Lens deals right to your inbox!

Read More

Post Tags: