223593-224452

223393-224283 subjects 223801-232003

mechanize: 400 Bad Request
223593 [a99.googlegr] and the page returns:  "400 Bad Request"
223664 [aaron_patter] Can you turning on logging, and forward that to the mechanize mailing
223685 [a99.googlegr] I'll try it this evening (because it is a private job). Logging is done
223766 [aaron_patter] agent = WWW::Mechanize.new {|a| a.log = Logger.new("some_file.txt") }

Re: Bytecode Compiler (#100)
223595 [camerooni@gm] The simplest way I found to do this problem was to let Ruby do the

Fwd: Solution to Ruby Quiz #100
223598 [james@gr yp ] ...

[Fwd: mod_ruby postgres]
223600 [parragh@da k] sorry for the repost, but still have no solution, but really would like
223638 [collinsj@se ] <snip code>

Magic method instantiation
223610 [x11@ar ur z.] def text_field_tag(*args)
223639 [daniels@pr n] I would guess because you're using the variable args twice - the fact

Problem with Thread's memory (possible bug)
223611 [vshepelev@im] Some time ago I've started thread named "Memory crush somewhere in Socket"
+ 223632 [drbrain@se m] First of all, try to reproduce in Ruby 1.8.5.
| 223634 [vshepelev@im] Unfortunately, I can't do it easy.
+ 223683 [matz@ru y- a] First, mere 1.9 does not mean anything.  Specify the date.
  223688 [vshepelev@im] Sorry :(
  223702 [matz@ru y- a] Much better.
  + 223703 [vshepelev@im] Yukihiro Matsumoto (matz@ruby-lang.org)
  + 223737 [vshepelev@im] Yukihiro Matsumoto [mailto:matz@ruby-lang.org]

Ruby mode
223612 [nalhawash@ya] '("\\bdef[ \t]+[a-zA-Z_]+[a-zA-Z0-9_]*[?!]?"

New to Ruby
223615 [nalhawash@ya] Abort trap
+ 223618 [david@va ln ] A) What hello example?
+ 223637 [TimHunter@nc] Welcome to Ruby!
+ 223640 [Mail@Jo as H] I can recommend this guide to update your ruby version on your Mac.

T-shirts from Euruko 06 conference
223620 [m94asr@gm il] we have some t-shirts left from Euruko.

Ugly code - suggestions?
223621 [gabriele.mar] I'm writing an ANSI color codes parser which gets a string with text
+ 223655 [eegreg@gm il] couple of ideas for you- didn't this out though
| 223658 [dblack@wo bl] The reason is that you might have more than one ;\d+ sequence, and the
+ 223686 [shortcutter@] anyway, still bold\e[33;32;31m"
  223692 [gabriele.mar] Cool!

Net::IMAP
223622 [tallison@ta ] How do you get a list of the folders available?
223626 [drbrain@se m] You want #list.  Read RFC 3501 [1] 6.3.8 if the Net::IMAP
224287 [mattrose@fo ] actually, the LIST command returns the hierarchy separator, as well,

Ruby.extend Javascript
223624 [transfire@gm] Doing some Javascript coding today and started to wonder about it's
+ 223636 [lopx@ga et .] Javascript is a prototype based language where prototype is a template
+ 223644 [david@va ln ] It's the expected way of doing things in prototype-based OO - a class
  223652 [eegreg@gm il] there is already a prototype library you can try out
  223660 [transfire@gm] Marcin, David, greg thanks for the feedback.

[ANN] uri-relative 0.0.2: the "I'm an idiot" edition
223625 [mental@ry ia] Briefly, I've dropped my own resolution and relativization methods in

ruby http proxy
223627 [snacktime@gm] This isn't really a ruby specific question, but it is written partly

Does gem rdoc have a way to include additional html files in the output?
223629 [jeff.barczew] ...

[ANN] FasterCSV 1.0.0 -- The "Sorry it's late, Ara" release!
223633 [james@gr yp ] FasterCSV 1.0.0 Released
+ 223730 [ara.t.howard] rock on james!  thanks for letting this into the wild.
+ 223944 [gregory.t.br] Congrats on a 1.0 release James!  Great work.  And Ara, your additions rock.

[ANN] FastJSON 0.0.8 Released
223641 [brian.takita] ...

Comercial web application with Ruby on Rails
223643 [agamazapata@] I have to develop a new application with Php and Mysql, before that i
+ 223645 [david@va ln ] *developed interest :P
+ 223651 [TimHunter@nc] Check out www.rubyonrails.org, The Ruby On Rails website. It has a list
+ 223696 [jeremymcanal] And, yes, it can be hosted on Bluehost. :)
+ 223735 [cohen.jeff@g] This is not the Rails mailing list, this is the Ruby mailing list.

first time
223646 [jasaugusto@g] ...

[ANN] Ruby-VPI 11.0.0
223650 [ snk@gn .o g] Ruby-VPI is a Ruby interface to Verilog VPI. It lets you create

Book wanted: Metaprogramming in Ruby
223653 [ news@ja .f ] I'm an old-school, procedural programmer.  I skipped C++ and Java, and went
+ 223654 [wilsonb@gm i] I agree that that would be a book worth writing.
+ 223659 [Bil.Kleb@NA ] FWIW, at Agile 2006 Martin Fowler mentioned he
| 223826 [znmeb@ce ma ] Actually, if Martin Fowler wants to write another book, he should expand
| 223830 [ola.bini@ki ] But concurrency in Ruby is still green threads, so that would have to be
| + 223835 [james@gr yp ] Well, there's Ruby non-blocking IO methods.  There's also the
| | 223876 [Fdavis@us an] I'd love to see an Advanced Ruby book targeted towards experienced
| + 224228 [kero@ch ll .] I've done concurrent Ruby processes, with System V IPC shared memory (to
|   + 224255 [james@gr yp ] I've very interested in a text that covers NArray decently.  Are
|   + 224295 [znmeb@ce ma ] As a matter of fact, that's exactly what I want! Erlang or Termite
|     224380 [rubyfan@gm i] So how are Erlang lightweight processes implemented?  I thought that
|     224392 [ola.bini@ki ] Erlang processes are usually implemented with M:N-threading.
|     224452 [znmeb@ce ma ] I haven't been able to dig into the core of Erlang, but the
+ 223740 [cdcarter@gm ] ...
+ 223756 [rubyfan@gm i] We do need an advanced Ruby text.  I think a lot of what it would
  223757 [james@gr yp ] I've tried to translate a fair portion of the Higher Order Perl
  + 223761 [ryco@gm .n t] I second the request for a book on metaprogramming.
  | + 223762 [matt@te hn r] I thought the request for a book on meatprogamming in Ruby was quite
  | + 223787 [Eric.Armstro] +1 on both counts.
  |   223816 [david@va ln ] Umm, please no. I'd prefer a coherent in-depth text, preferrably one
  + 223798 [gilesb@gm il] I found this very handy.

Virus alert when compiling ruby stable 2006-11-05 with mingw
223656 [jasaugusto@g] ...
223666 [drbrain@se m] You should send this email to your anti-virus software vendor.  I
223708 [jasaugusto@g] ...
223712 [ryand-ruby@z] Or in the virus detection software... either way, it isn't a bug in

array sorting question
223657 [gilesb@gm il] I have an array of arrays. the interior arrays can be of any arbitrary
+ 223662 [gilesb@gm il] ok, cancel that, this is not the tower of hanoi, this is splitting an
| + 223669 [kevin.olbric] Actually, it's not even that.
| + 223673 [gavin@re in ] As shown in my solution, I think the better answer is sorting the full
|   223799 [gilesb@gm il] wow, both these solutions look better than what I have, and I don't
|   224313 [gilesb@gm il] you know, both these solutions, while much prettier than my code,
+ 223672 [gavin@re in ] main = (-4..12).map{ |i| (0..i).to_a }

FasterCSV question
223665 [reid.thompso] rthompso@jhereg:~$ cat pipedata
223671 [james@gr yp ] Luckily, it's a trivial format you shouldn't need FasterCSV to

DateTime.strptime NoMethodError
223674 [moisi_fr@ya ] I've just upgraded my ruby version from 1.8.2 to 1.8.5 and I got a
223713 [jan.svitok@g] try adding require 'date'

chats
223676 [robert.mccor] I'm looking for an extension/plugin/whatever you call it (I'm new to
223695 [TimHunter@nc] This list is a general Ruby mailing list. The Ruby On Rails list is a

[ANN] RDoc2PDF 0.1
223677 [alexg@ku cr ] RDoc2PDF installs a very basic PDF generator for RDoc. The output is

Multi-line variable
223678 [wanted@gm il] $var = <<<END
223679 [farrel.lifso] irb(main):001:0> var =<<END
223681 [wanted@gm il] Thank you very much :)
223689 [jan.svitok@g] <<identifier   - interpolated, goes until identifier

