# Latest

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

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

---

## [Quadrilateral Identification program](https://www.ruby-forum.com/t/quadrilateral-identification-program/238443)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [January 10, 2014, 1:28pm UTC](https://www.ruby-forum.com/t/quadrilateral-identification-program/238443 "2014-01-10T13:28:25Z")

</div>

Hello, I have been trying to get this program to work. It is supposed to take 8 inputs, 4 x values, 4 y values, and identify the quadrilateral. I have not been able to get it to work. Can anyone identify the problem a…

---

## [Sntax error after generating project](https://www.ruby-forum.com/t/sntax-error-after-generating-project/238424)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [January 10, 2014, 1:04pm UTC](https://www.ruby-forum.com/t/sntax-error-after-generating-project/238424 "2014-01-10T13:04:28Z")

</div>

I generated the project with the command rails new reservation\_maker -d mysql and after it was finished generating I got 4 errors. All were syntax error, unexpected ‘:’ .The first was in the gemfile on the line gem ‘…

---

## [Geoip\_country\_code header is deleted when I set another custom header](https://www.ruby-forum.com/t/geoip-country-code-header-is-deleted-when-i-set-another-custom-header/238445)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [January 10, 2014, 11:57am UTC](https://www.ruby-forum.com/t/geoip-country-code-header-is-deleted-when-i-set-another-custom-header/238445 "2014-01-10T11:57:51Z")

</div>

Hello everybody. I have a nginx (version: nginx/0.7.67) running as a loadbalancer for two tomcat7 servers with the geoip module. It was working correctly until I changed the configuration file placed in available-loca…

---

## ["Primary script unknown" wp-login.php](https://www.ruby-forum.com/t/primary-script-unknown-wp-login-php/238416)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [January 10, 2014, 11:12am UTC](https://www.ruby-forum.com/t/primary-script-unknown-wp-login-php/238416 "2014-01-10T11:12:17Z")

</div>

As subject says: I cannot access wp-admin due to above \[error\]. Otherwise, site functions as it should. See error log: 2014/01/09 04:31:23 \[error\] 35759#0: \*5254 FastCGI sent in stderr: “Primary script unknown” while…

---

## [JRuby 1.7.10 Released](https://www.ruby-forum.com/t/jruby-1-7-10-released/238436)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [January 10, 2014, 8:57am UTC](https://www.ruby-forum.com/t/jruby-1-7-10-released/238436 "2014-01-10T08:57:20Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.7.10 Homepage: http://www.jruby.org/ Download: http://www.jruby.org/download JRuby 1.7.10 is our tenth update release since JRuby 1.7.0. The primary go…

---

## [Why set hash with 'eval' doesn't work?](https://www.ruby-forum.com/t/why-set-hash-with-eval-doesnt-work/238420)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [January 10, 2014, 3:40am UTC](https://www.ruby-forum.com/t/why-set-hash-with-eval-doesnt-work/238420 "2014-01-10T03:40:10Z")

</div>

========================= cat list ========================= lic\_servers = { ‘10071@server1’ =\> 10, ‘10072@server2’ =\> 10 } ========================= cat test.rb ========================= #!/usr/bin/env ruby …

---

## [Is the USRP-hw still available now?](https://www.ruby-forum.com/t/is-the-usrp-hw-still-available-now/238136)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [January 10, 2014, 1:53am UTC](https://www.ruby-forum.com/t/is-the-usrp-hw-still-available-now/238136 "2014-01-10T01:53:56Z")

</div>

