<?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 rdf: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/364725"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364724"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364723"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364722"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364721"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364720"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364719"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364718"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364717"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364716"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364715"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364714"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364713"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364712"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364711"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364710"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364709"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364708"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364707"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364706"/>
      </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/364725">
    <title>Re: On Green Shoes, do we have a broken arrow?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364725</link>
    <description>&lt;pre&gt;Hi Ruby Student, Seba and folks,

Do you want to draw a broken arrow?
How about using `shape` method like this:

require "green_shoes"
Shoes.app do
  fill red
  nostroke
  shape do
    move_to 50, 20
    line_to 50, 125
    line_to 120, 180
    line_to 100, 200
    line_to 150, 200
    line_to 150, 150
    line_to 130, 170
    line_to 65, 120
    line_to 65, 20
    line_to 50, 20
  end
end

I have no PDF manual.
But if HTML manual is okay, try to the following steps.
You can make it by yourself. ;-)

- Open Green Shoes manual, i.e. run this code

  require 'green_shoes'
  Shoes.show_manual

- Click `to_html` link and save html files.

Let's have fun with Shoes,
ashbb
&lt;/pre&gt;</description>
    <dc:creator>ashbb</dc:creator>
    <dc:date>2013-05-25T04:30:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364724">
    <title>Re: Learning and stuck `OpenStruct` standard library of Ruby</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364724</link>
    <description>&lt;pre&gt;
On 2013-05-24, at 5:49 PM, Mike Stok &amp;lt;mike&amp;lt; at &amp;gt;stok.ca&amp;gt; wrote:


https://www.youtube.com/watch?v=jDXsEzOHb2M is a pry presentation from railsconf 2013

&lt;/pre&gt;</description>
    <dc:creator>Mike Stok</dc:creator>
    <dc:date>2013-05-24T21:58:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364723">
    <title>Re: Learning and stuck `OpenStruct` standard library of Ruby</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364723</link>
    <description>&lt;pre&gt;
On 2013-05-24, at 3:34 PM, Love U Ruby &amp;lt;lists&amp;lt; at &amp;gt;ruby-forum.com&amp;gt; wrote:


By default I install bundler, pry, and pry-plus as gems for my basic ruby installs.

https://github.com/rking/pry-plus is a bundle of useful pry add-on gems.

There are many extras for pry, I haven't yet learned all of pry and pry-plus so I should not be considered any kind of authority!

Hope this helps,

Mike

&lt;/pre&gt;</description>
    <dc:creator>Mike Stok</dc:creator>
    <dc:date>2013-05-24T21:49:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364722">
    <title>Re: Learning and stuck `OpenStruct` standard library of Ruby</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364722</link>
    <description>&lt;pre&gt;Mike Stok wrote in post #1110034:



first time, I saw `pry`. You mentioned some `add-ons` you are using. 
What are they? How are they useful? any more suggestions please?


Thanks

&lt;/pre&gt;</description>
    <dc:creator>Love U Ruby</dc:creator>
    <dc:date>2013-05-24T19:34:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364721">
    <title>Re: why first 16 bytes are wrong with ruby openssl aes 128 cbc ?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364721</link>
    <description>&lt;pre&gt;Thank Ryan

I have the response my ruby code is wrong. The good code is here :

require 'openssl'

c = OpenSSL::Cipher::Cipher.new("aes-128-cbc")
c.decrypt
c.key =
"7ffb8032dff33aef9aa92e9ac96239d3".unpack('H*').to_s.unpack('a2'*16).map{|x|
x.hex}.pack('c'*16)
c.iv =
"00000000000000000000000000000001".unpack('H*').to_s.unpack('a2'*16).map{|x|
x.hex}.pack('c'*16)
data = File.read("/tmp/file_enc")
d = c.update(data)
d &amp;lt;&amp;lt; c.final
file = File.open("/tmp/file_decrypt_ruby", "w")
file.write(d)
file.close

This code work very well.

&lt;/pre&gt;</description>
    <dc:creator>David D.</dc:creator>
    <dc:date>2013-05-24T19:00:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364720">
    <title>Re: On Green Shoes, do we have a broken arrow?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364720</link>
    <description>&lt;pre&gt;Ruby Student wrote in post #1110074:

Find it here: http://ashbb.github.io/green_shoes/
I don't think there's a copy per say like a PDF or something.

