41009-41711

40784-41258 subjects 41206-42178

^ Threading oddness
41009 [mattbee soup] v = get_event
41019 [matz ruby-la] Maybe errors happened in the threads.  Try running your program with
41116 [ser germane-] I encounter this problem almost every time I use Ruby Threads.  I must have
41125 [dossy panopt] Perhaps Thread needs a little event handler for thread death?  So,
41132 [ser germane-] I'm not yet sure that anything /needs/ fixing except for my brain.  However,
+ 41134 [dossy panopt] Neat.
+ 41136 [decoux moulo] Why you don't use Thread::abort_on_exception ?
  41166 [pbrannan atd] 1) The default behavior is to not abort and not print anything.  This is
  41168 [wconrad yagn] Thank you for stating this so clearly.  It's not just for new users

^ Tk [BUG]
41012 [kgergely mla] I've using Tk, Threads, sockets in my program ruby1.6.7
+ 41025 [szegedy nosp] What happens if you turn GC off?
+ 41065 [nagai ai.kyu] Which thread is your Tk.mainloop running on.
  41106 [kgergely mla] Azt irtad, hogy

^ thread-safe socket?
41014 [kgergely mla] I've written a program, and realizes, that socket.puts is not thread
41018 [matz ruby-la] Socket methods do not claim they are atomic.  You should protect the
41021 [kgergely mla] Thx, done so, but what about standard IO? files, stdout?
41027 [matz ruby-la] You have to protect them too.

^ threads -- select
41017 [kgergely mla] I've a server, which is a single-thread program using select.

^ puts: program silently blocks
41022 [kgergely mla] If you have a puts, and it's argument contains undefined local variable,
41033 [matz ruby-la] I'm sorry that I need more info to debug.  Does -d option help you?

^ debug performances
41029 [jean_hugues_] Unfortunately I discovered that ruby standard debugger is somehow too
+ 41035 [pbrannan atd] I think it could be a lot faster if call_trace_func() were replaced with
+ 41049 [sean chitten] Have you tried rbprof?  It's a significantly faster profiler that's

^ require 'etc'
41036 [todd ducklan] I'm still working on my first "real" Ruby program...
+ 41051 [sean chitten] I've often wondered about etc being a class instead of a module.  What
| 41078 [matz ruby-la] It is quite strait translation from UNIX's functions.  If someone come
| 41103 [dossy panopt] I don't know how cross-platform this is, but it's available
+ 41067 [matz ruby-la] open("/path/to/passwd/file") {|line|

^ Found a new interpreted language
41038 [arthur90277 ] I am since a long time a  programmer

^ Arbitrary argument list to getoptlong?
41042 [listNOSPAM c] Is there a way to pass getoptlong (or equivalent?) an arbitrary
41054 [nobu.nokada ] Replacing ARGV.
41089 [listNOSPAM c] Just perfect.  Thank you. :-)

^ [ANN] Xmms-Ruby 0.1.1
41044 [pabs pablotr] I just posted Xmms-Ruby version 0.1.1, the latest version of my Ruby

^ [FXRuby] Table crashes after updating from 1.0.3 to 1.0.10
41050 [vjoel PATH.B] The table.rb example crashes (see below) when you click on entries in
+ 41052 [wjl icecaver] This isn't necessarily the problem, but if you have fox 1.0.7 and
| + 41062 [vjoel PATH.B] I installed fox 1.0.11, and rebuilt and installed FXRuby 1.0.10. Same
| + 41123 [lyle users.s] As of the 1.0.x releases the FOX 1.0 API is frozen and so it's no longer
+ 41122 [lyle users.s] This got broken in version 1.0.10; I've just fixed it in the CVS