[ANN] Mechanize - 0.6.3 (Big Man)
223682 [aaron_patter] Mechanize version 0.6.3 (Big Man) is now available.

Script to run Focused Specs/Tests
223684 [brian.takita] ...

need ruby run like php in apache
223687 [axgle@12 .c ] I hope that run index.rb in apache like php index.php without rails
223723 [jameskilton@] ...
223727 [wilsonb@gm i] I assume he wants the file extensions on the end, so that when he
+ 223768 [david@va ln ] I could've sworn mod_ruby had an Erb handler of some sort to handle
+ 223774 [david@va ln ] Also, on that note: http://www.w3.org/Provider/Style/URI.

[ANN] RSpec 0.7.0 Released
223690 [dchelimsky@g] The RSpec Development Team is pleased to announce the release of RSpec 0.7.0.

Get Stock Quote
223693 [vikashkumar0] class RubyStock
223697 [clsnyder@gm ] You need to add the correct tags to your code - the tags are listed
223998 [vikashkumar0] Thanks it really works for me

Paths, gentleman, paths
223698 [lutzky@gm il] I have this bit of code in the beginning of an application I'm writing
+ 223699 [shortcutter@] Dir.chdir( File.dirname( $0 ) ) if File.basename $0 == 'main.rb'
+ 223790 [david@va ln ] h=20

