# Latest

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

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

---

## [Endianness in OFDM Implementation](https://www.ruby-forum.com/t/endianness-in-ofdm-implementation/236679)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 24, 2013, 7:41pm UTC](https://www.ruby-forum.com/t/endianness-in-ofdm-implementation/236679 "2013-09-24T19:41:59Z")

</div>

Hello All, I have a question about the implementation of the mapping from an incoming bit-stream to generate an output of frequency-domain OFDM symbols (ofdm\_mapper\_bcv\_impl.cc). Let’s say that the incoming bit-stre…

---

## [Datepicker not showing proper field](https://www.ruby-forum.com/t/datepicker-not-showing-proper-field/236670)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [September 24, 2013, 6:27pm UTC](https://www.ruby-forum.com/t/datepicker-not-showing-proper-field/236670 "2013-09-24T18:27:45Z")

</div>

I’m using Rails version 3.2 and Ruby 1.9.3 I’m trying to make within a form\_tag a datepicker field. In my GemFile I have added gem ‘jquery-rails’ and gem ‘jquery\_datepicker’. In the rails console I have used the comma…

---

## [Hpricot problem on class initialize](https://www.ruby-forum.com/t/hpricot-problem-on-class-initialize/236659)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [September 24, 2013, 6:22pm UTC](https://www.ruby-forum.com/t/hpricot-problem-on-class-initialize/236659 "2013-09-24T18:22:47Z")

</div>

Hello, im new to ruby so there is a good chance the error is not even with hpricot but something im missing on the syntax or something. I got the following code: Its suposed to read a file where I have a bunch of fac…

---

## [Error building gnuradio in arch](https://www.ruby-forum.com/t/error-building-gnuradio-in-arch/246285)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [September 24, 2013, 5:52pm UTC](https://www.ruby-forum.com/t/error-building-gnuradio-in-arch/246285 "2013-09-24T17:52:41Z")

</div>

The qa\_qtgui module is failing. When I run it manually in gdb and bt after the segfault I get. #0 0x00007fffedcd360a in QString::fromLocal8Bit(char const\*, int) () from /lib64/libQtCore.so.4 #1 0x00007fffedd8fc61 i…

---

## [Re: Still missing gnuradio-runtime in OOT modules](https://www.ruby-forum.com/t/re-still-missing-gnuradio-runtime-in-oot-modules/236678)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 24, 2013, 5:06pm UTC](https://www.ruby-forum.com/t/re-still-missing-gnuradio-runtime-in-oot-modules/236678 "2013-09-24T17:06:31Z")

</div>

Thanks this solved the problem. Achilleas

---

## [Retrieve duration (in string format) from database and convert to Ruby syntax for calculation](https://www.ruby-forum.com/t/retrieve-duration-in-string-format-from-database-and-convert-to-ruby-syntax-for-calculation/236629)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [September 24, 2013, 4:51pm UTC](https://www.ruby-forum.com/t/retrieve-duration-in-string-format-from-database-and-convert-to-ruby-syntax-for-calculation/236629 "2013-09-24T16:51:19Z")

</div>

If I store 1.month as a string in the database, how do I convert “1.month” into 1.month? This way I can use the “1.month” value stored in database to perform the following calculation. Time.now + 1.month

---

## [Nginx.conf(5) man page](https://www.ruby-forum.com/t/nginx-conf-5-man-page/236676)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [September 24, 2013, 4:46pm UTC](https://www.ruby-forum.com/t/nginx-conf-5-man-page/236676 "2013-09-24T16:46:37Z")

</div>

Hi, OpenBSD is working on replacing the (heavily patched) apache 1.3 in base with nginx. During that work the question was raised if we can have a nginx.conf(5) man page. As a proof of concept I put a perl script tog…

---

## [Re: AGC and Dynamic Range of ADC](https://www.ruby-forum.com/t/re-agc-and-dynamic-range-of-adc/236677)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 24, 2013, 4:36pm UTC](https://www.ruby-forum.com/t/re-agc-and-dynamic-range-of-adc/236677 "2013-09-24T16:36:41Z")

</div>