^ cannot require 'postgres' from cgi
41055 [ahoward fsl.] i have a cgi program which works fine standalone and from a browser,
41056 [sean chitten] lynx -mime_header http://my.host.com/script.rbx ?
41069 [ahoward fsl.] just one more thing to learn - haven't had time.  plus i'd read some things
+ 41070 [sean chitten] Use DBI 0.0.14 or later and the speed problems should be nil.  I use
+ 41100 [airboss node] I had the same problem. Solaris, right? Rather than mucking with

^ Ruby in Redhat 7.3
41057 [thucdat hotm] $ ruby -v
41063 [ian caliban.] That RPM is broken, though. It's configured to expect modules in
41126 [han pobox.co] I do agree. And both RedHat's and your .src.rpm are broken too, because
41315 [ian caliban.] Emacs and Xemacs are required to build the mode packages.
41321 [han pobox.co] If you do that, could you offer your patches upstream?
41324 [ian caliban.] ruby-1.6.7-8.i386.rpm
41335 [han pobox.co] Thanks Ian, much appreciated.
41711 [ian caliban.] The .spec file was still broken, causing some files to be missed when

^ Is this a bug in Time.gm?
41058 [Dave Pragmat] A reader reported the following, which looks like it might be a bug in
41077 [matz ruby-la] OK, I will check.

^ pstoring a tkvariable
41060 [normsu slab.] This is probably due to some internal working with TkVariables, but can someone
41066 [nagai ai.kyu] A TkVariable instance is an accessor for a variable on the
41194 [normsu slab.] Yup, understood.  Thanks for clearing things up for me.

^ Ruby filetype plugin for the Vim editor (with matchit support)
41061 [ned bike-nom] I finally got around to cleaning up my Ruby filetype plugin for the Vim

^ FXRuby debugging options
41068 [daniel zeped] It does some simple animations while drill is going on. I've worked the
41124 [lyle users.s] If it's fairly small I could take a look at it. I've never used Ruby's

^ Ruby/OpenSSL and error: PRNG not seeded
41071 [barry_shultz] Ruby 1.6.7 on HP-UX 11.0 (actually 11.04)
41073 [mulperi iki.] Openssl tries to use /dev/random or /dev/urandom if it cannot find
41169 [barry_shultz] Thanks, Ville, for the explanation and patch. I plan to add a /dev/urandom

^ glade2ruby
41079 [matthias_vei] I sit on a project where I have to write a GUI (gtk/gnome)
+ 41082 [mjais web.de] I have never used it, that is, I can not say if it works
| 41111 [matthias_vei] this is exactly the wonderful package I can't use, because no code
| + 41114 [peter semant] I think that in the Ruby Developer book there is talk of something that
| + 41222 [mw doc.ic.ac] It's not clear from your original posting whether your interface will
+ 41359 [jjenning ste] look at http://ruby-talk.com/38989

^ eruby and mod_ruby on Mac OS X
41081 [nouak zeitfo] did anybody succeed in running eruby and mod_ruby with Apache/1.3.23 on Mac OS X.
41407 [sean ruby-la] Compiling, yes.  Running, no.  I spent an hour or so trying to get

^ [ANN] Ruby/DICT 0.9.0
41083 [ian caliban.] This is to announce Ruby/DICT.
41127 [han pobox.co] Ruby
41323 [ian caliban.] Hmm. Well, I'm not responsible for the various dictionaries

