74646-75376 subjects 75024-75935

^ Drag and Drop in Windows with Explorer
74812 [tcfelker mtc] I need to make a Windows program with RXRuby that batch processes audio
74814 [harryo qiqso] Sorry, I don't have an answer to your question. I had a quick play with this some time back and didn't get anywhere.
74818 [tcfelker mtc] Sure, I'll post any working code I get, but I'm a bit discouraged by my
74821 [tcfelker mtc] I've looked into this further, and I don't think FXRuby gives low-level

^ Please read carefully
74824 [ataoyima55 n] This is a multi-part message in MIME format

^ Millisecond in time.
74825 [place4oracle] I have 1056030443784 (which is a time in millisecond) but I need this
+ 74826 [matz ruby-la] Time.at(1056030443784/1000.0).strftime("%Y-%m-%d %H:%M.%S")
+ 74827 [harryo qiqso] Time has an "at" method that takes a number of seconds and returns a time, so you could do something like ...
  74841 [spam deck.dk] wouldn't that be
  + 74842 [B.Candler po] but 1 millisecond is 1000 microseconds.
  + 74843 [harryo qiqso] Yes, but the second argument to Time#at is in microseconds.

^ inifinity recursion && test/unit
74829 [Andrey.Kulin] Without test/unit ruby finished work and said that stack level too deep.
74836 [B.Candler po] Yep, that's definitely a nice piece of infinite recursion. What are you
74846 [Andrey.Kulin] module Recur
74852 [B.Candler po] - a module Recur

^ Sorting a Hash
74837 [oadartse yah] I'm Having some trouble sorting a hash!, the hash contents are like
74839 [B.Candler po] myhash = {
74872 [oadartse yah] Sorry about that!! but you got the right idea!!
+ 74887 [B.Candler po] Of course, the result of the sort is an array, not a hash. There's no point
| 75020 [oadartse yah] Yes I mistyped there!! I tried to mean the array returned, 'cos the
| 75056 [B.Candler po] I don't think it's overkill at all. In Ruby it often makes sense to make a
+ 74943 [bob.news gmx] "Osuka" <oadartse@yahoo.com> schrieb im Newsbeitrag

^ Terribly OT ...
74844 [harryo qiqso] Given that we're talking about modulo arithmetic :-) ...
74847 [decoux moulo] Euh, this ???
+ 74848 [harryo qiqso] I'm not sure about all those negative numbers, but a heck of a lot of the values look right.  So, I think your code is definitely a good starting point for me.
+ 74850 [harryo qiqso] I was able to get your code to produce the table precisely as it was in the exercise solution by making a couple of tiny changes, although I'm going to have to think about how your recursive code relates to my simplistic implementation of the Euclidean algorithm :-) ...
  74851 [decoux moulo] Well, if I'm remember correctly : if (p, q) are number in the "magic
  74905 [harryo qiqso] Thanks, Guy.
  74922 [decoux moulo] Guy Decoux
  + 74923 [decoux moulo] it's pdf (the `f' is missing)
  + 74926 [harryo qiqso] How amazing!  Bob Howlett (the author of that PDF) is one of my other old lecturers :-).
  | 74927 [harryo qiqso] By the way, thanks for that link.  It's basically what I was looking for before I asked the original question!
  + 74933 [harryo qiqso] Thanks again, Guy. Based on that reference, I was able to get my naive (non-recursive) implementation working and generating the correct magic table ...

^ [ANN] Aeditor-0.1 is unleashed
74853 [0bz63fz3m1qt] Aeditor is a editor-widget written in Ruby. The primary
+ 74903 [0bz63fz3m1qt] Is there any Rubyists-volunteers who would like to test Aeditor ?
| 74904 [mwilson13 co] I had to add 'aeditor/' to the require statements. I then had an error
| 74910 [slewis parad] Same problem here - running your "aeditor" script doesn't work (
| 74914 [0bz63fz3m1qt] Interesting, running the 'aeditor' script works here?
| + 74918 [0bz63fz3m1qt] Can tell me what happens in the 'log' file if you press *Backspace* ?
| + 74920 [slewis parad] ^^^^^^^ --> emitted?
|   74929 [0bz63fz3m1qt] 'omitted' -> 'emitted'  :-)
+ 74907 [joaopedrosa ] I wish this project will progress well, because we
| 74917 [0bz63fz3m1qt] ;-)
+ 74965 [0bz63fz3m1qt] OK.. I hope I have fixed most of the install issues.
  74970 [nobu.nokada ] It doesn't work when RUBYLIB is set.
  74976 [0bz63fz3m1qt] I totally forgot about $RUBYLIB.. Therefore my hardcoding
  74992 [nobu.nokada ] You'll be possible by hook files.
  75002 [0bz63fz3m1qt] If so should I then create a 'bin/post-setup.rb' file ?
  75007 [0bz63fz3m1qt] Thanks Nobu, require 'aeditor/' is indeed nicer than $:.hacking.
  75017 [0bz63fz3m1qt] I have made a 3rd file release, containing this new stuff!!

