101841-102893

101598-102625 subjects 102066-103173

^ Distributed wiki idea
101841 [carl youngbl] ...
101844 [neoneye adsl] You may want to check your mail-client.

^ macosx and QT
101849 [jm transact.] Has anyone succeeded in getting QT 3.3.2 on Mac OS X to work with ruby?
101966 [emmanuel.tou] ruby-qt2 is AFAIK obsolete and unmaintained. for framebuffer, i don't

^ [bug] String#split returns extra empty string
101852 [neoneye adsl] While extending my own regexp-engine with a split method,
101858 [neoneye adsl] [10 minutes of experimenting later]
101874 [bob.news gmx] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
101877 [neoneye adsl] Guy Decoux very recently explained that to me.
101930 [bob.news gmx] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
101938 [neoneye adsl] Let take another example both with leading and tailing empty strings.
101953 [dblack wobbl] irb(main):006:0> "one two three ".split(" ")
101983 [flgr ccan.de] Moin!
101986 [dblack wobbl] I'm not sure what you mean; what trouble does it cause?

^ mysql-ruby
101853 [paul vudmask] %$@#%$ i know i've abused this list with more questions than answers but
+ 101862 [mneumann nte] Could you please send the exact output of extconf.rb as well as with
| 101864 [trash philke] ...
| 101866 [mneumann nte] Sorry, this was no attempt to blame Redhat.
+ 102000 [rasputnik he] Attaboy :)
  102017 [paul vudmask] Took me awhile but i figured that out. It is not exactly clear from any
  + 102019 [trash philke] ...
  | 102021 [paul vudmask] I wish this were the case. However i did point to the _correct_
  + 102157 [rasputnik he] Not your fault, it's RedHats. Having the headers in a separate RPM
    102181 [paul vudmask] I certainly can agree.
    102195 [trash philke] ...
    102204 [paul vudmask] /usr is in the root.

^ [bug] String#split wipes result
101854 [neoneye adsl] Another delicate problem.
101867 [decoux moulo] ...
101870 [neoneye adsl] Ahh.. I see.  I just wondered what was going on.

^ elegant way to say "try this thing, one at a time, until condition is met"
101855 [lists zara.6] there are some opened files from those partitions. I am going to try
+ 101859 [sdmitry lrn.] # emulating condition
| + 101868 [trash philke] ...
| | 101903 [sdmitry lrn.] It's just an emulation of how umount /usr will possibly work, probably it will unmount
| + 101876 [bob.news gmx] "Dmitry V. Sabanin" <sdmitry@lrn.ru> schrieb im Newsbeitrag
|   101902 [sdmitry lrn.] Damn C background.. I always forget about this thing. Thanks, Robert
|   101932 [bob.news gmx] "Dmitry V. Sabanin" <sdmitry@lrn.ru> schrieb im Newsbeitrag
|   101974 [lists zara.6] Agreed, it's generally wrong in most languages to use equality test for
|   101978 [bob.news gmx] "David Garamond" <lists@zara.6.isreserved.com> schrieb im Newsbeitrag
|   101980 [lists zara.6] Alas, I actually didn't even think about C when writing this :-) Was
|   + 101981 [bob.news gmx] "David Garamond" <lists@zara.6.isreserved.com> schrieb im Newsbeitrag
|   + 101988 [dblack wobbl] gateway test....
|   + 101989 [dblack wobbl] gateway test....
+ 101860 [nobu.nokada ] count = 0
| 101869 [lists zara.6] Thanks to all. I like this one best :-) The 1, 2, 3, ... clearly shows
| 101882 [walker letha] By the way ...
| 101888 [lists zara.6] Of course. Thanks. I tend to forget that too many times already :-)
+ 101863 [walker letha] Use a flow control that allows arbitrary exits. Such as returns and breaks
+ 101918 [vjoel PATH.B] Here's another way. I love how ruby lets you define control structures,
+ 101943 [phubuh phubu] This is how I'd do it.
  102024 [kgergely mcl] Just guessing, but can't we somehow utilize, that a block can be

^ Re: elegant way to say 'try this thing, one at a time, until condition is met'
101856 [gsinclair so] Lightly skimming the post, but answering the title, will these approaches do?
101857 [gsinclair so] Lightly skimming the post, but answering the title, will these approaches do?

