248682-249196 subjects 249098-278074

Re: [SPAM] Re: Shuffle Method
248874 [ari@ar br wn] I wanted to write my own method to better understand how it works.

about WWW::Mechanize::GlobalForm
248879 [icococoa@gm ] how to use it??3ks
248882 [cmdjackryan@] Phillip "CynicalRyan" Gawlowski

[ANN] eXPlainPMT 20070423.0
248883 [johnwilger@g] Project site: http://explainpmt.com

248885 [vigneshsrini] ...

Can File::join be used on Windows?
248889 [flyerhzm@gm ] ...
+ 248895 [ruby.hardwar] Here is one discussion about that topic.
+ 248927 [robert.dober] Apart from the discussion indicated by Harry I use it frequently and

HTTP requests
248893 [peterkemp@gm] Im trying to retrieve an xml document from a website but all i get is
+ 248898 [dangerwillro] Perhaps they're serving xhtml?
| 248900 [peterkemp@gm] No idea what that means lol
| + 248902 [cmdjackryan@] Has nothing to do with Ruby.
| | 248904 [dangerwillro] XML is a markup language with some general but strict rules. Its
| + 248938 [felipe.contr] But it's not, it's HTML 4.0 Transitional.
+ 248901 [dzwell@gm il] Maybe it would serve xml if you sent the request with a header

problem:  login Data save in two  tables.
248907 [amin@e- ao c] I have an user registration page. In that page there
248932 [robert.dober] Also you might still get some help on this list I strongly advice you
248933 [robert.dober] Grrrrrrrrrr

Problem with test:units:rcov
248923 [B.Candler@po] I'm posting this problem here as I'm not sure whether it's to do with rcov,
248953 [B.Candler@po] This turns out to be an extremely weird problem. Firstly I made the

How to buy tax free cigarettes in USA?
248929 [HolleyJeffre] I hear it's more suitable to buy cigarettes online , anybody here tried
248930 [cmdjackryan@] Phillip "CynicalRyan" Gawlowski

Hash and Arrays...
248942 [josselin@wa ] I receive from yahoo weather an Hash like this one,
248946 [B.Candler@po] response["channel"][0]["title"][0]
249026 [josselin@wa ] thanks a lot Brian, that's exactly what I am using... so .. simple !

get infomation of printers from OS
248947 [rubycary@ya ] i am newbie on Ruby,

+@ and -@ methods ?
248949 [gaurav.v.bag] Mostly when I do instance.methods.sort in irb, the list contains +@
248954 [gabhijit@gm ] 1 is an object of type Integer

Goodies for Netvibes - Introduction
248955 [florent@so t] I would like to introduce my project gNetvibes, aka "Goodies for
249030 [florent@so t] Posted via http://www.ruby-forum.com/.
249031 [florent@so t] Posted via http://www.ruby-forum.com/.

Concatenate 2 PDF documents
248956 [usenet@ki ob] Anyone know if there's a library out there that supports concatenation
+ 248958 [alex@bl ck e] Alex
+ 248962 [elof@el f. k] There's an example included called Concat.java that does exactly that.
  249006 [useless@us l] Thanks for the tips. I was secretly hoping for a Ruby only solution, or

REXML + DTD example
248957 [carp@ha ks c] I'd like to have a custom made XML configuration file parsed with a
+ 248960 [shortcutter@] Did you look at
+ 249007 [no.spam@pl a] RexML can't do external DTDs, and the author told me it won't ever,
  249038 [carp@ha ks c] Thanks for that hint, Clifford. I did it with xmllint now - a bit ugly
  249050 [no.spam@pl a] You're welcome. It took a bit of headscratching before

problems with installing the ruby libnet module
248961 [kazaam@ol co] I tried to install the Ruby Libnet module from
248964 [kazaam@ol co] one needs libnet1-dev to be installed to get it compiled correctly :)

Retrieving Groups from a DSQUERY
248963 [anon1m0us@ya] I need a list of all the groups a user is part of. When I do the
+ 249010 [no.spam@pl a] Actually it doesn't end at the first comma - you could have
+ 249015 [botp@de mo t] # I need a list of all the groups a user is part of. When I do the
  249017 [no.spam@pl a] It sounds like the OP already did that.
  249019 [botp@de mo t] # It sounds like the OP already did that.
  249020 [no.spam@pl a] On the contrary, this is *not* a nuby question.
  249022 [botp@de mo t] # You need to enumerate the Access Control Entries for

