<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://permalink.gmane.org/gmane.comp.lang.ruby.general">
    <title>gmane.comp.lang.ruby.general</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264615"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264614"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264613"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264612"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264611"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264610"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264609"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264608"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264607"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264606"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264605"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264604"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264603"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264602"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264601"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264600"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264599"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264598"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264597"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264596"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264615">
    <title>Re: from ruby/RoR to Java (framework unknown) :(</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264615</link>
    <description>
Indeed. Although its not that slow compared to other dynamic JVM  
languages of similar vintage. JRuby runs rings around it though ;)


Ellie

Eleanor McHugh
Games With Brains
http://slides.games-with-brains.net
----
raise ArgumentError unless &lt; at &gt;reality.responds_to? :reason




</description>
    <dc:creator>Eleanor McHugh</dc:creator>
    <dc:date>2008-07-06T00:30:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264614">
    <title>Re: Does Ruby have any advantage over Python to create semantic applications?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264614</link>
    <description>

Thanks a lot Eric, Dave and Mark,

I found the text that made me think of Ruby as having some advantages
for semantic processing: " I will probably still fall back on Ruby for
text-processing scripts as its always been stellar for those kinds of
tasks" (in http://blog.cbcg.net/articles/2007/04/22/python-up-ruby-down-if-that-runtime-dont-work-then-its-bound-to-drizzown).
But reading your answers it seems there's no real advantage for this
particular purpose so that guy must be wrong...

