# Latest

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

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

---

## [Concatenate two arrays](https://www.ruby-forum.com/t/concatenate-two-arrays/236366)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 10\
**Last updated:** [August 29, 2013, 10:58pm UTC](https://www.ruby-forum.com/t/concatenate-two-arrays/236366 "2013-08-29T22:58:38Z")

</div>

Hello again ruby community! I just learned how to add two arrays(I know, i know). My program looked like this array1=\[1,2,3\] array2=\[4,5,6\] array\_sum=array1+array2 I thought pretty simple stuff, they are combined. …

---

## [LDPC GSoC Project Status](https://www.ruby-forum.com/t/ldpc-gsoc-project-status/235875)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 29, 2013, 10:49pm UTC](https://www.ruby-forum.com/t/ldpc-gsoc-project-status/235875 "2013-08-29T22:49:04Z")

</div>

Hi all, I’d just like to share a status of how my LDPC implementation project is going. When the summer started, Manu and I made a list of the LDPC-related algorithms for encoding, decoding, and parity check matrix c…

---

## [Strange SPDY behaviour about request time with stastic proxy cached content](https://www.ruby-forum.com/t/strange-spdy-behaviour-about-request-time-with-stastic-proxy-cached-content/246113)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 29, 2013, 10:40pm UTC](https://www.ruby-forum.com/t/strange-spdy-behaviour-about-request-time-with-stastic-proxy-cached-content/246113 "2013-08-29T22:40:16Z")

</div>

Good time of day! We use nginx as load balancer and reverse proxy for some static content (images etc). And a problem was found with enabling SPDY: cached content with enabled SPDY becomes get from server with great…

---

## [Using Match with Regexp-Do not quite understand the formula](https://www.ruby-forum.com/t/using-match-with-regexp-do-not-quite-understand-the-formula/246078)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [August 29, 2013, 7:48pm UTC](https://www.ruby-forum.com/t/using-match-with-regexp-do-not-quite-understand-the-formula/246078 "2013-08-29T19:48:00Z")

</div>

Hi Ruby on Rails community! I am trying to write a program that uses the .match command to find out if a string contains a certain word-then using that information write a conditional statement. The issue I am running…

---

## [Problem when using bundle exec rake with Launchd](https://www.ruby-forum.com/t/problem-when-using-bundle-exec-rake-with-launchd/236363)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 5\
**Last updated:** [August 29, 2013, 7:44pm UTC](https://www.ruby-forum.com/t/problem-when-using-bundle-exec-rake-with-launchd/236363 "2013-08-29T19:44:24Z")

</div>

Dear all, I am developing a web harvesting server which requires regularly website parsing. Since I use Mac 10.8 as my development environment, I try to use Launchd to routinely wake up my parser. My parser was a bash …

---

## [Check if variable exists in file, Using file contents for variable handling](https://www.ruby-forum.com/t/check-if-variable-exists-in-file-using-file-contents-for-variable-handling/246114)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 29, 2013, 7:42pm UTC](https://www.ruby-forum.com/t/check-if-variable-exists-in-file-using-file-contents-for-variable-handling/246114 "2013-08-29T19:42:38Z")

</div>

Is there a way to check a variable against file contents for processing? A couple scenarios below. This is used here, but adding multiple agents can get burdensome: if ($http\_user\_agent ~ (agent1|agent2|Foo|Wget|Nmap…

---

## [Too fast can't read display](https://www.ruby-forum.com/t/too-fast-cant-read-display/246109)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [August 29, 2013, 7:21pm UTC](https://www.ruby-forum.com/t/too-fast-cant-read-display/246109 "2013-08-29T19:21:52Z")

</div>

No troubles with scripts themselves, but my computer runs basic scripts so fast I can’t see the output. So I was wondering is there a command I can enter at the end of these scripts to slow them down or freeze the res…

---

## [Trying to create asset management app having trouble with edit page](https://www.ruby-forum.com/t/trying-to-create-asset-management-app-having-trouble-with-edit-page/246129)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 29, 2013, 7:07pm UTC](https://www.ruby-forum.com/t/trying-to-create-asset-management-app-having-trouble-with-edit-page/246129 "2013-08-29T19:07:00Z")

</div>

i trying to create an asset management app. i am working through the ruby on rails 4.0 guide by Michael H. but in his guide it shows edit page for authenticated users i do not needthis function as the app will be depl…

---

## [Re: mathematics behind probe.level()](https://www.ruby-forum.com/t/re-mathematics-behind-probe-level/236365)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 29, 2013, 7:01pm UTC](https://www.ruby-forum.com/t/re-mathematics-behind-probe-level/236365 "2013-08-29T19:01:43Z")

</div>

Marcus, Thanks for very nice explanation: so I see the code of this block with the help of your reply, and understand that how It is computing power for given N samples. i.e power= (sum of X\*\*2\[n\])/N where n goes fro…

---

## [Images with fingerprinting](https://www.ruby-forum.com/t/images-with-fingerprinting/236139)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 9\
**Last updated:** [August 29, 2013, 6:57pm UTC](https://www.ruby-forum.com/t/images-with-fingerprinting/236139 "2013-08-29T18:57:36Z")

</div>

Looking through the asset pipeline documentation, I was able to make everything work as expected. Really nice!! However, not for images that we are loading using a variable (i.e., wine.picture) which basically resol…

---

## [Extract multiple attributes from ruby array](https://www.ruby-forum.com/t/extract-multiple-attributes-from-ruby-array/236320)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 29, 2013, 6:57pm UTC](https://www.ruby-forum.com/t/extract-multiple-attributes-from-ruby-array/236320 "2013-08-29T18:57:35Z")

</div>

I have a student array object which returns multiple attributes. I need to extract only specific attributes from this array. How do I do it… @project.each do |p| @students \<\< Student.find\_by\_id(:id =\> p.recei…

---

## [Off-line signal processing (GR in slow motion)](https://www.ruby-forum.com/t/off-line-signal-processing-gr-in-slow-motion/236351)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 29, 2013, 6:04pm UTC](https://www.ruby-forum.com/t/off-line-signal-processing-gr-in-slow-motion/236351 "2013-08-29T18:04:24Z")

</div>

I know that a source block of live IQ samples set to a certain sampling rate is equivalent to a File source of IQ samples followed by a Throttle block set to that same sampling rate. So far so good. But suppose the sy…

---

## [Tengine-1.5.1 is released](https://www.ruby-forum.com/t/tengine-1-5-1-is-released/236367)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 29, 2013, 5:03pm UTC](https://www.ruby-forum.com/t/tengine-1-5-1-is-released/236367 "2013-08-29T17:03:37Z")

</div>

Hi folks, We are pleased to announce that Tengine-1.5.1 (stable version) has been released! You can either checkout the source code from GitHub: GitHub - alibaba/tengine: A distribution of Nginx with some advanced fe…

---

## [Mathematics behind probe.level()](https://www.ruby-forum.com/t/mathematics-behind-probe-level/246120)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 29, 2013, 5:01pm UTC](https://www.ruby-forum.com/t/mathematics-behind-probe-level/246120 "2013-08-29T17:01:16Z")

</div>

Hi, I want to do energy detection of received signal, And after searching I was advised to use probe block to do the sense. (gr.probe\_avg\_mag\_sqrd\_f). Can anyone explain how this works. How level() method gives the e…

---

## [Segfaults when executing flowgraph](https://www.ruby-forum.com/t/segfaults-when-executing-flowgraph/236352)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 29, 2013, 5:00pm UTC](https://www.ruby-forum.com/t/segfaults-when-executing-flowgraph/236352 "2013-08-29T17:00:05Z")

</div>

Hi, I seem to be having a problem where GRC works fine but when I execute the generated Python code (from within GRC or from command line) it just segfaults. So far it’s every flowgraph I’ve tried. The flowgraph I am …

---

## [Bug in GRC's tcp\_source block](https://www.ruby-forum.com/t/bug-in-grcs-tcp-source-block/246082)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 29, 2013, 4:27pm UTC](https://www.ruby-forum.com/t/bug-in-grcs-tcp-source-block/246082 "2013-08-29T16:27:18Z")

</div>

Hi, I’ve now come across another issue with version 3.7. If I have a tcp source block in gnuradio-companion (in client mode), I get a stacktrace like this: Using Volk machine: sse4\_a\_64\_orc Traceback (most recent ca…

---

## [Post rendering templates](https://www.ruby-forum.com/t/post-rendering-templates/236304)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 29, 2013, 3:08pm UTC](https://www.ruby-forum.com/t/post-rendering-templates/236304 "2013-08-29T15:08:25Z")

</div>

I’m looking to add text before the output of each template and partial to show the following: /path/to/erb/file or document.write … if it’s a javascript file. If I’m using tilt I also use templates for those notices…

---

## [Problem on 802.11a/g/p reciever -- crc wrong](https://www.ruby-forum.com/t/problem-on-802-11a-g-p-reciever-crc-wrong/246099)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [August 29, 2013, 2:33pm UTC](https://www.ruby-forum.com/t/problem-on-802-11a-g-p-reciever-crc-wrong/246099 "2013-08-29T14:33:43Z")

</div>

Hello everyone, I am working on a project to realize 802.11p transmission and receiving using USRP N210.My daughterboard is XCVR2450. I found some codes in the following page, which can sever as an IEEE 802.11a/g/p O…

---

## [The great articles](https://www.ruby-forum.com/t/the-great-articles/236361)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 29, 2013, 1:35pm UTC](https://www.ruby-forum.com/t/the-great-articles/236361 "2013-08-29T13:35:50Z")

</div>

HI, I am going to post a website here the great articles great site special for all peoples who are interest in the great articles great service check them out they are great site . So peoples can get help from this …

---

## [Gr-bluetooth-0.4 make error](https://www.ruby-forum.com/t/gr-bluetooth-0-4-make-error/235375)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [August 29, 2013, 1:05pm UTC](https://www.ruby-forum.com/t/gr-bluetooth-0-4-make-error/235375 "2013-08-29T13:05:43Z")

</div>

hi I am trying to install gr-bluetooth-0.4. I got gr-bluetooth from http://gr-bluetooth.sourceforge.net/ , downloaded the latest version, ./configure sudo make During installation i get the following make error. …

---

## [Strange minitest error when using files in test](https://www.ruby-forum.com/t/strange-minitest-error-when-using-files-in-test/236349)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 7\
**Last updated:** [August 29, 2013, 12:17pm UTC](https://www.ruby-forum.com/t/strange-minitest-error-when-using-files-in-test/236349 "2013-08-29T12:17:09Z")

</div>

This is quite systematic when a test use files. For instance, I have a minitest/spec test with Utils.compare\_file(file\_1, file\_2).must\_equal true When the comparison gives true, no problem. When the comparison gives …

---

## [MAC physical interface GNU Radio](https://www.ruby-forum.com/t/mac-physical-interface-gnu-radio/154902)

<div class="topic-metadata">

**Author:** [@Radha\_Krishna\_Ganti](https://www.ruby-forum.com/u/Radha_Krishna_Ganti)\
**Replies:** 2\
**Last updated:** [August 29, 2013, 11:39am UTC](https://www.ruby-forum.com/t/mac-physical-interface-gnu-radio/154902 "2013-08-29T11:39:25Z")

</div>

Hello all, I am kind of new to gnu radio. I want to implement a CSMA/CA type MAC protocols on the radio. I have some basic questions regarding the implementation. How easy is to implement a packet based CSMA/C…

---

## [Ruby connect oracle problem](https://www.ruby-forum.com/t/ruby-connect-oracle-problem/236360)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 29, 2013, 11:32am UTC](https://www.ruby-forum.com/t/ruby-connect-oracle-problem/236360 "2013-08-29T11:32:15Z")

</div>

Hello folks. I’m new in Ruby also ROR. I installed oracle intant client and test it it works fine. Now I wanna connect to oracle db. But its got some error. like this custom\_require.rb:36:in \`require’: cannot load su…

---

## [Graph - finding all paths between nodes](https://www.ruby-forum.com/t/graph-finding-all-paths-between-nodes/246081)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [August 29, 2013, 9:53am UTC](https://www.ruby-forum.com/t/graph-finding-all-paths-between-nodes/246081 "2013-08-29T09:53:26Z")

</div>

Hi, I have implementation graph as a dictionary. I done finding a path between two nodes, but I don’t know how find all paths between two nodes. Anybody help or give me an advice? My code: class Graph attr\_accessor …

---

## [Require': cannot load such file -- em/simple\_telnet](https://www.ruby-forum.com/t/require-cannot-load-such-file-em-simple-telnet/236358)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 29, 2013, 7:40am UTC](https://www.ruby-forum.com/t/require-cannot-load-such-file-em-simple-telnet/236358 "2013-08-29T07:40:50Z")

</div>

thufir@dur:~/ruby$ thufir@dur:~/ruby$ ruby tel.rb /home/thufir/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site\_ruby/2.0.0/ rubygems/core\_ext/kernel\_require.rb:51:in require': cannot load such file -- em/simple\_telnet (LoadE…

---

## [Rdoc zerodivide error](https://www.ruby-forum.com/t/rdoc-zerodivide-error/236339)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [August 29, 2013, 5:54am UTC](https://www.ruby-forum.com/t/rdoc-zerodivide-error/236339 "2013-08-29T05:54:30Z")

</div>

When I try to use rdoc I’m getting a zerodivide error. Rdoc claims that the problem is that it isn’t a real ruby compiler, but the ruby compiler doesn’t complain at all. And rdoc doesn’t tell me WHERE in the program …

---

## [Question for Rghost](https://www.ruby-forum.com/t/question-for-rghost/236348)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 29, 2013, 5:39am UTC](https://www.ruby-forum.com/t/question-for-rghost/236348 "2013-08-29T05:39:44Z")

</div>

I am trying to create a pdf file using Rghost. It’s creating with extention of “pdf.rgin”,what would be the solution to get the pdf?

---

## [Add country region in logs](https://www.ruby-forum.com/t/add-country-region-in-logs/236354)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 29, 2013, 2:30am UTC](https://www.ruby-forum.com/t/add-country-region-in-logs/236354 "2013-08-29T02:30:04Z")

</div>

Hello nginx! Iam trying to identify all my visitors based on their continent region, i want to log this info in each log entry. There is no geoip database for continent region so I want to map manually the countries w…

---

## [Tools.rb:328:in \`require': cannot load such file -- JSON (LoadError)](https://www.ruby-forum.com/t/tools-rbin-require-cannot-load-such-file-json-loaderror/236343)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 29, 2013, 2:21am UTC](https://www.ruby-forum.com/t/tools-rbin-require-cannot-load-such-file-json-loaderror/236343 "2013-08-29T02:21:49Z")

</div>

Hi there, I am trying to get dashing to work well. Please let me know what system details will be helpful to post. Let me show the failure this time :slight\_smile: :~/sweet\_dashboard\_project# bundle Using backpor…

---

## [\[JOBS\] Ruby on Rails Super Hero (Boston Area) - FTE or Contractor!](https://www.ruby-forum.com/t/jobs-ruby-on-rails-super-hero-boston-area-fte-or-contractor/236356)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 29, 2013, 12:57am UTC](https://www.ruby-forum.com/t/jobs-ruby-on-rails-super-hero-boston-area-fte-or-contractor/236356 "2013-08-29T00:57:38Z")

</div>

Hi Everyone! To put it bluntly, I’m looking for a\* Ruby on Rails Super Hero\*! Senior-level (3+ years) RoR Engineer to join my company’s East Coast office (located in Burlington, MA). We’re willing to relocate for eit…

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

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