# Latest

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

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

---

## [Output Source Code to Text document](https://www.ruby-forum.com/t/output-source-code-to-text-document/237202)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [November 2, 2013, 10:03am UTC](https://www.ruby-forum.com/t/output-source-code-to-text-document/237202 "2013-11-02T10:03:11Z")

</div>

So I have a simple ruby script I created for an assignment and my professor wants us to output the original source code to a formatted text file. As of now I have a started separate script opening the assignment as r…

---

## [Not being able to understand ruby code](https://www.ruby-forum.com/t/not-being-able-to-understand-ruby-code/237272)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [November 2, 2013, 9:59am UTC](https://www.ruby-forum.com/t/not-being-able-to-understand-ruby-code/237272 "2013-11-02T09:59:06Z")

</div>

Can anyone explain the below code? def sum a,b yield a,b end sum 42, 23, &:+ # \<— what does this?

---

## [Building Ruby without the Standard Library](https://www.ruby-forum.com/t/building-ruby-without-the-standard-library/237274)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 2, 2013, 9:28am UTC](https://www.ruby-forum.com/t/building-ruby-without-the-standard-library/237274 "2013-11-02T09:28:03Z")

</div>

I have been writing an application (game library) which embeds Ruby into C as a scripting language, and it has been working beautifully so far. However, I realize that I may need to distribute this application to Wind…

---

## [No attribute 'message\_sink'](https://www.ruby-forum.com/t/no-attribute-message-sink/237252)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 2, 2013, 7:58am UTC](https://www.ruby-forum.com/t/no-attribute-message-sink/237252 "2013-11-02T07:58:32Z")

</div>

