<rjnienaber> I don't have access to resolve those issues on JIRA or label them correctly on Github so I think that is still outstanding
rjnienaber has quit [Quit: Page closed]
<headius> oh, missed him
tcrawley is now known as tcrawley-away
yfeldblum has joined #jruby
zorak8 has joined #jruby
mattwildig has quit [Remote host closed the connection]
mrbrdo has joined #jruby
<mrbrdo> @headius are you here by any chance? wanna pick your brain on something
<multibot__> Unknown command, try @list
<mrbrdo> oops, muscle memory from Slack :)
Felystirra has quit []
<chrisseaton> mrbrdo: try the rest of us - we might be able to help as well
diegoviola has joined #jruby
<mrbrdo> right, was gonna, just got caught up in something :) let me make a gist
<mrbrdo> so I’m using mina with jruby, and at some point the output from mina started being corrupted like this: https://gist.github.com/mrbrdo/6465d45d773b625ab37a
<mrbrdo> this seems to only happen with jruby, at least for me, and I don’t really have any clue why it does, but it’s not random, I can always reproduce it on this computer. however I know that some time ago, it worked fine
<headius> mrbrdo: I am
<mrbrdo> basically it just keeps outputting the same thing over and over, while it should actually output different things.. however the arrows in that output are colored, it might have something to do with it
<headius> mrbrdo: first of all... 1.7.6?
<mrbrdo> cool! and a happy new year in advance :)
<headius> this looks like a case of a string's shared backing store getting modified
<mrbrdo> yeah I got stuck on that version because I had some issues up to 1.7.11, then I didn’t take time to try anymore
<headius> what is that "Creating a" logging?
<mrbrdo> it’s probably fine now, I will have to upgrade soon
<mrbrdo> this is an example from MRI of some of the output
<mrbrdo> (with probably fine now I mean the other issue I had, something with threading)
<mrbrdo> it’s peculiar that the message from git on L6-7 is fine.. it is also colored in red
<mrbrdo> btw other than the output issue it’s working fine, it doesn’t crash or anything
<mrbrdo> some of the lines that should be showing don’t start with the arrow, but they are still replaced with that repeating string
<mrbrdo> by the way, I think the output is actually generated on the server from a bash script and then sent to me via network
<mrbrdo> I am trying to see where mina receives and outputs that, I will try to “sniff” on the string it gets
<mrbrdo> I think the output is written directly by a spawned ssh process
<mrbrdo> it uses popen4 and Sys.stream_stdout(o) { |ch| print_char ch }
<headius> ok, timeslice is back to IRC :-)
<headius> yeah I would definitely recommend trying latest before investigating too much deeper
<mrbrdo> right on time
<mrbrdo> I think I can do that pretty easily yes, will let you know in about 15 min
<headius> literally hundreds of fixes since 1.7.6
<headius> ok
<mrbrdo> headius: yep, seems it was fixed at some point
<mrbrdo> by the way, I think the issues I was having with 1.7.11 was something with encodings
<mrbrdo> do you remember any issues of that type in those versions, I think I also tried 1.7.12
<mrbrdo> I’m not sure if I skipped the earlier versions because of this same problem or because of the threading performance issues in those
<headius> mrbrdo: encodings have been a long and bumpy adventure
<headius> most known issues have been fixed in 1.7, but 9k is going to be the real treat
<headius> let me know what you see with .18, because it should be pretty solid
pgokeeffe has joined #jruby
<mrbrdo> I will definitely try it after new years, since I think the error was sporadic so I only got it on production
<headius> ok
<mrbrdo> thanks again, I appreciate it
<headius> if you get really ambitious you could try jruby-hea
<headius> head
<mrbrdo> hehe I don’t think I’m that adventurous :) I can live with the mangled mina thing more easily than in fear hehe
<mrbrdo> when is 9k planned anyway?
<headius> preview any day now
<headius> trying to finish up a few key Ruby 2.2 features for it
<mrbrdo> oh right, that new stuff :) which spec does 1.7 support anyway
<mrbrdo> I never really missed anything, but I don’t use the new stuff much
<mrbrdo> is it still pre-2.0?
mattwildig has joined #jruby
<chrisseaton> JRuby 1.7 supports a few bits of Ruby 2.0 I think
<headius> yeah, just a few...it's not officially supported
<headius> 1.9.3 officially
mister_solo has quit [Ping timeout: 244 seconds]
<mrbrdo> are refinements still “experimental” in MRI?
marr has quit [Read error: Connection reset by peer]
nateberkopec has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nateberkopec has quit [Client Quit]
rcvalle has quit [Quit: rcvalle]
mattwildig has quit [Read error: Connection reset by peer]
mattwildig has joined #jruby
<headius> mrbrdo: they are now an official feature in 2.2
<headius> we have a mostly-working impl landing soon
<mrbrdo> nice. maybe I’ll finally start using them then :)
<mrbrdo> ok good to talk with you guys, good luck in 2015 and hope you’ll take some time for celebrations! see you around
mrbrdo has quit [Quit: mrbrdo]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius opened issue #2399: User-defined method_missing has unnecessary overhead http://git.io/kgG-YQ
JRubyGithub has left #jruby [#jruby]
<headius> yay, I broke the build
<headius> work day isn't over I guess
baroquebobcat has quit [Quit: baroquebobcat]
<headius> ahh, I know what that is
nateberkopec has joined #jruby
tlarevo_ has quit [Remote host closed the connection]
tlarevo has joined #jruby
r0bby_ is now known as robbyoconnor
mister_solo has joined #jruby
pgokeeffe has quit [Quit: pgokeeffe]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
tlarevo has quit [Ping timeout: 258 seconds]
tlarevo has joined #jruby
zorak_ has joined #jruby
zorak8 has quit [Read error: Connection reset by peer]
calavera has joined #jruby
nateberkopec has quit [Quit: Leaving...]
calavera_ has joined #jruby
calavera has quit [Ping timeout: 255 seconds]
pgokeeffe has joined #jruby
havenwood has joined #jruby
mrmargolis has joined #jruby
mrmargolis has quit [Remote host closed the connection]
calavera_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zorak_ has quit [Ping timeout: 240 seconds]
pgokeeffe has quit [Quit: pgokeeffe]
yfeldblum has quit [Remote host closed the connection]
pgokeeffe has joined #jruby
tcrawley-away is now known as tcrawley
tcrawley is now known as tcrawley-away
diegoviola has quit [Quit: WeeChat 1.0.1]
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #jruby
yfeldblum has joined #jruby
yfeldblu_ has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
yfeldblu_ has quit [Ping timeout: 240 seconds]
calavera has joined #jruby
pgokeeffe has quit [Quit: pgokeeffe]
tlarevo has quit [Ping timeout: 245 seconds]
pgokeeffe has joined #jruby
e_dub has joined #jruby
yfeldblum has joined #jruby
mattwildig has quit [Remote host closed the connection]
rjnienaber has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has joined #jruby
mattwildig has joined #jruby
mattwildig has quit [Remote host closed the connection]
pgokeeffe has quit [Ping timeout: 240 seconds]
pgokeeffe has joined #jruby
tlarevo has joined #jruby
pgokeeffe has quit [Quit: pgokeeffe]
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #jruby
pgokeeffe has joined #jruby
yfeldblum has quit [Ping timeout: 255 seconds]
rjnienaber has quit [Ping timeout: 246 seconds]
pgokeeffe has quit [Quit: pgokeeffe]
Usuario has joined #jruby
pgokeeffe has joined #jruby
noop1 has joined #jruby
Usuario is now known as frobs
yfeldblu_ has joined #jruby
ryez has joined #jruby
pgokeeffe has quit [Quit: pgokeeffe]
towski has quit [Quit: goodbye friends I am gone]
towski has joined #jruby
towski has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
towski has joined #jruby
towski has quit [Quit: goodbye friends I am gone]
cajone has quit [Ping timeout: 272 seconds]
jbr^ has quit [Quit: Connection closed for inactivity]
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cajone has joined #jruby
elia has joined #jruby
dabradley has quit [Ping timeout: 258 seconds]
dabradley has joined #jruby
marr has joined #jruby
yfeldblu_ has quit [Ping timeout: 265 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 3 new commits to master: http://git.io/oWROig
<JRubyGithub> jruby/master 96d5862 Charles Oliver Nutter: Reduce complexity of symbol table and clean up dead references....
<JRubyGithub> jruby/master f1f4bb1 Charles Oliver Nutter: Remove unnecessary require of 'jruby' in kernel code.
<JRubyGithub> jruby/master 0820935 Charles Oliver Nutter: Fix removal of boot-time thread lib, since fiber needs it.
JRubyGithub has left #jruby [#jruby]
mister_solo has quit [Ping timeout: 250 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:0820935 by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/45531042)
travis-ci has left #jruby [#jruby]
mister_solo has joined #jruby
kotk has joined #jruby
<projectodd-ci> Project jruby-master-spec-ji build #262: FAILURE in 8 min 36 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/262/
<projectodd-ci> Project jruby-master-test-jruby build #275: FAILURE in 8 min 11 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-jruby/275/
<projectodd-ci> Project jruby-master-test-slow_suites build #260: FAILURE in 8 min 7 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/260/
<projectodd-ci> Project jruby-master-spec-compiler build #262: FAILURE in 8 min 44 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/262/
elia has quit [Quit: Computer has gone to sleep.]
Hobogrammer has quit [Ping timeout: 272 seconds]
rjnienaber has joined #jruby
ryez has quit [Quit: Page closed]
skade has joined #jruby
mister_s_ has joined #jruby
mister_s_ has quit [Client Quit]
elia has joined #jruby
yfeldblum has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
astroBoy_ has joined #jruby
astroBoy_ has quit [Read error: Connection reset by peer]
mister_solo has quit [Ping timeout: 256 seconds]
Neomex has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #jruby
frobs has quit [Quit: Leaving]
mister_solo has joined #jruby
ivan\ has quit [Ping timeout: 252 seconds]
mister_solo has quit [Ping timeout: 244 seconds]
ivan\ has joined #jruby
fniephaus has joined #jruby
zorak_ has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #jruby
elia has quit [Ping timeout: 250 seconds]
yfeldblum has joined #jruby
mattwildig has joined #jruby
tcrawley-away is now known as tcrawley
tcrawley is now known as tcrawley-away
fniephaus has quit [Quit: fniephaus]
yfeldblum has quit [Ping timeout: 272 seconds]
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #jruby
tlarevo has quit [Ping timeout: 265 seconds]
mister_solo has joined #jruby
nateberkopec has joined #jruby
mattwildig has quit [Remote host closed the connection]
fniephaus has joined #jruby
mattwildig has joined #jruby
diegoviola has joined #jruby
yfeldblum has joined #jruby
yfeldblum has quit [Ping timeout: 256 seconds]
triple_b has joined #jruby
subbu has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/24Ofcg
<JRubyGithub> jruby/master d3e8328 Kevin Menard: [Truffle] Fix loading corelibs on Windows.
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:d3e8328 by Kevin Menard): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/45549138)
travis-ci has left #jruby [#jruby]
nirvdrum has joined #jruby
<projectodd-ci> Project jruby-master-test-jruby build #276: STILL FAILING in 6 min 9 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-jruby/276/
<nirvdrum> headius: Looks like that's you.
<projectodd-ci> Project jruby-master-test-slow_suites build #261: STILL FAILING in 6 min 13 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/261/
multibot__ has quit [Remote host closed the connection]
multibot_ has joined #jruby
<projectodd-ci> Project jruby-master-spec-compiler build #263: STILL FAILING in 6 min 59 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/263/
elia has joined #jruby
mitchellhenke has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/enwj1A
<JRubyGithub> jruby/master 4710b5f Kevin Menard: Fixed compilation error.
JRubyGithub has left #jruby [#jruby]
yfeldblum has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
yfeldblum has quit [Ping timeout: 240 seconds]
subbu has quit [Quit: Ex-Chat]
subbu has joined #jruby
elia has joined #jruby
e_dub has quit [Quit: e_dub]
elia has quit [Client Quit]
elia has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/0C5OAQ
<JRubyGithub> jruby/master 7e36e14 Kevin Menard: [Truffle] Get the Truffle specs running on Windows.
JRubyGithub has left #jruby [#jruby]
elia has quit [Quit: Computer has gone to sleep.]
havenwood has joined #jruby
elia has joined #jruby
marr has quit []
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:4710b5f by Kevin Menard): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/45551288)
travis-ci has left #jruby [#jruby]
<headius> nirvdrum: thanks for fixing that
<headius> I had a few fixes in flight at once
bryancp has quit [Ping timeout: 272 seconds]
mjc_ has quit [Ping timeout: 272 seconds]
jc00ke has quit [Ping timeout: 272 seconds]
Guest85414______ has quit [Ping timeout: 272 seconds]
<nirvdrum> headius: No problem. The fix is probably not what you want to do either, so feel free to tidy that up.
<headius> yeah, I've got it
beawesomeinstead has quit [Ping timeout: 272 seconds]
fniephaus has quit [Quit: fniephaus]
electrical has quit [Ping timeout: 272 seconds]
chrisseaton has quit [Ping timeout: 272 seconds]
gazarsgo has quit [Ping timeout: 272 seconds]
n1ftyn8 has quit [Ping timeout: 272 seconds]
bruceadams has quit [Ping timeout: 272 seconds]
Scorchin has quit [Ping timeout: 272 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/-kfxag
<JRubyGithub> jruby/master 2008fd8 Charles Oliver Nutter: Restore lost fix for ThreadLibrary.load checked exception.
JRubyGithub has left #jruby [#jruby]
n1ftyn8 has joined #jruby
Guest85414______ has joined #jruby
electrical has joined #jruby
capitalfellow has joined #jruby
Scorchin has joined #jruby
gazarsgo has joined #jruby
bruceadams has joined #jruby
mjc__ has joined #jruby
beawesomeinstead has joined #jruby
bryancp has joined #jruby
jc00ke has joined #jruby
chrisseaton_ has joined #jruby
mister_s_ has joined #jruby
mister_s_ has quit [Client Quit]
baroquebobcat has joined #jruby
<projectodd-ci> Yippie, build fixed!
<projectodd-ci> Project jruby-master-spec-ji build #263: FIXED in 23 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/263/
<headius> chrisseaton_: optimization_barrier was an interesting idea...in your last comment, I guess you meant that even if optimization_barrier doesn't optimize, the compilers will still see constant-enough value to optimize a loop away?
yfeldblum has joined #jruby
mister_solo has quit [Ping timeout: 244 seconds]
<projectodd-ci> Yippie, build fixed!
<projectodd-ci> Project jruby-master-test-slow_suites build #262: FIXED in 21 min: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/262/
yfeldblum has quit [Ping timeout: 256 seconds]
<projectodd-ci> Yippie, build fixed!
<projectodd-ci> Project jruby-master-spec-compiler build #264: FIXED in 20 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/264/
<projectodd-ci> Yippie, build fixed!
<projectodd-ci> Project jruby-master-test-jruby build #277: FIXED in 35 min: https://projectodd.ci.cloudbees.com/job/jruby-master-test-jruby/277/
tcrawley-away is now known as tcrawley
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:7e36e14 by Kevin Menard): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/45553518)
travis-ci has left #jruby [#jruby]
tcrawley is now known as tcrawley-away
pazustep has joined #jruby
<pazustep> Hello, guys. Has anyone heard about trouble running jruby-1.7.18 on a DigitalOcean Ubuntu VPS?
<pazustep> I'm having this really weird problem where `bundle install` freezes… I'm not sure what happened but it eventually worked; now `rails s -b 0.0.0` never binds the listening socket (it seems to work at first, but I can't connect to the server and `netstat -l` doesn't show the listening socket)
baroquebobcat has quit [Quit: baroquebobcat]
zorak_ has quit [Ping timeout: 245 seconds]
baroquebobcat has joined #jruby
calavera has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
rjnienaber has quit [Quit: Page closed]
calavera has quit [Client Quit]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has joined #jruby
capitalfellow has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pazustep> that's on Ubuntu 14.04 and OpenJDK 1.7.0_65
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
mbj has joined #jruby
yfeldblum has joined #jruby
iamjarvo has joined #jruby
yfeldblum has quit [Ping timeout: 255 seconds]
subbu is now known as subbu|afk
<headius> pazustep: that's new to me
<headius> I'm not sure how rails s -b handles setting up the socket
<pazustep> it's really weird. is there anything I can do to help diagnose this?
<headius> well for the hanging, you can always Ctrl+\ or use the jstack command to get a thread dump
<headius> that will show us where it is stuck
<headius> for the socket-binding issue...does it work without -b?
<pazustep> I've just realized that the boot process never really finishes (it doesn't get to the webrick#start message)
<pazustep> no, -b makes no difference.
<headius> ok, that's odd...obviously rails s works for most people or we'd have heard about it
<pazustep> of course… that's why I mentioned DigitalOcean, maybe it's something related to their default ubuntu config
<headius> it certainly could be
<headius> pazustep: might be interesting to build JRuby and run some tests
<headius> that would be a broader option to figure out what might be odd about their end
<headius> env
mister_solo has joined #jruby
<pazustep> I'll try this
<pazustep> here's the stack trace, btw. Looks fine to me: https://gist.github.com/pazustep/b890c25465743f1f66b4
<chrisseaton_> headius: yeah, we have a value profile that looks at arguments, and if it only ever sees one value it will turn it into a constant with a single guard at the entry point of the compiled code
towski has joined #jruby
triple_b has joined #jruby
mattwildig has quit [Remote host closed the connection]
<headius> _ko10: around?
chrisseaton_ is now known as chrisseaton
tlarevo has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
towski has quit [Ping timeout: 272 seconds]
towski has joined #jruby
mattwildig has joined #jruby
yfeldblum has joined #jruby
rjnienaber has joined #jruby
yfeldblum has quit [Ping timeout: 244 seconds]
<rjnienaber> 00:05 <headius> oh, missed him
<rjnienaber> headius: were you talking about me ?
e_dub has joined #jruby
<headius> no, I was just going to thank you :-)
<rjnienaber> okay, cool np :)
<headius> and reply about closing the JIRA issues...I'll handle it
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/V0u68A
<JRubyGithub> jruby/master fb9199f Kevin Menard: [Truffle] Fixed directory globbing on Windows.
JRubyGithub has left #jruby [#jruby]
<nirvdrum> headius: FYI, stdio is busted on Windows.
<headius> yay!
towski has quit [Remote host closed the connection]
<headius> probably just needs to not use native IO
<nirvdrum> Oddly, it works in Truffle, so it's probably some weird bootstrapping issue.
<headius> yeah I assume you have a different IO
<headius> or not?
<headius> I don't know what we share and what we don't right now
iamjarvo has joined #jruby
<nirvdrum> I have no idea. I just have been pecking away at making things work in Windows.
<headius> that's excellent
<headius> I'm going to hop on VPN and see if Red Hat IT has seen fit to give me my Windows licenses
<chrisseaton> what exactly is stdio? Do you just mean puts and things? We send that to the stdout stream that JRuby uses - so not a JRuby File object, but the same underlying stream
<headius> chrisseaton: do you disable native or anything like that?
<nirvdrum> Yeah. Just stdout, stderr, stdin.
<headius> I think it may unconditionally use native IO for stdio when native is enabled
<headius> checking tha tnow
subbu|afk is now known as subbu
<chrisseaton> headius: the stream we get is a OutputStream I think
<chrisseaton> no idea what backs it
<headius> you might be getting JDK's stdio
<nirvdrum> headius: Things do work when I disable native.
<nirvdrum> I should've tried that before.
<headius> nirvdrum: 8772106100427586
<headius> oops
<headius> for the moment I'm not even bothering to use native IO on Windows
towski has joined #jruby
mbj has quit [Ping timeout: 264 seconds]
elux has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nirvdrum> headius: Gotta jet for a few. With only cursory inspection, it looks like the streams aren't dupable and that creates problems.
<headius> nirvdrum: oh, that's weird...I bet dup2 isn't doing what we expect on Windows
<headius> party line for the moment is that only non-Windows should use the native stuff...I have some guards in place, but obviously not enough
<headius> may demand another abstraction layer to keep the code clean
mattwildig has quit [Remote host closed the connection]
<headius> nirvdrum: happy new year...have a nice evening
<nirvdrum> It returns nil and console.rb tries to reopen the old stream. Passing nil to reopen creates all sorts of problems.
<headius> nice
<headius> ok
<nirvdrum> I'll be back. I'm just getting my new glasses :-)
<headius> hooray
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
rcvalle has joined #jruby
capitalfellow has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
mbj has joined #jruby
Hobogrammer has joined #jruby
elux has quit [Quit: Bye!]
noop1 has quit [Quit: Leaving]
mattwildig has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:fb9199f by Kevin Menard): The build has errored. (http://travis-ci.org/jruby/jruby/builds/45565353)
travis-ci has left #jruby [#jruby]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nirvdrum> Yeah, native on Windows seems to be bad news.
<nirvdrum> jnr.enxio.channels.Native$SingletonHolder raises a NCDFE.
capitalfellow has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rjnienaber has quit [Ping timeout: 246 seconds]
capitalfellow has joined #jruby
Aethenelle has joined #jruby
<headius> yeah, I'm not surprised
capitalf_ has joined #jruby
<headius> if there's anything that has non-native version alongside, you could add Windows guard
<headius> that's what I'll be doing in most cases
<nirvdrum> Okay.
<nirvdrum> How does 1.7 get away with having native enabled?
capitalfellow has quit [Ping timeout: 245 seconds]
<headius> it uses it far less
<headius> 9k added fully-native logic for most IO operations
<nirvdrum> Hmm . . . maybe guards are better then. I'd hate to have to disable all of native.
<headius> yeah, we don't want that
<headius> there's native stuff we depend on on Windows
<headius> I just figured the old non-native IO is ok for Windows for now...and maybe for longer
<nirvdrum> Want to commit your gist?
<nirvdrum> headius, subbu: This looks like an IR error of some sort: https://travis-ci.org/jruby/jruby/jobs/45565381
<subbu> nirvdrum, you mean the "BUG: Got exception org.jruby.exceptions.RaiseException: (TypeError) `to_a' did not return Array but instr return(*<x(0:0)>) is not supposed to be raising exceptions!"
<subbu> I've known about those for a while and ignored them, but I should get around to it one of these days soon.
<headius> array coercion certainly can throw errors
yfeldblum has joined #jruby
<subbu> ya, there are some scenarios i've to distinguish internally ... i've forgotten the details ... but wil come back when I look at that code.
mattwildig has quit [Remote host closed the connection]
<nirvdrum> subbu: That's the one.
<nirvdrum> If you know about it, great. It just seemed to be a spurious failure.
yfeldblum has quit [Ping timeout: 240 seconds]
iamjarvo has joined #jruby
<headius> IT asked me how many licenses...so perhaps I'll have some Windows copies in the next week
<nirvdrum> Great.
<nirvdrum> I'll help out where I can, but you guys would know better. As it stands, you wouldn't be able to ship 9k for Windows :-/
mattwildig has joined #jruby
<headius> yeah, that dog won't hunt
<headius> I'll get IO fixed up as soon as I have a license
<headius> it will probably involve additional tags/excludes for Windows
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nirvdrum> Is there a revised release plan for pre1?
<headius> kinda playing it by ear, but we'll actually pull folks together in here Monday to chat about it
<headius> it could really be any time if it's largely functional, so mostly we need to decide if it's functional enough
<headius> a number of folks have tested out nontrivial apps without problems, and others have found minor bugs
<headius> releasing sucks...it's like giving up
<nirvdrum> I don't suppose you got anywhere with that C1 crasher?
<headius> gotta do it though
<headius> no, unfortunately not...I pinged the right people but holdays and all
<nirvdrum> Ahh, right.
<headius> did we open a jruby issue for it, just to track progress?
<headius> can't remember if we had one
<nirvdrum> I went into the Burlington office yesterday and that place was dead.
mcclurmc has joined #jruby
<nirvdrum> I assume CA is similar or worse.
e_dub has quit [Quit: e_dub]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
diegoviola has quit [Remote host closed the connection]
<headius> Oracle Burlington?
<headius> which I believe used to be a Sun facility
<headius> I never got out there
<headius> Santa Clara campus is pretty active still though
<headius> that's where labs is based
<headius> Menlo Park was cool...now it's stupid Facebook
<chrisseaton> Labs HQ is Redwood Shores now - but I think there might be a couple of people in Santa Clara
<headius> Mario must be there
<headius> I suppose anyone left from Sun Labs is potentially in SC
<headius> Redwood Shores is too damn far from everything
<headius> except the airport
<chrisseaton> Mario and everyone I know are at Redwood Shores
<chrisseaton> I think they moved a lot of the hardware people into SC
<chrisseaton> as in non-labs hardware people - networking gear and things
capitalf_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tlarevo has quit [Ping timeout: 240 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<chrisseaton> headius: speaking of Mario, did you see this? http://www.youtube.com/watch?v=Ox5P7QyL774&spfreload=10 Mario at 1:18
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius opened issue #2400: File.join generates corrupted Windows-31J String on Windows http://git.io/gYXJ3A
JRubyGithub has left #jruby [#jruby]
<headius> chrisseaton: ahh ok
<Antiarc> out of curiosity, how much tuning has been done on the lexer code? I'm still poking at improving startup time, and am mostly wondering how much this path has been tread before it
<Antiarc> before me*
<headius> chrisseaton: probably not long before JVMLS moves there too
iamjarvo has joined #jruby
<headius> maybe not...the SC facility is pretty nice
<Antiarc> I'm not seeing any particular inefficiencies, but an awful lot of startup time is spent in lexing code, I'm just wondering if there might be shortcuts that could be taken there
<headius> Antiarc: enebo has done a lot of tweaking and has more to come
capitalfellow has joined #jruby
<headius> you definitely want to sync up with him first
<Antiarc> Also, is there any reason the .rb files bundled in jruby.jar aren't precompiled to class files?
<Antiarc> Okay, cool
<Antiarc> For the stuff that gets shipped in the jar, it seems like it'd make sense to just go ahead and precompile them, so there isn't the whole lex-and-parse step on every bootup
<headius> precompiling to class files in 1.7 and lower actually hurts perf because the JVM has to verify all that bytecode, plus it still has to be loaded, parsed, linked, etc
<Antiarc> Ooh. Okay.
<headius> it might be better in 9k
<headius> no AOT yet in 9k
<nirvdrum> headius: Yeah, the old Sun campus out in Burlington.
<nirvdrum> I head in one day a week usually. I don't actually work with anyone out of that office, but it's good to see other humans.
<nirvdrum> There are a few labs groups out of there.
pazustep has quit [Remote host closed the connection]
<headius> cool
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #jruby
<nirvdrum> Antiarc: Load service and jruby-openssl are probably still the largest contributors to start-up time.
<nirvdrum> Load service should be fairly straightforward, if not annoying.
<Antiarc> Hm, okay, neither of those showed up in my profiling
<Antiarc> But I'll take a look at 'em
<nirvdrum> Were you profiling a real app?
<nirvdrum> Or just a base start-up time?
<headius> profiling startup is really hard
<headius> I know one of the biggest things for base boot time is all the Java class proxy generation
<Antiarc> Just base startup time, -e "require 'active_support/all'"
<headius> there's a ton of reflective class-walking and method gathering
<headius> more than there needs to be but it's a complicated algorithm
<headius> JavaClass.java
<Antiarc> I'll take a look
<nirvdrum> Antiarc: The area an obsoleted PR was intended to address is still ripe for improvement: https://github.com/jruby/jruby/pull/1604
<Antiarc> Excellent. Thanks.
<headius> for app startup, the big items are still AST parsing and IR compilation
<Antiarc> startup time is still the single largest pain point I have, so if I can at all help improve that, I'll be quite happy :)
<nirvdrum> We cut out 2/4 of the suffixes, so the total number of filesystem requests dropped substantially. But requiring a file is still O(n), where n = $LOAD_PATH.size
yfeldblum has quit [Ping timeout: 240 seconds]
<nirvdrum> In my Rails app, there were ~125 load path entries and ~27K required files.
<Antiarc> Yeah, I've played around with various solutions to that on MRI for years, but it's just hairy
<Antiarc> Ruby's require semantics are just not conducive to faster-than-linear operations there
<nirvdrum> And you end up in a weird situation where the first time a file from a gem is required, the gem is appended to the end of the LOAD_PATH, but you almost certainly are requiring more than one file from that gem and each of those requires ends up walking the full list.
<nirvdrum> So it's truly worst-case O(n).
<Antiarc> I've toyed with walking the load paths and preloading the whole thing into RAM to be invalidated when the load path changes, which produced some speedup, but it broke things in ways that I didn't understand at the time
<nirvdrum> I had it pretty much constant time by caching directory entries as they were visited and doing a cache lookup with fallback when a file was required. A filesystem watcher selectively invalidated the cache.
mcclurmc has quit [Remote host closed the connection]
<nirvdrum> But this was before dfr|work refactored the whole thing, so it went stale.
<Antiarc> It seems like the kind of case that should be able to be accomplished in log time if you have the file list in memory, since you could just walk a tree to find the file(s) you're interested in, then test those
tlarevo has joined #jruby
<nirvdrum> The other problem I never got around to addressing is the FS watcher API is 7+ and wouldn't load on Android. Also, MacOS X doesn't have a native FS watcher implementation, so it'd have to be polled.
<nirvdrum> That aside, I think it demonstrates that something can be done in this area.
<nirvdrum> On the jruby-openssl front, I think lazily instantiating things would help markedly. But that was something I was less comfortable changing.
<chrisseaton> 655 open bugs - wow
<chrisseaton> I wonder if we can triage this a bit more
<nirvdrum> Requiring 'openssl' takes > 700ms.
<chrisseaton> perhaps we need a 'confirmed' tag
<nirvdrum> Even if you never use anything from it.
<Antiarc> tbh, the linear growth of require times is probably a bigger concern; jruby being 900ms to boot up vs 50ms from MRI or whatever is less of a concern to me than rake taking 9 seconds to boot and load the app before it starts doing anything.
<nirvdrum> Yeah, both suck.
SunnyDMess has joined #jruby
tlarevo has quit [Ping timeout: 272 seconds]
<nirvdrum> The openssl issue was almost entirely the performance difference in "bundle exec" vs using binstubs.
<Antiarc> interesting,.
<nirvdrum> But I got bundler to lazy require a while ago.
<nirvdrum> But, if anything else along the way requires openssl, you'll hit the same wall.
<nirvdrum> According to the issue I filed, I was seeing 3s to require openssl on a VM.
<Antiarc> Yikes.
<nirvdrum> But, yeah, the linear time in require is likely a lot easier to tackle and could have much wider impact.
<Antiarc> interesting - both MRI and jruby fail to load a file with a .RB extension
<Antiarc> (the regexp is explicitly for lowercase)
<nirvdrum> Yeap.
<nirvdrum> Not a regexp. They just append a hard-code list of suffixes to the base name and lstat.
<Antiarc> right, but require './TEST.RB' fails even if that file exists. I guess it's looking for TEST.RB.rb.
<nirvdrum> That should work. If there's an extension it should load it.
<Antiarc> It fails for me here, both on jruby and mri 2.2.0. I think it's testing via regexp for .rb to determine if it has an extension or not.
<nirvdrum> headius, chrisseaton: I guess we knew this was coming: http://rubini.us/2014/12/31/matz-s-ruby-developers-don-t-use-rubyspec/
<chrisseaton> yeah, was just reading it
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tlarevo has joined #jruby
<chrisseaton> I guess I'll have to host my Ruby bibliography somewhere else - Brian asked me to move it to rubyspec.org for the benefit of the community, and now it's gone with everything else
calavera has joined #jruby
triple_b has joined #jruby
triple_b has quit [Ping timeout: 250 seconds]
tlarevo has quit [Ping timeout: 256 seconds]
<brixen> chrisseaton: it's archived
<brixen> chrisseaton: hopefully you'll find a better place for it
<chrisseaton> I've bought rubybib.org - I'll set up a GH org and put a site up soon
<brixen> sounds good
<brixen> hopefully more academics will take an interest
<brixen> github pages sure makes it easy to put stuff up
<brixen> which is awesome
<headius> Antiarc: as you work, make sure you're testing with --dev as well so we can see best-case
<Antiarc> Noted, will do
<headius> nirvdrum: thank goodness it's all OSS, eh?
<Antiarc> Right now I'm mostly just combing through looking for algorithmic inefficiencies, once I've completed my survey I'll start with the microoptimizations :)
<headius> Antiarc: excellent
<headius> if you can figure out any other good tools for profiling startup, that would always be welcome
<Antiarc> I'm just using hprof cpu=times right now
<headius> it's very difficult to get a clear picture without the profiling itself getting in the way
<Antiarc> Which is slow as hell but gives very complete results :)
<headius> yeah, it does
<headius> tracking allocations can help too...look for exceptions being thrown or massive amounts of other objects
yfeldblum has joined #jruby
<Antiarc> ah, good idea
<nirvdrum> headius: Did you take care of the CDFNE at startup?
<headius> yeah that's in
<headius> you mean the ones from *Service loading?
<nirvdrum> Yeap.
yfeldblum has quit [Ping timeout: 250 seconds]
<headius> yeah, that actually got into 1.7.18 as well, to work around a RubyGems bug
<nirvdrum> Interesting. I guess I missed that.
<headius> we ended up backtracking on the RG update but the fix stayed
capitalfellow has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
capitalfellow has joined #jruby
mattwildig has quit []
<Antiarc> I've more or less entirely avoided the rubyspec politicizing, but it's bringing up some interesting reading.
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] cprice404 opened pull request #2401: (MAINT) Fix pom deps re: asm (jruby-1_7...maint/jruby-1_7/fix-asm-pom-deps) http://git.io/QFBDmA
JRubyGithub has left #jruby [#jruby]
yfeldblum has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 2 new commits to jruby-1_7: http://git.io/bleGVQ
<JRubyGithub> jruby/jruby-1_7 2d474b5 Chris Price: (MAINT) Fix pom deps re: asm...
<JRubyGithub> jruby/jruby-1_7 c78272f Thomas E Enebo: Merge pull request #2401 from cprice404/maint/jruby-1_7/fix-asm-pom-deps...
JRubyGithub has left #jruby [#jruby]
<nirvdrum> enebo is alive!
<headius> he is!
<headius> sorta half-vacation
capitalfellow has quit [Ping timeout: 258 seconds]
aef has quit [Ping timeout: 258 seconds]
dvorak has quit [Ping timeout: 258 seconds]
mberg has quit [Ping timeout: 258 seconds]
cremes has quit [Ping timeout: 258 seconds]
yarker has quit [Ping timeout: 258 seconds]
calavera has quit [*.net *.split]
Aethenelle has quit [*.net *.split]
multibot_ has quit [*.net *.split]
Neomex has quit [*.net *.split]
kith has quit [*.net *.split]
lance|afk has quit [*.net *.split]
dling has quit [*.net *.split]
englishm has quit [*.net *.split]
joevandyk has quit [*.net *.split]
mbj has quit [*.net *.split]
mister_solo has quit [*.net *.split]
kwando_ has quit [*.net *.split]
ivan\ has quit [*.net *.split]
joast has quit [*.net *.split]
subbu has quit [*.net *.split]
mitchellhenke has quit [*.net *.split]
mistergibson__ has quit [*.net *.split]
brixen has quit [*.net *.split]
amdprophet has quit [*.net *.split]
havenwood has quit [*.net *.split]
towski has quit [*.net *.split]
cpuguy83 has quit [*.net *.split]
tcrawley-away has quit [*.net *.split]
het has quit [*.net *.split]
baroquebobcat has quit [*.net *.split]
dabradley has quit [*.net *.split]
dcorbin__ has quit [*.net *.split]
jamo_ has quit [*.net *.split]
Sinjo_ has quit [*.net *.split]
brycek has quit [*.net *.split]
mjelen has quit [*.net *.split]
jeremyevans has quit [*.net *.split]
projectodd-ci has quit [*.net *.split]
klap has quit [*.net *.split]
headius has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
jc00ke has quit [*.net *.split]
bryancp has quit [*.net *.split]
Scorchin has quit [*.net *.split]
electrical has quit [*.net *.split]
n1ftyn8 has quit [*.net *.split]
asarih has quit [*.net *.split]
DomKM has quit [*.net *.split]
SynrG has quit [*.net *.split]
guilleiguaran has quit [*.net *.split]
zph has quit [*.net *.split]
mjc__ has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
drbobbeaty has quit [*.net *.split]
Xzyx987X_ has quit [*.net *.split]
qmx has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
justinmcp_ has quit [*.net *.split]
dcolebatch has quit [*.net *.split]
blinsay has quit [*.net *.split]
asuka has quit [*.net *.split]
lupine has quit [*.net *.split]
halorgium has quit [*.net *.split]
eonwe has quit [*.net *.split]
Freaky has quit [*.net *.split]
mtfk_ has quit [*.net *.split]
teamon_ has quit [*.net *.split]
robbyoconnor has quit [*.net *.split]
kfpratt has quit [*.net *.split]
Antiarc has quit [*.net *.split]
jimbaker has quit [*.net *.split]
dcheung has quit [*.net *.split]
neoice has quit [*.net *.split]
errstr has quit [*.net *.split]
koichiro_zzz0 has quit [*.net *.split]
Haifeng has quit [*.net *.split]
Liothen has quit [*.net *.split]
Jamo has quit [*.net *.split]
_ko10 has quit [*.net *.split]
tarcieri has quit [*.net *.split]
SunnyDMess has quit [*.net *.split]
rcvalle has quit [*.net *.split]
nirvdrum has quit [*.net *.split]
kotk has quit [*.net *.split]
locks has quit [*.net *.split]
atambo has quit [*.net *.split]
tbuehlmann has quit [*.net *.split]
rhinon has quit [*.net *.split]
jarib has quit [*.net *.split]
yopp has quit [*.net *.split]
sluukkonen has quit [*.net *.split]
Hobogrammer has quit [*.net *.split]
cajone has quit [*.net *.split]
cprice404 has quit [*.net *.split]
dyer|away has quit [*.net *.split]
LTe_ has quit [*.net *.split]
jgdavey has quit [*.net *.split]
Scient has quit [*.net *.split]
haze has quit [*.net *.split]
quadz has quit [*.net *.split]
rtyler has quit [*.net *.split]
_whitelogger_ has joined #jruby
lopex has joined #jruby
yipdw has joined #jruby
yipdw has quit [Changing host]
yipdw has joined #jruby
finch has joined #jruby
dbussink has joined #jruby
bruceadams has joined #jruby
fidothe__ has joined #jruby
gazarsgo has joined #jruby
chrisseaton has joined #jruby
portertech has joined #jruby
<Antiarc> https://gist.github.com/cheald/69fac746e980c38d143d - is this a known issue? I've seen it pop up both on travis and now under head
<Antiarc> That's just "20.years.from_now"
beawesomeinstead has joined #jruby
<Antiarc> Though that invocation works fine from irb, so I dunno what's happening. Hm.
<Antiarc> Must be an old version of joda coming from somewhere, per https://github.com/jruby/jruby/issues/1189 I guess.
<Antiarc> Odd that it just showed up though
e_dub has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
atambo has quit [Quit: yarr]
atambo has joined #jruby
mattwildig has joined #jruby
mbj has quit [Ping timeout: 240 seconds]
diegoviola has joined #jruby
yfeldblum has quit [Ping timeout: 265 seconds]
<headius> hmm
<Antiarc> I had Joda 2.1 being loaded due to a bad pom in a gem ext. Fixed that, but I'm not sure why it just started breaking.
<Antiarc> Maybe some change in load orders?
<headius> looks ok
<headius> I mean the signatures should have matched
<Antiarc> Right
<headius> signature selection is sometimes non-deterministic but it didn't find *anything*
<headius> if it was a version mismatch it could be classloader sequence etc
<headius> like running in maven might have classpath ordered differently
<headius> you got that running something locally?
<Antiarc> I've got it all sorted for now, but that feels like a timebomb waiting to happen
<Antiarc> Yeah
<Antiarc> I have a gem which had caliper in its ext pom, which depends on joda-time-2.1
<Antiarc> So joda-time 2.1 was being loaded, which caused that problem
<Antiarc> Though I still can't repro it in IRB even explicitly loading 2.1
<Antiarc> Gotta be a load order thing somewhere.
digitalextremist has joined #jruby
digitalextremist has quit [Remote host closed the connection]
yfeldblum has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] cprice404 opened pull request #2402: (MAINT) fix jnr-constants version in pom (jruby-1_7...maint/jruby-1_7/fix-jnr-constants-version-in-pom) http://git.io/3MQsnQ
JRubyGithub has left #jruby [#jruby]
mitchellhenke has joined #jruby