kfpratt has quit [Remote host closed the connection]
<lopex> test = exists, proof = forall
camlow325 has quit [Ping timeout: 240 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #2850: Fannkuch-redux is less than half as fast in 9k as in 1.7 http://git.io/vvFnf
JRubyGithub has left #jruby [#jruby]
<headius> subbu: I know there's additional improvements possible for that but the JIT issue was obviously key
<subbu> headius, ok.
pjammer has joined #jruby
mcclurmc has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:d05ce1f by Charles Oliver Nutter): The build was broken. (http://travis-ci.org/jruby/jruby/builds/61701430)
travis-ci has left #jruby [#jruby]
<headius> hmmm jnr-posix snapshot problem?
<headius> going to redeploy just to be sure it's there
<headius> oh lovely, snapshot repo seems down
mcclurmc_ has quit [Ping timeout: 264 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:d05ce1f by Charles Oliver Nutter): The build was canceled. (http://travis-ci.org/jruby/jruby/builds/61701430)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #1396: Backticks don't give exception for nonexistant command http://git.io/vUfwK
JRubyGithub has left #jruby [#jruby]
<headius> subbu: that's what I suspected too
bbrowning_away has quit [Remote host closed the connection]
bbrowning has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 2 new commits to jruby-1_7: http://git.io/vUfKw
<JRubyGithub> jruby/jruby-1_7 d0cec55 Keith Amidon: Add reverse_lookup param to Socket.getaddrinfo....
<JRubyGithub> jruby/jruby-1_7 837cb73 Charles Oliver Nutter: Merge pull request #2724 from kpamidon/socket_getaddrinfo_reverse_lookup...
JRubyGithub has left #jruby [#jruby]
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/vUf6n
<JRubyGithub> jruby/master 5da3695 Charles Oliver Nutter: Merge pull request #2724 from kpamidon/socket_getaddrinfo_reverse_lookup...
JRubyGithub has left #jruby [#jruby]
vikaton has joined #jruby
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (jruby-1_7:837cb73 by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/61702843)
travis-ci has left #jruby [#jruby]
rcvalle has quit [Quit: rcvalle]
deobalds has quit [Quit: Computer has gone to sleep.]
subbu has quit [Quit: Leaving]
deobalds has joined #jruby
Hobogrammer has joined #jruby
shellac has joined #jruby
kfpratt has joined #jruby
aemadrid has quit [Quit: Connection closed for inactivity]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:5da3695 by Charles Oliver Nutter): The build passed. (http://travis-ci.org/jruby/jruby/builds/61703161)
travis-ci has left #jruby [#jruby]
KevinCorcoran has quit []
nirvdrum has quit [Ping timeout: 276 seconds]
shellac has quit [Quit: Computer has gone to sleep.]
vikaton has quit []
vikaton has joined #jruby
djbkd has quit [Quit: My people need me...]
KevinCorcoran has joined #jruby
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #jruby
kfpratt has quit [Ping timeout: 255 seconds]
KevinCorcoran has quit [Remote host closed the connection]
deobalds has quit [Quit: Computer has gone to sleep.]
colinsurprenant has joined #jruby
mje113__ has quit [Quit: Connection closed for inactivity]
KevinCorcoran has joined #jruby
KevinCorcoran has quit [Ping timeout: 240 seconds]
djbkd has joined #jruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
tcrawley-away is now known as tcrawley
deobalds has joined #jruby
KevinCorcoran has joined #jruby
bjfish2 has quit [Quit: bjfish2]
KevinCorcoran has quit [Remote host closed the connection]
DomKM has quit [Quit: Connection closed for inactivity]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 2 new commits to truffle-head: http://git.io/vUJCI
<JRubyGithub> jruby/truffle-head 91f0407 Chris Seaton: [Truffle] Use new ToolEvalNodeFactory API.
<JRubyGithub> jruby/truffle-head bd54763 Chris Seaton: [Truffle] Caching for Binding#instance_variable_set/get
JRubyGithub has left #jruby [#jruby]
tcrawley is now known as tcrawley-away
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vUJWG
<JRubyGithub> jruby/master 690d554 Chris Seaton: [Truffle] Caching for Binding#instance_variable_set/get
JRubyGithub has left #jruby [#jruby]
colinsurprenant has quit [Quit: colinsurprenant]
colinsurprenant has joined #jruby
bjfish2 has joined #jruby
bjfish2 has quit [Client Quit]
skade has joined #jruby
camlow325 has joined #jruby
donV has quit [Quit: donV]
donV has joined #jruby
donV has quit [Client Quit]
_whitelogger has joined #jruby
donV has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:690d554 by Chris Seaton): The build was broken. (http://travis-ci.org/jruby/jruby/builds/61718328)
travis-ci has left #jruby [#jruby]
donV has quit [Quit: donV]
deobalds has quit [Read error: Connection reset by peer]
DomKM has joined #jruby
colinsurprenant has quit [Read error: Connection reset by peer]
colinsurprenant has joined #jruby
deobalds has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] subbuss pushed 1 new commit to master: http://git.io/vUJzP
<JRubyGithub> jruby/master 89c7044 Subramanya Sastry: Tweak interpreter debug output to emit IPC as well
JRubyGithub has left #jruby [#jruby]
djbkd has quit [Remote host closed the connection]
vikaton has quit [Quit: Connection closed for inactivity]
dinfuehr has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:89c7044 by Subramanya Sastry): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/61721301)
travis-ci has left #jruby [#jruby]
yfeldblum has quit [Remote host closed the connection]
camlow325 has quit [Remote host closed the connection]
rsim has joined #jruby
camlow325 has joined #jruby
pitr-ch has quit [Ping timeout: 272 seconds]
camlow325 has quit [Remote host closed the connection]
pitr-ch has joined #jruby
skade has joined #jruby
yfeldblum has joined #jruby
deobalds has quit [Quit: Computer has gone to sleep.]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblu_ has joined #jruby
yfeldblu_ has quit [Read error: Connection reset by peer]
yfeldblum has joined #jruby
marr has joined #jruby
shellac has joined #jruby
benlovell has joined #jruby
drbobbeaty has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian closed issue #2873: Class not found exception on ppc64le http://git.io/vf2NU
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian reopened issue #2873: Class not found exception on ppc64le http://git.io/vf2NU
JRubyGithub has left #jruby [#jruby]
KevinCorcoran has joined #jruby
KevinCorcoran has quit [Ping timeout: 240 seconds]
deobalds has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shellac has quit [Quit: Computer has gone to sleep.]
benlovell has quit [Ping timeout: 255 seconds]
benlovell has joined #jruby
shellac has joined #jruby
pjammer has joined #jruby
drbobbeaty has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mike_c_11 has joined #jruby
dinfuehr_ has joined #jruby
dinfuehr has quit [Ping timeout: 246 seconds]
dinfuehr_ has quit [Ping timeout: 246 seconds]
benlovell has quit [Ping timeout: 250 seconds]
shellac has joined #jruby
yfeldblum has quit [Ping timeout: 265 seconds]
benlovell has joined #jruby
benlovell has quit [Ping timeout: 256 seconds]
bjfish2 has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
cremes has quit [Remote host closed the connection]
deobalds has quit [Quit: Computer has gone to sleep.]
nirvdrum has joined #jruby
cremes has joined #jruby
<headius> good morning
codefinger has joined #jruby
benlovell has joined #jruby
tcrawley-away is now known as tcrawley
skade has joined #jruby
KevinCorcoran has joined #jruby
lance|afk is now known as lanceball
enebo has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum opened issue #2917: [Truffle] NPE in Binding#local_variable_get http://git.io/vUTDD
JRubyGithub has left #jruby [#jruby]
KevinCorcoran has quit [Ping timeout: 272 seconds]
cremes has quit [Quit: cremes]
mje113__ has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/vUTxI
<JRubyGithub> jruby/master 0ec6cdd Thomas E. Enebo: Use jcodings rather than Java for alnum ident (will work with all encodings without needing charset)
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vUTxN
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/master 8959366 Brandon Fish: [Truffle] Untag passing File.{realdirpath,realpath}
cajone has joined #jruby
<enebo> 23 0.30% 43.70% 184656 343447 org.jruby.RubyBasicObject.getRuntime
<headius> zoom
benlovell has quit [Ping timeout: 240 seconds]
<enebo> gem list is spending almost 1% calling getRuntime inside elt impl
<enebo> well 0.6%
<lopex> numbers?
<enebo> I with hprof could subtract the parkNanos
mcclurmc_ has joined #jruby
mcclurmc has quit [Read error: Connection reset by peer]
tcrawley is now known as tcrawley-away
benlovell has joined #jruby
alderamin has joined #jruby
KevinCorcoran has joined #jruby
<headius> enebo: RubyArray#elt?
<enebo> headius: well a little beneath it
<headius> enebo: I'm trying to fix $! issue
<headius> it's rather involved but I'm trying to fight through
<enebo> FIGHT!
<headius> enebo: try replacing with context.runtime or caching in local var?
<enebo> headius: well I probably will make that change…most of these methods are all private
<enebo> headius: but right now I am confused why eql on array is happening sooo much
<headius> hmm
<enebo> org.jruby.runtime.load.LoadService.isFeaturesIndexUpToDate(LoadService.java:Unknown line)
<headius> ah
<headius> just fix that and you'll be fine
vikaton has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
<headius> enebo: I'm not surprised...in order to fix absolute-pathing we're checking that array multiple times
mitchellhenke has joined #jruby
<headius> and the logic for caching it isn't there
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:0ec6cdd by Thomas E. Enebo): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/61763904)
travis-ci has left #jruby [#jruby]
<enebo> headius: yeah I am looking at this a little but I am not sure I will make progress without epic MRI trawl
donV has joined #jruby
camlow325 has joined #jruby
<headius> I did not feel like trawling
<enebo> my gem list is surprisingly small too…I am guessing this just continues to be a drag as things increase…OTOH loadservice is not even in hprof sites so at this point it is may a little over 1%
<headius> at least, not after I managed to fix the issue with yet another one-off hack
<enebo> I was just surprised to see a Ruby method in this list at all in gem list
<headius> enebo: can you review my $! change?
<headius> it's not perfect but it's working
<enebo> headius: sure
<headius> this logic is copied from buildEnsure with some of the funk removed
<headius> we still have $!-resetting happening along other paths, and those could probably go away
<headius> this is the right approach though, eh? implicit ensure around any rescued region to reset $!
<headius> I do love that these fixes require no changes in JIT
<headius> the down side of this is that there's another try/catch around the whole begin+rescue+ensure, but I don't see another way since we weren't setting up individual try/finally to clear $!
<enebo> headius: originally they were all removed thinking we were doing these resets
<headius> did it originally do this in IR? I'm pretty sure it did in AST
<enebo> headius: I don’t really understand the undepinning of the IRBuilder ensure impl that much past cloning
<headius> the cloning is a minor detail...I'm not doing that because it's just as easy to add new instrs
<headius> specifically for the non-exceptional reset of $!
<headius> hmm
<headius> though maybe I shouldn't have that
<headius> whatever $! is at the end of the begin region, it should just stay that way
cpuguy83 has quit [Quit: ZNC - http://znc.in]
cpuguy83 has joined #jruby
<enebo> headius: I sort of feel like this ensure stack plus cloneIntoHost is done for ordering reasons too
<enebo> headius: I find the blocks for indentation a little jarring as well but that is not really what you are looking for :)
<headius> that's mostly for me to separate the logic visually
<enebo> yeah
<enebo> headius: is this bug because sometrhing is raising in an ensure block?
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vUkBz
<JRubyGithub> jruby/master 4bd2b79 Chris Seaton: [Truffle] jt e and puts
JRubyGithub has left #jruby [#jruby]
<bbrowning> where does jruby/lib/ruby/shared/jars/maven_exec.rb come from in 1.7.20?
<bbrowning> looks like it might have some 1.9-only syntax in it?
<headius> enebo: the bug is that calls with non-local returns inside rescue don't re-set $!
<headius> because we don't have any logic around rescue bodies to handle that
<headius> bbrowning: hmm
<bbrowning> looks like it comes from https://github.com/mkristian/jar-dependencies ?
<headius> that seems likely
<headius> if it has 1.9 syntax that needs to be fixed
colinsurprenant has joined #jruby
<bbrowning> headius: I pushed bumping TB3 to 1.7.20 and CI hit an issue I didn't locally, I guess because of different profiles it runs
x1337807x has joined #jruby
<bbrowning> specifically "syntax error, unexpected ','" on that line
<headius> ahh yeah I've seen that
x1337807x has quit [Client Quit]
tcrawley-away is now known as tcrawley
digitalextremist has quit [Remote host closed the connection]
<bbrowning> I really should just disable the 1.8 testing on CI - 1.8 is so old these days :D
<headius> yeah, I wish we could just drop it altogether from 1.7
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vUkKJ
<JRubyGithub> jruby/master c957028 Chris Seaton: [Truffle] Handle missing local variables in Binding#local_variable_get
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton closed issue #2917: [Truffle] NPE in Binding#local_variable_get http://git.io/vUTDD
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:8959366 by Brandon Fish): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/61764165)
travis-ci has left #jruby [#jruby]
pjammer has joined #jruby
mkristian has joined #jruby
benlovell has quit [Ping timeout: 245 seconds]
tcrawley is now known as tcrawley-away
benlovell has joined #jruby
KevinCorcoran has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
benlovell has quit [Ping timeout: 256 seconds]
KevinCorcoran has joined #jruby
KevinCorcoran has quit [Ping timeout: 256 seconds]
benlovell has joined #jruby
benlovell has quit [Ping timeout: 245 seconds]
KevinCorcoran has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum opened issue #2918: Method#parameters doesn't annotate required parameters correctly http://git.io/vUkbQ
JRubyGithub has left #jruby [#jruby]
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
jph98 has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:4bd2b79 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/61771369)
travis-ci has left #jruby [#jruby]
rcvalle has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius created ensure_last_error_reset (+1 new commit): http://git.io/vUIeb
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/ensure_last_error_reset 2880c73 Charles Oliver Nutter: Add another layer of try/finally around rescue/ensure to reset $!....
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius opened pull request #2919: Add another layer of try/finally around rescue/ensure to reset $!. (master...ensure_last_error_reset) http://git.io/vUIvv
JRubyGithub has left #jruby [#jruby]
<headius> nirvdrum: are you fixing that one?
<nirvdrum> Not at the moment. I'm knee-deep in fixing Proc#parameters with kwargs for Truffle.
<headius> ok
<nirvdrum> But I can take a look after.
<headius> nah, I'm waiting on review from subbu and enebo so I'll hit it
<nirvdrum> I was trying to see how well JRuby handles kwargs and noticed that mismatch.
<headius> yeah, enebo got this 100% but probably missed something in JIT
jph98 has quit [Quit: jph98]
camlow325 has quit [Remote host closed the connection]
skade has joined #jruby
camlow325 has joined #jruby
gazay_ has joined #jruby
subbu has joined #jruby
<subbu> headius, hi .. good morning.
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #2918: Method#parameters doesn't annotate required parameters correctly http://git.io/vUkbQ
JRubyGithub has left #jruby [#jruby]
<headius> subbu: hello there
<headius> I made an attempt to fix $!
<subbu> you should probably move https://github.com/jruby/jruby/issues/2794#issuecomment-100276557 to #2919? Or does that apply to both?
<headius> subbu: ugh
<headius> tab fumble
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vUIOC
<JRubyGithub> jruby/master e60d0dd Kevin Menard: Added keyword argument specs for Proc#parameters.
JRubyGithub has left #jruby [#jruby]
<subbu> I think it works. I was staring at the code y'day night to figure out how to do this so that we don't have to add a generic global wrapper in all cases OR do this for every rescue body.
vikaton has quit []
chamila has joined #jruby
<subbu> one solution is: this wrapper is only required if the rescue body code has a non-local return (which can be figured out by ast-inspection easily -- probably can be a helper method on the ast).
<subbu> so, that should probably make it possible to only add the wrapper around rescue bodies that really require it.
<headius> subbu: well I'm wondering about other cases we can't detect
<headius> a rescue body could call a method that does a non-local return unrolling all the way out
<headius> def foo; bar { return }; end; def bar(&b) raise; rescue; baz(&b); end; def baz; yield; end
skade has quit [Quit: Computer has gone to sleep.]
<headius> there doesn't seem to be any assurance that $! is cleared on exceptional branch out of a rescue
<headius> only normal exit
<subbu> hmm .. yes.
<headius> fact is any call could trigger a stack unroll that's not a Ruby exception
<subbu> so, we could simplify other IR code if we are going to do this in a global wrapper.
<subbu> we are adding a global ensure block for other scenarios, and we could piggyback this onto that.
cremes has joined #jruby
<subbu> but, that can be done in a followup. this $! business is a bit crappy.
<headius> it sure is
<headius> I had a wilder idea
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:c957028 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/61774755)
travis-ci has left #jruby [#jruby]
<headius> hmm, wait, mine only works within rescue bodies... compiling $! to look at the local var holding the exception
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vUICe
<JRubyGithub> jruby/master f637869 Kevin Menard: [Truffle] Exclude the Proc#parameters tests from running.
JRubyGithub has left #jruby [#jruby]
<headius> subbu: do you foresee any problems with making a GEB-like wrapper around rescues?
<subbu> I am in the Bay Area this week .. heading out in another 30 odd mins and will be mostly away from computer till monday.
<headius> when it's a top-level rescue (full method body) the existing GEB could be used
<subbu> s/monday/tuesday morning/
<headius> ok
<subbu> why not use a top-level rescue? so, that was the second solution i was considering y'day night.
<headius> def foo; begin raise 1; rescue; end; begin; raise 2; rescue; end; end
<headius> you can have many rescues in a method body and they each need to reset $! on exit
<subbu> i mean: a top-level ensure block always .. because no matter what non-local return path requires $! to be reset it can be done once on the way out for all paths?
<headius> ahh yes
<headius> that's basically what this does
<subbu> right.
<headius> well, top-level meaning wrapped around the begin/rescue/ensure from the AST
<headius> hmm
<headius> actually you may have something
<chrisseaton> Fix for the Travis failure pushed
<headius> user-defined ensure body doesn't need to change $!
<headius> chrisseaton: thanks
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vUIWd
<JRubyGithub> jruby/master 7dd17d2 Chris Seaton: [Truffle] Better guard for $_ in Binding.
JRubyGithub has left #jruby [#jruby]
<subbu> so, you can use the existing GEB (or add it always if it is ont being added) to avoid adding multiple onion layers.
<headius> hmm
<headius> I don't think that will work because between sibling rescues in a method body, the old $! needs to be visible
<headius> GEB is too late
<subbu> but, we are only talking of non-local return paths that will escape the scope.
<headius> that's true
<subbu> => there is no way you can go back to executing other code in that same scope
<headius> actually you can
<headius> another ensure
<subbu> ah, right and it can inspect $!
<headius> begin; begin; raise; rescue; 1.times { return }; ensure; p $!; end
<subbu> ugh.
<headius> er, another end in there
<headius> but you get it
<subbu> yes.
<headius> ugh, I think I just realized my patch is wrong still anyway
<headius> because it will clear $! for ALL exceptions including the ones that happen in the begin
<nirvdrum> headius: It's a good thing you fielded that one. My guess is whatever I came up with wasn't going to be nearly as concise.
<headius> when a higher up rescue looks for $! it won't see it
<headius> nirvdrum: lucky one
<headius> subbu: I'll keep working at it
<headius> but I don't see a way to do it without adding an ensure to every begin/rescue
<subbu> headius, ok .. if i have any ideas ... i'll post them later, but i imagine you'll figure this out before then.
<headius> ok
shellac has quit [Ping timeout: 250 seconds]
<subbu> headius, yes, that is what i kept stumbling into y'day night and i was trying hard not to have to do it.
<subbu> but, all those other ideas seem broken.
<headius> down sides to this approach?
<headius> it's basically what we had in the AST interp
<subbu> nothing really .. just seems like excess code.
<headius> if there were a way to access the in-flight JVM exception at any time, we could use that
<mjc_> huh, getting "java.lang.ArrayIndexOutOfBoundsException: 0" while loading a rails app
<mjc_> seems like one should not be able to trigger an empty array exception from ruby, heh
bbrowning is now known as bbrowning_away
deobalds has joined #jruby
<headius> mjc_: oops, show us the full trace
<headius> that's likely a bug, whatever it is
colinsurprenant has quit [Quit: colinsurprenant]
<mjc_> 1.7.19, but does it on .20 also
<headius> pass -d
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius force-pushed ensure_last_error_reset from 2880c73 to 2a82982: http://git.io/vUIwy
<JRubyGithub> jruby/ensure_last_error_reset 2a82982 Charles Oliver Nutter: Add another layer of try/finally around rescue/ensure to reset $!....
JRubyGithub has left #jruby [#jruby]
<mjc_> ah ok, one sec
<headius> so we can see the actual AIOOBE
<mjc_> wow, huge hah
<mjc_> going to have to sanitize it, one minute :P
<headius> yeah -d turns a lot of other stuff on :-\
<headius> oh weird
<headius> Dir.isAbsolutePath
<headius> hmm
<mjc_> yeah I noticed that too when sanitizing it
<headius> so that should be easy
djbkd has joined #jruby
<mjc_> headius: looks like path can be an empty array
djbkd has quit [Remote host closed the connection]
<headius> yeah seems so
djbkd has joined #jruby
<headius> heh, we do a length check after the call to isAbsolutePath in glob_helper
<headius> but we don't check it before
<mjc_> globbing is probably not the only place that could use it that way
tcrawley-away is now known as tcrawley
<headius> mjc_: are you able to run a local build of jruby?
<mjc_> yes
<headius> you might add some logging in there and see what are the paths leading up to this error
<headius> a comment there says we shouldn't be getting empty names
gazay_ has quit [Quit: gazay_]
<headius> also could try just putting a length check in glob_helper and skipping any paths that reduce down to empty string
<headius> not sure why we're getting them in there though
<headius> mjc_: you're not on Windows I assume
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vUIip
<JRubyGithub> jruby/master 3462a65 Kevin Menard: [Truffle] Fixed translating procs with required keyword arguments.
JRubyGithub has left #jruby [#jruby]
<headius> lunch, brb
<headius> mjc_: this should be easy to diagnose with step debug or some println debugging in glob_helper
bbrowning_away is now known as bbrowning
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] chrisseaton closed issue #2900: [Truffle] Method constant_table needed for Gem commands http://git.io/vJm7t
<mjc_> I put a println in RubyDir.aref() also
<mjc_> looks like the truffle stuff might also use isAbsolutePath without a length check
<headius> probably just duplicated from jruby proper
<mjc_> hmm jruby-openssl won't build for me
<mjc_> or something?
<headius> won't build?
<mjc_> [ERROR] Failed to execute goal io.tesla.polyglot:tesla-polyglot-maven-plugin:0.1.1:execute (install_gems) on project jruby-lib: (InstallError) invalid gem: package is corrupt, exception while verifying: undefined method `path2class' for #<Psych::ClassLoader:0x45f3540> (NoMethodError) in
<mjc_> /Users/mjc/.m2/repository/rubygems/jruby-openssl/0.9.7/jruby-openssl-0.9.7.gem -> [Help 1]
<headius> what did you get
<headius> hmm
<mjc_> this is on the 1.7.20 tag
<mjc_> and I blew away ~/.m2
<headius> wipe out that /Users/mjc/.m2/repository/rubygems/jruby-openssl
<headius> oh
<headius> hrm
<mjc_> mvn clean -Pbootstrap; rm -rf ~/.m2; mvn
<headius> psych problem...hmm
<headius> show me the whole log
<headius> we've been trying to get our psych into the real psych so there's gem oddities occasionally there
<headius> but 1.7 shouldn't be using psych gem
<mjc_> hmm one sec
<mjc_> takes a while because redownloading dependencies heh
<headius> yeah
<headius> you don't have some env forcing it to 1.8 mode do you?
<mjc_> I don't even know how that would be done, heh
<headius> yeah, didn't think that was likely
rsim has quit [Quit: Leaving.]
<mjc_> sorry it takes forever to redownload all this stuff here, heh
<mjc_> and no, not on windows
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:7dd17d2 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/61786612)
travis-ci has left #jruby [#jruby]
<chrisseaton> headius: the Travis failure is now a normal JRuby thing
<headius> timeout
<headius> looks like it just stopped running...wasn't in a timeout-likely test
tcrawley is now known as tcrawley-away
<headius> THANKS TRAVIS
<headius> chrisseaton: I restarted that one
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum opened issue #2920: Proc from Method breaks encoded parameter list http://git.io/vUINI
JRubyGithub has left #jruby [#jruby]
<nirvdrum> headius: ^ That one looks harder ;-)
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] JackWCollins opened issue #2921: JRuby 1.7.19 causes Rails.root to return backslashes in Windows environment http://git.io/vUIN6
JRubyGithub has left #jruby [#jruby]
<headius> nirvdrum: is that with my fix in place?
subbu has quit [Ping timeout: 244 seconds]
<headius> Proc#parameters appears to do the right thing
<headius> oh wait, I see what's wrong
<headius> it doesn't use MethodBlock anymore
<nirvdrum> headius: Yeah, you have to convert from Method to get it to mess up.
<nirvdrum> At least, that's what I found.
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:7dd17d2 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/61786612)
travis-ci has left #jruby [#jruby]
dinfuehr has joined #jruby
<mjc_> headius: master builds fine
<headius> mjc_: weren't you using 1.7?
<mjc_> yes
<mjc_> 1.7.20 won't build but master does
<headius> the log you pasted appears to have jruby-head lines in it
<mjc_> just the folder name
pjammer has joined #jruby
<mjc_> [INFO] Building JRuby Core 1.7.20
<headius> yeah the path confused me
<mjc_> did git checkout 1.7.20 before trying to build
<headius> let me try here
<chrisseaton> headius: I'm doing a talk at the Truffle workshop at ECOOP on why we can't re-use more of JRuby in Truffle - shame you won't be there but I'll send you slides of time http://2015.ecoop.org/track/Truffle-2015-papers
dinfuehr has quit [Remote host closed the connection]
dinfuehr has joined #jruby
<nirvdrum> chrisseaton: Are the sessions being streamed?
<chrisseaton> no - these academic conferences are almost never filmed let alone streamed
<chrisseaton> Maybe we can stick a phone on a stick though and record it
<mjc_> ustream on a phone is a thing
dinfuehr has quit [Remote host closed the connection]
<mjc_> recording it would probably be much higher quality though
dinfuehr has joined #jruby
<headius> hmm
<headius> it build ok here
<headius> chrisseaton: and what's the tldr on that?
<mjc_> I blew away ~/.gems/jruby/1.9.3 as well as ~/.m2 and still couldn't build it
<mjc_> :(
<nirvdrum> Short talks, eh?
<headius> mjc_: hmmm
<headius> mjc_: make sure nothing's odd in your ENV
<chrisseaton> We've found that Truffle does best when you write the runtime using Truffle, not just the execution part, and the JRuby runtime wasn't designed to work like a Truffle program
<headius> that error means that psych is not booting completely, but it should be running from a known good jruby release
<chrisseaton> But I'm going to advocate anyone else trying what we did (Jython) do it more incrementally - you could do just the execution part to start with, and still get good performance
<headius> chrisseaton: that seems like a flaw in truffle
<headius> why is truffle-marked-up java code easier to optimize than just java code? Because truffle/graal can't inline normal Java code?
<chrisseaton> Well you could also describe it as a flaw in C2 or even Graal - if it could type profile, condition profile, type specialise generic data structures etc it wouldn't be needed - but it can't - so we do it using Truffle
<mjc_> just took a look at the output of set, didn't see anything unusual
<headius> chrisseaton: ok, that's what I figured
<mjc_> java 1.8.0_40
<headius> so because truffle lang and normal java go through different compilers, they can't optimize together
dinfuehr has quit [Ping timeout: 256 seconds]
<headius> I still see that as a limitation in truffle
<headius> it basically means you have to do a hard call any time you have to call from truffle lang into java
<headius> right?
<headius> it's not a limitation in C2 because indy-based JVM lang can inline and optimize across that boundary
<chrisseaton> no we can optimise across that boundary fine - but when we do that, the code on the other side - the JRuby runtime code - is more generic than we'd like
<mjc_> lunch for me while jdk update downloads, to see if that helps, since I'm grasping at straws
<headius> so existing jruby java code will inline into jruby+truffle code?
<chrisseaton> Yeah - and we do that in quite a few places
<headius> ok, then it's not as bad as I thought
<headius> I guess this begs the question though...why can't truffle see the specializations it needs in jruby's java code
<headius> seems like a huge limitation if truffle optimizations can only happen when you annotated the java code to death
<chrisseaton> It's not that - it's that we optimised the control flow stuff and things like local variables - so that the runtime became our next bottleneck
<mjc_> headius: trying a build on a linux box just to get somewhere
<headius> chrisseaton: sure, but you can only trufflize so much java
<chrisseaton> So we needed to do things like specialise data structures, which JRuby hasn't done yet, so we needed to write that ourselves
<headius> in a system that's 10% ruby and 90% arbitrary third-party Java code, is that going to hurt optimization in the ruby?
<headius> specialized data structures I get...neither runtime does that automatically right now
<chrisseaton> You mean like running external Java libraries? Performance won't be any worse than JRuby in that case
<headius> neither jvm-level runtime I mean
<mjc_> oh yeah, same array index thing happens inside a centos 6.5 vagrant box
lanceball is now known as lance|afk
<headius> chrisseaton: so is the real bottom line that you needed more specialized data structures to plug into truffle-specialized code?
<headius> or at perhaps data structures that had the hooks needed for truffle to specialize them into the lang's code
<chrisseaton> headius: well part of what I'm saying is that it would be have been fine to use the JRuby runtime first, but when we merged we were already beyond that point - but then to add optimisations like our hidden-class object it's hard to integrate that into existing code
marr has quit [Ping timeout: 240 seconds]
<headius> ok
<headius> then perhaps the paper shouldn't be why you "can't" use more of JRuby core
<headius> you could
<headius> I was confused by the word "can't"
<headius> the real title to me is "why unspecialized data structures don't allow us to reach full performance in a truffle-based language"
<headius> and that's not really different from any language, then
<headius> eh?
<chrisseaton> The actual title is just 'Integrating Truffle into an Existing Language Implementation' - we can't for where we currently are in this project, as we've moved so far beyond that point and we're aiming to optimise things that break compatibility with your runtime - like using our own object model
benlovell has joined #jruby
<headius> chrisseaton: ok, so it's as much about logistical reasons as anything
<headius> how much of the data structure specialization depends on truffle or graal?
<headius> i.e. is any portion of it usable on a non-graal VM?
<chrisseaton> the object model probably is - but I haven't had time to integrate that into JRuby yet
<headius> that would be very interesting
<headius> you've seen my prototype of specializing ivars I assume
<chrisseaton> yeah
<headius> it definitely works...but I have never had time to push forward
<chrisseaton> it's hard for me to justify working on that for a long period of time - but if you had a volunteer we could give them all the support they need to do it
<headius> depends how isolated it is from truffle-specifics
<headius> mjc_: ok, back to you
benlovell has quit [Ping timeout: 246 seconds]
<headius> chrisseaton: I'll stop nitpicking now and look forward to the slides
<headius> obviously anything that can be used well without graal VM we'd be interested in using in JRuby proper
<mjc_> that sounds like a neat project and I hope I could find the time to learn enough java to volunteer :P
<headius> mjc_: maven version?
bbrowning is now known as bbrowning_away
<mjc_> headius: 3.3.3
<headius> wow, even newer than mine
colinsurprenant has joined #jruby
<headius> mjc_: can you make sure there's no psych gem installed in your gems for that env? I think that's the problem
<headius> you switched ruby-head to 1.7 but there's psych gem from 9k build
<headius> psych gem does not work on 1.7
<headius> and this is the error you'd get, I think
<headius> plus it breaks yaml completely because it doesn't boot, so RubyGems breaks and reports weird errors
<mjc_> I blew away $GEM_HOME and got it
<headius> mjc_: can you try to build a clean clone with a clean env, just to humor me?
<mjc_> oh weird, I see
<headius> it really looks like it's trying to use psych gem on 1.7
<mjc_> there was stuff in lib/ruby/gems in my repo
<mjc_> git clean -dfx seems to have fixed it
<mjc_> so far
<mjc_> no, nevermind
<headius> I was just goign to suggest that
<mjc_> wiping it out and trying again
<headius> I also realized psych gem is installed into stdlib and switching branch wouldn't clear that
<headius> so a clean -dxf with no gems anywhere in env still fails to build 1.7.20?
<mjc_> I unset GEM_* variables and did git clean -dfx; mvn clean -Pbootstrap; mvn and it failed
<mjc_> just deleted the dir and am re-cloning, will take a while
<headius> I'm trying -Pbootstrap now, did not before
<mjc_> oh and blew away ~/.m2
<headius> ok
<headius> if that fails for you I'll be really confused
<headius> unless this fails for me
<headius> yeah worked ok
<headius> mjc_: make sure there's no other "ruby" or "jruby" in patht oo
<headius> too
<mjc_> I used chruby to put this folder at the front of the path
<mjc_> but I tried it without chruby loaded
<mjc_> ok finally checked out again
<headius> ok
benlovell has joined #jruby
<headius> I wiped out .m2/repository, clean -dxf, mvn clean package -Pbootstrap, and it worked ok again...starting to wonder if it's mvn version
<headius> still worked ok
<headius> oops
djbkd has quit [Remote host closed the connection]
<headius> I will try updating mvn
<mjc_> it's doing the redownload-all-the-deps thing now
<mjc_> I'm less concerned about not being able to build 1.7 than about this other stupid bug heh
<headius> yeah I understand
<headius> we're making a nice yak coat today
<mjc_> hahah yes
<headius> I kinda want to jump on build problems like this, though, because they keep coming back
<mjc_> ok it built
<mjc_> fresh repo did the trick
<mjc_> so something that was living in my checkout refused to die even with git clean -dfx and mvn clean -Pbootstrap, huh
djbkd has joined #jruby
<headius> mjc_: yeah weird
<headius> I will make a bug to tag the psych gem as requiring 9k
<headius> if that's possible
<mjc_> oh, wow
<mjc_> SIGBUS from freshly built 1.7.20
<mjc_> oh id10t error
<mjc_> was running maven
<headius> ahh ok :-)
<headius> you're raising my blood pressure today
<mjc_> sorry :'(
<headius> it's ok...I'm glad we still just have the one bug :-)
benlovell has quit [Ping timeout: 250 seconds]
<mjc_> ok glob_helper gets called twice
<mjc_> I don't understand why it's blowing up
<mjc_> I guess the println isn't instructive enough
<mjc_> ok so for some reason bytes ends up 0 length, as suspected
<mjc_> ah, something is passing 0 for end
mistergibson has quit [Quit: Leaving]
<headius> mjc_: I don't suppose you've ever set up an IDE to step-debug jruby, have you?
<headius> that might be helpful
<mjc_> no
<headius> another option would be you opening up a debug port and me connecting :-)
<headius> nirvdrum: we have like three different formats for parameter lists
<headius> that's the root of these problem
<headius> I will do a quick fix and then do the right fix
<nirvdrum> headius: No problem. We're using this on the Truffle side, but we have other problems at the moment.
<nirvdrum> A difference in LocalAsgnNode and DasgnNode
colinsurprenant has quit [Quit: colinsurprenant]
deobalds has quit [Quit: Computer has gone to sleep.]
<mjc_> headius: Its downloading, heading to lunch while it goes heh
mistergibson has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vULuK
<JRubyGithub> jruby/master 85d246a Chris Seaton: [Truffle] Fix botched core file.
JRubyGithub has left #jruby [#jruby]
<donV> Hi all!
<chrisseaton> headius: can you kill this build https://travis-ci.org/jruby/jruby/builds/61791747 - it's going to fail but I've pushed a fix
<headius> donV: hi there!
<headius> chrisseaton: sure, but I think you should be able to kill too
cajone has left #jruby [#jruby]
<chrisseaton> I don't seem to be able to since the redesign
<headius> hmm
<chrisseaton> buttons for code climate and settings, but no kill
<headius> my restarted build hangs in the same place
<headius> y'all have been doing some native posix IO stuff lately
<headius> could it be related?
<nirvdrum> This log doesn't look right: https://api.travis-ci.org/jobs/61791164/log.txt?deansi=true
<nirvdrum> Hah.
<nirvdrum> "The command "mvn -Pbootstrap clean install -Dinvoker.skip=false -Prake -Dtask=test:mri" failed. Retrying, 3 of 3."
<nirvdrum> There's a legitimate failure in the MRI test suite.
<nirvdrum> Something is telling it to retry.
<nirvdrum> I'm guessing whatever this "travis_retry" thing is.
<headius> yeah, we started doing that because of flaky network on travis
<headius> oh I see, test_parse
<headius> ok
<nirvdrum> That seems to be why the MRI tests have been running for 33m.
<headius> yeah
<headius> I wish there were a special error code for "TRAVIS SCREWED UP THE BUILD"
<headius> so we could only retry in that case
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to ensure_last_error_reset: http://git.io/vULwR
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/ensure_last_error_reset 3c19cf0 Charles Oliver Nutter: Properly adapt IR argsDesc to "parameterList" format....
<chamila> Is there something similar to C check_type in java?
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:3462a65 by Kevin Menard): The build failed. (http://travis-ci.org/jruby/jruby/builds/61791160)
travis-ci has left #jruby [#jruby]
<nirvdrum> headius: So you need to backport that to 1.7 too?
<nirvdrum> I didn't think to test there because I was really working with kwargs.
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marr has joined #jruby
<headius> chamila: look at TypeConverter class for those methods
<chamila> headius: ah okay thanks
benlovell has joined #jruby
<headius> nirvdrum: I suppose I could
<headius> actually I don't think it is broken there
<headius> this is a problem introduced by IR representing parameter description differently than old runtime
<headius> I'm doing some cleanup of that now
<nirvdrum> Okay. Your comment sounded to me like the change would have affected 1.7, too.
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
benlovell has quit [Ping timeout: 245 seconds]
chamila has quit [Quit: Page closed]
lance|afk is now known as lanceball
<mjc_> couldn't figure out intellij, but jdb works
<headius> mjc_: jdb is good
<headius> another option is you open a remote debug port with command line and connect to it from any debugger
<headius> I use that more often these days, so I should add to wiki
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 2 new commits to master: http://git.io/vUL7T
<JRubyGithub> jruby/master 257e324 Charles Oliver Nutter: Rename IRMethodArgs.getParameterList to getArgsDesc....
<JRubyGithub> jruby/master 9000d2d Charles Oliver Nutter: Use a structure for IR argument descs, because OO.
JRubyGithub has left #jruby [#jruby]
benlovell has joined #jruby
<headius> nirvdrum: bit of tidying up there
<headius> everything compiled but I didn't confirm any truffle stuff beyond that
<nirvdrum> Thanks.
<headius> I might do one more refactoring pass
<headius> package moves mostly
benlovell has quit [Ping timeout: 252 seconds]
<headius> very distracting to have intellij crashing every half hour today
enebo has left #jruby [#jruby]
enebo has joined #jruby
benlovell has joined #jruby
codefinger has quit [Quit: Leaving...]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:85d246a by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/61804354)
travis-ci has left #jruby [#jruby]
benlovell has quit [Ping timeout: 240 seconds]
benlovell has joined #jruby
cremes has quit [Read error: Connection reset by peer]
cremes_ has joined #jruby
kfpratt has joined #jruby
skade has joined #jruby
benlovell has quit [Ping timeout: 256 seconds]
camlow325 has quit [Remote host closed the connection]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
bbrowning_away is now known as bbrowning
<mjc_> ok I'm still not sure what I"m seeing
mitchellhenke has joined #jruby
<headius> mjc_: what do you see
<mjc_> it looks like it starts to shake out in push_braces
<headius> in order for that path to be zero length it would either have to be passed in that way or modified by the DOSISH block there
<headius> FNM_EXTGLOB is a fairly recent addition too
<headius> oops
<headius> FNM_NOESCAPE, and that's not really new
<headius> mjc_: notice it never uses newpath variable either
<headius> oh wait, it only uses it on one branch?
<mjc_> so push_globs gets pbegin and pend as 0 from the last push_braces call
<mjc_> the path is just a simple path: /vagrant
<mjc_> so there aren't any brace expansions to do
<mjc_> headius: somehow the unescaped bytelist ends up empty
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<headius> can you narrow it down to a Dir[] argument and a target dir structure?
<headius> if you can figure out a way to reproduce that would be sufficient
<mjc_> I don't even know how to get up to that from here, heh
<mjc_> oh hey, I managed to reproduce with a blank rails app
<mjc_> finally
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 2 new commits to master: http://git.io/vUtO6
<JRubyGithub> jruby/master ff737e9 Kevin Menard: Updated Helpers#encodeParameterList to work with any INameNode.
<JRubyGithub> jruby/master 87481db Kevin Menard: Replaced Strings with chars.
JRubyGithub has left #jruby [#jruby]
skade has quit [Quit: Computer has gone to sleep.]
<mjc_> headius: ok, so when you have spring (I know it doesn't work with jruby) and dotenv-rails loaded, that reproduces it. repo coming
<headius> hmmm ok
<mjc_> any standard path seems to reproduce, /vagrant or /Users/mjc/foo for example
pjammer has joined #jruby
<mjc_> so I guess I can put platform: :ruby on spring for now and that will solve my issue in the short term
<mjc_> but that still looks like a jruby bug, heh... I don't know how to get what you're asking for and now that I have a workaround I don't think I can help find it further until after work hours :(
<headius> mjc_: so it's something in spring triggering it eh?
travis-ci has joined #jruby
<mjc_> it's a combination of spring and dotenv-rails
<travis-ci> jruby/jruby (master:d2ea69e by Charles Oliver Nutter): The build failed. (http://travis-ci.org/jruby/jruby/builds/61805684)
travis-ci has left #jruby [#jruby]
<mjc_> take either out and it works
camlow325 has joined #jruby
<mjc_> headius: my suspicion is that spring messes with the way things are loaded and dotenv messes with the ENV, so between the two something gets fubared
<headius> weird ok
<headius> is this in a bug report yet?
<headius> I wonder who broke this parser test
<headius> ahh, 0ec6cdd94004859c08a2e14b482c1100a8887496
<headius> I bet that's it
<enebo> hah
<enebo> headius: what broke?
<headius> I think it's trying to treat BOM as a char
<headius> or something
<headius> oops
<headius> test_utf8_bom
<enebo> weird
<headius> that's only failure on master travis right now
<enebo> I did not test this but I though this would accept more output
<enebo> err input
<headius> you might be interested in some of the argument refactoring I just did too, trying to clean up the various ways we reprsent Method#parameters
dinfuehr has joined #jruby
<enebo> headius: sure btw I did change some stuff last time to pass tests but I mostly fixed arity
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/vUt8x
<JRubyGithub> jruby/master 60b462e Charles Oliver Nutter: Refactor new Argument stuff and clean up some related logic....
JRubyGithub has left #jruby [#jruby]
<headius> we had different formats for IRMethodArgs.getParameterList and MethodArgs2.getParameterList
<enebo> headius: parameters themselves I did fix some issues but the order is different than MRI for example so I know we had some issues
<headius> I made the IR version actually be a structured representation and changed the name
<headius> then tidied up the logic converting one form to another
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vUt4x
<JRubyGithub> jruby/master 1493648 Kevin Menard: [Truffle] Implemented Method#parameters and UnboundMethod#parameters.
JRubyGithub has left #jruby [#jruby]
<enebo> headius: do we still have multiple types?
<headius> enebo: yes :-(
<enebo> err impls
<enebo> yeah that could change
<headius> some code uses the prefixed form
<headius> I did not have code to convert from prefixed form to Argument form, so I didn't elimninate that
<headius> but it would be a good change
<headius> I was going to fix the parser bug first
<nirvdrum> My curse is your gain.
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/vUtBb
<JRubyGithub> jruby/master 48120ba Thomas E. Enebo: Revert "Use jcodings rather than Java for alnum ident (will work with all encodings without needing charset)"...
JRubyGithub has left #jruby [#jruby]
<enebo> HEH
<enebo> I fixed it real good
<headius> was that a fix for a bug, or just cleanup?
<enebo> headius: It was realization that if source is weird iso_8859_xx it may not recognize 7bit identifiers if JVM does not have charset support
<enebo> headius: what I changed it to is what MRI actually has
<headius> ahh sure
<headius> which 8859 was it?
<enebo> I don’t know
<headius> I implemented one charset that Java was missing
<enebo> but I imsagine there may be one
<headius> dunno if that's enough
<headius> 15 I think
<enebo> any 7bit which has more than a-z
<enebo> at least I was just thinking about it without truly knowing for sure
<enebo> perhaps all 7bit whch has ascii will never have other chars and go mbc for any others
<enebo> I suspect there is some encoding though
<enebo> fwiw, if you are in FooBaristan and have extra letters no doubt your JVM also does
<enebo> so it might not be so important
<enebo> Plus we have issue that we intern names as Java strings
<enebo> but it still felt more correct
skade has joined #jruby
<mjc_> headius: do you want me to make a bug report for the dotenv/spring thing?
<headius> mjc_: yeah please
<headius> thank you for getting a repro
<headius> enebo: ok, I understand
<mjc_> no problem, sorry I wasn't able to track it down further, I would have rathered to toss you a patch :(
<headius> s'ok, glob is pretty nasty
djbkd has quit [Remote host closed the connection]
yfeldblum has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:9000d2d by Charles Oliver Nutter): The build was canceled. (http://travis-ci.org/jruby/jruby/builds/61809582)
travis-ci has left #jruby [#jruby]
<nirvdrum> headius: They're out to get us. I have jury duty in two weeks. I opted not to postpone because of upcoming travel.
<headius> that's weird
<headius> lucky us
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mjc opened issue #2922: JRuby 1.7.x crashes with java.lang.ArrayIndexOutOfBoundsException: 0 when booting rails with spring and dotenv-rails loaded http://git.io/vUtad
JRubyGithub has left #jruby [#jruby]
<headius> yeah if I weren't going to be in Estonia that week I might not have postponed, but then after that I've booked up too
<headius> mjc_: thanks!
<mjc_> anytime
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:87481db by Kevin Menard): The build was canceled. (http://travis-ci.org/jruby/jruby/builds/61815104)
travis-ci has left #jruby [#jruby]
shellac has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:48120ba by Thomas E. Enebo): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/61817675)
travis-ci has left #jruby [#jruby]
shellac has quit [Client Quit]
skade has quit [Quit: Computer has gone to sleep.]
bbrowning is now known as bbrowning_away
KevinCorcoran has quit [Remote host closed the connection]
skade has joined #jruby
<headius> enebo: eliminating the other params forms means I can delete a bunch of old JIT classes too
<headius> CompiledMethod*, CompiledBlock*
<headius> oops, now I broke method args in travis
<headius> figures
mkristian has quit [Quit: Ex-Chat]
djbkd has joined #jruby
lanceball is now known as lance|afk
shellac has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vUt7G
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/master 42fcefa Kevin Menard: [Truffle] Module#alias_method should work between any two arguments that can coerce to Strings.
shellac has quit [Quit: Computer has gone to sleep.]
x1337807x has joined #jruby
x1337807x has quit [Client Quit]
x1337807x has joined #jruby
cremes_ has quit [Ping timeout: 264 seconds]
djbkd has quit [Remote host closed the connection]
cremes has joined #jruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:42fcefa by Kevin Menard): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/61823943)
travis-ci has left #jruby [#jruby]
mje113__ has quit [Quit: Connection closed for inactivity]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vUqvt
<JRubyGithub> jruby/master 36fbd3b Chris Seaton: [Truffle] Fix passing a block in a z super call.
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton closed issue #2914: [Truffle] Super passing wrong block http://git.io/vJhbk
JRubyGithub has left #jruby [#jruby]
djbkd has quit [Remote host closed the connection]
colinsurprenant has joined #jruby
enebo has quit [Quit: enebo]
benlovell has joined #jruby
<headius> nothing like having intellij crash multiple times during a giant refactoring
<nirvdrum> Running an EAP?
djbkd has joined #jruby
benlovell has quit [Ping timeout: 246 seconds]
colinsurprenant has quit [Quit: colinsurprenant]
skade has quit [Quit: Computer has gone to sleep.]
pjammer has quit [Ping timeout: 240 seconds]
<headius> EAP?
<headius> mmm refactoring can be so satifying
<lopex> early access programm afaik
pjammer has joined #jruby
colinsurprenant has joined #jruby
dinfuehr has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
digitalextremist has joined #jruby
<nirvdrum> Yeah. Basically their RCs or snapshots. They can be unstable.
<nirvdrum> But they can also get you bugfixes faster. It's a delicate balance.
<lopex> like debian apt experimental
<lopex> no enebo today ?
<nirvdrum> He was around.
<headius> oh right
<headius> no, I'm on release 8u45
<headius> I knew I knew that acronym
<headius> long day
<nirvdrum> I meant the IDEA EAP, not the JDK snapshots. But no worries. It sounds like you're using the stable release anyway.
<headius> yeah
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:36fbd3b by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/61828139)
travis-ci has left #jruby [#jruby]
shellac has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
nirvdrum has quit [Ping timeout: 244 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vUqcX
<JRubyGithub> jruby/master d15ad1d Chris Seaton: [Truffle] Add spec for z super with a block.
JRubyGithub has left #jruby [#jruby]
djbkd has joined #jruby
<Antiarc> This is a thing
<Antiarc> Also this is the wrong channel
<headius> hah
<headius> that looks like a very cumbersome game
<Antiarc> I think the idea is that it's just the AI fighting itself with ridiculous custom characters
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:d15ad1d by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/61834224)
travis-ci has left #jruby [#jruby]
<headius> ahhh ok
<Antiarc> In a similar vein as http://www.twitch.tv/saltybet - also AI vs AI with a *massive* roster of unbalanced custom characters
<Antiarc> It's far more entertaining than it has any right to be
<headius> I've been watching this on and off
<headius> crowdsourced pokemon
<Antiarc> I really don't know why this is quite as entertaining to me as it is
<Antiarc> But the emergence of this kind of thing is really pretty interesting
<headius> it's pretty weird
<Antiarc> extremely.
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton closed issue #2915: [Truffle] Undefining a method causes respond_to? to break http://git.io/vUvsQ
JRubyGithub has left #jruby [#jruby]
colinsurprenant has quit [Quit: colinsurprenant]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 3 new commits to master: http://git.io/vUqu0
<JRubyGithub> jruby/master 55b57d5 Chris Seaton: [Truffle] Fix respond_to? for undefined methods.
<JRubyGithub> jruby/master 3f7147a Chris Seaton: [Truffle] Document --jdebug
<JRubyGithub> jruby/master ed283cf Chris Seaton: [Truffle] Rename puts print
JRubyGithub has left #jruby [#jruby]
dinfuehr has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:d15ad1d by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/61834224)
travis-ci has left #jruby [#jruby]
dinfuehr has quit [Ping timeout: 264 seconds]
rcvalle has quit [Quit: rcvalle]
pipework is now known as spaceghostc2c
spaceghostc2c is now known as pipework
marr has quit []
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:ed283cf by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/61837044)
travis-ci has left #jruby [#jruby]