# Latest

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

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

---

## [Transmitting a burst synchronized to 1PPS, using GRC](https://www.ruby-forum.com/t/transmitting-a-burst-synchronized-to-1pps-using-grc/236581)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 17, 2013, 2:45pm UTC](https://www.ruby-forum.com/t/transmitting-a-burst-synchronized-to-1pps-using-grc/236581 "2013-09-17T14:45:27Z")

</div>

Can someone send me some hints on how I can use GRC to design a USRP N210 based transmitter, which sends a burst (stored in a file) as soon as the N210 receives the 1PPS from the external connector? Best regards Pier…

---

## [USRP2 video transmission](https://www.ruby-forum.com/t/usrp2-video-transmission/236576)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 17, 2013, 2:26pm UTC](https://www.ruby-forum.com/t/usrp2-video-transmission/236576 "2013-09-17T14:26:41Z")

</div>

Hi, Hope everything is perfect for you. I’m doing a project on GNU radio, transmitting and receiving a video. It works fine in simulation ( GNU radio ), but when I attach USRP2, I’t isn’t receiving any thing. I’m usi…

---

## [Ruby Beginner - calling methods within methods](https://www.ruby-forum.com/t/ruby-beginner-calling-methods-within-methods/246192)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [September 17, 2013, 2:12pm UTC](https://www.ruby-forum.com/t/ruby-beginner-calling-methods-within-methods/246192 "2013-09-17T14:12:26Z")

</div>

hi all, i’m having a little trouble trying to call a previously defined variable within a method. i’ve looked for threads explaining this and can’t seem to find any, hoping i can get some help. any input is greatly a…

---

