# Latest

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

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

---

## [Wx gui plots not redrawing](https://www.ruby-forum.com/t/wx-gui-plots-not-redrawing/235967)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [July 26, 2013, 6:57pm UTC](https://www.ruby-forum.com/t/wx-gui-plots-not-redrawing/235967 "2013-07-26T18:57:56Z")

</div>

I have a strange problem with my gnuradio on windows install. Basically the plots on the wx gui elements don’t redraw themselves. If I drag another window over the display or click back and forth between tabs (in cvsd…

---

## [OK, what am I doing wrong, here?](https://www.ruby-forum.com/t/ok-what-am-i-doing-wrong-here/235961)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [July 26, 2013, 5:51pm UTC](https://www.ruby-forum.com/t/ok-what-am-i-doing-wrong-here/235961 "2013-07-26T17:51:10Z")

</div>

I set up a Rails project, “belldev”, and http://dev.xxx.com/public/resolves to /home/xxx/public\_html/xxx/public/index.html But when I try to access a controller, I keep getting 404’s! For instance, pages\_controller.r…

---

## [Can we trace the location of DC of each subcarrier in ofdm example?](https://www.ruby-forum.com/t/can-we-trace-the-location-of-dc-of-each-subcarrier-in-ofdm-example/235965)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 26, 2013, 5:23pm UTC](https://www.ruby-forum.com/t/can-we-trace-the-location-of-dc-of-each-subcarrier-in-ofdm-example/235965 "2013-07-26T17:23:17Z")

</div>

Hi, guys Thanks in advance. I want to trace the residual freq. offset between sender and receiver after freq. offset correction by preamble. Hence, i need to know the exact location of Dc for each subcarrier? Is tha…

---

## [Problems with file sink block in grc](https://www.ruby-forum.com/t/problems-with-file-sink-block-in-grc/235946)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [July 26, 2013, 4:34pm UTC](https://www.ruby-forum.com/t/problems-with-file-sink-block-in-grc/235946 "2013-07-26T16:34:12Z")

</div>

Dear all, I have tested the file souce and file sink in grc: file source-- throttle— file sink The source file is a mp3 file withe the size 3.615.346 bytes The sink file is smaller (unbuffered off): 3.612.672 bytes …

---

## [\[ruby-trunk - Bug #8689\]\[Open\] REXML::StreamListener#entityが呼び出されない](https://www.ruby-forum.com/t/ruby-trunk-bug-8689-open-rexml-streamlistener-entity/235952)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 26, 2013, 4:26pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8689-open-rexml-streamlistener-entity/235952 "2013-07-26T16:26:00Z")

</div>

Issue #8689 has been reported by ohai (Ippei Obayashi). Bug #8689: REXML::StreamListener#entityが呼び出されない Author: ohai (Ippei Obayashi) Status: Open Priority: Normal Assignee: Category: lib Target version: ruby -…

---

## [Why do i get "no module named wxgui" error](https://www.ruby-forum.com/t/why-do-i-get-no-module-named-wxgui-error/235945)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 26, 2013, 4:19pm UTC](https://www.ruby-forum.com/t/why-do-i-get-no-module-named-wxgui-error/235945 "2013-07-26T16:19:34Z")

</div>

Hello, I am pretty new to gnu radio, trying to learn it asap and start developing apps. I am very interested in it. When i try to execute the usrp wfm receive python file i get the following error. Traceback (most r…

---

## [Help with Keepalive on NGINX](https://www.ruby-forum.com/t/help-with-keepalive-on-nginx/235964)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [July 26, 2013, 3:55pm UTC](https://www.ruby-forum.com/t/help-with-keepalive-on-nginx/235964 "2013-07-26T15:55:36Z")

</div>

Hi All, I am struggling to get keepalives to work on Nginx, I believe I have added the necessary configuration. Can you take a look and suggest where I may be going wrong or what I am missing? We have a nginx server …

---

## [Replace words using gsub](https://www.ruby-forum.com/t/replace-words-using-gsub/245881)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [July 26, 2013, 2:56pm UTC](https://www.ruby-forum.com/t/replace-words-using-gsub/245881 "2013-07-26T14:56:01Z")

</div>

New to ruby! Body is a string, i am using the code directly below. I am not quite understand what does |k| and K means. This code shows the error “undefined method \`default\_proc=’ for {“up”=\>“down”, “in”=\>“out”, “yo…

---

## [How to create structure like bellow](https://www.ruby-forum.com/t/how-to-create-structure-like-bellow/245890)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 7\
**Last updated:** [July 26, 2013, 12:40pm UTC](https://www.ruby-forum.com/t/how-to-create-structure-like-bellow/245890 "2013-07-26T12:40:19Z")

</div>

Hi… I need a structure like bellow , i know its not correct syntax, but just trying to give an idea so that i can get a correct answer … row value : a-z15a6=5 b-z15a6=4 a-z15a7=3 b-z15a7=3 … … a-z16af=3 I need…

---

## [Update nginx with Ubuntu PPA](https://www.ruby-forum.com/t/update-nginx-with-ubuntu-ppa/235885)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [July 26, 2013, 11:30am UTC](https://www.ruby-forum.com/t/update-nginx-with-ubuntu-ppa/235885 "2013-07-26T11:30:57Z")

</div>

I am upgrading nginx to latest 1.4.1 using PPA. repository. After install, do I need to restart it manually, or it is restarted automatically? Is reload enough for the nginx upgrade? Or do I need to restart or stop/s…

---

## [Ruby Developer Meeting Japan 2013-07-27](https://www.ruby-forum.com/t/ruby-developer-meeting-japan-2013-07-27/245826)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [July 26, 2013, 10:03am UTC](https://www.ruby-forum.com/t/ruby-developer-meeting-japan-2013-07-27/245826 "2013-07-26T10:03:54Z")

</div>

Hi, As I wrote in \[ruby-core:55689\], we have Ruby Developer Meeting Japan on 2013-07-27. If you have an agenda, prepare a slide and attach it to a Redmine ticket. See \[ruby-core:45474\] for its detail. The submissio…

---

## [Waiting for a file to appear](https://www.ruby-forum.com/t/waiting-for-a-file-to-appear/235956)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [July 26, 2013, 9:40am UTC](https://www.ruby-forum.com/t/waiting-for-a-file-to-appear/235956 "2013-07-26T09:40:50Z")

</div>

Having trouble finding a sound method that doesn’t break when waiting for a file to appear. My initial approach was this: while File.exists?( “filename” ) == false sleep( 5 ) end This worked for a while, but doesn’…

---

## [Listen directive](https://www.ruby-forum.com/t/listen-directive/235936)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [July 26, 2013, 6:33am UTC](https://www.ruby-forum.com/t/listen-directive/235936 "2013-07-26T06:33:20Z")

</div>

Hi. I’ve noticed that in configuratuion like http { server { server\_name some.domain.tld; listen 1.1.1.1; } server { server\_name another.domain.tld; listen 1.1.1.1; } server { server\_name one\_more.domain.tld …

---

## [Gras make error](https://www.ruby-forum.com/t/gras-make-error/235941)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [July 26, 2013, 6:25am UTC](https://www.ruby-forum.com/t/gras-make-error/235941 "2013-07-26T06:25:44Z")

</div>

Hi, I got the source code of gras using git,and I followed the instruction to install gras.But I got errors while making. /home/zg/Desktop/Codes/gras/gras/Theron/Include/External/boost/atomic/detail/gcc-x86.hpp: In f…

---

## [\[ruby-trunk - Bug #8675\]\[Assigned\] Add Readline.point=(pos)](https://www.ruby-forum.com/t/ruby-trunk-bug-8675-assigned-add-readline-point-pos/245859)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [July 26, 2013, 4:39am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8675-assigned-add-readline-point-pos/245859 "2013-07-26T04:39:58Z")

</div>

Issue #8675 has been reported by naruse (Yui NARUSE). Bug #8675: Add Readline.point=(pos) Author: naruse (Yui NARUSE) Status: Assigned Priority: Normal Assignee: kouji (Kouji T.) Category: ext Target version: cu…

---

## [User roles, authorisation, on specific projects](https://www.ruby-forum.com/t/user-roles-authorisation-on-specific-projects/245849)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [July 26, 2013, 4:11am UTC](https://www.ruby-forum.com/t/user-roles-authorisation-on-specific-projects/245849 "2013-07-26T04:11:21Z")

</div>

Hello, Currently I am working on a app, so far I have User (with devise) which are able to create projects. So, if user1 create project A and project B I want him, to be able to assign user2 with role admin on proje…

---

## [Lexeme 0.0.4 | Simple lexical analyzer](https://www.ruby-forum.com/t/lexeme-0-0-4-simple-lexical-analyzer/235960)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 26, 2013, 2:32am UTC](https://www.ruby-forum.com/t/lexeme-0-0-4-simple-lexical-analyzer/235960 "2013-07-26T02:32:00Z")

</div>

Hi everybody, As I’m working on a bigger project of mine and at one point I needed a lexical analyzer for a SQL-like language that I’m working on I created this gem. I hope some of you may find it useful. Here’s the …

---

## [Wordexp 1.0.0 - perform word expansion like a POSIX shell](https://www.ruby-forum.com/t/wordexp-1-0-0-perform-word-expansion-like-a-posix-shell/245904)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [July 26, 2013, 2:01am UTC](https://www.ruby-forum.com/t/wordexp-1-0-0-perform-word-expansion-like-a-posix-shell/245904 "2013-07-26T02:01:03Z")

</div>

From http://bogomips.org/ruby-wordexp/README This is a trivial C extension which allows access to the wordexp(3) POSIX function. See the wordexp(3) manpage for details. For implementations with a GVL (Global VM Lock)…

---

## [A possible bug in the UHD source block?](https://www.ruby-forum.com/t/a-possible-bug-in-the-uhd-source-block/235959)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 26, 2013, 1:28am UTC](https://www.ruby-forum.com/t/a-possible-bug-in-the-uhd-source-block/235959 "2013-07-26T01:28:19Z")

</div>

Hi, I am doing testing with UHD source block set to a frequency at the center of my band of interest. Previous testing with LO set to DC works very well. The spectrum at the band of interest looks nice and flat. The…

---

## [.spec file for 1.4.2 RPM](https://www.ruby-forum.com/t/spec-file-for-1-4-2-rpm/235953)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 25, 2013, 11:43pm UTC](https://www.ruby-forum.com/t/spec-file-for-1-4-2-rpm/235953 "2013-07-25T23:43:45Z")

</div>

Hi, can anyone point me to the RPM .spec file for the binary RHEL 6 RPM? I need to create a binary RPM in a certain context and look for a quick starting point. Jan

---

## [Question on using UHD Source Block to transmit accurate PM signal](https://www.ruby-forum.com/t/question-on-using-uhd-source-block-to-transmit-accurate-pm-signal/235955)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 25, 2013, 11:16pm UTC](https://www.ruby-forum.com/t/question-on-using-uhd-source-block-to-transmit-accurate-pm-signal/235955 "2013-07-25T23:16:18Z")

</div>

Hi, I would like to use the N210 LFTX daughterboard to transmit bi-phase modulated signal. The phase switching need to be done accurately in a real-time sense, that is, the switching times has to be as accurate as p…

---

## [Changing threshold values after x samples are collected](https://www.ruby-forum.com/t/changing-threshold-values-after-x-samples-are-collected/245869)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [July 25, 2013, 11:14pm UTC](https://www.ruby-forum.com/t/changing-threshold-values-after-x-samples-are-collected/245869 "2013-07-25T23:14:11Z")

</div>

Hello everyone. I have a script that does energy detection based on a threshold. Right now, I have an array of thresholds I want to test on a small step. All the values resulting from this may go into the same file, s…

---

## [New web server suggestions](https://www.ruby-forum.com/t/new-web-server-suggestions/245830)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 12\
**Last updated:** [July 25, 2013, 8:31pm UTC](https://www.ruby-forum.com/t/new-web-server-suggestions/245830 "2013-07-25T20:31:34Z")

</div>

I’ve been approved for a new Rails web server - any suggestions on hardware, OS & setup? Rob

---

## [Ruby newbie question on Methods (NoMethoderror)](https://www.ruby-forum.com/t/ruby-newbie-question-on-methods-nomethoderror/235943)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 9\
**Last updated:** [July 25, 2013, 6:21pm UTC](https://www.ruby-forum.com/t/ruby-newbie-question-on-methods-nomethoderror/235943 "2013-07-25T18:21:28Z")

</div>

I have recently started learning ruby and so I am writing a small little program that takes user input and display on screen. I am using Aptana Studio 3 as well. I am getting a small error that says the following: C:…

---

## [Re: FPGA image burning error](https://www.ruby-forum.com/t/re-fpga-image-burning-error/235951)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 25, 2013, 6:16pm UTC](https://www.ruby-forum.com/t/re-fpga-image-burning-error/235951 "2013-07-25T18:16:00Z")

</div>

Hi Thanks for the suggestion. I could burn the images finally after renaming the file to u2plus\_usrp\_n200\_r4\_fpga.bin and using ./usrp\_n2xx\_net\_burner\_gui.py –dont-check-rev (It was showing error even with u2plus\_r4…

---

## [Rails migration generation with options or defaults](https://www.ruby-forum.com/t/rails-migration-generation-with-options-or-defaults/245877)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [July 25, 2013, 6:14pm UTC](https://www.ruby-forum.com/t/rails-migration-generation-with-options-or-defaults/245877 "2013-07-25T18:14:02Z")

</div>

In Rails we have command to add migration that specifies the table name column name. For example : $ rails generate migration AddPartNumberToProducts part\_number:string will generate class AddPartNumberToProducts \< A…

---

## [How can I add freq. offset(related to time index) after IFFT in data symbol in ofdm example?](https://www.ruby-forum.com/t/how-can-i-add-freq-offset-related-to-time-index-after-ifft-in-data-symbol-in-ofdm-example/245895)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [July 25, 2013, 5:32pm UTC](https://www.ruby-forum.com/t/how-can-i-add-freq-offset-related-to-time-index-after-ifft-in-data-symbol-in-ofdm-example/245895 "2013-07-25T17:32:44Z")

</div>

Hi guys, Thanks in advance. Since freq. offset is time related, like exp(2pi \* f \* t), how can I generate freq. offset in gnuradio? Normally, freq. offset exists due to mismatched oscillators between transmitter and…

---

## [Streaming audio through internet](https://www.ruby-forum.com/t/streaming-audio-through-internet/235933)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [July 25, 2013, 5:29pm UTC](https://www.ruby-forum.com/t/streaming-audio-through-internet/235933 "2013-07-25T17:29:13Z")

</div>

Hello, I would like to stream demodulated audio through GNU Radio to the internet The way I want to achieve this is follows. Create virtual sound card available as audio sink, connect some source (e.g. sine wave) U…

---

## ["superclass mismatch for class" when running in JRuby](https://www.ruby-forum.com/t/superclass-mismatch-for-class-when-running-in-jruby/245792)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 10\
**Last updated:** [July 25, 2013, 4:44pm UTC](https://www.ruby-forum.com/t/superclass-mismatch-for-class-when-running-in-jruby/245792 "2013-07-25T16:44:49Z")

</div>

I’m trying to integrate google-api-client Ruby gem into a project that runs in JRuby 1.7.4 (logstash). When I run this code on Ruby in an RVM environment (JRuby 1.7.4) directly, the code works just fine. However, whe…

---

## [Anyone have experiences using Rails with Puma?](https://www.ruby-forum.com/t/anyone-have-experiences-using-rails-with-puma/224696)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [July 25, 2013, 3:42pm UTC](https://www.ruby-forum.com/t/anyone-have-experiences-using-rails-with-puma/224696 "2013-07-25T15:42:52Z")

</div>

The web server built for Rubinius. Seems like this is more as a traditional Rails server setup - set the # of threads you want, upload code directory, run it. As this is the case I was thinking it might be a more dir…

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

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