Getting user input at command line when script also takes arguments
248970 [tester.paul@] I've got this short script that scans a directory of files for a
248972 [sepp2k@go gl] Use STDIN.gets instead of Kernel#gets. Kernel#gets reads the input from files

Tesing in Rails
248971 [vijay@mo il ] I am very new to Ruby on Rails, now i am working in Testing the Ruby on

Best way to create a string with gap (0x00's) in the middle?
248975 [eclubb@va co] I'm trying to build a packet to send to UDPSocket::send.  Send requires
+ 248976 [vjoel@pa h. ] BLANK_DGRAM = "\0"*128
+ 248978 [shortcutter@] => ["foo", "bar"]

[ANN] file-find 0.1.0
248981 [djberg96@gm ] I'm happy to announce the first release of file-find. This package is
248984 [leslieviljoe] Woo! Thanks!
248993 [djberg96@gm ] It skips them. :)
+ 248994 [leslieviljoe] Yummy! Downloading now...
+ 248996 [garcia.serva] ...
  + 249003 [leslieviljoe] Can you find directories with this?
  | 249013 [djberg96@gm ] Nevermind about the bug report. It's fixed in CVS. :)
  | 249042 [leslieviljoe] Thanks for that, it works very well now.
  + 249014 [djberg96@gm ] Dan

question about ruby graphics
248983 [zedenator@gm] I am looking into using Ruby for my university project, the outcome of
248985 [B.Candler@po] Have a look at graphviz (www.graphviz.org). It can generate such trees and

[ANN] Radiant CMS 0.6 - Lapidary
248989 [ng@jo nw on ] This is the first serious release of Radiant in well over 6 months. The
249048 [leslieviljoe] Thanks John! Which Markdown interpreter does Radiant use? Does it
249049 [leslieviljoe] Nevermind, I see it's bluecloth.
249056 [ng@jo nw on ] Yup, it's BlueCloth, but it would be extremely easy to write a filter
249058 [leslieviljoe] Ah, great stuff.

Question about tempfile.rb - Ruby vs C
248990 [djberg96@gm ] Just curious - why was Ruby's temporary file handling class
248991 [tim.pease@gm] The Ruby Tempfile class creates a finalizer that will delete the temp
248995 [djberg96@gm ] I was basing my comment on the Pickaxe 2, p. 741 which says,

FLTK 2.0 for Ruby - beta
248998 [GGarramuno@a] Just to announce a beta update to the FLTK2 swig wrappings.  This has

Fwd: Please Forward: Ruby Quiz Submission
248999 [james@gr yp ] ...

FLTK 2.0 for Ruby - beta
249000 [GGarramuno@a] Just to announce a beta update to the FLTK2 swig wrappings.  This has

closing file descriptors
249001 [mental@ry ia] Here's a question I never thought I'd have to ask -- how do I close a file descriptor opened via IO.sysopen ?
249004 [gwtmp01@ma .] IO.new(IO.sysopen(path)).close

Re: file-find 0.1.0
249005 [djberg96@gm ] That would be a bug. Please file it on the RubyForge project page so I

Re: How to buy tax free carcinagens in USA?
249012 [ari@ar br wn] If you're not living on the edge,

