221011-225351

220813-222719 subjects 221212-222396

^ How to call private class method?
221011 [estebanjang ] In the following code, how can I call "Hello.jane" method?
+ 221018 [nospam nosit] #!/usr/bin/ruby -w
+ 221020 [ruby-forum s] will work, send also works with private methods.
  221024 [rossrt rosco] I believe that will fail under 1.9 though, where send no longer calls

^ downcase part of a string
221025 [ilhami.kilic] I want to downcase a string but without specific parts.
+ 221027 [invalid gmx.] if msg =~ /\(.*?\)/
| 221030 [ilhami.kilic] No, they can occur more then onece.
+ 221029 [peter rubyra] This is kind of old school and I am sure there are nicer rubyish
| 221031 [ilhami.kilic] Thanks Peter, it works fine.
| 221037 [james graypr] You missed Tim Bray's RubyConf talk.  According to him we should,
| 221087 [mdurham peop] Why not? What reason did he give?
| 221123 [wilsonb gmai] The problem is that proper upcasing and downcasing of characters is
| + 221127 [mdurham peop] Thanks Wilson, that explains everything. I'd never thought about
| + 221397 [james graypr] Yes, this is basically it.
| | 221408 [ara.t.howard] one caveat that tim did not mention, and which is quite applicable to many
| + 221405 [fred lacave.] This is way off topic, but I'd like to know where he heard that.  It's
| | 221520 [hal9000 hype] That's very interesting. So Tim is mistaken?
| | + 221558 [caldridge gm] "no".capitalize, Tim is right, but ruby is a "logical" language for
| | | 221594 [hal9000 hype] I don't think that addresses what I was asking about, i.e., whether
| | | 221598 [wilsonb gmai] It's entirely possible I'm mis-remembering that part of Tim's talk.
| | | 221601 [hal9000 hype] That's the way I remember it -- he said that a lowercase accented
| | | + 221608 [tbray textua] ...
| | | | 221610 [hal9000 hype] Ha... but chapter 4 is rather thin.
| | | + 221609 [halostatue g] The wording was actually "jurisdiction to jurisdiction." This actually
| | | | 221612 [hal9000 hype] My memory may be faulty, but I really thought he said "district."
| | | | 221614 [halostatue g] Probably. If I'm wrong, I'll just have to owe you the beverage of your
| | | + 221682 [rick.denatal] And, I understand that there are some QuñÃeíÐis who maintain that they
| | |   221683 [halostatue g] This spelling is incorrect. It's QuñÃecois (kay-beh-kwah), not
| | |   221692 [halostatue g] It can also mean "someone of French ancestry." QuñÃecois consider
| | |   221776 [robert.dober] In France uppercase letters accents are optional, I do not think that the
| | |   + 221788 [halostatue g] Tim is not wrong. Someone's remembering of what Tim said is wrong. In
| | |   | 221839 [robert.dober] O.K. anyway that is just off-topic(1) it was not clear and I just wanted to
| | |   + 221880 [rick.denatal] I'm pretty sure that whether or not accented capital letters are
| | |     222156 [fred lacave.] That was my understanding too.
| | |     + 222185 [rick.denatal] Bien sur. I already communicated this privately to Robert Dober.
| | |     + 222191 [jwkenne attg] No, it goes back at least to the 18th century, to my certain knowledge,
| | |       222336 [fred lacave.] Colour me very surprised.  I'd add that I could find more references to
| | |       223478 [jwkenne attg] I've spent a considerable amount of time in the last couple of years
| | |       223494 [robert.dober] That predates Ada!!!
| | + 221587 [tbray textua] I've been told that common usage differs in QuñÃec.  -Tim
| + 221604 [halostatue g] No, not depending on jurisdiction in France. In French French, one
+ 221068 [bauer.mail g] msg = "THIS is a Text and (NO Change HERE) HELP (Not here Either)"
  221607 [martindemell] msg = "THIS is a Text and (NO Change HERE) HELP (Not here Either)"

