337415-339527 subjects 337962-340496
^ access to private methods from the class level
337642 [farmsal yaho] A class with a private method "jim" which can be called on objects of
+ 337644 [jballanc gma] You can't do that because private methods cannot have an explicit
+ 337645 [jgabrielygal] irb(main):001:0> class Kam
| 337646 [jballanc gma] access restriction !=3D security
+ 337825 [dan-ml dan42] It seems to me like what you're looking for is "protected", not private
^ scrubyt related query
337651 [saurabh ciph] I m newbie for scrubyt . I want to know that how to read the data(text
^ oracle oci8 utf8 corruption
337654 [ciapecki gma] require 'oci8'
337743 [ciapecki gma] apparently setting NLS_LANG=3DAMERICAN_AMERICA.UTF8 (externally! - not
^ making a name like "Copy of...", "Copy 2 of..."
337655 [toastkid.wil] Here's a little ruby exercise - i'm a bit brain damaged today and can't
337656 [TimHunter nc] def copy(string)
337658 [toastkid.wil] That method returns a proc though, rather than a string. Wouldn't that
337662 [rick.denatal] def copied_name(source_name)
337665 [toastkid.wil] I'll go with this one, thanks Rick!
337696 [b.candler po] def copied_name(source_name)
^ Ruby version of PHP
337659 [noone nowher] I am relatively new to Ruby and Rails, but have a lot of experience with
+ 337680 [andrew andre] ls
+ 337685 [acangiano gm] if Rails doesn't work for you, you can simply opt for Sinatra, Ramaze, or
^ multiple matches
337667 [chen_li3 yah] How to find out pattern'cat' in this string='ccccatgggctacatgggtcat'
+ 337677 [matt tidbits] It doesn't "return" the position but it does capture the position.
| 337688 [Rob AgileCon] => "ccccatgggctacatgggtcat"
+ 337693 [botpena gmai] position of each match.
^ expand_path on windows for home dir
337668 [rogerpack200] => "/Documents and Settings/Melissa.BLACKY"
337672 [phasis gmail] What's your Ruby version?
337675 [rogerpack200] ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mingw32]
337697 [djberg96 gma] What's your ENV['HOME'], ENV['HOMEDRIVE'] and ENV['USERPROFILE'] set to?
337893 [rogerpack200] Odd. Works great on one computer of mine and on the other (which has
^ why does ruby load rails so slow?
337669 [rogerpack200] Question. Currently with rails startup time in linux for me is like 6s,
+ 337679 [pjb informat] - compile each source file into a "binary" fast loading file, and then
+ 337682 [gregory.t.br] Probably a better question for the Rails list. But...
+ 337694 [b.candler po] It's for Linux only. Basically, it starts a Ruby interpreter and loads
| 337705 [rogerpack200] Man I wish I'd had that back when I was using my old macbook PPC :)
+ 337713 [luislavena g] There is a huge IO problem with Ruby on how deal with Windows API IO
| 337727 [rogerpack200] Oh I wasn't complaining about the speed on windows (though it is
| 337747 [b.candler po] It's mainly because there there's so darn much of it (try 'puts
+ 337746 [charles.nutt] One reason I found was that things like script/console actually start
^ death toll
337671 [rocha.deka g] I have a book in English where there is a tabel on cumulative civilian
+ 337674 [eleanor game] 100s reads as 'hundreds'
| 337676 [rocha.deka g] On 28 maio, 11:09, Eleanor McHugh <elea...@games-with-brains.com>
+ 337681 [pjb informat] Notice that this is very bad typological style to print digits in
+ 337689 [eleanor game] In prose yes, but for table headers space considerations are relevant
+ 337728 [rogerpack200] or at least written them as
337731 [eleanor game] Except that would in principle be 'of the hundred' and 'of the
337739 [shortcutter ] although German does not allow for an apostrophe when building a
337775 [eleanor game] There is a school of thought which believes all punctuation is evil...
337835 [srijayanth g] Lol, this could quickly spiral into another beat the dead horse session aka
337836 [shortcutter ] It was: the dead horse beat Python with its indentation.
337857 [vikkous gmai] I thought we were beating a horse to death with a python. I think the
337863 [srijayanth g] Oh. Is that what caused the indentations to begin with?
^ The True Spirit of PHP
337691 [rubfor recit] As Antonio says, the PHP version of Ruby is eruby. No Rails baggage -
^ Recommended Ruby Sites/RSS feeds
337702 [rilindo gmai] Any Ruby sites/RSS that you found useful (aside from ruby-lang.org and
+ 337703 [pat.eyler gm] www.rubycorner.com is a good aggregator, as is planetruby.0x42.net
+ 337735 [james.britt ] (note: I'm a contributor to that site)
^ Net/IMAP and FLAGGED messages
337712 [clegault gma] I have been trying to find some example of how to check for the X-
+ 337777 [jens.wille u] you're talking about the X-Priority *header*, right? then something
+ 337783 [drbrain segm] X-Priority is not an IMAP flag, it is a message header. Flags are
337786 [clegault gma] Thanks Jens and Eric, this is exactly the information I was looking
^ Strange ruby-1.9.1 array substitution answer
337722 [michel demaz] Strange !
+ 337730 [rogerpack200] that might be a bugI'd ask the core people.
+ 337732 [acangiano gm] It's a bug. They either fixed it in a more recent version or it's a Windows
| 337736 [rogerpack200] Here's what I get in Linux with TRUNK.
| 337741 [michel demaz] Open source ... and many open ends
+ 337791 [matz ruby-la] It's a behavior change in 1.9, use
337834 [michel demaz] Thanks, Matz.
^ Anise v0.4.0 released
337765 [admin tigero] = Anise
^ (debian) compilation of qt4-qtruby : help needed for cmake
337787 [lolveley yah] I would like to compile qt4-qtruby2.0.3 because the official debian
337839 [lolveley yah] stop!
^ [ANN] unicorn 0.8.1
337790 [normalperson] Unicorn has been updated to 0.8.1
^ Defining a method to select values from a hash.
337806 [dannytatom g] I'm terribly confused with this, and can't seem to figure it out (or
337842 [b.candler po] You want foo['bar'] and foo.bar to be the same thing, like in
^ [ANN] Endless Ruby 0.0.2
337823 [vikkous gmai] endless.rb is a pre-processor for ruby which allows you to use python-ish
+ 337826 [charles.nutt] Oh dear god no!
| 337829 [mo_mail ongh] Both my emotions neatly summed up!
+ 337830 [no spam.plea] Ouch. But this is a good candidate for using Polyglot. Just name
| + 337873 [juan_zanos t] How would this work? Would endless.rb just load the polyglot gem
| | 337970 [no spam.plea] Exactly. My ActiveFacts gem implements a language called CQL.
| + 337876 [vikkous gmai] This is very interesting, I could use this in RubyMacros as well. But
| + 337971 [no spam.plea] I think you'd need to create a custom loader that knows how to load the
| | 337998 [vikkous gmai] Typically, yes. And that's the biggest challenge. (If you're lucky,
| + 338366 [brusch4_remo] "Caleb Clausen" <email@example.com> schrieb im Newsbeitrag > Michael
| 338381 [eleanor game] I can't help but wonder why bother when you could just write F77 code,
| 338612 [brusch4_remo] "Eleanor McHugh" <firstname.lastname@example.org> schrieb im Newsbeitrag
| 338656 [eleanor game] This is a naive assumption as it ignores the fact that many languages
| 338670 [brusch4_remo] "Eleanor McHugh" <email@example.com> schrieb im Newsbeitrag
+ 338674 [kdr2 x-macro] oh no...no....
^ forlm onload
337828 [sushrut99gur] On form onload i want to setfocus() the input text.
337838 [saurabh.purn] Sushrut
^ Data Typists Needed ! Work from home, Great Income!
337837 [pinky.mona6 ] Data Typists Needed ! Work from home, Great Income!
^ (debian,vim,Qt,ruby) on vim : no completion but everything else works fine
337840 [lolveley yah] I have a little/big problem with vim and ruby.
337854 [richard.j.da] nt
337871 [lolveley yah] well, it's amazing : I have succeeded in having the completion of Qt
337874 [richard.j.da] print
^ Regular expression
337841 [list.push gm] I want to write a regular expression to do the following.
+ 337844 [b.candler po] Yes - I don't think a backreference like \1, which could contain any
| 337850 [list.push gm] Brian,
| 337852 [shortcutter ] The problem with this approach is that it does not work for strings of
| 337853 [b.candler po] The OP explicitly said that he wanted to match single characters. It
| 337855 [shortcutter ] But he did not state explicitly that the _strings_ that he wanted to
| 337862 [b.candler po] But he's not just looking for strings with non-repeating characters.
| 337868 [shortcutter ] Well, yes. I just did it but I see that the conclusion is not
+ 337847 [shortcutter ] I second Brian: to solve this with a regular expression is either
| 337849 [list.push gm] Thanks, Robert.
+ 338027 [mark without] I'm not sure if you still want the regex, but following regex should do
338030 [b.candler po] irb(main):009:0> /^(.)(?!\1)(.)(?!\1|\2)(.)(\2)$/ =~ "abcb"
338034 [mark without] Damn, you're right... sorry :-)
^ [ANN] adsf 1.0 - a dead simple fileserver
337843 [denis.defrey] adsf is A Dead Simple Fileserver built on top of Rack. It is a
^ Work at Home - Make $ 50 Per Hour , 100% Guaranteed
337848 [eram.shaikh2] Work at Home - Make $ 50 Per Hour , 100% Guaranteed
^ Using commandline for cvs-like commands and help?
337851 [markus fisch] I'm trying to get my brain into CommandLine  to figure out how to do
^ Re: Endless Ruby 0.0.2
337858 [rogerpack200] wonder if do-less ruby would possible, too
337877 [vikkous gmai] You can leave off the do in for, until, and while loops already. I usually do.
337969 [sunaku gmail] Where '<% end %>' is more laborious to type than 'end'. :)
338003 [shevegen lin] Sounds really cool so far, have to test it heavily before I can make an
+ 338004 [shevegen lin] Got a problem, perhaps one of you knows how to resolve (note, I did not
+ 338005 [shevegen lin] Ok this is my last remark for some time, else I might appear as spamming
338048 [rogerpack200] One thought might be to name is "end implied" or "end optional" since
^ Rubycocoa script application without nib
337865 [william iron] A good topic for some sleepless nights. I searched several times the
^ [QUIZ] Quine (#207)
337869 [yahivin gmai] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+ 337890 [dmerrick ics] I have mine down to down to one line (29 characters), though I suspect ev=
| + 337891 [billk cts.co] I have 30 characters, w/out cheating. It does output a warning
| | 338009 [billk cts.co] Here 'tis. It's 29 characters plus a linefeed.
| + 337897 [sepp2k googl] I have 19 characters with cheating. 14 if it only needs to run on unixoid-
| | 337898 [sepp2k googl] Well, 15 if it needs to work correctly ;-)
| | 337901 [pjb informat] I've got one that is more than 40 characters, but it's _readable_!
| | + 337902 [billk cts.co] Did you mean: ((I've got (one)) (that is more than ((40) characters)), ((but) (it's _readable_!)) ?
| | | + 337903 [pjb informat] Well I could have done something like that, yes, but I restrained myself this time :-)
| | | + 337905 [vjoel path.b] There is only one way to respond to that mess of redundant )
| | + 337906 [matt harpsta] + is readable and formatted nicely
| | 337907 [matt harpsta] Ok, I'm at 17 if I ***cheat*** & assume *NIX.
| + 338061 [dmerrick ics] Many of these were far more interesting than mine, but it's available her=
+ 337909 [jballanc gma] I'm always up for some golf!
337910 [jballanc gma] Ok...with help from a friend...
337937 [martindemell] i'm impressed :) still stuck at 10 chars with extreme cheating
337938 [sepp2k googl] Ha, I just made one with 0 chars. Top that!
337939 [billk cts.co] Hehe.
337963 [robert.dober] 0 bytes, what else?
337964 [rick.denatal] And how do you execute it and prove it works, mon ami? <G>
+ 337967 [martindemell] I'd show you but the spoiler-free period hasn't expired yet :)
| 337995 [robert.dober] Bummer I forgot that there is only one program of size 0, apologies ;)
+ 337982 [robert.dober] I have foreseen everything ;)
337994 [robert.dober] Ok, the shortest solution did not have much success, what about a long
338000 [pjb informat] $ echo ----- ; cat quine.rb ; echo ----- ; ruby quine.rb ; echo -----
+ 338002 [robert.dober] Seems you managed without parens ;)
+ 338017 [phasis gmail] puts (_="puts (_=%c%s%c)%%[34,_,34]")%[34,_,34]
+ 338018 [aurelianocal] I did something like that, but with parenthesis.
338019 [aurelianocal] s="s=%c%s%c;printf(s,34,s,34,13,10)%c%c";printf(s,34,s,34,13,10)
338020 [jorrel gmail] Is using File considered cheating?
+ 338022 [matt harpsta] Version 1: The "pretty" one with 'end's
| + 338023 [martindemell] # sudo ln -s /bin/cat /usr/local/bin/c
| | 338024 [jballanc gma] That was essentially my original cheat, then my friend pointed out
| + 338041 [sepp2k googl] The problem with that is that it won't work when the file name contains spaces
+ 338042 [james graypr] puts File.read __FILE__
^ IFL 2009: Second Call for Papers
337872 [ifl2009 shu.] Call for Papers=20
^ Troops kill 34 insurgents in Afghanistan
337879 [khadim4pkk g] overnight ground and air attack on a militant gathering near the
^ Ruby 1.9.1-p129 + ActiveRecord 2.3.2
337881 [zhaytee zhay] I've been using Ruby 1.8.6 + ActiveRecord 2.1.2 for a long time with great success. However, I would like to upgrade to Ruby 1.9 and the latest version of ActiveRecord.
337920 [rogerpack200] how bizarre.
^ Ruby LDAP SSL thingy won't go.
337882 [xeno.campano] #!/usr/bin/ruby
337895 [xeno.campano] I am very anxious to get this figured out, otherwise we may be forced to use
337915 [b.candler po] You asked the same question once before at
338021 [xeno.campano] Thank you Brian. I am at home now. I will try this first thing tomorrow
^ Ruby 1.9.1 ming with mysql on windows successful
337884 [jdezenzio gm] Well,
337892 [rogerpack200] Yeah I suppose you could zip up your whole ruby folder and give it to
^ convert ruby and other language script to exe file
337886 [agiga7 gmail] In this tutorial I want speak about
^ Requesting Japanese Translation
337899 [james graypr] I'm adding a little Japanese to a Ruby presentation I am giving. I
+ 337900 [billk cts.co] Sorry Could Not Resist,
| 337911 [mickmon gmai] MS offer translated strings at
+ 337912 [nobu ruby-la] サーバーオフライン
+ 337923 [rick.denatal] Nobu -
| 337926 [list.push gm] You are on the right track but the last character is not 'so', it is 'n'.
| 337927 [rick.denatal] Thanks, the difference between ソ and ン is a bit subtle to my western eye!
| 337930 [matz ruby-la] It's sa-ba- (Server) ofurain (Offline).
| 337947 [james.britt ] I like the "frying" version better. :)
+ 337933 [james graypr] Thank you.
+ 337935 [james graypr] Just to be clear, the "Warning" is in the rather small browser title
+ 337949 [matz ruby-la] Yes, but 警告 is better for "warning". 通告 is rather "notification".
337953 [james graypr] Thanks everyone for the help.
^ Every member will receive a single share when we incorporate.
337913 [distribution] ...
^ Again threading problems.
337916 [abbb812 gmai] 1. User inputs timestamps in a file.
+ 337918 [rogerpack200] Setting Thread.abort_on_exception=true might help you
| + 337928 [abbb812 gmai] Thank you for answer.
| + 337929 [ian.hobson n] On the Windows platform, VMWare Server works well, and is free of charge.
| 337931 [abbb812 gmai] So with other words, using linux in some way is the best alternative?
| + 337942 [rogerpack200] If you get desperate enough :)
| + 337974 [shortcutter ] cygwin genereally works well and provides an environment which is pretty
+ 337980 [charles.nutt] Just run JRuby. Install Java, unpack JRuby, done. Fast, real parallel
+ 338033 [b.candler po] My advice is just to fix your program in 1.8.6 or 1.8.7. Threads work
^ [ANN] RubyGems 1.3.4
337922 [drbrain segm] rubygems-update installed. You will need to follow the second set of
^ Undefined method error
337940 [gregfrazier ] load('C:\\SketchUp\gfVirtualWMS.rb')
337975 [shortcutter ] And your question was?
337986 [gregfrazier ] Robert. I solved the problem. There was a stray method firing off in
^ Listing an Array created within a Class
337943 [adrian.cinta] I am learning from Programming Ruby wich comes with Ruby instalation.
+ 337948 [halfcountplu] list.each
+ 337950 [b.candler po] class SongList
337973 [adrian.cinta] Thank you Brian very much, it works!
^ [ANN] Ruby for Python 0.0.1
337944 [macfag gmail] Ruby into Python bytecode. I'm releasing a fully-featured Python bytecode
337955 [serabe gmail] The project sounds good but the website is pretty useless: no download
^ Re: Ruby for Python 0.0.1
337945 [rogerpack200] Don't try that link--it is meant as some prank [causes very loud noise
337946 [mguterl gmai] Whatever you do don't open that link. I wish I would have seen
337951 [mguterl gmai] =A0I
337990 [mo_mail ongh] I think if you select "Exit" from the Firefox File menu, it will also
^ XDG v0.5.2 released
337958 [admin tigero] = XDG Base Directory Standard for Ruby
^ [ANN] nokogiri 1.3.0 Released
337961 [aaron tender] nokogiri version 1.3.0 has been released!
337981 [charles.nutt] Congratulations on the JRuby support! Nokogiri has to be one of the #1