# Latest

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

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

---

## [Zero ninput\_items\_required\[0\]](https://www.ruby-forum.com/t/zero-ninput-items-required-0/246461)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 11\
**Last updated:** [October 22, 2013, 2:58pm UTC](https://www.ruby-forum.com/t/zero-ninput-items-required-0/246461 "2013-10-22T14:58:20Z")

</div>

Hi list, I am designing very simple FSK modulator. The principle of operation is following: based on symbol value nco generates baseband signa. The problem is somewhere in my forecast function, but I can’t figure out…

---

## [Using USRP to transmit and receive samples](https://www.ruby-forum.com/t/using-usrp-to-transmit-and-receive-samples/246419)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 9\
**Last updated:** [October 22, 2013, 1:58pm UTC](https://www.ruby-forum.com/t/using-usrp-to-transmit-and-receive-samples/246419 "2013-10-22T13:58:38Z")

</div>

Hello, We have used Matlab to generate \*.mat file, a file around 1966240 complex number OFDM samples. Thinking to (I) transmit between two USRPs, (II) let the receiver side saving data into file, and later (III) put…

---

## [CRC in ofdm reciever examples](https://www.ruby-forum.com/t/crc-in-ofdm-reciever-examples/237058)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 22, 2013, 1:38pm UTC](https://www.ruby-forum.com/t/crc-in-ofdm-reciever-examples/237058 "2013-10-22T13:38:30Z")

</div>

hi all, I’m working on ofdm examples. I’m not able to get the actual signal back from the payload block diagram after the serializer in rx\_ofdm.grc. I tried using “repack bits” block and I couldn’t get the actual sign…

---

## [Fastest way to parse millions of file](https://www.ruby-forum.com/t/fastest-way-to-parse-millions-of-file/237054)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [October 22, 2013, 1:02pm UTC](https://www.ruby-forum.com/t/fastest-way-to-parse-millions-of-file/237054 "2013-10-22T13:02:30Z")

</div>

how i can read file faster. I have millions of file my motto is to read all files and extract particular patter and then create a hash with those extracted value. What i did is open the file and then reading each line…

---

## [Git push not working](https://www.ruby-forum.com/t/git-push-not-working/237045)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 8\
**Last updated:** [October 22, 2013, 12:28pm UTC](https://www.ruby-forum.com/t/git-push-not-working/237045 "2013-10-22T12:28:34Z")

</div>

https://lh4.googleusercontent.com/-IA0TutFw54A/UmVnJwi7CHI/AAAAAAAAAzg/fEZFf\_kHsug/s1600/git.gif Hi again, I’m working on http://ruby.railstutorial.org section I’m trying to push the repository to the remote site bu…

---

## [Come fate il testing?](https://www.ruby-forum.com/t/come-fate-il-testing/246443)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 9\
**Last updated:** [October 22, 2013, 12:09pm UTC](https://www.ruby-forum.com/t/come-fate-il-testing/246443 "2013-10-22T12:09:17Z")

</div>

Ciao, mi rendo conto che la domanda puo’ sembrare banale, ma non riesco a trovare un workflow convincente. Attualmente faccio cosi’: Creo i model Scrivo gli unit test per i model (usando shoulda + factory girls) …

---

## [Error code 0xf](https://www.ruby-forum.com/t/error-code-0xf/246482)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [October 22, 2013, 11:26am UTC](https://www.ruby-forum.com/t/error-code-0xf/246482 "2013-10-22T11:26:37Z")

</div>

Dear all, I have increased the buffer frame size from 1472 to 4096 bytes. Than I started my grc application and got the following message: recv buffer smaller than vrt packet offset. UHD source block got error code 0…

---

## [Cgran is weird](https://www.ruby-forum.com/t/cgran-is-weird/246498)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [October 22, 2013, 7:22am UTC](https://www.ruby-forum.com/t/cgran-is-weird/246498 "2013-10-22T07:22:56Z")

</div>

I was trying to install the 802.11b Receiver from https://cgran.org/wiki/SPAN80211b So I followed the instruction to download the source files using the svn as follows: svn co -r7596 http://gnuradio.org/svn/gnuradio…

---

## [Re: correct notation of nginx](https://www.ruby-forum.com/t/re-correct-notation-of-nginx/237053)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [October 22, 2013, 5:07am UTC](https://www.ruby-forum.com/t/re-correct-notation-of-nginx/237053 "2013-10-22T05:07:22Z")

</div>

Hello! 2013/10/22 Maxim D. removed\_email\_address@domain.invalid But, actually, most of us don’t really care. Thanks. I’ll use “nginx” from now. – Tatsuhiko Kubo E-Mail : removed\_email\_address@domain.invalid HP …

---

## [How to get the location of connected database in Sequel](https://www.ruby-forum.com/t/how-to-get-the-location-of-connected-database-in-sequel/246484)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [October 22, 2013, 1:55am UTC](https://www.ruby-forum.com/t/how-to-get-the-location-of-connected-database-in-sequel/246484 "2013-10-22T01:55:12Z")

</div>

I’m using Sequel gem, here is the connection code: DB = Sequel.sqlite("d:\\\\test.db3") I’m wondering how can I get the db location, such as DB.location or DB.database\_location?

---

## [Repeatability of delivery ratios using benchmark\_tx/rx](https://www.ruby-forum.com/t/repeatability-of-delivery-ratios-using-benchmark-tx-rx/236984)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [October 22, 2013, 1:28am UTC](https://www.ruby-forum.com/t/repeatability-of-delivery-ratios-using-benchmark-tx-rx/236984 "2013-10-22T01:28:15Z")

</div>

Hi All, I have two USRP N210 devices connected by an attenuator cable. I set up the following experiments. – BEGIN EXPERIMENT 1 Step 1) Use benchmark\_tx on one of the USRPs and send 100 packets. At the receiver, I…

---

## [Certificate verify failed](https://www.ruby-forum.com/t/certificate-verify-failed/236991)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 22, 2013, 12:18am UTC](https://www.ruby-forum.com/t/certificate-verify-failed/236991 "2013-10-22T00:18:41Z")

</div>

I have encountered widely reported and dreaded certificate verify failed exception. I downloaded a pem file and added it to my .zshrc file, but I am using RubyMine and all that jazz. Is there a way to add an environme…

---

## [\[ANN\] Rails 4.0.1.rc2 has been released!](https://www.ruby-forum.com/t/ann-rails-4-0-1-rc2-has-been-released/246458)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [October 22, 2013, 12:02am UTC](https://www.ruby-forum.com/t/ann-rails-4-0-1-rc2-has-been-released/246458 "2013-10-22T00:02:55Z")

</div>

We fixed two regressions on Active Record. Here are the changes from 4.0.1.rc1 to 4.0.1.rc2: And the changes from 4.0.0 to 4.0.1: If we don’t hit any more stumbling blocks, I’ll release 4.0.1 on Wednesday October…

---

## [Do i need mod\_security for nginx?](https://www.ruby-forum.com/t/do-i-need-mod-security-for-nginx/237051)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 21, 2013, 11:41pm UTC](https://www.ruby-forum.com/t/do-i-need-mod-security-for-nginx/237051 "2013-10-21T23:41:52Z")

</div>

Today i found one particular IP address which was trying a lot of things in my server. For a second, it was sending atleast 50 requests. It was keep on accessing my admin login page with post and get request That IP…

---

## ["Type Error" not coming when trying to make a class as subclass of Object](https://www.ruby-forum.com/t/type-error-not-coming-when-trying-to-make-a-class-as-subclass-of-object/246495)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [October 21, 2013, 10:49pm UTC](https://www.ruby-forum.com/t/type-error-not-coming-when-trying-to-make-a-class-as-subclass-of-object/246495 "2013-10-21T22:49:52Z")

</div>

Below part is happening as expected : class A;end class C;end class B\<A;end class B\<C;end ~\> -:4:in \`’: superclass mismatch for class B (Type Error) why not the same is happened for the below part ? class A;end cl…

---

## [Benchmark Updates](https://www.ruby-forum.com/t/benchmark-updates/237048)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 21, 2013, 9:43pm UTC](https://www.ruby-forum.com/t/benchmark-updates/237048 "2013-10-21T21:43:59Z")

</div>

With the release of the major Ruby versions during the past 4 weeks I thought it would be interesting to run my primeszp benchmark on them. The updated Ruby versions (via rvm) are: Ruby 2.1.0-preview (2.1.0dev) Ruby …

---

## [I think I've found a mistake in Rails tutorial](https://www.ruby-forum.com/t/i-think-ive-found-a-mistake-in-rails-tutorial/246457)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [October 21, 2013, 8:41pm UTC](https://www.ruby-forum.com/t/i-think-ive-found-a-mistake-in-rails-tutorial/246457 "2013-10-21T20:41:54Z")

</div>

At the point of this section http://ruby.railstutorial.org/chapters/sign-up#sec-signup\_failurehttp://ruby.railstutorial.org/chapters/sign-up#sec-signup\_failure clicking the “Create my account” button on the signup form…

---

## [Authentication error or maybe it isn't? - no user/password was provided](https://www.ruby-forum.com/t/authentication-error-or-maybe-it-isnt-no-user-password-was-provided/237036)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 8\
**Last updated:** [October 21, 2013, 8:41pm UTC](https://www.ruby-forum.com/t/authentication-error-or-maybe-it-isnt-no-user-password-was-provided/237036 "2013-10-21T20:41:18Z")

</div>

I have set up an Nginx as a front end to manage secure connection and authorization for the Radicale calendar server which I use to synch my Lightning calendar on my desktop, laptop and Android phone (it uses the Cald…

---

## [Correct notation of nginx](https://www.ruby-forum.com/t/correct-notation-of-nginx/246447)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [October 21, 2013, 8:03pm UTC](https://www.ruby-forum.com/t/correct-notation-of-nginx/246447 "2013-10-21T20:03:55Z")

</div>

Hello. Though I’m sometimes stumped about how to describing the notation of nginx in text, is there an official notation of nginx? In detail, I’m sometimes stumped about whether selecting from the followings. ngi…

---

## [Valgrind & gr\_fir\_fff\_simd::set\_taps - memory leak](https://www.ruby-forum.com/t/valgrind-gr-fir-fff-simd-set-taps-memory-leak/246459)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [October 21, 2013, 7:52pm UTC](https://www.ruby-forum.com/t/valgrind-gr-fir-fff-simd-set-taps-memory-leak/246459 "2013-10-21T19:52:13Z")

</div>

I am trying to track down an insidious little memory leak in a Block that wraps the DSD vocoder. I have run Valgrind against it and didn’t find anything obvious. Valgrind didn’t like the way memory was being assigned …

---

## [What is your favourite authentication gem and why?](https://www.ruby-forum.com/t/what-is-your-favourite-authentication-gem-and-why/237046)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [October 21, 2013, 7:17pm UTC](https://www.ruby-forum.com/t/what-is-your-favourite-authentication-gem-and-why/237046 "2013-10-21T19:17:09Z")

</div>

What is your favourite authentication gem and why? Right now I have 4 to choose from (Cancan, Clearance, Rails Casthttp://railscasts.com/episodes/250-authentication-from-scratch) and I don’t know which one to pick. I…

---

## [What it exactly do these do ( RubyXL::Parser.parse and Roo::Excelx.new) when opening a file?](https://www.ruby-forum.com/t/what-it-exactly-do-these-do-rubyxl-parser-parse-and-roo-excelx-new-when-opening-a-file/237049)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [October 21, 2013, 6:01pm UTC](https://www.ruby-forum.com/t/what-it-exactly-do-these-do-rubyxl-parser-parse-and-roo-excelx-new-when-opening-a-file/237049 "2013-10-21T18:01:44Z")

</div>

Do they open a file and load it into memory? I’m asking because it seems to take a long time opening a file but after it opens looping into the variable is REALLY fast, could someone explain me or tell me where can …

---

## [Make 1 root file accessible, and serve it for all requests](https://www.ruby-forum.com/t/make-1-root-file-accessible-and-serve-it-for-all-requests/246479)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [October 21, 2013, 4:24pm UTC](https://www.ruby-forum.com/t/make-1-root-file-accessible-and-serve-it-for-all-requests/246479 "2013-10-21T16:24:44Z")

</div>

I have a version of this working, but I suspect my solution is not the best one. Please suggest any improvements I can make to my conf file. I am attempting to do the following: If any file is requested from the…

---

## [My new general block output strange](https://www.ruby-forum.com/t/my-new-general-block-output-strange/237047)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [October 21, 2013, 4:14pm UTC](https://www.ruby-forum.com/t/my-new-general-block-output-strange/237047 "2013-10-21T16:14:51Z")

</div>

Hi,everyone. I use command line :gr\_modtool add -t general modulation\_demapper\_cb to add new block in my Gnuradio. I have successfully generated my new block ,and when use it in grc , using binary file (1024 Bytes) ,…

---

## [Setup of usrp N100/N200](https://www.ruby-forum.com/t/setup-of-usrp-n100-n200/237035)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 17\
**Last updated:** [October 21, 2013, 4:05pm UTC](https://www.ruby-forum.com/t/setup-of-usrp-n100-n200/237035 "2013-10-21T16:05:26Z")

</div>

HI all, I have followed as per the instructions given in the webpage for set up of the Usrp N200/N210 but still i am unable to communicate between the hardware and host pc 1.I have set the static ip of t…

---

## [Looking for RoR friends](https://www.ruby-forum.com/t/looking-for-ror-friends/246450)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [October 21, 2013, 3:48pm UTC](https://www.ruby-forum.com/t/looking-for-ror-friends/246450 "2013-10-21T15:48:29Z")

</div>

This is quiet off topic but I am looking for friends from this group. Reply me :slight\_smile:

---

## [Developement in rails](https://www.ruby-forum.com/t/developement-in-rails/237043)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 21, 2013, 1:24pm UTC](https://www.ruby-forum.com/t/developement-in-rails/237043 "2013-10-21T13:24:45Z")

</div>

Hello guys I have recently started using rails and plan to do some development for it Any advice on where to start

---

## [Optimize la value of pool in database.yml](https://www.ruby-forum.com/t/optimize-la-value-of-pool-in-database-yml/246455)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [October 21, 2013, 1:07pm UTC](https://www.ruby-forum.com/t/optimize-la-value-of-pool-in-database-yml/246455 "2013-10-21T13:07:13Z")

</div>

Hi, I would like to understand how to calculate optimal value for “pool” parameter in database.yml I’m using rails 3, ruby 2, postgres, elasticsearch, unicorn, nginx My server : 12 coeurs 24 threads ( I dont know if …

---

## [Cannot load such file -- unicode (LoadError)](https://www.ruby-forum.com/t/cannot-load-such-file-unicode-loaderror/246489)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [October 21, 2013, 1:03pm UTC](https://www.ruby-forum.com/t/cannot-load-such-file-unicode-loaderror/246489 "2013-10-21T13:03:07Z")

</div>

I’m new to RoR and working on a migration of project developed by another team. I’m using Rails version (3.2.13) and my bundle install works successfully. However while running “rails server”, I get the error below. …

---

## [Cannot load such file -- unicode (LoadError)](https://www.ruby-forum.com/t/cannot-load-such-file-unicode-loaderror/237042)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [October 21, 2013, 1:03pm UTC](https://www.ruby-forum.com/t/cannot-load-such-file-unicode-loaderror/237042 "2013-10-21T13:03:07Z")

</div>

I’m new to RoR and working on a migration of project developed by another team. I’m using Rails version (3.2.13) and my bundle install works successfully. However while running “rails server”, I get the error below. …

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

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