^ Re: inifinite recursion && test/unit
74855 [Andrey.Kulin] I was talking about test/unit.
+ 74857 [B.Candler po] I don't think Ruby really "detects" infinite loops; it simply runs out of
| 74859 [michael_s_ca] I'd guess so to--.  Wouldn't this be a "halting problem" issue?  =)
+ 74885 [androflux so] Huh? What do you expect Test::Unit to do? Given this input, with
+ 74998 [emschwar pob] By definition, a program can't detect whether it'll exit or not

^ [ruby-talk] Re: newbie locale/ascii sort question
74860 [bengt.dahlqv] This a newbie question, since I am not so skilled in Ruby.
74869 [matz ruby-la] Not yet.  But a small extension like this seems to work.

^ Problems with Net::HTTPS in ruby-1.8.0-preview3
74863 [jfh cise.ufl] #!/local/bin/ruby
+ 74911 [nahi keynaut] ossl2 is growing day by day in these weeks.
| 74916 [nahi keynaut] Oh, you already are using ossl-0.2.0-pre2 so you must have
+ 75159 [aamine lover] This is caused by net/http's incompatibility.

^ DBD::Oracle9 and non-blocking mode
74865 [list jimcain] I'm about ready to make available an early copy of my library, but first
74888 [B.Candler po] I have used it briefly: setting non-blocking mode on Takehiro's ruby-oci8
74908 [kubo jiubao.] I implemented it in the ruby layer.
74954 [B.Candler po] It just seemed to work faster when I had five separate processes doing
75033 [kubo jiubao.] My approach wastes time. Undoubtedly your prospect is correct in
75058 [B.Candler po] And I forgot to add: even if non-blocking mode works in Oracle, it doesn't

^ IP arithmetic
74866 [B.Candler po] Are there any functions in the Ruby standard library which convert
+ 74876 [jfh cise.ufl] This is a multi-part message in MIME format.
+ 75005 [ jupp gmx.de] Saluton!
| 75014 [B.Candler po] Yeah, I ended up writing something like that. I just wondered if there was
+ 75268 [ jupp gmx.de] Saluton!

^ Re: :Oracle9 and non-blocking mode
74867 [djberge qwes] I use it to timeout connect calls when a database is either down and/or
74868 [michael_s_ca] Out of curiosity, will binaries (for Win32, specifically), be distributed?
74891 [list jimcain] No, I won't be making Win32 binaries myself. I've never developed native
74896 [sdate everes] distributed?
74913 [botp delmont] I'm not sure about the _all_ but I'm sure it's well OK for me. So, pls do.
75029 [sdate everes] With pleasure .. you will have to give me some time though ... I won't be

74873 [monicasaed p] This is a multi-part message in MIME format

^ ruby-dev summary 20418 - 20487
74878 [ksaito uranu] This is a summary of ruby-dev mailing list last week.

^ Speaking of I18N...
74884 [hal9000 hype] I don't suppose anyone has implemented any
+ 74886 [surrender_it] there is an example of this in soap4r, or
| + 74889 [rodrigo.berm] On the 'ruby developers guide', there is an exemple which do it
| | 74899 [hal9000 hype] I should have known this... I have had that book
| + 74898 [hal9000 hype] Thank you, I will look at that.
+ 74895 [chadfowler c] I did a screen-scraping one some time back.  It was truly a
  + 74902 [hal9000 hype] That hilarious semantic distortion is also interesting
  + 74915 [hal9000 hype] Well, the screen-scraper might be a lightweight option...

^ wxruby.org wiki error
74890 [surrender_it] the website is blocked due to an error in the wiki software..
74906 [curt hibbs.c] Something got corrupted in he perl script that implements the wiki. All I

^ Hi
74892 [copeland_lw ] This is a multi-part message in MIME format.
74893 [rodrigo.berm] I think we should redirect it to the perl community    =)
75003 [ jupp gmx.de] Saluton!

