My Recent Pastes (225 and counting)

Pastes by VVSiz (225 and counting)

Pages:

Below are the 15 most recent pasties by VVSiz.

January 04, 2008
3:42PM EDT
by VVSiz

diff --git a/src/org/jruby/util/IOHandlerProcess.java b/src/org/jruby/util/IOHandlerProcess.java
index cd68799..125e922 100644
--- a/src/org/jruby/util/IOHandlerProcess.java
+++ b/src/org/jruby/util/IOHandlerProcess.java
@@ -82,7 +82,7 @@ public class IOHandlerProcess extends IOHandlerJavaIO {

January 04, 2008
6:36AM EDT
by VVSiz

#>jruby script/server
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server

January 04, 2008
5:30AM EDT
by VVSiz

     [java] Started
     [java]
     [java]
     [java] Etc.getlogin
     [java] spec/ruby/1.8/library/etc_spec.rb-----------------------------POSIX: org.jruby.ext.posix                                                                                .LinuxPOSIX@1192059

January 03, 2008
12:50PM EDT
by VVSiz

Command line:
ruby benchmark/driver.rb -v \
  --executables="/opt/ruby1.9/bin/ruby;jruby -J-server" \
  --pattern='bm_' --directory=benchmark

December 21, 2007
3:02PM EDT
by VVSiz

diff --git a/spec/core/threadgroup/add_spec.rb b/spec/core/threadgroup/add_spec.rb
index 34ea919..e9f1593 100644
--- a/spec/core/threadgroup/add_spec.rb
+++ b/spec/core/threadgroup/add_spec.rb
@@ -7,7 +7,7 @@ describe "ThreadGroup#add" do

December 13, 2007
9:13AM EDT
by VVSiz

class MyHash < Hash
  def []= (key, value)
   true
  end
end

December 09, 2007
6:18AM EDT
by VVSiz

#>time jruby -rubygems -e 'puts "hello"'
Trying to SMART LOAD: ubygems
   Trying to SMART LOAD: rubygems
      Trying to SMART LOAD: rbconfig
      ... took 2ms

December 06, 2007
3:52PM EDT
by VVSiz

require 'socket'
require 'java'

server = TCPServer.new('localhost', 1888)
threads = []

December 06, 2007
11:16AM EDT
by VVSiz

STARTING DRB SERVICE:
/opt/work/jruby/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/breakpoint.rb:405:in `activate_drb'
/opt/work/jruby/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/dispatcher.rb:132:in `prepare_breakpoint'
/opt/work/jruby/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/dispatcher.rb:116:in `prepare_application'
/opt/work/jruby/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/dispatcher.rb:40:in `dispatch'

December 03, 2007
1:46PM EDT
by VVSiz

  1) Failure:
test_json_decoding_{a: "2007-01-01 01:12:34"}(TestJSONDecoding)
    [/opt/work/activesupport/./test/json/decoding_test.rb:33:in `test_json_decoding_{a: "2007-01-01 01:12:34"}'
     /opt/work/activesupport/./test/json/decoding_test.rb:32:in `assert_nothing_raised'
     /opt/work/activesupport/./test/json/decoding_test.rb:32:in `_wrap_assertion'

November 30, 2007
3:24PM EDT
by VVSiz

Code in MRI:

switch (TYPE(y)) {
      case T_FIXNUM:
        fy = (double)FIX2LONG(y);

November 29, 2007
2:57PM EDT
by VVSiz

Index: src/org/jruby/RubyTime.java
===================================================================
--- src/org/jruby/RubyTime.java        (revision 5125)
+++ src/org/jruby/RubyTime.java        (working copy)
@@ -67,8 +67,13 @@

November 29, 2007
11:24AM EDT
by VVSiz

#>./test
st_dev: 8
st_ino: 4
st_mode: 4
st_nlink: 4

November 28, 2007
10:42AM EDT
by VVSiz

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -28
        at org.joni.encoding.AbstractEncoding.isCodeCTypeInternal(AbstractEncoding.java:61)
        at org.joni.encoding.specific.ASCIIEncoding.isCodeCType(ASCIIEncoding.java:39)
        at org.joni.encoding.AbstractEncoding.isWord(AbstractEncoding.java:386)
        at org.joni.ByteCodeMachine.opWordSb(ByteCodeMachine.java:1124)

November 27, 2007
4:14AM EDT
by VVSiz

    [junit] "main" prio=10 tid=0x0805a400 nid=0x1ed4 waiting on condition [0xb7e31000..0xb7e33218]
    [junit]    java.lang.Thread.State: RUNNABLE
    [junit]     at java.nio.ByteBuffer.wrap(ByteBuffer.java:350)
    [junit]     at java.nio.ByteBuffer.wrap(ByteBuffer.java:373)
    [junit]     at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:237)

Previous page