ChanServ changed the topic of #jruby to: Get 9.0.1.0! http://jruby.org/ | http://wiki.jruby.org | http://logs.jruby.org/jruby/ | http://bugs.jruby.org | Paste at http://gist.github.com
tcrawley is now known as tcrawley-away
cristianrasch has quit [Quit: Leaving]
yfeldblu_ has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
whitby has quit [Ping timeout: 240 seconds]
mdedetrich has joined #jruby
mdedetrich has quit [Client Quit]
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 250 seconds]
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 265 seconds]
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 264 seconds]
gregoriokusowski has quit [Quit: gregoriokusowski]
pawnbox has joined #jruby
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 240 seconds]
temporalfox has quit [Read error: Connection reset by peer]
temporalfox has joined #jruby
pawnbox has quit [Ping timeout: 244 seconds]
temporalfox has quit [Read error: Connection reset by peer]
temporalfox has joined #jruby
pawnbox has joined #jruby
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 265 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
josh-k has quit [Remote host closed the connection]
temporal_ has joined #jruby
thedarkone2 has quit [Quit: thedarkone2]
temporalfox has quit [Ping timeout: 246 seconds]
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 272 seconds]
rsim has joined #jruby
temporal_ has quit [Read error: Connection reset by peer]
temporalfox has joined #jruby
mdedetrich has joined #jruby
mkristian has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
jensnockert has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
dinfuehr has joined #jruby
mdedetri_ has joined #jruby
mdedetrich has quit [Ping timeout: 246 seconds]
yfeldblu_ has quit [Ping timeout: 246 seconds]
yfeldblum has joined #jruby
vtunka has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
Puffball has quit [Read error: Connection reset by peer]
rsim has quit [Ping timeout: 240 seconds]
Puffball has joined #jruby
rsim has joined #jruby
josh-k has joined #jruby
josh-k has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pitr-ch has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
gregoriokusowski has joined #jruby
samphippen has joined #jruby
<travis-ci> pitr-ch/jruby (master:4eb5a83 by Petr Chalupa): The build was broken. (https://travis-ci.org/pitr-ch/jruby/builds/86156431)
cristianrasch has joined #jruby
rsim has quit [Ping timeout: 240 seconds]
rsim has joined #jruby
shellac has joined #jruby
<travis-ci> pitr-ch/jruby (master:4eb5a83 by Petr Chalupa): The build was broken. (https://travis-ci.org/pitr-ch/jruby/builds/86156431)
mkristian has quit [Quit: This computer has gone to sleep]
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
<pawnbox> ?
cristianrasch has quit [Quit: Leaving]
jensnockert has quit [Ping timeout: 244 seconds]
mkristian has joined #jruby
josh-k has joined #jruby
<travis-ci> pitr-ch/jruby (master:4eb5a83 by Petr Chalupa): The build was broken. (https://travis-ci.org/pitr-ch/jruby/builds/86156431)
brauliobo_ has quit [Quit: Konversation terminated!]
brauliobo_ has joined #jruby
<travis-ci> pitr-ch/jruby (master:4eb5a83 by Petr Chalupa): The build was broken. (https://travis-ci.org/pitr-ch/jruby/builds/86156431)
mkristian has quit [Quit: This computer has gone to sleep]
josh-k has quit [Remote host closed the connection]
josh-k has joined #jruby
tcrawley-away is now known as tcrawley
brauliobo_ has quit [Ping timeout: 255 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
jensnockert has joined #jruby
jensnockert has quit [Remote host closed the connection]
jensnockert has joined #jruby
brauliobo_ has joined #jruby
nirvdrum has joined #jruby
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cristianrasch has joined #jruby
pitr-ch has quit [Ping timeout: 260 seconds]
brauliobo_ has quit [Ping timeout: 265 seconds]
vtunka has quit [Quit: Leaving]
vtunka has joined #jruby
gregoriokusowski has quit [Ping timeout: 268 seconds]
brauliobo_ has joined #jruby
rsim has quit [Quit: Leaving.]
gregoriokusowski has joined #jruby
lea has quit [Ping timeout: 240 seconds]
pitr-ch has joined #jruby
Aethenelle has joined #jruby
lea has joined #jruby
Aethenelle has quit [Read error: Connection reset by peer]
nirvdrum has quit [Ping timeout: 240 seconds]
samphippen has joined #jruby
gregoriokusowski has quit [Ping timeout: 252 seconds]
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nirvdrum has joined #jruby
Aethenelle has joined #jruby
pipework has quit [K-Lined]
pipework has joined #jruby
mkristian has joined #jruby
brauliobo_ has quit [Ping timeout: 244 seconds]
samphipp_ has joined #jruby
samphippen has quit [Ping timeout: 244 seconds]
mkristian has quit [Quit: This computer has gone to sleep]
mkristian has joined #jruby
pitr-ch has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
mkristian_ has joined #jruby
mkristian has quit [Ping timeout: 272 seconds]
<GitHub151> [jruby] eregon pushed 2 new commits to master: http://git.io/vCjEF
<GitHub151> jruby/master 579675e Benoit Daloze: Specify TCPServer#accept and #accept_nonblock when closed
<GitHub151> jruby/master 592b5ee Benoit Daloze: [Truffle] Comply with MRI for errors on closed sockets #accept.
<travis-ci> jruby/jruby (master:592b5ee by Benoit Daloze): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/86187983)
pitr-ch has quit [Read error: Connection reset by peer]
pitr-ch has joined #jruby
<travis-ci> jruby/jruby (master:592b5ee by Benoit Daloze): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/86187983)
mdedetri_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-spec-ji build #2198: FIXED in 5 min 12 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2198/
mkristian_ has quit [Quit: This computer has gone to sleep]
mkristian_ has joined #jruby
pitr-ch_ has joined #jruby
<travis-ci> jruby/jruby (master:592b5ee by Benoit Daloze): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/86187983)
mkristian__ has joined #jruby
Aethenelle has joined #jruby
pitr-ch has quit [Ping timeout: 260 seconds]
mkristian_ has quit [Ping timeout: 250 seconds]
<travis-ci> jruby/jruby (master:592b5ee by Benoit Daloze): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/86187983)
<headius> woah, travis freak-out this weekend
<travis-ci> jruby/jruby (master:592b5ee by Benoit Daloze): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/86187983)
Aethenelle has quit [Ping timeout: 240 seconds]
<travis-ci> jruby/jruby (master:592b5ee by Benoit Daloze): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/86187983)
Aethenelle has joined #jruby
<headius> chrisseaton: something must be messed up with travis, I'm going to slience it for now
pitr-ch_ has quit [Remote host closed the connection]
pitr-ch has joined #jruby
josh-k has quit [Remote host closed the connection]
josh-k_ has joined #jruby
dinfuehr_ has joined #jruby
dinfuehr has quit [Ping timeout: 256 seconds]
dinfuehr_ has quit [Ping timeout: 240 seconds]
vtunka has quit [Quit: Leaving]
tenderlove has joined #jruby
PragTob has joined #jruby
Galt is now known as mberg
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pitr-ch has joined #jruby
thedarkone2 has joined #jruby
enebo has joined #jruby
pitr-ch_ has joined #jruby
pitr-ch has quit [Ping timeout: 256 seconds]
pitr-ch_ has quit [Read error: Connection reset by peer]
pitr-ch has joined #jruby
temporal_ has joined #jruby
<pawnbox> hey guys
<pawnbox> anyone up?
temporalfox has quit [Ping timeout: 244 seconds]
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #jruby
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nirvdrum> pawnbox: Hi there.
<pawnbox> nirvdrum: hey
<bascule> lol @ people who think running threads one-at-a-time makes threading bugs go away
<pawnbox> just a small question
<nirvdrum> bascule: I wasn't entirely sure why the author thought it'd be a completely segregated community.
samphipp_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
samphippen has joined #jruby
jensnockert has quit [Remote host closed the connection]
<pawnbox> Is it possible to require a spring package in jruby?
<headius> pawnbox: require?
<pawnbox> import maybe?
<nirvdrum> pawnbox: You can load JARs in JRuby, yes.
vtunka has joined #jruby
<nirvdrum> I have no idea how well something loaded via DI would work, however.
tenderlove has quit [Ping timeout: 240 seconds]
<headius> bascule: seems like others have pretty good responses on that post in general
tenderlove has joined #jruby
<bascule> headius: yeah
<pawnbox> But I have swtched to jruby.
<headius> pawnbox: java_import org.springframework.security.crypto.password.StandardPasswordEncoder
<headius> should work fine if you have all appropriate jars required
<pawnbox> Aha
<pawnbox> thanks headius
samphippen has quit [Ping timeout: 244 seconds]
brauliobo_ has joined #jruby
<enebo> bascule: nirvdrum: It is pretty telling who is giving opinions based on experience and with zero-knowledge in that reddit. It is scary how much low-info folks can try and push their opinion
<enebo> I wish we had a better startup story
rsim has joined #jruby
rcvalle has joined #jruby
<enebo> we do have some more experiments to work through which should help[
<enebo> but I think that is our biggest sore spot by a mile now
<bascule> enebo: :(
subbu is now known as subbu|away
tenderlove has quit [Read error: Connection reset by peer]
<nirvdrum> enebo: You can use Mogotest. But it's no longer in business...
<nirvdrum> enebo: I guess I can blame that on JRuby now :-)
<enebo> hahah
<enebo> yeah I am not concerned about this. I realized a couple of years ago if you ask how many people just use JRuby you do not get a lot of hands
tenderlove has joined #jruby
<enebo> If you ask if they use JRuby at all you get quite a few hands
rcvalle has quit [Quit: rcvalle]
pawnbox has quit [Remote host closed the connection]
<enebo> So we fill the gaps in MRI and presumably this also means increased famiararity
<enebo> If we can increase startup enough we might not just be the place to go to access Java or have higher perf/threads
<nirvdrum> You're still going to face knee-jerk reactions from people that ran Java 1.2 for one course back in 2000 and then have blogged about how terrible it was for the past 15 years.
rcvalle has joined #jruby
rcvalle has quit [Client Quit]
<enebo> nirvdrum: or the memory hog comment on reddit
<enebo> nirvdrum: what can you do about that lack of understanding
<nirvdrum> I wanted to reply, but didn't want to seem combative.
<enebo> nirvdrum: you cannot educate the world
camlow325 has joined #jruby
<nirvdrum> JRuby has a higher base memory footprint, sure. But it's incrementally much better.
<enebo> nirvdrum: but if you starve the JVM process we still do not perform poorly
<enebo> nirvdrum: but there is no reason anyone should be worrying about it
<nirvdrum> When I used MRI, I had to fork Rails for every request and it wasn't CoW, so I was taking another 120MB for each request.
<enebo> nirvdrum: unless they are on S3Small
<enebo> nirvdrum: but even then they likely have 20 MRI listeners (and are complaining about JRuby memory usage)
<nirvdrum> Most of the EC2 instances started at 1.7 GB. Using 120 MB / request doesn't let you handle that many requests.
<nirvdrum> I should probably spend some time seeing how well CoW works now.
rcvalle has joined #jruby
<enebo> nirvdrum: the payback for the MT effort on a Rails app pays for itself quickly but it is not free to make your app MT
<enebo> JRuby 9.0.2 will be out most likely tomorrow (we forgot to release joni)
<enebo> maven takes a long tie to fully sync
<nirvdrum> Okay. I'll let Truffle folks know not to push to master.
<enebo> nirvdrum: at some point you guys will want to coordinate for showcasing what has improved
baroquebobcat has joined #jruby
<enebo> nirvdrum: but I am guessing that might not be until after rubygems and bundler are 100% working
<nirvdrum> You mean updating the little blurb in the release notes?
<enebo> nirvdrum: yeah a few extra bullet points and what has change on truffle
<enebo> nirvdrum: hey even reddit is talking about Ruby Truffle now!
tenderlove has quit [Read error: Connection reset by peer]
<nirvdrum> Heh.
<nirvdrum> Well, we can handle YAML now. That was a big step necessary for handling gemspecs.
baroquebobcat has quit [Read error: Connection reset by peer]
baroquebobcat has joined #jruby
tenderlove has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
<projectodd-ci> Project jruby-master-spec-ji build #2199: FAILURE in 47 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2199/
pietr0 has joined #jruby
PragTob has quit [Remote host closed the connection]
baroquebobcat_ has joined #jruby
oblutak has joined #jruby
baroquebobcat has quit [Ping timeout: 268 seconds]
baroquebobcat_ is now known as baroquebobcat
<oblutak> any chance #3343 could be consider for 9.0.2.0. headius did a 'quick' fix for 1.7 and not sure why it is not in 9k. It is a blocker for me to use 9k since I'm locked on Solaris...
pawnbox has joined #jruby
<enebo> oblutak: headius: is IO so different that this same fix is difficult?
<enebo> oblutak: IO in 9k is much different than in 1.7.x so this may or may not be simple
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #jruby
mkristian__ has quit [Quit: This computer has gone to sleep]
pitr-ch has joined #jruby
pitr-ch has quit [Client Quit]
<headius> oblutak: oh, I'll have a look
<oblutak> enebo: no problem. Thought I was better to ask before than after 9.0.2.0 shipped.... in case a similar 'simple fix' could be used.
<enebo> oblutak: it is good to know about stuff like this
<enebo> oblutak: we always want to make people feel good about a release
<enebo> :)
<enebo> oblutak: in glancing at this I do not see our non-jnr-posix fall back code in here at all
<enebo> oblutak: but maybe we can just stuff it back ni for solaris only as a temp fix…don’t know headius will have a better opinion on this one
bb010g has quit [Quit: Connection closed for inactivity]
<enebo> oblutak: long term I think we should fix jnr-posix for solatis loaded to have this fall back logic but we really don’t want to add that to jnr-posix today
<oblutak> and the whole ruby team does a great job at that! I've become more and more 'dependant' on ruby/jruby for all my tool needs and really enjoying the experience THANKS!
vtunka has quit [Quit: Leaving]
<oblutak> last comment should have said 'the whole jruby team does an AWSOME job. thanks!'
tenderlove has quit [Ping timeout: 240 seconds]
nateberkopec has joined #jruby
tenderlove has joined #jruby
eregon has joined #jruby
m4rCsi_ has joined #jruby
joast has quit [Ping timeout: 264 seconds]
lumeet_ has quit [Ping timeout: 264 seconds]
subbu|away has quit [Ping timeout: 264 seconds]
nateberkope has quit [Ping timeout: 264 seconds]
eregon_ has quit [Ping timeout: 264 seconds]
SynrG has quit [Ping timeout: 264 seconds]
m4rCsi has quit [Ping timeout: 264 seconds]
lumeet has joined #jruby
SynrG has joined #jruby
<enebo> oblutak: :)
tenderlove has quit [Read error: Connection reset by peer]
bbrowning is now known as bbrowning_away
tenderlove has joined #jruby
subbu has joined #jruby
subbu is now known as Guest82197
shellac has quit [Remote host closed the connection]
_djbkd has joined #jruby
Guest82197 is now known as subbu
brauliobo_ has quit [Ping timeout: 255 seconds]
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #jruby
mkristian has joined #jruby
joast has joined #jruby
mkristian_ has joined #jruby
mkristian has quit [Ping timeout: 265 seconds]
kares has joined #jruby
samphippen has joined #jruby
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #jruby
Aethenelle has joined #jruby
tenderlove has quit [Read error: Connection reset by peer]
<headius> oblutak: what is uname -a for you
<headius> the check for solaris *is* in 9k but it doesn't seem to be firing for you correctly
tenderlove has joined #jruby
bbrowning_away is now known as bbrowning
Aethenelle has quit [Quit: Aethenelle]
<oblutak> headius: uname -a output is SunOS ltetools 5.10 Generic_144489-12 i86pc i386 i86pc
tenderlove has quit [Read error: Connection reset by peer]
_kfpratt has joined #jruby
tenderlove has joined #jruby
tenderlove has quit [Remote host closed the connection]
kfpratt has quit [Ping timeout: 240 seconds]
camlow32_ has joined #jruby
camlow325 has quit [Ping timeout: 244 seconds]
Aethenelle has joined #jruby
<oblutak> headius: added some comments to lira #3343
whitby has joined #jruby
_djbkd has quit [Remote host closed the connection]
tjohnson has joined #jruby
_djbkd has joined #jruby
baroquebobcat has quit [Quit: baroquebobcat]
<enebo> yay System.console().printf("%s", buffer.asJavaString()); is crashing with NPE
<enebo> I swear it was not doing this recently
jensnock_ has joined #jruby
<tjohnson> is there a good resource detailing how to extent ruby -> java type coercion?
<enebo> mkristian_: is lib/ruby/maven_home needed by jruby to run?
<enebo> mkristian_: windows installer is packaging it up and it makes the dist large
<tjohnson> s/extent/extend/
<mkristian_> that is the place where ruby-maven lives now.
<enebo> mkristian_: can I exclude it from windows installer?
<mkristian_> than you need to exclude the respective gem specs from specifications/default as well
<mkristian_> otherwise things are only half installed - kind of
<mkristian_> I wanted to remove all this maven stuff with the next jar-dependencies release. did not find time so far
jensnock_ has quit [Ping timeout: 272 seconds]
<enebo> mkristian_: I did not notice until now either :)
<enebo> mkristian_: so there is a plan to reduce this back down later
<mkristian_> but it is nothing too new. yes, just remove the both the maven gems. they get installed on demand by the jar-dependencies gem. which does it now for some time
pawnbox has quit [Remote host closed the connection]
lanceball is now known as lance|afk
<enebo> mkristian_: it is only new to me because I did not see us go from 27M on 1.7 (which includes 1.8, 1.9, and 2.0 stdlib) to 9k which only has 2.2 at 42M
<enebo> mkristian_: I did not see us == I did not notice until now :)
<mkristian_> no this sounds wrong. even jruby-1.7 has those files
<enebo> mkristian_: although I realize part of this might also be truffle
<enebo> mkristian_: since 1.7 does not include that either
<mkristian_> maven is around 9M as far I remember
<enebo> mkristian_: 11.4M now
<mkristian_> truffle was around 8M , does not add up.
<enebo> I think truffle is 2.6M
<enebo> for the jar
<enebo> mkristian_: but I am look back to 1.7.21 sizes on windows installer since it is the last copy I have on my machine
<mkristian_> my truffle jar is 10M
baroquebobcat has joined #jruby
<enebo> heh
<enebo> ok maybe I don’t understand mingw32 shell output
<enebo> it implies 10M bytes in long output but must be displaying as 5M in size
<enebo> which does not make sense to me
<enebo> mkristian_: so I am looking at MacOS to compare 1.7 and 9k sizes but I see different output in windows
<enebo> mkristian_: hahah…I think mingw is messed up
<mkristian_> the jruby-dist-bin.tar.gz is 36M when I last built it. this tallies with jruby-1.7 size + truffle (for me)
<enebo> mkristian_: the long listing show the same number of bytes but the -s output is just wrong
<enebo> 74512 jruby-bin-9.0.2.0.tar.gz
<enebo> so now it is a little bit bigger
<enebo> 37M
<enebo> but 89872 jruby_windows_x64_9_0_2_0.exe
<enebo> mkristian_: anyways you say eventually jar-dependencies will not have this 10M extra space on hand?
yfeldblum has joined #jruby
<enebo> mkristian_: It is not a huge problem but before this maven support was added I think we used to have like 10M windows dists (granted nothing ever gets smaller)
<mkristian_> yes, actually I could release it now and then . . it is too much last minute changing of the build
<enebo> mkristian_: yeah let’s look at it for 9.0.3
<enebo> mkristian_: like I say it is not a big problem but it is always nice to try and keep the sizes smaller
<enebo> mkristian_: so we will have a smaller dist next release
<mkristian_> yes, definitely
<enebo> mkristian_: also no one has complained about the size so that is good :)
<headius> oblutak: checking
skade has joined #jruby
subbu is now known as subbu|lunch
_djbkd has quit [Remote host closed the connection]
baroquebobcat has quit [Ping timeout: 260 seconds]
tenderlove has joined #jruby
tenderlove has quit [Read error: Connection reset by peer]
baroquebobcat has joined #jruby
tenderlove has joined #jruby
camlow32_ has quit [Remote host closed the connection]
_djbkd has joined #jruby
camlow325 has joined #jruby
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-spec-ji build #2200: FIXED in 11 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2200/
tenderlove has quit [Read error: Connection reset by peer]
baroquebobcat_ has joined #jruby
jensnockert has joined #jruby
baroquebobcat has quit [Ping timeout: 250 seconds]
baroquebobcat_ is now known as baroquebobcat
camlow325 has quit [Ping timeout: 240 seconds]
tenderlove has joined #jruby
<oblutak> headius: will be offline for a few hours. Maybe put a comment in Jira if there is any information I could provide that would help you. Thanks for having a look at this issue.
jensnockert has quit [Read error: Connection reset by peer]
<headius> oblutak: no problem
<headius> got a couple things on my plate but will get through them
jensnockert has joined #jruby
oblutak has left #jruby [#jruby]
tenderlove has quit [Read error: Connection reset by peer]
lance|afk is now known as lanceball
camlow325 has joined #jruby
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
tenderlove has joined #jruby
subbu|lunch is now known as subbu
josh-k_ has quit [Remote host closed the connection]
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #jruby
yfeldblum has quit [Ping timeout: 246 seconds]
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #jruby
dinfuehr has joined #jruby
tenderlove has quit [Remote host closed the connection]
nateberkopec has quit [Read error: Connection reset by peer]
nateberkopec has joined #jruby
rsim has quit [Quit: Leaving.]
xardion has joined #jruby
josh-k has joined #jruby
<xardion> So is there no way to gracefully clean up resources in a thread in jRuby when the main process exits?
<headius> well, you could have an at_exit that cleans them up
<headius> what sort of resources?
<xardion> there's some thread local variables that need to be explicitly closed
<xardion> I tried using a begin/ensure block in the thread, but that doesn't appear to work
<xardion> at least, not if the JVM gets a term signal
baroquebobcat has quit [Quit: baroquebobcat]
<headius> xardion: no, neither JRuby nor MRI sends any shutdown signals to threads
tenderlove has joined #jruby
<headius> you could try to do that yourself, I suppose.... at_exit { iterate over Thread.list and kill them }
tenderlove has quit [Remote host closed the connection]
<xardion> That's what I tried to do at first, but it seems like it's just ignoring my ensure blocks when I do that
tenderlove has joined #jruby
tenderlove has quit [Read error: Connection reset by peer]
<headius> it shouldn't
<headius> perhaps at_exit exits before they get a chance to respond
<headius> even kill is not reliable because it can only kill threads running Ruby code
<headius> if they're blocked on a Java call or something they won't get the kill until they return
<xardion> yeah, and that's probably what's happening in this case
<xardion> they're timing out on a JDBC connect call
<headius> ahh yes
<headius> you can get at the threadlocals from outside the thread, oddly enough
<headius> so if you know what the resources are you could just grab and close them
<xardion> yeah, I could do that, seems gross though :P
mkristian_ has quit [Quit: This computer has gone to sleep]
tenderlove has joined #jruby
<headius> it does! :-)
<headius> maybe less gross than killing them though
<xardion> in the case of the timeout, it's kinda irrelevant because that particular resource hasn't been opened yet
tenderlove has quit [Ping timeout: 240 seconds]
lanceball is now known as lance|afk
tenderlove has joined #jruby
baroquebobcat has joined #jruby
subbu is now known as subbu|afk
lance|afk is now known as lanceball
kwando has quit [Quit: leaving]
yfeldblum has joined #jruby
kwando has joined #jruby
subbu|afk is now known as subbu
jensnockert has quit [Remote host closed the connection]
dinfuehr has quit [Remote host closed the connection]
jensnock_ has joined #jruby
jensnock_ has quit [Ping timeout: 265 seconds]
lanceball is now known as lance|afk
bbrowning is now known as bbrowning_away
tcrawley is now known as tcrawley-away
tenderlove has quit [Ping timeout: 250 seconds]
tenderlove has joined #jruby
brauliobo_ has joined #jruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
pitr-ch has joined #jruby
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #jruby
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brauliobo has joined #jruby
brauliobo_ has quit [Ping timeout: 260 seconds]
tenderlo_ has joined #jruby
tenderlove has quit [Read error: Connection reset by peer]
lea has quit [Ping timeout: 240 seconds]
mdedetrich has joined #jruby
tenderlo_ has quit [Read error: Connection reset by peer]
mdedetrich has quit [Client Quit]
tenderlove has joined #jruby
dfr has joined #jruby
enebo has quit [Quit: enebo]
brauliobo_ has joined #jruby
brauliobo has quit [Ping timeout: 260 seconds]
lea has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
cristianrasch has quit [Quit: Leaving]
tenderlove has quit [Read error: Connection reset by peer]
whitby has quit [Ping timeout: 265 seconds]
skade has quit [Quit: Computer has gone to sleep.]
tenderlove has joined #jruby
tenderlove has quit [Read error: Connection reset by peer]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tenderlove has joined #jruby
Aethenelle has joined #jruby
tenderlo_ has joined #jruby
tenderlove has quit [Ping timeout: 260 seconds]
yfeldblu_ has joined #jruby
tenderlove has joined #jruby
tenderlo_ has quit [Ping timeout: 268 seconds]
rcvalle has quit [Quit: rcvalle]
yfeldblum has quit [Ping timeout: 246 seconds]
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #jruby
tenderlove has quit [Read error: Connection reset by peer]
tenderlo_ has joined #jruby
tenderlo_ has quit [Client Quit]