xardion has quit [Ping timeout: 256 seconds]
xardion_ has joined #jruby
pawnbox has joined #jruby
<krainboltgreene> This should totally be a standard thing.
<krainboltgreene> headius: <3
<chrisseaton> I wanted to do it once, but can't remember what for... it seemed like the most elegant solution if it were possible
<krainboltgreene> Since I have to support MRI I'll basically do either that OR method_source+eval
<chrisseaton> method_source may not always work - things like declaration scope are complex and not represented in source code
josh-k has joined #jruby
pawnbox has quit [Ping timeout: 276 seconds]
josh-k_ has joined #jruby
josh-k has quit [Read error: Connection reset by peer]
<krainboltgreene> Worse comes to worse the user just copy/pastes the method to the mirror.
josh-k_ has quit [Remote host closed the connection]
josh-k has joined #jruby
josh-k has quit [Ping timeout: 250 seconds]
tcrawley-away is now known as tcrawley
tcrawley is now known as tcrawley-away
DrShoggoth has joined #jruby
tjohnson has quit [Quit: Connection closed for inactivity]
knu_ has quit [Quit: Reboot...]
knu has joined #jruby
bjfish2 has quit [Quit: bjfish2]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 245 seconds]
DrShoggoth has quit [Quit: Leaving]
knu has quit [Quit: Reboot...]
knu has joined #jruby
Puffball has quit [Remote host closed the connection]
Puffball has joined #jruby
bb010g has joined #jruby
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 240 seconds]
Aethenelle has quit [Quit: Aethenelle]
Aethenelle has joined #jruby
pawnbox has joined #jruby
jsyeo has joined #jruby
gaustin has quit [Quit: gaustin]
jsyeo has quit [Quit: WeeChat 1.3]
cthulhua has joined #jruby
yfeldblum has quit [Ping timeout: 250 seconds]
Aethenelle has quit [Quit: Aethenelle]
cthulhua has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ITXpander has quit [Ping timeout: 250 seconds]
yfeldblu_ has joined #jruby
ITXpander has joined #jruby
thedarkone2 has quit [Quit: thedarkone2]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
kares has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
rsim has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 250 seconds]
gaustin has joined #jruby
gaustin has quit [Ping timeout: 260 seconds]
pawnbox has joined #jruby
wasnotrice has quit [Ping timeout: 250 seconds]
wasnotrice has joined #jruby
bb010g has quit [Quit: Connection closed for inactivity]
pitr-ch has joined #jruby
pitr-ch has quit [Client Quit]
kares has quit [Ping timeout: 246 seconds]
kares has joined #jruby
kares has quit [Ping timeout: 245 seconds]
kares has joined #jruby
kares has quit [Ping timeout: 264 seconds]
kares has joined #jruby
josh-k has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
skade has joined #jruby
skade has quit [Ping timeout: 272 seconds]
<chrisseaton> Does anyone know if Travis ever does JDK EA builds?
<chrisseaton> By 'does' I mean lets you select as the Java for your build
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
josh-k has quit [Remote host closed the connection]
josh-k has joined #jruby
pawnbox has quit [Ping timeout: 256 seconds]
pawnbox has joined #jruby
josh-k has quit [Ping timeout: 260 seconds]
pawnbox_ has joined #jruby
pitr-ch has joined #jruby
pawnbox has quit [Ping timeout: 255 seconds]
pawnbox_ has quit [Ping timeout: 255 seconds]
yfeldblu_ has quit [Ping timeout: 260 seconds]
skade has joined #jruby
skade has quit [Ping timeout: 260 seconds]
skade has joined #jruby
skade has quit [Ping timeout: 245 seconds]
<eregon> krainboltgreene: if the method is deifned in a module (not a class), transplanting should just work
<eregon> otherwise it's assumed the method in a class has intimate knowledge of its internals, and it would also allow to call say String#prepend on a custom class
<chrisseaton> eregon: that's the Ruby way though isn't it? as long as you install the method on a class which quacks like a duck
<chrisseaton> eregon: core methods written in C are different though I know
pawnbox has joined #jruby
<eregon> but is "@ivar" quacking?
<chrisseaton> eregon: yeah, I think having the instance variables you're looking for is quacking
<chrisseaton> even if they're just nil
<eregon> if it's only methods calls of course it could "just work", there is even a gem to force bind stuff on MRI. But then that method would likely make sense in a module as well
<eregon> krainboltgreene: it would be interesting to know yoru use-case, there have been discussions about this in the past on MRI tracker as well
kares has quit [Ping timeout: 255 seconds]
<eregon> I guess the restriction could technically be reduced to just the native methods (although it's not always so trivial to detect), but unsure if it's a good thing and also it would expose whether methods are native or not.
skade has joined #jruby
kares has joined #jruby
Aethenelle has joined #jruby
skade has quit [Ping timeout: 250 seconds]
pawnbox_ has joined #jruby
pawnbox has quit [Ping timeout: 250 seconds]
skade has joined #jruby
mpapis has joined #jruby
skade has quit [Ping timeout: 240 seconds]
rsim has quit [Quit: Leaving.]
kares has quit [Ping timeout: 260 seconds]
cremes has quit [Remote host closed the connection]
cremes has joined #jruby
gaustin has joined #jruby
kares has joined #jruby
josh-k has joined #jruby
kares has quit [Ping timeout: 256 seconds]
gaustin has quit [Quit: gaustin]
kares has joined #jruby
pietr0 has quit [Quit: pietr0]
bb010g has joined #jruby
johnmuhl has joined #jruby
thedarkone2 has joined #jruby
<GitHub51> [jruby] eregon pushed 1 new commit to master: http://git.io/vEAbH
<GitHub51> jruby/master 5941f37 Benoit Daloze: [Truffle] Make the Eclipse runner work again.
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<krainboltgreene> eregon: I actually have a detailed example here https://gist.github.com/krainboltgreene/0ae424355a507871eda6 (Specifically dynamic properties)
hobodave has joined #jruby
<eregon> krainboltgreene: so it's a problem to call some methods on Shadow objects?
<krainboltgreene> eregon: That's the point. You call methods on the shadow object, that are direct method copies of the source object, but with the shadow object's context.
<krainboltgreene> ie: You mutate the object graph so that one item has a discount_cents of 100, and so the source's total_cents calculation would be incorrect.
<eregon> why copy the methods and the classes? How about just having these shadows redirect on a copy of the real class?
<eregon> why copy the methods and the classes? How about just having these shadows redirect on a copy of the real object (with the same class)?
<eregon> ah, I tend to forget I cannot edit in IRC :)
ratnikov has joined #jruby
<ratnikov> howdy folks.
ratnikov is now known as dfr|wfh
rsim has joined #jruby
<krainboltgreene> eregon: Because then you have the incorrect context.
donV has joined #jruby
<GitHub123> [jruby] eregon pushed 1 new commit to master: http://git.io/vExnV
<GitHub123> jruby/master 8dc8ccc Benoit Daloze: [Truffle] Fix last __FILE__ spec.
<krainboltgreene> Assume `Cart#total_cents` is `items.sum(&:total_cents) - items.sum(&:discount_cents) - discount_cents`.
dfr|wfh has quit [Ping timeout: 245 seconds]
<krainboltgreene> If the shadow's object graph mutates to give an item discount_cents = 100_00 then the redirect for any call to total_cents. You won't be getting the correct shadow-contextual value.
<eregon> I don't follow. Would that no work if its exectued on a cart.clone ?
<projectodd-ci> Project jruby-master-spec-ji build #2453: FAILURE in 27 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2453/
josh-k has quit [Remote host closed the connection]
josh-k has joined #jruby
dfr|wfh has joined #jruby
josh-k has quit [Ping timeout: 246 seconds]
delsol has joined #jruby
pawnbox_ has quit [Remote host closed the connection]
kares has quit [Ping timeout: 264 seconds]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 240 seconds]
cthulhua has joined #jruby
delsol has quit [Quit: delsol]
dfr|wfh has quit [Ping timeout: 276 seconds]
n00bdev has joined #jruby
<GitHub145> [jruby] eregon pushed 2 new commits to master: http://git.io/vExiI
<GitHub145> jruby/master 4ff8a48 Benoit Daloze: [Truffle] Untag already passing specs.
<GitHub145> jruby/master 33d388a Benoit Daloze: [Truffle] Fix last super spec.
<krainboltgreene> eregon: Ah, you're saying clone the object using #clone. Yes, it would, however AR doesn't know how to handle the saving of the entire object graph.
<krainboltgreene> It also doesn't handle syncing back.
josh-k has joined #jruby
<krainboltgreene> Hmmm. I could clone, forward calls to the clone, and then have sync logic based on the clone though.
<krainboltgreene> I wonder if Object#clone works with AR objects.
josh-k has quit [Ping timeout: 246 seconds]
pawnbox has joined #jruby
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-spec-ji build #2454: FIXED in 5 min 28 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2454/
pawnbox has quit [Ping timeout: 250 seconds]
<eregon> krainboltgreene: it's not deep-cloning so references to other objects would need to be treated specially, but it seems shadows already considers that
<eregon> https://github.com/lsegal/force_bind this used to work if you just want to try it out on MRI
johnmuhl has quit [Quit: Connection closed for inactivity]
<GitHub28> [jruby-openssl] mkristian closed issue #79: Can't build JRuby with J9 http://git.io/vEaA5
<GitHub12> [jruby-openssl] mkristian pushed 1 new commit to master: http://git.io/vEx7u
<GitHub12> jruby-openssl/master bb8d074 Christian Meier: use hardcoded jks type for loading cacerts...
<GitHub140> [jruby] arronmabrey opened issue #3573: MRI 2.2.2 / JRuby 9.0.4.0 difference given explicit `self` receiver for private method call. http://git.io/vEx7B
pawnbox has joined #jruby
rsim has quit [Quit: Leaving.]
pawnbox has quit [Remote host closed the connection]
n00bdev has quit []
<GitHub148> [jruby] headius pushed 1 new commit to master: http://git.io/vExxj
<GitHub148> jruby/master cca4a33 Charles Oliver Nutter: Merge pull request #3571 from jruby/symbol_to_proc_cache...
<GitHub106> [jruby] headius deleted symbol_to_proc_cache at 69662ab: http://git.io/vExpe
<GitHub136> [jruby] headius closed pull request #3571: Various literal to_proc'ed Symbol optimizations. (master...symbol_to_proc_cache) http://git.io/vESKI
cthulhua has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<travis-ci> jruby/jruby-openssl (master:bb8d074 by Christian Meier): The build is still failing. (https://travis-ci.org/jruby/jruby-openssl/builds/99494586)
<GitHub64> [jruby] headius pushed 2 new commits to ruby-2.3: http://git.io/vExjX
<GitHub64> jruby/ruby-2.3 ecf0aa7 Charles Oliver Nutter: Fix multiplying through NaN as in MRI....
<GitHub64> jruby/ruby-2.3 bd77246 Charles Oliver Nutter: Merge remote-tracking branch 'origin/master' into ruby-2.3
<headius> eregon: around?
gaustin has joined #jruby
gaustin has quit [Ping timeout: 250 seconds]
<GitHub198> [jruby] eregon pushed 2 new commits to master: http://git.io/vEpUI
<GitHub198> jruby/master 5469c41 Benoit Daloze: [Truffle] Refactor super nodes to share code and split logic between args and call.
<GitHub198> jruby/master f5a0db9 Benoit Daloze: [Truffle] Introduce a helper to unshift the method name to call #method_missing.
<eregon> headius: yeah, but not for long
<eregon> headius: what's up?
<headius> eregon: I was wondering about the status of stdlib specs...are you merging in rubysl changes?
<headius> yorick spent several months expanding the socket specs and I'm looking into fixes in JRuby today
<headius> there are many hundreds of new expectations
<eregon> yeah I didn't look at these repos yet
<eregon> I would be happy to merge new specs from other sources
<eregon> is the work on socket by yorick done/released now?
<chrisseaton> eregon: looks like he's working on OS X compat at the moment
<eregon> headius: the simplest for now might be to just get a copy of rubysl-socket and test against that
<headius> that's what I'm doing but I can't apply tags as easily
<eregon> our mspec should be a superset and be able to run them
<eregon> right, that's one problem
<headius> that's the only problem I have at the moment
<eregon> maybe you can adapt the MSpec config to make the tags go into the jruby repo or some other sensible location?
cthulhua has joined #jruby
<headius> sure, I'll see if I can figure something out
<headius> the specs don't pass (or even complete) in MRI on OS X right now anyway
<headius> so I'm looking for some low-handing fruit
<eregon> I'll look into merging when the OS X support is ready and the specs a bit more stable
<eregon> I see, hope it works well
<eregon> I have to go, bye!
<travis-ci> jruby/jruby (master:cca4a33 by Charles Oliver Nutter): The build was broken. (https://travis-ci.org/jruby/jruby/builds/99498425)
<headius> eregon: thanks!
<headius> oops, what did i break
<GitHub195> [jruby] chrisseaton pushed 6 new commits to truffle-unpack: http://git.io/vEpOJ
<GitHub195> jruby/truffle-unpack 246209a Chris Seaton: [Truffle] U in unpack.
<GitHub195> jruby/truffle-unpack 8d5a4f6 Chris Seaton: [Truffle] u in unpack.
<GitHub195> jruby/truffle-unpack b8da9a2 Chris Seaton: [Truffle] w in unpack.
bb010g has quit [Quit: Connection closed for inactivity]
yfeldblum has joined #jruby
donValentin has joined #jruby
anaeem1 has joined #jruby
anaeem1 has quit [Remote host closed the connection]
donV has quit [Ping timeout: 246 seconds]
<travis-ci> jruby/jruby (ruby-2.3:bd77246 by Charles Oliver Nutter): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/99499325)
_whitelogger has quit [Ping timeout: 240 seconds]
_whitelogger has joined #jruby
_whitelogger has joined #jruby
ITXpander has quit [Ping timeout: 240 seconds]
pawnbox has joined #jruby
ITXpander has joined #jruby
<travis-ci> jruby/jruby (master:f5a0db9 by Benoit Daloze): The build was broken. (https://travis-ci.org/jruby/jruby/builds/99501500)
<krainboltgreene> eregon: You're a genius, you just saved me so much time with that #clone hint.
pawnbox has quit [Ping timeout: 260 seconds]
hobodave has quit [Ping timeout: 264 seconds]
_whitelogger has joined #jruby
Liothen has joined #jruby
Liothen has joined #jruby
pitr-ch has joined #jruby
pitr-ch has quit [Client Quit]
cthulhua has quit [Quit: Textual IRC Client: www.textualapp.com]