299619-301627

299426-340813 subjects 299815-303833

DBI:ibm_db connection for IBM DB2 database
299619 [nquaine2@gm ] I am attempting to make a DBI connection from Ruby code running on Win32
299698 [acangiano@gm] please note that there are newer, improved versions for all three gems
299852 [nquaine2@gm ] firstly - a big thank you for your help - my connection to DB2 from Ruby
299996 [gerardo.sant] Hey Nicholas,

multi-dimensional arrays to 2-dimensional arrays
299622 [wirianto.dju] ...
+ 299687 [znmeb@ce ma ] I don't think you've properly defined your inputs and outputs. You
+ 299838 [botp@de mo t] # I have a recursive method that aggregates data in the form of
  299944 [wirianto.dju] ...

determing what os is running
299623 [example@ex m] I need to execute commands differently based on the underlying
+ 299630 [waratuman86@] ...
+ 299631 [keletmaster@] if RUBY_PLATFORM =~ /linux/ then
| 299639 [djberg96@gm ] With other Ruby implementations out there this is no longer wise
| 299683 [zachary.s.sc] ...
+ 300033 [denis.defrey] ...

connection error
299624 [ferasc@ho ma] i got a 500 Internal Server Error. I checked the log file, the error
299628 [waratuman86@] ...
299629 [waratuman86@] ...

Help getting ruby-serialport to run in Windows XP
299632 [eduardo@al a] Dear All
299634 [ruby-lang@da] I've found that on the odd occassion I have to use serialport on
299846 [eduardo@al a] Thanks for the tip

How to return more than one object to a block
299642 [m-ruby-forum] I'm kinda new to blocks, and I'm trying to create my own Rails form
+ 299657 [mikael@ho lu] x = dothis() {
| 299661 [mikael@ho lu] Sorry, I seem to have mis-read your initial question. In order to do =20
| 299665 [m-ruby-forum] My use case is like I stated on the start of my message. I created a
+ 299706 [overlord@gm ] Normally you pass that a parameter that represents the form_label, so

[ANN] Mack Framework 0.4.7
299643 [markykang-ru] 0.4.7 is a MUST have release. It fixes a few good bugs, like the ability

[BUG] in FileUtils.cp_r *not* replacing read-only files
299651 [example@ex m] I'm porting some ruby code from MacOS to Windows XP.  The code works fine on the

Re: in FileUtils.cp_r *not* replacing read-only files
299652 [john.d.perki] Could it be the C:\.../.../ sillyness?
299658 [example@ex m] Nope, that doesn't help.  Nor does removing the "C:".
+ 299659 [john.d.perki] may be part of the way windowsxp handles times on files - I don't
+ 299667 [luislavena@g] Is a file from C:\Projects/rnd/WebClient/RELEASE/BuiltVersions/
+ 299681 [example@ex m] Well, I never solved the specific problem.  I worked around it by removing the :preserve option.

ANN: Dao 1.0 preview version is released
299666 [phoolimin@gm] I am please to announce a preview release of Dao (1.0). Dao is a

status ruby 1.9 rails or 1.8 w/oniguruma
299676 [netcam@gm il] what is the official status on v1.9 with rails or how to get vy.n to
+ 299679 [netcam@gm il] ...
+ 299726 [drbrain@se m] a) install the oniguruma C library.
  + 299736 [charles.nutt] Also worth mentioning JRuby 1.1.x is compatible with 1.8 and ships with
  + 299740 [netcam@gm il] ok but i asked b/c onig fails to compile on ubuntu via gem install, so

goto (was: A couple of questions regarding class design)
299678 [overlord@gm ] Tell that Matz & Co.
299712 [shortcutter@] Last time I checked C did not have exceptions.  Without looking at the