^ rb_gc() and scan stack
74894 [0bz63fz3m1qt] I were experimenting with Init_stack, when I discovered a flaw in my mind.
+ 74897 [0bz63fz3m1qt] Init_stack() did solve it :-)..  The funny thing is that I were looking
| 74931 [0bz63fz3m1qt] Guy Decoux + others.. I know you are reading this.. please help :-)
| 74948 [matz ruby-la] We can't say much.  As far as I guess stack, position was higher than
| 74952 [0bz63fz3m1qt] OK.. I had a flaw on my initial drawing.. I understand now.
| 74957 [0bz63fz3m1qt] Wrong url... instead
+ 74947 [batsman.geo ] Could you please check if adding one stack frame in between works?
  74951 [0bz63fz3m1qt] void foo() {
  74953 [nobu.nokada ] Incorrect.
  74973 [0bz63fz3m1qt] I have some major/minor problems understanding your diagram.
  74991 [nobu.nokada ] It *was* correct.  To be accurate, nothing shouldn't be marked
  75409 [0bz63fz3m1qt] "swaps its arguments"... I oversaw this.

^ FXDataTarget not updating my variable
74909 [fugalh falco] @datatarget = FXDataTarget.new(@name)
74958 [lyle users.s] Generally speaking, SEL_CHANGED messages are usually sent while a
74986 [fugalh falco] I was aware of what you are talking about, and I actually only want it
74994 [lyle users.s] Oh, no, that's not how the Ruby version of FXDataTarget works. For
75025 [fugalh falco] Ok, that makes sense. I'm glad I'm not losing it. ;-) This could be
75097 [vjoel PATH.B] ==========================

^ Ruby9i now available
74912 [list jimcain] All,
+ 74967 [djberge qwes] Thank you very much!
| + 74971 [djberge qwes] Quick followup - it built fine with 1.6.8 but wasn't as happy with 1.8
| | 74987 [list jimcain] This is because in 1.8 rb_str2cstr(VALUE, int*) has changed to
| | 74990 [djberge qwes] Ah, ok.  Ruby has some #define's (in version.h) you could use to see
| | 74993 [nobu.nokada ] It's not good idea to determin by release date or similar.
| | 74995 [list jimcain] Excellent. That's just the kind of info I was looking for. I'll make the
| | 74996 [nobu.nokada ] VALUE biv_initialize(int argc, VALUE *argv, VALUE self)
| + 74974 [list jimcain] Yes, I agree with you. I just haven't taken the time to study the "Ruby
| | 74975 [djberge qwes] Oops - my bad.  It *is* supposed to be finish().  Dunno where I got that
| + 74978 [michael_s_ca] Cool.  Can anyone let me know where the oracle9i distrubution is now?  I've
| | 74984 [list jimcain] For now it's only at http://jimcain.us/ruby9i/. I will eventually have
| + 75088 [djberge qwes] For anyone using this script, please change "oracle9i" to "ruby9i".
+ 75076 [roberto REMO] Can you also make a DBD for it, as DBI is pretty much a de facto standard
  75079 [list jimcain] The package includes a DBD API.

^ Anybody used SAPDB?
74925 [dwerder gmx.] has anybody of you used the sapdb.org database yet, especially with ruby?
74930 [schlegel cs.] This is a MIME-formatted message.  If you see this text it means that your
74932 [dwerder gmx.] thanks!

^ Ruby 1.8 and Win XP compatibility
74928 [treich24 lyc] Are there any compatibility issues for Ruby 1.8 + Win XP, especially
75105 [sdate everes] Can't say that I have tested exhaustively but I haven't had any problems so

^ Question about streaming on Ruby
74934 [robson magar] This is a multi-part message in MIME format.
+ 74938 [laurent data] Yes!  In fact, GStreamer is probably able to do this, and you can call
| 74939 [laurent data] I forgot to mention that GStreamer is *only* available on POSIX
| 74945 [armin xss.de] What you want todo is very easy todo in Squeak.
+ 74944 [bob.news gmx] "Rob" <robson@magario.com> schrieb im Newsbeitrag
+ 74956 [B.Candler po] system("wavrec -r 5 myfile.wav")
+ 74959 [billk cts.co] Since you mention active-X I'm assuming you might be under Windows.
  75060 [robson magar] Thanks a lot for the hints.
  75095 [jjenning fas] so you have to

^ Errno::ECONNREFUSED equivalent on WIN32?
74935 [emiel il.fon] Ruby gurus,

^ Open RCR's
74950 [djberge qwes] nearly two years old).  Given that Ruby 1.8 is relatively close to
75041 [matz ruby-la] i,

^ problem compiling ruby1.8 with borland c 5.5
74960 [kgergely mla] I've problem compiling ruby-preview 1.8.0-preview3 on win98.

^ Base of Numbers
74962 [volker_grabs] I just wanted to know if there's any way except "printf"

^ Base of Numbers
74963 [volker_grabs] <no>
+ 74964 [decoux moulo] In 1.8, #to_s can take an argument
+ 74966 [dave pragpro] This is a test 'ri'. Please report errors and omissions
  75016 [ jupp gmx.de] Saluton!
  + 75028 [nobu.nokada ] Also String#to_i.
  + 75032 [dave pragpro] Thanks - I missed that change.
  + 75078 [tcfelker mtc] Cool.  Is there a way to from a string to an int with any base?
    75083 [matz ruby-la] String#to_s(base=10)
    75089 [zunda 24i.ne] or
    75091 [tcfelker mtc] Thanks.  Soon I'll upgrade, and I'll have ri to help me.

