# Latest

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

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

---

## [Proxyconf 0.1.0 Released](https://www.ruby-forum.com/t/proxyconf-0-1-0-released/237411)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 12, 2013, 5:12am UTC](https://www.ruby-forum.com/t/proxyconf-0-1-0-released/237411 "2013-11-12T05:12:12Z")

</div>

proxyconf 0.1.0 has been releasesd. proxyconf is a proxy switcher for terminal. It automatically switch proxy setting on your terminal depends on System Preference.

---

## [\[Backport 200 - Backport #8926\]\[Assigned\] Backport r42977 (fix an accidental bug at r16716)](https://www.ruby-forum.com/t/backport-200-backport-8926-assigned-backport-r42977-fix-an-accidental-bug-at-r16716/236616)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [November 12, 2013, 5:02am UTC](https://www.ruby-forum.com/t/backport-200-backport-8926-assigned-backport-r42977-fix-an-accidental-bug-at-r16716/236616 "2013-11-12T05:02:51Z")

</div>

Issue #8926 has been reported by nagachika (Tomoyuki C.). Backport #8926: Backport r42977 (fix an accidental bug at r16716) Author: nagachika (Tomoyuki C.) Status: Assigned Priority: Normal Assignee: nagachika (To…

---

## [RVM 2.0 - Fundraise - 2 days left](https://www.ruby-forum.com/t/rvm-2-0-fundraise-2-days-left/237408)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 12, 2013, 12:01am UTC](https://www.ruby-forum.com/t/rvm-2-0-fundraise-2-days-left/237408 "2013-11-12T00:01:14Z")

</div>

