# Latest

**URL:** https://www.ruby-forum.com/latest.md?page=475

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 476

---

## [\[ruby-trunk - Bug #9287\]\[Assigned\] 'rb\_obj\_write' discards qualifiers from pointer target type](https://www.ruby-forum.com/t/ruby-trunk-bug-9287-assigned-rb-obj-write-discards-qualifiers-from-pointer-target-type/238201)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 24, 2013, 4:18am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-9287-assigned-rb-obj-write-discards-qualifiers-from-pointer-target-type/238201 "2013-12-24T04:18:31Z")

</div>

Issue #9287 has been reported by naruse (Yui NARUSE). Bug #9287: ‘rb\_obj\_write’ discards qualifiers from pointer target type Author: naruse (Yui NARUSE) Status: Assigned Priority: Normal Assignee: ko1 (Koichi Sasa…

---

## [Fixnum #hash all odd or all even](https://www.ruby-forum.com/t/fixnum-hash-all-odd-or-all-even/238207)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 24, 2013, 1:02am UTC](https://www.ruby-forum.com/t/fixnum-hash-all-odd-or-all-even/238207 "2013-12-24T01:02:43Z")

</div>

(0…1000000).map { |i| i.hash % 2 }.uniq The above code will either return \[1\] or \[0\] (it changes when you close and restart IRB, though a return of \[0\] seems far more common than \[1\]). Can confirm this to happen on Ru…

---

## [A Couple Questions](https://www.ruby-forum.com/t/a-couple-questions/238206)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 24, 2013, 12:53am UTC](https://www.ruby-forum.com/t/a-couple-questions/238206 "2013-12-24T00:53:46Z")

</div>

I have a data file that was recorded to a RAMDisk and transferred to the hard drive on my Linux machine. When I run it through a throttle, a filter, and into an FFT, the file repeats. When I was running it off the RA…

---