Win32ole & Adobe Acrobat Reader
223701 [philippe.lan] charset="us-ascii"
223705 [znmeb@ce ma ] For one thing, don't your backslashes need to be doubled?
223744 [philippe.lan] charset="us-ascii"
223749 [cohen.jeff@g] filename = "myfile.pdf"
+ 223804 [philippe.lan] charset="us-ascii"
| 223806 [philippe.lan] charset="us-ascii"
| 223808 [philippe.lan] charset="us-ascii"
+ 223888 [jan.svitok@g] won't work because when first parameter is quoted it is the title of

New Ruby Video & Ruby Search Engine
223704 [google@de pv] We've put together a fast paced entertaining video on Ruby on Rails
+ 223706 [jimfreeze@gm] ...
| 223724 [leslieviljoe] And RubyAware is probably a "Source" of Information, not a "Sorce".
+ 223728 [tim.pease@gm] It looks like you're just wrapping carrot-search with some HTML tables
  223754 [robert.mccor] ...
  223785 [chris.colema] they spelt source wrong too

Include and Extend Again....
223707 [has.sox@gm i] ...
223709 [jan.svitok@g] class AClass
223710 [has.sox@gm i] ...
223711 [jan.svitok@g] IMO your problem is the first issue - the Object and Class

New Haven Rubyists to Meet in New Haven for November meeting
223714 [novakps@gm i] Amazingly, the New Haven Rubyists will actually meet inside the city

ODBC Error
223715 [lrlebron@gm ] I am running a ruby script to import some data into an MS SQL Server
223907 [cbonde@st fa] There's a very handy ODBC reference on