^ Re: Object#collect was Re: [RCR] Numeric#of
101861 [surrender_it] should'nt this be Kernel::collect?
+ 102058 [aero6dof yah] I had one suggestion which I think was lost in the recent gateway
| + 102060 [ahoward noaa] i see your point, but my original idea was not only for constructing objects,
| + 102062 [kristof vlee] Yes, in fact it already works with the new call ;-)
|   102094 [aero6dof yah] Yes, but can you do it for any object?
+ 102082 [dblack wobbl] I don't think "collect" is suitable as all-purpose/top-level method.

^ gateway test -- starting a ruby-talk thread
101880 [dblack wobbl] Gateway test... initiating ruby-talk thread.  Ignore.

^ variable -- set value
101885 [orbit klient] Whot can I set value for variable which name cosist ather variable?
+ 101887 [decoux moulo] ...
+ 101929 [bob.news gmx] "orbit" <orbit@klientsky.ru> schrieb im Newsbeitrag
+ 101973 [orbit klient] I want, that as in Perl was
  + 101975 [mneumann nte] Hm, I don't really understand this code without straining my mind.
  + 101977 [bob.news gmx] "orbit" <orbit@klientsky.ru> schrieb im Newsbeitrag
  + 101998 [discord mac.] b=a="test"
  | 102329 [angel tyrex.] 'Object#self=' class??
  | 102334 [Austin.Ziegl] foo   = "bar"
  + 101999 [michael.camp] I think that even the royal perl monarchy discourage the use of
    102002 [msparshatt y] They do, but that example is a hard reference which isn't discouraged.
    102026 [michael.camp] Ah, right you are.  Been a while since I did much with perl.

^ ICFP Contest Reminder
101892 [jnfoster sea] There are less than 4 days until the start of the 2004 ICFP

^ Ruby Lexer
101897 [eule space.c] Ruby Lexer for SciTE Code Editor 0.8 is available from
+ 101900 [joaopedrosa ] I didn't mention any support for @instance variables
+ 101914 [sdate everes] ...
  + 101913 [sdate everes] ...
  + 101952 [joaopedrosa ] First of all, "I didn't mention" was supposed to be

^ [ANN] RMagick available on Windows
101899 [cyclists nc.] Thanks to Kaspar Schiess, RMagick for Windows is now available at
+ 101901 [joaopedrosa ] I'm looking forward to using it.
+ 101908 [carl youngbl] ...
| 101937 [gsinclair so] This is currently supported.  I don't know how well it works on
| 101941 [carl youngbl] ...
| + 101944 [gsinclair so] I certainly agree that the ability to compile things on Windows is
| | + 101976 [curt hibbs.c] I disagree. Binaries are the way to go on Windows. The few who want to
| | + 102279 [me christlti] The compiler alone is only capable of compiling ANSI C/C++, which means
| |   102304 [carl youngbl] As I recall there were some problems with the MinGW compiler's build of
| + 101971 [eule space.c] This is a reasonable request for most extensions that are just
+ 101942 [flgr ccan.de] Looks very nice. Thanks for this!
  101972 [eule space.c] Thank you, this is a good idea. Changed.

^ Problems making UTF-8 text XML/XHTML friendly (no entity conversion?)
101906 [thomasNOMORE] I'm downloading information from a website in UTF-8, but I want to
101912 [angus quovad] [Thomas Str?mberg <thomasNOMORESPAM@stromberg.org>, 2004-05-31 20.03 CEST]

^ clarify README.EXT regarding symbols
101921 [vjoel PATH.B] I'd like to propose a clarification for README.EXT, after forgotting

^ test - please ignore
101922 [carl youngbl] trying to figure out why Mail.app was sending blank emails...

^ Distributed wiki idea (was blank--resending)
101923 [carl youngbl] For a while now I've been really excited about using wikis to store my
+ 101927 [david loudth] This has actually been a long time dream for Instiki right from the
| 101928 [carl youngbl] ...
| 102063 [bg-rubytalk ] Well there's nothing about rendezvous that's fundamentally tied to OS X.
| + 102075 [carl youngbl] ...
| | 102079 [guslist free] That's one domain where Apple has been pretty smart lately, taking full
| + 102118 [surrender_it] if you look on the subethaedit website you'll find reference to papers
+ 102344 [jamesUNDERBA] I have local Ruby wiki that calls out to CVS to sync various home PCs.

