Follow @philwhln

gem

A/B Testing in Ruby On Rails

By Phil Whelan on October 23, 2012

In this post I am going to demonstrate, step-by-step, a way to A/B test new features from within Ruby-On-Rails using FluidFeatures. FluidFeatures is currently in closed-beta and requires request for inclusion in the beta program. We are looking for enthusiastic A/B testers, so we can get feedback on the service before releasing it to the masses.

Posted in FluidFeatures, Ruby, Ruby On Rails, Web Development | Tagged a/b testing, fluidfeatures, gem, multi-variant testing, ruby, ruby on rails | 1 Response

Colorful Ruby Code In HTML Using CodeRay

Colorful Ruby Code In HTML Using CodeRay

By Phil Whelan on September 3, 2012

In this blog post I will demonstrate a quick and easy way I have found to syntax highlight your Ruby code in pretty colors for your blog posts or other HTML-based display purposes. Please note, this blog post is designed for use with color monitors only, obviously.

The focus of this post is Ruby, but this method also applies for syntax highlighting C, C++, Python, CSS, Clojure, diff, Groovy, HAML, ERB, Java, JavaScript, PHP, SQL, XML and YAML.

Posted in Ruby | Tagged blogging, coderay, colorize, css, gem, html, pygments, render, ruby, syntax highlighting | 9 Responses

Zero-Copy. Transfer Data Faster In Ruby

Zero-Copy. Transfer Data Faster In Ruby

By Phil Whelan on January 14, 2011

In this post I will explain the concept behind “zero-copy”, which is feature of the Linux allowing for faster transfer of data between pipes, file-descriptors and sockets. I will demonstrate how you can use this functionality in your Ruby projects using a code example. This functionality has been implemented in C, Java, Ruby, Perl and nameless other languages, but in this blog I will focus on the Ruby usage.

Posted in Ruby, Web Development | Tagged file-server, gem, io, io_splice, java, linux, ruby, splice, zero-copy | 2 Responses

Top Posts

  • Homebrew - Intro To The Mac OS X Package Installer
  • Quora's Technology Examined
  • Gitolite Installation Step-By-Step
  • How To Get Experience Working With Large Datasets
  • Install Gitolite To Manage Your Git Repositories
  • Embed Base64-Encoded Images Inline In HTML
  • Map-Reduce With Ruby Using Hadoop
  • Highchart Vs Flot.js - Comparing JavaScript Graphing Engines

Tags

amazon ec2 android apple cassandra customers data processing entrepreneur entrepreneurship eventmachine gem git gitolite google hadoop hbase hdfs high scalability homebrew install iphone java location mac osx memcached mongodb mysql nginx nosql perl phone postgresql python rails redis ruby ruby on rails scala ssh-keygen startup tornado twitter vancouver web-development whirr wikipedia

Copyright © 2016 Big Fast Blog | Vancouver, BC, Canada