Documentation for HTMLParser
249016 [eliben@gm il] 1) The default docs (rdoc) for HTMLParser (the one that comes with the

Anyone in contact with Bryan Evans (of DrySQL fame)?
249021 [no.spam@pl a] I've made some substantial improvements to the database

test/unit inconsistencies between 1.9 and 1.8
249025 [adam.boz@gm ] ...

Using Watir and Ruby2Exe together
249027 [diegoslice@g] I've been asked to help solve a browser issue that I think Watir and
+ 249029 [cmdjackryan@] Flash won't be able to do that. Firstly, Adobe would make it trivial to
| 249033 [diegoslice@g] When I was in the military, the drill sergeants would harp upon the 6
| 249039 [cmdjackryan@] I know that variant, too, but I don't want to upset anyone casually. :P
| 249069 [diegoslice@g] In the haze of an early breakfast coupled with little sleep, I realized
+ 249099 [ganesh.gunas] ...
  249120 [diegoslice@g] This is very interesting. I'll show this to the Action Script developers
  249195 [ganesh.gunas] There you go

C++ code into Ruby, I need it fast, no time for RTFM
249034 [steelheart22] [code]
+ 249035 [richard.conr] DYOH - Do Your Own Homework
| + 249036 [steelheart22] It's not homework. I need the code for personal use today. I want to
| + 249085 [ari@ar br wn] Speaking of which, I have a biology lab report due next wednesday, so
|   249090 [lyle.johnson] Guys, let's back off, please. I think the OP has gotten the message
+ 249037 [B.Candler@po] Then read the whole of the rest of that document.
+ 249041 [dangerwillro] Translate this for me, right now. No, by yesterday. == A time when
| 249043 [steelheart22] I need that 'cause i want to use ruby for some algorithms, i don't want
| + 249044 [tafftoo@gm i] ...
| | 249178 [ttmrichter@g] And those ways vary by culture.  Andrei is painfully obviously not a
| | + 249187 [steelheart22] Thanks all of you for the links and support.
| | + 249243 [cdcarter@gm ] ...
| |   249283 [robert.dober] Hmm are you not exaggerating a bit?
| |   249290 [dangerwillro] Not to harp on the issue, but had the same post gone to C or C++
| |   249298 [gattster@gm ] I'm a long time ruby user, but I just joined this list tonight. It's
| |   + 249302 [dangerwillro] NOT the norm!
| |   + 249374 [leslieviljoe] Everywhere where there are people together there will be conflict. On
| |   + 249383 [robert.dober] Rare exception, search the archives a little bit if you have time, you
| + 249046 [    s@xs .d ] Still, being polite does not hurt.
|   249051 [a2800276@gm ] void p_string(int n, int v[])
|   249052 [dangerwillro] c'est bon!
+ 249053 [michael.ulm@] Well, since you ask _that_ nicely...
| 249059 [steelheart22] doh, sorry to all of you cos i'm not so polite as you want... :( c'est
| 249064 [    s@xs .d ] This is something I can read :-)
+ 249057 [tim.pease@gm] Have you gotten a suitable answer yet?
| + 249143 [leslieviljoe] Just tried RubyInline - amazing!
| | 249202 [tim.pease@gm] The magic behind RubyInline is the rbconfig.rb file. This little Ruby
| | 249229 [leslieviljoe] Just installed the next Ubuntu, so I'll look at this. Thanks!
| | 249236 [leslieviljoe] It just worked on Feisty, so they must have fixed the GCC installation.
| + 249168 [bpfurtado@gm] You can?t blame C/C++ or Java or any programming language for your
|   249171 [arjun4ruby@g] ...
+ 249070 [sam@po er ou] I don't mean to be rude, but I'm with most of the others on this.  I
  249074 [steelheart22] No, i did rftm and i'm doing it even now :)) :P
  + 249075 [spamtrap@do ] Here's a link for you: <http://www.dictionary.com>
  + 249078 [B.Candler@po] ...
  + 249128 [michael.ulm@] Welcome to Ruby, Andrei.
    249137 [leslieviljoe] Though that one's for people of alternative brain.
    249147 [shortcutter@] Um, what do you mean by *that*?  I have just one brain - am I old fashioned?
    + 249233 [robert.dober] It seems that one is above average ;) (at least if you take YHS as sample)
    + 249234 [leslieviljoe] Alternative as in abnormal. I just mean that the book is highly
      249275 [dzwell@gm il] I probably would have loved _why's book, except I was so impatient to

print messages show up after script has quit
249045 [nstasiv@gm i] I use ruby 1.8.6 on windows xp sp2. My script updates podcast
249047 [elof@el f. k] This is happening because stdout is buffered.

Need to move multiple fields to a new table - please help!
249054 [anthony.cnu@] Okay I have a "list" view that contains a package inventory stored in a
249055 [cmdjackryan@] [snip Rails questions]

Is it possible to make system use bash instead of sh?
249060 [simotsa@gm i] Does anyone know if it is possible to use bash instead of sh as the
+ 249067 [shortcutter@] Where did you get that information from?
| 249072 [gwtmp01@ma .] This behavior with respect to the Single Unix
| 249087 [perrin@ap th] Standards like the Single Unix Specification (and the LSB, and so on)
| 249100 [gwtmp01@ma .] I didn't see anyone claiming differently. I certainly wasn't. I just
+ 249068 [robert.dober] If bash is in your path you can do
| 249086 [comp.lang.ru] _ Ruby uses the underlying C exec call and any system that does
| 249095 [robert.dober] On 4/25/07, Booker C. Bense
+ 249079 [B.Candler@po] system("/bin/bash", "-c", "java --version")
| 249204 [simotsa@gm i] Thanks.  System('bash','-c',cmd) does the task for me.
+ 249088 [ari@ar br wn] Whenever 'system' is executed? Not sure about that. But what you
+ 249150 [timx@no pa .] Others have indicated how you can execute the command with bash rather than sh.

