# Latest

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

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

---

## [Adding instant messaging/chat to rails application](https://www.ruby-forum.com/t/adding-instant-messaging-chat-to-rails-application/237898)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 5, 2013, 10:59am UTC](https://www.ruby-forum.com/t/adding-instant-messaging-chat-to-rails-application/237898 "2013-12-05T10:59:49Z")

</div>

Hi guys, I have a membership based application and would like to add a chat/instant messaging feature for members to chat amongst each other. Any suggestions?

---

## [Each loop question](https://www.ruby-forum.com/t/each-loop-question/237896)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [December 5, 2013, 10:43am UTC](https://www.ruby-forum.com/t/each-loop-question/237896 "2013-12-05T10:43:45Z")

</div>

hi, Can I use each loop to print alternative element without giving any ‘if condition’ inside the loop a=\[1,2,3,4,5\] output would be 2 4 5

---

## [How to turn-off TX of UHD sink in gnuradio companion?](https://www.ruby-forum.com/t/how-to-turn-off-tx-of-uhd-sink-in-gnuradio-companion/237872)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [December 5, 2013, 8:50am UTC](https://www.ruby-forum.com/t/how-to-turn-off-tx-of-uhd-sink-in-gnuradio-companion/237872 "2013-12-05T08:50:06Z")

</div>

Hi – I just got my USRP B200. I’m able to receive and transmit with it. It is very nice! I have one issue. In gnuradio-companion I pipe an FM modulated signal into UHD sink with the TX/RX output. I would like to ha…

---

## [Why the change in links on the wiki?](https://www.ruby-forum.com/t/why-the-change-in-links-on-the-wiki/237886)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [December 5, 2013, 7:48am UTC](https://www.ruby-forum.com/t/why-the-change-in-links-on-the-wiki/237886 "2013-12-05T07:48:12Z")

</div>

I noticed this a few months back. Why do the links on wiki.nginx.org link to nginx documentation instead of to wiki.nginx.org? For example: the http core module doc link on http://wiki.nginx.org/Modulespoints → Mo…

---

## [I have bloat. Should I use Rack::Bug, MemoryLogic or Oink on Rails 3 app?](https://www.ruby-forum.com/t/i-have-bloat-should-i-use-rack-bug-memorylogic-or-oink-on-rails-3-app/237895)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 5, 2013, 6:42am UTC](https://www.ruby-forum.com/t/i-have-bloat-should-i-use-rack-bug-memorylogic-or-oink-on-rails-3-app/237895 "2013-12-05T06:42:10Z")

</div>

I have severe bloat, spending most of the day killing rack processes on my server. I need to figure out the cause. Most likely too many activerecord objects allocated in memory, to the point that rock process exceeds…

---

## [Array param does not work](https://www.ruby-forum.com/t/array-param-does-not-work/237888)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 5, 2013, 3:22am UTC](https://www.ruby-forum.com/t/array-param-does-not-work/237888 "2013-12-05T03:22:23Z")

</div>

