[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby + yaml = warnings???

Kurt V. Hindenburg

12/12/2005 2:22:00 AM


% ruby --version
ruby 1.8.3 (2005-09-21) [i686-linux]

% cat a.rb
require 'yaml'

o = [ 'array', 'of', 'items' ]
o2 = YAML::load( o.to_yaml )

% ruby -w a.rb
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):14: warning: redefine yaml_tag_subclasses?
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):14: warning: redefine yaml_tag_subclasses?
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):14: warning: redefine yaml_tag_subclasses?
(eval):2: warning: method redefined; discarding old taguri
(eval):14: warning: redefine yaml_tag_subclasses?
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):14: warning: redefine yaml_tag_subclasses?
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):14: warning: redefine yaml_tag_subclasses?
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
/usr/lib/ruby/1.8/yaml/types.rb:13: warning: method redefined; discarding old
initialize
/usr/lib/ruby/1.8/yaml/types.rb:28: warning: method redefined; discarding old
initialize
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):6: warning: instance variable @taguri not initialized
(eval):6: warning: instance variable @taguri not initialized
(eval):6: warning: instance variable @taguri not initialized
(eval):6: warning: instance variable @taguri not initialized
/usr/lib/ruby/1.8/yaml.rb:133: warning: instance variable @input not
initialized


4 Answers

Bob Hutchison

12/12/2005 1:43:00 PM

0

FYI, no warnings in 1.8.2

On Dec 11, 2005, at 9:22 PM, Kurt V. Hindenburg wrote:

>
> % ruby --version
> ruby 1.8.3 (2005-09-21) [i686-linux]
>
> % cat a.rb
> require 'yaml'
>
> o = [ 'array', 'of', 'items' ]
> o2 = YAML::load( o.to_yaml )
>
> % ruby -w a.rb
> (eval):2: warning: method redefined; discarding old taguri
> (eval):2: warning: method redefined; discarding old taguri
> (eval):2: warning: method redefined; discarding old taguri

----
Bob Hutchison -- blogs at <http://www.recursive.ca/...
Recursive Design Inc. -- <http://www.recursi...
Raconteur -- <http://www.raconteur...




Edwin van Leeuwen

12/12/2005 1:50:00 PM

0

Bob Hutchison wrote:
> FYI, no warnings in 1.8.2
>
> On Dec 11, 2005, at 9:22 PM, Kurt V. Hindenburg wrote:

I played around with yaml on 1.8.3 and found out it is completely broken
(doesn't put --- before objects, misses returns). If you want to use
yaml you should upgrade to a 1.8.4 beta or downgrade to 1.8.2

--
Posted via http://www.ruby-....


Edwin van Leeuwen

12/12/2005 3:32:00 PM

0

Edwin van Leeuwen wrote:
> Bob Hutchison wrote:
>> FYI, no warnings in 1.8.2
>>
>> On Dec 11, 2005, at 9:22 PM, Kurt V. Hindenburg wrote:
>
> I played around with yaml on 1.8.3 and found out it is completely broken
> (doesn't put --- before objects, misses returns). If you want to use
> yaml you should upgrade to a 1.8.4 beta or downgrade to 1.8.2
yaml seems to be broken on 1.8.4_pre2 too, so I suggest downgrading to
1.8.2

--
Posted via http://www.ruby-....


Blago

9/27/2012 9:16:00 PM

0

On 23 Sep 2012, Steve from Colorado <steve.from.colorado@cocks.net>
posted some news:k3njch$c7d$1@dont-email.me:

> On 9/23/2012 2:57 AM, Anonymous wrote:
>> In article <k3m05n$3k6$1@dont-email.me>
>> Steve from Colorado <steve.from.colorado@cocks.net> wrote:
>>>
>>> Racist Posts About South Tel Aviv 'Safari' Go Viral
>>>
>>> Read more:
>>> http://forward.com/articles/163277/israelis-disparage-afric...
>>> mals-on-facebook/#ixzz27GCcyYtH
>>>
>>> Photographs uploaded by an Israeli Facebook user on Friday caused a
>>> furor, as users responded to the photo album, which included a
>>> caption connoting African migrants as ???animals.???
>>>
>>> Related ?? Tel Aviv's Anger at African Immigrants
>>> ?? An African Immigrant's Plea
>>> ?? Israeli Anger Over 'African' Crime Wave
>>>
>>> The photographs, which featured African migrants in south Tel
>>> Aviv???s Levinsky Park, were uploaded by the woman to an album
>>> entitled, ???Night tour in the south Tel Aviv safari??? - probably
>>> also in part because of a sign on a local pet shop in one of the
>>> photographs.
>>>
>>> The caption on one of the images, in which the woman is photographed
>>> next to three African migrants, read: ???There are no signs that
>>> prohibit being photographed with the animals on display. There were
>>> also no signs that prohibit feeding them, but we decided not to do
>>> that.??? In the caption, the woman listed the three men pictured
>>> with the following names: ???Ubunga Dubanga the Third, Abuba Buba
>>> Sabuba and Zanbura Buka Kluga Chaka.???
>>>
>>> For more, go to Haaretz.com
>>>
>>>
>>> http://www.haaretz.com/news/national/furor-over-israeli-fac...
>>> -who-called-african-migrants-animals-in-photo-caption.premium-1.46617
>>> 0
>>
>> Shit man. You can see those animals and feed them every day in
>> St Louis. Just bring your gun and if they charge the vehicle,
>> shoot first then back up and run over them.
>>
>>
>
> Then there's New York, New York:
>
> http://observer.com/2012/09/tgif-everyone-lady-urinates-proce...
> e-shower-on-subway-video/

There seems to be a common ethnic element at work here.

Canton OH Man urinates on meat at Walmart

http://www.youtube.com/watch?v=S...