# Latest

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

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

---

## [Expose JavaScript partial to global namespace and call it?](https://www.ruby-forum.com/t/expose-javascript-partial-to-global-namespace-and-call-it/245884)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [July 31, 2013, 3:52am UTC](https://www.ruby-forum.com/t/expose-javascript-partial-to-global-namespace-and-call-it/245884 "2013-07-31T03:52:49Z")

</div>

Hi All, I’m making a Rails app in which users have folders in which to organize journal entries. I’m trying to load a partial into view that displays D3.js visualizations based on the character count of each journal e…

---

## [Simple energy detector](https://www.ruby-forum.com/t/simple-energy-detector/236014)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 31, 2013, 3:48am UTC](https://www.ruby-forum.com/t/simple-energy-detector/236014 "2013-07-31T03:48:08Z")

</div>

Hi, I need grc/script with energy detector. Algorithm is very simple sense in each 2 sec In each interval check the power (energy level) for given frequency If the energy level is greater than threshold return 1 el…

---

## [Problem with ctrlport: called with unregistered key](https://www.ruby-forum.com/t/problem-with-ctrlport-called-with-unregistered-key/245937)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [July 31, 2013, 2:18am UTC](https://www.ruby-forum.com/t/problem-with-ctrlport-called-with-unregistered-key/245937 "2013-07-31T02:18:10Z")

</div>

Hi list, I’m trying to use ctrlport on a Ubuntu 13.04 machine and gnuradio v3.7.0-82-g179a2d78. Right after launching a simple flow graph (random source → throttle → ofdm mod → wx fft sink), a lot of messages pop i…

---

