Tag Archives: Ruby
kindle-tools-personal-id-utility

Discover Your Kindle PID to Securely Share Your .azw Files

Preston Lee has released a Serial-to-PID Calculator utility for Kindle users. Using this utility allows you to discover your PID so you can share your DRM’ed Amazon .azw files with other kindle users securely — this utility does not remove the DRM from the .azw files:
If you wish to DRM-protect your own personal content for [...]

Read full storyComments { 0 }
Beginners Guide to Quick File Listing Using Ruby

Beginners Guide to Quick File Listing Using Ruby

As a beginner to the Ruby language, I often found myself needing feedback listing which files are in a given directory. Ruby, for that reason alone, has been a quick savior. A couple of Google searches on this topic will land you somewhere near the Ruby class Dir. Dir is a part of the [...]

Read full storyComments { 0 }
Ruby 1.9 Quick Speed Test

Ruby 1.9 Quick Speed Test

It has been a while since I’ve had a chance to play with Ruby, and with 1.9.1 coming out in January I figured I’d go ahead and install 1.9 to get a feel. 
Since speed was always an issue in 1.8 I figured I’d re-run my fib.rb script to find the fibonacci number for 35.  I [...]

Read full storyComments { 3 }
Ruby Logo

Programming a Simple Client/Server Application with Ruby

Being able to add some sort of client/server model to your programs is pretty essential these days, and Ruby does a fine job making your life easier.
For this article, I’ll show you a quick, down-and-dirty way of getting a very simple server up and running and a client that will say “Hello Server World” and [...]

Read full storyComments { 0 }
Ruby Logo

Handling Exceptions in Ruby

Dealing with exceptions is a big part of any object oriented programmer’s job. We need to be able to recover from things like connect failures or syntax errors, and do so gracefully. Thankfully, raising and “rescuing” exceptions in Ruby is a fairly easy task. Let’s start with a basic example. We all know [...]

Read full storyComments { 0 }
log4r-logo

Add Logging to Ruby Scripts with Log4r

Log4r is a logging library inspired by Apache Foundation’s Log4j, “but is not a direct implementation or clone.” Of course this doesn’t change the fact that log4r is a very efficient, fast, and easy to use library. I’m going give a quick tutorial how to add logging capabilities to your Ruby scripts using Log4r. [...]

Read full storyComments { 0 }
netbeans-61-zk-design-palette-plugin

ZK 3.5.1 Released – RIA Framework, NetBeans Plugin and Tutorial

This past week ZKoss refreshed their flagship product, ZK, to version 3.5.1. If you haven’t heard of ZK before, it is a very slick framework which was “designed to maximize enterprise operation efficiency and minimize the development cost [with] its groundbreaking Direct RIA architecture. ”
Unlike most marketing ploys used to overstate the capabilities of a [...]

Read full storyComments { 0 }
java-logo

Sun, IBM and Microsoft Host Workshop to Combine VM Efforts

Sun recently held a 3-day workshop where technical leads and directors from IBM and Microsoft were invited to join together at the Sun campus to try and work on consolidating Virtual Machine efforts going forward; more specifically focused on developing solutions that would yield Java-like performance for Ruby, Python, PHP, and Scala on the JVM.
No [...]

Read full storyComments { 0 }
Java over Blurred Ruby

Using XRuby to Speed up Ruby Script Performance

Do you want to squeeze the most performance out of your Ruby scripts? If so, you might be interested in a little project called XRuby.
According to the website “in most benchmark tests, XRuby runs faster than Ruby 1.8.5″. Personally, I was a bit skeptical, and you may be too. So let’s explore this [...]

Read full storyComments { 0 }
mozilla-tracing-jit-comparison-video

Tracing JavaScript Engine Coming in Firefox 3 Could Give 20-40x Performance Boost in Some Scenarios

Ars has a piece up about the Tracemonkey JavaScript engine work that we will first see in Firefox 3.1 (currently in nightlies) but is the first part of major JavaScript work known as Tamarin that won’t be seen until Firefox 4.0.
Apparently the Mozilla JavaScript engine is getting worked over from the ground up with an [...]

Read full storyComments { 0 }
glTail.rb: Real Time OpenGL Log Visualization

glTail.rb: Real Time OpenGL Log Visualization

“Fudgie” took a personal challenge from his boss to see if he could make log visualization interesting from your Apache log file.
1 week, some Ruby and some OpenGL later he created glTail.rb; a real-time Apache log visualization toolthat uses OpenGL to render some interesting effects that represent traffic (Supported on Mac and Linux).

It’s hard [...]

Read full storyComments { 0 }