<?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/ruby-talk-google</id>
  <title type="text">ruby-talk-google Google Group</title>
  <subtitle type="text">
  This is a mirror list of the offical ruby-talk mailing list. It serves as a alternative to the mail&lt;-&gt;news gateway (comp.lang.ruby). It exists to provide access to the mailing list via the convenience of Google Groups web-based client.
  </subtitle>
  <link href="/group/ruby-talk-google/feed/atom_v1_0_msgs.xml" rel="self" title="ruby-talk-google feed"/>
  <updated>2009-11-29T21:02:09Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Ralph Shnelvar</name>
  <email>ral...@dos32.com</email>
  </author>
  <updated>2009-11-29T21:02:09Z</updated>
  <id>http://groups.google.com/group/ruby-talk-google/browse_thread/thread/e45184e82cd77547/8693db3183568097?show_docid=8693db3183568097</id>
  <link href="http://groups.google.com/group/ruby-talk-google/browse_thread/thread/e45184e82cd77547/8693db3183568097?show_docid=8693db3183568097"/>
  <title type="text">Re: semantics of @x v. $x</title>
  <summary type="html" xml:space="preserve">
  SC&amp;gt; @xyzzy = 5 defines an instance variable for the global object. That instance &lt;br&gt; SC&amp;gt; variable is accessible only from the top level. $xyzzy = 5, instead, defines a &lt;br&gt; SC&amp;gt; global variable, which can be accessed from everywhere. &lt;br&gt; SC&amp;gt; Here&#39;s an example: &lt;br&gt; SC&amp;gt; @x = 1 &lt;br&gt; SC&amp;gt; $y = 2 &lt;br&gt; SC&amp;gt; class C &lt;br&gt; SC&amp;gt; &lt;br&gt; SC&amp;gt; def test
  </summary>
  </entry>
  <entry>
  <author>
  <name>Omar Campos</name>
  <email>hypermeis...@yahoo.com</email>
  </author>
  <updated>2009-11-29T20:33:01Z</updated>
  <id>http://groups.google.com/group/ruby-talk-google/browse_thread/thread/6f0b208af1a5de4c/bad0d83066387d75?show_docid=bad0d83066387d75</id>
  <link href="http://groups.google.com/group/ruby-talk-google/browse_thread/thread/6f0b208af1a5de4c/bad0d83066387d75?show_docid=bad0d83066387d75"/>
  <title type="text">Re: Best way to distribute an app</title>
  <summary type="html" xml:space="preserve">
  Hi, thanks for the replies. I know this question is probably asked a &lt;br&gt; lot, but thanks. What did you mean about baking gems into apps? I &lt;br&gt; think rawr fits my needs, but I will also check out Capistrano.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Matt H</name>
  <email>m...@smajn.net</email>
  </author>
  <updated>2009-11-29T19:50:56Z</updated>
  <id>http://groups.google.com/group/ruby-talk-google/browse_thread/thread/508636cdd6f19ff3/9d529a8290a4d662?show_docid=9d529a8290a4d662</id>
  <link href="http://groups.google.com/group/ruby-talk-google/browse_thread/thread/508636cdd6f19ff3/9d529a8290a4d662?show_docid=9d529a8290a4d662"/>
  <title type="text">Date class method `once` wraps original call in Array. Why?</title>
  <summary type="html" xml:space="preserve">
  I&#39;m reading the Pickaxe and on page 391, there is a code listing for &lt;br&gt; the class method `once` from the Date module in Ruby: &lt;br&gt; def once(*ids) #:nodoc: &lt;br&gt; for id in ids &lt;br&gt; module_eval &amp;lt;&amp;lt;-&amp;quot;end:&amp;quot; &lt;br&gt; alias_method :__#{id.to_i}__, :#{id.to_s} &lt;br&gt; private :__#{id.to_i}__ &lt;br&gt; def #{id.to_s}(*args, &amp;amp;block)
  </summary>
  </entry>
  <entry>
  <author>
  <name>David Masover</name>
  <email>ni...@slaphack.com</email>
  </author>
  <updated>2009-11-29T19:33:12Z</updated>
  <id>http://groups.google.com/group/ruby-talk-google/browse_thread/thread/6f0b208af1a5de4c/4754afbccef54d91?show_docid=4754afbccef54d91</id>
  <link href="http://groups.google.com/group/ruby-talk-google/browse_thread/thread/6f0b208af1a5de4c/4754afbccef54d91?show_docid=4754afbccef54d91"/>
  <title type="text">Re: Best way to distribute an app</title>
  <summary type="html" xml:space="preserve">
  Two main ways: As a gem, or as a git repository. &lt;br&gt; As a git repository is helpful if by &amp;quot;deploy&amp;quot; you mean &amp;quot;push to a webserver&amp;quot;, &lt;br&gt; in which case, I suggest you look into Capistrano. As a gem is mostly useful &lt;br&gt; for other developers, but you get all the advantages of a package manager -- &lt;br&gt; dependencies, seamless upgrades, installing/uninstalling handled for you...
  </summary>
  </entry>
  <entry>
  <author>
  <name>David Masover</name>
  <email>ni...@slaphack.com</email>
  </author>
  <updated>2009-11-29T19:26:30Z</updated>
  <id>http://groups.google.com/group/ruby-talk-google/browse_thread/thread/4685678a15283f5c/5d5d03ff32f2ac74?show_docid=5d5d03ff32f2ac74</id>
  <link href="http://groups.google.com/group/ruby-talk-google/browse_thread/thread/4685678a15283f5c/5d5d03ff32f2ac74?show_docid=5d5d03ff32f2ac74"/>
  <title type="text">Re: What&#39;s the new hotness for packaging gems?</title>
  <summary type="html" xml:space="preserve">
  Mostly kidding, too, but I have to agree -- the only gems I&#39;ve actually built &lt;br&gt; lately have been small enough that I don&#39;t see a real advantage to doing it &lt;br&gt; programmatically. The last time I did, the only real point I saw was getting a &lt;br&gt; list of files -- only needed when I was letting Github build gems, and
  </summary>
  </entry>
  <entry>
  <author>
  <name>David Masover</name>
  <email>ni...@slaphack.com</email>
  </author>
  <updated>2009-11-29T19:18:43Z</updated>
  <id>http://groups.google.com/group/ruby-talk-google/browse_thread/thread/d0a4a3bc0ee5ee91/927beb1edce9d94b?show_docid=927beb1edce9d94b</id>
  <link href="http://groups.google.com/group/ruby-talk-google/browse_thread/thread/d0a4a3bc0ee5ee91/927beb1edce9d94b?show_docid=927beb1edce9d94b"/>
  <title type="text">Re: Class variables, instance variables, singleton; Ruby v.</title>
  <summary type="html" xml:space="preserve">
  These are separate questions. &lt;br&gt; In MRI, you can tell how many instances exist by actually counting them. Look &lt;br&gt; at the documentation for ObjectSpace. &lt;br&gt; And yes, you can register a destructor -- that&#39;s also in ObjectSpace, and it&#39;s &lt;br&gt; called a &amp;quot;finalizer&amp;quot;. But remember, Ruby is garbage-collected -- that means
  </summary>
  </entry>
  <entry>
  <author>
  <name>Jason Roelofs</name>
  <email>jameskil...@gmail.com</email>
  </author>
  <updated>2009-11-29T18:47:43Z</updated>
  <id>http://groups.google.com/group/ruby-talk-google/browse_thread/thread/06a3bbd92a2d6628/2576c8416ed923ad?show_docid=2576c8416ed923ad</id>
  <link href="http://groups.google.com/group/ruby-talk-google/browse_thread/thread/06a3bbd92a2d6628/2576c8416ed923ad?show_docid=2576c8416ed923ad"/>
  <title type="text">Re: ruby language parser in ruby</title>
  <summary type="html" xml:space="preserve">
  Maglev&#39;s got one: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://github.com/MagLev/maglev/tree/master/src/kernel/parser/&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; Jason
  </summary>
  </entry>
  <entry>
  <author>
  <name>Marc Heiler</name>
  <email>sheve...@linuxmail.org</email>
  </author>
  <updated>2009-11-29T18:29:51Z</updated>
  <id>http://groups.google.com/group/ruby-talk-google/browse_thread/thread/06a3bbd92a2d6628/9c8467d581653888?show_docid=9c8467d581653888</id>
  <link href="http://groups.google.com/group/ruby-talk-google/browse_thread/thread/06a3bbd92a2d6628/9c8467d581653888?show_docid=9c8467d581653888"/>
  <title type="text">Re: ruby language parser in ruby</title>
  <summary type="html" xml:space="preserve">
  Awww... &lt;br&gt; I still thought rubinius was going with the pure ruby approach. :(
  </summary>
  </entry>
  <entry>
  <author>
  <name>Brian Candler</name>
  <email>b.cand...@pobox.com</email>
  </author>
  <updated>2009-11-29T18:26:30Z</updated>
  <id>http://groups.google.com/group/ruby-talk-google/browse_thread/thread/06a3bbd92a2d6628/a8be162bbb48a694?show_docid=a8be162bbb48a694</id>
  <link href="http://groups.google.com/group/ruby-talk-google/browse_thread/thread/06a3bbd92a2d6628/a8be162bbb48a694?show_docid=a8be162bbb48a694"/>
  <title type="text">Re: ruby language parser in ruby</title>
  <summary type="html" xml:space="preserve">
  I&#39;m pretty familiar with CFGs and tools like yacc, or at least, I was &lt;br&gt; some years ago. What bothers me about ruby syntax is that there are a &lt;br&gt; number of aspects that I&#39;m not sure how to map to a CFG, for example &lt;br&gt; puts (a).abs &lt;br&gt; being different from &lt;br&gt; puts(a).abs &lt;br&gt; ... or, &lt;br&gt; a = b &lt;br&gt; + c &lt;br&gt; being treated differently to
  </summary>
  </entry>
  <entry>
  <author>
  <name>Marnen Laibow-Koser</name>
  <email>mar...@marnen.org</email>
  </author>
  <updated>2009-11-29T18:24:08Z</updated>
  <id>http://groups.google.com/group/ruby-talk-google/browse_thread/thread/8b18332bdf5d7d0f/f94363902511c755?show_docid=f94363902511c755</id>
  <link href="http://groups.google.com/group/ruby-talk-google/browse_thread/thread/8b18332bdf5d7d0f/f94363902511c755?show_docid=f94363902511c755"/>
  <title type="text">Re: Just found a round problem</title>
  <summary type="html" xml:space="preserve">
  BigDecimal and Rational will do the trick. &lt;br&gt; Best,
  </summary>
  </entry>
  <entry>
  <author>
  <name>Brian Candler</name>
  <email>b.cand...@pobox.com</email>
  </author>
  <updated>2009-11-29T18:15:49Z</updated>
  <id>http://groups.google.com/group/ruby-talk-google/browse_thread/thread/d042512e3cf8e06b/283a8b3fcdad9118?show_docid=283a8b3fcdad9118</id>
  <link href="http://groups.google.com/group/ruby-talk-google/browse_thread/thread/d042512e3cf8e06b/283a8b3fcdad9118?show_docid=283a8b3fcdad9118"/>
  <title type="text">Re: Which server component?</title>
  <summary type="html" xml:space="preserve">
  Another option is to use XMPP (aka Jabber). This is asynchronous and &lt;br&gt; there are a variety of implementations to choose from. If you want &lt;br&gt; something that scales to tens of thousands of connections, look at &lt;br&gt; ejabberd. Even though that&#39;s written in erlang, you could still sit it &lt;br&gt; in between a large pool of clients and a server written in ruby +
  </summary>
  </entry>
  <entry>
  <author>
  <name>Thiago Massa</name>
  <email>thiag...@gmail.com</email>
  </author>
  <updated>2009-11-29T18:14:39Z</updated>
  <id>http://groups.google.com/group/ruby-talk-google/browse_thread/thread/8b18332bdf5d7d0f/179aa8a9771896a2?show_docid=179aa8a9771896a2</id>
  <link href="http://groups.google.com/group/ruby-talk-google/browse_thread/thread/8b18332bdf5d7d0f/179aa8a9771896a2?show_docid=179aa8a9771896a2"/>
  <title type="text">Re: Just found a round problem</title>
  <summary type="html" xml:space="preserve">
  In C i think its 14/15 significant digits and its probably why. &lt;br&gt; If you want that much precision, find a way to use a bigger float.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Robert Klemme</name>
  <email>shortcut...@googlemail.com</email>
  </author>
  <updated>2009-11-29T17:55:08Z</updated>
  <id>http://groups.google.com/group/ruby-talk-google/browse_thread/thread/d042512e3cf8e06b/8b9ca0d4595c3bf9?show_docid=8b9ca0d4595c3bf9</id>
  <link href="http://groups.google.com/group/ruby-talk-google/browse_thread/thread/d042512e3cf8e06b/8b9ca0d4595c3bf9?show_docid=8b9ca0d4595c3bf9"/>
  <title type="text">Re: Which server component?</title>
  <summary type="html" xml:space="preserve">
  In that case it sounds like as if HTTP was not the ideal protocol for &lt;br&gt; the task. Maybe you should rather follow the other direction and think &lt;br&gt; about a solution with EventMachine as Brian has sketched. That way you &lt;br&gt; can also have better control over the protocol overhead - HTTP can be &lt;br&gt; quite verbose if your messages are really small (say 50 bytes or so):
  </summary>
  </entry>
  <entry>
  <author>
  <name>Marnen Laibow-Koser</name>
  <email>mar...@marnen.org</email>
  </author>
  <updated>2009-11-29T17:40:31Z</updated>
  <id>http://groups.google.com/group/ruby-talk-google/browse_thread/thread/066644fa5c05516b/456a51347f7afb81?show_docid=456a51347f7afb81</id>
  <link href="http://groups.google.com/group/ruby-talk-google/browse_thread/thread/066644fa5c05516b/456a51347f7afb81?show_docid=456a51347f7afb81"/>
  <title type="text">Re: how to enable debugging on the server?</title>
  <summary type="html" xml:space="preserve">
  This is a Rails question. Please take it to the Rails list. &lt;br&gt; Best,
  </summary>
  </entry>
  <entry>
  <author>
  <name>Bryan Lockwood</name>
  <email>lockwood.br...@mac.com</email>
  </author>
  <updated>2009-11-29T17:17:58Z</updated>
  <id>http://groups.google.com/group/ruby-talk-google/browse_thread/thread/066644fa5c05516b/be845a3f66fe5362?show_docid=be845a3f66fe5362</id>
  <link href="http://groups.google.com/group/ruby-talk-google/browse_thread/thread/066644fa5c05516b/be845a3f66fe5362?show_docid=be845a3f66fe5362"/>
  <title type="text">how to enable debugging on the server?</title>
  <summary type="html" xml:space="preserve">
  Wanting to run the script/server in debugger mode, my dialog looked &lt;br&gt; like this: &lt;br&gt; ruby script/server --debugger &lt;br&gt; =&amp;gt; Booting WEBrick &lt;br&gt; =&amp;gt; Rails 2.3.4 application starting on &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://0.0.0.0:3000&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; You need to install ruby-debug to run the server in debugging mode. &lt;br&gt; With gems, use &#39;gem install &lt;br&gt; OK, so I installed:
  </summary>
  </entry>
</feed>
