# Latest

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

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

---

## [Cannot run second rails app in second domain (in vps)](https://www.ruby-forum.com/t/cannot-run-second-rails-app-in-second-domain-in-vps/238183)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 21, 2013, 5:34pm UTC](https://www.ruby-forum.com/t/cannot-run-second-rails-app-in-second-domain-in-vps/238183 "2013-12-21T17:34:21Z")

</div>

Hi for everyone. I have a problem with my vps and my app in rails. A few months I constructed an app with rails, in my vps, the application is working fine, without any problem, i working with a version 4.0 and the …

---

## [Analyse SMTP Response](https://www.ruby-forum.com/t/analyse-smtp-response/238172)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 21, 2013, 4:54pm UTC](https://www.ruby-forum.com/t/analyse-smtp-response/238172 "2013-12-21T16:54:02Z")

</div>

Hi. I have an SMTP emailer in Ruby that I need to use to send emails using my companys SMTP server. The code will be being used on machines that are not manned (VM’s), so everything needs to be double checked, and ha…

---

## [Using 127.0.0.1 in resolver](https://www.ruby-forum.com/t/using-127-0-0-1-in-resolver/238180)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [December 21, 2013, 3:57pm UTC](https://www.ruby-forum.com/t/using-127-0-0-1-in-resolver/238180 "2013-12-21T15:57:57Z")

</div>

Using: resolver 127.0.0.1 valid=300s; Does not work. I assume this would simply uses the DNS servers listed in /etc/resolv.conf? Thanks. Posted at Nginx Forum:

---

## [Omniauth facebook sessions controller create action integration](https://www.ruby-forum.com/t/omniauth-facebook-sessions-controller-create-action-integration/238184)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 21, 2013, 3:19pm UTC](https://www.ruby-forum.com/t/omniauth-facebook-sessions-controller-create-action-integration/238184 "2013-12-21T15:19:24Z")

</div>

I have just finished the Michael H. tutorial. I am trying to implement omniauth-facebook to sign-up and sign-in users. I am having trouble creating the master variable to use in the create action in the sessions contr…

---

## [Message port connections in gr-blocks/examples/msg\_passing](https://www.ruby-forum.com/t/message-port-connections-in-gr-blocks-examples-msg-passing/238088)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [December 21, 2013, 2:48pm UTC](https://www.ruby-forum.com/t/message-port-connections-in-gr-blocks-examples-msg-passing/238088 "2013-12-21T14:48:59Z")

</div>

