# Latest

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

[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:** 511

---

## [\[WSR'14\] Call for Papers: 8th Karlsruhe Workshop on Software Radios](https://www.ruby-forum.com/t/wsr14-call-for-papers-8th-karlsruhe-workshop-on-software-radios/237182)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [October 28, 2013, 6:33pm UTC](https://www.ruby-forum.com/t/wsr14-call-for-papers-8th-karlsruhe-workshop-on-software-radios/237182 "2013-10-28T18:33:35Z")

</div>

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

---

## [Custom\_require.rb](https://www.ruby-forum.com/t/custom-require-rb/237176)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 10\
**Last updated:** [October 28, 2013, 6:31pm UTC](https://www.ruby-forum.com/t/custom-require-rb/237176 "2013-10-28T18:31:49Z")

</div>

I’ve been tryng to duplicate an ancient Ruby 1.86 Rails 2.3.2 app on a brand new Linux box (over from a windows box) and have, under rpm, recreated all the gems with their corret versions. However, when I go to invoke …

---

## [Cucumber+Ruby+Watir variables scope?](https://www.ruby-forum.com/t/cucumber-ruby-watir-variables-scope/237180)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [October 28, 2013, 5:50pm UTC](https://www.ruby-forum.com/t/cucumber-ruby-watir-variables-scope/237180 "2013-10-28T17:50:43Z")

</div>

I’m using Cucumber+Watir to write few tests on google url. Following is my folder structure: ├── features │ ├── pages │ │–shaik\_home\_page.rb │ │ ├── step\_definitions │ │ └── example\_steps.rb │ | │—…

---

## [Qwt version](https://www.ruby-forum.com/t/qwt-version/237144)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [October 28, 2013, 5:12pm UTC](https://www.ruby-forum.com/t/qwt-version/237144 "2013-10-28T17:12:54Z")

</div>

Hi, all! Should the latest version of gnuradio already build against qwt6.1 ? The FindQwt.cmake script suggests this. – Volker

---

## [How does top level method is being called Inside the block with instance\_eval?](https://www.ruby-forum.com/t/how-does-top-level-method-is-being-called-inside-the-block-with-instance-eval/237178)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [October 28, 2013, 5:12pm UTC](https://www.ruby-forum.com/t/how-does-top-level-method-is-being-called-inside-the-block-with-instance-eval/237178 "2013-10-28T17:12:18Z")

</div>

Hi, Follow the code below : class Foo def initialize @var = 1 end private def bar 11 end end p foo = Foo.new # #\<Foo:0x1fc41f0 @var=1\> def baz;13;end foo.instance\_eval do p self # #\<Foo:0x1fc41f0 @var=1\> p…

---

## [Keep CSS style while state change](https://www.ruby-forum.com/t/keep-css-style-while-state-change/237108)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [October 28, 2013, 4:28pm UTC](https://www.ruby-forum.com/t/keep-css-style-while-state-change/237108 "2013-10-28T16:28:26Z")

</div>

Hi, I have some buttons with images, where I have changed the style with CSS. When I now change the state of the button from sensitive to insensitive, the image in the button get the default theme style. That is obvi…

---

## [First proper build - missing blocks](https://www.ruby-forum.com/t/first-proper-build-missing-blocks/237174)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [October 28, 2013, 3:24pm UTC](https://www.ruby-forum.com/t/first-proper-build-missing-blocks/237174 "2013-10-28T15:24:10Z")

</div>

Sorry but this is a very newbie question. I tried to get GR up and running many years ago when Fedora 8 was new! I then tried a couple of times to get it going on windows - I got some blocks up but could not move or …

---

## [Executable-hooks](https://www.ruby-forum.com/t/executable-hooks/237166)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [October 28, 2013, 2:09pm UTC](https://www.ruby-forum.com/t/executable-hooks/237166 "2013-10-28T14:09:59Z")

</div>

I installed rvm, then, with rvm, installed ruby 1.8.6. when i do : gem list -d /home/user/.rvm/gems/ruby-1.8.6-p420@global/gems/executable-hooks-1.2.6/lib/executable-hooks/regenerate\_binstubs\_command.rb:47: warning:…

---

## [Ruby Variable assignment](https://www.ruby-forum.com/t/ruby-variable-assignment/237170)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 8\
**Last updated:** [October 28, 2013, 2:05pm UTC](https://www.ruby-forum.com/t/ruby-variable-assignment/237170 "2013-10-28T14:05:30Z")

</div>

Hello, I want to assign my variable ‘a’ some value as follows: a = “:name, btnK” and use this variable ‘a’. when I do this and use the variable, I get error as “no implicit conversion of String into Hash”… Aprreciate…

---

## [Transmitted power control](https://www.ruby-forum.com/t/transmitted-power-control/237171)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [October 28, 2013, 12:57pm UTC](https://www.ruby-forum.com/t/transmitted-power-control/237171 "2013-10-28T12:57:42Z")

</div>

Hello, I’m new with GNU Radio, so probably this is a very stupid question. I’m trying to transmit a modulated signal through a RFX2400 and receive this signal with this same transceiver so I can test the blocks in GN…

---

## [Rewrite last using variable](https://www.ruby-forum.com/t/rewrite-last-using-variable/237165)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [October 28, 2013, 10:57am UTC](https://www.ruby-forum.com/t/rewrite-last-using-variable/237165 "2013-10-28T10:57:44Z")

</div>

Hi, consider the following simplified nginx config snippet: set $var “/url?par=val”; location = /a { rewrite ^ $var redirect; } location = /b { rewrite ^ $var last; } location = /url { proxy\_pass http://some\_ba…

---

## [How Rails component works with each other in background?](https://www.ruby-forum.com/t/how-rails-component-works-with-each-other-in-background/237169)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [October 28, 2013, 9:58am UTC](https://www.ruby-forum.com/t/how-rails-component-works-with-each-other-in-background/237169 "2013-10-28T09:58:04Z")

</div>

Hello All, Please let me know how components works with each other in background? For e.g How objects are called from controller to view ? what actions are performed in background? Please help me. Thanks in advance. …

---

## [Default alsa value with pulseaudio](https://www.ruby-forum.com/t/default-alsa-value-with-pulseaudio/237168)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [October 28, 2013, 5:49am UTC](https://www.ruby-forum.com/t/default-alsa-value-with-pulseaudio/237168 "2013-10-28T05:49:18Z")

</div>

hi, When using gnuradio with the default values \[1\] , the sound is fragmented when played with pulseaudio . Using the alsa device by name is acceptable, this not a best practice \[2\] multimode.py --ahw=hw:3,0 Changi…

---

## [Ext/openssl/ossl.o depends on thread\_pthread.h](https://www.ruby-forum.com/t/ext-openssl-ossl-o-depends-on-thread-pthread-h/237167)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [October 28, 2013, 4:50am UTC](https://www.ruby-forum.com/t/ext-openssl-ossl-o-depends-on-thread-pthread-h/237167 "2013-10-28T04:50:53Z")

</div>

make $B$N0MB84X78$rD4$Y$F5$$,$D$$$?$N$G$9$,!"(B ext/openssl/ossl.c $B$,(B thread\_native.h $B$r(B include $B$7$F$$$F!"(B $B$=$3$+$i\<j85$N4D6-$G$O(B thread\_pthread.h $B$r(B include $B$7$F$$$k$h$&$G$9!#(B $B$=$&$9$k$H!"…

---

## [HELP-understandable error](https://www.ruby-forum.com/t/help-understandable-error/237148)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 9\
**Last updated:** [October 28, 2013, 2:06am UTC](https://www.ruby-forum.com/t/help-understandable-error/237148 "2013-10-28T02:06:08Z")

</div>

Hello all, here is my method lines 85-92: def contenu(nb) @titre = @page.css(“tr”)\[nb.to\_i\].css(“h2”).css(“a”).text @lieu = @page.css(“tr”)\[nb.to\_i\].css(“a”).css(“p”)\[0\].text @prix = @page.css(“tr”)\[nb.to\_i\].css(“sp…

---

## [Can't install any of the three WMQ gems](https://www.ruby-forum.com/t/cant-install-any-of-the-three-wmq-gems/246374)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [October 28, 2013, 1:44am UTC](https://www.ruby-forum.com/t/cant-install-any-of-the-three-wmq-gems/246374 "2013-10-28T01:44:48Z")

</div>

Hello Team, I tried this on \*JRUBY \*forum first. But I want to expand my chances that someone might see this and help: My environment:jruby -v jruby 1.7.3 (1.9.3p385) 2013-02-21 dac429b on IBM J9 VM pap6470sr4fp1-2…

---

## [Mysql and mysql2 gem](https://www.ruby-forum.com/t/mysql-and-mysql2-gem/237162)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [October 28, 2013, 1:36am UTC](https://www.ruby-forum.com/t/mysql-and-mysql2-gem/237162 "2013-10-28T01:36:55Z")

</div>

Can someone please tell me what the difference is ? Thanks, RVc

---

## [Mime-types 2.0 Released](https://www.ruby-forum.com/t/mime-types-2-0-released/237164)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [October 28, 2013, 1:33am UTC](https://www.ruby-forum.com/t/mime-types-2-0-released/237164 "2013-10-28T01:33:59Z")

</div>

mime-types version 2.0 has been released! home: http://mime-types.rubyforge.org/ code: https://github.com/halostatue/mime-types/ bugs: https://github.com/halostatue/mime-types/issues rdoc: http://mime-types.rubyforg…

---

## [HttpLimitReqModule delivers "nginx/1.4.3" as a message for HTTP status code 429. Too generic!](https://www.ruby-forum.com/t/httplimitreqmodule-delivers-nginx-1-4-3-as-a-message-for-http-status-code-429-too-generic/237150)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 9\
**Last updated:** [October 28, 2013, 12:26am UTC](https://www.ruby-forum.com/t/httplimitreqmodule-delivers-nginx-1-4-3-as-a-message-for-http-status-code-429-too-generic/237150 "2013-10-28T00:26:14Z")

</div>

Hi, I’m doing this: limit\_req\_status 429; The module HttpLimitReqModule delivers “nginx/1.4.3” (at least with version 1.4.3) as a message for the HTTP status code 429. That is too generic and not useful at all. Wh…

---

## [Grabbing an integer out of an array](https://www.ruby-forum.com/t/grabbing-an-integer-out-of-an-array/237163)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [October 27, 2013, 11:18pm UTC](https://www.ruby-forum.com/t/grabbing-an-integer-out-of-an-array/237163 "2013-10-27T23:18:40Z")

</div>

class List @contacts = \[\] @id = 1000 def self.add\_contact(contact) contact.id = @id @contacts \<\< contact @id += 1 end So I have an id that gets attached to the contact with each entry to the array. Now i want to…

---

## [Various debugging info not shown (](https://www.ruby-forum.com/t/various-debugging-info-not-shown/237160)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [October 27, 2013, 10:18pm UTC](https://www.ruby-forum.com/t/various-debugging-info-not-shown/237160 "2013-10-27T22:18:52Z")

</div>

Hi, I am trying to debug handshakes and ticket reuse. Lot’s of debugging information is shown in my error\_log, but some info is skipped. Specifically, info from: /src/event/ngx\_event\_openssl.c. For example, ngx\_log\_d…

---

## [Problem with error\_rate block?](https://www.ruby-forum.com/t/problem-with-error-rate-block/237116)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [October 27, 2013, 6:43pm UTC](https://www.ruby-forum.com/t/problem-with-error-rate-block/237116 "2013-10-27T18:43:18Z")

</div>

I was trying to use the error\_rate block tonight, and noticed it seems to be throwing an error related to blocks.message\_from\_string. The following change to error\_rate.py seems to have fixed the issue: diff error\_r…

---

## [Un po' di Italia al Rails Rumble](https://www.ruby-forum.com/t/un-po-di-italia-al-rails-rumble/237134)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [October 27, 2013, 6:41pm UTC](https://www.ruby-forum.com/t/un-po-di-italia-al-rails-rumble/237134 "2013-10-27T18:41:32Z")

</div>

Ciao ragazzi, con grandissima sorpresa siamo arrivati noni! :smiley: Tra un po’ mi calmo e smetto di saltellare come una scolaretta, giuro! Ju –\* \*M.Sc. Ju Liu Twitter: @arkh4m http://twitter.com/arkh4m Card: h…

---

## [OFDM GRC Examples](https://www.ruby-forum.com/t/ofdm-grc-examples/237151)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [October 27, 2013, 5:40pm UTC](https://www.ruby-forum.com/t/ofdm-grc-examples/237151 "2013-10-27T17:40:47Z")

</div>

Hi all, I just updated the examples in gr-digital/examples/ofdm using the feedback I got the last couple of weeks. They’re in the current master, so if you want to check them out you probably need to git pull first. S…

---

## [Prep for release 3.7.2](https://www.ruby-forum.com/t/prep-for-release-3-7-2/237152)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [October 27, 2013, 5:32pm UTC](https://www.ruby-forum.com/t/prep-for-release-3-7-2/237152 "2013-10-27T17:32:01Z")

</div>

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

---

## [Help with a loop](https://www.ruby-forum.com/t/help-with-a-loop/237143)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [October 27, 2013, 3:31pm UTC](https://www.ruby-forum.com/t/help-with-a-loop/237143 "2013-10-27T15:31:22Z")

</div>

Hey I’m a noob at ruby so far but learning fast Basically how could I create a loop Instead of doing this : op1 = ((num1%100)/10) result1 = op1\*num2 puts “#{result1}” op2 = ((num1%1000)/100) result2 = op2\*num2 pu…

---

## [License of Ruby before 1.9.2](https://www.ruby-forum.com/t/license-of-ruby-before-1-9-2/237141)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [October 27, 2013, 3:24pm UTC](https://www.ruby-forum.com/t/license-of-ruby-before-1-9-2/237141 "2013-10-27T15:24:03Z")

</div>

Since 1.9.3, Ruby is licensed under the 2-clause BSD license instead of the GPL license. What about older versions? If they are not relicensed, how to relicense them?

---

## [Values and statements](https://www.ruby-forum.com/t/values-and-statements/237157)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [October 27, 2013, 11:03am UTC](https://www.ruby-forum.com/t/values-and-statements/237157 "2013-10-27T11:03:32Z")

</div>

Ruby has a peculiar behavior: eval(statement) will create it’s own scope and run the commands in that scope, while eval statement will run the commands in the global scope. I can assign something to, for example, put…

---

## [Is DBPSK Differential?](https://www.ruby-forum.com/t/is-dbpsk-differential/236910)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 27, 2013, 9:27am UTC](https://www.ruby-forum.com/t/is-dbpsk-differential/236910 "2013-10-27T09:27:47Z")

</div>

I am wondering if it is my understanding is wrong here. In my ongoing saga (I have been trying to get a flowgraph that worked in 3.6 working in 3.7.2 and it just wont) examining the bits out of the demodulator when fe…

---

## [Undefined method \`paginate' for #\<Class:0x567eb98\> in Rails Tutorial](https://www.ruby-forum.com/t/undefined-method-paginate-for-class-0x567eb98-in-rails-tutorial/237118)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [October 27, 2013, 5:18am UTC](https://www.ruby-forum.com/t/undefined-method-paginate-for-class-0x567eb98-in-rails-tutorial/237118 "2013-10-27T05:18:20Z")

</div>

Hi, I’m getting a undefined method \`paginate’ for #Class:0x567eb98 even though I have gem ‘will\_paginate’ installed. Inside the users\_controller I have @users = User.paginate(page: params\[:page \]) so I believe I se…

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

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