<headius> тще нуе
<headius> oops, not yet
<lopex> headius: they have sunday and "week" backwards
<headius> ahh yeah I saw that on the duolingo forums
<lopex> headius: how do you type in cyrillic, special sortware for that or just switching ?
<headius> OS X support
<headius> and a keyboard overlay
<lopex> I can still read cyrillic quite fluently after learing it in primary
<lopex> you know, the soviet block included Poland as well
<lopex> so we had that mandatory
<headius> yeah I was surprised how quickly I picked it up
shellac has quit [Quit: Computer has gone to sleep.]
<lopex> it mostly follows greek
<lopex> only few exceptions
<lopex> an all similar glyphs afterall
<lopex> only few exceptions :)
<lopex> headius: how's the cases ?
<lopex> I heard those are the most diffucult for easterners
<lopex> headius: in any case I'd recommmend any slavic subjects from https://www.youtube.com/channel/UCNhX3WQEkraW3VHPyup8jkQ
<headius> Greek, yeah, that has helped me a bit
<headius> П, Л, Ф etc
<headius> ahh that looks like a good channel
<lopex> headius: but he has a lot of languages there
<lopex> headius: some very interesting wrt japanese
<lopex> headius: ahh, I've got one for ya as well
<lopex> headius: https://www.youtube.com/watch?v=2OynrY8JCDM - go for it
<lopex> insane
<lopex> english is the biggest soup of them all
<GitHub38> [jruby] chrisseaton pushed 2 new commits to truffle-head: https://git.io/vXDMv
<GitHub38> jruby/truffle-head 4e72110 Chris Seaton: [Truffle] SharedMethodInfo doesn't need to know if a method was a block.
<GitHub38> jruby/truffle-head d0ae33e Chris Seaton: [Truffle] Keep information that we use to build indicative names separate.
<headius> lopex: yeah I think English helps quite a bit...I know borrowed words from many different families of languages
<lopex> headius: quite a bit from romans
<lopex> actually QUITE a bit
<lopex> but it's all just history culprits
bbrowning_ has joined #jruby
<lopex> headius: also very intersting https://en.wikipedia.org/wiki/Loanword
bbrowning_away has quit [Remote host closed the connection]
<lopex> headius: as the video states we in Poland have too many similarities with e.g. Russia to loan so many words even being politically influanced
Aethenelle has quit [Quit: Aethenelle]
<lopex> Latvia bought a lots of polish words
<lopex> and in many cases lots of germanic ones
<lopex> polish is also very influenced by germanic languages
<lopex> especially regarding technology etc, which is not a suprprise
<lopex> afterall, which language doesnt use any derivative of "radio" :D
<lopex> or television
<lopex> but proneness to adapt vocabulary doesnt seem to be very consistent across history
<lopex> like with the mentioned Latvia is was mostly the aristocracy who wanted that
<lopex> so just political reasons, not natural linguistic processes
<lopex> just like the romans and England
<lopex> forced or not, it's all a whim
<lopex> whim of history
<headius> lopex: have you ever been to Russia?
<lopex> headius: only Lithuania on the southern block (which I've been wrongly referring as Latvia)
<lopex> in polish it's just Litwa
<lopex> where w is like v in english
<lopex> headius: I havent been traveling much
<lopex> headius: Hungary on the south, and Venetia on the east
<lopex> er my west :P
<lopex> headius: I know you're traveling like a wild boar
<lopex> headius: hey, I suppose you've seen some the langfcus material ?
<lopex> headius: please see the far east languages material
<headius> I need to get back to my Mandarin studies some day
<lopex> jeez, I realized I mixed south and east in my earlier reply
<lopex> doh
<lopex> headius: hey, russian is a worthly language
<headius> yeah it was on my short list of languages to learn but Cyrillic scared me
<lopex> and it sounds really well
<lopex> well, russian is the way to go
<lopex> you can commminicate in so many places uing it
<lopex> and imagine any other salvic ones
<lopex> headius: the cases, did you get up to use it ?
<lopex> headius: were they mentioned in the course ?
<GitHub23> [jruby] headius pushed 1 new commit to ruby-2.4: https://git.io/vXD9I
<GitHub23> jruby/ruby-2.4 a4cf08f Charles Oliver Nutter: Try sudo:false to fix Process.groups problem.
<GitHub62> [jruby] headius force-pushed ruby-2.4 from a4cf08f to e8ae240: https://git.io/vrlfe
<GitHub168> [jruby] headius created travis_hang (+1 new commit): https://git.io/vXD9m
<GitHub168> jruby/travis_hang 768ea08 Charles Oliver Nutter: Try sudo:true to fix Process.groups issue.
<headius> lopex: when I was in Saint-Petersburg I had only been studying for about two weeks
<headius> I didn't use my russian much but I was VERY thankful that I could read Cyrillic
<headius> were what mentioned in the course?
<lopex> headius: I think you very brave, me being a slavic and having a similar language would also scare me
<lopex> headius: remember I'm in prison :P
<lopex> headius: and I'm serious
<lopex> well, serious about being affraid
<lopex> headius: but seriously, just treat seriously the cases, it's the point of those languages
<lopex> like "I let her in"
<lopex> it can have a number of forms in slavic languages
<lopex> depending on who listens to, who is reponsible for, and her reacting to the scenario
<lopex> jeeze, how many mistakes I made in that english
<travis-ci> jruby/jruby (travis_hang:768ea08 by Charles Oliver Nutter): The build has errored. (https://travis-ci.org/jruby/jruby/builds/176242733)
prasunanand has quit [Ping timeout: 245 seconds]
<headius> lopex: yeah I have kinda wondered if being a developer studyin Russian under a Trump administration, someone might come looking for
<GitHub175> [jruby] headius pushed 1 new commit to travis_hang: https://git.io/vXDFq
<GitHub175> jruby/travis_hang 6ffe2b2 Charles Oliver Nutter: Try trusty environment.
<GitHub50> [jruby] headius pushed 1 new commit to travis_hang: https://git.io/vXDFB
<GitHub50> jruby/travis_hang c2b1485 Charles Oliver Nutter: Only use Oracle JDK 8.
<travis-ci> jruby/jruby (travis_hang:6ffe2b2 by Charles Oliver Nutter): The build has errored. (https://travis-ci.org/jruby/jruby/builds/176252645)
<GitHub79> [jruby] kcdragon opened pull request #4301: Add `Dir.empty?` (ruby-2.4...md/feature/add-dir-empty) https://git.io/vXDbe
<GitHub32> [jruby] headius pushed 1 new commit to travis_hang: https://git.io/vXDbf
<GitHub32> jruby/travis_hang 53755e4 Charles Oliver Nutter: ...
<GitHub50> [jruby] headius closed pull request #4301: Add `Dir.empty?` (ruby-2.4...md/feature/add-dir-empty) https://git.io/vXDbe
<GitHub51> [jruby] headius pushed 2 new commits to ruby-2.4: https://git.io/vXDbk
<GitHub51> jruby/ruby-2.4 665521d Charles Oliver Nutter: Merge pull request #4301 from kcdragon/md/feature/add-dir-empty...
<GitHub51> jruby/ruby-2.4 33e3ee9 Mike Dalton: Add `Dir.empty?`
Aethenelle has joined #jruby
hays_ has joined #jruby
<hays_> Anyone know how to fix this: https://bpaste.net/show/8ad67ad2f1ac
<GitHub150> [jruby] headius pushed 1 new commit to travis_hang: https://git.io/vXDb7
<GitHub150> jruby/travis_hang 0e7af66 Charles Oliver Nutter: Tag another new failure.
<travis-ci> jruby/jruby (travis_hang:53755e4 by Charles Oliver Nutter): The build was canceled. (https://travis-ci.org/jruby/jruby/builds/176254646)
<travis-ci> jruby/jruby (ruby-2.4:665521d by Charles Oliver Nutter): The build was canceled. (https://travis-ci.org/jruby/jruby/builds/176254841)
<hays_> this is the output of mkmf.log https://bpaste.net/show/6eb8ef59f321
<headius> hays_: sorry, missed your additional messages in #ruby
<headius> it looks like it's trying to install the native psych in JRuby, which won't work
<hays_> hmm. why is it trying to do tht
<hays_> im just running gem update
<headius> ahh I see
<headius> it looks like psych maintainers released 2.2 without a jruby versiona again :-(
<headius> I have push rights though...give me a moment
Aethenelle has quit [Quit: Aethenelle]
<hays_> thanks for the help who knew it would be an actual bug
<headius> yeah...they have done this a few times...need to get it across to them that it breaks JRuby users
<headius> hays_: ok, I pushed the -java version of the gem, give it another try
<headius> sorry for the inconvenience
<hays_> you can push without version bump?
<hays_> worked
<hays_> thank you
<travis-ci> jruby/jruby (travis_hang:0e7af66 by Charles Oliver Nutter): The build failed. (https://travis-ci.org/jruby/jruby/builds/176255935)
kcdragon has joined #jruby
<headius> hays_: yeah as long as it's a different platform
kcdragon has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
maclover7 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<GitHub122> [jruby] kirs opened issue #4302: Dumping Hash with default_proc that was reset https://git.io/vXDjo
bascule has quit [Quit: leaving]
bascule has joined #jruby
bascule has quit [Client Quit]
bascule has joined #jruby
bascule has quit [Client Quit]
bascule has joined #jruby
<GitHub190> [jruby] headius opened issue #4303: New failures for updating to Ruby 2.3.1/2.3.2 tests. https://git.io/vXyvP
etehtsea has quit [Ping timeout: 240 seconds]
pawnbox has joined #jruby
etehtsea has joined #jruby
maclover7 has joined #jruby
maclover7 has quit [Client Quit]
prasunanand has joined #jruby
raeoks has joined #jruby
donV has quit [Quit: donV]
thedarkone2 has quit [Quit: thedarkone2]
olle has joined #jruby
olle has quit [Client Quit]
pawnbox has quit [Ping timeout: 256 seconds]
pawnbox has joined #jruby
olle has joined #jruby
donV has joined #jruby
raeoks has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
donValentin has joined #jruby
donV has quit [Ping timeout: 250 seconds]
raeoks has joined #jruby
claudiuinberlin has joined #jruby
shellac has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
etehtsea has quit [Ping timeout: 268 seconds]
raeoks has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
olle has quit [Quit: olle]
olle has joined #jruby
raeoks has joined #jruby
vtunka has joined #jruby
drbobbeaty has joined #jruby
shellac has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shellac has quit [Quit: Computer has gone to sleep.]
shellac has joined #jruby
pawnbox has quit [Ping timeout: 248 seconds]
donV has joined #jruby
donValentin has quit [Ping timeout: 250 seconds]
pawnbox has joined #jruby
vtunka has quit [Quit: Leaving]
pawnbox has quit [Ping timeout: 248 seconds]
pawnbox has joined #jruby
mtoribio has joined #jruby
maclover7 has joined #jruby
mtoribio has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
maclover7 has quit [Client Quit]
drbobbeaty has joined #jruby
maclover7 has joined #jruby
maclover7 has quit [Client Quit]
vtunka has joined #jruby
bbrowning_ is now known as bbrowning
shellac has quit [Quit: Computer has gone to sleep.]
vtunka has quit [Ping timeout: 248 seconds]
yahonda has joined #jruby
TheWhip has joined #jruby
etehtsea has joined #jruby
vtunka has joined #jruby
hays_ has quit [Changing host]
hays_ has joined #jruby
hays_ is now known as hays
pawnbox has quit [Ping timeout: 260 seconds]
vtunka has quit [Quit: Leaving]
tcrawley-away is now known as tcrawley
shellac has joined #jruby
pawnbox has joined #jruby
raeoks has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has quit [Remote host closed the connection]
claudiuinberlin has joined #jruby
pawnbox has quit [Ping timeout: 268 seconds]
claudiuinberlin has quit [Ping timeout: 256 seconds]
shellac has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
etehtsea has quit [Ping timeout: 248 seconds]
tcrawley is now known as tcrawley-away
pawnbox has joined #jruby
TheWhip has quit [Remote host closed the connection]
maclover7 has joined #jruby
maclover7 has quit [Client Quit]
vtunka has joined #jruby
TheWhip has joined #jruby
enebo has joined #jruby
etehtsea has joined #jruby
lanceball has quit [Remote host closed the connection]
etehtsea has quit [Ping timeout: 246 seconds]
jhass has quit [Ping timeout: 246 seconds]
jhass has joined #jruby
donV has quit [Quit: donV]
vtunka has quit [Quit: Leaving]
raeoks has joined #jruby
vtunka has joined #jruby
claudiuinberlin has joined #jruby
Puffball has quit [Quit: No Ping reply in 180 seconds.]
subbu is now known as subbu|afk
Puffball has joined #jruby
Puffball has quit [Client Quit]
bbrowning has quit [Remote host closed the connection]
Puffball has joined #jruby
bbrowning has joined #jruby
<GitHub185> [jruby] eregon pushed 1 new commit to truffle-head: https://git.io/vXST1
<GitHub185> jruby/truffle-head 629256e Benoit Daloze: [Truffle] Implement missing cases in ObjectArrayBuilderNode#appendArray().
donV has joined #jruby
blandflakes has joined #jruby
TheWhip has quit [Remote host closed the connection]
cremes_ has joined #jruby
cremes has quit [Ping timeout: 268 seconds]
cremes has joined #jruby
cremes_ has quit [Ping timeout: 256 seconds]
cremes_ has joined #jruby
cremes has quit [Ping timeout: 256 seconds]
cremes_ is now known as cremes
cremes_ has joined #jruby
cremes has quit [Ping timeout: 252 seconds]
vtunka has quit [Quit: Leaving]
cremes_ has quit [Ping timeout: 252 seconds]
cremes has joined #jruby
vtunka has joined #jruby
cremes_ has joined #jruby
Aethenelle has joined #jruby
cremes has quit [Ping timeout: 252 seconds]
cremes has joined #jruby
cremes_ has quit [Ping timeout: 252 seconds]
cremes_ has joined #jruby
cremes has quit [Ping timeout: 240 seconds]
cremes_ is now known as cremes
<olle> enebo: Hey! It's Wednesday!
cremes_ has joined #jruby
<enebo> olle: happy hump day
<olle> enebo: And I have a jruby-1.7 question. Why the heck can RSpec throw a OptionParser::MissingArgument: missing argument: --pattern at me?
bbrowning is now known as bbrowning_away
<olle> enebo: rspec-core-3.5.4/lib/rspec/core/option_parser.rb:23 This darn thing started it.
cremes has quit [Ping timeout: 240 seconds]
<enebo> olle: I am looking it up online
<olle> enebo: Eh, fact: I'm able to have this occur on Travis.
cremes has joined #jruby
cremes_ has quit [Ping timeout: 256 seconds]
<enebo> olle: yeah that seems super weird
<olle> enebo: So, not on OS X.
<enebo> olle: you can print out args at that point and make sure somehow something did not strip off last argument?
<GitHub82> [jruby] nirvdrum pushed 1 new commit to truffle-head: https://git.io/vXSGt
<GitHub82> jruby/truffle-head 46cfd64 Kevin Menard: [Truffle] Removed bad transfers.
<olle> enebo: There's a mode in Travis, I can try.
<enebo> olle: oh sorry I thought it happened everywhere…that is extra weird
<enebo> olle: I have a theory too
<enebo> olle: travis I also think changed their envs in some ways too
<enebo> olle: I half wonder if it is getting expanded an extra time by shell
<olle> (Using JRUBY_OPTS="--dev -J-Djruby.launch.inproc=true -J-Xmx1024M")
<enebo> olle: so if a shell expansion it will return nothing as last arg because shell globbing will return nothing
lanceball_ has joined #jruby
<olle> enebo: Perhaps then I can't run this right when in the "debug job" mode
<enebo> olle: do you make that pattern argument directly?
<enebo> olle: I would remove \* and just make * but put within single quotes
etehtsea has joined #jruby
<olle> enebo: The expression comes from RSpec's rake task
<olle> enebo: It's me trying to integggggrate with some tools in place.
<enebo> olle: ah if you put a puts in there and there is no last argument then I predict something is expanding the escapes once before being called a second time
<enebo> olle: that will end up having shell try and use those stars and then it will expand to nothing since shell is not as sophisticated
<enebo> olle: at least that is my guess
<olle> enebo: Ya. Sadly, in this interactive mode, it ain't the same.
<olle> enebo: It does different things.
lanceball_ is now known as lanceball
lanceball has quit [Changing host]
lanceball has joined #jruby
<olle> enebo: Oh, I was able to.
<olle> enebo: Now I have the "bundle exec rake" running, with the failure I was pining to see.
<enebo> olle: locally?
<olle> enebo: No, in the Travis interactive debug environment.
<olle> enebo: It's a ssh session with a "build server"
<enebo> olle: ok well I will let you debug the debug
<olle> enebo: Grand.
<olle> Poking around, thanks for the push to Know Things.
<enebo> olle: if it is us then maybe it is calling something in a new way that 1.7 (or 1.9) does differently
<enebo> olle: but I predict my theory is still correct…the only question is it us or them
<olle> enebo: arg is nil, argv is []
<enebo> olle: if you know it works on 9k it would point more towards us
<olle> enebo: I should add a jruby-9.1.6.0 build target, yeah
<olle> enebo: In 1.7, in the earlier step, `OptParser#parse!` the argv is ["--pattern"] (# Same as #parse, but removes switches destructively.)
<enebo> olle: yeah so something is shell globbing and killing the last arg
<enebo> olle: which could be travis or it could be how we invoke commands in 1.7.x
<enebo> olle: or just a 2.xish leaked in later rspec?
<enebo> olle: actually a foouth option as well we could be not cwd and globbing it to nothing but I would not expect that before parse
<olle> Oh, drinks and dinner is awaiting beyond this rain. Gotta bike!
<olle> Thank you for caring about my petite problems.
<enebo> olle: ok let me know how this turns out
<olle> enebo: Sure!
<olle> enebo: haha, I got much more mad 9K errors when I was able to run the tests on Travis with 9K.
<olle> enebo: This kind: expected no Exception, got java.lang.RuntimeException: org.jruby.runtime.scopes.DynamicScope1 only supports scopes with 1 variables with backtrace:
<olle> enebo: I'll report back. Ciao!
<enebo> olle: ok report that too when you get back
donV has quit [Quit: donV]
lanceball is now known as lance|afk
raeoks has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
subbu|afk is now known as subbu
camlow325 has joined #jruby
raeoks has joined #jruby
raeoks has quit [Client Quit]
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
claudiuinberlin has quit []
tcrawley-away is now known as tcrawley
<GitHub24> [jruby] tobymurray-nanometrics opened issue #4304: Singleton on non-persistent Java type Java::JavaLang::NullPointerException https://git.io/vXS4g
vtunka has quit [Quit: Leaving]
donV has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
thedarkone2 has joined #jruby
Puffball has quit [Quit: No Ping reply in 180 seconds.]
Puffball has joined #jruby
camlow325 has quit [Quit: WeeChat 1.5]
donV has quit [Quit: donV]
donV has joined #jruby
donV has quit [Client Quit]
claudiuinberlin has joined #jruby
lance|afk is now known as lanceball
akp has joined #jruby
maclover7 has joined #jruby
pawnbox has quit [Ping timeout: 246 seconds]
maclover7 has quit [Client Quit]
nicoulaj has joined #jruby
subbu is now known as subbu|lunch
claudiuinberlin has quit [Remote host closed the connection]
claudiuinberlin has joined #jruby
pawnbox has joined #jruby
TheWhip has joined #jruby
maclover7 has joined #jruby
claudiuinberlin has quit []
kirs has joined #jruby
<kirs> hey!
<kirs> so I cloned jruby/jruby, bootstrapped the local setup and when I'm running the tests I get quite a lot of failures:
<kirs> > Finished tests in 12.797000s, 8.2050 tests/s, 61.7332 assertions/s. 105 tests, 790 assertions, 19 failures, 4 errors, 0 skips
<kirs> is that expected?
subbu|lunch is now known as subbu
camlow325 has joined #jruby
bbrowning_away is now known as bbrowning
TheWhip has quit [Remote host closed the connection]
kirs has quit [Ping timeout: 260 seconds]
olle_ has joined #jruby
pawnbox has quit [Remote host closed the connection]
mosodede has joined #jruby
mosodede has quit [Client Quit]
TheWhip has joined #jruby
<olle_> enebo: Back from great dinner. My issue with argv being misunderstood/weird on 1.7, it went away when I removed -J-Djruby.launch.inproc=true
<enebo> aha
TheWhip has quit [Ping timeout: 265 seconds]
<enebo> olle_: yeah that property is to not restart a new JVM if you are reinvoking ruby itself but the problem it can have is we did not perfectly emulate shell processing of argument logic
<olle_> enebo: Is this a fixable thing, or is it more “sharing with inproc=true makes it important for you not to consume args when parsing them“
<enebo> olle_: so your pattern arg probably got bungled by it
<enebo> olle_: well it undoubtedly exposes a problem with how we process arguments when we re-invoke Ruby
<olle_> enebo: I mean is it merely documentable?
<enebo> olle_: well not without knowing what is broken no
<olle_> enebo: Eh, hehe. Right.
<enebo> olle_: I mean we could say do not use inproc if you are using any glob-like syntax but I do think it works with a bunch
<enebo> olle_: if you can figure out a smaller case where it eats the string when it shouldn’t then we might fix it so it works
<olle_> enebo: I could start trying a ruby-only case, which does not need tons of deps.
<enebo> olle_: yeah I think it would be something like calling system (or whichever method was pushing that subinvoke) and simplifying that pattern string til it works then add that last thing back
<enebo> olle_: not a ton of people use inproc=true now but it can really speed up sub-inokes by not restarting JVM
<olle_> I see.
<enebo> olle_: although for features like this I wonder how well we maintain them since they are not on much
<enebo> olle_: and in CI they require a JVM/proc start to test them
<olle_> enebo: Can it even be a security misfeature?
<enebo> olle_: I don’t know. You are invoking a ruby subprocess if not. If you do not trust it in same JVM do you trust executing a process as same user?
<enebo> olle_: certainly it opens up different interesting security questions but both would be dangerous if you did not trust your code
<olle_> enebo: I was thinking along the lines of “running the right commands” more than about trust.
<olle_> enebo: But I’ll get on trying to get a reduced case.
<enebo> olle_: well I think main one would be you want to run MRI as a subprocess but we say, nope we will run you
<cprice404> howdy all, I notice there is a new release of jruby-openssl available; is there any chance that there will be a new release of jruby 1.7/jruby-stdlib 1.7 that contains the new 0.9.18 version of jruby-openssl?
<headius> olle: definitely need that DynamicScope one reported
<headius> that would be interpreter getting a generated scope and trying to access outside its size
<headius> cprice404: yeah we should have at least one more 1.7 release before end of year
<cprice404> headius: awesome, i will work up a PR for y'all unless someone is already doing that. also, are you feeling like you are on target for 1.7.x EOL at end of 2016 or might that slip out a bit further?
<headius> I don't know of anyone doing that for 1.7
<headius> end of 2016 is kinda whenever 9.2 is done...that's intended to advance to ruby 2.4 compat and resolve remaining migration issues
nicoulaj has quit [Remote host closed the connection]
<headius> 9.2 will probably not quite be done at the end of 2016 :-)
TheWhip has joined #jruby
<cprice404> so the plan is to EOL 1.7 at the same time the 9.2 release drops?
<enebo> cprice404: I think it could be but it might extend another point release. I think we need to see
TheWhip has quit [Ping timeout: 248 seconds]
<cprice404> k, thx. we're hoping to carve out some time to try to upgrade again soon :/
<GitHub125> [jruby] olleolleolle opened issue #4305: JRuby 1.7: Argument list not fully preserved when inproc=true https://git.io/vX9ke
<headius> cprice404: unofficially there might be a little overlap, but that's what I'm hoping for
<olle_> enebo: Does 4305 https://github.com/jruby/jruby/issues/4305 describe things?
<enebo> olle_: it does but it is not very reduced
<olle_> enebo: Good, I’ll get on that.
tcrawley is now known as tcrawley-away
<GitHub96> [jruby] cprice404 opened issue #4306: JRuby 1.7: update to latest jruby-openssl version https://git.io/vX9IK
<enebo> olle_: jruby -Xlaunch.inproc=true -e 'system %Q{ruby -e "p ARGV" 1 \*}'
<enebo> olle_: this is not a real repro and I do not think you should command-line reduce this as it make string escaping really weird
<enebo> olle_: but something where the script displays ARGV it receives you should see your funky spec pattern in inproc false and nothing when true
<enebo> olle_: I also don’t know which method rspec uses to invoke the subprocess. That could be a major thing so you should try and figure out how it does it
<olle_> system([])
<enebo> olle_: great so you know that already
<olle_> that’s how - they build a system() call which is a []
<olle_> enebo: The #spec_command method builds the command
<enebo> olle_: I think just their pattern string added as last arg in what I gave above but put into a script should show a difference between inproc true and false
<olle_> riiiight, it’s the _shape_ of the pattern arg that also matters.
<enebo> olle_: once you see that difference I think you can start whittling that arg smaller and smaller too
<olle_> enebo: I got to the difference.
<GitHub118> [jruby] cprice404 opened pull request #4307: JRuby 1.7: update jruby openssl to 0.9.18 (jruby-1_7...jruby-1_7-update-jruby-openssl-to-0.9.18) https://git.io/vX9qY
<enebo> olle_: hmm interesting in that array-based system should not be doing shell stuff at all
<enebo> olle_: it is sort of the point of it
<olle_> enebo: My mistake, not an array
<enebo> olle_: oh sorry I was looking at the output
<olle_> enebo: sry
<enebo> olle_: so inproc is probably applying the string once and stripping off the literal \ then we glob after that or something
<olle_> enebo: In the RSpec Rake task they smash the array thing together.
<olle_> enebo: …to a string, before passing it to system()
<enebo> olle_: yeah
<olle_> enebo: So I did that, too, in the imitation-repro thing.
<enebo> olle_: this is a good repro
<enebo> olle_: more amusing is I think if you change this to \* you will get your current files
<enebo> olle_: I bet we do not handle { or } at all so it is not fully globbing this
<enebo> olle_: and since you do not have files with crap like {, in it you get nothing
<enebo> olle_: of course it should not be trying to glob at all here but that is why we see nothing at all
<olle_> I get nothing in there even when I cmd="ruby reader.rb --pattern spec/*_spec.rb"
<olle_> enebo: But cmd="ruby reader.rb --pattern hello" gives me [‘—pattern’, ‘hello’]
<olle_> enebo: But you have a grip on this one, you know what’s going on.
<olle_> enebo: cmd="ruby reader.rb --pattern hello*" (Any globbing-activating character makes the result be printed as [‘—pattern’]
<enebo> olle_: cmd="ruby reader.rb --pattern *.rb"
<enebo> change that line and rerun it
<olle_> ["--pattern", "reader.rb", "sys.rb"]
<enebo> yeah so you can see it globbed everything in CWD
<olle_> ta-da, Sherlock!
<enebo> which is ok
<enebo> but with that said those were escaped
<olle_> cmd="ruby reader.rb --pattern \*.rb" gave me the same result
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<enebo> olle_: indeed so does MRI
<enebo> olle_: double quoted strings will interpolate the literal string out
<enebo> “\*”.inspect will be “*”
<olle_> enebo: Should I make this repro file use single quotes for readability?
<enebo> olle_: I think it is needed for correctness
<olle_> cmd='ruby reader.rb --pattern \*.rb' # ["--pattern", "*.rb"]
<olle_> cmd='ruby reader.rb --pattern *.rb' # ["--pattern", "reader.rb", "sys.rb"]
<enebo> olle_: another observation is that we do not have this issue on 9k
<enebo> headius: inproc still exists on 9k doesn’t it?
akp_ has joined #jruby
<enebo> olle_: I know this involves globbing but I am super confused why \*.rb works with shell mode but that doesn't
<enebo> err inproc mode
<enebo> olle_: cmd='ruby reader.rb --pattern /\*.rb'
<enebo> minimized!
<enebo> something about that / being present forces it into “I should glob this arg more”
akp has quit [Ping timeout: 265 seconds]
yahonda has left #jruby [#jruby]
<olle_> cmd='ruby reader.rb --pattern /\*.rb' # ["--pattern"]
<enebo> olle_: but a * must also be presnet
<enebo> olle_: so / + * equals something weird with inproc enabled on 1.7
akp_ has quit [Ping timeout: 258 seconds]
<olle_> I’m collecting the returns from these invocations in the script
<olle_> cmd='ruby reader.rb --pattern {.rb' # ["--pattern"]
<enebo> olle_: yeah so we search for special chars and then decide it is time to pretend we are a shell
<olle_> enebo: https://github.com/jruby/jruby/issues/4305 the script now has the outputs that it gave.
kares has quit [Remote host closed the connection]
kares has joined #jruby
kares has quit [Client Quit]
<headius> enebo: in my rush to update 2.4 stuff and 2.3.1 tests I neglected to exclude the new failures...tidying that up now
<headius> the hanging seems to be some oddity on travis where the root user has no supplementary groups, which makes some thread blow up
<headius> it looks like a bunch of these are parser failures...do you want a separate issue for those?
kares has joined #jruby
kares has quit [Quit: ...]
<enebo> headius: syre
bbrowning is now known as bbrowning_away
enebo has quit [Quit: enebo]
kares has joined #jruby
olle_ has quit [Quit: olle_]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maclover7 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
TheWhip has joined #jruby
TheWhip has quit [Ping timeout: 250 seconds]
Aethenelle has quit [Quit: Aethenelle]
akp has joined #jruby