I hereby claim:
- I am sdsykes on github.
- I am sdsykes (https://keybase.io/sdsykes) on keybase.
- I have a public key whose fingerprint is 8083 1053 7ED3 36B7 4B12 A80B 90A5 BAEA 6D05 D980
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
$size = ARGV[0].to_i | |
if $size <= 0 | |
puts "Supply numeric level (grid size) as an argument" | |
exit | |
end | |
def show(placement) | |
0.upto($size - 1) do |x| |
require 'set' | |
module ActiveRecord | |
class Base | |
attr_accessor :is_scrooged, :scrooge_callsite_signature, :scrooge_own_callsite_set | |
@@scrooge_mutex = Mutex.new | |
@@scrooge_callsites = {} | |
@@scrooge_select_regexes = {} |
Country Load Scrooged (1.6ms) SELECT `countries`.id FROM `countries` WHERE (id IN | |
(10,33,48,70,81,82,90,124,136,146,147,170,175,176,186,181,54,80,94,185,194,27,45,63,131,40,7, | |
38,144,168,165,8,22,31,39,46,53,59,83,85,92,96,99,100,105,111,112,114,128,132,137,150,152,163, | |
164,171,172,177,190,196,198,199,207,62,180,25,126,9,339,342,47,89,208,6,119,43,293,24,345,115, | |
110,21,84,227,354,361,73,79,371,34,87,193,69,151,58,195,191,102,118,66,257,161,315,323,129,67, | |
17,28,159,68,134,366,65,265,18,229,61,77,64,331,184,255,359,349,356,50,149,299,365,357,41,358, | |
201,178,355,49,215,35,91,60,130,362,20,145,122,12,327,15,154,192,113,4,153,335,155,19,182,71, | |
169,95,52,74,200,108,138,101,107,123,187,368,13,2,72,16,11,360,135,55,376,188,156) AND continent='Asia') | |
SQL (1.2ms) SELECT `countries`.date,`countries`.country,`countries`.continent,`countries`.parent_country, | |
`countries`.official_name,`countries`.status,`countries`.highest_point,`countries`.height, |
#### fetches the ids | |
>> ii=Inbro.find(:all, :limit=>5) | |
Inbro Load Scrooged (0.3ms) SELECT `inbro`.id FROM `inbro` LIMIT 5 | |
#### causes reload of all columns, and fetches id of each client. Association is noted. | |
>> ii.each {|i| i.inbro_client.id} | |
Inbro Scrooge Reload (15.0ms) SELECT `inbro`.name,`inbro`.header,`inbro`.prompt,`inbro`.banner_name,`inbro`.banner_width,`inbro`.banner_height | |
FROM `inbro` WHERE `inbro`.id IN ('1','2','3','4','5') | |
InbroClient Load Scrooged (58.9ms) SELECT `inbro_client`.id FROM `inbro_client` WHERE (`inbro_client`.`id` = 7120) | |
InbroClient Load Scrooged (0.5ms) SELECT `inbro_client`.id FROM `inbro_client` WHERE (`inbro_client`.`id` = 7120) |
sds:rubinius-0.13.0 sds$ ./configure --enable-llvm | |
Using LLVM: auto | |
Checking for existing LLVM tree: not found. | |
Fetching http://asset.rubini.us/prebuilt/llvm-i686-apple-darwin10.2.0.tar.bz2... | |
curl: (22) The requested URL returned error: 404 | |
ERROR. No llvm-i686-apple-darwin10.2.0.tar.bz2 available on server. | |
Prebuilt packages updated. | |
Checking for 'llvm-config': not found | |
Checking out LLVM from svn: http://llvm.org/svn/llvm-project/llvm/branches/release_26/ Code appears to be proper svn tree. |
user system total real | |
1x 1.690000 0.000000 1.690000 ( 1.690578) | |
2x 1.770000 0.010000 1.780000 ( 1.780384) | |
4x 1.800000 0.000000 1.800000 ( 1.796044) | |
8x 1.830000 0.000000 1.830000 ( 1.835327) | |
16x 1.860000 0.010000 1.870000 ( 1.866744) | |
32x 1.950000 0.000000 1.950000 ( 1.951703) | |
64x 2.110000 0.000000 2.110000 ( 2.117919) | |
==> Build Environment | |
CC: /usr/bin/cc | |
CXX: /usr/bin/c++ | |
LD: /usr/bin/cc | |
CFLAGS: -O3 -w -pipe | |
CXXFLAGS: -O3 -w -pipe | |
MAKEFLAGS: -j4 | |
PATH: /Users/sds/.rvm/gems/ruby-1.8.7-p248/bin:/Users/sds/.rvm/gems/ruby-1.8.7-p248@global/bin:/Users/sds/.rvm/rubies/ruby-1.8.7-p248/bin:/Users/sds/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin | |
==> Downloading ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.6.2-2.tar.bz2 | |
curl -f#LA Homebrew 0.6 (Ruby 1.8.7-174; Mac OS X 10.6.4) ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.6.2-2.tar.bz2 -o /Users/sds/Library/Caches/Homebrew/imagemagick-6.6.2-2.tar.bz2 |
require 'totalspaces2' | |
TotalSpaces2.move_to_space(ARGV[0].to_i) |
require 'totalspaces2' | |
current = TotalSpaces2.current_space | |
spaces = TotalSpaces2.number_of_spaces | |
columns = TotalSpaces2.grid_columns | |
new_space = current + columns | |
if new_space <= spaces | |
TotalSpaces2.move_to_space(new_space) | |
end |