^ [ANN] Ruby-GNOME-0.33
74968 [mutoh highwa] Ruby-GNOME-0.33 is now available.

^ Vote for Ruby in Linux Journal Poll
74969 [yfoll 9onlin] For the "Linux Journal's 2003 Readers' Choice poll" you can vote for Ruby in
+ 74972 [vjoel PATH.B] ...
+ 75013 [B.Candler po] Since I don't read Linux Journal, does this mean I am not eligible to vote?
  75134 [cedric.foll ] You can vote even if you're not a reader of linux journal.

^ [OT] Re: Vote for Ruby in Linux Journal Poll
74979 [brian coolna] Oh man, I hate these kinds of polls.  Maybe "hate" is too strong of a
+ 74981 [dcarrera mat] Ruby is the awesomest language ever made!!
+ 74988 [james_b neur] Yeah, when people ask for my favorite color, I tell them, "plaid."

^ OT: It's that time of year again ...
74980 [james_b neur] Happy Birthmonth to all fellow Rubyists born in July!
+ 74982 [dcarrera mat] Canada was born on July 1st.
| 74983 [michael_s_ca] I saw that "Canada Day" on my calendar yesterday; what is it?  The
| 74985 [dcarrera mat] That's okay.  I am always happy to answer Canada questions to our American
| 75006 [harryo zip.c] As did Australia ... although about 30 years later.
+ 75015 [ jupp gmx.de] Saluton!
| 75054 [B.Candler po] Errm, are we going to list 1/12th of all famous people now? Please not...
| 75071 [james_b neur] No, just the Rubyists we know.
| 75075 [B.Candler po] The Dalai Lama and Hermann Hesse were Rubyists?? :-)
| 75098 [ jupp gmx.de] Saluton!
+ 75018 [joaopedrosa ] Happy birthmonth too!
+ 75059 [tim bates.id] I also was born on the 15th of July. This month is my 18th birthday. Not
  75069 [hal9000 hype] Actually it's mildly fascinating to me to find out

^ rubynet-announce Digest, Vol 5, Issue 1
75000 [rubynet-anno] Send rubynet-announce mailing list submissions to

^ Award Notification
76470 [sdmitry lrn.] Suck my balls

^ More error backtrace
75008 [n.gilbert so] I am having trouble tracking down the point at which my program is
+ 75009 [gfb tonesoft] It is the default exception handling in Ruby. You can always embrace your
| 75010 [gfb tonesoft] Typo correction: rescure -> rescue
+ 75011 [B.Candler po] #define TRACE_MAX (TRACE_HEAD+TRACE_TAIL+5)
| 75019 [ tom u2i.com] I've been wondering for some time why it did this.
| 75021 [hal9000 hype] I always assumed it was to save space. Does it
| 75055 [B.Candler po] #define TRACE_MAX (TRACE_HEAD+TRACE_TAIL+5)
+ 75012 [0bz63fz3m1qt] Fatal-Error in program!
+ 75022 [mwilson13 co] Not having seen your code, and therefore ignorant, why is the above not

^ A Quick Guide to SQLite and Ruby
75023 [ruby-talk wh] I've been truly impressed by SQLite, a small database with support for much of
+ 75026 [rich infoeth] Awesome!
| 75030 [ruby-talk wh] Rich, what browser are you in?  I'm using a bit o' mod_rewrite, so I'm
| + 75036 [paul snake.n] Doesn't work for me, either, with either Safari 1.0 or IE 5.2.3 on Mac OS X.
| | + 75038 [curt hibbs.c] It works for me on Windows with IE6.
| | | 75053 [oadartse yah] works too in Mozilla 1.3 on win2000
| | | 75094 [ruby-talk wh] This is now supplied as well.  Although, I believe there is much more that
| | | 75096 [david.naseby] Anyone got a prebuilt binary of sqlite-ruby for Windows? I can't build the
| | | 75103 [oadartse yah] A binary for windows would be nice indeed, but telling how to compile
| | + 75039 [ahoward fsl.] nor nutscrape 4.7x
| + 75064 [rich infoeth] I am using Safari 1.0 on OS X.  I just checked the site though, and
| + 75067 [xlucid users] At 14:10 GMT, it worked for me on Opera 5.12 Build 932, on Win32
+ 75027 [james_b neur] Looks like version 5 of of PHP includes SQLite.
+ 75040 [ahoward fsl.] very cool.  i used the package a bit using one extension - i can't remember
+ 75057 [B.Candler po] Biggest problem I have with ruby-dbi and Sqlite: if you set db['AutoCommit']