Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 05:00
    AndyObtiva commented #6871
  • Oct 23 21:34
    itspomf opened #6904
  • Oct 23 11:52
    edipofederle commented #6902
  • Oct 23 11:38
    edipofederle synchronize #6902
  • Oct 23 11:13
    edipofederle synchronize #6902
  • Oct 23 11:03
    edipofederle synchronize #6902
  • Oct 22 22:55
    postmodern edited #6903
  • Oct 22 22:55
    postmodern opened #6903
  • Oct 22 21:40
    edipofederle synchronize #6902
  • Oct 22 21:29
    edipofederle synchronize #6902
  • Oct 22 18:05
    edipofederle synchronize #6902
  • Oct 22 17:46
    edipofederle synchronize #6902
  • Oct 22 17:37
    edipofederle synchronize #6902
  • Oct 22 17:17
    edipofederle synchronize #6902
  • Oct 22 16:38
    edipofederle synchronize #6902
  • Oct 22 16:07
    edipofederle commented #6902
  • Oct 22 16:04
    edipofederle commented #6902
  • Oct 22 16:02
    enebo commented #6902
  • Oct 22 15:59
    edipofederle synchronize #6902
  • Oct 22 15:55
    edipofederle edited #6902
Charles Oliver Nutter
Whoever it was that fixed it is apparently interested in seeing more Android JRuby apps, so that's interesting
Charles Oliver Nutter
@donv If it's possible for us to detect android we could commit the invoke/invokeExact patch to JRuby, I suppose
it's bothersome that this fix won't go into earlier versions but I'd like to start reducing that patch set
Uwe Kubosch
@headius Yes, this looks good. Reducing the patch set is the next task, and making a maven package for easy consumption.
@headius I looked at matrix. What client do you use?
Charles Oliver Nutter
I use the Riot electron app, it works pretty well
oh I'll answer there
Hi @headius, We are migrating our db from Mysql to Oracle and I'm trying to use activerecord-jdbc-adapter-52.1 and getting argument error similar to the one given here (jruby/activerecord-jdbc-adapter#955) while establishing the connection with adpater as "jdbc". Any workaround for oracle adapters? Appreciate your help.
Hi guys!!
Charles Oliver Nutter
@randiaz95 Hi there! most of us were off for xmas, but we also don't use this channel much anymore. We've moved our official chat to Matrix at https://matrix.to/#/#jruby:matrix.org
Cris Shupp
@annabackiyam_twitter Did you get Oracle working for yourself? I may be able to help. We have used this gem:
Charles Oliver Nutter
@cshupp1 Any help you can provide would be great... we recommend that adapter for all JRuby+Oracle users but we don't have a lot of experience using it ourselves
I think @annabackiyam_twitter also stopped by the Matrix channel, so if we could move discussion there that would be great too
It is possible for to ROR project to integrate into java.
Blane Dabney
@manvendrakumarsingh The short answer is yes. The longer answer depends on what exactly you mean by that.
Hey i was wondering if anyone could help me out. I'm having some issues downloading the JRuby Windows Executable (x64) file. keep getting an internal error code 20. Any thoughts?
Abel Salgado Romero
Hi, I sent a PR for the jruby-maven-plugins for an issue opened 25 days ago and none got any answer form mkristian? Without the, the plugins don't work with jruby 9.2.10.x or higher. Is there anyone else than can review it?
Abel Salgado Romero
Sorry to bother again, but still no answer about the PR torquebox/jruby-maven-plugins#106. Is there really no one arrond to check. The issue it tries to fix means no more jruby-plugin for latests version of jruby
Charles Oliver Nutter
@nzakaluk @abelsromero @JV81608177_twitter Sorry nobody responded but we have largely moved our chat to Matrix. If you still have questions or issues, you can join us there or on Freenode IRC #jruby that is proxied to Matrix: jruby.org/chat
that autolink may not work so here's another: https://www.jruby.org/chat
Rohit Jangid
Is this group active?
No @rohitjangid chat here has moved to Matrix. See https://www.jruby.org/chat
Romain Manni-Bucau
if it can help: rubygems.org seems broken, http://rubygems-proxy.torquebox.org/releases/ can replace it (temporarly i guess)
Charles Oliver Nutter
@rmannibucau I think you are referring to the gems being installed via mavengem plugin, yes? Hoping to get that fixed and a release out soon... something change on rubygems.org over the summer that broke it.
And yeah like @chemturion said please join Matrix, as we are not really monitoring this very often anymore
Oleksiy Kovyrin
Hello, everybody

I think I have a definitive proof of JRuby's Thread.current object changing in the middle of a process run... Like, local block-level variables remain the same, everything works as expected, but Thread.current is completely different (different ruby object instance, different object_id, different thread-local contents, etc) at the end of the method compared to the value at the beginning of the same method. This completely breaks my mental model of how computers work. Anybody else seen or experience anything like that?

P.S. In case it is relevant:

  • The thread where it happens is a jruby running within jetty, specifically a jruby-rack-worker thread
Oleksiy Kovyrin
Specific scenario where I'm observing (I was not able to reproduce it outside of our application):
  • 4 jruby rack workers are started using jruby.worker.script=SharedTogo::Workers.start_all!
  • Each logs its thread_id at the beginning, then goes into an infinite loop, periodically checking a Concurrent::AtomicBoolean shutdown flag
  • An at_exit block is used to set the shutdown flag to true
  • When the workers notice the flag, they exit the loop and log their thread id - at this point it is completely different and the worker has lost its thread-local variables
Oh, and one more weird factoid: Thread.list at the end of the method contains a single value in each thread - the new thread object for each thread. Meaning in each of 4 worker threads Thread.list == [Thread.current]
Another useful tidbit (I think): Java thread name and thread id remains the same all throughout this mess.
Oleksiy Kovyrin
Oh, just noticed a message about Matrix, moving there
Charles Oliver Nutter
@kovyrin Glad you found us 😀
Gustavo Pares
Hello all!