<nirvdrum>
headius: There's a few jnr-posix pull requests that look like they might be good to go. They've been sitting there for a while though. Any reason not to merge them?
<enebo>
I am just trying to reason out what is even happening
<enebo>
this had coding line so I would not think LC_ALL should affect this particular files symbols at all
<nirvdrum>
If nothing jumps out at you, I can take a look. My guess is the source file is being read with a bad encoding.
<enebo>
nirvdrum: oh just a sec
<enebo>
yyVal = new SymbolNode(lexer.getPosition(), new ByteList(((String)yyVals[0+yyTop]).getBytes(), lexer.getEncoding()));
<enebo>
So this is the line in the parser which is blowing up
<enebo>
.getBytes() may be return 88591 bytes and not utf-8 bytes but 8859-1 is basically raw encoding so it should still be passing all the utf-8 encoded file through properly
<enebo>
nirvdrum: fwiw, this does feel wrongish to me though
yfeldblum has quit [Remote host closed the connection]
<enebo>
nirvdrum: we don’t actually know what the getBytes() will be returning. We used to only work before doing this because we forced all bytes read as iso88591
<enebo>
hmm
<enebo>
I should consider passing non-interned bytelists out as literals and then convert to string and intern if really an ident but gah life is hard some times
<nirvdrum>
Shouldn't that fail on MacOS X as well then?
<nirvdrum>
Maybe different env var?
<enebo>
nirvdrum: in truth it should fail in neither place
<enebo>
ni88591 passes through the raw bytes
<enebo>
nirvdrum: this is the sole encoding which would have just woerked
<enebo>
nirvdrum: the fact it doesn’t in linux is weird
<enebo>
nirvdrum: I will think about what I was talking about because file.encoding as anything which does not line up with out # coding will not work for symbols
<enebo>
nirvdrum: Makes me think we messed up something further up the chain…I think we need to force all actual java encodings to iso88591 so we can know we are getting raw untranslated bytes
<enebo>
nirvdrum: I will ponder this over lunch
mrmargolis has joined #jruby
<nirvdrum>
Not sure I followed all that. But we can talk more after you eat.
mrmargol_ has quit [Read error: Connection reset by peer]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] eregon pushed 2 new commits to master: http://git.io/vk1YD
<JRubyGithub>
jruby/master be8f712 Benoit Daloze: [Truffle] Full Module#const_missing.
<JRubyGithub>
jruby/master d0cb6db Benoit Daloze: [Truffle] Full Module#{remove,undef}_method and callbacks.
JRubyGithub has left #jruby [#jruby]
tenderlove has quit [Quit: Leaving...]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] chrisseaton pushed 1 new commit to master: http://git.io/vk13y
<JRubyGithub>
jruby/master 3719d63 Chris Seaton: [Truffle] Revert adding dynamic fields to array shape.
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #jruby
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] nirvdrum pushed 3 new commits to master: http://git.io/vk1HH
<JRubyGithub>
jruby/master c71f083 Kevin Menard: [Truffle] Make @regexp work in Rubinius MatchData source.
<JRubyGithub>
jruby/master e041451 Kevin Menard: [Truffle] Use the @RubiniusOnly annotation.
<JRubyGithub>
jruby/master 2384b6b Kevin Menard: [Truffle] Implemented Regexp#names, Regexp#named_captures, and MatchData#names.
JRubyGithub has left #jruby [#jruby]
phlebas has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
phlebas has joined #jruby
yfeldblum has joined #jruby
donV has joined #jruby
subbu is now known as subbu|lunch
pjammer has joined #jruby
djbkd has quit [Remote host closed the connection]
emakris has quit [Quit: Leaving]
djbkd has joined #jruby
emakris has joined #jruby
<colinsurprenant>
Hi! I am trying to figure what the best idom is for retrieving my own class, for example when I want to instantiate a new RubyObject from a static method, I need to pass it the RubyClass, now this RubyClass was defined in the Library.load method and the only way I see is to use context.runtime.getModule(“MyModule").getClass(“MyClass”) but I don’t think this is optimal. Any hints for this?
phlebas has quit [Ping timeout: 264 seconds]
phlebas has joined #jruby
<colinsurprenant>
.. I could store it as a static fierld in my Library class I guess …
camlow325 has joined #jruby
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #jruby
phlebas has quit [Ping timeout: 264 seconds]
phlebas has joined #jruby
djbkd has quit [Remote host closed the connection]
phlebas has quit [Ping timeout: 265 seconds]
mrmargolis has joined #jruby
phlebas has joined #jruby
<kares>
colinsurprenant: getModule.getClass is fine ... that's what usually happens ... why do you feel bad about it :) ?
mrmargol_ has quit [Read error: Connection reset by peer]
<kares>
preferably ... do not put it in a static (due potential leakage)
<colinsurprenant>
yeah, didn’t feel like using the static field
<kares>
also if it's your own object you can instantiate directly new MyRubyObject(runtime, klass) ... you still need the class
<kares>
although that does not call initialize ...
<colinsurprenant>
exactly, I need to pass it the class
<kares>
would just get it as you wanted to do
djbkd has joined #jruby
ponga has quit [Quit: Leaving...]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] nirvdrum pushed 1 new commit to master: http://git.io/vkMeQ
<JRubyGithub>
jruby/master d6eef83 Kevin Menard: [Truffle] Finished implementing MatchData#values_at.
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #jruby
phlebas has quit [Ping timeout: 250 seconds]
phlebas has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] nirvdrum pushed 2 new commits to master: http://git.io/vkMPS
<JRubyGithub>
jruby/master b0c7a4b Kevin Menard: [Truffle] Finished implementing MatchData#post_match.
<JRubyGithub>
jruby/master 3d202ba Kevin Menard: [Truffle] Removed dead code.
JRubyGithub has left #jruby [#jruby]
phlebas has quit [Ping timeout: 252 seconds]
phlebas has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] nirvdrum pushed 1 new commit to master: http://git.io/vkMXi
<JRubyGithub>
jruby/master f084a7b Kevin Menard: [Truffle] Finished implementing MatchData#pre_match.
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] nirvdrum pushed 1 new commit to master: http://git.io/vkMMP
JRubyGithub has left #jruby [#jruby]
<JRubyGithub>
jruby/master b0a53bb Kevin Menard: [Truffle] Pulled Regexp#inspect from Rubinius.
mister_solo has quit [Ping timeout: 245 seconds]
phlebas has quit [Ping timeout: 264 seconds]
phlebas has joined #jruby
rsim has quit [Quit: Leaving.]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] nirvdrum pushed 2 new commits to master: http://git.io/vkMyG
<JRubyGithub>
jruby/master fc5340e Kevin Menard: [Truffle] Removed an unused import.
<JRubyGithub>
jruby/master 32ac97e Kevin Menard: [Truffle] Pulled in Regexp#{==, eql} from Rubinius.
JRubyGithub has left #jruby [#jruby]
colinsurprenant has quit [Quit: colinsurprenant]
simi has quit [Ping timeout: 256 seconds]
tcrawley is now known as tcrawley-away
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] nirvdrum pushed 1 new commit to master: http://git.io/vkM9g
<JRubyGithub>
jruby/master 75c60c8 Kevin Menard: [Truffle] Implemented Regexp#fixed_encoding?
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] enebo pushed 2 new commits to master: http://git.io/vkMHh
<JRubyGithub>
jruby/master 2dcb163 Thomas E. Enebo: respond_to? should always pass symbol as method name
<JRubyGithub>
jruby/master 02c3dd8 Thomas E. Enebo: arity.toString() was printing extra crap and not just its value. Switch to using value in error message
JRubyGithub has left #jruby [#jruby]
phlebas has quit [Ping timeout: 256 seconds]
phlebas has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] nirvdrum pushed 1 new commit to master: http://git.io/vkM5E
<JRubyGithub>
jruby/master afbea06 Kevin Menard: [Truffle] Untagged passing Regexp#union specs.
<JRubyGithub>
[jruby] zachpendleton opened issue #3010: 9k has different scoping behavior than MRI http://git.io/vkMAz
JRubyGithub has left #jruby [#jruby]
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] enebo pushed 1 new commit to master: http://git.io/vkMxn
<JRubyGithub>
jruby/master 029e620 Thomas E. Enebo: respond_to? dispatch should only send one argument if defined respond_to? method only expends one argument
JRubyGithub has left #jruby [#jruby]
phlebas has quit [Remote host closed the connection]
phlebas has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] nirvdrum pushed 1 new commit to master: http://git.io/vkMpg
<JRubyGithub>
jruby/master a5edf84 Kevin Menard: [Truffle] Untagged passing Regexp language specs.
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phlebas has quit [Ping timeout: 258 seconds]
phlebas has joined #jruby
elia has joined #jruby
phlebas has quit [Ping timeout: 246 seconds]
phlebas has joined #jruby
phlebas has quit [Ping timeout: 276 seconds]
phlebas has joined #jruby
phlebas has quit [Ping timeout: 272 seconds]
phlebas has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] enebo pushed 3 new commits to master: http://git.io/vkDsU
<JRubyGithub>
jruby/master 33b0efc Thomas E. Enebo: inverted check. we only want to dedup with it is stringclass
<JRubyGithub>
jruby/master 0ee86ae Thomas E. Enebo: whoops missed now passing test from last commit
<JRubyGithub>
jruby/master ddc07f7 Thomas E. Enebo: Take 2 on dedup'ing in hashes. Since we only dedup if actual String and not subclasses then the world will be happy