[#345382] Nice algorithm for 'spreading' indexes across an array? — Max Williams <toastkid.williams@...>

Little ruby algorithm puzzle...

13 messages 2009/09/01

[#345437] clogger 0.0.4 - configurable request logging for Rack — Eric Wong <normalperson@...>

* http://clogger.rubyforge.org/

10 messages 2009/09/02
[#345439] Re: [ANN] clogger 0.0.4 - configurable request logging for Rack — Iñaki Baz Castillo <ibc@...> 2009/09/02

2009/9/2 Eric Wong <normalperson@yhbt.net>:

[#345446] rdoc — Oleg Puchinin <ruby_talk@...>

Hello !

17 messages 2009/09/02
[#346260] Ruby 1.9 rdoc never ends (Re: rdoc) — James Britt <james.britt@...> 2009/09/12

Oleg Puchinin wrote:

[#346267] Re: Ruby 1.9 rdoc never ends (Re: rdoc) — Ryan Davis <ryand-ruby@...> 2009/09/12

[#346276] Re: Ruby 1.9 rdoc never ends (Re: rdoc) — Roger Pack <rogerpack2005@...> 2009/09/12

Ryan Davis wrote:

[#345493] What licensing info is needed in code headers? — "Shot (Piotr Szotkowski)" <shot@...>

Disclaimer: I know that some of you live in jurisdictions that do not

10 messages 2009/09/02

[#345535] Simple New Ruby Programmer Problem with $stdin.gets — Mason Kelsey <masonkelsey@...>

I'm having difficulty getting any command to work to pick up input from a

14 messages 2009/09/02

[#345573] Type checking function parameters — Nick Green <cruzmail.ngreen@...>

More or less all my functions look something like

22 messages 2009/09/03
[#345593] Re: Type checking function parameters — Eleanor McHugh <eleanor@...> 2009/09/03

On 3 Sep 2009, at 05:04, Nick Green wrote:

[#345606] Re: Type checking function parameters — Paul Smith <paul@...> 2009/09/03

My first stab at some Ruby started like this too.

[#345667] Re: Type checking function parameters — Nick Green <cruzmail.ngreen@...> 2009/09/03

OK...

[#345676] Re: Type checking function parameters — Eleanor McHugh <eleanor@...> 2009/09/04

On 3 Sep 2009, at 23:47, Nick Green wrote:

[#345687] Re: Type checking function parameters — James Edward Gray II <james@...> 2009/09/04

On Sep 3, 2009, at 7:30 PM, Eleanor McHugh wrote:

[#345745] Re: Type checking function parameters — Eleanor McHugh <eleanor@...> 2009/09/04

On 4 Sep 2009, at 03:56, James Edward Gray II wrote:

[#345828] Re: Type checking function parameters — spiralofhope <spiralofhope@...> 2009/09/06

Along the lines of this thread..

[#345835] Re: Type checking function parameters — "David A. Black" <dblack@...> 2009/09/06

Hi --

[#345773] Rubyscript instead of javascript — Damjan Rems <d_rems@...>

30 messages 2009/09/05
[#345970] Re: Rubyscript instead of javascript — Jg W Mittag <JoergWMittag+Usenet@...> 2009/09/08

David Masover wrote:

[#345774] how to compare two object instances? is "m1.to_yaml.eql?(m2.to_yaml)" a good way? — Greg Hauptmann <greg.hauptmann.ruby@...>

Hi,

8 messages 2009/09/05

[#345848] i need to strip \n and nil — Bigmac Turdsplash <i8igmac@...>

im sending files back and forth form a client and a server using

16 messages 2009/09/06

[#345883] Executing system commands in threads under Ruby 1.8.6 — vhaerun vh <etaern@...>

I tried to write a script that makes use of external binaries. Each

17 messages 2009/09/07
[#345889] Re: Executing system commands in threads under Ruby 1.8.6 — Robert Klemme <shortcutter@...> 2009/09/07

2009/9/7 vhaerun vh <etaern@yahoo.com>:

[#345893] Re: Executing system commands in threads under Ruby 1.8.6 — vhaerun vh <etaern@...> 2009/09/07

Here's a link to the question I asked on SO:

[#345901] Re: Executing system commands in threads under Ruby 1.8.6 — Eleanor McHugh <eleanor@...> 2009/09/07

On 7 Sep 2009, at 09:55, vhaerun vh wrote:

[#345904] Re: Executing system commands in threads under Ruby 1.8.6 — Bertram Scharpf <lists@...> 2009/09/07

Hi,

[#345886] Ruby 1.9, Rubygems, and .gemspec warnings — Rob Sanheim <rsanheim@...>

Hi all

14 messages 2009/09/07

[#346018] Tutorial challenge program help — Chris Logan <t-logan3@...>

Hello all im really new to ruby as in a few days and getting into it. i

20 messages 2009/09/09
[#346023] Re: Tutorial challenge program help — 7stud -- <bbxx789_05ss@...> 2009/09/09

Chris Logan wrote:

[#346027] Re: Tutorial challenge program help — Chris Logan <t-logan3@...> 2009/09/09

7stud -- wrote:

[#346091] How Are Variables Kept Independent of Each Other Yet Pass Values? — Mason Kelsey <masonkelsey@...>

Somewhere in the several books I've been learning Ruby from there was the

14 messages 2009/09/10
[#346096] Re: How Are Variables Kept Independent of Each Other Yet Pass Values? — venkatesh Peddi <venkat.peddi@...> 2009/09/10

[#346106] Asynchronous http POST? — Ivan Shevanski <ocelot117@...>

Hey everyone, I'm new to Ruby and to the mailing list, so go easy.

14 messages 2009/09/10
[#346166] Re: Asynchronous http POST? — Ezra Zygmuntowicz <ezmobius@...> 2009/09/10

[#346193] populating a hash from an array using inject — Glenn Jackman <glennj@...>

I was looking at this problem on Stack Overflow (this one:

12 messages 2009/09/10

[#346324] module to overwrite method defined via define_method — Gaspard Bucher <gaspard@...>

Hi List !

17 messages 2009/09/13
[#346326] Re: module to overwrite method defined via define_method — "David A. Black" <dblack@...> 2009/09/13

Hi --

[#346328] Re: module to overwrite method defined via define_method — Gaspard Bucher <gaspard@...> 2009/09/13

David A. Black wrote:

[#346347] FasterCSV.foreach loop — Dot Baiki <dot_baiki@...>

Hello community,

16 messages 2009/09/13

[#346367] .map.with_object(3){|v|v+3} #=> 3 Is this a bug? — ErMaker <ermaker@...>

At ruby 1.9.2dev (2009-07-18 trunk 24186) [i386-mswin32_90]

15 messages 2009/09/14

[#346383] Pre-allocate large amount of memory? — Carsten Gehling <carsten@...>

I've created a small daemon, that serves certain data very fast to our

15 messages 2009/09/14
[#346404] Re: Pre-allocate large amount of memory? — Robert Klemme <shortcutter@...> 2009/09/14

2009/9/14 Carsten Gehling <carsten@sarum.dk>:

[#346419] whats the best way to package deploy a Ruby app to windows??? (no UI, also standalone if possible) — Greg Hauptmann <greg.hauptmann.ruby@...>

Hi,

8 messages 2009/09/14

[#346452] Command line — Rong <ron.green@...>

Please forgive this stupid newb question but I thought it was possible

13 messages 2009/09/15

[#346500] Array of Hashes in an array of hashes - Complicated! — Matt Brooks <mattbrooks@...>

I have an unique problem that I can't solve. I am sorry this is long,

17 messages 2009/09/15
[#346505] Re: Array of Hashes in an array of hashes - Complicated! — John W Higgins <wishdev@...> 2009/09/15

Morning Matt,

[#346508] Re: Array of Hashes in an array of hashes - Complicated! — Matt Brooks <mattbrooks@...> 2009/09/15

Hi John,

[#346510] Re: Array of Hashes in an array of hashes - Complicated! — John W Higgins <wishdev@...> 2009/09/15

Matt,

[#346515] Re: Array of Hashes in an array of hashes - Complicated! — Aldric Giacomoni <aldric@...> 2009/09/15

+1 on object creation

[#346574] string to array — Re BR <rereis@...>

Hello all,

15 messages 2009/09/16

[#346611] block issues... — Dylan Lukes <revenantphoenix@...>

In the following block, each plugin in the constant hash PLUGINS is

17 messages 2009/09/16

[#346621] Monkey Patching 2 Methods, Overrides One Method, Not The Other — MaggotChild <hsomob1999@...>

I'm monkey patching 2 methods of an existing module: some_method() and

18 messages 2009/09/17

[#346645] Mucking about with dynamically adding methods to objects — Paul Smith <paul@...>

I've been toying with Ruby for a while, but only now am I beginning to

12 messages 2009/09/17
[#346652] Re: Mucking about with dynamically adding methods to objects — Jes俍 Gabriel y Gal疣 <jgabrielygalan@...> 2009/09/17

On Thu, Sep 17, 2009 at 11:44 AM, Paul Smith <paul@pollyandpaul.co.uk> wrote:

[#346665] Re: Mucking about with dynamically adding methods to objects — Paul Smith <paul@...> 2009/09/17

2009/9/17 Jes俍 Gabriel y Gal疣 <jgabrielygalan@gmail.com>:

[#346676] Value isn't appended in puts statement(appears on next line) — Mrmaster Mrmaster <mrsolarlife@...>

Hello,

13 messages 2009/09/17
[#346678] Re: Value isn't appended in puts statement(appears on next line) — Jes俍 Gabriel y Gal疣 <jgabrielygalan@...> 2009/09/17

On Thu, Sep 17, 2009 at 8:51 PM, Mrmaster Mrmaster

[#346759] Newbie: Are Ruby regexp's a subset, superset, or equal to Perl's? — Harry <simonsharry@...>

Hi,

13 messages 2009/09/18

[#346774] Exceptional Rails Developer — Richard Price <richard.price100@...>

Hi all,

32 messages 2009/09/18
[#347451] Re: Exceptional Rails Developer — Ilan Berci <ilan.berci@...> 2009/09/30

Richard Price wrote:

[#347452] Re: Exceptional Rails Developer — Zundra Daniel <zundra.daniel@...> 2009/09/30

At least he didn't say "Rockstar" or "Ninja"

[#347476] Re: Exceptional Rails Developer — David Masover <ninja@...> 2009/09/30

On Wednesday 30 September 2009 01:45:27 pm Zundra Daniel wrote:

[#347477] Re: Exceptional Rails Developer — Greg Donald <gdonald@...> 2009/09/30

On Wed, Sep 30, 2009 at 6:44 PM, David Masover <ninja@slaphack.com> wrote:

[#347482] Re: Exceptional Rails Developer — David Masover <ninja@...> 2009/10/01

On Wednesday 30 September 2009 06:54:16 pm Greg Donald wrote:

[#347514] Re: Exceptional Rails Developer — Eleanor McHugh <eleanor@...> 2009/10/01

On 1 Oct 2009, at 01:32, David Masover wrote:

[#347551] Re: Exceptional Rails Developer — David Masover <ninja@...> 2009/10/01

On Thursday 01 October 2009 08:20:26 am Eleanor McHugh wrote:

[#347592] Re: Exceptional Rails Developer — Eleanor McHugh <eleanor@...> 2009/10/02

On 1 Oct 2009, at 19:15, David Masover wrote:

[#347596] Re: Exceptional Rails Developer — Aldric Giacomoni <aldric@...> 2009/10/02

[#346775] Determining if a file is binary or text — James Masters <james.d.masters@...>

Hi all,

15 messages 2009/09/18

[#346891] Incrementing variable names in a loop? — Matt Brooks <mattbrooks@...>

I have a function write_log that takes in a string and it prints to

10 messages 2009/09/21

[#347044] the great ruby editor and ide roundup — Martin DeMello <martindemello@...>

https://spreadsheets.google.com/ccc?key=0Al_hzYODcgxwdG9tUFhqcVVoUDVaLTlqT2YtNjV1N0E&hl=en

26 messages 2009/09/23
[#347045] Re: the great ruby editor and ide roundup — Rajinder Yadav <devguy.ca@...> 2009/09/23

On Wed, Sep 23, 2009 at 4:02 PM, Martin DeMello <martindemello@gmail.com> wrote:

[#347058] How do you limit the line length of the output commands? Where is pqueue library documented? — Mason Kelsey <masonkelsey@...>

There must be an easy way to solve the problem of controlling the length of

12 messages 2009/09/23

[#347156] Roulette & rand — Semih Ozkoseoglu <ozansemih@...>

Hi,

22 messages 2009/09/25
[#347161] Re: Roulette & rand — Stefano Crocco <stefano.crocco@...> 2009/09/25

On Friday 25 September 2009, Semih Ozkoseoglu wrote:

[#347164] Re: Roulette & rand — Semih Ozkoseoglu <ozansemih@...> 2009/09/25

Hi again Stefano,

[#347171] Re: Roulette & rand — Stefano Crocco <stefano.crocco@...> 2009/09/25

On Friday 25 September 2009, Semih Ozkoseoglu wrote:

[#347173] Re: Roulette & rand — Semih Ozkoseoglu <ozansemih@...> 2009/09/25

Stefano, Paul,

[#347179] Re: Roulette & rand — Semih Ozkoseoglu <ozansemih@...> 2009/09/25

Hi again,

[#347193] How to remove duplicate elements in a 2D array — Li Chen <chen_li3@...>

Hi all,

20 messages 2009/09/25

[#347202] Backporting Enumerator.new { ... } to Ruby 1.8.7 — "Shot (Piotr Szotkowski)" <shot@...>

Hello, good people of ruby-talk.

12 messages 2009/09/25

[#347260] handling of regexp objects that aren't referenced by variables, arrays, tables or objects — ThomasW <x.zupftom@...>

Hi,

12 messages 2009/09/27

[#347354] How do I use nitpick — "Michael W. Ryder" <_mwryder@...>

I was looking for a program like lint in C and came across nitpick. I

23 messages 2009/09/29
[#347366] Re: How do I use nitpick — Hassan Schroeder <hassan.schroeder@...> 2009/09/29

On Mon, Sep 28, 2009 at 9:25 PM, Michael W. Ryder

[#347397] Re: How do I use nitpick — "Michael W. Ryder" <_mwryder@...> 2009/09/29

Hassan Schroeder wrote:

[#347398] Re: How do I use nitpick — Ryan Davis <ryand-ruby@...> 2009/09/29

[#347364] Group by unique entries of a hash — Ne Scripter <stuart.clarke@...>

I have two data sets loaded into a hash to give the following output

15 messages 2009/09/29

[#347443] Get current working copy version in subversion/git — Anthony Metcalf <anthony.metcalf@...>

Hi,

11 messages 2009/09/30

[#347456] SystemStackError: stack level too deep > how make it deeper? — Joshua Muheim <forum@...>

Hi all

15 messages 2009/09/30
[#347459] Re: SystemStackError: stack level too deep > how make it deeper? — Jason Roelofs <jameskilton@...> 2009/09/30

On Wed, Sep 30, 2009 at 3:47 PM, Joshua Muheim <forum@josh.ch> wrote:

Random segmentation faults

From: Rodion Raskolnikov <roddiku@...>
Date: 2009-09-19 17:49:24 UTC
List: ruby-talk #346820
Hello. I have recently written some complex ruby script that eventually
fails with segfaults in random time and in random places, like nokogiri,
mechanize, iconv, timeout. I've tried it under 1.9.1 p 129, 1.8.6 p 369
under windows 7 and 1.8.7 under ubuntu, still the same behavior. What
can be the reason? I would expect that since I'm not reading any memory
directly or making some relatively low-level manipulations the worst
thing I can get from Ruby Interpreter must be an Exception? Below are
three sample faults

    D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:93: [BUG] Segmentation
fault
    ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32]

    -- control frame ----------
    c:0031 p:0167 s:0167 b:0163 l:000162 d:000162 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:93
    c:0030 p:0111 s:0155 b:0155 l:000154 d:000154 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2353
    c:0029 p:0024 s:0147 b:0147 l:000146 d:000146 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2328
    c:0028 p:0099 s:0142 b:0142 l:000141 d:000141 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2288
    c:0027 p:0050 s:0136 b:0136 l:000898 d:000898 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize/chain/response_reader.rb:15
    c:0026 p:0021 s:0128 b:0128 l:000127 d:000127 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize/chain.rb:25
    c:0025 p:0067 s:0124 b:0124 l:001788 d:000123 BLOCK
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:490
    c:0024 p:0017 s:0120 b:0120 l:000112 d:000119 BLOCK
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:1120
    c:0023 p:0038 s:0118 b:0118 l:000117 d:000117 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2251
    c:0022 p:0110 s:0113 b:0113 l:000112 d:000112 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:1119
    c:0021 p:0097 s:0108 b:0108 l:000107 d:000107 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:1103
    c:0020 p:0513 s:0101 b:0101 l:001788 d:001788 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:485
    c:0019 p:0170 s:0075 b:0075 l:000074 d:000074 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:413
    c:0018 p:0123 s:0066 b:0066 l:000065 d:000065 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:344
    c:0017 p:0024 s:0060 b:0060 l:000059 d:000059 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize/form.rb:130
    c:0016 p:0039 s:0055 b:0055 l:000054 d:000054 METHOD
D:/code/h4/www/poster.rb:340
    c:0015 p:0223 s:0050 b:0050 l:000049 d:000049 METHOD
D:/code/h4/www/poster.rb:238
    c:0014 p:0112 s:0045 b:0045 l:000044 d:000044 METHOD
D:/code/h4/www/poster.rb:286
    c:0013 p:0330 s:0042 b:0042 l:000041 d:000041 METHOD
D:/code/h4/www/poster.rb:115
    c:0012 p:0038 s:0033 b:0033 l:000016 d:000032 BLOCK
D:/code/h4/post.rb:22
    c:0011 p:---- s:0030 b:0030 l:000029 d:000029 FINISH
    c:0010 p:---- s:0028 b:0028 l:000027 d:000027 CFUNC  :times
    c:0009 p:0050 s:0025 b:0025 l:000016 d:000024 BLOCK
D:/code/h4/post.rb:19
    c:0008 p:---- s:0022 b:0022 l:000021 d:000021 FINISH
    c:0007 p:---- s:0020 b:0020 l:000019 d:000019 CFUNC  :times
    c:0006 p:0111 s:0017 b:0017 l:000016 d:000016 TOP
D:/code/h4/post.rb:14
    c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH
    c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC  :load
    c:0003 p:0061 s:0006 b:0006 l:000e84 d:00227c EVAL   -e:1
    c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
    c:0001 p:0000 s:0002 b:0002 l:000e84 d:000e84 TOP
    ---------------------------
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:93: [BUG] object
allocation during garbage collection phase
    ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32]

    -- control frame ----------
    c:0031 p:0167 s:0167 b:0163 l:000162 d:000162 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:93
    c:0030 p:0111 s:0155 b:0155 l:000154 d:000154 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2353
    c:0029 p:0024 s:0147 b:0147 l:000146 d:000146 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2328
    c:0028 p:0099 s:0142 b:0142 l:000141 d:000141 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2288
    c:0027 p:0050 s:0136 b:0136 l:000898 d:000898 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize/chain/response_reader.rb:15
    c:0026 p:0021 s:0128 b:0128 l:000127 d:000127 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize/chain.rb:25
    c:0025 p:0067 s:0124 b:0124 l:001788 d:000123 BLOCK
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:490
    c:0024 p:0017 s:0120 b:0120 l:000112 d:000119 BLOCK
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:1120
    c:0023 p:0038 s:0118 b:0118 l:000117 d:000117 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2251
    c:0022 p:0110 s:0113 b:0113 l:000112 d:000112 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:1119
    c:0021 p:0097 s:0108 b:0108 l:000107 d:000107 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:1103
    c:0020 p:0513 s:0101 b:0101 l:001788 d:001788 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:485
    c:0019 p:0170 s:0075 b:0075 l:000074 d:000074 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:413
    c:0018 p:0123 s:0066 b:0066 l:000065 d:000065 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:344
    c:0017 p:0024 s:0060 b:0060 l:000059 d:000059 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize/form.rb:130
    c:0016 p:0039 s:0055 b:0055 l:000054 d:000054 METHOD
D:/code/h4/www/poster.rb:340
    c:0015 p:0223 s:0050 b:0050 l:000049 d:000049 METHOD
D:/code/h4/www/poster.rb:238
    c:0014 p:0112 s:0045 b:0045 l:000044 d:000044 METHOD
D:/code/h4/www/poster.rb:286
    c:0013 p:0330 s:0042 b:0042 l:000041 d:000041 METHOD
D:/code/h4/www/poster.rb:115
    c:0012 p:0038 s:0033 b:0033 l:000016 d:000032 BLOCK
D:/code/h4/post.rb:22
    c:0011 p:---- s:0030 b:0030 l:000029 d:000029 FINISH
    c:0010 p:---- s:0028 b:0028 l:000027 d:000027 CFUNC  :times
    c:0009 p:0050 s:0025 b:0025 l:000016 d:000024 BLOCK
D:/code/h4/post.rb:19
    c:0008 p:---- s:0022 b:0022 l:000021 d:000021 FINISH
    c:0007 p:---- s:0020 b:0020 l:000019 d:000019 CFUNC  :times
    c:0006 p:0111 s:0017 b:0017 l:000016 d:000016 TOP
D:/code/h4/post.rb:14
    c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH
    c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC  :load
    c:0003 p:0061 s:0006 b:0006 l:000e84 d:00227c EVAL   -e:1
    c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
    c:0001 p:0000 s:0002 b:0002 l:000e84 d:000e84 TOP
    ---------------------------
    -- Ruby level backtrace
information-----------------------------------------
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:93:in `read'
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2353:in `read_chunked'
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2328:in `read_body_0'
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2288:in `read_body'
    D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize/chain/response_reader.rb:15:in
`handle'
    D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize/chain.rb:25:in
`handle'
    D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:490:in
`block in fetch_page'
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:1120:in `block in
transport_request'
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2251:in `reading_body'
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:1119:in `transport_request'
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:1103:in `request'
    D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:485:in
`fetch_page'
    D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:413:in
`post_form'
    D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:344:in
`submit'
    D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize/form.rb:130:in
`submit'
    D:/code/h4/www/poster.rb:340:in `submit'
    D:/code/h4/www/poster.rb:238:in `register'
    D:/code/h4/www/poster.rb:286:in `login'
    D:/code/h4/www/poster.rb:115:in `checkifworks'
    D:/code/h4/post.rb:22:in `block (2 levels) in <top (required)>'
    D:/code/h4/post.rb:19:in `times'
    D:/code/h4/post.rb:19:in `block in <top (required)>'
    D:/code/h4/post.rb:14:in `times'
    D:/code/h4/post.rb:14:in `<top (required)>'
    -e:1:in `load'
    -e:1:in `<main>'

    [NOTE]
    You may encounter a bug of Ruby interpreter. Bug reports are
welcome.
    For details: http://www.ruby-lang.org/bugreport.html


    This application has requested the Runtime to terminate it in an
unusual way.
    Please contact the application's support team for more information.

==============================

    D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:135: [BUG] Segmentation
fault
    ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32]

    -- control frame ----------
    c:0026 p:---- s:0142 b:0142 l:000141 d:000141 CFUNC  :sysread
    c:0025 p:0019 s:0138 b:0137 l:000adc d:000136 BLOCK
D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:135
    c:0024 p:0103 s:0135 b:0135 l:000e08 d:000e08 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/timeout.rb:52
    c:0023 p:0026 s:0123 b:0123 l:000122 d:000122 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/timeout.rb:82
    c:0022 p:0013 s:0117 b:0117 l:000adc d:000adc METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:134
    c:0021 p:0025 s:0114 b:0114 l:000113 d:000113 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:116
    c:0020 p:0013 s:0108 b:0108 l:000107 d:000107 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:126
    c:0019 p:0012 s:0105 b:0105 l:000104 d:000104 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2135
    c:0018 p:0013 s:0099 b:0099 l:000098 d:000098 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2124
    c:0017 p:0069 s:0091 b:0091 l:000090 d:000090 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:1117
    c:0016 p:0097 s:0086 b:0086 l:000085 d:000085 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:1103
    c:0015 p:0513 s:0079 b:0079 l:0025a0 d:0025a0 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:485
    c:0014 p:0346 s:0053 b:0053 l:000052 d:000052 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:238
    c:0013 p:0016 s:0044 b:0044 l:000043 d:000043 METHOD
D:/code/h4/www/poster.rb:185
    c:0012 p:0085 s:0040 b:0040 l:000039 d:000039 METHOD
D:/code/h4/www/poster.rb:217
    c:0011 p:0112 s:0035 b:0035 l:000034 d:000034 METHOD
D:/code/h4/www/poster.rb:286
    c:0010 p:0308 s:0032 b:0032 l:000031 d:000031 METHOD
D:/code/h4/www/poster.rb:115
    c:0009 p:0011 s:0023 b:0023 l:000015 d:000022 BLOCK
D:/code/h4/post.rb:14
    c:0008 p:---- s:0021 b:0021 l:000020 d:000020 FINISH
    c:0007 p:---- s:0019 b:0019 l:000018 d:000018 CFUNC  :times
    c:0006 p:0107 s:0016 b:0016 l:000015 d:000015 TOP
D:/code/h4/post.rb:13
    c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH
    c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC  :load
    c:0003 p:0061 s:0006 b:0006 l:000604 d:001a54 EVAL   -e:1
    c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
    c:0001 p:0000 s:0002 b:0002 l:000604 d:000604 TOP
    ---------------------------
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:135: [BUG] object
allocation during garbage collection phase
    ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32]

    -- control frame ----------
    c:0026 p:---- s:0142 b:0142 l:000141 d:000141 CFUNC  :sysread
    c:0025 p:0019 s:0138 b:0137 l:000adc d:000136 BLOCK
D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:135
    c:0024 p:0103 s:0135 b:0135 l:000e08 d:000e08 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/timeout.rb:52
    c:0023 p:0026 s:0123 b:0123 l:000122 d:000122 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/timeout.rb:82
    c:0022 p:0013 s:0117 b:0117 l:000adc d:000adc METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:134
    c:0021 p:0025 s:0114 b:0114 l:000113 d:000113 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:116
    c:0020 p:0013 s:0108 b:0108 l:000107 d:000107 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:126
    c:0019 p:0012 s:0105 b:0105 l:000104 d:000104 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2135
    c:0018 p:0013 s:0099 b:0099 l:000098 d:000098 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2124
    c:0017 p:0069 s:0091 b:0091 l:000090 d:000090 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:1117
    c:0016 p:0097 s:0086 b:0086 l:000085 d:000085 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:1103
    c:0015 p:0513 s:0079 b:0079 l:0025a0 d:0025a0 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:485
    c:0014 p:0346 s:0053 b:0053 l:000052 d:000052 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:238
    c:0013 p:0016 s:0044 b:0044 l:000043 d:000043 METHOD
D:/code/h4/www/poster.rb:185
    c:0012 p:0085 s:0040 b:0040 l:000039 d:000039 METHOD
D:/code/h4/www/poster.rb:217
    c:0011 p:0112 s:0035 b:0035 l:000034 d:000034 METHOD
D:/code/h4/www/poster.rb:286
    c:0010 p:0308 s:0032 b:0032 l:000031 d:000031 METHOD
D:/code/h4/www/poster.rb:115
    c:0009 p:0011 s:0023 b:0023 l:000015 d:000022 BLOCK
D:/code/h4/post.rb:14
    c:0008 p:---- s:0021 b:0021 l:000020 d:000020 FINISH
    c:0007 p:---- s:0019 b:0019 l:000018 d:000018 CFUNC  :times
    c:0006 p:0107 s:0016 b:0016 l:000015 d:000015 TOP
D:/code/h4/post.rb:13
    c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH
    c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC  :load
    c:0003 p:0061 s:0006 b:0006 l:000604 d:001a54 EVAL   -e:1
    c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
    c:0001 p:0000 s:0002 b:0002 l:000604 d:000604 TOP
    ---------------------------
    -- Ruby level backtrace
information-----------------------------------------
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:135:in `sysread'
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:135:in `block in
rbuf_fill'
    D:/ruby-1.9.1/lib/ruby/1.9.1/timeout.rb:52:in `timeout'
    D:/ruby-1.9.1/lib/ruby/1.9.1/timeout.rb:82:in `timeout'
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:134:in `rbuf_fill'
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:116:in `readuntil'
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/protocol.rb:126:in `readline'
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2135:in `read_status_line'
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:2124:in `read_new'
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:1117:in `transport_request'
    D:/ruby-1.9.1/lib/ruby/1.9.1/net/http.rb:1103:in `request'
    D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:485:in
`fetch_page'
    D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:238:in
`get'
    D:/code/h4/www/poster.rb:185:in `myget'
    D:/code/h4/www/poster.rb:217:in `register'
    D:/code/h4/www/poster.rb:286:in `login'
    D:/code/h4/www/poster.rb:115:in `checkifworks'
    D:/code/h4/post.rb:14:in `block in <top (required)>'
    D:/code/h4/post.rb:13:in `times'
    D:/code/h4/post.rb:13:in `<top (required)>'
    -e:1:in `load'
    -e:1:in `<main>'

    [NOTE]
    You may encounter a bug of Ruby interpreter. Bug reports are
welcome.
    For details: http://www.ruby-lang.org/bugreport.html


    This application has requested the Runtime to terminate it in an
unusual way.
    Please contact the application's support team for more information.

=================================

    D:/ruby-1.9.1/lib/ruby/1.9.1/uri/generic.rb:1078: [BUG] Segmentation
fault
    ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32]

    -- control frame ----------
    c:0024 p:---- s:0134 b:0134 l:000133 d:000133 CFUNC  :collect
    c:0023 p:0017 s:0131 b:0131 l:000130 d:000130 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/uri/generic.rb:1078
    c:0022 p:0052 s:0128 b:0127 l:000126 d:000126 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/uri/generic.rb:1051
    c:0021 p:0033 s:0123 b:0123 l:000122 d:000122 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/uri/generic.rb:740
    c:0020 p:0555 s:0116 b:0116 l:000115 d:000115 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize/chain/uri_resolver.rb:62
    c:0019 p:0021 s:0107 b:0107 l:000106 d:000106 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize/chain.rb:25
    c:0018 p:0251 s:0103 b:0103 l:000102 d:000102 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:457
    c:0017 p:0346 s:0077 b:0077 l:000076 d:000076 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:238
    c:0016 p:0258 s:0068 b:0068 l:000a74 d:000067 BLOCK
D:/code/h4/www/poster.rb:464
    c:0015 p:---- s:0052 b:0052 l:000051 d:000051 FINISH
    c:0014 p:---- s:0050 b:0050 l:000049 d:000049 CFUNC  :each
    c:0013 p:0243 s:0047 b:0047 l:000a74 d:000a74 METHOD
D:/code/h4/www/poster.rb:446
    c:0012 p:0174 s:0040 b:0040 l:000039 d:000039 METHOD
D:/code/h4/www/poster.rb:232
    c:0011 p:0112 s:0035 b:0035 l:000034 d:000034 METHOD
D:/code/h4/www/poster.rb:286
    c:0010 p:0308 s:0032 b:0032 l:000031 d:000031 METHOD
D:/code/h4/www/poster.rb:115
    c:0009 p:0011 s:0023 b:0023 l:000015 d:000022 BLOCK
D:/code/h4/post.rb:14
    c:0008 p:---- s:0021 b:0021 l:000020 d:000020 FINISH
    c:0007 p:---- s:0019 b:0019 l:000018 d:000018 CFUNC  :times
    c:0006 p:0107 s:0016 b:0016 l:000015 d:000015 TOP
D:/code/h4/post.rb:13
    c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH
    c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC  :load
    c:0003 p:0061 s:0006 b:0006 l:0001d4 d:001624 EVAL   -e:1
    c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
    c:0001 p:0000 s:0002 b:0002 l:0001d4 d:0001d4 TOP
    ---------------------------
    D:/ruby-1.9.1/lib/ruby/1.9.1/uri/generic.rb:1078: [BUG] object
allocation during garbage collection phase
    ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32]

    -- control frame ----------
    c:0024 p:---- s:0134 b:0134 l:000133 d:000133 CFUNC  :collect
    c:0023 p:0017 s:0131 b:0131 l:000130 d:000130 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/uri/generic.rb:1078
    c:0022 p:0052 s:0128 b:0127 l:000126 d:000126 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/uri/generic.rb:1051
    c:0021 p:0033 s:0123 b:0123 l:000122 d:000122 METHOD
D:/ruby-1.9.1/lib/ruby/1.9.1/uri/generic.rb:740
    c:0020 p:0555 s:0116 b:0116 l:000115 d:000115 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize/chain/uri_resolver.rb:62
    c:0019 p:0021 s:0107 b:0107 l:000106 d:000106 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize/chain.rb:25
    c:0018 p:0251 s:0103 b:0103 l:000102 d:000102 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:457
    c:0017 p:0346 s:0077 b:0077 l:000076 d:000076 METHOD
D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:238
    c:0016 p:0258 s:0068 b:0068 l:000a74 d:000067 BLOCK
D:/code/h4/www/poster.rb:464
    c:0015 p:---- s:0052 b:0052 l:000051 d:000051 FINISH
    c:0014 p:---- s:0050 b:0050 l:000049 d:000049 CFUNC  :each
    c:0013 p:0243 s:0047 b:0047 l:000a74 d:000a74 METHOD
D:/code/h4/www/poster.rb:446
    c:0012 p:0174 s:0040 b:0040 l:000039 d:000039 METHOD
D:/code/h4/www/poster.rb:232
    c:0011 p:0112 s:0035 b:0035 l:000034 d:000034 METHOD
D:/code/h4/www/poster.rb:286
    c:0010 p:0308 s:0032 b:0032 l:000031 d:000031 METHOD
D:/code/h4/www/poster.rb:115
    c:0009 p:0011 s:0023 b:0023 l:000015 d:000022 BLOCK
D:/code/h4/post.rb:14
    c:0008 p:---- s:0021 b:0021 l:000020 d:000020 FINISH
    c:0007 p:---- s:0019 b:0019 l:000018 d:000018 CFUNC  :times
    c:0006 p:0107 s:0016 b:0016 l:000015 d:000015 TOP
D:/code/h4/post.rb:13
    c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH
    c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC  :load
    c:0003 p:0061 s:0006 b:0006 l:0001d4 d:001624 EVAL   -e:1
    c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
    c:0001 p:0000 s:0002 b:0002 l:0001d4 d:0001d4 TOP
    ---------------------------
    -- Ruby level backtrace
information-----------------------------------------
    D:/ruby-1.9.1/lib/ruby/1.9.1/uri/generic.rb:1078:in `collect'
    D:/ruby-1.9.1/lib/ruby/1.9.1/uri/generic.rb:1078:in `component_ary'
    D:/ruby-1.9.1/lib/ruby/1.9.1/uri/generic.rb:1051:in `=='
    D:/ruby-1.9.1/lib/ruby/1.9.1/uri/generic.rb:740:in `merge'
    D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize/chain/uri_resolver.rb:62:in
`handle'
    D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize/chain.rb:25:in
`handle'
    D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:457:in
`fetch_page'
    D:/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/mechanize-0.9.3/lib/www/mechanize.rb:238:in
`get'
    D:/code/h4/www/poster.rb:464:in `block in fillform'
    D:/code/h4/www/poster.rb:446:in `each'
    D:/code/h4/www/poster.rb:446:in `fillform'
    D:/code/h4/www/poster.rb:232:in `register'
    D:/code/h4/www/poster.rb:286:in `login'
    D:/code/h4/www/poster.rb:115:in `checkifworks'
    D:/code/h4/post.rb:14:in `block in <top (required)>'
    D:/code/h4/post.rb:13:in `times'
    D:/code/h4/post.rb:13:in `<top (required)>'
    -e:1:in `load'
    -e:1:in `<main>'

    [NOTE]
    You may encounter a bug of Ruby interpreter. Bug reports are
welcome.
    For details: http://www.ruby-lang.org/bugreport.html


    This application has requested the Runtime to terminate it in an
unusual way.
    Please contact the application's support team for more information.
-- 
Posted via http://www.ruby-forum.com/.

In This Thread

Prev Next