Respective differences are stated in the green shoes manual under each 
category if applicable. Like so:

Note: Green Shoes doesn't support center style.

Some are described also here:
http://ashbb.github.io/green_shoes/Red_Shoes_and_Green_Shoes.html

For images I use mostly http://openclipart.org/ as an open source image 
source.

kind regards,
seba

&lt;/pre&gt;</description>
    <dc:creator>Sebastjan H.</dc:creator>
    <dc:date>2013-05-24T17:04:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364719">
    <title>Re: On Green Shoes, do we have a broken arrow?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364719</link>
    <description>&lt;pre&gt;Thank you for your reply.

Actually, an image of a broken arrow is fine. Thank you for the suggestion.

Where can I find a copy of the manual for green-shoes?
Also, what's the difference between green-shoes and the non green-shoes? Or
please point to a url where I can read about it.

Thank you for your help




On Fri, May 24, 2013 at 11:35 AM, Sebastjan H. &amp;lt;lists&amp;lt; at &amp;gt;ruby-forum.com&amp;gt; wrote:



&lt;/pre&gt;</description>
    <dc:creator>Ruby Student</dc:creator>
    <dc:date>2013-05-24T16:38:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364718">
    <title>Re: On Green Shoes, do we have a broken arrow?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364718</link>
    <description>&lt;pre&gt;Off the top of my head, would it suite you to use an image of a broken 
arrow?

regards
seba

&lt;/pre&gt;</description>
    <dc:creator>Sebastjan H.</dc:creator>
    <dc:date>2013-05-24T15:35:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364717">
    <title>Re: On Green Shoes, do we have a broken arrow?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364717</link>
    <description>&lt;pre&gt;I forgot to mention I get the same error if I run your code, but the one 
from the green shoes manual works fine.

regards
seba

&lt;/pre&gt;</description>
    <dc:creator>Sebastjan H.</dc:creator>
    <dc:date>2013-05-24T15:28:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364716">
    <title>Re: On Green Shoes, do we have a broken arrow?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364716</link>
    <description>&lt;pre&gt;Sebastjan H. wrote in post #1110047:

 use rect instead of line unless someone has a better idea...
regards
seba

&lt;/pre&gt;</description>
    <dc:creator>Sebastjan H.</dc:creator>
    <dc:date>2013-05-24T14:23:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364715">
    <title>[ANN] TeamCity Ruby Client Released 0.3.0</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364715</link>
    <description>&lt;pre&gt;teamcity-ruby-client version 0.3.0 has been released!

* home: &amp;lt;https://github.com/jperry/teamcity-ruby-client.git&amp;gt;
* rubydoc: &amp;lt;http://rubydoc.info/gems/teamcity-ruby-client/TeamCity&amp;gt;
* rubygems: &amp;lt;https://rubygems.org/gems/teamcity-ruby-client&amp;gt;
* teamcity: &amp;lt;http://www.jetbrains.com/teamcity/&amp;gt;
* teamcity-rest-api:
&amp;lt;http://confluence.jetbrains.com/display/TW/REST+API+Plugin&amp;gt;

teamcity-ruby-client is a ruby wrapper around the TeamCity rest api.
Using this client to fetch information from your TeamCity server has
never been easier.  It uses the Hashie library to simplify extracting a
field value from a returned result.

Changes:

### 0.3.0 / 2013-05-23

* Loosen up dependency requirement on the version of builder (Conflicted
with transitive dependencies of rails 3.2.13)
* Added 'delete_buildtype' to the API (Provides the ability to delete a
build configuration)
* Added 'set_build_step_field' to the API (Provides the ability to set a
build step field, i.e. enable/disable a build step)

&lt;/pre&gt;</description>
    <dc:creator>Jay P.</dc:creator>
    <dc:date>2013-05-24T14:19:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364714">
    <title>Re: On Green Shoes, do we have a broken arrow?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364714</link>
    <description>&lt;pre&gt;Sebastjan H. wrote in post #1110046:
my bad, you need a broken arrow...
maybe if you combine it with line? I haven't tried it yet though...

&lt;/pre&gt;</description>
    <dc:creator>Sebastjan H.</dc:creator>
    <dc:date>2013-05-24T14:02:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364713">
    <title>Re: On Green Shoes, do we have a broken arrow?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364713</link>
    <description>&lt;pre&gt;hi,

