tcrawley-away is now known as tcrawley
tcrawley is now known as tcrawley-away
x1337807x has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:3ab40f0 by Kevin Menard): The build passed. (http://travis-ci.org/jruby/jruby/builds/57395256)
travis-ci has left #jruby [#jruby]
pgokeeffe has quit [Quit: pgokeeffe]
bjfish2 has quit [Quit: bjfish2]
bbrowning_away has quit [Read error: Connection reset by peer]
bbrowning_away has joined #jruby
bjfish2 has joined #jruby
zorak8 has quit [Read error: Connection reset by peer]
zorak8 has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:a023fd3 by Thomas E. Enebo): The build failed. (http://travis-ci.org/jruby/jruby/builds/57400404)
travis-ci has left #jruby [#jruby]
tlarevo has joined #jruby
bbrowning_away has quit [Remote host closed the connection]
pgokeeffe has joined #jruby
djellemah_ has joined #jruby
djellemah has quit [Ping timeout: 256 seconds]
DomKM has quit [Quit: Connection closed for inactivity]
tlarevo has quit [Remote host closed the connection]
e_dub has joined #jruby
x1337807x has quit [Ping timeout: 256 seconds]
codefinger has quit [Quit: Leaving...]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:bcb4f1d by Kevin Menard): The build failed. (http://travis-ci.org/jruby/jruby/builds/57402816)
travis-ci has left #jruby [#jruby]
mitchellhenke has joined #jruby
_djbkd has quit [Remote host closed the connection]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vezPG
<JRubyGithub> jruby/master 73bbd14 Brandon Fish: [Truffle] Adding Rational long specialization for Fixnum#-.
JRubyGithub has left #jruby [#jruby]
_djbkd has joined #jruby
nirvdrum has quit [Ping timeout: 256 seconds]
havenwood has joined #jruby
robbyoconnor has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:e2d3abd by Brandon Fish): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/57404275)
travis-ci has left #jruby [#jruby]
pgokeeffe has quit [Quit: pgokeeffe]
pgokeeffe has joined #jruby
_djbkd has quit [Remote host closed the connection]
pgokeeffe has quit [Read error: No route to host]
pgokeeffe has joined #jruby
iamjarvo has joined #jruby
pgokeeffe has quit [Quit: pgokeeffe]
havenwood has quit [Ping timeout: 246 seconds]
kfpratt has quit [Remote host closed the connection]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:bd21747 by Kevin Menard): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/57407026)
travis-ci has left #jruby [#jruby]
kfpratt has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:73bbd14 by Brandon Fish): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/57421697)
travis-ci has left #jruby [#jruby]
zorak8 has quit [Read error: Connection reset by peer]
zorak8 has joined #jruby
x1337807x has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:73bbd14 by Brandon Fish): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/57421697)
travis-ci has left #jruby [#jruby]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:73bbd14 by Brandon Fish): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/57421697)
travis-ci has left #jruby [#jruby]
iamjarvo has joined #jruby
kafkaz has joined #jruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_djbkd has joined #jruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tlarevo has joined #jruby
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #jruby
kfpratt has quit [Remote host closed the connection]
tlarevo has quit [Remote host closed the connection]
a5i has quit [Quit: Connection closed for inactivity]
el_cristobal has quit [Ping timeout: 265 seconds]
el_cristobal has joined #jruby
tlarevo has joined #jruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tlarevo has quit [Remote host closed the connection]
mister_solo has joined #jruby
tlarevo has joined #jruby
x1337807x has joined #jruby
tlarevo has quit [Remote host closed the connection]
mister_solo has quit [Ping timeout: 252 seconds]
digitalextremist has quit [Excess Flood]
digitalextremist has joined #jruby
tlarevo has joined #jruby
zorak8 has quit [Ping timeout: 250 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dinfuehr has joined #jruby
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #jruby
_djbkd has quit [Remote host closed the connection]
mister_solo has joined #jruby
yfeldblum has quit [Remote host closed the connection]
temporalfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djellemah_ has quit [Quit: Leaving]
djellemah has joined #jruby
yfeldblum has joined #jruby
temporalfox has joined #jruby
temporalfox has quit [Ping timeout: 246 seconds]
yfeldblu_ has joined #jruby
temporalfox has joined #jruby
yfeldblum has quit [Ping timeout: 250 seconds]
Hobogrammer has quit [Ping timeout: 255 seconds]
temporalfox has quit [Ping timeout: 250 seconds]
marr has joined #jruby
temporalfox has joined #jruby
drbobbeaty has joined #jruby
temporalfox has quit [Ping timeout: 246 seconds]
vtunka has joined #jruby
drbobbeaty has quit [Quit: Textual IRC Client: www.textualapp.com]
drbobbeaty has joined #jruby
pitr-ch has joined #jruby
conradwt has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tlarevo_ has joined #jruby
tlarevo has quit [Ping timeout: 244 seconds]
tlarevo_ has quit [Remote host closed the connection]
mister_solo has quit [Ping timeout: 245 seconds]
PragTob has joined #jruby
mister_solo has joined #jruby
Robin___ has quit [Quit: Page closed]
sferik has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 4 new commits to master: http://git.io/ve2Kt
<JRubyGithub> jruby/master 5b8b933 Benoit Daloze: [Truffle] Use #coerce for Rational and Complex arguments in FixnumNodes.
<JRubyGithub> jruby/master 275b940 Benoit Daloze: [Truffle] Use #coerce for Rational arguments in FloatNodes and BignumNodes.
<JRubyGithub> jruby/master ae1150f Benoit Daloze: [Truffle] Refactor the time_s_from_array primitive.
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:e68ebae by Benoit Daloze): The build has errored. (http://travis-ci.org/jruby/jruby/builds/57459506)
travis-ci has left #jruby [#jruby]
skade has joined #jruby
cajone has quit [Remote host closed the connection]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cajone has joined #jruby
a5i has joined #jruby
mkristian has joined #jruby
drbobbeaty has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 2 new commits to master: http://git.io/ve2pA
<JRubyGithub> jruby/master 92aca38 Benoit Daloze: [Truffle] Remove _offset_to_milliseconds shim in favor of ruby().
<JRubyGithub> jruby/master d8f644e Benoit Daloze: [Truffle] Remove now unused isRational and isComplex....
JRubyGithub has left #jruby [#jruby]
vtunka has quit [Quit: Leaving]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:d8f644e by Benoit Daloze): The build failed. (http://travis-ci.org/jruby/jruby/builds/57466208)
travis-ci has left #jruby [#jruby]
mister_solo has quit [Ping timeout: 250 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:d8f644e by Benoit Daloze): The build failed. (http://travis-ci.org/jruby/jruby/builds/57466208)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] donv reopened issue #2301: unable to get value of object's fields in RubyMine debugger http://git.io/ChLQvA
JRubyGithub has left #jruby [#jruby]
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
conradwt has quit [Quit: Linkinus - http://linkinus.com]
travis-ci has joined #jruby
<travis-ci> kares/jruby (master:e68ebae by Benoit Daloze): The build was broken. (http://travis-ci.org/kares/jruby/builds/57464901)
travis-ci has left #jruby [#jruby]
conradwt has joined #jruby
conradwt has quit [Client Quit]
dinfuehr has quit [Remote host closed the connection]
PragTob has quit [Ping timeout: 240 seconds]
yfeldblu_ has quit [Ping timeout: 245 seconds]
PragTob has joined #jruby
bbrowning has joined #jruby
mister_solo has joined #jruby
kotk has quit [Read error: Connection reset by peer]
kotk has joined #jruby
Scient has quit [Ping timeout: 255 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] kares pushed 10 new commits to jruby-1_7: http://git.io/vea09
<JRubyGithub> jruby/jruby-1_7 1a605a2 kares: do the toJava conversion on site instead of constant indirection esp. in loops
<JRubyGithub> jruby/jruby-1_7 da4c16a kares: avoid deprecated JavaMethod.create + make sub-class helpers final
<JRubyGithub> jruby/jruby-1_7 1e56da4 kares: use (and cache) the more Java [array] version of the API to retrieve proxy constructors
JRubyGithub has left #jruby [#jruby]
a5i has quit [Quit: Connection closed for inactivity]
Scient has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (jruby-1_7:10476d1 by kares): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/57474274)
travis-ci has left #jruby [#jruby]
iamjarvo has joined #jruby
dumdedum has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] kares closed issue #2375: JRuby subclass cannot call super with arguments if parent constructor is varargs http://git.io/hpyVRA
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (jruby-1_7:10476d1 by kares): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/57474274)
travis-ci has left #jruby [#jruby]
iamjarvo has quit [Ping timeout: 250 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/veagO
<JRubyGithub> jruby/master be01825 Benoit Daloze: [Truffle] Module#define_method should be private.
JRubyGithub has left #jruby [#jruby]
kares has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] kares pushed 1 new commit to jruby-1_7: http://git.io/veaVu
<JRubyGithub> jruby/jruby-1_7 aaf1681 kares: fix compilation error left-over from 7774be525ac71997cd2ed75ef641c47078a704bc
JRubyGithub has left #jruby [#jruby]
drbobbeaty has quit [Read error: Connection reset by peer]
dumdedum has quit [Ping timeout: 256 seconds]
a5i has joined #jruby
erikhatcher has joined #jruby
triple_b has joined #jruby
nirvdrum has joined #jruby
tcrawley-away is now known as tcrawley
vtunka has joined #jruby
dumdedum has joined #jruby
ypasmk has joined #jruby
enebo has joined #jruby
e_dub has quit [Quit: ZZZzzz…]
kares has quit [Ping timeout: 252 seconds]
cajone has quit [Ping timeout: 264 seconds]
kfpratt has joined #jruby
cajone has joined #jruby
<enebo> mkristian: oh hah…sorry I did not know you were on channel
<enebo> mkristian: I sent a message to gitter but I will repeat it here
<enebo> @mkristian Not sure if you have time or the inclination but I noticed we double open jar resources in LibrarySearcher::ResourceLibrary.load we only open a few jars normally so it is not likely a perf issue but it could use some cleanup.
<enebo> mkristian: I know you did not make this change, but I figured since you poke around in resource loading it would be up your alley
kares has joined #jruby
lance|afk is now known as lanceball
kfpratt has quit [Remote host closed the connection]
<lopex> why gitter ?
drbobbeaty has joined #jruby
<enebo> lopex: oh because normally mkristian is not on irc
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mitchellhenke has joined #jruby
mister_solo has quit [Read error: Connection reset by peer]
travis-ci has joined #jruby
<travis-ci> kares/jruby (test-update-openssl:3ab40f0 by Kevin Menard): The build failed. (http://travis-ci.org/kares/jruby/builds/57465209)
travis-ci has left #jruby [#jruby]
<lopex> hmm, bundler 1.9.x breaks torquebox alpha gem
<lopex> Could not find gem 'torquebox (= 4.0.0.alpha1) ruby' in the gems available on this machine
<bbrowning> lopex: it's looking for an MRI variant of the gem, from that error
<lopex> bbrowning: have you seen that ?
<lopex> ah
<lopex> bbrowning: so specifying plaform should suffice ?
<lopex> bbrowning: it worked well in bundler 1.8.x
<bbrowning> interesting that they broke jruby detection
<bbrowning> you're sure this is being run under jruby?
<bbrowning> is there an existing Gemfile.lock that was generated under C ruby?
mister_solo has joined #jruby
<lopex> bbrowning: same happens after deleting gem lock
<bbrowning> hrm
<lopex> works well when I specify 1.8.6 version in bin/bundler
<lopex> gem file containes if defined? JRUBY_VERSION sections since there's more differences than the platform
<lopex> but it used to work
travis-ci has joined #jruby
<travis-ci> jruby/jruby (jruby-1_7:aaf1681 by kares): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/57476243)
travis-ci has left #jruby [#jruby]
triple_b has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish opened pull request #2808: [Truffle] Adding fallback Specialization for Fixnum#<. (master...truffle_fixnum_less_than) http://git.io/veVU1
JRubyGithub has left #jruby [#jruby]
temporalfox has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to new-readme: http://git.io/veVTi
<JRubyGithub> jruby/new-readme c8a94e6 Chris Seaton: What differentiates JRuby from MRI and IRC.
JRubyGithub has left #jruby [#jruby]
<enebo> IRC
kfpratt has joined #jruby
gregorsc5 has joined #jruby
temporalfox has quit [Read error: Connection reset by peer]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] kares pushed 1 new commit to master: http://git.io/veVtN
<JRubyGithub> jruby/master 487938c kares: Merge branch 'jruby-1_7'...
JRubyGithub has left #jruby [#jruby]
temporal_ has joined #jruby
dinfuehr has joined #jruby
<kares> LoL
<kares> what's the compatibility status with IRC these days ... close to 95% :) ?!
dinfuehr has quit [Remote host closed the connection]
e_dub has joined #jruby
dinfuehr has joined #jruby
PragTob has quit [Ping timeout: 264 seconds]
jph98 has joined #jruby
dinfuehr has quit [Ping timeout: 250 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton closed pull request #2808: [Truffle] Adding fallback Specialization for Fixnum#<. (master...truffle_fixnum_less_than) http://git.io/veVU1
JRubyGithub has left #jruby [#jruby]
subbu has joined #jruby
kares has quit [Ping timeout: 264 seconds]
jph98 has quit [Client Quit]
temporalfox has joined #jruby
temporal_ has quit [Read error: Connection reset by peer]
<mkristian> enebo, I try to be more on irc - now my network seems to more stable again. will look into the load jar issue you mentioned earlier
<enebo> mkristian: ok cool
<lopex> bbrowning: ok, turns out to be working, was a classic pebcak and multiple envs problem
<bbrowning> lopex: yay! I was looking through the bundler changelog and commits but nothing was standing out
<lopex> bbrowning: sorry for wasting your time then :(
<lopex> bbrowning: but the lock ultimately was the culprit turns out
<bbrowning> no need - I like to know what's changing there anyway
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/veVWN
<JRubyGithub> jruby/master 30fcc77 Brandon Fish: [Truffle] Adding date to stdlib using rubysl-date.
JRubyGithub has left #jruby [#jruby]
vtunka has quit [Quit: Leaving]
<mkristian> lopex, currently I am on timezone +5:30 and gitter nicely sends me an email notification. so you can reach me better via gitter ;)
<enebo> mkristian: but lopex is in Poland so he could practically tap you on the shoulder
<lopex> yeah
<mkristian> enebo, well the next two weeks I am in India, after this you might be right
<lopex> 1h right off greenwich
e_dub has quit [Quit: ZZZzzz…]
havenwood has joined #jruby
temporalfox has quit [Ping timeout: 245 seconds]
gregorsc5 has quit [Quit: Leaving.]
e_dub has joined #jruby
chamila has joined #jruby
skade has quit [Read error: Connection reset by peer]
skade has joined #jruby
<chamila> Hello all, I'm trying to implement the example given at http://ola-bini.blogspot.com/2006/10/jruby-tutorial-4-writing-java.html . There the basicLoad has taken IRuby object as the arguement, but in eclipse it suggests to have Ruby object as arguement, what is the correct one?
<chrisseaton> chamila: that's quite an old tutorial so I would go with what eclipse suggests
<chrisseaton> chamila: I guess at some point that method needed access to the runtime object (the Ruby object) and it was added
<chamila> Is there any new tutorial on implementing a java extension for JRuby?
<enebo> nirvdrum: do you see error free test:mri runs locally?
<nirvdrum> Let me try.
<nirvdrum> Dirty workspace.
<chrisseaton> chamila: quite a bit of the Ruby stdlib is written as Java extensions - try following them https://github.com/jruby/jruby/tree/master/core/src/main/java/org/jruby/ext
<enebo> jruby -e 'c = Complex(1,1); p c.respond_to?(:div)'
<chamila> chrisseaton : Thanks, I'll have a look
<mkristian> how can I implement a counter on ruby object allocation - without big performance impact - to monitor the allocation rate ? any ideas ?
temporalfox has joined #jruby
<mkristian> Ruby.ObjectSpacer interface seems to be the right thing but it is private. so I can not use it
<enebo> mkristian: how do you want to count things? do you want to maintain per type counts or just overall?
<enebo> mkristian: ObjectSpacer seems like a reasonable place but overhead is dependent on what you are doing
<mkristian> enebo, overall and some important like RubyString, RubyArray, etc
<enebo> mkristian: well I guess you can make your own objectspacer and time the overhead
PragTob has joined #jruby
<enebo> mkristian: you might also want Atomic counters as well
dinfuehr has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:487938c by kares): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/57487932)
travis-ci has left #jruby [#jruby]
<mkristian> enebo, yes, I would follow the pattern from the jmx classes. but the important question is whether I can make the ObjectSpacer public, so it can be used or 'misused' ?
<enebo> mkristian: well I guess I don’t have an opinion on that. We mark lots of internal stuff public but don’t consider it public
<enebo> mkristian: OTOH people will use stuff that is public :)
<enebo> mkristian: fwiw ObjectSpacer does not seem likely to change as an interface
<mkristian> enebo, well you still need some java reflection to plug it in
<enebo> mkristian: yep
<nirvdrum> enebo: Nope. A bunch of failures. And it seems to be stuck creating a BigInteger.
<mkristian> I can live with protected as well (I guess), private just does not work.
<enebo> mkristian: I am going back a ways and it is still failing
<enebo> mkristian: sorry wrong person
<enebo> nirvdrum: I am trying to fgure out when it broke
<mkristian> np
dinfuehr has quit [Ping timeout: 246 seconds]
<nirvdrum> enebo: It's been stuck in org.jruby.ext.bigdecimal.RubyBigDecimal.multInternal(RubyBigDecimal.java:684) for a while for me.
camlow325 has joined #jruby
<enebo> nirvdrum: I am back to yesterday morning and it is still failing…this is really confusing
<enebo> nirvdrum: I really don’t see how we could have had green runs unless some SNAPSHOT snuck in
<enebo> nirvdrum: but that seems highly unlikely due to these errrors
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 3 new commits to master: http://git.io/veVM4
<JRubyGithub> jruby/master 5e01376 Kevin Menard: [Truffle] More work on properly initializing EConv.
<JRubyGithub> jruby/master 8b29992 Kevin Menard: [Truffle] Untagged a bunch of passing Encoding and Encoding::Converter specs.
<JRubyGithub> jruby/master 9bba871 Kevin Menard: [Truffle] Annotated failing String#encode specs.
JRubyGithub has left #jruby [#jruby]
<nirvdrum> I can't see which tests are failing because the whole thing is blocked.
camlow325 has quit [Remote host closed the connection]
<nirvdrum> Unless you know how to change the formatter so I can see the test name as it runs.
camlow325 has joined #jruby
<enebo> jruby -e 'c = Complex(1,1); p c.respond_to?(:div)'
<enebo> nirvdrum: ^ I am just running this
<enebo> unless this has never worked and somehow we are running tests we never passed
camlow325 has quit [Read error: Connection reset by peer]
<nirvdrum> It wouldn't be the first time something like that has happened, unfortunately.
<enebo> nirvdrum: yeah so this is super odd because I am back into the thick of my lexer changes and this is still failing so I need to reconsider this being a valid test
<nirvdrum> Did my RubyNumeric changes on Friday cause it?
<enebo> nirvdrum: but how could we have green builds if so?
<nirvdrum> We had 250 some odd m17n test passing because of a bug in String#b.
<nirvdrum> Ruby is a fickle beast.
ypasmk has quit [Remote host closed the connection]
<enebo> nirvdrum: yeah so we somehow require something which causes respond_to? and other stuff to work
<enebo> nirvdrum: trying test:mri now to see instead of that single test
<enebo> nirvdrum: not that I would ever bisect all of test:mri :)
camlow325 has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
<nirvdrum> enebo: TestBigDecimal#test_exception_overflow is the one that's not making any progress.
<nirvdrum> But BigDecimal seems messed up across the board.
<enebo> nirvdrum: yeah bisecting
<enebo> test:mri fails quickly
<nirvdrum> Not for me. It's just stuck on that test.
drbobbeaty has joined #jruby
<enebo> it just takes 2 minutes to recompile each step
<enebo> nirvdrum: weird :)
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:daa3539 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/57489013)
travis-ci has left #jruby [#jruby]
<enebo> I could probably clean and just pl core but I am paranoid
<nirvdrum> This is a rough approximation of that test: bin/jruby -e 'require "bigdecimal/math"; x = BigDecimal.new("10"); 100.times { |i| p i; x *= x }'
rcvalle has joined #jruby
<nirvdrum> It appears to get exponentially slower.
<enebo> heh
<enebo> nice
<enebo> Almost completed the bisect
<nirvdrum> enebo: Although, that test should be excluded ...
<enebo> nirvdrum: not all errors are with bigdecimal I don’t think
<nirvdrum> exclude :test_exception_overflow, "runs forever"
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<enebo> nirvdrum: well possibly…if it is a coercion error perhaps it runs very quickly once some part of it succeeds
<nirvdrum> So, maybe the exclusions aren't activating?
<enebo> nirvdrum: oh you are saying there is an exclusion forit
<nirvdrum> Yes.
<nirvdrum> But it's still running.
<enebo> nirvdrum: ah yeah then I agree…something is ignoring them
<enebo> hopefully someone did not change test_env.rb and commit it
<enebo> or something involving us changing ENV
<enebo> ENV['EXCLUDES']='test/mri/excludes'
<nirvdrum> Okay. So I need to manually set that?
<enebo> So it could be ENV change or path processing
<nirvdrum> I would have expected the maven task to do it.
<mkristian> headius, hi, around ?
<enebo> nirvdrum: no it should do it automagically
<enebo> nirvdrum: -r ./test/mri_test_env.rb
<enebo> nirvdrum: that happens in test:mri so a change to this file or support for ENV or files/dirs could break things
<nirvdrum> Yeah, I have that.
<enebo> nirvdrum: I also notice kares changed some JI support stuff but ENV is not a JI thing
<nirvdrum> I have that option and that file has the entry you've shown, but it's still not excluded.
<enebo> nirvdrum: heh…1 step left and I am on that eof check
<enebo> nirvdrum: I would be a bit confused how that could be it. I did a test:mri and spec:ruby:fast before committing it
e_dub has quit [Quit: ZZZzzz…]
<nirvdrum> Travis doesn't seem to be running it. So I guess my computer just hates me.
<enebo> nirvdrum: yeah the travis part confuses me as well
<enebo> hmmm I could see a string parsing bug breaking stuff but not all stuff
zorak8 has joined #jruby
<enebo> especially if it was an eof interaction
<enebo> c5b3e0251de24445be4f73b101fadc036f98ffc2
<enebo> I will try reverting this and see
<enebo> nirvdrum: yeah that appears to be it
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/vewfD
<JRubyGithub> jruby/master 6cff710 Thomas E. Enebo: Revert "Shared path is gone and site dir is not there by default."...
JRubyGithub has left #jruby [#jruby]
<enebo> nirvdrum: really strange how it could be the issue though
<nirvdrum> In my case, the test/unit that processes excludes isn't being loaded. It looks like a default gem test-unit is being used instead.
Hobogrammer has joined #jruby
<nirvdrum> When I reverted that commit, the version in test/mri/lib/minitest/unit.rb loads.
<nirvdrum> And excludes are processed again.
<nirvdrum> So, maybe he fixed one thing but didn't carry it all the way through.
<nirvdrum> headius: ^
<enebo> nirvdrum: ok well he can revisit it when he is on. no doubt just one other missing fix
_djbkd has joined #jruby
triple_b has joined #jruby
dinfuehr has joined #jruby
PragTob has quit [Remote host closed the connection]
kares has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:30fcc77 by Brandon Fish): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/57491967)
travis-ci has left #jruby [#jruby]
mister_solo has quit [Ping timeout: 256 seconds]
dinfuehr has quit [Ping timeout: 255 seconds]
_djbkd has quit [Remote host closed the connection]
<headius> yo
<headius> mkristian: I'm here now
subbu is now known as subbu|afk
<mkristian> headius, so I played with this unsafe and compilers. there is an eclipse compiler which can be easily plugged into the maven build
<mkristian> but this one behaves like the ibm jdk
_djbkd has joined #jruby
<mkristian> and ignores those bootclasspath settings
<enebo> headius: leaving for lunch but I had to revert a commit of yours…test:mri was not honoring excludes with it
<headius> mkristian: that's a bummer
<headius> enebo: I'll have a look
<enebo> headius: yeah it was not obvious how that commit would do it
<headius> whaaat?
<headius> that's for sure
e_dub has joined #jruby
bbrowning is now known as bbrowning_away
<mkristian> headius, the only thing I can think of is to put the class into it own jar and use it
<nirvdrum> More specifically, our local version of test/unit with the the excludes logic was being bypassed and the test-unit gem was used instead, AFAICT.
<nirvdrum> I could see that being the result of a LoadService change.
baroquebobcat has joined #jruby
<mkristian> then it is an external dependency as many others
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:30fcc77 by Brandon Fish): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/57491967)
travis-ci has left #jruby [#jruby]
<headius> mkristian: or push more unsafe usage down into a library we build on our terms
<headius> nirvdrum: that's really weird
subbu|afk is now known as subbu
kfpratt has quit [Remote host closed the connection]
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
camlow325 has quit [Remote host closed the connection]
skade has quit [Client Quit]
bbrowning_away is now known as bbrowning
kfpratt has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:9bba871 by Kevin Menard): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/57498319)
travis-ci has left #jruby [#jruby]
_djbkd has quit [Remote host closed the connection]
<chamila> Hello all, I'm getting following error "jruby-1.7.19 :001 > require 'rake/javaextensiontask' LoadError: no such file to load -- rake/javaextensiontask", any idea on what is the issue here?
e_dub has quit [Quit: It's a hard knock life]
e_dub has joined #jruby
dinfuehr has joined #jruby
_djbkd has joined #jruby
<kares> chamila: rake-compiler gem not being installed :) ?!
dinfuehr has quit [Ping timeout: 264 seconds]
<headius> chamila: that's in the rake-compiler gem
camlow325 has joined #jruby
<chamila> ops, I thought I installed it kares , headius : Thanks
<headius> nirvdrum: you say it wasn't honoring excludes? I'm having trouble reproducing that
_djbkd has quit [Remote host closed the connection]
<headius> I'm trying a clean build now with that commit reinstated
e_dub has quit [Quit: ZZZzzz…]
_djbkd has joined #jruby
<nirvdrum> headius: Yeah. But enebo evidently wasn't seeing that. Dunno if it's a non-deterministic thing, OS-dependent, JVM-dependent, or whatever.
<headius> weird
<headius> were you able to reproduce locally?
<headius> nirvdrum: I don't see the travis jobs failing like that either
<nirvdrum> Yeah. I've only seen it locally. But the behavior definitely changed after reverting that commit.
<headius> hmm
<headius> are you running your working copy through rvm or anything?
<headius> something must be different with your environment that's affected by this change
<headius> nirvdrum: can you run this for me with the commit in place, please? EXCLUDES=test/mri/excludes/ jruby test/mri/runner.rb test/mri/ruby/test_string.rb
<nirvdrum> bin/jruby. I use rbenv, but I don't think that's interfering at all.
<headius> I just want to see it fail with the commit in place
<headius> if it fails as expected add -Xdebug.loadService=true
<headius> so we can see why
<nirvdrum> I did print-based debugging to narrow this down.
<nirvdrum> Rebuilding now.
<headius> the failure I see on travis seems to be an actual failure, so I'm looking at that for the moment
<nirvdrum> The excluded tests ran.
DrShoggoth has quit [Quit: Leaving]
chamila has quit [Quit: Page closed]
<nirvdrum> headius: I printed out $: at the start of test_string.rb
<nirvdrum> With commit: ["/opt/jruby/lib/ruby/gems/shared/gems/minitest-4.7.5/lib", "/opt/jruby/test/mri/lib", "/opt/jruby/lib/ruby/stdlib", "/opt/jruby/test/mri", "/opt/jruby/test/mri/ruby"]
<nirvdrum> Without: ["/opt/jruby/test/mri/lib", "/opt/jruby/lib/ruby/gems/shared/gems/minitest-4.7.5/lib", "/opt/jruby/lib/ruby/2.2/site_ruby", "/opt/jruby/lib/ruby/shared", "/opt/jruby/lib/ruby/stdlib", "/opt/jruby/test/mri", "/opt/jruby/test/mri/ruby"]
pietr0 has joined #jruby
<headius> can you show me any relevant env vars?
<headius> GEM_HOME etc
<headius> hmm
<headius> nirvdrum: is there anything in those site_ruby and shared paths for you?
<headius> looking at that list of paths that's the only two that differ
<headius> oh nerts
skade has joined #jruby
<headius> I might know
<nirvdrum> GEM_PATH and GEM_HOME are both blank.
<headius> I remember seeing something about rubygems looking for site_ruby in load path so it knows where to insert load paths
<nirvdrum> I'm just curious as to why I'm always the lucky one.
<headius> son of a biscuit
pitr-ch has quit [Quit: Leaving]
<headius> index = $LOAD_PATH.index RbConfig::CONFIG['sitelibdir']
<headius> so
<headius> the mri lib gets prepended to load path by -I
<headius> without site_ruby in load path, RG doesn't know where to insert its path for minitest, so it inserts at the beginning
<nirvdrum> But why wouldn't this affect you, enebo, or Travis?
<nirvdrum> RVM?
<headius> I don't use rvm either
<headius> rough guess would be that enebo and I have different enough gems installed that it's still using the test/lib test/unit
<headius> in any case I'm sure this is the problem
<headius> enebo: PINGGGGGGGGGG
temporalfox has quit [Ping timeout: 245 seconds]
rcvalle has quit [Quit: rcvalle]
<enebo> heh
<enebo> just got back
<enebo> actually I just read back
<enebo> nirvdrum: I was unable to run things locally until I reverted that commit
<headius> enebo: I'm just going to add it back for pre2, but contemplating other options
<enebo> headius: what does that index?
zorak8 has quit [Read error: Connection reset by peer]
<enebo> oh I see
<enebo> gah. That feels hacky but I am not sure how you deal with path-based scenarios
zorak8 has joined #jruby
rcvalle has joined #jruby
_djbkd has quit [Remote host closed the connection]
<enebo> headius: solving kwargs tests today
<headius> enebo: it is basically looking for where the base load path starts so gems can be added under -I paths
<headius> -I paths are supposed to take precedence over gem paths
<headius> that's what failed here
<headius> I'm restoring my commit but making it add site dir unconditionally
<enebo> headius: oh I see.
<headius> an alternative for RG would be to have Ruby expose something like "base_load_path" or a programmatic mechanism for updating load path, neither of which is going to happen soon :-\
<headius> I don't think there's any way to figure out the base non-dash-i path in MRI
<nirvdrum> Well, at least we got to the bottom of it before pre2.
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/verTT
<JRubyGithub> jruby/master a8e705c Thomas E. Enebo: Fixes #2511 - Keyword method parameters cannot take a frozen hash. Fixes #2015 - Method keyword arguments are destructive
JRubyGithub has left #jruby [#jruby]
<headius> nirvdrum: yeah, wouldn't have gotten far like this!
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 2 new commits to master: http://git.io/verTz
<JRubyGithub> jruby/master efb4a53 Charles Oliver Nutter: Revert "Revert "Shared path is gone and site dir is not there by default.""...
<JRubyGithub> jruby/master 9800b44 Charles Oliver Nutter: Make site_lib add unconditional, since RG needs it to insert paths.
JRubyGithub has left #jruby [#jruby]
<headius> this may fix the real failure that was happening on travis too
<headius> nirvdrum: confirm that's working ok
<headius> hmm, didn't fix the encoding issue, so I'm back on that
<nirvdrum> The load path looks correct. Thanks.
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian opened issue #2810: looks like org.jruby:jruby artifacts contains jruby-core http://git.io/verLq
JRubyGithub has left #jruby [#jruby]
kares has quit [Ping timeout: 240 seconds]
_djbkd has joined #jruby
kfpratt has quit [Remote host closed the connection]
dinfuehr has joined #jruby
e_dub has joined #jruby
<headius> enebo: current test:mri failure seems to have started at https://github.com/jruby/jruby/commit/a023fd3e377d6c88356873cd7ceab5efe04b44df
dinfuehr has quit [Ping timeout: 246 seconds]
<headius> I'm checking before that to see, but it may be parser issue that caused this to start failing
<nirvdrum> I have 3 MRI test failures now.
<enebo> headius: it is possible. That revert I made for this will switch back from bytelistLexer to getsLexer
<nirvdrum> TestEncoding#test_find, TestM17NComb#test_str_crypt, and TestThread#test_thread_timer_and_ensure.
<headius> nirvdrum: show me the latter two...the former is the one that I'm talkign about
<enebo> headius: perhaps you can tell me whether there is more than .rb, .jar, or .class in that code to be loaded?
<enebo> headius: I pointed out to mkristian that we are double resource loading .jar resources
<headius> enebo: very little...it does launch a subprocess to check default encodings
<headius> it is stdin code
<headius> so maybe stdin processing is not right?
<headius> nirvdrum: gah
<enebo> headius: possibly it is being closed too soon by something else
<enebo> headius: whereas LoadServiceRIS is readnig stdin fully before trying to parse
<enebo> Most likely though I have a bug in getslexersource
<enebo> shit…mkristian don’t try fixing this code I will fix it
<headius> ahhh that would explain a lot if so
<enebo> headius: I am going to split this class in question into 3 classes
<headius> nirvdrum: crypt issue ought to be pretty easy to diagnose at least
<enebo> I see no reason this is the same type. each one behaves differently
<enebo> hene parseClass, parseJar, parseScript
<mkristian> enebo, shall I still look into the double jar loading ? did not get your last comment
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:6cff710 by Thomas E. Enebo): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/57504111)
travis-ci has left #jruby [#jruby]
<enebo> mkristian: naw. I will just make this one class three classes and have the .jar type not do this load at all
<enebo> mkristian: I am just hoping the finally { close} is not some magic bullet which closes the resource
<enebo> mkristian: Actually for pre2 I will make a type for jar loading but leave the double load in it because it scares me
finch is now known as overly_literal_f
<enebo> mkristian: so once I have that class you can reexamine it for rc1
<mkristian> you do not need to open the stream to the jar since in the end you just pass on the url
overly_literal_f is now known as finch
<enebo> mkristian: yeah and when you pass on the url it opens the resource later
<enebo> mkristian: so I think this first one is opened for no reason at all
<mkristian> probably ;) and windows might not like it
<enebo> mkristian: so I don’t think it’s close affects the second load which happening later
<enebo> mkristian: well it is a .jar and a url so perhaps it does not for file:
<enebo> mkristian: but that is a good point…and I am fairly sure we are loadnig extensions via this and we load on windows
<enebo> mkristian: so I guess I have no idea … but the code looks weird and it appears to be a double load
<enebo> err double open
<enebo> first open never reads
mcclurmc_ has joined #jruby
<mkristian> first open never reads for jars. I thought to check for jar ending at the very beginning of the method
<enebo> mkristian: yeah I think I will check for that before this instance is made
<enebo> mkristian: then make three types
<mkristian> ok
<enebo> there is not a ton of sharing in this file nayways
quadz has quit [Ping timeout: 250 seconds]
<enebo> It also makes me wonder why this is not a method on FileResource and descendents
<enebo> but perhaps it is just a logical separation thing
errstr has quit [Ping timeout: 250 seconds]
mcclurmc has quit [Ping timeout: 250 seconds]
pietr0 has quit [Ping timeout: 250 seconds]
pietr0 has joined #jruby
errstr has joined #jruby
cremes has quit [Quit: cremes]
<headius> nirvdrum: the NPE would seem to indicate that the crypt call failed
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:a8e705c by Thomas E. Enebo): The build has errored. (http://travis-ci.org/jruby/jruby/builds/57521456)
travis-ci has left #jruby [#jruby]
<headius> assuming the lines match, it's the pointer returned by the native crypt call that's coming back null
<mkristian> enebo, FileResource and URLResource are more about where to look for the resource and how to open a stream to it
cremes has joined #jruby
<nirvdrum> Weird.
<enebo> mkristian: yeah I guess that makes sense
<headius> nirvdrum: I can modify crypt in jnr-posix to return null, and then we would check errno
<headius> at least we'll see what it says is wrong
<headius> nirvdrum: what linux are you on?
<nirvdrum> Mint 17.1 (an Ubuntu 14.04 derivative), running a 3.16 kernel.
quadz has joined #jruby
<headius> nirvdrum: updated jnr-posix snap deployed
Aethenelle has joined #jruby
<headius> bringing up my ubuntu env
rcvalle has quit [Quit: rcvalle]
<nirvdrum> I'm re-running here to see if it was a fluke.
<headius> we definitely were missing the null check, so that's a good find
<headius> I'm guessing something that darwin's crypt silently allowed, linux's refused
headius has quit [Quit: ZNC - http://znc.in]
<nirvdrum> Failed again. So it's at least reproducible.
subbu is now known as subbu|lunch
mkristian has quit [Quit: Ex-Chat]
mister_solo has joined #jruby
yfeldblum has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:a8e705c by Thomas E. Enebo): The build has errored. (http://travis-ci.org/jruby/jruby/builds/57521456)
travis-ci has left #jruby [#jruby]
<enebo> travis looks prettier now but why no tooltips? like what is a ‘!’ vs ‘x’? I am guessing ! means the built completely aborted vs giving fail results
dinfuehr has joined #jruby
<enebo> and have anyone figured out what the circle with the two lines connecting means?
<projectodd-ci> Project jruby-master-spec-compiler build #992: FAILURE in 18 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/992/
<enebo> I feel like they should add a fucking unicode Horus bird head in there somwhere
<enebo> (…I do appreciate travis… I really do :) )
<enebo> test:mri is running fully for me locally…just doing a -Ptest to make sure that is also green
conradwt has joined #jruby
<enebo> Is this thing on?
<nirvdrum> IRC: /ignore enebo forever
<enebo> nirvdrum: forever is a long time my friend
<nirvdrum> Bah. I guess it didn't work :-P
mister_solo has quit [Remote host closed the connection]
<nirvdrum> I've just force-updated my snapshots. Running again.
mister_solo has joined #jruby
dinfuehr has quit [Ping timeout: 272 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/verMt
<JRubyGithub> jruby/master 066aa2f Thomas E. Enebo: Switch .rb resource loads back to loadresourceIS. Split jar/class/normal loads into their own classes. Do not double load .jar resources
JRubyGithub has left #jruby [#jruby]
<enebo> nirvdrum: ^ Should be fixed for the non-crypt stuffs
conradwt has left #jruby ["Linkinus - http://linkinus.com"]
<enebo> oh mkristian is gone…if you read logs I did kill off the double resource open for jars
kfpratt has joined #jruby
_djbkd has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
havenwood has joined #jruby
_djbkd has joined #jruby
headius has joined #jruby
<headius> bleh
<headius> wiped out my IRC bounce while fiddling with EC2
<nirvdrum> headius: Now I'm at "Errno::EINVAL: Invalid argument - Invalid argument"
<headius> hmmm
<headius> can you narrow down the inputs?
<nirvdrum> It should just be whatever that test is doing.
<nirvdrum> I'll take a look in a few.
<headius> nirvdrum: passes for me on ubuntu 12.04
<headius> not that I'm helping any
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:9800b44 by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/57521639)
travis-ci has left #jruby [#jruby]
mister_solo has quit [Ping timeout: 272 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:9800b44 by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/57521639)
travis-ci has left #jruby [#jruby]
<headius> enebo: something change in IR?
<headius> compiler specs failed but looks like an API issue
<enebo> haha
<enebo> yes. this is my fauly
<enebo> I added maybeRefinedParam
<enebo> headius: fix in a sec
<headius> ok
<enebo> headius: Expected pending 'JIT support' to fail. No Error was raised.
<enebo> # ./spec/compiler/general_spec.rb:703
<headius> that only happens if you're running more recent rspec
<headius> I need to decide if we'll ever pass those
<enebo> headius: ah ok.
<headius> rspec < 3 allows pending to pass
<headius> they pass because all specs are run in both interp and jit
<headius> interp passes
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/verAF
<JRubyGithub> jruby/master a2ae622 Thomas E. Enebo: Forgot to update test to reflect new field
JRubyGithub has left #jruby [#jruby]
<enebo> ok cancelled one of my jobs just to catch up on build
subbu|lunch is now known as subbu
e_dub has quit [Quit: It's a hard knock life]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/veovz
<JRubyGithub> jruby/master 0bab673 Thomas E. Enebo: Make JIT not crash on simple method.parameters involving kwargs and return proper values
JRubyGithub has left #jruby [#jruby]
rcvalle has joined #jruby
e_dub has joined #jruby
subbu has quit [Ping timeout: 255 seconds]
<projectodd-ci> Yippie, build fixed!
<projectodd-ci> Project jruby-master-spec-compiler build #993: FIXED in 18 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/993/
dinfuehr has joined #jruby
<nirvdrum> headius: The failing case seems to be: bin/jruby -e 'p "".crypt("\xA1\xA1".force_encoding(Encoding::EUC_JP))'
<nirvdrum> Incidentally, it fails on MRI too. But MRI never tries to crypt that in the test.
<nirvdrum> If you look at that test_str_crypt, you'll see it doing a check and sets "strict_crypt" if glibc >= 2.16 is used. JRuby doesn't seem to trigger that.
<headius> huh
<headius> ah-ha
<headius> yes
<headius> yeah I'm sure we don't have that Etc const set, or set to anything useful at least
<nirvdrum> I just added a print statement: NameError: uninitialized constant Etc::CS_GNU_LIBC_VERSION
<headius> yeah
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<headius> so we need a better guard there, or we need to just skip potentially-rejected salt altogether
<nirvdrum> I take it your Ubuntu 12.04 is just running an older glibc then?
dinfuehr has quit [Ping timeout: 256 seconds]
<headius> that's probably the cast
<headius> case
<nirvdrum> Yeah. Looks like it was 2.15.
<headius> yeah, there ya go
<headius> this test should probably just avoid bogus salt altogether
<nirvdrum> Or test that it raises the appropriate exception.
<headius> that could work too
<headius> enebo has complained about crypt tests in the past though...they're filled with weird little platform idiosyncracies
<nirvdrum> I guess the invariants should be better defined. It appears there's a class of known good inputs and then some that are undefined.
subbu has joined #jruby
<enebo> indeed
<enebo> nirvdrum: but what are these tests actually testing? seems like OS-behavior of crypt and nothing about ruby
<nirvdrum> Yeah.
<enebo> nirvdrum: the fact that there is that section where the same salt gives different results per OS seems pretty bogus to me
<nirvdrum> I suppose some of them are legit. But once they discovered a difference, they should have just written all those values off as undefined IMHO.
<headius> yes
<headius> I'm going to commit a hack to our tests and file an issue
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/veomq
<JRubyGithub> jruby/master 8c09f1c Charles Oliver Nutter: Default to strict crypt, since we can't determine glibc version.
JRubyGithub has left #jruby [#jruby]
skade has quit [Quit: Computer has gone to sleep.]
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #jruby
skade has joined #jruby
<dfr|work> Hey folks, I'm fighting for optimizing ~30ms of serialization logic and see semi-random ~5ms timing jumps. Any idea if that looks like maybe GC?
<nirvdrum> dfr|work: Could be. Can you profile?
<dfr|work> nirvdrum, trying to. :) I've enabled -XX:+PrintGCTimeStamps flag. I'm assuming it'll tell me whether GC is to blame.
<dfr|work> nirvdrum, I've tried to add profiling (both setting setProfileMode in RubyInstanceConfig and just by doing JRuby::Profiler but so far fail :(]
<dfr|work> nirvdrum, JRuby relies on Java's GC for collection, right?
<dfr|work> nirvdrum, okay, doesn't look like it's Java GC related :(
bbrowning is now known as bbrowning_away
dinfuehr has joined #jruby
mister_solo has joined #jruby
<nirvdrum> headius: enebo: MRI tests are all passing here now.
<nirvdrum> dfr|work: I meant using jvisualvm or YourKit or what have you.
<nirvdrum> A JVM profiler will show you GC pauses and whatever is spiking CPU.
<dfr|work> nirvdrum, I think I';ll try with JRuby profiler first, since I'm sure the issue is within ruby code
<dfr|work> nirvdrum, also, I've turned on printing GC and it doesn't print anything during the latency bumps, so I'm ruling GC out for now :)
x1337807x has joined #jruby
lanceball is now known as lance|afk
x1337807x has quit [Client Quit]
x1337807x has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
<enebo> nirvdrum: yay
<headius> enebo: seems a failure on travis
<headius> after your last push
<enebo> BOOOOOO
<headius> did you intend for refined call sites to always go through TC to get StaticScope?
<headius> I was hoping to pass it into the site, so we don't have to push a scope
<headius> but that needs pushing through all CallSite constructors again
<headius> er CallInstr
<enebo> well I never actually made a callsite but yeah now that you mention it we probably should pass staticscope into it as well :|
<headius> as it is now refined calls will have to actually deopt scope
<headius> so they can get it from TC
<headius> is there any risk in having the instr reference the scope?
<enebo> headius: this is just an oversight because I was doing this as an instr and I only impld in interp which had static scope available
<headius> ok
<headius> I can get this working with interp for the moment
<headius> I have a hacky RefinedCachingCallSite that doesn't actually cache if it's refined
<enebo> static scope reference should still get live cref so I think it can be passed
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<enebo> in IR persistence we can repopulate
<enebo> I hate this many params getting pushed down but we really do not want to keep an IRScope reference
<enebo> headius: you know we can deopt it for now
<enebo> headius: none of this is public and no one uses refinements
<enebo> headius: just thinking worrying about making this fast when we may run into other issues making refinements correct?
<headius> StaticScope has an IRScope reference
<headius> I'm just thinking through my ideal impl
<enebo> yeah I don’t remember why
<headius> for all I care about refinements they can just be a full deopt
<headius> I can also implement indy smarts without IR param addition
<enebo> gah…hmmm not sure we want to keep that reference in there but funny I used it in ‘using’ impl :)
<enebo> headius: I think once we find a refined site and it figures out what to call it will not ever change again
<enebo> headius: or hmmm maybe it will while it is executing scope
<headius> it will always need to recheck
<enebo> because refined def can override def’d def :)
<enebo> so we use getNumberofVariables in staticscope and ask irscope which I think is only for the now broken flip impl
<enebo> but eval seems to walk static scopes to get eval scope to find it secret shared var stash
<enebo> I find this mutual dependence with overlapping info something we should fix at some point
temporalfox has joined #jruby
mister_solo has quit [Ping timeout: 245 seconds]
<enebo> oh so that came from my kwargs fix only in JIT
a5i has quit [Quit: Connection closed for inactivity]
dinfuehr has quit [Remote host closed the connection]
<headius> enebo: there's all sorts of weird issues with these refinement modules getting out into other code
<headius> it's basically a RubyModule with metaClass = refined class
<headius> very unusual
<headius> problem I have now is that for an error it tries to to_s it, but because it has String as metaclass it tries to call String version of to_s passing in a RubyModule
<headius> and the error was from it trying to call "method_defined" on the refinement :-)
<headius> BUT
<headius> $ jruby -X-C -e "module Blah; refine String do; def split(*); ['foo', 'bar']; end; end; end; class Foo; using Blah; p 'hello'.split('l'); end"
<headius> ["foo", "bar"]
<headius> it seems to be working
<headius> enebo: did you run any tests of refinements?
<enebo> headius: I had about 60% passing with individual instrs
<headius> ok
<enebo> headius: but I had no instr for attrassign nor for super
<enebo> so I think it would have been a little higher
<enebo> OTOH I also had some weird results
<headius> so you did one-off instructions
<enebo> I did and then realized we would double the amount of calls
<enebo> instrs
<enebo> and callsite seemed like a much better soln to me
<headius> heh, well right off the bat I get: NoMethodError: undefined method `using' for main:Object
<enebo> headius: yeah that is known
<enebo> toplevel needs to define it
<headius> just needs to be added
<headius> ok
<enebo> I did not bother since I was still debugging basic calls
<headius> I am confused about your use of cref too
<headius> I don't see how it separates by lexical scope
<enebo> You will notice some differences in naming in the impl
<headius> you have a comment to that effect
<enebo> headius: that comment is dumb
<headius> but I really don't understand how it would work
<enebo> headius: lexical module must be defined with using in it. It can only exist as one cref
<enebo> well not really true but not without shenanigans
<enebo> well not as actual cref
<enebo> headius: did that make sense?
<headius> I have a repro for you then
<enebo> ok
<headius> because we don't have per-lexical-scope cref
<headius> we only have the class-module itself
<headius> class/module
<enebo> yeah
<headius> cref for them is more equivalent to StaticScope for us
<enebo> but that class/module only exists in one place lexically
<headius> no it doesn't
<headius> it's the same in every opening of that class/module
x1337807_ has joined #jruby
<headius> it might be different for them, but it's not for us
<enebo> yeah so if we require and we module Foo; using; end and the reference Foo anywhere else it could pull in a refinement if it happens to be at another place where refinements exist
<headius> both of those call the refined split
<headius> heh, I suppose I should check that MRI doesn't do it
<headius> yeah it doesn't
x1337807x has quit [Ping timeout: 264 seconds]
<headius> it calls original String#split for second one
<enebo> ok so my comment was correct
<enebo> but I am confused how their internal model differs
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:0bab673 by Thomas E. Enebo): The build failed. (http://travis-ci.org/jruby/jruby/builds/57539876)
travis-ci has left #jruby [#jruby]
tcrawley is now known as tcrawley-away
<enebo> there cref is a pointer but isn’t it just a pointer to the same module/class instance
<enebo> their
<enebo> bah
<enebo> headius: this is one thing I never figured out properly
<enebo> headius: when they compile they also use this info to generate the sites
<headius> wtf melange...every time I reload the page the order of proposals changes
<headius> how can this tool be so bad after so many years
<enebo> HASH
<enebo> smoke HASH
<headius> enebo: I think cref is something different than just the module/class for them
<enebo> headius: I think we can solve this with a wrapper class
<headius> if we have a module/class wrapper that can hold refinements but pass everything else through, yeah maybe
<enebo> we replace the cref on encountering using with a wrapped version
<enebo> which means mutating cref at hitting a using
<enebo> which seems really dicey
<headius> hmm
<headius> very
<enebo> but from IR standpoint we know statically all those sites might be refined
<enebo> So we are somewhat safe in that dicey behavior because they can check if cref changed
<enebo> in most cases they will not change or will have changed by the time the site calls anything
<enebo> but I guess the point there is this will not affect non-potentially-refined sites in any way
Aethenelle has joined #jruby
mje113__ has quit [Quit: Connection closed for inactivity]
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #jruby
marr has quit []
temporalfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<headius> enebo: yeah, it doesn't affect those, but it leaks used refinements across using scopes
<headius> the wrapper would make it possible to isolate used refinements
<enebo> headius: yeah I just mean with a wrapper
<headius> or moving the used refinements into StaticScope itself
<headius> which makes more sense in my head
<enebo> yeah I thought about that actually now that you mention it
<headius> that's how I started prototyping it a couple years back
<enebo> but then I convinced myself cref was ok
<enebo> but then you saw my comment
<enebo> So :)
<enebo> but in my mind I also thought I could just replace cref of static scope with the right one too but I guess that would require some pre/post stuff to not replace it
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/veopn
<JRubyGithub> jruby/master 4c86703 Thomas E. Enebo: Revert "Fixes #2511 - Keyword method parameters cannot take a frozen hash. Fixes #2015 - Method keyword arguments are destructive"...
JRubyGithub has left #jruby [#jruby]
<enebo> reverting my kwargs fix until I can simplify the failing case…this error fails in code generated using evals + bindings
<enebo> very interesting this only fails for JIT too
enebo has quit [Quit: enebo]
<headius> hmmm yeah
<headius> bbl
_djbkd has quit [Remote host closed the connection]
dinfuehr has joined #jruby
_djbkd has joined #jruby
dinfuehr has quit [Ping timeout: 244 seconds]
e_dub has quit [Ping timeout: 255 seconds]
Aethenelle has quit [Quit: Aethenelle]
havenwood has quit [Remote host closed the connection]
<projectodd-ci> Project jruby-master-spec-compiler build #995: FAILURE in 20 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/995/
havenwood has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:4c86703 by Thomas E. Enebo): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/57560653)
travis-ci has left #jruby [#jruby]
baroquebobcat has quit [Quit: baroquebobcat]
enebo has joined #jruby
kfpratt has quit [Remote host closed the connection]
enebo has quit [Client Quit]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:8c09f1c by Charles Oliver Nutter): The build failed. (http://travis-ci.org/jruby/jruby/builds/57542963)
travis-ci has left #jruby [#jruby]
skade has quit [Quit: Computer has gone to sleep.]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:4c86703 by Thomas E. Enebo): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/57560653)
travis-ci has left #jruby [#jruby]
subbu has quit [Ping timeout: 256 seconds]
dinfuehr has joined #jruby
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]