[#187116] question on blocks — "Jeff Thorne" <jeff_thorne@...>
I am new to ruby from java and had a question on blocks.
[#187128] rubynuby == so many libraries, so little time... — Jeff Pritchard <jp@...>
Reading this forum while trying to study the pickaxe book and teach this
[#187137] DO NOT USE JAVA BECAUSE IT IS NOT OPEN SOURCE — atbusbook@...
Programing Languiges Are Ment to be free. That is why i am starting The
Bravo, yoo r write, a propriatary languish is an oxy-moron. I have a
[#187149] ruby-dev summary 28274-28600 — APURI Furuhashi <afuru@...>
Hi all,
APURI Furuhashi schrieb:
On Sat, 1 Apr 2006, APURI Furuhashi wrote:
Hi,
On Sun, 2 Apr 2006, Yukihiro Matsumoto wrote:
Hi,
On Sun, 2 Apr 2006, Yukihiro Matsumoto wrote:
[#187156] sending files over a network — "Pieter Breed" <pieter.breed@...>
Hi All,
If you know how to work with files, and how to set up connections
[#187162] Important features of Ruby — A.Serebrenik@...
Dear all,
[#187164] new to ruby.. need a code — "rati_lion@..." <rati_lion@...>
Hi all
[#187167] Examine Folder Contents? — Joshua Muheim <forum@...>
Hi all
This is operating on the actual filesystem, so you have to use real
[#187174] Ixnay on the Amphibious Programming — "Trans" <transfire@...>
I have finally come to the conclusion that the non-localality of
[#187191] Eval needs explicit self for accessor methods? — tfdj <dario_insane@...>
hi all!
It really has nothing to do with eval, your just setting a local
[#187194] Ruby Goes to the Sun — James Britt <james_b@...>
I've not seen this translated anyplace, but the Japanese Ruby site has
[#187202] Add a Module#attr_validator method — Daniel Schierbeck <daniel.schierbeck@...>
I couldn't find a Facets mailing list, and I know the developers use
[#187204] Regular Expression matching biggest possible — petermichaux@...
Hi,
[#187210] Now what — Allen Dardenelle <junk@...>
I've gotten through the Programming Ruby book and I have good idea of
[#187212] Wee or.. — Sam Red <lebowski_@...>
Hi,
[#187228] Dynamic code generation — "Thiago Arrais" <thiago.arrais@...>
I have been trying to do some simple dynamic code generation in Ruby.
On 4/1/06, Logan Capaldo <logancapaldo@gmail.com> wrote:
On 4/2/06, Logan Capaldo <logancapaldo@gmail.com> wrote:
[#187230] %w{tomato cheese ham pineapple}.join(', ', ' and ') — Benjohn Barnes <benjohn@...>
=> 'tomato, cheese, ham and pineapple'
On 4/1/06, Benjohn Barnes <benjohn@fysh.org> wrote:
[#187239] list.rhtml — "chriswillis10@..." <chriswillis10@...>
I have designed a messageboard and i have gone into lis.rhtml to make
chriswillis10@gmail.com wrote:
[#187262] Regexp grouping question — petermichaux@...
Hi
[#187263] Typed Parameters — "Robert Dober" <robert.dober@...>
Dear group
On 4/1/06, Robert Dober <robert.dober@gmail.com> wrote:> Dear group>> there was a recent thread about "Boolean" and it braught me to my> favorit thing I would love to have in Ruby2.>> *typed parameters*
<blockquote>
Well, I think you should allowed to put a selective effect on the
On 4/2/06, Daniel Nugent <nugend@gmail.com> wrote:
On 4/2/06, Robert Dober <robert.dober@gmail.com> wrote:> On 4/2/06, Daniel Nugent <nugend@gmail.com> wrote:>> Well, I think you should allowed to put a selective effect on the>> remaining arguments, but it should at least allow you to be a little>> smarter than simply checking one single Type. I'd like to see you>> able to check against multiple types as well as methods and>> combinations thereof, like>>>> def foo(arg1 : (Array and :custom_array_method) or Hash or>> :special_method)>>>> Then at least it's simply a syntactic convenience for writing>> respond_to? and kind_of? calls. And, logically, you should be able>> to assign these parameter checks to a variabe so you can reduce the>> duplication of them, although I don't have a clue as to what a good>> syntax for that would be... Maybe something like:>>>> type_check = TypeCheck.new do |var|>> case var>> when Array>> return true if var.respond_to? :custom_array_method>> when Hash>> return Hash>> else>> return true if var.respond_to? :special_method>> end>> return false>> end>>>> And, of course, you can do any checking you want in the block. You>> could then do this:>>>> def foo(arg1 : type_check)>> def bar(arg1, arg2 : type_check)
On 4/2/06, gwtmp01@mac.com <gwtmp01@mac.com> wrote:
Actually... now that I'm looking about it, that's kinda dumb, we might
[#187280] Newbie! Programming Calculations — Indifferent <yascene@...>
Im new to programming, im learning ruby.
[#187326] gems in userdir - Could not find RubyGem ... — Markus Kolb <usenet-42006@...>
Hi,
[#187343] Does Ruby simplify our tasks and lives? — "Simplicity" <simplicityfirst@...>
Does Ruby simplify our lives by providing more elegant methods to
[#187348] Keyboard access — Harry <rubyprogrammer@...>
How can I gain access to the keyboard so that I can feed output from
[#187400] Placing Sets of Ruby/Tk Widgets — David Bailey <david.bailey@...>
After a whole day of frustrating "experimentation" with no good results,
[#187415] setup.rb problems and possible fix — "Trans" <transfire@...>
As I reported earlier there seems to be some issues with setup.rb.
On 2006-04-02 13:29:04 -0700, "Trans" <transfire@gmail.com> said:
> On another note, having tools like this in the standard distribution
[#187416] self.some_attribute vs @some_attribute — Fred <0bssel602@...>
Hello,
[#187423] Newby>> Ruby and method Gets... and Windows — "Alex" <alex@...>
Hi,
[#187426] Writing a file, without deleting it's current content — "Jeppe Jakobsen" <jeppe88@...>
Hi, I just read about the ".write" method.
[#187437] Apache with Ruby — "Henry Ortega" <juandelacruz@...>
I am really new to Ruby. I have just installed Ruby on my Linux box and it
[#187442] GStreamer Woes — "Stupergenius" <stupergenius@...>
Hi all, newbie to Ruby and this group.
Yes, I had the same suspicion and changed it to:
[#187453] SOAP — fish man <danperrett07087@...>
Hi quick question, I have a soap server and soap client ruby scripts.
[#187457] What does this hash do? Is this a hash? — "ralf" <stark.dreamdetective@...>
Hi,
[#187462] running ruby programs on a windows xp computer — "julian" <jkbowler@...>
I have a couple of questions which is fairly simple , as I am very new
On 4/3/06, julian <jkbowler@tiscali.co.uk> wrote:
[#187488] What's up with symbols? — "Hans-Eric Grönlund" <hasse@...>
Hello fellows!
[#187498] can't find io/wait on windows — Tim Garwood <timgarwood@...>
Hello,
[#187514] Setting class variable from parent class? — Marco <marco.lazzeri@...>
Hi All!
[#187523] Secure data storage — Stian Hole <stian.hole@...>
Greetings,
[#187561] Using File.open block to manage svnadmin dump stream — "Brad C." <onegreenbox@...>
While working on a script to manage dumps from a subversion repository
Brad C. wrote:
[#187567] Possible RubyQuiz idea — Hal Fulton <hal9000@...>
This might be too easy, it's JEG2's call.
On 4/3/06, Hal Fulton <hal9000@hypermetrics.com> wrote:> This might be too easy, it's JEG2's call.>> Read in an ordinary crontab file and print out a list of> jobs that will run in the next N minutes.
On Tue, 4 Apr 2006, Austin Ziegler wrote:
On 4/4/06, ara.t.howard@noaa.gov <ara.t.howard@noaa.gov> wrote:
On Apr 4, 2006, at 6:30 AM, Robert Dober wrote:
[#187579] Mongrel Web Server 0.3.12.1 -- Iron Mongrel — Zed Shaw <zedshaw@...>
Hello All Mongrel Users,
Zed Shaw wrote:
[#187595] Ruby Weekly News 27th March - 2nd April 2006 — timsuth@... (Tim Sutherland)
http://www.rubyweeklynews.org/20060402.html
[#187605] Good Test Plans — Charlie Bowman <charlie@...>
This isn't a ruby question specifically but I'm sure you guys have some
[#187606] Order in Hashes — Martin Boese <boesemar@...>
Hello,
[#187642] Length of backtrace displayed by ruby — Sylvain Joyeux <sylvain.joyeux@...>
Is there a way to remove the maximum backtrace length displayed by the
[#187650] Rake's PackageTask should have tar -h for symbolic links — "Ed Howland" <ed.howland@...>
Hi,
[#187659] un_include and un_extend — "itsme213" <itsme213@...>
How do I un_include a module from a class/module, or un_extend a module from
Thanks. Will 2.0 allow this?
Hi,
On 4/6/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:> In message "Re: un_include and un_extend"> on Wed, 5 Apr 2006 09:03:47 +0900, "itsme213" <itsme213@hotmail.com> writes:>| Thanks. Will 2.0 allow this?> No plan. Currently I have no reason to allow it.
Hi,
On 4/6/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
Hi,
[#187661] Mongrel Web Server 0.3.12.2 -- Iron Mongrel (Parser Fix) — Zed Shaw <zedshaw@...>
Hello Everyone,
Zed Shaw wrote:
James Britt wrote:
[#187683] RADRails and Ruby 1.8.4 RC1 for Windows debugger problem — john peter <neuzhoundxx@...>
i'm using RADRails 0.61 on Windows XP for both Rails and plain Ruby coding.
[#187698] is GUI a weak point? — "greg.rb" <ghalsey@...>
Ruby seems pretty eash to code and understand. However, as a
On 4/4/06, greg.rb <ghalsey@yahoo.com> wrote:> Ruby seems pretty eash to code and understand. However, as a> non-professional programmer, I find GUI the hardest part so far.
On 4/5/06, Michal Suchanek <hramrach@centrum.cz> wrote:
On Wed, Apr 05, 2006 at 08:57:30PM +0900, Mark Volkmann wrote:
I haven't tried Gtk or wxRuby, but FxRuby (based on FOX GUI) is quite
On Wed, Apr 05, 2006 at 10:28:48PM +0900, John wrote:
Martin Coxall wrote:
From: "greg.rb" <ghalsey@yahoo.com>
I am thinking about this problem at the moment. There are a lot of
> There are plenty of others but one thing that I would like to see/like
Caleb Tennis wrote:
> > Using Rails and a web interface is a nice way to present data to an end
On Wednesday 05 April 2006 09:40 am, azrael@cream.org wrote:
Cross platform GUIs is a very serious problem today and one without
Chris Alfeld wrote:
I didn't mean to start a flamewar either or, for that matter, bash
No one is intending a flame war but I have seen java do a lot of good
[#187707] Re: Ruby Weekly News 27th March - 2nd April 2006 — "Berger, Daniel" <Daniel.Berger@...>
> -----Original Message-----
[#187715] system() with .msi files on WinXP — rtilley <rtilley@...>
I have a ruby script that installs several windows applications like this:
rtilley wrote:
Joel VanderWerf wrote:
[#187720] compare to strings — "Clint Pidlubny" <clint.pidlubny@...>
Hello,
Hi --
[#187723] GPL v3 and Ruby License. — "Gregory Brown" <gregory.t.brown@...>
I went to MIT for the Free Software Foundation Associate members
On 4/4/06, Gregory Brown <gregory.t.brown@gmail.com> wrote:> I went to MIT for the Free Software Foundation Associate members> meeting last weekend. I asked Stallman the question of whether the> FSF planned to contact various individuals who were using dual> licenses and encourage them to participate in commenting on GPLv3.
On 4/5/06, Austin Ziegler <halostatue@gmail.com> wrote:
On 4/5/06, Gregory Brown <gregory.t.brown@gmail.com> wrote:> On 4/5/06, Austin Ziegler <halostatue@gmail.com> wrote:>> On 4/4/06, Gregory Brown <gregory.t.brown@gmail.com> wrote:>> [...]
I really didn't want to start a license flame war. I've responded
On 4/5/06, Gregory Brown <gregory.t.brown@gmail.com> wrote:> I really didn't want to start a license flame war. I've responded> below, but please keep in mind that my personal beliefs and my> pragmatic beliefs are somewhat disjointed, and that for the> community's sake, I'd always side with my pragmatic feelings.>> Meaning... when GPLv3 comes out, do we.>> a) Resist it by removing any "any later version" clauses from our> license agreements which use the license of ruby>> b) Embrace it and re-release code using GPLv3 and Matz's terms, but> make sure the FSF hears the voice of our community beforehand.>> c) Can it entirely and favor an established license such as the BSD> license.>> d) Draft up our own license, possibly with cartoon foxes.
On 4/5/06, Austin Ziegler <halostatue@gmail.com> wrote:
On 4/5/06, Gregory Brown <gregory.t.brown@gmail.com> wrote:> On 4/5/06, Austin Ziegler <halostatue@gmail.com> wrote:[...]>>> Stronger is not necessarily better, of course. Stronger also can be>>> seen as 'more restrictive' by some. However, I do believe that>>> copyleft is not coercion because you cannot coerce someone through>>> licensing terms.>> That's a common misconception. One *can* coerce through licensing>> terms. If the choice is "my way or the highway", where the highway is>> extremely difficult, it's coercion. A lot of Libertarians I know>> would disagree me on this point, but they're also of the opinion that>> coercion can only come from physical force. The verb "coerce",>> however, is defined as: "To cause to do through pressure or>> necessity, by physical, moral or intellectual means". A licence can>> be coercion.> I'm an anarcho-capitalist. I guess that puts me in the dissenting> group on things like that. I believe that strong contracts that are> freely entered into can be upheld and can be used to support various> political and ethical goals.
Hi,
Yukihiro Matsumoto wrote:
On 07/04/06, Andrew Johnson <ajohnson@cpan.org> wrote:
Hi,
On 4/5/06, Esteban Manchado Vel痙quez <zoso@foton.es> wrote:
[#187768] Ruby Hacking Guide - New chapters (and a bonus) — "Vincent Isambart" <vincent.isambart@...>
Hi everyone,
[#187813] Pointer Signedness Errors When Compiling 1.8.4 — Ben Gribaudo <rubytalk@...>
Hi,
[#187815] Comparing Arrays — Nathan Olberding <nathan.olberding@...>
I have two arrays: originalList and deleteList. I'm trying to iterate
[#187822] what are sympbols?!? — Alain <mantat@...>
Hi, simple question here but I cant figure it out after reading the Ruby
Logan Capaldo wrote:
On 4/7/06, Les Nightingill <lester@ix.netcom.com> wrote:> Logan Capaldo wrote:> > > Likewise in ruby:> >> > { :class => "A" }> >> > 1.send(:class)> >> > The hash key has the same name as the method being sent via send, but> > the results are different.>> I too am struggling to understand, and this statement has me even more> confused!>> How can my results be predictable if :class isn't uniquely associated> with something (hash key, or method)? Doesn't this lead to ambiguities?
[#187824] ri, rdoc, OS 10.4 — Jean-Charles Carelli <jnchrls@...>
I recently follow the excellent tutorial at the HiveLogic site on
[#187832] Ruby Game: Nightly Travels of a Witch (Win32, OS X, Linux) — =?ISO-8859-15?Q?Florian_Gro=DF?= <florgro@...>
Moin.
[#187851] Rake: Making "cleanup" task — Pistos Christou <jesusrubsyou.5.pistos@...>
I'm just getting my feet wet with Rake, at least as far as running unit
Pistos Christou wrote:
Jim Weirich wrote:
> Jim Weirich wrote:
Eric Armstrong wrote:
On 4/7/06, Pistos Christou <jesusrubsyou.5.pistos@geoshell.com> wrote:> Eric Armstrong wrote:> >> Jim Weirich wrote:> > >>> Is this possible? If so, how? :)> > >>>> > Rake is just executing a ruby script, right?> >> > So what's wrong with coding an END block> > at the end of the script?> > (he asked, not yet having tried it, but> > wondering why it wouldn't work)>> Could you show some example code? I've never heard of this "END block"> thing. I thought __END__ in Perl made the interpreter stop and ignore> everything below that line.
Austin Ziegler wrote:
That's looking like a cool solution. What is that
Most excellent. How on earth did you find that?
[#187853] best practices — Jean-Charles Carelli <jnchrls@...>
I'm working my way through the Pickaxe book and I have a question
On Thu, 6 Apr 2006, Jean-Charles Carelli wrote:
[#187875] Copying $1.. A loop with two regular expressions — Oky <okesly@...>
Hi, sorry if this is a stupid question.. i've only been programming ruby
[#187880] ruby module for editing open office files — charlie bowman <cbowmanschool@...>
I'm having trouble finding a module to edit open office files. I know
Have you tried win32ole? If you have a decent OLE object browser you
[#187887] HOWTO Use Veriables inside of Regexp and Commands? — Karl Bennett <where_1ts@...>
Hi,
[#187917] Running rake silently ? — Nuno <nomail@...>
Hi, may be I'm a bit off topic here but... Is there a way to run rake
[#187920] String generalization — Peter Szinek <peter@...>
Hello all,
On 4/6/06, Peter Szinek <peter@rt.sk> wrote:
[#187945] Basic input/output question — Peter Bailey <pbailey@...>
Hello,
Hi,
Hi Peter,
Dimitri Aivaliotis wrote:
[#187974] Upgrading Compiled Version of Ruby — Ben Gribaudo <rubytalk@...>
Hello,
[#187999] Gem mirrors not updating? — Zed Shaw <zedshaw@...>
Hi,
[#188006] Re: Archive::Tar uncompress question — "Berger, Daniel" <Daniel.Berger@...>
> -----Original Message-----
Hi Dan,
[#188024] easy question about inspect method — Les Nightingill <lester@...>
When I use myarray.inspect, the result has some odd asymmetrical
[#188028] accessing session with session.each — sas sas <opensas@...>
I'd like to traverse thru the contents of the session object
On Fri, 7 Apr 2006, sas sas wrote:
thanks for the advice, but I'm stuck with something even more trivial
well, I've finally solved the thing
[#188048] Re: fxRuby: changing icon in TreeItem crashes — "Kloubakov Yura" <YKloubakov@...>
Christer,
[#188056] Separation of gui from "real work" — Stephen Tashiro <tashiro@...>
This is not a ruby specific topic but since there were some definite
Stephen Tashiro wrote:
[#188057] win32ole with COM method taking two out refs — Adam Gardiner <adam.gardiner@...>
Hi,
Hello,
Hi Masaki,
Hello,
Hi Masaki,
Post your VB code...
Hi
[#188061] Markov Chains (#74) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
I'm pumped! I've been reading this mailing list for the last 3 months
On Apr 7, 2006, at 8:53 AM, Charlie Bowman wrote:
On 4/7/06, James Edward Gray II <james@grayproductions.net> wrote:
On Sat, 2006-04-08 at 03:07 +0900, Simon Strandgaard wrote:
I went and grabbed a bunch of Grimm's fairy tales from Gutenberg. I
On 4/8/06, Matthew Moss <matthew.moss.coder@gmail.com> wrote:
On Fri, Apr 07, 2006 at 10:02:28PM +0900, Ruby Quiz wrote:
or ascii based tab files for us banjo pickers!
I would like Ruby support of serial ports
Hi all,
My approach isn't terribly complex, but it was fun to write. It
[#188076] Re: [QUIZ] Markov Chains (#74) — "Kroeger, Simon (ext)" <simon.kroeger.ext@...>
"moby dick - but it was that inscrutable ahab said to have two
[#188077] rb_hash_aref and symbol keys — Andre Nathan <andre@...>
Hello
Hi,
[#188097] Question about extending schemas at run-time — Eric <rubberduckeea@...>
I'm sure this has been brought up before but I probably am using the
[#188098] Simple Question About Deleting Instances — Nathan Olberding <nathan.olberding@...>
I have a case where I'd like to delete an instance of a class I made
-----BEGIN PGP SIGNED MESSAGE-----
> Some code would help. Saying: ...
I think you problems is in the report class. Each time you do report =3D
Mark Van Holstyn wrote:
-----BEGIN PGP SIGNED MESSAGE-----
zdennis wrote:
Nathan Olberding wrote:
zdennis wrote:
Nathan Olberding wrote:
zdennis wrote:
Nathan Olberding wrote:
zdennis wrote:
Nathan Olberding wrote:
zdennis wrote:
-----BEGIN PGP SIGNED MESSAGE-----
zdennis wrote:
On 4/7/06, Nathan Olberding <nathan.olberding@gmail.com> wrote:> zdennis wrote:[...]> It's not so much that I feel strongly as much as that it perplexes me.> I guess I just wanted to make sure my meds haven't been replaced with> crazy pills.>> I thought of this, too: isn't it odd that you can define class> variables in a definition of how instances of a class should work, but> you can't define their accessors? It seems inconsistent. If it's> agreed that this is inconsistent, I'll post something to the site you> mentioned, but if it's that way for a reason, I'll just take your much> appreciated advice, learn that much more, and be that much less of a> newbie.
Austin Ziegler wrote:
On 4/7/06, Nathan Olberding <nathan.olberding@gmail.com> wrote:> Austin Ziegler wrote:>> So using attr_accessor doesn't declare a variable; it declares a pair>> of methods that access and may instantiate a variable, but doesn't>> have to. And *that* is why doing "attr_accessor :@var" really>> wouldn't be appropriate.> I guess to put my question simply, why is there a single context in> which I can define class variables but not class methods (accessors> for these variables)? Shouldn't the two be handled in the same context> / scope / block / area-of-code?
Austin Ziegler wrote:
Nathan O. wrote:
[#188127] cant run my Rails app! — jadzien caruthas <rubyjadz@...>
Boy, this is a very weird feeling. Excitement mixed with frustration! Am really excited to learn Ruby and was following the examples of Ruby For Rails e-book (manning) and finally, after getting all the coding and settings bits done, I cant get it to work!
[#188155] windows application automation — Wolfgang <wollez@...>
Hi all,
[#188191] Unable to gem install rdoc. Can somebody suggest something? — Xeno Campanoli <xeno@...>
[#188198] question about require and pdf-writer — Andrew <gibson_andrew@...>
I am just begining with Ruby (decent overall programming background
[#188204] Finer Command Line Control? — Alex Barrett <al.barrett@...>
Is there any way to gain greater control of the command line in ruby? I
>>> sender: "Alex Barrett" date: "Sat, Apr 08, 2006 at 05:49:39PM +0900" <<<EOQ
Alexandru E. Ungur wrote:
[#188208] Ruby string — Peter <peter@...>
string = "this is a String"
Hi --
unknown wrote:
Alex Barrett wrote:
Hi --
[#188212] a newbie. not getting run a script — san <s_sasmal@...>
how to start ruby programming
On 4/8/06, san <s_sasmal@yahoo.com> wrote:
[#188228] windows gurus i beseech you — ara.t.howard@...
On 4/8/06, ara.t.howard@noaa.gov <ara.t.howard@noaa.gov> wrote:
unknown wrote:
[#188230] Console width? — Alex Barrett <al.barrett@...>
Is there a variable I can access somewhere to tell me the width of the
[#188233] Very nice article — Peter Szinek <peter@...>
Hello,
I don't mind it. I really liked the first one, although I have never seen
Jeppe Jakobsen wrote:
On 4/8/06, James Britt <james_b@neurogami.com> wrote:
[#188242] Ruby: shift right operator (>>) does not work correctly — Vitalie Lazu <vitalie.lazu@...>
It seems to be a bug with >> operator:
[#188259] yield, binding — Gokhan Ersumer <sky_khan@...>
Hi,
Gokhan Ersumer wrote:
Hi --
[#188285] [SOLUTION] Markov Chains (#74) — Joern Dinkla <joern@...>
Hi all,
On 4/9/06, Joern Dinkla <joern@dinkla.net> wrote:
[#188297] Dumb reflection problem - create object from String — Brian Parkinson <parkI@...>
Hello - I'm bashing my head against the wall - I'm sure this is a simple
-----BEGIN PGP SIGNED MESSAGE-----
Sven Klemm wrote:
[#188304] URI.join broken? — Oliver Andrich <oliver.andrich@...>
Hi,
On 09/04/06, Oliver Andrich <oliver.andrich@gmail.com> wrote:> I except URI.join("http://test.de/test1", "test2") in an URI which looks> like http://test.de/test1/test2 and not like http://test.de/test2. And> from reading the documentation I even expect that> URI.join("http://test.de/", "test1", "test2") results in> http://test.de/test1/test2 and not http://test.de/test2
[#188327] Ruby Grammar - "do" — Bihal <wmioch@...>
Hey everyone
Okay. My next question is then
Bihal wrote:
Thanks Hal, that explains it.
And Eric, sorry if I mislead you, by example code I meant any code I
Not that it is impossible, but I would guess that trying tolearn to parse a language before you understand the languageis perhaps only going to lead to premature grey hair, or perhapsno hair at all. Not that anyone on a mailing list bothersto look in a mirror more than once a month anyway..
[#188332] Ways to find File MetaData information? — Dinesh Umanath <u_dinesh@...>
Hi,
>>> sender: "Dinesh Umanath" date: "Mon, Apr 10, 2006 at 03:53:27PM +0900" <<<EOQ
[#188349] Adding in class attribute with a Module — kris <krisleech@...>
Is it possible to add class attributes (cattr_accessor) using a module?
Worked pretty much how I expected it to:
-----BEGIN PGP SIGNED MESSAGE-----
2006/4/10, zdennis <zdennis@mktec.com>:
On Mon, Apr 10, 2006 at 08:57:04PM +0900, Robert Klemme wrote:
-----BEGIN PGP SIGNED MESSAGE-----
On Tue, Apr 11, 2006 at 02:46:24AM +0900, zdennis wrote:
Hi --
Thanks very much for all the examples. I think I need to clarify,
On 4/10/06, kris <krisleech@interkonect.com> wrote:> PS. I didnt write cattr_accessor. I'm using Rails but I dont think it is> opart of that?
Hi --
[#188385] Re: Adding in class attribute with a Module — TRANS <transfire@...>
> Is it possible to add class attributes (cattr_accessor) using a module?
On Mon, Apr 10, 2006 at 11:58:43PM +0900, TRANS wrote:
On 4/10/06, Gregory Seidman <gsslist+ruby@anthropohedron.net> wrote:
[#188386] Quick syntax question — Gregory Seidman <gsslist+ruby@...>
Consider the following three class definitions:
On 4/10/06, Gregory Seidman <gsslist+ruby@anthropohedron.net> wrote:> Consider the following three class definitions:>> class Foo> def self.bar> @@bar> end> def self.bar=(val)> @@bar = val> end> end>> class Foo> class << self> def bar> @@bar> end> def bar=(val)> @@bar = val> end> end> end>> class Foo> class << self> attr_accessor :bar> end> end>> Am I correct in believing that they are equivalent? If not, how do they> differ?
On 4/10/06, Austin Ziegler <halostatue@gmail.com> wrote:
I'm new to Ruby and I'd like to be able to derive from a class and
[#188387] Strange problem with PTY.spawn() — Reto Schuettel <reto-ruby-talk@...>
Hi
On Tue, Apr 11, 2006 at 12:06:56AM +0900, Reto Schuettel wrote:
[#188394] do i have to use DRbUndumped? — holy sinner <ifxa3a@...>
i am currently using Ruby 1.8.4 and DRb 2.0.4, and i am stuck with some marshalling problem
On Apr 10, 2006, at 8:23 AM, holy sinner wrote:
thanx, it indeed can replace DRbUndumped, but with the same consequence:
[#188399] Mongrel Web Server 0.3.12.4 -- Relaxed Parser, Date Fix — Zed Shaw <zedshaw@...>
Hello Everyone,
[#188426] new/initialize — "Tom Allison" <tallison@...>
[#188437] FXRuby ComboBox problems: — Christer Nilsson <janchrister.nilsson@...>
First problem: The empty alternative shows just about two pixels in
On 4/10/06, Christer Nilsson <janchrister.nilsson@gmail.com> wrote:
[#188455] compiling gsl for one-click ruby (sorta solved) — ara.t.howard@...
> this weekend i managed to compile the gsl (gnu scientific library),
[#188467] Identfying classes in a file dynamically — Navya Amerineni <navyaamerineni@...>
Hi,
Navya Amerineni wrote:
[#188476] Class Definition inside a method definition? — Bihal <wmioch@...>
I was under the impression that a class definition could not be inside a
Thanks David. I'm not sure you caught sight of the line of code I was
D=C5=88a Utorok 11. Apr=C3=ADl 2006 02:39 Bihal nap=C3=ADsal:
Thanks for the explanation David, I'm sure it's close enough :P
Hey guys,
On Apr 10, 2006, at 9:46 PM, Bihal wrote:
Sorry John, I didn't realise this was a mailing list as opposed to a
On Tue, 11 Apr 2006, Bihal wrote:
unknown wrote:
Logan Capaldo wrote:
[#188502] App not waiting for popen to finish — |MKSM| <mksm.sama@...>
Hello,
[#188507] Coding Standards for Ruby — John <johnpetterson@...>
Hie.
[#188518] define_singleton_method(a_symbol,&block) — "Bill Kelly" <billk@...>
Hi,
[#188524] Smalltalk's favorite Boolean method — Ernest Micklei <ernest.micklei@...>
Hi,
On Apr 11, 2006, at 8:13 AM, Ernest Micklei wrote:
[#188552] vba --> ruby: tool, parse or assimilation? — "chiaro scuro" <kiaroskuro@...>
Do you guys know of any tool that can help me onverting a vba classic code
chiaro scuro wrote:
On 4/11/06, James Britt <james_b@neurogami.com> wrote:
D=C5=88a Utorok 11. Apr=C3=ADl 2006 20:18 chiaro scuro nap=C3=ADsal:
On 4/12/06, David Vallner <david@vallner.net> wrote:
[#188556] Best way to test for file existence? — Wes Gamble <weyus@...>
All,
[#188558] Oddities of Iteration — Nathan Olberding <nathan.olberding@...>
I'm working on a CGI script that iterates through a list of items of a
On 4/11/06, Nathan Olberding <nathan.olberding@gmail.com> wrote:
[#188568] Ruby auto formatter — "Jamal Mazrui" <Jamal.Mazrui@...>
Is there a Windows tool that does a reasonable job of globally
[#188579] regex flags — "Tom Allison" <tallison@...>
[#188584] Style question: if !x vs. unless x — David Brady <ruby_talk@...>
Hi all,
David Brady wrote:
I never like to start a line off with unless. It just looks confusing
-----BEGIN PGP SIGNED MESSAGE-----
[#188594] irb — "Tom Allison" <tallison@...>
[#188609] Equivalent of Java static code block in Ruby? — Wes Gamble <weyus@...>
All,
Wes Gamble wrote:
That's fine but I only want it executed ONCE the first time the class is
[#188615] Q about tk buttons — "Jeppe Jakobsen" <jeppe88@...>
Hi guys, I have a little problem with the buttons in tk. I want to add 1 to
From: "Jeppe Jakobsen" <jeppe88@gmail.com>
Thanks that kind of worked, but how come that the variable still returns 0,
From: "Jeppe Jakobsen" <jeppe88@gmail.com>
Oh sorry I meant to say that it returns 1. If I click the button 29 times,
From: "Jeppe Jakobsen" <jeppe88@gmail.com>
Thanks. I want to write a Ruby/Tk version of my first program ever (at that
[#188631] vim 7 ruby omni-complete v0.2 — Mark Guzman <segfault@...>
Thanks to some outside suggestions and contributions we now have another
Hi!
Seems to be working currently. Could be that my old box doesn't agree w/
Well, once I stripped all the carraige returns from the .vim file, it
On 4/11/06, Mark Guzman <segfault@hasno.info> wrote:
Mark Volkmann wrote:
On Thu, 13 Apr 2006, Andrew Thompson wrote:
[#188634] using ansicolor — "Sy Ali" <sy1234@...>
http://term-ansicolor.rubyforge.org/
Sy,
On 4/12/06, Cameron McBride <cameron.mcbride@gmail.com> wrote:
[#188652] Can not install mysql for ruby — Peter Szinek <peter@...>
Hello,
Peter Szinek wrote:
*ponders how anyone could distribute a linux system without make
[#188653] authoritative only DNS in ruby — Xan <DXpublica@...>
Hi,
[#188656] Simple substitutions — Peter Bailey <pbailey@...>
Hello,
Hi,
Ross Bamford wrote:
On Wed, 2006-04-12 at 22:04 +0900, Peter Bailey wrote:
Ross Bamford wrote:
[#188669] Installing on Solaris using sparc-sun-solaris-2.8 — Fleur Corfield <fleur_corfield@...>
I am a newbie to Solaris and Ruby.
Fleur Corfield wrote:
[#188671] Ruby 1.8.4 - irb -> require "irb/completion" fails — "Frederic CHALONS" <frederic.chalons@...>
Hi,
[#188678] First script seems slow - What's a better way to write this? — Charlotte <c.f.curtis@...>
I've inherited a tcl script from previous co-op students, and it's a
As a side issue there is a tool to generate cross references in tcl
Thanks for the link. However, I forgot to mention that the reason I'm
On Thu, 13 Apr 2006, Charlotte wrote:
ara.t.howard@noaa.gov wrote:
On 4/12/06, Daniel Berger <Daniel.Berger@qwest.com> wrote:
2006/4/12, Logan Capaldo <logancapaldo@gmail.com>:
Brian Mitchell wrote:
[#188681] Using gems problem -- LoadError — Vladsialv Tchernev <vladislav.tchernev@...>
Hello all,
[#188709] Shame on me poorr newbie " unexpected kend" — alex mic <alexandremicouleau@...>
Hi,
Hi --
[#188755] Ruby 1.8.4 RDoc Seg fault — TRANS <transfire@...>
Got this today:
[#188756] map_if, collect_if ??? — "Bruce Woodward" <bruce.woodward@...>
Hi,
[#188761] TCPsocket send, puts and write — brad tilley <rtilley@...>
What are the differences (if any) between these methods of sending data:
On 4/13/06, brad tilley <rtilley@vt.edu> wrote:> What are the differences (if any) between these methods of sending data:>> t = TCPsocket.new(host, port)> t.write(a_string)> t.close>> t = TCPsocket.new(host, port)> t.puts(a_string)> t.close>> t = TCPsocket.new(host, port)> t.send(a_string)> t.close>> --> Posted via http://www.ruby-forum.com/.>>
[#188769] IO stream help — Lon Baker <lon@...>
I am struggling with handling stdin and stdout in Ruby.
Something like this?
Farrel Lifson wrote:
[#188784] Question mark in attr_* — Wiebe Cazemier <halfgaar@...>
Hi,
On 4/13/06, Wiebe Cazemier <halfgaar@gmx.net> wrote:
Patrick Hurley wrote:
[#188785] Re: Equivalent of Java static code block in Ruby? — "Kroeger, Simon (ext)" <simon.kroeger.ext@...>
> >
On 4/13/06, azrael@cream.org <azrael@cream.org> wrote:
> >
On 4/13/06, azrael@cream.org <azrael@cream.org> wrote:
[#188787] Re: map_if, collect_if ??? — "Kroeger, Simon (ext)" <simon.kroeger.ext@...>
> > module Enumerable
[#188790] Range#size — "Meinrad Recheis" <meinrad.recheis@...>
dear list,
[#188791] Ruby Idioms (TextMate Bundle) — James Edward Gray II <james@...>
Just a short note here, for TextMate users. I've made my bundle of
On Apr 13, 2006, at 6:56 PM, Ezra Zygmuntowicz wrote:
On Apr 14, 2006, at 12:35 PM, James Edward Gray II wrote:
Very cool.
On Apr 26, 2006, at 11:09 AM, Albert Vernon Smith wrote:
I'm getting an error compiling ruby 1.8.4 on a mac book pro.
[#188805] Array#- — jogloran <jogloran@...>
I need items to be compared based on their values, and not by object
[#188852] Rubyesque way to do multiple <=> — "Victor Shepelev" <vshepelev@...>
Hello All.
Victor Shepelev wrote:
On 4/13/06, Victor Shepelev <vshepelev@imho.com.ua> wrote:
[#188856] ruby/tk HTML_Widget and href's — "Chris Alfeld" <chris.alfeld@...>
Consider the following goal:
From: "Chris Alfeld" <chris.alfeld@gmail.com>
Yes, sorry. I should have said as much. I've run into similar issues
From: "Chris Alfeld" <chris.alfeld@gmail.com>
[#188882] Strange Integer() behavior — Patrick Joyce <patrick.t.joyce@...>
I am learning Ruby and have encountered an error on a call to
Hey Patrick
[#188900] Refactoring (#75) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
On Apr 14, 2006, at 7:46 AM, Ruby Quiz wrote:
[#188905] Default value for any type? — "Victor Shepelev" <vshepelev@...>
Hello all.
On 4/14/06, Victor Shepelev <vshepelev@imho.com.ua> wrote:> Hello all.>> I have code:>> def create_default(type)> type.new> end>> But with, for example, Float, it suddenly said:>> create_default(Float) #<=== undefined method `new' for Float:Class> (NoMethodError)>> Hmmm? How can I uniformly obtain default value for given class?
> > Hello all.
[#188918] Calling instance_eval on a block in C — "John Lam" <drjflam@...>
If I have this ruby method:
[#188926] Stupid Question But — Tom <lprono77@...>
I'm very new to Ruby. We have a dedicated server from Rackspace and I
[#188932] Google Summer of Code -- It's back — "Patrick Hurley" <phurley@...>
http://code.google.com/soc/
On 4/14/06, Patrick Hurley <phurley@gmail.com> wrote:
Hi --
dblack@wobblini.net wrote:
Peter Szinek wrote:
On Tue, Apr 18, 2006 at 12:34:49AM +0900, Nicolas Kassis wrote:
I'm also eligible, and this is right up my ally. Would love to get
On 4/17/06, Jake McArthur <jake.mcarthur@gmail.com> wrote:
On 4/17/06, Tanner Burson <tanner.burson@gmail.com> wrote:
On Apr 18, 2006, at 7:28 AM, Patrick Hurley wrote:
On 4/18/06, James Edward Gray II <james@grayproductions.net> wrote:
On 4/18/06, James Edward Gray II <james@grayproductions.net> wrote:
On 4/18/06, Nicolas Kassis <nic.kassis@gmail.com> wrote:
On Tuesday 18 April 2006 4:10 pm, Gregory Brown wrote:
Kirk Haines wrote:
I'll second Moodle ... only problem with it is that it's written in PHP,
Patrick Hurley wrote:
Peter Szinek wrote:
Xan wrote:
Hi --
Hi --
dblack@wobblini.net wrote:
On 4/18/06, Roy Sutton <roys@mindspring.com> wrote:
[#188935] Super-unstable Webrick on Windows 2000 — Bryan Duxbury <bryan.duxbury@...>
I'm using Ruby 1.8.4 on a Windows 2000 machine. When running anything
Why not just use Mongrel[1]?
Stephen Caudill wrote:
Actually, I ran on 1.8.2 for a long time, too. The errors had exactly
On 4/14/06, Bryan Duxbury <bryan.duxbury@gmail.com> wrote:
Patrick Hurley wrote:
On 4/14/06, Bryan Duxbury <bryan.duxbury@gmail.com> wrote:
According to the VS.NET debugger, this is the call stack. Does this look
On 4/14/06, Bryan Duxbury <bryan.duxbury@gmail.com> wrote:
[#188951] HighLine - examples for using "list" — "Sy Ali" <sy1234@...>
http://highline.rubyforge.org/doc/classes/HighLine.html
On 4/15/06, Mike Stok <mike@stok.ca> wrote:
Ok, I played with it some more and it appears it won't do what I want.
On Apr 15, 2006, at 10:19 AM, Sy Ali wrote:
On 4/15/06, James Edward Gray II <james@grayproductions.net> wrote:
On 4/15/06, Sy Ali <sy1234@gmail.com> wrote:
On Apr 15, 2006, at 1:36 PM, Sy Ali wrote:
On 4/15/06, James Edward Gray II <james@grayproductions.net> wrote:
On Apr 15, 2006, at 5:00 PM, Mike Stok wrote:
On 4/15/06, James Edward Gray II <james@grayproductions.net> wrote:
On Apr 16, 2006, at 9:55 AM, Gregory Brown wrote:
Although I've made / discovered some of the other little tools I've
On Apr 16, 2006, at 2:44 PM, Sy Ali wrote:
On 4/16/06, James Edward Gray II <james@grayproductions.net> wrote:
On Apr 16, 2006, at 4:28 PM, Gregory Brown wrote:
[#188957] Bug: Requiring "breakpoint" causes the entire Rails framework to load. — "Alder Green" <alder.green@...>
Hi
Alder Green wrote:
On 4/15/06, Florian Gro=DF <florgro@gmail.com> wrote:
Scott Barron wrote:
On Sun, Apr 16, 2006 at 05:21:41AM +0900, Florian Growrote:
On 4/16/06, Mauricio Fernandez <mfp@acm.org> wrote:
[#188960] Typeout during RubyGems Install — Bil Kleb <Bil.Kleb@...>
[Note: I'm reposting this to the mailing list since I think
[#188972] Ruby Install vs. Gimp Install: how to make them both happy? — "Michael Prior" <michael.prior@...>
Hello all,
[#188973] "Ruby for Rails" now available in PDF! — dblack@...
Hi everyone --
[#188979] Ruby Game Programming — "Doug Bromley" <doug.bromley@...>
Hi All
--- Doug Bromley <doug.bromley@gmail.com> wrote:
On a related note, is there a module out there for
There's ruby/glew that lets you use GLSL shaders and some other GL extensions:http://rubyforge.org/projects/rubyglew
[#188996] understanding "[BUG] cross-thread violation on rb_gc()" — "Suraj N. Kurapati" <skurapat@...>
-----BEGIN PGP SIGNED MESSAGE-----
Hi,
[#189008] non-interactive gem install impossible? — Stephen Waits <steve@...>
As you know, "gem install mongrel -y" presents this:
Stephen Waits wrote:
No idea really. I also would like to know how I can clear out older gems
[#189027] Simple Enumerations in Rub — Rusty Geldmacher <rusty@...>
Hi all,
[#189030] How extract data from a web site? — Ingo Weiss <ingo01@...>
Hi,
[#189058] Tattoo — "ruby talk" <rubytalk@...>
I want to get a tattoo of ruby code, but i just cant seem to find code
On 4/16/06, ruby talk <rubytalk@gmail.com> wrote:
I don't know what that means, but I would totally advise against
[#189082] Net::FTP broken on OS X (Tiger) / Ruby 1.8.2 — Subimage <subimage@...>
I'm running Ruby 1.8.2 on my Tiger machine. I'm trying to use Net::FTP
Ruby 1.8.2 that comes with Tiger is broken anyway. You should
[#189092] argument parsing with embedded parentheses — Bil Kleb <Bil.Kleb@...>
Hello,
[#189106] Regular expression to parse out "host" part of URL string — Wes Gamble <weyus@...>
All,
[#189109] Resources to get started with ruby — Andrea <anrea1877@...>
Hi - Im looking to find resources on ruby I have found rubyforums.co.uk
[#189118] Need to carry over application variable into RUBY script — Peter Bailey <pbailey@...>
I have an application that converts PDFs to individual EPS files. When
On 4/17/06, Peter Bailey <pbailey@bna.com> wrote:> I have an application that converts PDFs to individual EPS files. When> it does so, it creates a subdirectory with the same name as the original> filename and puts all of the resulting EPS files it creates into that> directory. Well, I have to do a lot of scripting and stuff on those EPS> files. To automate this, I need to know what the directory name is that> it put the files. The application provides a variable, "%2," just for> this purpose. I've gotten this %2 variable to work for me in cmd.exe.> But, I'd like it to work in RUBY. I'm sure it can be done. But, came> someone tell me how I can transfer this %2 variable from my application> to a Dir.chdir target?
Austin Ziegler wrote:
On 4/17/06, Peter Bailey <pbailey@bna.com> wrote:> Austin Ziegler wrote:> > On 4/17/06, Peter Bailey <pbailey@bna.com> wrote:> >> I have an application that converts PDFs to individual EPS files. When> >> it does so, it creates a subdirectory with the same name as the original> >> filename and puts all of the resulting EPS files it creates into that> >> directory. Well, I have to do a lot of scripting and stuff on those EPS> >> files. To automate this, I need to know what the directory name is that> >> it put the files. The application provides a variable, "%2," just for> >> this purpose. I've gotten this %2 variable to work for me in cmd.exe.> >> But, I'd like it to work in RUBY. I'm sure it can be done. But, came> >> someone tell me how I can transfer this %2 variable from my application> >> to a Dir.chdir target?> >> > %2 is the 2nd argument on the command-line, so you just have to look> > for ARGV[2].> >> > It'd be interesting to find out what %1 is ;)> Thanks, Austin. So, do I do this?>> Dir.chdir(ARGV[2])> or this> Dir.chdir("ARGV[2]")?
Austin Ziegler wrote:
[#189129] Re: IO not closed by GC — "Gennady Bystritsky" <Gennady.Bystritsky@...>
But you do not even know when GC will be run, so in your case it might
[#189203] Google Summer of Code update — dblack@...
Hi --
On 4/17/06, dblack@wobblini.net <dblack@wobblini.net> wrote:> I've just (20 minutes ago) returned from Canada on Rails (plus a> couple of days of just Canada), and happy to see a Summer of Code> buzz.
but I will be in Europe
On Apr 17, 2006, at 10:43 PM, dblack@wobblini.net wrote:
[#189212] a flaw in tuplespace implementation? — Guest <xa3a.mc@...>
it seems tuplespace's read operation is not considered important
[#189225] split words with two columns — "Dani" <dan@...>
Hi everyone, I need a little support. I have this script:
[#189254] Win32 Serial Communications, maybe using mscomm.ocx — John Johnson <johnatl@...>
Hello All,
John,
[#189258] Is anyone doing serious dev using the one-click Ruby? — David Reynolds <dr-groups@...>
I'm getting started with Rails on Windows and really like the
On 4/18/06, David Reynolds <dr-groups@fantast.com> wrote:> I'm getting started with Rails on Windows and really like the> convenience of the one-click Ruby installer but the stable releases are> too few and far between -- only about once a year it seems -- which> means you get stuck with an old version of Ruby.> Is there an easy way to patch it while waiting between stable releases?> Or is the one-click version of Ruby just a convenient tool for newbies> on Windows and not recommended for serious Ruby development? (A few> things I've found that don't work have also given me this impression.)> If not the one-click installer, what? One of the other binaries for> Windows? Or is the problem endemic to all win32 binaries, and the best> course is to work on linux?
Thanks, Austin and Zach for setting me straight, and especially Curt
[#189263] ruby-ldap on Windows (built) — Chris Scharf <scharfie@...>
I have finally managed to build the ruby-ldap library for the Windows
On 4/18/06, Chris Scharf <scharfie@gmail.com> wrote:
Wilson Bilkovich wrote:
Chris Scharf wrote:
Ian Macdonald wrote:
Ian Macdonald wrote:
Ian Macdonald wrote:
Peter Tseng wrote:
Jason Woodruff wrote:
Jason Woodruff wrote:
my goal is installing ruby with support for Mssql and LDAP on windows
As far as I can recall I was able to install the MSSQL support without
Francis Cianfrocca wrote:
On 8/29/06, Rcmn 73 <rcmn73@gmail.com> wrote:
Does Net::LDAP have a way of dealing with this on v2 servers? or
On 8/29/06, Jason Rohwedder <jro@codegrinder.com> wrote:
[#189270] Re: Google Summer of Code -- It's back — Anne G <anne@...>
Could a student work on ruby and opengl to make it easier to
[#189286] Publishing to rubyforge - is there a command line tool that accompanies the rubyforge publisher rake contrib task — "Jeff Barczewski" <jeff.barczewski@...>
I was trying to use the rake contrib task for publishing to Rubyforge, but
On 4/18/06, Jeff Barczewski <jeff.barczewski@gmail.com> wrote:> I was trying to use the rake contrib task for publishing to Rubyforge, but> it seems to use a command line component to do the work (which I don't seem> to have :-) I believe this was contributed by Florian Gross. Does anyone> know where I get this extra piece to make this all work?>> What do people use to automate their uploads to Rubyforge? Is this publish> task the best way? I have many files to post each time.
Thanks Austin, that looks like that will work well and appears to have more
[#189287] Very Strange Error(s) — Bob Hutchison <hutch@...>
Hi,
[#189288] RI documentation for RubyGems — Wes Gamble <weyus@...>
Can anyone explain how the RI documentation for RubyGems may be:
[#189303] String#clear — James Edward Gray II <james@...>
Today I was using an Array and a String to track some info in my unit
[#189323] practices — Tom Allison <tallison@...>
Is there anything of a best practices on how to use your own modules?
[#189331] Nested scopes — Yoann Guillot <john-rubytalk@...>
Hi,
[#189354] interested in metaprogramming? — "chiaro scuro" <kiaroskuro@...>
Hi, I have started writing a guide to metaprogramming called 'the way
On Wednesday 19 April 2006 09:37, chiaro scuro wrote:
two people is already a crowd to me :-)
On Wed, Apr 19, 2006 at 06:31:47PM +0900, chiaro scuro wrote:
On 4/19/06, Gregory Seidman <gsslist+ruby@anthropohedron.net> wrote:
[#189371] OFFTOPIC: console text viewer — "Dani" <dan@...>
Hi,
[#189392] Canada on Rails MP3s? — Tom Copeland <tom@...>
Does anyone have audio files of the Canada on Rails presentations? It'd
[#189396] understanding the behavior of Method#to_proc — Eli Bendersky <eliben@...>
Hello all,
Hi,
Yukihiro Matsumoto wrote:
Hi,
Yukihiro Matsumoto wrote:
>>>>> "E" == Eli Bendersky <eliben@gmail.com> writes:
[#189407] Is there an "in" operator in ruby ? — Dinesh Umanath <u_dinesh@...>
Hi all,
ar = [1, 2, 3, 4, 5, 6]
[#189409] VIM + indentation/highlightning for ruby — Meino Christian Cramer <Meino.Cramer@...>
Hi,
[#189414] Probleme with 2-dimensionnal arrays — Erard Sebastien <ror@...720.net>
I can't understand why this piece of code doesn't return the array
[#189423] Symbol#to_proc is just so beautiful — Daniel Schierbeck <daniel.schierbeck@...>
When is this ever getting into Ruby Core?
Daniel Schierbeck schrieb:
John Johnson wrote:
John Johnson wrote:
Perhaps instead of
[#189425] Re: Symbol#to_proc is just so beautiful — "Berger, Daniel" <Daniel.Berger@...>
> -----Original Message-----
[#189443] overriding a class method — Kevin Olbrich <devlists-ruby-talk@...>
Here's a quick question for the Meta-programming gurus
[#189448] Symbol#to_proc is just so beautiful — TRANS <transfire@...>
What would you think of:
TRANS wrote:
On Thu, 2006-04-20 at 04:02 +0900, TRANS wrote:
On Apr 19, 2006, at 12:56 PM, Ross Bamford wrote:
On Thu, 2006-04-20 at 06:46 +0900, Eric Hodel wrote:
[#189454] Database re-structuring — Dick Dishkuvek <dishkuvek@0xf00d.com>
Hi everyone, I am looking for some suggestions here.
[#189472] Learning Ruby — Jesse M <demon1312@...>
Okay I've went through Chris Pines tutorial on
[#189473] Building Strings — Will Merydith <will.merydith@...>
I need to build the DOM id for my RJS template using an id passed to the
[#189486] Array#each Looping Gotcha — Nathan Olberding <nathan.olberding@...>
I think I've found a gotcha. Really, it should be expected behavior, but
[#189505] Zero is true, but it isn't — John Johnson <johnatl@...>
I was wondering today, so I tried this:
On Apr 20, 2006, at 1:51, John Johnson wrote:
$ irb
[#189516] Re: Gateway (was Re: Symbol#to_proc is just so beautiful) — TRANS <transfire@...>
You guys have no sympathy for goodness sake! You want to dis the
On 4/19/06, TRANS <transfire@gmail.com> wrote:
On 4/19/06, Gregory Brown <gregory.t.brown@gmail.com> wrote:
On 4/19/06, John Gabriele <jmg3000@gmail.com> wrote:
On 4/19/06, Ryan Leavengood <leavengood@gmail.com> wrote:
[#189518] MP3 download — "Xiaofeng Qiu" <qiuxiaofeng@...>
i tried on my first ruby program, downloading a MP3 file:
[#189545] vim 7 ruby omni-complete 0.4 — Mark Guzman <segfault@...>
Once again after some work and outside contribution we have another release
[#189552] Write Out Then Read In Hash of Two-element Arrays — David Bailey <david.bailey@...>
Kind All,
[#189560] Re: Write Out Then Read In Hash of Two-element Arrays — "Kroeger, Simon (ext)" <simon.kroeger.ext@...>
Well,
[#189573] Questions about copying using FileUtils — Peter Bailey <pbailey@...>
Hello,
[#189580] Re: [SUMMARY] Refactoring (#75) — "Molitor, Stephen L" <Stephen.L.Molitor@...>
James,
On 4/20/06, Molitor, Stephen L <Stephen.L.Molitor@erac.com> wrote:
[#189587] Windows Client/Linux Server IDE for Ruby ? — James Byrne <byrnejb@...>
I presently use ssh & vi to program in ruby/rails, typically from a
James Byrne <byrnejb@harte-lyne.ca> writes:
[#189592] Converting IP range to array of IP's — Kris <krisleech@...>
I'm looking to convert an IP string (ranges, subnet masks or wild-carded
On 20/04/06, Kris <krisleech@interkonect.com> wrote:> I'm looking to convert an IP string (ranges, subnet masks or wild-carded> IP's) in to an array of IP strings:
[#189606] NYC Ruby Job Fairツ帰pril 25th — Zed Shaw <zedshaw@...>
=== NYC Ruby Job Fair -- April 25th
On 4/20/06, Zed Shaw <zedshaw@zedshaw.com> wrote:
On 4/20/06, Ryan Leavengood <leavengood@gmail.com> wrote:
[#189636] Segmentation Fault — "McDevitt, Chris" <CMcDevitt@...>
Hi,
[#189648] Optional Message Parameters? — Nathan Olberding <nathan.olberding@...>
(Warning: Newbie Altert!)
[#189653] XML parser with file names and line numbers — "David Pollak" <pollak@...>
Howdy,
2006/4/21, David Pollak <pollak@gmail.com>:
-----BEGIN PGP SIGNED MESSAGE-----
[#189658] CHM of documentation (core/stdlib)?? — Philip Hallstrom <ruby@...>
Hi all -
[#189664] how to figure out what class a method is in for a *class method*? — Philip Hallstrom <ruby@...>
Hi all -
[#189667] BBEdit, Ruby and Intel Macs — Greg <gmacgregor@...>
Can anyone verify (as in "yes" or "no") that the Ruby language module
Logan Capaldo wrote:
[#189691] Threading example in FAQ 4.2 is slightly broken? — Andy Gimblett <A.M.Gimblett@...>
Hi all,
Hi --
On Fri, Apr 21, 2006 at 08:22:51PM +0900, dblack@wobblini.net wrote:
On 4/21/06, Andy Gimblett <A.M.Gimblett@swansea.ac.uk> wrote:
[#189703] Text Munger (#76) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
Ruby Quiz wrote:
On Apr 21, 2006, at 8:10 AM, Florian Growrote:
this quiz is probably easier than usually, as, for the first time
On Fri, Apr 21, 2006 at 11:16:38PM +0900, Dirk Meijer wrote:
On Fri, Apr 21, 2006 at 11:27:08PM +0900, Gregory Seidman wrote:
My first participation in Ruby Quiz, and it has to be easy. That
Strictly speaking, any Ruby code can be made into one line with
On Sat, 22 Apr 2006, Ryan Leavengood wrote:
> i went golfing and got one line : 96 chars
From: "Andrew Johnson" <ajohnson@cpan.org>
On Apr 21, 2006, at 3:34 PM, Bill Kelly wrote:
On Sat, 2006-04-22 at 06:09 +0900, James Edward Gray II wrote:
Here's my solution.
On Apr 23, 2006, at 4:45 AM, Himadri Choudhury wrote:
On Apr 21, 2006, at 2:34 PM, Ruby Quiz wrote:
On Apr 23, 2006, at 12:52 PM, Daniel Harple wrote:
@James Gray: Can you please only add my second listing on rubyquiz.com.
On Apr 24, 2006, at 6:55 AM, Alex Barrett wrote:
James Gray wrote:
[#189717] Synchronized object — "Kroeger, Simon (ext)" <simon.kroeger.ext@...>
Dear ruby-talk,
[#189758] Newbie questoin of the day:A for loop that counts backwards? — MenDAKE <mendake_ddude@...>
How do I get a for loop to count backwards?
MenDAKE wrote:
[#189786] Ruby/Watchcat 1.0.0 — Andre Nathan <andre@...>
Hello
[#189795] Annoucing DPP's Ruby Playground — "David Pollak" <pollak@...>
Folks,
[#189805] Re: ot: spam (was RE: [QUIZ] Text Munger (#76)) — Pe, Botp <botp@...>
Dave Burt [mailto:dave@burt.id.au]:
[#189814] class_eval used inline vs within class definition — "Pat Maddox" <pergesu@...>
I'm reading the Ruby for Rails book, and on page 350 it has the example
On 4/22/06, Pat Maddox <pergesu@gmail.com> wrote:
[#189816] YAML, ERB & nested maps problem — 13 <one.three@...>
Hi,
[#189849] [QUIZ] Text Munger (#76) — "Alex Barrett" <al.barrett@...>
Might as well send it in seperately:
[#189883] MS Word files and PDFs — "Mateo Barraza" <mateo.barraza@...>
Hello,
[#189890] Metaprogramming is fun! — "Michael Guterl" <mguterl@...>
I finally decided to dive in and give metaprogramming in Ruby a shot. I'm
[#189900] How do threads and join work? — "Pat Maddox" <pergesu@...>
I'm reading the pickaxe and it says on p137 "When a Ruby program
I've been using these two lines to capture text that only appears once, but
[#189906] How to make an array from a date range? — "Marston A." <marston@...>
What is the easiest way in Ruby to make an array our of a date range?
On Sun, 23 Apr 2006, Marston A. wrote:
[#189934] [SOLUTION] Text Munger (#76) — Robert Retzbach <rretzbach@...>
Hello,
[#189939] [SOLUTION] Text Munger #76 — "Mike" <ruby@...>
This is my first Ruby Quiz submission as well (there seems to be a lot of us
Here's mine, it doesn't do nifty accented characters, but on the
[#189940] how to ensure no blank lines in DATA statements — Joseph Paish <jepaish@...>
suppose i have the following piece of code to read some data (input by
Hi --
[#189988] Google Calendar lib? — James Britt <james_b@...>
I've been hacking around with the Google calendar API, but before I
[#189993] Ruby programs to learn from. — Jonathan uUttle <j.tuttle@4077.mash.org>
Hello,
Jonathan uUttle wrote:
Thanks for the help so far. I was indeed aware of Ruby Quiz already and
On 4/25/06, Jonathan Tuttle <j.tuttle@4077.mash.org> wrote:
Looks and sound interesting though there's not much meat on the site
[#189998] commandline help for frustrated newb? — pb <posterboy@...>
ye gods,
On Apr 23, 2006, at 7:47 PM, pb wrote:
[#190006] Future of parenthesis? — Robby Russell <robby.lists@...>
Hey all!
On Mon, 2006-04-24 at 11:42 +0900, Robby Russell wrote:
Ross Bamford wrote:
[#190017] fault-tolerant persistent storage (DB?) — Benedikt Heinen <ruby@...>
[#190021] how to integrate ruby tk/gtk event loop with another kind event loop such as socket server? — "Talha Oktay" <toktay@...>
Hello,
> I expect a high volume of network traffic so I need to decouple the gui
[#190022] Ruby scripting support for Emacs — "Alder Green" <alder.green@...>
Hi
[#190036] Squeak-like Ruby env — "Robert Feldt" <robert.feldt@...>
Hi,
On 4/24/06, Robert Feldt <robert.feldt@gmail.com> wrote:
On 4/24/06, Ryan Leavengood <leavengood@gmail.com> wrote:
On 4/24/06, Robert Feldt <robert.feldt@gmail.com> wrote:
Ryan Leavengood wrote:
Hi,
[#190076] Beta Ruby bindings for Xapian available — Paul Legato <plegato@...>
Dear Ruby-talk,
[#190108] Patch for ri to show subclasses — Sven Klemm <sven@...3d2.de>
Hello,
[#190117] Format of RUBYOPT — "Ryan Leavengood" <leavengood@...>
Hello all,
On Tue, 25 Apr 2006, Ryan Leavengood wrote:
On 4/24/06, ara.t.howard@noaa.gov <ara.t.howard@noaa.gov> wrote:
[#190127] Hash#getopt — ara.t.howard@...
[#190144] Rake task dependeny vs. method call — TRANS <transfire@...>
In Rake, what's the signifficant difference between
Just for fun I put together this simple demonstration.
On Wed, 26 Apr 2006, Trans wrote:
ara.t.howard@noaa.gov wrote:
[#190150] difference between :: and . in calling methods — malamute jute <mutedev@...>
newb here.
[#190186] Ruby IDE — SleepJunk13 <SleepJunk13@...>
Is there a standard IDE out there that most people use? I'm looking at
On 4/25/06, SleepJunk13 <SleepJunk13@gmail.com> wrote:
On 4/25/06, Ryan Leavengood <leavengood@gmail.com> wrote:
>>> sender: "John Gabriele" date: "Wed, Apr 26, 2006 at 10:20:24AM +0900" <<<EOQ
SleepJunk13 wrote:
Hmm. The only thing that turned me off to Emacs was the
Eric Armstrong wrote:
On 5/3/06, Pistos Christou <jesusrubsyou.5.pistos@geoshell.com> wrote:
John Gabriele wrote:
First, thanks to John for pointing out that FreeRide
Eric Armstrong wrote:
[#190187] Compiling Ruby — kuppas kuppa <kuppas@...>
Hi,
[#190203] A proposal for Parsing Ruby in Ruby — Kevin Tew <tewk@...>
Kevin Tew <tewk@tewk.com> writes:
[#190218] Adding time — Mohammad <name.goes.here44@...>
is it possable to do this:
[#190226] x.times dont work — Dawid Skomski <dskomski@...>
Hi
[#190236] Date-building regexes — Ashley Moran <work@...>
Hi
[#190241] How i can to parse string — Jonh <iiskakov@...>
I have this string:
Jonh wrote:
On Apr 26, 2006, at 7:12 AM, Jonh wrote:
[#190295] Stumped: How do I iterate over regular expression matches? — Xeno Campanoli <xeno@...>
I looked for an iterator, and there may be something, but I don't recognize it.
[#190304] randomizing a simple array of strings — "Michael Gorsuch" <michael.gorsuch@...>
OK, this is pretty bad for a CS grad to ask, but my brain is worn out today.
[#190311] Ruby for command line applications — Alan M <nospam@...>
Hi,
Of course, you can expect a bias on this mailing list, but I will
On Wednesday 26 April 2006 3:31 pm, Jake McArthur wrote:
On Apr 26, 2006, at 4:41 PM, Kirk Haines wrote:
On Apr 26, 2006, at 4:31 PM, Jake McArthur wrote:
On 4/26/06, James Edward Gray II <james@grayproductions.net> wrote:
[#190330] Magic Quotes in Ruby? — Nathan Olberding <nathan.olberding@...>
(I thought I posted this question just a bit ago but I can't find it
[#190334] Extending Methods — Geoff Stanley <geoffstanley@...>
Hello all.
On Apr 26, 2006, at 7:41 PM, Geoff Stanley wrote:
James Gray wrote:
[#190352] Q: how to undefined a class after declaration? — mike chang <imadzen@...>
E.g. using irb, I created class A and then class B, later I realized
[#190367] Re: Q about the FasterCSV — Pe, Botp <botp@...>
Dave Burt [mailto:dave@burt.id.au] :
Pe wrote:
[#190368] from block to code (also: how to get the bindings of a block) — "chiaro scuro" <kiaroskuro@...>
Does anyone know how to convert a block to a string representation of
chiaro scuro wrote:
how would I know what is the source file and lines associated with a block?
Does ParseTree solve your problem?
On Apr 27, 2006, at 12:35 AM, chiaro scuro wrote:
On 4/30/06, Eric Hodel <drbrain@segment7.net> wrote:
On Apr 30, 2006, at 1:30 PM, chiaro scuro wrote:
On 5/1/06, Eric Hodel <drbrain@segment7.net> wrote:
On 5/1/06, chiaro scuro <kiaroskuro@gmail.com> wrote:
On 5/1/06, Jacob Fugal <lukfugl@gmail.com> wrote:
On Tue, 2006-05-02 at 05:11 +0900, chiaro scuro wrote:
Not sure about the ATs. even if I don't mind them that much... if I unfocus
On Tue, 2006-05-02 at 09:27 +0900, chiaro scuro wrote:
True, I need to check variables before and after calling the block and work
On Tue, 2006-05-02 at 09:52 +0900, chiaro scuro wrote:
Ross Bamford <rossrt@roscopeco.co.uk> writes:
I like it :-)
[#190381] Rake default == -T — TRANS <transfire@...>
Hi,
[#190387] Text Munger (#76) — Ruby Quiz <james@...>
Obviously, this is not an overly difficult problem. Here's a small, but pretty
Hi --
On Apr 27, 2006, at 7:41 AM, dblack@wobblini.net wrote:
Hi --
On Apr 27, 2006, at 8:01 AM, dblack@wobblini.net wrote:
[#190391] "Unrequire" a file ? — Tuka Opaleye <tuka@...>
Hi,
[#190435] Integration/Antidifferentiation Program — SleepJunkie <SleepJunk13@...>
I'd like to write a program to integrate derivatives to save time on
SleepJunkie wrote:
I can integrate and derive perfectly fine. It's more of "I just want to
First of all I'd like to disagree with everybody who told you you'd be
Giles Bowkett wrote:
So.. I have no idea where to start.
I've been thinking about doing something like this myself, just for
A look at Axiom or Maxima (open source) or Derive (closed source but
I know nada about calc, but for what it's worth, it's used as a
Hey, has anyone successfully created a program with Ruby that uses
Richard Schneeman wrote:
By "using" maxima, I mean accessing maxima via a pipe in Ruby. I am
There are a number of web apps that do this sort of thing -- live math
[#190436] Gateway and the new ruby-talk-google archive — transfire@...
Hi All,
[#190438] OT: Vim->Ruby and back ? — Meino Christian Cramer <Meino.Cramer@...>
Hi,
Meino Christian Cramer wrote:
From: Reid Thompson <reid.thompson@ateb.com>
On 4/27/06, Meino Christian Cramer <Meino.Cramer@gmx.de> wrote:
[#190450] Fishing in Ruby — A Fisherman <fishing@...>
sea =<<END_OF_SEA
A Fisherman wrote:
[#190453] Re: Fishing in Ruby — "Brown, Warren" <warrenbrown@...>
>> But does it scale?
Hi --
unknown wrote:
>>>>> But does it scale?
For sure, there's no plaice here for them....
Surely there has been enough carping on.. we should stop baiting each
Yes, I agree. This is all becoming one big flaming fugu...
I'm floundering around, hoping there will be a reel end to this
I think it may be a while before this thread hits its fin ish.
Nah. This is just a fluke. The bad puns will abait any minute now.
You're right. We've definitely passed the point where anyone else will dive in.
On 4/28/06, Giles Bowkett <gilesb@gmail.com> wrote:
On 4/28/06, Bill Guindon <agorilla@gmail.com> wrote:
Welcome, it's good to see more people getting their feet wet with Ruby!
Yes we usually don't see this much carp over one thread but Welcome!
I just followed a link earlier in this post to the ruby forum. Google
That post sure hooked a lot of rubyists. Though some of the responses
Hi --
On Sat, 29 Apr 2006, dblack@wobblini.net wrote:
unknown wrote:
On 5/3/06, Pistos Christou <jesusrubsyou.5.pistos@geoshell.com> wrote:
[#190457] Ruby Drops — Jake McArthur <jake.mcarthur@...>
This is the idea I am thinking of proposing for my Google Summer of
> How will it find similar code? One simple issue is that people will
Come on, it can't be that bad of an idea! Is this really going to go
On 4/28/06, Jake McArthur <jake.mcarthur@gmail.com> wrote:
> On 4/28/06, Jake McArthur <jake.mcarthur@gmail.com> wrote:
That exactly what I'm going for... something that nobody else really
[#190459] Google SOC Suggestion — James Edward Gray II <james@...>
A bug tracking mechanism that sucks significantly less than FogBugs!
[#190476] is_number function ? — "Todd S." <tgate@...>
Is there a function in core ruby to determin if a variable is a number
[#190480] Possible Ruby Bug? — Brad <rtilley@...>
require 'open-uri'
[#190481] getting the next line with the iterator — Eric Boucher <devlists-ruby-talk@...>
Hi,
[#190487] Cosmological distances with ruby — "Cameron McBride" <cameron.mcbride@...>
I'm doubtful of any interest, but in the odd chance that someone else
On 4/27/06, Cameron McBride <cameron.mcbride@gmail.com> wrote:
[#190488] nil? takes much time — "Victor Shepelev" <vshepelev@...>
Hello all.
[#190532] Re: Q about the FasterCSV — Pe, Botp <botp@...>
Gregory Brown [mailto:gregory.t.brown@gmail.com] :
[#190546] Re: Implementing publish subscribe in ruby — "Wang Austin-W22255" <xuwang@...>
If you want a publish/subscribe framework, I found freebase, which is the core of the freeride ruby IDE, elegant and powerful.
[#190564] time.parse fails for year values > 2037 (time out of range) in ruby 1.8.4 — "Peter Krantz" <peter.krantz@...>
Hi!
If you don't need the time and just the date, then Date seems to have a much wider range
I specifically need both date and time. I find it strange that a
"Peter Krantz" <peter.krantz@gmail.com> writes:
[#190570] class returns value without method or attribute — kris <krisleech@...>
If I have a class how do I get it to return a value without specifying a
>If I have a class how do I get it to return a value without specifying a
[#190576] Ruby is the stuff Gems are made of — Guest <xyz@...>
Ruby is productive fun.
On 4/28/06, Guest <xyz@abc.com> wrote:> Ruby is productive fun.>> --> Posted via http://www.ruby-forum.com/.
[#190588] cat2rafb (#77) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
[#190589] Intra-module method calls — Wes Gamble <weyus@...>
I have a module named X
Sorry, I wasn't clear enough - my question is why does the call to
[#190607] how to create Class object with name determined at runtime — Bill Roberts <bill.roberts@...>
I hope someone can help with this - I am a Ruby newbie.
You can use eval() to do that, like so:
John Johnson wrote:
On Mon, May 01, 2006 at 08:52:12PM +0900, Bill Roberts wrote:
[#190609] Counting words — "Jamal Mazrui" <Jamal.Mazrui@...>
I've research this but am still having trouble getting it right ....
[#190622] how to use curly brackets vs. 'end' in Ruby — carlo <cdicelico@...>
i dislike the use of 'end' (just about the only think i *don't* like in
On 4/28/06, carlo <cdicelico@earthlink.net> wrote:> i dislike the use of 'end' (just about the only think i *don't* like in> ruby). so, since everybody is saying that this is just a matter of> taste, why won't this work:
FYI, the most often used convention is to use {} for single line
On 4/28/06, Jake McArthur <jake.mcarthur@gmail.com> wrote:> FYI, the most often used convention is to use {} for single line> blocks and do..end for multiline blocks.>> - Jake McArthur
2006/4/28, Austin Ziegler <halostatue@gmail.com>:
From: "Robert Klemme" <shortcutter@googlemail.com>
ah! but not may know that there are both bad-hungarian and good-hungarian !
[#190643] Re: IMAP disconnect broken? — Eric Hodel <drbrain@...7.net>
Eric Hodel wrote:
On Apr 28, 2006, at 2:58 PM, Stuart Stegall wrote:
Eric Hodel wrote:
[#190663] HTTP:Post and Ruby 1.8.2 — "Jason Persampieri" <jason@...>
It seems HTTP:Post was changed a bit in 1.8.3+
[#190674] Ruby on 64-bit Linux — Sid Stuart <sidstuart@...>
Hi,
[#190687] How to decode the following string — Rich Ard <hi2005@...>
hello,
[#190689] Multiplexed I/O — "Vlad GALU" <vladgalu@...>
I'd like to use Ruby for a quite high performance networking tool.
2006/4/29, Vlad GALU <vladgalu@gmail.com>:
[#190712] can a ruby script perform a chdir on win xp? — "Bill Guindon" <agorilla@...>
I want to run a ruby script, and end up in a different directory. Possible?
Daniel Berger <djberg96@gmail.com> writes:
"Bill Guindon" <agorilla@gmail.com> writes:
On 4/29/06, Lloyd Zusman <ljz@asfast.com> wrote:
On 4/30/06, Bill Guindon <agorilla@gmail.com> wrote:
[#190755] MinDI 0.3 — Joel VanderWerf <vjoel@...>
[#190758] Constant in Ruby. — Charlie <peckcharlie@...>
I'm new to Ruby programming and I saw this article which concerns me:
Charlie wrote:
Mike Fletcher wrote:
Charlie wrote:
Thank you everyone for your input. I got this simple example to share:
On 5/5/06, Charlie <peckcharlie@yahoo.com> wrote:
> >> A = "foo"
On 5/5/06, Charlie <peckcharlie@yahoo.com> wrote:> Okay, just one more go ...>> A = "Foo" => "Foo"> A.object_id => 29971016> B = A => "Foo"> B.object_id => 29971016> A.freeze => "Foo"> B << "Bar"> TypeError: can't modify frozen string> from (irb):7:in `<<'> from (irb):7> from :0
[#190776] Ruby based editor — Phil Jackson <phil@...>
Hi all,
On Sunday 30 April 2006 11:00 am, Phil Jackson wrote:
On Mon, May 01, 2006 at 07:38:40AM +0900, Randy Kramer wrote:
On 4/30/06, Phil Jackson <phil@shellarchive.co.uk> wrote:
On 5/1/06, John Gabriele <jmg3000@gmail.com> wrote:
On 5/1/06, Simon Strandgaard <neoneye@gmail.com> wrote:
On 5/1/06, John Gabriele <jmg3000@gmail.com> wrote:
"Simon Strandgaard" <neoneye@gmail.com> writes:
[#190808] So I got a binary file... — bostonmacosx <tcdevlin@...>
Sorry for being such a NEWB. I'm a pretty prolific PHP writer however
bostonmacosx wrote:
f 80 00 00 bf 80 00 00 bf 80 00 00 c0 00 00 00 |................|
ruby-ldap on Windows (built)
I have finally managed to build the ruby-ldap library for the Windows platform (i.e. not a cygwin or ming build, but an mswin32 build). This has been an issue for awhile as the maintainer of the project does not have access to a Windows machine for testing. So far, it seems to be working (I use it only for ActiveDirectory authentication). Anyway, if you are like me and have been struggling to get ldap working on the mswin32 build, please try the pre-built package: Download: http://webtest.wvu.edu/users/cbscharf/ldap/ Put ldap.so in: C:\ruby\lib\ruby\site_ruby\1.8\i386-msvcrt Put *.rb in: C:\ruby\lib\ruby\site_ruby\1.8\ldap I believe these are the proper locations. Hopefully this helps someone out there :-) Note: This was build using 0.9.4 of ruby-ldap on WinXP SP2. -- Posted via http://www.ruby-forum.com/.