Hello, in my code, the array param does not work. reponse = RestClient.post( ‘https://mandrillapp.com/api/1.0/messages/send.json’, {:key =\> “XXXXXXXXXXXXXXXXX”, :message =\> { :html =\> ’ testeeeee ', :text =\> ‘Ex…

---

## [Prevented in-tree build. This is bad practice?](https://www.ruby-forum.com/t/prevented-in-tree-build-this-is-bad-practice/237873)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 10\
**Last updated:** [December 5, 2013, 3:15am UTC](https://www.ruby-forum.com/t/prevented-in-tree-build-this-is-bad-practice/237873 "2013-12-05T03:15:57Z")

</div>

Hi, what is THAT??? Occurred with the 3.7.2 download package… enterprise:/usr/src/gr-build # cmake …/gnuradio-3.7.2 CMake Error at CMakeLists.txt:22 (message): Prevented in-tree build. This is bad practice. – Confi…

---

## [Error 28](https://www.ruby-forum.com/t/error-28/237890)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 5, 2013, 1:33am UTC](https://www.ruby-forum.com/t/error-28/237890 "2013-12-05T01:33:07Z")

</div>

I have a USRP source going direct to a file sink, and it runs really well, except for an error. Does anyone know what the following means?: thread\[thread-per-block\[1\]: \<block file\_sink (2)\>\]: file\_sink write failed …

---

## [Nginx fastcgi\_pass and Browser long transfer time](https://www.ruby-forum.com/t/nginx-fastcgi-pass-and-browser-long-transfer-time/237887)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 5, 2013, 12:01am UTC](https://www.ruby-forum.com/t/nginx-fastcgi-pass-and-browser-long-transfer-time/237887 "2013-12-05T00:01:23Z")

</div>

I’m new to nginx but not to web development. I have the server configured to do almost everything I need … including fastcgi\_pass for Perl on Solaris. When requesting any cgi page the browser displays the standard sta…

---

## [Create a scope that groups unique id and recent date](https://www.ruby-forum.com/t/create-a-scope-that-groups-unique-id-and-recent-date/237889)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 4, 2013, 10:55pm UTC](https://www.ruby-forum.com/t/create-a-scope-that-groups-unique-id-and-recent-date/237889 "2013-12-04T22:55:22Z")

</div>

I want to write a scope that returns the most recent (created\_at) row for each person\_id So this table id person\_id created\_at 1 111 2013-12-01 08:00 2 222 2013-11-20 07:00 3 111 …

---

## [Rewrite or return directives for discuz v3.1](https://www.ruby-forum.com/t/rewrite-or-return-directives-for-discuz-v3-1/237869)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 4, 2013, 9:54pm UTC](https://www.ruby-forum.com/t/rewrite-or-return-directives-for-discuz-v3-1/237869 "2013-12-04T21:54:01Z")

</div>

hello; I want to write a block to put in my VHOST config file. i want if there is “/install/index.php/” in the link. it shouldbe removed from the link. if the format is like /uc\_server/blab.php/uc\_server/blahblah …

---

## [Ssl error](https://www.ruby-forum.com/t/ssl-error/237885)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 4, 2013, 9:51pm UTC](https://www.ruby-forum.com/t/ssl-error/237885 "2013-12-04T21:51:05Z")

</div>

we are getting the error SSL Exception: No peer certificate at random . Anyone please help me to torubleshoot it. Can it be because of the high server load? certificates seems to be installed correctly and we see t…

---

## [Error: #\<NameError: undefined local variable or method](https://www.ruby-forum.com/t/error-nameerror-undefined-local-variable-or-method/237826)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 4, 2013, 8:02pm UTC](https://www.ruby-forum.com/t/error-nameerror-undefined-local-variable-or-method/237826 "2013-12-04T20:02:53Z")

</div>

Hello, can anyone explain to me why I get error msg.: Error: #\<NameError: undefined local variable or method \`field\_build’ for Visual::Plugin\_A:Module\> on this code: require(“visual\_visual\_mod.rb”) require(“sketchup.…

---

## [Windows nginx 1.5.8.1 Caterpillar](https://www.ruby-forum.com/t/windows-nginx-1-5-8-1-caterpillar/237802)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [December 4, 2013, 7:50pm UTC](https://www.ruby-forum.com/t/windows-nginx-1-5-8-1-caterpillar/237802 "2013-12-04T19:50:09Z")

</div>

19:18 30-11-2013: nginx 1.5.8.1 Caterpillar Based on nginx 1.5.8 (29-11-2013) with (mainly bugfixes in add-on’s); Naxsi WAF (Web Application Firewall) v0.53-1 (upgraded) lua-nginx-module v0.9.2 (upgraded 30-11) Stream…

---

## [Higher values of Keep M in N](https://www.ruby-forum.com/t/higher-values-of-keep-m-in-n/237882)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 4, 2013, 6:20pm UTC](https://www.ruby-forum.com/t/higher-values-of-keep-m-in-n/237882 "2013-12-04T18:20:26Z")

</div>

I’m building an application where I need to consider big frame sizes, and a part of those frames goes to a sensing algorithm, the rest being dumped. However, for the Keep M in N block there is a limit to how large N c…

---

## [How to get the output from constellation receiver to match modulators symbol rate](https://www.ruby-forum.com/t/how-to-get-the-output-from-constellation-receiver-to-match-modulators-symbol-rate/237880)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 4, 2013, 5:03pm UTC](https://www.ruby-forum.com/t/how-to-get-the-output-from-constellation-receiver-to-match-modulators-symbol-rate/237880 "2013-12-04T17:03:37Z")

</div>

Hi, I currently have the constellation modulator set @ 2 samples / symbol. The constellation receiver is giving me all the bits as output (it’s not down-sampling the bits, if that’s the correct word), so i’m getting …

---

## [QT GUI Sink: Waterfall much faster than standalone waterfall and time domain display crashes](https://www.ruby-forum.com/t/qt-gui-sink-waterfall-much-faster-than-standalone-waterfall-and-time-domain-display-crashes/237875)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [December 4, 2013, 4:08pm UTC](https://www.ruby-forum.com/t/qt-gui-sink-waterfall-much-faster-than-standalone-waterfall-and-time-domain-display-crashes/237875 "2013-12-04T16:08:07Z")

</div>

Hi, so I got gnuradio basically running and started to experiment. 2 things, I noticed: 1.) The waterfall display in the QT GUI sink seems to be about twice as fast as the standalone QT GUI Waterfall sink. That’s not…

---

## [FFT Playback](https://www.ruby-forum.com/t/fft-playback/237857)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 8\
**Last updated:** [December 4, 2013, 3:57pm UTC](https://www.ruby-forum.com/t/fft-playback/237857 "2013-12-04T15:57:36Z")

</div>

When I play my data file back through a throttle and frequency translating FIR filter to an FFT sink with repeat OFF, it seems to just show a static plot. However, with repeat ON, I get playback, but I can’t tell whe…

---

## [Switching between simulated channels](https://www.ruby-forum.com/t/switching-between-simulated-channels/237879)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 4, 2013, 2:36pm UTC](https://www.ruby-forum.com/t/switching-between-simulated-channels/237879 "2013-12-04T14:36:23Z")

</div>

I have been using GNURadio lately as a simulation library, kind of expading SciPy for static analysis while making some real-time analysis for parameter tweaks now and then. It’s working great. However, I have a probl…

---

## [QAM Modulation-Demodulation in Loopback](https://www.ruby-forum.com/t/qam-modulation-demodulation-in-loopback/237805)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [December 4, 2013, 2:27pm UTC](https://www.ruby-forum.com/t/qam-modulation-demodulation-in-loopback/237805 "2013-12-04T14:27:02Z")

</div>

Hello All, I am using bladerf in loopback mode with a 20 dB attenuator. I am trying to implement QAM modulation-demodulation and I have attached the flowgraph I am using. The problem is I am not getting the demodulat…

---

## [Nginx - workers segfaulting](https://www.ruby-forum.com/t/nginx-workers-segfaulting/237825)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 11\
**Last updated:** [December 4, 2013, 2:18pm UTC](https://www.ruby-forum.com/t/nginx-workers-segfaulting/237825 "2013-12-04T14:18:15Z")

</div>

Dear All, I’m facing a small problem with NGINX; The workers are segfaulting since 11:20 this morning. From kernel messages I got soemthing like this: nginx\[6888\]: segfault at 8 ip 0000000000426a30 sp 00007fff85c01e70…

---

## [How can I not get every message by mail?](https://www.ruby-forum.com/t/how-can-i-not-get-every-message-by-mail/237877)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 4, 2013, 1:51pm UTC](https://www.ruby-forum.com/t/how-can-i-not-get-every-message-by-mail/237877 "2013-12-04T13:51:23Z")

</div>

couldn’t find out where to configure this. Frank

---

## [E110 problem executing simple code](https://www.ruby-forum.com/t/e110-problem-executing-simple-code/237858)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 4, 2013, 1:16pm UTC](https://www.ruby-forum.com/t/e110-problem-executing-simple-code/237858 "2013-12-04T13:16:53Z")

</div>

Hi list, when I try to execute a simple code in my new USRP E110, it gives me the following error: uhd\_sink = uhd.usrp\_sink(device\_addr = “serial=MY\_USRP\_SERIAL”, stream\_args=uhd.stream\_args(‘fc32’)) File “/usr/lib/…

---

## [Two RX paths](https://www.ruby-forum.com/t/two-rx-paths/150764)

<div class="topic-metadata">

**Author:** [@Juha\_V](https://www.ruby-forum.com/u/Juha_V)\
**Replies:** 6\
**Last updated:** [December 4, 2013, 12:22pm UTC](https://www.ruby-forum.com/t/two-rx-paths/150764 "2013-12-04T12:22:32Z")

</div>

Hi, Is there an example where two usrp sources are used to sample from two daughtercards simultaneously? Or is this even possible? Best Regards, juha

---

## [Issue with the GNU radio installation](https://www.ruby-forum.com/t/issue-with-the-gnu-radio-installation/237868)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [December 4, 2013, 11:27am UTC](https://www.ruby-forum.com/t/issue-with-the-gnu-radio-installation/237868 "2013-12-04T11:27:01Z")

</div>

Hi, I started installing GRC 3.7.2 but make and make test are failing with several error . i’m using using ubuntu 12.04 (32 bit) amd processor(64 bit) I even disabled the orc. Boost 1.48 is installed I’am attaching…

---

## [Quick workaround sunspot solr + too many open files error](https://www.ruby-forum.com/t/quick-workaround-sunspot-solr-too-many-open-files-error/237876)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 4, 2013, 11:07am UTC](https://www.ruby-forum.com/t/quick-workaround-sunspot-solr-too-many-open-files-error/237876 "2013-12-04T11:07:44Z")

</div>

This link is very helpful to fix solr- Too many open files error. Max Number of ulimit open file : It’s provide open file resource availability in linux Increase max number of ulimit open file in Linux. 1- Step : …

---

## [LTE framework receiver gr-lte](https://www.ruby-forum.com/t/lte-framework-receiver-gr-lte/237819)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 11\
**Last updated:** [December 4, 2013, 9:24am UTC](https://www.ruby-forum.com/t/lte-framework-receiver-gr-lte/237819 "2013-12-04T09:24:15Z")

</div>

Hi, I tried to compile gr-lte package from github (version 3.7 not master), but it doesnt’t work. GRUEL and GNURADIO\_CORE have been still there. I removed GRUEL and replaced GNURADI\_CORE with GNURADIO\_RUNTIME,but it …

---

## [Reporting Problems to this Mailing List](https://www.ruby-forum.com/t/reporting-problems-to-this-mailing-list/237870)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 4, 2013, 8:56am UTC](https://www.ruby-forum.com/t/reporting-problems-to-this-mailing-list/237870 "2013-12-04T08:56:12Z")

</div>

Hi guys, whenever you have a problem and are asking the mailing list for help, there are a few things to keep in mind. First of all, make sure you have read this: http://gnuradio.org/redmine/projects/gnuradio/wiki/Re…

---

## [Create a scope that groups unique id and recent date](https://www.ruby-forum.com/t/create-a-scope-that-groups-unique-id-and-recent-date/237866)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 4, 2013, 8:38am UTC](https://www.ruby-forum.com/t/create-a-scope-that-groups-unique-id-and-recent-date/237866 "2013-12-04T08:38:39Z")

</div>

I want to write a scope that returns the most recent (created\_at) row for each person\_id So this table id person\_id created\_at 1 111 2013-12-01 08:00 2 222 2013-11-20 07:00 3 111 …

---

## [Is there way to source csh env file in Ruby?](https://www.ruby-forum.com/t/is-there-way-to-source-csh-env-file-in-ruby/237551)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 20\
**Last updated:** [December 4, 2013, 2:58am UTC](https://www.ruby-forum.com/t/is-there-way-to-source-csh-env-file-in-ruby/237551 "2013-12-04T02:58:53Z")

</div>

I want to setup a tool, which set the env by source a csh file. Is there way to source csh env file in Ruby? For the attached test case, I wrote ruby as below, but seems don’t work. #!/usr/bin/env ruby system “source…

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

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