108451-109036

108190-110168 subjects 108686-109329

Ruby-Gtk+ QuestionsSubject:
108451 [dejaspam@ba ] I've been looking into Ruby-Gtk and I'm very impressed with what I've
+ 108452 [phubuh@ph bu] Try #gtk+ on irc.gnome.org.
+ 108459 [paul@lu n. e] For me it works very well.. the Ruby/GNOME2 Project is progressing
  108494 [laurent.sans] It should be easy to ship a theme with your application, and force it
  108496 [Roland.Schmi] GTK works fine for me, but I never managed Libglade to work on win32. Can you explain a bit more or post some URL to get Libglade work on win32?

License Discussion Rehash (WAS: Re: Amazing GUI toolkit with visual designer & Ruby Integration)
108466 [drossruby@ya] Dicussions from GUI Threads include

%w for symbols
108486 [k@v2 tu io c] Is there any similar notation to %w[ word word2 word3 ] that returns an
+ 108487 [neoneye@ad l] %w(a b c).map{|i|i.to_sym}   #=> [:a, :b, :c]
| 108488 [k@v2 tu io c] I guess that pretty much misses the point, otherwise I could just go
| 108489 [martindemell] are you trying to avoid creating the intermediate strings?
| 108490 [k@v2 tu io c] Ideally, yes. But I'm just looking for convinience.
+ 108506 [halostatue@g] It seems common enough that it might be nice to have this. Perhaps
  + 108508 [flgr@cc n. e] irb(main):006:0> %W{1 #{1+1} 3}
  | + 108513 [gsinclair@so] And ['foo', 'bar', 'qux'] isn't?
  | + 108515 [halostatue@g] %s(1 2 3) is shorter than [:"1", :"2", :"3"] for any given version.
  |   108523 [ahoward@no a] i use them both in almost every program - and would like to see a symbol
  + 108512 [gsinclair@so] I don't object to the feature either.  I think %s{} makes more sense,
    108520 [drbrain@se m] nyway?
    + 108525 [dblack@wo bl] That actually points to another thing I was wondering about, namely,
    | + 108527 [k@v2 tu io c] I guess the usual %m{abc hi\ there}
    | + 108529 [ahoward@no a] we are already down that path
    |   + 108535 [dblack@wo bl] OK... but that's not exactly the same as the question of the costs and
    |   + 108556 [vjoel@PA H. ] Wellll...
    |   + 108560 [discord@ma .] %w(abc hi\ there)
    + 108526 [k@v2 tu io c] %i then? (intern)
    + 108528 [discord@ma .] %sw( these are symbols )
      108531 [k@v2 tu io c] I like it.

[ANN] rpa-base 0.2.0
108491 [batsman.geo@] rpa-base 0.2.0 is now available at http://rpa-base.rubyforge.org .
+ 108501 [botp@de mo t] I'm just curious, but how is this (cool thing) done? =)
| + 108507 [drossruby@ya] When ruby runs it loads the scripts into memory.
| + 108510 [batsman.geo@] It is packaged as just another port; rpa-base is generic enough to handle
|   108667 [demerzel@gm ] Looks good so far. It bootstrapped fine, but I'm not able to download
|   108675 [batsman.geo@] It will use the proxy specified in the environment variable "http_proxy".
|   108788 [npoly_iki@ya] I am using a mingw version of ruby (1.8.1)  and I had to add
|   108803 [batsman.geo@] Thanks for your report, I had only tested it on cygwin and the
|   108905 [npoly_iki@ya] Thanks!
|   108906 [batsman.geo@] The tarball/zip with 0.2.0a you can find on Rubyforge.org has now
+ 108722 [vjoel@PA H. ] # rpa install ri-rpa
  + 108726 [batsman.geo@] Can't reproduce with
  + 108730 [batsman.geo@] This is very strange, cause
    108749 [vjoel@PA H. ] Tried to run it in gdb to see where it was when exit() was called, but
    108751 [batsman.geo@] Could you try to run it with --debug, to get a backtrace?
    + 108763 [vjoel@PA H. ] Found it... there was an install.rb on my lib path that was being loaded
    | 108772 [batsman.geo@] Thanks a lot for squashing this bug :)
    + 108770 [GGarramuno@a] Mauricio, I tried your rpa-base and I admit I loved it, as it really
      108779 [batsman.geo@] I have to say that cpan.pm is NOT the model rpa-base is based on. The
      108783 [  jani@iv ro] could it preserve the downloaded files then in something like distfiles ?
      108785 [batsman.geo@] Yes, it will soon cache the .rps (port) files. Currently, only the .rpa