hi,everyone: as i am new to RF pcb layout , i want the USRP daughter board PCB file to reference,i found a floder at “/root/usrp-hw”(http://gnuradio.org/redmine/projects/gnuradio/repository/revisions/8c8eeca9e2ae26c30…

---

## [Hf explorer updated](https://www.ruby-forum.com/t/hf-explorer-updated/238439)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 10, 2014, 1:33am UTC](https://www.ruby-forum.com/t/hf-explorer-updated/238439 "2014-01-10T01:33:29Z")

</div>

UHD: moving HF apps from gnuradio-examples to gr-uhd/examples. Did the minimum possible work to convert HF Explorer to use UHD. Thanks Tom - I’ve cleaned up a lot of other things and have an update in my copy you ca…

---

## [Gr-lte error](https://www.ruby-forum.com/t/gr-lte-error/238442)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [January 10, 2014, 1:27am UTC](https://www.ruby-forum.com/t/gr-lte-error/238442 "2014-01-10T01:27:38Z")

</div>

I am facing this error while during make of gr-lte(3.6.5.1) OS : Ubuntu 12.04 GNU Radio ver : 3.6.5.1 GCC : 4.6.3 make -j5 Scanning dependencies of target pygen\_apps\_9a6dd Scanning dependencies of target \_lte\_swig\_sw…

---

## [Cscope for Ruby?](https://www.ruby-forum.com/t/cscope-for-ruby/141776)

<div class="topic-metadata">

**Author:** [@Oliver\_Dunkl](https://www.ruby-forum.com/u/Oliver_Dunkl)\
**Replies:** 1\
**Last updated:** [January 10, 2014, 1:22am UTC](https://www.ruby-forum.com/t/cscope-for-ruby/141776 "2014-01-10T01:22:57Z")

</div>

Hi does anybody know a tool with the functionallity of cscope, or is cscope able to create an output file for Ruby? thx + br odi

---

## [Customized error pages for 500](https://www.ruby-forum.com/t/customized-error-pages-for-500/191965)

<div class="topic-metadata">

**Author:** [@schand](https://www.ruby-forum.com/u/schand)\
**Replies:** 5\
**Last updated:** [January 10, 2014, 1:19am UTC](https://www.ruby-forum.com/t/customized-error-pages-for-500/191965 "2014-01-10T01:19:11Z")

</div>

Hi, I am a newbie to nginx. I need to have a customized error pages for the http response codes 50x. I am running on nginx with passenger and ruby on rails. I have problem with nginx.conf. I am not able to get my cust…

---

## [How to combine try\_files with multiple proxy destinations](https://www.ruby-forum.com/t/how-to-combine-try-files-with-multiple-proxy-destinations/238395)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [January 9, 2014, 10:45pm UTC](https://www.ruby-forum.com/t/how-to-combine-try-files-with-multiple-proxy-destinations/238395 "2014-01-09T22:45:47Z")

</div>

I have the folllowing requirement: if /usr/share/nginx/html/maintenance.html exists, then always show this file to browser. if this is the static file which located in the sub-directories of /usr/share/nginx/html/, …

---

## [Re: GRC Hier block with vector IO not working as expected](https://www.ruby-forum.com/t/re-grc-hier-block-with-vector-io-not-working-as-expected/238435)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 9, 2014, 9:18pm UTC](https://www.ruby-forum.com/t/re-grc-hier-block-with-vector-io-not-working-as-expected/238435 "2014-01-09T21:18:09Z")

</div>

It works for me and does not break anything as far as I can see. Didn’t test it with other blocks, though. Thanks a lot! Greetings, Felix 2014/1/9 Wunsch, Felix removed\_email\_address@domain.invalid

---

## [Dynamic ssl certificate (wildcard+ multiple different certs)](https://www.ruby-forum.com/t/dynamic-ssl-certificate-wildcard-multiple-different-certs/238431)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [January 9, 2014, 8:51pm UTC](https://www.ruby-forum.com/t/dynamic-ssl-certificate-wildcard-multiple-different-certs/238431 "2014-01-09T20:51:16Z")

</div>

Hello, Here is my current conf server { listen 443; server\_name ~^(.\*)\\.sub\\.domain\\.com$ ssl on; ssl\_certificate $cookie\_ident/$1.crt; ssl\_certificate\_key $cookie\_ident/$1.key; server\_tokens off; ssl\_pr…

---

## [Config issue](https://www.ruby-forum.com/t/config-issue/238433)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [January 9, 2014, 8:30pm UTC](https://www.ruby-forum.com/t/config-issue/238433 "2014-01-09T20:30:14Z")

</div>

Im trying to set up nginx with django. This is the instruction given: Symlink to this file from /etc/nginx/sites-enabled so nginx can see it: sudo ln -s ~/path/to/your/mysite/mysite\_nginx.conf /etc/nginx/sites-enable…

---

## [Why can't I run wbadmin from within a Ruby script](https://www.ruby-forum.com/t/why-cant-i-run-wbadmin-from-within-a-ruby-script/238407)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 9, 2014, 8:13pm UTC](https://www.ruby-forum.com/t/why-cant-i-run-wbadmin-from-within-a-ruby-script/238407 "2014-01-09T20:13:07Z")

</div>

\[PROLOGUE: I am running Ruby (ruby 1.9.3p484 (2013-11-22) \[i386-mingw32\]) on Windows Server 2008 using the Windows Installer.\] I can run wbadmin from the command line like this: $ c:\\windows\\system32\\wbadmin.exe -? A…

---

## [Unexpected low frequency component in received USRP signal](https://www.ruby-forum.com/t/unexpected-low-frequency-component-in-received-usrp-signal/238434)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 9, 2014, 8:12pm UTC](https://www.ruby-forum.com/t/unexpected-low-frequency-component-in-received-usrp-signal/238434 "2014-01-09T20:12:07Z")

</div>

Hello, This is a radio problem I can not explain: Transmitter: USRPN210, BPSK, linkrate = 100kbps, TX-gain=15 Receiver: USRPN210, Rx-gain=15 TX-RX: 1.5m. Below is what the I/Q samples I get, after timing synchroniza…

---

## [Nginx, Lua and blocking libraries](https://www.ruby-forum.com/t/nginx-lua-and-blocking-libraries/238425)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [January 9, 2014, 7:23pm UTC](https://www.ruby-forum.com/t/nginx-lua-and-blocking-libraries/238425 "2014-01-09T19:23:02Z")

</div>

Hello I’m considering the possibility of implementing a project using Nginx and the Lua module. One of the requirements of the project is that the code must use an embedded database such as SQLite. However, as known, …

---

## [Nginx as reverse Proxy, remove X-Frame-Options header](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-remove-x-frame-options-header/238421)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 12\
**Last updated:** [January 9, 2014, 6:47pm UTC](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-remove-x-frame-options-header/238421 "2014-01-09T18:47:24Z")

</div>

Hello, I have a closed-source Webapp that run on an IIS-Webserver and send a “X-Frame-Options: SAMEORIGIN” header. I also have to implement this Webapp in my own, Frame based Application. So I try to use nginx as a r…

---

## [Time out errors using uwsgi with ngnix on debian 7 (wheezy)](https://www.ruby-forum.com/t/time-out-errors-using-uwsgi-with-ngnix-on-debian-7-wheezy/238412)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [January 9, 2014, 6:08pm UTC](https://www.ruby-forum.com/t/time-out-errors-using-uwsgi-with-ngnix-on-debian-7-wheezy/238412 "2014-01-09T18:08:49Z")

</div>

I’ve installed nginx via apt, using the nginx stable pkg as described here: http://nginx.org/en/linux\_packages.html#stable It works perfectly for serving static files using the default configuration. Next, I install…

---

## [A pybombs bug, plus a question](https://www.ruby-forum.com/t/a-pybombs-bug-plus-a-question/238414)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 9, 2014, 5:36pm UTC](https://www.ruby-forum.com/t/a-pybombs-bug-plus-a-question/238414 "2014-01-09T17:36:40Z")

</div>

I found this bug to be very humorous :wink: In the case of a source download where the source file to be unpacked is one of tar.gz or tgz or tar.bz2 or tbz2, you had better not make the name of the recipe the same as …

---

## [Airprobe installation error](https://www.ruby-forum.com/t/airprobe-installation-error/238427)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 9, 2014, 4:34pm UTC](https://www.ruby-forum.com/t/airprobe-installation-error/238427 "2014-01-09T16:34:08Z")

</div>

hello every one i try to install airprobe… i have gnuradio 3.7.2. i found such a error message checking for GNURADIO\_CORE… configure: error: Package requirements (gnuradio-core \>= 3) were not met: No package ‘gnura…

---

## [Collection\_select Selected value](https://www.ruby-forum.com/t/collection-select-selected-value/238415)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [January 9, 2014, 4:06pm UTC](https://www.ruby-forum.com/t/collection-select-selected-value/238415 "2014-01-09T16:06:40Z")

</div>

Hello, I’m trying to use collection select to implement filtering for my page. The idea is there are a bunch of posts and I want to implement record filtering for those. The first collection box would have paramete…

---

## [CSS 404 Error](https://www.ruby-forum.com/t/css-404-error/222336)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [January 9, 2014, 2:18pm UTC](https://www.ruby-forum.com/t/css-404-error/222336 "2014-01-09T14:18:35Z")

</div>

HI, Ngix giving ‘404 Not Found’ error when I am trying to access the below url: http://mysite.com/skin/frontend/tester/default/css/styles-ie.css’ but at the same time I can access php file from the same locaiton: ht…

---

## [IRC Chat Room](https://www.ruby-forum.com/t/irc-chat-room/122678)

<div class="topic-metadata">

**Author:** [@masoto](https://www.ruby-forum.com/u/masoto)\
**Replies:** 2\
**Last updated:** [January 9, 2014, 2:05pm UTC](https://www.ruby-forum.com/t/irc-chat-room/122678 "2014-01-09T14:05:08Z")

</div>

Hello All, I don’t know about many on here, but I personally like to talk in Real Time format, when discussing things about wxRuby, therefore I’ve started the room wxruby on irc.freenode.net, since this is where the…

---

## [Style for accessing instance vars](https://www.ruby-forum.com/t/style-for-accessing-instance-vars/238364)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [January 9, 2014, 1:27pm UTC](https://www.ruby-forum.com/t/style-for-accessing-instance-vars/238364 "2014-01-09T13:27:45Z")

</div>

Hello everybody, Given this simple class: class Person attr\_reader :age, :gender, :sex def initialize(age, gender, location) @age = age @gender = gender @location = location end end What’s the preferred method…

---

## [Fwd: USRP2 firmware images](https://www.ruby-forum.com/t/fwd-usrp2-firmware-images/238432)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [January 9, 2014, 1:13pm UTC](https://www.ruby-forum.com/t/fwd-usrp2-firmware-images/238432 "2014-01-09T13:13:07Z")

</div>

Hi everyone, Well today i came across a problem with my USRP2. I'm suspecting it could be a boot loader problem. I searched for firmware images but couldn’t find any of the links to be working.Can someone send link …

---

## [Win32crypt CryptProtectData](https://www.ruby-forum.com/t/win32crypt-cryptprotectdata/238422)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [January 9, 2014, 12:32pm UTC](https://www.ruby-forum.com/t/win32crypt-cryptprotectdata/238422 "2014-01-09T12:32:47Z")

</div>

Hello: I’m trying to generate .rdp files on the fly. To do this I need to generate an user password. I’m looking for a gem that can be used in a similar way that the next python code. Anyone knows about a gem impleme…

---

## [How to sort the file contents by counrty names](https://www.ruby-forum.com/t/how-to-sort-the-file-contents-by-counrty-names/238398)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [January 9, 2014, 10:39am UTC](https://www.ruby-forum.com/t/how-to-sort-the-file-contents-by-counrty-names/238398 "2014-01-09T10:39:59Z")

</div>

I want to sort the file contents by country names : require ‘nokogiri’ file\_str = “C:\\Users\\TAX PAGE PROD\\Production\_validation.xml” File.open(file\_str) do |f| doc = Nokogiri::XML(f) @node\_set = doc.xpath("//field\[@…

---

## [Tun/Tap Problem while Running tunnel.py while wireshark recognizes](https://www.ruby-forum.com/t/tun-tap-problem-while-running-tunnel-py-while-wireshark-recognizes/245508)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 8\
**Last updated:** [January 9, 2014, 10:26am UTC](https://www.ruby-forum.com/t/tun-tap-problem-while-running-tunnel-py-while-wireshark-recognizes/245508 "2014-01-09T10:26:51Z")

</div>

We are working on establishing a tunnel for MAC protocol design using tunnel.py given as example in GNU Radio but are unable to receive ping reply from the other node. We created tun/tap interface using ./tunnel.py -f…

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

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