# Latest

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

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

---

## [Started out with ruby, but have some regrets. Not sure what to do. Help?](https://www.ruby-forum.com/t/started-out-with-ruby-but-have-some-regrets-not-sure-what-to-do-help/237835)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 9\
**Last updated:** [December 4, 2013, 2:45am UTC](https://www.ruby-forum.com/t/started-out-with-ruby-but-have-some-regrets-not-sure-what-to-do-help/237835 "2013-12-04T02:45:22Z")

</div>

So, to start, I basically returned to college for a second degree (graduated recently), to try to get a CS degree. I had to stop though due to money issues. I now have a full time job not related to programming. How…

---

## [DPSK losing bytes in simulation](https://www.ruby-forum.com/t/dpsk-losing-bytes-in-simulation/237863)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 4, 2013, 1:33am UTC](https://www.ruby-forum.com/t/dpsk-losing-bytes-in-simulation/237863 "2013-12-04T01:33:01Z")

</div>

Hi, I’m very confused with the following flow chart: file → throttle → dpsk mod —\> dpsk demod → unpacked to packed → file sink I’m losing 2 bytes in the output file. I’ve uploaded the grc here - www.anfractuosity…

---

## [Fwd:MIMO cable synchronization accuracy](https://www.ruby-forum.com/t/fwd-mimo-cable-synchronization-accuracy/237861)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 4, 2013, 12:43am UTC](https://www.ruby-forum.com/t/fwd-mimo-cable-synchronization-accuracy/237861 "2013-12-04T00:43:57Z")

</div>

Hi everyone, To synchronize two USRPs, I connect them and add the following code in the slave USRP. ------------------------------- set\_clock\_source( ‘MIMO’,0); set\_time\_source(‘MIMO’,0); I have got that the length o…

---

## [Can no longer build packages for PPA](https://www.ruby-forum.com/t/can-no-longer-build-packages-for-ppa/237808)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 3, 2013, 11:28pm UTC](https://www.ruby-forum.com/t/can-no-longer-build-packages-for-ppa/237808 "2013-12-03T23:28:01Z")

</div>

Greetings, Lately, I have been having increasing difficulties with building gnuradio successfully on the Ubuntu PPA builders. I think the problems is that the builds run in emulated environments and the builder is not …

---

## [Link posts and comments on a new view/controller](https://www.ruby-forum.com/t/link-posts-and-comments-on-a-new-view-controller/237848)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 3, 2013, 11:05pm UTC](https://www.ruby-forum.com/t/link-posts-and-comments-on-a-new-view-controller/237848 "2013-12-03T23:05:48Z")

</div>

Hello everyone, I’m a newbie following the Getting Started with Rails — Ruby on Rails Guides , so far everyone is working without problems except a modification that I made earlier. I’ve created a view called welcome…

---

## [Any config tricks to stop site from framing us?](https://www.ruby-forum.com/t/any-config-tricks-to-stop-site-from-framing-us/237860)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 9\
**Last updated:** [December 3, 2013, 10:57pm UTC](https://www.ruby-forum.com/t/any-config-tricks-to-stop-site-from-framing-us/237860 "2013-12-03T22:57:38Z")

</div>

Yesterday, I discovered that someone had registered a site (basically taking our domain name and adding a word to it) and then framed our whole site in theirs. By that I mean it’s a full iframe job, with no toolbars s…

---

## [: Stockboy - a data capture and manipulation gem](https://www.ruby-forum.com/t/stockboy-a-data-capture-and-manipulation-gem/237859)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 3, 2013, 10:13pm UTC](https://www.ruby-forum.com/t/stockboy-a-data-capture-and-manipulation-gem/237859 "2013-12-03T22:13:08Z")

</div>

GEM: stockboy | RubyGems.org | your community gem host DOC: http://rdoc.info/gems/stockboy/frames GIT: GitHub - avit/stockboy: A helpful gem to receive and unpack data into your organization from anywhere Stockboy hel…

---

## [Gr-ctrlport-monitor timeout exception](https://www.ruby-forum.com/t/gr-ctrlport-monitor-timeout-exception/237409)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [December 3, 2013, 9:25pm UTC](https://www.ruby-forum.com/t/gr-ctrlport-monitor-timeout-exception/237409 "2013-12-03T21:25:48Z")

</div>

I’m using ControlPort to monitor transmissions through a USRP. I have a flowgraph responsible for generating burst traffic and streaming to a uhd\_sink. Then I have a uhd\_source tuned to the same frequency as the uhd\_s…

---

## [Org.jruby.jcodings/jcodings==1.0.5 bad sha1 on Maven Central](https://www.ruby-forum.com/t/org-jruby-jcodings-jcodings-1-0-5-bad-sha1-on-maven-central/237856)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 3, 2013, 9:16pm UTC](https://www.ruby-forum.com/t/org-jruby-jcodings-jcodings-1-0-5-bad-sha1-on-maven-central/237856 "2013-12-03T21:16:26Z")

</div>

Howdy, all – I’m trying to use the split-out (as opposed to -complete) build of JRuby from Maven. At present, this fails: \[antlib:org.apache.ivy.ant:install\] :: problems summary :: \[antlib:org.apache.ivy.ant:install…

---

## [Rails 3.2.16 and 4.0.2 have been released](https://www.ruby-forum.com/t/rails-3-2-16-and-4-0-2-have-been-released/237855)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 3, 2013, 8:23pm UTC](https://www.ruby-forum.com/t/rails-3-2-16-and-4-0-2-have-been-released/237855 "2013-12-03T20:23:16Z")

</div>

Hi everyone! Rails 3.2.16 and 4.0.2 have been released! These two releases contain important security fixes, so please upgrade as soon as possible! In order to make upgrading as smooth as possible, we’ve only incl…

---

## [Question about collection\_check\_box](https://www.ruby-forum.com/t/question-about-collection-check-box/237850)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [December 3, 2013, 8:09pm UTC](https://www.ruby-forum.com/t/question-about-collection-check-box/237850 "2013-12-03T20:09:49Z")

</div>

Hi there, i want to use collection\_check\_boxes (in rails 4) but i am a little bit stuck… okay, first things first: i have 2 models: class Supervisioncategory \< ActiveRecord::Base has\_many :phonenotes end and cla…

---

## [USRP source block queries](https://www.ruby-forum.com/t/usrp-source-block-queries/237851)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 3, 2013, 7:27pm UTC](https://www.ruby-forum.com/t/usrp-source-block-queries/237851 "2013-12-03T19:27:44Z")

</div>

Hello. I am a graduate student researcher with the Satellite Technology Lab at The University of Texas at Arlington. I’ve been trying to find out the working behind the USRP source block. I did find some basic descr…

---

## [Is it possible to serialize the "query builder data" part of ActiveRecord::Relation and use it later](https://www.ruby-forum.com/t/is-it-possible-to-serialize-the-query-builder-data-part-of-activerecord-relation-and-use-it-later/237853)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 3, 2013, 6:57pm UTC](https://www.ruby-forum.com/t/is-it-possible-to-serialize-the-query-builder-data-part-of-activerecord-relation-and-use-it-later/237853 "2013-12-03T18:57:18Z")

</div>

Is it possible to serialize the “query builder data” part of ActiveRecord::Relation and use it later to query the database with exactly the same query? to\_sql is not suitable My task is to have reload a div that con…

---

## [Anybody interested in reviewing Packts first book on HAML?](https://www.ruby-forum.com/t/anybody-interested-in-reviewing-packts-first-book-on-haml/237849)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 3, 2013, 6:00pm UTC](https://www.ruby-forum.com/t/anybody-interested-in-reviewing-packts-first-book-on-haml/237849 "2013-12-03T18:00:35Z")

</div>

We have a limited e-copies of the book available for review. If interested in reviewing the book “Instant Hamlhttp://www.packtpub.com/integrate-haml-into-current-application-setup-and-development-workflow/book” withi…

---

## [Two RX paths](https://www.ruby-forum.com/t/two-rx-paths/237847)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 3, 2013, 5:25pm UTC](https://www.ruby-forum.com/t/two-rx-paths/237847 "2013-12-03T17:25:31Z")

</div>

Hi all guys, I would like to receive in my application signals from WBX board and from LFTX simultaneousely. At the moment, when I run the flow graph it ends immediately with core dump, and zero divisin exception. I…

---

## [How to send other params with rails3-jquery-autocomplete](https://www.ruby-forum.com/t/how-to-send-other-params-with-rails3-jquery-autocomplete/237845)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 3, 2013, 3:26pm UTC](https://www.ruby-forum.com/t/how-to-send-other-params-with-rails3-jquery-autocomplete/237845 "2013-12-03T15:26:22Z")

</div>

I want to send other params i.e hidden field values in get\_autocomplete\_items(parameters) and I tried = rec.autocomplete\_field :name, autocomplete\_recruiter\_name\_job\_applications\_path, :placeholder=\>“Recruiter name…

---

## [Passing JRuby to Java](https://www.ruby-forum.com/t/passing-jruby-to-java/237833)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [December 3, 2013, 3:24pm UTC](https://www.ruby-forum.com/t/passing-jruby-to-java/237833 "2013-12-03T15:24:18Z")

</div>

I am wondering it if it is practical to pass JRuby objects to java. The goal is to insert JRuby objects (actually Mongoid retrieved data/ classes) into Drools. Anyhow I wanted to see what they looked like in Java. …

---

## [State\_machine prevents ActiveRecord from being persisted](https://www.ruby-forum.com/t/state-machine-prevents-activerecord-from-being-persisted/182373)

<div class="topic-metadata">

**Author:** [@mhfs](https://www.ruby-forum.com/u/mhfs)\
**Replies:** 4\
**Last updated:** [December 3, 2013, 2:56pm UTC](https://www.ruby-forum.com/t/state-machine-prevents-activerecord-from-being-persisted/182373 "2013-12-03T14:56:29Z")

</div>

Hello list, I have a subscription model that has a upgrade event. This changes the state from free-\>paying and triggers a charge method in the subscription model. This charge method then creates a new instance of th…

---

## [Lottery generation script](https://www.ruby-forum.com/t/lottery-generation-script/237807)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [December 3, 2013, 1:14pm UTC](https://www.ruby-forum.com/t/lottery-generation-script/237807 "2013-12-03T13:14:42Z")

</div>

Hello everyone! So, I have this code: #ticket database ticket1 = 88795 #ticket number quantity1 = 3 #quantity bought puts “\\n” #break #lottery draw list = \[\] (list \<\< ‘%05i’ % (rand(99999)+1)).uniq! while list.l…

---

## [Samples \_per\_symbol parameter](https://www.ruby-forum.com/t/samples-per-symbol-parameter/237839)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [December 3, 2013, 1:01pm UTC](https://www.ruby-forum.com/t/samples-per-symbol-parameter/237839 "2013-12-03T13:01:57Z")

</div>

Hi everyone, i’am trying to do simply QAM modulation for that the source i used is vector source which gives 1byte of 1’s and 0’s which is fed to QAM modulator . Can anyone tell me how do i calculate samples/symbol …

---

## [\[Backport93 - Backport #9206\]\[Open\] protect FL\_MARK at rb\_obj\_clone()](https://www.ruby-forum.com/t/backport93-backport-9206-open-protect-fl-mark-at-rb-obj-clone/237843)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 3, 2013, 12:14pm UTC](https://www.ruby-forum.com/t/backport93-backport-9206-open-protect-fl-mark-at-rb-obj-clone/237843 "2013-12-03T12:14:38Z")

</div>

Issue #9206 has been reported by authorNari (Narihiro N.). Backport #9206: protect FL\_MARK at rb\_obj\_clone() Author: authorNari (Narihiro N.) Status: Open Priority: Normal Assignee: usa (Usaku NAKAMURA) Category: …

---

## [Time controlling block](https://www.ruby-forum.com/t/time-controlling-block/237815)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 3, 2013, 11:51am UTC](https://www.ruby-forum.com/t/time-controlling-block/237815 "2013-12-03T11:51:15Z")

</div>

Hi, Today i got a idea about implementing three different modulations on single message signal. But i want the modulations to happen after certain time has searched (can say exactly like counter). which is the block …

---

## [NGINX timeout issue](https://www.ruby-forum.com/t/nginx-timeout-issue/237840)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 3, 2013, 11:10am UTC](https://www.ruby-forum.com/t/nginx-timeout-issue/237840 "2013-12-03T11:10:20Z")

</div>

Hi all, We are using nginx as proxy server in all our production deployment. The nginx server proxy the http request to Amazon ELB (elastic load balancer) using upstream module. Currently we are seeing timeout issues …

---

## [Jruby complete and bundle](https://www.ruby-forum.com/t/jruby-complete-and-bundle/237811)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 9\
**Last updated:** [December 3, 2013, 10:31am UTC](https://www.ruby-forum.com/t/jruby-complete-and-bundle/237811 "2013-12-03T10:31:45Z")

</div>

Hi. I have found a couple of web sites which describe how to use jruby complete but it doesn’t seem to work for me. /usr/bin/java -jar /vagrant/bin/jruby-complete-1.7.8.jar -S bundle exec trinidad jruby: No such fi…

---

## [NGINX 500 http error](https://www.ruby-forum.com/t/nginx-500-http-error/237480)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 7\
**Last updated:** [December 3, 2013, 10:21am UTC](https://www.ruby-forum.com/t/nginx-500-http-error/237480 "2013-12-03T10:21:49Z")

</div>

Hi, I have a lot of 500 http error in nginx access.log. I think it’s due to the number of requests that nginx receives. Because when I was testing the configuration with one ip adress I don’t have this error but wh…

---

## [Sanitize "invalid UTF-8 byte sequence"](https://www.ruby-forum.com/t/sanitize-invalid-utf-8-byte-sequence/237838)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 3, 2013, 10:03am UTC](https://www.ruby-forum.com/t/sanitize-invalid-utf-8-byte-sequence/237838 "2013-12-03T10:03:42Z")

</div>

Hi I’m getting forged requests with invalid UTF-8 byte sequences on my Rails app which is served with Nginx/Passenger. Is there a way to have Nginx sanitize requests before they are passed to Passenger? Thanks for y…

---

## [Ruby On Rails Getting Started question](https://www.ruby-forum.com/t/ruby-on-rails-getting-started-question/237836)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 3, 2013, 10:01am UTC](https://www.ruby-forum.com/t/ruby-on-rails-getting-started-question/237836 "2013-12-03T10:01:56Z")

</div>

Hi All, I am going through the getting started guide here And in section 5.7 it refers to a code snippet that I don’t understand what to do with it. post GET /posts/:id(.:format) posts#show I don’t underst…

---

## [Performance of 3.7](https://www.ruby-forum.com/t/performance-of-3-7/237735)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 3, 2013, 9:21am UTC](https://www.ruby-forum.com/t/performance-of-3-7/237735 "2013-12-03T09:21:37Z")

</div>

Hello, I have noticed that if I run the ofdm benchmark\_tx.py and benchmark\_rx.py programs on both 3.6 and 3.7 versions of gnuradio, I get drastically different performance. I have been using the 3.7 live dvd to eval…

---

## [Rails won't install](https://www.ruby-forum.com/t/rails-wont-install/237837)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 3, 2013, 9:18am UTC](https://www.ruby-forum.com/t/rails-wont-install/237837 "2013-12-03T09:18:42Z")

</div>

Hi folks. ruby 2.0.0p247 (2013-06-27 revision 41674) \[universal.x86\_64-darwin13\] Rails wont install: Building native extensions. This could take a while… ERROR: Error installing rails: ERROR: Failed to build gem n…

---

## [Session cache](https://www.ruby-forum.com/t/session-cache/237820)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 7\
**Last updated:** [December 3, 2013, 7:58am UTC](https://www.ruby-forum.com/t/session-cache/237820 "2013-12-03T07:58:02Z")

</div>

Hi, could anybody say, may i cache dynamic content for sessions isolate from eache other ? I have very hard sql, but it is show some results which very variative for users, but some times users call this script many …

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

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