Re: [OT] microphone (was [ANN] Rails 0.5.5: Windows, WEBrick, lots!)
108493 [robertm@sp l] Thats okay David (I just did the same till emptying my mail box), thanks for taking the time to answer.

a bit [OT]: table definition with rubyDBI
108495 [r_mueller@im] I'm very happy with rubyDBI (thanks michael). Especially  DBI::Utils::XMLFormatter.table is great.
108499 [mneumann@nt ] We have the method column_info, but this does not include whether a
+ 108503 [Roland.Schmi] SELECT * FROM SYSODBCCOLUMNS where TABLE_NAME='xxx_table'
| 108504 [botp@de mo t] Are you using MaxDB in sapR3? just asking..
| 108505 [Roland.Schmi] No, only the core stand-alone database from www.mysql.com, formerly known as SapDB.
+ 108519 [r_mueller@im] SHOW KEYS FROM <dbname>.<tablename>

[ANN] Preliminary Ruby Production Archive -- over 100 packages available
108497 [batsman.geo@] rpa-base 0.2.0 is now available at http://rpa-base.rubyforge.org .
108500 [neoneye@ad l] [snip  many packages]

ri bug -- might be Windows only
108511 [halostatue@g] I am preparing for a Diff::LCS 1.0.3 release because of a bug report
108599 [dave@pr gp o] Did you use the --merge option?
108626 [halostatue@g] ...
108635 [batsman.geo@] The modified ri distributed via rpa-base (ri-rpa) isolates completely the

[ANN] Rails 0.6.0, Active Record 0.9.3, Action Pack 0.7.9
108518 [david@lo dt ] I gather that most people are now familar with the RoR suite, so I'm
+ 108532 [sarahtanemba] Cool, but does RoR runs under ruby win32?
| 108536 [david@lo dt ] Sure does! And have since 0.5.5. Enjoy.
+ 108561 [batsman.geo@] actionpack   0.7.9-1  A control-flow and template package for the VC part of MVC.

I want to use ruby, but I don't think I can... help
108522 [michael@ha e] This email is sort of a public cry for help.  As a language I really
+ 108530 [ahoward@no a] you should post them as you find them - this group is generally extremely
+ 108537 [rcoder@gm il] Michael,
+ 108538 [probertm@no ] Post the problem.  There are many people on the list that can help with
+ 108540 [djberg96@ho ] This *could* be an issue with sockets and blocking.  Jean-Francois
  108546 [michael@ha e] Thanks for all the replies and suggestions.  They were very
  108549 [michael@ha e] I think I just figured out my own problem.  I needed to do a
  + 108554 [ahoward@no a] i had a professor who used to advocate explaining bugs to one's dog.  after
  + 108559 [vjoel@PA H. ] Strange... on my system, $stdout.sync is true, and so output is
    108566 [michael@ha e] On my system it is set to false.  I am using 1.8.2 preview 4 if that
    108567 [cmills@fr es] => true
    108568 [vjoel@PA H. ] Ouch! Burned again by checking something in irb....