Howto get array.agrep (NOT array.grep)
299688 [phil@pr co .] People,
299689 [phrogz@ma .c] Perhaps if you explained what this mysterious 'agrep' was, we might
299691 [phil@pr co .] NAME
299699 [overlord@gm ] Enurable#grep can do that, if you pass it the right block. When you pass
299713 [ryand-ruby@z] no.
299723 [jens.wille@u] if all you want is getting all the strings within a certain edit
299735 [phil@pr co .] jens,
299738 [jens.wille@u] i think something like that could work in your case (requires the
299745 [phil@pr co .] jens,
299747 [jens.wille@u] well, yeah. but that's not really a problem, is it?
299752 [jens.wille@u] that was actually pretty easy and is definitely an improvement (see
299755 [phil@pr co .] jens,

sport shoes business
299700 [pan.shelly@y] www.wholesale99.com is experienced wholesaler and provide dropship
299721 [znmeb@ce ma ] Apparently nobody knows shoes. :)

help re recording/replaying (i.e. automating) HTTP interactions to a web-site???
299701 [greg.hauptma] Actually can anyone recommend a good technique / software / plugin
+ 299705 [peter@ru yr ] ...
| 299749 [greg.hauptma] =95 https?
| 299750 [greg.hauptma] =95 does it support downloading a file (eg csv file, account transactions)
| + 299751 [cmdjackryan@] Find it out?
| | 299759 [greg.hauptma] I see Watar requircs/drives a browser...i'm after something browser
| | 299760 [cmdjackryan@] - --
| + 299843 [peter@ru yr ] Yes, scRUBYt! supports all these things... In the current =20
|   299853 [greg.hauptma] ...
|   299856 [peter@ru yr ] ...
|   299860 [greg.hauptma] ...
|   299864 [peter@ru yr ] ...
+ 299763 [bbxx789_05ss] I'm not sure what the Firefox Live HTTP headers plugin will do for you.

Split a sentence by regular expression
299702 [pranjal.jain] I want to  split a sentence by means of regular expression.
299704 [peter@ru yr ] What does "split a sentence" mean? If it's just split around spaces,

Has anyone read this book?
299703 [laurent@mo d] Yesterday I cam across a Web page mentioning this book on "Data
+ 299709 [acangiano@gm] versions of the book exist for C++, Java, C#, Python, Lua, Perl, PHP and
| 299715 [laurent@mo d] Antonio,
+ 299710 [ttmrichter@g] This is always a bad sign.  Even between two languages as similar as
+ 299719 [znmeb@ce ma ] This comes up fairly often on the list. I can't say I've read *any*
  299790 [dangerwillro] If you've done C, you've come across the the most important data

All occurances of a  character in a string
299714 [rgowka1@gm i] of a character in a string..
+ 299717 [       z@q. ] irb(main):001:0> a = "abbccdaab"
| 299720 [       z@q. ] a = "abbccdaab"
| 299724 [s.korteling@] str = "abbccdaab"
| 299725 [rgowka1@gm i] I did a quick test and like Siep's modifications..
| 299728 [       z@q. ] your computer must be really slow :)
+ 299718 [peter@ru yr ] ...
+ 299727 [dblack@ru yp] I have this really strong feeling that there's a really easy way, but
| 299729 [shortcutter@] In 1.8
| 299730 [dblack@ru yp] It may well have been that, or something like it.
| 299732 [ljjarvis@go ] I apologise for the complete ugliness of this code :)
| 299733 [ljjarvis@go ] Whoops, I didn't read the question properly, this prints all
+ 300185 [list.push@gm] Here is one way.
  300192 [adam.shelly@] I thought of the 'indexes' method, but that works in reverse.  So I

[ANN] Google Group for Mack
299716 [markykang-ru] Hey everyone, due to popular demand I've created a Google group for