^ getting mimetype of a file
101925 [segphault sb] anybody know how to get the mimetype of a file in ruby?
+ 101926 [mneumann nte] Regards,
| 101935 [Austin.Ziegl] Note that this utility will only provide information based on the
+ 101936 [shu rufuran.] know where it is.

^ adodb and ruby
101934 [greg brondo.] ...

^ [ANN] RubyGems 0.4.0
101940 [chad chadfow] RubyGems 0.4.0 was released yesterday

^ Database vs Filesystem
101945 [sven_schott ] I am writing a very simple web based file/asset manager. I was
+ 101964 [surrender_it] did you considered using PStore (a simple file based DB that workds
| 102057 [sven_schott ] Pstore is a bit too simple as I need something that handles multiple
| + 102059 [vjoel PATH.B] As an alternative to PStore, there is my FSDB library[1]. Like PStore,
| | 102091 [ahoward noaa] i was just checking this out today joel - very cool.
| + 102064 [gsinclair so] I'd be extremely surprised if any database could give you the data faster
| + 102087 [opengeometry] ...
+ 101967 [mneumann nte] No, you would want to store the file in a BLOB column of your database.
+ 101968 [bob.news gmx] "Sven Schott" <sven_schott@compnow.com.au> schrieb im Newsbeitrag
+ 101996 [rocioestrada] Having done a gallery-like webpage, both using FS and DB(mysql), I would
+ 102020 [greg brondo.] ...

^ What's wrong with modruby?
101947 [xrfang hotma] For 2 days, I can't visit www.modruby.net, anyone know what's happening?
101955 [shugo ruby-l] ...
+ 101956 [shugo ruby-l] ...
+ 101962 [xrfang hotma] Thanks for the info. I would like to download the tgz files, as it is
  102095 [shugo ruby-l] Please download from http://rrr.jin.gr.jp/download/modruby.net/.

^ DBI question - last inserted id?
101951 [ninux earthl] For the Ruby DBI experts out there...
101954 [paul vudmask] dbh.func(:insert_id)
102190 [detlef.reich] is this portable to other db's?
102205 [paul vudmask] Actually, no. In postegre you must run sql to get the last id much as

^ capability-secure Ruby?
101958 [derick_eddin] days ago so forgive my ignorance) motivated by a desire to learn if it can be a
101987 [flgr ccan.de] Moin!

^ Gateway appears to be working!!
101991 [dblack wobbl] Fingers crossed (bzw. Daumen halten) -- Dennis and I have just had an
+ 101992 [dblack wobbl] And I can even reply to messages that already exist!  Yee-haw!
| + 101993 [guslist free] We are dying to know: what did you change? What was the problem?
| | 101995 [oelkers zrz.] <excuse>
| | + 101997 [bob.news gmx] First of all: Dennis and David, thank you very much!
| | + 102001 [guslist free] Thanks to you all for solving it.
| | + 102016 [flgr ccan.de] Moin!
| | + 102023 [burtdav hotm] ...
| | + 102104 [martindemell] ...
| |   102105 [neoneye adsl] I also vote yes.
| + 102052 [neoneye adsl] Congrats.. utopia has become real.
+ 101994 [gsinclair so] Well, premature or not, I'd just like to thank you guys for the
+ 102011 [joaopedrosa ] Great news! :-)

^ stable snapshot
102003 [Ara.T.Howard] i just got a new machine and wanted to build the latest stable...  anyone have
+ 102004 [andrew walro] Wait up a few more hours; New ww enabled version is ready to go as soon as my
| 102005 [andrew walro] Disregard; Got very confused between ruby/rubyx whilst reading email - Sorry!
+ 102040 [vjoel PATH.B] ...
  102045 [ahoward noaa] thanks joel!

^ Problems making UTF-8 text XML/XHTML friendly (no entity conversion?)
102006 [ser germane-] You have to tell REXML that you want ASCII output, and write the