Setting up Rails on IIs
108539 [ kot@ko .c m] anyone who can help me get this going?   i hanvent had much luck past the
108545 [david@lo dt ] What's a "II"? Anyway, the fastest way to get up and running if you're
+ 108547 [eyez@il uz o] Microsoft's IIS webserver.
| + 108550 [curt@hi bs c] For those who care, it Microsoft's Internet Information Server.
| + 108552 [david@lo dt ] Ahh. I'm not used to Microsoft slang. Apologies.
|   108614 [asdasd@sd d.] at this point its not a matter of what i prefer.  unfortunatly, im stuck
+ 108548 [phubuh@ph bu] You mean FreeNode, I assume.  The IRC server is at irc.freenode.org.

strings vs. symbols [WAS] Re: %w for symbols
108551 [ahoward@no a] require 'tempfile'

Defining a new function by composition
108553 [ehames@gm il] I would like to add a method to the Array class, say Array#pop! which
108558 [bob.news@gm ] "Edgardo Hames" <ehames@gmail.com> schrieb im Newsbeitrag
108562 [ehames@gm il] I imagined this. But, I thought you were going to surprise me with a
+ 108563 [msparshatt@y] Though this won't do what you want since there isn't a method split! for
| + 108564 [ehames@gm il] Since there is a method push which modifies the receiver, I believe
| | 108569 [angus@qu va ] [Edgardo Hames <ehames@gmail.com>, 2004-08-06 23.36 CEST]
| + 108565 [msparshatt@y] that should of course be
+ 108576 [bob.news@gm ] "Edgardo Hames" <ehames@gmail.com> schrieb im Newsbeitrag

[ANN] Raleigh, North Carolina Area Ruby Users Meeting
108570 [nathaniel@ta] etc., etc.) of North Carolina
108572 [ng@jo nw on ] Very cool! If only I lived in NC.

[rcr] epsilon string escaping in %W()
108577 [neoneye@ad l] often I use the %W(a b c d e f) for quickly making an array of strings.
108578 [neoneye@ad l] dblack suggested   %W(a b c #{} d e f)

[ANN] RubyConf 2004 Keynote - Brad Cox
108579 [chad@ch df w] ...

const_defined? raises NameError ?
108581 [lopexx@au og] Given a const how can I check whether the const exists
108582 [dblack@wo bl] if defined?(SomeConst)
108583 [lopexx@au og] Thanks for Your answer, but I think the first question is still open
108584 [decoux@mo lo] const_defined? is a method of Module, not Kernel
108585 [lopexx@au og] Ups, that's wright :)

ANN: Iowa 0.9 Released
108589 [khaines@en g] A new version of the Iowa web application framework has been released.  This
108611 [ahoward@no a] kirk-
108615 [khaines@en g] Iowa is a framework for creating web apps and dynamic web content.  It's
+ 108620 [mneumann@nt ] This sounds really good. But is it possible to generate "real" images
| + 108623 [mneumann@nt ] May I ask another question? ;-)
| | 108629 [khaines@en g] Right.  Each seperate request is handled by a thread that terminates after
| + 108627 [khaines@en g] That's the idea.  David just sent me his stuff a week or so ago, and I've
| + 108653 [khaines@en g] Okay.  I worked on this a bit today, and it has proved pretty simple.
+ 108699 [ahoward@no a] so, in essence, the 'middle bit' of mod_ruby, fcgi, or cgi is needed to lookup
  108705 [khaines@en g] Yep.  The middle bit is just a transport mechanism to get the request from
  108718 [ahoward@no a] and, of course, the mod_fastcgi module doesa all of this (including session

RubyGems question: Knowing the correct name for add_dependency
108590 [jamesUNDERBA] I'm trying to write a gemspec file.  My code depends on Austin Ziegler's
108595 [jim@we ri hh] The first argument should be the base name of the gem without version or
+ 108596 [halostatue@g] project. It's there now, which means it will be in the repository
+ 108598 [jamesUNDERBA] What is the "base name" of a gem?  Given "FooBar.gem", is it "FooBar" ?
  108602 [jim@we ri hh] Given foobar-1.2.0.gem, it would be foobar.  Sorry, I should have been

executable file generated by exerb
108594 [gene.leung@g] I wonder the ruby source code can still be seen after the code compiled
108597 [billk@ct .c ] Currently the source is visible inside the .exe...
108630 [lymans@gm il] Yes, you can see your code inside an EXE that was 'packaged' by exerb

Xenon 2
108604 [garycameron@] Quite simpily the best shootemup ever!

[ANN] Rails 0.6.0 as GEM: Celebrating 1,000 downloads!
108605 [david@lo dt ] I'm really on vacation, but through my 2kb/sec GPRS connection from the

ruby editor component
108608 [roelandmoors] I'm thinking of writing an IDE for a microcontroller.
+ 108609 [vincent.isam] You could maybe use Scintilla: http://scintilla.sourceforge.net/
+ 108610 [joaopedrosa@] - GtkSourceView - which doesn't have a port to Windows
  108616 [roelandmoors] This look nice. Not a lot of features, but this may be an
  108617 [roelandmoors] I think we have a winner :-)
  108619 [Mike@Ge ry c] Regarding GtkSourceView vs. Scintilla, be sure to note the licensing
  108673 [roelandmoors] The only disadvantage are the missing ruby bindings.
  108688 [curt@hi bs c] If you do decide to do this, you might want to take a look at FreeRIDE's

