rcvalle has quit [Quit: rcvalle]
camlow321 has joined #jruby
camlow325 has quit [Ping timeout: 244 seconds]
cprice404 has quit [Ping timeout: 252 seconds]
cprice404 has joined #jruby
alex0ptr has joined #jruby
alex0ptr has quit [Ping timeout: 264 seconds]
prasunanand has joined #jruby
donV has quit [Quit: donV]
pawnbox has joined #jruby
FINbit has quit [Ping timeout: 244 seconds]
pawnbox has quit [Ping timeout: 272 seconds]
camlow321 has quit [Quit: WeeChat 1.5]
pawnbox has joined #jruby
alex0ptr has joined #jruby
blandflakes has joined #jruby
pawnbox has quit [Ping timeout: 252 seconds]
alex0ptr has quit [Ping timeout: 244 seconds]
Aethenelle has quit [Ping timeout: 244 seconds]
bbrowning is now known as bbrowning_away
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 264 seconds]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
alex0ptr has joined #jruby
alex0ptr has quit [Ping timeout: 244 seconds]
FINbit has joined #jruby
blandflakes has joined #jruby
blandflakes has quit [Client Quit]
FINbit has quit [Ping timeout: 256 seconds]
cprice404 has quit [Quit: Konversation terminated!]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 265 seconds]
alex0ptr has joined #jruby
pawnbox has joined #jruby
etehtsea has joined #jruby
alex0ptr has quit [Ping timeout: 256 seconds]
pawnbox has quit [Ping timeout: 256 seconds]
johnsonch is now known as johnsonch_afk
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 244 seconds]
alex0ptr has joined #jruby
alex0ptr has quit [Ping timeout: 272 seconds]
pawnbox has joined #jruby
FINbit has joined #jruby
pawnbox has quit [Ping timeout: 252 seconds]
FINbit has quit [Ping timeout: 272 seconds]
deobalds has joined #jruby
deobalds has quit [Quit: Computer has gone to sleep.]
alex0ptr has joined #jruby
sandelius has joined #jruby
alex0ptr has quit [Ping timeout: 272 seconds]
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pitr-ch has joined #jruby
donV has joined #jruby
akp has quit [Remote host closed the connection]
akp has joined #jruby
thedarkone2 has quit [Quit: thedarkone2]
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
akp has quit [Ping timeout: 252 seconds]
sandelius has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sandelius has joined #jruby
jensnockert has joined #jruby
donValentin has joined #jruby
donV has quit [Ping timeout: 252 seconds]
jensnockert has quit [Remote host closed the connection]
pawnbox has joined #jruby
pitr-ch has joined #jruby
beawesomeinstead has quit [Ping timeout: 252 seconds]
alex0ptr has joined #jruby
zacts has quit [Ping timeout: 252 seconds]
thedarkone2 has joined #jruby
beawesomeinstead has joined #jruby
alex0ptr has quit [Ping timeout: 252 seconds]
FINbit has joined #jruby
FINbit has quit [Ping timeout: 264 seconds]
zacts has joined #jruby
Specialist has joined #jruby
pil-afk has quit [Ping timeout: 265 seconds]
jensnockert has joined #jruby
jensnockert has quit [Remote host closed the connection]
jensnockert has joined #jruby
jensnockert has quit [Remote host closed the connection]
jensnockert has joined #jruby
beawesomeinstead has quit [Ping timeout: 244 seconds]
beawesomeinstead has joined #jruby
Specialist has quit [Remote host closed the connection]
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
thedarkone2 has quit [Quit: thedarkone2]
pawnbox has quit [Remote host closed the connection]
olle has joined #jruby
alex0ptr has joined #jruby
alex0ptr has quit [Client Quit]
pilhuhn has joined #jruby
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 264 seconds]
pawnbox has joined #jruby
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pitr-ch has joined #jruby
shellac has joined #jruby
olle has quit [Quit: olle]
FINbit has joined #jruby
olle has joined #jruby
olle has quit [Ping timeout: 264 seconds]
olle_ has joined #jruby
jensnockert has quit [Ping timeout: 265 seconds]
donValentin has quit [Ping timeout: 265 seconds]
olle_ has quit [Quit: olle_]
vtunka has joined #jruby
<GitHub25> [jruby] grddev opened pull request #4207: Flush destination IO in IO.copy_stream (master...flush-dst-in-copy-stream) https://git.io/vPcyS
olle has joined #jruby
jensnockert has joined #jruby
pilhuhn is now known as pil-afk
pawnbox has quit [Remote host closed the connection]
jensnockert has quit [Read error: Connection reset by peer]
jensnockert has joined #jruby
pawnbox has joined #jruby
pitr-ch has quit [Read error: Connection reset by peer]
pitr-ch has joined #jruby
pil-afk is now known as pilhuhn
<yopp> How good are compiler on optimizing math?
<yopp> Say I have something like this: @e = tanh((tanh((tanh(@i0 * @a_w0) * @c_w0) + (tanh(@i1 * @b_w0) * @c_w1)) * @e_w0) + (tang((tanh(@i0 * @a_w0) * @d_w0) + (tanh(@i1 * @b_w0) * @d_w1)) * @e_w1))
<yopp> As you can see, tanh(@i1 * @b_w0) repeats two times
<yopp> Will be there any attempts on compiler side, to optimize that? Idk, to cache the value or something
raeoks has joined #jruby
<chrisseaton> Yeah, the JVM should manage to cache that result
bbrowning_away is now known as bbrowning
<yopp> Generally, which should be better for performance? Top or bottom case? https://gist.github.com/y8/3a9170e841b45c06d10ab763bd2bde8c
* yopp will do some benchmarks a bit later
prasunanand has quit [Ping timeout: 244 seconds]
<eregon> etehtsea_: re tags per platform: it's manual currently but rather easy, see spec/jruby.2.3.mspec and look for windows and ci_xtags
<chrisseaton> The first one you showed will be better in optimising implementations of Ruby
<chrisseaton> The second one is writing to global memory with those temporary values
<chrisseaton> If you used local variables instead of instance variables they'd be equivalent
<chrisseaton> In most languages, but not Ruby due to Proc#binding
<yopp> Yeah
<yopp> That's kinda tricky to use lvars here
<chrisseaton> How come?
<yopp> This is method body, and *_w* values can change over time
<chrisseaton> But why store temporary values like a, b, c, d in instance variables?
<yopp> ah, here you are right, they can be lvars
<chrisseaton> In Ruby local variables are a bit like instance variables anyway as you can get the binding as an object. I think only Truffle is able to put local variables in a block actually onto the stack
<yopp> I see only one benefit of having intermediate values here: parallelization.
<chrisseaton> You mean you think the processor could calculate a, b, c, d in parallel?
<yopp> Nope, I think I can do some kind of queue for independent equations
<yopp> a & b; c & d; e.
<chrisseaton> The processor will already run as much as this in parallel as it can, whether you use local variables or not
<yopp> hum
<chrisseaton> And this is too little code to manually parallelise
<yopp> this is just very simple example
<yopp> this is very naive and simple model of neural network with hidden layer
<chrisseaton> If you are really writing code that looks like this you should look at Truffle as it will do very well with it
<yopp> I've just started, I'm researching idea of using codegeneration, instead of matrix math
<chrisseaton> Here's a top tip for Ruby code generation - don't use SSA, because due to bindings Ruby implementations can't reuse local variables and you'll end up with massive frames
<yopp> SSA?
pawnbox has quit [Remote host closed the connection]
<chrisseaton> If you generate code with temporary local variables, don't give each one a unique name - reuse the same names
<chrisseaton> don't use local1, local2, ..., local10000 - reuse the same small set of local variables
<chrisseaton> Because eliminating lots of local variables is very hard - not even Truffle does it at the moment
<yopp> Uh, that's hard task as well. Because in this case I should somehow check that previous variables are not used in later code
<chrisseaton> It's basically register allocation
pawnbox has joined #jruby
<yopp> I'd like to get to the point where I can make simple network that is capable of at least learning basic boolean math and then I'll take it from there. And then do rest of optimizations.
<yopp> I'm not sure how good evaled code jited this days
<yopp> if jited at all
<chrisseaton> I can't see why it be eval'd would make a difference to whether a JIT would run
<chrisseaton> These days JRuby and JRuby+Truffle are the only JITs for Ruby, and they don't mind
tcrawley-away is now known as tcrawley
<yopp> cool
pawnbox has quit [Ping timeout: 256 seconds]
AckZ has quit []
vtunka has quit [Ping timeout: 265 seconds]
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pitr-ch has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
pawnbox has joined #jruby
shellac has joined #jruby
pawnbox has quit [Ping timeout: 252 seconds]
pawnbox has joined #jruby
lance|afk is now known as lanceball
drbobbeaty has quit [Ping timeout: 264 seconds]
drbobbeaty has joined #jruby
<GitHub109> [jruby] chrisseaton created lambdas (+2 new commits): https://git.io/vPCT0
<GitHub109> jruby/lambdas 21069b6 Chris Seaton: [Truffle] Global replace anonymous classes with lambdas.
<GitHub109> jruby/lambdas f8d14d0 Chris Seaton: [Truffle] Organise imports.
<GitHub43> [jruby] chrisseaton fast-forwarded truffle-head from d7ca7b7 to f8d14d0: https://git.io/vPCTE
<GitHub1> [jruby] chrisseaton opened pull request #4208: [Truffle] Global replace anonymous classes with lambdas. (truffle-head...lambdas) https://git.io/vPCTa
beawesomeinstead has quit [Read error: Connection reset by peer]
beawesomeinstead has joined #jruby
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
akp has joined #jruby
<GitHub136> [jruby] chrisseaton force-pushed lambdas from 21069b6 to 5038049: https://git.io/vPCIq
<GitHub136> jruby/lambdas 5038049 Chris Seaton: [Truffle] Global replace anonymous classes with lambdas.
akp has quit [Ping timeout: 272 seconds]
akp has joined #jruby
<travis-ci> jruby/jruby (lambdas:21069b6 by Chris Seaton): The build passed. (https://travis-ci.org/jruby/jruby/builds/165511286)
vtunka has joined #jruby
Aethenelle has joined #jruby
yahonda has joined #jruby
nicksieger has joined #jruby
vtunka_ has joined #jruby
vtunka_ has quit [Client Quit]
prasunanand has joined #jruby
akp has quit [Remote host closed the connection]
akp has joined #jruby
akp has quit [Ping timeout: 272 seconds]
akp has joined #jruby
fryguy9 has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
eonwe has quit [Quit: Lost terminal]
nicksieger has joined #jruby
eonwe has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
fryguy9 has quit [Quit: Leaving.]
<GitHub165> [jruby] eregon closed pull request #4208: [Truffle] Global replace anonymous classes with lambdas. (truffle-head...lambdas) https://git.io/vPCTa
<GitHub12> [jruby] eregon pushed 2 new commits to truffle-head: https://git.io/vPCnA
<GitHub12> jruby/truffle-head 5b2e38a Benoit Daloze: Merge pull request #4208 from jruby/lambdas...
<GitHub12> jruby/truffle-head 5038049 Chris Seaton: [Truffle] Global replace anonymous classes with lambdas.
<GitHub27> [jruby] eregon deleted lambdas at 5038049: https://git.io/vPCnx
shellac has quit [Quit: Computer has gone to sleep.]
fryguy9 has joined #jruby
vtunka has quit [Quit: Leaving]
olle has quit [Quit: olle]
thedarkone2 has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
<eregon> "eregon deleted lambdas" :D
nicksieger has joined #jruby
jsvd has quit [Ping timeout: 265 seconds]
jensnockert has quit [Ping timeout: 264 seconds]
mjc_ has quit [Ping timeout: 265 seconds]
talevy has quit [Write error: Connection reset by peer]
snkcld has quit [Remote host closed the connection]
lopex has quit [Read error: Connection reset by peer]
ekroon has quit [Remote host closed the connection]
electrical has quit [Write error: Connection reset by peer]
atambo has quit [Remote host closed the connection]
<GitHub15> [jruby] eregon pushed 1 new commit to truffle-head: https://git.io/vPCRt
<GitHub15> jruby/truffle-head a0d9d96 Benoit Daloze: [Truffle] CI: add Savina benchmarks.
akp has quit [Remote host closed the connection]
pilhuhn has quit [Ping timeout: 244 seconds]
nicksieger has quit [Remote host closed the connection]
nicksieger has joined #jruby
<GitHub185> [jruby] eregon pushed 1 new commit to truffle-head: https://git.io/vPC0z
<GitHub185> jruby/truffle-head 3a49f82 Benoit Daloze: [Truffle] CI: run the new Savina benchmarks.
lopex has joined #jruby
<GitHub186> [jruby] eregon pushed 1 new commit to truffle-head: https://git.io/vPCuv
<GitHub186> jruby/truffle-head e818fa9 Benoit Daloze: [Truffle] CI: use the new no_frequency_scaling capability.
olle has joined #jruby
electrical has joined #jruby
ekroon has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
shellac has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
fryguy9 has quit [Quit: Leaving.]
snkcld has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
talevy has joined #jruby
jsvd has joined #jruby
mjc_ has joined #jruby
vtunka has joined #jruby
akp has joined #jruby
akp has quit [Remote host closed the connection]
akp has joined #jruby
akp_ has joined #jruby
jensnockert has joined #jruby
akp_ has quit [Remote host closed the connection]
akp has quit [Read error: Connection reset by peer]
akp has joined #jruby
atambo has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
<GitHub173> [jruby] chrisseaton pushed 6 new commits to truffle-head: https://git.io/vPCKX
<GitHub173> jruby/truffle-head 998b16d Chris Seaton: [Truffle] Don't use deprecated SourceSection.createUnavailable
<GitHub173> jruby/truffle-head b48bdab Chris Seaton: [Truffle] Use full source sections for pack/unpack/format.
<GitHub173> jruby/truffle-head 6e5df1b Chris Seaton: [Truffle] Don't use deprecated LineLocation.
jensnockert has quit [Remote host closed the connection]
<travis-ci> jruby/jruby (truffle-head:e818fa9 by Benoit Daloze): The build has errored. (https://travis-ci.org/jruby/jruby/builds/165555611)
jensnockert has joined #jruby
fryguy9 has joined #jruby
jensnockert has quit [Remote host closed the connection]
jensnockert has joined #jruby
jensnockert has quit [Remote host closed the connection]
jensnockert has joined #jruby
vtunka has quit [Quit: Leaving]
fryguy9 has quit [Quit: Leaving.]
akp_ has joined #jruby
akp_ has quit [Remote host closed the connection]
akp has quit [Read error: Connection reset by peer]
akp has joined #jruby
<travis-ci> pitr-ch/jruby (jtt:0bed5ea by Petr Chalupa): The build was fixed. (https://travis-ci.org/pitr-ch/jruby/builds/165571879)
bbrowning is now known as bbrowning_away
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
nicksieger has quit [Ping timeout: 272 seconds]
nicksieger has joined #jruby
pilhuhn has joined #jruby
olle has quit [Quit: olle]
tenderlove has quit [Read error: Connection reset by peer]
_whitelogger_ has joined #jruby
rcvalle has joined #jruby
_whitelogger has quit [Remote host closed the connection]
fryguy9 has joined #jruby
nicksieger has quit [Remote host closed the connection]
bbrowning_away is now known as bbrowning
nicksieger has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
jensnockert has quit [Remote host closed the connection]
nicksieger has quit [Ping timeout: 265 seconds]
Aethenelle has quit [Quit: Aethenelle]
pilhuhn is now known as pil-afk
jensnockert has joined #jruby
nicksieger has joined #jruby
jensnockert has quit [Ping timeout: 252 seconds]
fryguy9 has quit [Quit: Leaving.]
fryguy9 has joined #jruby
<GitHub67> [jruby] eregon pushed 1 new commit to truffle-head: https://git.io/vPCbg
<GitHub67> jruby/truffle-head d5831a4 Benoit Daloze: [Truffle] Allow extra output in benchmark and print it on stderr.
shellac has joined #jruby
subbu is now known as subbu|away
nicksieger has quit [Remote host closed the connection]
<GitHub74> jruby/truffle-head 99abbd5 Benoit Daloze: [Truffle] Mx: fix my Python.
<GitHub74> [jruby] eregon pushed 1 new commit to truffle-head: https://git.io/vPCA0
nicksieger has joined #jruby
fryguy9 has quit [Quit: Leaving.]
fryguy9 has joined #jruby
claudiuinberlin has joined #jruby
fryguy9 has quit [Client Quit]
fryguy9 has joined #jruby
claudiuinberlin has quit [Client Quit]
<travis-ci> jruby/jruby (truffle-head:d5831a4 by Benoit Daloze): The build has errored. (https://travis-ci.org/jruby/jruby/builds/165600925)
cprice404 has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
fryguy9 has quit [Quit: Leaving.]
Aethenelle has joined #jruby
fryguy9 has joined #jruby
fryguy9 has quit [Quit: Leaving.]
fryguy9 has joined #jruby
fryguy9 has quit [Client Quit]
camlow325 has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
_whitelogger has joined #jruby
_whitelogger_ has quit [Remote host closed the connection]
johnsonch_afk is now known as johnsonch
subbu|away is now known as subbu
shellac has quit [Quit: Computer has gone to sleep.]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
donV has joined #jruby
<GitHub47> [jruby] headius pushed 1 new commit to master: https://git.io/vPWtq
<GitHub47> jruby/master 3dfa505 Charles Oliver Nutter: Fix typo in socketpair_spec.rb.
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
fryguy9 has joined #jruby
fryguy9 has quit [Client Quit]
donValentin has joined #jruby
donV has quit [Ping timeout: 265 seconds]
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
FINbit has joined #jruby
tcrawley is now known as tcrawley-away
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
FINbit has quit [Ping timeout: 272 seconds]
FINbit has joined #jruby
zacts has quit [Ping timeout: 252 seconds]
nicksieger has quit [Read error: Connection reset by peer]
FINbit has quit [Ping timeout: 272 seconds]
nicksieger has joined #jruby
<headius> bleh, what's wrong with my environment
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
lanceball is now known as lance|afk
pawnbox has quit [Remote host closed the connection]
<tenderlove> omg
<headius> now enebo isn't here of course
<tenderlove> lol
<tenderlove> we can chat tomorrow
<tenderlove> or any time really
<headius> so it would be a method like arel_visitor or something
<headius> do_requires
<headius> or whatever
<headius> he's on his way
<tenderlove> I mean, I think there's an "initializer" type class method that gets called on each adapter anyway
enebo has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
<tenderlove> we could just extract the requires to another method
<tenderlove> then have that top level class method call the "require libraries" method before it does anything else
bbrowning has quit [Quit: Leaving]
<headius> enebo: primary issue reusing code from AR was the requires yeh?
<enebo> well there are two issues
<enebo> 1. we use the exact same require for our load (require ‘active_record//adapters/sqlite3_connector.rb
<enebo> or whatever
<enebo> I think this is just our issue where we probably need to muck with load path and require the AR one
<tenderlove> you can't use the connection adapter code whole sale anyway, can you?
<headius> our files are the same require path as the ones in AR?
<enebo> 2. Is at the top of the AR connector we want to inherit (like sqlite3) there is “gem ‘sqlite3’"
nicksieger has joined #jruby
<tenderlove> I mean, you have to do specific stuff for JDBC, right?
<enebo> tenderlove: we do but I think we can re-open and include in the methods we need for that
<tenderlove> gotcha
<headius> much of the code in there doesn't directly access the ext API
<enebo> tenderlove: at least I hope so
<enebo> tenderlove: worst case is we prepend :)
<tenderlove> we could just extract that require / gem stuff to a method
<enebo> although if we cannot include we can extend
mistergibson_ has joined #jruby
mistergibson_ has quit [Remote host closed the connection]
<tenderlove> and you could override that
mistergibson has quit [Quit: Leaving]
<tenderlove> unsure how hard it will be to get that backported to 5.0 though....
<enebo> I fully expect we will learn other stuff along the way but the gem “sqlite3” stuff at the top was a hard stop on using that code
matthewd has joined #jruby
<enebo> tenderlove: I think our quick plan now is to copy that code for a quick turnaround
<tenderlove> I summoned matthewd
<GitHub170> [jruby] headius pushed 1 new commit to master: https://git.io/vPWld
<GitHub170> jruby/master 3eb15d4 Charles Oliver Nutter: Add tags for Truffle.
<enebo> tenderlove: but we want to make sure by next major release we can figure what we need so we can not duplicate any of it
<tenderlove> matthewd: JRuby folks want to reuse our existing AR code, but since we have stuff at the top of the adapter like "gem 'sqlite3'" it's a showstopper for them
<headius> enebo: we could read in the source, remove that line, and eval it :-)
<enebo> hahaha
<tenderlove> I suggested we extract that to a method or something that they could override
<enebo> tenderlove: what I don’t know is whether that is really even required at that point for the adapters to load
<tenderlove> I don't think so
<tenderlove> pretty sure all the native bits are only used at run time
<headius> I was also thinking about moving code in the adapters that doesn't call the ext directly to a separate module we can both include
<matthewd> We do it there so we can report a missing dependency gem as being equivalent to the adapter itself not being available
<tenderlove> we can have the thing that loads the adapter turn around and call a method on the adapter it just loaded
<enebo> tenderlove: yeah I saw nothing which seemed to indicate it is needed
<matthewd> So yeah, moving to a method we call just after loading it seems fine
pawnbox has joined #jruby
<headius> matthewd: makes sense
<enebo> so perhaps we can remove that gem locallty and continue with our expeiment to see whatother problems pop up if any
<enebo> the first problem of us having the same require as the real adapter is also really gross
<tenderlove> enebo: that sounds like your problem ;)
<enebo> but I think we can make an ugly magical method to require real AR version in our fake one
<enebo> tenderlove: yeah it is just an issue with our adapters pretending to be your adapters
<tenderlove> you want people to be able to do "adapter: sqlite3" in their config.yml
<tenderlove> is that why?
<enebo> tenderlove: yeah
<travis-ci> jruby/jruby (master:3dfa505 by Charles Oliver Nutter): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/165626026)
<tenderlove> hmmmmm
<tenderlove> sec
<enebo> so we could make a jruby_sqlite3 and have rails add that magic but it is special code
<matthewd> Maybe we could switch to an adapter name registry, instead of just using a blind require
<tenderlove> ya
<tenderlove> I was wondering if there was a way we could let JRuby change the logic for how we figure out which file to require
<matthewd> It's all in one terrible method atm, I believe
<enebo> I hacked it by deleting the load path dir where our require came from then calling require again then restoring the load path
pawnbox has quit [Ping timeout: 256 seconds]
<enebo> which is pretty gross :)
<enebo> matthewd: tenderlove: thanks for talking this over with us. we really need to reuse ar code more so we can minimize this maintenance. I think we hit a saturation point on how much we can support :)
<tenderlove> enebo: no problem
<tenderlove> can you guys figure out what you would like there?
<tenderlove> We're open to changing that part; it's not great
<tenderlove> I'm just not sure how you'd go about injecting yourself in there so you can do your own thing
<enebo> tenderlove: yeah I think registering the adapter would be a good way since then we could change the name and just do a simple require of the code we want to share
<matthewd> Oh hey, there's already a mechanism for an adapter name registry... just define Resolver#require :)
<tenderlove> loooooool
<tenderlove> you could do that
<tenderlove> it would work
<enebo> fwiw I have no idea how any of this is really bootstrapped by rails to begin with
<tenderlove> enebo: even with the registry thing though, I'm not sure how you hook in soon enough to make changes like that
<enebo> yeah I guess something has to do the registering
<tenderlove> when people use Rails with JRuby, they'll have to include a JDBC gem, right?
<tenderlove> maybe you can include a railtie in there that does the freedom patching or adapter registration
<matthewd> Gems get required by bundler before we think about DB config, so yeah, that'd be the hook point
<tenderlove> ya
<headius> tenderlove: activerecord-jdbcsqlite3-adapter has jdbc-sqlite3 as a dep
<headius> so they (or rails app gen) just uses the right ar-jdbc for the db
<headius> we publish separate gems for each supported db
<enebo> and Rails seems to put proper stuff in Gemfile
<enebo> gem 'activerecord-jdbcsqlite3-adapter'
<enebo> well only that but as headius says anything else is transitive dep from that
<headius> yeah we worked with rails folks to make it generate right requires for JRuby
<headius> and Gemfile etc
<enebo> My only wish is that bundler would allow multiple lock files per impl
<enebo> or one per impl so I can run jruby and mri on same app at same time without having to copy it to two places or regenerate
<headius> yeah, I think that is rotting in a PR somewhere
<enebo> but I am just babbling on irc
<headius> or it has only been done as one-off monkey patches
* enebo tries to maintain focus
<headius> FOCUS DUDE
<enebo> headius: I know someone maintains a patch for this (maybe logstash people?)
<headius> atambo I think
<headius> maybe logstash though
nicksieg_ has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieg_ has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
pawnbox has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieg_ has joined #jruby
<travis-ci> jruby/jruby (master:3eb15d4 by Charles Oliver Nutter): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/165647642)
pawnbox has quit [Ping timeout: 252 seconds]
nicksieg_ has quit [Remote host closed the connection]
<GitHub1> [jruby] headius pushed 1 new commit to master: https://git.io/vPWzY
<GitHub1> jruby/master 56eeca0 Charles Oliver Nutter: Update to latest Psych.
donValentin has quit [Quit: donValentin]
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<chrisarcand> headius: enebo: chrisseaton: I'm a little sad they put both the JRuby/Truffle talks [that I know of] in the same timeslot. http://rubyconf.org/schedule#friday
pitr-ch has joined #jruby
<headius> chrisarcand: ugh why would they do that?
<headius> we need to fix that
<chrisarcand> Maybe contact sarah and see if one of you guy can switch with one of the non-track ones in the morning hours that day
<headius> chrisarcand: I contacted Abby
<headius> we'll try to fix that
raeoks has joined #jruby
<headius> chrisarcand: it's being fixed
yahonda has left #jruby [#jruby]
akp has quit [Ping timeout: 264 seconds]
<GitHub81> [jruby] headius pushed 1 new commit to master: https://git.io/vPWVQ
<GitHub81> jruby/master 825877f Charles Oliver Nutter: Add arity-2 respond_to? to GzipReader/Writer and add caching....
<GitHub107> [jruby] headius closed issue #4202: IO.copy_stream with Zlib::GZipWriter broken in 9.1.3.0 and up https://git.io/vPsQ7
* matthewd waits for "they swapped one to Thurs 11:35" :P
enebo has quit [Quit: enebo]
jensnockert has joined #jruby
<travis-ci> jruby/jruby (master:56eeca0 by Charles Oliver Nutter): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/165659428)
akp has joined #jruby
jensnock_ has joined #jruby
akp has quit [Ping timeout: 252 seconds]
jensnockert has quit [Ping timeout: 272 seconds]
<headius> matthewd: hah yeah
shellac has joined #jruby
<travis-ci> jruby/jruby (master:825877f by Charles Oliver Nutter): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/165665934)
<GitHub158> [jruby] headius closed issue #924: Thread::handle_interrupt https://git.io/vPWPS
cprice404 has quit [Ping timeout: 272 seconds]
cprice404 has joined #jruby
jensnockert has joined #jruby
<GitHub81> [jruby] headius pushed 1 new commit to master: https://git.io/vPW1C
<GitHub81> jruby/master 9db412f Charles Oliver Nutter: Revert "Update to latest Psych."...
<GitHub25> [jruby] headius opened issue #4209: Update Psych for 9.1.6.0 https://git.io/vPW1o
jensnock_ has quit [Ping timeout: 244 seconds]
<headius> chrisarcand: fixed...JRuby classic talk moved one slot later
pawnbox has joined #jruby
<GitHub181> [jruby] headius pushed 2 new commits to master: https://git.io/vPWDJ
<GitHub181> jruby/master 8a4a945 Charles Oliver Nutter: Fix regression spec for #4202.
<GitHub181> jruby/master 51124a6 Charles Oliver Nutter: Allow java.lang.Thread.interrupt to end Kernel#sleep....
<GitHub70> [jruby] headius closed issue #4206: Kernel#sleep swallows InterruptedException https://git.io/vPnXy
pawnbox has quit [Ping timeout: 256 seconds]
<GitHub99> [jruby] headius pushed 1 new commit to master: https://git.io/vPWSz
<GitHub99> jruby/master ee17203 Charles Oliver Nutter: Revert "Restore world-readable search to tmpdir.rb."...
<GitHub107> [jruby] headius closed issue #4184: Dir.tmpdir returns working directory https://git.io/vPeoR
shellac has quit [Quit: Computer has gone to sleep.]
<GitHub68> [jruby] headius closed pull request #4207: Flush destination IO in IO.copy_stream (master...flush-dst-in-copy-stream) https://git.io/vPcyS
<GitHub74> jruby/master b7fab70 Gustav Munkby: Flush destination IO in IO.copy_stream...
<GitHub74> [jruby] headius pushed 2 new commits to master: https://git.io/vPWSd
<GitHub74> jruby/master 98918e4 Charles Oliver Nutter: Merge pull request #4207 from grddev/flush-dst-in-copy-stream...
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 256 seconds]
<travis-ci> jruby/jruby (master:9db412f by Charles Oliver Nutter): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/165678239)
<GitHub35> [jruby] personnel opened issue #4210: **operator behavior is different from MRI https://git.io/vPWHu