124607-126013

124455-128974 subjects 124822-130258

^ help on making ruby code faster
124607 [lists zara.6] I use 128bit GUID values a lot, and on my Guid class there's the
+ 124609 [    s xss.de] I'm not sure on the effects it will have, but try extracting
| 124615 [lists zara.6] By constants, do you mean literal constants like '0-9a-z', 'a-z0-9', and
| + 124619 [bob.news gmx] "David Garamond" <lists@zara.6.isreserved.com> schrieb im Newsbeitrag
| | 124628 [lists zara.6] I see. Suddenly I want immutable strings like in Python.
| | 124629 [bob.news gmx] "David Garamond" <lists@zara.6.isreserved.com> schrieb im Newsbeitrag
| + 124622 [bob.news gmx] "David Garamond" <lists@zara.6.isreserved.com> schrieb im Newsbeitrag
+ 124613 [bob.news gmx] "David Garamond" <lists@zara.6.isreserved.com> schrieb im Newsbeitrag
| 124625 [lists zara.6] I applied your suggestions below and it got slightly worse. So I guess
| 124630 [bob.news gmx] "David Garamond" <lists@zara.6.isreserved.com> schrieb im Newsbeitrag
+ 124633 [kig misfirin] It makes the only-few-conversions case slower and by uses some more
| 124637 [lists zara.6] Thanks! I missed that.
+ 124683 [martin.anker] faster. I have replaced your internal string representation (the @val)
  124684 [martin.anker] ops, I should have read your first post with more attention :-)
  + 124706 [martin.anker] def self.from_base36(val)
  | 124714 [lists zara.6] Hey, didn't know that String#to_i takes an argument. Cool...
  + 124711 [lists zara.6] Well, depending on the situation, I now will reconsider storing the GUID

^ verifying a network connection
124612 [metz gmx.net] is there a way in Ruby to find out, whether my computer has built up a
+ 124617 [joaopedrosa ] If you want to see if there is an Internet connection available try to
+ 124627 [zdennis mkte] A quick and easy solution is the following, which work on a windows machine.
| 124647 [premshree.pi] Interesting... but it seems unncessarily complicated.
| 124753 [ jupp gmx.de] Your solution *may* solve the problem that Thomas has but it does not
| 124791 [metz gmx.net] Yes, I described my problem not very precise, but Premshree's solution
| 124803 [premshree.pi] I'm psycic -- I can predict questions. :D
| 124958 [ jupp gmx.de] Some illusionist (I cannot recall his name) will pay you 1M (USD IIRC)
| 124970 [martindemell] That'd be James Randi
| 125044 [ jupp gmx.de] Sounds familiar.
+ 124644 [jamesUNDERBA] My laptop run win2k.  I like to start the machine and go make coffee,
| 124725 [    v vsu.ru] Also you may use "nncron", http://www.nncron.ru/
+ 124715 [metz gmx.net] Thank you all for your help.

^ RES: Bare-bones Ruby
124618 [ANDRE.LEIRAD] I actually need something similar to Java interfaces, so for example if

^ RES: Bare-bones Ruby
124620 [ANDRE.LEIRAD] so

^ RES: Bare-bones Ruby
124624 [ANDRE.LEIRAD] Dependencies are dependencies!
124668 [rcoder gmail] Andre,

^ gem oddities?
124626 [ceaser rome.] have been migrating a lot of my stuff over to my unix box..
124704 [eule space.c] (In response to news:IqdAd.73$F23.31@newsfe3-gui.ntli.net by Stu)

^ Connecting to MySQL 4.1.x from Ruby on Windows XP
124635 [johnwilger g] Is there a library available to allow connections to MySQL 4.1.x from
124636 [joaopedrosa ] If ODBC is enough, I have connected to MySQL 4.1.x on Windows XP with
+ 124638 [joaopedrosa ] Small correction. I meant libmysql.dll, instead of libclient.dll. Sorry.
+ 124641 [johnwilger g] Thanks, I'll give that a shot.