I’m trying to learn the message passing API by reviewing the examples in gr-blocks/examples/msg\_passing. Message ports are not connected upon opening GRC (this seems to be a gnuradio-wide problem - same thing happens …

---

## [Error: Block key "variable\_slider" not found](https://www.ruby-forum.com/t/error-block-key-variable-slider-not-found/238182)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 21, 2013, 10:01am UTC](https://www.ruby-forum.com/t/error-block-key-variable-slider-not-found/238182 "2013-12-21T10:01:02Z")

</div>

Hey, I am using the 3.7.2.1 on win7 64bit on a Lenovo i5 Gnuradio was installed from pre compiled bin When it loads it display this : Warning (from warnings module): File “C:\\Python27\\lib\\site-packages\\cheetah-2.4…

---

## [Proxy\_cache or direct static files?](https://www.ruby-forum.com/t/proxy-cache-or-direct-static-files/238067)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [December 21, 2013, 8:00am UTC](https://www.ruby-forum.com/t/proxy-cache-or-direct-static-files/238067 "2013-12-21T08:00:07Z")

</div>

Hello, I don’t quite understand what I could get from caching with proxy\_cache vs serving static files directly. Everywhere people tend to say that it is better to cache, but isn’t caching the same as serving direc…

---

## [Website edits temporarily suspended](https://www.ruby-forum.com/t/website-edits-temporarily-suspended/238179)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 20, 2013, 10:30pm UTC](https://www.ruby-forum.com/t/website-edits-temporarily-suspended/238179 "2013-12-20T22:30:30Z")

</div>

Hi everyone, I just wanted to let you all know that we have temporarily suspended edits to gnuradio.org pending a full website update. We’ve already moved the current wiki system over to the new server, so the suspen…

---

## [Ruby 2.1.0 rc1 released](https://www.ruby-forum.com/t/ruby-2-1-0-rc1-released/238178)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 20, 2013, 10:18pm UTC](https://www.ruby-forum.com/t/ruby-2-1-0-rc1-released/238178 "2013-12-20T22:18:48Z")

</div>

Hi, We are pleased to announce the release of Ruby 2.1.0-rc1. Please test the new features in Ruby 2.1 before the final release scheduled on 2013-12-25! Notable changes from preview 2 remove curses. #8584 for oth…

---

## [Unable to use constellation block](https://www.ruby-forum.com/t/unable-to-use-constellation-block/238170)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 20, 2013, 8:25pm UTC](https://www.ruby-forum.com/t/unable-to-use-constellation-block/238170 "2013-12-20T20:25:27Z")

</div>

Hi everyone, I installed gnuradio using binary packages provided by ETTUS RESEARCH . I installed gnuradio 3.7.2.1 and processor Im using is intel i3 64bit.\* \*Everything installed with no issues but when …

---

## [Nginx variable to know the number of active connections](https://www.ruby-forum.com/t/nginx-variable-to-know-the-number-of-active-connections/238176)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 20, 2013, 5:54pm UTC](https://www.ruby-forum.com/t/nginx-variable-to-know-the-number-of-active-connections/238176 "2013-12-20T17:54:44Z")

</div>

Hello, Is there a way to get the number of active connections in order to activate or a not a cache mechanism when nginx is in a high trafic period? Regards Jerome Posted at Nginx Forum:

---

## [2 Arrays into 1 Array with all possible combinations?](https://www.ruby-forum.com/t/2-arrays-into-1-array-with-all-possible-combinations/238134)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 9\
**Last updated:** [December 20, 2013, 5:18pm UTC](https://www.ruby-forum.com/t/2-arrays-into-1-array-with-all-possible-combinations/238134 "2013-12-20T17:18:31Z")

</div>

I have 2 arrays like so: arr1 = \[a, b, c\] arr2 = 1, 2, 3\] I want to get: \[a1, a2, a3, b1, b2, b3, c1, c2, c3\] I’ve tried a few things like output = arr1.each do |a1| arr2.each do |a2| end end puts output But t…

---

## [A Ruby Story - Ruby & Ruby on Rails blog](https://www.ruby-forum.com/t/a-ruby-story-ruby-ruby-on-rails-blog/238161)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 20, 2013, 4:04pm UTC](https://www.ruby-forum.com/t/a-ruby-story-ruby-ruby-on-rails-blog/238161 "2013-12-20T16:04:54Z")

</div>

A Ruby Story http://arubystory.blogspot.com

---

## [Isdb-t implementation in gnuradio](https://www.ruby-forum.com/t/isdb-t-implementation-in-gnuradio/238175)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 20, 2013, 3:18pm UTC](https://www.ruby-forum.com/t/isdb-t-implementation-in-gnuradio/238175 "2013-12-20T15:18:08Z")

</div>

Hi everyone, Here in the lab we have been working for several months with USRPs and GNURadio, both for teaching and research, but specially the former. Students are very very motivated by the sense of reality that the…

---

## [User Authentication & Authorization with Devise & CanCan](https://www.ruby-forum.com/t/user-authentication-authorization-with-devise-cancan/238173)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 20, 2013, 2:59pm UTC](https://www.ruby-forum.com/t/user-authentication-authorization-with-devise-cancan/238173 "2013-12-20T14:59:25Z")

</div>

Just finished the third part of the tutorial. Creating a simple ToDo application with Rails - Part Three - Authentication & Authorization with Devise & CanCanhttp://arubystory.blogspot.com/2013/12/creating-simple-tod…

---

## [Spdy protocol version 3 support](https://www.ruby-forum.com/t/spdy-protocol-version-3-support/238162)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 20, 2013, 2:17pm UTC](https://www.ruby-forum.com/t/spdy-protocol-version-3-support/238162 "2013-12-20T14:17:22Z")

</div>

Any update or eta on when we can expect spdy protocol version 3 in the 1.5.X branch? Thanks. Posted at Nginx Forum:

---

## [Integrate block outputting inconsistent results](https://www.ruby-forum.com/t/integrate-block-outputting-inconsistent-results/238159)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [December 20, 2013, 1:48pm UTC](https://www.ruby-forum.com/t/integrate-block-outputting-inconsistent-results/238159 "2013-12-20T13:48:43Z")

</div>

I hope this doesn’t start a new thread. I wanted to answer on my thread but I didn’t get my own message on my inbox so… I hope it works. I ended up getting what was wrong, and I feel ashamed on so many levels, I’m so…

---

## [Rails, accepts\_nested\_attributes\_for has\_many: through with build](https://www.ruby-forum.com/t/rails-accepts-nested-attributes-for-has-many-through-with-build/238174)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 20, 2013, 1:40pm UTC](https://www.ruby-forum.com/t/rails-accepts-nested-attributes-for-has-many-through-with-build/238174 "2013-12-20T13:40:32Z")

</div>

I have 3 models: class Product \< ActiveRecord::Base has\_many :product\_option\_types has\_many :option\_types, through: :product\_option\_typesend class OptionType \< ActiveRecord::Base has\_many :product\_option\_types has\_…

---

## [Passenger su heroku](https://www.ruby-forum.com/t/passenger-su-heroku/238169)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [December 20, 2013, 1:13pm UTC](https://www.ruby-forum.com/t/passenger-su-heroku/238169 "2013-12-20T13:13:39Z")

</div>

Ho trovato oggi questo articolo: parla di come usare Passenger su Heroku, l’ho trovato molto interessante. Qualcuno lo usa?

---

## [OFDM: troubles regarding FFT size and decimation factor](https://www.ruby-forum.com/t/ofdm-troubles-regarding-fft-size-and-decimation-factor/238133)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 20, 2013, 12:16pm UTC](https://www.ruby-forum.com/t/ofdm-troubles-regarding-fft-size-and-decimation-factor/238133 "2013-12-20T12:16:58Z")

</div>

Hello everybody, I’m trying to do some channel measurements using a setup based on three PCs with two USRP2 devices (equipped with RFX2400 daughterboards) and GNU Radio 3.7. One of the PCs acts as network controller,…

---

## [The difference between JAVA\_OPTS and JRUBY\_OPTS](https://www.ruby-forum.com/t/the-difference-between-java-opts-and-jruby-opts/237865)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 8\
**Last updated:** [December 20, 2013, 12:11pm UTC](https://www.ruby-forum.com/t/the-difference-between-java-opts-and-jruby-opts/237865 "2013-12-20T12:11:07Z")

</div>

I would like some clarity on how to use java performance options with jruby. It seems like there is a -J-X… flag for the jruby which mimic the java options but I don’t know which takes preference and what’s the best …

---

## [Spectrum Sensing](https://www.ruby-forum.com/t/spectrum-sensing/74790)

<div class="topic-metadata">

**Author:** [@Shravan\_Rayanchu](https://www.ruby-forum.com/u/Shravan_Rayanchu)\
**Replies:** 4\
**Last updated:** [December 20, 2013, 11:47am UTC](https://www.ruby-forum.com/t/spectrum-sensing/74790 "2013-12-20T11:47:44Z")

</div>

Hello everyone, I was going through some gnuradio documentation (on comsec.org wiki) which says “…16-bit I and 16-bit Q data (complex), resulting in 8M complex samples/sec across the USB (32 Mbps max. data rate). This …

---

## [Features rollout](https://www.ruby-forum.com/t/features-rollout/238144)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [December 20, 2013, 10:24am UTC](https://www.ruby-forum.com/t/features-rollout/238144 "2013-12-20T10:24:47Z")

</div>

Qualcuno usa una gem per fare il rollout di feature per gruppi di utenti? Si accettano consigli.

---

## [Unable to use WX widgets](https://www.ruby-forum.com/t/unable-to-use-wx-widgets/238164)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 20, 2013, 9:52am UTC](https://www.ruby-forum.com/t/unable-to-use-wx-widgets/238164 "2013-12-20T09:52:39Z")

</div>

Hi everyone , I installed gnuradio by binaries provided by Ettus R. in ubuntu software centre. Everything installed properly and I got gnuradio-companion but whenever I run flowgraph I get these warnings Warning: B…

---

## [About gr-modtool](https://www.ruby-forum.com/t/about-gr-modtool/238128)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 20, 2013, 4:15am UTC](https://www.ruby-forum.com/t/about-gr-modtool/238128 "2013-12-20T04:15:35Z")

</div>

Hi all, I meet a problem with gr-modtool. I created a new out of tree mode. Compile and install work fine but when I want to create the GRC module via gr-modtool makexml, give me the following error. No GNU Radio mod…

---

## [Optimizing NGINX TLS Time To First Byte (TTTFB)](https://www.ruby-forum.com/t/optimizing-nginx-tls-time-to-first-byte-tttfb/238095)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 14\
**Last updated:** [December 20, 2013, 1:22am UTC](https://www.ruby-forum.com/t/optimizing-nginx-tls-time-to-first-byte-tttfb/238095 "2013-12-20T01:22:20Z")

</div>

FYI: We started with a ~1800ms overhead for our TLS connection (nearly 5 extra RTTs); eliminated the extra certificate roundtrip after a nginx upgrade; cut another RTT by forcing a smaller record size; dropped an ex…

---

## [Arbitrary resampler question on gnuradio 3.7.2.1](https://www.ruby-forum.com/t/arbitrary-resampler-question-on-gnuradio-3-7-2-1/238119)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [December 20, 2013, 12:00am UTC](https://www.ruby-forum.com/t/arbitrary-resampler-question-on-gnuradio-3-7-2-1/238119 "2013-12-20T00:00:32Z")

</div>

Hello all, Considering a simple gnuradio flowgraph as the following Random source -\> chunks2symbols -\> complex2float -\> float2complex -\> pfb\_arb\_resampler-\> USRP sink which used to work without any problem in the old…

---

## [Iterating a string through an array, need help?](https://www.ruby-forum.com/t/iterating-a-string-through-an-array-need-help/238132)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 13\
**Last updated:** [December 19, 2013, 11:55pm UTC](https://www.ruby-forum.com/t/iterating-a-string-through-an-array-need-help/238132 "2013-12-19T23:55:16Z")

</div>

I’m working on making a word game with my friend, but ran into this problem I can’t solve. So say I have the string: example = “stringy” And the array: ex\_array = \[‘estrange’, ‘gingerly’, ‘stop’, ‘geek’, ‘dry’, ‘rad…

---

## [By reference or by value? Or Fixnum assignment is different?](https://www.ruby-forum.com/t/by-reference-or-by-value-or-fixnum-assignment-is-different/238154)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [December 19, 2013, 11:30pm UTC](https://www.ruby-forum.com/t/by-reference-or-by-value-or-fixnum-assignment-is-different/238154 "2013-12-19T23:30:09Z")

</div>

Hi, I am new to Ruby, just start reading the pickaxe. Here I have a question regarding passing parameters by value or reference. Hence everything is an object and the book mentioned for a=“abc”; b=a just created a ne…

---

## [Integrate block outputting inconsistent results](https://www.ruby-forum.com/t/integrate-block-outputting-inconsistent-results/238158)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 19, 2013, 11:00pm UTC](https://www.ruby-forum.com/t/integrate-block-outputting-inconsistent-results/238158 "2013-12-19T23:00:56Z")

</div>

Hello everyone. I have a system that depends on the integrate block. It integrates samples and then divides them for averaging. I noticed something wasn’t working properly after updating to the last GR version and I …

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

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