refer to the manual under art: 
http://ashbb.github.io/green_shoes/Art.html

There you have:

 Shoes.app do
   para 'An arrow shape:', left: 20, top: 10
   arrow 30, 40, 70
 end

kind regards
seba
love shoes!

&lt;/pre&gt;</description>
    <dc:creator>Sebastjan H.</dc:creator>
    <dc:date>2013-05-24T13:59:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364712">
    <title>On Green Shoes, do we have a broken arrow?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364712</link>
    <description>&lt;pre&gt;Team,

I copied the code listed below and attempted to run it. It crashes with the
following messages.

ruby arrow000.rb
/usr/local/lib/ruby/gems/1.9.1/gems/green_shoes-1.1.374/lib/shoes/app.rb:625:in
`block in arrow': undefined method `*' for nil:NilClass (NoMethodError)
    from
/usr/local/lib/ruby/gems/1.9.1/gems/green_shoes-1.1.374/lib/shoes/app.rb:569:in
`instance_eval'
    from
/usr/local/lib/ruby/gems/1.9.1/gems/green_shoes-1.1.374/lib/shoes/app.rb:569:in
`block in shapebase'
    from
/usr/local/lib/ruby/gems/1.9.1/gems/green_shoes-1.1.374/lib/shoes/app.rb:573:in
`call'
    from
/usr/local/lib/ruby/gems/1.9.1/gems/green_shoes-1.1.374/lib/shoes/app.rb:573:in
`shapebase'
    from
/usr/local/lib/ruby/gems/1.9.1/gems/green_shoes-1.1.374/lib/shoes/app.rb:593:in
`shape'
    from
/usr/local/lib/ruby/gems/1.9.1/gems/green_shoes-1.1.374/lib/shoes/app.rb:624:in
`arrow'
    from arrow000.rb:12:in `block in &amp;lt;main&amp;gt;'
    from
/usr/local/lib/ruby/gems/1.9.1/gems/green_shoes-1.1.374/lib/shoes/main.rb:98:in
`instance_&lt;/pre&gt;</description>
    <dc:creator>Ruby Student</dc:creator>
    <dc:date>2013-05-24T13:29:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364711">
    <title>Re: Learning and stuck `OpenStruct` standard library of Ruby</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364711</link>
    <description>&lt;pre&gt;
On 2013-05-24, at 6:44 AM, Love U Ruby &amp;lt;lists&amp;lt; at &amp;gt;ruby-forum.com&amp;gt; wrote:


You might be able to help yourself by using a tool like pry http://pryrepl.org to look at the variables and source.  For example

