351966-352604 subjects 352380-354031

^ unsubscribe
352159 [wannab78 yah] unsubscribe=0A=0A=0A      New Email names for you! =0AGet the Email name yo=

^ Send Unlimited Free sms World Wide
352161 [one4time gma] ...

^ Regexp.escape with un-escapes
352164 [transfire gm] I want to translate a string into a regular expression, but I want to
352165 [marnen marne] Why, yes!  Use a regexp to find the (( )) bits, and then extract them,
352166 [transfire gm] You are right, it is ironic! Your suggestion helped some. I came up
352168 [b.candler po] There is a feature in String#split (documented in 1.9, undocumented in
352265 [transfire gm] (\(.*?\)\))/).map { |x| x =3D~ /\A\((\(.*\))\)\z/ ? $1 : Regexp.escape(x) }=

^ The best Valentine's gift
352173 [addugg gmail] The snow is Australia's UGGS Crochet Boots entirely within the process

^ [ANN] Ruby 1.9.1-p376 is out
352175 [yugui yugui.] Ruby 1.9.1-p376 just has been released. This is a patch level release of

^ A novice's question about load
352176 [exper.alpha ] I have two source files in the same directory: a.rb and b.rb
+ 352177 [ayumu.aizawa] Kernel.load doesn't fill in gap of .rb or .so.
+ 352178 [wishdev gmai] Evening Donghui,
| 352188 [exper.alpha ] Thanks a lotĄ¤ your answers are really helpful to me.
+ 352186 [lists bertra] The most has been said already.

^ AUTO: Joe Grastara is out of the office (returning 12/14/2009)
352183 [Joe.Grastara] I am out of the office until 12/14/2009.

^ [ANN] unicorn 0.95.2 - small HTTP parser fixes
352185 [normalperson] Unicorn is an HTTP server for Rack applications designed to only serve

^ Find out how you can change your love life with our wonder pills..
352187 [cute.atiya.0] Try it once and your carnal victories will follow one after another!

^ [ANN] jruby-openssl 0.6 - Recommended Upgrade
352189 [nicksieger g] I've just released jruby-openssl 0.6. jruby-openssl is an add-on gem

^ Reading Images
352192 [alexandro.ma] Hei there, ruby coders,
352193 [shortcutter ] 2009/12/7 Alexandro Kez <alexandro.mail@gmail.com>
352194 [alexandro.ma] Ok, here's the code. I'm just trying to load it and put on a quad. 500
+ 352195 [shortcutter ] Do you have to unpack?  I don't know the GL API but I doubt it would
| 352198 [alexandro.ma] Length of specified data doesn't correspond to format and type
+ 352196 [Rob AgileCon] A jpeg is more complicated that that. (All image formats are actually.)
  352200 [alexandro.ma] Oh, no... I really like ruby, but this is just ridiculous such a high
  + 352204 [paul pollyan] A JPEG is not a list of pixel values.  That's a bitmap.  JPEG uses
  + 352207 [charles.john] The problem is not with ruby, but with the complexity of the .jpeg
    352210 [jeanjulien.f] all
    + 352211 [Rob AgileCon] Oh, new to me! I'm going to have to remember that one. I have to admit =20=
    + 352213 [alexandro.ma] Fleck, thanks for this really good answer, but could you tell then what
      352214 [Rob AgileCon] 21.110 How can I turn my files, such as GIF, JPG, BMP, etc. into a
      352215 [alexandro.ma] Yeah, ok, I know it's not part of OpenGL, so expected it to be done with

^ QED 1.2
352199 [transfire gm] QED is a test/documentation framework. It allows you to define

^ Ruby Gem mirrors besides gemcutter
352201 [rilindo gmai] Are there other rubygem mirrors out there besides gemcutter? Amazon S3
352218 [luislavena g] 895
352423 [rilindo gmai] I am going to try to work around and setup my own mirror and then maybe =

^ mail: modifing a body
352202 [profpelosoto] I've a multipart mail, i parse it creating a Tmail object.