\[I’m not affiliated to RVM in any way. I’m just a happy user\] RVM is cool! (http://rvm.io/) RVM needs money. The guys (EngineYard) that helped RVM so much will not be able to help it this year. So RVM is trying gett…

---

## [String#encode with fallback not working](https://www.ruby-forum.com/t/string-encode-with-fallback-not-working/237407)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 11, 2013, 10:00pm UTC](https://www.ruby-forum.com/t/string-encode-with-fallback-not-working/237407 "2013-11-11T22:00:15Z")

</div>

Hi, I am trying to replace ‘?’ with ‘e’,but no luck s = “V\\345ctor” s.encode!(‘ASCII’,:invalid =\> :replace) # =\> “V?ctor” s.encode(:fallback =\> {’?’ =\> ‘e’}) # =\> “V?ctor” any help please?

---

## [Is there an easier way to parse into tokens a string?](https://www.ruby-forum.com/t/is-there-an-easier-way-to-parse-into-tokens-a-string/237399)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 11, 2013, 9:46pm UTC](https://www.ruby-forum.com/t/is-there-an-easier-way-to-parse-into-tokens-a-string/237399 "2013-11-11T21:46:53Z")

</div>

Hello Team, When running the piece of code below, I expect and get the following line of text, which comes as a one element array. \[“AMQ8409: Display Queue details.\\n QUEUE(TEMP) TYPE(QLOCAL)\\n CURDEPTH(6)…

---

## [Userexperience - ideas about new live DVD](https://www.ruby-forum.com/t/userexperience-ideas-about-new-live-dvd/237406)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 11, 2013, 9:24pm UTC](https://www.ruby-forum.com/t/userexperience-ideas-about-new-live-dvd/237406 "2013-11-11T21:24:06Z")

</div>

Martin B.s post about the user experience hangout this thurday inspired me. I am no sure if I can make it to the hangout, but here are some thoughts: I was asked to do a presentation about Satellite Tracking, SDR and …

---

## [Accepts\_nested\_attributes\_for how, example](https://www.ruby-forum.com/t/accepts-nested-attributes-for-how-example/237395)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [November 11, 2013, 8:18pm UTC](https://www.ruby-forum.com/t/accepts-nested-attributes-for-how-example/237395 "2013-11-11T20:18:40Z")

</div>

I have following tables with following models: users(id, role\_id) has\_many :entries categories(id, category\_name) has\_many :entries entries(id, category\_id, user\_id) belongs\_to :user, belongs\_to :category, has\_one :…

---

## [DB view](https://www.ruby-forum.com/t/db-view/237391)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 11\
**Last updated:** [November 11, 2013, 8:08pm UTC](https://www.ruby-forum.com/t/db-view/237391 "2013-11-11T20:08:44Z")

</div>

Avrei bisogno di creare l’equivalente di una vista db estendendo un model con una serie di campi “calcolati” da altri model. Sono riucito a farlo mediante l’aggiunta di un def ad un model esistente. Il campo custom vi…

---

## [FOSDEM '14 - Call for Participation](https://www.ruby-forum.com/t/fosdem-14-call-for-participation/246444)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [November 11, 2013, 6:33pm UTC](https://www.ruby-forum.com/t/fosdem-14-call-for-participation/246444 "2013-11-11T18:33:31Z")

</div>

Dear friends and colleagues, next year’s FOSDEM (the free and open source developer’s meeting in Brussels, Europe) will feature a new track on Software Defined Radio. Therefore, we invite developers and users from the…

---

## [ISO-8859-16 not supported?](https://www.ruby-forum.com/t/iso-8859-16-not-supported/237387)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [November 11, 2013, 5:54pm UTC](https://www.ruby-forum.com/t/iso-8859-16-not-supported/237387 "2013-11-11T17:54:21Z")

</div>

Hi, I understood ISO-8859-16 was among the supported encoding but I get this error: Encoding::ConverterNotFoundError: code converter not found for ISO-8859-16 org/jruby/RubyString.java:7597:in \`encode’ On this line…

---

## [How to detect collision when two packets are transmitted simultaneously from two transmitters](https://www.ruby-forum.com/t/how-to-detect-collision-when-two-packets-are-transmitted-simultaneously-from-two-transmitters/237368)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 7\
**Last updated:** [November 11, 2013, 5:45pm UTC](https://www.ruby-forum.com/t/how-to-detect-collision-when-two-packets-are-transmitted-simultaneously-from-two-transmitters/237368 "2013-11-11T17:45:00Z")

</div>

I have a setup of one receiver and two transmitters. I am implementing a TDMA structure (using USRPs and GNURADIO) where only one packet is sent in each slot. When both transmitters try to transmit in the same slot, …

---

## [Partial urlEncoding when using if and $request\_uri](https://www.ruby-forum.com/t/partial-urlencoding-when-using-if-and-request-uri/237398)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [November 11, 2013, 5:36pm UTC](https://www.ruby-forum.com/t/partial-urlencoding-when-using-if-and-request-uri/237398 "2013-11-11T17:36:14Z")

</div>

Hi, I have observed strange behavior with nginx rewrites. What happens: I get request going to myserver.com/appID/path1/path2/uglyID and I need to proxy this to appID.backend.internal/path1/path2/uglyID. The uglyID …

---

## [How to collect the complex data of a dpsk modulator in a text file](https://www.ruby-forum.com/t/how-to-collect-the-complex-data-of-a-dpsk-modulator-in-a-text-file/237401)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [November 11, 2013, 5:26pm UTC](https://www.ruby-forum.com/t/how-to-collect-the-complex-data-of-a-dpsk-modulator-in-a-text-file/237401 "2013-11-11T17:26:53Z")

</div>

I am experimenting with the one of the flowgraph examples “uhd\_tx\_dpsk.grc”. I am able to see the complex number output in WX GUI NUMBER SINK block but I want to collect this output in a text file. If I use a “FILE SI…

---

## [Filtering out long (invalid) hostnames](https://www.ruby-forum.com/t/filtering-out-long-invalid-hostnames/237383)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 11, 2013, 2:10pm UTC](https://www.ruby-forum.com/t/filtering-out-long-invalid-hostnames/237383 "2013-11-11T14:10:32Z")

</div>

Recently we have seen some kind of hacker attempt on our hosting servers, passing very long hostnames in the HTTP Host: header. That means length(hostname) was higher than 2000, for few requests even more than 10000. …

---

## [Create action, fails validation, renders new and then calls the index action silent the background?](https://www.ruby-forum.com/t/create-action-fails-validation-renders-new-and-then-calls-the-index-action-silent-the-background/237371)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [November 11, 2013, 11:07am UTC](https://www.ruby-forum.com/t/create-action-fails-validation-renders-new-and-then-calls-the-index-action-silent-the-background/237371 "2013-11-11T11:07:07Z")

</div>

Hi Guys, Strange issue going on, cant get to the bottom of it. I have a bog standard form which submits to the create action fine. If the validation fails however the new action is rendered with the appropriate err…

---

## [Read file in parallel](https://www.ruby-forum.com/t/read-file-in-parallel/237375)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 11, 2013, 2:52am UTC](https://www.ruby-forum.com/t/read-file-in-parallel/237375 "2013-11-11T02:52:22Z")

</div>

Dear all: I have a file contain a lot of string. ex. ABADSFASVASDF ASDFASFASVASDF ASDFASFDASDF VASDFASVAS ASVASDFASDFASDF ASVASDFASDFASDFA ASDFASVASDFAF ASDFASFDAF I have to slice them if they match some crite…

---

## [Confusion in usrp\_spectrum\_sense.py](https://www.ruby-forum.com/t/confusion-in-usrp-spectrum-sense-py/237396)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 11, 2013, 2:23am UTC](https://www.ruby-forum.com/t/confusion-in-usrp-spectrum-sense-py/237396 "2013-11-11T02:23:45Z")

</div>

Hi all, Could anyone explain the following statements to me ?Thank you ! 1)log = gr.nlog10\_ff(10, self.fft\_size, -20math.log10(self.fft\_size)-10math.log10(power/self.fft\_size)) What equation does this statement equal…

---

## [File Checking Rewriting and Handing off to Back End](https://www.ruby-forum.com/t/file-checking-rewriting-and-handing-off-to-back-end/237367)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 11, 2013, 12:09am UTC](https://www.ruby-forum.com/t/file-checking-rewriting-and-handing-off-to-back-end/237367 "2013-11-11T00:09:53Z")

</div>

Hi All, We’re starting to make more and more heavy use of Nginx having shifted from Apache, mostly in handing off to backends running Puma and php-fpm. However, wherever possible we naturally want Nginx to serve what …

---

## [Yahns 0.0.3 - sleepy application server for Ruby](https://www.ruby-forum.com/t/yahns-0-0-3-sleepy-application-server-for-ruby/237393)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 10, 2013, 10:58pm UTC](https://www.ruby-forum.com/t/yahns-0-0-3-sleepy-application-server-for-ruby/237393 "2013-11-10T22:58:01Z")

</div>

A Free Software, multi-threaded, non-blocking network application server designed for low idle power consumption. It is primarily optimized for applications with occasional users which see little or no traffic. yahns…

---

## [Learning Ruby - Don't give up](https://www.ruby-forum.com/t/learning-ruby-dont-give-up/237378)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [November 10, 2013, 10:33pm UTC](https://www.ruby-forum.com/t/learning-ruby-dont-give-up/237378 "2013-11-10T22:33:29Z")

</div>

An article for those starting learning Ruby Learning R. - Don’t give uphttp://arubystory.blogspot.com/2013/11/dont-give-up-on-ruby.html

---

## [How to call another blocks in custom out-of-tree module](https://www.ruby-forum.com/t/how-to-call-another-blocks-in-custom-out-of-tree-module/237305)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [November 10, 2013, 7:34pm UTC](https://www.ruby-forum.com/t/how-to-call-another-blocks-in-custom-out-of-tree-module/237305 "2013-11-10T19:34:11Z")

</div>

Hi, Can you help me to call gnu-blocks from my own out-of-tree code written in python? For example, from this code (http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules) 1 import numpy 2 from gnuradi…

---

## [I couldn't observe 2.4G Wi-Fi signal and didn't know why](https://www.ruby-forum.com/t/i-couldnt-observe-2-4g-wi-fi-signal-and-didnt-know-why/237386)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [November 10, 2013, 6:35pm UTC](https://www.ruby-forum.com/t/i-couldnt-observe-2-4g-wi-fi-signal-and-didnt-know-why/237386 "2013-11-10T18:35:10Z")

</div>

I know this may due to stupid reasons while I have no idea how to achieve it. Ubuntu 13.04(32-bit); gnuradio-3.6.5; GNU C++ version 4.7.3; Boost\_105300; UHD\_003.005.004-154-ge6a1de6d; USRP N210; RFX2400 There are two…

---

## [How do I use Chef to manage database parameters?](https://www.ruby-forum.com/t/how-do-i-use-chef-to-manage-database-parameters/237360)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [November 10, 2013, 4:03pm UTC](https://www.ruby-forum.com/t/how-do-i-use-chef-to-manage-database-parameters/237360 "2013-11-10T16:03:51Z")

</div>

As you know, the correct database name, username, and password in config/database.yml are needed for a Rails site to work. I understand that the elegant way to provide these parameters is to use the Chef tool. Howev…

---

## [Fw: gr-fosphor : Make failure](https://www.ruby-forum.com/t/fw-gr-fosphor-make-failure/237388)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 10, 2013, 2:40am UTC](https://www.ruby-forum.com/t/fw-gr-fosphor-make-failure/237388 "2013-11-10T02:40:50Z")

</div>

Hi, is there anyone with experience/success installing fosphor on Ubuntu 13.10 / Nvidia / 64 bit ? – Tom ---------------- forwarded message ------------------ For some reason it doesn’t like your OpenCL install … no …

---

## [Ruby on Rails for Beginners](https://www.ruby-forum.com/t/ruby-on-rails-for-beginners/237348)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [November 10, 2013, 2:29am UTC](https://www.ruby-forum.com/t/ruby-on-rails-for-beginners/237348 "2013-11-10T02:29:44Z")

</div>

Hi, Every now and then I see people asking about the best way to learn Ruby… Checkout Getting Started with Ruby on Railshttp://www.skillsin.com/blog/?p=515 with several recommended Ruby tutorials. Regards, Ben

---

## [Kind of Array "product" question](https://www.ruby-forum.com/t/kind-of-array-product-question/237381)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [November 10, 2013, 2:26am UTC](https://www.ruby-forum.com/t/kind-of-array-product-question/237381 "2013-11-10T02:26:13Z")

</div>

I am cleaning up my code, which I wrote in the last months… I have code like this: irb(main):053:0\* a = \[‘a’, ‘b’, ‘c’\] =\> \[“a”, “b”, “c”\] irb(main):054:0\> b = \[1, 2\] =\> \[1, 2\] irb(main):055:0\> a.map{|el| \[el, b\]} …

---

## [ActiveRecord return normal?](https://www.ruby-forum.com/t/activerecord-return-normal/237385)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [November 10, 2013, 1:20am UTC](https://www.ruby-forum.com/t/activerecord-return-normal/237385 "2013-11-10T01:20:41Z")

</div>

Hi Everyone, I’m totally brand new to RoR. I’m really starting to love coding more now that I’ve found RoR. I have what might be a dumb question, but I’m curious to know this. Is it normal to get this result: In t…

---

## [ActionController::Live and SSE problem](https://www.ruby-forum.com/t/actioncontroller-live-and-sse-problem/237384)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 10, 2013, 12:56am UTC](https://www.ruby-forum.com/t/actioncontroller-live-and-sse-problem/237384 "2013-11-10T00:56:43Z")

</div>

Hi, I posted a question on SO but I’m not getting any responses… maybe someone here can help me out? I’m not sure if it’s an issue with Rails or I’m doing something wrong… thank you!

---

## [FileUtlis class options](https://www.ruby-forum.com/t/fileutlis-class-options/237379)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 10, 2013, 12:28am UTC](https://www.ruby-forum.com/t/fileutlis-class-options/237379 "2013-11-10T00:28:39Z")

</div>

I am confused with the actual use cases of the options :force :noop :verbose Basically I was reading and trying some methods in the FileUtlis class today and some examples here made me confused… I am trying to unde…

---

## [How to search the phrase of numbers](https://www.ruby-forum.com/t/how-to-search-the-phrase-of-numbers/237374)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 9, 2013, 11:58pm UTC](https://www.ruby-forum.com/t/how-to-search-the-phrase-of-numbers/237374 "2013-11-09T23:58:52Z")

</div>

Hi,Dear all, I am trying to search the phrase of numbers in a html page in the sentence below: (253 items) I used this piece of code, but it does not work, limit= page.search(“div\[class=Results\]”).search(“div”).gsub(…

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

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