#ruby-lang - Thu 22 Mar 2007 between 00:00 and 00:42

NY Lost Funds



soothsayI'm trying to create a simple multi-threaded app. I keep getting seg faults or 'corrupted double-linked list' errors. Can someone have a look at my 33 line minimal example to see if I'm doing something wrong?
http://dpaste.com/7216/
LoganCapaldowell I dunno about the thread part but
(550..570).each { |i| jobqueue << i }
Even if you still feel some perverse need to use Range.new theres no reason to convert it to an array
teferiI think the thread part is weird
threads start running as soon as you create 'em
soothsayLoganCapaldo: Okay thanks for pointing that out
teferi: Okay, is that a problem?
teferisoothsay: well, I think youy have some weird interactions happening
but it's late and I'm tired
soothsayteferi: Is their a better paradigm to use?
teferisoothsay: ask someone else
raleighwith all the high level constructs ruby has, is there no better way to wait on data from sockets than using select?
soothsayteferi: Sure, thanks
pstickneraleigh, use a library with callbacks ^^
alteregoI can't seem to find the information on getting WEBrick to form the corrent content-type header for a custom filetype .. Could someone point me in the right direction here?
soothsaygtg, but if anyone has any suggestions for me (very much appreciated) I will check irc logs
LoganCapaldosoothsay: your script works for me
you should paste the errors as well
(well it worked for me after I changed inner_text to inner_html that is to say)
raleighpstickne, can you recommend a good one?
ideally i would use the ruby standard library
pstickneraleigh, look on RAA? someone told me a name a few week ago but I forgot
raleigh, you could always roll your own in a few LOC, basically just setup a dispatcher with events (IO or timed)
but that's more work and more bugs...
hagabakaweird...my rdoc generated documentation doesn't have code any more; the method names link to anchors on the same page, but there is no code on it
soothsayLoganCapaldo: I'll be damned. It's working for me too now.
Thanks LoganCapaldo
LoganCapaldoerr you're welcome, I guess
soothsayLoganCapaldo: Sometimes I just need someone to confirm that I'm crazy :)
hagabakadoes anyone know what could make rdoc fail to generate code files like doc/classes/MyClass.src/M000025.html? they come out as empty files
lambo4josdoes anyone know of a searchable and downloadable ruby doc? or is there a way I can make a chm doc from the source? if so, does anyone have any ideas?
psticknewget does wonders for downloaded ;)
*downloads
RUEbaiYaTwget rocks :)
hypnos22anyone know a good resource on AR's AssociationProxy?
...other than its source code
which is actually not that bad
pstickneA million open-source projects to extract/view CHM files but nothing to make ;)

Page: 2 9 16 23 30 37 44 51 58 65 

IrcArchive

NY Lost Funds