cpuguy83_ has quit [Remote host closed the connection]
rcvalle has quit [Quit: rcvalle]
cpuguy83_ has joined #jruby
dfr has quit [Ping timeout: 265 seconds]
dfr has joined #jruby
mrmargolis has joined #jruby
havenwood has joined #jruby
cpuguy83_ has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Remote host closed the connection]
blaines has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrmargolis` has joined #jruby
mrmargolis` has quit [Remote host closed the connection]
sdogruyol has joined #jruby
_djbkd has quit [Remote host closed the connection]
sdogruyol has quit [Ping timeout: 245 seconds]
mrmargolis has quit []
mrmargol` has joined #jruby
mrmargol` has quit [Client Quit]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] nirvdrum pushed 1 new commit to rbx-2.5.6-upgrade: http://git.io/vLaKb
<JRubyGithub>
jruby/rbx-2.5.6-upgrade 9a7c788 Kevin Menard: [Truffle] Use standard Rubinius ARGF and provide overrides in api/shims like we do for others.
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub>
jruby/master 1359514 Kevin Menard: [Truffle] Updated Rubinius bootstrap files from 2.4.1 to 2.5.6.
<JRubyGithub>
jruby/master 29e6820 Kevin Menard: [Truffle] FiberError should descend from StandardError.
<JRubyGithub>
[jruby] nirvdrum pushed 23 new commits to master: http://git.io/vLa63
<JRubyGithub>
jruby/master 3a37022 Kevin Menard: [Truffle] Fixed PrimitiveFailure's class hierarchy.
<JRubyGithub>
[jruby] nirvdrum pushed 1 new commit to master: http://git.io/vLa5p
<JRubyGithub>
jruby/master 446309a Kevin Menard: [Truffle] Untagged a ton of core specs.
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] gabrielrotbart opened issue #3068: Initializing hashes with Ruby 2.0+ string keys causes a syntax error if value is a literal http://git.io/vLabF
<JRubyGithub>
[jruby] mkristian reopened issue #2005: File to import not found or unreadable: bootstrap-compass (issue only on Windows) http://git.io/vLVj2
rsim has joined #jruby
thsig_ has quit [Remote host closed the connection]
thsig has joined #jruby
mje113 has joined #jruby
rsim has quit [Quit: Leaving.]
thsig has quit [Remote host closed the connection]
thsig has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
thsig has quit [Remote host closed the connection]
thsig has joined #jruby
rsim has joined #jruby
rsim has quit [Client Quit]
sdogruyol has joined #jruby
drbobbeaty has joined #jruby
havenwood has joined #jruby
vtunka has quit [Quit: Leaving]
thsig has quit [Remote host closed the connection]
thsig has quit [Remote host closed the connection]
temporalfox has joined #jruby
thsig has joined #jruby
thsig has quit [Remote host closed the connection]
thsig has joined #jruby
cremes has quit [Quit: cremes]
tcrawley-away is now known as tcrawley
mcclurmc has joined #jruby
vtunka has joined #jruby
tenderlove has quit [Quit: Leaving...]
thsig has quit [Remote host closed the connection]
thsig has joined #jruby
mcclurmc has quit [Remote host closed the connection]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] jtulach opened pull request #3072: pom.rb is the primary source of dependency information (truffle-head...TruffleTCK) http://git.io/vLwPK
JRubyGithub has left #jruby [#jruby]
bbrowning_away is now known as bbrowning
thsig has quit [Remote host closed the connection]
thsig has joined #jruby
rsim has joined #jruby
rsim has quit [Client Quit]
sdogruyol has quit [Remote host closed the connection]
nirvdrum has joined #jruby
thsig has quit [Ping timeout: 256 seconds]
cpuguy83_ has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
nirvdrum has quit [Remote host closed the connection]
enebo has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] mkristian force-pushed test-dir-globs-on-uri-classloader from 3b97172 to 3421e1a: http://git.io/vkVCI
<JRubyGithub>
jruby/test-dir-globs-on-uri-classloader 97e35b8 Christian Meier: find directory entries inside the jar if there is no .jrubydir file...
<JRubyGithub>
jruby/test-dir-globs-on-uri-classloader 7fb5486 Christian Meier: added current directory to load_path for spec:profiler
<JRubyGithub>
jruby/test-dir-globs-on-uri-classloader b3cf074 Christian Meier: some integration tests do see uri:classloader: for jruby-rack applications
JRubyGithub has left #jruby [#jruby]
nirvdrum has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] mkristian force-pushed test-dir-globs-on-uri-classloader from 3421e1a to 8106cc4: http://git.io/vkVCI
<JRubyGithub>
jruby/test-dir-globs-on-uri-classloader bf529f7 Christian Meier: added current directory to load_path for spec:profiler and test:slow_suites
<JRubyGithub>
jruby/test-dir-globs-on-uri-classloader 2318af6 Christian Meier: some integration tests do see uri:classloader: for jruby-rack applications
<JRubyGithub>
jruby/test-dir-globs-on-uri-classloader d02e9ed Christian Meier: use common way of adding jar to the jruby-classloader...
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
blaines has joined #jruby
blaines_ has joined #jruby
blaines has quit [Ping timeout: 245 seconds]
subbu is now known as subbu|lunch
mcclurmc has joined #jruby
subbu|lunch is now known as subbu|meeting
sholden has joined #jruby
yfeldblum has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ylansegal has quit [Quit: Page closed]
<sholden>
Hey everyone. So I’ve been working in Ruby a long time but I’m still very green in my Java knowledge. The language is easy but I’m still struggling to cram documentation and knowledge/intuition about the broader apis and ecosystem into my head as fast as I can. We’re looking at rebuilding a number of older legacy services and I’m trying to make a case for using JRuby as a way to migrate away from the old code base gradually without having
<sholden>
do “the big rewrite” all at once.
<sholden>
Right now I’ve got the old legacy code fired up and wrapped in a rails app, got the spring context all wired up by hand, and some other stuff to get out a hacked together proof of concept, but I’m trying to clean things up and do it “the right way”, but struggling to figure out what the right way will entail.
<sholden>
I’m going through Maven docs right now and trying to put together a simple demo maven project consisting of a parent with a rails app submodule and a java jar submodule, with the rails app depending on the jar. I want the rails app to be packaged into a war file (currently trying to get warbler up and running in this setup)
<sholden>
I have it working with my hacked up prototype but not yet with a build structure that I’d be comfortable showing an experienced java dev looking to argue against me. :P
<sholden>
Are there any guides for a setup like this for someone who is largely unfamiliar with the java ecosystem? I’m learning as much as I can as fast as I can but there’s a lot of ocean to boil.
mcclurmc has quit [Remote host closed the connection]
<sholden>
A lot of the maven/packaging related gems seem to assume (and rightfully so probably) a base level of knowledge regarding a lot of these tools.
drbobbeaty has joined #jruby
sdogruyol has joined #jruby
subbu|meeting is now known as subbu
colinsurprenant has quit [Quit: colinsurprenant]
DomKM has joined #jruby
<enebo>
sholden: it is late in EU but mkristian when he is on is an authority on Maven
<enebo>
sholden: codefinger might also have opinions on this (he wrote a book on it)
<enebo>
sholden: at least different ways to deploy Rails on JRuby
colinsurprenant has joined #jruby
subbu is now known as subbu|lunch
deobalds has joined #jruby
<sholden>
enebo: thanks, I’ve actually looked through deploying with Jruby and the pragmatic jruby book. I’ll play around with the maven rake section a bit more and see if I can get it wired up.
<enebo>
sholden: yeah fridays can sometimes be quiet here too :)
<enebo>
sholden: but organization of maven traditionally is one artifact per pom.xml (but I do not claim to know Maven :) )
<enebo>
sholden: Maven 3.3.1+ now supports polyglot so you can write them in Ruby instead of XML as well
<enebo>
sholden: you can look at our core/pom.rb to see what that looks like
<sholden>
enebo: I saw that too, looks really cool. There just doesnt seem to be a lot of blog posts or documentation out there on what the current happy path of doing this stuff is. Like, I wasnt sure if I need to have a Mavenfile, a Jarfile, a pom.rb, should I be using rmvn instead of mvn etc
<enebo>
sholden: yeah it is pretty damn new so it is more bleeding edge
<sholden>
I’ll probably write up a blog post on the experience etc too if that helps people out.
<sholden>
Also planning to write about how I got spring up and running from the legacy app to inside the rails app
<sholden>
Gotta actually get things working first though. :)
<enebo>
sholden: well this is not helpful for you but if you do think you can update that wiki for any of these tools it will help others
<sholden>
enebo: Yeah for sure. I’ll try and take notes when I run into walls so that I don’t forget about them and can put up warning signs to the next guy.
<enebo>
sholden: and anything unclear and mkristian can try and clarify since he wrote all this maven-related tech
<sholden>
enebo: it’s the same with any project I’ve built then gotten a new developer to come in and start working on it. There are always corners where you’re so familiar with things that you wouldn’t think to explain it to a someone new coming in. I usually get them to try and jot down where things are lacking so we can help the next newcomer.
<enebo>
sholden: yeah definitely. Hopefully things will go well for you and it won’t be too painful :)
<sholden>
enebo: I’m still a bit mind blown that I’ve gotten the legacy services code working in rails as far as I have now with the proof of concept. Really excited to see where it goes. Thanks for helping out.
<enebo>
sholden: cool. give us updates on channel :)
sdogruyol has quit [Ping timeout: 264 seconds]
thsig has joined #jruby
thsig has quit [Client Quit]
fatephd has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] mkristian opened pull request #3073: dir globs on uri classloader without the need of .jrubydir (master...test-dir-globs-on-uri-classloader) http://git.io/vLKuU
JRubyGithub has left #jruby [#jruby]
temporal_ has joined #jruby
temporalfox has quit [Ping timeout: 246 seconds]
subbu|lunch is now known as subbu
kritikal has joined #jruby
kritikal has left #jruby [#jruby]
cristianrasch has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
temporal_ has quit [Read error: Connection reset by peer]
temporalfox has joined #jruby
mikemar10 has joined #jruby
pietr0 has joined #jruby
deobalds has quit [Quit: Computer has gone to sleep.]
cristianrasch has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
bbrowning is now known as bbrowning_away
cristianrasch has quit [Quit: Leaving.]
yfeldblum has joined #jruby
deobalds has joined #jruby
tcrawley is now known as tcrawley-away
sdogruyol has joined #jruby
<lopex>
enebo: finally we drunk that triple ipa simtra beer
<lopex>
enebo: and you could almost feel warming in the stomach from that alc but not on palate
<lopex>
dark beers dont have this effect
<lopex>
enebo: looks good
<lopex>
enebo: you must try nomada mole negro if you like spiciness
<enebo>
lopex: yeah I went to the store because I have too many large 11%+ beers in fridge and ended up buying another anyways
<enebo>
lopex: I have a bottle of Stone Crime in fridge
<lopex>
enebo: yeah, no sure if that's familiar, I'm just buying addict
<lopex>
enebo: and then I drive that beer to family on weekends
<lopex>
enebo: I know you americans are all buying addicts :)
<enebo>
lopex: I buy beer
<lopex>
most of us do ?
<enebo>
lopex: yes
<enebo>
lopex: I do make beer too but my last batch sucked
nateberkopec has quit [Quit: Leaving...]
<lopex>
enebo: dont know if that's aging but I'm leaning towards ligher beers nowadays
<enebo>
lopex: well maybe sucks is the wrong word. Too malty because I changed yeast at last moment
<enebo>
lopex: I am almost going opposite direction
<lopex>
like, ultra heavy citra imperial ipa - too heavy
<enebo>
lopex: I crave stouts when I have a beer craving even though I love IPAs
<lopex>
stouts is a different subject
<enebo>
lopex: yeah but I guess I drink quite a few high abv beers so I probably am not a lighter beer guy
<lopex>
enebo: the latest one the 34 plato 16 alc was ideal
tenderlove has joined #jruby
<lopex>
enebo: I mean I just got tired of heavy ipas maybe ?
<lopex>
enebo: though that american one was super too
<enebo>
lopex: possibly?
<lopex>
or maybe crafted ipas in poland are different wt imperials
<lopex>
which is possible is guess
<lopex>
*I guess
<lopex>
enebo: wrt jruby and that 'framework' I'm working on, I can almost see that GC graph saw when reloading and looking at http response times
<lopex>
like
<lopex>
500, 510, ... 590, ........ 500
<lopex>
-XX:NewRatio=1 -XX:+UseParallelOldGC helped a lot
<enebo>
lopex: hmm
<lopex>
thought the NewSize didnt matter to my astonishment
<enebo>
lopex: look into if we are generated extra crap :)
<lopex>
enebo: I have a setting when I'm reloading the whole engine and the app
<lopex>
so that's a lot more files to load
<sholden>
The maven-tools dsl seems inconsistent WRT #gemfile and #jarfile, put in a 1 liner pull request. Dunno if this would be useful to anyone: https://github.com/torquebox/maven-tools/pull/11
<sholden>
It wouldn’t find my Jarfile in submodules. I think Jarfile support is experimental though so ymmv
sdogruyol has quit [Ping timeout: 264 seconds]
<lopex>
enebo: I need yet to look at that 9k issues that I had
<enebo>
lopex: yeah we need rc2 out and working well
<lopex>
enebo: is sequel somewhere on jruby test suite ?
<enebo>
lopex: it is not but there are an open issue or two reported against rc1
<lopex>
since biseting those would require significant narrowing anyways
blaines_ has quit [Ping timeout: 244 seconds]
<lopex>
enebo: I see from Charlie tweets he's having a big fun on the travel
<lopex>
too bad I'm still in jail
<enebo>
jail?
<lopex>
hey, you made that joke
<lopex>
or headius ?
blaines has joined #jruby
<enebo>
lopex: I joke but I am not sure if that is mine or not
<enebo>
lopex: I work in my basement a lot
<enebo>
lopex: but so does headius
<nirvdrum>
enebo: How did you guys divide the travel schedule? I take it you just don't care for it?
<enebo>
nirvdrum: this year I decided to travel a bit less
<enebo>
nirvdrum: but in general I don’t like travelling as much as Charlie I would say
<lopex>
yeah, wasting the time on plane sit
<lopex>
nirvdrum: please run sequel & sinatra till end of the year
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lopex>
nirvdrum: but there's no super magic there
<nirvdrum>
The problem is JDBC. We don't have any Java interop yet.
<lopex>
the hooks might be problematic
<lopex>
ah
<nirvdrum>
We're probably more able to run the native extensions since Chris's C ext. work than we are JDBC at this point. But we haven't looked at either.
<lopex>
but the interop is going to follow jruby that ?
<lopex>
*right?
<nirvdrum>
We'll probably get something in place at some point, but it's not a priority at the moment.
<nirvdrum>
Reflection doesn't compile terribly well, so we'll need to have a good think on it.
<nirvdrum>
It's possible something lighter weight could be done with MethodHandles.
<nirvdrum>
And while Sinatra works, we haven't investigated running in any rack-compliant servers yet. We're strictly running WEBrick at the moment.
<nirvdrum>
There's a lot of work left :-)
<lopex>
yeah, I see
<lopex>
nirvdrum: have you investigated the possibility of tainting strings with encodings instead of transcoding eagerly ?
<nirvdrum>
I didn't know that was an option.
<nirvdrum>
But isn't the taint stuff slated to be removed in MRI 2.3?
<lopex>
nirvdrum: oh I dont mean the tainted flag
<lopex>
nirvdrum: it's just leaving string having utf-16 in ruby guts when being fed from JI
<lopex>
so no eager utf-8 transcode
<lopex>
nirvdrum: that idea was here before a while when techempower benchmarks were discussed
<nirvdrum>
I haven't looked at it, no. We don't have a lot of Strings coming from Java currently. But the ones we do have go through a hefty translation process.
<lopex>
so you dont pay transcoding penalty
<nirvdrum>
I'm currently fighting with jnr-posix.
<nirvdrum>
Or more accurately, FFI.
<lopex>
brave you
<nirvdrum>
Yes. One of those wonderful days where I need to write small C programs to verify the API calls work the way I think they should.
<nirvdrum>
putenv has some crazy semantics.
<lopex>
nirvdrum: I guess ruby is the harshest truffle playground
<nirvdrum>
I'm sure there are harder languages. But Ruby's problem is it has such a large core library.
<nirvdrum>
JavaScript has virtually nothing built-in.
<lopex>
yeah
<lopex>
well, trying to compare that against python
<lopex>
hm
<nirvdrum>
I haven't really looked at zippy.
<nirvdrum>
But from what I gather, Python has crazy semantics that prevent optimizing away frames.
<lopex>
but what else is there ?
<lopex>
wrt "semantic" complexity
<lopex>
nirvdrum: yield ?
<nirvdrum>
In Ruby?
<lopex>
in python
<lopex>
but yield in a syntax in python so it's way easier
<nirvdrum>
I think you can call for an arbitrary binding at any point.