151107-156207

150712-152010 subjects 151358-152549

^ (OT) Vintage Rubyists (was Re: Ruby momentum?
151107 [cyclists nc.] I went to college in 1980. FORTRAN was my first pgmming language,

^ Any interest in a Ruby source code repository module modeled after DBI?
151118 [ceo nospam.o] I posted this in the Perl c.l.p.misc and c.l.p.modules newsgroups, and
+ 151125 [mailinglists] I like the idea, even when i think it will be almost impossible to
| + 151155 [ceo nospam.o] Hmmm, as someone else pointed out, it looks like in the Ruby world,
| + 151266 [Digikata gma] If the OP wants a look at a mature interface for unifying VCS
+ 151131 [vjoel path.b] but I haven't used it.
| 151156 [ceo nospam.o] So it seems.  I know of nothing like this in the Perl world.  But it
| 151164 [mental gmail] Sorry for the short reply, I just wanted to let you know that svk uses
+ 151167 [julian coret] I'm quite interested in that... it would make building a CMS on Rails
  151208 [jason jvoege] This sounds like WebDAV to me.

^ ruby under cygwin - can access WIN32OLE or not?
151127 [Ara.T.Howard] if in install ruby from source under cygwin - will i have access to WIN32OLE
151137 [tpeters inva] Cygwin provides a ruby package. This package includes win32ole. Install
151141 [Ara.T.Howard] perfect.  i'll give a whirl then - didn't want to go ahead unless it did -

^ xls2csv
151128 [Ara.T.Howard] i'm trying to hack together a little win32ole program named xls2csv - function
151129 [patrick.fern] Here's some code I used to do some xls-> csv dumping. It's currently
+ 151130 [Ara.T.Howard] perfect!  thanks a million - saved me a ton of time.
+ 151501 [Ara.T.Howard] <snip xlsdumper code>
  151509 [patrick.fern] Wow, the code looks so much neater ;). It's great to see a quick hack

