# Latest

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

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

---

## [Unexpected issue with file source and USRP source](https://www.ruby-forum.com/t/unexpected-issue-with-file-source-and-usrp-source/238023)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 12, 2013, 12:48pm UTC](https://www.ruby-forum.com/t/unexpected-issue-with-file-source-and-usrp-source/238023 "2013-12-12T12:48:53Z")

</div>

GNU Radio Companion v3.6.4-43-g6e5dfe1a linux; GNU C++ version 4.6.3; Boost\_104800; UHD\_003.005.001-37-g21311276 USRP N210 Hello All ! I am observing following 3 cases for same transmitter. I ran each case multiple …

---

## [Connect automatically on wifi](https://www.ruby-forum.com/t/connect-automatically-on-wifi/238032)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 12, 2013, 12:42pm UTC](https://www.ruby-forum.com/t/connect-automatically-on-wifi/238032 "2013-12-12T12:42:40Z")

</div>

Can I programmatically connect to a hotspot wifi without user intervention? I have the password stored in an app and the clients will not able to see it.

---

## [How can I prevent ENTER from submitting form?](https://www.ruby-forum.com/t/how-can-i-prevent-enter-from-submitting-form/147529)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 18\
**Last updated:** [December 12, 2013, 12:26pm UTC](https://www.ruby-forum.com/t/how-can-i-prevent-enter-from-submitting-form/147529 "2013-12-12T12:26:39Z")

</div>

Greetings! If a user presses the ENTER key while in a form, the form’s submitted. Is there a standard approach / way to trap that so that, for example, the form would only be submitted by a mouse click on the submit b…

---

## [Geokit & ruby 2](https://www.ruby-forum.com/t/geokit-ruby-2/237753)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 12, 2013, 12:26pm UTC](https://www.ruby-forum.com/t/geokit-ruby-2/237753 "2013-12-12T12:26:39Z")

</div>

hi, im getting this: geokit-rails3-0.1.5/lib/geokit-rails3/railtie.rb:21:in \`block (2 levels) in class:Railtie’: uninitialized constant Geokit::Railtie::GeoKit (NameError) rails verion: 3.2.15 pls advise thx

---

## [\[ann\] ar-jdbc 1.3.4](https://www.ruby-forum.com/t/ann-ar-jdbc-1-3-4/238035)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 12, 2013, 12:20pm UTC](https://www.ruby-forum.com/t/ann-ar-jdbc-1-3-4/238035 "2013-12-12T12:20:48Z")

</div>

Greetings JRuby-ists! The x-mass release of AR-JDBC is out … with mostly PG compatibility related fixes. Release notes at: We’ve been pretty stable doing patch releases for the 1.3 line ~ every month or so to catch…

---

## [\[ANN\] Rilasciata la gemma codesake-dawn v 0.80](https://www.ruby-forum.com/t/ann-rilasciata-la-gemma-codesake-dawn-v-0-80/238021)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 12, 2013, 11:57am UTC](https://www.ruby-forum.com/t/ann-rilasciata-la-gemma-codesake-dawn-v-0-80/238021 "2013-12-12T11:57:26Z")

</div>

Ciao a tutti. E’ stato un inizio dell’inverno molto movimentato per la parte di application security ed il mondo delle web application in Ruby. Il 26 Novembre \[1\] sono uscite due vulnerabilit: un heap based buffer ov…

---

## [Timer event with callback](https://www.ruby-forum.com/t/timer-event-with-callback/237394)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [December 12, 2013, 11:10am UTC](https://www.ruby-forum.com/t/timer-event-with-callback/237394 "2013-12-12T11:10:58Z")

</div>

Greetings, There is an excellent Timer in Tk, called TkRtTimer. The functionality is elegant: It has a callback after an elapsed amount of time. When I try and include ‘tk’ in a visual ruby project I get into big t…

---

## [Progress bar](https://www.ruby-forum.com/t/progress-bar/158636)

<div class="topic-metadata">

**Author:** [@anubhaw](https://www.ruby-forum.com/u/anubhaw)\
**Replies:** 6\
**Last updated:** [December 12, 2013, 10:10am UTC](https://www.ruby-forum.com/t/progress-bar/158636 "2013-12-12T10:10:26Z")

</div>

Hi i am trying to get progress bar for uploading files. I used lots of plugin to do the same.But it doesnot work on version2.1.0 on which i am working. If anyone has implemented progress bar please share the informati…

---

## [Bit error rate test](https://www.ruby-forum.com/t/bit-error-rate-test/238015)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 12, 2013, 9:33am UTC](https://www.ruby-forum.com/t/bit-error-rate-test/238015 "2013-12-12T09:33:07Z")

</div>

Hi I tried to use digital\_bert\_tx.py and digital\_bert\_rx.py to test the BER performance of different modulations. The command I use is ./digital\_bert\_tx.py --tx-freq=5.1e9 --tx-gain=30 -S 8 --mod-code=gray -m bpsk. …

---

## [Request Gem recommendation for barcode generator & reader](https://www.ruby-forum.com/t/request-gem-recommendation-for-barcode-generator-reader/238017)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 12, 2013, 9:22am UTC](https://www.ruby-forum.com/t/request-gem-recommendation-for-barcode-generator-reader/238017 "2013-12-12T09:22:01Z")

</div>

Hello Friends For our project we need a gem for generating & reading bar codes. I request for recommendation of which GEM to use. with best regards Sharath Punthambekar

---

## [Merging two images](https://www.ruby-forum.com/t/merging-two-images/236185)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [December 12, 2013, 5:37am UTC](https://www.ruby-forum.com/t/merging-two-images/236185 "2013-12-12T05:37:07Z")

</div>

Hi i need a help, I am using paperclip to deal with images. My new need is to merge image which is stored in s3 with another png image so i will get a new image and this merged image have to be saved in s3. How to d…

---

## [Nginx Deployments in Practice](https://www.ruby-forum.com/t/nginx-deployments-in-practice/238000)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [December 12, 2013, 2:55am UTC](https://www.ruby-forum.com/t/nginx-deployments-in-practice/238000 "2013-12-12T02:55:54Z")

</div>

My nginx needs are (1) stable nginx, (2) patched nginx, and (3) something I can modify. The last is what concerns me - I want to ensure I don’t lose my changes and enhancements while pursuing (1) and (2). What are fo…

---

## [Visual Ruby - Can't start](https://www.ruby-forum.com/t/visual-ruby-cant-start/238010)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 11, 2013, 11:21pm UTC](https://www.ruby-forum.com/t/visual-ruby-cant-start/238010 "2013-12-11T23:21:54Z")

</div>

Hi, I am using Windows and I followed the instructions to install Ruby (installed Ruby 1.93 and Glade). When I try to start it by entering “vr” in command prompt with Ruby I the following errors : C:/Ruby193/lib/rub…

---

## [Failed Install + gr-osmosdr Troubles](https://www.ruby-forum.com/t/failed-install-gr-osmosdr-troubles/237954)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [December 11, 2013, 10:50pm UTC](https://www.ruby-forum.com/t/failed-install-gr-osmosdr-troubles/237954 "2013-12-11T22:50:54Z")

</div>

Hi all, I hope this is the right place for this question! I looked through the archive but didn’t see similar. I’ve been using gnuradio for awhile but recently decided to upgrade Ubuntu to 13.10 (64-bit) and GNU Radio …

---

## [Imap proxy](https://www.ruby-forum.com/t/imap-proxy/237908)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [December 11, 2013, 9:30pm UTC](https://www.ruby-forum.com/t/imap-proxy/237908 "2013-12-11T21:30:52Z")

</div>

Hello Everyone, Is mail imap proxy supports SSL or STARTTLS for connections to backend server ? Slava. Posted at Nginx Forum:

---

## [VR::TreeView](https://www.ruby-forum.com/t/vr-treeview/237992)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 9\
**Last updated:** [December 11, 2013, 9:13pm UTC](https://www.ruby-forum.com/t/vr-treeview/237992 "2013-12-11T21:13:00Z")

</div>

I am playing with the ListView example and trying to turn it into a VR::TreeView. I am unable to figure out how to add items. in the listviewobject example rows are added row = add\_row() row\[:join\] = VR::CalendarCol…

---

## [Updates to VisualRuby v 1.0.12 released](https://www.ruby-forum.com/t/updates-to-visualruby-v-1-0-12-released/238001)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 11, 2013, 9:07pm UTC](https://www.ruby-forum.com/t/updates-to-visualruby-v-1-0-12-released/238001 "2013-12-11T21:07:56Z")

</div>

Hi y’all: I’ve had some time lately, so I’ve been working on a new version of visualruby. I just pushed ver1.0.12. I’ve made a few great improvements that simplify things even further. Now, there is a #show() method…

---

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

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 11, 2013, 6:36pm UTC](https://www.ruby-forum.com/t/ruby-regular-expression/238003 "2013-12-11T18:36:47Z")

</div>

Hi I am reading a file and want to extract. all quotations given in “” or ‘’ I was using regular expression. /\\w+(’|")(\\w+)(’|")/ for example. Mr. Ayush said “we need to change ourselves to change the world” resul…

---

## [Possible mutex starvation issue affects all nginx Linux versions](https://www.ruby-forum.com/t/possible-mutex-starvation-issue-affects-all-nginx-linux-versions/237817)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 11, 2013, 6:11pm UTC](https://www.ruby-forum.com/t/possible-mutex-starvation-issue-affects-all-nginx-linux-versions/237817 "2013-12-11T18:11:38Z")

</div>

Here is a patch for a possible mutex starvation issue which affects all nginx Linux versions. Already solved for Windows since nginx 1.5.7.1 Caterpillar. Can be reproduced when nginx reloads the config & worker holdin…

---

## [Hg checkout missing config and friends](https://www.ruby-forum.com/t/hg-checkout-missing-config-and-friends/238011)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 11, 2013, 5:18pm UTC](https://www.ruby-forum.com/t/hg-checkout-missing-config-and-friends/238011 "2013-12-11T17:18:28Z")

</div>

I performed a checkout to the latest stable: $ hg clone http://hg.nginx.org/nginx -u “release-1.4.4” I tried to run config, and it appears to be missing: $ ./config -bash: ./config: No such file or directory $ nginx…

---

## [OpenSSL Locks](https://www.ruby-forum.com/t/openssl-locks/238007)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 11, 2013, 4:42pm UTC](https://www.ruby-forum.com/t/openssl-locks/238007 "2013-12-11T16:42:50Z")

</div>

I need to do some additional processing with OpenSSL in a custom module. I noticed ngingx does not set any locks in ngx\_ssl\_init (from ngx\_event\_openssl.c). A few questions: Should lock installation be guarded on N…

---

## [Vulnerabilità Rails e i18n](https://www.ruby-forum.com/t/vulnerabilita-rails-e-i18n/237945)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 11, 2013, 4:09pm UTC](https://www.ruby-forum.com/t/vulnerabilita-rails-e-i18n/237945 "2013-12-11T16:09:31Z")

</div>

I dettagli sono a About Secunia Research | Flexera In breve: Con i18n si può fare cross site scripting, si deve aggiornare alla 0.6.6 o 0.5.1. Rails 4.0.1 ha una versione vulnerabile della gemma. Rails oltre alla…

---

## [Email out of Rescue](https://www.ruby-forum.com/t/email-out-of-rescue/237984)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [December 11, 2013, 3:54pm UTC](https://www.ruby-forum.com/t/email-out-of-rescue/237984 "2013-12-11T15:54:20Z")

</div>

I’m trying to set up a means to automatically send an email from certain parts of troubled code, that is, very often, code that might appear in the Rescue predicate of a begin…rescue, so as to track down issues remot…

---

## [Will\_paginate and full text search with MongoID](https://www.ruby-forum.com/t/will-paginate-and-full-text-search-with-mongoid/238008)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 11, 2013, 1:01pm UTC](https://www.ruby-forum.com/t/will-paginate-and-full-text-search-with-mongoid/238008 "2013-12-11T13:01:59Z")

</div>

Hi, I get undefined method \`paginate’ for #\<Mongoid::Contextual::TextSearchif I try to paginate a full text search. Using mongoid (4.0.0.alpha1) and will\_paginate\_mongoid (2.0.1) @ads = Ad.text\_search( params\[:q\] ) …

---

## [Unexpected repeating in 'while true' loop](https://www.ruby-forum.com/t/unexpected-repeating-in-while-true-loop/238009)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 11, 2013, 1:00pm UTC](https://www.ruby-forum.com/t/unexpected-repeating-in-while-true-loop/238009 "2013-12-11T13:00:49Z")

</div>

Hi all, I’m writing a program that I hope will function as way to track what books I own, what books I want, and what books I have lent out and to whom. My ‘library\_client.rb’ file was working as expected as far as th…

---

## [$\_SERVERplus-signs and whitespace](https://www.ruby-forum.com/t/serverplus-signs-and-whitespace/238006)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 11, 2013, 12:56pm UTC](https://www.ruby-forum.com/t/serverplus-signs-and-whitespace/238006 "2013-12-11T12:56:44Z")

</div>

Hello, I have the following Problem with Nginx 1.2.1-2.2 running on 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86\_64 GNU/Linux A String like $\_SERVER\[‘QUERY\_STRING’\] = test=1+2 will get $\_GET\[‘test’\] = 1 2 I have found t…

---

## [Workshop on GNU Radio and USRP](https://www.ruby-forum.com/t/workshop-on-gnu-radio-and-usrp/238005)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 11, 2013, 11:15am UTC](https://www.ruby-forum.com/t/workshop-on-gnu-radio-and-usrp/238005 "2013-12-11T11:15:04Z")

</div>

Hello friends … I along with my colleagues will be taking introductory sessions on SDR, GNU Radio and USRP. National instruments will also be demonstrating some cool sdr applications. \*\* Apology for telling at a short…

---

## [Upstrea/ Keepalive strange behaviour](https://www.ruby-forum.com/t/upstrea-keepalive-strange-behaviour/237975)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 11, 2013, 9:59am UTC](https://www.ruby-forum.com/t/upstrea-keepalive-strange-behaviour/237975 "2013-12-11T09:59:06Z")

</div>

Hello all, I have a strange behavior when using upstream/keepalive and it could be fine if someone can give me some feedback regarding this setup. I have multiple locations with proxy\_pass directive, i use proxy\_http…

---

## [Ruby Time differs from Java's time (Date)](https://www.ruby-forum.com/t/ruby-time-differs-from-javas-time-date/238002)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 11, 2013, 9:44am UTC](https://www.ruby-forum.com/t/ruby-time-differs-from-javas-time-date/238002 "2013-12-11T09:44:30Z")

</div>

Hey! There was a bug with Time around BC in JRuby 1.7.x that has been fixed in a recent release - but I still can not get AR-JDBC compatibility around this (with prepared-statements) due different time interpretatio…

---

## [Working with models, efficent queries](https://www.ruby-forum.com/t/working-with-models-efficent-queries/237996)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 11, 2013, 8:55am UTC](https://www.ruby-forum.com/t/working-with-models-efficent-queries/237996 "2013-12-11T08:55:25Z")

</div>

i have a model with 35000 entries in the database. I was using a unique string as the primary key. Right now I am using the order method to return the model objects in order. I’d like to know what is good practice ( …

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

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