Created
June 7, 2011 17:53
-
-
Save andruby/1012748 to your computer and use it in GitHub Desktop.
BERT-RPC / Ernie bug
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
BERTRPC::Service.new("localhost", 9999).call.ernie.echo(2282389) |
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
% Interface module for E.T. via Ernie | |
-module(ernie). | |
-export([echo/1). | |
echo(Response) -> | |
Response. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This causes a permanent "hang"/"freeze" on Ruby 1.9.2 but succeeds on Ruby 1.8.7.
Maybe it is an encoding issue? (in 1.9.2)
BERT.encode(2282389) => "\x83b\u0000"ӕ"