I still will need to investigate more or just try both to decide which
one fits better my needs. I don't know what you meant by "fun" and
"beautiful" and although the Ruby's there's-more-than-one-way-to-do-it
sounds like more things to remember and more time needed to learn it
and also like giving freedom to users-programmers because the author
lack the clarity on what is the best way to do it, I'm really
intrigued and attracted by those "fun" and "beautiful" words (could it
be related with what I read in Why's manual that t</description>
    <dc:creator>Costan</dc:creator>
    <dc:date>2008-07-06T00:01:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264613">
    <title>Re: ruby wish-list</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264613</link>
    <description>Hi,

At Wed, 2 Jul 2008 10:24:21 +0900,
Roger Pack wrote in [ruby-talk:306957]:

Of course, it's been possible also in 1.8 or earlier, even in 0.95.

$ ./ruby -v -e 'print "abc\x14"'| od -tx1z
ruby - version 0.95 (95/12/21)
0000000 61 62 63 14                                      &gt;abc.&lt;
0000004

</description>
    <dc:creator>Nobuyoshi Nakada</dc:creator>
    <dc:date>2008-07-05T23:42:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264612">
    <title>Re: Parameter name reflection</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264612</link>
    <description>
On Jul 5, 2008, at 2:36 PM, Oliver Saunders wrote:



bad idea ihmo - it'll be almost impossible to map valid http request  
names to ruby vars, for instance you'll have

'a var with a space' #=&gt; ??

'a var with a /'           #=&gt; ??

etc etc

in addition the only way you can do that is with a heavy duty eval  
process (vars set by eval are only available to further evals) which  
makes for a super slow request loop.  so this sounds like it'll end up  
being a huge stack of evals - not metaprogramming - unless i'm  
misunderstanding.  can you sketch out an example of what you'd like to  
do for us?

cheers.

a &lt; at &gt; http://codeforpeople.com/
--
we can deny everything, except that we have the possibility of being  
better. simply reflect on that.
h.h. the 14th dalai lama





</description>
    <dc:creator>ara.t.howard</dc:creator>
    <dc:date>2008-07-05T23:08:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264611">
    <title>Re: irb not recognized in windows command line</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264611</link>
    <description>
Thanks so much, Joel.  I got it working in the meantime by uninstalling 
Ruby and installing Instant Rails.
</description>
    <dc:creator>Bert Ameche</dc:creator>
    <dc:date>2008-07-05T23:02:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264610">
    <title>Re: irb not recognized in windows command line</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264610</link>
    <description>
Thanks you very much, Tim!

I actually uninstalled Ruby in the meantime and installed InstantRails. 
It's working now.
</description>
    <dc:creator>Bert Ameche</dc:creator>
    <dc:date>2008-07-05T23:01:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264609">
    <title>ANN: Sequel 2.2.0 Released</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264609</link>
    <description>Sequel is a lightweight database access toolkit for Ruby.

* Sequel provides thread safety, connection pooling and a concise DSL
  for constructing database queries and table schemas.
* Sequel also includes a lightweight but comprehensive ORM layer for
  mapping records to Ruby objects and handling associated records.
* Sequel makes it easy to deal with multiple records without having
  to break your teeth on SQL.
* Sequel currently has adapters for ADO, DB2, DBI, Informix, JDBC,
  MySQL, ODBC, OpenBase, Oracle, PostgreSQL and SQLite3.

Sequel 2.2.0 has been released and should be available on the gem
mirrors.  2.2.0 has the following exciting new features:

The Most Powerful and Flexible Associations of Any Ruby ORM
-----------------------------------------------------------

Sequel can now support any association type supported by
ActiveRecord, and many association types ActiveRecord doesn't
support.

Association callbacks (:before_add, :after_add, :before_remove,
:after_remove) have been added, and work f</description>
    <dc:creator>Jeremy Evans</dc:creator>
    <dc:date>2008-07-05T22:55:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264608">
    <title>Re: irb not recognized in windows command line</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264608</link>
    <description>
Maybe helpful, maybe not:

Are you using a command prompt window that was open before you installed 
ruby? If so, try opening a new window. The environment variable settings 
performed by the installer (such as the PATH to search for executable 
programs) will not take effect retroactively.

</description>
    <dc:creator>Joel VanderWerf</dc:creator>
    <dc:date>2008-07-05T22:12:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264607">
    <title>Re: irb not recognized in windows command line</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264607</link>
    <description>
Your path has nothing to do specifically with Ruby. It's part of the way 
Windows command prompt windows work. Your path is a list of directories. 
When you enter a command at a command prompt, if the command is not 
built into Windows itself (like dir, or chdir), then Windows searches 
for the command in the directories listed in your path. You can make 
temporary changes to your path using the SET PATH= command, or permanent 
changes via the System tab in Control Panel.

When you install Ruby using the One-Click Installer, the installer 
changes your path to include the directory in which it installs the ruby 
and irb commands. That change does not affect existing command prompt 
windows, it only affects command prompt windows that you start after 
running the One-Click Installer. If you continue to use an command 
prompt window that was open before you used the One-Click Installer, 
then that window is still using the old path and therefore can't find 
ruby or irb.

If you haven't started a new command p</description>
    <dc:creator>Tim Hunter</dc:creator>
    <dc:date>2008-07-05T22:10:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264606">
    <title>Re: irb not recognized in windows command line</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264606</link>
    <description>
I forgot to mention that 'ruby -v' does not work either - get the same 
message "ruby" is not recognized.
</description>
    <dc:creator>Bert Ameche</dc:creator>
    <dc:date>2008-07-05T21:34:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264605">
    <title>Re: irb not recognized in windows command line</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264605</link>
    <description>
Thank you, Bill!

As you can probably tell, I'm not a programmer.  I thought the paths 
would be created automatically since the author of Beginning Ruby just 
said to type irb at the command prompt to get irb(main):001:0&gt; and this 
will shows it's installed correctly.

When I enter Ruby commands into fxri, the expected results appear, so 
that is set up correctly.

How would I create a path to ruby/bin?  The books I have do not go into 
paths unfortunately.

Bert
</description>
    <dc:creator>Bert Ameche</dc:creator>
    <dc:date>2008-07-05T21:13:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264604">
    <title>Re: irb not recognized in windows command line</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264604</link>
    <description>Hi Bert,

Have you checked your PATH?  It should contain an entry to ruby/bin.  If
not, you'll need to add it.  You might also check, just to make sure ruby
itself is operable, 'ruby -v' at the command line.

HTH,
Bill

----- Original Message -----
Bert Ameche wrote:




</description>
    <dc:creator>Bill Walton</dc:creator>
    <dc:date>2008-07-05T20:54:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264603">
    <title>irb not recognized in windows command line</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264603</link>
    <description>I'm reading Beginning Ruby and followed the installation process , using
the one-click installer for Windows from Ruby Forge.  I successfully
loaded fxri.
Received the following message after typing irb in the Windows command
prompt:

'irb' is not recognized as an internal or external command, operable
program or batch file.

Any suggestions on how to get this working will be greatly appreciated.
</description>
    <dc:creator>Bert Ameche</dc:creator>
    <dc:date>2008-07-05T20:39:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264602">
    <title>Re: Parameter name reflection</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264602</link>
    <description>Thanks Matthias that looks pretty cool.

&lt; at &gt;ara.t.howard: this is useful as a meta-programming technique. Here's an 
example:

# controller implementation
def index_action(id, style, redirected_from)
    local_variables # pre-populated with values from HTTP request params
end
</description>
    <dc:creator>Oliver Saunders</dc:creator>
    <dc:date>2008-07-05T20:36:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264601">
    <title>Re: Getting Folder Size</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264601</link>
    <description>
On Jul 5, 2008, at 1:16 PM, Seebs wrote:

To explain it a little further... technically, even the system is  
doing some recursion here when it shows you a folder size.
Directories don't really have any size to speak of since they are  
really just abstract ways to organize data. Doing the recursion is a  
good idea. It gives you a chance to get a more accurate result.  
Sometimes the system call may be faster though depending on just how  
many files are *in* a directory. The system may have some meta data  
available already.



</description>
    <dc:creator>John Joyce</dc:creator>
    <dc:date>2008-07-05T20:15:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264600">
    <title>Re: Problem with unpack</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264600</link>
    <description>
Yes! sorry!


</description>
    <dc:creator>Eric Hodel</dc:creator>
    <dc:date>2008-07-05T19:50:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264599">
    <title>rainbow tables</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264599</link>
    <description>hi, here is my script so far to make rainbow tables

require 'digest/md5'
string = "a"
File.open("rainbow.txt", "a") do |f|
while string != "zzzzzzzz"
md5 = Digest::MD5.hexdigest(string)
    f.puts string + " : " + md5
    string = string.next
end
end

but string only goes into lowercase characters

i.e
z &gt; aa
i want it to do
z &gt; A

thanks...
</description>
    <dc:creator>Thomas Roberts</dc:creator>
    <dc:date>2008-07-05T19:35:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264598">
    <title>Re: sqlite3 Re: title avoiding spurious response</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264598</link>
    <description>
try this from the sqlite3 command line and see what you get:

  select id, typeof( title ), typeof( guid ) from moz_bookmarks;

That will tell you the internal sqlite storage type of the field you are
requesting.  I'm assuming the problem is with one of those fields, so try
typeof() on any field that you want to test out.

enjoy,

-jeremy

</description>
    <dc:creator>Jeremy Hinegardner</dc:creator>
    <dc:date>2008-07-05T19:01:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264597">
    <title>Re: [ANN] amalgalite 0.2.0 Released</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264597</link>
    <description>
This would be a bug in the example. I've run it so many times that the db
already existed all the time ran it. This is the patch:

  &lt; at &gt;&lt; at &gt; -37,6 +37,7 &lt; at &gt;&lt; at &gt; unless schema.tables['gems']
       author  VARCHAR(128)
     );
     SQL
  +  db.reload_schema!
   end
   
   #

