# Latest

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

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

---

## [Problem trying to rewrite a URL](https://www.ruby-forum.com/t/problem-trying-to-rewrite-a-url/238352)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 8, 2014, 9:12am UTC](https://www.ruby-forum.com/t/problem-trying-to-rewrite-a-url/238352 "2014-01-08T09:12:07Z")

</div>

Hi all, I have a problem trying to rewrite a URL. It should be pretty straightforward but it has been taking me hours searching. Google indexed urls containing “;”, which gets escaped to %3b: (the original url tha…

---

## [QAM modulation](https://www.ruby-forum.com/t/qam-modulation/238392)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 8, 2014, 8:35am UTC](https://www.ruby-forum.com/t/qam-modulation/238392 "2014-01-08T08:35:19Z")

</div>

hello all, checking my mail subscribsion

---

## [Proxy\_pass check if 404, and return 404](https://www.ruby-forum.com/t/proxy-pass-check-if-404-and-return-404/238381)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [January 8, 2014, 5:21am UTC](https://www.ruby-forum.com/t/proxy-pass-check-if-404-and-return-404/238381 "2014-01-08T05:21:59Z")

</div>

I am using proxy\_pass to a dynamic subdomain: proxy\_pass https://$remote\_user.mydomain.io Is it possible to have the proxy\_pass check if the response of https://$remote\_user.mydomain.io is 404, if so, simply do: retu…

---

## [Throughput test](https://www.ruby-forum.com/t/throughput-test/238390)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [January 8, 2014, 5:12am UTC](https://www.ruby-forum.com/t/throughput-test/238390 "2014-01-08T05:12:58Z")

</div>

hi all, I ran the benchmark\_tx and rx to measure the throughput ,and I set the bitrate to 50kbps and samples\_per\_symbol 5, I send 200 packets and measure the time it consumend,but i found that the throughput is large…

---

## [WHILE loops are so much faster. Why?](https://www.ruby-forum.com/t/while-loops-are-so-much-faster-why/238317)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 12\
**Last updated:** [January 8, 2014, 3:45am UTC](https://www.ruby-forum.com/t/while-loops-are-so-much-faster-why/238317 "2014-01-08T03:45:01Z")

</div>

Testing old code in MRI 2.1.0 I noticed that using WHILE loops in place of other looping structures reduced times in some algorithms from 14%-20% or greater, as the iterations increased. However, running the same code…

---

## [Model name of different components of USRP radio front ends](https://www.ruby-forum.com/t/model-name-of-different-components-of-usrp-radio-front-ends/238386)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [January 8, 2014, 2:45am UTC](https://www.ruby-forum.com/t/model-name-of-different-components-of-usrp-radio-front-ends/238386 "2014-01-08T02:45:25Z")

</div>

I am working on how channel scheduling algorithm influences system level power consumption in software defined radios. I need the power consumption of different components of SDR front ends. Is there any document tha…

---

## [Version of libusb in pybombs](https://www.ruby-forum.com/t/version-of-libusb-in-pybombs/238393)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 8, 2014, 2:27am UTC](https://www.ruby-forum.com/t/version-of-libusb-in-pybombs/238393 "2014-01-08T02:27:17Z")

</div>

pybombs is great! Ran into a small error compiling uhd which access ‘libusb\_error\_name’ - that symbol was not added until libusb-1.0.9, but the pybombs recipe has “satisfy\_deb: libusb-1.0-0-dev” - which doesn’t define…

---

## [Minitest 5.2.1 Released](https://www.ruby-forum.com/t/minitest-5-2-1-released/238385)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [January 8, 2014, 1:20am UTC](https://www.ruby-forum.com/t/minitest-5-2-1-released/238385 "2014-01-08T01:20:03Z")

</div>

minitest version 5.2.1 has been released! home: https://github.com/seattlerb/minitest rdoc: http://docs.seattlerb.org/minitest vim: https://github.com/sunaku/vim-ruby-minitest emacs: https://github.com/arthurnn/mini…

---

## [Minitest 5.2.1 Released](https://www.ruby-forum.com/t/minitest-5-2-1-released/238384)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [January 8, 2014, 1:20am UTC](https://www.ruby-forum.com/t/minitest-5-2-1-released/238384 "2014-01-08T01:20:02Z")

</div>

minitest version 5.2.1 has been released! home: https://github.com/seattlerb/minitest rdoc: http://docs.seattlerb.org/minitest vim: https://github.com/sunaku/vim-ruby-minitest emacs: https://github.com/arthurnn/mini…

---

## [Sum,Max,Mean of a Vector](https://www.ruby-forum.com/t/sum-max-mean-of-a-vector/238380)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 8, 2014, 1:04am UTC](https://www.ruby-forum.com/t/sum-max-mean-of-a-vector/238380 "2014-01-08T01:04:37Z")

</div>

What block do I use in GNURadio Companion to sum a vector? Likewise, how do I compute the max, mean, min, and other statistics of a vector? I would expect to see a block with vector input and scalar output that would …

---

## [Xml problem remove node](https://www.ruby-forum.com/t/xml-problem-remove-node/238378)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 7, 2014, 11:03pm UTC](https://www.ruby-forum.com/t/xml-problem-remove-node/238378 "2014-01-07T23:03:33Z")

</div>

Hi i am trying to create a sort of xml proxy… Receving xml through rest and then using nokogiriand mechanize posting it to another api. This last api isnt accepting true xml as i will explain. The api needs 1 …

---

## [Gtk and ruby-gtk on ARM](https://www.ruby-forum.com/t/gtk-and-ruby-gtk-on-arm/238362)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [January 7, 2014, 5:28pm UTC](https://www.ruby-forum.com/t/gtk-and-ruby-gtk-on-arm/238362 "2014-01-07T17:28:54Z")

</div>

Hello, I need to develop for ARM CPU : ARM CPU, with 250…512 MB Ram Ethernet+USP+I2C communications graphic display (LCD…) linux as firmware Is it possible to use ruby + Gtk for this kind of target ? Should we recom…

---

## [Ruby.exe: Permission denied](https://www.ruby-forum.com/t/ruby-exe-permission-denied/238377)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [January 7, 2014, 5:10pm UTC](https://www.ruby-forum.com/t/ruby-exe-permission-denied/238377 "2014-01-07T17:10:34Z")

</div>

Hey, I’m trying to run some rspec test driving a web browser with selenium. The problem is I get this error: c:/Programs/ruby/bin/ruby.exe: Permission denied Nevertheless, I do have the permissions -rwxr-xr-x 1 I…

---

## [Heroku problem](https://www.ruby-forum.com/t/heroku-problem/238376)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 7, 2014, 5:04pm UTC](https://www.ruby-forum.com/t/heroku-problem/238376 "2014-01-07T17:04:32Z")

</div>

While deploying a new app on heroku i got this error ! You’ve reached the limit of 5 apps for unverified accounts. ! Add a credit card to verify your account. how to overcome this??

---

## [Request body in a module](https://www.ruby-forum.com/t/request-body-in-a-module/238374)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 7, 2014, 4:07pm UTC](https://www.ruby-forum.com/t/request-body-in-a-module/238374 "2014-01-07T16:07:17Z")

</div>

Hi, have been trying to read the request body in my module, using the information I have gotten from this forum and some blogs and basically came up with the following functions as can be seen in this post Reading re…

---

## [Pybombs warning: Do not forget to define "makewidth" after updating pybombs from older version](https://www.ruby-forum.com/t/pybombs-warning-do-not-forget-to-define-makewidth-after-updating-pybombs-from-older-version/238373)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [January 7, 2014, 3:10pm UTC](https://www.ruby-forum.com/t/pybombs-warning-do-not-forget-to-define-makewidth-after-updating-pybombs-from-older-version/238373 "2014-01-07T15:10:37Z")

</div>

I just updated pybombs to the latest git version by using git remote update git pull. A new environment variable “makewidth” was introduced recently that - if not defined - leads to an infinite number of make processe…

---

## [How to submit my open source nginx module to nginx thrid party modules](https://www.ruby-forum.com/t/how-to-submit-my-open-source-nginx-module-to-nginx-thrid-party-modules/238372)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [January 7, 2014, 3:05pm UTC](https://www.ruby-forum.com/t/how-to-submit-my-open-source-nginx-module-to-nginx-thrid-party-modules/238372 "2014-01-07T15:05:21Z")

</div>

i want to submit my open souce nginx module to NGINX 3rd Party Modules | NGINX, how can i do ?

---

## [Best\_in\_place Gem in Ruby on Rails 2](https://www.ruby-forum.com/t/best-in-place-gem-in-ruby-on-rails-2/238371)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [January 7, 2014, 2:42pm UTC](https://www.ruby-forum.com/t/best-in-place-gem-in-ruby-on-rails-2/238371 "2014-01-07T14:42:00Z")

</div>

Hi, i have a need to do inline editing, so found best\_in\_place gem can be used for this. But my application is in Ruby on Rails 2, please anybody help me to find whether gem is compatible with ruby on rails 2. Thank…

---

## [General questions](https://www.ruby-forum.com/t/general-questions/157554)

<div class="topic-metadata">

**Author:** [@pierre](https://www.ruby-forum.com/u/pierre)\
**Replies:** 4\
**Last updated:** [January 7, 2014, 10:56am UTC](https://www.ruby-forum.com/t/general-questions/157554 "2014-01-07T10:56:32Z")

</div>

Dear folks, I’ve been interested in Ruby for quite a while now, but since I’m unfortunately not doing it professionally, I don’t have time to get deeper in it, which is frustrating me quite a bit. That’s why I’ve dec…

---

## [FOSDEM: Reminder and call for volunteers](https://www.ruby-forum.com/t/fosdem-reminder-and-call-for-volunteers/238369)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 7, 2014, 10:31am UTC](https://www.ruby-forum.com/t/fosdem-reminder-and-call-for-volunteers/238369 "2014-01-07T10:31:59Z")

</div>

Hi everyone, a quick reminder regarding the upcoming FOSDEM: There is a whole track dedicated to SDR, and FOSDEM is free (both as in beer as in speech)! GNU Radio is a big part of this, but so are other interesting SD…

---

## [\[JOBS\] 3D printing startup looking for experienced Ruby on Rails developer in NYC](https://www.ruby-forum.com/t/jobs-3d-printing-startup-looking-for-experienced-ruby-on-rails-developer-in-nyc/238368)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 7, 2014, 8:29am UTC](https://www.ruby-forum.com/t/jobs-3d-printing-startup-looking-for-experienced-ruby-on-rails-developer-in-nyc/238368 "2014-01-07T08:29:19Z")

</div>

Hi all, We are looking for a full time rails developer in NYC or willing to move to NYC to work on our team. We are a well funded startup focused on mobile e-commerce and 3d printing. An excerpt from the Job Listing…

---

## [ProcessBuilder, require, load path, and java.class.path](https://www.ruby-forum.com/t/processbuilder-require-load-path-and-java-class-path/238367)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 7, 2014, 7:15am UTC](https://www.ruby-forum.com/t/processbuilder-require-load-path-and-java-class-path/238367 "2014-01-07T07:15:44Z")

</div>

I am working with a library that uses ProcessBuilder to fork another JVM process however the forked process is unable to find any of the jars I required in my ruby program e.g. “Error: Could not find or load main clas…

---

## [Hoe 3.7.4 Released](https://www.ruby-forum.com/t/hoe-3-7-4-released/238365)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 7, 2014, 1:48am UTC](https://www.ruby-forum.com/t/hoe-3-7-4-released/238365 "2014-01-07T01:48:43Z")

</div>

hoe version 3.7.4 has been released! home: http://www.zenspider.com/projects/hoe.html code: https://github.com/seattlerb/hoe bugs: https://github.com/seattlerb/hoe/issues rdoc: http://seattlerb.rubyforge.org/hoe/ d…

---

## [Hoe 3.7.4 Released](https://www.ruby-forum.com/t/hoe-3-7-4-released/238366)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [January 7, 2014, 1:48am UTC](https://www.ruby-forum.com/t/hoe-3-7-4-released/238366 "2014-01-07T01:48:43Z")

</div>

hoe version 3.7.4 has been released! home: http://www.zenspider.com/projects/hoe.html code: https://github.com/seattlerb/hoe bugs: https://github.com/seattlerb/hoe/issues rdoc: http://seattlerb.rubyforge.org/hoe/ d…

---

## [Working with JavaScript](https://www.ruby-forum.com/t/working-with-javascript/238345)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [January 7, 2014, 1:32am UTC](https://www.ruby-forum.com/t/working-with-javascript/238345 "2014-01-07T01:32:58Z")

</div>

Hi, I turn this code into CoffeeScript: paintIt = (element, backgroundColor, textColor) -\> element.style.backgroundColor = backgroundColor if textColor? element.style.color = textColor and this code I turn to html.…

---

## [Regular expression,](https://www.ruby-forum.com/t/regular-expression/238240)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 7\
**Last updated:** [January 6, 2014, 11:13pm UTC](https://www.ruby-forum.com/t/regular-expression/238240 "2014-01-06T23:13:44Z")

</div>

hi errorMsg=“Subsequent deposit instructions not found or incomplete.Initial deposit instructions not found or incomplete.Analysis complete for policy (SS13323496).Analysis complete for policy (SS13323496), coverage …

---

## [Very slow dns lookup using proxy\_pass](https://www.ruby-forum.com/t/very-slow-dns-lookup-using-proxy-pass/238332)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [January 6, 2014, 10:07pm UTC](https://www.ruby-forum.com/t/very-slow-dns-lookup-using-proxy-pass/238332 "2014-01-06T22:07:20Z")

</div>

I am seeing very slow DNS lookup times ( \> 2 seconds ) using proxy\_pass, even though dig response times on the server are quick. Here is the nginx configuration block: location ~ ^/v1/(?.\*) { resolver 8.8.4.4 4.4.4…

---

## [Problems testing a destroy failure](https://www.ruby-forum.com/t/problems-testing-a-destroy-failure/238347)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 9\
**Last updated:** [January 6, 2014, 9:10pm UTC](https://www.ruby-forum.com/t/problems-testing-a-destroy-failure/238347 "2014-01-06T21:10:28Z")

</div>

Hello, I’m trying to test an active record object destroy failure but I’m having problems creating a failure situation. I have a before\_filter method called ‘require\_user\_payment\_info’ which validates the @payment\_i…

---

## [How to use ruby read/write Berkeley DB file?](https://www.ruby-forum.com/t/how-to-use-ruby-read-write-berkeley-db-file/238299)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 6, 2014, 8:46pm UTC](https://www.ruby-forum.com/t/how-to-use-ruby-read-write-berkeley-db-file/238299 "2014-01-06T20:46:07Z")

</div>

Hi, all! I create a Berkeley DB file for Vsftpd, I want user Ruby add new Vsftpd virtual users via edit the Berkeley DB file. I create BDB file as follow: bash\> $ cat \> test.txt \<\< EOF bar Hello, foo World! EOF …

---

## [Agentzh's encrypted session module](https://www.ruby-forum.com/t/agentzhs-encrypted-session-module/238342)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 6, 2014, 8:45pm UTC](https://www.ruby-forum.com/t/agentzhs-encrypted-session-module/238342 "2014-01-06T20:45:32Z")

</div>

I’ve been studying agentzh’s encrypted session module from https://github.com/agentzh/encrypted-session-nginx-module/tree/master/src. There are essentially two methods: one to encrypt values, and a second to decrypt m…

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

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