101598-102625 subjects 102066-103173
Distributed wiki idea
101841 [carl@yo ng l] ...
101844 [neoneye@ad l] You may want to check your mail-client.
macosx and QT
101849 [jm@tr ns ct ] 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@ad l] While extending my own regexp-engine with a split method,
101858 [neoneye@ad l] [10 minutes of experimenting later]
101874 [bob.news@gm ] "Simon Strandgaard" <firstname.lastname@example.org> schrieb im Newsbeitrag
101877 [neoneye@ad l] Guy Decoux very recently explained that to me.
101930 [bob.news@gm ] "Simon Strandgaard" <email@example.com> schrieb im Newsbeitrag
101938 [neoneye@ad l] Let take another example both with leading and tailing empty strings.
101953 [dblack@wo bl] irb(main):006:0> "one two three ".split(" ")
101983 [flgr@cc n. e] Moin!
101986 [dblack@wo bl] I'm not sure what you mean; what trouble does it cause?
101853 [paul@vu ma k] %$@#%$ i know i've abused this list with more questions than answers but
+ 101862 [mneumann@nt ] Could you please send the exact output of extconf.rb as well as with
| 101864 [trash@ph lk ] But he uses a package which is not installed "the Redhat way(tm)",
| 101866 [mneumann@nt ] Sorry, this was no attempt to blame Redhat.
+ 102000 [rasputnik@he] Attaboy :)
102017 [paul@vu ma k] Took me awhile but i figured that out. It is not exactly clear from any
+ 102019 [trash@ph lk ] Your problem is that MySQL 4 is installed the wrong way.
| 102021 [paul@vu ma k] 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@vu ma k] I certainly can agree.
102195 [trash@ph lk ] Are you sure that these are the right settings? What's the directory structure
102204 [paul@vu ma k] /usr is in the root.
[bug] String#split wipes result
101854 [neoneye@ad l] Another delicate problem.
101867 [decoux@mo lo] svg% ri String#split
101870 [neoneye@ad l] 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@za a. ] there are some opened files from those partitions. I am going to try
+ 101859 [sdmitry@lr .] # emulating condition
| + 101868 [trash@ph lk ] What's the sense in stopping only two services listed in an array which has
| | 101903 [sdmitry@lr .] It's just an emulation of how umount /usr will possibly work, probably it will unmount
| + 101876 [bob.news@gm ] "Dmitry V. Sabanin" <firstname.lastname@example.org> schrieb im Newsbeitrag
| 101902 [sdmitry@lr .] Damn C background.. I always forget about this thing. Thanks, Robert
| 101932 [bob.news@gm ] "Dmitry V. Sabanin" <email@example.com> schrieb im Newsbeitrag
| 101974 [lists@za a. ] Agreed, it's generally wrong in most languages to use equality test for
| 101978 [bob.news@gm ] "David Garamond" <firstname.lastname@example.org> schrieb im Newsbeitrag
| 101980 [lists@za a. ] Alas, I actually didn't even think about C when writing this :-) Was
| + 101981 [bob.news@gm ] "David Garamond" <email@example.com> schrieb im Newsbeitrag
| + 101988 [dblack@wo bl] gateway test....
| + 101989 [dblack@wo bl] gateway test....
+ 101860 [nobu.nokada@] count = 0
| 101869 [lists@za a. ] Thanks to all. I like this one best :-) The 1, 2, 3, ... clearly shows
| 101882 [walker@le ha] By the way ...
| 101888 [lists@za a. ] Of course. Thanks. I tend to forget that too many times already :-)
+ 101863 [walker@le ha] Use a flow control that allows arbitrary exits. Such as returns and breaks
+ 101918 [vjoel@PA H. ] Here's another way. I love how ruby lets you define control structures,
+ 101943 [phubuh@ph bu] This is how I'd do it.
102024 [kgergely@mc ] 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@ya ] I had one suggestion which I think was lost in the recent gateway
| + 102060 [ahoward@no a] i see your point, but my original idea was not only for constructing objects,
| + 102062 [kristof@vl e] Yes, in fact it already works with the new call ;-)
| 102094 [aero6dof@ya ] Yes, but can you do it for any object?
+ 102082 [dblack@wo bl] I don't think "collect" is suitable as all-purpose/top-level method.
gateway test -- starting a ruby-talk thread
101880 [dblack@wo bl] Gateway test... initiating ruby-talk thread. Ignore.
variable -- set value
101885 [orbit@kl en ] Whot can I set value for variable which name cosist ather variable?
+ 101887 [decoux@mo lo] Well, if you have the name of an instance variable you can use
+ 101929 [bob.news@gm ] "orbit" <firstname.lastname@example.org> schrieb im Newsbeitrag
+ 101973 [orbit@kl en ] I want, that as in Perl was
+ 101975 [mneumann@nt ] Hm, I don't really understand this code without straining my mind.
+ 101977 [bob.news@gm ] "orbit" <email@example.com> schrieb im Newsbeitrag
+ 101998 [discord@ma .] b=a="test"
| 102329 [angel@ty ex ] '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@se ] There are less than 4 days until the start of the 2004 ICFP
101897 [eule@sp ce 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@ev re ] I got the "File Not Found" error when I tried to visit this site.
+ 101913 [sdate@ev re ] Kaspar,
+ 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@yo ng l] thinking it would be really nice if it were even able to build binaries
| 101937 [gsinclair@so] This is currently supported. I don't know how well it works on
| 101941 [carl@yo ng l] I don't really see why. In unix-based systems the compiler is taken for
| + 101944 [gsinclair@so] I certainly agree that the ability to compile things on Windows is
| | + 101976 [curt@hi bs c] I disagree. Binaries are the way to go on Windows. The few who want to
| | + 102279 [me@ch is lt ] The compiler alone is only capable of compiling ANSI C/C++, which means
| | 102304 [carl@yo ng l] As I recall there were some problems with the MinGW compiler's build of
| + 101971 [eule@sp ce c] This is a reasonable request for most extensions that are just
+ 101942 [flgr@cc n. e] Looks very nice. Thanks for this!
101972 [eule@sp ce 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@qu va ] [Thomas Str?mberg <thomasNOMORESPAM@stromberg.org>, 2004-05-31 20.03 CEST]
clarify README.EXT regarding symbols
101921 [vjoel@PA H. ] I'd like to propose a clarification for README.EXT, after forgotting
test - please ignore
101922 [carl@yo ng l] trying to figure out why Mail.app was sending blank emails...
Distributed wiki idea (was blank--resending)
101923 [carl@yo ng l] For a while now I've been really excited about using wikis to store my
+ 101927 [david@lo dt ] This has actually been a long time dream for Instiki right from the
| 101928 [carl@yo ng l] Sounds cool, although one of the great things about instiki right now is
| 102063 [bg-rubytalk@] Well there's nothing about rendezvous that's fundamentally tied to OS X.
| + 102075 [carl@yo ng l] So is rendezvous a completely open source technology? I thought it was
| | 102079 [guslist@fr e] 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@nt ] Regards,
| 101935 [Austin.Ziegl] Note that this utility will only provide information based on the
+ 101936 [shu@ru ur n.] know where it is.
adodb and ruby
101934 [greg@br nd .] Anyone looked at porting the adodb project over as a DB abstraction? They
[ANN] RubyGems 0.4.0
101940 [chad@ch df w] 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@PA H. ] As an alternative to PStore, there is my FSDB library. Like PStore,
| | 102091 [ahoward@no a] 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] In that case, keep the files as files. Next issue is, why not put your
+ 101967 [mneumann@nt ] No, you would want to store the file in a BLOB column of your database.
+ 101968 [bob.news@gm ] "Sven Schott" <firstname.lastname@example.org> schrieb im Newsbeitrag
+ 101996 [rocioestrada] Having done a gallery-like webpage, both using FS and DB(mysql), I would
+ 102020 [greg@br nd .] I would suggest using a database and going with sqlite (www.sqlite.org).
What's wrong with modruby?
101947 [xrfang@ho ma] For 2 days, I can't visit www.modruby.net, anyone know what's happening?
101955 [shugo@ru y- ] Last night, I found signs that someone try to atack pserver port of
+ 101956 [shugo@ru y- ] Sorry, I made a mistake.
+ 101962 [xrfang@ho ma] Thanks for the info. I would like to download the tgz files, as it is
102095 [shugo@ru y- ] Please download from http://rrr.jin.gr.jp/download/modruby.net/.
DBI question - last inserted id?
101951 [ninux@ea th ] For the Ruby DBI experts out there...
101954 [paul@vu ma k] dbh.func(:insert_id)
102190 [detlef.reich] is this portable to other db's?
102205 [paul@vu ma k] Actually, no. In postegre you must run sql to get the last id much as
101958 [derick_eddin] days ago so forgive my ignorance) motivated by a desire to learn if it can be a
101987 [flgr@cc n. e] Moin!
Gateway appears to be working!!
101991 [dblack@wo bl] Fingers crossed (bzw. Daumen halten) -- Dennis and I have just had an
+ 101992 [dblack@wo bl] And I can even reply to messages that already exist! Yee-haw!
| + 101993 [guslist@fr e] We are dying to know: what did you change? What was the problem?
| | 101995 [oelkers@zr .] <excuse>
| | + 101997 [bob.news@gm ] First of all: Dennis and David, thank you very much!
| | + 102001 [guslist@fr e] Thanks to you all for solving it.
| | + 102016 [flgr@cc n. e] Moin!
| | + 102023 [burtdav@ho m] Well done, top work, congratulations.
| | + 102104 [martindemell] One more vote for yes, mainly so Google can archive them. And thanks to
| | 102105 [neoneye@ad l] I also vote yes.
| + 102052 [neoneye@ad l] 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! :-)
102003 [Ara.T.Howard] i just got a new machine and wanted to build the latest stable... anyone have
+ 102004 [andrew@wa ro] Wait up a few more hours; New ww enabled version is ready to go as soon as my
| 102005 [andrew@wa ro] Disregard; Got very confused between ruby/rubyx whilst reading email - Sorry!
+ 102040 [vjoel@PA H. ] ...
102045 [ahoward@no a] thanks joel!
Problems making UTF-8 text XML/XHTML friendly (no entity conversion?)
102006 [ser@ge ma e-] You have to tell REXML that you want ASCII output, and write the
What is the equivalent of Python's "%s" % "MyString"?
102028 [ssk@ch l. os] I am studying Ruby and have been using Python.
+ 102031 [Gavri_F@in o] s = sprintf("My name is %s and my age is %d", "Sam", 34)
+ 102033 [mneumann@nt ] s = "My name is %s and my age is %d." % ["Sam", 34]
| 102098 [bob.news@gm ] "Michael Neumann" <email@example.com> schrieb im Newsbeitrag
| 102113 [kristof@vl e] I don't think that's the output he wanted. He wanted
| 102125 [bob.news@gm ] "Kristof Bastiaensen" <firstname.lastname@example.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@hy e] 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@vl e] That's nice, but unfortunately it doesn't take into account
| 102206 [bob.news@gm ] "Kristof Bastiaensen" <email@example.com> schrieb im Newsbeitrag
| 102230 [botp@de mo t] I think the op implied late binding or late generation of string and
| 102235 [assaph@av ya] This also doesn't take care of complex formats, like "%-6.3f". Could
+ 102035 [hal9000@hy e] Others have answered your original question, I think.
+ 102038 [surrender_it] maybe even sprintf() can help you :)
+ 102061 [kristof@vl e] Good!
+ 102068 [nobu.nokada@] I proposed that feature once in [ruby-dev:16351], though
+ 102092 [paul@vu ma k] 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@ge ma e-] Not that I'd vote for the RCR, but here's something that you can't
+ 102158 [ssk@ch l. os] Thanks to all who replied to my question.
+ 102162 [dblack@wo bl] 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@ya ] what about?...
102559 [bob.news@gm ] "illocutionist" <firstname.lastname@example.org> schrieb im Newsbeitrag
mod_ruby download mirror?
102029 [martin@zs fh] anybody know where I can download the latest tgz of mod_ruby? the
102034 [martin@zs fh] 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@nt ] We've not found any rooms in Karlsuhe, yet.
TOPLEVEL_BINDING broken in Ruby 1.9 (CVS)
102037 [trash@ph lk ] When testing the fcgi module I noticed that TOPLEVEL_BINDING seems to be
102053 [nobu.nokada@] I expect it has been fixed.
102128 [trash@ph lk ] Hm some more flaws with ActiveRecord so I think I go back to ruby18 for a
Blocks and Closures
102042 [alexmchale@g] If this is covered elsewhere, please point me in the right direction.
+ 102044 [vjoel@PA H. ] def foo(*args, &bl)
| 102046 [alexmchale@g] Alright, while that is very confusing to me (not the concept, I
| 102047 [vjoel@PA H. ] 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@PA H. ] Slight nit: 'bar(block)' should be 'bar(&block)', if you want to
+ 102049 [flgr@cc n. e] Hope this helps. :)
Obfuscating Ruby Code.
102050 [kenosis@co c] Does anyone know of a Ruby source code obfuscator that's reliable and
+ 102051 [hash_bang@re] You could just let me write the program for you. That should keep anyone
| 102065 [kenosis@co c] Too funny, I expected as much ;) Seriously, I have certain customers who do
| + 102069 [walker@le ha] Err ...
| | 102077 [billk@ct .c ] I imagine the obfuscation would include translation of once-
| | + 102100 [bob.news@gm ] "Bill Kelly" <email@example.com> schrieb im Newsbeitrag
| | | 102107 [andrew@wa ro] It would be childs play to extract the private key from the interpreter
| | | 102123 [bob.news@gm ] "Andrew Walrond" <firstname.lastname@example.org> schrieb im Newsbeitrag
| | | 102127 [mailinglists] But you must provide the decryption code. And whatever you do, you only
| | | 102130 [walker@le ha] 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@le ha] 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@d1 .k ] I think you're on safe ground, Ken.
| | 102080 [jm@tr ns ct ] How about supplying a modified ruby interpreter? The only difference
| + 102076 [billk@ct .c ] I'm very interested in this, and would be willing to help if I
| 102093 [carl@yo ng l] or operator and replace all occurrences of it with a randomly generated
+ 102103 [mneumann@nt ] 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@nt ] 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@nt ] 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@ih g] This causes problems with method_missing. e.g. what happens if you obfuscate
| 102347 [mailinglists] Right, things like this bites you not only in an Obfuscator Tool but
| 102349 [jm@tr ns ct ] 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@ho ] This obfuscated enough?
| + 102144 [dblack@wo bl] ruby -e 'require "crypt/fog"; puts eval(Crypt::Fog.decrypt(......)'
| | 102145 [dblack@wo bl] puts Crypt::Fog.decrypt....
| + 102163 [trash@ph lk ] And how do you obfuscate the salt? Because that's the problem we try to deal
| 102228 [djberg96@ho ] 1) Put above code in file
| + 102229 [carl@yo ng l] So does this mean that he should ask his client, to whom he is selling
| | 102270 [sroberts@un ] And tell his customers that they aren't allowed root access to their own
| + 102257 [lists@za a. ] Sorry, but this is getting sillier and siller :-)
| | 102290 [kenosis@co c] Great minds think alike. Coincidentally, my wife came to the same
| | 102311 [will@cs bu e] and converts it to a C integer array with the ASCII values increased by
| | + 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@PA H. ] Sounds like something Strunk and White would say.
| | | | | 102353 [kenosis@co c] How about "Dyslexic Ruby Programmers Untie!"
| | | | + 102323 [kenosis@co c] Curses! Foiled again. :)
| | | + 102324 [will@cs bu e] Austin has already mentioned that it is obfuscation, not 'pirate-proof', but
| | | 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@fr ez .o] Wouldn't a challenge/response system or private/public key encryption be better?
+ 102151 [djberg96@ho ] eval(Crypt::Fog.decrypt(......)'
| + 102153 [billk@ct .c ] Hehe... See, that's cheating. <grin> Contest rules should
| + 102156 [dblack@wo bl] I'm assuming that if people running the program know that they have to
| + 102159 [sroberts@un ] 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@wo bl] 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@fr ez .o] Encryption may be a form of obsfuscation, but obsfuscation
+ 102238 [kenosis@co c] Wow - what a great thread - so many ideas and points of view. This is what
102307 [web@ji mo .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.