Or download a new example script from github:

  http://github.com/copiousfreetime/amalgalite/tree/master/examples/gem-db.rb
  

I haven't done any testing with a Firefox 3 bookmarks file.  I haven't done
anything specifically to address this, but I could see if SQLite internally had
decided that one of the values in there was to be stored as a BLOB storage type
that amalgalite would have failed before.

enjoy,

-jeremy

</description>
    <dc:creator>Jeremy Hinegardner</dc:creator>
    <dc:date>2008-07-05T18:46:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264596">
    <title>Re: Ruby C API Question</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264596</link>
    <description>
No.  If it were "just a style thing", there would not exist code where the
semantics are significantly changed by choice of declaration style, but there
does.

Now, you may think that the semantic differences don't come up very often,
and in some code this may be correct.  However, there really is a difference;
it is not "just a style thing".


There's really no correlation there.

</description>
    <dc:creator>Seebs</dc:creator>
    <dc:date>2008-07-05T18:21:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/264595">
    <title>Re: Getting Folder Size</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/264595</link>
    <description>
There is no non-recursive solution.  There are solutions that put the
recursion in another application, but that's it.

</description>
    <dc:creator>Seebs</dc:creator>
    <dc:date>2008-07-05T18:16:39</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.lang.ruby.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.ruby.general</link>
  </textinput>
</rdf:RDF>