^ Restricting file access in Ruby
124640 [John Allen <] Hey, I don't know if this is a subject that's been beat to death or not as
+ 124655 [flgr ccan.de] I'd suggest using $SAFE and having a custom interface for doing IO that
+ 124837 [usenet andre] This is what users and permissions on OS level are good for; I think it
  124841 [zdennis mkte] I concur with Andreas, this isn't necessarily the job for ruby to be

^ Some methods don't work in WinXP?
124642 [clarke quali] Do some methods / functions not work in the WinXP implementation?
+ 124643 [decoux moulo] Array#sort return a copy of the array.
| 124670 [clarke quali] Can you hear the screams from Connecticut? (USA).
+ 124645 [joaopedrosa ] You need a.sort! if you wish the elements in the array to be changed.
  124648 [premshree.pi] Braces? :)

^ code generator
124646 [emran.syed g] Code Generators!!!!!!!
124657 [myfirstname ] Your product is crap and stop spamming USENET.

^ [bug] DBD::ODBC
124665 [james.cromwe] require 'dbi'
124893 [mneumann nte] maybe it's even better to return nil, if column_size is not set.

^ Re: Nitro 0.7.0 + Og 0.7.0
124667 [george.mosch] Sadly no :( I 'll try to make a simple pure Ruby xslt library

^ optparse and gets
124673 [rb raphinou.] I'm using optparse.
124691 [nobu.nokada ] opts.parse!(ARGV)

^ My sister survived - Please donate money.
124680 [mailinglists] i mentioned a few times on this list that i'm married with a woman
124692 [DavidLZhao g] Amazon.com is running a program where you can donate using your credit

^ unit testing of methods which do Kernel#exit
124685 [rubytalk box] I ran into a problem -- how to unit test methods that have
124693 [nobu.nokada ] Kernel.exit does it too, so you can catch "exit" by `rescue
124708 [bob.news gmx] "Nobuyoshi Nakada" <nobu.nokada@softhome.net> schrieb im Newsbeitrag
124712 [rubytalk box] my tests use just assert_* ... but the tested code sometimes exits
124713 [bob.news gmx] "Michal" <lists+rubytalk@box.cz> schrieb im Newsbeitrag

^ [OT] Re: RubyForge (was: Best ways to accelerate Ruby's popularity)
124686 [eero.saynatk] Does RF use straight GForge HTML or are there differences?
+ 124687 [jamesUNDERBA] Please, no.  Minimalistic is OK, but the red is overdone.
| 124779 [martindemell] Heartily seconded!
+ 124688 [tom infoethe] There are a few customizations, but most of those are in the

^ Ruby USB Drive
124689 [intinig gmai] For Christmas I got a wonderful present: a 1GB USB drive. Now I feel
+ 124690 [zdennis mkte] You should generate rdoc from the source of ruby. In case you don't have
| + 124697 [curt hibbs.c] Actually, you can use FreeRIDE on all three platforms.
| | 124710 [intinig gmai] On max it's textmate, but I'll give FreeRIDE a try :)
| | 124718 [curt hibbs.c] Curt
| + 124709 [intinig gmai] I prefer Circus Charlie, but mame is going there with some roms :)
+ 124702 [martindemell] Besides which, according to a slashdot poster this is not recommended,
  125597 [bg-rubytalk ] With all due respect to "a slashdot poster", if you're running off a
  125604 [app1tam ups.] How about PIMKI?  I've stuck a PIMKI (repository? Blob? ...?) on my USB

^ RES: RES: Bare-bones Ruby
124719 [ANDRE.LEIRAD] Thanks, I'll take a look at it. Right now I'm looking at four script
124721 [    s xss.de] s.

^ Santa Clause like you have never seen him before
124720 [djones triad] Santa Clause like you have never seen him before, this is a must see for everyone: http://paddy.home.comcast.net/

^ unusual rake behaviour
124724 [yogi.kulkarn] I've been getting some odd behaviour in rake. The foll cmd doesn't
124730 [jim weirichh] Hmm ... I just tried the code you supplied on a windows box and a debian
124747 [jim weirichh] Someone just informed me that in 1.8.2 test/unit does not work with the
+ 124759 [david loudth] I'd much like to hear the story too. Rails has long since committed its
| + 124762 [davehal02 ha] I checked CVS.  There is a recent (Dec. 19) change made by Nobu to
| | 124768 [davehal02 ha] Here's a patch for Rake that provides a workaround for the 1.8.2
| | + 124774 [jim weirichh] Thanks ... The fix is in CVS.  I'll test the fix tomorrow on a windows box and
| | + 124776 [yogi.kulkarn] Dave, thanks! that fixes the problem for now.
| + 124798 [ksibilev bel] I asked this question to ruby-core
+ 124786 [drbrain segm] What's wrong with ruby -Ilib testfile?
  124804 [jim weirichh] You can only explicitly run one script at a time. Most projects have more than
  124845 [drbrain segm] Oh, right.
  124849 [jim weirichh] At first I thought that this wouldn't work because I need to use the -I
  125007 [nobu.nokada ] I did want lib/test/unit.rb to be equal to test/runner.rb, but
  125009 [jim weirichh] Actually, for it to be useful to Rake, the list of directories must be put at
  125012 [nobu.nokada ] So, it should be
  125013 [jim weirichh] Yes, that would work.

^ ruby leaks on "special" use of include
124726 [langstefan g] Just tried to do some fancy (probably inappropriate)
+ 124727 [decoux moulo] I hope that you have seen that ::include is recursive
| 124728 [langstefan g] Thanks for the tip! I must have been blind....
+ 124729 [lthiryidontw] In the normal ruby way to do things, you should replace

^ gsub (replace path)
124731 [pustoi spils] How can I cut out piece from path in ruby ?
124732 [bob.news gmx] <pustoi@spils.lv> schrieb im Newsbeitrag

^ [ANN] Ruby Facets, v0.6.0
124735 [transami run] A N N O U N C I N G

^ rdoc in rails
124736 [roelandmoors] Would it be difficult (possible) to make a generator for rdoc that
+ 124740 [david loudth] I think RDoc already generates the data in YAML, doesn't it? I too
| 124834 [roelandmoors] I don't think it generates YAML, but it does generate XML. I'm
| 124857 [roelandmoors] I was wrong about the YAML output. The RI generator generates
| + 124861 [jamesUNDERBA] How stable is the file format for the ri YAML data?
| | 124883 [Dave PragPro] The file format is YAML. I don't think there've been any incompatible
| | 124884 [jamesUNDERBA] That's actually what I meant t say; not if YAML itself is stable, but if
| + 124881 [Dave PragPro] To create YAML directly, you could probably just serialize the
+ 124892 [roelandmoors] I created a 0.0.0.0.0.0.1 version: http://roeland.textdriven.com/

^ rdoc problems on windows
124737 [mental gmail] I'm having problems doing anything with rdoc on windows. I discovered

^ RES: RES: RES: Bare-bones Ruby
124738 [ANDRE.LEIRAD] Looks like a viable option. Right now I'm fighting with Ruby, Pike, Ferite,

^ Distributed application
124741 [lgomez vfxne] It's my first time posting to this ML so this may be out of place...
+ 124742 [roelandmoors] Maybe you can just create a web application? Then all you need is
| 124860 [sarahtanemba] But rmagick #display does NOT work under windows as well as linux. We
| 124862 [cyclists nc.] An annoyance, yes, since #display is a handy way to preview images, but
| 124863 [zdennis mkte] Couldn't the person who wants to use #display just write the
| 124868 [sellberg goo] No need to find out the browser.
+ 124743 [drbrain segm] Something must run on the client for the server to see it, or the=20
+ 124748 [lgomez vfxne] I've worked almost exclusivelly on web applications and do understand
+ 124754 [lgomez vfxne] - an app-server
  + 124764 [flgr ccan.de] It sounds a lot like this can be done easily with DRb. It is included
  + 124858 [lgomez vfxne] Any recommendd resources where I can learn more about xterminals?

^ irb issue
124744 [lmlourenco i] I'm not sure if this is a bug but I've stumbled across some strange
124745 [lorenzo_jorq] Be aware that in your first assignement (String = 2) you are destroying the String class, and after that you can create more strings via String.new (if you try writing String.new after String = 2 you will get the same error).

^ #send and private methods
124746 [brian pocket] I apologize if this has been discussed before and I missed it...
+ 124758 [david loudth] That it's endlessly useful to be able to mindfully sidestep the rules
| + 124770 [mmerlin bigf] I find that my sympathies lie with the original poster (Brain Palmer) with
| | + 124773 [glenn.parker] Except that, if a private function is irrevocably private, it actually
| | | 124781 [mmerlin bigf] I agree with Glenn Parker that denying access to private methods will
| | + 124775 [jamesUNDERBA] I agree; any  mechanism for by-passing orderly program control should be
| | | 124818 [transami run] It goes both ways, you need a solid foundation to build on, agreed, but you
| | + 124788 [drbrain segm] $ ruby
| | + 124801 [mneumann nte] I think #send should not be able to call private methods (from a proper
| + 124777 [brian pocket] I certainly see what you mean--I can think of cases where it would be
|   124828 [glenn.parker] I expect this would be a fairly easy system to compromise.  Think of all
+ 124760 [jamesUNDERBA] Ruby is (almost) pure OO if that is what you want.  And it behaves that

^ [ANN] SQLite3/Ruby 0.6
124751 [jamis_buck b] Just taking a moment to make a quick announcement of SQLite3/Ruby 0.6.

^ HTTP doesn't work. A bug?
124755 [lists bertra] /usr/lib/ruby/1.8/net/protocol.rb:197:in `sysread': End of file reached (EOFError)
125379 [lists bertra] I examined the problem thoroughly and now, I can reproduce

^ [ANN] Tengen 0.1.0
124756 [lrz gnome.or] I am proud to announce Tengen 0.1.0, the first release!
124763 [rff_rff remo] wow, I was taught the basis of Go nearly two weeks ago, and now I have a
124772 [jeffm ghostg] I've added this to my bookmarks as something to take a look at later.

^ Hot 22 Year Old Looking For Love Or More.....Please Contact Me.......... HQ2Y
124766 [jfravnfg fre] Im 22 and I really need someone to take care of me.  Please take a look at my home page, you can email me and maybe we could get in touch and have some fun.

^ Other language websites
124780 [martindemell] Slightly offtopic, but I thought it'd be useful to look to other

^ rubytorrent
124782 [wmorgan-ruby] Some time last month there was talk of a Ruby BitTorrent client. I don't
124991 [mail excepti] I`d like to test your torrent client but had some problems with each of
124992 [wmorgan-ruby] Dear Andreas,
124993 [wmorgan-ruby] Incidentally, I just tried
124994 [mail excepti] The mail with my .torrent file is on it`s way to you. Here is another

^ Sharing interests with other Ruby programmers (anyone using stumbleupon.com yet?).
124792 [erik terpnet] And a Firefox extension to use it: (I think other browsers are supported
124796 [gavri.fernan] Stumbleupon kicks Orkut's ass and probably the asses of every piece of

^ TestUnitPerf
124793 [Bil.Kleb NAS] I just read Mike Clark's blog entry,
124895 [mike clarkwa] I'm not aware of a Ruby port of JUnitPerf.  I suspect it would be quite
124905 [david loudth] We actually almost have such a tool. It's been "almost finished" by
124914 [mike clarkwa] Excellent.  I look forward to it.

^ seeking hints for fast io
124795 [jeffm ghostg] I have a class which holds data while it's being manipulated. The
124844 [drbrain segm] Probably not, String#+ creates new strings, String#<< appends to an
124852 [bob.news gmx] "Eric Hodel" <drbrain@segment7.net> schrieb im Newsbeitrag
124864 [jeffm ghostg] I typed this from memory and forgot a line. sout is an array, but I'll
124874 [jeffm ghostg] Did some simplistic benchmarking,
+ 124876 [eero.saynatk] So are you doing something like this now?
+ 124888 [bob.news gmx] "jm" <jeffm@ghostgun.com> schrieb im Newsbeitrag

^ Inheritance of class variables
124805 [eustaquioran] I was talking with chris2 and matju on the irc channel and they gave me
+ 124806 [david loudth] I was quite puzzled by this behavior too. So in Rails I use a module
+ 124808 [decoux moulo] it's strange your model :-)))
| 124809 [eustaquioran] Hey Guy!
| 124811 [sdate everes] No, you scared not only becuase you are newbie, but because you were
| 124812 [eustaquioran] So he's kind of a Ruby boogeyman??? :-D
| 124814 [rhkramer fas] My brain is not here either (I'm fighting a headache) and I didn't
| 124817 [eustaquioran] No need to say goodbye or write a song ahahah. :-)
| 124833 [rhkramer fas] ...
+ 124836 [bob.news gmx] "Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@yahoo.com> schrieb im
| + 124838 [eustaquioran] Thanks for your example! I'm learning about Ruby and taking notes to make a
| | 124850 [bob.news gmx] "Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@yahoo.com> schrieb im
| + 124938 [rubylang usm] I think I understand all of the code in this thread (see below) except for the
| | 124971 [bob.news gmx] "darren" <rubylang@usmstudent.com> schrieb im Newsbeitrag
| | 124979 [rubylang usm] I'm using 1.8.1, too.  I just retyped it in and it's working now.  Guess it
| + 125049 [jeff opendbm] I remember seeing this topic posted to the list a while ago. I'm trying to
|   125068 [decoux moulo] You probably make confusion between class variable and class instance
+ 126013 [curne curnom] Personally I never use class variables, since I consider them

^ attr / attr_accessor
124807 [markus.werne] I'm quite a newbie in programming. Last year I came to perl and now I'm
+ 124810 [hen_WEG_dami] You can already have that kind of thing.
| 124815 [rff_rff remo] I /think/ he knew this and was looking for a way to define a bunch of
| 124819 [markus.werne] Hmmm...
| 124823 [hen_WEG_dami] OK, I misunderstood you :)
+ 124909 [discordantus] class Module

^ [ANN] Nukumi2 0.1
124813 [chneukirchen] I'm proud to release the first public version of Nukumi2 today, 0.1.
124816 [jamis_buck b] Great job! Congrats, Christian. :) I'll definately be giving this

