pgokeeffe has joined #jruby
marr has quit []
colinsurprenant has joined #jruby
djellemah_ has joined #jruby
djellemah has quit [Ping timeout: 256 seconds]
portertech has quit [Ping timeout: 256 seconds]
mjc_ has quit [Ping timeout: 256 seconds]
gazarsgo has quit [Ping timeout: 256 seconds]
lopex has quit [Ping timeout: 256 seconds]
DomKM has quit [Ping timeout: 256 seconds]
lopex has joined #jruby
DomKM has joined #jruby
mjc_ has joined #jruby
gazarsgo has joined #jruby
portertech has joined #jruby
zorak8 has joined #jruby
x1337807x has joined #jruby
bjfish2 has quit [Quit: bjfish2]
zorak8 has quit [Read error: Connection reset by peer]
mitchellhenke has joined #jruby
zorak8 has joined #jruby
zorak8 has quit [Read error: Connection reset by peer]
zorak8 has joined #jruby
bjfish2 has joined #jruby
kfpratt has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish opened issue #2878: [Truffle] Issue with default block arguments http://git.io/vfSU2
JRubyGithub has left #jruby [#jruby]
nirvdrum has quit [Ping timeout: 272 seconds]
gazarsgo has quit [Ping timeout: 256 seconds]
zorak8 has quit [Quit: Leaving]
gazarsgo has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
mrmargolis has quit [Quit: Connection closed for inactivity]
deobalds has joined #jruby
colinsurprenant has joined #jruby
colinsurprenant has quit [Client Quit]
deobalds has quit [Ping timeout: 245 seconds]
deobalds has joined #jruby
kfpratt has quit [Remote host closed the connection]
deobalds has quit [Quit: Computer has gone to sleep.]
subbu has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vfSZT
<JRubyGithub> jruby/master 4a0cede Brandon Fish: [Truffle] Add more Module#private_class_method.
JRubyGithub has left #jruby [#jruby]
subbu has quit [Ping timeout: 264 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #jruby
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] bjfish closed pull request #2870: [Truffle] Add MRI tests to Travis builds and update the jt tool. (master...truffle_mri_travis) http://git.io/vf0h0
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:4a0cede by Brandon Fish): The build has errored. (http://travis-ci.org/jruby/jruby/builds/60164899)
travis-ci has left #jruby [#jruby]
gazay has joined #jruby
havenn has joined #jruby
bjfish2 has quit [Quit: bjfish2]
havenwood has quit [Ping timeout: 256 seconds]
deobalds has joined #jruby
skade has joined #jruby
deobalds has quit [Quit: Computer has gone to sleep.]
donV has joined #jruby
vikaton has quit [Quit: Connection closed for inactivity]
donV has quit [Quit: donV]
donV has joined #jruby
donV has quit [Client Quit]
mjc_ has quit [Ping timeout: 256 seconds]
mjc_ has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
deobalds has joined #jruby
gazay has quit [Read error: Connection reset by peer]
gazay has joined #jruby
deobalds has quit [Ping timeout: 256 seconds]
rsim has joined #jruby
deobalds has joined #jruby
kfpratt has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] zenspider opened issue #2879: shellwords' shelljoin doesn't `to_s` array elements http://git.io/vfSio
JRubyGithub has left #jruby [#jruby]
kfpratt has quit [Ping timeout: 240 seconds]
pitr-ch has joined #jruby
arturaz has joined #jruby
bryancp has quit [Write error: Connection reset by peer]
bryancp has joined #jruby
x1337807x has quit [Remote host closed the connection]
x1337807x has joined #jruby
pgokeeffe has quit [Quit: pgokeeffe]
mjelen has quit [Quit: ZNC - http://znc.in]
mjelen has joined #jruby
pgokeeffe has joined #jruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has joined #jruby
havenn has quit [Remote host closed the connection]
temporalfox has joined #jruby
cschneid has quit [Ping timeout: 256 seconds]
temporal_ has quit [Ping timeout: 265 seconds]
cschneid has joined #jruby
deobalds has quit [Quit: Computer has gone to sleep.]
deobalds has joined #jruby
cschneid has quit [Ping timeout: 256 seconds]
cschneid has joined #jruby
dumdedum has joined #jruby
deobalds_ has joined #jruby
deobalds has quit [Ping timeout: 255 seconds]
e_dub has quit [Ping timeout: 240 seconds]
jgraichen has quit [Ping timeout: 265 seconds]
jgraichen has joined #jruby
gazay has quit [Quit: gazay]
cschneid has quit [Ping timeout: 265 seconds]
e_dub has joined #jruby
edub has joined #jruby
cschneid has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
pgokeeffe has quit [Quit: pgokeeffe]
skade has joined #jruby
phlebas has joined #jruby
<phlebas> jc00ke: you around?
<phlebas> or anyone, really, I remember Timeout being unreliable on JRuby for threading stuff, but i havent checked in a while, has that been fixed?
skade has quit [Quit: Computer has gone to sleep.]
gazay has joined #jruby
marr has joined #jruby
skade has joined #jruby
deobalds has quit [Ping timeout: 255 seconds]
<Antiarc> If you're talking about timeout.rb, it's unreliable everywhere, full stop
<Antiarc> It breaks stuff in interesting and unpredictable ways
deobalds has joined #jruby
<phlebas> Antiarc: thanks
elia has joined #jruby
pgokeeffe has joined #jruby
deobalds has quit [Read error: Connection reset by peer]
pierreatkillbill has joined #jruby
pgokeeffe has quit [Quit: pgokeeffe]
benlovell has joined #jruby
shellac has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vf93d
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/master f625f07 Chris Seaton: [Truffle] Formatting.
arturas_ has joined #jruby
arturaz has quit [Ping timeout: 264 seconds]
pgokeeffe has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vf9Ci
<JRubyGithub> jruby/master 8b974d3 Chris Seaton: Revert "[Truffle] When debugging a benchmark, exceptions should be fatal, not thrown."...
JRubyGithub has left #jruby [#jruby]
pgokeeffe has quit [Quit: pgokeeffe]
deobalds has joined #jruby
pgokeeffe has joined #jruby
pgokeeffe has quit [Quit: pgokeeffe]
chamila has joined #jruby
arturas_ has quit [Ping timeout: 256 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:f625f07 by Chris Seaton): The build passed. (http://travis-ci.org/jruby/jruby/builds/60187026)
travis-ci has left #jruby [#jruby]
pjammer has joined #jruby
marr has quit []
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:8b974d3 by Chris Seaton): The build has errored. (http://travis-ci.org/jruby/jruby/builds/60189781)
travis-ci has left #jruby [#jruby]
arturas_ has joined #jruby
pierreatkillbill has quit [Ping timeout: 256 seconds]
shellac has quit [Ping timeout: 245 seconds]
colinsurprenant has joined #jruby
deobalds has quit [Quit: Computer has gone to sleep.]
deobalds has joined #jruby
benlovell has quit [Ping timeout: 240 seconds]
colinsurprenant has quit [Quit: colinsurprenant]
colinsurprenant has joined #jruby
pierreatkillbill has joined #jruby
pierreatkillbill has quit [Ping timeout: 255 seconds]
vikaton has joined #jruby
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marr has joined #jruby
benlovell has joined #jruby
nirvdrum has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
benlovell has quit [Ping timeout: 252 seconds]
tcrawley-away is now known as tcrawley
deobalds has quit [Quit: Computer has gone to sleep.]
pjammer has joined #jruby
benlovell has joined #jruby
bbrowning_away is now known as bbrowning
colinsurprenant has joined #jruby
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bjfish2 has joined #jruby
yfeldblum has quit [Ping timeout: 256 seconds]
deobalds has joined #jruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
skade has quit [Quit: Computer has gone to sleep.]
pitr-ch_ has joined #jruby
pitr-ch has quit [Ping timeout: 250 seconds]
skade has joined #jruby
<headius> g'day!
<headius> darn, pjammer is still out
<headius> rtyler: probably
<headius> chamila: if you want to run unit tests of your jruby ext you'll need jruby in the classpath somewhere
<headius> but I believe you can get the path to jruby.jar from within the runtime, like in the Rakefile
<chamila> headius: I downloaded it and added it to a bin folder https://github.com/cdwijayarathna/oj4j/blob/master/Rakefile#L11
<headius> yeah look at RbConfig::CONFIG and you can get the path to the jruby.jar for the currently-running jruby
<headius> libdir + "jruby.jar" should usually do it
<headius> then you don't have to commit it
<chamila> Ahh, okay, thanks
<headius> phlebas: it also affects MRI and rbx...nobody's immune to the ravages of timeout
laindir has joined #jruby
e_dub has quit [Quit: ZZZzzz…]
benlovell has quit [Ping timeout: 250 seconds]
pjammer has joined #jruby
havenwood has joined #jruby
benlovell has joined #jruby
<headius> now, to figure out this unusual constant-caching bug
colinsurprenant has quit [Quit: colinsurprenant]
subbu has joined #jruby
mrmargolis has joined #jruby
<kares> that is quite a surprising weirdo ... go headius!
<headius> yeah I'm stumped so far
<headius> looks like some threads are seeing the Matchers namespace before it has finished defining BuiltIn
benlovell has quit [Ping timeout: 245 seconds]
<kares> najs more threading magic ... altought he did say not to be using any multi-threading (under vert.x's tests)
<headius> vert.x? maybe we're not talking about the same issue
<headius> I'm on that one at the moment
<kares> oh yeah my bad ... 9K is still to be released and I assumed you're on 1.7 issues :)
enebo has joined #jruby
colinsurprenant has joined #jruby
benlovell has joined #jruby
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mitchellhenke has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #2874: Possible autoload issue http://git.io/vfrIu
JRubyGithub has left #jruby [#jruby]
<headius> hooray
<headius> I love when it's not our fault
<headius> kares: it is a 1.7 issue but it wasn't our bug
Aethenelle has joined #jruby
mitchellhenke has joined #jruby
justinmcp_ has quit [Remote host closed the connection]
justinmcp has joined #jruby
<enebo> headius: wow
shellac has joined #jruby
<headius> enebo: nice one
qmx has joined #jruby
qmx has quit [Changing host]
qmx has joined #jruby
<headius> took longer than it should have because they tried to do their own autoload
<headius> so I didn't see it
tenderlove has joined #jruby
pitr-ch_ is now known as pitr-ch
<headius> enebo: so, what's left
<enebo> I am trying to make dist work
<headius> that's always exciting
<enebo> the various poms are using 4 different versions of jruby-plugins
<headius> oh nice :-)
<enebo> mkristian is sick still I think so I am trying to figure this out
e_dub has joined #jruby
<enebo> in theory I just need to update these values to 1.0.9 and really only for a few since most of these poms are for the JEE integs
<headius> oh he got sick on the way home?
<headius> bummer
colinsurprenant has joined #jruby
arturas_ has quit [Remote host closed the connection]
pierreatkillbill has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:8b974d3 by Chris Seaton): The build passed. (http://travis-ci.org/jruby/jruby/builds/60189781)
travis-ci has left #jruby [#jruby]
pitr-ch has quit [Ping timeout: 264 seconds]
<temporalfox> headius hello
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<headius> temporalfox: hey there
<temporalfox> headius can we discuss the vert.x / ruby integration ?
mitchellhenke has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
<headius> temporalfox: yeah sure
<headius> what's up? I see there's still a nil issue keeping the updated java_method code from working, but I suspect it's minor
<temporalfox> headius did someone look at the issue I mentionned with jruby 1.7 + java_method that does not happen with jruby 9k or java_class.declared_method ?
<temporalfox> headius I mean someone with jruby experience
pjammer has joined #jruby
elia has quit [Read error: Connection reset by peer]
elia has joined #jruby
<headius> temporalfox: yeah I'm looking at it today
<headius> interesting that it does not happen with 9k, since this logic should be largely the same
<temporalfox> headius yes I was puzzled
<temporalfox> but I mentionned this issue in january too
<headius> ahh I see
<headius> it's a global var
<temporalfox> the thing is that the global var kind of disappear
<temporalfox> vanish
<headius> yeah
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/vfQZO
<JRubyGithub> jruby/master 741efe5 Thomas E. Enebo: Get enough pom.xml to use 1.0.9 of jruby.plugins.version (EE integs do not seem hooked up and I don't want to redden our CI by trying to change them)
JRubyGithub has left #jruby [#jruby]
<temporalfox> headius can you also make a global review ?
<temporalfox> headius I'm thinking of the generated code
<temporalfox> headius the generated yardocs
<headius> not sure what you mean
<temporalfox> headius the gem deployment (that uses a small trick that we discussed with the gem load env var)
<temporalfox> check that the generated code does not have issues
<temporalfox> that it follows as much as possible ruby idioms
<temporalfox> also there is the gem deployment
<temporalfox> I mean deploying a vert.x ruby verticle packaged as a ruby hem
<temporalfox> (DeployTest#testDeployGem)
<headius> mmm ok
<temporalfox> it's more a peer review I would like to have
<temporalfox> to ensure that ruby developers will have the best experience
<headius> I can have a look
<headius> this nil thing is very odd...you load and assign that variable for every test method
pitr-ch has joined #jruby
<headius> changing it to @obj makes them pass
<headius> oh I bet I know
<pjammer> sorry jumping in: addLazyBuiltin("ffi-internal.jar", "ffi-internal", "org.jruby.ext.ffi.FFIService"); is this how ffi-internal.so originally gets requied? i know it may seem random to everyone.
<headius> there are a number of options for how multiple threads see the scripting engine
<headius> in this case I'm guessing that globals are being isolated differently on 1.7 versus 9k
<temporalfox> headius I think this is the same thread though
<headius> it may be globals isolated on a per-call-into-runtime
<temporalfox> and that does not happen when "java_class.declared_method" is used instead
<temporalfox> and that's the exact same tests
<headius> are you sure? this was not on latest JRuby before either
<headius> so both jruby and your accessing of those methods have changed
<headius> and in the intervening versions, I remember a few changes to isolation and lifecycle of script engines
<temporalfox> so you mean that if I try with jruby 1.7 snapshot and vertx-lang-ruby master that uses java_class + declared_method it should fail ?
<headius> I don't see why it should pass...the logic for accessing and assigning globals is unrelated to any Java integration
deobalds has quit [Quit: Computer has gone to sleep.]
deobalds has joined #jruby
<headius> well there's another possible explanation
<headius> does Testmodel::TestInterface.new(TestInterfaceImpl.new) hit java_method?
deobalds has quit [Client Quit]
donV has joined #jruby
<temporalfox> what do you mean by "hit" ?
<headius> well the only way I can see java_method coming into play is if one of those .new() are using your logic
<headius> otherwise these are just direct instantiations and variable isolation is the likely explanation
<headius> also made more likely because changing to @obj fixes it
<temporalfox> funny
<temporalfox> now I'm checking and the java_class version fails too with nil
<temporalfox> with 1.7 snapshot
<temporalfox> as you said
<headius> ok
<headius> so this is not going to be a big deal...I'm goign to find the javax.script config property for JRuby Engine stuff to force a specific isolation mode in your tests
<temporalfox> but it works fine with 1.7.18
<headius> right...1.7.19 fixed a long-standing issue where scripting engines/containers were sharing too much
<headius> that's probably the cause
<headius> your per-test isolation got lucky before
<headius> 9k handles this a bit differently but I'll have to investigate the behavioral discrepancy
<temporalfox> ok
<temporalfox> what should I do ?
codefinger has joined #jruby
<headius> just sit tight :-)
<temporalfox> cool
colinsurprenant has quit [Quit: colinsurprenant]
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
pierreatkillbill has quit [Ping timeout: 256 seconds]
baroquebobcat has joined #jruby
pierreatkillbill has joined #jruby
skade has joined #jruby
rcvalle has joined #jruby
lanceball is now known as lance|afk
<headius> temporalfox: ok, I have a patch for JRuby that makes them work, but this may be us trying to treat globals the way JSR-223 treats bound values by default
<temporalfox> I could change my tests if they are doing something wrong
<headius> 223 is kinda focused around languages like JS that have a globally-visible toplevel
<headius> so it fits weird with ruby
<temporalfox> for me, it's hard to know who whjat is right / wrong
<temporalfox> I just know when things don't make sense to me :-)
<headius> I think we can fix this by having you set a property in your test run
<headius> yeah, the embed framework works well but there are some peculiar API choices
<temporalfox> what did not make sense is to have it work with 1.7.18 and not with snapshot
<headius> yeah I will be doing some root cause investigation so I understand the change
<temporalfox> so tell me what is the best option to do
<headius> temporalfox: the simplest might be to just make both of those globals in api_test into instance vars
<headius> they'll live on Object then and the tests will always see them, since we don't do any isolation at that level
<temporalfox> so I remove the $ ?
<headius> replace with @
<headius> for both of the globals in there
<temporalfox> but it's a script so I don't get the @
<temporalfox> not an object
<temporalfox> (I'm not yet a ruby expert)
<headius> script toplevel runs inside Object basically
<temporalfox> ok
<headius> it's really an anonymous subclass of Object but you don't really see that
phlebas_ has joined #jruby
<temporalfox> is it ruby behavior or jruby ?
<headius> ruby behavior
<headius> the global isolation is our attempt to bridge ruby behavior and jsr223
<headius> I generally recommend against using globals because of that grey area
<temporalfox> in vert.x now we use a global $vertx
<temporalfox> also I think the current sharing model of the scripting container is not good
rsim has quit [Quit: Leaving.]
<headius> I agree...and I believe we changed it in 9k because it was not what most people expected
Aethenelle has quit [Quit: Aethenelle]
<headius> there's a fair bit of overhead in going through the 223 API as well
phlebas has quit [Ping timeout: 244 seconds]
<headius> not sure if you use that API or ours directly (ScriptEngine versus org.jruby.embed.ScriptingContainer
<headius> )
<temporalfox> we are using ScriptingContainer
<temporalfox> with LocalContextScope.SINGLETHREAD
<headius> ok
<headius> good
<headius> that's the right one
<temporalfox> and the default local behavior scope
<temporalfox> we do have one JRubyVerticleFactory per Vert.x instance
phlebas_ has quit [Ping timeout: 244 seconds]
camlow325 has quit [Ping timeout: 244 seconds]
<temporalfox> each verticle factory set a $vertx wrapper around the underlying vertx java instance
<temporalfox> so all deployments will share this
<temporalfox> unless one deploment is loaded as a gem
<headius> that should be ok
<temporalfox> then this will have its own container in order to have the env GEM_PATH set for loading this verticle
donV has quit [Quit: donV]
zorak8 has joined #jruby
<headius> ok
<temporalfox> headius when is planned the jruby 1.7.20 release ?
<headius> in the next week or two
<temporalfox> we do have a vertx milestone next week
<headius> enebo: ^
laindir has left #jruby ["^"]
<temporalfox> and it would be good to have ruby lang integrated in this milestone in order to get valuable feedback from the vertx / jruby community
<temporalfox> with this version
<enebo> headius: yeah I am even maybe hoping by end of week assuming rg upgrade is done and seemingly stable
<headius> enebo: I have not done that upgrade
<enebo> headius: yeah it is really the main blocker but assuming the LOAD_PATH fixes were good enough then it should work
<enebo> headius: I think that was the primary issue
skade has quit [Quit: Computer has gone to sleep.]
<headius> it was, yes
<headius> I *think* the backported autoload patches have resolved last issues
<enebo> headius: yeah so assuming it does fix it then we should upgrade nowish and have ben hit it and hopefully shake anything missing out
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/vfQSG
<JRubyGithub> jruby/master 5090935 Thomas E. Enebo: No more patchlevels but windows ruby installer write this field to registry. Default to 0.
JRubyGithub has left #jruby [#jruby]
<headius> enebo: ok
<headius> trying to sort out this global scoping problem but I can look at RG next
<enebo> headius: ok…still debugging dist
<enebo> headius: it generates now but it was missing src tarball :)
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pjammer has joined #jruby
<kares> the LOAD_PATH fixes you guys did were good enough - "strange" AR/Rails loading issues (without Bundler) are no longer there in 1.7.20-SNAPSHOT https://github.com/jruby/activerecord-jdbc-adapter/issues/643
x1337807x has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/vfQQG
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/master 819a015 Thomas E. Enebo: dist needs to still make tar src dist
pierreatkillbill has quit [Ping timeout: 252 seconds]
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
<headius> kares: working with RG 2.4.5+ too?
camlow325 has joined #jruby
deobalds has joined #jruby
camlow325 has quit [Ping timeout: 250 seconds]
<temporalfox> headius would mind to tell me when you will know a release date for 1.7.20 ?
camlow32_ has joined #jruby
camlow32_ has quit [Remote host closed the connection]
camlow325 has joined #jruby
zorak8 has quit [Read error: Connection reset by peer]
zorak8 has joined #jruby
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
tcrawley is now known as tcrawley-away
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/vf7kj
<JRubyGithub> jruby/master 776534d Thomas E. Enebo: Gah. tar needs to get gzipped
JRubyGithub has left #jruby [#jruby]
tcrawley-away is now known as tcrawley
<headius> temporalfox: we will let you know
bbrowning is now known as bbrowning_away
<temporalfox> headius thanks
lance|afk is now known as lanceball
deobalds has quit [Quit: Computer has gone to sleep.]
shellac has quit [Quit: Computer has gone to sleep.]
benlovell has quit [Ping timeout: 276 seconds]
e_dub has quit [Quit: ZZZzzz…]
Aethenelle has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
pietr0 has joined #jruby
x1337807x has joined #jruby
imperator2 has joined #jruby
camlow325 has quit [Remote host closed the connection]
donV has joined #jruby
Aethenelle has quit [Ping timeout: 256 seconds]
mysteriouspants has quit [Changing host]
mysteriouspants has joined #jruby
bbrowning_away is now known as bbrowning
_djbkd has joined #jruby
donV has quit [Quit: donV]
camlow325 has joined #jruby
donV has joined #jruby
zorak8 has quit [Quit: Leaving]
camlow32_ has joined #jruby
camlow32_ has quit [Remote host closed the connection]
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
donV has quit [Client Quit]
<chamila> Can somebody help me to understand how org.jruby.runtime.Block.yield work? What are the parameters it take, etc.
<headius> if you want to yield 0-3 arguments you want yieldSpecific usually
<headius> which has fewer arguments
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] dmityr opened issue #2880: jrubyc does not compile braces http://git.io/vf7z9
JRubyGithub has left #jruby [#jruby]
gazay has quit [Quit: gazay]
<chamila> headius: block.yield(context, true); I got this to compile, but I don't undersrand what it actually does and what the 2nd parameter stands for
<headius> the second parameter indicates whether, a single array passed through should be broken up into elements or left as an array
<headius> enebo: ^ that's basically it, yeah?
<headius> I never quite follow that flag's logic
marr has quit [Ping timeout: 248 seconds]
<chamila> headius: https://gist.github.com/cdwijayarathna/2242156725b74bfd4e5f, if I call this "Oj::Doc.open('[1,2,3]') { |doc| doc.size() }", what is actually happening ?
<headius> you've basically got it, that's all there is
<headius> in this case you want to yield just the doc, so you'd do block.yieldSpecific(context, doc)
<chamila> u mean json?
codefinger has quit [Read error: Connection reset by peer]
<kares> headius: even with upgraded RG 2.4.6 ... all seems fine as much as I tried with AR but I should look at reported issue(s)
<enebo> headius: hmmm. I need to look now, but I think you are right
camlow325 has quit [Remote host closed the connection]
<enebo> chamila: ah yeah that is an internalism which we deprecated and stopped using when we knew incoming value was a guaranteed array…although it is extra weird to a yield which takes no args
<enebo> chamila: poorly written sentence. We do not use this method anymore anywhere and it is even removed in 9k altogether
<chamila> enebo: I didn't have any clue about what it takes previously, I put 'true', it worked, I thought 'true' is a sent as the arguement, just came to know it is a flag
<enebo> chamila: you can use yieldSpecific(context) since you know you are passing in a specific amount (e.g. zero args)
<enebo> chamila: it is giving info about the incoming args (which is none ni that signature)
<enebo> chamila: which arguably is pretty useless when you are passing in no value
<enebo> chamila: in any case you should not use that particular method
<chamila> enebo: I am going use this to implement http://www.rubydoc.info/gems/oj/Oj/Doc.parse, soI think I'll have to parse 1 arguement, should I still go with yieldSpecific?
camlow325 has joined #jruby
imperator2 has left #jruby ["Leaving"]
<chamila> *pass 1 arguement
<enebo> public IRubyObject yield(ThreadContext context, IRubyObject value) {
<enebo> chamila: this version will accept that single argument and potentially de-structure it to n parameters if the block expects n parameters and value happens to be an array (or responds to to_ary)
dumdedum has quit [Ping timeout: 272 seconds]
<enebo> chamila: in general you call this version unless you know for a fact that you have n specific values and then you use yieldSpecific
<enebo> chamila: yieldSpecific avoid array check costs and does not require your parameters are wrapping in a RubyArray
<chamila> enebo: ahh okay, so what yield does is it pass this 'value' to block and get the result as does in function? (I was not clear abt this)
<enebo> s/wrapping/wrapped
<enebo> chamila: it examines the arity of the block and it examines value itself and it binds the parameters to the block and executes the block
<enebo> chamila: the return value of the block is the return value
_djbkd has quit [Ping timeout: 250 seconds]
<enebo> chamila: so block is just anonymous function with special local variable scoping (e.g. it can capture variables from surrounding scopes)
<headius> kares: that's very good to hear, thank you for trying it
_djbkd has joined #jruby
_djbkd has quit [Read error: Connection reset by peer]
<chamila> enebo: then I think I should use yield, I'm not yet sure what are the nature of parameters will be passed to the block
_djbkd has joined #jruby
<enebo> chamila: That means you should use the yield I posted above
<chamila> enebo, headius : thanks both of you, most of my problems abt yield are sloved I guess
<headius> excellent :-)
<enebo> chamila: yieldSpecific is for special cases where you know for sure
<chamila> enebo : yeah, I'll go with yield
_djbkd has quit [Remote host closed the connection]
shellac has joined #jruby
tcrawley is now known as tcrawley-away
mkristian has joined #jruby
_djbkd has joined #jruby
subbu is now known as subbu|busy
e_dub has joined #jruby
tcrawley-away is now known as tcrawley
e_dub has quit [Client Quit]
jeremyevans has quit [Ping timeout: 240 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vf7bH
<JRubyGithub> jruby/master 8bb41db Brandon Fish: [Truffle] Add cgi to stdlib.
JRubyGithub has left #jruby [#jruby]
e_dub has joined #jruby
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish closed issue #2853: [Truffle] Regex compile error in rexml http://git.io/vvAYt
JRubyGithub has left #jruby [#jruby]
KevinCorcoran has joined #jruby
_djbkd has quit [Remote host closed the connection]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish reopened issue #2853: [Truffle] Regex compile error in rexml http://git.io/vvAYt
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish closed issue #2802: [Truffle] String#rindex error from CGI specs http://git.io/veYQn
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish closed pull request #2870: [Truffle] Add MRI tests to Travis builds and update the jt tool. (master...truffle_mri_travis) http://git.io/vf0h0
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish reopened pull request #2870: [Truffle] Add MRI tests to Travis builds and update the jt tool. (master...truffle_mri_travis) http://git.io/vf0h0
JRubyGithub has left #jruby [#jruby]
_djbkd has joined #jruby
djbkd_ has joined #jruby
_djbkd has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] cshupp1 opened issue #2881: java_send will not invoke a method taking a CharSequence http://git.io/vf5IX
JRubyGithub has left #jruby [#jruby]
lanceball is now known as lance|afk
e_dub has quit [Quit: ZZZzzz…]
zorak8 has joined #jruby
e_dub has joined #jruby
subbu|busy is now known as subbu
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:8bb41db by Brandon Fish): The build has errored. (http://travis-ci.org/jruby/jruby/builds/60258619)
travis-ci has left #jruby [#jruby]
shellac has quit [Quit: Computer has gone to sleep.]
shellac has joined #jruby
shellac has quit [Client Quit]
tenderlove has quit [Quit: Leaving...]
tenderlove has joined #jruby
rsim has joined #jruby
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
donV has joined #jruby
yfeldblum has joined #jruby
headius2 has joined #jruby
pierreatkillbill has joined #jruby
<headius2> back in good old Windows again
mister_solo has joined #jruby
phlebas_ has joined #jruby
chamila has quit [Quit: Page closed]
pjammer has joined #jruby
pierreatkillbill has quit [Ping timeout: 264 seconds]
skade has joined #jruby
elia has joined #jruby
mister_solo has quit [Ping timeout: 250 seconds]
lance|afk is now known as lanceball
skade has quit [Quit: Computer has gone to sleep.]
zorak8 has quit [Read error: Connection reset by peer]
zorak8 has joined #jruby
mrmargolis has quit [Ping timeout: 276 seconds]
mrmargolis has joined #jruby
mister_solo has joined #jruby
djbkd_ has quit [Remote host closed the connection]
mister_solo has quit [Ping timeout: 240 seconds]
mrmargolis has quit [Ping timeout: 244 seconds]
mrmargolis has joined #jruby
zorak8 has quit [Quit: Leaving]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/vf5dm
<JRubyGithub> jruby/master 59b4ba4 Thomas E. Enebo: No reason to truncate NUL:
JRubyGithub has left #jruby [#jruby]
e_dub has quit [Quit: ZZZzzz…]
skade has joined #jruby
x1337807x has joined #jruby
zorak8 has joined #jruby
e_dub has joined #jruby
_djbkd has joined #jruby
<projectodd-ci> Project jruby-master-spec-ji build #1146: FAILURE in 46 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/1146/
mkristian has quit [Quit: Ex-Chat]
JohnBat26 has joined #jruby
skade has quit [Read error: Connection reset by peer]
skade has joined #jruby
yfeldblu_ has joined #jruby
yfeldblum has quit [Ping timeout: 256 seconds]
jimbaker has joined #jruby
zorak8 has quit [Quit: Leaving]
bbrowning is now known as bbrowning_away
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish opened issue #2882: [Truffle] Implement InvokeRubiniusPrimitiveNode annotation properties http://git.io/vfdJb
JRubyGithub has left #jruby [#jruby]
Obeliks has left #jruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
zorak8 has joined #jruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #jruby
e_dub has quit [Quit: ZZZzzz…]
headius2 has quit [Ping timeout: 250 seconds]
phlebas_ has quit [Quit: Leaving]
_ko1 has quit [Ping timeout: 255 seconds]
travis-ci has joined #jruby
<travis-ci> kares/jruby (test-java-send:ad62fe5 by kares): The build failed. (http://travis-ci.org/kares/jruby/builds/60286700)
travis-ci has left #jruby [#jruby]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #jruby
headius2 has joined #jruby
tcrawley is now known as tcrawley-away
lanceball is now known as lance|afk
subbu is now known as subbu|away
pitr-ch has quit [Read error: Connection reset by peer]
mrmargolis has quit [Remote host closed the connection]
pitr-ch has joined #jruby
pitr-ch has quit [Read error: Connection reset by peer]
pitr-ch has joined #jruby
e_dub has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
e_dub has quit [Client Quit]
pitr-ch has quit [Read error: Connection reset by peer]
pitr-ch_ has joined #jruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
SynrG has quit [Read error: Connection reset by peer]
SynrG has joined #jruby
kfpratt has joined #jruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marr has joined #jruby
_ko1 has joined #jruby
yfeldblu_ has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
headius2 has quit [Quit: ~ Trillian - www.trillian.im ~]
<pjammer> any chef fans know if jruby has a default chef jruby recipe? i checked our local cookbook, i think it's using a default one, but may be wrong.
x1337807x has joined #jruby
x1337807x has quit [Ping timeout: 244 seconds]
x1337807x has joined #jruby
yfeldblum has joined #jruby
baroquebobcat has quit [Quit: baroquebobcat]
mitchell_ has joined #jruby
zorak8 has quit [Read error: Connection reset by peer]
zorak8 has joined #jruby
zorak8 has quit [Max SendQ exceeded]
zorak8 has joined #jruby
zorak8 has quit [Max SendQ exceeded]
zorak8 has joined #jruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #jruby
yfeldblum has quit [Remote host closed the connection]
subbu|away is now known as subbu
elia has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #jruby
subbu has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Ping timeout: 256 seconds]
yfeldblum has joined #jruby
mitchell_ has quit [Quit: Textual IRC Client: www.textualapp.com]
kfpratt has quit [Remote host closed the connection]
mitchell_ has joined #jruby
mitchellhenke has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:59b4ba4 by Thomas E. Enebo): The build has errored. (http://travis-ci.org/jruby/jruby/builds/60278655)
travis-ci has left #jruby [#jruby]
mitchell_ has quit [Client Quit]
zorak8 has quit [Ping timeout: 248 seconds]
zorak8 has joined #jruby