subbu has quit [Ping timeout: 256 seconds]
colinsurprenant has joined #jruby
x1337807x has quit [Ping timeout: 265 seconds]
nirvdrum has joined #jruby
mcclurmc has quit [Ping timeout: 256 seconds]
_JKL_ has quit [Ping timeout: 244 seconds]
nirvdrum has quit [Ping timeout: 272 seconds]
KevinCorcoran has quit [Remote host closed the connection]
vikaton has joined #jruby
donV has quit [Quit: donV]
mje113__ has quit [Quit: Connection closed for inactivity]
camlow325 has quit [Ping timeout: 258 seconds]
tcrawley-away is now known as tcrawley
x1337807x has joined #jruby
tcrawley is now known as tcrawley-away
nirvdrum has joined #jruby
robbyoconnor has joined #jruby
fivebats has quit [Quit: quit]
subbu has joined #jruby
vikaton has quit []
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vUMSd
<JRubyGithub> jruby/master da24a36 Chris Seaton: [Truffle] Work to support getaddrinfo
JRubyGithub has left #jruby [#jruby]
subbu has quit [Ping timeout: 272 seconds]
colinsurprenant has quit [Quit: colinsurprenant]
colinsurprenant has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
djbkd has quit [Remote host closed the connection]
nateberkope has quit [Quit: Leaving...]
nateberkopec has joined #jruby
subbu has joined #jruby
KevinCorcoran has joined #jruby
KevinCorcoran has quit [Ping timeout: 256 seconds]
mitchellhenke has joined #jruby
nirvdrum has quit [Ping timeout: 244 seconds]
Jamo has quit [Remote host closed the connection]
djbkd has joined #jruby
nateberkopec has quit [Quit: Leaving...]
djbkd has quit [Ping timeout: 255 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vUDv6
<JRubyGithub> jruby/master a7cf015 Brandon Fish: [Truffle] Add more ensure_open and io_close.
JRubyGithub has left #jruby [#jruby]
KevinCorcoran has joined #jruby
kfpratt has quit [Remote host closed the connection]
KevinCorcoran has quit [Ping timeout: 256 seconds]
bjfish2 has quit [Quit: bjfish2]
subbu has quit [Quit: Leaving]
mkristian has joined #jruby
mkristian has quit [Client Quit]
kfpratt has joined #jruby
colinsurprenant has joined #jruby
colinsurprenant has quit [Client Quit]
<projectodd-ci> Project jruby-master-dist build #270: FAILURE in 29 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-dist/270/
deobalds has joined #jruby
deobalds has quit [Client Quit]
KevinCorcoran has joined #jruby
x1337807x has joined #jruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #jruby
KevinCorcoran has quit [Ping timeout: 244 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kfpratt has quit [Remote host closed the connection]
x1337807x has joined #jruby
rsim has joined #jruby
camlow325 has joined #jruby
skade has joined #jruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #jruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has quit [Quit: Computer has gone to sleep.]
camlow325 has quit [Remote host closed the connection]
ponga has joined #jruby
ponga has quit [Client Quit]
marr has joined #jruby
ponga has joined #jruby
shellac has joined #jruby
_JKL_ has joined #jruby
dumdedum has joined #jruby
dumdedum has quit [Client Quit]
vtunka has joined #jruby
donV has joined #jruby
cprice has joined #jruby
cprice has quit [Client Quit]
shellac has quit [Quit: Computer has gone to sleep.]
cprice404 has joined #jruby
donV has quit [Quit: donV]
CustosLimen has quit [Ping timeout: 245 seconds]
cprice has joined #jruby
cprice404 has quit [Ping timeout: 264 seconds]
donV has joined #jruby
CustosLimen has joined #jruby
rsim has quit [Quit: Leaving.]
ponga has quit [Quit: Leaving...]
cprice has quit [Ping timeout: 240 seconds]
cprice has joined #jruby
shellac has joined #jruby
camlow325 has joined #jruby
djbkd has joined #jruby
camlow325 has quit [Ping timeout: 255 seconds]
djbkd has quit [Ping timeout: 272 seconds]
mjelen has quit [Ping timeout: 265 seconds]
rsim has joined #jruby
ryez has joined #jruby
rsim has quit [Quit: Leaving.]
ryez has quit [Ping timeout: 246 seconds]
drbobbeaty has joined #jruby
mjelen has joined #jruby
dinfuehr has joined #jruby
dinfuehr has quit [Remote host closed the connection]
kwando_ has joined #jruby
kwando has quit [Ping timeout: 264 seconds]
Jamo has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
TheBrayn has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
tcrawley-away is now known as tcrawley
nirvdrum has joined #jruby
djbkd has joined #jruby
djbkd has quit [Ping timeout: 258 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] frkline opened issue #2938: 'extensions are not built' errors after upgrading to 1.7.20 http://git.io/vUSBq
JRubyGithub has left #jruby [#jruby]
bbrowning_away is now known as bbrowning
cprice_ has joined #jruby
cprice has quit [Ping timeout: 276 seconds]
colinsurprenant has joined #jruby
kotk has joined #jruby
shellac has joined #jruby
mitchellhenke has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
nateberkopec has joined #jruby
djellemah__ has joined #jruby
kfpratt has joined #jruby
djellemah has quit [Ping timeout: 240 seconds]
dinfuehr has joined #jruby
bjfish2 has joined #jruby
enebo has joined #jruby
kfpratt has quit [Remote host closed the connection]
lance|afk is now known as lanceball
elia has joined #jruby
KevinCorcoran has joined #jruby
nirvdrum_ has joined #jruby
cremes has quit [Read error: No route to host]
KevinCorcoran has quit [Ping timeout: 256 seconds]
cremes has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vUS5q
<JRubyGithub> jruby/master 5a87b02 Brandon Fish: [Truffle] Fix standard stream check location in IO#close.
JRubyGithub has left #jruby [#jruby]
insidious has joined #jruby
mitchell_ has joined #jruby
mitchellhenke has quit []
mitchell_ has quit [Client Quit]
mitchellhenke has joined #jruby
vtunka has quit [Quit: Leaving]
skade has joined #jruby
subbu has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 3 new commits to master: http://git.io/vU9fJ
<JRubyGithub> jruby/master 31cab2e Thomas E. Enebo: Attempt towards fixing/simplifying block yield parm binding. Separate lambda/non-lambda doYield
<JRubyGithub> jruby/master 49bf2c1 Thomas E. Enebo: Fix some specs involving {,Unbound}Method identity by not dup'ing (used WrappedMethod)
<JRubyGithub> jruby/master 0ca1046 Thomas E. Enebo: Tag out now passing tests and fix Method#original_name to return name as symbol instead of string
JRubyGithub has left #jruby [#jruby]
cprice_ has quit [Quit: Konversation terminated!]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] cdwijayarathna opened pull request #2939: Issue #2924 (master...checktype2) http://git.io/vU9kD
JRubyGithub has left #jruby [#jruby]
chamila has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] cdwijayarathna closed pull request #2930: Issue #2924 (master...master) http://git.io/vURWw
JRubyGithub has left #jruby [#jruby]
skade has quit [Quit: Computer has gone to sleep.]
dinfuehr has quit [Remote host closed the connection]
cprice404 has joined #jruby
colinsurprenant has joined #jruby
subbu has quit [Ping timeout: 256 seconds]
subbu has joined #jruby
mcclurmc has joined #jruby
cremes has quit [Read error: Connection reset by peer]
cremes has joined #jruby
jimbaker has quit [Ping timeout: 256 seconds]
arturaz has quit [Ping timeout: 264 seconds]
shellac has quit [Quit: Computer has gone to sleep.]
jimbaker has joined #jruby
jimbaker has quit [Changing host]
jimbaker has joined #jruby
shellac has joined #jruby
mje113__ has joined #jruby
havenwood has joined #jruby
subbu is now known as subbu|away
KevinCorcoran has joined #jruby
mister_solo has joined #jruby
camlow325 has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] ggayan opened issue #2940: Crash with celluloid 0.15.2 and activesupport 4.2.1 on jruby 1.7.19 and 1.7.20. MRI 2.1.5 works. http://git.io/vU9Rj
JRubyGithub has left #jruby [#jruby]
KevinCorcoran has quit [Ping timeout: 256 seconds]
nirvdrum_ has quit [Ping timeout: 255 seconds]
subbu|away has quit [Ping timeout: 245 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vU9aq
<JRubyGithub> jruby/master 6465d03 Brandon Fish: [Truffle] Implement some fo IO#reopen.
JRubyGithub has left #jruby [#jruby]
kafkaz_ has quit [Remote host closed the connection]
kafkaz_ has joined #jruby
kfpratt has joined #jruby
codefinger has joined #jruby
dinfuehr has joined #jruby
rcvalle has joined #jruby
x1337807x has joined #jruby
mkristian has joined #jruby
subbu|away has joined #jruby
subbu|away is now known as subbu
shellac has quit [Quit: Computer has gone to sleep.]
lanceball is now known as lance|afk
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 1 new commit to master: http://git.io/vU9Hn
<JRubyGithub> jruby/master 8091cfe Christian Meier: [build] fix problem with parent pom in ./maven...
JRubyGithub has left #jruby [#jruby]
camlow32_ has joined #jruby
camlow3__ has joined #jruby
camlow325 has quit [Ping timeout: 255 seconds]
camlow32_ has quit [Read error: Connection reset by peer]
<lopex> chrisseaton: you happen to consider perf regression CI or soemthing like that ?
<lopex> or is it too early ?
<chrisseaton> we have one, but it's not publicly accessible
<lopex> I wonder it something like that could be automated based on specs
<lopex> *if
<chrisseaton> run each spec as a benchmark?
<lopex> I guess selected ones
<lopex> but at least they provide a data and an nev
<lopex> *env
baroquebobcat has joined #jruby
<chrisseaton> I don't think most of them would work well as benchmarks - they aren't designed to not optimise away, which is our most common problem
baroquebobcat has quit [Remote host closed the connection]
<lopex> but for core methods they would be more appropriate
<lopex> well, core methods that might end up a bottleneck
baroquebobcat has joined #jruby
<chrisseaton> the problem is most of the core specs do something like create an array, add something, check it's still there - but that compiles to nothing
<lopex> chrisseaton: I'm mostly talking about some String methods, which are kind of black boxes anyways
<lopex> complex ones
KevinCorcoran has joined #jruby
<chrisseaton> I see what you want to do, but I just don't think you could make useful, sound benchmarks from them - you might get something that looked like it was working, but with lots of potential problems you can't immediately see
<chrisseaton> (I'm writing a PhD chapter on benchmark at the moment)
<lopex> even if you specialize them, it's the sheer amount of code there anyways
<lopex> well, yeah you always want a good sample from the code in the wild
<enebo> chrisseaton: how long until the next round of benches finish running?
shellac has joined #jruby
<lopex> I wonder, if a sample sinatra app profile diff might be useful then ?
<lopex> as a perf regression
<chrisseaton> We're working towards having more real applications in our CI
<lopex> well, flattening the noise somehow
<chrisseaton> We currently have kernels from real applicaitons
<lopex> oh
<lopex> so you're that far ahead
<chrisseaton> lopex: you've seen this right? http://jruby.org/bench9000/
<lopex> yes
jamo___ has joined #jruby
jamo___ has quit [Client Quit]
<enebo> chrisseaton: lopex: some simple rails engine or middleware exerciser would be good. not for regressions on our side neccesarily so perhaps a stable version and a floating head version
<chrisseaton> middleware like ActiveSupport?
<enebo> it is unfortunate that real software changes over time
<enebo> chrisseaton: something which routes through their routing logic and hits a controller and probably renders something back without network
<chrisseaton> oh yeah we're working towards that for Truffle - mocked rack servers and then framework routing and things
<enebo> chrisseaton: so remove network IO and db/backend IO and just exercise the middle
<enebo> I think that to not be very real-world for a bench but it is something which if we see a drop in perf could indicate us not coping with a new pattern or uncovering a bottleneck
<enebo> against a stable version over time we could catch regressions on our side
<lopex> bottleneck undercover
<lopex> aka dark matter
<enebo> testing against living software kind sucks if you want to generate metrics over time since everything is moving but it is useful
<lopex> enebo: remember a case when accessing non set ivar triggered an exception underneath ?
<lopex> not caught for years
<lopex> and now this Symbol#==
<enebo> lopex: I was thinking of the one where ola build up a debug string in something really common but the debugging was not enabled
<enebo> lopex: but it still prepped the arguments to the debug method
<lopex> yeah
<lopex> stay in the eager eval world
<enebo> lopex: yeah we need to switch to scala right? :)
<lopex> scala doesnt have true call by need semantics
<enebo> lopex: no?
<lopex> impossible on jvm
<lopex> well, you might cheat via pass by name + lazy vars
<lopex> *lazy vals
<enebo> lopex: I thought it had a sigil for lazy eval
<lopex> but it's not entirely a thunk like in haskell
<lopex> and in scala lazy val is expensive
<lopex> volatile read + extra bitmap afaik
<enebo> lopex: well I guess it depends on what that is replacing htough :)
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<enebo> lopex: if the lazy expr is calling a db then that is super cheap if you do not need to evaluate it ever
<enebo> lopex: actually it is perfect for the debugging scenario in general
<lopex> enebo: sure
<lopex> but not cheap in general case
<enebo> lopex: but I was not serious
<enebo> lopex: yeah I think it is a hook to give an option with a price
<enebo> lopex: sounds like all of Scala requires you to know the cost/benefit
<enebo> lopex: which I suppose is true of most languages
<enebo> heh fun generated code
mister_solo has quit [Ping timeout: 246 seconds]
<lopex> oh, the decompiler ?
<enebo> yeah
<enebo> lopex: can scala detect pure functions?
<lopex> lazy fields compile to extra volatile ones afaik
<lopex> enebo: ultra rudimentatily
<lopex> useless
<enebo> lopex: for pure-uses all this synchronization could go away and even become static methods
<lopex> you'd need an effect tracking system
<lopex> either via IO monad or uniquness types
<enebo> lopex: I have been thinking about this as I slowly read this haskell book I have :)
<enebo> lopex: I have been reading a few pages here and there since last fall
<enebo> lopex: tracking effects has a lot of interesting properies
mkristian has quit [Ping timeout: 245 seconds]
<lopex> enebo: referential transparency let's you make optimizations you can dream of unlike in other languages
rsim has joined #jruby
<lopex> haskell can do lots of stuff eagerly, because it know they wont side effect
<lopex> *knows
<chrisseaton> lopex: theoretically we should able to do that all dynamically as well - maybe not yet in practice though
<lopex> chrisseaton: within boundaries I know
<lopex> chrisseaton: but that's lots of special casing
<chrisseaton> the benefit of doing it dynamically is that as you do more optimisations, more things before referentially transparent
camlow3__ has quit [Remote host closed the connection]
<chrisseaton> eg + is not ref transparent in Ruby, as + could be redefined, but if we speculate on what + is, it does become ref transparent
bbrowning is now known as bbrowning_away
<lopex> right
dinfuehr has quit [Remote host closed the connection]
<enebo> chrisseaton: for me it is a matter or how long it takes to acculmulate that knowledge and at what price to gather it
<lopex> again, persistent "IR" might help
<chrisseaton> I was talking to someone on HN saying that JITs must be fast - if you run an app all day every day, who cares if it takes even 5 mins to achieve full speed
<chrisseaton> HFTs start their JVMs an hour before trading and run simulated data through them to warm them up
<enebo> our profiling experiments were very rudimentary but far from free…I guess the benefits may end up paying for it. At least I sure hope so :)
<chrisseaton> (not saying Truffle takes anything like 5 mins to reach full speed)
insidious has quit [Quit: Textual IRC Client: www.textualapp.com]
<enebo> chrisseaton: I don’t disagree with that but you would be surprised how many people said they did that with us and eventually got sick of it
<enebo> chrisseaton: on one project they were warming up 100k requests in a webapp to warm up
<enebo> chrisseaton: this was a while ago and we and JVM warm up better for us now
<enebo> chrisseaton: It also was Niagra which was the wrong hardware for Ruby/Rails
<lopex> chrisseaton: I guess with speculating you could even do some rudimentary stream fusions
<enebo> but I do agree for something which runs all the time some up front warmup should not be a big deal…
<lopex> chrisseaton: I cant find it atm, but afair there was an ocaml lens implementation which optimized everything into mutable records
<enebo> lunch
<chrisseaton> lopex: that must have had special compiler support?
<lopex> chrisseaton: I cant find it it seems now
<lopex> chrisseaton: but I would suspect
<lopex> given deep nesting and composition the optimizations would have to be quite smart
elia has quit [Quit: Computer has gone to sleep.]
bzb has joined #jruby
bzb has quit [Read error: Connection reset by peer]
<chrisseaton> I know Peyton Jones's work on stream fusion
mkristian has joined #jruby
Aethenelle has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
CustosLimen has quit [Ping timeout: 246 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 3 new commits to truffle-head: http://git.io/vUHEk
<JRubyGithub> jruby/truffle-head c966b40 Chris Seaton: [Truffle] Switch jt to use the mvnw wrapper.
<JRubyGithub> jruby/truffle-head b510646 Chris Seaton: Merge branch 'master' into truffle-head
<JRubyGithub> jruby/truffle-head 56ca99e Chris Seaton: [Truffle] Remove workaround needed for not being able to load multiple C extensions.
JRubyGithub has left #jruby [#jruby]
skade has joined #jruby
bbrowning_away is now known as bbrowning
lance|afk is now known as lanceball
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
djbkd has joined #jruby
mister_solo has joined #jruby
shellac has joined #jruby
marr has quit [Ping timeout: 246 seconds]
djellemah__ has quit [Ping timeout: 256 seconds]
x1337807x has joined #jruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #jruby
subbu is now known as subbu|lunch
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #jruby
r0bby_ has joined #jruby
robbyoconnor has quit [Ping timeout: 256 seconds]
mister_s_ has joined #jruby
mister_solo has quit [Ping timeout: 250 seconds]
x1337807x has quit [Ping timeout: 265 seconds]
mister_s_ has quit [Ping timeout: 264 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian closed issue #2897: SSL Cert issue on 1.7.* http://git.io/vJmgV
JRubyGithub has left #jruby [#jruby]
r0bby_ has quit [Quit: Konversation terminated!]
marr has joined #jruby
mjelen has quit [Ping timeout: 244 seconds]
mjelen has joined #jruby
dinfuehr has joined #jruby
chamila has quit [Quit: Page closed]
colinsurprenant has quit [Quit: colinsurprenant]
x1337807x has joined #jruby
x1337807x has quit [Max SendQ exceeded]
shellac has quit [Quit: Computer has gone to sleep.]
x1337807x has joined #jruby
x1337807x has quit [Max SendQ exceeded]
djbkd has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
x1337807x has joined #jruby
subbu|lunch is now known as subbu
djbkd has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] dzjuck closed issue #2925: Object became nil http://git.io/vUc1b
JRubyGithub has left #jruby [#jruby]
cremes has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cremes has joined #jruby
bbrowning is now known as bbrowning_away
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] azolotko opened pull request #2941: DateTime.iso8601 fails with an error if a second fraction is present (jruby-1_7...2883-iso8601-sec-fraction) http://git.io/vUQbQ
subbu has quit [Ping timeout: 255 seconds]
enebo has joined #jruby
elia has joined #jruby
<enebo> lopex: biere du garde?
<lopex> yeah
<enebo> lopex: some times
<lopex> in general in prefer bitterness
subbu has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/vU7UM
<JRubyGithub> jruby/truffle-head 2fe04df Chris Seaton: [Truffle] Add back the possibility of substituting a stream for stdout.
JRubyGithub has left #jruby [#jruby]
shellac has joined #jruby
codefinger has quit [Quit: Leaving...]
vikaton has joined #jruby
dinfuehr has quit [Remote host closed the connection]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/vU7mW
<JRubyGithub> jruby/master 6dce068 Benoit Daloze: [Truffle] Define Rubinius::FFI::Pointer in CoreLibrary to set allocator.
JRubyGithub has left #jruby [#jruby]
dinfuehr has joined #jruby
pietr0 has joined #jruby
dinfuehr has quit [Ping timeout: 258 seconds]
cremes has quit [Quit: cremes]
skade has joined #jruby
blaines has joined #jruby
baroquebobcat has quit [Read error: Connection reset by peer]
baroquebobcat has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vU7ur
<JRubyGithub> jruby/master 649ec1b Kevin Menard: [Truffle] Don't try to require libraries at init from IR in Truffle mode.
JRubyGithub has left #jruby [#jruby]
<rtyler> mkristian: ping
<mkristian> hi
baroquebobcat_ has joined #jruby
<rtyler> just seeing if you're here, you might be able to help blaines with an embedding question he's been asking me about
<rtyler> he's slowly learning that I know nothing
<blaines> Hah
<blaines> Well I'm putting together some data real quick
<mkristian> :)
<blaines> @mkristian @headius I have a self-executing jar built with the jruby-gradle project, my load paths are all setup correctly, but Gem (rubygems) operations still are using system paths. Have a look at https://gist.github.com/blaines/738beab38b8dcf02df15
baroquebobcat has quit [Ping timeout: 264 seconds]
baroquebobcat_ is now known as baroquebobcat
<blaines> Is that expected? I'd expect Gem.bindir to be the jar's bin dir
<lopex> jeremyevans: would you mind any pr's adding opts for Model#db_schema so one can pass database schema there ?
<mkristian> blaines, the LOAD_PATH shows me that all gems are found on the filesystem and not inside the jar. in this sense the Gem.bindir follows the same pattern
<lopex> jeremyevans: more precisely to the part db.schema(dataset, :reload=>reload in get_db_schema
<blaines> oh yeah I see that
<mkristian> blaines, from the env part GEM_PATH and GEM_HOME point to the filesystem as well.
<blaines> am I building my jar wrong here?
<mkristian> blaines, may not but I do not know how the jruby-gradle-jar-plugin sets GEM_HOME/GEM_PATH - let me check
<blaines> Okay. I'm rebuilding it and trying a few things myself
lanceball is now known as lance|afk
tcrawley is now known as tcrawley-away
<mkristian> blaines, I do not think that the launcher of the jar sets any GEM_PATH or GEM_HOME - at least I can not find anything
<blaines> Is that something that we should change?
<mkristian> I am at the moment working on the version 0.2.0 of this plugin which will take care of this
<blaines> oh okay that's good :)
Aethenelle has quit [Quit: Aethenelle]
<blaines> Do me a favor and keep me posted, and let me know if you need any help, testing or otherwise
<mkristian> blaines, will do.
<blaines> :)
dfr|work has quit [Remote host closed the connection]
shellac has quit [Quit: Computer has gone to sleep.]
colinsurprenant has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
elia has quit [Quit: Computer has gone to sleep.]
mitchellhenke has joined #jruby
mitchellhenke has quit [Client Quit]
shellac has joined #jruby
DomKM has joined #jruby
pietr0 has quit [Ping timeout: 245 seconds]
elia has joined #jruby
enebo has quit [Quit: enebo]
<jeremyevans> lopex: What's the use case? db_schema is mutable, you can always just modify it to change things
<lopex> jeremyevans: I claim that's a sequel inconsistency :) on one hand it obeys the current schema when looking for model meta but ignores that when the user asks for sb_schema
<lopex> jeremyevans: it comes up on databases that need the schema to be set eplicitly always
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/vU7pt
<JRubyGithub> jruby/truffle-head f60bfba Chris Seaton: Merge branch 'master' into truffle-head
JRubyGithub has left #jruby [#jruby]
<jeremyevans> lopex: I'm not sure I follow, it should use the same code path in both cases. Are you explicitly setting the schema when creating the model classes?
<jeremyevans> lopex: e.g. class Foo < Sequel::Model(:schema__table)
<lopex> jeremyevans: no, because when I ask for some_model.db_schema I cant force that schema to be used
<lopex> jeremyevans: well, that also comes on jdbc/as400 so the might be issues I'm not aware of
<jeremyevans> lopex: But Sequel basically calls db_schema internally to get the metadata, so I'm not sure how it can give you two separate results. Can you paste a self contained example showing the issue that I can play with?
<lopex> so I'm not 100% positive on that
<lopex> ok db_schema calls get_db_schema right ?
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 3 new commits to master: http://git.io/vU7h4
<JRubyGithub> jruby/master f76b3fc Benoit Daloze: [Truffle] Set the logicalClass of class Class more cleanly....
<JRubyGithub> jruby/master f9fd23c Benoit Daloze: [Truffle] Separate construction from initialization for RubyContext.
<JRubyGithub> jruby/master 99bcc89 Benoit Daloze: [Truffle] Make a node to load required libraries with -r....
JRubyGithub has left #jruby [#jruby]
<lopex> that in turn calls db.schema
<jeremyevans> lopex: correct
<lopex> db.schema expect te whole opts (including current schema)
<lopex> and that's what I need
<jeremyevans> lopex: Well, db.schema is called with the dataset, which should have the schema as part of the table name
<lopex> get_db_schema does only db.schema(dataset, :reload=>reload)
<lopex> jeremyevans: oh I know
<lopex> jeremyevans: looks like my case is true only for jdbc
<lopex> but still
<lopex> jeremyevans: it boils down to def get_tables(type, opts) in jdbc.rb
<lopex> the if schema = opts[:schema]
<jeremyevans> lopex: That's for db.tables, not for db.schema though
<lopex> jeremyevans: yes
<lopex> jeremyevans: but that's related
<jeremyevans> lopex: how? Are you automatically creating models based on the output of db.tables?
<lopex> in general the problem is this: I can't specify a schema when calling Model#db_schema which in turn does that
<jeremyevans> lopex: But you aren't supposed to need to. The model's table should be schema-qualified, and db.schema should pick the schema up from that.
<lopex> jeremyevans: turnes out that as/400 consides default schema and schema qualification differently :)
<lopex> the as400 part cold be modified if only you could pass the opts
<lopex> *could
shellac has quit [Quit: Computer has gone to sleep.]
<lopex> jeremyevans: anyways I can post a hack that works
<jeremyevans> lopex: Sure, that would be helpful
<lopex> where default_schema is a class accessor for database
<lopex> so now I'm passing it globally
shellac has joined #jruby
<lopex> the opts[:schema] is already lost since its not passed through
vikaton has quit []
skade has quit [Quit: Computer has gone to sleep.]
<lopex> jeremyevans: keep in mind hte use case is Model#db_schema
skade has joined #jruby
<lopex> I want db_schema for a specific schema
<lopex> (schema being the current db schema)
<lopex> doh, those are confusing
<lopex> oh, look at current schema in db2 terms as of current database
<lopex> jeremyevans: ^^
<lopex> I know that;s fucked, but that's the way it is
<lopex> similar to creator
<lopex> I guess those are mostly ibm related inventions
skade has quit [Ping timeout: 245 seconds]
<jeremyevans> lopex: reviewing now
<jeremyevans> lopex: What version of Sequel are you running?
colinsurprenant has quit [Quit: colinsurprenant]
<lopex> jeremyevans: newest
<jeremyevans> lopex: Where is default_schema coming from?
<lopex> jeremyevans: class Sequel::Database; attr_accessor :default_schema ...
<jeremyevans> lopex: ah, something you are adding yourself
<lopex> jeremyevans: yeah, consider it being global now
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vU5Io
<JRubyGithub> jruby/master 5ed91b4 Kevin Menard: Create more compact children lists for Nodes with a single child.
JRubyGithub has left #jruby [#jruby]
djbkd has quit [Read error: Connection reset by peer]
<jeremyevans> lopex: def DB.schema(table, opts={}) super(table, opts.merge(:schema=>default_schema) end
<lopex> jeremyevans: I need to do that from Model#db_schema
<jeremyevans> lopex: I'm not sure it's worth changing the Model API to work around schema issues in rarely used databases, especially if there is a simple workaround
<lopex> jeremyevans: yeah, I know, I realize my use case is a bit specific
<lopex> jeremyevans: anyways if you want I can shed some light what I'm doing
<lopex> jeremyevans: I'm scanning a dir for models
<jeremyevans> lopex: sure, that would be helpful
subbu has quit [Ping timeout: 256 seconds]
<lopex> jeremyevans: given a model I ask for a schema
<lopex> jeremyevans: that model might containt an info on a schema it's in
<lopex> and now I'm stuck
<lopex> that's there the connection of Model#b_schema to db_schema current schema comes from
<jeremyevans> Is there a reason the models can't just specify the schema they are in, instead of relying on some default schema?
mkristian has quit [Ping timeout: 256 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:dbf7a23 by Chris Seaton): The build was broken. (http://travis-ci.org/jruby/jruby/builds/62623020)
travis-ci has left #jruby [#jruby]
<lopex> jeremyevans: as sequel doc says when you inherit from Sequel::Model it's already too late - that's one thing
<lopex> jeremyevans: second, I'd be really happy to be able to do that
<jeremyevans> lopex: Not if you specify it when creating, ala class Foo < Sequel::Model(:schema__table)
djbkd has joined #jruby
<lopex> jeremyevans: right that works
<lopex> jeremyevans: but I dont want to scatter the code with :"#{schema}__name"
<lopex> especially when it's the default
darrickw has joined #jruby
<jeremyevans> lopex: If you are only dealing with a single schema, is there a reason that overriding DB.schema and calling super wouldn't work for you?
<lopex> jeremyevans: right, I want the default schema mostly, back fallback in neccesarily
<lopex> *when
<lopex> jeremyevans: but in the middle I want to ask explicitly for models schema to process it
<lopex> jeremyevans: too bad I cant post a good env for that
<jeremyevans> lopex: Maybe adding a Model.db_schema_opts method that would currently return {:reload=>reload} may work, then you could just override that
<lopex> jeremyevans: for now I need that hack and DB.default_schema = :somechema and DB << "SET SCHEMA = someschema" to work
<lopex> bacause sequel doesnt distinguesh DDL default schema and DML default schema
skade has joined #jruby
<lopex> jeremyevans: I still need the opts (with schema) from model to db to be passed
<jeremyevans> lopex: wouldn't adding a Model.db_schema_opts method allow for that?
<jeremyevans> lopex: i.e. model calls db.schema(dataset, db_schema_opts)
<lopex> jeremyevans: if it propages to db.schema the it would be ok
<jeremyevans> lopex: OK. Try that in your environment and see if it works, and if so, send in a pull request for it.
djbkd has quit [Remote host closed the connection]
<lopex> jeremyevans: btw, thank you for your time, it's been a bit of it!
drbobbeaty has joined #jruby
skade has quit [Ping timeout: 264 seconds]
<lopex> jeremyevans: then you would accept the right ?
<lopex> *that
shellac has quit [Quit: Computer has gone to sleep.]
KevinCorcoran has quit [Remote host closed the connection]
KevinCorcoran has joined #jruby
cremes has joined #jruby
<jeremyevans> lopex: yep, I would accept that. Would be rude to ask you to send a pull request and then not accept it :)
djbkd has joined #jruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #jruby