<lopex>
headius: it has tremendous implications of mri regexsps
<lopex>
perf wise
<headius>
backport to 9.1? it looks like it's already there
<lopex>
well ok then
daveg has joined #jruby
Puffball has joined #jruby
<daveg>
I'm working on making https://github.com/aws/aws-xray-sdk-ruby JRuby friendly. They currently pin it to Ruby 2.3.6+ in the gemspec, apparently because "We generally don't support versions that have known security vulnerabilities." I know plan is for for MRI 2.5 compatibility in 9.2, but any chance of bumping RUBY_VERSION up to 2.3.6 in 9.1.17.0? I
<daveg>
haven't looked at all the diffs, I know the major ones were vunlnerabilities
<headius>
daveg: there's a good chance the next release will be 9.2, toward end of April
<headius>
if we did a 9.1.17 right now it might be tough to bump that version
<headius>
mainly when we say we're X version it means that version standard library and language features
<headius>
so that's what we'd need to update
<daveg>
Ah, that's closer than I expected for 9.2.
<headius>
and examine a list of security fixes between 2.3.0 and 2.3.6
<headius>
unless it's in standard library, we don't usually have the same vulns so pinning to a version number is a little annoying :-\
<daveg>
Yeah, if its that close in, not worth the effort. I'll get the rest of the fixes in for the gem, then we can just wait for the RUBY_VERSION fix. Thanks!
<headius>
thanks!
<headius>
let me know if you have any other issues
<daveg>
Agreed that the minor version pin is silly -- it's Amazon, so to be expected
<daveg>
Ran into https://github.com/jruby/jruby/issues/5099 while moving it over. I'll work on a patch for that if I have a chance. it's pretty trivial (and easy to work around in the tests)
<daveg>
Thanks for an awesome project and all the hard work!
<GitHub156>
[jruby] andrewvc opened issue #5103: checkArity confusingly raises line of outer caller for nested calls https://git.io/vxWWW
pilne has quit [Quit: Leaving]
<GitHub59>
[jruby] headius pushed 1 new commit to block_dispatch: https://git.io/vxWzu
<GitHub59>
jruby/block_dispatch b1b1644 Charles Oliver Nutter: Restructure JIT to happen in one place each for methods and blocks...
<desnudopenguino>
does anyone know what i should be looking for in my code that led to this error? (TypeError) no implicit conversion of Java::JavaUtil::LinkedHashMap into String: org.jruby.embed.EvalFailedException
<headius>
desnudopenguino: can you gist the full error output please?
<desnudopenguino>
headius: one moment
<headius>
it's trying to give you a string but what it has in the ruby code is a LinkedHashMap
<desnudopenguino>
well i got rid of it, i was calling puts on a hash, not a string.
<desnudopenguino>
headius: thanks for the description of what was going on.
<headius>
ok cool
<desnudopenguino>
i'm trying to use JRuby to run ruby code in AWS Lambda functions.
<desnudopenguino>
i'm not sure if it is working yet, but at least the errors are going away haha
<desnudopenguino>
if this works i'm going to be one happy fellow tonight
<headius>
desnudopenguino: cool, let us know how it goes!
<headius>
we have been exploring options to get JVM+JRuby to start up faster for exactly that sort of use
<desnudopenguino>
cool
<desnudopenguino>
i hated java in school, but love ruby. the JVM is kind of a hog at start-up AIUI
<desnudopenguino>
well my code isn't throwing errors, but it also appears to not be completing the task i want it to do
<desnudopenguino>
oops, i spoke too soon haha
<desnudopenguino>
hrmmm... https://gist.github.com/desnudopenguino/80c0fea3329a45e1f137a6ed8304c946 (with the AWSLambdaJRuby.java file included) it looks like it is calling the ruby file to execute, and then applying the output from that to a string. perhaps the issue is that the file isn't quite doing that correctly, and so java is getting pissed because it is expecting a string but getting a LinkedHashMap?
<desnudopenguino>
going to try without having the runScriptlet function calls being applied to a string
<desnudopenguino>
the guide is simple, but pretty lacking for a jruby noob like myself
<headius>
oh I see
<headius>
sorry it's the end of the day for me so I can't really help, but I'll be back in a few hours :-)
<desnudopenguino>
no worries, i'll stay in here if you (or anyone else) wants to look. i'll keep picking at it as well. thanks and have a good rest!
xardion has quit [Ping timeout: 260 seconds]
xardion has joined #jruby
sidx64_ has joined #jruby
sidx64 has quit [Read error: Connection reset by peer]
sidx64 has joined #jruby
sidx64_ has quit [Ping timeout: 264 seconds]
Antiarc has quit [Ping timeout: 240 seconds]
Antiarc has joined #jruby
olle has joined #jruby
Aethenelle has quit [Ping timeout: 255 seconds]
Aethenelle has joined #jruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #jruby
sidx64 has joined #jruby
sidx64 has quit [Client Quit]
drbobbeaty has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drbobbeaty has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sidx64 has joined #jruby
shellac has joined #jruby
<GitHub160>
[jruby-openssl] perlun opened issue #157: JVM version detection breaks on Java 10 https://git.io/vxW59
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sidx64 has joined #jruby
drbobbeaty has joined #jruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sidx64 has joined #jruby
bbrowning_away is now known as bbrowning
shellac has quit [Read error: Connection reset by peer]
pilne has joined #jruby
shellac has joined #jruby
pilne has left #jruby ["Leaving"]
shellac has quit [Quit: Computer has gone to sleep.]
akp has joined #jruby
shellac has joined #jruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sidx64 has joined #jruby
sidx64 has quit [Client Quit]
sidx64 has joined #jruby
sidx64 has quit [Client Quit]
_whitelogger has joined #jruby
pobocks has joined #jruby
<pobocks>
Hello - I'm working on a project that fetches older versions of JRuby from S3, and it looks like one of them has disappeared for some reason.
<xardion>
What you'd likely need to do with that one is integrated the jruby-gradle-plugin into it
<xardion>
since it already uses gradle.
<xardion>
integrate*
<desnudopenguino>
hmm. ok.
<xardion>
Oh, nm
<xardion>
you forked off of mkristian's code which already does that :P
<xardion>
your error looks like you're trying to JSON parse something that doesn't need to be parsed.
<xardion>
(i.e. it's already a Hash)
<desnudopenguino>
ok
<desnudopenguino>
i'm going to do a fresh deploy (was banging my head against this yesterday for a while, so my mind may have been cloudy) and see what happens with the bare repo
<xardion>
yeah, it blew up on line 4 of your main.rb. What did you have there? That isn't in your repo.
<desnudopenguino>
i had a ruby module i believe. i just dumped all of that lol
<desnudopenguino>
i finally see in the stack trace that line, i missed it before
shellac has quit [Quit: Computer has gone to sleep.]
<desnudopenguino>
thanks for pointing that out!
claudiuinberlin has joined #jruby
<desnudopenguino>
(it's been a while since i've read some of these java stack traces)
shellac has joined #jruby
<desnudopenguino>
also, that error is proper to the code as it is... i just ran it again fresh, and even though main.rb only has 3 lines, it said the error is on line 4
* desnudopenguino
is even more confused now
shellac has quit [Quit: Computer has gone to sleep.]
<GitHub22>
[jruby] raelik opened issue #5104: IRB doesn't start on jRuby 9.1.16.0 https://git.io/vxly5
<desnudopenguino>
maybe my lambda has old junk in it...
<GitHub9>
jruby/ruby-2.5 5ed7280 Thomas E. Enebo: Bah missed a file in last commit and I am lazy.
<GitHub9>
jruby/ruby-2.5 2bc13c5 Thomas E. Enebo: Catch up ripper to parser. Error counts did not change but 7 more asserts pass!!!! Still missing some smaller changes. Up next.
<GitHub9>
jruby/ruby-2.5 4fa77db Thomas E. Enebo: Update lexer + parser a bit more to match Ruby 2.5. I missed some significant...
<desnudopenguino>
well that didn't fix it. i'll come back to it later at some point. if anyone wants to mess with the ruby -> jruby AWS Lambda stuff, feel free. here's what i have https://github.com/desnudopenguino/aws-lambda-jruby/
shellac has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]