^ Wordpress Port
352206 [hjast89 gmai] Has there any been an effort to make a ruby Wordpress port? I am a
+ 352208 [rick.denatal] Well there are some well-known Ruby CMSeseses.
| + 352209 [jameskilton ] Wordpress is enormous. Porting would be non-trivial.
| | 352212 [Rob AgileCon] No, It sounds like hjast wants to check out phuby on phails. The video
| + 352268 [james.britt ] I've been building up a fairly complex site using Radiant, and it's
+ 352219 [ninja slapha] If you're wanting a way to work with Wordpress, the PHP app -- for example,
| 352233 [marnen marne] JRuby and Quercus, maybe? :)
| 352239 [xenogenesis ] Well, JRuby is Ruby running under the JVM, which I wouldn't quite call
| + 352247 [ninja slapha] In particular, there isn't any sort of PHP VM that we could meaningfully
| | 352260 [marnen marne] Well, there are a couple of PHP compilers, as well as Quercus...
| | 352266 [ninja slapha] Ah, point taken. So we could use the JVM after all.
| | + 352269 [marnen marne] [Warning: no Ruby content whatsoever.]
| | | 352275 [ninja slapha] Nice disclaimer!
| | + 352279 [rimantas gma] Are you talking about PHP4 or PHP5 there?
| |   352330 [ninja slapha] It was PHP5, when I was doing this, but it was also a long time ago.
| |   + 352331 [usenet-nospa] This is hardly necessary.  Pointer arithmetic can certainly be done safely.
| |   | 352339 [ninja slapha] Can be. However, the fact that it exists opens the door to a whole class of
| |   | 352340 [usenet-nospa] size_t len;
| |   | 352342 [xenogenesis ] figure
| |   | 352343 [usenet-nospa] Neat.
| |   | 352636 [rimantas gma] Regards,
| |   | 352671 [usenet-nospa] Not relevant.
| |   | 352687 [shevegen lin] Big discussion. :-)
| |   + 352649 [rimantas gma] It's is funny because you got it backwards. PHP5 has OO redesigned from scr=
| + 352259 [marnen marne] If you're running a Rails app or something in JRuby, I'd agree with you.
+ 352250 [emiddleton b] Have you looked at the typo blog[1],  I am not really familiar with
| 352258 [ryand-ruby z] as long as you take care not to enter its event horizon, you'll be fine.
| 352261 [emiddleton b] The current master branch is getting better.  It runs on rails 2.3.x and
+ 352640 [sophrinix gm] Why hasn't anyone mentioned phuby?

^ convert string into a variable object
352220 [codetest123 ] I have a string named "ruby". I want to create an empty object by that
352221 [aldric trevo] Yes.
352225 [codetest123 ] I have a file with a list of cities in it. The file is a daily feed and
+ 352227 [willemstoon ] A much better way to do this would be to store the city names in a hash.
| 352272 [steve studio] File.open(@file). each do |x|
| + 352277 [ninja slapha] Not if the cities are changing every day. Remember, symbols are never garbage
| | 352318 [steve studio] I would have thought number of cities over time would be finite and
| | + 352321 [aldric trevo] That's certainly easy enough to create - get some list of cities..
| | + 352333 [ninja slapha] Nope. A typo or an error in the file, and you've got a problem again. It's
| + 352282 [dblack rubyp] In addition to the garbage collection issue that David M. pointed out,
|   352297 [shortcutter ] I would certainly use String for city names.  Hard encoding city names
|   352324 [walton vyper] variable.
|   352393 [shortcutter ] Maybe.  I was talking about the approach to generate variable names.
+ 352228 [pxthanh299 g] you can use
+ 352229 [ninja slapha] Is 1 significant? That is, are you trying to count the number of cities, or
  352341 [rob flowof.i] I would think it depends entirely on the use case.

^ WEBrick doesn't work (permission/port error)
352232 [shamaoke hot] I get an error when I start a WEBrick server.
352253 [luislavena g] 73:in
352274 [shamaoke hot] I solved it by myself.

^ how to check if operation returns an error
352234 [pstoica gmai] coding some date/time program to practice at the moment and I hit a
352235 [walton vyper] irb(main):006:0> begin
352237 [pstoica gmai] Thank you, it works perfectly!
352544 [liulantao gm] begin ... rescue way is similar to Java's try...catch, and it is

^ rubygems - invalid gem format
352238 [mr.novell gm] I am having issues installing gems on both windows 7 and OpenSuSE 11.2.
352252 [luislavena g] Please clear your gem cache, on any of the OS you're using.
352328 [mr.novell gm] I seem to have fixed my problem. My original error is below. I fixed it

^ how to understand Ruby code? (noting various mixins/includes) Is  there a tool to assist here?
352241 [greg.hauptma] I seem to spend a good deal of time trying to make sense of open
+ 352242 [tony medioh.] I feel your pain, especially with AuthLogic.  It's very difficult to follow
| 352245 [flo andersgr] I found that YARD does a good job at finding static relationships
| 352311 [greg.hauptma] thanks for the pointer to YARD - interestingly I just run across my
+ 352248 [ninja slapha] Probably. I know people have written tools which generate Graphviz charts of

^ [ANN] Announcing MountainWest RubyConf 2010
352244 [blowmage gma] I'm pleased to announce the 4th iteration of MountainWest RubyConf on March