^ OS independent scripts, system calls on Windows and Linux
41085 [tobiasreif p] I need to script some tools (Xerces, Saxon, Dot, etc).
+ 41086 [nobu.nokada ] The backtick returns stdout only and is almostly system
| 41088 [tobiasreif p] Then I might think about an RCR for a feature which saves me from
| + 41091 [chris.morris] I'd vote for it. I currently require the calls as in
| + 41092 [tsiivola cc.] Check IO.popen (builtin), and open3.rb (standard library). They both do
| | 41093 [tobiasreif p] 1.
| | + 41095 [tsiivola cc.] require 'open3'
| | | 41098 [tsiivola cc.] sub(/in/, "stdin")                   # reserved word, silly me
| | + 41096 [nobu.nokada ] Open3.popen3 doesn't work on mingw32/mswin32.
| |   41099 [tobiasreif p] Thanks for the info.
| |   41306 [comp.lang.ru] - - I think you'll find that the "annoyances" go much deeper than
| + 41094 [nobu.nokada ] Do you want to run internal commands of cmd.exe?  It's
| | + 41097 [tobiasreif p] I think you don't see my task or my problem; let me try to explain on a
| | + 41101 [tobiasreif p] returned = cmd.issue
| |   + 41102 [chris.morris] On mswin32 1.6.6, the system call does not work with shell commands.
| |   | 41105 [tobiasreif p] Kinda. Perhaps more than one "bugreport", but still a potential RCR. The
| |   | 41266 [dennisn pe.n] It seems to me that your comparison results may be a little flawed because
| |   | 41282 [tobiasreif p] I can't see any of your points.
| |   | + 41283 [nobu.nokada ] Your "date" command is built in cmd.exe, not an individual
| |   | | 41286 [tobiasreif p] This should not make any difference if there would be a command
| |   | | 41291 [nobu.nokada ] I'm not sure if it'll be backported or not, anyhow you can get
| |   | + 41292 [dossy panopt] Unlike Unix, where "date" is a real command that can be executed
| |   |   41294 [tobiasreif p] I enter commands at the "DOS prompt". Now if it's possible, I'd like to
| |   |   + 41295 [tobiasreif p] It's not a bug, it's a potential RCR for a probably useful and feasible
| |   |   | + 41302 [tsiivola cc.] Consider this: if you want to give a commandline command and get it's
| |   |   | | 41305 [tobiasreif p] It seems as if there might be possibilities for some sensible default
| |   |   | | 41309 [tsiivola cc.] Basically yep. Only his is neater. ;)
| |   |   | | 41310 [michael_s_ca] Is it relevant to the question that the first on there throws a
| |   |   | + 41394 [dennisn pe.n] What you are asking is probably possible.  However, it creates kind of
| |   |   |   41396 [tobiasreif p] Nah. Ruby doesn't have top play UNIX on Windows like cygwin does.
| |   |   |   41418 [nobu.nokada ] Yes, it's desirable, but irrelevant to running built-in
| |   |   |   41432 [tobiasreif p] Is anyone working on it, or should someone write an RCR?
| |   |   |   41535 [nobu.nokada ] Can be an RCR.  At least, it needs a portable way to run a
| |   |   + 41299 [nobu.nokada ] if errorlevel 1 goto :eof
| |   |   | 41300 [tobiasreif p] Wow; thank you very much for your help :)
| |   |   | 41304 [nobu.nokada ] Just typing `make' equals your batch without -va option, and
| |   |   | + 41308 [tobiasreif p] Thanks again.
| |   |   | | 41344 [nobu.nokada ] It's a quite simple makefile.
| |   |   | | 41365 [tobiasreif p] ... without having to install Borland make; just the tools I'm
| |   |   | + 41311 [gehlker fast] On 5/29/02 6:41 AM, "nobu.nokada@softhome.net" <nobu.nokada@softhome.net>
| |   |   |   41345 [nobu.nokada ] Thanks for info.
| |   |   |   41354 [gehlker fast] On 5/29/02 4:56 PM, "nobu.nokada@softhome.net" <nobu.nokada@softhome.net>
| |   |   + 41393 [dennisn pe.n] Well, its been a few years. My somewhat rusty recollection is that after
| |   + 41287 [nobu.nokada ] stdout/stderr are NOT exclusive.  What would be returned when
| |     41288 [tobiasreif p] I see; thank you very much for constructive criticism.
| |     + 41289 [tobiasreif p] puts ret.stdout.to_s if ret.stdout?
| |     + 41290 [nobu.nokada ] currthr = Thread.current
| + 41265 [dennisn pe.n] AFAIK, even doing it this way may not get you there.  I think that
+ 41087 [tobiasreif p] case returned

^ parentheses confusion w/1.7.2
41107 [W.L.Kleb lar] So 1.7.2 allows,
41121 [matz ruby-la] It's a bug.

^ Starting irb according to the man page
41109 [W.L.Kleb lar] `man irb` claims I can start irb with
41118 [wconrad yagn] I get the same behavior using Ruby 1.6.7 on Debian Woody.
41119 [W.L.Kleb lar] Sorry, I'm using ruby 1.7.2 (2002-05-23) [i686-linux] compiled from

^ Anyone using NArray and 1.7.2?
41110 [W.L.Kleb lar] While trying to port my application from 1.6.7 to 1.7.2, I've encountered some
41112 [masa ir.isas] This is a problem in complex.rb, and I have requested bug fix
41330 [W.L.Kleb lar] a) who's the current author?
41349 [masa ir.isas] See in lib/complex.rb.
41351 [W.L.Kleb lar] Perfect.  Thanks.

^ "stack level too deep" error with Mac OS X / apache / mod_ruby / soap4r
41113 [hwyss ywesee] Does anybody have experience with stacklevel-problems in Mac OS X standard

^ eccentric filenames
41135 [lewang.yahoo] I can't seem to get around this little problem.  I have an array with "test
+ 41137 [kentda stud.] For most filenames, shouldn't it suffice to wrap them in quotationmarks
+ 41138 [tom.hurst cl] system("cat >#{target}", *files)
+ 41180 [nobu.nokada ] The redirect clobbers "test #02.txt" before cat.

^ Design question - Internals of a Command class
41140 [listNOSPAM c] I am (re)writing a base class that defines a command as issued by a

^ Web Application Frameworks?
41142 [home clabs.o] I have need to build a simple web-based data entry application. What's the
+ 41144 [bcox virtual] I explored this question in depth a few weeks ago. After brief and
+ 41145 [alan digikat] eruby or html + ruby cgi would probably work just fine for a data entry.

^ Ruby I/O at a Glance
41143 [hal9000 hype] I've put a little chart on the web that has been
41341 [dennisn pe.n] Its a cool chart, and I printed it out to keep for reference.

^ Ruby/CGI/Apache/MS Windows - Err 403
41146 [gbp unlv.edu] This is a multi-part message in MIME format.
41147 [tobiasreif p] Tobi

^ [ANNOUNCE] ruby-htmltools, a tree-building HTML parser
41148 [ned bike-nom] I have written a tree-building HTML parser that is handy for doing

^ base64
41151 [tobiasreif p] how can I base64 encode an image so I can inline it in SVG like
41154 [uu9r rz.uni-] [img_data].pack("m") should do it.
41171 [tobiasreif p] require 'generated/svg/svg_writer'

^ Trouble installing the mysql module
41152 [fokke_wulf h] I'm trying to install the ruby mysql module on my linux (mdk 8.2) box,
+ 41153 [ned bike-nom] Install whatever package provides libmysqlclient.a .
+ 41165 [kjana dm4lab] Assuming MySQL itself is already installed....  Do you really have a

^ [ANNOUNCE] ruby-htmltools, a tree-building HTML parser version 1.01
41155 [ned bike-nom] I have written a tree-building HTML parser that is handy for doing
41157 [james rubyxm] I tried to install this, but got this error;
41161 [ned bike-nom] Oops. Yes, I'm using Test::Unit, which can be gotten from

^ Ruby Syntax Highlighting (and a Ruby Parser BUG)
41162 [llothar web.] I'm just trying to write a syntax highlighting plug in for my editor
+ 41163 [ruby-talk je] This is solveable if one uses stack-based parser instead of a regex
+ 41428 [edsin swes.s] print "String #{ ($a={1=>2, 2=> "\})mystring" , 4=>6}).length }"

^ C++ parser?
41173 [conic bigpon] Any C++ parsing classes written in Ruby?
+ 41185 [pbrannan atd] Writing a correct C++ parser is not a simple task.  You might do better
+ 41189 [drwillhoit f] You might want to look at OpenC++.
+ 41203 [cboos bct-te] You should have a look at: http://www.gccxml.org

^ Unexpected Array#pack behaviour (bug?)
41174 [han pobox.co] irb(main):072:0> ["a","b"].pack("m2")
41175 [decoux moulo] ri
41176 [han pobox.co] irb(main):088:0> ["abcdefghi"].pack("m")
41178 [decoux moulo] For the format `m', the optional argument give the length of the string to
41179 [han pobox.co] Thanks a lot, Guy. I would never have guessed.