Free disk space with VMI in megabyte
299737 [toki84@gm il] I'm new to ruby, I've found this pretty neat code linked on a thread on
299758 [michael.broo] The drive.FreeSpace is being returned as a string (which may also be a
299825 [toki84@gm il] Thanks a lot for the help and the explanation, I didn't know that

PartialInvocation sample
299741 [caogl@ve iz ] I created a partial invocation example below, which I think can be
299744 [transfire@gm] #_ is sort off limits because IRB uses it. However, #__ is usable, and
299761 [caogl@ve iz ] I'm not familiar with how _ is used in IRB. Can you please explain a bit
299762 [celtic@sa ry] ...

Typed ruby
299742 [jkauzlar@ho ] I realize there is a holy war attached to this subject, but it would be nice
+ 299743 [huw@da kn on] We already do this in Ruby In Steel (see the IntelliSense section and
| 299753 [znmeb@ce ma ] And does it also mean that if the comments are incorrect, the IDE gives
| 300205 [jkauzlar@ho ] Not as likely to happen as giving the wrong parameter type, IMO.
| 300218 [znmeb@ce ma ] Despite what many people say about it, Java is an exceptionally
+ 299746 [dblack@ru yp] Reading between the lines, I suspect you mean class rather than type,
+ 299757 [celtic@sa ry] ...
| 300204 [jkauzlar@ho ] Arlen,
| + 300207 [dblack@ru yp] Which do you mean: types, or classes? :-)
| + 300238 [drbrain@se m] I find I have this problem less the more readable (as English) my code
|   300294 [rick.denatal] Truth be told, I think that this actually is evidence that delete
+ 299769 [overlord@gm ] Could you elaborate on this potential usefulness for auto-completion?
| 299784 [shevegen@li ] I think the Ruby vs Ada was ~more an interesting discussion than a "war"
+ 299829 [no@sp m. le ] Not that I know of, but you might find my "chattr" gem useful.
  299847 [eeklund@gm i] Or, if you want to play with the ability to do complex yet structured

Subject: [ANN] doodle 0.1.0 Released
299748 [sean.ohalpin] doodle version 0.1.0 has been released!

Language code list? (ISO 639-1?)
299765 [celtic@sa ry] ...
+ 299766 [celtic@sa ry] ...
+ 299826 [s.korteling@] Regards,
  299842 [ged@Fa ri MU] The locale module looks great! It seems like a pretty comprehensive

Cookies - sessions- Ruby
299767 [nospam@gm il] In the cookies file, i have my settings to connect to an site.
+ 299879 [rogerpack200] could ask this on the rails list.  I think the answer might be Restful
| 299889 [nospam@gm il] Which list is this?
| 299891 [avdi@av i. r] Avdi
| 299896 [nospam@gm il] Thank you
+ 299887 [nospam@gm il] I can't get this too work.
  299890 [rogerpack200] curl allows you to save cookies to a file then reload them, if that's useful.
  299895 [nospam@gm il] In the cookies file, i have my settings to connect to an site.

Transpose a large file(>2GB)
299768 [rgowka1@gm i] What is the fast and ruby way to transpose a large file(>2GB)??
+ 299771 [fxn@ha hr f.] Interesting.
| 299772 [fxn@ha hr f.] Sorry, I don't know why Mail.app deletes a single leading whitespace
| 299774 [rgowka1@gm i] Exactly.. Sorry, I should have explained it better..
| 299777 [pjb@in or at] Wrong. It should be below.
| 299899 [lionel-subsc] Here's an algorithm that should minimize the amount of seeks.
| 299900 [fxn@ha hr f.] In what sense is it sequential? These approeaches require prepending/
| 299907 [lionel-subsc] It doesn't read or write one byte at a time :-) Which would be the
+ 299881 [rogerpack200] Save pieces of it to disk.
| 299883 [fxn@ha hr f.] Since seeking and inserting naively in text files is expensive I
+ 299892 [avdi@av i. r] fseek to the end of the file.  fseek backwards by a nice round number
| 299894 [avdi@av i. r] Of course, if you're transposing lines, that's trickier.
+ 299991 [kbloom@gm il] I assume all of the lines in the file are the same length, and the line
  + 299997 [kbloom@gm il] (#rows = #columns) > 0.5 * disk block size.
  + 299998 [lionel-subsc] From the rest of the algorithm, you assume that the OP wants to
    300057 [kbloom@gm il] The block size I used was just for illustration. I chose the blocksize
    300072 [lionel-subsc] Yes
    300076 [kbloom@gm il] In that case, none of the rest of what I said is relevant anymore.

RadRails || EasyEclipse?
299770 [aidy.lewis@g] Could anyone tell me what the major differences are between
299880 [rogerpack200] Looks like they're about the same, with [I'd bet] radrails having

newbie; needs direction
299773 [albertschlef] I'm a very experienced programmer, but I'm new to ruby.
+ 299775 [TimHunter@nc] Welcome to Ruby!
| + 299778 [robert.dober] Very well put indeed Tim, justed wanted to say welcome too.
| | 299785 [shevegen@li ] I think there are many answers to that question.
| + 299788 [raju.gandhi@] ...
| + 299795 [albertschlef] Thanks all!
+ 299776 [pjb@in or at] If you're a good programmer, or even a bad one (presumably you'll
+ 299789 [acangiano@gm] on top of the other valid suggestions, and assuming you enjoy small
+ 299792 [dblack@ru yp] Welcome! First lesson: you're not a newbie; you're a nuby! :-)

