pawnbox has quit [Remote host closed the connection]
pilhuhn has quit [Quit: Computer has gone to sleep.]
pilhuhn has joined #jruby
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
blaxter has joined #jruby
shellac has joined #jruby
ebarrett has quit [Quit: bbl]
drbobbeaty has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest6349 is now known as etehtsea
<etehtsea>
Error: test_multithreaded_method_definition(TestThread): ConcurrencyError: Detected invalid array contents due to unsynchronized modifications with concurrent users
<etehtsea>
org/jruby/RubyArray.java:1256:in `<<'
<etehtsea>
WOW
blaxter has quit [Quit: foo]
ebarrett has joined #jruby
pilhuhn is now known as pil-afk
<etehtsea>
lol
<etehtsea>
found awesome spec
<etehtsea>
when I'm connected to vpn it's failing
<etehtsea>
when I'm not it's passing
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 240 seconds]
raeoks has joined #jruby
pawnbox has joined #jruby
<GitHub149>
[jruby] smk0621 opened issue #4147: Looger: log rotation inter-process lock failed. on Windows with JRuby 9.x https://git.io/viEHb
<kares>
etehtsea: yes unfortunately its hard to test concurrency
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
drbobbeaty has joined #jruby
bbrowning has joined #jruby
johnsonch_afk is now known as johnsonch
pil-afk is now known as pilhuhn
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
raeoks has joined #jruby
claudiuinberlin has quit [Remote host closed the connection]
pilhuhn has quit [Ping timeout: 250 seconds]
pilhuhn has joined #jruby
pilhuhn has joined #jruby
pilhuhn has quit [Changing host]
<GitHub153>
[jruby] chrisseaton pushed 1 new commit to truffle-head: https://git.io/viues
<GitHub153>
jruby/truffle-head bec3e5d Benoit Daloze: [Truffle] Use our preferred version of Truffle, even with latest Graal.
<takanuva>
my program freezes at org/jruby/ext/securerandom/SecureRandomLibrary.java:31, according to -rjruby/thread_dump... could someone help me understand what happened?
claudiuinberlin has joined #jruby
claudiuinberlin has quit [Ping timeout: 265 seconds]
<headius>
good morning!
<headius>
etehtsea: you might find backlog in here interesting...bascule was talking about work he's doing to build a nice socket timeout library atop nonblocking IO and the problems he's having
<headius>
exactly the stuff you and I have worked on
<headius>
takanuva: ahh I know what that probably is
<headius>
takanuva: is it hung permanently or does it just get really slow there?
<takanuva>
headius: just hung permanently there
<headius>
ok maybe not what I thought then
<headius>
loading up my dev, gimme a min
<headius>
takanuva: what JRuby version?
<takanuva>
headius: this is totally random, last friday the program was working perfectly, and it is still working on my local machine... but now hangs there on the server, same code base
<takanuva>
jruby 1.7.22 (1.9.3p551) 2015-10-23 fffffff on OpenJDK 64-Bit Server VM 1.8.0_91-8u91-b14-3ubuntu1~16.04.1-b14 +jit [linux-amd64]
<headius>
the problem we've had reported before relating to SecureRandom has been entropy starvation at the kernel level
<headius>
it causes SecureRandom use to slow things way down
<headius>
1.7.22, pretty old
<takanuva>
I actually just apt-get'd it
<headius>
hmmm
<takanuva>
I'm using this same version (by accident!) on my local station, and here it seems to be working
<headius>
ahh, yeah...packages always lag
<headius>
I guess I should be happy it's only a year behind
<headius>
hmm
<headius>
takanuva: can you gist a thread dump?
<headius>
I see nothing on that line that would block
<headius>
it just consutructs a string after it converts the result of nextBytes to a hex string
<takanuva>
no need, I tried on jirb, required "securerandom", then SecureRandom.hex(8)
<takanuva>
same thing
<headius>
nextBytes does the actual low-level random number stuff, but the blocking should happen lower than line 31
<headius>
takanuva: ok, get it to hang and then do Ctrl+\
<headius>
^ points to a package called haveged that you can install to help keep the entropy pool full
<headius>
perhaps you can try that and let me know if it helps
<headius>
the rest of the bug is a bunch of us debating how best to deal with this problem
<takanuva>
no, not in a container
<takanuva>
so should I just install haveged? no need to change my code?
<takanuva>
my employer is not particularly happy that the random number generator suddenly froze =P
<headius>
takanuva: I think it runs as a server
<headius>
yeah, trust me, we're not particularly happy about it either
<headius>
it's improved in more recent JRuby versions
<headius>
and it's more a JVM/Linux issue than JRuby :-(
<headius>
takanuva: I meant service, not server
<takanuva>
hey! it's working! :D
<takanuva>
thank you very much!
<headius>
damn that entropy!
<headius>
well good to know that it's working
<headius>
I'll make sure the next JRuby 1.7 has all our entropy improvements, but you should be good to go now
lance|afk is now known as lanceball
<takanuva>
been loving JRuby, btw, it's so much nicer to work then plain mean Java
<headius>
takanuva: that's great...using a lot of Java libraries?
<takanuva>
Jersey for REST and Grizzly for the server... I can then use Ruby's metaprogramming and generate Java classes to pass to Jersey, everything works like a charm
<headius>
oh nice...sounds like a great blog post if you ever feel the urge to be a guest blogger :-D
<takanuva>
is that an invitation? cause I'd love to
<headius>
that would be great! We're always interested in guest articles
<headius>
it would go on blog.jruby.org
claudiuinberlin has joined #jruby
<headius>
takanuva: toss an email to team@jruby.org and we'll work it out
prasunanand has quit [Ping timeout: 276 seconds]
nicksieger has joined #jruby
pawnbox has quit [Remote host closed the connection]
<takanuva>
I'll send it, thanks :)
pawnbox has joined #jruby
prasunanand has joined #jruby
<takanuva>
headius: sent it
pawnbox has quit [Ping timeout: 240 seconds]
<headius>
excellent, thank you!
<takanuva>
I'm gonna take a break, thanks for your assistance!
<takanuva>
byebye :)
thedarkone2 has joined #jruby
<headius>
seeya!
takanuva has quit [Quit: Page closed]
<GitHub167>
[jruby] andreaseger opened issue #4148: Java::JavaLangInvoke::WrongMethodTypeException when using invokedynamic https://git.io/viucs
jhass has quit [Ping timeout: 255 seconds]
<headius>
neat
jhass has joined #jruby
bbrowning_ has joined #jruby
prasunanand has quit [Ping timeout: 264 seconds]
bbrowning has quit [Ping timeout: 265 seconds]
bbrowning_ is now known as bbrowning
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
earthtrip has joined #jruby
pawnbox has joined #jruby
zacts has quit [Ping timeout: 264 seconds]
dminuoso has joined #jruby
<earthtrip>
does anyone know if the rails5 branch of jruby/activerecord-jdbc-adapter can be made to work with postgresql, rails 5 and the latest jruby? I get NullPointerException's trying to run a server, migrate or run spec.
cprice has joined #jruby
<headius>
earthtrip: anything's possible :-) that branch is a work in progress, but we have a hard deadline of RubyConf to have Rails 5 working well
<headius>
so we'll be working on that real soon, like this week even
cprice is now known as cprice404
<headius>
if you want to help us you could file an issue for that NPE
<GitHub194>
jruby/master 862ee1c Charles Oliver Nutter: Actually settle on SHA1PRNG if it's available. #1407...
<earthtrip>
thanks @headius. yes I'm about to start on a pretty significant project and would like to use JRuby as it requires a SOAP integration (running a SOAP server - yuck). I'd be happy to file bug reports and help out wherever possible.
<headius>
SOAP, lovely
<earthtrip>
lol
<headius>
yes, Rails 5 is a top priority right now
<headius>
there's a small chance you might be able to fudge the built-in Rails adapters to work with our port of the pg gem, jruby-pg
<headius>
but jruby-pg has fallen behind pg
<earthtrip>
is the rails 5 branch the place to start or should i just checkout the latest master and work with that? I haven't looked to see where things are in terms of pull requests
<earthtrip>
ok cool - i may check that out to do some proof of concept stuff
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
<headius>
chrisseaton: I don't but I probably will start now that primary school has started up again...decent place about a block from my son's school
<headius>
I will remember to bring a jacket next time
<headius>
bascule: oh, neat
<etehtsea>
lol this is unexpected to see notifications from my fork here
<headius>
SSL is a fun area :-)
<bascule>
headius: yeah, getting a Java NPE on connect_nonblock...
<headius>
etehtsea: ahh yeah...a flaw in travis, unfortunately...if you fork someone's repo and it dumps travis notifications to IRC, yours will too
<headius>
in your case, I don't mind :-)
<bascule>
but much like with MRI 2.2 -> 2.3, all of the weirdness had already been fixed in JRuby 9.1.5.0
<etehtsea>
seems that I'm in 12 hours in the future from you
ebarrett has quit [Quit: WeeChat 1.5]
<headius>
neato...Siberia like the Australian Outback seems like mystery and adventure to me
<headius>
I ask because I'm going to be in Saint-Petersburg mid-October for JokerConf
<etehtsea>
oh wow
<headius>
just for four full days...conf is two of them
ebarrett has joined #jruby
<etehtsea>
I will be on railsclub in Moscow oct. 22. And in Saint-Petersburg around this days week before or after. So I'll definitely try to get to the JokerConf or just to be in Saint-Petersburg these days
<headius>
Oh great! Perhaps we can have a nice Russian beverage together
<etehtsea>
sounds exciting
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
mtoy 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
dannyNL has joined #jruby
<dannyNL>
Hi, I'm currently trying to launch a jrubyFX applicatio from another program. Can anyone help me with this issue?
camlow325 has joined #jruby
pawnbox has quit [Ping timeout: 250 seconds]
pawnbox has joined #jruby
rcvalle has joined #jruby
<mtoy>
is a warbler guru available for consultation ... trying to see if my failing jar is my fault ... by what mechanism does require 'jar_with_:git_in_gemspec' end up finding them gem in JAR!bundler/gems (because for me it isn't finding them)
nicksieger has quit [Remote host closed the connection]
claudiuinberlin has joined #jruby
mtoy_ has joined #jruby
<GitHub124>
[jruby] asdf1337 opened issue #4150: Web Scraping with 9.1.5.0 much much slower than 9.0.4.0 https://git.io/viuFr
<headius>
dannyNL: that line doesn't match up with jrubyfx master, but perhaps it's a line like this: scene.fill = settings[:fill]
pawnbox has quit [Remote host closed the connection]
<dannyNL>
do you need to look at the app source code?
<headius>
ok it's this: if root_dir == "" or not ["/", "."].include? (root_dir[0])
<headius>
within jrubyfx
<headius>
that appears to be from this call: root = Controller.get_fxml_loader(settings[:filename], ctrl, settings[:root_dir]).load
<headius>
settings[:root_dir]
<headius>
so I would suspect "root_dir" is not set somewhere, but I'm not familiar with out jrubyfx gets set up
<dannyNL>
so it's having trouble locating the root directory based on this line : fxml_root File.dirname(__FILE__) ?
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 265 seconds]
dminuoso has quit [Read error: Connection reset by peer]
cremes has joined #jruby
camlow325 has quit [Quit: WeeChat 1.5]
pdamer has joined #jruby
<pdamer>
I'm having trouble running bundle exec rake with jruby 1.7.19. I get this error: "Gem Load Error is: private method `require' called for Kernel:Module"
<pdamer>
any ideas what is causing this?
nicksieger has quit [Remote host closed the connection]
nicksieger has joined #jruby
<chrisseaton>
I was seeing that for something recently... unfortunately I can't remember what or why
<chrisseaton>
What does the line look like?
<pdamer>
bundler has a call to Kernel.require so thats kind of obvious but I'm not sure why that is private.
<pdamer>
bundler version is 1.13.0
nicksieger has quit [Remote host closed the connection]
nicksieger has joined #jruby
lanceball is now known as lance|afk
bbrowning is now known as bbrowning_away
nicksieger has quit [Remote host closed the connection]
nicksieger has joined #jruby
<pdamer>
newer version of jruby seems to fix it.
nicksieger has quit [Remote host closed the connection]
pdamer has quit [Quit: pdamer]
m4rCsi has quit [Read error: Connection reset by peer]
<athix>
It seems like there's a weird dependency issue
<athix>
Bundler::GemRequireError: There was an error while trying to load the gem 'activerecord-jdbcsqlite3-adapter'.
<athix>
Gem Load Error is: private method `require' called for Kernel:Module
<athix>
It's not local code changes causing it, and the builds were passing about 8 days ago. I found a couple threads but didn't really see any solutions that seemed viable
<mtoy_>
my new question is, with the git-sources gems in $JAR/bundler/gems ... what is the intended mechanism for require 'gem_from_git' to work inside of a jar, it looks like a half implemented thing, or something i have failed to give the right config for, but no one seems to know what is right.
pawnbox has quit [Ping timeout: 276 seconds]
<athix>
havenwood: any idea on what might be the cause?
dannyNL has joined #jruby
zacts has joined #jruby
<havenwood>
athix: I can't tell on first glance, hrmm