## [ATSC Magic coupling constant](https://www.ruby-forum.com/t/atsc-magic-coupling-constant/236018)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 5\
**Last updated:** [July 31, 2013, 2:13am UTC](https://www.ruby-forum.com/t/atsc-magic-coupling-constant/236018 "2013-07-31T02:13:29Z")

</div>

Hello all, I’m working on fixing up gr-atsc and I have been working on a little problem for a while now, there is a constant ( FPLL\_BTLOOP\_COUPLING\_CONST ) that sets the reference for an AGC, the value is ( 2.5 \* 3.1…

---

## [Gnuradio3.7 make error](https://www.ruby-forum.com/t/gnuradio3-7-make-error/236006)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [July 30, 2013, 11:49pm UTC](https://www.ruby-forum.com/t/gnuradio3-7-make-error/236006 "2013-07-30T23:49:46Z")

</div>

Hi, I’m using Ubuntu 12.04 and libboost1.46. I got the following errors when I make the project. \[ 85%\] Building CXX object gr-uhd/examples/c++/CMakeFiles/tags\_demo.dir/tags\_demo.cc.o Linking CXX executable tags\_dem…

---

## [QT GUI FFT and Waterfall plots not working for me on 3.7](https://www.ruby-forum.com/t/qt-gui-fft-and-waterfall-plots-not-working-for-me-on-3-7/236001)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [July 30, 2013, 11:48pm UTC](https://www.ruby-forum.com/t/qt-gui-fft-and-waterfall-plots-not-working-for-me-on-3-7/236001 "2013-07-30T23:48:00Z")

</div>

Hi all, For whatever reason QT FFT and Waterfall plots are not displaying for me. All the controls are present and I can change scale, FFT size, color intensity (for waterfall), etc. but the display area is just a whi…

---

## [Incorrect redirect protocol when behind a reverse proxy](https://www.ruby-forum.com/t/incorrect-redirect-protocol-when-behind-a-reverse-proxy/235930)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [July 30, 2013, 11:26pm UTC](https://www.ruby-forum.com/t/incorrect-redirect-protocol-when-behind-a-reverse-proxy/235930 "2013-07-30T23:26:59Z")

</div>

Our nginx server is running on Heroku, which proxies SSL. This mostly works fine, but nginx has one problem with it: since it thinks the protocol is http, any redirects (such as trailing-slash redirects) go to http …

---

## [Nginx internal server errors static files first load only?](https://www.ruby-forum.com/t/nginx-internal-server-errors-static-files-first-load-only/236012)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 30, 2013, 11:26pm UTC](https://www.ruby-forum.com/t/nginx-internal-server-errors-static-files-first-load-only/236012 "2013-07-30T23:26:23Z")

</div>

Hi Guys, Got a strange issue happening, I do my coding on Windows 8 x64 using Sublime Text 2.0.2, my sites run of a Ubuntu 13.04 VirtualBox guest over a bridged adaptor connection. Weird thing happens, if I save a …

---

## [GRCon13 Updates](https://www.ruby-forum.com/t/grcon13-updates/236013)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 30, 2013, 11:04pm UTC](https://www.ruby-forum.com/t/grcon13-updates/236013 "2013-07-30T23:04:11Z")

</div>

I’m starting to get really excited about GRCon this year. I’m very proud of our 3.7 release, which is opening up a huge number of possibilities for the project, and we’re anxious to show off some of the new stuff and …

---

## [Low cost SDR hardware](https://www.ruby-forum.com/t/low-cost-sdr-hardware/245914)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [July 30, 2013, 9:33pm UTC](https://www.ruby-forum.com/t/low-cost-sdr-hardware/245914 "2013-07-30T21:33:36Z")

</div>

Hello everyone, A professor in my university wants to revive lab course on communication. He wants to introduce some experiments involving SDR. For that we need about 100 pieces of hardware( both receiver and transmi…

---

## [Can't get SPDY working with OpenSSL 1.0.1e](https://www.ruby-forum.com/t/cant-get-spdy-working-with-openssl-1-0-1e/245926)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [July 30, 2013, 8:54pm UTC](https://www.ruby-forum.com/t/cant-get-spdy-working-with-openssl-1-0-1e/245926 "2013-07-30T20:54:27Z")

</div>

Hi, I simply read every article on the net, followed the docs but simply can’t get SPDY support working. It’s running on Debian Squeeze (that I have to) so I upgraded OpenSSL to the version 1.0.1e from Wheezy repo. …

---

## [Parsing Data from Row using Regexp](https://www.ruby-forum.com/t/parsing-data-from-row-using-regexp/245913)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [July 30, 2013, 7:39pm UTC](https://www.ruby-forum.com/t/parsing-data-from-row-using-regexp/245913 "2013-07-30T19:39:42Z")

</div>

Hi All, The following line is a row from one of my parsing routines: 137Tulsa138Bowling Green State-110-110 Here’s another example as well: 307Illinois State308Ball State-120105 As a breakdown of what these should l…

---

## [Initial state options for Viterbi algorithm](https://www.ruby-forum.com/t/initial-state-options-for-viterbi-algorithm/236010)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 30, 2013, 7:33pm UTC](https://www.ruby-forum.com/t/initial-state-options-for-viterbi-algorithm/236010 "2013-07-30T19:33:50Z")

</div>

When instantiating a Viterbi decoding block, there are options to specify what the initial and final states should be or that they are unknown. This poses no problems if the FEC encoder is initialized similarly for e…

---

## [Pass name and values in link\_tag](https://www.ruby-forum.com/t/pass-name-and-values-in-link-tag/245899)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [July 30, 2013, 7:08pm UTC](https://www.ruby-forum.com/t/pass-name-and-values-in-link-tag/245899 "2013-07-30T19:08:42Z")

</div>

hi i passed name and value in link\_to but its not taking? \<%if params\[:deals\]\[:company\_name\] !=nil && params\[:deals\]\[:company\_name\] == “dsec” %\> \<%= link\_to “Company Name d”,“javascript:void(0)”,:class=\>“get\_page d…

---

## [Suggestion: Avoid using https in Pybombs recipes](https://www.ruby-forum.com/t/suggestion-avoid-using-https-in-pybombs-recipes/236005)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 30, 2013, 6:06pm UTC](https://www.ruby-forum.com/t/suggestion-avoid-using-https-in-pybombs-recipes/236005 "2013-07-30T18:06:47Z")

</div>

I just updated to the latest pybombs and recipes and I notice that a lot of recipes based on https sources fail due to certificate validation errors. I would like to suggest to avoid https in recipes and use http inst…

---

## [Problems with Ruby on Windows + devkit + bundler + multiple drives](https://www.ruby-forum.com/t/problems-with-ruby-on-windows-devkit-bundler-multiple-drives/235969)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 30, 2013, 4:20pm UTC](https://www.ruby-forum.com/t/problems-with-ruby-on-windows-devkit-bundler-multiple-drives/235969 "2013-07-30T16:20:24Z")

</div>

I’m having a strange issue with this combination of ruby on Windows, with the devkit, bundler, and trying to get a gem to build native extensions when installed to a vendor/bundle folder on a different drive than ruby…

---

## [I'm in trouble to use JRuby by Java's ScriptEngine](https://www.ruby-forum.com/t/im-in-trouble-to-use-jruby-by-javas-scriptengine/245921)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [July 30, 2013, 4:17pm UTC](https://www.ruby-forum.com/t/im-in-trouble-to-use-jruby-by-javas-scriptengine/245921 "2013-07-30T16:17:29Z")

</div>

Hello, everyone. I’m student and I’m studying multi-agent simulation. So, I expect to use JRuby to describe each agent’s rules. But I am in trouble using JRuby by Java’s ScriptEngine. I am trying to use some ScriptEn…

---

## [How to include & combine all controller specific javascript in rails?](https://www.ruby-forum.com/t/how-to-include-combine-all-controller-specific-javascript-in-rails/236009)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 30, 2013, 3:43pm UTC](https://www.ruby-forum.com/t/how-to-include-combine-all-controller-specific-javascript-in-rails/236009 "2013-07-30T15:43:33Z")

</div>

Originally posted herehttp://stackoverflow.com/questions/17948417/how-to-include-combine-all-controller-specific-javascript-in-rails I am using Rails 3.2.1 where I have to include few controller and action specific ja…

---

## [How to test a controller mapped to a non-canonical path?](https://www.ruby-forum.com/t/how-to-test-a-controller-mapped-to-a-non-canonical-path/236008)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 30, 2013, 3:37pm UTC](https://www.ruby-forum.com/t/how-to-test-a-controller-mapped-to-a-non-canonical-path/236008 "2013-07-30T15:37:07Z")

</div>

I have a controller SuperPower that is responsible for the paths under /super-power, and not the canonical /super\_power (notice the hyphen instead of the underscore). In my routes.rb I have resources 'super-power', …

---

## [Question about arrays/hash](https://www.ruby-forum.com/t/question-about-arrays-hash/236007)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 30, 2013, 3:37pm UTC](https://www.ruby-forum.com/t/question-about-arrays-hash/236007 "2013-07-30T15:37:07Z")

</div>

Hi All: I am new to ruby so I am stuck on a piece of code. I am trying to create a plugin check (see below). The end result if a failed drive or drives are present to print the following: Failed Drive: 1I:1:2, 1E:…

---

## [Problem with VPN IP address and Nginx](https://www.ruby-forum.com/t/problem-with-vpn-ip-address-and-nginx/245780)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [July 30, 2013, 12:52pm UTC](https://www.ruby-forum.com/t/problem-with-vpn-ip-address-and-nginx/245780 "2013-07-30T12:52:56Z")

</div>

Hi all ! When i use OpenVPN, my remote ip address detected by Nginx (not used on reverse proxy) is different than Apache (standalone, just for test), or http://whatismyipaddress.com, the ip detected by Nginx is my rea…

---

## [Losing values upon converting object to Array](https://www.ruby-forum.com/t/losing-values-upon-converting-object-to-array/236003)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [July 30, 2013, 11:20am UTC](https://www.ruby-forum.com/t/losing-values-upon-converting-object-to-array/236003 "2013-07-30T11:20:55Z")

</div>

Hi All, Not sure if i am doing this correctly. I am reading a xlsx file and then extracting few columns and want to save them in a csv. So below is what i am doing: workbook = Roo::Excelx.new("#{@file}") workbook.de…

---

## [GRAS build error on armv7](https://www.ruby-forum.com/t/gras-build-error-on-armv7/245883)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [July 30, 2013, 10:09am UTC](https://www.ruby-forum.com/t/gras-build-error-on-armv7/245883 "2013-07-30T10:09:57Z")

</div>

We’ve been successful in building dependencies for gnuradio on armv7 platform, however while building GRAS, we got this error: Scanning dependencies of target gras \[ 13%\] Building CXX object lib/CMakeFiles/gras.dir/\_…

---

## [How can I get a high sampling rate in USRP on GNURadio](https://www.ruby-forum.com/t/how-can-i-get-a-high-sampling-rate-in-usrp-on-gnuradio/245929)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [July 30, 2013, 7:12am UTC](https://www.ruby-forum.com/t/how-can-i-get-a-high-sampling-rate-in-usrp-on-gnuradio/245929 "2013-07-30T07:12:58Z")

</div>

Hi all I want to transmit samples as fast as I can. However, my maximum sampling rate is only 5MSps because of some congestion in my CPU, and I want to get the rate at least 10MSps. I use Ettus USRP N210, and proce…

---

## [Ruby docs in pdf format?](https://www.ruby-forum.com/t/ruby-docs-in-pdf-format/235485)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 5\
**Last updated:** [July 30, 2013, 6:24am UTC](https://www.ruby-forum.com/t/ruby-docs-in-pdf-format/235485 "2013-07-30T06:24:28Z")

</div>

I’ve searched Google for a while and cannot find the official docs in pdf format. I can download in HTML format, but I’d like the docs accessible from a pdf reader. Does this elusive pdf exist?

---

## [Using Popen to start a pipe and pass the input](https://www.ruby-forum.com/t/using-popen-to-start-a-pipe-and-pass-the-input/245876)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [July 30, 2013, 12:48am UTC](https://www.ruby-forum.com/t/using-popen-to-start-a-pipe-and-pass-the-input/245876 "2013-07-30T00:48:32Z")

</div>

Hello All, I am trying to use popen to open an application under a block. This looks something like that: fp = popen(command, “w”); //doing it in write mode if(!fp){ #Handle the error } … pclose(fp); Now the thi…

---

## [Link To Masses Of External Data In Openoffice?](https://www.ruby-forum.com/t/link-to-masses-of-external-data-in-openoffice/245892)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 18\
**Last updated:** [July 29, 2013, 10:14pm UTC](https://www.ruby-forum.com/t/link-to-masses-of-external-data-in-openoffice/245892 "2013-07-29T22:14:18Z")

</div>

This is what I want to do. I’m looking for a way to link massive amounts of data in OpenOffice for a sim league I’m in. Here’s an example of what I’m trying to link to my spreadsheet. http://rslsim.atspace.com/html/p…

---

## [Acceptable sampling rate and LO frequency for USRP LFRX](https://www.ruby-forum.com/t/acceptable-sampling-rate-and-lo-frequency-for-usrp-lfrx/245930)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [July 29, 2013, 9:00pm UTC](https://www.ruby-forum.com/t/acceptable-sampling-rate-and-lo-frequency-for-usrp-lfrx/245930 "2013-07-29T21:00:42Z")

</div>

Hi, I have been using GRC and N210 to test my data acquisition scheme. My previous scheme worked well with probably standard sampling rate (10Msps) and LO at DC. When I switched to a non-standard sampling rate (1.2 …

---

## [Problem with ruby on rails](https://www.ruby-forum.com/t/problem-with-ruby-on-rails/236002)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 29, 2013, 8:56pm UTC](https://www.ruby-forum.com/t/problem-with-ruby-on-rails/236002 "2013-07-29T20:56:01Z")

</div>

I was working on this rails tutorial: “http://guides.rubyon…ng\_started.html” and than I got to the part that you are supposed to show the title and data for an individual post (5.7) and got an error when it was suppos…

---

## [Fwd: File Transfer using GRC with File Source:Help](https://www.ruby-forum.com/t/fwd-file-transfer-using-grc-with-file-source-help/236000)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 29, 2013, 7:55pm UTC](https://www.ruby-forum.com/t/fwd-file-transfer-using-grc-with-file-source-help/236000 "2013-07-29T19:55:15Z")

</div>

\---------- Forwarded message ---------- From: vaibhav rayanade removed\_email\_address@domain.invalid Date: Tue, Jul 16, 2013 at 7:28 PM Subject: File Transfer using GRC with File Source:Help To: removed\_email\_address@…

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

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