^ What is the equivalent of Python's "%s" % "MyString"?
102028 [ssk chol.nos] ...
+ 102031 [Gavri_F info] s = sprintf("My name is %s and my age is %d", "Sam", 34)
+ 102033 [mneumann nte] s = "My name is %s and my age is %d." % ["Sam", 34]
| 102098 [bob.news gmx] "Michael Neumann" <mneumann@ntecs.de> schrieb im Newsbeitrag
| 102113 [kristof vlee] I don't think that's the output he wanted.  He wanted
| 102125 [bob.news gmx] "Kristof Bastiaensen" <kristof@vleeuwen.org> schrieb im Newsbeitrag
| + 102148 [Austin.Ziegl] Yes, please, Nobu.
| | 102150 [Austin.Ziegl] For I18N, a facility like this is essential, as different languages
| | 102192 [hal9000 hype] Do you consider it essential to have the items named? Or is it
| | 102199 [Austin.Ziegl] I believe it is more meaningful to have the items named. I just
| + 102178 [kristof vlee] That's nice, but unfortunately it doesn't take into account
|   102206 [bob.news gmx] "Kristof Bastiaensen" <kristof@vleeuwen.org> schrieb im Newsbeitrag
|   102230 [botp delmont] I think the op implied late binding or late generation of string and
|   102235 [assaph avaya] This also doesn't take care of complex formats, like "%-6.3f". Could
+ 102035 [hal9000 hype] Others have answered your original question, I think.
+ 102038 [surrender_it] maybe even sprintf() can help you :)
+ 102061 [kristof vlee] Good!
+ 102068 [nobu.nokada ] I proposed that feature once in [ruby-dev:16351], though
  + 102092 [paul vudmask] That would be a nice feature. And it struck me that perhaps you could
  + 102102 [GGarramuno a] Do you have an example on how would you use this?  I ask because I
    + 102155 [ser germane-] Not that I'd vote for the RCR, but here's something that you can't
    + 102158 [ssk chol.nos] ...
      + 102162 [dblack wobbl] I wouldn't describe it as a drawback, though; it's just what that
      | 102169 [Austin.Ziegl] For this sort of situation, you may want to use a full-blown templating
      + 102513 [gltewalt yah] what about?...
        102559 [bob.news gmx] "illocutionist" <gltewalt@yahoo.com> schrieb im Newsbeitrag

^ mod_ruby download mirror?
102029 [martin zsdfh] anybody know where I can download the latest tgz of mod_ruby?  the
102034 [martin zsdfh] Sorry - bad form to reply to my own post - i've found one.

^ [Ruby2]how to dynamically attach :pre :post :wrap ro methods?
102032 [surrender_it] Loooking forward to the syntax
102039 [batsman.geo ] See

^ EURUKO 2004 status update
102036 [mneumann nte] We've not found any rooms in Karlsuhe, yet.

^ TOPLEVEL_BINDING broken in Ruby 1.9 (CVS)
102037 [trash philke] ...
102053 [nobu.nokada ] I expect it has been fixed.
102128 [trash philke] ...

^ Blocks and Closures
102042 [alexmchale g] If this is covered elsewhere, please point me in the right direction.
+ 102044 [vjoel PATH.B] def foo(*args, &bl)
| 102046 [alexmchale g] Alright, while that is very confusing to me (not the concept, I
| 102047 [vjoel PATH.B] You're right, there's no reason to use the &bl notation. You can use the
| + 102048 [alexmchale g] Oooh I understand now.  In fact I had given my own answer initially,
| + 102054 [gsinclair so] Just a note for the OP.  The following example shows the advantage of
|   102055 [vjoel PATH.B] Slight nit: 'bar(block)' should be 'bar(&block)', if you want to
+ 102049 [flgr ccan.de] Hope this helps. :)

