ChanServ changed the topic of #jruby to: Get 9.0.1.0! http://jruby.org/ | http://wiki.jruby.org | http://logs.jruby.org/jruby/ | http://bugs.jruby.org | Paste at http://gist.github.com
Scient has quit [Ping timeout: 240 seconds]
havenwood has joined #jruby
Scient has joined #jruby
bffff_ has quit [Quit: Connection closed for inactivity]
cristianrasch has quit [Quit: Leaving]
brauliobo_ has joined #jruby
colinsurprenant has joined #jruby
brauliobo has quit [Ping timeout: 268 seconds]
colinsurprenant has quit [Client Quit]
Aethenelle has quit [Quit: Aethenelle]
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
nateberkopec has quit [Quit: Leaving...]
yfeldblu_ has quit [Remote host closed the connection]
brauliobo_ has quit [Ping timeout: 240 seconds]
yfeldblum has joined #jruby
e_dub has quit [Ping timeout: 272 seconds]
e_dub has joined #jruby
temporal_ has quit [Read error: Connection reset by peer]
temporalfox has joined #jruby
TheWhip has joined #jruby
_djbkd has quit [Quit: My people need me...]
bb010g has joined #jruby
baroquebobcat has quit [Quit: baroquebobcat]
havenwood has joined #jruby
temporalfox has quit [Read error: Connection reset by peer]
temporalfox has joined #jruby
TheWhip has quit [Remote host closed the connection]
TheWhip has joined #jruby
yfeldblu_ has joined #jruby
yfeldblum has quit [Ping timeout: 246 seconds]
TheWhip has quit [Ping timeout: 252 seconds]
e_dub has quit [Quit: Leaving]
pawnbox has joined #jruby
e_dub has joined #jruby
pawnbox_ has joined #jruby
pawnbox has quit [Ping timeout: 260 seconds]
Aethenelle has joined #jruby
_djbkd has joined #jruby
TheWhip has joined #jruby
yfeldblum has joined #jruby
yfeldblu_ has quit [Ping timeout: 246 seconds]
thedarkone2 has quit [Quit: thedarkone2]
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
temporal_ has joined #jruby
temporalfox has quit [Ping timeout: 250 seconds]
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
Aethenelle has quit [Quit: Aethenelle]
havenwood has joined #jruby
_djbkd has quit [Quit: My people need me...]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
yfeldblum has quit [Ping timeout: 246 seconds]
mkristian has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
robbyoconnor has quit [Ping timeout: 264 seconds]
skade has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
elia has joined #jruby
TheWhip has quit [Remote host closed the connection]
robbyoconnor has joined #jruby
robbyoconnor has quit [Remote host closed the connection]
robbyoconnor has joined #jruby
mkristian has quit [Quit: This computer has gone to sleep]
pawnbox has quit [Ping timeout: 272 seconds]
havenwood has quit [Ping timeout: 240 seconds]
pawnbox has joined #jruby
skade has quit [Ping timeout: 246 seconds]
TheWhip has joined #jruby
pawnbox_ has joined #jruby
pawnbox has quit [Ping timeout: 250 seconds]
samphippen has joined #jruby
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
yfeldblum has joined #jruby
blaxter has joined #jruby
temporal_ has quit [Read error: Connection reset by peer]
temporalfox has joined #jruby
drbobbeaty has joined #jruby
mkristian has joined #jruby
snim2_ has joined #jruby
vtunka has joined #jruby
mkristian has quit [Quit: This computer has gone to sleep]
TheWhip has quit [Remote host closed the connection]
TheWhip has joined #jruby
TheWhip has quit [Remote host closed the connection]
kares has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TheWhip has joined #jruby
TheWhip has quit [Remote host closed the connection]
nateberkopec has joined #jruby
TheWhip has joined #jruby
yfeldblum has quit [Ping timeout: 246 seconds]
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #jruby
elia has quit [Ping timeout: 240 seconds]
TheWhip has quit [Remote host closed the connection]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TheWhip has joined #jruby
cristianrasch has joined #jruby
TheWhip_ has joined #jruby
TheWhip has quit [Read error: Connection reset by peer]
TheWhip has joined #jruby
TheWhip_ has quit [Ping timeout: 256 seconds]
elia has joined #jruby
brauliobo_ has joined #jruby
TheWhip_ has joined #jruby
TheWhip has quit [Ping timeout: 246 seconds]
<GitHub157> [jruby] perlun opened issue #3375: NameError: cannot load Java class net.Protocol http://git.io/vCUIp
yfeldblum has joined #jruby
vtunka has quit [Quit: Leaving]
mkristian has joined #jruby
cristianrasch has quit [Quit: Leaving]
TheWhip_ has quit [Ping timeout: 240 seconds]
TheWhip has joined #jruby
TheWhip has quit [Ping timeout: 264 seconds]
TheWhip has joined #jruby
samphippen has joined #jruby
TheWhip_ has joined #jruby
TheWhip has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
TheWhip_ has quit [Ping timeout: 240 seconds]
TheWhip has joined #jruby
mkristian has quit [Quit: This computer has gone to sleep]
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #jruby
TheWhip has quit [Ping timeout: 252 seconds]
TheWhip has joined #jruby
bga57 has quit [Ping timeout: 246 seconds]
TheWhip has quit [Read error: Connection reset by peer]
cristianrasch has joined #jruby
TheWhip has joined #jruby
<GitHub195> [jruby] eregon commented on commit e0f049e: I guess the FindBugs issue was caused by the reflective access more than setAccessible().... http://git.io/vCU4y
yfeldblum has quit [Remote host closed the connection]
bga57 has joined #jruby
TheWhip has quit [Read error: Connection reset by peer]
TheWhip has joined #jruby
skade has joined #jruby
TheWhip has quit [Ping timeout: 264 seconds]
TheWhip has joined #jruby
nirvdrum has joined #jruby
lance|afk is now known as lanceball
mkristian has joined #jruby
<GitHub194> [jruby] nirvdrum commented on commit e0f049e: Strange. Here's the link to the error:... http://git.io/vCUad
TheWhip has quit [Ping timeout: 244 seconds]
tcrawley-away is now known as tcrawley
TheWhip has joined #jruby
mkristian has quit [Quit: This computer has gone to sleep]
TheWhip has quit [Read error: Connection reset by peer]
TheWhip has joined #jruby
bbrowning_away is now known as bbrowning
TheWhip_ has joined #jruby
TheWhip has quit [Ping timeout: 256 seconds]
yfeldblum has joined #jruby
lea has quit [Ping timeout: 240 seconds]
TheWhip_ has quit [Ping timeout: 240 seconds]
lea has joined #jruby
Aethenelle has joined #jruby
yfeldblum has quit [Ping timeout: 246 seconds]
mkristian has joined #jruby
<GitHub23> [jruby] eregon pushed 2 new commits to master: http://git.io/vCUDy
<GitHub23> jruby/master 9febd8c Benoit Daloze: [Truffle] The alias keyword looks up the default definee and not self....
<GitHub23> jruby/master 2e4e39a Benoit Daloze: Add spec for alias on top level
<GitHub55> [jruby] eregon closed issue #3374: [Truffle] jruby+truffle - rspec broken? http://git.io/vCvWE
<travis-ci> jruby/jruby (master:2e4e39a by Benoit Daloze): The build was broken. (https://travis-ci.org/jruby/jruby/builds/84295077)
colinsurprenant has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
brauliobo_ has quit [Quit: Konversation terminated!]
<GitHub103> [jruby-openssl] mkristian pushed 1 new commit to master: http://git.io/vCUF6
<GitHub103> jruby-openssl/master 246dbb7 Christian Meier: adds comment on exception with simple name NotFound...
samphippen has quit [Read error: Connection reset by peer]
samphippen has joined #jruby
enebo has joined #jruby
<GitHub26> [jruby] eregon pushed 4 new commits to master: http://git.io/vCUNv
<GitHub26> jruby/master 21b580d Benoit Daloze: [Truffle] Add slow spec tag.
<GitHub26> jruby/master 57af10c Benoit Daloze: [Truffle] Merge ModuleTranslator#visitDefnNode with BodyTranslator.
<GitHub26> jruby/master e538c66 Benoit Daloze: [Truffle] Remove unused variable in translator.
TheWhip has joined #jruby
gregoriokusowski has joined #jruby
yfeldblum has joined #jruby
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
samphippen has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
TheWhip has quit [Ping timeout: 268 seconds]
<GitHub134> [jruby] mkristian created test-jossl-0.9.12-on-1_7 (+1 new commit): http://git.io/vCUxO
<GitHub134> jruby/test-jossl-0.9.12-on-1_7 e9ced9b Christian Meier: [build] use jruby-openssl-0.9.12
<GitHub153> [jruby-openssl] kares commented on commit 246dbb7: :nail_care: :+1: http://git.io/vCUxo
yfeldblum has quit [Ping timeout: 272 seconds]
<GitHub93> [jruby] mkristian created test-jossl-0.9.12-on-master (+1 new commit): http://git.io/vCUpK
<GitHub93> jruby/test-jossl-0.9.12-on-master c770328 Christian Meier: [build] use jruby-openssl-0.9.12
<GitHub114> [jruby] eregon pushed 1 new commit to truffle-head: http://git.io/vCTeP
<GitHub114> jruby/truffle-head 2651d7d Benoit Daloze: Merge remote-tracking branch 'origin/master' into truffle-head...
colinsurprenant has joined #jruby
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
<travis-ci> jruby/jruby (test-jossl-0.9.12-on-1_7:e9ced9b by Christian Meier): The build failed. (https://travis-ci.org/jruby/jruby/builds/84302710)
<GitHub20> [jruby] eregon pushed 1 new commit to master: http://git.io/vCTLm
<GitHub20> jruby/master af5dc4e Benoit Daloze: [Truffle] Extract ObjectGraph.visitContextRoots().
elia has quit [Read error: Connection reset by peer]
elia has joined #jruby
pawnbox has joined #jruby
<travis-ci> jruby/jruby (master:648bfaa by Benoit Daloze): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/84301259)
Aethenelle has joined #jruby
<travis-ci> jruby/jruby (test-jossl-0.9.12-on-master:c770328 by Christian Meier): The build has errored. (https://travis-ci.org/jruby/jruby/builds/84303573)
<travis-ci> jruby/jruby (test-jossl-0.9.12-on-master:c770328 by Christian Meier): The build was canceled. (https://travis-ci.org/jruby/jruby/builds/84303573)
Aethenelle has quit [Ping timeout: 240 seconds]
Aethenelle has joined #jruby
yfeldblum has joined #jruby
<GitHub16> [jruby] eregon pushed 1 new commit to master: http://git.io/vCTsm
<GitHub16> jruby/master 5f8b17f Benoit Daloze: [Truffle] Add comment in visitContextRoots().
cremes has quit [Remote host closed the connection]
thedarkone2 has joined #jruby
havenwood has joined #jruby
cremes has joined #jruby
yfeldblum has quit [Ping timeout: 252 seconds]
<travis-ci> jruby/jruby (truffle-head:2651d7d by Benoit Daloze): The build was broken. (https://travis-ci.org/jruby/jruby/builds/84305495)
TheWhip has joined #jruby
dfr|work has quit [Ping timeout: 246 seconds]
robbyoconnor has quit [Ping timeout: 265 seconds]
colinsurprenant has quit [Quit: colinsurprenant]
subbu is now known as subbu|afk
dfr|work has joined #jruby
colinsurprenant has joined #jruby
<travis-ci> jruby/jruby (test-jossl-0.9.12-on-1_7:e9ced9b by Christian Meier): The build failed. (https://travis-ci.org/jruby/jruby/builds/84302710)
<travis-ci> jruby/jruby (test-jossl-0.9.12-on-master:c770328 by Christian Meier): The build failed. (https://travis-ci.org/jruby/jruby/builds/84303573)
digitalextremist has quit [Remote host closed the connection]
hobodave has joined #jruby
yfeldblum has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
<GitHub31> [jruby] trashhalo opened issue #3376: OpenSSL::Cipher missing auth_data= http://git.io/vCTox
KevinCorcoran has joined #jruby
subbu|afk is now known as subbu
yfeldblum has quit [Ping timeout: 268 seconds]
<travis-ci> jruby/jruby (test-jossl-0.9.12-on-1_7:e9ced9b by Christian Meier): The build passed. (https://travis-ci.org/jruby/jruby/builds/84302710)
digitalextremist has joined #jruby
KevinCorcoran has quit [Ping timeout: 246 seconds]
rcvalle has joined #jruby
mkristian has quit [Quit: This computer has gone to sleep]
baroquebobcat has joined #jruby
pawnbox has quit [Remote host closed the connection]
brauliobo has joined #jruby
samphippen has joined #jruby
samphippen has quit [Read error: Connection reset by peer]
samphipp_ has joined #jruby
mkristian has joined #jruby
samphipp_ is now known as samphippen
pawnbox has joined #jruby
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
lea has quit [Ping timeout: 240 seconds]
mkristian has quit [Quit: This computer has gone to sleep]
colinsurprenant has joined #jruby
<GitHub169> [jruby] asthasr opened issue #3377: #to_ary behavior does not conform to MRI behavior http://git.io/vCTxc
yfeldblum has joined #jruby
digitalextremist has quit [Read error: Connection reset by peer]
<chrisseaton> Oracle is hiring for language implementors in the Czech Republic https://oracle.taleo.net/careersection/2/jobdetail.ftl?job=15000NIB (don't worry about the requirement for a PhD if you can demonstrate achievement otherwise)
lanceball is now known as lance|afk
yfeldblum has quit [Ping timeout: 244 seconds]
skade has quit [Quit: Computer has gone to sleep.]
lea has joined #jruby
bbrowning is now known as bbrowning_away
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
temporalfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<travis-ci> jruby/jruby (master:af5dc4e by Benoit Daloze): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/84309429)
blaxter has quit [Quit: foo]
elia has quit [Quit: Computer has gone to sleep.]
digitalextremist has joined #jruby
mkristian has joined #jruby
mkristian has quit [Quit: This computer has gone to sleep]
<lopex> chrisseaton: what's an advanced master ?
<chrisseaton> A masters where you did some research I think
<chrisseaton> Some places you can do a one-year masters, some places it's two
<chrisseaton> I did a four year masters but I never did a bachelors
djbkd has joined #jruby
lance|afk is now known as lanceball
hobodave has quit [Quit: Computer has gone to sleep.]
<kares> heh
skade has joined #jruby
samphippen has joined #jruby
<GitHub166> [jruby] enebo pushed 1 new commit to master: http://git.io/vCkBi
<GitHub166> jruby/master 25aa878 Thomas E. Enebo: If value.to_ary in block dispatch returns nil then return original value
bbrowning_away is now known as bbrowning
<GitHub13> [jruby] headius pushed 2 new commits to master: http://git.io/vCk00
<GitHub13> jruby/master 0d2f510 Ryan T. Hosford: Rename #remove_tailing_slash (tailing -> trailing)...
<GitHub159> [jruby] headius closed pull request #3373: Rename #remove_tailing_slash (tailing -> trailing) (master...rthbound-patch-1-fix-method-name) http://git.io/vcjmJ
<GitHub13> jruby/master c7aeff8 Charles Oliver Nutter: Merge pull request #3373 from rthbound/rthbound-patch-1-fix-method-name...
<GitHub127> [jruby] headius closed issue #3372: FileUtils#remove_tailing_slash is a poor method name http://git.io/vcjUA
havenwood has joined #jruby
<GitHub169> [jruby] asthasr opened issue #3378: #to_ary behavior does not conform to MRI Ruby (1.7.22) http://git.io/vCkgw
hobodave has joined #jruby
<travis-ci> jruby/jruby (master:25aa878 by Thomas E. Enebo): The build was broken. (https://travis-ci.org/jruby/jruby/builds/84349172)
vtunka has joined #jruby
<GitHub141> [jruby] enebo pushed 1 new commit to master: http://git.io/vCk6a
<GitHub141> jruby/master 5f11f7e Thomas E. Enebo: proc.call on object that calls #to_ary which returns nil should return original object
<enebo> eregon: I pushed a new spec/shared stuffs…I am hoping Truffle runs ok :)
<enebo> eregon: and if I did something wrong in spec let me know what I need to change
<GitHub174> [jruby] enebo pushed 1 new commit to master: http://git.io/vCkDQ
<GitHub174> jruby/master 55e2030 Thomas E. Enebo: Fixes #3338. JRuby 9.0.1.0 #to_ary should return Array
<GitHub85> [jruby] enebo closed issue #3338: JRuby 9.0.1.0 #to_ary should return Array http://git.io/vnIKy
<GitHub60> [jruby] raelik opened issue #3379: jRuby 9.0.0.0+ affected by CVE-2014-4043 http://git.io/vCkyP
<travis-ci> jruby/jruby (master:c7aeff8 by Charles Oliver Nutter): The build was broken. (https://travis-ci.org/jruby/jruby/builds/84350095)
havenwood has quit [Ping timeout: 260 seconds]
havenwood has joined #jruby
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mkristian has joined #jruby
<GitHub1> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vCkFQ
<GitHub1> jruby/master 3e589d7 Kevin Menard: [Truffle] Removed some unused conversions from JRuby objects to Truffle objects.
havenn has joined #jruby
havenwood has quit [Ping timeout: 256 seconds]
pawnbox has quit [Remote host closed the connection]
camlow325 has joined #jruby
TheWhip has quit [Ping timeout: 255 seconds]
TheWhip has joined #jruby
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
havenwood has joined #jruby
havenn has quit [Ping timeout: 264 seconds]
yfeldblum has joined #jruby
<travis-ci> jruby/jruby (master:5f11f7e by Thomas E. Enebo): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/84355407)
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #jruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
<GitHub116> [jruby] enebo pushed 1 new commit to jruby-1_7: http://git.io/vCkjm
<GitHub116> jruby/jruby-1_7 b7e6461 Thomas E. Enebo: Fixes #3377. #to_ary behavior does not conform to MRI behavior
<GitHub7> [jruby] enebo closed issue #3377: #to_ary behavior does not conform to MRI behavior http://git.io/vCTxc
<GitHub40> [jruby] enebo closed issue #3378: #to_ary behavior does not conform to MRI Ruby (1.7.22) http://git.io/vCkgw
<headius> enebo: 3371 only affects lambda
<headius> I think I'm at the line that's not quite right, in doYieldLambda
<headius> different path for preparing args
<enebo> yeah icky area to be in :)
subbu is now known as subbu|lunch
<headius> indeed
<enebo> headius: I am confused why we are wrong though
<headius> when it's a proc returned from to_proc it works fine
<headius> it only unwraps too much if it's a lambda
<enebo> headius: it is not spreading any args and it returns itself via the proc
<enebo> headius: I guess I don’t see how it should get an extra array wrap
<headius> yeah but it should map [1,2] to [[1,2]] and then that goes into an array for the collect
<headius> in his example
<headius> so it should come out [[[1,2]]]
<headius> the problem is that yielding [1,2] to a lambda with *a makes a = [1,2] instead of [[1,2]]
<enebo> OH
<headius> if you yield that to a proc it works right
<enebo> yeah so A is [1,2] and *A is [[1,2]]
<enebo> ok
<headius> right
<enebo> I misread that
<headius> so I think the lambda yield stuff may need to pay attention to rest arg here
camlow325 has quit [Read error: Connection reset by peer]
camlow32_ has joined #jruby
<enebo> ah yeah it must be expanding
camlow32_ has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
camlow325 has quit [Read error: Connection reset by peer]
<enebo> err destructuring to the call
camlow325 has joined #jruby
<headius> is signature.arityValue = -1 always single rest arg?
<enebo> I think it means rest
<enebo> -2 means one opt arg
<enebo> I think so anyways…I never fully remember the arity numbering system
skade has quit [Quit: Computer has gone to sleep.]
<headius> yeah ok
<headius> I think this is a special case for *a if I remember right
<headius> special for single rest arg
<headius> this falls into MRI setup_parameters_complex
<headius> heh
<headius> iseq->body->param.flags.ambiguous_param0
mkristian_ has joined #jruby
skade has joined #jruby
skade has quit [Client Quit]
<headius> well this fix worked for rubyspec and fixes original case
mkristian has quit [Ping timeout: 240 seconds]
<GitHub33> [jruby-openssl] mkristian tagged v0.9.12 at master: http://git.io/vCITb
skade has joined #jruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #jruby
djbkd has quit [Read error: Connection reset by peer]
<travis-ci> jruby/jruby (master:55e2030 by Thomas E. Enebo): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/84358221)
djbkd has joined #jruby
<headius> oops, new specs failing truffle
<headius> I'll mop up
vtunka has quit [Quit: Leaving]
<nirvdrum> headius: Did you make the change yet? I have a local diff I was about to push.
<nirvdrum> It took me a few minutes to realize why the failures were occurring.
<headius> I'm just tagging a few specs enebo added
<headius> if you have them tagged go ahead
<nirvdrum> Okay. I'm just running the specs right now.
<headius> (or fixed)
<headius> hmmm
<headius> tagging proc specs tagged a lot more than I expected
<GitHub13> [jruby] nirvdrum pushed 2 new commits to master: http://git.io/vCIOg
<GitHub13> jruby/master 3807072 Kevin Menard: [Truffle] Added utility for printing out parameter info.
<GitHub13> jruby/master ac5cf50 Kevin Menard: [Truffle] Tagged newly added failing specs.
<nirvdrum> mspec tagging is a bit flaky.
<headius> oh I see
<headius> element_reference failure tags as Proc#call
<headius> boo
<headius> so I had the same ones then
<headius> had to do yield manually for some reason
<headius> shared specs seem to have tagging problems fairly often for me
havenwood has quit [Ping timeout: 250 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
<headius> man, block parameters have to be the most screwy part of Ruby language
<headius> 101 special cases
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
<lopex> and designed by overhead
<xardion> headius: yes :D
<headius> lopex: setup_complex_parameters in MRI is a rabbit hole of complexity
camlow325 has quit [Read error: Connection reset by peer]
<lopex> headius: dont even want to go there
<lopex> if they named it complex then ..
camlow325 has joined #jruby
subbu|lunch is now known as subbu
<xardion> that and the return statement when used in a block, depending on how that block was created.
<lopex> I hope complex and complicated are not synonyms
<xardion> not as many cases, but still gnarly
<lopex> gnarly ~ complicated
<headius> xardion: I think I finally figured that one out this summer
<headius> it always returns from the nearest lexically-containing non-block context
<lopex> design(some_complication, some_accident)
<xardion> yeah, it's not horrible, but it begs the question: "why? and what criteria was used to decide that behavior?"
<lopex> no algebra involved
<headius> Java folks evaluated non-local return when they worked on Java 8 lambdas and decided it was just too complicated
<xardion> the thing that gets me is that return in a Proc.new is different from one in a -> {}
<xardion> I understand it being different in an implicit block (i.e. def something do; end)
<lopex> headius: same for generics and reflection
<xardion> I guess it has to do with the assumption that Proc.new is really a handy container to pass around a function, where as lambda are almost always a closure.
<xardion> assuming I'm not getting the return behavior backwards (return in a Proc just returns from the proc, return in a lambda returns in the binding context)
<lopex> chrisseaton: oh, why did I stumble on that so late http://epub.jku.at/obvulihs/download/pdf/501665
<lopex> that might be the most straight forward usage of truffle
<travis-ci> jruby/jruby (master:3e589d7 by Kevin Menard): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/84362623)
<xardion> anyway, I probably do have that wrong, but it is somewhat of an odd-duck. Not as tangled as block parameters though
<headius> lopex: yeah, like a handful of AST nodes I suppose? :-)
<lopex> headius: yeah
<lopex> I mean, almost no mental mapping
<lopex> headius: is the anything on hte horizon of returning multiple values at once in java ?
<lopex> efficiently
<headius> value types will do that for us
<lopex> headius: for now in strng support I just return two int in a long in places
<lopex> headius: what's the times line for that ?
<headius> 10
<lopex> *timeline
<lopex> bleh
<xardion> yeah, I had that backwards. Still, it's odd that a lambda is explicitly different in that regard
<headius> yeah
<headius> xardion: I can never remember either :-)
<headius> here we are 10 years into working on JRuby and I'm fixing a bug in lambda argument handling
<lopex> and I remember reading about you being hired by Sun
<lopex> like it was yesterday
<headius> heheh
<headius> good times
<lopex> the's where it all started
<headius> I miss Sun
<xardion> yeah, if you do a return in a lambda, it just returns that value to the calling context. If you do that in a proc, it causes the binding context to return.
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
<xardion> And my reasoning for why they do that is correct, I just had it backwards. Procs are intended to be used as a drop-in code snippet or a closure. A lambda is treated more like a first-class method (checks arity, for instance)
<headius> sigh
<headius> oops
<xardion> well, what you're doing there is slightly different.
<headius> I didn't call them :-D
<xardion> yeah, hehehe
<headius> fixed
<headius> matches expectations
<xardion> yeah, it does
<xardion> that's good, at least we know they didn't change that in 2.2.2
<xardion> heads would roll
<headius> lambda roots the block at that level while proc leaves the root at nearest non-block enclosure
<xardion> right, makes sense since lambdas are intended to be an anonymous function. But, they DO have access to the binding of the context where they're defined.
havenwood has joined #jruby
<xardion> so you can also use a lambda as a closure, just have to be aware of how return works, and the fact that it will check the number of parameters passed when you call() it
<xardion> typically, if you want to return from a block, use next.
<xardion> heh unless you defined that block in a loop :P
<xardion> which would be bad(tm)
<xardion> actually, that probably would still work as you intended, but it's gross
<headius> xardion: nobody knows about next and break for the other types of return
<headius> or practically nobody
<GitHub118> [jruby] mkristian force-pushed deadlock from fc06782 to 455bcf0: http://git.io/vCIBq
<GitHub118> jruby/deadlock 455bcf0 Christian Meier: improve RequireLock to better match its semantic...
elia has joined #jruby
<GitHub163> [jruby] nirvdrum pushed 2 new commits to master: http://git.io/vCIBj
<GitHub163> jruby/master 46d74df Kevin Menard: [Truffle] Removed unused conversions from JRuby objects to Truffle objects.
<GitHub163> jruby/master 1a9aec2 Kevin Menard: [Truffle] Added missing attribution.
<xardion> is it weird that whenever I read about Java 8's Metaspace, I always initially read it as Meatspace?
<nirvdrum> I'm afflicted similarly.
<GitHub156> [jruby] headius pushed 1 new commit to master: http://git.io/vCI0E
<GitHub156> jruby/master f3dd725 Charles Oliver Nutter: Lambda should not splat yielded array with single rest arg....
<GitHub40> [jruby] headius closed issue #3371: splash params lose a nesting level *only* in #_to_proc http://git.io/vcdxQ
<headius> xardion: I always say meatspace
<headius> I think I have infected a few others with it too
camlow325 has quit [Read error: Connection reset by peer]
camlow32_ has joined #jruby
camlow32_ has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
havenwood has quit [Ping timeout: 240 seconds]
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #jruby
<travis-ci> jruby/jruby (jruby-1_7:b7e6461 by Thomas E. Enebo): The build has errored. (https://travis-ci.org/jruby/jruby/builds/84365923)
TheWhip has quit [Ping timeout: 246 seconds]
<enebo> that is unexpected
<enebo> hmm timeout
TheWhip has joined #jruby
<hobodave> hey guys, I have an exception logger which does something like: rescue StandardError => e; data[:backtrace] = error.backtrace.first(30)
<hobodave> using JRuby 9.0.1.0 I sometimes get an "undefined method first for nilClass" error
camlow325 has quit [Read error: Connection reset by peer]
<hobodave> and I can't find any way to have an exception *not* have a backtrace on it
camlow325 has joined #jruby
<hobodave> this doesn't happen on MRI, only on JRuby... is there some werid caveat with backtraces on JRuby?
<hobodave> I've added a guard for it, but I'm still baffled why it would be missing
<headius> hmmm
<headius> well if the code is literally that, e and error are two different things
<hobodave> sorry headius that was me typing, and it is not literal
<headius> hobodave: ok
<headius> maybe you can see what kind of exception it is?
<headius> backtrace can be nil if it is specified as nil in raise, but there may be other cases
<hobodave> yea I haven't been able to, all I know is it is a type of StandardError
<hobodave> I can only get it to occur when running my integration tests in oru staging environment
<hobodave> and what makes it even more of a PITA is that it occurs in my error handling code lol
<hobodave> so there is no error handling for errors while error handling
<headius> can't you just print out e.class or something?
<headius> when backtrace == nil
<headius> offhand I can't think of any common reason backtrace would be nil
havenwood has joined #jruby
camlow32_ has joined #jruby
camlow325 has quit [Read error: Connection reset by peer]
<GitHub180> [jruby] headius pushed 1 new commit to master: http://git.io/vCIwH
<GitHub180> jruby/master ea8a70c Charles Oliver Nutter: Fix top-level bubbled exception rendering....
<headius> that should fix OOM from unhandled Java exceptions bubbling out
camlow32_ has quit [Read error: Connection reset by peer]
yfeldblum has joined #jruby
camlow325 has joined #jruby
nirvdrum has quit [Ping timeout: 246 seconds]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
bb010g has quit [Quit: Connection closed for inactivity]
<xardion> This is odd, seeing way more java threads than I'm expecting. Wonder where they're coming from.
camlow32_ has joined #jruby
camlow325 has quit [Read error: Connection reset by peer]
camlow32_ has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
<headius> eregon: I have sometimes been putting a comment mentioning a JRuby issue when adding specs...is that appropriate or not?
mkristian_ has quit [Quit: This computer has gone to sleep]
camlow325 has quit [Read error: Connection reset by peer]
<travis-ci> jruby/jruby (master:ac5cf50 by Kevin Menard): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/84373065)
camlow325 has joined #jruby
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
havenwood has quit [Ping timeout: 246 seconds]
<headius> perhaps just having the bug number in the spec commit is good enough
<GitHub22> [jruby] headius pushed 1 new commit to master: http://git.io/vCIPe
<GitHub22> jruby/master 19bc111 Charles Oliver Nutter: Add yield-to-lambda cases that were not all consistent in JRuby....
havenwood has joined #jruby
brauliobo has quit [Ping timeout: 256 seconds]
<xardion> using puma with threads set at 0:16 (0 minimum, 16 max), and HikariCP with a thread pool of 16, I would expect to see 16 threads at idle (1 for each connection), possibly 32 if the driver itself has its own thread
<xardion> but I have 60 at idle, jumps up to 76 when the server is loaded, which I expect
<xardion> seems as if between HikariCP and the Vertica JDBC driver, there are 5 threads per connection
bbrowning is now known as bbrowning_away
<xardion> that said, I don't know if that's really what's going on, since dropping the size of the connection pool has no noticable effect
<headius> xardion: fibers?
<headius> JVM itself has 10-15 threads for other purposes
<xardion> That explains some of it at least
<headius> JRuby has a couple JIT threads
<headius> ahd fibers use threads
<xardion> none of my code uses fibers, so it would have to be something in the vertica jdbc driver or hikaricp, maybe in slf4j?
<xardion> I doubt it's the jdbc driver or hikari, since fiddling with the pool size has no impact. I'm not that concerned, considering the performance is great and the memory usage doesn't spike like my MRI implementation did.
<xardion> just curious where they're all coming from
<chrisseaton> xardion: don't they have names?
gregoriokusowski has quit [Quit: gregoriokusowski]
brauliobo has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<xardion> chrisseaton: they just all say java
<xardion> unless there's a different way to see java thread names
<chrisseaton> What tool are you using? JVisualVM and jstack should all tell you the names
<xardion> oh right, forgot about jstack
<xardion> ok, it's all JVM and jRuby threads, and the underlying native threads they're using (probably because of java.nio epoll)
<xardion> so no worries
<xardion> there's only around 11 actual JVM+jRuby threads
havenwood has quit [Ping timeout: 250 seconds]
lanceball is now known as lance|afk
cremes has quit [Ping timeout: 240 seconds]
colinsurprenant has quit [Quit: colinsurprenant]
enebo has quit [Quit: enebo]
cremes has joined #jruby
jimbaker has joined #jruby
<xardion> oh, I've got parallel GC going too. Totally forgot about that :P
hobodave has quit [Quit: Computer has gone to sleep.]
yfeldblu_ has joined #jruby
yfeldblum has quit [Ping timeout: 246 seconds]
hobodave has joined #jruby
hobodave has quit [Ping timeout: 255 seconds]
Aethenelle has quit [Quit: Aethenelle]
TheWhip has quit [Ping timeout: 246 seconds]
samphippen has joined #jruby
havenwood has joined #jruby
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #jruby
<travis-ci> jruby/jruby (master:f3dd725 by Charles Oliver Nutter): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/84381111)
cristianrasch has quit [Quit: Leaving]
havenwood has quit [Ping timeout: 250 seconds]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
djbkd has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
snim2_ has quit [Quit: Page closed]
<travis-ci> jruby/jruby (master:ea8a70c by Charles Oliver Nutter): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/84386304)
camlow32_ has joined #jruby
camlow325 has quit [Read error: Connection reset by peer]
KevinCorcoran has joined #jruby
camlow32_ has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
KevinCorcoran has quit [Read error: No route to host]
KevinCorcoran has joined #jruby
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
KevinCorcoran has quit [Read error: No route to host]
mdedetrich has joined #jruby
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
rcvalle has quit [Quit: rcvalle]
djbkd has quit [Remote host closed the connection]
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
<travis-ci> jruby/jruby (master:19bc111 by Charles Oliver Nutter): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/84389368)
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby