#Tuesday (3/12)
- 1:00pm - Lemuria
- 5:00pm - Japanther
# encoding: UTF-8 | |
require 'logging' | |
log = Logging.logger['read_rate'] | |
log.add_appenders( | |
Logging.appenders.file( | |
"1.log", | |
:layout => Logging.layouts.pattern(:pattern => '%m\n'), | |
:auto_flushing => 100 | |
) |
$ gnuplot | |
G N U P L O T | |
Version 4.6 patchlevel 0 last modified 2012-03-04 | |
Build System: Linux x86_64 | |
Copyright (C) 1986-1993, 1998, 2004, 2007-2012 | |
Thomas Williams, Colin Kelley and many others | |
gnuplot home: http://www.gnuplot.info |
require 'rubygems' | |
require 'benchmark/ips' | |
class ExampleClass | |
def foo; 42; end | |
end | |
module ExampleMixin | |
def foo; 43; end | |
end |
sudo packer -S chruby | |
sudo packer -S ruby-build-git | |
sudo ruby-build 1.9.3-p374 /opt/rubies/ruby-1.9.3-p374 |
a |
# Attempt to reproduce SSL_shutdown() hang. http://bugs.ruby-lang.org/issues/7584 | |
require 'net/http' | |
require 'uri' | |
20.times do | |
Thread.new { | |
loop do | |
# Sorry google! | |
uri = URI.parse("https://www.google.com/") | |
http = Net::HTTP.new(uri.host, uri.port) |
A write efficient implementation of large (consistent) sets on DynamoDB.
DynamoDB has built-in support for sets but if your sets are large (>1000 members) you quickly run into two issues:
[email protected] | |
[email protected] | |
[email protected] |
Kafka failures when sending to a single topic: