lucasallan has quit [Remote host closed the connection]
<headius>
nirvdrum: I have to make some changes to replaceInternal19 that you'll need to look at
SynrG has quit [Read error: Connection reset by peer]
subbu has quit [Ping timeout: 255 seconds]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] headius pushed 1 new commit to string-quagmire: http://git.io/hxOZ
JRubyGithub has left #jruby [#jruby]
<JRubyGithub>
jruby/string-quagmire 6f1d6e7 Charles Oliver Nutter: Fix negative index handling for String#[]=.
<headius>
so close to done
SynrG has joined #jruby
<lopex>
headius: wrt tests ?
mister_solo has quit [Read error: Connection reset by peer]
colinsurprenant has quit [Quit: colinsurprenant]
e_dub has joined #jruby
colinsurprenant has joined #jruby
havenwood has quit [Ping timeout: 252 seconds]
havenwood has joined #jruby
dinfuehr has joined #jruby
havenwood has quit [Ping timeout: 256 seconds]
dinfuehr has quit [Ping timeout: 264 seconds]
triple_b has joined #jruby
mje113__ has quit [Quit: Connection closed for inactivity]
colinsurprenant has quit [Quit: colinsurprenant]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] bjfish opened pull request #2747: [Truffle] Updating Array#zip to handle more specs in array.rb (master...truffle_array_zip_again) http://git.io/hx8r
JRubyGithub has left #jruby [#jruby]
subbu has joined #jruby
subbu has quit [Remote host closed the connection]
nirvdrum has joined #jruby
camlow325 has quit []
x1337807x has quit [Ping timeout: 244 seconds]
marr has quit [Ping timeout: 256 seconds]
calavera has joined #jruby
havenwood has joined #jruby
Hobogrammer has joined #jruby
calavera has quit [Ping timeout: 264 seconds]
elia has quit [Quit: Computer has gone to sleep.]
<headius>
lopex: yes
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] headius pushed 1 new commit to string-quagmire: http://git.io/hxVf
<JRubyGithub>
jruby/string-quagmire dd733e4 Charles Oliver Nutter: Repair backref logic for String#[].
JRubyGithub has left #jruby [#jruby]
rcvalle has quit [Quit: rcvalle]
x1337807x has joined #jruby
dinfuehr has joined #jruby
iamjarvo has joined #jruby
phrinx_ has quit [Remote host closed the connection]
iamjarvo has quit [Max SendQ exceeded]
phrinx has joined #jruby
calavera has joined #jruby
iamjarvo has joined #jruby
digitalextremist has quit [Read error: Connection reset by peer]
dinfuehr has quit [Ping timeout: 246 seconds]
phrinx has quit [Ping timeout: 255 seconds]
zorak8 has quit [Quit: Leaving]
e_dub has quit [Quit: e_dub]
e_dub has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
colinsurprenant has joined #jruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has joined #jruby
aewffwea has joined #jruby
nirvdrum has quit [Ping timeout: 245 seconds]
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has joined #jruby
dinfuehr has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
dinfuehr has quit [Ping timeout: 246 seconds]
digitalextremist has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has joined #jruby
colinsurprenant has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has joined #jruby
havenn has joined #jruby
havenwood has quit [Ping timeout: 272 seconds]
havenwood has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenn has quit [Ping timeout: 244 seconds]
havenn has joined #jruby
havenwood has quit [Ping timeout: 255 seconds]
calavera has joined #jruby
calavera has quit [Client Quit]
kfpratt has quit [Remote host closed the connection]
calavera has joined #jruby
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 246 seconds]
<headius>
lopex: I want to modify jcodings to support return-value errors
colinsurprenant has quit [Quit: colinsurprenant]
<headius>
it is done inconsistently right now and we are not (and do not want to) have to put rescues around all these expected-to-fail cases
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<headius>
perhaps add "strict" versions of most methods that raise instead of return
<headius>
methods like codeToMbcLength are often used for their negative result
dinfuehr has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GitHub146 has joined #jruby
<GitHub146>
[jcodings] headius pushed 2 new commits to master: http://git.io/hpU1
<GitHub146>
jcodings/master a715f17 Charles Oliver Nutter: Add error codes from Oniguruma.
<GitHub146>
jcodings/master 4050406 Charles Oliver Nutter: Install proper trail byte handling in sjis codeToMbcLen.
GitHub146 has left #jruby [#jruby]
dinfuehr has quit [Ping timeout: 256 seconds]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] headius pushed 3 new commits to string-quagmire: http://git.io/hpTs
<JRubyGithub>
jruby/string-quagmire cecae9c Charles Oliver Nutter: Unbreak a few items from fixing....
<JRubyGithub>
jruby/string-quagmire 54d68b1 Charles Oliver Nutter: MRI does not have this short-circuit check.
<JRubyGithub>
jruby/string-quagmire 8f973b7 Charles Oliver Nutter: Reduce verbosity.
JRubyGithub has left #jruby [#jruby]
fivebats has joined #jruby
fivebats has quit [Quit: quit]
havenn has quit []
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 250 seconds]
slyphon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1 has joined #jruby
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #jruby
x1337807x has joined #jruby
anaeem1 has quit [Ping timeout: 246 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kares has joined #jruby
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub>
[jruby] yousuketto opened issue #2748: RubyGems of JRuby1.7.19 is v2.4.5 (should be v2.1.9) http://git.io/hpBi
dinfuehr has joined #jruby
bga57 has quit [Ping timeout: 265 seconds]
bga57 has joined #jruby
anaeem1 has joined #jruby
mister_solo has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] kares opened issue #2749: some array factories do not work http://git.io/hpVR
JRubyGithub has left #jruby [#jruby]
JohnBat26 has joined #jruby
yfeldblum has quit [Remote host closed the connection]
<kares>
enebo: maybe it's related to OpenSSL security fixes - servers upgrading
<kares>
... but that it would hapen on master as well so that's not it
<kares>
if only mkristian was around to look at it ...
dinfuehr has quit [Remote host closed the connection]
nyokodo has joined #jruby
<kares>
actually master is JDK 7 and 1.7 branch failures are all JDK 6 ... that must be it!
triple_b has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] chrisseaton closed pull request #2747: [Truffle] Updating Array#zip to handle more specs in array.rb (master...truffle_array_zip_again) http://git.io/hx8r
JRubyGithub has left #jruby [#jruby]
lanceball is now known as lance|afk
<nyokodo>
Hi people, I'm getting a strange error when using Bouncy Castle in JRuby. When I include the library as a security provider in the JVM (via java.security) it works like a charm. When it's included along with a gem, it partially works, for instance it loads the BKS keystore and loads the keys into the right classes, but when calling the EC encryption it fails. It seems to be going to the wrong class or the wrong function in the class. An
baroquebobcat has joined #jruby
chamila has joined #jruby
<kares>
nyokodo: jruby-openssl gem version?
<nyokodo>
kares: yes, that's the one.
<kares>
I mean ... which version
<kares>
is installed
<nyokodo>
kares: Oh, sorry, 0.8.8
<kares>
nyokodo: so there you go that is ancient stuff - try gem install 0.9.6
<nyokodo>
That was one of the first things I tried
<nyokodo>
jruby-openssl hasn't updated bouncy castle in some time
<kares>
0.9.6 did
<kares>
1.49
<kares>
nyokodo: ... what did you try around EC ... BC APIs or OpenSSL ones?
<nyokodo>
kares: BC APIs, as I needed ECIES and OpenSSL apparently doesn't support it.
<nyokodo>
kares: when I updated jruby-openssl to 0.9.6 the version of bc imported didn't change. It stayed at 1.5.0 and they haven't made it compatible with higher versions either.
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kares>
nyokodo: yep there seems to be issues supporting 1.49-1.51 at the same time ;(
<kares>
still I recommend to use 0.9.6 esp. if you're using BC 1.50 ... 0.8.8 might have other underlying issues as it was <= 1.47 compatible
<kares>
that thing that it works partially must be due JRuby loading or class-loader issues ... I assume you're on old JRuby so there might be no other way to confirm than to upgrade to 1.7.19
JohnBat26 has quit [Ping timeout: 264 seconds]
<nyokodo>
kares: We're on jruby 1.7.14
pietr0 has joined #jruby
mister_solo has quit [Ping timeout: 255 seconds]
havenwood has joined #jruby
tcrawley-away is now known as tcrawley
<nyokodo>
kares: well thanks for your help, I'll try the more recent versions and see if that helps.
<kares>
nyokodo: definitely - go for it
anaeem1 has joined #jruby
nyokodo has quit [Quit: Page closed]
pitr-ch has quit [Quit: Computer has gone to sleep.]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
colinsurprenant has quit [Quit: colinsurprenant]
temporalfox has quit [Read error: Connection reset by peer]
colinsurprenant has joined #jruby
temporalfox has joined #jruby
kares has quit [Ping timeout: 245 seconds]
colinsurprenant has quit [Client Quit]
elia has quit [Quit: Computer has gone to sleep.]
havenn is now known as havenwood
anaeem1_ has joined #jruby
triple_b has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] chrisseaton opened issue #2752: JRuby doesn't define Process::Tms like MRI does http://git.io/jvsG
JRubyGithub has left #jruby [#jruby]
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
subbu is now known as subbu|lunch
erikhatcher has quit [Quit: erikhatcher]
shellac has quit [Quit: Computer has gone to sleep.]
shellac has joined #jruby
camlow325 has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] digitalextremist opened issue #2753: A whitespace snuck into rubygems' initialization call. http://git.io/jvaV
JRubyGithub has left #jruby [#jruby]
e_dub has quit [Quit: e_dub]
<digitalextremist>
atambo, you around and have a minute?
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #jruby
camlow325 has quit [Ping timeout: 244 seconds]
colinsurprenant has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
enebo has joined #jruby
lanceball is now known as lance|afk
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
baroquebobcat has quit [Quit: baroquebobcat]
subbu|lunch is now known as subbu
zorak8 has joined #jruby
zorak8 has quit [Read error: Connection reset by peer]
erikhatcher has joined #jruby
baroquebobcat has joined #jruby
pietr0 has quit [Quit: pietr0]
yfeldblum has joined #jruby
e_dub has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] chrisseaton pushed 1 new commit to master: http://git.io/jfqi
JRubyGithub has left #jruby [#jruby]
<JRubyGithub>
jruby/master 72536b3 Chris Seaton: [Truffle] Process.times
pietr0 has joined #jruby
donV has joined #jruby
johnjoseph has joined #jruby
* johnjoseph
waves hello
lance|afk is now known as lanceball
<johnjoseph>
I'm trying to figure out JRuby's behavior when shelling out to a ruby process... I can't seem to get it to do the advertised feature of reusing the JVM
subbu has quit [Ping timeout: 250 seconds]
<headius>
johnjoseph: that feature has been disabled by default for some time, but you can enable it
erikhatcher has quit [Quit: erikhatcher]
<headius>
the fake env we provided for the "child" process caused too many issues for it to be default behavior
<headius>
awesome...I thought I was almost done, and then I discovered String#crypt is causing the salt to get set ASCII-8BIT...which modified the test data for some tests, and now that I fixed crypt they're broken again
<headius>
I'm in the middle of finishing up encoding work, and enebo is porting the 2.2 lexer...maybe you can give your issue a try on 9k?
<headius>
I have not even looked at the bug, so forgive me if you've done that already
<digitalextremist>
headius, you're talking to me right? #2750? If so, yes, did try 9.0.0.0 and exposed another slightly different behavior with same result
<headius>
digitalextremist: ok...I don't expect it will be hard to diagnose but I won't get to it for another day or so
<digitalextremist>
headius, and thanks! We had a lot of contributors on this one... and we're looking to you and your ninjas for 0.6.0.pre2!
<headius>
fwiw, the UNIXSocket code is pretty simple
<digitalextremist>
headius, is there way for me to touch java internals and test tweaks of my own without rebuilding jruby if I try?
<headius>
well it's possible to tweak any object at any time within the limits of its structure
<headius>
JRuby.reference(obj) will give you the Java-facing object for any Ruby object, so you can poke at internals
camlow32_ has quit [Remote host closed the connection]
<headius>
basically means you go from a UNIXSocket reference to an org.jruby.ext.socket.RubyUNIXSocket reference
chamila has quit [Quit: Page closed]
<digitalextremist>
headius, ahhhh. I'll mess with that right this second. Thank you
<digitalextremist>
headius, so could I possibly interject a different read_nonblock or something like that?
<aemadrid>
Exception: java.lang.ThreadDeath thrown from the UncaughtExceptionHandler in thread "Thread-2"
<aemadrid>
cool
<headius>
aemadrid: where'd you get that one?
camlow325 has quit [Remote host closed the connection]
<aemadrid>
headius: been playing with nsq and nsq-cluster tries to use it (handles loading up/taking down an nsq cluster)
<aemadrid>
but it blows up
<aemadrid>
plus other issues with handling processes
<headius>
yeah, need to lean on imperator (i.e. help him) get a jruby version out
<aemadrid>
will do
<headius>
you might be able to help with the ffi versions if there's not much code
slyphon has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] headius pushed 1 new commit to string-quagmire: http://git.io/jJlH
<JRubyGithub>
jruby/string-quagmire e9ed3c0 Charles Oliver Nutter: String#crypt needs a raw byte[] version from jnr-posix 3.0.11.
JRubyGithub has left #jruby [#jruby]
slyphon_ has joined #jruby
slyphon has quit [Ping timeout: 246 seconds]
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shellac has joined #jruby
x1337807x has joined #jruby
e_dub has joined #jruby
viking has quit [Remote host closed the connection]
colinsurprenant has joined #jruby
colinsurprenant has quit [Client Quit]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #jruby
e_dub has quit [Quit: e_dub]
camlow325 has joined #jruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
colinsurprenant has joined #jruby
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
<digitalextremist>
headius, the root issue I've uncovered with UNIXSocket is that the selector cannot register them as readable ( not sure about writable )
<digitalextremist>
headius, the UNIXServer socket cannot register as :r ( readable ) so it fails with mode not supported for this object
<digitalextremist>
headius, which "cascades" into Errno::ECONNRESET
<digitalextremist>
headius, come to think of it, this is exactly what we saw before that caused us to conclude UNIXSocket and UNIXServer were just not usable under jruby
havenwood has quit [Ping timeout: 244 seconds]
Aethenelle has quit [Quit: Aethenelle]
colinsurprenant has quit [Quit: colinsurprenant]
benlovell has quit [Ping timeout: 250 seconds]
<headius>
digitalextremist: oh I see
<headius>
and it failed like that with 0k too?
<headius>
9k
<digitalextremist>
headius, I need your magic, I call upon the sacred hat of science
<digitalextremist>
headius, same error, both version series
<headius>
ok
<headius>
the logic in UNIXServer is trying to select for read as well as connect then
<digitalextremist>
full backtraces for both versions -- same root cause, different symptoms
<headius>
ah-ha
<headius>
ok
<digitalextremist>
it's where nio4r registers a selector on the wrapped IO object
<headius>
so either our unixsocket is incorrectly not selectable for read (created with wrong supported ops) or we need to fake out selects that are reads against it
<headius>
I'm suspecting the former
<digitalextremist>
I'm thinking a)
<digitalextremist>
I checked permissions on the socket in the filesystem if that matters and it's readable by my user who made it
<headius>
that would boil down to an incorrect call to enxio's NativeSocketChannel or NativeDeviceChannel
<headius>
their fd constructors also accept a list of selection ops
<digitalextremist>
headius, dun dun dunnnn
gregc_ has joined #jruby
subbu has quit [Ping timeout: 245 seconds]
<headius>
elementary!
e_dub has joined #jruby
havenwood has joined #jruby
havenn has joined #jruby
e_dub has quit [Quit: e_dub]
havenwood has quit [Ping timeout: 244 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
<digitalextremist>
headius, so how do I help you master jedi
triple_b has joined #jruby
colinsurprenant has joined #jruby
nateberkopec has joined #jruby
djbkd has quit [Remote host closed the connection]
pglombardo has quit []
djbkd has joined #jruby
skade has joined #jruby
Aethenelle has joined #jruby
<headius>
well I'm wrapping up what I was working on for today
<headius>
heh, this could be easy
<headius>
digitalextremist: look at jnr/jnr-unixsocket
<headius>
UnixServerSocketChannel is created with only ACCEPT
<headius>
if you are up for patching, that's the place...modify, "mvn install" to get the snapshot built, then modify jruby's core/pom.xml to use that snapshot number and rebuild jruby
<digitalextremist>
headius, I'm rummaging around there -- is there any way I can monkey patch that for now to test it until you can ship a tweak
<headius>
hmmm
<headius>
let me see if there's a way to hack it
<digitalextremist>
I experimented with JRuby.reference() -- maybe I could just drop in another method, even if it's a Java method I somehow McGuiver together
<headius>
right, ok
<headius>
yeah
<headius>
I don't think there's a way to hack it
<headius>
the valid ops are stored in a final value, so there's a bit more trickery to modify it
<digitalextremist>
ok so then there's the patch way you were talking about?
<headius>
yeah, let me make one for you to try
<digitalextremist>
saWEET
<headius>
it will be easy for me
<digitalextremist>
I appreciate it -- if I can even try to get a running version I can release pre2 and we can hangout for a bit while you get this into -head
<digitalextremist>
sorry to interrupt your wind down, btw -- I really, really appreciate your help
<headius>
looks like it might need two libs to be fixed
<headius>
no worries, I'd love to see unix sockets just working
<headius>
digitalextremist: if you can't build a jruby the only way you'll be able to use this patch will be to manually replace the jnr-enxio and jnr-unixsocket files in jruby.jar
<digitalextremist>
if you can even just spec that out in the ticket for atambo or enebo & company when one of you has time, I will call it good for today and let pre1 circulate without UNIXSockets under jruby for a while
<headius>
really would be simplest if you just clone and build
<digitalextremist>
I am totally good with trying to build a jruby
<headius>
ok
<digitalextremist>
only issue is if it'll plop into rvm for me, but I can look that up
<headius>
you need maven (mvn) but that's it... clone and run mvn -Pbootstrap
<digitalextremist>
like 1.7.19-reel
<headius>
rvm can mount it, but I forget the command