Rails command for getting the last page
249061 [pradeep.madd] In my header part i have a link for "change password". In that chage
+ 249083 [ml@e4 et co ] link_to prompt, request.env['HTTP_REFERER']
| 249152 [swistak@ma l] if you just want to go back to page after changing password try
+ 249191 [dudu@du u. o] If it's there, and you can see it, it's real.

SOAP in Ruby
249062 [pshussain@gm] I am new to Ruby
249063 [ktalanet@ya ] This is an error in a mailing list of this kind. Google can help you a
249073 [pshussain@gm] i want to write Web Services for Ruby on Rails
+ 249080 [cmdjackryan@] www.google.com
+ 249096 [ganesh.gunas] Google around...

problems calling build_tcp from Ruby libnet
249065 [kazaam@ol co] /*

ax+bx+c for newbies
249066 [ytoba1024@ho] Here is some very easy code to understand.

R: Using Watir and Ruby2Exe together
249071 [andrea.forli] Why not use WebRick like ruby script to build your own webserver?
249082 [diegoslice@g] Thanks - I'll keep this in mind if others voice an opinion for a lighter

DHH vs. WHY style
249076 [transfire@gm] Like to know others general opinions on having a comprehensive library
+ 249081 [cmdjackryan@] FacetsCore
+ 249084 [mental@ry ia] For me, the main criteria when deciding whether to give packages related names is the level of interdependence between them.  If they're mostly all usable in isolation, there's no reason to give them related names.
+ 249092 [vanweerd@gm ] ...
| 249111 [james.britt@] WWSGD?
| + 249112 [ari@ar br wn] EWHWDO
| | 249458 [peter@pe er ] ...
| | 249488 [sam@po er ou] I'm not sure that name came from nowhere....
| | 249682 [transfire@gm] Well, at heart, we're dealing will about 100 or so libraries (ie.
| | 249687 [sam@po er ou] Thanks for the clarification. I have some more comments/questions below.
| | 249707 [transfire@gm] For starters, maintaining 100+ packages would be a severe pain --
| | 249712 [sam@po er ou] Oh, I was referring back to my original question of what the thread was
| | 249723 [hramrach@ce ] Also I would not want to search for a library named Aces. Nor I would
| + 249173 [vanweerd@gm ] ...
+ 249097 [tpo2@so rc p] Well, the names first column are library names that don't have any
| + 249113 [jack@jn so t] +1.
| + 249159 [sam@po er ou] +1
| + 249180 [daniel.schie] -1. I'd prefer the distinguished libraries to have their own brands, so
+ 249109 [khaines@en g] For Facets, something out of the second column.  If I see a discussion
+ 249174 [showaltb@gm ] After thinking about this for about 3 seconds, I like the whimsical
| + 249177 [james@gr yp ] It has been interesting hearing everyone say that the right side is
| | + 249194 [james.britt@] I stand with you!  Raise the black flag!
| | | + 249199 [jcribbs@ne p] +1 for whimsical names.
| | | + 249216 [khaines@en g] The thing here is that he already does have a recognizeable brand with
| | | + 249218 [perrin@ap th] H.L. Mencken once said: "Every normal man must be tempted, at times, to
| | + 249221 [pbrannan@at ] Unhelpful names are the prevailing trend, though.  It's true about
| + 249181 [daniel.schie] That goes without saying.
+ 249197 [gavin@re in ] I'm confused as to what you're asking about - using a common naming
+ 249211 [vjoel@pa h. ] What about putting your colorful names inside of generic namespaces?
  249252 [no.spam@pl a] +1. In fact I have a whole taxonomy of infrastructure
  249316 [transfire@gm] I like the taxonomy too, but this naming scheme for requires is not
  249416 [no.spam@pl a] Agree. The taxonomy idea is for locating a relevant
  249435 [transfire@gm] You remind me that I didn't address module namespace in my last post --

Parsing HTML into a tree
249077 [eliben@gm il] I have a HTML document which I need to parse into a tree. I was
249094 [ganesh.gunas] I am not sure what you are trying to do

csv next and previous help
249089 [samekh@gm il] Hey there,
+ 249093 [Rob@Ag le on] ...
+ 249103 [james@gr yp ] I've always got ideas.  ;)
| 249206 [samekh@gm il] James,
| 249212 [james@gr yp ] Good.
| 249224 [samekh@gm il] Excellent, thanks!
| 249227 [james@gr yp ] Feel free to ask questions.  I'll try to explain.
+ 249104 [ganesh.gunas] A Naive implementation below,
+ 249271 [w_a_x_man@ya] data = IO.readlines("junk").map{|line| line.split(",")}.transpose