^ uninitialized constant MysqlCompat::MysqlRes
352251 [chris cuilla] I'm hoping someone can help with this. I'm baffled.
+ 352254 [charlesnjohn] Dan Benjamin (hivelogic.com) has a great site for this sort of thing.
+ 352344 [hassan.schro] I got that after my disk went south, I had the replacement loaded with

^ indent strings(make them lined up)
352262 [viashivan ha] I am newbie in Ruby. I have a question about indenting string.
+ 352264 [transfire gm] wkeyes=3D>
| 352273 [steve studio] Thomas's suggestion of String Format (%) is correct, just revising
| 352292 [shortcutter ] =BD =EF=BF=BD =EF=BF=BD =EF=BF=BD=3D>
+ 352281 [justincollin] You could do
| 352290 [Rob AgileCon] OK, I'm going to go out on a limb and presume that you obtain the
+ 352362 [w_a_x_man ya] data =
  352373 [Rob AgileCon] So you missed the phrase "please teach me how to do it" from the OP,

^ http://realwebwonders.com/
352263 [bram02234 gm] One of the most important aspects of a website today is the webcopy -

^ Install ruby 1.9.1
352267 [twscannell g] I spent an hour trying to find reasonable instructions on how to
+ 352271 [ralf.mueller] Looks like, you using some kind of debian based system...for which /opt
+ 352276 [ninja slapha] sudo apt-get install ruby1.9.1
+ 352303 [walton vyper] Why the special configure options? On my Ubuntu system I simply did
  352304 [twscannell g] Thanks for all your help.
  352334 [ninja slapha] I'm on Ubuntu 9.10, and the instructions I gave you will almost certainly work

^ [ help ] Ruby WM with C ext.
352283 [maoanther gm] creating a C extension with Ruby? The reason I ask is because I recently
+ 352287 [maoanther gm] Sorry, this has just been solved by some one.
+ 353449 [unexist dorf] sorry to reply that late and out of list, but I seem to miss your mail. The=

^ How do I know what to require in my ruby script?
352284 [hypermeister] How do I know what 'require' to include after installing a ruby gem?
+ 352285 [flo andersgr] Read the documentation. While it is good practice that you just have
+ 352286 [stefano.croc] Usually, such information is included in the documentation of the gem. It can
  352288 [hypermeister] Thanks, this was just what I was looking for.  Borrowing from this

^ latest movie news
352289 [nazmul018191] please go now my all site & enjoy ne movie news

^ Newbie question: what exceptions are thrown by FTP class
352293 [simonjohnmor] I'm a Ruby newbie, and may have a daft question: how do I determine what
+ 352298 [aldric trevo] Can you point me towards the documentation for that FTP class?
| 352301 [simonjohnmor] Posted via http://www.ruby-forum.com/.
+ 352302 [b.candler po] The Net::FTP documentation does tell you some exceptions that it can
  352322 [simonjohnmor] Brian,
  + 352366 [b.candler po] If the author includes that in the API documentation, then you'll have
  | 352372 [simonjohnmor] Sigh. I feared that would be the case.
  | 352375 [b.candler po] OK, I see.
  + 352371 [shortcutter ] ht


^ Matz's keynote at Rubyconf 2009
352296 [christoph.ja] just saw the hilarious presentation and was wondering whether it makes sense

^ [ANN] rake-compiler 0.7.0 Released
352300 [luislavena g] rake-compiler version 0.7.0 has been released!

^ Example Ruby Code
352305 [davidsoncaj ] Can anybody explain how this code actually works in simple terms if
+ 352306 [marnen marne] Go read about blocks in Ruby.  If you don't understand something once
| 352325 [davidsoncaj ] I read about Blocks and thought I understood this quite well, I
| 352337 [ninja slapha] No, that's not what's happening.
+ 352308 [shortcutter ] The code defines a method "animals" which accepts an anonymous callback
+ 352316 [lists bertra] That's short for
+ 352326 [phrogz mac.c] On Dec 8, 10:30=A0am, Christopher Davidson <davidson...@gmail.com>

^ overriding key bindings in tktext
352309 [martindemell] Does tktext let me completely override bindings? For instance, if I
352338 [nagai ai.kyu] You have to break the evaluation of the widget's bindtag list.
352403 [martindemell] Thanks, that works beautifully!

^ =?windows-1252?Q?Sample_code_for_doing_a_=93chunked=94_webfile_HTTP_d?= =?windows-1252?Q?ownload=2C_and_then_stream_to_HTTP_upload_to_another_web_app=3F?=
352312 [greg.hauptma] chunked HTTP file download, and then (b) stream this into the HTTP

^ Task/method dependency library?
352313 [transfire gm] Has anyone developed a dependency management library akin to Rake's,
352335 [gabriel.horn] Thor, http://github.com/wycats/thor#readme, has an invocation-

