284218-286676

284004-288837 subjects 284472-288854

^ Basic date/time question.
284218 [phpcode gmai] I'm trying to calculate a period of time; basically each month is
284221 [Rob AgileCon] Midnight is the START of the day.
284222 [phpcode gmai] Gotcha, so basically, using December as an example, the period1 would
284227 [Rob AgileCon] Note the end-excluding three-dot Range constructor.
284233 [phpcode gmai] Great... makes more sense that way! Thank you :)

^ LGBT Partner/Ruby Web Developer at TopOutColleges.com
284220 [TopOutColleg] TopOutColleges.com is the first and only website where students voice

^ Comments in REXML
284229 [jari.william] How do I add a XML comment between 2 element nodes in REXML? I've read

^ starting multiple processes
284235 [junkone1 gma] i have to do the following
284237 [vjoel path.b] Thread.new do
284269 [shortcutter ] Wouldn't help.  This is #exec and not #system - the process does not
+ 284299 [gthiesfeld g] system("start E:\\TradingTools\\IBController\\IBControllerStart_customised.bat")
| + 284300 [praveen pers] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
| + 284304 [shortcutter ] Unless you are using cygwin.  Sorry, I keep forgetting that the other
+ 284431 [vjoel path.b] Oops, you're quite right, I was thinking of #system.
  284452 [junkone1 gma] i tried that. it does not work for me. it waits

^ slicing in ruby
284238 [robert.citek] Is there a way to slice an array like in perl?
284239 [robert.citek] Found it: indices, which is deprecated in favor of values_at.
+ 284240 [TimHunter nc] The first two things that come to mind are: www.ruby-doc.org, if you
+ 284241 [phrogz mac.c] Kernel#methods, Object#methods
+ 284253 [botpena gmai] On Dec 20, 2007 8:11 AM, Robert Citek
| 284263 [shevegen lin] Check out http://www.noobkit.com/ something which i think ruby should
| 284308 [rick.denatal] I hadn't run across that one before.  Very nice presentation and I
+ 284270 [shortcutter ] Why not
  284297 [robert.citek] First, thank you for the example.  Made me wonder about the .to_a

^ DataMapper 0.2.5 Release
284242 [ssmoot gmail] Bug-fix release.

^ [ANN] command-set 0.8.3 Released
284246 [nyarly gmail] command-set version 0.8.3 has been released!

^ send email using gmail as smtp
284248 [junkone1 gma] can i send email thro ruby using gmail as smtp. appreciate any help
284249 [joshua.schai] You can.
284342 [junkone1 gma] On Dec 19, 9:19 pm, Joshua Schairbaum <joshua.schairb...@gmail.com>
284343 [junkone1 gma] here is what i tried,

^ not reusing current app instance
284251 [junkone1 gma] when i have the amibroker application runnign and then start a ruby