Kinda quiet
223716 [patrick@pk p] Is it my imagination, or are things getting really quiet in this forum?
+ 223717 [phlipcpp@ya ] All the fuss is on various forums discussing individual Ruby projects.
| 223718 [rtilley@vt e] The problem is that posts made from ruby-forum (like the one you just responded
| 223733 [vincent.four] That's pretty bad. Would someone know the reason why ?
+ 223794 [collinsj@se ] It's quiet because emails from the mailing list aren't coming through.

migrating my ruby gems
223719 [bitdoger2@ya] ...i would like to upgrade to 1.8.5.1...but my large gem collection are
+ 223722 [jan.svitok@g] rename c:\ruby to c:\ruby-182
+ 223776 [david@va ln ] =20

[ANN] Missoula Ruby Users Group Gathering
223720 [jgarvin.list] The Missoula Ruby & Ruby on Rails Users Group is gathering once again on

unsubscribe
223721 [nalhawash@ya] unsubscribe

Ruby script auto-closes at completion
223725 [zhkbaq@gm il] I am a newbie. I am trying to run some small ruby programs to learn a
+ 223726 [jameskilton@] ...
| 223731 [jan.svitok@g] even just 'your_script.rb' or 'your_script', provided that ftype, PATH
+ 223734 [cohen.jeff@g] Sounds like you're double-clicking the .rb file in Windows Explorer in
| 223765 [zhkbaq@gm il] i have ruby installed in the c root. and the file is not in the c root.
| 223782 [cohen.jeff@g] First of all, installing anything to c:\ is not recommended on Windows.
| 223793 [zhkbaq@gm il] i did use the ruby one click installer. i just removed it ....where do
| 223827 [jan.svitok@g] Just install it in the default location (c:\ruby). It's just not worth
| + 223884 [zhkbaq@gm il] I just installed ruby again with the admin password
| + 223915 [david@va ln ] With ubiquitous abstract path name libraries, this strikes me as very sad=
+ 223763 [david@va ln ] =20

(none)
223729 [markhowardjr] ...

Ruby ODBC SQL Server Errors
223732 [luis@f1 et o] I have a ruby script that inserts data into a SQL Server Express
223742 [rubytalk@be ] I asked Christian Werner about this in the past. He told me that these
223746 [lrlebron@gm ] Thanks,

REXML
223736 [pgattphoto@g] As a first exercise with Ruby, I am going through the Pickaxe book and
+ 223767 [david@va ln ] OMFG. That's a -huge- XML file. Probably all of my MP3s together would
| + 223769 [aaron_patter] I would give it a try on a document that large.
| + 223770 [jeff@da k- i] Actually, I recently had to rewrite an xml parser to go stream ( SAX )
| | 223771 [shyguyfrenzy] I wish I had the foggiest idea of what you guys were talking about.
| | 223778 [david@va ln ] Wait... You chimed in on an unrelated thread with a "I don't understand
| + 223772 [support@ch l] Is that a mistake?  Out of curiosity I took a look on my wife's computer
| | 223775 [mvette13@gm ] ...
| + 223773 [james@gr yp ] This is off-topic but I have a theory that it's possible using a
|   223779 [david@va ln ] So it does, my bad.
+ 223786 [paradisaeida] Best to lean towards a database approach when you get to large files.
  223788 [david@va ln ] He's not the one creating the file. So unless you can persuade Apple to
  223789 [pgattphoto@g] Assuming I go with the Ruby pull parser, how do I use this in my code.
  + 223791 [david@va ln ] Generally, you should have some layer between XML input, and processing
  | 223893 [pgattphoto@g] I am still not sure I get it, could you explain a little more?
  | 223903 [support@ch l] I tested the Chilkat XML parser (an in-memory DOM) on a 21MB XML file
  | 223939 [pgattphoto@g] It's getting to about the 1000th file and doing its job, but then
  | + 223952 [support@ch l] If you want, send me your test code + file and I'll have a look...
  | + 223954 [pgattphoto@g] Figured it out.
  |   223964 [support@ch l] Thanks,
  |   223993 [glenn.ruby@g] Is the rexml website down or is it just me?
  + 223792 [support@ch l] ...

From Ruby: Calling a DOS batch file, waiting for it to finish
223738 [glenn.ruby@g] ...
223739 [glenn.ruby@g] ...

Help ruby started acting strange
223741 [cparticle@gm] Hey all,
223748 [jan.svitok@g] 1. scan returns array of arrays, therefore you have to call
223752 [cparticle@gm] Thanks I was not aware that scan worked that way I'll have to adjust to
223760 [jan.svitok@g] It should work without it, and it works for me without the to_s. Use p
223764 [cparticle@gm] Thanks Jan apparently I was looking at a junk message.  This only goes

Re: RSpec 0.7.0 Released
223747 [transfire@gm] actual.should == <value> #passes if actual == <value>
+ 223750 [wilsonb@gm i] This already works, actually. :)
| 223751 [dchelimsky@g] It does, but that's because of  the current underlying implementation.
+ 223753 [dchelimsky@g] That's hilarious! You've missed a lot of history. No offense. We went

[ANN] South East Michigan Ruby Conf
223755 [phurley@gm i] See http://www.rubymi.org/ for detailed directions. I'm buying pizza

Eclipse Ruby Development Tools debugger problem
223758 [bcparanj@gm ] I followed the instructions in this article on how to setup RDT in
224036 [nico@ni o- a] try this link

Re: [OT] Help ruby started acting strange
223780 [david@va ln ] I don't think I could bear looking at this for five seconds without

simple mix-in example
223781 [pedro.mota@g] can we consider this is a mix-in newbie example ? We are giving a new
+ 223783 [m.fellinger@] I wouldn't call it Mixin, that could give some conflict with the concept of
| 223784 [pedro.mota@g] Thanks. Done ;)
+ 223795 [kbloom@gm il] Yuck.
  223802 [pedro.mota@g] thanks, this was really just a very simple test in wich i controled the

require_gem scoping issue?
223796 [makenai@gm i] I'm running into a weird problem with rubygems and using
223800 [makenai@gm i] Hm.. nevermind. I'm a fool. A foolish fool. I just found the following

Struct.new and symbol with question mark
223797 [ snk@gn .o g] Why isn't the Struct class smart enough to detect a question mark at the
+ 223877 [m_goldberg@a] It doesn't work because :bar? isn't a valid symbol literal. The
+ 223881 [djberg96@gm ] It could have been made smart enough, but certain people decided that
threads.html
top