[ANN] Sponsorship opportunities for RubyConf 2004
108612 [dblack@wo bl] Dear Ruby Community,

Cardinal version 0.1.0 released
108613 [msparshatt@y] Version 0.1.0 of Cardinal can be downloaded from here

Iowa 0.9 available in the prelim. Ruby Production Archive (was Re: ANN: Iowa 0.9 Released)
108618 [batsman.geo@] I have just uploaded Iowa 0.9 to the preliminary Ruby Production Archive

Unit-testing a Web Application
108621 [dejaspam@ba ] I'm writing a web app in Ruby that I'd like to be able to unit-test.
+ 108628 [jamesUNDERBA] I have an approach, acquired by stealing what seemed to be the best
+ 108658 [patrick@he a] I'm would go so far as to recommend what the right solution is.  Narf
+ 108666 [david@lo dt ] In Rails, you can test your application at all three layers of the MVC.

Getting Rublog
108622 [dejaspam@ba ] I'm thinking about using Rublog to create a weblog, but I'm not sure
108624 [dave@pr gp o] Check out the CVS - the SourceForge project is dead (is it possible to
108707 [tom@in oe he] Another way is just to set all the releases to "hidden" and change the

[ANN] Ruby-GNOME2-0.10.0
108625 [mutoh@hi hw ] Ruby-GNOME2-0.10.0 is out.

emacs mode: %Q!....! doesn't get fontified
108631 [clr3.10.rand] Dear Ruby hackers,

FXRuby question: create a Link?
108632 [martin.anker] Is there a platform-independent way to create a clickable text that
108641 [lyle.johnson] For the "widget" portion of the question, I've used a frameless button

book recommendations
108633 [csshsh@st uc] do you guys have any recommendations of ruby books or books
+ 108639 [Stephan.Kaem] There's
| 108651 [jamesUNDERBA] The second edition is expected quite soon.
| 108737 [Joseph.V.Lau] Know of any more info on this?  Is it going to be released free online like
| 108739 [mailinglists] No.
| 108760 [jamesUNDERBA] Yes; worth doing.
+ 108922 [ jupp@gm .d ] Books in what language(s)? Japanese? English? German? As far as
  108935 [botp@de mo t] But I really hope the book will be released free (later). Gone will be the
  108936 [dave@pr gp o] Frankly, so do I. The plan is to release the previous version for free
  108942 [botp@de mo t] That is great news. Thank you in advance, sir Dave.

[ANN] Diff::LCS 1.1.0, Diff::LCS 1.0.4
108636 [halostatue@g] It is with pleasure that I announce the latest versions of Diff::LCS,
+ 108640 [batsman.geo@] I have just updated the package in the preliminary Ruby Production Archive
| 108664 [halostatue@g] The changes the Mauricio found have been checked in. I will be
+ 108662 [jm@tr ns ct ] As sad as it is I think you just made my day.

OSCON 's presentations somewhere?
108648 [surrender_it] I wonder if some of the speakers at the latest OSCON put the relative
108663 [ged@Fa ri MU] I've posted the slides from my session "Ruby for the Web: The Arrow Web

FirstEachLast, an extension to the Enumerable module.
108661 [john.carter@] I know somewhere is a collection of extensions to the enumerable module.
108669 [bob.news@gm ] "John Carter" <john.carter@tait.co.nz> schrieb im Newsbeitrag
108745 [john.carter@] Mostly output to other tools, like gnuplot, or for reports. Most time
108768 [bob.news@gm ] "John Carter" <john.carter@tait.co.nz> schrieb im Newsbeitrag
+ 108771 [martindemell] Can empty? be reliably implemented in terms of each for every
| 108842 [john.carter@] def empty?
| 108889 [bob.news@gm ] "John Carter" <john.carter@tait.co.nz> schrieb im Newsbeitrag
| 108923 [ummaycoc@gm ] I think the best solution would be to create some sort of objects to
| 108924 [ummaycoc@gm ] I also *just* decided this would be a good addition to
+ 108773 [ruby-lists@l] personally the idea of having a method taking 4 procs
  + 108774 [mneumann@nt ] blah.each_with_first_last {|element, pos|
  | + 108776 [mneumann@nt ] elsif inx < blah.size - 1
  | + 108844 [john.carter@] I like the cleaner syntax.
  + 108778 [bob.news@gm ] "Alexander Kellett" <ruby-lists@lypanov.net> schrieb im Newsbeitrag
    108780 [ruby-lists@l] notice my lack of agreement with myself in any case :)
    + 108784 [bob.news@gm ] "Alexander Kellett" <ruby-lists@lypanov.net> schrieb im Newsbeitrag
    + 108834 [pit@ca it in] module Enumerable

Problem with exception not beeing caught
108668 [mueller@ii .] Dear rubyists!
108671 [discord@ma .] When you don't specify an exception class to rescue from, it defaults
108672 [mueller@ii .] Ups!  Didn't think about that possibility!

postscript generation
108670 [martindemell] I'm trying to write a ruby program that will output a postscript
+ 108674 [    s@xs .d ] easy
| 108676 [martindemell] Thanks! I'd never heard of this, but it does indeed look ideal. My
| 108925 [martindemell] Okay, this was even easier than I thought :)
| 109036 [    s@xs .d ] great!
+ 108750 [ptkwt@ar cn ] Well, Tk's canvas can already outupt postscript.  I don't know if any
| 108764 [martindemell] I think Fox's can - there's a postscript device context listed in the
+ 108787 [sdate@ev re ] I have used it in the past and it worked like a champ !
  108805 [martindemell] Thanks - I've bookmarked this, though Lout is working out very nicely

Re: [ANN] aeditor 1.4
108680 [se@he at x. ] great work!
108681 [neoneye@ad l] the place at the line end where the newline (\n) are, I currently render a
108682 [eyez@il uz o] I think sascha was referring to hilighting things like \n and \t within
108684 [botp@de mo t] thanks for the aeditor and the rpa package. it took me just a few minutes to
108685 [neoneye@ad l] yes very clear.. unfortunatly I cannot get scrolling to work on windows. I
108691 [lymans@gm il] Well... as for your scrolling issue ( if you're talking about how with
108724 [lymans@gm il] I've looked over you website, and I think I can answer my own questions...
108742 [neoneye@ad l] Yes, this is pretty much the idea.
108743 [mailinglists] Now we need someone who will do the same for a HTML widget.
108744 [neoneye@ad l] I don't quite follow you here... why do you think so ?
108747 [lymans@gm il] I think Lothar is just saying that HTML rendering widgets are pretty
108748 [mailinglists] I was thinking about a Gecko reimplementation in pure Ruby.
threads.html
top