#ruby-lang - Mon 30 Apr 2007 between 00:02 and 00:57

NY Lost Funds



LoganCapaldoceeg: scan(/\S+\s*/) is slightly better I think
rane_how do i prevent WxRuby frame from getting unresponsive when something time consuming is done?
ruerane_: Magic might work possibly
rane_rue: ?
oGMosplit your app into a backend/frontend?
LoganCapaldothreads _might_ work
depends on what the time consuming thing is
imperatorit's irc LoganCapaldo ;)
LoganCapaldowhat is now?
ipaddictit's no fun if it has to be explained
imperator;)
actionLoganCapaldo is confused
LoganCapaldois confused
ipaddictimperator: I had to bring the Origin offline today... no chance to try out your sysutils :/
imperatorbummer
actionipaddict nods glumly
ipaddictnods glumly
power outage
LoganCapaldoglumly is a wonderful adverb
imperatorwell, whenever you get the chance - the project will still be there :)
ipaddicthehe, you got it ;)
rane_LoganCapaldo: shouldn't be anything special, just fetching some files from the internet
LoganCapaldoWell IO like that is usually cool in threads, I just don't know how well its gonna interact with the Wx main loop
sweepermagic
actionLoganCapaldo wonders if magic is the name of some lib and if these are serious suggestions
LoganCapaldowonders if magic is the name of some lib and if these are serious suggestions
imperatorwell, there's magick ;)
LoganCapaldothe other option is like oGMo said, split it up into a frontend / backend
ruerequire 'magic'; Magic.make_it_work_with_pixy_dust!
LoganCapaldoYou can use drb, or go up a level and use slave or similar etc. to coordinate
rane_LoganCapaldo: what does the latter mean exactly?
LoganCapaldoinstead of threads you use processes
rane_DRb seems to be bit overkill?
LoganCapaldowell if its overkill its easy to use overkill :)
rueTry it with the thread first then
rane_well i tried Threads but i'm not sure if I did it properly
rueWell, er A) did you get the same result and B) was it less sluggish?
rane_same result if i .join the thread
LoganCapaldowell .join defeats the purpose of using a thread <g>
as it blocks until the thread is completed
You need to try it without joining <g>
rane_it seems that the thread won't have time to finish
so i can't really tell

Page: 2 9 16 23 30 37 44 51 58 

IrcArchive

NY Lost Funds