ratdog:~ mike$ pry
[1] pry(main)&amp;gt; require 'ostruct'
=&amp;gt; false
[2] pry(main)&amp;gt;
[3] pry(main)&amp;gt; person = OpenStruct.new
=&amp;gt; #&amp;lt;OpenStruct&amp;gt;
[4] pry(main)&amp;gt; person.name    = "John Smith"
=&amp;gt; "John Smith"
[5] pry(main)&amp;gt; person.age     = 70
=&amp;gt; 70
[6] pry(main)&amp;gt; person.pension = 300
=&amp;gt; 300
[7] pry(main)&amp;gt; person
=&amp;gt; #&amp;lt;OpenStruct name="John Smith", age=70, pension=300&amp;gt;
[8] pry(main)&amp;gt; cd person
[9] pry(#&amp;lt;OpenStruct&amp;gt;):1&amp;gt; $ to_s

From: /Users/mike/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/ostruct.rb &amp;lt; at &amp;gt; line 232:
Owner: OpenStruct
Visibility: public
Number of lines: 21

def inspect
  str = "#&amp;lt;#{self.class}"

  ids = (Thread.current[InspectKey] ||= [])
  if ids.include?(object_id)
    return str &amp;lt;&amp;lt; ' ...&amp;gt;'
  end

  ids &amp;lt;&amp;lt; object_id
  begin
    first = true
    for k,v in &amp;lt; at &amp;gt;table
      str &amp;lt;&amp;lt; "," unless first
      first = false
      s&lt;/pre&gt;</description>
    <dc:creator>Mike Stok</dc:creator>
    <dc:date>2013-05-24T11:49:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364710">
    <title>Learning and stuck `OpenStruct` standard library of Ruby</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364710</link>
    <description>&lt;pre&gt;Hi,

I was learning Ruby's standard library `OpenStruct`. And doing so,out of
curiosity wrote the below code:

require 'ostruct'

person = OpenStruct.new
person.name    = "John Smith"
person.age     = 70
person.pension = 300

p person.instance_variables #=&amp;gt; [:&amp;lt; at &amp;gt;table, :&amp;lt; at &amp;gt;modifiable]

Now my question is - Where the above 2 instance variables have been
defined? What are their uses.

On the same not I also not able to understand the method `#modifiable`.
(http://www.ruby-doc.org/stdlib-2.0/libdoc/ostruct/rdoc/OpenStruct.html#method-i-modifiable).

Can any one help me to understand the same?

&lt;/pre&gt;</description>
    <dc:creator>Love U Ruby</dc:creator>
    <dc:date>2013-05-24T10:44:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364709">
    <title>Re: Regular expression to find a break in a pattern</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364709</link>
    <description>&lt;pre&gt;Excellent! I tried negatives using (?!\1) before but I couldn't get them 
to work. Thanks for the help.

&lt;/pre&gt;</description>
    <dc:creator>Joel Pearson</dc:creator>
    <dc:date>2013-05-24T10:43:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364708">
    <title>Re: RubyInstaller 2.0.0-p195 released</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364708</link>
    <description>&lt;pre&gt;Hi,

2013/5/24 Jabari Z. &amp;lt;lists&amp;lt; at &amp;gt;ruby-forum.com&amp;gt;:
The terms 32-bit and 64-bit refer to the way a computer's processor
(also called a CPU), handles information. The 64-bit version of
Windows handles large amounts of random access memory (RAM) more
effectively than a 32-bit system[1]

Win 64 is usually SLOWER than Win 32, because every instruction and
every piece of data has to be loaded in a larger chunk, and access to
RAM is a bottleneck. Win 64 will be faster only when large amounts of
consecutive data need to be read, such as in heavy graphics
applications, video editing etc.[2]

Refer to
1. http://windows.microsoft.com/en-id/windows7/32-bit-and-64-bit-windows-frequently-asked-questions
2. http://www.makeuseof.com/tag/difference-32-bit-64-bit-windows/

Regards,
Park Heesob


&lt;/pre&gt;</description>
    <dc:creator>Heesob Park</dc:creator>
    <dc:date>2013-05-24T05:09:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364707">
    <title>Re: RubyInstaller 2.0.0-p195 released</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364707</link>
    <description>&lt;pre&gt;Heesob Park wrote in post #1109662:

So what is the effective difference between what you can/can't do with 
the 64-bit version versus 32-bits? Greater memory space, etc?

I want to do math with large numbers and assumed the 64-bit version 
would be faster for large numbers, but is that assumption true?

&lt;/pre&gt;</description>
    <dc:creator>Jabari Z.</dc:creator>
    <dc:date>2013-05-24T04:42:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364706">
    <title>Re: Regular expression to find a break in a pattern</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364706</link>
    <description>&lt;pre&gt;

Here is a regex that works for your example data.

text = '
To: "1313131"
From: "1313131"
random data lines

To: "1313132"
From: "1313132"
random data lines

To: "1313133"
From: "1313132"
random data lines

To: "1313134"
From: "1313134"
random data lines

To: "abc"
From: "def"
random data lines
'

regex = /To: "(.*?)"\nFrom: "(?!\1)(.*?)"$/

text.scan(regex)  # =&amp;gt; [["1313133", "1313132"], ["abc", "def"]]
&lt;/pre&gt;</description>
    <dc:creator>Josh Cheek</dc:creator>
    <dc:date>2013-05-24T04:38:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.general/364705">
    <title>Re: Regular expression to find a break in a pattern</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.general/364705</link>
    <description>&lt;pre&gt;You can do you regex test against both contexts ^To: and ^From: and
use post_match to reveal the contents after:

http://ruby-doc.org/core-2.0/MatchData.html#method-i-post_match

~Stu


&lt;/pre&gt;</description>
    <dc:creator>Stu</dc:creator>
    <dc:date>2013-05-23T22:53:00</dc:date>
  </item>
  <textinput rdf: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>
