<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/comp.lang.ruby</id>
  <title type="text">comp.lang.ruby Google Group</title>
  <subtitle type="text">
  The Ruby dynamic OO programming language.
  </subtitle>
  <link href="/group/comp.lang.ruby/feed/atom_v1_0_msgs.xml" rel="self" title="comp.lang.ruby feed"/>
  <updated>2008-07-20T19:07:28Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Joel VanderWerf</name>
  <email>vj...@path.berkeley.edu</email>
  </author>
  <updated>2008-07-20T19:07:28Z</updated>
  <id>http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/f969db8354fba302/bdf98f91dc3347c7?show_docid=bdf98f91dc3347c7</id>
  <link href="http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/f969db8354fba302/bdf98f91dc3347c7?show_docid=bdf98f91dc3347c7"/>
  <title type="text">Re: Why Thread.abort_on_exception = yes doesn&#39;t show errors?</title>
  <summary type="html" xml:space="preserve">
  That&#39;s all intended, IIUC. Point #1 above implies point #3: suppose &lt;br&gt; threads _always_ reported exceptions. Then if you wrote a program to &lt;br&gt; take advantage of #1 by harvesting finished threads and handling their &lt;br&gt; exceptions in the main thread (or more generally the joining thread) you &lt;br&gt; would have spurious exception dumping. You have more control this way,
  </summary>
  </entry>
  <entry>
  <author>
  <name>Iñaki Baz Castillo</name>
  <email>i...@aliax.net</email>
  </author>
  <updated>2008-07-20T18:18:24Z</updated>
  <id>http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/f969db8354fba302/8ead155ab5d48c3e?show_docid=8ead155ab5d48c3e</id>
  <link href="http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/f969db8354fba302/8ead155ab5d48c3e?show_docid=8ead155ab5d48c3e"/>
  <title type="text">Why Thread.abort_on_exception = yes doesn&#39;t show errors?</title>
  <summary type="html" xml:space="preserve">
  Hi, when Thread.abort_on_exception = yes I don&#39;t see any error log in the &lt;br&gt; screen. Note those cases: &lt;br&gt; case 1) It&#39;s seems correct: &lt;br&gt; --------------------- &lt;br&gt; t = Thread.new { &lt;br&gt; sleep 1 &lt;br&gt; qwe &lt;br&gt; t.abort_on_exception = true &lt;br&gt; puts &amp;quot;hello !!!&amp;quot; &lt;br&gt; sleep 2 &lt;br&gt; puts &amp;quot;END&amp;quot; &lt;br&gt; --------------------- &lt;br&gt; =&amp;gt; &lt;br&gt; hello !!! &lt;br&gt; test.rb:3: undefined local variable or method `qwe&#39; for main:Object
  </summary>
  </entry>
  <entry>
  <author>
  <name>Erik Veenstra</name>
  <email>erikv...@gmail.com</email>
  </author>
  <updated>2008-07-20T18:11:19Z</updated>
  <id>http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/f1bd063acff05591/014731b3fabd03bd?show_docid=014731b3fabd03bd</id>
  <link href="http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/f1bd063acff05591/014731b3fabd03bd?show_docid=014731b3fabd03bd"/>
  <title type="text">[ANN] ForkAndReturn 0.1.1</title>
  <summary type="html" xml:space="preserve">
  ForkAndReturn 0.1.1 is released. &lt;br&gt; ForkAndReturn implements a couple of methods that simplify &lt;br&gt; running a block of code in a subprocess. The result (Ruby &lt;br&gt; object or exception) of the block will be available in the &lt;br&gt; parent process. &lt;br&gt; ForkAndReturn also enriches Enumerable with a couple of methods &lt;br&gt; (e.g. Enumerable#concurrent_collect( )), in order to simplify
  </summary>
  </entry>
  <entry>
  <author>
  <name>Phlip</name>
  <email>phlip2...@gmail.com</email>
  </author>
  <updated>2008-07-20T18:01:21Z</updated>
  <id>http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/ecd5d65d9bec0446/5e1a1cac0c1348e4?show_docid=5e1a1cac0c1348e4</id>
  <link href="http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/ecd5d65d9bec0446/5e1a1cac0c1348e4?show_docid=5e1a1cac0c1348e4"/>
  <title type="text">Re: Does &quot;rescue&quot; wihtour argument handle any kind of Exception or not?</title>
  <summary type="html" xml:space="preserve">
  Assuming you are addressing a senior enjinere, not a neophyte, yes I could tell &lt;br&gt; the difference between an interrupt and the rest of my program running. It has &lt;br&gt; major side-effects; I stuck the sample code at the top of my current project. &lt;br&gt; Curiously, this is what the original code was doing: &lt;br&gt; begin &lt;br&gt; raise Interrupt
  </summary>
  </entry>
  <entry>
  <author>
  <name>Rolando Abarca</name>
  <email>funkas...@gmail.com</email>
  </author>
  <updated>2008-07-20T17:40:58Z</updated>
  <id>http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/e347f643c15c2c73/4df9309235aee6e4?show_docid=4df9309235aee6e4</id>
  <link href="http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/e347f643c15c2c73/4df9309235aee6e4?show_docid=4df9309235aee6e4"/>
  <title type="text">Re: [QUIZ] Records and Arrays (#170)</title>
  <summary type="html" xml:space="preserve">
  my solution (including a simple test) &lt;br&gt; require &#39;ostruct&#39; &lt;br&gt; require &#39;test/unit&#39; &lt;br&gt; module Quiz170 &lt;br&gt; def self.aor_to_roa(arr) &lt;br&gt; os = OpenStruct.new &lt;br&gt; arr.each do |o| &lt;br&gt; # another way to get the keys: &lt;br&gt; # keys = (o.methods - OpenStruct.new.methods).delete _if { |m| &lt;br&gt; m.match(/=$/) } &lt;br&gt; o.instance_variable_get(&amp;quot;@tabl e&amp;quot;).keys.each { |k|
  </summary>
  </entry>
  <entry>
  <author>
  <name>Andrea Fazzi</name>
  <email>andrea.fa...@alca.le.it</email>
  </author>
  <updated>2008-07-20T17:38:23Z</updated>
  <id>http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/e347f643c15c2c73/4871866a1c278c63?show_docid=4871866a1c278c63</id>
  <link href="http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/e347f643c15c2c73/4871866a1c278c63?show_docid=4871866a1c278c63"/>
  <title type="text">Re: [QUIZ] Records and Arrays (#170)</title>
  <summary type="html" xml:space="preserve">
  Matthew Moss ha scritto: &lt;br&gt; Hi all, &lt;br&gt; here&#39;s my solution: &lt;br&gt; require &#39;ostruct&#39; &lt;br&gt; def aor_to_roa(arr) &lt;br&gt; hash = { } &lt;br&gt; arr.each do |record| &lt;br&gt; record.marshal_dump.each_key { |field| (hash[field] ||= []) &amp;lt;&amp;lt; &lt;br&gt; record.send(field) } &lt;br&gt; end &lt;br&gt; OpenStruct.new(hash) &lt;br&gt; end &lt;br&gt; def roa_to_aor(rec) &lt;br&gt; result = [] &lt;br&gt; rec.marshal_dump.each do |field, array|
  </summary>
  </entry>
  <entry>
  <author>
  <name>Charles Oliver Nutter</name>
  <email>charles.nut...@sun.com</email>
  </author>
  <updated>2008-07-20T17:36:27Z</updated>
  <id>http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/1881cff971e1d775/1f32dbf0c9679628?show_docid=1f32dbf0c9679628</id>
  <link href="http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/1881cff971e1d775/1f32dbf0c9679628?show_docid=1f32dbf0c9679628"/>
  <title type="text">Ruby/Java strings solved the Ruby way</title>
  <summary type="html" xml:space="preserve">
  Hello all! &lt;br&gt; I&#39;m posting this here because it seem like a topic better discussed in &lt;br&gt; the general Ruby community. &lt;br&gt; JRuby allows you pretty seamless access to Java libraries through its &lt;br&gt; Java integration layer. You can pull in just about any class, &lt;br&gt; instantiate objects, call methods, and so on. In order to make this a
  </summary>
  </entry>
  <entry>
  <author>
  <name>Robert Dober</name>
  <email>robert.do...@gmail.com</email>
  </author>
  <updated>2008-07-20T17:31:19Z</updated>
  <id>http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/ecd5d65d9bec0446/d4744565c7f5a64c?show_docid=d4744565c7f5a64c</id>
  <link href="http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/ecd5d65d9bec0446/d4744565c7f5a64c?show_docid=d4744565c7f5a64c"/>
  <title type="text">Re: Does &quot;rescue&quot; wihtour argument handle any kind of Exception or not?</title>
  <summary type="html" xml:space="preserve">
  Did you expect your program to do anything after printing &amp;quot;rescued !!!&amp;quot; ? &lt;br&gt; R.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Frederick Cheung</name>
  <email>frederick.che...@gmail.com</email>
  </author>
  <updated>2008-07-20T17:25:24Z</updated>
  <id>http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/e347f643c15c2c73/1c849d5e74d2834f?show_docid=1c849d5e74d2834f</id>
  <link href="http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/e347f643c15c2c73/1c849d5e74d2834f?show_docid=1c849d5e74d2834f"/>
  <title type="text">Re: [QUIZ] Records and Arrays (#170)</title>
  <summary type="html" xml:space="preserve">
  I&#39;ve gone for a fairly simple proxy based approach that doesn&#39;t do any &lt;br&gt; real converting. When converting an array of records we return a &lt;br&gt; wrapper object. &lt;br&gt; When you call (for example) name on that object you get back a proxy &lt;br&gt; object that just stores that name. &lt;br&gt; When you then call [3] on that proxy object, the proxy retrieves the
  </summary>
  </entry>
  <entry>
  <author>
  <name>Charles Oliver Nutter</name>
  <email>charles.nut...@sun.com</email>
  </author>
  <updated>2008-07-20T17:13:21Z</updated>
  <id>http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/573b59dcc36505cc/da58d7e871cfc644?show_docid=da58d7e871cfc644</id>
  <link href="http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/573b59dcc36505cc/da58d7e871cfc644?show_docid=da58d7e871cfc644"/>
  <title type="text">Re: JRuby 1.1.3 Released</title>
  <summary type="html" xml:space="preserve">
  What would you like to see? It&#39;s pretty easy to download yourself and &lt;br&gt; run them too :) &lt;br&gt; - Charlie
  </summary>
  </entry>
  <entry>
  <author>
  <name>krusty.ar@gmail.com</name>
  <email>krusty...@gmail.com</email>
  </author>
  <updated>2008-07-20T16:55:29Z</updated>
  <id>http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/e347f643c15c2c73/7f93c963708d291a?show_docid=7f93c963708d291a</id>
  <link href="http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/e347f643c15c2c73/7f93c963708d291a?show_docid=7f93c963708d291a"/>
  <title type="text">Re: Records and Arrays (#170)</title>
  <summary type="html" xml:space="preserve">
  Here&#39;s aor -&amp;gt; roa adapter that works with any class, it just sends the &lt;br&gt; methods to the base class as they come, so the behaviour for &lt;br&gt; exceptional conditions should be consistent with it, it also has a &lt;br&gt; persistent proxy, so the client can define extra functionality on it &lt;br&gt; if needed. &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://pastie.org/236858&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>James Gray</name>
  <email>ja...@grayproductions.net</email>
  </author>
  <updated>2008-07-20T16:49:34Z</updated>
  <id>http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/e347f643c15c2c73/a38ae1e76fb83e02?show_docid=a38ae1e76fb83e02</id>
  <link href="http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/e347f643c15c2c73/a38ae1e76fb83e02?show_docid=a38ae1e76fb83e02"/>
  <title type="text">Re: [QUIZ] Records and Arrays (#170)</title>
  <summary type="html" xml:space="preserve">
  Neat idea. I was working with jQuery a lot last week and thinking &lt;br&gt; along similar lines. &lt;br&gt; I chose to run with this idea: &lt;br&gt; class MapToEnum &lt;br&gt; instance_methods.each { |meth| undef_method(meth) unless meth =~ / &lt;br&gt; \A__/ } &lt;br&gt; def initialize(enum) &lt;br&gt; @enum = enum &lt;br&gt; end &lt;br&gt; def __enum__ &lt;br&gt; @enum &lt;br&gt; end &lt;br&gt; def method_missing(meth, *args, &amp;amp;block)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Trys</name>
  <email>&quot;&quot;try...@@vip.hr&quot;</email>
  </author>
  <updated>2008-07-20T16:34:58Z</updated>
  <id>http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/ecd5d65d9bec0446/eb6aa761999066e2?show_docid=eb6aa761999066e2</id>
  <link href="http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/ecd5d65d9bec0446/eb6aa761999066e2?show_docid=eb6aa761999066e2"/>
  <title type="text">Re: Does &quot;rescue&quot; wihtour argument handle any kind of Exception or not?</title>
  <summary type="html" xml:space="preserve">
  Right here is your problem, same thing is happening to me (ruby 1.8.6 &lt;br&gt; (2007-09-24 patchlevel 111) [i386-mswin32]) For certain reasons raise &lt;br&gt; throws ArgumentError (which then gets caught by single rescue) for &lt;br&gt; Interrupt without additional parameters. &lt;br&gt; This will probably work if you just need to raise Interrupt:
  </summary>
  </entry>
  <entry>
  <author>
  <email>cnbbiz...@gmail.com</email>
  </author>
  <updated>2008-07-20T16:39:41Z</updated>
  <id>http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/eaafc314b5d96e15/71c1aee3ec3beddf?show_docid=71c1aee3ec3beddf</id>
  <link href="http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/eaafc314b5d96e15/71c1aee3ec3beddf?show_docid=71c1aee3ec3beddf"/>
  <title type="text">(www.cnbbiz.com)supply 2008 sunglasses,prada,gucci,POLICE,LV,D&amp;G</title>
  <summary type="html" xml:space="preserve">
  Af1 high paypal payment $28/pairs cnbbiz2...@hotmail.com ( &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://photo.163.com/photos/lidg888999/140934568/&quot;&gt;[link]&lt;/a&gt;) &lt;br&gt; Af1 clear paypal payment $28/pairs cnbbiz2...@hotmail.com &lt;br&gt; ( &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://photo.163.com/photos/lidg888999/130772837/&quot;&gt;[link]&lt;/a&gt; ) &lt;br&gt; nike shoes paypal payment $28/pairs cnbbiz2...@hotmail.com &lt;br&gt; ( &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://photo.163.com/photos/lidg888999/140934339/&quot;&gt;[link]&lt;/a&gt; )
  </summary>
  </entry>
  <entry>
  <author>
  <name>mick</name>
  <email>cnbbiz...@gmail.com</email>
  </author>
  <updated>2008-07-20T16:25:28Z</updated>
  <id>http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/eaafc314b5d96e15/bc96f01c871c156c?show_docid=bc96f01c871c156c</id>
  <link href="http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/eaafc314b5d96e15/bc96f01c871c156c?show_docid=bc96f01c871c156c"/>
  <title type="text">(www.cnbbiz.com)supply 2008 sunglasses,prada,gucci,POLICE,LV,D&amp;G</title>
  <summary type="html" xml:space="preserve">
  Af1 paypal payment $28/pairs cnbbiz2008du152713715/ ) &lt;br&gt; Af1 high paypal payment $28/pairs cnbbiz2...@hotmail.com ( &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://photo.163.com/photos/lidg888999/140934568/&quot;&gt;[link]&lt;/a&gt;) &lt;br&gt; Af1 clear paypal payment $28/pairs cnbbiz2...@hotmail.com &lt;br&gt; ( &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://photo.163.com/photos/lidg888999/130772837/&quot;&gt;[link]&lt;/a&gt; ) &lt;br&gt; nike shoes paypal payment $28/pairs cnbbiz2...@hotmail.com
  </summary>
  </entry>
</feed>