^ [ANN] Nitro + Og 0.22.0 Og reverse mode, Og Fixtures and test support, Incoming email
151132 [george.mosch] New versions of Nitro (Web Application Framework) and Og (Object

^ sub(/variable/,'')
151136 [mj-usunto tk] irb(main):001:0> a="DEL"
+ 151138 [james graypr] b.sub(/#{a}/, "")
| 151144 [mjurczuk gma] It helps a lot :)
| 151145 [shalev simpl] irb(main):002:0> a = /DEL/
+ 151139 [zdennis mkte] a="DEL"
+ 151140 [vjoel path.b] irb(main):001:0> a = "DEL"

^ sending an email with an attachment in ruby
151147 [mrmargolis w] I would like to send email from a server running FreeBSD(TextDrive) to
+ 151148 [khaines enig] Use tmail.  I send multipart MIME mail with it all the time (many hundreds,
| 151180 [ezra yakima-] Kirk -
+ 151158 [lyndon.samso] spawn tar/bzip2/mail might be simplest?
+ 151173 [news-1123472] I was hopting to show off something clever, but all I use is is 'metasend'.
+ 151179 [ezra yakima-] Keep in mind that Gmail only allows attachments up to 10Mb in size.
| 151214 [mrmargolis w] Was this implemented in the last month or two?  I have 11MB attachments
| 151216 [mrmargolis w] Nevermind I found the blurb on gmail's site.  I guess I am going to need
| 151229 [ezra yakima-] Mathew-
+ 151182 [dave.m email] charset="iso-8859-1"
  151215 [mrmargolis w] I am not quite sure what you are saying here.  I am already using tar
  151236 [dave.m email] charset="iso-8859-1"

^ String#to_ary and Test::Unit
151162 [transfire gm] class String
+ 151170 [dblack wobbl] module Enumerable
| 151189 [ruby.brian g] Another sidenote that removes the need for to_ary completely and is a
| + 151198 [transfire gm] Wow, thanks Brian. I'll use that!
| + 151204 [dblack wobbl] This message is in MIME format.  The first part should be readable text,
|   151206 [transfire gm] Unfortunately David is correct. In looking more closely at your
|   151210 [ruby.brian g] probability_hash = "this is my string".split(//).freq
|   151221 [dblack wobbl] This message is in MIME format.  The first part should be readable text,
|   151222 [ruby.brian g] Yes I do :-(
+ 151174 [matz ruby-la] I don't think providing to_ary for objects which are not really
  151184 [martindemell] I'd go further, and say that String should not implement Enumerable - as
  + 151197 [transfire gm] Yes and no.
  | 151201 [martindemell] As I said, my primary objection is not the inconsistency, but the fact
  + 151207 [transfire gm] Those really aren;t very good. Oe ends creating all sorts of methods

^ on ruby on rails and forms
151165 [amontano vir] Does anybody know if the options for a select in a form are accesible via
151168 [julian coret] I wonder if there's a rails list...
+ 151176 [amontano vir] Thanks for the quick reply Julian. I will provide more detail here.
| + 151191 [julian coret] Isn't what you're trying to do AJAX?
| | 151218 [amontano vir] That is what I meant with "Is my only alternative to wrap up the select list
| | 151301 [twifkak comc] For anything since then, I can't help, but
| + 151196 [twifkak comc] Andres,
+ 151177 [dotnetguy gm] There is.

^ [ANN] color-tools 1.3.0
151172 [halostatue g] I am pleased to announce the release of color-tools 1.3.0. This release
151679 [gavin refine] Are you pleased enough to be able to offer the source URL for these?
151684 [halostatue g] Did I forget those? ;)

^ how to determine path for object's type?
151175 [stevena neos] I have an object that I think is loading its class definition from the
+ 151178 [halostatue g] Short answer: you can't.
+ 151194 [snail objmed] If you are running Windows you could use Ruby Bug Validator to capture

^ FXRuby or wxRuby?
151202 [rcs bgoark.n] I know wxWindows for C++ rather well, and have started to use wxRuby.
+ 151203 [curt hibbs.c] Actually, there is a *lot* of wxRuby activity going on. But you wouldn't
| + 151220 [rhkramer gma] 1. So, where is the wxRuby mail list?
| | 151226 [curt hibbs.c] There is an HTML widget, don't know about the text editor.
| | 151233 [rhkramer gma] Curt,
| + 151280 [rcs bgoark.n] I'm glad to hear this!
+ 151209 [david vallne] I actually find even the 0.6 version very usable, most of the GUI classes are
| + 151217 [surrender_it] Maybe this can interest you: if you look at mondrian IDE, which should
| + 151242 [mailinglists] No toolkit does this as it is the task of the GUI application itself,
|   + 151252 [langstefan g] .NET/System.Windows.Forms {Open,Save}FileDialog does.
|   + 151310 [thunder gmai] Windows (2000/XP) remembers the directory on behalf of the
|   | 151311 [curt hibbs.c] But FreeRIDE uses FXRuby/Fox, and Fox does not use the Windows standard
|   | 151328 [vjoel path.b] Sorta going off on a tangent here, as usual, but after working with
|   + 151511 [david vallne] In this specific example, the dialog still looks very out of place on XP. And
|     + 151519 [mailinglists] Correct. The question is: do you want a multiplattform toolkit ? If
|     | 151529 [gerardo.sant] I can have multiplatform and native look and feel with Qt. Here is a
|     | + 151536 [mailinglists] It's only a part of the look. There is much more then this in apples
|     | + 151549 [schlu-do gmx] Not really. This uses some widgets you find in other Mac OS X
|     + 153122 [sander knolo] Best Quote: " I'm staring at my Windows taskbar right now and out of 7
+ 151219 [osivertsson ] My experience with wxRuby has not been very pleasent. The main
| 151265 [curt hibbs.c] I'm posting this on behalf of Kevin Smith who is leading the current
+ 151234 [gerardo.sant] Have you considered QtRuby?
| 151259 [d454d web.de] Does it work with the windows version of Qt4 as well? I was wondering if
| 151262 [gerardo.sant] Korundum is the KDE specific binding. QtRuby is about Qt only.
| 151274 [d454d web.de] Great! :)
+ 151245 [mailinglists] Looked at wxRuby yesterday and the last huge checkin was 30 hours ago.
  + 151285 [rcs bgoark.n] This is definitely a plus!
  + 151327 [Richard_Dale] QTime before = QTime::currentTime();
    151339 [mailinglists] Sorry there were many tests that shows that FOX is faster

^ Re: polymorphism and/or named parameters: the ruby way?
151224 [Daniel.Berge] A typical idiom for constructors is to do "yield self if block_given?",
151235 [eric_mahurin] foo = Foo.new
+ 151250 [vjoel path.b] One advantage is you can construct and configure an object without
| 151258 [eric_mahurin] The exception issue bothers me too with this ensure trick.
| 151263 [vjoel path.b] class Object
| 151270 [SimonKroeger] i = 3
| 151279 [vjoel path.b] Good point. You really have to be especially clear about whether you are
| 151282 [SimonKroeger] woohoo,
| 151286 [eric_mahurin] This gets us into the whole destructive vs. non-destructive
+ 151253 [flori nixe.p] 1. To avoid, having to call a configure method after configuration
| 151260 [eric_mahurin] Yep, that makes more sense.  It looks a lot more useful when
+ 152704 [james graypr] Perhaps you want to create and use an object without even assigning
  152713 [eric_mahurin] You missed a .new, I believe.
  152715 [james graypr] Oops, right you are.

^ help me override ActiveRecord find?
151227 [kelly.felkin] I would like to add some things to the find method of activerecord, but I=
151230 [gfb tonesoft] Here you try to create an alias "kellys_find" for instance method "find"
151231 [gfb tonesoft] Oops, "alias_method" here, of course.

^ Ruby with RHEL 4, 64-bit
151228 [zdennis mkte] Does anyone have any experience running RHEL 4, on a 64-bit machine with
151455 [morris wolfm] I have compiled and run it on RHEL ES 4, on a 64-bit machine, and so far

^ Re: [ANN] Nitro + Og 0.22.0 Og reverse mode, Og Fixtures and test support, Incom
151232 [porschefranz] nice to here about your projects. has ilias lazaridis contributed anything

^ Proper Documentation
151237 [ulmo valaraa] I´m a bloody newbie in ruby, and the only thing worth to be called
+ 151239 [tokikenshi g] Try these
+ 151240 [morg borgeby] ...
+ 151248 [rhkramer gma] There are other (online) tutorials (and dead tree books), but WikiLearn
+ 151255 [daniel.amela] Don't forget to check out ruby-doc.org.
| 151350 [james_b neur] as well as
+ 151319 [chris.pine.f] it showed up in del.icio.us/popular recently, anyway.  :)
| 151329 [basi_lio hot] Sounds like a good book for me. But Attempting to connect to
| 151399 [chris.pine.f] Odd.  It's working for me now, anyway.  And was then.  Maybe it went
| 151431 [basi_lio hot] Yes, it is up now. Thanks.
+ 151545 [bg-rubytalk ] It would be great if you can take notes as you go.  As Rails and web-

^ Ruby DBI Error
151251 [greg.kujawa ] I have been using Ruby v1.8.2 with DBI v1.42 for awhile now and it has
151254 [Daniel.Berge] This looks like a (Ruby?) OLE and/or ADO driver issue, not an error with
151257 [greg.kujawa ] Actually I forgot to specify the instance that was underneath that

^ Threading+TCPServer issues on Win32
151264 [batkins57 gm] I'm having an issue with threading and TCP servers on Win32.  I've
151272 [SimonKroeger] that's the same problem as
+ 151277 [vjoel path.b] Is this only with a tty, and not a problem with sockets, files, etc.?
+ 151296 [batkins57 gm] Right, I tried select as well, but no dice.  Is there some workaround,
| 151341 [simon.kroege] The fork() function is unimplemented on this machine
| 151346 [batkins57 gm] Get win32-process from Rubyforge.
+ 151363 [billk cts.co] Yes, unfortunately select() on windows only works with

^ Matz talk at oscon
151267 [amj colortec] I was unable to get in to see Matz' talk at oscon last week, the
151269 [surrender_it] ...
151403 [emiel il.fon] I was trying out some of the examples on the slides. Specifically
151404 [emiel il.fon] Wait this is supposed to get rid of elements with even indexes; which
151427 [matz ruby-la] It is.  The last minute change was wrong.  Replace "reject" with

^ Proc as a parameter in a class
151273 [vendredi5h g] I'm currently playing with proc and code block as parameter trying to
+ 151276 [SimonKroeger] @action is the block.
| 151334 [bob.news gmx] ##### SECOND SECTION #####
| 151398 [vendredi5h g] Interesting. So the "&" convert a proc to a block. So can I conclude
+ 151335 [matz ruby-la] Just because you've specified so.  @action is {f} which means if you
  151397 [vendredi5h g] Ok! @action is {f} and not f. Everything is clear now. Thank you very

^ Ruby/Tk core library desing question (TkCanvas#create)
151281 [email55555 g] For TkCanvas#create method, it returns "1" seems useless ...
+ 151283 [email55555 g] line = TkCanvas.new.pack.create(TkcLine, 0, 0, 100, 100)
+ 151321 [nagai ai.kyu] No. That is the identifier of the canvas item.
+ 151348 [email55555 g] I missunderstood the return value.

^ what is wrong and how to write it shorter?
151287 [ngoc yahoo.c] #!/usr/bin/ruby
+ 151291 [nobu.nokada ] pg = "/~matz/slides/oscon2005/mgp0000#{pages}.txt"
+ 151294 [ezra yakima-] #!/usr/local/bin/ruby
+ 151295 [vfoley gmail] require "open-uri"

^ Re: What's so special about operators, built-in classes and modules?
151292 [bg-rubytalk ] Actually, the first example will prevent people from modifying the

^ One line handies
151297 [lyndon.samso] Ruby is such a sweet language that you can achieve alot with little code
+ 151298 [Ara.T.Howard] ruby -r yaml -r rbconfig -e'y Config::CONFIG'
+ 151300 [dblack wobbl] Not necessarily, but we would use PATH and ":" :-)
| + 151302 [bruce.woodwa] ...
| + 151303 [Ara.T.Howard] - "."
|   151305 [Ara.T.Howard] oops
|   151306 [dblack wobbl] I'm not sure I get why you'd need all this (YAML, the space trick, the
|   + 151308 [billk cts.co] ruby -e "puts ENV['PATH'].downcase.split(/[:;]/).sort"
|   | 151313 [w_a_x_man ya] Did you try it without swapping the quotes?
|   | 151315 [billk cts.co] Whoa... !  Thanks.  Makes me wonder if that always been true,
|   + 151322 [nobuyoshi.na] No.  /home/foo/BIN and /home/foo/bin are different directories
|     151479 [ jupp gmx.de] Follows version that makes PATH case-insensitive. Works even if you
+ 151336 [bob.news gmx] You'll find more with http://www.google.com/search?q=ruby+one+liners

^ rdoc, :"symbol", warning msg
151307 [clr7.10.rand] when :foo, :"foo/",  :"/foo",  :"/foo/", :"foo/>", :"/foo>", :"/foo/>"

^ Is it possible to get the source code associated with Kernel.eval?
151309 [eric.promisl] The Komodo Ruby debugger was capturing the source for calls to

^ Unable to change password using Net::SSH
151316 [amitchitre g] Running on WinXP, ssh to Solaris.  Tried using the shell as well as
151784 [jamis 37sign] Amit,

^ Storing a block and calling it later wanting it to return put of the method it's called in.
151317 [transfire gm] class D
+ 151325 [nobuyoshi.na] Proc.new(&@blk).call
| 151345 [transfire gm] That clarifies some things for me. Thanks.
+ 151342 [twifkak comc] -1 +1
+ 151343 [twifkak comc] Except I'm an idiot. Nevermind. The short answer is 'no', but maybe it

^ Loading XML file from web
151318 [Singee15 gma] I am looking to open an xml file from the web.
151320 [szymon.rozga] This is pretty much straight from the documentation of Net::HTTP
+ 151323 [james_b neur] Or use open-uri.
+ 151326 [kevin.olbric] How about this....
+ 151332 [Singee15 gma] Thank you, yours was the one which worked. The others caused parsing

^ drb server using file/tail to read file, and update client?
151324 [caldridge gm] I'm probably doing something completely stupid which is why I'd like
151387 [mrcode netro] If I understand your problem correctly, the issue is that you now have to
+ 151409 [vjoel path.b] IIRC, the client can also call a method with a block. The block is
| 151432 [vjoel path.b] ==== svr.rb ====
| 151450 [caldridge gm] Got it Joel.
| 152147 [caldridge gm] Joel, FYI -- This worked GREAT!   :-)   Thank you!!!!!!!!!!
+ 151429 [caldridge gm] Thank you for your response..

^ local/non-local return of a Function class (was Storing a block and calling it later...)
151347 [transfire gm] Yea, I need to read that over. I'm starting to get a better picture...

^ FXRuby's FXCursor broken on Windows?
151351 [GGarramuno a] I'm trying to use FXRuby's FXCursor with no success.  The call is
151357 [cribbsj oakw] Works fine for me on Windows.
151359 [cribbsj oakw] Oops.  Sorry, didn't read your message clearly before I responded.  Now

^ Ruby syntax highlighting in vim
151355 [docboobenste] Greetings!
+ 151362 [nohmad gmail] Not so exactly, but I've had similar problem with 'end'.
+ 151370 [dougkearns g] This was fixed a long time ago but unfortunately didn't make it upstream
| + 151373 [docboobenste] Thanks! I'll do so.
| + 151488 [snowzone5 ho] it's not working for 6.3.86, compiled from source and all current
|   156207 [dougkearns g] Sorry for the late reply.
+ 151487 [snowzone5 ho] it does this with 6.3.86 (compiled with vc++6.0 on winxp) also.
threads.html
top