^ Recommendations for a Ruby Wiki, preferably with bidi support?
221036 [alder.green ] We are going to deploy a Wiki system for a medium load website. Any
+ 221040 [james.britt ] Is there a particular need to have it written in Ruby?
| 221043 [alder.green ] On 10/22/06, James Britt
| + 221044 [eden.li gmai] It doesn't seem to have good spam protection.  You can see evidence of
| | 221045 [alder.green ] Excuse my ignorance, but what sort of effective SPAM protection
| | 221053 [dbalmain.ml ] See here,
| + 221058 [james.britt ] I don't recall exactly, but my main requirements were plain text data
| | 221071 [bpettichord ] I recently selected Pimki as a personal wiki. I wanted a Ruby-based
| | 221078 [vjoel path.b] If I were developing a wiki, I'd try using something like my FSDB[1] lib
| | + 221079 [james.britt ] I recently built a app the lead me to create a lightweight MVC Web
| | + 221083 [bret pettich] I believe that Instiki is moving towards SQLite and Pimki is moving to
| |   221234 [alder.green ] Thanks everyone for the information.
| |   + 221345 [enogrob hotm] ...
| |   + 221463 [matt technor] I have used Soks with great success.  Very easy to install and run, but
| |   | 221519 [Bil.Kleb NAS] FWIW, internally we run a center-wide Soks wiki.  We haven't
| |   | 221549 [matt technor] Any suggestion on the best way to add some type of login and
| |   | 221832 [Bil.Kleb NAS] For an internal wiki?!  What type of employees do you have?
| |   | 221833 [matt technor] Government employees.
| |   | 221834 [gavin.kistne] FWIW, at my company we use OpenWiki internally (with a bunch of
| |   + 221579 [rick.denatal] You might have a look at mediawiki.  It's quite full-functioned (it's
| |     + 221584 [znmeb cesmai] ...
| |     | 221638 [alder.green ] Its website[1] has been down for a while now, and latest release[2] is
| |     + 221636 [alder.green ] Indeed, and apparently also the Hebrew version of Wikipedia
| + 221076 [matt technor] I tried to install Instiki last summer.  It is no longer simple to
+ 221240 [visenger gma] did you tried Pandora?

^ Converting IFMapper into Win32 executables
221047 [jalespring e] Anyone familiar with IFMapper, Ruby and/or its components? I've been
222457 [GGarramuno a] You are probably better asking the author of rubyscript2exe.

^ one question about REXML?
221048 [pgonzalez na] Is REXML a validating parser?
+ 221056 [shortcutter ] ...
+ 221059 [james.britt ] I believe there is some support for Relax-NG, but not for DTD or

^ []= with moredimensional Arrays
221049 [naPOLeon.Pol] I want to code the "game of life" in ruby. I use a moredimensional
221050 [nospam nosit] Define "Moredimensional". Do you mean multidimensional?
221052 [naPOLeon.Pol] I'm sorry for my horrible English, I'm German.
221075 [nospam nosit] Your English is much better than my German, so no problem. All we have to do
221144 [naPOLeon.Pol] Thanks a lot, Paul! That's exactly what I was up to.

^ [ANN] InlineFortran 1.0.0 Released
221051 [ryand-ruby z] InlineFortran version 1.0.0 has been released!
221100 [david vallne] And so we come full circle, 50 years of technological advancement have
221105 [znmeb cesmai] I haven't written any Fortran since 1990. I suppose it *would* come back

^ about file format
221054 [chen_li3 yah] I just wonder what is the default file format which can recognized by
221060 [ebonakDUH_ h] Li,
+ 221063 [chen_li3 yah] Unfortunately I work under XP.
| 221067 [ebonakDUH_ h] Shouldn't make a difference, that's one of the nice things
| 221077 [chen_li3 yah] I figure out why it doesn't work: irb only looks for the file name in
| + 221082 [linguist gma] As was said in another thread, you need to assemble the full path to the
| | 221085 [chen_li3 yah] #####
| + 221324 [ebonakDUH_ h] Yup, that's why I showed a directory listing each time
+ 221065 [chen_li3 yah] irb(main):001:0> File:file?(ruby.rb)
  + 221066 [invalid gmx.] What does Dir.entries('.') say in the same directory?
  + 221074 [nospam nosit] / ...

^ [ANN] hoe 1.1.2 Released
221057 [ryand-ruby z] hoe version 1.1.2 has been released!
221132 [dpp projects] Do you have a link to the "Hoe" video you showed at RubyConf?
221134 [Rob AgileCon] Rob Biedenharn		http://agileconsultingllc.com
221136 [caldridge gm] ROTF  I agree David, that was awesome!

^ Full screen mode toolkit?
221062 [michael.gors] 'full screen' mode?
221106 [david vallne] GTK and its Ruby binding seem to include support for fullscreen mode

^ Tk Layout help please
221070 [name.goes.he] I want to be able to have them edit items and their prices, it saves it
+ 221111 [m_goldberg a] Implementing a table is not such an easy thing to do if you are new
+ 221155 [nagai ai.kyu] How about this?

^ thread dump?
221072 [cs5b yahoo.c] the possibility of doing a thread dump to show where it is hanging on?
221073 [vjoel path.b] Not in general, without a Thread#backtrace method. I've asked for it...
225192 [drbrain segm] $ ruby -e 't = Thread.start do sleep end; t.raise "hi"; t.value'
225230 [vjoel path.b] That doesn't tell you what line of code the thread is sleeping on, only
225351 [drbrain segm] Ooh, right, my bad.

^ Ruby-ize me (or at least my code)
221094 [seth_ruby se] I am new to Ruby but find it interesting.  To teach myself the language
+ 221095 [seth_ruby se] Just wanted to clarify:  I know that there are better ways to do a
| 221097 [david vallne] =20
| 221247 [chneukirchen] But you can't do DLX with an array!  ;-)
+ 221096 [david vallne] =20
+ 221110 [ruby-ml kitt] =20
  221118 [seth_ruby se] Thanks Eero.  That is quite an eye-opener, and was exactly what I was

^ "Gtk::Window#show" notation
221099 [plantz cds1.] "The third line calls Gtk::Window#show to display the window we just
+ 221101 [david vallne] This is a convention. GtkWindow#show means "instance method 'show' in
| 221109 [kbloom gmail] Note that ri accepts this notation to refer to a class name when you're
+ 221103 [nospam nosit] a = "Huey"

^ Re: [OT] [ANN] InlineFortran 1.0.0 Released
221107 [david vallne] /me hides Edward's Zimmer frame, steals apples from his garden, and

^ Fast portable storage for queues
221108 [snacktime gm] I've tested out a couple of ways of storing a queue structure and
+ 221112 [vjoel path.b] (That's sqlite again, though.)
| 221126 [snacktime gm] What I'd really like is something that's portable to pretty much
+ 221133 [garbagecat10] Kirk Haines was involved in a thread here a couple of months back in which
| 221151 [khaines enig] Francis remembers right.  I did this for, essentially, a replacement for
| + 221160 [gethemant gm] Not a queue, but i use memcache for such needs, where i must offload
| | 221170 [khaines enig] memcache is something of a different beast, but that aside, the con to
| | 221179 [phurley gmai] Hey Chris,
| | 221188 [garbagecat10] mmap and circular space: I have an implementation of that. It's fast as
| | 221211 [gethemant gm] Send it across Franics, I would be delighted to check it.
| | 221232 [ara.t.howard] can you elaborate on your requirements?  eg, what kind of objects are being
| + 221297 [vjoel path.b] Kirk,
| | 221346 [khaines enig] Not really.  The IO performance on my test machine is so bad that it
| | 221356 [ara.t.howard] doesn't ext3 use btree under the hood?  if so you'd basically just be adding a
| + 221368 [james graypr] This sounds like it would make a neat open source project.  Any plans
|   221411 [vjoel path.b] # Fast, flat storage based on Kirk Haines' technique.
+ 221296 [ara.t.howard] require 'dbm'
  221299 [snacktime gm] I didn't realize ruby dbm was supported on windows.  I'll have to

^ Re: [OT] Ruby-ize me (or at least my code)
221114 [david vallne] *facedesk*

^ Method for submitting an updated Gem?
221124 [no.spam plea] I've mailed Chad Fowler twice with an updated GeoIP gem,

^ Binary file modification
221129 [robl monkeyh] I've been modifying a binary file that contains various data including
+ 221142 [ben iagu.net] That should die because Array#hex doesn't exist, but I get the idea. If you
| 221158 [robl monkeyh] Thanks for pointing that out, it's strange as the code definately works
| + 221165 [robl monkeyh] A quick reply to myself - I've just checked the code and I'm missing an
| + 221177 [ben iagu.net] It's already packed. The return value of the long expression will be a 3
|   221185 [robl monkeyh] Sorry I should have studied it a little closer ...
|   221316 [robl monkeyh] Some more information on this - the maximum value that can be
+ 221145 [vjoel path.b] require 'bit-struct'
| 221146 [vjoel path.b] vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
+ 221152 [hgs dmu.ac.u] You've had other answers that answer the question as put.  Another

^ Where does everyone BUY/SELL PC's/MAC's online???
221130 [vilebuzz hot] I sell on ebay alot and I'm starting to search online to find other
+ 221140 [paul iconopl] So you thought you'd spam the Ruby lists with some free ads website?
| 221246 [david vallne] *cough*bot*cough*
+ 221196 [damorgan pso] spam usenet groups. How quaint and how appropriate your hotmail name.
  221197 [carl.lerche ] I was initially going to reply with something witty, but isn't it

^ find out the time used for searching a file
221131 [chen_li3 yah] When I run a script to search some files in a folder and/or its children
+ 221139 [gavin refine] a) Research the Benchmark library
+ 221141 [bauer.mail g] require 'benchmark'

^ Re: hoe 1.1.2 Released
221147 [drnicwilliam] That's brilliant.

^ newbie: class attribute accessors?
221150 [Diego.Viraso] I was wondering if it is possible to get the automatically generated
221153 [nospam nosit] Please explain. Use an example.
221156 [Diego.Viraso] class Dog
+ 221157 [farrel.lifso] I don't know if there is an 'attr_accessor' shortcut but you can do it manually
+ 221162 [dblack wobbl] See Farrel's answer; you can write wrapper methods.  Note, however,
+ 221163 [nospam nosit] / ...
+ 221164 [xennocide ya] You can do this for instance variables of a class, not sure there are
  221207 [ruby-ml kitt] Please note that it is often better to use class instance variables

^ Ruby Conf 2006 Denver feedback?
221159 [hbridgmohun ] Are there any blogs / feedback on the recent ruby conference?
+ 221176 [halostatue g] I'd expect to see more coverage today of the remainder of the
+ 221189 [znmeb cesmai] Two words: Star Trek!
  221200 [dpp projects] I missed this presentation.  Any video of it?  Any place the video
  + 221202 [znmeb cesmai] There is supposedly a video, but a link hasn't been posted yet. I hope
  + 221406 [Bil.Kleb NAS] Eric posted some,
    + 221751 [adam thereal] I blogged links to the various video sources plus some FAQs here
    + 221797 [jeremy hineg] I've uploaded to youtube Adam's skit from the full conference.

^ Learning ruby - metaprogramming question [from poignant guide]
221161 [luc.juggery ] I started learning Ruby not long ago and I'd really like to understand
221166 [dblack wobbl] Yes.
+ 221167 [luc.juggery ] Thanks a lot David,
+ 221193 [luc.juggery ] Do you know where I could find some interesting doc on this, something

^ Trouble using puts and getc in different threads
221168 [okmooi gmail] I was trying to do a little exercise: Display series of numbers
+ 221169 [garbagecat10] Try it on a Unix-like system. It will work. We've had several discussions
| 221182 [okmooi gmail] Hmm, that was not the answer I was hoping for... And I don't have the
| 221206 [jan.svitok g] if you're on windows, see [1] thread for a solution, especially [2]
| 221208 [garbagecat10] I'm still wondering what the problem with #getc is. Is it possible that the
+ 221210 [its_conebred] I am on a windows machine, and oddly enough I ran it the code. it went
  221233 [markiesjunk ] Uh no. I expect the loop to run until I press Enter and not stop before

^ creating objects type only known at runtime
221172 [alibby tange] This weekend I was playing around with some ruby and wanted
221173 [farrel.lifso] o = Object.const_get(class_name).new
221190 [alibby tange] Thanks!!

^ Instant Rails 1.4 and Mongrel
221187 [rxv hotmail.] I just upgraded to InstantRails 1.4, which, among other things, runs Mongrel
+ 221191 [jan.svitok g] try mongrel_rails (possibly with some parameters)
+ 221226 [ml.chibbs gm] That should work as long as IR's ruby\bin directory is on the path (by

^ $stdin.gets, threads, and command-line app.
221192 [xcambar gmai] I am currently working on a console-based app, in which the user
+ 221199 [okmooi gmail] I think your problem is the same as the one I posted a few hours ago.
+ 221204 [nospam nosit] By not using threads. The order of input and output is not synchronized
| 221209 [xcambar gmai] In this problem, one should consider the output generated by the threads
+ 221286 [ruby-ml kitt] If you are working on a shell, you are welcome to help with rs[1]. If

^ Bug with Emacs mode for Ruby
221203 [gethemant gm] I have following three statements and Emacs behaves quite differently
221290 [darkintent g] Could you post a link to a screenshot of the behavior of Emacs on your

^ OT: Does anyone have an extra shirt from rubyconf?
221205 [nathan.peel ] I don't know if there were any extras but if there were I'd gladly pay to
221455 [matt technor] For some reason, I feel obligated to point out that RubyConf was held in
221472 [mtrier gmail] Zed says, "Don't be THAT GUY" :)
221473 [mtrier gmail] Nm, I read it wrong.  Sorry.
threads.html
top