This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Clarity | |
alias Value = Nil | String | Bool | | |
Int64 | | |
Int32 | | |
Float64 | | |
Array(Value) | | |
Hash(String, Value) | |
def self.dismantler(a) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Acts like an array and receives futures. Will yield them as | |
# they become ready. | |
class HackedMultiplexer | |
include Celluloid | |
include Enumerable | |
def initialize | |
@not_ready = [] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Muile | |
include Celluloid | |
def router method, *args | |
puts "Called Muile.#{method}" | |
if respond_to? "#{method}!" | |
puts "Calling Muile.#{method}!" | |
send "#{method}!", *args | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NoMethodError: undefined method `request_path' on an instance of HTTP::Parser. | |
kernel/delta/kernel.rb:81:in `request_path (method_missing)' | |
/mu/penultimatix/reel/lib/reel/request_parser.rb:14:in `__script__' | |
/mu/penultimatix/reel/lib/reel/mixins.rb:51:in `path' | |
/mu/penultimatix/reel/lib/reel/rack_worker.rb:135:in `env' | |
/mu/penultimatix/reel/lib/reel/rack_worker.rb:95:in `request_env' | |
/mu/penultimatix/reel/lib/reel/rack_worker.rb:74:in `handle_request' | |
/mu/penultimatix/reel/lib/reel/rack_worker.rb:65:in `handle' | |
/usr/local/rvm/gems/rbx-head/bundler/gems/celluloid-594e63068e98/lib/celluloid/calls.rb:25:in `dispatch' | |
/usr/local/rvm/gems/rbx-head/bundler/gems/celluloid-594e63068e98/lib/celluloid/calls.rb:67:in `dispatch' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@two:~# cat /root/.rbx/rubinius_last_error_7339 | |
Rubinius Crash Report #rbxcrashreport | |
Error: signal SIGSEGV | |
[[Backtrace]] | |
ruby[0x5904a0] | |
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7fdd3877acb0] | |
ruby(_ZN8rubinius11MachineCode11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x41eb)[0x5b5c5b] | |
ruby(_ZN8rubinius11MachineCode19execute_specializedINS_12TwoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x2a5)[0x5ef465] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Reel::RackWorker crashed! | |
Celluloid::DeadActorError: attempted to call a dead actor | |
/usr/local/rvm/gems/rbx-head/bundler/gems/celluloid-594e63068e98/lib/celluloid/proxies/sync_proxy.rb:25:in `method_missing' | |
/usr/local/rvm/gems/rbx-head/bundler/gems/celluloid-594e63068e98/lib/celluloid/legacy.rb:14:in `call (method_missing)' | |
/usr/local/rvm/gems/rbx-head/gems/sinatra-1.3.6/lib/sinatra/base.rb:1417:in `call' | |
/usr/local/rvm/gems/rbx-head/gems/sinatra-1.3.6/lib/sinatra/base.rb:1499:in `synchronize' | |
/usr/local/rvm/gems/rbx-head/gems/sinatra-1.3.6/lib/sinatra/base.rb:1417:in `call' | |
/usr/local/rvm/gems/rbx-head/gems/rack-1.5.2/lib/rack/builder.rb:138:in `call' | |
/usr/local/rvm/gems/rbx-head/gems/rack-1.5.2/lib/rack/urlmap.rb:65:in `call' | |
kernel/bootstrap/array.rb:68:in `each' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@convergence:/home/mu/one# scripts/one-server.sh | |
root@convergence:/home/mu/one# I, [2013-04-28T02:34:19.541402 #15521] INFO -- : Reel 0.3.0 | |
I, [2013-04-28T02:34:19.543178 #15521] INFO -- : Listening on 0.0.0.0:80 | |
I, [2013-04-28T02:34:19.543395 #15521] INFO -- : Number of workers: 51 | |
I, [2013-04-28T02:34:19.543590 #15521] INFO -- : Process ID saved to: tmp/01E.pid | |
I, [2013-04-28T02:34:19.543783 #15521] INFO -- : Process ID: 15521 | |
E, [2013-04-28T02:34:23.033263 #15521] ERROR -- : Celluloid::PoolManager crashed! | |
Rubinius::CompileError: Error trying to compile /usr/local/rvm/gems/rbx-head/gems/mail-2.5.3/lib/mail/parsers/rfc2822_obsolete.rb | |
/usr/local/rvm/rubies/rbx-head/runtime/19/compiler/compiler.rbc:13:in `compiler_error' | |
/usr/local/rvm/rubies/rbx-head/runtime/19/compiler/compiler.rbc:92:in `compile' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'forwardable' | |
require "websocket/protocol/hybi" | |
module ProtocolAlias | |
def << data | |
text data | |
end | |
end | |
class Mu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) HTTP::Parser should implement basic api | |
Failure/Error: Unable to find matching line from backtrace | |
Java::JavaLang::ClassCastException: | |
org.jruby.RubyNil cannot be cast to org.jruby.RubyString | |
# org.ruby_http_parser.RubyHttpParser$2.cb(RubyHttpParser.java:110) | |
# http_parser.lolevel.ParserSettings.call_on(ParserSettings.java:80) | |
# http_parser.lolevel.ParserSettings.call_on_url(ParserSettings.java:64) | |
# http_parser.lolevel.HTTPParser.execute(HTTPParser.java:697) |
NewerOlder