_gautam_ has joined #jruby
yfeldblum has joined #jruby
purplefox has quit [Ping timeout: 245 seconds]
purplefox has joined #jruby
roadkith has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:c045332 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/44397112)
travis-ci has left #jruby [#jruby]
roadkith has quit [Client Quit]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] camlow325 opened issue #2333: ChannelDescriptor leak after close of ScriptingContainer http://git.io/QXXqtg
JRubyGithub has left #jruby [#jruby]
Guest58814 is now known as cpuguy83
baroquebobcat has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/AncB9g
<JRubyGithub> jruby/master a8e5323 Chris Seaton: [Truffle] All Struct specs passing.
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/olM8-w
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/truffle-head 3a11773 Chris Seaton: Merge branch 'master' into truffle-head...
mcclurmc has quit [Remote host closed the connection]
e_dub has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:a8e5323 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/44401675)
travis-ci has left #jruby [#jruby]
mitchellhenke has joined #jruby
baroquebobcat_ has joined #jruby
baroquebobcat has quit [Read error: Connection reset by peer]
baroquebobcat_ is now known as baroquebobcat
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/TqyKqA
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/truffle-head ddee507 Chris Seaton: [Truffle] Some more language specs passing.
mcclurmc has joined #jruby
calavera has joined #jruby
Neomex_ has quit [Read error: Connection reset by peer]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
triple_b has joined #jruby
pietr0 has quit [Quit: pietr0]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/JiwsAg
<JRubyGithub> jruby/master 0f4adc3 Thomas E. Enebo: War of the wallpaper! I think my fix to remove bogus extra dynscope per simple eval...
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/aobeHg
<JRubyGithub> jruby/master ffa0ce2 Thomas E. Enebo: LocalVariable is immutable why do we make more in clone? Saves 1-2M of memory running...
JRubyGithub has left #jruby [#jruby]
enebo has quit [Quit: enebo]
benweint has quit [Quit: Computer has gone to sleep.]
tenderlove has quit [Remote host closed the connection]
baroquebobcat has quit [Read error: Connection reset by peer]
tenderlove has joined #jruby
mcclurmc has quit [Remote host closed the connection]
baroquebobcat has joined #jruby
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
tenderlove has quit [Remote host closed the connection]
calavera has quit [Ping timeout: 250 seconds]
rcvalle has quit [Quit: rcvalle]
marr has quit [Ping timeout: 258 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
Felystirra has quit []
yfeldblum has joined #jruby
yfeldblu_ has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:0f4adc3 by Thomas E. Enebo): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/44403850)
travis-ci has left #jruby [#jruby]
yfeldblum has quit [Ping timeout: 258 seconds]
yfeldblu_ has quit [Ping timeout: 255 seconds]
camlow325 has quit []
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baroquebobcat has joined #jruby
baroquebobcat has quit [Client Quit]
mitchellhenke has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:ffa0ce2 by Thomas E. Enebo): The build has errored. (http://travis-ci.org/jruby/jruby/builds/44404017)
travis-ci has left #jruby [#jruby]
dabradley has quit [Ping timeout: 245 seconds]
josh-k_ has quit [Remote host closed the connection]
yfeldblum has joined #jruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
mister_solo has quit [Ping timeout: 244 seconds]
triple_b has joined #jruby
tenderlove has joined #jruby
mitchellhenke has joined #jruby
dabradley has joined #jruby
havenwood has joined #jruby
tenderlove has quit [Ping timeout: 256 seconds]
ryez has joined #jruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
triple_b has joined #jruby
mitchellhenke has joined #jruby
subbu has joined #jruby
yfeldblum has quit [Ping timeout: 264 seconds]
mcclurmc has joined #jruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
zorak8 has joined #jruby
yfeldblum has joined #jruby
yfeldblum has quit [Ping timeout: 264 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:ffa0ce2 by Thomas E. Enebo): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/44404017)
travis-ci has left #jruby [#jruby]
zorak8 has quit [Read error: Connection reset by peer]
zorak8 has joined #jruby
DomKM has quit [Quit: Connection closed for inactivity]
tenderlove has joined #jruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tenderlove has quit [Ping timeout: 256 seconds]
calavera has joined #jruby
ddd_ has quit [Ping timeout: 264 seconds]
_gautam_ has quit [Quit: Be back later ...]
yfeldblum has joined #jruby
yfeldblum has quit [Ping timeout: 245 seconds]
anaeem1_ has joined #jruby
anaeem1_ has quit [Remote host closed the connection]
anaeem1_ has joined #jruby
zorak8 has quit [Ping timeout: 256 seconds]
JohnBat26 has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
subbu has quit [Ping timeout: 258 seconds]
anaeem1__ has joined #jruby
anaeem1__ has quit [Remote host closed the connection]
anaeem1_ has quit [Read error: Connection reset by peer]
anaeem1 has joined #jruby
yfeldblum has joined #jruby
mcclurmc has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 240 seconds]
pietr0 has joined #jruby
dyer is now known as dyer|away
yfeldblum has joined #jruby
yfeldblum has quit [Ping timeout: 258 seconds]
frank_____ has joined #jruby
johnmuhl has quit [Quit: Connection closed for inactivity]
noop has joined #jruby
yfeldblum has joined #jruby
yfeldblum has quit [Ping timeout: 245 seconds]
pchalupa has joined #jruby
yfeldblum has joined #jruby
anaeem1 has quit [Quit: Leaving...]
anaeem1 has joined #jruby
josh-k has joined #jruby
pietr0 has quit [Quit: pietr0]
SynrG has quit [Ping timeout: 245 seconds]
djellemah has joined #jruby
robbyoconnor has joined #jruby
SynrG has joined #jruby
josh-k has quit [Remote host closed the connection]
zorak8 has joined #jruby
skade has joined #jruby
skade has quit [Remote host closed the connection]
skade has joined #jruby
skade has quit [Remote host closed the connection]
skade has joined #jruby
skade has quit [Remote host closed the connection]
Hobogrammer has quit [Ping timeout: 255 seconds]
shellac has joined #jruby
josh-k has joined #jruby
frank_____ has quit [Quit: Connection closed for inactivity]
marr has joined #jruby
josh-k has quit [Remote host closed the connection]
josh-k has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
yfeldblum has quit [Ping timeout: 250 seconds]
havenwood has quit []
zorak8 has quit [Ping timeout: 258 seconds]
deobalds has joined #jruby
elia has joined #jruby
deobalds has quit [Ping timeout: 240 seconds]
drbobbeaty has joined #jruby
mister_solo has joined #jruby
skade has joined #jruby
skade has quit [Remote host closed the connection]
e_dub has quit [Quit: e_dub]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vtunka has joined #jruby
subbu has joined #jruby
josh-k has quit [Read error: No route to host]
drbobbeaty has joined #jruby
josh-k has joined #jruby
tenderlove has joined #jruby
rcvalle has joined #jruby
tenderlove has quit [Ping timeout: 258 seconds]
djellemah has quit [Ping timeout: 250 seconds]
dyer|away is now known as dyer
cremes has quit [Read error: Connection reset by peer]
cremes has joined #jruby
djellemah has joined #jruby
cremes has quit [Read error: Connection reset by peer]
cremes has joined #jruby
nirvdrum has joined #jruby
Neomex has joined #jruby
mister_solo has quit [Ping timeout: 264 seconds]
vtunka has quit [Quit: Leaving]
bbrowning_away is now known as bbrowning
anaeem1 has quit [Remote host closed the connection]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian created test-jossl-0.9.6-master from master (+0 new commits): http://git.io/dZfbrg
JRubyGithub has left #jruby [#jruby]
erikhatcher has joined #jruby
lance|afk is now known as lanceball
johnmuhl has joined #jruby
triple_b has joined #jruby
mitchellhenke has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 1 new commit to test-jossl-0.9.6-master: http://git.io/HNmzOg
<JRubyGithub> jruby/test-jossl-0.9.6-master 08ae077 Christian Meier: Merge branch 'test-jossl-0.9.6'...
JRubyGithub has left #jruby [#jruby]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian closed issue #1685: Symbol#inspect for non-US-ASCII symbols http://git.io/lTdh6g
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (test-jossl-0.9.6-master:ffa0ce2 by Thomas E. Enebo): The build passed. (http://travis-ci.org/jruby/jruby/builds/44452722)
travis-ci has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (test-jossl-0.9.6-master:08ae077 by Christian Meier): The build failed. (http://travis-ci.org/jruby/jruby/builds/44455525)
travis-ci has left #jruby [#jruby]
enebo has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (test-jossl-0.9.6-master:08ae077 by Christian Meier): The build failed. (http://travis-ci.org/jruby/jruby/builds/44455525)
travis-ci has left #jruby [#jruby]
e_dub has joined #jruby
elux has joined #jruby
elux has quit [Client Quit]
mcclurmc has joined #jruby
daniell has joined #jruby
dfas has quit [Ping timeout: 245 seconds]
tcrawley-away is now known as tcrawley
anaeem1 has joined #jruby
dumdedum has joined #jruby
mister_solo has joined #jruby
subbu is now known as subbu|away
travis-ci has joined #jruby
<travis-ci> jruby/jruby (test-jossl-0.9.6-master:08ae077 by Christian Meier): The build failed. (http://travis-ci.org/jruby/jruby/builds/44455525)
travis-ci has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (test-jossl-0.9.6-master:08ae077 by Christian Meier): The build was canceled. (http://travis-ci.org/jruby/jruby/builds/44455525)
travis-ci has left #jruby [#jruby]
mitchellhenke has joined #jruby
tenderlove has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 1 new commit to test-jossl-0.9.6-master: http://git.io/qIId9w
<JRubyGithub> jruby/test-jossl-0.9.6-master 30dad24 Christian Meier: [build] removed obsolete monkey patches
JRubyGithub has left #jruby [#jruby]
tenderlove has quit [Ping timeout: 250 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (test-jossl-0.9.6-master:30dad24 by Christian Meier): The build failed. (http://travis-ci.org/jruby/jruby/builds/44462302)
travis-ci has left #jruby [#jruby]
tenderlove has joined #jruby
noop has quit [Ping timeout: 250 seconds]
kgerman has joined #jruby
<bbrowning> enebo: hmm TB build failed during part of its build w/ 1.7.18-SNAPSHOT - let me roll back to 1.7.17 and make sure it's actually jruby at fault here and not some other external thing
subbu|away is now known as subbu
<bbrowning> the failure was "Gem::LoadError: Could not find 'builder' (= 3.0.0) among 38 total gem(s)" which is odd, since I see the gem there in the directory it's looking in
lanceball is now known as lance|afk
<bbrowning> any changes around gem loading, file loading, etc between 1.7.17 and 1.7.18?
<enebo> bbrowning: I don’t know offhand
<enebo> bbrowning: we fixed a bunch of things in a flurry a week ago
<bbrowning> if it fails under 1.7.17 then I'll know it's something else creeping in - will know that in a bit
dyer is now known as dyer|away
<enebo> bbrowning: thanks
travis-ci has joined #jruby
<travis-ci> jruby/jruby (test-jossl-0.9.6-master:30dad24 by Christian Meier): The build failed. (http://travis-ci.org/jruby/jruby/builds/44462302)
travis-ci has left #jruby [#jruby]
<nirvdrum> enebo!!!
<enebo> nirvdrum: howdy :)
<nirvdrum> Good morning.
<nirvdrum> Just a friendly reminder than commit messages like "Fix #xyz" are annoying when not viewed through github, since they require a cross-reference to get any semantic meaning out of it. :-/
<enebo> nirvdrum: yeah sorry I realized that after I did it
<nirvdrum> locks: Can a MatchData's values ever be anything other than a string?
<nirvdrum> lopex: ^
<nirvdrum> Sorry locks.
<enebo> nirvdrum: I normally paste the description after that but I was in a hurry
benweint has joined #jruby
<nirvdrum> enebo: No worries. But we had to play out the entire scenario.
<enebo> then I felt guilty :)
<nirvdrum> At least you didn't force push to fix it :-P
<enebo> nirvdrum: yeah that is never my style :P
<enebo> so jvisualvm lies on heap graphs
<enebo> sometims the heap graph is like 1/3 of actual heap dump and sometimes it isn’t
<nirvdrum> Retained vs total?
<enebo> Used in the graph I guess I mean
<enebo> vs what sample histogram says
<bbrowning> enebo: TB3 built fine w/ jruby 1.7.17 - trying 1.7.18-SNAPSHOT again just to be sure I can reproduce
dyer|away is now known as dyer
<enebo> I might expect the sample histogram to be less accurate but the thing is once in every 4-5 connects the heap used graph does show triple the heap used
<enebo> bbrowning: If so then either a reduction or a bisect would be great.
<bbrowning> yeah
zorak8 has joined #jruby
<enebo> I think there was a change to LOAD_PATH normalization
<bbrowning> hopefully I can reproduce outside of TB since it's almost the last step in our build that fails :/
<bbrowning> although if the build fails I'm sure some integration tests would fail as well
shellac has joined #jruby
<enebo> bbrowning: :|
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 1 new commit to test-jossl-0.9.6-master: http://git.io/-rHBaQ
<JRubyGithub> jruby/test-jossl-0.9.6-master 43d0de7 Christian Meier: Revert "[build] removed obsolete monkey patches"...
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (test-jossl-0.9.6-master:43d0de7 by Christian Meier): The build failed. (http://travis-ci.org/jruby/jruby/builds/44467212)
travis-ci has left #jruby [#jruby]
<bbrowning> enebo: failure reproduced, so bisecting now
<enebo> bbrowning: thanks buddy
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 2 new commits to master: http://git.io/ThG97Q
<JRubyGithub> jruby/master 3594f3e Kevin Menard: Made RubyString#positionEnd a static utility method so it can be used outside of RubyString.
<JRubyGithub> jruby/master 33bd0e1 Kevin Menard: [Truffle] RubyRegexp#scan no longer get stuck in an infinite loop and can now return captured values.
JRubyGithub has left #jruby [#jruby]
calavera has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (test-jossl-0.9.6-master:43d0de7 by Christian Meier): The build was canceled. (http://travis-ci.org/jruby/jruby/builds/44467212)
travis-ci has left #jruby [#jruby]
<bbrowning> hmm first bisect fails because of some snapshot dep it wants :/
mcclurmc has quit [Remote host closed the connection]
<nirvdrum> enebo: Can you think of any case where a side effect from calling this line would be needed? https://github.com/jruby/jruby/blob/master/core/src/main/java/org/jruby/RubyMatchData.java#L597
<nirvdrum> Otherwise, context isn't used.
<nirvdrum> And the line could just be deleted.
<enebo> bbrowning: if it is jnr-posix I will fix that shortly
<enebo> bbrowning: but I guess that does not help you
<bbrowning> enebo: nope - instead of bisect I'll just have to look for suspicious commits and git revert each I think
mcclurmc has joined #jruby
<enebo> nirvdrum: so that line and the one above it can change
<enebo> nirvdrum: runtime is only used in the if
<enebo> nirvdrum: and there is no side-effect of getting context so that must be left over from some fix
<nirvdrum> Okay. I'll tidy up since I'm looking at that.
<enebo> nirvdrum: cool
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 2 new commits to master: http://git.io/wtZOig
<JRubyGithub> jruby/master 5a14923 Kevin Menard: [Truffle] Fixed typo.
<JRubyGithub> jruby/master 69212f8 Kevin Menard: Removed an unused reference and inlined another.
JRubyGithub has left #jruby [#jruby]
mcclurmc has quit [Remote host closed the connection]
erikhatcher has quit [Quit: erikhatcher]
subbu is now known as subbu|breakfast
purplefox has quit [Quit: Leaving]
purplefox has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/1R1P2A
<JRubyGithub> jruby/master 61f745e Thomas E. Enebo: Make global TemporaryVariableCache to dramatically reduce allocation of this highly repetitive immutable object
JRubyGithub has left #jruby [#jruby]
camlow325 has joined #jruby
benweint has quit [Quit: Computer has gone to sleep.]
mcclurmc has joined #jruby
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #jruby
<headius> enebo: you weren't looking at one generation, were you?
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #jruby
<nirvdrum> That looks like a big savings.
elia has quit [Quit: Computer has gone to sleep.]
<rtyler> chrisseaton: ping
subbu|breakfast is now known as subbu
<headius> enebo: have you incorporated anything from my branch? I knocked off the top several items in an allocation trace
<headius> enebo: unrelated...I am tempted to fix this File.realpath classpath: bug by just inserting a check for classpath: that returns it as-is
<enebo> headius: I almost all were things to directed graph right?
<headius> enebo: no, many to IR itself
elia has joined #jruby
shellac has quit [Read error: Connection reset by peer]
<headius> I tried to keep them separate commits
<enebo> headius: I will reexamine. I have not touched some larger items at all yet like deleting pass data
<headius> ok
<headius> yeah the logic for JIT to dump that stuff is there too
<headius> but that doesn't really help in general
<enebo> That will mostly add up once a lot of things JIT
<enebo> so it will not show up as much early
<headius> right
<headius> so not useful for test run OOM for example
mcclurmc has quit [Remote host closed the connection]
djellemah has quit [Quit: Leaving]
subbu is now known as subbu|away
tenderlove has quit [Remote host closed the connection]
mcclurmc has joined #jruby
tenderlove has joined #jruby
<headius> enebo: rails master needs FNM_EXTGLOB: https://travis-ci.org/sharedapp/sharedapp/jobs/44474112
<headius> so after 1.7.18 fixes I'm going to get jc00ke's PR merged
<enebo> headius: yeah cool. Hopefully that is the last fix for 4.2
<jc00ke> Sweet!
<jc00ke> Using String is OK? Or would you rather I use ByteArray?
<jc00ke> I guess you can lmk on the PR ;)
mcclurmc has quit [Remote host closed the connection]
<headius> enebo: master, not 4.2
<headius> pretty sure the ruby version bump is for 5
<enebo> oh yeah I keep saying 4.2 and I mean for 5
<headius> ok
<enebo> I got it my head several months that 4.2 was the 2.2 dependent version
<enebo> It won’t leave my head apparently :)
mister_solo has quit [Ping timeout: 250 seconds]
camlow325 has quit [Read error: Connection reset by peer]
mcclurmc has joined #jruby
camlow325 has joined #jruby
<bbrowning> headius: fwiw, rails 4.1 needs FNM_EXTGLOB
<bbrowning> released rails versions already require it if running on jruby 9k
<bbrowning> and thus they don't run :)
<headius> so they must have a version guard
zorak8 has quit [Ping timeout: 258 seconds]
mcclurmc has quit [Ping timeout: 250 seconds]
<headius> enebo: I don't see how realpath ever worked with classpath: URLs
<headius> there's logic in here to handle it but I don't think it is reached
<headius> going to step through now
<enebo> headius: you mean EVER?
<headius> well the reporter says it did, so I need to figure out what changed
<headius> nothing in diffs stands out
<nirvdrum> enebo: As of 0f4adc34b63b47f88e113fb5ca2f95817ef8e30b I now see a lot of output when running specs that wasn't there before: https://gist.github.com/nirvdrum/81c7fb319c30e4c1e739
pietr0 has joined #jruby
<enebo> nirvdrum: ok. interesting. is it happening during a specific test? where can I see this
<headius> and bbrowning
<bbrowning> headius: yeah that's the reason it only fails on jruby 9
<nirvdrum> enebo: I was just runnning "mvn -Ptruffle-specs-core"
<nirvdrum> But it looks like it'd be a common path thing.
<headius> ah-ha
<nirvdrum> Gah. The world needs to stop using string version guards.
<headius> return context.runtime.newString(new File(file.toString()).getCanonicalPath());
<bbrowning> enebo: I managed to reorder the jnr-posix version bumping commits and am now bisecting 1_7 to see what's up
<headius> that's not it
<headius> er, that's not right
<bbrowning> as long as the bump of jnr-posix isn't the problem, I should be able to find it this way
<nirvdrum> I hope Ruby 2.10 gets released so I can watch the world go up in flames.
<bbrowning> nirvdrum: OH NOES
<headius> hah
<bbrowning> that will be ruby's y2k problem
<asarih> headius: bbrowning: enebo: do you guys know how to get stronger ciphers working with JRuby? https://github.com/travis-ci/travis-ci/issues/2850
<nirvdrum> The kicker is, RubyGems, which will already have been loaded, has a pretty good API for comparing versions.
<headius> jesus, this realpath logic is the pits
<nirvdrum> But it seems those that haven't been burned by lexicographic comparisons yet will continue rolling the dice.
<bbrowning> nirvdrum: even w/o rubygems there's always RbConfig::CONFIG["MAJOR"], "MINOR", etc
<headius> asarih: you have the unlimited strength policy installed?
<nirvdrum> bbrowning: And add in the fact that this will allocate the same string over and over and over.
<headius> asarih: forgive my poor observation if you mentioned that in the bug discussion...it is very long
<asarih> headius: I think I tried. perhaps I did it wrong.
dumdedum has quit [Quit: foo]
elia has quit [Quit: Computer has gone to sleep.]
<bbrowning> asarih: the policy is my only idea as well - I don't do a whole lot of SSL
elia has joined #jruby
lance|afk is now known as lanceball
<asarih> bbrowning: ok.
<asarih> thanks.
<headius> asarih: if it still doesn't work after installing policy file properly, let me know
<headius> (or if you confirm you installed it properly already)
<headius> there's also the reflection hack to turn it on
<nirvdrum> headius: It looks like IO.popen4 was removed in 9k. That broke a couple gems I maintain. Is there a recommended replacement?
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/cfNo4Q
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/master 6658212 Kevin Menard: [Truffle] Allow blocks to be passed to String#scan.
<bbrowning> nirvdrum: That hit me as well. I tried to replace with Open3.popen3, but that failed because there's some kind of bug around the pid not being populated from the returned io objects
<bbrowning> that reminds me I need to reproduce and file a bug on that
elia has quit [Ping timeout: 258 seconds]
<rtyler> bheck the backlog, there's already a open3 bug or two in there
<bbrowning> cool
<bbrowning> there are also a few tests excluded that would show this bug as well
<nirvdrum> I don't recall what the differences between open3 and open4 off-hand, but I think one was getting access to stdout and stderr as independent streams.
<bbrowning> you'll need to implement your own "jruby9k?" method - preferably using string version comparison ;)
<nirvdrum> Heh.
<nirvdrum> Thanks.
<bbrowning> that's basically the logic of Open3.popen3 for 9k but modified to return the pid like popen4 does
bbrowning is now known as bbrowning_away
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has joined #jruby
havenwood has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 3 new commits to jruby-1_7: http://git.io/qskHiQ
<JRubyGithub> jruby/jruby-1_7 2515fc0 Charles Oliver Nutter: Warn but do not error for odd java.specification.version.
<JRubyGithub> jruby/jruby-1_7 681fe89 Charles Oliver Nutter: Allow jrubyc-compiled main() to be used from boot classloader.
<JRubyGithub> jruby/jruby-1_7 0dfd501 Charles Oliver Nutter: Do not canonicalize URLs using JDK canonicalization. Fixes #2331.
JRubyGithub has left #jruby [#jruby]
<lopex> nirvdrum: potentially nil
<nirvdrum> lopex: In what situation would it be nil? Do you have an example?
<lopex> nirvdrum: MatchData.allocate :(
<lopex> nirvdrum: there's a ton of egde case check for allocate
<lopex> nirvdrum: in many built in classes
<lopex> % !
<lopex> % Range.allocate
<multibot_> (SyntaxError) <script>:2: syntax error, unexpected end-of-file
<multibot_> ..
<lopex> % Range.allocate.to_a
<multibot_> (TypeError) can't iterate from NilClass
<lopex> % MatchData.allocate
<multibot_> (TypeError) uninitialized Match
<lopex> this one goest from to_s
<lopex> % MatchData.allocate.inspect
<multibot_> #<MatchData:0x3c54a632>
<nirvdrum> But those aren't the MatchData values, are they?
<lopex> % MatchData.allocate.begin(1)
<multibot_> (TypeError) uninitialized Match
<lopex> nirvdrum: yeah, arent
<lopex> just uninitialized
<nirvdrum> lopex: In there any situation in which one of the elements of the value array is anything other than a RubyString?
<lopex> nirvdrum: there shouldnt be
anaeem1 has quit [Remote host closed the connection]
subbu|away is now known as subbu
<lopex> nirvdrum: what's the problem ?
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #2331: File.realpath treats absolute "classpath:/" paths as relative paths http://git.io/fqFE7Q
JRubyGithub has left #jruby [#jruby]
<headius> asarih: did you make containerized changes to 1.7 builds too?
anaeem1_ has joined #jruby
<headius> they're really helping on master
camlow325 has quit [Remote host closed the connection]
<nirvdrum> lopex: I just want to know if I can always cast to RubyString. Or if I could strengthen the type for the array.
camlow325 has joined #jruby
<lopex> nirvdrum: you can always convertToString
<asarih> headius: I have not.
<asarih> headius: should be pretty easy to make that change.
<headius> ok...dev isn't as wild and crazy there so we can wait on it for now
<lopex> nirvdrum: but otherwise I'd check against mri since those conversions can be arbitrary
<nirvdrum> lopex: Well, I'm actually in Truffle land and I don't believe that method exists.
<headius> truffle land sounds like a place I'd like to live
<enebo> nirvdrum: Have you ever seen that running anything non-truffle-related?
<enebo> nirvdrum: The fiber error on adoptThread?
<headius> asarih: next question...are the images created for travis when we have green master builds available somewhere?
<headius> we have our nightlies but if those are publicly available they'd represent "last good" snapshot builds throughout the day
<enebo> nirvdrum: This backtrace makes no sense to me as it is firing this hook once the runtime is shutting down
<enebo> nirvdrum: for it not to have hit this code many times and defined that constant seems odd to me
<asarih> look for 'jruby-head'
<headius> oh, awesome
<nirvdrum> enebo: That's all I've been running thus far. It could be racey and not limited to that commit, either. Hard to say.
<headius> why is there a "jamesgolick" Ruby, btw?
<nirvdrum> It certainly seems to happen more frequently then.
<asarih> headius: not sure. it was a long time ago.
<headius> asarih: thank you, that's very useful
anaeem1_ has quit [Remote host closed the connection]
<nirvdrum> The jamesgolick one is a bunch of patches he wrote. Like how there was a "falcon" one at one point, I believe.
anaeem1_ has joined #jruby
<headius> and last question, or suggestion really: it would be nice if the build list showed elapsed *realtime* rather than aggregate job time
anaeem1_ has quit [Remote host closed the connection]
<headius> e.g. so I can tell how long it's actually taking to complete all jobs
<nirvdrum> enebo: If you think it's a Truffle quirk, I can start tracing more on my end.
<enebo> nirvdrum: well I definitely introduced something unexpected removing the bogus scope from simple evals. We end up with a completely empty context stack now. In a sense this makes sense since shutdown hooks run after script has ran off the edge (meaning scripts scope would be gone). This is something wrong with how we implement shutfown hooks and has always been wrong
<headius> right now it looks really weird...
<headius> ran for 5 hrs 52 min 24 sec
<headius> 6 minutes ago
bbrowning_away is now known as bbrowning
camlow325 has quit [Remote host closed the connection]
<headius> and it was not started 5 hours ago
<enebo> nirvdrum: I think we never saw the issue I worked around because we were stuff extra scopes
<enebo> nirvdrum: but why this would affect truffle I don’t know since I have not see those errors at all locally
<bbrowning> enebo: headius: so, it looks like the update to rubygems 2.4.5 is the culprit for TB build failures w/ 1.7.18-SNAPSHOT
<enebo> nirvdrum: The backtrace itself almost insinuates getCurrentContext has never ever been run and initialized fiber via adoptThread
<bbrowning> before rubygems 2.4.5 jruby was on 2.1.9?
<enebo> nirvdrum: but that makes no sense to me
<enebo> bbrowning: correct
<bbrowning> hmm now to see what all they changed
<bbrowning> but it makes sense, since my error is around installing a gem
<enebo> bbrowning: :|
<bbrowning> I can sometimes get around that error and then get an error from the nokogiri gem before integs start
mister_solo has joined #jruby
<bbrowning> so two gem-related errors
mister_s_ has joined #jruby
camlow325 has joined #jruby
<enebo> nirvdrum: doRunFromMain shutdowns TruffleBridge before the finalizers run. I don’t know how truffle relates to finalizer execution but perhaps there is a connection?
<nirvdrum> chrisseaton: ^
mister_solo has quit [Ping timeout: 265 seconds]
<chrisseaton> i was trying to follow but can't find where this conversation began
mister_s_ has quit [Ping timeout: 272 seconds]
<nirvdrum> The root of the chain was: "enebo: As of 0f4adc34b63b47f88e113fb5ca2f95817ef8e30b I now see a lot of output when running specs that wasn't there before: https://gist.github.com/nirvdrum/81c7fb319c30e4c1e739"
mister_solo has joined #jruby
brycek_ is now known as brycek
<enebo> nirvdrum: yeah I understand but looking at the backtrace I don’t understand how that is possible so that is why I wonder if it is something to do with Truffle in some way
<nirvdrum> enebo: I was letting Chris know where to start reading from :-)
<enebo> ah ok I will add more for him to read :)
<enebo> We definitely have a bug still too. finalizers are running after script scope and frame are gone
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
<enebo> So my change last night was to add one back but I think we were always evaluating in a not-real scope
<enebo> or on a not-real one
<chrisseaton> wow Google has indexed that gist already
<headius> enebo: realpath is fixed...I also have a fix for the long-standing ChannelDescriptor leak the Puppet folks reported, but I am ambivalent about pushing it into 1.7.18
camlow325 has joined #jruby
<headius> given the holidays I could go either way...either nobody will care until after the holidays, or they'll care a lot and not get a fix until after the holidays
<enebo> I think we need to execute finalizers as part of main Script execution before we pop stuff off
<headius> chrisseaton: it's scary sometimes, isn't it
<headius> I wonder if someone who looked at it is using that google chrome caching service
<dfr|work> morning folks.
<headius> that has to cull a ton of updates for them
<headius> dfr|work: morning! I fixed a File.realpath regression today that wasn't your fault :-D
nateberkopec has quit [Ping timeout: 244 seconds]
<headius> all of the File.*path* methods really need cleanup
<headius> awful awful mess
<dfr|work> headius, does it use resources or not yet?
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:6658212 by Kevin Menard): The build has errored. (http://travis-ci.org/jruby/jruby/builds/44482100)
travis-ci has left #jruby [#jruby]
<nirvdrum> The Ruby string API is nutty.
<nirvdrum> I do not like this.
mister_solo has quit [Ping timeout: 250 seconds]
<nirvdrum> headius, enebo: It looks like I could facilitate more sharing by retooling some of the RubyString methods to accept and return ByteLists, letting each RubyString implementation then do the proper thing with that list. Do you have any objections to me making some private instance methods public static instead?
<headius> dfr|work: a few do but most don'w
<headius> nirvdrum: I think if they are private now and become public static they should move to a central location rather than dangling off RubyString
<headius> StringSupport probably
<headius> that has become a bit of a grab bag but what are you going to do with a million functions?
<nirvdrum> headius: Okay. No concerns about 1.7 merges?
<headius> well, if they'd merge with just a visibility change they'll probably merge with a wholesale move
<enebo> nirvdrum: headius: I agree with headius to make static helpers
<headius> oh, wait
<headius> yeah, I'm not concerned
<headius> the pace of core class changes in 1.7 has slowed to a trickle
<nirvdrum> A lot of these methods are still the is19 variants.
<dfr|work> headius, *sigh* I really do wish a day had 27 hours. =/
<headius> we may need to manually pick over some changes in the future, but that's inevitable
<enebo> yeah I think we are beyond caring and manually merging the few fixes we have are ok
<headius> dfr|work: me too
<enebo> headius: plus we will be doing the remove all number changes soon I think
<enebo> methods with numbers
<enebo> probably leave in cat19 and a few others
<nirvdrum> enebo: Want me to clean up the ones I'm touching?
<enebo> nirvdrum: private methods are safe
<enebo> nirvdrum: public ones I am less certain on now :) but I would like to
<headius> enebo: I have been removing them as I encounter them
<enebo> headius: I have a few myself
<headius> because 9k will be out in a month, RIGHT?
<headius> january is going to be busy busy busy
<enebo> headius: but cat19 makes me leery
<nirvdrum> enebo: Well, dump19() just calls dumpCommon(true), where the argument is "is1_9"
<enebo> headius: yeah I really want it out :)
<enebo> nirvdrum: the boolean should be removed regardless
<nirvdrum> I can keep the public method and just change call, dropping the boolean arg. Unless you think you need that switching behavior still for whatever reason.
<nirvdrum> Cool.
<enebo> I need to eat…bbiab
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/Rrka_g
<JRubyGithub> jruby/master d2a0d62 Kevin Menard: Moved a helper method from RubyString to StringSupport.
JRubyGithub has left #jruby [#jruby]
<headius> asarih: looks like a travis issue: https://travis-ci.org/jruby/jruby/jobs/44482103
<asarih> hmmm. not sure how it can hang there.
<headius> it is confusing, isn't it
<headius> this is the build cache used across runs, yes?
<asarih> yes
mister_solo has joined #jruby
<headius> and anyone else who wants to weigh in on fileno descriptor map change :-)
nateberkopec has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (jruby-1_7:0dfd501 by Charles Oliver Nutter): The build was broken. (http://travis-ci.org/jruby/jruby/builds/44484824)
travis-ci has left #jruby [#jruby]
<headius> THE HELL YOU SAY
<headius> oh christ, another 1.9-only method I guess
phrinx has joined #jruby
marr has quit [Remote host closed the connection]
marr has joined #jruby
<headius> but hey, thanks to asarih, I didn't have to wait an entire day to find out
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to jruby-1_7: http://git.io/l5JQZg
<JRubyGithub> jruby/jruby-1_7 467ccfb Charles Oliver Nutter: Mask 1.9-only test.
JRubyGithub has left #jruby [#jruby]
<asarih> headius: at your service
marr has quit [Ping timeout: 245 seconds]
<headius> enebo: saw your comment about finalization and popping stuff... yeah maybe true, or we need to push a finalization frame/scope before running them
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:20fb9e0 by Charles Oliver Nutter): The build was canceled. (http://travis-ci.org/jruby/jruby/builds/44485816)
travis-ci has left #jruby [#jruby]
<enebo> headius: yeah. I am unsure. I need to see what happens with at_exit and captured vars
<headius> we did not have to before, but we pushed a bunch of bogus crap frames on boot
<enebo> headius: we still have one bogus frame I think
<headius> probably
<headius> nobody likes an AIOOB in the core runtime, after all
<enebo> yeah for static/dynscope it should not matter really since it is all indexed on depth
<enebo> but since we pop the scope before running these last things that is clearly broken but has always been clearly broken
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 5 new commits to master: http://git.io/hBfaUA
<JRubyGithub> jruby/master 371ba62 Kevin Menard: Removed the forking 1.9 logic from RubyString#dump.
<JRubyGithub> jruby/master 63a4d7f Kevin Menard: Updated String#dumpCommon to take and return a ByteList.
<JRubyGithub> jruby/master d77e59e Kevin Menard: Made String#dumpCommon a static method.
JRubyGithub has left #jruby [#jruby]
<enebo> nirvdrum: does cat just call cat19?
<enebo> nirvdrum: your translation for the .force_encoding stuff completely ignore encoding name being non-ASCII but that is probably ok since I think they are all ASCII?
subbu is now known as subbu|lunch
<nirvdrum> enebo: cat looks like an internal method for resizing the RubyString itself. The ruby call seems to come from append19.
<enebo> nirvdrum: So I think the change is fine especially based on what it was doing before
<headius> MRI checks the name when retrieving encoding and blows up if it's not
<nirvdrum> enebo: I believe I maintained the semantics of what was there. I split them up until multiple commits so tracking it should be a lot easier.
<headius> for encoding names coming from userland, that is... all encoding names in jcodings should be US-ASCII already
<nirvdrum> *them up into
<enebo> nirvdrum: but this is a weird aspect of the codebase…cat is dumb assume it is bytes and cat19 works and interacts with both encoding and corerange
<enebo> nirvdrum: yeah I believe you made it no worse than what was there
<enebo> nirvdrum: Your change made me wonder if encoding name could ever be non-ascii 7bit
<enebo> nirvdrum: and headius just gave a good answer I think
<enebo> nirvdrum: so it is safe
<headius> enebo: yeah, 99% sure MRI guards against that everywhere
<headius> they don't want to have to decode encoding names
<headius> using encodings
<headius> he
<headius> heh
<nirvdrum> I suspect a lot more of these could be made utility methods. It might be good to just split between the stuff that really needs a RubyString and the stuff that just needs a ByteList w/ an Encoding.
<enebo> headius: perhaps though we should change cat to catBytes and have cat19 be cat or something … I hate the thought of that change and still supporting 1.7.x though
<headius> enebo: I need your review for that leak bug because I'm stepping out of office this afternoon and we need to decide if it's in
<enebo> nirvdrum: well I am all for that if it helps aid in readability
<headius> enebo: that would make sense... MRI has similar conventions for mbc versus non-mbc
<enebo> headius: ok I will look at it a little more…It already scares me :)
<headius> I will ask how critical this is for them
<headius> apparently puppet does a lot of jruby embedding
<headius> puppet-server perhaps
<enebo> headius: so tearDown and usage of tearDown is my only concern
<nirvdrum> enebo: Cool. The benefit to me is I don't have to reimplement all this crazy stuff for the Truffle class hierarchy, since RubyString in Truffle-land is basically a ByteList and Encoding wrapper as well.
<headius> enebo: I think I told you the story of singleton container teardown on master a few months ago
<enebo> headius: The fix is clearly right and not risky in what it does but if tearDown is called as a matter of cource on SINGLETON what happens?
<headius> basically, teardown of a singleton container worked ok *accidentally* because it left those stdio descriptors registered
<enebo> I guess the singleton just gets boned
<enebo> oh
<headius> well look at the commit I did on master
<enebo> That sounds vaguely familar
<headius> I compromised and made teardown also clear the global runtime, so a subsequent SINGLETON would just spin up a new one
<enebo> ah yeah that’s right
<headius> so singleton, teardown, singleton would still work, but not see previous runs' state anymore
<enebo> so that was my main concern
<headius> that's a visible behavior change
mcclurmc has joined #jruby
<enebo> We decided back then the intent of tearDown was I don’t want that runtime
<headius> it's not possible to fix the leak without fixing that issue
<headius> right
<enebo> So even in Singleton it just means I want another singleton later
<headius> yeah
<enebo> if you make another one later
<headius> I can do that on 1.7 but it's scarier there than in 9k
<enebo> yeah it all comes flooding back :)
<enebo> So let’s gastalt this a bit
mcclurmc_ has joined #jruby
<enebo> If you terminate a runtime you are using embedded and these do not get unregistered then what positive outcome could there be?
mcclurmc has quit [Read error: Connection reset by peer]
<enebo> Perhaps that you don’t GC them ever because they basically stayed pinned?
<headius> your subsequent singleton runtims would still work as though you never did teardown
<enebo> Is there anything in ChannelDescriptor which could benefit from accidentally keeping an extra reference and not letting it GC. Seems like it would expose some other bug of ours at worst
<headius> modulo state changes actually caused by teardown (non-IO and object finalization, for example)
<headius> hmm
<headius> reopened stdio
<headius> or otherwise modified stdio objects
<enebo> headius: ah meaning the second startup would have the reopened version perhaps?
<headius> but that leaks behavior across instances and past terminate/teardown anyway
<headius> which seems bad
rsim has quit [Quit: Leaving.]
<enebo> headius: I agree that sounds undesirable
<headius> really singleton should not exist
<headius> I think we should consider deprecating it for 9k
<headius> it's almost never what you want...it's just easy
<enebo> Probably easily argued as a bug since it does not match documentation on runtimes in embedding
<enebo> yeah agreed. static kills us
<enebo> almost without exception :)
<headius> so yeah, with leak fix we need singleton teardown fix
<headius> behaviorally, singleton changes such that teardown will cause next singleton instance to look completely new
<headius> I think that about sums it up
<enebo> yeah
<enebo> so was the other singleton fix ever put on 1.7?
<headius> no
<headius> only on master...I found the bug because of IO rework
<enebo> hmm seems right but I don’t like the idea of testing this a day or two before release and running with it unless it is super important
<enebo> I would rather delay a week on the whole release or drop it for next point release
<headius> if you're ok with an xmas-week release of 1.7.19 I can delay
mister_solo has quit [Ping timeout: 264 seconds]
<headius> or week-after-xmas
<headius> whatever
<headius> I can push this to a branch so puppet folks can verify it
<headius> that seems like best option anyway
<headius> let a big embedder verify the embedding fix
<enebo> I am confused. If we delay point release then just put it on jruby-1_7
<enebo> oh 19
<headius> oh you meant delay 18?
<headius> I think 18 without the leak fix is ok to do tomorrow
<enebo> I mean delay 18 or wait until 19 for this fix
<headius> it has the realpath regression and a few other good fixes that aren't big
<enebo> but 19 does not mean 19 is one week
<headius> this is not a regression
<enebo> I would say 19 in beginning of January but each of these points is eating into our 9k work
<headius> I know
<headius> we need a team of interns to maintain 1.7
<enebo> I guess I am very happy with 18 as it stands (but I want to fix the last one marked and we need to know what the rg upgrade broke)
<headius> oh, I didn't see that bug
<enebo> well I somewhat agree but I also feel like a handoff would detach us too much from support of it
<headius> I'm going to push this to a branch and update issue...if puppet guys make a fuss I'll tell them to test the branch and we'll consider it
<headius> I'd rather it go into 19 than delay 18
<enebo> If we want this to work as a long term branch I think we need to keep working on both
<enebo> headius: ok that is my take as well
<headius> yeah I know...maybe we just need a team of interns to do the actual work :-)
<enebo> we do have some good PRs coming in so perhaps it is not so bad :)
<enebo> someday perhaps coverage will be so good it is a button click but it seems like system/integration/acceptance testing always finds stuff
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius created test-fix-2333 (+1 new commit): http://git.io/HyY_3g
<JRubyGithub> jruby/test-fix-2333 bd79165 Charles Oliver Nutter: Unregister stdio filenos from descriptor map, so they don't leak....
JRubyGithub has left #jruby [#jruby]
<enebo> Adding note to issue on the plan
<enebo> Added
<enebo> and you just made a branch :) nice
mcclurmc_ has quit [Remote host closed the connection]
<bbrowning> enebo: an update on the rubygems issue - I was able to change some of the TB3 build code that uses the RubyGems API to fix that part under the newer RubyGems. But, now I'm struggling with an issue where it appears nokogiri is getting required but the java extension isn't being loaded properly
<bbrowning> have to figure out this before I can actually run TB3 integs against 1.7.18
<enebo> bbrowning: ick. Sorry about this but the RG problem was something you were hoooking in tb3?
<enebo> so that one is not really us but your integration right?
<bbrowning> enebo: yeah the TB3 build was using rubygems during out build some
<bbrowning> correct
<enebo> ok. Well that is good from a 1.7.18 release perspective
<bbrowning> the nokogiri issue is a bit weird though - trying to track it down now
<enebo> now to hope the same thing of nokogiri but I thanks a ton for your support :)
<enebo> hmm bad english
<bbrowning> I see nokogiri.jar in $LOADED_FEATURES but it's like the jruby methods defined there aren't being loaded
zzak has joined #jruby
<bbrowning> anything change around how java native gem extensions get loaded?
<zzak> heay
<headius> bbrowning: I don't think so
<headius> not on 1.7
<headius> -Xdebug.loadService=true
<headius> see what you can see
<headius> nokogiri.jar being loaded should trigger the *Service logic and boot it
<bbrowning> ahh yeah I forgot about loadservice debug flag
<headius> I'm not sure if we log whether a service is found
<enebo> headius: canonic. of LOADPATH?
<headius> should affect service load
<headius> shouldn't
<asarih> zzak: yo
<headius> zzak: thanks for reminding me about the whitespace in that PR
<headius> it's not a big deal but it noises up blame and history
<enebo> haeiouy
<bbrowning> headius: I do see LoadService: found fileResource: /home/bbrowning/src/torquebox3/integration-tests/target/rubygems-test/gems/nokogiri-1.5.3-java/lib/nokogiri/nokogiri.jar
<bbrowning> so it shows me it found the jar, but not whether it did anything with the jar
<enebo> bbrowning: can you just load nokogiri from command-line -e script?
<bbrowning> enebo: yeah playing with that now
<enebo> wondering if it is jar in jar action
<headius> jc00ke: I'm not sure what I'm going to test locally, since it passed all the relevant suites on travis
<enebo> oh but you explode tb3
<headius> oh, I could look for MRI tests for FNM_EXTGLOB
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] lumeet opened pull request #2334: Replace array flattening with manual handling in java_import (master...2324) http://git.io/5rClIg
JRubyGithub has left #jruby [#jruby]
<headius> yay, both MRI tests that hit FNM_EXTGLOB work too
<headius> I'm satisfied
pchalupa has quit [Quit: Leaving]
<bbrowning> enebo: works fine from jruby -e, so dunno what's up
<zzak> enebo: what douome?
<zzak> so does anyone know how to apply a patch to rvm build like i could use with travis? i know such hook exists in rvm `--patch` but i'd need it at runtime
<headius> at runtime, as in .travis.yml ruby specification?
<headius> mpapis: is that possible?
<zzak> im not sure where it goes
<zzak> maybe rake
<headius> zzak: I'm about to merge that PR anyway, but it would be useful to know
<headius> you could always just fork jruby and do whatever you want travis-wise
subbu|lunch has quit [Ping timeout: 265 seconds]
<headius> oh, but you need to run OTHER tests on top of some rvm-friendly JRuby, and you need the patch in there
<headius> righto
<zzak> i would love to know how for future reference mainly
<headius> once I push this and we get a green master build, then travis "jruby-head" will reflect the change immediately
<headius> so there's that
<jc00ke> headius: where are those MRI tests? I might add them to the specs if I'm missing something
<headius> jc00ke: test/mri/ruby/test_fnmatch.rb in test_extglob and test_unmatched_encoding
<mpapis> zzak, headius please explain, rvm install jruby --disable-binary --patch ...
<headius> you can see the MRI tests we exclude in test/mri/excludes
<jc00ke> headius: thanks!
<zzak> mpapis: hey!
<mpapis> :)
_gautam_ has joined #jruby
<headius> jc00ke: I'm going to merge and remove the two excludes for those tests now
<jc00ke> headius: +1, thanks for the review!
<zzak> mpapis: can you show me an example? does it go in .travis.yml?
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #721: 2.0: Missing File::FNM_EXTGLOB and whatever uses it http://git.io/b1Lo6g
JRubyGithub has left #jruby [#jruby]
<headius> jc00ke: yeah sorry for the delay...we needed to refocus on 1.7.x for a few weeks
<headius> damn users
<jc00ke> headius: no worries, I was able to sleep at night ;)
<headius> thanks much for the fix...it seems to be the most common failure when people start playing with 9k
<zzak> is Journaled HFS+ case-insensitive?
<headius> normally, yes
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/huKREQ
<JRubyGithub> jruby/master ca9ed0a Charles Oliver Nutter: These pass now, thanks to @jc00ke and jruby/jruby#2275.
JRubyGithub has left #jruby [#jruby]
<headius> you can reformat with case-sensitivity, but I wouldn't recommend it... a bunch of apps expect case-insensitive
<headius> most notably Steam
<zzak> yeah, i want to tests insensitivity in this case
<headius> ahh ok then
<zzak> for this extglob patch
<zzak> rails was using it for find_template_paths
<zzak> in the template resolver
<headius> ahh yeah getting verification on rails would be excellent
<headius> so proceed
<zzak> im testing a patch to remove it also
<zzak> lol
<zzak> headius: thanks!
<headius> whenever this build goes green, travis jruby-head will reflect the PR: https://travis-ci.org/jruby/jruby/builds/44498715
<headius> NYT likes the Cuba move, WP hates it...surprise surprise
<headius> ok, out of office for a while
zeroecco has joined #jruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
subbu has joined #jruby
zorak8 has joined #jruby
cultureulterior1 has joined #jruby
<zzak> bbl
zzak has quit [Quit: Page closed]
zorak8 has quit [Read error: Connection reset by peer]
zorak8 has joined #jruby
<bbrowning> headius: enebo: I can get this to fail under 'jruby -e' when I require 'capybara/dsl' vs require 'nokogiri' - the former has a dependency on and ends up requiring nokogiri, but it fails at that point
<bbrowning> the interesting thing is the relevant loadService debug lines when it tries to satisfy the require 'nokogiri/nokogiri' that ultimately happens - https://gist.github.com/bbrowning/64d71cf8a85f0c60fa6b
<bbrowning> when it fails it only tries 3 permutations and then finds it
<bbrowning> when it passes it tries many permutations and then finds it
<bbrowning> how does it know to only attempt to find .jars in the failed case? it doesn't even attempt to load nokogiri/nokogiri.rb
subbu has quit [Ping timeout: 255 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:d2a0d62 by Kevin Menard): The build passed. (http://travis-ci.org/jruby/jruby/builds/44489800)
travis-ci has left #jruby [#jruby]
subbu has joined #jruby
kgerman has quit [Remote host closed the connection]
_gautam_ has quit [Quit: Be back later ...]
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #jruby
tenderlove has quit [Remote host closed the connection]
<enebo> bbrowning: did you try bisectnig that require? The second question is did any versions change of these gems?
tenderlove has joined #jruby
<bbrowning> enebo: I'm bisecting the require now, and no we pin our nokogiri and capybara versions in our build
<enebo> bbrowning: ok. sorry this has been a bear this time around
<bbrowning> YOU SHOULD BE
bbrowning is now known as bbrowning_away
pietr0 has quit [Ping timeout: 256 seconds]
pietr0_ has joined #jruby
josh-k has quit [Remote host closed the connection]
sarcher has quit [Read error: Connection reset by peer]
_gautam_ has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (jruby-1_7:467ccfb by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/44491930)
travis-ci has left #jruby [#jruby]
jmimi has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has joined #jruby
zorak8 has quit [Read error: Connection reset by peer]
zorak8 has joined #jruby
erikhatcher has joined #jruby
erikhatcher has quit [Quit: erikhatcher]
robbyoconnor has quit [Ping timeout: 250 seconds]
robbyoconnor has joined #jruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
erikhatcher has joined #jruby
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #jruby
robbyoconnor has quit [Ping timeout: 272 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to jruby-1_7: http://git.io/emZIUg
<JRubyGithub> jruby/jruby-1_7 91444d1 Thomas E. Enebo: Fix #2291. Dir[] fails if path does not exist instead of returning nil
JRubyGithub has left #jruby [#jruby]
marr has joined #jruby
rsim has joined #jruby
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] enebo opened issue #2335: File.exist? and many others do not try system dir on wnidows if path starts with bare / http://git.io/bXM1LA
elia has joined #jruby
erikhatcher has quit [Quit: erikhatcher]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo closed issue #2291: Dir[] fails if path does not exist instead of returning nil http://git.io/fJ916w
JRubyGithub has left #jruby [#jruby]
bbrowning_away is now known as bbrowning
mcclurmc has joined #jruby
balo_ has quit [Remote host closed the connection]
balo has joined #jruby
multibot_ has quit [Remote host closed the connection]
multibot_ has joined #jruby
tcrawley is now known as tcrawley-away
codefinger has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (test-fix-2333:bd79165 by Charles Oliver Nutter): The build has errored. (http://travis-ci.org/jruby/jruby/builds/44496082)
travis-ci has left #jruby [#jruby]
mcclurmc has quit [Ping timeout: 258 seconds]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tcrawley-away is now known as tcrawley
mcclurmc has joined #jruby
lanceball is now known as lance|afk
<bbrowning> enebo: bisecting shows it's the rubygems upgrade that breaks the loading of nokogiri's native extension as well
<bbrowning> I'm not sure how it breaks it, since the jar does get loaded
<bbrowning> but it breaks it :/
<bbrowning> and only under certain circumstances - a basic require 'nokogiri' works just fine
<enebo> hmm
mitchellhenke has quit [Ping timeout: 250 seconds]
yfeldblum has joined #jruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
<nirvdrum> lopex: Are you still around?
<lopex> nirvdrum: hiya
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:8930f98 by Charles Oliver Nutter): The build failed. (http://travis-ci.org/jruby/jruby/builds/44498715)
travis-ci has left #jruby [#jruby]
<nirvdrum> lopex: Is there any reason RubyFloat#to_i can't rely on BigDecimal -> BigInteger truncation?
<nirvdrum> I think you just mimicked what MRI was doing, but it seems like the JVM does some of that for you already.
<lopex> nirvdrum: I always try to mimic mri since these conversions obey ruby's duck typing protocol
<lopex> nirvdrum: and this comes out in the tests
<lopex> nirvdrum: and it might not be the case in this very case though
<lopex> :)
<lopex> nirvdrum: mri is shortcircuiting in arbitrary places as well
<lopex> those all can come out as compat issues
bbrowning is now known as bbrowning_away
<nirvdrum> Alright. My much naiver and compact approach passes rubyspec. But perhaps I should expand.
<nirvdrum> I just didn't want to cargo-cult this.
erikhatcher has joined #jruby
<lopex> nirvdrum: I guess at some point one could come up with automatic test feeder for ruby functions to guess how the args are being treated
skade has joined #jruby
<lopex> in pure ruby land it;s obvious since it's just the call semantics
<lopex> in internals it's not
<lopex> nirvdrum: ^^
<lopex> nirvdrum: also that code is quite old as well
<nirvdrum> Yeah. That's part of why I was asking.
<lopex> mri mmight have changed since then
<lopex> nirvdrum: complex/rational also suffers from these shortcircuiting
<lopex> nirvdrum: I understand It's not an issue for truffle anyways wrt perf, but some specs might rely on it
<nirvdrum> lopex: Well, it's more the case that float seems to be defined in terms of the platform's double precision.
<nirvdrum> And Java already seems to do the semantically correct thing with regards to truncation.
<lopex> right
<lopex> nirvdrum: there's also this strictfp java keyword too
<lopex> slippery ground anyways
<lopex> nirvdrum: afaik since 1.9 mri also tags floats, not sure how it does affect the things
<nirvdrum> I'm not sure why MRI is written the way it is. The value can't both be > 0.0 and < 0.0.
<lopex> is it still that way in mri ?
<lopex> well it cant, but the conditionals are independent
<nirvdrum> It looks like it.
yfeldblu_ has joined #jruby
<nirvdrum> Yeah. It just seems you're doing twice as many comparisons for positive numbers. Unless this was intended to guard against timing attacks somehow.
<nirvdrum> Ruby seems like the wrong language in that case.
<lopex> just and an else
<lopex> *an
<lopex> no fun_call there so it wont be visible to ruby
yfeldblum has quit [Ping timeout: 245 seconds]
<lopex> nirvdrum: jruby was so incomplete at that time, we just went fast porting aproach
<lopex> nirvdrum: I remember a single patch that was a rewrite of all ruby numerics
<lopex> and Ola bashed me for it, since it didnt pass the tests then
yfeldblu_ has quit [Ping timeout: 264 seconds]
erikhatcher has quit [Quit: erikhatcher]
<lopex> nirvdrum: but the problem is still there, since even for truffle you'll have to obey the shortcircuits
<lopex> and that means introducing inconsistency
<lopex> nirvdrum: I recommmend looking at rubinius impls for these things
rsim has quit [Quit: Leaving.]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
Hobogrammer has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:ca9ed0a by Charles Oliver Nutter): The build failed. (http://travis-ci.org/jruby/jruby/builds/44498953)
travis-ci has left #jruby [#jruby]
balo has quit [Ping timeout: 258 seconds]
mister_solo has joined #jruby
cremes_ has joined #jruby
yfeldblum has joined #jruby
x1337807x has joined #jruby
SynrGyy has joined #jruby
zeroecco has quit [Ping timeout: 245 seconds]
cremes has quit [Ping timeout: 245 seconds]
cremes_ is now known as cremes
SynrG has quit [Ping timeout: 245 seconds]
balo has joined #jruby
yfeldblum has quit [Remote host closed the connection]
mcclurmc has quit [Remote host closed the connection]
balo has quit [Ping timeout: 250 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 3 new commits to master: http://git.io/0b19_Q
<JRubyGithub> jruby/master 53e64de Kevin Menard: [Truffle] Be tighter with the bounds when comparing double to integer types to account for loss of precision.
<JRubyGithub> jruby/master 8330db3 Kevin Menard: [Truffle] At this point we've already determined we can't cast to long without losing precision, so use BigDecimal to preserve data.
<JRubyGithub> jruby/master 6b6e370 Kevin Menard: [Truffle] Implemented Float#to_i.
JRubyGithub has left #jruby [#jruby]
balo has joined #jruby
subbu has quit [Ping timeout: 250 seconds]
balo has quit [Ping timeout: 265 seconds]
mister_s_ has joined #jruby
mister_solo has quit [Ping timeout: 264 seconds]
balo has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/tmDXhQ
<JRubyGithub> jruby/master bf0ebab Kevin Menard: [Truffle] Untagged some passing Float specs.
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/hY1BUA
<JRubyGithub> jruby/master d56d246 Thomas E. Enebo: Remove Meth{Add,odHandle,odLookupInstr}. Saves a couple of MB on Rails console
JRubyGithub has left #jruby [#jruby]
codefinger has quit [Quit: Leaving...]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/33SOYw
<JRubyGithub> jruby/master a851478 Kevin Menard: [Truffle] Extreme bounds checking for Float#round.
JRubyGithub has left #jruby [#jruby]
mcclurmc has joined #jruby
enebo has quit [Quit: enebo]
yfeldblum has joined #jruby
mcclurmc has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 244 seconds]
<tarcieri> hmm
<tarcieri> super happy fun times! https://github.com/jruby/jruby/issues/1637
<tarcieri> read(0) is stupid and meaningless but...
nirvdrum has quit [Ping timeout: 244 seconds]
mister_s_ has quit [Ping timeout: 272 seconds]
elia has quit [Quit: Computer has gone to sleep.]