On 09/23/2013 11:07 PM, bob wole wrote: Can somebody please guide me on this ? Bob On Fri, Sep 20, 2013 at 4:44 PM, bob wole address@hidden wrote: I have USRPN210 with WBX and RFX2400. Is there any AGC chip on N210 …

---

## [Exception Raising](https://www.ruby-forum.com/t/exception-raising/236668)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 7\
**Last updated:** [September 24, 2013, 3:48pm UTC](https://www.ruby-forum.com/t/exception-raising/236668 "2013-09-24T15:48:16Z")

</div>

Hi. I have started to introduce the Net::FTP function to download something from our FTP server, and wanted to introduce error handling. Code is: while @try \< 6 do #login to FTP Server, download latest seeding list &…

---

## [Redirect on browser success, but redirect on functional test is error](https://www.ruby-forum.com/t/redirect-on-browser-success-but-redirect-on-functional-test-is-error/236660)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [September 24, 2013, 2:52pm UTC](https://www.ruby-forum.com/t/redirect-on-browser-success-but-redirect-on-functional-test-is-error/236660 "2013-09-24T14:52:39Z")

</div>

line\_items.yml: one: product\_id: 1 cart\_id: 1 quantity: 1 carts.yml: one: {} product.rb: has\_many :line\_items cart.rb: has\_many :line\_items, dependent: :destroy line\_item.rb: belongs\_to :product belongs\_to :…

---

## [Is possible to cast an array to an special class using to\_java?](https://www.ruby-forum.com/t/is-possible-to-cast-an-array-to-an-special-class-using-to-java/236671)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 24, 2013, 2:28pm UTC](https://www.ruby-forum.com/t/is-possible-to-cast-an-array-to-an-special-class-using-to-java/236671 "2013-09-24T14:28:43Z")

</div>

Dear Developers, I see that is possible to acquire from Java an Array of a predefined type of Objects like ( java.lang.String, etc…) …but in the same way I can do this? class MyClass { private int x; public int ge…

---

## [Paypal IPN e Rails](https://www.ruby-forum.com/t/paypal-ipn-e-rails/236449)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 10\
**Last updated:** [September 24, 2013, 2:20pm UTC](https://www.ruby-forum.com/t/paypal-ipn-e-rails/236449 "2013-09-24T14:20:10Z")

</div>

Ciao a tutti, sto realizzando con un mio amico un’applicazione in rails e volevamo utilizzare il serivzio di Paypal IPN (Notifica immediata di pagamento). Ci che mi serve ricevere una notifica da paypal non appena l…

---

## [Introducing Web Console 1.0 \[Google Summer of Code 2013 Project\]](https://www.ruby-forum.com/t/introducing-web-console-1-0-google-summer-of-code-2013-project/236622)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [September 24, 2013, 1:25pm UTC](https://www.ruby-forum.com/t/introducing-web-console-1-0-google-summer-of-code-2013-project/236622 "2013-09-24T13:25:33Z")

</div>

Hi There, My name is Genadi and for the last 2 months, me and Guillermo Iguaran have been working on bringing rails console to the browser under the Google Summer of Code 2013 program. We named the project Web Conso…

---

## [Still missing gnuradio-runtime in OOT modules](https://www.ruby-forum.com/t/still-missing-gnuradio-runtime-in-oot-modules/246271)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [September 24, 2013, 10:33am UTC](https://www.ruby-forum.com/t/still-missing-gnuradio-runtime-in-oot-modules/246271 "2013-09-24T10:33:45Z")

</div>

I have the latest master installed and tested on a 64bit Fedora 18 . When I generate an OOT module with gr\_modtool i still cannot build/compile, since I get the error – checking for module ‘gnuradio-runtime’ – pac…

---

## [Drainstop/Graceful stop?](https://www.ruby-forum.com/t/drainstop-graceful-stop/236661)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [September 24, 2013, 6:13am UTC](https://www.ruby-forum.com/t/drainstop-graceful-stop/236661 "2013-09-24T06:13:09Z")

</div>

Hi, Sorry if this is a but of a bumb question, but we’re moving from NLB to using Nginx as a load balancer. Whats the best way to do an equivelient of a drain-stop to one upstram server? Would it be a graceful stop, …

---

## [What are the benefits of ruby on rails development?](https://www.ruby-forum.com/t/what-are-the-benefits-of-ruby-on-rails-development/236667)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 24, 2013, 6:02am UTC](https://www.ruby-forum.com/t/what-are-the-benefits-of-ruby-on-rails-development/236667 "2013-09-24T06:02:50Z")

</div>

There are a number of companies engaged in offering Ruby on Rails application development or website designs. Benefits of ruby on rails development? •Quick website launch: In just a matter of 6 weeks you can have your …

---

## [AGC and Dynamic Range of ADC](https://www.ruby-forum.com/t/agc-and-dynamic-range-of-adc/236634)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [September 24, 2013, 5:55am UTC](https://www.ruby-forum.com/t/agc-and-dynamic-range-of-adc/236634 "2013-09-24T05:55:37Z")

</div>

I have USRPN210 with WBX and RFX2400. Is there any AGC chip on N210 motherboard or WBX, RFX2400 before ADC to utilize the dynamic range of ADC ? if yes, which one? If not, then won’t the varying input signal (for exa…

---

## [Autenticazione](https://www.ruby-forum.com/t/autenticazione/246249)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 10\
**Last updated:** [September 24, 2013, 1:31am UTC](https://www.ruby-forum.com/t/autenticazione/246249 "2013-09-24T01:31:55Z")

</div>

Ciao a tutti, mi sto cimentando nella mia prima applicaione RoR e, devo implementare il meccanismo di autenticazione via web. Faccio tutto a manina o conviene utilizzare qualche gemma tipo clearance ? Seconda domand…

---

## [Compare variable got from location with set of strings](https://www.ruby-forum.com/t/compare-variable-got-from-location-with-set-of-strings/236654)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 24, 2013, 1:15am UTC](https://www.ruby-forum.com/t/compare-variable-got-from-location-with-set-of-strings/236654 "2013-09-24T01:15:33Z")

</div>

Hello, I have some location in configuration like this: location ~ /(\[A-z\]+\_\[A-z0-9\]+) { … do something (got $1) … } And i need to compare this ‘$1’ with a set of strings. How can i do this? Thanks!

---

## [400 bad request](https://www.ruby-forum.com/t/400-bad-request/236664)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 24, 2013, 12:55am UTC](https://www.ruby-forum.com/t/400-bad-request/236664 "2013-09-24T00:55:41Z")

</div>

Hi, Im using nginx and rails for my site which contains url with georgian letters ie განცხადებები so something like It is mainly working perfectly but sometimes I receive request with truncated url ie 1 - http://g…

---

## [Override proxy's incorrect Content-Type via mime settings](https://www.ruby-forum.com/t/override-proxys-incorrect-content-type-via-mime-settings/212153)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [September 24, 2013, 12:45am UTC](https://www.ruby-forum.com/t/override-proxys-incorrect-content-type-via-mime-settings/212153 "2013-09-24T00:45:10Z")

</div>

Hi all - I have an upstream proxy that sends the wrong Content-Type header for a load of images. Sometime it doesn’t send any header at all. I’m trying to get Nginx not only to remove the upstream’s Content-Type head…

---

## [Best way to clear cache of layouts](https://www.ruby-forum.com/t/best-way-to-clear-cache-of-layouts/236663)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 24, 2013, 12:40am UTC](https://www.ruby-forum.com/t/best-way-to-clear-cache-of-layouts/236663 "2013-09-24T00:40:09Z")

</div>

Hello, I have editable layouts in my application. It is not a good way to reset application, after each change of layouts by touch tmp/restart.txt Could someone propose other way to reset cache of layouts? Or better …

---

## [Create a Functional Test for Session Controller](https://www.ruby-forum.com/t/create-a-functional-test-for-session-controller/236608)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [September 23, 2013, 11:13pm UTC](https://www.ruby-forum.com/t/create-a-functional-test-for-session-controller/236608 "2013-09-23T23:13:26Z")

</div>

Does anybody know how to make a functional test for this controller : def create user = User.authenticate(params\[:email\], params\[:password\]) if user session\[:user\_id\] = user.id redirect\_to root\_url, :notice =\> “Logg…

---

## [Preferred way to do redirects (rewrite or return)](https://www.ruby-forum.com/t/preferred-way-to-do-redirects-rewrite-or-return/236662)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [September 23, 2013, 10:46pm UTC](https://www.ruby-forum.com/t/preferred-way-to-do-redirects-rewrite-or-return/236662 "2013-09-23T22:46:33Z")

</div>

What is the preferred way to do redirects? I know of two solutions: rewrite “^/help/?$” https://support.mydomain.com permanent; or location ^/help/?$ { return 301 https://support.mydomain.com; } I think I like usin…

---

## [Another refactor excise](https://www.ruby-forum.com/t/another-refactor-excise/236586)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 9\
**Last updated:** [September 23, 2013, 10:14pm UTC](https://www.ruby-forum.com/t/another-refactor-excise/236586 "2013-09-23T22:14:08Z")

</div>

Hi, ALL: I am happy because i learned a lot last night from this fourm. Now, I encounter another challenge. Here is my code: class Fastqfile attr\_accessor :offset def initialize file @file = file @offset ||= 33 e…

---

## [Gstreamer : how to put video in a gtk widget on windows?](https://www.ruby-forum.com/t/gstreamer-how-to-put-video-in-a-gtk-widget-on-windows/246111)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 8\
**Last updated:** [September 23, 2013, 10:13pm UTC](https://www.ruby-forum.com/t/gstreamer-how-to-put-video-in-a-gtk-widget-on-windows/246111 "2013-09-23T22:13:16Z")

</div>

Hello, On windows with old gst version, we use to put video in a gtk window with xwindow\_id: view = Gst::ElementFactory.make(‘playbin’) view.video\_sink = Gst::ElementFactory.make(‘directdrawsink’) handle…

---

## [Reverse proxy removes Transfer-Encoding: chunked](https://www.ruby-forum.com/t/reverse-proxy-removes-transfer-encoding-chunked/246251)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [September 23, 2013, 9:42pm UTC](https://www.ruby-forum.com/t/reverse-proxy-removes-transfer-encoding-chunked/246251 "2013-09-23T21:42:50Z")

</div>

I’m trying to setup a nginx (1.4.1) reverse proxy to a HornetQ API using this configuration: proxy\_http\_version 1.1; proxy\_set\_header Host $host; upstream app { server 127.0.0.1:8000; keepalive 8; } server { lis…

---

## [Fortune\_gem 0.0.7 Released](https://www.ruby-forum.com/t/fortune-gem-0-0-7-released/246280)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [September 23, 2013, 8:01pm UTC](https://www.ruby-forum.com/t/fortune-gem-0-0-7-released/246280 "2013-09-23T20:01:10Z")

</div>

fortune\_gem is a port of the unix “fortune” program, written in Ruby. 0.0.7 just fixes a horrible syntax error in (yanked) 0.0.6. \*Use in Code: require ‘fortune\_gem’ FortuneGem.give\_fortune FortuneGem.give\_fortu…

---

## [Log module question: does the buffer mess up the order of the log entries?](https://www.ruby-forum.com/t/log-module-question-does-the-buffer-mess-up-the-order-of-the-log-entries/236650)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [September 23, 2013, 7:49pm UTC](https://www.ruby-forum.com/t/log-module-question-does-the-buffer-mess-up-the-order-of-the-log-entries/236650 "2013-09-23T19:49:29Z")

</div>

Hi experts, I am reading the log module source code, there is something difficult to make sure, so I ask for your help. Access log module use a buffer to buffer log entries before writing to the file system, the buff…

---

## [Use of RTL-based dongles as GNSS receivers](https://www.ruby-forum.com/t/use-of-rtl-based-dongles-as-gnss-receivers/236658)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 23, 2013, 7:44pm UTC](https://www.ruby-forum.com/t/use-of-rtl-based-dongles-as-gnss-receivers/236658 "2013-09-23T19:44:48Z")

</div>

Dear all, it is our pleasure to share a preprint of the paper we presented last week at the ION GNSS+ 2013 conference (ION GNSS+) about the use of RTL-based dongles as RF front-ends for software-defined GPS receive…

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

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