Skip to content

Instantly share code, notes, and snippets.

View agrimm's full-sized avatar

Andrew Grimm agrimm

  • Terem Technologies
  • Sydney, New South Wales
View GitHub Profile
~ steveklabnik$ ruby -v
rubinius 1.2.4dev (1.8.7 dbd17069 yyyy-mm-dd JI) [x86_64-apple-darwin10.6.0]
~ steveklabnik$ irb
rbx-head :001 > new = [1, 2, 3]
=> [1, 2, 3]
rbx-head :002 > new
NoMethodError: undefined method `new' on an instance of Object. # Cancel annoying `
from Kernel(Object)#new (method_missing) at kernel/delta/kernel.rb:85
from { } in Object#irb_binding at (irb):2
rbx-head :003 > ^D~ steveklabnik$ rvm use 1.8.7
@agrimm
agrimm / to_proc_bench.rb
Created June 29, 2011 09:18 — forked from gregspurrier/to_proc_bench.rb
Benchmark for Symbol#to_proc and results from various Ruby implementations
# Originally benchmark code and results for:
# http://blog.gregspurrier.com/articles/relative-performance-of-symbol-to-proc-in-popular-ruby-implementations
# Modified by Andrew Grimm to see if memoization could help in 1.8.7.
require 'benchmark'
class Dummy
# attr_reader is marginally faster than "real" methods
attr_reader :one
def initialize() @one = 1; end
@agrimm
agrimm / gist:1471899
Created December 13, 2011 12:04 — forked from kunzmann/gist:1471853
super from ROROsyd
module Baz
def hello
puts "Baz#hello called"
super
end
end
class Foo
def hello
@agrimm
agrimm / affiliation_count_sprk2012.md
Created June 18, 2012 03:06 — forked from kakutani/affilication_count_sprk2012.md
Affiliation Count of Sapporo RubyKaigi 2012 Speakers

Affiliation Count of Sapporo RubyKaigi 2012 Speakers

(Based on hand count by Kakutani, as they spelled their affiliation inconsistently. Thanks to sprk2012 team for providing *.yml!)

By company

  • 4: Eiwa System Management, Inc.
  • 3: COOKPAD Inc.
  • 3: Network Applied Communication Laboratory Ltd.
@agrimm
agrimm / delete-tr.rb
Last active December 20, 2015 13:29 — forked from dominikh/delete-tr.rb
Fork of delete-tr.rb run in 2013, comparing Rubinius against MRI
require 'benchmark'
TIMES = 1000
s = "a long string" * 1000
Benchmark.bmbm do |x|
x.report("delete") do
TIMES.times { s.delete(" ") }
end

Given that many(most?) jobs filled are done so via personal/community recommendations, it follows that teams are therefore built from the pool of people who attend events like RoRoSyd or are friends of those people. This creates a monoculture of people who enjoy the type of activity that RoRoSyd is within our workplaces.

To fix this either RoRoSyd must become more diverse, or companies must spend more money locating, recruiting and training more diverse applications. The aspect of this we as a community have control over is RoRoSyd.

RoRoSyd is currently a social event/drinkup instead of a professional networking event. Personally I enjoy RoRoSyd in its current form, but I think it should evolve and part of that means losing the image of a drinkup. Therefore lets leave the pub.

There's no doubt in my mind that our community is more intimidating to newbies and minorities because it's in a pub. We should work to be less intimidating, both to grow our community and to help improve the diversity of our teams at