Hi, I’m using USRP N210 with LFRX. I installed uhd and gnuradio with build-gnuradio script without any problem. However, when I run an application, it has such error message: self.sink = gr.message\_sink(gr.sizeof\_sh…

---

## [\[ruby-trunk - Bug #9046\]\[Open\] \[PATCH\] Inter-process locking for log rotation is required](https://www.ruby-forum.com/t/ruby-trunk-bug-9046-open-patch-inter-process-locking-for-log-rotation-is-required/246468)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [November 2, 2013, 5:47am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-9046-open-patch-inter-process-locking-for-log-rotation-is-required/246468 "2013-11-02T05:47:43Z")

</div>

Issue #9046 has been reported by sonots (Naotoshi Seo). Bug #9046: \[PATCH\] Inter-process locking for log rotation is required Author: sonots (Naotoshi Seo) Status: Open Priority: Normal Assignee: Category: lib T…

---

## [Proxy\_pass not passing to dynamic $host](https://www.ruby-forum.com/t/proxy-pass-not-passing-to-dynamic-host/237250)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 10\
**Last updated:** [November 2, 2013, 2:46am UTC](https://www.ruby-forum.com/t/proxy-pass-not-passing-to-dynamic-host/237250 "2013-11-02T02:46:01Z")

</div>

Hi, I need to do proxy\_pass to host name passed in url and rewrite url as well. Since the host name is difference with each request, I cannot provide an upstream for it. Below is the nginx configuration I am using bu…

---

## [ZenTest 4.9.5 Released](https://www.ruby-forum.com/t/zentest-4-9-5-released/237268)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 2, 2013, 1:12am UTC](https://www.ruby-forum.com/t/zentest-4-9-5-released/237268 "2013-11-02T01:12:34Z")

</div>

ZenTest version 4.9.5 has been released! home: https://github.com/seattlerb/zentest rdoc: http://zentest.rubyforge.org/ZenTest ZenTest provides 4 different tools: zentest, unit\_diff, autotest, and multiruby. zente…

---

## [How to make an FFT block in c++](https://www.ruby-forum.com/t/how-to-make-an-fft-block-in-c/237018)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 5\
**Last updated:** [November 1, 2013, 10:02pm UTC](https://www.ruby-forum.com/t/how-to-make-an-fft-block-in-c/237018 "2013-11-01T22:02:43Z")

</div>

Hello, I’m trying to make an FFT block in my hierarchical block, but I cannot seem to find the correct syntax. I’m trying to make it with a BLACKMAN\_HARRIS windowing function, and it’s easy in a python program: …

---

## [Cross compiling make error within OpenEmbedded SDK](https://www.ruby-forum.com/t/cross-compiling-make-error-within-openembedded-sdk/237257)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 1, 2013, 9:02pm UTC](https://www.ruby-forum.com/t/cross-compiling-make-error-within-openembedded-sdk/237257 "2013-11-01T21:02:34Z")

</div>

I’m trying to cross compile gnuradio for arm within an OpenEmbedded SDK using bitbake 1.18 meta-openembedded Dylan openembedded-core Dylan & meta-ettus e100-updates After generating and setting up the SDK, I have …

---

## [Relation model: trova l'errore](https://www.ruby-forum.com/t/relation-model-trova-lerrore/237254)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [November 1, 2013, 8:52pm UTC](https://www.ruby-forum.com/t/relation-model-trova-lerrore/237254 "2013-11-01T20:52:38Z")

</div>

Ciao, Mi trovo a dover creare le relazioni tra i seguenti modelli: User, Software ed Evaluation Le relazioni sono: User puo’ avere molti Software e molte Evaluation Software dipende da User (che lo crea) e puo’ aver…

---

## [\[ANN\] Rails 4.0.1 has been released!](https://www.ruby-forum.com/t/ann-rails-4-0-1-has-been-released/237266)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 1, 2013, 8:52pm UTC](https://www.ruby-forum.com/t/ann-rails-4-0-1-has-been-released/237266 "2013-11-01T20:52:03Z")

</div>

Hi everyone, I am happy to announce that Rails 4.0.1 has been released. This is a bug fix release and includes more than 460 commits. This release comes up with an important change on how Active Record handles subs…

---

## [Using Chef to set the database name, username, and password](https://www.ruby-forum.com/t/using-chef-to-set-the-database-name-username-and-password/237263)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 1, 2013, 6:59pm UTC](https://www.ruby-forum.com/t/using-chef-to-set-the-database-name-username-and-password/237263 "2013-11-01T18:59:53Z")

</div>

One of my Ruby on Rails apps is Bargain Stock Funds (https://github.com/jhsu802701/bsf), and it relies on a Ruby gem called bsf\_scrape (https://github.com/jhsu802701/bsf\_scrape) to obtain and process data on stock fu…

---

## [\[ANN\] TeamCity Ruby Client 1.1.0 Released!](https://www.ruby-forum.com/t/ann-teamcity-ruby-client-1-1-0-released/237262)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 1, 2013, 6:59pm UTC](https://www.ruby-forum.com/t/ann-teamcity-ruby-client-1-1-0-released/237262 "2013-11-01T18:59:49Z")

</div>

teamcity-ruby-client version 1.1.0 has been released! home: GitHub - jperry/teamcity-ruby-client: Ruby wrapper for the TeamCity Rest API rubydoc: http://rubydoc.info/gems/teamcity-ruby-client/frames rubygems: teamcit…

---

## [Gnuradio-3.7.2, qwt6 and qtgui on gentoo](https://www.ruby-forum.com/t/gnuradio-3-7-2-qwt6-and-qtgui-on-gentoo/237261)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 1, 2013, 5:18pm UTC](https://www.ruby-forum.com/t/gnuradio-3-7-2-qwt6-and-qtgui-on-gentoo/237261 "2013-11-01T17:18:50Z")

</div>

Hi On an gentoo system with qwt-6.0.2 the qtgui builds nut fails to run. The test reports libgnuradio-qtgui-3.7.2git.so.0.0.0: undefined symbol: \_ZNK7QwtPlot9drawItemsEP8QPainterRK6QRectFPK11QwtScaleMapq This is due…

---

## [Mysql interface](https://www.ruby-forum.com/t/mysql-interface/237246)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [November 1, 2013, 4:40pm UTC](https://www.ruby-forum.com/t/mysql-interface/237246 "2013-11-01T16:40:16Z")

</div>

hello - i see this topic was partially covered in an earlier post: https://www.ruby-forum.com/topic/4411532 specifically, i am using mysql and am coming from a php environment where i learned to love PDO. the most i…

---

## [Sampling with multiple USRP N210s with one host computer](https://www.ruby-forum.com/t/sampling-with-multiple-usrp-n210s-with-one-host-computer/237251)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [November 1, 2013, 4:26pm UTC](https://www.ruby-forum.com/t/sampling-with-multiple-usrp-n210s-with-one-host-computer/237251 "2013-11-01T16:26:15Z")

</div>

Hi Everyone, I recently discovered that Ettus offer a way of synchronizing up the eight USRPs with the following clock distribution system: https://www.ettus.com/product/details/OctoClock-G Out of curiosity, how wo…

---

## [ANN: Sequel 4.4.0 Released](https://www.ruby-forum.com/t/ann-sequel-4-4-0-released/237259)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 1, 2013, 4:16pm UTC](https://www.ruby-forum.com/t/ann-sequel-4-4-0-released/237259 "2013-11-01T16:16:13Z")

</div>

Sequel is a lightweight database access toolkit for Ruby. Sequel provides thread safety, connection pooling and a concise DSL for constructing SQL queries and table schemas. Sequel includes a comprehensive ORM layer f…

---

## [\[ruby-trunk - Bug #9069\]\[Open\] test\_weakref.rb with GC.stress causes \[BUG\] rb\_gc\_mark(): 0x8024ee94](https://www.ruby-forum.com/t/ruby-trunk-bug-9069-open-test-weakref-rb-with-gc-stress-causes-bug-rb-gc-mark-0x8024ee94/237253)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 1, 2013, 2:21pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-9069-open-test-weakref-rb-with-gc-stress-causes-bug-rb-gc-mark-0x8024ee94/237253 "2013-11-01T14:21:09Z")

</div>

Issue #9069 has been reported by akr (Akira T.). Bug #9069: test\_weakref.rb with GC.stress causes \[BUG\] rb\_gc\_mark(): 0x8024ee94 is T\_ZOMBIE Author: akr (Akira T.) Status: Open Priority: Normal Assignee: Categor…

---

## [Agile Web Development 4th ed. - Can't mass assign.error](https://www.ruby-forum.com/t/agile-web-development-4th-ed-cant-mass-assign-error/218671)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [November 1, 2013, 12:39pm UTC](https://www.ruby-forum.com/t/agile-web-development-4th-ed-cant-mass-assign-error/218671 "2013-11-01T12:39:30Z")

</div>

I am new to Ruby and to Rails (using Ruby 1.9.3 and Rails 3.2.3) so I picked up the Agile Web D. book and have been working through it (apologies if this isn’t the correct place for this question but the pragprog foru…

---

## [Band pass filter](https://www.ruby-forum.com/t/band-pass-filter/237243)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [November 1, 2013, 10:30am UTC](https://www.ruby-forum.com/t/band-pass-filter/237243 "2013-11-01T10:30:25Z")

</div>

hello every one … i implement the following spectrum generation stimulation but band pass parameter show error . File “/home/mahesh/Documents/3110/1/top\_block.py”, line 128, in init 1, samp\_rate, 83000…

---

## [Is there way to convert a ruby script to executable file under Linux?](https://www.ruby-forum.com/t/is-there-way-to-convert-a-ruby-script-to-executable-file-under-linux/237017)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 12\
**Last updated:** [November 1, 2013, 8:52am UTC](https://www.ruby-forum.com/t/is-there-way-to-convert-a-ruby-script-to-executable-file-under-linux/237017 "2013-11-01T08:52:11Z")

</div>

Is there way to convert a ruby script to executable file under Linux? rubyscript2exe can do it, but it won’t encrypt the script, and will show the content of the script under home directory when run, but I hope my scr…

---

## [SSI working on Apache backend, but not on gunicorn backend](https://www.ruby-forum.com/t/ssi-working-on-apache-backend-but-not-on-gunicorn-backend/237245)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 1, 2013, 8:45am UTC](https://www.ruby-forum.com/t/ssi-working-on-apache-backend-but-not-on-gunicorn-backend/237245 "2013-11-01T08:45:50Z")

</div>

Hello, I have nginx in front of an Apache server and a gunicorn server for different parts of my website. I am using the SSI module in nginx to display a snippet in every page. The websites include a snippet in this …

---

## [How to TX burst data from file, at specified time](https://www.ruby-forum.com/t/how-to-tx-burst-data-from-file-at-specified-time/237233)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [November 1, 2013, 12:35am UTC](https://www.ruby-forum.com/t/how-to-tx-burst-data-from-file-at-specified-time/237233 "2013-11-01T00:35:32Z")

</div>

I would like to receive a suggestions of yours on which is the simplest way to transmit a burst of data, at specific time, using USRP N210. I am planning to input 1pps & 10 MHz to the USRP, in order to have the start…

---

## [Problems building gnuradio with pybombs on armhf (arm7)](https://www.ruby-forum.com/t/problems-building-gnuradio-with-pybombs-on-armhf-arm7/237249)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [October 31, 2013, 9:49pm UTC](https://www.ruby-forum.com/t/problems-building-gnuradio-with-pybombs-on-armhf-arm7/237249 "2013-10-31T21:49:43Z")

</div>

Hi: I am trying to build gnuradio on ARMHF (ARMV7) in Debian Wheezy with pybombs. It successfully builds uhd however when trying to build gnuradio I get this error: Built target pygen\_gr\_fcd\_swig\_bb170 \[ 35%\] Built …

---

## [ADC block](https://www.ruby-forum.com/t/adc-block/237248)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [October 31, 2013, 7:56pm UTC](https://www.ruby-forum.com/t/adc-block/237248 "2013-10-31T19:56:59Z")

</div>

hello i think to implement GMSK modulation , but i did not foind ADC block to convert it from analog to digital signal… can any one guide me hoe can it is possible to do…? i use signal source and noise …

---

## [\[volk\] google hangout/meeting](https://www.ruby-forum.com/t/volk-google-hangout-meeting/237014)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [October 31, 2013, 6:35pm UTC](https://www.ruby-forum.com/t/volk-google-hangout-meeting/237014 "2013-10-31T18:35:46Z")

</div>

I think it might be good for whoever would be interested in VOLK to get together for another meeting in a couple of weeks to discuss any progress and to include anyone who was not at the inaugural meeting at GRCon. A…

---

## [Gnu radio instruction / permission denial](https://www.ruby-forum.com/t/gnu-radio-instruction-permission-denial/237235)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [October 31, 2013, 3:56pm UTC](https://www.ruby-forum.com/t/gnu-radio-instruction-permission-denial/237235 "2013-10-31T15:56:15Z")

</div>

For those who have installed gnu software correctly by following the instruction in the link (\* http://code.ettus.com/redmine/ettus/projects/uhd/wiki/GNURadio\_Windows\*http://code.ettus.com/redmine/ettus/projects/uhd/wi…

---

## [Initial push to develop a Website](https://www.ruby-forum.com/t/initial-push-to-develop-a-website/237238)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [October 31, 2013, 3:24pm UTC](https://www.ruby-forum.com/t/initial-push-to-develop-a-website/237238 "2013-10-31T15:24:05Z")

</div>

Hello, This is my first post here! I\`m a computer engineering with almost no formation in web Development. What I do know, is software engineering/architecture, Java and C/C++. I also have had some foundation in XHT…

---

## [\[ruby-trunk - Bug #9062\]\[Open\] lib/rexml/parsers/streamparser.rb に require "rexml/parsers/baseparser](https://www.ruby-forum.com/t/ruby-trunk-bug-9062-open-lib-rexml-parsers-streamparser-rb-require-rexml-parsers-baseparser/237225)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [October 31, 2013, 1:52pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-9062-open-lib-rexml-parsers-streamparser-rb-require-rexml-parsers-baseparser/237225 "2013-10-31T13:52:58Z")

</div>

Issue #9062 has been reported by ohai (Ippei Obayashi). Bug #9062: lib/rexml/parsers/streamparser.rb に require “rexml/parsers/baseparser” を追加してほしい Author: ohai (Ippei Obayashi) Status: Open Priority: Normal Assi…

---

## [SPDY, SSL termination and proxy\_pass](https://www.ruby-forum.com/t/spdy-ssl-termination-and-proxy-pass/237242)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [October 31, 2013, 1:30pm UTC](https://www.ruby-forum.com/t/spdy-ssl-termination-and-proxy-pass/237242 "2013-10-31T13:30:11Z")

</div>

I have setup SPDY on my application and have observed some nice reductions in page load times. However in a production environment my setup is somewhat different. At the moment my setup looks like this: server 1 ru…

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

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