A Random Walk Through Idea Space: rubyPosts tagged with rubyhttp://www.thattommyhall.com2011-06-01T11:29:36+01:00thattommyhallCompressing Text Tables In Hivehttp://www.thattommyhall.com/2011/06/01/compressing-text-tables-in-hive/2011-06-01T11:29:36+01:002016-06-05T02:27:23+01:00thattommyhallAt Forward we have been using Hive for a while and started out with the default table type (uncompressed text) and wanted to see if we could save some space and not lose too much performance.
The wiki page HiveCompressedStorage lists the possibilitiesRuby On Windows - Forking other processes http://www.thattommyhall.com/2011/02/20/ruby-on-windows-running-other-executables/2011-02-20T23:08:11+00:002016-06-05T02:27:23+01:00thattommyhallWhile moving our VM deployment site written in Sinatra to a Windows
machine with the VMware PowerCLI toolkit installed the only snag was
where we forked a process to do the preparation of the machines. Both
Kernel.fork and Process.detach seemed to haveFinding information on Hive tables from HDFShttp://www.thattommyhall.com/2011/05/16/hive-size-hdfs/2011-05-16T17:42:07+01:002016-06-05T02:27:23+01:00thattommyhallI was curious about our Hive tables total usage on HDFS and what the average filesize was with the current partitioning scheme so wrote this ruby script to calculate it.
current = ''
file_count = 0
total_size = 0
output = File.open('output.csv','w')Python talk for WYLUG, Ruby envy, Haskell Joy.http://www.thattommyhall.com/2007/12/27/python-talk-for-wylug-ruby-envy-haskell-joy/2007-12-27T12:05:38+00:002016-06-05T02:27:23+01:00thattommyhallI am just getting a talk ready for WYLUG on python.
I sent Dave the following blurb:
Why I love Python:
A talk on the programming language Python, in 3 parts (feel free to
leave in the interludes if you have had enough)
Part 1: Past, Present, FutureRunning Any Executable As A Windows Service (Ruby / Sinatra)http://www.thattommyhall.com/2011/02/14/srvany-sinatra-ruby-windows-service/2011-02-14T13:06:52+00:002016-06-05T02:27:23+01:00thattommyhallWhile migrating an automated VM deployment page using a combination of Sinatra on Linux and Bash scripts using the Perl toolkit with a simpler script using the VMWare PowerCLI that I love so much I needed to create a windows service from the Sinatra AppLearning Ruby: methods vs procs (or Ruby vs Python?)http://www.thattommyhall.com/2010/10/04/learning-ruby-methods-vs-procs-or-ruby-vs-python/2010-10-04T14:03:46+01:002016-06-05T02:27:23+01:00thattommyhallI have been meaning to learn ruby for a while and the place I am working now uses a lot so I had another look at it. I read Learn To Program, a simple but good book and found the bit on blocks and procs etc pretty good and wanted to see if I could do