My Recent Pastes (901 and counting)
Pastes by headius (901 and counting)
Below are the 15 most recent pasties by headius.
March 30, 2007
12:08PM EDT
by headius
View more (18 lines)
# scripting.rb include Scriptable x = 'Hello'
March 30, 2007
12:05PM EDT
by headius
View more (13 lines)
include Scriptable x = 'Hello' y = 'world'
March 30, 2007
2:21AM EDT
by headius
View more (38 lines)
100k loops yielding a fixnum 10 times to a block that just retrieves dvar 0.777000 0.000000 0.777000 ( 0.778000) 0.123000 0.000000 0.123000 ( 0.123000) 0.100000 0.000000 0.100000 ( 0.100000) 0.103000 0.000000 0.103000 ( 0.104000)
March 29, 2007
9:28AM EDT
by headius
View more (111 lines)
## jruby SERVER -O test/bench/bench_block_invocation.rb 100k loops yielding a fixnum 10 times to a block that just retrieves dvar 0.864000 0.000000 0.864000 ( 0.864000) 0.536000 0.000000 0.536000 ( 0.536000) 0.386000 0.000000 0.386000 ( 0.386000)
March 29, 2007
9:22AM EDT
by headius
View more (74 lines)
## jruby SERVER test/bench/bench_block_invocation.rb 100k loops yielding a fixnum 10 times to a block that just retrieves dvar 0.870000 0.000000 0.870000 ( 0.870000) 0.535000 0.000000 0.535000 ( 0.535000) 0.392000 0.000000 0.392000 ( 0.392000)
March 29, 2007
1:29AM EDT
by headius
View more (74 lines)
~/NetBeansProjects/jruby $ jruby SERVER test/bench/bench_block_invocation.rb 100k loops yielding a fixnum 10 times to a block that just retrieves dvar 0.895000 0.000000 0.895000 ( 0.895000) 0.556000 0.000000 0.556000 ( 0.556000) 0.393000 0.000000 0.393000 ( 0.393000)
March 02, 2007
9:13AM EDT
by headius
View more (10 lines)
Ruby JRuby JRuby -C app_fib 8.5230 17.5310 4.5820 app_tak 11.3210 20.9350 5.5940 app_tarai 9.0190 17.9830 5.4550 loop_whileloop 10.1240 19.4100 7.2180
February 22, 2007
9:08AM EDT
by headius
View more (8 lines)
1 8.96% 8.96% 12 300136 java.lang.ClassLoader.defineClass1 2 8.21% 17.16% 11 300117 java.lang.ClassLoader.defineClass1 3 6.72% 23.88% 9 300026 java.util.zip.ZipFile.getEntry 4 5.22% 29.10% 7 300120 java.util.zip.Inflater.inflateBytes 5 4.48% 33.58% 6 300143 java.lang.Class.getDeclaredConstructors0
February 17, 2007
1:56AM EDT
by headius
View more (86 lines)
control 0.10400000000000001 Array#& 0.669 Array#* (int)
February 16, 2007
7:26PM EDT
by headius
View more (359 lines)
NativeException: java.lang.NullPointerException: null
RubyNumeric.java:154:in `org.jruby.RubyNumeric.num2long'
Pack.java:1587:in `org.jruby.util.Pack.pack'
RubyArray.java:2209:in `org.jruby.RubyArray.pack'
null:-1:in `org.jruby.RubyArrayInvokerpack1.call'
February 13, 2007
3:12PM EDT
by headius
View more (7 lines)
require 'java' import java.lang.System import java.io
February 13, 2007
2:34PM EDT
by headius
~/NetBeansProjects/jruby $ jruby -e "require 'java'; module Foo; include_package 'org.jruby.util'; end; p defined? Foo::PackageSearch" nil ~/NetBeansProjects/jruby $ jruby -e "require 'java'; module Foo; import 'org.jruby.util'; end; p defined? Foo::PackageSearch" "constant"
February 13, 2007
11:09AM EDT
by headius
View more (124 lines)
require 'java' include_class 'java.awt.Color' include_class 'java.awt.image.BufferedImage' include_class 'java.io.DataOutputStream'
February 13, 2007
9:54AM EDT
by headius
set CLASSPATH=C:\jfreechart-1.0.3\jfreechart-1.0.3\lib\jfreechart-1.0.3.jar;C:\jfreechart-1.0.3\jfreechart-1.0.3\lib\jcommon-1.0.8.jar
February 07, 2007
2:07PM EDT
by headius
=> Booting WEBrick...
/Users/headius/NetBeansProjects/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27: uninitialized class variable @@allow_concurrency in ActiveRecord::Base (NameError)
from /Users/headius/NetBeansProjects/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27
from /Users/headius/NetBeansProjects/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27