^ Ruby X10 Interface to Firecracker CM17A
124820 [jim weirichh] I've got my first cut at a Ruby interface to the CM17A firecracker X10
125498 [carlwork ycs] As I understand it Jim, you are interfacing with the firecracker unit on
125500 [jim weirichh] The firecracker connects to the serial port of the computer and I have
125503 [mike clarkwa] I've tried using several USB-to-serial adapters to connect a
+ 125514 [jim weirichh] Hmmm... The firecracker works by toggling the RTS/DTR signals of the RS272
| 125525 [mike clarkwa] ReadMeOSXUSA18.txt
+ 125526 [carlwork ycs] Does X10 have a controller that uses some other type of interface?
  125586 [mike clarkwa] There are a variety of X10 controllers that interface with the computer

^ GUI toolkit which separates UI specification from driving logic
124821 [gavri.fernan] Is there one for Ruby? Like XUL for Javascript.
+ 124825 [curt hibbs.c] Not that I know of. But just to keep the record straight, JavaScript has
| 124829 [raphael.baud] Just to mention that I would be interested in ruby in mozilla. I have an extension
+ 124827 [rff_rff remo] I think wxwidget has an xml format named XRC for this.
| 124840 [zdennis mkte] yes, and wxruby has support for XRC.
+ 124835 [neil hakubi.] libglade
+ 124985 [devel nicrea] To add to the previous wxruby posts, wxruby has support for XRC, which
+ 125642 [georgesawyer] "Thinlet Contrib is a collection of example apps, addons, plugins,
+ 125645 [georgesawyer] "Thinlet Contrib is a collection of example apps, addons, plugins,
threads.html
top