## [Minimal example to change an instance variable on a class on inclusion](https://www.ruby-forum.com/t/minimal-example-to-change-an-instance-variable-on-a-class-on-inclusion/236570)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 7\
**Last updated:** [September 17, 2013, 12:59pm UTC](https://www.ruby-forum.com/t/minimal-example-to-change-an-instance-variable-on-a-class-on-inclusion/236570 "2013-09-17T12:59:37Z")

</div>

Hi. I don’t know if the following is possible, but it would be great. I have: module Foo; end class Bar; end class Bar has one instance variable, let’s call it @test. class Bar def initialize @test = ‘test 1’ en…

---

## [USRP2 video transmission](https://www.ruby-forum.com/t/usrp2-video-transmission/236573)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 17, 2013, 9:42am UTC](https://www.ruby-forum.com/t/usrp2-video-transmission/236573 "2013-09-17T09:42:41Z")

</div>

Hi, Hope everything is perfect for you. I’m doing a project on GNU radio, transmitting and receiving a video. It works fine in simulation ( GNU radio ), but when I attach USRP2, I’t isn’t receiving any thing. I’m usi…

---

## [How can I use get arguments of POST-request in own module?](https://www.ruby-forum.com/t/how-can-i-use-get-arguments-of-post-request-in-own-module/236572)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 17, 2013, 9:16am UTC](https://www.ruby-forum.com/t/how-can-i-use-get-arguments-of-post-request-in-own-module/236572 "2013-09-17T09:16:23Z")

</div>

Hello! I develop some module and I need recieve POST-request’s arguments. GET-request and HTTP-header easy to use but how may POST-request were used I don’t know… Posted at Nginx Forum:

---

## [Translate tag (I18n.t) in ruby on rails not having CSS formatting applied](https://www.ruby-forum.com/t/translate-tag-i18n-t-in-ruby-on-rails-not-having-css-formatting-applied/246217)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [September 17, 2013, 8:16am UTC](https://www.ruby-forum.com/t/translate-tag-i18n-t-in-ruby-on-rails-not-having-css-formatting-applied/246217 "2013-09-17T08:16:12Z")

</div>

Hello, I’ve got the following piece of code:- %section#download %h1= t “section.title” .content %p = I18n.t “section.first\_box.first” in name.html.erb file. But I noticed that the css formatting that would apply …

---

## [JOB - Ruby on Rails Developer - Melbourne, Australia](https://www.ruby-forum.com/t/job-ruby-on-rails-developer-melbourne-australia/246245)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [September 17, 2013, 8:12am UTC](https://www.ruby-forum.com/t/job-ruby-on-rails-developer-melbourne-australia/246245 "2013-09-17T08:12:06Z")

</div>

Full service agency with heavy bias towards data intelligence are on the hunt for an uber strong Rails Developer. Inner suburbs location Smart, productive and collaborative environment $80K - $100K + Super The organ…

---

## [On Screen Expert - Rails help](https://www.ruby-forum.com/t/on-screen-expert-rails-help/236575)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 17, 2013, 8:10am UTC](https://www.ruby-forum.com/t/on-screen-expert-rails-help/236575 "2013-09-17T08:10:55Z")

</div>

Hey Guys, My co-founderhttps://onscreenexpert.com/expert\_profiles/lev-berlin?query=levand I https://onscreenexpert.com/expert\_profiles/gideon-jadlovker?query=gideon are planing to be on OnScreenExpert http://www.On…

---

## [Devise alternative for API based authentication?](https://www.ruby-forum.com/t/devise-alternative-for-api-based-authentication/236552)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 17, 2013, 8:00am UTC](https://www.ruby-forum.com/t/devise-alternative-for-api-based-authentication/236552 "2013-09-17T08:00:24Z")

</div>

Hi, As token\_authenticatable is completely removed from Devise, there’s no way to use it for API based authentication system. What would be a best solution for rails 4 api based application ? -rax

---

## [Dev Call September](https://www.ruby-forum.com/t/dev-call-september/246238)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [September 17, 2013, 7:13am UTC](https://www.ruby-forum.com/t/dev-call-september/246238 "2013-09-17T07:13:38Z")

</div>

Hi everyone, this months dev call will be this coming Thursday (as usual, it’s the third Thursday a month). As before, we will be using Google Hangouts. For those who only want to listen, there will be a YouTube live …

---

## [Help me reduce my script size](https://www.ruby-forum.com/t/help-me-reduce-my-script-size/236564)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [September 17, 2013, 3:44am UTC](https://www.ruby-forum.com/t/help-me-reduce-my-script-size/236564 "2013-09-17T03:44:28Z")

</div>

Here is my code: def self.count file,min,max tags = Hash.new(0) if min && max File.open(file,“r”).each\_slice(4) do |r| seq = r\[1\].chomp tags\[seq\] += 1 if seq.length.between? min,max end elsif min.nil? && max Fil…

---

## [Reminder - Hackfest 2013](https://www.ruby-forum.com/t/reminder-hackfest-2013/236569)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 17, 2013, 12:30am UTC](https://www.ruby-forum.com/t/reminder-hackfest-2013/236569 "2013-09-17T00:30:22Z")

</div>

Greetings, Tom and I wanted to send a brief reminder about the hackfest that is being held in conjunction with GNU Radio Conference 2013http://gnuradio.squarespace.com/gnu-radio-conference-2013/. We’ve proven that h…

---

## [\[ANN\] Sportbook - Open Source Football Betting Pool Ready for Champions League 2013/14 in Rails](https://www.ruby-forum.com/t/ann-sportbook-open-source-football-betting-pool-ready-for-champions-league-2013-14-in-rails/236566)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 17, 2013, 12:27am UTC](https://www.ruby-forum.com/t/ann-sportbook-open-source-football-betting-pool-ready-for-champions-league-2013-14-in-rails/236566 "2013-09-17T00:27:26Z")

</div>

Hello, I’ve reconfigured the Sportbook app with new match fixtures for more fun for the upcoming Champions League 2013/14 \[1\]. You’re welcome to add your own fixtures. More tournament example include Deutsche Bund…

---

## [bladeRF - gr-osmosdr - gqrx - bandwidth?](https://www.ruby-forum.com/t/bladerf-gr-osmosdr-gqrx-bandwidth/236545)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 14\
**Last updated:** [September 16, 2013, 9:58pm UTC](https://www.ruby-forum.com/t/bladerf-gr-osmosdr-gqrx-bandwidth/236545 "2013-09-16T21:58:26Z")

</div>

Hi, I am using bladeRF with gr-osmosdr, gnuradio 3.7 and gqrx, so far a fine radio. One thing, when using gqrx…I am limited to USB2.0 at the moment, so I use a sampling rate of 8 Ms/s, and in this mode I have big pro…

---

## [Multiple listen directives](https://www.ruby-forum.com/t/multiple-listen-directives/246225)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [September 16, 2013, 8:39pm UTC](https://www.ruby-forum.com/t/multiple-listen-directives/246225 "2013-09-16T20:39:32Z")

</div>

Hi all, I want to build an active/active cluster and therefore configure nginx to listen on multiple IP adresses. I read http://nginx.org/en/doc/http/ngx\_http\_core\_module.html#listen but found no information if I can…

---

## [Pg 0.17.0 Released](https://www.ruby-forum.com/t/pg-0-17-0-released/236565)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 16, 2013, 8:19pm UTC](https://www.ruby-forum.com/t/pg-0-17-0-released/236565 "2013-09-16T20:19:40Z")

</div>

pg version 0.17.0 has been released! https://bitbucket.org/ged/ruby-pg (home) https://github.com/ged/ruby-pg (mirror) http://deveiate.org/code/pg (docs) Pg is the Ruby interface to the {PostgreSQL RDBMS}\[http://ww…

---

## [Status code 000 in the logs](https://www.ruby-forum.com/t/status-code-000-in-the-logs/246247)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [September 16, 2013, 6:47pm UTC](https://www.ruby-forum.com/t/status-code-000-in-the-logs/246247 "2013-09-16T18:47:20Z")

</div>

What does status code 000 mean in the Nginx logs? I have the following in the config: location = /get-img.pl { limit\_req zone=slow burst=10; proxy\_pass http://service\_perl; } get-img.…

---

## [Aliveshoes.com Ruby full stack Europe/us](https://www.ruby-forum.com/t/aliveshoes-com-ruby-full-stack-europe-us/236559)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 16, 2013, 4:26pm UTC](https://www.ruby-forum.com/t/aliveshoes-com-ruby-full-stack-europe-us/236559 "2013-09-16T16:26:27Z")

</div>

Wanna join this startup and run with the best? Are you the cinderella that fits our shoe? Well you have to be kinda special… a full stack web developer, back + front ( Ruby on rails, html, css, javascript, photoshop…

---

## [PHP, AJAX: large data being truncated on nginx](https://www.ruby-forum.com/t/php-ajax-large-data-being-truncated-on-nginx/236561)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 16, 2013, 3:30pm UTC](https://www.ruby-forum.com/t/php-ajax-large-data-being-truncated-on-nginx/236561 "2013-09-16T15:30:21Z")

</div>

Hello, My PHP installation is configured to accept 8M of post data and use to 128M of physical memory. I have also configured following in nginx conf client\_body\_buffer\_size 100k; client\_header\_buffer\_size 100k; …

---

## [Tx\_tag's time VS. USRP time](https://www.ruby-forum.com/t/tx-tags-time-vs-usrp-time/246203)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [September 16, 2013, 3:27pm UTC](https://www.ruby-forum.com/t/tx-tags-time-vs-usrp-time/246203 "2013-09-16T15:27:26Z")

</div>

Hi everyone, I wanna send data at desired time with USRP N210. The codes look like these int num=1; pmt::pmt\_t key = pmt::pmt\_string\_to\_symbol(“sob”); uint64\_t offset = this-\>nitems\_written(0); pmt::pmt\_t value = pm…

---

## [Devise: How to operate on individual accounts?](https://www.ruby-forum.com/t/devise-how-to-operate-on-individual-accounts/246215)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [September 16, 2013, 1:13pm UTC](https://www.ruby-forum.com/t/devise-how-to-operate-on-individual-accounts/246215 "2013-09-16T13:13:39Z")

</div>

Hi everyone. I’m trying to solve the problem described here - and I don’t quite get how devise handles sessions: why does it always refer to scopes? How do I sign out just one user for example? And I would appreci…

---

## [\[ruby-trunk - Bug #5515\]\[Open\] Integer#quo(aFloat) の結果が Rational になる](https://www.ruby-forum.com/t/ruby-trunk-bug-5515-open-integer-quo-afloat-rational/213324)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [September 16, 2013, 8:41am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-5515-open-integer-quo-afloat-rational/213324 "2013-09-16T08:41:28Z")

</div>

Issue #5515 has been reported by tadayoshi funaba. Bug #5515: Integer#quo(aFloat) の結果が Rational になる Author: tadayoshi funaba Status: Open Priority: Normal Assignee: Category: Target version: 2.0 ruby -v: ruby 2…

---

## [Declaring variables in Ruby](https://www.ruby-forum.com/t/declaring-variables-in-ruby/236498)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 5\
**Last updated:** [September 16, 2013, 6:57am UTC](https://www.ruby-forum.com/t/declaring-variables-in-ruby/236498 "2013-09-16T06:57:29Z")

</div>

Hi there. I just started learning Ruby and here is the code I’m stuck at: class Greeter def initialize(name = “World”) @name = name end def say\_hi puts “Hi #{@name}!” end end Okay, in this program I declared va…

---

## [Ngx\_openresty mainline version 1.4.2.7 released](https://www.ruby-forum.com/t/ngx-openresty-mainline-version-1-4-2-7-released/236557)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 16, 2013, 12:17am UTC](https://www.ruby-forum.com/t/ngx-openresty-mainline-version-1-4-2-7-released/236557 "2013-09-16T00:17:06Z")

</div>

Hello folks! I am happy to announce that the new mainline version of ngx\_openresty, 1.4.2.7, is now released: http://openresty.org/#Download Special thanks go to all the contributors for making this happen! Below is…

---

## [\[ruby-trunk - Bug #8916\]\[Open\] rb sprintf への精度指定が正しく機能していない](https://www.ruby-forum.com/t/ruby-trunk-bug-8916-open-rb-sprintf/236558)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 16, 2013, 12:01am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8916-open-rb-sprintf/236558 "2013-09-16T00:01:54Z")

</div>

Issue #8916 has been reported by tadf (tadayoshi funaba). Bug #8916: rb\_sprintf への精度指定が正しく機能していない Author: tadf (tadayoshi funaba) Status: Open Priority: Low Assignee: Category: Target version: ruby -v: ruby 2.1…

---

## [\[Backport93 - Backport #8915\]\[Open\] r42942](https://www.ruby-forum.com/t/backport93-backport-8915-open-r42942/246181)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [September 15, 2013, 11:44pm UTC](https://www.ruby-forum.com/t/backport93-backport-8915-open-r42942/246181 "2013-09-15T23:44:58Z")

</div>

Issue #8915 has been reported by tadf (tadayoshi funaba). Backport #8915: r42942 Author: tadf (tadayoshi funaba) Status: Open Priority: High Assignee: Category: Target version: r42942 と同様にする。 r28844, r28886, r…

---

## [Why does Rails convert scopes to downcase](https://www.ruby-forum.com/t/why-does-rails-convert-scopes-to-downcase/246211)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [September 15, 2013, 11:14pm UTC](https://www.ruby-forum.com/t/why-does-rails-convert-scopes-to-downcase/246211 "2013-09-15T23:14:35Z")

</div>

I found a strange behavior in Rails 4 with scopes when I use postgres. I have a Object with saleStartDate and saleEndDate attributes. scope :active, -\> { where(isActivate: true) } scope :activeDate, -\> { active.where…

---

## [Signal composition and intermodulation filtering](https://www.ruby-forum.com/t/signal-composition-and-intermodulation-filtering/236529)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [September 15, 2013, 6:36pm UTC](https://www.ruby-forum.com/t/signal-composition-and-intermodulation-filtering/236529 "2013-09-15T18:36:53Z")

</div>

Hi everyone. I’m new in this forum and this is my first message! It’s more or less 2 months that I bought and playing with my new ettus usrp2 B100 with a WBX radio board. I admit that I have a discrete knowledge of R…

---

## [Re: swig smart pointer inheritance issue](https://www.ruby-forum.com/t/re-swig-smart-pointer-inheritance-issue/246193)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [September 15, 2013, 6:04pm UTC](https://www.ruby-forum.com/t/re-swig-smart-pointer-inheritance-issue/246193 "2013-09-15T18:04:59Z")

</div>

I spent some time reading the .cxx files swig generates, and trying to understand how my use of gr::digital::constellation\_sptr was falling off the tracks relative to other, similar applications in the master branch…

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

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