[OT] MFG (was: Re: Calling C functions from Embedded Ruby Interpreter)
299780 [dblack@ru yp] ...
299781 [mo_mail@on h] Thanks David!  That's why I love this list - you learn a little bit
299782 [pjb@tr to .l] __Pascal Bourguignon__
+ 299783 [mo_mail@on h] Point taken, Pascal.  Sorry about that.
+ 299786 [celtic@sa ry] ...

[ANN] ruby-oci8 1.0.1
299787 [kubo@ji ba .] ruby-oci8 1.0.1 is released. This is a Oracle module using OCI8 API.
299837 [yizhih@gm il] ...
299839 [kubo@ji ba .] No. I don't know how to make binary gems for mswin32.
+ 299854 [kubo@ji ba .] I misread 'rpms' as 'gems'. But same answer.
+ 299990 [gerardo.sant] Here it is what I do. If anyone have a better procedure, I'd like to know.

Shattered gems?
299791 [ttmrichter@g] This seems to be a basic thing: run rails under ruby and execute the
299793 [florian.assm] Try to uninstall edge rails and recreate the project. It seems the
299794 [ttmrichter@g] That does appear to be the problem, but now instead I have a different

how to match any character with ruby regexp?
299796 [sxain@ho ma ] I am writing a method to strip out <a> (the link tag) from input text,
299799 [shortcutter@] irb(main):004:0> "a\nb".match(/.+/).to_a
299801 [sxain@ho ma ] Thank you for your help.

Ruby For Hackers
299798 [dezertir@po ] Anybody know how to writing Keyloggers in ruby, or trojans or other
+ 299802 [shortcutter@] Even if I would, I would not tell you - for obvious reasons.
+ 299803 [znmeb@ce ma ] Ruby is a terrible language for writing malware ... go learn Forth. ;)
| 299804 [       z@q. ] or visual basic 6 :)
| 299806 [slarbi@gm il] ...
+ 299805 [TimHunter@nc] Well, I don't know much about that field of programming, but if I had to
| + 299808 [dezertir@po ] Thanks you Tim! I think too, for hacking, is perl, python, C++ etc.. but
| | + 299809 [lionel-subsc] For flamewars. You can build high power lasers with one ruby. Then you
| | | 299857 [eleanor@ga e] That should so be on the language FAQ :)
| | + 299811 [TimHunter@nc] That is a deep metaphysical question that I am unworthy to answer. But
| | | 299813 [dezertir@po ] Mdaa... It's good answer but not fully :(
| | | + 299814 [shevegen@li ] Only you can answer that question.
| | | + 299818 [TimHunter@nc] Okay, that's a serious question and deserves a serious answer.
| | |   299828 [dezertir@po ] Thanks! I just reading and like it. This book is a demo version?
| | |   299830 [cmdjackryan@] Yes.
| | + 299812 [bulliver@ba ] ...because Perl exists.
| | + 299816 [cmdjackryan@] Because it's fun.
| + 299817 [jeremy@hi eg] Actually, one of the best tools for security research, penetration testing,
|   + 299831 [celtic@sa ry] ...
|   | 299850 [glennswest@y] For me, I find generally ruby is "nice".
|   + 299859 [eleanor@ga e] People thought we were weird at the first RailsConf Europe for talking
+ 299858 [eleanor@ga e] Yes. But if you want to be a 7337 hzx0r and pw0n the net you have to

(none)
299807 [noobprog@gm ] ...

ruby net/ldap
299810 [noobprog@gm ] ...
299875 [damnbigman@g] ...
301523 [callmervd@gm] I also need to do the same thing like adding new groups and assigning
301540 [kou@co mi ng] I think it can be supported.
301549 [callmervd@gm] Thank you for your reply.
301552 [damnbigman@g] ...
301596 [callmervd@gm] Could you show me a code snippet on how to assign a member to an
301598 [callmervd@gm] One more thing, when I try to establish connection to
301600 [kou@co mi ng] No.
301624 [damnbigman@g] ...
301627 [kou@co mi ng] courses.each do |course|
threads.html
top