e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #jruby
thedarkone2 has quit [Quit: thedarkone2]
Caerus|Away is now known as Caerus
prasunanand has joined #jruby
yfeldblum has quit [Remote host closed the connection]
Specialist has joined #jruby
pil-afk is now known as pilhuhn
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #jruby
prasunanand has quit [Ping timeout: 244 seconds]
pitr-ch has joined #jruby
raeoks has joined #jruby
pitr-ch has quit [Ping timeout: 276 seconds]
pitr-ch has joined #jruby
ITXpander has joined #jruby
norc has joined #jruby
vtunka has joined #jruby
raeoks has quit [Read error: Connection reset by peer]
knu has quit [Quit: Reboot...]
prasunanand has joined #jruby
knu has joined #jruby
shellac has joined #jruby
pawnbox has quit [Remote host closed the connection]
donV has joined #jruby
<donV>
Good morning!
knu has quit [Quit: Reboot...]
knu has joined #jruby
pawnbox has joined #jruby
donV has quit [Quit: donV]
pitr-ch has quit [Ping timeout: 246 seconds]
pitr-ch has joined #jruby
donV has joined #jruby
pitr-ch has quit [Read error: Connection reset by peer]
pitr-ch has joined #jruby
pawnbox_ has joined #jruby
pawnbox has quit [Ping timeout: 264 seconds]
Specialist has quit [Ping timeout: 272 seconds]
pitr-ch has quit [Ping timeout: 250 seconds]
pitr-ch has joined #jruby
Specialist has joined #jruby
tenderlo_ has quit [Remote host closed the connection]
Specialist has quit [Remote host closed the connection]
<GitHub119>
[jruby] kares reopened pull request #3807: [ji] allow for initialize() to be a valid Java method (master...jrubyc-initialize) https://git.io/vwm6g
Specialist has joined #jruby
pilhuhn is now known as pil-afk
tcrawley-away is now known as tcrawley
<GitHub181>
[jruby] kares closed issue #3949: test/unit assert_raises on java exceptions doesn't work on 9k https://git.io/vrNjf
vtunka has quit [Quit: Leaving]
midhunkrishna has joined #jruby
<midhunkrishna>
which jvm should is recommended for jruby
midhunkrishna has quit [Client Quit]
ITXpander1 has joined #jruby
ITXpander has quit [Read error: Connection reset by peer]
Specialist has quit [Ping timeout: 246 seconds]
dling` has quit []
e_dub has quit [Quit: ZZZzzz…]
<GitHub53>
[jruby] billdueber opened issue #3950: Bundler fails under +indy (claims gems listed more than once) https://git.io/vrpJL
bbrowning_away is now known as bbrowning
Caerus is now known as Caerus|Away
robbyoconnor has quit [Ping timeout: 276 seconds]
lance|afk is now known as lanceball
norc has quit [Ping timeout: 250 seconds]
<GitHub87>
[jruby] chrisseaton tagged graal-vm-0.12 at 96dbf11: https://git.io/vrpIu
<fuzzyhorns>
does the jruby team in general believe support should be minimal, if at all?
<fuzzyhorns>
at work i argue for jruby a lot, but i think maybe i shouldnt based on a comment like that
<kares>
fuzzyhorns: hey! sorry I did no mean as an insult
<kares>
I just hate issues turning into "support" threads
<kares>
the original issue was resolved wasn't it?
<fuzzyhorns>
yes and no, i have a new issue — still related to involving jars in a project
<fuzzyhorns>
tbh, i've been trying to get something off the ground at work for a month and the jar dependency issue has stymied me to the point i am close to giving up — every time i fix one aspect, another doesnt work
<fuzzyhorns>
until i can get this code to run reliably, in a way where i can clearly explain to my colleagues how they can also get similar to work, i'm blocked and need help p much
<kares>
fuzzyhorns: yes that is unfortunate but isn't it a different issue than?
<fuzzyhorns>
kares: yeah — look, im not debating that issues shouldnt be support threads
<kares>
warbler and some related projects are really under documented/supported
<fuzzyhorns>
kares: im pointing out that there is such little support i am driven to do that because it's the only place someone knowledgable responds
<fuzzyhorns>
what you don't see is the hours i spend debugging down into the different gems i rely on like jar-dependencies or ruby-maven etc etc, i only start asking when i am already a bit desperate :c
<kares>
fuzzyhorns: once again I am sorry - indicated that I do not like where the issue is heading
<kares>
been actually trying to make a living supporting JRuby eco-system ... and people sometimes expect too much
ITXpander1 has quit [Read error: Connection reset by peer]
<kares>
not saying you expect too much!
<fuzzyhorns>
i hope you are successful making that living kares
<fuzzyhorns>
i cant know whether i am expecting too much or not, at the moment
<kares>
your comment was that its hard to get knowledgable people helping
<kares>
nothing issue related so I closed
<kares>
fuzzyhorns: obviously done a bad job for you
<kares>
but I am willing to help as you indicate being lost
<kares>
how can I help?
ITXpander has joined #jruby
ITXpander has quit [Client Quit]
donV has quit [Quit: donV]
Aethenelle has quit [Ping timeout: 250 seconds]
<fuzzyhorns>
@kares i dont think youre doing a bad job, i think it is reasonable to keep issues issue-focused
<fuzzyhorns>
i appreciate that willingness though — at the moment i am wrestling with further jar dependency issues
<kares>
fuzzyhorns: do you prefer the issue to stay open than?
<fuzzyhorns>
nah i think you were right to close it kares
<kares>
fuzzyhorns: in warbler you can add .jar files manually
<kares>
but I guess you need dependency management for jars right?
<fuzzyhorns>
yeah :/
<kares>
fuzzyhorns: so your so far on jar-dependencies?
<fuzzyhorns>
i've actually been on jbundler for the last bit, as i wanted to vendor the jars
<kares>
fuzzyhorns: that's good I was thinking that could be useful
<kares>
so JBundler vendor and that configure warbler to copy the vendored folder as java_libs
<kares>
honestly I am not sure how far JBUndler integration/support goes in Warbler
<fuzzyhorns>
briefly: i wrote a ruby gem that contains a jar of a java sdk (our inhouse framework, at v1.8.2), then ruby projects can include that gem and use the sdk. but the ruby projects can also include jars that are plugins to the sdk. the problem i face now is those plugins as a transitive dependency sometimes have old versions of the sdk. for deployment, we use warbler to create jars that get run on docker containers. when i run a test ruby project using a p
<kares>
so maybe its not necessary
<fuzzyhorns>
it seems to me that vendoring the jars (via jbundler install —vendor) takes the place of managing java_libs
<fuzzyhorns>
i dont _have_ to vendor the jars, but the current docker container used in my org doesnt have maven, so that's why i've been doing so
<kares>
yes that's the way I would expect JBundler to work with Warbler
<fuzzyhorns>
i would've expected that whatever has the highest version gets precedence in the classloader
<kares>
fuzzyhorns: nope it depends on FS or actually how the web-app class loader reads jar files
<kares>
fuzzyhorns: the simple thing would be to filter out duplicate .jar ... is that oversimplified?
<fuzzyhorns>
in my understanding jbundler shouldnt be needed during runtime
<fuzzyhorns>
only jar_dependencies is
<fuzzyhorns>
basically the way that workflow looks, i use jbundle install and i require the generated classpath.rb file in my project
<kares>
yes that is correct - I checked
<kares>
so you basically need to (manually) make sure duplicate sdk .jar is removed
<kares>
do not see any other way around it - since your setup is "un-usual" in a way
<fuzzyhorns>
indeed it seems to be
thedarkone2 has joined #jruby
<kares>
theoretically what I would "architect" into the sdk is for the plugins to never include the sdk .jar
<fuzzyhorns>
mm, but just removing the jar fromt he classloader breaks the plugin — the plugin reports it doesnt have what it needs on the classloader (i wonder now if that is wrong)
<fuzzyhorns>
me too kares — but i have v limited control over that. if it were me, we wouldnt have written our own java framework from scratch ^^;;
<kares>
the plugin would is a simply "thingy" similar to a ruby gem with some .jar files included?
<fuzzyhorns>
i also wondered if i could just put the sdk in the jarfile of the project, but now jbundler doesnt seem to be picking that up right
<fuzzyhorns>
kares: yeah, in this case the plugin includes libraries for dealing with postgres
<kares>
fuzzyhorns: does it attempt to load them?
<kares>
(when running in the servlet container)
<fuzzyhorns>
sorry load which?
<kares>
mean if plugins do any .jar loading
<kares>
as that could be problematic since the class-path layout changes in .war scenario
<kares>
all .jar end up in the application class-path
<kares>
but if a plugin loads (from .rb) .jar files manually it could present CL issues
<fuzzyhorns>
well, i need to look again, but my understanding is the sdk loads the plugin
<fuzzyhorns>
essentially you declare a manifest of services, and have plugins for each service
<fuzzyhorns>
the sdk reads the manifest and does the loading for you
<kares>
fuzzyhorns: assumed that but do plugins attempt to load any of their assets such as .jar files
<kares>
(from Ruby)
<fuzzyhorns>
ohh hmm, let me see
<fuzzyhorns>
the ruby app just adds the entries in jbundler/classpath.rb, that's all — otherwise i rely on the sdk code
Aethenelle has joined #jruby
<fuzzyhorns>
and do java_imports of the classes I need
<kares>
ok - am out of ideas (to throw without seeing the app) why you would a "plugin" break when you remove a sdk.jar from the .war
camlow325 has joined #jruby
camlow32_ has joined #jruby
camlow325 has quit [Read error: Connection reset by peer]
norc has joined #jruby
<fuzzyhorns>
my guess (i will confirm) is the sdk checks that all transitive deps are satisfied strictly, even if a higher level sdk version exists
fuzzyhorns has quit [Quit: Leaving.]
fuzzyhorns has joined #jruby
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #jruby
yfeldblum has joined #jruby
donV has joined #jruby
e_dub has quit [Client Quit]
e_dub has joined #jruby
<GitHub118>
[jruby] nirvdrum pushed 2 new commits to master: https://git.io/vrpg2
<GitHub118>
jruby/master fb4a0e3 Kevin Menard: [Truffle] Fixed booting on Windows.
<GitHub118>
jruby/master d31e02b Kevin Menard: [Truffle] Use already established constant.
<zacsek>
Hi, does anybody have experience with writing unit testing concurrency?
<zacsek>
*unit tests
<headius>
zacsek: can you elaborate?
prasunanand has joined #jruby
<zacsek>
I've written a module that does depend on concurrency, and would like to unit-test it, but don't know how to start
ITXpander1 has joined #jruby
ITXpander1 has quit [Client Quit]
<zacsek>
i'm using concurrent-ruby, and it's basically a class that implements a distributed master/slave election protocoll
ITXpander has quit [Ping timeout: 272 seconds]
pilhuhn is now known as pil-dinner
<zacsek>
but the question is much more simple: given a simple concurrent example, how can I write unit test for it, testing various scenarios like race-conditions, deadlocks etc.
zacsek has quit [Ping timeout: 260 seconds]
Specialist has quit [Ping timeout: 272 seconds]
shellac has quit [Quit: Leaving]
skade has quit [Quit: Computer has gone to sleep.]
<headius>
zacts: oh sorry, got pulled into another conversation
<headius>
great to hear you're using concurrent-ruby!
<headius>
I think your question is a bit out of scope for this channel...when I write tests for concurrency, they're small units of work testing something explicit about that concurrency
<headius>
I know I have seen some test libraries, including some that plug into test/unit and rspec, that make concurrency testing simpler
rcvalle has joined #jruby
<zacts>
headius: you got nicks mixed up :-P
fuzzyhorns has quit [Quit: Leaving.]
bbrowning is now known as bbrowning_away
yfeldblum has joined #jruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bbrowning_away is now known as bbrowning
fuzzyhorns has joined #jruby
pitr-ch has joined #jruby
yfeldblum has quit [Ping timeout: 260 seconds]
balo has quit [Quit: leaving]
balo has joined #jruby
subbu is now known as subbu|lunch
lanceball is now known as lance|afk
pitr-ch has quit [Read error: Connection reset by peer]
pitr-ch has joined #jruby
pawnbox has quit [Read error: Connection reset by peer]