^ URI.parse not like pipes (|) in url?
284258 [aktxyz gmail] URI.parse("http://chart.apis.google.com/chart?
284260 [daniels pron] URI.escape('|')

^ Trunk failing to build on Win32
284261 [robert.hucik] I can successfully build Trunk on Linux and OSX but am having a very
284275 [billk cts.co] Hmm.  I'm usually able to build trunk on win32.  I was able to

^ ANN: Sequel 0.4.4.2 Released
284264 [ciconia gmai] Sequel version 0.4.4.2 has just been released. Sequel is a lightweight

^ [ANN] Duration 0.1.0 released
284265 [shugotenshi ] I'm thrilled to announce the release of Duration 0.1.0.

^ [ANN] RubyGems 1.0.0
284268 [drbrain segm] Release 1.0.0 fixes several bugs.
+ 284271 [drbrain segm] There's an issue with installing on Ruby versions 1.8.5 and earlier.
+ 284328 [ml e4net.com] After trying to install both from the source and from gem update --system
  + 284330 [ml e4net.com] Seems to have somethign to do with having to sudo gem update, now if I runit with
  | 284339 [ml e4net.com] Ok this has something to do with the way Ubuntu installs ruby (surprise surprise!)
  + 284344 [drbrain segm] Did you see the NOTE?  I think this is your problem.
  | 284438 [ml e4net.com] Yes I did see the note, however I did not install rubygems via the apt system I originally installed
  | 284440 [drbrain segm] Ok, thanks.  I've not heard of this problem before.  Perhaps something
  + 284423 [devi.webmast] The most common cause of upgrade issues on Ubuntu is if you installed

^ Re: RubyGems 1.0.0
284276 [dan fluentra] Many thanks for fixing the memory usage of the bulk update. Works
284333 [joevandyk gm] I upgraded to RubyGems 1.0.0.  Running ruby 1.8.6 on OS X.
284334 [drbrain segm] I'll need a full backtrace.
284444 [janfri.rubyf] I'm in the same situation.
284456 [drbrain segm] Do you have a /usr/local/bin/gem ?
284506 [jbilbo gmail] I'm also in the same situation (ruby from Apt and RubyGems manually
+ 284518 [ml e4net.com] I was on Fiesty which still had 1.8.4 I think, and I presumed my problem was due to the initial gem
| 284599 [jbilbo gmail] Ok, i solved the problem (i had it in many computers, all of them
+ 284615 [drbrain segm] Can you get a complete install log?
  284635 [jbilbo gmail] For sure, I can reproduce the problem if i return back to rubygems 0.9.2
  284930 [drbrain segm] Use `gem1.8`.
  284978 [jbilbo gmail] Yes, using gem1.8 works nice.

^ Checking results
284278 [rubyror goog] I am having difficulty in passing the folowing class method, that takes

^ best GUI toolkit for windows/OSX
284279 [edeleflie gm] I'm developing a simple little application (with a GUI) in Ruby (newb
+ 284282 [victor.reyes] A google search as in:  "*GUI toolkit" "Ruby"* turned *52,100 hits*.
| 284284 [edeleflie gm] which is precisely why I ask the question on a list...
| 284288 [victor.reyes] No, No. I'm sorry if I did not explain myself. Please accept my apologies if
+ 284291 [znmeb cesmai] My recollection is that wxWindows is the closest to "native" look and
+ 284305 [jontyjont bt] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+ 284316 [tommy.nordgr] One of your options is to write a Wrapper ruby package for QT from
| 284319 [jari.william] ...or use the already-available Ruby/Qt.
+ 284378 [shugotenshi ] wxRuby (Ruby bindings for wxWidgets) is the best out there currently for

^ [ANN] Packet 0.1.2 Released
284280 [gethemant gm] I am pleased to announce a new release of "Packet", A pure ruby library

^ Organization of standard and 3rd party libraries
284281 [transfire gm] Do you think Ruby's standard library would be better if it was
284335 [transfire gm] require "facets/extensions/...."
284482 [dangerwillro] I think this concept of <package_name>/<category_name> is a very good
285291 [gwtmp01 mac.] Instead of trying to come up with a single organization

^ [SUMMARY] Programmer Ping-Pong (#150)
284290 [james graypr] This quiz was definitely more about the process than what we produced.  For the
+ 284301 [rick.denatal] Should that be either last or latest?  As far as I know, I was the
| 284303 [james graypr] Note the possessive: "James Koppel's first response."
| 284307 [Rob AgileCon] Rick, Read it without the word "first" and then think of future-
+ 284306 [bulibuta fak] I loved this quiz, I had a lot of work to do this week so I missed out

^ requiring external libraries directly
284296 [mario betwar] I want to put all the external libraries I'm using in my project in a
+ 284387 [mario betwar] Any idea???
+ 284391 [arkadi4 gmai] Just add following string into your code (before require statements)
  + 284412 [mario betwar] But I'll need the gem file in the external library folder or what??
  | 284439 [drbrain segm] Don't trim context, we don't know what you're talking about when you
  + 284437 [vjoel path.b] File.dirname(__FILE__)

^ [RegExp] Why my re works like this?
284298 [magicloud.ma] Dear,

^ Re: converting some autogenerated ruby code to C
284310 [flashdog gmx] I installed RubyToC (gem install RubyToC) but I don't find a

^ xml-rpc client result
284311 [cwdinfo gmai] I posted this on Nabble but don't think it made it through to the
284313 [james graypr] Looks like you are dealing with a custom protocol here.
+ 284317 [cwdinfo gmai] <?xml version=\"1.0\" encoding=\"utf-8\"?>
+ 284346 [cwdinfo gmai] As a followup, I can parse the returned XML string using XmlSimple,
  284347 [james graypr] OK, forgive me for not getting this, but you've shown us two pieces of =20=
  284349 [cwdinfo gmai] =20
  284359 [james graypr] No worries.  I get it now.
  284367 [cwdinfo gmai] charset=US-ASCII;

^ Need Help Creating Gems
284315 [btricha gmai] I've successfully created a RubyGem, but I do have one problem.  I have a
284322 [luislavena g] if executables array is empty, no script will be made executable.
284323 [btricha gmai] Luis,

^ PGCon 2008 - call for papers
284318 [dan langille] PGCon 2008 will be held 22-23 May 2008, in Ottawa at the University of

^ OptionParser Question
284320 [btricha gmai] I'm using OptionParser to parse command line options.  I've figured out how
+ 284325 [ara.t.howard] 1) gem install main
+ 284326 [stefano.croc] charset="iso-8859-6"
  + 284327 [shortcutter ] The question is, does Bryan want to treat the file name as part of the
  + 284351 [btricha gmai] Ah yes... this worked great!!!!  Thanks! -- BTR

^ RubyGems puts a dash in the installed gems filename after the version
284324 [jpywtora cal] When I install my own gem on one of my systems rubygems adds a dash to
284360 [drbrain segm] Can I see `gem env` output?
285043 [jpywtora cal] Thanks Eric,

^ Invalid Data Source Name
284337 [btricha gmai] Does anyone know what causes the "Invalid Data Source Name" exception?  I
284341 [adam.shelly ] my guess is that the exception is coming from your mysterious <do
284350 [btricha gmai] Thanks for responding.  Actually, I'm an idiot and wasn't passing "DB:PG:"

^ [ANN] Join us for Vancouver's 1st RubyCamp @ WorkSpace on January 26th, 2008
284338 [geraldbauer2] You are invited to RubyCamp 2008 in Vancouver on Saturday, January 26th.

^ Re: Duration 0.1.0 released
284352 [rabbitblue g] Awesome work, Matthew! Duration is a sweet, sweet class and I'm glad

^ [ANN] command-set 0.8.4 Released
284353 [nyarly gmail] command-set version 0.8.4 has been released!

^ Rails 2.0 error script/generate login Account
284357 [pmcamacho gm] 1. gem search -r generator
284374 [jeremy bitsw] The login generator is out-of-date, relying on a scaffold file that no

^ soap wsdl envelope
284361 [jared.moody ] I'm having some trouble getting my SOAP envelope to do what I want and

^ Random Positioning of Radio Form Items?
284362 [khurrum1 gma] I made a short multiple choice quiz in ruby using erb in an rhtml page.
284370 [ara.t.howard] <% @allanswers[@questionNum].sort_by{ rand }.each do
284372 [khurrum1 gma] Thank you :) I didn't know about .sort_by{ rand }

^ [ANN] RubyGems 1.0.1
284363 [drbrain segm] = Announce: RubyGems Release 1.0.1
284469 [unbewusst.se] I get a prob on Mac OS X 10.4.11 the installation (sudo gem install
284614 [drbrain segm] Do you have RUBYOPT set?

^ First stab at a weakref test suite
284375 [djberg96 gma] I decided to take a stab at creating a minimal test suite for WeakRef
284376 [drbrain segm] Since the GC is conservative, references may exist longer than you
284403 [charles.nutt] This is probably the largest reason why a weakref suite will be a little
+ 284433 [drbrain segm] If it isn't collected after 1, I doubt it will be collected after
| 284448 [hramrach cen] Yes, the behavior looks very non-deterministic from the outside, it
+ 284454 [djberg96 gma] On Dec 21, 6:50 am, Charles Oliver Nutter <charles.nut...@sun.com>
  284509 [hramrach cen] Apparently the reason the python weakref is testable is that you can

^ check if application exists
284381 [arkadi4 gmai] I'm launching external application from my ruby script
+ 284382 [shugotenshi ] You would usually check the $PATH environment variable on *nix systems,
| 284384 [arkadi4 gmai] Thanks Matthew, I got the idea.
| 284441 [lrlebron gma] If the program writes to the windows registry you could also use that
+ 284445 [djberg96 gma] require 'ptools'

^ Binary file reading in Ruby
284383 [rohit2000s y] mem_buf = IO.read(file_name, n, 0)
+ 284385 [arkadi4 gmai] It looks like your file size is less than number of bytes you're trying
+ 284398 [shortcutter ] Either, the file is smaller than n or you have an issue with
  284409 [rohit2000s y] Thanks a lot ! That was the exact problem I had - getting that part of
  284432 [shortcutter ] You probably should have mentioned this. :-)

^ Problem with case statements
284386 [gethemant gm] 54:    def find(*args)
+ 284388 [jgabrielygal] if you want to put the body of the when in the same line you need a
| + 284389 [ljjarvis gma] 1.8.6 works with a keyword or a colon, I think this is what Hemant
| | 284392 [jgabrielygal] Oh, you are right, I missed the colon after the symbol. :-(
| + 284390 [ljjarvis gma] 1.8.6 works with a keyword or a colon, I think this is what Hemant
+ 284393 [shortcutter ] Does the same error surface if you precede the colon with a space?
  284400 [gethemant gm] Looks like they deprecated ":" in case statements.
  284401 [gethemant gm] My bad.. i meant intentional, but you got the point anyways!.
  284404 [fred lacave.] According to the 3rd edition of the PickAxe, it is intentional.
  284405 [gethemant gm] Ha ha.. damn to its decided. I don't own third edition apparently.

^ [Rails 2.0] Autosetting field before validation
284402 [uzytkownik2 ] def before_validation_on_create
+ 284414 [boss airblad] I think permalink is treated as a local variable, i.e. local to your
+ 284422 [james.britt ] Rails questions are better suited for the Rails mailing list.

^ Request for Duration library localizations
284408 [shugotenshi ] If you speak another language and would like to contribute to the
+ 284421 [stack.tcpip ] Other languages may have more than 1 plural form. See for example
+ 284436 [fred lacave.] class Duration
+ 284442 [s.korteling ] dutch.rb is attached.
+ 284520 [mailing.mr g] Polish should be simple too, problem might be "" which is polish
+ 286676 [stig apple.c] -Ben=

^ Re: RubyGems 1.0.1
284410 [doodpants ma] I have Ruby and RubyGems installed both in Windows using the "One-
+ 284419 [dangerwillro] 1.0.1 works great thus far on my OS X 10.4.11 with Ruby 1.8.4
+ 284434 [drbrain segm] Can you post a screenshot of this behavior?
  + 284480 [peter.bunyan] Now fix it for 1.9.0. :P
  | 284613 [drbrain segm] Lies.
  | 284673 [renard nc.rr] =A0
  | 284681 [luislavena g] rubygems_version: 0.9.5
  + 284517 [doodpants ma] Well, it's kinda too late now since I already upgraded. But there's
    284522 [luislavena g] On 22 dic, 19:03, Karl von Laudermann <doodpa...@mailinator.com>

^ Re: [ANN] New RCRchive, including new process
284416 [hramrach cen] How do I sign up?

^ How to Kill iexplore
284418 [ghotrapa yah] Can anybody give a code example on how to kill a process using the
284427 [djberg96 gma] No, because that would kill all processes with that name. You can do

^ Starfish DRb Error
284420 [dale.martens] I was trying to get starfish to work, but I get a DRb error every time
284514 [rogerpack200] google for drb on windows--setup might be not as trivial as expected.

^ Re: Autosetting field before validation
284424 [uzytkownik2 ] OK. I will.
284425 [uzytkownik2 ] It works.

^ [ann] rb-appscript 0.5.0 released
284443 [has.temp3 vi] Announcing the release of rb-appscript 0.5.0, a high-level, user-

^ network packet capture
284446 [dninja gmail] I wan to capture network traffic so I've been looking at pcaplet. It

^ Soap4R and Rails - Server code
284449 [norman.barke] I have managed to generate my server files from an existing wsdl

^ Singleton Method
284450 [c00lryguy gm] What's the difference between a regular method and a singleton method?
284451 [gwtmp01 mac.] From the perspective of a particular object, singleton methods are
+ 284455 [joon rubyhea] Just out of curiosity, is there a difference between
| 284461 [ben.lipton g] I think the answer is No, there isn't a difference, but it's something I've
| 284466 [gwtmp01 mac.] I think your description is a bit misleading.
| 284485 [ben.lipton g] You're right, my description is misleading, though I think I had it
+ 284468 [c00lryguy gm] def Array.second
  284470 [gwtmp01 mac.] No.  Your examples are different than mine.
  + 284471 [sepp2k googl] Yes, actually.
  | 284483 [gwtmp01 mac.] I was trying to point out that they didn't make sense relative
  + 284473 [pergesu gmai] Pat

^ Readline::readline()  blocking all other threads
284453 [jesnault gma] I have noticed an issue with readline since upgrading to Leopard.

^ libm libxml ruby-osa os x help
284457 [dan.klose gm] I am trying to convert some of my nasty perl into nice neat ruby.  The
+ 284458 [cwdinfo gmai] You might try Mac Ports (http://www.macports.org/)
+ 284475 [has.temp3 vi] Dunno why you should get that error installing the gem (sudo gem
  284477 [dan.klose gm] Thanks for the help.  I have opted for rb-appscript - it has installed

^ Matz says namespaces are too hard to implement - why?
284462 [apeiros gmx.] Short primer: What are namespaces?
+ 284463 [apeiros gmx.] Should of course have been: "essentially to make monkey patching safe."
| 284465 [james.britt ] Monkey patching?
| 284467 [gemblon yaho] somebody get me a bandaide.  lol.
+ 284478 [shortcutter ] Ultimately Matz will be the one who is able to answer this properly.  My
| 284479 [charles.nutt] Or perhaps, the various implementers will be able to answer this
| + 284481 [transfire gm] Doesn't _why have an interesting approach of this problem? I forget
| | + 284487 [charles.nutt] Yes, sandbox. There's also discussions starting now about multi-VM
| | + 284490 [transfire gm] of course, "n.to_f" should be "n.round".
| | + 284550 [fedzor gmail] To find a solution to my want/need for namespaces,
| + 284486 [apeiros gmx.] I fail to see why namespaces would have to be per Thread. I understand
|   284488 [charles.nutt] They wouldn't "have to be" but that would probably be the most useful.
|   + 284491 [apeiros gmx.] Hm, my knowledge about AOP is very limited, but this sounds more like
|   | 284493 [charles.nutt] AOP is largely method-bounded (or cutpoint-bounded) and not applicable
|   | + 284494 [apeiros gmx.] I'd expect Enumerable to use the Array#each as defined in that
|   | | + 284497 [shortcutter ] Actually that fits well with what I was going to suggest: it seemed to
|   | | | 284511 [charles.nutt] Ditto, though I'm not a fan of selector namespacing yet anyway.
|   | | | + 284519 [hramrach cen] So this is a syntax sugar for something like
|   | | | | 284535 [charles.nutt] My version just shows changing it within the calls appearing in that
|   | | | | 285211 [hramrach cen] T24gMjMvMTIvMjAwNywgQ2hhcmxlcyBPbGl2ZXIgTnV0dGVyIDxjaGFybGVzLm51dHRlckBzdW4u
|   | | | + 284532 [shortcutter ] Yeah, you're right.  I looked more to the receiving side but did not
|   | | |   284536 [charles.nutt] One way or the other :) I don't claim to know where selector namespaces
|   | | |   284575 [jos catnook.] Here's a ruby-core thread which looks related. The features described in there
|   | | + 284507 [charles.nutt] I don't think so, if the namespacing applies to a thread and all called
|   | + 285031 [eeklund gmai] Original each.
|   |   + 285044 [MonkeeSage g] Well, but that's the trivial case that Charles talked about. The
|   |   | 285109 [eeklund gmai] [... example calling collect from something importing a namespace snipped ...]
|   |   + 285115 [charles.nutt] I was thinking about this a bit more today and I don't see how it's
|   |     285129 [pbrannan atd] It might not be desirable to call the methods directly if you don't know
|   |     285140 [charles.nutt] I really don't know, and to be honest I haven't seen a particularly
|   |     285188 [pbrannan atd] I would like other users to be able to import mathn without it breaking
|   |     285194 [rick.denatal] def divide(a, b)
|   |     285196 [pbrannan atd] I'm having trouble understanding why this case wouldn't work as
|   |     285199 [rick.denatal] What causes the integer 1 to use the '/' method monkeypatched in Mathn
|   |     285220 [pbrannan atd] In the first case (1 / 2), the Mathn namespace is not active, so the
|   |     285234 [rick.denatal] Okay, I read your pastie again, and I understand the unnatural acts
|   + 285048 [pbrannan atd] was to modify caller's frame to signify that a particular namespace is
|     285111 [charles.nutt] Yep, this would work, but it only namespaces for a single frame. Is that
|     285116 [pbrannan atd] - apply a namespace to a particular scope
+ 285052 [pbrannan atd] AFAICT, one problem with your implementation is it's not possible to
threads.html
top