# Latest

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

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

---

## [How to specify (const char \*) type in xml](https://www.ruby-forum.com/t/how-to-specify-const-char-type-in-xml/236642)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 21, 2013, 8:39pm UTC](https://www.ruby-forum.com/t/how-to-specify-const-char-type-in-xml/236642 "2013-09-21T20:39:04Z")

</div>

Hello Everyone. I have made an OOT module gr-ldpc. The ldpc encoder loads the parity check matrix data from a file. The constructor of this class takes as input the file name as parameter of type " const char \* ". I…

---

## [Error using Packet Decoder block in 3.7](https://www.ruby-forum.com/t/error-using-packet-decoder-block-in-3-7/236639)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [September 21, 2013, 5:26pm UTC](https://www.ruby-forum.com/t/error-using-packet-decoder-block-in-3-7/236639 "2013-09-21T17:26:17Z")

</div>

The following error is thrown when trying to run dpsk\_loopback.py in gr digital examples. File “/usr/local/lib/python2.7/dist-packages/grc\_gnuradio/blks2/packet.py”, line 243, in recv\_pkt msg = blocks.message\_from\_s…

---

## [Regarding Boost message queue](https://www.ruby-forum.com/t/regarding-boost-message-queue/246226)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [September 21, 2013, 5:19pm UTC](https://www.ruby-forum.com/t/regarding-boost-message-queue/246226 "2013-09-21T17:19:16Z")

</div>

Hi, I am developping some source code using a boost shared pointer gr\_message\_sptr which is retrieving from a queue (gr\_msg\_queue\_sptr), The issue is that when calling : gr\_message\_sptr mesg = queue-\>delete\_head\_now…

---

