djbkd has joined #jruby
zorak8 has quit [Ping timeout: 250 seconds]
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zorak8 has joined #jruby
djbkd has quit [Remote host closed the connection]
codefinger has joined #jruby
djbkd has joined #jruby
imperator has joined #jruby
bjfish2 has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] djberg96 opened issue #2842: Hash#each_pair should be a true alias of Hash#each http://git.io/vv1pL
JRubyGithub has left #jruby [#jruby]
codefinger has quit [Quit: Leaving...]
djbkd has quit [Remote host closed the connection]
djbkd has joined #jruby
marr has quit [Ping timeout: 255 seconds]
mysteriouspants has quit [Changing host]
mysteriouspants has joined #jruby
havenwood has quit [Ping timeout: 240 seconds]
havenwood has joined #jruby
bjfish2 has quit [Quit: bjfish2]
pierreatkillbill has quit [Ping timeout: 252 seconds]
camlow325 has quit []
mrmargolis has joined #jruby
mrmargol_ has joined #jruby
mrmargolis has quit [Read error: Connection reset by peer]
e_dub has joined #jruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #jruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
djbkd has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vvMmx
<JRubyGithub> jruby/master 9ad70d5 Kevin Menard: [Truffle] Don't override standard execute<type> methods in ToIntNode....
JRubyGithub has left #jruby [#jruby]
djbkd has quit [Ping timeout: 250 seconds]
mrmargol_ has quit [Remote host closed the connection]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum closed issue #2839: [Truffle] Array#at CreateCast not working http://git.io/vv6wZ
JRubyGithub has left #jruby [#jruby]
mrmargolis has joined #jruby
zorak8 has quit [Ping timeout: 276 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:9ad70d5 by Kevin Menard): The build failed. (http://travis-ci.org/jruby/jruby/builds/58846323)
travis-ci has left #jruby [#jruby]
havenn has joined #jruby
havenwood has quit [Ping timeout: 264 seconds]
imperator has quit [Quit: Leaving]
havenn has quit [Ping timeout: 264 seconds]
jeremyevans has quit [Ping timeout: 246 seconds]
havenwood has joined #jruby
bjfish2 has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:9ad70d5 by Kevin Menard): The build failed. (http://travis-ci.org/jruby/jruby/builds/58846323)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vvMcW
<JRubyGithub> jruby/master bdb27a1 Kevin Menard: [Truffle] Rename taintFromParameters to taintFromParameter....
JRubyGithub has left #jruby [#jruby]
nirvdrum has quit [Ping timeout: 245 seconds]
djbkd has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:9ad70d5 by Kevin Menard): The build failed. (http://travis-ci.org/jruby/jruby/builds/58846323)
travis-ci has left #jruby [#jruby]
mrmargolis has quit [Remote host closed the connection]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:bdb27a1 by Kevin Menard): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/58848744)
travis-ci has left #jruby [#jruby]
mitchellhenke has joined #jruby
headius2 has joined #jruby
mkristian has joined #jruby
mkristian has quit [Client Quit]
headius2 has quit [Ping timeout: 255 seconds]
yfeldblum has quit [Remote host closed the connection]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
headius2 has joined #jruby
x1337807x has joined #jruby
djbkd has quit [Quit: My people need me...]
zorak8 has joined #jruby
mrmargolis has joined #jruby
headius2_ has joined #jruby
yfeldblum has joined #jruby
havenn has joined #jruby
headius2 has quit [Ping timeout: 246 seconds]
subbu has joined #jruby
havenwood has quit [Ping timeout: 248 seconds]
headius2_ has quit [Ping timeout: 265 seconds]
havenwood has joined #jruby
havenn has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrmargolis has quit [Remote host closed the connection]
x1337807x has joined #jruby
zorak8 has quit [Ping timeout: 265 seconds]
x1337807x has quit [Client Quit]
subbu has quit [Ping timeout: 240 seconds]
zorak8 has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish opened issue #2843: [Truffle] Stack Overflow in String#byteslice http://git.io/vvMKI
JRubyGithub has left #jruby [#jruby]
bjfish2 has quit [Quit: bjfish2]
rsim has joined #jruby
havenwood has quit [Remote host closed the connection]
anaeem1 has joined #jruby
skade has joined #jruby
jeremyevans has joined #jruby
skade has quit [Client Quit]
zorak8 has quit [Ping timeout: 240 seconds]
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #jruby
kares has joined #jruby
anaeem1 has quit [Ping timeout: 246 seconds]
a5i has quit [Quit: Connection closed for inactivity]
rsim has quit [Quit: Leaving.]
x1337807x has joined #jruby
yfeldblum has quit [Remote host closed the connection]
bga57 has quit [Ping timeout: 256 seconds]
Aethenelle has quit [Quit: Aethenelle]
bga57 has joined #jruby
shellac has joined #jruby
clayton has quit [Excess Flood]
dvorak has joined #jruby
kares has quit [Ping timeout: 272 seconds]
marr has joined #jruby
kares has joined #jruby
yfeldblum has joined #jruby
phlebas_ has joined #jruby
yfeldblu_ has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
elia has joined #jruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dinfuehr has joined #jruby
phlebas__ has joined #jruby
yfeldblum has quit [Ping timeout: 264 seconds]
phlebas__ has quit [Client Quit]
phlebas_ has quit [Ping timeout: 245 seconds]
mister_solo has joined #jruby
yfeldblu_ has quit [Ping timeout: 245 seconds]
yfeldblum has joined #jruby
DomKM has joined #jruby
<eonwe> Are there any plans to update the Ruby stdlib that ships with JRuby? The included WEBrick at least still has that "can't add a new key into hash during iteration"-bug in it: https://github.com/jruby/jruby/blob/master/lib/ruby/stdlib/webrick/utils.rb#L165 compare to http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/webrick/utils.rb?r1=33611&r2=35199&pathrev=35199
<eonwe> It's a bit unfortunate as many tools seem to use WEBrick by default
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/vvDR1
<JRubyGithub> jruby/master 760d8c5 Benoit Daloze: [Truffle] Use an execute method to not break encapsulation in #to_int coercion.
JRubyGithub has left #jruby [#jruby]
<eregon> eonwe: this is in MRI only on trunk right now if I'm not mistaken, not in the 2.2 branch, not sure if it will be backported
<eregon> eonwe: one could request the backport though
<eregon> eonwe: about JRuby stdlib, I think we try to stick to releases for stdlib, but maybe there are exceptions
<eregon> eonwe: worth opening an issue in any case
rsim has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon closed issue #2835: [Truffle] NPE when running multiple tests http://git.io/vvaV2
JRubyGithub has left #jruby [#jruby]
shellac has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:760d8c5 by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/58877207)
travis-ci has left #jruby [#jruby]
vtunka has joined #jruby
colinsurprenant has joined #jruby
colinsurprenant has quit [Client Quit]
colinsurprenant has joined #jruby
pitr-ch has joined #jruby
pierreatkillbill has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 2 new commits to master: http://git.io/vvDi7
<JRubyGithub> jruby/master cc1fbfb Benoit Daloze: [Truffle] Simplify constructor used for maybeTaint....
<JRubyGithub> jruby/master 1035a86 Benoit Daloze: [Truffle] Fix missing argument.
JRubyGithub has left #jruby [#jruby]
balo has quit [Quit: leaving]
chamila has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:1035a86 by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/58881942)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/vvDyD
<JRubyGithub> jruby/master ad79ae5 Benoit Daloze: [Truffle] Fix error on String.num_bytes=(long)...
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/vvDSA
<JRubyGithub> jruby/master 097abf9 Benoit Daloze: [Truffle] JT: remove huge literal....
JRubyGithub has left #jruby [#jruby]
vtunka has quit [Quit: Leaving]
anaeem1_ has joined #jruby
dinfuehr has quit [Remote host closed the connection]
cprice404 has quit [Quit: Konversation terminated!]
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:ad79ae5 by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/58884211)
travis-ci has left #jruby [#jruby]
balo has joined #jruby
pjammer has joined #jruby
mister_solo has quit [Ping timeout: 246 seconds]
pitr-ch has quit [Quit: Textual IRC Client: www.textualapp.com]
drbobbeaty has joined #jruby
drbobbeaty has quit [Client Quit]
dinfuehr has joined #jruby
drbobbeaty has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
colinsurprenant has joined #jruby
Aethenelle has joined #jruby
dinfuehr has quit [Remote host closed the connection]
cprice404 has joined #jruby
dinfuehr has joined #jruby
dinfuehr has quit [Remote host closed the connection]
dinfuehr has joined #jruby
pierreatkillbill has quit [Ping timeout: 265 seconds]
dinfuehr has quit [Remote host closed the connection]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:097abf9 by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/58884715)
travis-ci has left #jruby [#jruby]
Aethenelle has quit [Quit: Aethenelle]
Aethenelle has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
dinfuehr has joined #jruby
a5i has joined #jruby
pierreatkillbill has joined #jruby
dinfuehr has quit [Remote host closed the connection]
Aethenelle has quit [Quit: Aethenelle]
nirvdrum has joined #jruby
yfeldblum has quit [Ping timeout: 245 seconds]
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cremes has quit [Quit: cremes]
kares has quit [Ping timeout: 246 seconds]
bbrowning_away is now known as bbrowning
dvorak is now known as clayton
cremes has joined #jruby
tcrawley-away is now known as tcrawley
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vvygp
<JRubyGithub> jruby/master 6a985a3 Kevin Menard: [Truffle] Fixed improper guards that could lead primitives down the slow path in ToIntNode.
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 5 new commits to master: http://git.io/vvy2N
<JRubyGithub> jruby/master ba39437 Benoit Daloze: [Truffle] Fix Module#{public_,}instance_method.
<JRubyGithub> jruby/master f27bb12 Benoit Daloze: [Truffle] Set @name for NameError exceptions.
<JRubyGithub> jruby/master 8bcf1a9 Benoit Daloze: [Truffle] Set @name for NoMethodError exceptions.
JRubyGithub has left #jruby [#jruby]
anaeem1_ has quit [Ping timeout: 265 seconds]
southwinda has joined #jruby
lance|afk is now known as lanceball
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 4 new commits to master: http://git.io/vvyrT
<JRubyGithub> jruby/master 0e821de Benoit Daloze: Squashed 'spec/mspec/' changes from 6676cd6..2045fe1...
<JRubyGithub> jruby/master c447b07 Benoit Daloze: Merge commit '0e821deafe5850bde591f486b58e7704a91a7448'
<JRubyGithub> jruby/master 3319bc3 Benoit Daloze: Squashed 'spec/ruby/' changes from a34895b7..44248dc...
JRubyGithub has left #jruby [#jruby]
mkristian has joined #jruby
mrmargolis has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
e_dub has quit [Quit: ZZZzzz…]
drbobbeaty has joined #jruby
MacRohard has joined #jruby
Aethenelle has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:6a985a3 by Kevin Menard): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/58901932)
travis-ci has left #jruby [#jruby]
colinsurprenant has quit [Quit: colinsurprenant]
dinfuehr has joined #jruby
<MacRohard> I have a question about reflection.. I have a thing I want to get that's protected.. I can see it by doing this; fenv = @channel.getClass().getSuperclass().getDeclaredField("env") fenv.setAccessible(true) but I can't figure out what to pass to (Field)fenv.get to retreive it.. nothing seems to work
brightball has quit [Quit: Leaving...]
<MacRohard> the thing in question is a Map - actually a LinkedHashMap if that makes any difference
<chrisseaton> Just checking that you have a good reason for reading encapsulated fields from inside a LinkedHashMap - can you explain your use case and maybe we can do something else instead? Or maybe you really do need it for whatever reason, which is also fine.
<MacRohard> I can't find any other way to access it
<chrisseaton> Yeah, but can you explain why you need to access the field?
<MacRohard> well it's actually a field in mina ssh that contains the environment for a remote ssh connection. I want to know what SSH_AUTH_SOCK was assigned to the connection
<chrisseaton> I'm not even sure there is an 'env' field in a LinkedHashMap
colinsurprenant has joined #jruby
<MacRohard> no that's the name of the field in the class that i'm getting it out of
<chrisseaton> oh right I thought you were trying to read fields from a LinkedHashMap object
pierreatkillbill has quit [Ping timeout: 276 seconds]
<MacRohard> that's the class that contains "env"
pierreatkillbill has joined #jruby
pitr-ch has joined #jruby
<chrisseaton> can you do getClass() on a Ruby object? Doesn't seem to work for me
<MacRohard> it's a java object
<MacRohard> @channel is a PtyCapableChannelSession - well atually it's a ShellSession that extends PtyCapableChannelSession
pjammer has joined #jruby
<chrisseaton> does that translate to what you're doing?
<MacRohard> I guess "foo".to_java is java.lang.String or something?
<chrisseaton> yeah
<MacRohard> I need a Map
<MacRohard> I think
<chrisseaton> This reads a field from a given Java object - it doesn't matter what class it is
<mkristian> to_hash or to_h gives you a ruby hash
<MacRohard> I think you'll find it only reads strings
<chrisseaton> This gets a char[] from the object - if you want to get a LinkedHashMap it will be the same code
<chrisseaton> MacRohard: well it will read anything with a value field - just change the name of the field if that's not right for your class
<MacRohard> the objecT I'm getting is a Map, not a String
<chrisseaton> that's fine - set o to your object, change "value" to be the name of the field you want from your object, and it should do the same thing
<MacRohard> what's my object though?
anaeem1_ has joined #jruby
<chrisseaton> @channel you said
dinfuehr has quit [Remote host closed the connection]
<chrisseaton> so do o = @channel
<MacRohard> hmm. I've tried that and it doesnt' give any error but I jsut got an empty Map back.. maybe it is actually empty i guess
<chrisseaton> If you got an actual object, then you've read the field successfully
<MacRohard> I'm also confused as to why I needed .getSuperClass - shouldn't all the fields be available in the class itself?
<MacRohard> like this works fenv = @channel.getClass().getSuperclass().getDeclaredField("env") but fenv = @channel.getClass().getDeclaredField("env") doesn't. is that normal?
<chrisseaton> getDeclared field means declared in this class - your field looks like it is inherited from another class
<MacRohard> it is
brightball has joined #jruby
<MacRohard> hmm i think the answer is that the map is just empty
<MacRohard> I tried writing something to it befor getting it and that works
<MacRohard> so I'm still confused but at least this is working :)
<MacRohard> thanks for the help everyone
cprice404 has quit [Quit: Konversation terminated!]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 2 new commits to master: http://git.io/vvyFN
<JRubyGithub> jruby/master bf7ad69 Benoit Daloze: [Truffle] Identify a few slow specs.
<JRubyGithub> jruby/master 099a5f7 Benoit Daloze: [Truffle] Fix Kernel#{freeze,frozen?} for nil and Bignum.
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] jmiettinen opened issue #2844: WEBrick randomly fails with "can't add a new key into hash during iteration" http://git.io/vvybG
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:90591e8 by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/58902251)
travis-ci has left #jruby [#jruby]
headius2 has joined #jruby
<headius2> good morning
<lopex> morning!
<nirvdrum> Back in Windows I take it?
<headius2> yes
<headius2> trying to come up with a reasonable fix for \r\n
<headius2> I discovered why MRI doesn't seem to do conversion
<headius2> the significance of O_BINARY and O_TEXT now come into focus
<nirvdrum> Ahh.
bjfish2 has joined #jruby
cprice404 has joined #jruby
kares has joined #jruby
ahadding1 has quit [Ping timeout: 245 seconds]
djellemah has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
vtunka has joined #jruby
subbu has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
djellemah_ has joined #jruby
enebo has joined #jruby
havenwood has joined #jruby
e_dub has joined #jruby
dinfuehr has joined #jruby
dinfuehr has quit [Remote host closed the connection]
djellemah has quit [Ping timeout: 246 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/vvSIx
<JRubyGithub> jruby/master 1d2698f Benoit Daloze: [Truffle] Use isRubyNilClass since the other relies on CoreLibrary being set in RubyContext.
JRubyGithub has left #jruby [#jruby]
djellemah_ is now known as djellemah
ahadding1 has joined #jruby
<headius2> blast...there just doesn't seem to be any way to get JDK channels to do O_TEXT
<nirvdrum> Going forward, I wonder if there's a way to get wine + JDK going in Travis as a rough approximation for CI.
e_dub has quit [Quit: It's a hard knock life]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vvSqR
<JRubyGithub> jruby/master b67e232 Chris Seaton: [Truffle] Move mkdir into Rubinius, fix some stat stuff.
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton closed issue #2837: [Truffle] Dir.mktmpdir required for a lot of MRI tests http://git.io/vv6JI
JRubyGithub has left #jruby [#jruby]
<chrisseaton> nirvdrum: sounds like a nightmare
e_dub has joined #jruby
nateberkopec has joined #jruby
<headius2> nirvdrum: that would be pretty wild
<headius2> we can get a windows CI box though
<nirvdrum> wine is surprisingly good these days. But I've never tried running a JVM in it.
<headius2> At this point I'm going to boot back into OS X though...I need to research a bit in JDK sources re: O_TEXT
<headius2> bbias
pierreatkillbill has quit [Ping timeout: 272 seconds]
<nirvdrum> Virtual machines are the way to go.
havenwood has quit []
mrmargol_ has joined #jruby
mrmargolis has quit [Read error: Connection reset by peer]
havenwood has joined #jruby
mkristian has quit [Ping timeout: 264 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 2 new commits to master: http://git.io/vvSCG
<JRubyGithub> jruby/master 92ad0af Charles Oliver Nutter: Use indirected fmode.
<JRubyGithub> jruby/master 9fd7727 Charles Oliver Nutter: MRI does not redispatch here.
JRubyGithub has left #jruby [#jruby]
headius2 has quit [Quit: ~ Trillian - www.trillian.im ~]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:99aec54 by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/58902992)
travis-ci has left #jruby [#jruby]
vtunka has quit [Quit: Leaving]
mrmargolis has joined #jruby
mrmargol_ has quit [Ping timeout: 245 seconds]
anaeem1__ has joined #jruby
anaeem1_ has quit [Ping timeout: 248 seconds]
mitchellhenke has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
Aethenelle has joined #jruby
drbobbeaty has joined #jruby
e_dub has quit [Ping timeout: 246 seconds]
colinsurprenant has quit [Quit: colinsurprenant]
e_dub has joined #jruby
tcrawley is now known as tcrawley-away
tcrawley-away is now known as tcrawley
colinsurprenant has joined #jruby
skade has joined #jruby
pierreatkillbill has joined #jruby
subbu is now known as subbu|breakfast
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/vvSPF
<JRubyGithub> jruby/master 457a569 Benoit Daloze: [Truffle] Refactor state out of TranslatorDriver.
JRubyGithub has left #jruby [#jruby]
brightball has quit [Quit: Leaving...]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/vvSMM
<JRubyGithub> jruby/master c725c69 Charles Oliver Nutter: Need to limit this search so we don't walk module-included modules.
JRubyGithub has left #jruby [#jruby]
pierreatkillbill has quit [Ping timeout: 246 seconds]
<enebo> eregon: did you happen to change freeze for anything non-truffle related?
<headius> I don't see any obvious culprit in logs
<headius> nothing has changed RubyBignum in a while
<enebo> This is commit where is stops working for us
<enebo> oh haha
<enebo> this is a new spec
<headius> hah ok
<headius> eregon: if you update specs at least give spec:ruby a run
<headius> this is an easy fix though
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 6 new commits to master: http://git.io/vvS9J
<JRubyGithub> jruby/master 512b0a5 Thomas E. Enebo: StaticScope now has Signature instead of three individual fields. All other...
<JRubyGithub> jruby/master bff01dd Thomas E. Enebo: 1. staticScope.setSignature now only happens when ArgsNode is created and nowhere else (well some dead code which needs to be removed yet). For AOT, IR persistence still needs to be corrected so that we can popular signature when we reify the StaticScope (to be done in a followup commit)....
<JRubyGithub> jruby/master 3f09737 Thomas E. Enebo: Unbreak StaticScope persistence from previous commits. This also indirectly fixes proper...
JRubyGithub has left #jruby [#jruby]
<enebo> alright. things are looking good locally so let’s see about travis
<headius> I will patch Bignum
<enebo> headius: great
rcvalle has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/vvSHW
<JRubyGithub> jruby/master 073d772 Charles Oliver Nutter: Bignums are frozen at create now.
JRubyGithub has left #jruby [#jruby]
<chrisseaton> headius: can I get PATH_MAX via jnr at all?
<headius> I don't know what that is, but if it's just a #define then the answer is no
<headius> max path length I guess?
<enebo> jnr-constants update should be simpler
<chrisseaton> yeah - looks like you hard coded it as 1024
rsim1 has joined #jruby
<chrisseaton> I'll just do the same and make sure any error is obvious
<enebo> by simpler I mean not having to find n people to update it
<headius> enebo: it's possible to just do it manually
<headius> just cumbersome
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/vvSQe
<JRubyGithub> jruby/master 7b6475d Benoit Daloze: [Truffle] Simplify constructors of RubyCallNode....
JRubyGithub has left #jruby [#jruby]
<enebo> chrisseaton: jnr-constants can define things like this but it requires running once on each supported platform
<chrisseaton> jnr-posix is a delight to work with BTW - implementing the POSIX layer of Rubinius and it is super easy
<headius> excellent
<headius> 9k uses it heavily too
kares has quit [Ping timeout: 244 seconds]
<chrisseaton> why don't you use use POSIX for all of IO? Is it because you want to be able to have a Ruby file with a Java channel underlying it if you get channels from some API?
rsim has quit [Ping timeout: 265 seconds]
pierreatkillbill has joined #jruby
camlow325 has joined #jruby
e_dub has quit [Quit: ZZZzzz…]
subbu|breakfast is now known as subbu
<headius> chrisseaton: platforms where we don't or can't have native support
<headius> all our native stuff has to have fallback semi-gracefully
<chrisseaton> headius: our only concern is moving so far away from the underlying JVM IO layer - not sure if some future problems might emerge maybe in tooling or something
<headius> it's definitely a problem
e_dub has joined #jruby
<headius> for example, you can't mix enxio selectors with JDK channels
<chrisseaton> The SVM simply provides an implementation of POSIX that is native to the VM
<chrisseaton> You have a JEP for HotSpot to do that don't you?
<headius> I started it but I have not had cycles to help
<headius> they're working on it
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 4 new commits to master: http://git.io/vvSbv
<JRubyGithub> jruby/master 87be3a7 Chris Seaton: [Truffle] Move chdir to Rubinius.
<JRubyGithub> jruby/master bb94fb0 Chris Seaton: [Truffle] Move rmdir to Rubinius.
<JRubyGithub> jruby/master 0484d31 Chris Seaton: [Truffle] Move Dir.exist? into Rubinius.
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:099a5f7 by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/58909398)
travis-ci has left #jruby [#jruby]
<headius> time to boot a few builds
<headius> enebo: what else should we check for pre2?
<headius> rails is working on Windows even without the \r\n fix
<enebo> headius: how much of Rails tests are working?
<nirvdrum> headius: Can you run language specs in Windows?
<headius> I have not managed to fix activesupport isolation so they bail out
<headius> nirvdrum: are you asking if I'm able or if I would do it for you?
<nirvdrum> If you're able to. I.e., is there a way other than what I was trying?
<headius> you should be able to run mspec directly
<headius> we could patch rakelib for now too
<nirvdrum> Okay. I wasn't sure how much of that really needed to load.
<nirvdrum> I'll give that a shot.
<headius> very little
<nirvdrum> There's something that's either a Truffle bug or a possible lexer issue on Windows. Seeing if IR passes will help narrow that down.
<headius> ahh sure
<headius> enebo: there are a bunch of arity failures in the full spec:ruby
<headius> 13 of them...dunno if they're new or regressions
<enebo> oh?
<enebo> headius: spec:ruby or spec:ruby:fast?
<headius> non-fast
<enebo> and you are seeing this locally?
<headius> I'm not sure why these are excluded
<headius> yeah locally
<headius> I'll make sure I have an updated build though
<headius> just occurred to me I might not have your fixes built
<enebo> headius: I did not run spec:ruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:099a5f7 by Benoit Daloze): The build was canceled. (http://travis-ci.org/jruby/jruby/builds/58909398)
travis-ci has left #jruby [#jruby]
<enebo> headius: but I copletely removed all tags files related to arity that I knew of
<headius> enebo: ok
<headius> maybe my mistake, running now
<enebo> with that said I might not have found all arity specs or tests
<enebo> The nice thing with how things work now is they all use the same method from signature on staticscope
<enebo> so I just need to tweak one piece of code now
<enebo> My only fear is my simplification of only setting Signature once during parsing or when rehydrating static scope in IR persistence is too simple
<enebo> running spec:ruby now…I am hoping I do not see those errors :)
pitr-ch has quit [Quit: Textual IRC Client: www.textualapp.com]
<headius> takes forever
<enebo> headius: how long until those happen?
<enebo> headius: before the EPIPE or after :P
<headius> it doesn't show progress
<enebo> well the EPIPE is somewhere
<headius> it is
<headius> I'm not sure what spec causes it
oblutak has joined #jruby
<headius> if you want to just run the failing ones it was Method, UnboundMethod, and Proc#arity
<enebo> headius: also happens one in test:mri
skade has quit [Quit: Computer has gone to sleep.]
<enebo> headius: oh well no those should all be done now
<enebo> headius: I will make sure here locally but I bet you had not rebuilt
<headius> I think you're right
<enebo> headius: Or I somehow am not running master
<headius> Proc#arity looks ok
<enebo> headius: still letting this run locally in case I see something else I broke
<headius> sure
<headius> there's a handful of other failures that don't happen in the fast subset
<enebo> headius: generally test:mri and fast and compiler and jrubyc should catch all internals breakage
<headius> yeah
<enebo> but I heavily messed with Enumerable
<enebo> in asmuch as I now use signature in those
cprice404 has quit [Ping timeout: 272 seconds]
<enebo> I did not delete the old signatures
<enebo> I did @deprecate though
<headius> ok
southwinda has quit [Quit: Lost terminal]
<enebo> headius: about 6 EF here but none of it is related to my stuff
<enebo> mostly CLI flag esoteric options and one S-JIS
<headius> yeah same here
<headius> ok
<headius> probably updated specs
<enebo> -p
kares has joined #jruby
bbrowning is now known as bbrowning_away
shellac has quit [Remote host closed the connection]
zorak8 has joined #jruby
<tarcieri> _____ ____ ___ ____ _ __ ___ _ _
<tarcieri> | ___| _ \|_ _| _ \ / \\ \ / / | | |
<tarcieri> | |_ | |_) || || | | |/ _ \\ V /| | | |
<tarcieri> | _| | _ < | || |_| / ___ \| | |_|_|_|
<tarcieri> |_| |_| \_\___|____/_/ \_\_| (_|_|_)
<tarcieri>
<enebo> YAY
brightball has joined #jruby
aramisbear has joined #jruby
aramisbear has quit [Client Quit]
brightball has quit [Ping timeout: 245 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo closed issue #2840: jrubyc blows with NPE http://git.io/vviyF
JRubyGithub has left #jruby [#jruby]
elia has quit [Quit: Computer has gone to sleep.]
colinsurprenant has quit [Quit: colinsurprenant]
mister_solo has joined #jruby
camlow32_ has joined #jruby
camlow32_ has quit [Read error: Connection reset by peer]
camlow32_ has joined #jruby
camlow32_ has quit [Read error: Connection reset by peer]
camlow32_ has joined #jruby
camlow325 has quit [Ping timeout: 250 seconds]
camlow32_ has quit [Remote host closed the connection]
mister_solo has quit [Ping timeout: 245 seconds]
<headius> enebo: reviewing pre2 issues?
tcrawley is now known as tcrawley-away
<headius> I'm mopping up a couple now
pietr0 has joined #jruby
<nirvdrum> enebo: I liked that one. I guess he missed the word "up"
bbrowning_away is now known as bbrowning
<lopex> how does pre2 look perf wise ?
<nirvdrum> headius, enebo: Unfortunately, this regexp issue on Windows looks legitimate. I don't know if it's the lexer or the joni changes, but "a1".match(/\p{L}/).to_a raises a SyntaxError.
<nirvdrum> SyntaxError: (RegexpError) invalid character property name <L>: /\p{L}/
<lopex> nirvdrum: it's the literal
<lopex> nirvdrum: and I suspect it's an uncorrect __ENCODING__ for that file
<headius> lopex: better than pre1 :-)
<lopex> nirvdrum: forcing the encoding as utf via /../u or coding: utf-8 will not error
<lopex> headius: number!
<lopex> *numbers
<headius> numbers numbers numbers!
<headius> indy mode is as fast or faster than 1.7 on most things
<headius> non-indy mode is still a bit slower
tcrawley-away is now known as tcrawley
<chrisseaton> I'm running a new big report on 54 benchmarks - but it is slanted towards computationally intensive stuff, small objects and metaprogramming
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/vv9Xw
<JRubyGithub> jruby/master d2ea85f Charles Oliver Nutter: Propagate coderange out of StringLiteral through all consumers.
JRubyGithub has left #jruby [#jruby]
<chrisseaton> no IO, no encoding etc
<headius> chrisseaton: ok
<nirvdrum> lopex: But it works on non-Windows and worked a month ago.
<enebo> nirvdrum: It works?
<lopex> nirvdrum: yeah, since windows encoding logic might have changed
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #2163: StringLiteral consumers may not be CR-aware http://git.io/vv913
JRubyGithub has left #jruby [#jruby]
<enebo> nirvdrum: The <L> thing?
<lopex> nirvdrum: on most linuxes utf is the default
<lopex> nirvdrum: and that L is available exactly for unicode encodings
<lopex> nirvdrum: so no wonder
<nirvdrum> enebo: Yeah, it works fine on Linux.
<nirvdrum> lopex: Makes sense.
<enebo> ok I remember seeing that in some case but I don’t remember where/when
<lopex> if for some reason it's iso-8859-x the it will error
<lopex> *thne
<nirvdrum> Actually, this file looks somewhat new. A spec eregon backported maybe?
<nirvdrum> In that case, I guess we should just set the encoding on it and call it a day.
<enebo> lopex: do you think it is possible if it is present the regexp is converted to //u?
<headius> eregon did update specs recently
<lopex> enebo: if what's present ?
<enebo> <L>
rsim1 has quit [Quit: Leaving.]
<nirvdrum> eregon: Are you around?
camlow325 has joined #jruby
<lopex> enebo: u will fix the issue
camlow325 has quit [Remote host closed the connection]
<enebo> lopex: I am sure it wlil but I am wondering if perhaps it just existing in a regexp will convert the regexp to be unicode
<lopex> enebo: it's too late at that time
<enebo> (eating so I am not typing much :) )
camlow325 has joined #jruby
<lopex> enebo: it already parsed the regexp using former encoding
e_dub has quit [Quit: ZZZzzz…]
<enebo> lopex: and you know MRI has no special logic before that point?
<lopex> enebo: mri will error out as jruby does
<enebo> ah I just tried it
<lopex> enebo: or there's some lexer issue
<lopex> enebo: which makes that file utf-8 somehow
<enebo> lopex: both MRI and JRuby behave the same here
<lopex> in mri
<lopex> yes, they should
<enebo> lopex: so it must be default external encoding without an explicit encoding
<lopex> yes
<lopex> enebo: also, can different versions of windows/java report system encoding inconsistently ?
<nirvdrum> lopex: However, MRI 2.1.5 is able to handle that character class just fine.
<lopex> nirvdrum: on windows ?
<nirvdrum> Yes.
<nirvdrum> So even if it is a new spec, it looks like we're doing something wrong.
a5i has quit [Quit: Connection closed for inactivity]
<enebo> nirvdrum: do -e ‘p __ENCODING__’
<lopex> nirvdrum: yeah, try that
<lopex> I get utf-8
<lopex> on mingw 2.2.1
<nirvdrum> MRI is UTF-8. JRuby is IBM437.
<lopex> there you go
<nirvdrum> MRI reports Encoding.default_external as IBM437.
<lopex> I get #<Encoding:CP852>
<nirvdrum> Up until 30s ago, I didn't know __ENCODING__ even existed. So I don't know what to make of the discrepancy.
<headius> enebo: adding an rc2 milestone
<enebo> headius: really?
<enebo> headius: so we know rc1 won’t be enough?
<headius> well we need something for post pre2 won't we?
<headius> oops
<headius> I meant rc1
<enebo> hah ok yeah
<nirvdrum> Heh.
<headius> I have some muscle memory for rc2 for some reason
<lopex> pre-rc2
<enebo> rc9000
<nirvdrum> enebo: So should our __ENCODING__ default to UTF-8 as well?
<nirvdrum> Oh, shit.
<nirvdrum> I take that back.
mister_solo has joined #jruby
<enebo> nirvdrum: console is a weird one. I believe there is some transcoding happening for all things printed to stdout if ttty?
<nirvdrum> If I run with -e, __ENCODING__ is IBM437. If I do it in a file, it switches to UTF-8.
<nirvdrum> JRuby sticks with IBM437 in either case.
<enebo> nirvdrum: yeah I wondered about that
<lopex> so -e ?
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #2510: Explicit require of autoloaded class triggers double load http://git.io/trBYSw
JRubyGithub has left #jruby [#jruby]
<enebo> nirvdrum: because they cannot really console it as UTF-8 and have it print without a trancode
<nirvdrum> lopex: -e is IBM437 in each.
<nirvdrum> lopex: But when reading a file, MRI switches to UTF-8 and JRuby sticks with IBM437 (Encoding.default_external).
<enebo> nirvdrum: so I think any tty? IO’s might be IBM437 and all others will be UTF-8
<lopex> nirvdrum: yeah, I wondered if it works that way
<enebo> nirvdrum: I remember now that somewhere there is magic to print out encoding as IBM437 somewhere for stdout
<headius> enebo: I think https://github.com/jruby/jruby/issues/2512 is fixed but you should confirm
<headius> the script produces same output now but it seems we have keyreq/key in different order than MRI?
<enebo> headius: yeah I was going to verify this one
<headius> ok, will leave it for you
<enebo> headius: yeah we seem to be in opposite order
<nirvdrum> enebo: Is it as simple as changing the encoding when doing a File (or is it IO?) read?
<enebo> nirvdrum: try -e ‘p IO.default_external’
<nirvdrum> undefined method.
<enebo> heh
<enebo> hmm I mean try some method which exists
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #2521: Require order appears to impact JRuby extensions [9k] http://git.io/FsKa
JRubyGithub has left #jruby [#jruby]
<enebo> nirvdrum: -e ‘p Encoding.default_external’
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #2525: undefined method `invoke_with_build_args' for nil:NilClass on Windows 7 http://git.io/FCpF
JRubyGithub has left #jruby [#jruby]
<nirvdrum> Yeah, I printed that already.
a5i has joined #jruby
<nirvdrum> IBM437 on console and in file.
<enebo> nirvdrum: whacky
<nirvdrum> If I do a File.open, its external_encoding reports IBM437 as well.
<lopex> whats' the index for IBM437 ?
<enebo> wacky?
elia_ has joined #jruby
<lopex> hacky ?
<nirvdrum> lopex: How can I tell? Looking at EncodingList.LIST, it's the second entry.
<enebo> wacky hacky
<nirvdrum> Seems like it might be an alias for ASCII-8BIT?
<lopex> nirvdrum: oh just asked out of curiosity
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #2533: native extension method overloading incompatibility on 9K http://git.io/FRcZ
JRubyGithub has left #jruby [#jruby]
<lopex> yeah
<lopex> you're right
<enebo> nirvdrum: there must be some weird logic for UTF-8 somewheres in MRI. I would guess in windows ifdef since it is UTF-8 by default everywhere else already
<nirvdrum> enebo: But it looks like this is set by the parser?
<eregon> nirvdrum: there, missed your pings
colinsurprenant has joined #jruby
<nirvdrum> eregon: Are the regexp class literal specs new?
<enebo> nirvdrum: well yeah, but current_enc is set in some special way on windows I am guessing
<lopex> enebo: it's just parser->enc
<enebo> nirvdrum: in MRI lexer current_enc is the files encoding and it can change from magic coding but it is set initially when the parse s set up
codefinger has joined #jruby
<enebo> lopex: yeah so my question is what on windows sets that to utf-8 in some cases
<nirvdrum> Tracing this is really fun with all the pass by reference nonsense.
<lopex> lol at parser_params struct
<enebo> nirvdrum: did you say this is not ruby 2.2?
<nirvdrum> enebo: I can only test in 2.1.5 because no one distributes 2.2 binaries for Windows :-/
<enebo> yeah the macros and selective definitions to share between parser and ripper make it more difficult
<enebo> nirvdrum: yeah so I am wondering if this might change or not since MRI 2.2 is UTF-8 by default
<enebo> nirvdrum: unless that change was originally for 2.1
<enebo> nirvdrum: I don’t remember
<nirvdrum> enebo: Well, MRI 2.1.5 does work on Windows. They'd have to have switched it back and fail for JRuby to be "right."
<enebo> nirvdrum: OTOH I would not be surprised if windows has special logic for their weird console codepage
<nirvdrum> Actually, it looks like 2.2.1 exists now. I'll go install that.
<nirvdrum> lopex: Thanks.
DrShoggoth has joined #jruby
DrShoggoth has quit [Client Quit]
DrShoggoth has joined #jruby
<nirvdrum> enebo: MRI 2.2.1 functions the same way.
<projectodd-ci> Project jruby-master-spec-compiler build #1055: FAILURE in 6 min 55 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/1055/
<enebo> nirvdrum: ok so I am guessing since default_external is not utf-8 there is an ifdef somewhere for windows
<enebo> nirvdrum: either that or I misunderstand what default_external is for :)
<headius> hmm
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/vvHTg
<JRubyGithub> jruby/master 26ed114 Charles Oliver Nutter: Add encoding parameter for Dir#each and foreach. Fixes #2547.
JRubyGithub has left #jruby [#jruby]
<enebo> headius: this ordering thing is weird
<enebo> it seems backwards but ours seems more reasonable
<enebo> ours matches order they are encountered
<headius> yeah I don't think order should matter for kwargs
<enebo> but I find this hash weird and backwards based on key/value
<headius> yeah me too
<enebo> headius: but it is not just kwargs
<enebo> this example is also ordinary args
<enebo> I think they default to name as second value because builtins only supply type
<enebo> So param[0] is always the type
<enebo> oh hmmm
<enebo> bugger
_djbkd has joined #jruby
<enebo> Is all optarg using builtins [[:rest]]
<enebo> looks like it
<enebo> So builtin probably cannot care about order
<enebo> which means named being in different order from MRI only matters based on assumption they are in opposite order
<enebo> I might leave this as-is and see if it gets reported
<headius> I don't care :-)
<headius> I have finished reviewing pre2 bugs
<enebo> I feel left-to-right is more correct
<headius> might be worth reporting to MRI
<headius> down to three open for pre2
<headius> obviously have not reviewed other recent bugs but they haven't been coming in too fast
<enebo> one is closable I think
<enebo> I will close it
<enebo> it is this arity one
<headius> ok
<headius> oops, compiler failure...I'll look into it
<enebo> headius: not important but I saw it and thought you might want to retest
<enebo> headius: I will close https://github.com/jruby/jruby/issues/1395
<enebo> headius: we are using IRpersistence to solve AOT so I don’t think we need this and chrisseaton has patch which saves things off
<headius> agreed
<chrisseaton> yeah that's not blocking us for anything
<enebo> ok
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo closed issue #1395: Pre-compiled methods do not have AST available for re-compilation http://git.io/vvHYp
JRubyGithub has left #jruby [#jruby]
<chrisseaton> although I should remove the memory leak that issues talks about
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] enebo closed issue #2512: keyword arguments incompatibilities http://git.io/DdlvBw
<enebo> chrisseaton: yeah perhaps make a new issue if you want to track that?
<chrisseaton> I'll just fix it tomorrow - it's in my todo
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/vvHs3
<JRubyGithub> jruby/master 0532452 Charles Oliver Nutter: Fix frozen string JIT.
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #2842: Hash#each_pair should be a true alias of Hash#each http://git.io/vv1pL
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:073d772 by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/58926777)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #2841: Cannot kill thread with Readline http://git.io/vvX9I
JRubyGithub has left #jruby [#jruby]
colinsurprenant has quit [Quit: colinsurprenant]
tcrawley is now known as tcrawley-away
elia_ has quit [Read error: Connection reset by peer]
<headius> enebo: I'm going to make sure we've got updated stdlib
<headius> shouldn't be much for changes
elia has joined #jruby
<enebo> headius: ok
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:073d772 by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/58926777)
travis-ci has left #jruby [#jruby]
<headius> eregon: where did you get with stdlib update?
<headius> I see there's a jruby-ruby_2_2_2 but I don't believe you updated anything in jruby itself
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 2 new commits to master: http://git.io/vvHl0
<JRubyGithub> jruby/master 6d50e04 Chris Seaton: [Truffle] Move all File class methods to Rubinius (except open and read).
<JRubyGithub> jruby/master 2c96b7e Chris Seaton: [Truffle] Move File.dirname to Rubinius.
JRubyGithub has left #jruby [#jruby]
tcrawley-away is now known as tcrawley
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #2785: `loop` allocates needless memory http://git.io/jXpw
JRubyGithub has left #jruby [#jruby]
subbu has quit [Ping timeout: 240 seconds]
subbu has joined #jruby
<headius> enebo: I'm mostly back to bugs I reviewed before
<headius> ship it
<headius> oh no, not again
<enebo> heh
<headius> $ jruby -e "gem 'psych'; require 'yaml'"
<headius> NameError: uninitialized constant Psych::Parser
<headius> rubygems + ext loading problems AGAIN
<enebo> travis always horks when I commit something big
subbu has quit [Ping timeout: 256 seconds]
<headius> ok this is something different
<nirvdrum> enebo: Have a few minutes?
<headius> ack
<enebo> nirvdrum: sure
<headius> enebo: psych.jar is missing PsychService.class
<enebo> Psychotic
<headius> something wrong with psych gem build
<nirvdrum> enebo: Cool. So, I'm trying to track this down. It looks to me like Ruby#setupSourceEncoding should default to UTF-8, not the locale encoding. I made that change. But it looks like the lexer ignores whatever ParserConfiguration has anyway.
<nirvdrum> GetsLexerSource has this frobnicateEncoding method that does something.
<enebo> heh
<enebo> nirvdrum: yeah hmmm let me look at setupSourceencoding
<nirvdrum> frobnicateEncoding sets to default_external. That'd be fine -- it's supposed to get overridden by RubyLexer#parser_prepare. But that reads the encoding from the first line of the file and that encoding is influenced by whatever is set when the line was read, I think.
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<enebo> yeah and I can see we basically ignore it
<nirvdrum> I could just have the chain here wrong.
<enebo> we == me when I switched lexers
<enebo> This seems to be wrong in more than one place too
<enebo> ByteList in = new ByteList(content, runtime.getDefaultExternalEncoding());
<enebo> This is one line in Parser related to bytelistlexersource
<nirvdrum> My guess is if you change your locale locally, you'll see problems similar to Windows.
<enebo> this should probably be getting it from parserConfig
<enebo> parserconfig will generally be default external which is why this is not manifesting more
<nirvdrum> You can tell it's a frustrating day when you go to edit shit.rb and the file already exists :-/
<nirvdrum> Yeah.
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius opened issue #2846: Psych dependency is installing non-JRuby version http://git.io/vvHr7
JRubyGithub has left #jruby [#jruby]
<enebo> heh
<nirvdrum> enebo: Write a file that just contains 'p __ENCODING__' and then run it setting LC_ALL=C
<enebo> nirvdrum: I will see what I can change here. I am mildly confused in all cases here because sometimes we receive a bytelist and a bytelist already has an encoding
<nirvdrum> JRuby prints US-ASCII. MRI prints UTF-8.
<headius> oh you nkow what
<headius> I wonder if we're copying the stdlib version
<enebo> C?
<headius> the .rb files appear to be the stock stdlib ones
<nirvdrum> I think it's a short-hand for POSIX, which is some ancient holdover.
<headius> but we have a bit of extra logic to load our ext
<projectodd-ci> Yippie, build fixed!
<projectodd-ci> Project jruby-master-spec-compiler build #1056: FIXED in 5 min 10 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/1056/
<enebo> nirvdrum: ok
<headius> bleh...mkristian will get to look at this
<nirvdrum> Pick anything that isn't UTF-8 though.
lanceball is now known as lance|afk
<enebo> nirvdrum: but I should be able to see this on any OS right?
<nirvdrum> enebo: I'm seeing it in Linux.
<enebo> nirvdrum: I cannot get LC_ALL to change anything on MRI
rsim has joined #jruby
<nirvdrum> enebo: I think that's the point.
<enebo> or with jruby
<enebo> =C or =LC_ALL=en_US.ISO_8859_1 jruby ../snippets/enc.rb
<enebo> ahahah
<enebo> = C
<enebo> not =C
<enebo> which is a shocked face on my screen
<enebo> like 8.8
<nirvdrum> I'm filing an issue right now with code snippets.
<enebo> ok
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum opened issue #2847: JRuby not using UTF-8 for source files http://git.io/vvHiD
JRubyGithub has left #jruby [#jruby]
<nirvdrum> Oh, the bot beat me to it.
rsim1 has joined #jruby
<headius> =C
<headius> weird
<enebo> headius: hair standing on end
<nirvdrum> HexChat baby.
<enebo> =B
<nirvdrum> So, at least now you have a reproduction that doesn't require booting into Windows.
yfeldblum has joined #jruby
rsim has quit [Ping timeout: 265 seconds]
shellac has joined #jruby
<enebo> test_byteslice I think is either a new test or we regressed recently
<enebo> nirvdrum: yeah I think I just need to hook up all paths to use parserconfiguration
<enebo> nirvdrum: but I am still confused about Gets
havenwood has quit [Ping timeout: 276 seconds]
<enebo> GetsLexSource is reading straight off of an IO object
<enebo> but I guess since I am frobbing
tcrawley is now known as tcrawley-away
<enebo> nirvdrum: I guess I can pass it in an use if if encoding is not defined
erikhatcher has joined #jruby
<codefinger> kares: can you take a look at? let me know what you think https://github.com/jruby/warbler/pull/315
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:7b6475d by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/58927017)
travis-ci has left #jruby [#jruby]
<nirvdrum> enebo: Like I said, my analysis could be wrong. This is the first I've looked at MRI's parser, but I couldn't find anything that looked like it was win32 specific.
<enebo> nirvdrum: you are likely correct here
<lopex> enebo: same here
<enebo> nirvdrum: all the paths coming in confuse me since several of these do not call this setupmethod to parserconfig
<kares> codefinger: oh nice, did not expect it to be that simple ... but than on the other hand why not
<kares> if it boots - great work, thanks!
e_dub has joined #jruby
<codefinger> kares: yea, i was almost thinking "this is too easy, must be wrong"
<codefinger> this will be a lot easier to extend
x1337807x has joined #jruby
<kares> yy
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #2846: Psych dependency is installing non-JRuby version http://git.io/vvHr7
JRubyGithub has left #jruby [#jruby]
<headius> enebo: false alarm
<enebo> lopex: nirvdrum: Do we even have LC_ALL awareness?
lance|afk is now known as lanceball
<enebo> config.getEncoding() shows UTF-8
erikhatcher has quit [Quit: erikhatcher]
<enebo> headius: hooray
<nirvdrum> enebo: We do. I just need to find it again.
<lopex> enebo: only one mention of LC_ALL in mri is langinfo.c
<nirvdrum> It's used by some rubyspecs.
<enebo> getEncodingService().getLocaleEncoding() should be what if I LC_ALL=C
<nirvdrum> US-ASCII, I think.
<enebo> yeah it is UTF-8 for us
<enebo> so configuration was not passing it to parser but it is not set in the first place
<lopex> but how come mri doesnt need it ?
<enebo> THEY NEED IT
<nirvdrum> See: spec/ruby/core/encoding/default_external_spec.rb for instance.
<lopex> I cant find it
<nirvdrum> But those are ruby_exe specs.
<enebo> So this script I am running will change default_external to US-ASCII but it will leave __ENCODING__ as UTF-8
<nirvdrum> I mean, the snippet I showed in the issue does change the output at least on my system.
<nirvdrum> Maybe Mac ignores it?
<enebo> yeah it does for me too
<enebo> but __ENCODING__ which the parser receives is UTF-8
<enebo> default_external is being messed with but not being used by the parser
<enebo> My mind feels like this is backwards so I am not sure I still understand anything more than parser will not neccesarily use default_exterminal
<enebo> EXTERMINAL
subbu has joined #jruby
<enebo> lopex: I guess it uses something called nl_langinfo
erikhatcher has joined #jruby
<enebo> langinfo.c and localeinit.c are two files which seems to do all this stuff
<headius> bbl
mister_solo has quit [Ping timeout: 250 seconds]
skade has joined #jruby
<nirvdrum> I get different values when I debug. So that's fun.
<enebo> nirvdrum: make sure you specfy in an ENV var field in your debugger
<enebo> nirvdrum: in intellij you need to enter in a different area
<nirvdrum> I was trying a remote debugger, but yeah.
zorak8 has quit [Remote host closed the connection]
<nirvdrum> I wasn't even debugging the right thing. Wrong runtime configuration.
<enebo> yay
<nirvdrum> enebo: In my case, frobnicateEncoding is returning US-ASCII.
<nirvdrum> From this line: if (!io.respondsTo("encoding")) return io.getRuntime().getDefaultExternalEncoding();
<enebo> yeah
<enebo> nirvdrum: This line is actually only for ripper too
<enebo> nirvdrum: it should be configuration.getEncoding()
<enebo> nirvdrum: with that said I am always UTF-8 and it is ignoring LC_LANG altogether
<enebo> nirvdrum: I mean once I see LC_LANG work I should see parser get worse in my case because it will use default external which will be LC_ALL
<enebo> I meant LC_ALL for LC_LANG
<nirvdrum> A lot of the core files seem to explicitly set the file encoding.
<nirvdrum> And that goes down a different path.
<nirvdrum> But maybe something else is at play.
<lopex> what's the status of IR persitence ?
<enebo> lopex: it works and is used for AOT only atm
<lopex> enebo: how reliable is it ?
<lopex> the AOT
<enebo> lopex: I don’t know
<enebo> lopex: as reliable as IR persistence
<enebo> lopex: which can write and read in simple rails app and gem list
<enebo> lopex: so it seems to be working…
<lopex> oh, I guess rails is more than I'll ever need
<enebo> lopex: It is an improvement over all AOT because it loads as startup interp and will JIT so it will generate a runnable .class 100% of the time
<enebo> lopex: Also it means improvements to later versions of JRuby will end up getting applied to AOT compiled classes
_djbkd has quit [Remote host closed the connection]
<enebo> nirvdrum: I am fixing another IR persist bug involving AOT. I will come back to this in a bit
pjammer has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
<nirvdrum> enebo: No problem.
erikhatcher has quit [Ping timeout: 252 seconds]
_djbkd has joined #jruby
pierreatkillbill has quit [Ping timeout: 240 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:210148c by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/58928376)
travis-ci has left #jruby [#jruby]
erikhatcher has joined #jruby
pierreatkillbill has joined #jruby
erikhatcher has quit [Quit: erikhatcher]
anaeem1__ has quit [Remote host closed the connection]
bbrowning is now known as bbrowning_away
shellac has joined #jruby
donV has joined #jruby
jsvd has quit [Remote host closed the connection]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:d2ea85f by Charles Oliver Nutter): The build failed. (http://travis-ci.org/jruby/jruby/builds/58941359)
travis-ci has left #jruby [#jruby]
qmx has quit [Ping timeout: 265 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/vvQl1
<JRubyGithub> jruby/master 1009f65 Thomas E. Enebo: Follow up fix to #2840. TraceInstr was missing decode(). String was encode/decode needed ability...
JRubyGithub has left #jruby [#jruby]
<Antiarc> Interesting performance observation -
<Antiarc> So I answered this question http://stackoverflow.com/a/29709007/271475 and then decided to test jruby
<Antiarc> err
<Antiarc> So jruby destroys MRI once the JIT warms up (no surprise there), but I was really shocked that `for` was so much faster in 1.7.19 than anywhere else, and it's *way* slower in jruby-head
<lopex> numbers!
<Antiarc> It's not particularly a problem, but I'm curious about the huge swing there
<lopex> I'd guess it will be there once IR development settles for good
<lopex> for still uses each right ?
<Antiarc> I haven't looked at the implementation yet
<lopex> Antiarc: I'd guess there's a lot of special casing for that in 1.x and there was no time to make special "matchers" on 9k side
<Antiarc> The first three cases each losing about 10% of their performance from 1.7.19 -> jruby-head is what mostly stuck out to me, but the `for` swing was *huge* and tickled my curiosity bone.
<Antiarc> Ahhh, okay.
Obeliks_ has joined #jruby
<lopex> Antiarc: the point is that now optimizing 9k given it's IR will be a whole lot easier and more consistent
<lopex> so I wouldnt worry about slowdowns
<Antiarc> Excellent. I'm excited to see what comes out of it :)
<Antiarc> Yeah, I'm not worried, it just stuck out to me
<Antiarc> "make it work, then make it fast" :)
Obeliks has quit [Disconnected by services]
Obeliks_ is now known as Obeliks
<lopex> right
<lopex> some optz will be trivial, and werent possible on 1.x branch
<lopex> I guess alias analysis might be one of them
<Antiarc> Hehe, that'll be fun
<enebo> I wonder if we are caching range in 1.7 and not 9k
<lopex> literals ?
<Antiarc> The early optimization passes where you get huge gains out of small change is probably the most enjoyable part of development, IMO
<nirvdrum> Antiarc: I'm a big fan of when the compiler guys make things faster and all I need to do is upgrade.
<lopex> the other point is that IR is being used in virtually all compilers
erikhatcher has joined #jruby
<Antiarc> nirvdrum: Indeed!
_djbkd has quit [Remote host closed the connection]
<lopex> nirvdrum: for jruby code is both sides, jruby itself and jdk
<lopex> so dont forget to update both
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nirvdrum> lopex: Indeed. A big part of why I started using JRuby in the first place.
_djbkd has joined #jruby
erikhatcher has quit [Quit: erikhatcher]
_djbkd has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
e_dub has quit [Ping timeout: 240 seconds]
_djbkd has joined #jruby
_djbkd has quit [Remote host closed the connection]
DrShoggoth has quit [Ping timeout: 265 seconds]
codefinger has quit [Quit: Leaving...]
jsvd has joined #jruby
_djbkd has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/vvQwg
<JRubyGithub> jruby/master 3735705 Thomas E. Enebo: Fix indy string regression
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish opened pull request #2848: [Truffle] Adding additional long handling for multiple specializations. (master...truffle_long_specializations) http://git.io/vvQrt
JRubyGithub has left #jruby [#jruby]
elia has joined #jruby
mister_solo has joined #jruby
_djbkd has quit [Remote host closed the connection]
jsvd has quit [Remote host closed the connection]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:0532452 by Charles Oliver Nutter): The build failed. (http://travis-ci.org/jruby/jruby/builds/58949188)
travis-ci has left #jruby [#jruby]
DrShoggoth has joined #jruby
_djbkd has joined #jruby
_djbkd has quit [Remote host closed the connection]
DrShoggoth has quit [Client Quit]
Aethenelle has quit [Quit: Aethenelle]
enebo has quit [Quit: enebo]
_djbkd has joined #jruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
mrmargolis has quit [Remote host closed the connection]
chamila has quit [Quit: Page closed]
nateberkopec has quit [Ping timeout: 240 seconds]
Aethenelle has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
pierreatkillbill has quit [Ping timeout: 252 seconds]
pierreatkillbill has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:b764568 by Charles Oliver Nutter): The build failed. (http://travis-ci.org/jruby/jruby/builds/58949453)
travis-ci has left #jruby [#jruby]
qmx has joined #jruby
qmx has quit [Changing host]
qmx has joined #jruby
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #jruby
pierreatkillbill has quit [Ping timeout: 244 seconds]
camlow32_ has joined #jruby
e_dub has joined #jruby
camlow325 has quit [Ping timeout: 248 seconds]
jsvd has joined #jruby
jsvd has quit [Client Quit]
subbu has quit [Ping timeout: 245 seconds]
shellac has quit [Quit: Computer has gone to sleep.]
shellac has joined #jruby
pietr0 has quit [Quit: pietr0]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:6d50e04 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/58950858)
travis-ci has left #jruby [#jruby]
_djbkd has quit [Remote host closed the connection]
Aethenelle has quit [Quit: Aethenelle]
donV has quit [Quit: donV]
pierreatkillbill has joined #jruby
_djbkd has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
_djbkd has quit [Ping timeout: 272 seconds]
pierreatkillbill has quit [Ping timeout: 264 seconds]
tcrawley-away is now known as tcrawley
havenwood has joined #jruby
camlow32_ has quit [Remote host closed the connection]
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
tcrawley is now known as tcrawley-away
_djbkd has joined #jruby
rsim1 has quit [Quit: Leaving.]
kares has quit [Ping timeout: 246 seconds]
havenwood has quit []
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
e_dub has quit [Quit: ZZZzzz…]
camlow325 has quit [Remote host closed the connection]
oblutak has quit [Ping timeout: 246 seconds]
_djbkd has quit [Remote host closed the connection]
mrmargolis has joined #jruby
mrmargolis has quit [Remote host closed the connection]
rcvalle has quit [Quit: rcvalle]
camlow325 has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish opened issue #2849: [Truflle] method_added called while removing method needed for MRI Excludes http://git.io/vv7GU
JRubyGithub has left #jruby [#jruby]
elia has quit [Quit: Computer has gone to sleep.]
zorak8 has joined #jruby
_djbkd has joined #jruby
zorak8 has quit [Client Quit]