^ compilation ignorance
41182 [repeater luc] i am using Ruby 1.6.6 win pragprog distro
41186 [robert.calco] On windows you can compile Ruby out-of-the-box one of two ways: Using the MS
41207 [repeater luc] <snipped very useful info, info -> brain>
+ 41211 [nobu.nokada ] Although I've never tried, you may be possible to compile with
+ 41225 [robert.calco] % hello Bob, thanks for replying !
+ 41347 [dennisn pe.n] i've got the mswin32 flavor of Ruby on my home system, which I

^ Proc.binding(), binding.self(); RCR ?
41183 [jean_hugues_] Is there a way to know about the binding of a Proc. I need something
41184 [nobu.nokada ] eval("self", block).signal(res)
41187 [jean_hugues_] Hmm... I saw no mention about that in O'Reilly Ruby in a Nutshell.
41204 [decoux moulo] pigeon% ruby -e 'eval "12", 12'

^ Using modules when running from shebang!
41188 [fokke_wulf h] I recently installed ruby-mysql from an rpm on linux mdk 8.2. When I run
41346 [dennisn pe.n] I had a similar problem recently, although your problem may be

^ using test::unit for C++ unit tests
41190 [ptkwt shell1] I'm going to be starting on a C++ development project for a contract I'm
+ 41193 [robert.calco] As a C/C++ guy at heart, I have given some thought to this problem (i.e.,
| 41198 [ptkwt shell1] Bob,
| 41201 [robert.calco] % Bob,
+ 41197 [dossy panopt] How about CppUnit?
| 41202 [ptkwt shell1] Someone else just mentioned this.  I'll check it out.
| + 41220 [kentda stud.] If you stay on the 1.6.x versions, it isn't too bad. From what I've
| + 41241 [dossy panopt] I can't comment because I haven't used CppUnit, but I recall it's
|   41242 [simon.crase ] I've used CppUnit, JUnit and RubyUnit.  CppUnit isn't as nice to use as
+ 41199 [pbrannan atd] Yes.  Our team does roughly 90% of our C++ testing using Ruby.

^ HTML generation library
41191 [wakou ruby-l] I put it at http://www.ruby-lang.org/~wakou/lib/test/

^ Possible Bug in Ruby?
41192 [flori eavesd] I have observed a very strange behavior of Ruby (1.6.7). I think it has
41243 [nobu.nokada ] Read the thread from [ruby-talk:37308].
+ 41386 [dennisn pe.n] I'm a little new to the list and to Ruby web resources in general.
| + 41387 [tobiasreif p] Go to ruby-talk.com/37308
| + 41389 [kentda stud.] (\[ Kent Dahl ]/)_    _~_    __[ http://www.stud.ntnu.no/~kentda/ ]___/~
+ 41417 [flori eavesd] Thanks for your patch! It worked like a charm to solve my problem. Will
  41441 [nobu.nokada ] # Persuade Matz of the requirement. :-)
  41605 [matz ruby-la] Sorry, I didn't follow the discussion.  Persuade me.
  41618 [nobu.nokada ] # half-baked wasn't be proper word.

^ [ANN] SOAP4R/1.4.5
41196 [nahi keynaut] SOAP4R/1.4.5 is out.
threads.html
top