HAbif has quit [Remote host closed the connection]
pietr0 has quit [Quit: pietr0]
<chrisseaton> is headius still around?
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 3 new commits to master: http://git.io/vks32
<JRubyGithub> jruby/master 7cd6eec Chris Seaton: [Truffle] Handling of exceptions in at_exit
<JRubyGithub> jruby/master a3bc72e Chris Seaton: [Truffle] Some more of Thread#abort_on_exception
<JRubyGithub> jruby/master 44fa539 Chris Seaton: [Truffle] Exception.message isn't necessarily a String.
JRubyGithub has left #jruby [#jruby]
headius2 has joined #jruby
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nateberkopec has joined #jruby
headius2 has quit [Ping timeout: 272 seconds]
benlovell has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vksZs
<JRubyGithub> jruby/master fb73a1a Brandon Fish: [Truffle] Add Process.euid
JRubyGithub has left #jruby [#jruby]
benlovell has quit [Ping timeout: 258 seconds]
pjammer has joined #jruby
marr has quit []
e_dub has quit [Quit: Leaving]
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mrmargolis has joined #jruby
<asarih> headius: sorry for the delay. I don't think the container VM corresponds to any EC2 size.
<asarih> headius: it's carved up from a bigger instance, as I understand it.
e_dub has joined #jruby
nateberkopec has quit [Quit: Leaving...]
sdogruyol has joined #jruby
camlow325 has quit [Ping timeout: 246 seconds]
sdogruyol has quit [Ping timeout: 240 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/vksE1
<JRubyGithub> jruby/truffle-head e13ed00 Chris Seaton: Merge branch 'master' into truffle-head...
JRubyGithub has left #jruby [#jruby]
<mjc_> huh Fixnum#<=> is 26% of my profile somehow
<mjc_> from .cover? in range
<mjc_> yet it's very fast in an isolated benchmark
<mjc_> whoop, ran benchmark on MRI
<mjc_> darn ruby switchers, do what I mean
<mjc_> still fast on an isolated test
nateberkopec has joined #jruby
james__ has quit [Quit: Connection closed for inactivity]
nateberkopec has quit [Quit: Leaving...]
tcrawley-away is now known as tcrawley
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:7c1f6e5 by Kevin Menard): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64275663)
travis-ci has left #jruby [#jruby]
blaines has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tcrawley is now known as tcrawley-away
nirvdrum has joined #jruby
baroquebobcat has quit [Quit: baroquebobcat]
nateberkopec has joined #jruby
nirvdrum has quit [Ping timeout: 272 seconds]
mbj has quit [Ping timeout: 252 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:7c1f6e5 by Kevin Menard): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64275663)
travis-ci has left #jruby [#jruby]
nateberkopec has quit [Quit: Leaving...]
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #jruby
mcclurmc_ has joined #jruby
mcclurmc has quit [Read error: Connection reset by peer]
sdogruyol has joined #jruby
nirvdrum has joined #jruby
sdogruyol has quit [Ping timeout: 256 seconds]
nirvdrum has quit [Ping timeout: 265 seconds]
mrmargolis has quit []
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:8004916 by Brandon Fish): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64275879)
travis-ci has left #jruby [#jruby]
nirvdrum has joined #jruby
benlovell has joined #jruby
benlovell has quit [Ping timeout: 265 seconds]
colinsurprenant has joined #jruby
djbkd has quit [Quit: My people need me...]
nirvdrum has quit [Quit: Leaving]
tcrawley-away is now known as tcrawley
KevinCorcoran has quit [Remote host closed the connection]
tcrawley is now known as tcrawley-away
bga571 has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vkGeZ
<JRubyGithub> jruby/master 7831586 Brandon Fish: [Truffle] Add Process.{euid,uid}
JRubyGithub has left #jruby [#jruby]
bjfish2 has quit [Quit: bjfish2]
colinsurprenant has quit [Quit: colinsurprenant]
mcclurmc_ has quit [Remote host closed the connection]
djbkd has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:8004916 by Brandon Fish): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64275879)
travis-ci has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:6c0982f by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64277972)
travis-ci has left #jruby [#jruby]
djbkd has quit [Remote host closed the connection]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:6c0982f by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64277972)
travis-ci has left #jruby [#jruby]
e_dub has quit [Quit: Leaving]
benlovell has joined #jruby
sdogruyol has joined #jruby
e_dub has joined #jruby
benlovell has quit [Ping timeout: 245 seconds]
sdogruyol has quit [Ping timeout: 272 seconds]
KevinCorcoran has joined #jruby
sdogruyol has joined #jruby
KevinCorcoran has quit [Ping timeout: 258 seconds]
skade has joined #jruby
skade has quit [Client Quit]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:6c0982f by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64277972)
travis-ci has left #jruby [#jruby]
rsim has joined #jruby
dinfuehr has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:d5252c6 by Brandon Fish): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64289326)
travis-ci has left #jruby [#jruby]
rsim has quit [Quit: Leaving.]
skade has joined #jruby
projectodd-ci has quit [Remote host closed the connection]
benlovell has joined #jruby
<kares> mjc_: najs find ... keep em coming!
projectodd-ci has joined #jruby
rsim has joined #jruby
travis-ci has joined #jruby
<travis-ci> kares/jruby (jruby-1_7:45a6459 by kares): The build has errored. (http://travis-ci.org/kares/jruby/builds/64232080)
travis-ci has left #jruby [#jruby]
skade has quit [Quit: Computer has gone to sleep.]
elia has joined #jruby
travis-ci has joined #jruby
<travis-ci> kares/jruby (jruby-1_7:67dbcbd by kares): The build has errored. (http://travis-ci.org/kares/jruby/builds/64235348)
travis-ci has left #jruby [#jruby]
phlebas has joined #jruby
sdogruyol has quit [Quit: Leaving...]
drbobbeaty has joined #jruby
vtunka has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:a25eb93 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64293367)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 1 new commit to master: http://git.io/vkGpu
<JRubyGithub> jruby/master bc1469b Christian Meier: [build] use none yanked ruby-maven
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/vkZfW
<JRubyGithub> jruby/master 6b79266 Benoit Daloze: [Truffle] Let Maven or javac autodiscover our annotation processor.
JRubyGithub has left #jruby [#jruby]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drbobbeaty has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has joined #jruby
marr has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
rsim has quit [Quit: Leaving.]
travis-ci has joined #jruby
<travis-ci> kares/jruby (jruby-1_7:15e425e by kares): The build has errored. (http://travis-ci.org/kares/jruby/builds/64389183)
travis-ci has left #jruby [#jruby]
<kares> cancelled some master builds as the queue kept growing due timeouts ... travis-ci still has issues ;(
skade has joined #jruby
thsig has joined #jruby
benlovell has quit [Ping timeout: 256 seconds]
skade has quit [Quit: Computer has gone to sleep.]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 2 new commits to master: http://git.io/vkZCU
<JRubyGithub> jruby/master d1267c9 Benoit Daloze: [Truffle] Add boxUntil(Object array, int length)....
<JRubyGithub> jruby/master 3a98013 Benoit Daloze: [Truffle] JT: Allow passing options to the MRI test runner.
JRubyGithub has left #jruby [#jruby]
benlovell has joined #jruby
yosafbridge has quit [Ping timeout: 272 seconds]
vtunka has quit [Quit: Leaving]
yosafbridge has joined #jruby
drbobbeaty has joined #jruby
<kares> mkristian: while travis-ci at least runs smt (on master) it's still hitting the proxy : https://travis-ci.org/jruby/jruby/jobs/64383654#L1859
yosafbridge has quit [Ping timeout: 248 seconds]
marr has quit []
yosafbridge has joined #jruby
thsig has quit [Remote host closed the connection]
yosafbridge has quit [Excess Flood]
yosafbridge has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/vkZoE
<JRubyGithub> jruby/master 9d0feae Benoit Daloze: [Truffle] Allow the -d flag to work to some extent.
JRubyGithub has left #jruby [#jruby]
yosafbridge has quit [Ping timeout: 248 seconds]
mister_solo has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:bc1469b by Christian Meier): The build was canceled. (http://travis-ci.org/jruby/jruby/builds/64383653)
travis-ci has left #jruby [#jruby]
<kares> tcrawley-away: the RG-proxy is working but seems terribly slow ... been downloading a 8M file locally for 3 minutes ... I still only got half ;(
yosafbridge has joined #jruby
yosafbridge has quit [Excess Flood]
yosafbridge has joined #jruby
yosafbridge has quit [Excess Flood]
pjammer has joined #jruby
yosafbridge has joined #jruby
yosafbridge has quit [Excess Flood]
yosafbridge has joined #jruby
skade has joined #jruby
yosafbridge has quit [Excess Flood]
yosafbridge has joined #jruby
benlovell has quit [Ping timeout: 240 seconds]
mister_solo has quit [Ping timeout: 276 seconds]
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
thsig has joined #jruby
benlovell has joined #jruby
mister_solo has joined #jruby
benlovell has quit [Ping timeout: 265 seconds]
cremes has quit [Remote host closed the connection]
cremes has joined #jruby
Guest29816 has joined #jruby
pjammer has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:6b79266 by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64385448)
travis-ci has left #jruby [#jruby]
mbj has joined #jruby
benlovell has joined #jruby
mister_solo has quit [Ping timeout: 250 seconds]
nateberkopec has joined #jruby
nirvdrum has joined #jruby
ponga has joined #jruby
sluukkonen has joined #jruby
cpuguy83 has quit [Quit: ZNC - http://znc.in]
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cpuguy83 has joined #jruby
cpuguy83_ has joined #jruby
cpuguy83 has quit [Quit: ZNC - http://znc.in]
Guest29816 has quit [Quit: Leaving]
rsim has joined #jruby
mike has joined #jruby
mike is now known as Guest8804
cpuguy83_ has quit [Ping timeout: 246 seconds]
cpuguy83 has joined #jruby
benlovell has quit [Ping timeout: 252 seconds]
bjfish2 has joined #jruby
nateberkopec has quit [Quit: Leaving...]
tcrawley-away is now known as tcrawley
Guest8804 has quit [Quit: Leaving]
mike___1234 has joined #jruby
vtunka has joined #jruby
headius2 has joined #jruby
<headius2> good morning
benlovell has joined #jruby
lance|afk is now known as lanceball
mkristian has joined #jruby
benlovell has quit [Ping timeout: 258 seconds]
benlovell has joined #jruby
<mkristian> kares, yes, the build still hits the TB proxy. to avoid the TB I still need to upload the gems for the tests: rspec mainly. I started a while ago to get the build depending on maven-central only.
<tcrawley> kares: mkristian: is there any way to determine the ip addr of the travis box? I can check to see if it has been blacklisted by the firewall rules
<mkristian> I also made a ticket at travis GH to get the external IP to allow it for TB server.
<tcrawley> ah
<mkristian> yesterday I also asked on IRC but no answer
<tcrawley> is travis on ec2?
<tcrawley> kares: is the proxy still slow for you locally?
<mkristian> I also made a ticket to ask them to add a rubygems proxy to their maven mirrors. that would help in general. can't tell you anything about travis really
mister_solo has joined #jruby
<mkristian> tcrawley, the proxy sometime produces redirects, sometimes is slow, sometimes OK. but overall it feels normal to me - locally
Aethenelle has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:6b79266 by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64385448)
travis-ci has left #jruby [#jruby]
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
<tcrawley> mkristian: kares: I just unblocked the only ec2 ip that was blocked yesterday - let's see if that helps the travis builds
<tcrawley> hmm, now I have 821 connections from that ip in TIME_WAIT
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vkncK
<JRubyGithub> jruby/master 5d9716c Brandon Fish: [Truffle] Add Process.ppid
JRubyGithub has left #jruby [#jruby]
mkristian has quit [Ping timeout: 264 seconds]
mrmargolis has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vknWr
<JRubyGithub> jruby/master acfc717 Brandon Fish: [Truffle] Add Process.setsid
JRubyGithub has left #jruby [#jruby]
mkristian has joined #jruby
mister_s_ has joined #jruby
<headius2> ugh...thought I was getting close to fixing the Windows gets issue and now I'm getting some obscure Microsoft error on read
mister_solo has quit [Ping timeout: 240 seconds]
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
<headius2> why does Windows take 30 seconds to unpack a zip file I can unpack in 1 second on OS X
<headius2> some things about this OS just baffle me
nateberkopec has joined #jruby
mrmargolis has quit [Remote host closed the connection]
mrmargolis has joined #jruby
mister_s_ has quit [Quit: So long, and thanks for all the fish!]
imperator2 has joined #jruby
mister_solo has joined #jruby
phlebas has quit [Ping timeout: 264 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vkng9
<JRubyGithub> jruby/master e34bf1b Brandon Fish: [Truffle] Add Process.gid=
JRubyGithub has left #jruby [#jruby]
mrmargol_ has joined #jruby
<headius2> hey, can someone on a unix system try jruby -Xnative.enabled=false -e gets
rsim has quit [Read error: Connection reset by peer]
<headius2> seems the problem on Windows is that the unwrapped stdin FileChannel is not directly callable
mrmargolis has quit [Ping timeout: 252 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/vknVv
<JRubyGithub> jruby/master 6ab4b4a Benoit Daloze: [Truffle] Provide a proper MethodDeclarationContext for the simple eval()....
JRubyGithub has left #jruby [#jruby]
mcclurmc has joined #jruby
yfeldblum has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius created windows-fixes (+1 new commit): http://git.io/vknrD
<JRubyGithub> jruby/windows-fixes ead7549 Charles Oliver Nutter: Fix gets on Windows....
JRubyGithub has left #jruby [#jruby]
<headius2> well it seems it's working on Windows...swapping back into OS X to confirm things didn't break there
<headius2> brb
headius2 has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:3a98013 by Benoit Daloze): The build failed. (http://travis-ci.org/jruby/jruby/builds/64393015)
travis-ci has left #jruby [#jruby]
benlovell has quit [Ping timeout: 272 seconds]
phlebas has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to truffle-head: http://git.io/vkn60
<JRubyGithub> jruby/truffle-head e26c54f Benoit Daloze: Merge remote-tracking branch 'origin/master' into truffle-head
JRubyGithub has left #jruby [#jruby]
benlovell has joined #jruby
havenwood has joined #jruby
joast has quit [Quit: Leaving.]
<nirvdrum> headius: I don't get any errors on Linux.
joast has joined #jruby
benlovell has quit [Ping timeout: 256 seconds]
enebo has joined #jruby
subbu has joined #jruby
Aethenelle has quit [Ping timeout: 272 seconds]
mister_solo has quit [Ping timeout: 265 seconds]
<kares> tcrawley: mkristian much faster now locally ... thanks
<kares> I believe travis-ci is on EC2 ... so those connections might be coming from it, right?
benlovell has joined #jruby
<ale_> hello, if i start application from jruby script using Spoon.spawnp how can I grab the tty(?) so that I can send SIGINT through to the spawned process, currently I have to run two jruby processes and use Process.waitpid(Spoon.spawnp(...)) which reserves resources for no good reason because the first jruby process is waiting. any help is appreciated
mike___1234 has quit [Quit: Leaving]
yfeldblum has quit [Remote host closed the connection]
<headius> nirvdrum: ok
<headius> thanks
mister_solo has joined #jruby
<headius> tcrawley, kares: travis is on EC2
<headius> I'm not sure which region
<headius> ale_: you may have better luck using the built-in spawn with JRuby 9k
<headius> it uses real native process spawning and tty inheritance etc
<headius> on JRuby 1.7 we were a bit more limited in how interactive subprocesses could be and tty was pretty hit or miss
benlovell has quit [Ping timeout: 272 seconds]
<ale_> headius: ok, nice to hear
colinsurprenant has joined #jruby
deobalds has joined #jruby
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vknNG
<JRubyGithub> jruby/master 454db3a Chris Seaton: [Truffle] Fix Exception#to_s
JRubyGithub has left #jruby [#jruby]
<chrisseaton> headius: I've been trying to test the minitest in stdlib recently, and I don't think there's any tests for it - test/mri/minitest tests test/lib/minitest, not stdlib minitest, and they're different versions - does that sound crazy or is it quite possible that it's like that
<tcrawley> kares: I didn't do anything to speed it up for you locally, but you are welcome :)
<tcrawley> all I did was unblock the ec2 ip, let me know if tests are still failing with timeouts to the proxy
<kares> I see ... lets check how travis-ci is doing than
<kares> it's greenish now ... all should be fine, thanks again tcrawley :)
colinsurprenant_ has joined #jruby
colinsurprenant has quit [Ping timeout: 258 seconds]
colinsurprenant_ is now known as colinsurprenant
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] pinnamur opened issue #2998: Regular expression hang with string containing umlaut characters http://git.io/vknjd
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/vkcez
<JRubyGithub> jruby/master 61ad8cf Benoit Daloze: [Truffle] Fix handling of CoreMethod.constructor....
JRubyGithub has left #jruby [#jruby]
pjammer has joined #jruby
<kares> mkristian: wouldn't the travis cache help not to put too much load on TB, do you know why it got disabled ?
<mkristian> it got corrupted over time
<mkristian> it looked like concurrency issues with the cache
<kares> ah :( ... k, just asking - hopefully RG-proxy will run fine for a while
phlebas has quit [Ping timeout: 264 seconds]
<mkristian> I think the better approach is to add the rubygems.org to there nexus instance which maven uses as mirror
<kares> it's just scary how much jruby's projects now depends on it ...
<mkristian> well, for jruby releases on master I will mirror the gems on maven-central
<mkristian> but other projects . . . I do not know
<nirvdrum> kares, mkristian: Now that jruby-openssl is out of the main repo, any thoughts on how I can set a breakpoint from within IDEA?
<kares> nirvdrum: nope
<nirvdrum> It's not mentioned in maven, so it doesn't appear on the classpath.
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vkcUA
<JRubyGithub> jruby/master f37dc99 Chris Seaton: [Truffle] Fix another Exception#to_s spec.
JRubyGithub has left #jruby [#jruby]
<mkristian> I just send an email request to oss.sonatype.org and ask them to setup a proxy there.
<kares> still, have not booted IDEA probably in years and counting :)
<nirvdrum> I'll settle for other debug options ;-)
<kares> mkristian: but that won't be the same as TB right? ... what kind of proxy you mean - a proxy proxying TB?
<mkristian> nirvdrum, breakpoint inside BC ? just add BC to your classpath
<headius> mkristian, kares: the maven cache is being repaired in travis but I don't know ETA
<mkristian> kares, proxy to rubygems.org producing a maven repo
<mkristian> nexus server has a plugin for it
<nirvdrum> mkristian: I need to step into org/jruby/ext/openssl/X509Store.java and do so from a remote debug session.
<kares> I see ... that's kind of a infra change ... I wonder if they do setup plugins based on user requests
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:9d0feae by Benoit Daloze): The build failed. (http://travis-ci.org/jruby/jruby/builds/64399636)
travis-ci has left #jruby [#jruby]
<mkristian> oss.sonatype.org has plenty of repo for various projects - I have to optimitic and try
<kares> mkristian: definitely ... I'm sure it will happen!
elia has quit [Read error: No route to host]
elia_ has joined #jruby
<headius> nirvdrum: I use intellij remote debugging and add classpath items manually if necessary
<headius> should be possible to point it at jruby-openssl sources
nateberkope has joined #jruby
<kares> nirvdrum: there's a X.509 cert regression fix on master but I guess you're hunting for a different beast :)
<headius> or debug from within jruby-openssl project
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/vkctC
<JRubyGithub> jruby/master 3a5dda7 Charles Oliver Nutter: Fix gets on Windows. Fixes #2959...
JRubyGithub has left #jruby [#jruby]
<nirvdrum> Yeah, I might have to do that. I was hoping this would be simpler. I tried adding the jar from the gem, but the line numbers are different.
nateberkopec has quit [Ping timeout: 244 seconds]
<kares> mkristian: wanted to ask you for some help on jruby-openssl's test (no hurries)
Aethenelle has joined #jruby
<mkristian> kares, please go ahead
<kares> with 1.7.20 it's picking up the packaged openssl from 1.7.20.jar instead of the one we're testing ;(
camlow325 has joined #jruby
<kares> tried updating the maven plugins ... but the integration tests only got "worse" if I recall right
<nirvdrum> I think the line numbers are different because the sources can't automatically download.
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
<mkristian> kares, picking the wrong jar is the reason travis is red ?
<kares> mkristian: yes
<mkristian> will look
<kares> you see that others are green
<nirvdrum> kares: I'm trying to track down a "the trustAnchors parameter must be non-empty" issue.
<kares> NameError: uninitialized constant OpenSSL::SSL::Session ... now actually does exists
<kares> but it's not loading the right jruby-openssl but the released one from 1.7.20
<kares> nirvdrum: good for you ... have not heard of it yet :)
skade has quit [Quit: Computer has gone to sleep.]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vkcm9
<JRubyGithub> jruby/master 2215b6d Chris Seaton: [Truffle] Process.setrlimit failures on Linux.
JRubyGithub has left #jruby [#jruby]
<nirvdrum> The Internet suggests it's a problem with the cacert file location.
<kares> mkristian: than there's also some issue with psych/jar-deps running against 9K that has been there a while https://travis-ci.org/jruby/jruby-openssl/jobs/64396398#L1025-L1026
<kares> guess that might go away with a new 9K release
thsig has quit [Remote host closed the connection]
subbu has quit [Remote host closed the connection]
<mkristian> kares, could be a maven plugin problem with psych gem
subbu has joined #jruby
iamjarvo has joined #jruby
KevinCorcoran has joined #jruby
rcvalle has joined #jruby
rsim has joined #jruby
KevinCorcoran has quit [Ping timeout: 256 seconds]
travis-ci has joined #jruby
<travis-ci> kares/jruby (jruby-1_7:15e425e by kares): The build failed. (http://travis-ci.org/kares/jruby/builds/64389183)
travis-ci has left #jruby [#jruby]
lanceball is now known as lance|afk
mrmargolis has joined #jruby
nateberkope has quit [Quit: Leaving...]
nateberkopec has joined #jruby
mrmargol_ has quit [Ping timeout: 246 seconds]
pietr0 has joined #jruby
marr has joined #jruby
baroquebobcat has joined #jruby
mbj has quit [Quit: leaving]
KevinCorcoran has joined #jruby
<lopex> 2$ or something
<kares> nirvdrum: headius: JNR related q ... should work right - jruby-openssl should handle jnr's SocketChannel ?
<enebo> lopex: nice…no beer is 2$ in US :)
travis-ci has joined #jruby
<travis-ci> kares/jruby (jruby-1_7:15e425e by kares): The build failed. (http://travis-ci.org/kares/jruby/builds/64389183)
travis-ci has left #jruby [#jruby]
<lopex> enebo: it's a price of most cafted beers here
abargnesi has joined #jruby
skade has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:5d9716c by Brandon Fish): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64418660)
travis-ci has left #jruby [#jruby]
<lopex> enebo: very few exceed 4$ actually
<lopex> enebo: I wonder how hop freshness affects the final result
<lopex> since lots of hops are imported from the us
<enebo> lopex: most probably made with hop pellets
<enebo> lopex: which I think has longer shelf life maybe?
<lopex> enebo: what's the average low price for crafted beer in your area ?
<enebo> lopex: actually I did buy an individual bottle of something for a little over 2$ here just the other day
<lopex> I think interstate transport adds quite a bit ?
<enebo> lopex: so I guess perhaps I am not thinking about this right
<enebo> lopex: usually you buy in six packs so it muddles my conception of price
<lopex> oh, I dont
<enebo> lopex: well I try not to either
<abargnesi> hi folks, Is there a recommended way to provide a Java API over an existing mri-ruby library?
<enebo> lopex: but most stores do not sell singles
<lopex> enebo: hmm, even the local crafted beer number is huge here, so no sixpacks, too much of a choice
<enebo> lopex: I will try and take a picture of typical liquor store beer area next time I am around
havenwood has joined #jruby
<enebo> lopex: we have pretty large stores :)
<lopex> enebo: most beers I've had I had two of three times at most
<lopex> yeah
<lopex> or maybe I drink them not enough
<lopex> :)
<enebo> lunch afk a bit
<lopex> grr, cold time perf is becomming to show up
<lopex> can Class#>= be a perf issue ?
cprice404 has quit [Quit: Konversation terminated!]
mister_solo has quit [Ping timeout: 244 seconds]
mister_solo has joined #jruby
vtunka has quit [Quit: Leaving]
elia_ has quit [Quit: Computer has gone to sleep.]
mrmargol_ has joined #jruby
benlovell has joined #jruby
mrmargolis has quit [Ping timeout: 256 seconds]
benlovell has quit [Ping timeout: 245 seconds]
benlovell has joined #jruby
colinsurprenant_ has joined #jruby
colinsurprenant has quit [Ping timeout: 245 seconds]
colinsurprenant_ is now known as colinsurprenant
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
ponga has quit [Quit: Leaving...]
benlovell has quit [Ping timeout: 252 seconds]
tenderlove has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:acfc717 by Brandon Fish): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64419628)
travis-ci has left #jruby [#jruby]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lance|afk is now known as lanceball
jeremyevans has quit [Ping timeout: 265 seconds]
abargnesi has quit [Quit: WeeChat 1.2]
nateberkopec has quit [Quit: Leaving...]
nateberkopec has joined #jruby
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
colinsurprenant has quit [Ping timeout: 272 seconds]
Antiarc has quit [Ping timeout: 258 seconds]
djbkd has joined #jruby
colinsurprenant has joined #jruby
Antiarc has joined #jruby
pjammer has joined #jruby
blaines has joined #jruby
iamjarvo has joined #jruby
iamjarvo_ has joined #jruby
iamjarvo_ has quit [Max SendQ exceeded]
iamjarvo_ has joined #jruby
mister_solo has quit [Ping timeout: 246 seconds]
iamjarvo has quit [Ping timeout: 246 seconds]
blaines has quit [Ping timeout: 252 seconds]
<headius> anyone feels like implementing the rest of Socket::Option, go right ahead: https://github.com/jruby/jruby/issues/2997
<headius> looks like I stubbed out most of it at some point
<mkristian> kares, jruby-1.7.20 does not load the installed jruby-openssl and always uses the default gem from jruby. the difference to jruby-1.7.19 could be the different rubygems version coming with jruby
tenderlove has quit [Quit: Leaving...]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:e34bf1b by Brandon Fish): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64423539)
travis-ci has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> kares/jruby (jruby-1_7:67dbcbd by kares): The build has errored. (http://travis-ci.org/kares/jruby/builds/64235348)
travis-ci has left #jruby [#jruby]
skade has quit [Quit: Computer has gone to sleep.]
<kares> mkristian: not default gems again :( ... thought it's smt around the load service refactorings
<rtyler> mkristian: wanna take that on? (https://github.com/jruby/jruby/issues/2997)
tenderlove has joined #jruby
<nirvdrum> kares: I'm not sure how well the jnr classes play with nio.
<headius> jnr-enxio is the bridge from native IO to NIO
<headius> but it only supports unix
<nirvdrum> Nifty.
<mkristian> kares, no different rubygems version I am guessing. there was no load-service refactoring (not a big one I am aware of)
<nirvdrum> headius: So should https://github.com/jruby/jruby/issues/2992 work?
<headius> ah...well jossl probably needs to be modified to support UNIXSocket (from jnr-unixsocket, which uses jnr-enxio)
<kares> headius: nirvdrum: ... thought to give it a shot - seems like I might be able to get all from the UnixSocketChannel
<headius> I question why someone's using ssl over a unix socket, though
<headius> don't trust the kernel?
<nirvdrum> Heh.
<kares> headius: cause we can ... and we're Ruby-ists deal with it!
<headius> damn you rubyists!
<lopex> headius: equity
<kares> mkristian: ok thanks ... will let it smoke a while hoping for next RG to fix it ... if not might try to change how we test
benlovell has joined #jruby
<mkristian> kares, there will be fix for jruby-1.7.21 but 1.7.20 just does not work and will never work with any other jruby-openssl version as with the default gem
<headius> kares, nirvdrum: doco online seems to indicate that this is a particularly weird thing to do
<mkristian> kares, so you could skip this tests for 1.7.20
<mkristian> rtyler, why not
benlovell has quit [Ping timeout: 256 seconds]
blaines has joined #jruby
<headius> kares, nirvdrum: the twitterverse is having a good chuckle at the idea of SSL over a unix socket
<headius> I guess it should work based on the Ruby ossl API, but it's weeeeird
travis-ci has joined #jruby
<travis-ci> kares/jruby (jruby-1_7:67dbcbd by kares): The build has errored. (http://travis-ci.org/kares/jruby/builds/64235348)
travis-ci has left #jruby [#jruby]
marr has quit [Ping timeout: 258 seconds]
<headius> I want a "weird" label on our github issues
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum opened issue #2999: [Truffle] Default argument values not available in block http://git.io/vkCRq
JRubyGithub has left #jruby [#jruby]
<kares> headius: ok than skip it for now than ... thx
<kares> mkristian: that bad ... guessing you tried that locally?
colinsurprenant has quit [Ping timeout: 244 seconds]
colinsurprenant_ has joined #jruby
<headius> kares: if you really want to fix it, go ahead...I don't generally expect "your code is weird" to convince bug-filers to change their code
<headius> I did ask on the bug why they're doing it
<headius> so we'll see
phlebas has joined #jruby
<kares> certainly not rubyists!
<lopex> headius: what's the path of cold perf for 9k ?
<headius> the path?
<lopex> or could there in theory be possible to dump a part of tree ?
<lopex> headius: timeline
<lopex> headius: expectations ?
<headius> ahh well enebo worked on persisting IR but reading the IR back in never really beat parse+compile
<headius> we've worked to get it as close to 1.7 as possible but there's still more overhead
<headius> I believe we also start up the interpreter with minimal optimization passes to reduce that overhead
<lopex> headius: let me shed some light on the issue, on startup my thingy is bluilding a tree based on rdbms relations
<lopex> and it's processed then three times
phlebas_ has joined #jruby
<enebo> lopex: you run with —dev?
phlebas has quit [Ping timeout: 250 seconds]
<lopex> headius: the numbers are like, for 20 tables there are 600 actions (nodes), the depth is like 6-7 max
<lopex> enebo: I tried lost of optz
<lopex> lots even
<lopex> well, that's still a 0.2sec for now, but I'm becoming worried about the trend
<lopex> the number does depend on relations heavily of course
<lopex> it's not exponential I hope
<lopex> I hope it's more a function of power multiplied
phlebas_ has quit [Ping timeout: 264 seconds]
<enebo> lopex: how much different are they in terms of speed?
<lopex> enebo: the options ?
<enebo> lopex: 1.7 vs 9k?
<lopex> enebo: 9k is slower, but not that much
<lopex> max 2x
<lopex> enebo: I hope quickly warming the thing up is the way
<enebo> lopex: ok with - - dev I would expect quite a bit less than 2x but not likely faster ever
<lopex> sure
<enebo> lopex: but you seem to want fast eventual performance?
<lopex> enebo: there's another factor
<lopex> enebo: it's like a framework, reloading the core and the app
<lopex> so there's another combination
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:6ab4b4a by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64424432)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian opened issue #3000: can install jruby-openssl gems, always using default gem http://git.io/vkCre
JRubyGithub has left #jruby [#jruby]
<mkristian> kares, there is nothing you can do within the jossl code since jruby-1.7.20 does not load any files from the any installed jossl gem
<lopex> enebo: wrt startup ?
<lopex> enebo: well, while reloading the models, potential relations can change and I need to process that
<enebo> lopex: I don’t know what you are looking for wrt performance. You said - - dev was only a little slower so I am not sure what the problem is
<lopex> enebo: it's all like "production startup wrt dev reload time" game
<lopex> reload it more important
<lopex> *is
<mkristian> kares, and 9k.pre2 behaves like 1.7.20 - well they both use the same rubygems version
<enebo> lopex: so you want faster warmup time
<enebo> lopex: when I hear concerns about cold performance I largely think running quick on command-line
<lopex> enebo: right
baroquebobcat has quit [Quit: baroquebobcat]
<enebo> lopex: but for your concern I think it is more about warmup of code which is being reloaded
<enebo> lopex: which perhaps is always cold then?
<lopex> enebo: depends on the mode
<lopex> whole framework or the app only
<enebo> lopex: so in production you do not reload but in dev you do
<lopex> yes
<enebo> lopex: like Rails?
jimbaker has quit [Quit: Coyote finally caught me]
<lopex> sort of, plus more porprocessing
<lopex> *post*
<enebo> lopex: ok so —dev is not adequate for development?
baroquebobcat has joined #jruby
<lopex> enebo: time will show, but it's becoming a potential concern
<headius> repeat loading of cold code should still get a lot faster as it warms up
<lopex> enebo: might be that server would be the way to go since the vm is all up
<enebo> well yeah common code in JRuby itself obivously keeps getting faster
<enebo> we know if we parse enough files our parser gets very quick :)
<enebo> unfortunately that is many many files
travis-ci has joined #jruby
<travis-ci> kares/jruby (jruby-1_7:67dbcbd by kares): The build has errored. (http://travis-ci.org/kares/jruby/builds/64235348)
travis-ci has left #jruby [#jruby]
<kares> mkristian: I see ... did not run into that locally but now that you mentioned I checked and you are right
<kares> quite annoying to have this bug in a few releases after it got "fixed"
<kares> think it was behaving the same in 1.7.13 or 16 ;(
<mkristian> kares, I thought there was some integration test for it. but did not look more.
benlovell has joined #jruby
<mkristian> well, I am not sure if it is the same bug as before - let's see. there was another issue with 1.7.20 and mode 1.8 on those jossl test - will also look there
benlovell has quit [Ping timeout: 256 seconds]
jimbaker has joined #jruby
<lopex> enebo: the algorithm might also be very inefficient since it goes like this
<lopex> while traversing a tree, select ll nodes from that tree that yield true wrt that current node
<lopex> *all
<lopex> so it's already quadratic wrt tree size
<lopex> (givent a predicate)
<enebo> lopex: if your tree is unbounded sizewise then you will have problems regardless
<lopex> what I managed to do it to cut the search once the node is found - that alone was not that obvious
<lopex> I guess foretracking might solve the issue
<lopex> enebo: it's like, for example for any many_to_one relation, traverse the tree, find original model definition and apply settings from original model to that that is being processed
jimbaker has quit [Ping timeout: 276 seconds]
<lopex> enebo: or in lamers terms, given original model definition find where it's being used as dictionary and apply those settings to it
elia has joined #jruby
jimbaker has joined #jruby
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
robbyoconnor has quit [Quit: Konversation terminated!]
baroquebobcat has quit [Quit: baroquebobcat]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:454db3a by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64431324)
travis-ci has left #jruby [#jruby]
havenwood has joined #jruby
benlovell has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
marr has joined #jruby
Sinjo_ is now known as Sinjo
<Sinjo> Having some trouble moving an app from MRI to JRuby 9k. Swapped out all the gems for JRuby compatible ones, but can't get jruby-pg to load. If I require "pg" in pry I get "LoadError: no such file to load -- pg_ext".
<Sinjo> Kinda stumped on this one right now. Anyone know where I could start?
<headius> Sinjo: pass -d, I suspect there's a problem loading the ext
<headius> probably a changed API in 9k
<headius> LoadError tends to mask those issues
<headius> enebo: maybe we should allow non-Ruby exceptions during load to propagate out as-is
<Sinjo> Does that want to go in JRUBY_OPTS?
<enebo> headius: I admit it is really frustrating as a dev
<headius> yeah
<headius> enebo: it's not something we actively did...we just have a catch-all that re-wraps as an opaque LoadError
rsim has quit [Quit: Leaving.]
<Sinjo> Nothing when I run the require, but some interesting stuff before that. Will drop it in a gist.
<Sinjo> Definitely installed bundler 20 minutes ago, just going to make sure
<Sinjo> Mmm, same exception happens after re-running `gem install bundler`
<Sinjo> OS X, Java 1.8b25 if that helps
<enebo> headius: yeah I know but when something in the file is a interp bug and throws an internal exception like NPE we just get back loaderror wo -d
<headius> yeah
<headius> sucky
<headius> hmm, no such file to load still
<headius> Sinjo: 9k.pre2 or head?
<Sinjo> pre2
<headius> ok, remove -d and try -Xdebug.loadService=true
<headius> that will output all files it attempts to load
<headius> it must not be finding the pg_ext jar
<Sinjo> But looks like you're right
<Sinjo> Is there a build step I need to invoke for the gem?
<Sinjo> It's installed via bundler, using the instructions from Github: "gem 'jruby-pg', '1.0', :platform => :jruby, :git => 'git://github.com/headius/jruby-pg.git', :branch => :master"
benlovell has quit [Ping timeout: 252 seconds]
<Sinjo> I gotta grab a train. I'll be back online in around an hour.
<headius> Sinjo: ahh yeah I bet the jar isn't versioned
<headius> so installing from github wouldn't work
<headius> I hope it's that simple
<Sinjo> Ah okay
<headius> that sort of install works for MRI because they always build on install (because they have to)
tenderlove has quit [Ping timeout: 265 seconds]
baroquebobcat has joined #jruby
<Sinjo> I can't find a published version of the gam
<Sinjo> gem*
<Sinjo> How would I go about building/referencing a local copy for now?
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:61ad8cf by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64433479)
travis-ci has left #jruby [#jruby]
<Sinjo> I can see some Hoe stuff related to pg_ext.jar in the Rakefile
ryba has joined #jruby
ryba is now known as simi
<simi> hello
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<simi> Any idea how access JNDI in JRuby?
<Sinjo> Right, actually going to grab that train. Back on here in 1 hour.
<lopex> simi: same way as in java ?
cremes has quit [Read error: Connection reset by peer]
<simi> so
<simi> include_class "javax.naming.InitialContext"
<simi> and stuff
<lopex> yes
tenderlove has joined #jruby
cremes has joined #jruby
<lopex> unless there is a classloader issue
pjammer has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to jruby-1_7: http://git.io/vkWBG
<JRubyGithub> jruby/jruby-1_7 a6db2cd Charles Oliver Nutter: Remove incorrect "eql" override that uses value equality....
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/vkWBu
<JRubyGithub> jruby/master 7551aa7 Charles Oliver Nutter: Remove incorrect "eql" override that uses value equality....
JRubyGithub has left #jruby [#jruby]
<mjc_> simi: activerecord-jdbc-adapter does this easily by just specifying the name, if you are just trying to connect to a DB with JNDI
sholden has joined #jruby
<sholden> Hi everyone, I’m pretty new to Java but I’m working on migrating an older java api application to ruby. I’m trying to wire up a spring context based on the existing war file context xmls and dependency libs and running into plenty of exciting walls along the way.
<sholden> The latest exception that I’m trying to understand is this:
<sholden> SecurityError: sealing violation: package com.autoleadsystem.util is sealed
<sholden> from org/jruby/javasupport/JavaUtilities.java:54:in `get_proxy_or_package_under_package'
<headius> sholden: I don't even know what sealing is :-\
<sholden> I can usually understand most java code, but I lack a lot of knowledge around the wider ecosystem and apis etc
<sholden> I’m not sure why this is falling over when loaded from JRuby but not from the app itself in prod
JRubyGithub has joined #jruby
<JRubyGithub> jruby/jruby-1_7 207c3c2 Charles Oliver Nutter: Add spec for Pointer eql?'ity for #2995.
<JRubyGithub> [jruby] headius pushed 1 new commit to jruby-1_7: http://git.io/vkW0w
JRubyGithub has left #jruby [#jruby]
<sholden> Is JRuby doing some kind of magic under the covers to access the java classes?
<headius> sholden: we do under some circumstances attempt to make them accessible
<sholden> (that would anger the sealing beast)
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/vkW0Q
<JRubyGithub> jruby/master e0b1489 Charles Oliver Nutter: Add spec for Pointer eql?'ity for #2995.
JRubyGithub has left #jruby [#jruby]
<headius> but we should be catching SecurityException and giving up
<lopex> headius: that the feature I heard about not that long ago
<lopex> and it freaking old
<headius> if you can set property jruby.backtrace.style=full you can probably trace this to a specific line in JRuby
<headius> or at least to the method where we're doing something we shouldn't
<sholden> lopex: yeah this application is pretty ancient
<headius> sholden: another possibility is that we generate a utility class into the same package
<headius> that may be more likely
<sholden> sounds like a likely culprit
<headius> perhaps there are interfaces from that package you try to implement in Ruby?
<headius> or a class you extend
<headius> why oh why don't you raise a SealedPackageException, Java
<headius> at least we could handle this case specifically
<sholden> so there are 2 different dependent jar files that both defining classes in that namespace but in different jars
<sholden> but that doesn’t seem to be a problem in the existing setup
<sholden> right now, I have a Beans class that is new’ing up a GenericApplicationContext and loading the bean definitions from the classpath and filesystem xml resources
<sholden> when I do a context#refresh, that’s when this blows up
<headius> huh...that article says they'd have to be all in the same jar
<headius> I suspect this is partially inside the spring logic for wiring up JRuby
<headius> they likely trigger an interface to be implemented to fulfill the injection, and that's where we go kablooey
<sholden> If I require each of those 2 jars individually, then try and access a class from each, I get another exciting explosion. for science!
<sholden> this jar gets required first: NameError: cannot link Java class com.autoleadsystem.util.PagUtil
<sholden> and second: SecurityError: sealing violation: package com.autoleadsystem.util is sealed
<headius> the first one is probably basically the same problem...it doesn't like the two jars getting loaded separately in the way we do it
<sholden> cause by com.autoleadsystem.util.PagUtil.java_class and com.autoleadsystem.util.ClassUtil.java_class respectively
<headius> the second jar seals the package so if you load it second it's ok
<headius> or vice versa, whatever
<headius> they are not consistently sealing
<simi> mjc_, yup, but I want to load also another data from web container
<lopex> sholden: is it an oracle/sap env related ?
<headius> sholden: the inconsistent sealing we can't do anything about...perhaps when loaded into the container it just magically does them in the right order
<headius> or if the error is happening very early in load, it's the same thing...wrong order loading those jars
<sholden> no… this is usually run on a resin server and that wires up the app context? (i think… like I said, still kinda new to this ecosystem)
<headius> the NameError usually indicates that you don't have the right jars loaded, but that seems odd if you managed to require both jars
<lopex> maybe spring has a way to turn off that thing ?
<headius> required jars go into the same classloader
<lopex> headius: btw have you seen the previos conversation wrt that libgdx thingy ?
<sholden> i reversed the require order, same result.
<lopex> well week ago
<sholden> not touchign the spring context at this point, just manually requiring those 2
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:f37dc99 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64434672)
travis-ci has left #jruby [#jruby]
<headius> lopex: I had some libgdx conversation the other day, but have not seen anything recent
<headius> sholden: right, I understand
<headius> try passing -d to the example that triggers NameError
<lopex> headius: basically jruby swallows some InitializerErrors from java and user wasted lots of time to get into the thing
<headius> lopex: swallows where?
<headius> we need to do less swallowing of root causes
<lopex> headius: reported as NameErrors or classdefnotfound derivatives
<headius> bleh
<headius> yeah
<lopex> headius: is #jruby log active ?
<headius> put a pretty Ruby face on stuff and you can't debug Java problems
<lopex> I can find it for you
<headius> appears to be, yes
<headius> we use whitequark's logger now
lanceball is now known as lance|afk
rsim has joined #jruby
<lopex> headius: oh this might be the one you know of http://logs.jruby.org/jruby/2015-05-23
<lopex> well that was a case I'd be pretty mad at
blaines has quit [Ping timeout: 245 seconds]
elia has joined #jruby
<lopex> headius: is it fixable ?
<headius> ah, I see
<headius> yeah, I've never liked that we wrap up some linkage and classloading errors as NameError
djbkd has quit [Remote host closed the connection]
<headius> I think it comes down to the same problem: a single exception type that has specific causes we want to wrap and others we want to propagate
<lopex> I was wrong about the NameError but yeah, still
<headius> right
<headius> anywhere we can isolate such a case we should stop wrapping
<headius> since they're not recoverable anyway
<lopex> that a good test case too
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has joined #jruby
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #jruby
pjammer has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum opened issue #3001: [Truffle] Incorrect frame use for block variable access http://git.io/vkW93
JRubyGithub has left #jruby [#jruby]
mistergibson has quit [Quit: Leaving]
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] nirvdrum closed issue #3001: [Truffle] Incorrect frame used for block variable access http://git.io/vkW93
<Sinjo> headius: Had a go at building jruby-pg locally. `rake build` produces "ext/java/org/jruby/pg/Connection.java:1434: error: method newEncoding in class RubyEncoding cannot be applied to given types; RubyEncoding rubyEncoding = RubyEncoding.newEncoding(context.runtime, encoding);"
<Sinjo> headius: Likely 9k breakage?
<headius> yeah could be
<headius> it shouldn't be using that call
<headius> it should be using runtime.getEncodingService().getRubyEncodingForEncoding or something like that
<headius> not that any doco anywhere says that :-)
<Sinjo> Ah right
<Sinjo> Heheh
<Sinjo> I'm gonna have to call it a night. Too much coding for one day. May have a go at a PR if I get some more time to spend on this.
<Sinjo> Thanks for your help :)
subbu is now known as subbu|afk
<vikaton> How fast is JRuby 9k ?
<headius> unbelievably fast
<headius> or not fast enough
<headius> depends on what you're doing
subbu|afk is now known as subbu
<nirvdrum> So, what exactly is a dvar? I'm having a bit of difficulty nailing that one down.
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nirvdrum> enebo: ^ whenever you're around.
<lopex> nirvdrum: howdy there, I have absolutely no idea :)
<lopex> shall we guess it ?
<subbu> headius, :)
<enebo> nirvdrum: embedded var in a string
<headius> subbu: I am master of tautology
<subbu> useful skill!
<lopex> enebo: so it reflects ast naming
<nirvdrum> enebo: Isn't that a dstr?
<enebo> nirvdrum: the string is a dstr
<enebo> nirvdrum: I am getting this from ripper output
<headius> fixing #2983 by modifying net/http and uri/generic's ENV-based proxy logic to also look at JVM properties
<enebo> on_string_dvar
<nirvdrum> enebo: So, looking at the example here: https://github.com/jruby/jruby/issues/3001
<headius> the old way we did it was not right
<nirvdrum> How is "the_caller" a dvar?
<headius> it's inside y's do/end block
Aethenelle has quit [Quit: Aethenelle]
<nirvdrum> So it's because there's a block within a block?
<headius> well, it's just because it is first assigned inside a block
<nirvdrum> Ahh.
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<nirvdrum> Well, that makes sense then.
<nirvdrum> Thanks.
<headius> all block-scoped vars are dvars
<headius> method-scoped vars are lvars
<headius> it's not a meaningful distinction
pjammer has joined #jruby
<headius> block-local vars used to be looked up dynamically but that lookup became static at some point (probably 1.8)
<nirvdrum> Yeah, I guess this one was weird because the var was defined in the method call, which usually is an lvar.
<lopex> headius: meaning the evaluation is not consistent ?
<headius> lopex: I imagine it wasn't before, but now they're both statically located the same way, via depth and offset
<lopex> ok
<enebo> hah…I still can see no reference to dvar in that link
<headius> I remember enebo making that change in our parser WAY back in 2006 or so
<nirvdrum> enebo: In that bug I linked to?
<enebo> yeah
<lopex> I hope block defaults etc are a bit consistent ?
<enebo> yeah variables around 1.8.6 were lexical in nature but not implemented as lexical
<nirvdrum> I didn't explicitly state dvar in it because I honestly wasn't sure if it was only dvars at the time. But I'm pretty sure it is. Truffle has a different issue with lvars in some cases that I need to deal with next.
<enebo> we made them lexical in impl first
<headius> so back to me...my patch above needs a touch of review, but it passes rubyspec and MRI tests
<headius> enebo: ah, so they were actually made lexical for YARV
<headius> that's right
<enebo> headius: perhaps even 1.8.6 in a later Pl
<headius> mmm
<enebo> headius: ruby vars I think were always lexical
<nirvdrum> headius: HTTP_PROXY is a bit funky. I'm not aware of any other JVM-based app using it. But I guess it makes sense.
<enebo> headius: but the impl always did a lookup like they were not
<enebo> headius: but always were lexically resolved so it was just a bad impl
<headius> nirvdrum: that's just legacy stuff from MRI's logic
<headius> I moved it down from find_proxy
<nirvdrum> headius: As in, if you picked it up all of a sudden, it could confuse people that weren't expecting the JVM to pick it up.
<headius> that's true, that's a difference from before
<enebo> nirvdrum: sorry had you asked what is a DVarNode I would have figured this out sooner…I forgot we even named block vars that in AST
<nirvdrum> It's how you configure proxies for most *nix apps, though. So if that's what MRI was doing, I could see people expecting it in that case.
<headius> now that it's using the proper env mechanism it might pick up env vars rather than using JVM properties
<enebo> nirvdrum: so yeah historical name still used by both impls
<headius> nirvdrum: problem is I can't know which one they want in either case
<nirvdrum> headius: I guess it'd be weird to have a proxy defined one way and expect it to be pointing to another proxy a different way. I've done that precisely once in my lifetime (for a weird use case Mogotest had).
<headius> old logic ignored env
<nirvdrum> headius: Yeah. Damned if you do, damned if you don't.
<headius> new logic tries env first, and also honors noProxyHosts
<headius> I think it's a tradeoff we have to make...if someone has both env and properties, they'll need to clear env
<nirvdrum> Maybe give precedence to the JVM system properties and then fall back to the env var?
<headius> hmm
<headius> it is less likely to be set
<headius> that might be ok
<nirvdrum> Anyone currently setting it shouldn't see any difference in behavior that way.
<headius> yeah I'll make that flip, that makes sense
<enebo> headius: is line 27 same as MRI now?
<headius> it is
<headius> it's how we should have done this originally, but I didn't know about find_proxy
<enebo> headius: ah ok so our patching was part of the issue?
tcrawley is now known as tcrawley-away
<enebo> headius: since line 36 exists
skade has joined #jruby
<headius> partially, yeah...the way we added it caused the JVM properties to force proxy use unconditionally, not honoring nonProxyHosts
<headius> this way will honor that
<enebo> headius: but how much of this patch could just be MRI lib version?
<headius> what do you mean?
<enebo> headius: or perhaps how much of it is in this patch?
<enebo> headius: well only the ENV_JAVA parts should come from us right?
<headius> the patch mostly just reverses our change on line 26 and makes their existing env logic also check JVM props
<enebo> headius: the rest MRI should also have?
<headius> right
<enebo> ok
<headius> I may submit a patch to them to break out the _from_env methods
<enebo> headius: so >50% of this is just syncing up MRI again
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:2215b6d by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64436759)
travis-ci has left #jruby [#jruby]
<headius> ahh well the _from_env methods are all new
<headius> it was one fat method before, and I pulled the lookups out so I could check ENV_JAVA Too
<enebo> ah ok so a little reorg
<headius> nirvdrum: thanks, I feel better about the change now
<enebo> headius: yeah I would submit this back
<headius> enebo: right, ok
<headius> and by submit back I mean just commit it :-D
<enebo> yeah but you need to make CHANGES and all that stuff
<nirvdrum> No problem. I haven't evaluated the nonProxyHosts part, but I assume you addressed that.
<enebo> so it feels like more
* headius feels the power coursing through his veins
<headius> yeah, changes blows, but I just copy my commit message into it
<headius> eff them
<headius> nirvdrum: yeah, I also confirmed it works
<headius> which is a good thing
elia has quit [Quit: Computer has gone to sleep.]
<headius> what scares me is that it worked first time...I'm better than I realized
<nirvdrum> Heh.
<nirvdrum> Okay. Back to me, because I clearly still don't understand dvars. Why is 'y' and lvar here: https://gist.github.com/nirvdrum/58a57a4e2e33e6375790
<nirvdrum> s/and/an/
<headius> I wonder if MRI folks would balk at jruby logic in their stdlib
<headius> e.g. with a RUBY_ENGINE == 'jruby' guard
<headius> sure would be great to get rid of our fork
<headius> nirvdrum: it is?
<headius> according to bin/ast, it's no
<headius> not
<headius> it's a dasgn in the AST
<nirvdrum> Weird. I'm getting an lasgn in the debugger.
<nirvdrum> I guess the Truffle AST translator is buggy.
<nirvdrum> But the translator is seeing: (NewlineNode 2124, (LocalAsgnNode:y 2124, (CallNode:% 2124, (LocalVarNode:left 2124), (ArrayNode 2124, (LocalVarNode:ps 2124)), null)))
<nirvdrum> Nevermind. That's a variable used by something else at startup. I'm a moron.
<nirvdrum> I swear the whole purpose of Ruby is to constantly make me feel inadequate.
<nirvdrum> Okay. But that's a DAsgnNode. What ends up constituting a DVarNode?
<nirvdrum> Maybe I need to just get better at figuring out the parser.
<enebo> nirvdrum: a = 1 <- assign; a <- var
<headius> perhaps it's calling anything referenced at depth 0 an lvar
<headius> oh I see
<enebo> perhaps it collapsed both since they are just an index/offset in both cases
<headius> yeah, we've almost done that a couple times
<headius> I don't know why we didn't
<enebo> well with ast interp it is sometimes useful to know it is from a block
<enebo> in IR it is not useful since that info goes away
<nirvdrum> enebo: Got it. So it's a var node when read. I probably should've known that.
<nirvdrum> Okay. So it's really depth that I need to work on.
<enebo> so we could probably collapse this for 9k but it is pretty low on the chain of things to do :)
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
<nirvdrum> That's fine. I think Chris previously collapsed if depth == 0, but the depth count got screwed up somewhere.
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
elia has joined #jruby
iamjarvo has joined #jruby
enebo has quit [Quit: enebo]
enebo has joined #jruby
mkristian has quit [Quit: Ex-Chat]
<enebo> nice!
imperator2 has quit [Quit: Valete!]
Aethenelle has joined #jruby
enebo has quit [Quit: enebo]
mrmargol_ has quit [Remote host closed the connection]
<headius> eregon: that refinement bug seems to be leaning the way we want... shugo agrees with me
<headius> I'm sympathetic to _ko1's arguments but I don't think we can make that work in a consistent way
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sholden has quit [Quit: sholden]
skade has quit [Quit: Computer has gone to sleep.]
vikaton has quit []
vikaton has joined #jruby
rsim has quit [Quit: Leaving.]
nateberkopec has quit [Quit: Leaving...]
Aethenelle has quit [Ping timeout: 244 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vklgZ
<JRubyGithub> jruby/master fa71f85 Chris Seaton: [Truffle] Tags in the wrong place.
JRubyGithub has left #jruby [#jruby]
<colinsurprenant_> hiya!
baroquebobcat has quit [Quit: baroquebobcat]
<colinsurprenant_> when a RubyHash or RubyArray is created, the inner objects are java.lang.String/java.lang.Long/… and not RubyString/RubyNumeric/… ?!
<colinsurprenant_> for primitive types?
<chrisseaton> Are you saying that's what you're seeing and it's a problem, or are you asking if that's how it works? It will be a RubyFixnum not a Long, and RubyString not a String
<chrisseaton> (RubyString doesn't wrap a String anyway, it wraps a byte[] via ByteList)
<colinsurprenant_> this is what I am seeing
djbkd has quit [Remote host closed the connection]
<colinsurprenant_> (
<colinsurprenant_> (yeah, I know about RubyString, thx)
deobalds has quit [Quit: Computer has gone to sleep.]
<chrisseaton> Are you running a third party JRuby extension?
<colinsurprenant_> hmmm… weird, where does that conversion takes place then
<colinsurprenant_> my own extension I am writing
<chrisseaton> oh right, well if you are creating the hash or array, you need to do it yourself
drbobbeaty has joined #jruby
KevinCorcoran has quit []
djbkd has joined #jruby
djbkd has quit [Remote host closed the connection]
elia has quit [Read error: Connection reset by peer]
<colinsurprenant_> so, my ext wrapper defines a ruby method which takes a RubyHash as parameter, and passes that to my native Java object which accepts a Map parameter, then when I walk that Map, the inner object are java.lang.String and not RubyString
djbkd has joined #jruby
elia has joined #jruby
subbu has quit [Ping timeout: 250 seconds]
<chrisseaton> Oh when you use the Java interfaces it automatically 'unboxes' to Java objects
<colinsurprenant_> hmmmm
<colinsurprenant_> by all mean, this is what I wanted, but I was expecting to have to do that manually :P
<mberg> JRuby is reliably magic. It's almost disconcerting.
<colinsurprenant_> not sure where that magic happen and this is puzzling me. my Map is Map<String, Object>, so I could understand the unboxing for the keys, but for the values, they are also unboxed …
nateberkopec has joined #jruby