^ =?windows-1252?Q?Re=3A_Sample_code_for_doing_a_=93chunked=94_webfile_HT?= =?windows-1252?Q?TP_download=2C_and_then_stream_to_HTTP_upload_to_another_web_a?= =?windows-1252?Q?pp=3F?=
352315 [tony medioh.] This shouldn't be too difficult to do with either Rev or EventMachine, which

^ Using the 'amatch' gem with 'find'
352317 [john.mcleod ] Has anyone used the gem 'amatch' for a search or with the 'find' method.

352323 [charles.john] This is utterly hilarious.

^ haml
352336 [devguy.ca gm] I am starting to look at haml and was wondering if there is anything
+ 352345 [richard.conr] Rajinder,
| + 352350 [me xinuc.org] There are some Indonesian fellows working on W2tags
| + 352353 [devguy.ca gm] thanks for the feedback. I just wanted to get a sense of what is out
|   352365 [martindemell] what webby lets you do is maintain a website as a tree of static
|   352429 [devguy.ca gm] Thanks for clearing up the features and benefits of Webby. The Webby
+ 352351 [phrogz mac.c] ...
+ 352368 [josh.cheek g] Lists ten templating languages, links to repos, home pages, docs, news, and
  352431 [devguy.ca gm] Kind Regards,

^ which is better?
352346 [rubynewbee g] I want to delete the numbers in a string, for example,
+ 352347 [botpena gmai] try also  String#delete
+ 352349 [flo andersgr] x ="abcd"
  352437 [shortcutter ] And then there's also
  352439 [wybo servaly] irb
  352440 [shortcutter ] -e:1: warning: ambiguous first argument; put parentheses or even spaces
  352447 [lists bertra] $ ruby -wce 'o.gsub! %r/\d/, ""'

^ [ANN] hoe 2.4.0 Released
352348 [ryand-ruby z] hoe version 2.4.0 has been released!

^ [ANN] ZenTest 4.2.0 Released
352352 [ryand-ruby z] ZenTest version 4.2.0 has been released!

^ a gets problem
352354 [rubynewbee g] irb(main):001:0> x = gets
352355 [usenet-nospa] Because you convinced it that it had reached the end of file, and gets
352356 [rubynewbee g] How to re-gets it then?
+ 352357 [usenet-nospa] No clue.  Why not try, you know, NOT DOING THAT?
| 352360 [rubynewbee g] but if I inputed a ENTER rather than two "ctrl +D", thing works fine.
| 352401 [usenet-nospa] Exactly.
+ 352358 [szabtam gmai] Why don't you just use ENTER instead of 2 CTRL-D-s when you are entering the
  352359 [rubynewbee g] why not?
  352367 [justincollin] Mainly because gets is waiting for an EOL, not an EOF. Recall that, in
  352370 [rubynewbee g] oh~ thanks a lot, have got that.

^ Thread-local variables in Fibers
352361 [larschbelunk] I stumbled on an oddity with thread variables in fibers. I wonder if
352395 [rogerpack200] There was some discussion on this in core.  I can't remember if there

^ Qt4 : disappearing non-English characters
352363 [my8192 myway] I'm developing a flash-card application to help myself learn the Chinese

^ multicast and windows
352369 [regis.aubare] ok for all
352394 [rogerpack200] No code?
+ 352411 [regis.aubare] code is in sim.rb, attachment of first post
| 352413 [rogerpack200] Have you tried it with linux at all? how does it work there?
+ 352414 [rogerpack200] Did you try 1.9.1 on doze?
  352445 [regis.aubare] yes
  + 352452 [rogerpack200] I assume Linux 1.9.x works, too, then?
  + 367213 [rogerpack200] works for me with all versions of ruby on windows... (windows 7).
  + 367269 [headius head] You should definitely try JRuby 1.5.1. There were hundreds of bug

^ Segmentation fault installing ruby1.9 together with 1.8
352374 [arthurccube ] I have an existing ruby1.8.7 in my computer.
352384 [b.candler po] - what exactly did you type?
352418 [arthurccube ] Thanks for your help. The Seg fault happens just after my "ruby1.9"

^ Using OCRA, FXRuby  and pdf-writer problem
352378 [hypermeister] I made a simple salary calculator as practice using FXRuby, OCRA to
352389 [luislavena g] Warnings are normal,
352392 [hypermeister] Ok, I'll keep that in mind.  I'm still rather new to this forum.  Where
352424 [hypermeister] I commented out any lines that had to do with the pdf generation, ran
352471 [chris.hulan ] I think it is the warning messages that are causing the issue
352514 [hypermeister] $stderr2 = $stderr.clone
352572 [gregory.t.br] A bit off topic, but is there a reason why you're using PDF::Writer