ur5us has quit [Ping timeout: 260 seconds]
ur5us has joined #jruby
<GGibson[m]> I actually made it work.
<GGibson[m]> Here is what I did:
<GGibson[m]> a bit of a scabby shim, but it works reliably now
<byteit101[m]> G. Gibson: been busy today. Do you have a small reproduction you can send?
<GGibson[m]> not really
<GGibson[m]> the code you see there is what drives it
<GGibson[m]> do you want me to file an issue?
<byteit101[m]> Not yet. So to be clear, you are or were trying to lauch the app, then launch a thread that run_later{}'s a Stage#show ?
<GGibson[m]> yes
<GGibson[m]> I have a @window_queue that I fill with new window requests
<GGibson[m]> the start(_) has a while loop to look for new requests
<GGibson[m]> it recycles the primaryStage provided or creates a new one
<byteit101[m]> > the start(_) has a while loop to look for new requests
<byteit101[m]> Ah, that might be your issue
<GGibson[m]> you indicated that I should put my main loop there -- so I did
<GGibson[m]> it processes just window requests now, but is expamdable for other regular tasks
<byteit101[m]> You shouldn't have any blocking loops on the "Main" or "FXLauncher" threads
<GGibson[m]> ah ok
<byteit101[m]> Ah, I meant: start your logic or threads inside start()
<GGibson[m]> but there is no other place I can create Stages
<GGibson[m]> ah ok
<byteit101[m]> run_later puts stuff on the fxlauncher thread, which won't be available to have stuff run on it via run_later if user (read: your) code is blocking it
<GGibson[m]> I need to be able to start multiple windows on demand
<GGibson[m]> ok
<GGibson[m]> I'll work with run_later for new stage creation and give it a go
<byteit101[m]> Yes, see class App < JRubyFX::Application; def start(_); 5.times{|i| Thread.new { sleep i; run_later { Stage.new.tap{|x|x.title=i.to_s}.show}} }; end; end; App.launch
<GGibson[m]> I'm glad we cleared that up :)
<byteit101[m]> Ack, sorry, I did say main "loop". Meant to say main laucher code. JavaFX is like WinForms, Gtk, Qt, WPF, Web/JS/HTML in that you don't control the main "loop"
<byteit101[m]> You just send requests for code to run on it
<byteit101[m]> Any looping the user does, they need to do inside a new thread
<GGibson[m]> ok, that is actually ok then --> I can live with that
<byteit101[m]> See http://tutorials.jenkov.com/javafx/concurrency.html for a short overview
<GGibson[m]> nice - I made the changes and it works perfectly
<GGibson[m]> thanks for you assistance
<byteit101[m]> NP
ur5us has quit [Ping timeout: 260 seconds]
<kares[m]> I am looking at Java integration being inspect-able (again): https://github.com/jruby/jruby/pull/6493
<kares[m]> it's a draft but I appreciate early feedback whether the direction feels right or something else would be prefered.
ur5us has joined #jruby
ur5us has quit [Ping timeout: 260 seconds]
satyanash has quit [*.net *.split]
knu has quit [*.net *.split]
satyanash has joined #jruby
knu has joined #jruby
klobuczek[m] has quit [Quit: Idle for 30+ days]
ur5us has joined #jruby
fidothe has quit [Read error: Connection reset by peer]
fidothe has joined #jruby
travis-ci has joined #jruby
travis-ci has left #jruby [#jruby]
<travis-ci> jruby/jruby (jruby-9.2:dbb517b by Charles Oliver Nutter): The build was fixed. https://travis-ci.com/jruby/jruby/builds/208653621 [175 min 0 sec]
travis-ci has joined #jruby
travis-ci has left #jruby [#jruby]
<travis-ci> jruby/jruby (master:ffaaa46 by Charles Oliver Nutter): The build is still failing. https://travis-ci.com/jruby/jruby/builds/208654830 [207 min 54 sec]
ur5us has quit [Remote host closed the connection]
ur5us has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (load_service_redux:cfe71a2 by Charles Oliver Nutter): The build failed. https://travis-ci.com/jruby/jruby/builds/207829506 [206 min 6 sec]
travis-ci has left #jruby [#jruby]
travis-ci has joined #jruby
travis-ci has left #jruby [#jruby]
<travis-ci> jruby/jruby (master:86b061b by Charles Oliver Nutter): The build is still failing. https://travis-ci.com/jruby/jruby/builds/208694111 [201 min 59 sec]
<travis-ci> jruby/jruby (load_service_redux:4a2159a by Charles Oliver Nutter): The build is still failing. https://travis-ci.com/jruby/jruby/builds/208694158 [205 min 0 sec]
travis-ci has joined #jruby
travis-ci has left #jruby [#jruby]
<headius[m]> hmmm
<headius[m]> ahh the sequel thing
jbeyer_wgt[m] has joined #jruby
<jbeyer_wgt[m]> Hi jruby team! First off, thank you for all of your amazing work on the project. I have been benefiting from jruby for many years. I am considering purchasing one of the new Mac Minis, and would want to run some jruby code on it. From what I can gather, there shouldn't be any issue with the new ARM architecture. Is that correct?
ur5us has quit [Ping timeout: 260 seconds]