subbu has quit [Quit: Leaving]
razetime has joined #jruby
razetime_ has joined #jruby
<razetime> Are the logs for this room faulty?
razetime[m] has joined #jruby
razetime has quit [Ping timeout: 268 seconds]
razetime has joined #jruby
sagax has joined #jruby
<byteit101[m]> I'm using the org.jruby.embed.ScriptingContainer api and am wondering if there is a way to set the self variable or otherwise run in a context that isn't main, a-la binding.pry?
sagax has quit [Quit: Konversation terminated!]
<byteit101[m]> context: https://github.com/byteit101/ruby-dragon/commit/1b8a07a4b5148917c452faa20af3253af2107757 I have this method definition working now, but it's a bit hacky. I was hoping to easily have a way to eval bindings with an inputstream like normal eval does, but I'm not sure if that exists
razetime has quit [Remote host closed the connection]
subbu has joined #jruby
genpaku has quit [*.net *.split]
drbobbeaty has quit [*.net *.split]
razetime[m] has quit [*.net *.split]
kares[m] has quit [*.net *.split]
nilsding has quit [*.net *.split]
DylanCamilleri[m has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
ahorek[m] has quit [*.net *.split]
bastelfreak has quit [*.net *.split]
FarazYashar[m] has quit [*.net *.split]
k77ch7[m] has quit [*.net *.split]
AndyMaleh[m] has quit [*.net *.split]
andrea[m]1 has quit [*.net *.split]
puritylake[m] has quit [*.net *.split]
JasonLunn[m] has quit [*.net *.split]
satyanash has quit [*.net *.split]
byteit101[m] has quit [*.net *.split]
headius has quit [*.net *.split]
lopex[m] has quit [*.net *.split]
distant[m] has quit [*.net *.split]
razetime[m] has joined #jruby
kares[m] has joined #jruby
genpaku has joined #jruby
bastelfreak has joined #jruby
ahorek[m] has joined #jruby
AndyMaleh[m] has joined #jruby
DylanCamilleri[m has joined #jruby
headius has joined #jruby
byteit101[m] has joined #jruby
andrea[m]1 has joined #jruby
nilsding has joined #jruby
puritylake[m] has joined #jruby
drbobbeaty has joined #jruby
JasonLunn[m] has joined #jruby
FarazYashar[m] has joined #jruby
lopex[m] has joined #jruby
satyanash has joined #jruby
distant[m] has joined #jruby
k77ch7[m] has joined #jruby
yosafbridge has joined #jruby
enebo[m] has quit [Ping timeout: 255 seconds]
andrea[m]1 has quit [Ping timeout: 264 seconds]
puritylake[m] has quit [Ping timeout: 264 seconds]
nilsding has quit [Ping timeout: 268 seconds]
ahorek[m] has quit [Ping timeout: 255 seconds]
FarazYashar[m] has quit [Ping timeout: 240 seconds]
k77ch7[m] has quit [Ping timeout: 240 seconds]
headius has quit [Ping timeout: 268 seconds]
byteit101[m] has quit [Ping timeout: 268 seconds]
lopex[m] has quit [Ping timeout: 268 seconds]
distant[m] has quit [Ping timeout: 268 seconds]
DylanCamilleri[m has quit [Ping timeout: 268 seconds]
razetime[m] has quit [Ping timeout: 268 seconds]
AndyMaleh[m] has quit [Ping timeout: 264 seconds]
JasonLunn[m] has quit [Ping timeout: 264 seconds]
kares[m] has quit [Ping timeout: 268 seconds]
enebo[m] has joined #jruby
ahorek[m] has joined #jruby
FarazYashar[m] has joined #jruby
<enebo[m]> This broke when we started using timeout 0.3.0. I believe the problem is that it relies on threads to get cleaned up and terminated but we just let these threads terminate on their own and although the main timeout thread is on its way out our embedding API checks and it has not completed yet.
<enebo[m]> I believe older timeout handled this properly because it forced a #join as part of cleanup
<enebo[m]> I made spec:compiler pass using +indy today. I cleaned something up in builder but it got indy confused. I just partially reverted back to passing null vs NullBlock to fix it.
<enebo[m]> byteit101: could you do something like: 'my_object.instance_eval { your original code }'?
byteit101[m] has joined #jruby
distant[m] has joined #jruby
k77ch7[m] has joined #jruby
lopex[m] has joined #jruby
DylanCamilleri[m has joined #jruby
headius has joined #jruby
subbu_ has joined #jruby
razetime[m] has joined #jruby
subbu_ has quit [Client Quit]
subbu_ has joined #jruby
subbu_ has quit [Changing host]
subbu_ has joined #jruby
subbu is now known as Guest4024
Guest4024 has quit [Killed (platinum.libera.chat (Nickname regained by services))]
AndyMaleh[m] has joined #jruby
JasonLunn[m] has joined #jruby
kares[m] has joined #jruby
<byteit101[m]> enebo: possibly, but wouldn't I have to do string concatenation and/or read the inputstream first?
<enebo[m]> I don't know what you are doing so? I do know you can change self using instance_eval though
<byteit101[m]> Take a peek at the context url above. It's running 3rd party code. right now there is container.runScriptlet(scriptInputStream, scriptName); I'd like to avoid concatenation to keep parser errors sane and not allow accidental escapes if you have an extra }
nilsding has joined #jruby
<byteit101[m]> I tried to look at using bindings but I couldn't figure out a way to do so with sharing two self's ($script and $current_api, deending on source) without loosing context and the input stream being an input stream
andrea[m]1 has joined #jruby
puritylake[m] has joined #jruby
subbu has quit [Quit: Leaving]
JasonMiller[m] has joined #jruby
<JasonMiller[m]> I'm running into an issue with jRuby 9.3 and above, that isn't happening with jRuby 9.2.21. It involves loading Java libraries for Apache ActiveMQ, and then accessing a constant defined on one of its modules.
<JasonMiller[m]> Because it works with one version of jRuby, but not the newer ones, I think I should report this as a jRuby Github issue.
<headius> Definitely make sure it fails in the latest 9.3.7 first
<JasonMiller[m]> I did
<headius> Yes open an issue then
<JasonMiller[m]> Done.
<headius> Ok thank you