## [Is there better way to replace these case statement?](https://www.ruby-forum.com/t/is-there-better-way-to-replace-these-case-statement/238171)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 21\
**Last updated:** [December 24, 2013, 12:16am UTC](https://www.ruby-forum.com/t/is-there-better-way-to-replace-these-case-statement/238171 "2013-12-24T00:16:58Z")

</div>

Is there better way to replace these case statement? case cmd when /^Astro$/ toolName = ‘astro’ when /^core/ toolName = 'coretools' when /^(fm\_shell|formality)$/ toolName = 'fm' …

---

## [Ruby Interpreter Usage](https://www.ruby-forum.com/t/ruby-interpreter-usage/238198)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 8\
**Last updated:** [December 23, 2013, 11:48pm UTC](https://www.ruby-forum.com/t/ruby-interpreter-usage/238198 "2013-12-23T23:48:33Z")

</div>

I need to have an overview about the current and future state of Ruby interpreters, so I have some questions: What is the most used interpreter currently? I think its YARV since it's the official interpreter sinc…

---

## [Trying to make make an array of all different combinations of a string and running into fibonacci](https://www.ruby-forum.com/t/trying-to-make-make-an-array-of-all-different-combinations-of-a-string-and-running-into-fibonacci/238186)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [December 23, 2013, 11:39pm UTC](https://www.ruby-forum.com/t/trying-to-make-make-an-array-of-all-different-combinations-of-a-string-and-running-into-fibonacci/238186 "2013-12-23T23:39:11Z")

</div>

I am trying to make an array of all different combinations of a string. The minimum amount of chars in the output string must be two. # Example string. But what if string is n chars long though? s = "string" What I t…

---

## [\[ANN\] Missoula Ruby on Rails Group Meeting](https://www.ruby-forum.com/t/ann-missoula-ruby-on-rails-group-meeting/105930)

<div class="topic-metadata">

**Author:** [@jon](https://www.ruby-forum.com/u/jon)\
**Replies:** 1\
**Last updated:** [December 23, 2013, 9:21pm UTC](https://www.ruby-forum.com/t/ann-missoula-ruby-on-rails-group-meeting/105930 "2013-12-23T21:21:53Z")

</div>

It’s a new month, and that means another meeting of the Missoula Ruby and Ruby on Rails Users Group. As usual, we’ll gather at a table in the back half of Sean Kelly’s, tomorrow June 5th, at 6:00pm. http://groups.go…

---

## [OOT enums](https://www.ruby-forum.com/t/oot-enums/238153)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [December 23, 2013, 7:31pm UTC](https://www.ruby-forum.com/t/oot-enums/238153 "2013-12-23T19:31:20Z")

</div>

I am trying to access a C++ enumeration within an OOT module from a python instance of my OOT. When I try to run my python code it cannot find the enumeration. My OOT module is called pll\_freq\_phase\_det\_cf and is in…

---

## [Re: Gnuradio 3.7.2 Windows?](https://www.ruby-forum.com/t/re-gnuradio-3-7-2-windows/238205)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 23, 2013, 6:46pm UTC](https://www.ruby-forum.com/t/re-gnuradio-3-7-2-windows/238205 "2013-12-23T18:46:22Z")

</div>

Has anyone actually managed to successfully install and run the latest gnuradio in Windows 7 based on these http://code.ettus.com/redmine/ettus/projects/uhd/wiki/GNURadio\_Windows instructions? I don’t believe this pa…

---

## [Double quote in url causes URI.parse to raise URI::InvalidURIError](https://www.ruby-forum.com/t/double-quote-in-url-causes-uri-parse-to-raise-uri-invalidurierror/238160)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [December 23, 2013, 5:15pm UTC](https://www.ruby-forum.com/t/double-quote-in-url-causes-uri-parse-to-raise-uri-invalidurierror/238160 "2013-12-23T17:15:28Z")

</div>

I’m not sure if this is desired behavior or not, but when I pass a url with double quotes in it to URI.parse, it rasies URI::InvalidURIError (bad URI(is not URI?). It appears that (at least some) browsers load a websi…

---

## [\[ruby-trunk - Bug #9236\]\[Open\] include + include + alias\_method + super behaviour inconsistency betw](https://www.ruby-forum.com/t/ruby-trunk-bug-9236-open-include-include-alias-method-super-behaviour-inconsistency-betw/237989)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 7\
**Last updated:** [December 23, 2013, 2:59pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-9236-open-include-include-alias-method-super-behaviour-inconsistency-betw/237989 "2013-12-23T14:59:08Z")

</div>

Issue #9236 has been reported by matsuda (Akira M.). Bug #9236: include + include + alias\_method + super behaviour inconsistency between 1.9 and 2.0 Author: matsuda (Akira M.) Status: Open Priority: Normal Assign…

---

## [Iterating a complex data structure](https://www.ruby-forum.com/t/iterating-a-complex-data-structure/238185)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [December 23, 2013, 2:11pm UTC](https://www.ruby-forum.com/t/iterating-a-complex-data-structure/238185 "2013-12-23T14:11:48Z")

</div>

Hi, I’m new to the list and new to ruby. I have an data like so: stuff = \[ { name: foo, tags: { one: blah, two: blah } }, etc \] I’m iterating like so: stuff.each do |h| name = h\[:name\] tags = h\[:tags\] … end Is …

---

## [Windows install guide from Ettus Research: missing important note](https://www.ruby-forum.com/t/windows-install-guide-from-ettus-research-missing-important-note/237503)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [December 23, 2013, 12:54pm UTC](https://www.ruby-forum.com/t/windows-install-guide-from-ettus-research-missing-important-note/237503 "2013-12-23T12:54:42Z")

</div>

Current guide (http://code.ettus.com/redmine/ettus/projects/uhd/wiki/GNURadio\_Windows) missed one important note, which is non-trivial and cause such unexperienced users as me to waste a lot of time and nerves fighti…

---

## [Redirect loop in combination with https and apache](https://www.ruby-forum.com/t/redirect-loop-in-combination-with-https-and-apache/238203)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 23, 2013, 11:07am UTC](https://www.ruby-forum.com/t/redirect-loop-in-combination-with-https-and-apache/238203 "2013-12-23T11:07:44Z")

</div>

Hi, We have a setup with tomcat/apache and nginx. When a redirect occurs from the application from https to http, the nginx gets trapped in a redirect loop. In the apache configuration we have this setting: Expire…

---

## [How can i use 'default\_proc' in this code to get same output?](https://www.ruby-forum.com/t/how-can-i-use-default-proc-in-this-code-to-get-same-output/238200)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 23, 2013, 10:08am UTC](https://www.ruby-forum.com/t/how-can-i-use-default-proc-in-this-code-to-get-same-output/238200 "2013-12-23T10:08:52Z")

</div>

\#!/usr/bin/ruby list={“a”=\>1,“b”=\>2,“c”=\>3,“d”=\>4} #Here, I like to use ‘default\_proc’ my\_hash=Hash.new{ |h,k| h\[k\]=Hash.new(&h.default\_proc) } my\_hash\[101\]\[1012\]=list my\_hash\[103\]\[1312\]={“ms”=\>100,“ss”=\>22,“hing”=\>4…

---

## [Iterate the Hash\_in\_hash](https://www.ruby-forum.com/t/iterate-the-hash-in-hash/238166)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 23, 2013, 7:50am UTC](https://www.ruby-forum.com/t/iterate-the-hash-in-hash/238166 "2013-12-23T07:50:21Z")

</div>

\#we know that way to create hash\_in\_hash h=Hash.new{ |h,k| h\[k\]=Hash.new(&h.default\_proc) } #it reduce time to create both internal and external hashes. #consider, hash={h1=\>{h1h=\>{w1=\>k1,w2=\>k2,…}},…,h5=\>{h5h=\>{…}} #…

---

## [Redirect loop fixed, I need a better rule format](https://www.ruby-forum.com/t/redirect-loop-fixed-i-need-a-better-rule-format/238197)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 23, 2013, 7:14am UTC](https://www.ruby-forum.com/t/redirect-loop-fixed-i-need-a-better-rule-format/238197 "2013-12-23T07:14:03Z")

</div>

Hello everyone, I have a little problem on hand, related to redirect loop for a specific location: server { listen 192.168.1.2:443 spdy ssl default\_server; … location ^~ /alpha { return 301 https://www.domain.com$…

---

## [Need help to pick up the live objects while using ObjectSpace#each\_object](https://www.ruby-forum.com/t/need-help-to-pick-up-the-live-objects-while-using-objectspace-each-object/238167)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 23, 2013, 6:33am UTC](https://www.ruby-forum.com/t/need-help-to-pick-up-the-live-objects-while-using-objectspace-each-object/238167 "2013-12-23T06:33:23Z")

</div>

I wrote the code below : class Animal attr\_reader :number def initialize(name, number) @name = name @number = number end def self.all\_numbers ObjectSpace.each\_object(self).map(&:number) end end an1 = Animal.ne…

---

## [Irust 1.0.0: a REPL for the Rust programming language (powered by Ruby)](https://www.ruby-forum.com/t/irust-1-0-0-a-repl-for-the-rust-programming-language-powered-by-ruby/238194)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 22, 2013, 9:35pm UTC](https://www.ruby-forum.com/t/irust-1-0-0-a-repl-for-the-rust-programming-language-powered-by-ruby/238194 "2013-12-22T21:35:01Z")

</div>

iRust is an interactive Rust REPL, i.e. a Read Eval Print loop which lets you type some code into a prompt and see it evaluated before your eyes: It’s installable as a RubyGem. Detailed installation instructions are …

---

## [Services running on gnuradio.org have been upgraded](https://www.ruby-forum.com/t/services-running-on-gnuradio-org-have-been-upgraded/238190)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [December 22, 2013, 8:49pm UTC](https://www.ruby-forum.com/t/services-running-on-gnuradio-org-have-been-upgraded/238190 "2013-12-22T20:49:27Z")

</div>

Discuss-gnuradio mailing list removed\_email\_address@domain.invalid https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

---

## [Trying to understand fastcgi](https://www.ruby-forum.com/t/trying-to-understand-fastcgi/238193)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 22, 2013, 6:14pm UTC](https://www.ruby-forum.com/t/trying-to-understand-fastcgi/238193 "2013-12-22T18:14:04Z")

</div>

I was trying to understand the fastcgi forwarding. The example shows: server { server\_name .website.com; listen 80; root /home/website/www; index index.html; location / { fastcgi\_pass 127.0.0.1:9000; fastcgi\_para…

---

## [Remove and merge duplicates in a CSV file](https://www.ruby-forum.com/t/remove-and-merge-duplicates-in-a-csv-file/238192)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 22, 2013, 6:02pm UTC](https://www.ruby-forum.com/t/remove-and-merge-duplicates-in-a-csv-file/238192 "2013-12-22T18:02:47Z")

</div>

The data set has duplicate records. There can be more than one duplicate for the same contact. How do I remove duplicate records, and build a single record for each name with maximum possible fields. Sample input fil…

---

## [How to best use new GR features for TDMA systems?](https://www.ruby-forum.com/t/how-to-best-use-new-gr-features-for-tdma-systems/238152)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [December 22, 2013, 5:26pm UTC](https://www.ruby-forum.com/t/how-to-best-use-new-gr-features-for-tdma-systems/238152 "2013-12-22T17:26:46Z")

</div>

Hi, So I’ve wanted for a while to use GR more for TDMA systems I’m working with like GSM and GMR and I’m having a bit of trouble figuring out what the best way to do that. Back when I started osmo-gmr, GR didn’t have…

---

## [Nginx-1.5.8](https://www.ruby-forum.com/t/nginx-1-5-8/238106)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 8\
**Last updated:** [December 22, 2013, 4:12pm UTC](https://www.ruby-forum.com/t/nginx-1-5-8/238106 "2013-12-22T16:12:35Z")

</div>

Changes with nginx 1.5.8 17 Dec 2013 \*) Feature: IPv6 support in resolver. \*) Feature: the "listen" directive supports the "fastopen" parameter. Thanks to Mathew Rodley. \*) …

---

## [Ruby\_2\_1 branch backport policy](https://www.ruby-forum.com/t/ruby-2-1-branch-backport-policy/238177)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 22, 2013, 3:27am UTC](https://www.ruby-forum.com/t/ruby-2-1-branch-backport-policy/238177 "2013-12-22T03:27:27Z")

</div>

Hi, I created ruby\_2\_1 branch. The current backport policy is “release manager’s backport only”. No backports are allowd except release manager’s. If you have issues to backport, create a ticket on Backport21. than…

---

## [Rails server not starting and giving error messages](https://www.ruby-forum.com/t/rails-server-not-starting-and-giving-error-messages/238163)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 14\
**Last updated:** [December 21, 2013, 10:58pm UTC](https://www.ruby-forum.com/t/rails-server-not-starting-and-giving-error-messages/238163 "2013-12-21T22:58:01Z")

</div>

My current ruby version is ruby 2.0.0p247 (2013-06-27 revision 41674) \[x86\_64-darwin13.0.0\] and rails version is 4.0.0 Every time I run any rails command I get following message first: /Users/aniruddhabarapatre1/.rvm/…

---

## [I am getting following error while running the rails s](https://www.ruby-forum.com/t/i-am-getting-following-error-while-running-the-rails-s/238189)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 21, 2013, 9:57pm UTC](https://www.ruby-forum.com/t/i-am-getting-following-error-while-running-the-rails-s/238189 "2013-12-21T21:57:48Z")

</div>

\[WARNING\] Please install gem ‘therubyracer’ to use Less. C:/Users/srinisen/Documents/aptana\_studio\_workspace/HEI/vendor/bundle/ruby/1.9.1 /gems/activesupport-3.2.16/lib/active\_support/dependencies.rb:251:in require': …

---

## [Ifelse 0.6.0 Released](https://www.ruby-forum.com/t/ifelse-0-6-0-released/238112)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 9\
**Last updated:** [December 21, 2013, 9:54pm UTC](https://www.ruby-forum.com/t/ifelse-0-6-0-released/238112 "2013-12-21T21:54:52Z")

</div>

ifelse version 0.6.0 has been released! https://github.com/jimwise/ifelse \<Author:: Jim W. (mailto:removed\_email\_address@domain.invalid)\> \<Copyright:: Copyright (c) 2013 Jim W.\> \<License:: 2-clause BSD-Style (see…

---

## [Example programs](https://www.ruby-forum.com/t/example-programs/237444)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 21, 2013, 6:50pm UTC](https://www.ruby-forum.com/t/example-programs/237444 "2013-12-21T18:50:41Z")

</div>

I am having trouble downloading example programs. I would appreciate if someone could send any, especially mditest.rb, the Tyger one. Thanks, Bart

---

## [Auguri di un sereno Natale e lontano da FondaMente SrL (Venezia o Padova che sia)](https://www.ruby-forum.com/t/auguri-di-un-sereno-natale-e-lontano-da-fondamente-srl-venezia-o-padova-che-sia/238187)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 21, 2013, 5:36pm UTC](https://www.ruby-forum.com/t/auguri-di-un-sereno-natale-e-lontano-da-fondamente-srl-venezia-o-padova-che-sia/238187 "2013-12-21T17:36:41Z")

</div>

Auguri di un sereno Natale a tutti voi della Comunuty Ruby (on Rails) Italia e… …e un auguro speciale di trovare un lavoro/stage in questo 2014. Ricordate di stare lontano da FondaMente SrL http://it.indeed.com/offer…

[Previous page](https://www.ruby-forum.com/latest.md?page=474)

[Next page](https://www.ruby-forum.com/latest.md?page=476)