^ Obfuscating Ruby Code.
102050 [kenosis comc] ...
+ 102051 [hash_bang re] You could just let me write the program for you.  That should keep anyone
| 102065 [kenosis comc] ...
| + 102069 [walker letha] Err ...
| | 102077 [billk cts.co] I imagine the obfuscation would include translation of once-
| | + 102100 [bob.news gmx] "Bill Kelly" <billk@cts.com> schrieb im Newsbeitrag
| | | 102107 [andrew walro] It would be childs play to extract the private key from the interpreter
| | | 102123 [bob.news gmx] "Andrew Walrond" <andrew@walrond.org> schrieb im Newsbeitrag
| | | 102127 [mailinglists] But you must provide the decryption code. And whatever you do, you only
| | | 102130 [walker letha] Why even bother modifying the ruby source?
| | | 102131 [mailinglists] At some time you must call into the ruby.dll/ruby.so and pass the
| | | 102133 [walker letha] 30? Padding your estimate a bit, aren't you?
| | + 102114 [mailinglists] I would also like to see something like this.
| |   102245 [mailing-list] ...
| + 102073 [dooby d10.ka] ...
| | 102080 [jm transact.] How about supplying a modified ruby interpreter? The only difference
| + 102076 [billk cts.co] I'm very interested in this, and would be willing to help if I
|   102093 [carl youngbl] ...
+ 102103 [mneumann nte] Take a look at bRuby. It can dump the interal node-tree and then load it
| 102115 [mailinglists] But this is easy to reverse. It does not much more then removing the
| 102119 [mneumann nte] Hm, I thought, a node-dump does not contain the variable names (local
| 102120 [mailinglists] Look at "node.h". The nodes store ID values which are atoms (integers
| 102121 [mneumann nte] Hm, but you could replace all "method_name" methods with
| + 102126 [mailinglists] The main problem comes with the dynamic nature of ruby. Other people
| + 102343 [timsuth ihug] ...
|   102347 [mailinglists] Right, things like this bites you not only in an Obfuscator Tool but
|   102349 [jm transact.] Couldn't obfuscation be viewed as a kind of negative refactoring? In
+ 102122 [news.home.nl] Wouldn't it be possible to convert the ruby code to C code? Each ruby
+ 102143 [djberg96 hot] This obfuscated enough?
| + 102144 [dblack wobbl] ruby -e 'require "crypt/fog"; puts eval(Crypt::Fog.decrypt(......)'
| | 102145 [dblack wobbl] puts Crypt::Fog.decrypt....
| + 102163 [trash philke] ...
|   102228 [djberg96 hot] 1) Put above code in file
|   + 102229 [carl youngbl] So does this mean that he should ask his client, to whom he is selling
|   | 102270 [sroberts uni] And tell his customers that they aren't allowed root access to their own
|   + 102257 [lists zara.6] Sorry, but this is getting sillier and siller :-)
|   | 102290 [kenosis comc] ...
|   | 102311 [will cs.bu.e] ...
|   | + 102317 [mailinglists] This is not obfuscated ruby. As i said it takes 3 min to add the
|   | | + 102319 [mailinglists] uups, of couse it should be
|   | | | + 102320 [Austin.Ziegl] Actually, yes, it is. Obfuscated != pirate-proof. Obfuscated != hard
|   | | | | 102321 [dmartenson m] Ruby Programmers Unite -- Eschew Obfuscation!!
|   | | | | 102328 [vjoel PATH.B] Sounds like something Strunk and White would say.
|   | | | | 102353 [kenosis comc] ...
|   | | | + 102323 [kenosis comc] ...
|   | | + 102324 [will cs.bu.e] ...
|   | |   102327 [mailinglists] It does not really take more then 3 minutes if you have a scriptable
|   | + 102326 [Ruben.Vandeg] The problem is that you have the original code in memory as you run
|   + 102892 [jim freeze.o] Wouldn't a challenge/response system or private/public key encryption be better?
+ 102151 [djberg96 hot] eval(Crypt::Fog.decrypt(......)'
| + 102153 [billk cts.co] Hehe... See, that's cheating.  <grin>  Contest rules should
| + 102156 [dblack wobbl] I'm assuming that if people running the program know that they have to
| + 102159 [sroberts uni] Not fair.  Send me a working example of it running, as you would do if
| + 102188 [michael.camp] Where does obfuscation stop and encryption begin?
|   102189 [dblack wobbl] I think (for this purpose anyway) encryption is one form of
|   + 102193 [rohitlodha h] I would refer to code that is 'difficult to read' by humans but is 'normal'
|   + 102893 [jim freeze.o] Encryption may be a form of obsfuscation, but obsfuscation
+ 102238 [kenosis comc] ...
  102307 [web jimmoy.c] If that's the goal, why not use exerb with the ZLib option turned on?
  102318 [mailinglists] All this methods are killed with my 3 minutes 4 line hack.
threads.html
top