## [Gnuradio-Companion Documentation](https://www.ruby-forum.com/t/gnuradio-companion-documentation/236598)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 9\
**Last updated:** [September 21, 2013, 5:04pm UTC](https://www.ruby-forum.com/t/gnuradio-companion-documentation/236598 "2013-09-21T17:04:38Z")

</div>

Morning, from the site, http://gnuradio.org/redmine/projects/gnuradio/wiki/GNURadioCompanion There is the section, Can anybody tell me how to install it and which folder I should be at? Thanks Installing Documentat…

---

## [Having problem to install the gem \`mysql\`](https://www.ruby-forum.com/t/having-problem-to-install-the-gem-mysql/236635)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [September 21, 2013, 7:43am UTC](https://www.ruby-forum.com/t/having-problem-to-install-the-gem-mysql/236635 "2013-09-21T07:43:35Z")

</div>

I am having problem to install the gem mysql. kirti@kirti-Aspire-5733Z:~$ gem install mysql Building native extensions. This could take a while… ERROR: Error installing mysql: ERROR: Failed to build gem native exte…

---

## [Ruby 1.9.3 bug: #unpack("p") raises exception even with good bytes](https://www.ruby-forum.com/t/ruby-1-9-3-bug-unpack-p-raises-exception-even-with-good-bytes/246244)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [September 21, 2013, 6:15am UTC](https://www.ruby-forum.com/t/ruby-1-9-3-bug-unpack-p-raises-exception-even-with-good-bytes/246244 "2013-09-21T06:15:05Z")

</div>

In the following code, why does $p1 succeed but $p2 and $p3 both fail? I cannot figure this out, and it certainly seems like an unusual ruby bug. Clearly the bytes being unpacked are the same in all three cases. $save…

---

## [Autenticazione](https://www.ruby-forum.com/t/autenticazione/246250)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [September 21, 2013, 2:07am UTC](https://www.ruby-forum.com/t/autenticazione/246250 "2013-09-21T02:07:48Z")

</div>

Ciao a tutti, mi sto cimentando nella mia prima applicaione RoR e, devo implementare il meccanismo di autenticazione via web. Faccio tutto a manina o conviene utilizzare qualche gemma tipo clearance ? Seconda domand…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/236638)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 21, 2013, 1:57am UTC](https://www.ruby-forum.com/t/no-subject/236638 "2013-09-21T01:57:16Z")

</div>

I am attempting to add a custom constellation class to be used with the generic\_mod\_demod object for digital PSK. I have the code working as a simple addition to the gnuradio source with a re-compilation, however I w…

---

## [PRIME-RAILS Suite of components for RAILS](https://www.ruby-forum.com/t/prime-rails-suite-of-components-for-rails/236637)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 20, 2013, 8:35pm UTC](https://www.ruby-forum.com/t/prime-rails-suite-of-components-for-rails/236637 "2013-09-20T20:35:55Z")

</div>

Hello my name is Lzaro Nixon and I am PrimeFaces Team member, we do a popular suite of components for Java server faces (primefaces.org), and I am doing a new project that provide helpers for using core of PrimeFaces …

---

## [How to increase the css and js file loading speed in rails 3](https://www.ruby-forum.com/t/how-to-increase-the-css-and-js-file-loading-speed-in-rails-3/246233)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [September 20, 2013, 8:35pm UTC](https://www.ruby-forum.com/t/how-to-increase-the-css-and-js-file-loading-speed-in-rails-3/246233 "2013-09-20T20:35:55Z")

</div>

Hi All Right now i am working on rails 3 . Is there any possible way to increase the css and js file loading speed (with out asset). please help me Regards Chandrashekar

---

## [Cannot import gnuradio.extras after reinstall the latest gnuradio](https://www.ruby-forum.com/t/cannot-import-gnuradio-extras-after-reinstall-the-latest-gnuradio/245945)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 11\
**Last updated:** [September 20, 2013, 7:57pm UTC](https://www.ruby-forum.com/t/cannot-import-gnuradio-extras-after-reinstall-the-latest-gnuradio/245945 "2013-09-20T19:57:56Z")

</div>

Hi, I reinstalled the entire gnuradio using ./build-gnuradio -m. But when I try to import the gnuradio.extras, errors happened: In \[1\]: import gnuradio.extras ImportError Traceback (most…

---

## [Ruby net/ldap, LDAP PDU error](https://www.ruby-forum.com/t/ruby-net-ldap-ldap-pdu-error/236487)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 20, 2013, 6:07pm UTC](https://www.ruby-forum.com/t/ruby-net-ldap-ldap-pdu-error/236487 "2013-09-20T18:07:54Z")

</div>

I have a problem here. I am trying to connect to a LDAP server (IBM’s Tivoli to be exact) to automate a process that will export the schema in LDIF format. I am able to bind to Active directory with no problems using …

---

## [toJavaObject() Not implemented for VariantObject](https://www.ruby-forum.com/t/tojavaobject-not-implemented-for-variantobject/246212)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [September 20, 2013, 5:24pm UTC](https://www.ruby-forum.com/t/tojavaobject-not-implemented-for-variantobject/246212 "2013-09-20T17:24:14Z")

</div>

I have a DLL win32ole to be executed, and it was implemented in C# NET.4 framework. When I access to the execution of the methods asll was fine (the traces shows to me that the methods are executed correctly) but when…

---

## [Fwd: Gnuradio disabled components](https://www.ruby-forum.com/t/fwd-gnuradio-disabled-components/236626)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [September 20, 2013, 3:54pm UTC](https://www.ruby-forum.com/t/fwd-gnuradio-disabled-components/236626 "2013-09-20T15:54:50Z")

</div>

Hi all, I have recently installed GNU radio 3.7.1 in Manjaro (Distro based in Arch). While building some components where disable. I am interested in having some of them like gnuradio-companion and gr-wxgui, how can…

---

## [Error making ruby 1.9.3- host is required. And no base options](https://www.ruby-forum.com/t/error-making-ruby-1-9-3-host-is-required-and-no-base-options/236619)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [September 20, 2013, 2:31pm UTC](https://www.ruby-forum.com/t/error-making-ruby-1-9-3-host-is-required-and-no-base-options/236619 "2013-09-20T14:31:16Z")

</div>

I am installing ruby 1.9.3 on a Ubuntu machine. I recieved the error “executable host ruby is required. use –with-baseruby option” After looking online I discovered that you need an older version of ruby to install r…

---

## [Accessing model attributes in ActiveSupport::Concern module](https://www.ruby-forum.com/t/accessing-model-attributes-in-activesupport-concern-module/236611)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 20, 2013, 1:40pm UTC](https://www.ruby-forum.com/t/accessing-model-attributes-in-activesupport-concern-module/236611 "2013-09-20T13:40:26Z")

</div>

I have some models which share the same functionality just on other paths. So I decided to put these methods in a module and set the path in the model. My problem is that I’m not able to access the attribute in my mo…

---

## [Torino Coding Society - Le mani su Ruby!](https://www.ruby-forum.com/t/torino-coding-society-le-mani-su-ruby/236633)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [September 20, 2013, 1:24pm UTC](https://www.ruby-forum.com/t/torino-coding-society-le-mani-su-ruby/236633 "2013-09-20T13:24:04Z")

</div>

Ciao a tutti, come promesso prima delle vacanze, l’ora che anche a Torino si cominci a conoscere Ruby, scrivere Ruby e parlare di Ruby. Abbiamo pensato di organizzare un nuovo “social club” qui a Torino, dove si f…

---

## [Why have class hierarchies AND module inclusion? (was: Re: Minimal example to change an instance var](https://www.ruby-forum.com/t/why-have-class-hierarchies-and-module-inclusion-was-re-minimal-example-to-change-an-instance-var/246255)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [September 20, 2013, 11:48am UTC](https://www.ruby-forum.com/t/why-have-class-hierarchies-and-module-inclusion-was-re-minimal-example-to-change-an-instance-var/246255 "2013-09-20T11:48:50Z")

</div>

On Wed, Sep 18, 2013 at 12:10 PM, Marc H. removed\_email\_address@domain.invalid wrote: But this brings me to another question, actually … Why do we really use subclasses in Ruby when there are almost completely legit…

---

## [CRUD model in a bootstrap modal with jquery, ajax - best practice](https://www.ruby-forum.com/t/crud-model-in-a-bootstrap-modal-with-jquery-ajax-best-practice/236632)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 20, 2013, 10:17am UTC](https://www.ruby-forum.com/t/crud-model-in-a-bootstrap-modal-with-jquery-ajax-best-practice/236632 "2013-09-20T10:17:41Z")

</div>

Hi, i have an model, which i want to show edit and update in a dialog via ajax. What i do at the moment: To open the Modal and render the partial, i send an ajax request to controller#show with ujs this is the link…

---

## [Does Python Regex group symbol ( ?: ) work in Ruby?](https://www.ruby-forum.com/t/does-python-regex-group-symbol-work-in-ruby/236624)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [September 20, 2013, 9:57am UTC](https://www.ruby-forum.com/t/does-python-regex-group-symbol-work-in-ruby/236624 "2013-09-20T09:57:14Z")

</div>

Hi, I’m starting to learn Ruby and wondering if Python’s Regex group (?:slight\_smile: symbol works in Ruby. From my experiments it seems like it does, but I’d like a conclusive answer. Thanks, Sunny

---

## [Looking for a way to recursively for a string array through directories and subdirectories](https://www.ruby-forum.com/t/looking-for-a-way-to-recursively-for-a-string-array-through-directories-and-subdirectories/246197)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 7\
**Last updated:** [September 20, 2013, 9:55am UTC](https://www.ruby-forum.com/t/looking-for-a-way-to-recursively-for-a-string-array-through-directories-and-subdirectories/246197 "2013-09-20T09:55:28Z")

</div>

I can get this to work but only in the directory that the script resides in. If i change the dir\_path to a different directory it says that the file its trying to read is a directory. Any help would be welcome… dir\_…

---

## [Reg. AGC3 in gnuradio](https://www.ruby-forum.com/t/reg-agc3-in-gnuradio/236628)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [September 20, 2013, 9:29am UTC](https://www.ruby-forum.com/t/reg-agc3-in-gnuradio/236628 "2013-09-20T09:29:10Z")

</div>

Can someone give me detailed information about the new agc (agc3) in gnuradio?.Also is that agc a log mag. loop which is normally used in the modern receivers?If there is a block diagram of the new agc3 then it would …

---

## [Broken pipe while sending request to upstream](https://www.ruby-forum.com/t/broken-pipe-while-sending-request-to-upstream/236582)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [September 20, 2013, 9:28am UTC](https://www.ruby-forum.com/t/broken-pipe-while-sending-request-to-upstream/236582 "2013-09-20T09:28:00Z")

</div>

Hi. I’ve set up nginx as a proxy for a jetty service. Works nicely, most of the time, except … when issuing a (somewhat) larger POST request to some entity which is protected by HTTP Basic access authentication. T…

---

## [To extract a particular string](https://www.ruby-forum.com/t/to-extract-a-particular-string/246239)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 20\
**Last updated:** [September 20, 2013, 8:37am UTC](https://www.ruby-forum.com/t/to-extract-a-particular-string/246239 "2013-09-20T08:37:45Z")

</div>

hi a=“hi how \[are\] you” Can I have the regular expression which returns the string which comes under ‘\[\]’. In the above case it’s “are”. RAJ

---

## [Sample receive time in benchmark](https://www.ruby-forum.com/t/sample-receive-time-in-benchmark/236602)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 20, 2013, 3:43am UTC](https://www.ruby-forum.com/t/sample-receive-time-in-benchmark/236602 "2013-09-20T03:43:53Z")

</div>

Hi, My last question (\[Discuss-gnuradio\] tx\_tag's time VS. USRP time) seems no answer.But I get another question. I wanna know the actual receive time of a sample. If I get the rx tag(sample count 100), I can calcul…

---

## [Introducing Web Console \[Google Summer of Code 2013 Project\]](https://www.ruby-forum.com/t/introducing-web-console-google-summer-of-code-2013-project/236631)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 20, 2013, 2:40am UTC](https://www.ruby-forum.com/t/introducing-web-console-google-summer-of-code-2013-project/236631 "2013-09-20T02:40:47Z")

</div>

Hi There, For the past two months, me and Guillermo Iguaran have been working on bringing rails console to the browser under the Google Summer of Code program. The project’s called Web Consolehttp://gsamokovarov.com…

---

## [Rewrite URL to only show value of $\_GET argument](https://www.ruby-forum.com/t/rewrite-url-to-only-show-value-of-get-argument/236503)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 13\
**Last updated:** [September 20, 2013, 1:52am UTC](https://www.ruby-forum.com/t/rewrite-url-to-only-show-value-of-get-argument/236503 "2013-09-20T01:52:51Z")

</div>

Hello, I have read through the nginx rewrite documentation and looked at various examples, but can’t figure out how to create a rewrite rule for the following (if it is possible). I’d like to rewrite the URL of a php…

---

## [\[discuss-gnuradio\] Git checkout error in build\_gnuradio script](https://www.ruby-forum.com/t/discuss-gnuradio-git-checkout-error-in-build-gnuradio-script/236630)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 20, 2013, 1:45am UTC](https://www.ruby-forum.com/t/discuss-gnuradio-git-checkout-error-in-build-gnuradio-script/236630 "2013-09-20T01:45:50Z")

</div>

Hello, I think the script build\_gnuradio has an error when GNURadio 3.7 is in the repository. As the GNURadio 3.7 has no directory gnuradio-core. The below code will always report error and exit the building. git c…

---

## [Ruby gem Fbp-0.1.0 announcement](https://www.ruby-forum.com/t/ruby-gem-fbp-0-1-0-announcement/236627)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [September 19, 2013, 10:45pm UTC](https://www.ruby-forum.com/t/ruby-gem-fbp-0-1-0-announcement/236627 "2013-09-19T22:45:04Z")

</div>

I have just published the Ruby gem Fbp-0.1.0. This gem is a beginning implementation of Flow Based Programming for Ruby. Flow Based programming is described at http://www.jpaulmorrison.com/fbp. The gem can be instal…

---

## [September Developer Call Video](https://www.ruby-forum.com/t/september-developer-call-video/236625)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 19, 2013, 7:45pm UTC](https://www.ruby-forum.com/t/september-developer-call-video/236625 "2013-09-19T19:45:55Z")

</div>

Philip

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

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