# Ruby

**URL:** https://www.ruby-forum.com/c/ruby/7.md?page=790

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

---

## [WEBrick SSL output size limit?](https://www.ruby-forum.com/t/webrick-ssl-output-size-limit/171428)

<div class="topic-metadata">

**Author:** [@skywriter](https://www.ruby-forum.com/u/skywriter)\
**Replies:** 0\
**Last updated:** [July 2, 2009, 11:15am UTC](https://www.ruby-forum.com/t/webrick-ssl-output-size-limit/171428 "2009-07-02T11:15:58Z")

</div>

Greetings, dear sirs! I am developing a tiny server software that provides the clients with certain XML documents via HTTPS. I am using WEBrick applet for this in the following way: def do\_GET(req, res) company\_id =…

---

## [Hoe-git 1.2.0 Released](https://www.ruby-forum.com/t/hoe-git-1-2-0-released/171419)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [July 2, 2009, 4:05am UTC](https://www.ruby-forum.com/t/hoe-git-1-2-0-released/171419 "2009-07-02T04:05:07Z")

</div>

hoe-git version 1.2.0 has been released! http://github.com/jbarnette/hoe-git A set of Hoe plugins for tighter Git integration. Provides tasks to automate release tagging and pushing and changelog generation. I expec…

---

## [Speeding up GetAsyncKeyState](https://www.ruby-forum.com/t/speeding-up-getasynckeystate/171417)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 0\
**Last updated:** [July 2, 2009, 3:36am UTC](https://www.ruby-forum.com/t/speeding-up-getasynckeystate/171417 "2009-07-02T03:36:53Z")

</div>

while true keys.each {|k, v| print k.upcase if GetAsyncKeyState.call(v) & 0x01 == 1 && GetAsyncKeyState.call(0x10) & 0x01 == 1} keys.each {|k, v| print k.downcase if GetAsyncKeyState.call(v) & 0x01 == 1} end GetAsy…

---

## [Play and vote for RubyWeekend #3 games](https://www.ruby-forum.com/t/play-and-vote-for-rubyweekend-3-games/171414)

<div class="topic-metadata">

**Author:** [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Replies:** 0\
**Last updated:** [July 2, 2009, 3:27am UTC](https://www.ruby-forum.com/t/play-and-vote-for-rubyweekend-3-games/171414 "2009-07-02T03:27:09Z")

</div>

This past weekend (June 26-28) was the RubyWeekend #3 game contest. We had lots of fun, and received several entries, representing a variety of Ruby-oriented game libraries and frameworks. The entries were: Ant Frenz…

---

## [Require an entire package?](https://www.ruby-forum.com/t/require-an-entire-package/171411)

<div class="topic-metadata">

**Author:** [@Juston](https://www.ruby-forum.com/u/Juston)\
**Replies:** 5\
**Last updated:** [July 2, 2009, 1:57am UTC](https://www.ruby-forum.com/t/require-an-entire-package/171411 "2009-07-02T01:57:46Z")

</div>

I’m about three weeks into Ruby coming from C++ and Java and enjoying it so far. I’ve spent a lot of time reading “The Ruby Way” 2nd ed from about cover to cover but the old brain is still very much in the beginner’s …

---

## [Unicorn 0.9.0 (experimental release)](https://www.ruby-forum.com/t/unicorn-0-9-0-experimental-release/171413)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 0\
**Last updated:** [July 2, 2009, 1:01am UTC](https://www.ruby-forum.com/t/unicorn-0-9-0-experimental-release/171413 "2009-07-02T01:01:41Z")

</div>

Unicorn is a Rack HTTP server for Unix, fast clients and nothing else\[1\] We now have support for “Transfer-Encoding: chunked” bodies in requests. Not only that, Rack applications reading input bodies get that data st…

---

## [Windows api using a handle to focus input](https://www.ruby-forum.com/t/windows-api-using-a-handle-to-focus-input/171406)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 0\
**Last updated:** [July 1, 2009, 11:24pm UTC](https://www.ruby-forum.com/t/windows-api-using-a-handle-to-focus-input/171406 "2009-07-01T23:24:44Z")

</div>

Alright, I have the input functions down to translate user input the moment it hits the terminal, however I don’t want the user to be typing directly into the terminal for this to work o\_O. I wrote a small C++ extensi…

---

## [Ruby suggestion: officially sanctioned tutorials/howto's](https://www.ruby-forum.com/t/ruby-suggestion-officially-sanctioned-tutorials-howtos/170757)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 23\
**Last updated:** [July 1, 2009, 10:42pm UTC](https://www.ruby-forum.com/t/ruby-suggestion-officially-sanctioned-tutorials-howtos/170757 "2009-07-01T22:42:00Z")

</div>

Current situation: I remember way back when using the official python tutorial, there was a section explaining the proper use of select with sockets, etc \[1\]. This was quite helpful to me getting started with the lang…

---

## [Converting the string](https://www.ruby-forum.com/t/converting-the-string/171396)

<div class="topic-metadata">

**Author:** [@neverhood](https://www.ruby-forum.com/u/neverhood)\
**Replies:** 3\
**Last updated:** [July 1, 2009, 10:29pm UTC](https://www.ruby-forum.com/t/converting-the-string/171396 "2009-07-01T22:29:01Z")

</div>

Hi everybody! Im sorry for asking a silly question .. i hope youll find some time to assist while searching shrough html body i get the string : how can i modify it to get just a plain link without tags and params? : …

---

## [Date time subtraction](https://www.ruby-forum.com/t/date-time-subtraction/171399)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 3\
**Last updated:** [July 1, 2009, 8:00pm UTC](https://www.ruby-forum.com/t/date-time-subtraction/171399 "2009-07-01T20:00:44Z")

</div>

Hi, I am trying to do a subtraction of the date and time in the format below with the current date and time “2009-07-01 18:24:20” Will I need to tokenise this string and do individual number comparisons? Thanks Ai…

---

## [Question about regex and date formatting](https://www.ruby-forum.com/t/question-about-regex-and-date-formatting/171394)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 3\
**Last updated:** [July 1, 2009, 7:50pm UTC](https://www.ruby-forum.com/t/question-about-regex-and-date-formatting/171394 "2009-07-01T19:50:28Z")

</div>

I’m trying to check whether yyyy-dd-mm in a string or date is true. I’ve tried: date = “2009-06-01” date =~ /^\\d{4}-\\d{2}-\\d{2}$/ returns =\> 0 It should return true. What am I missing here?

---

## [Plot the Shape (#211)](https://www.ruby-forum.com/t/plot-the-shape-211/171137)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 6\
**Last updated:** [July 1, 2009, 6:38pm UTC](https://www.ruby-forum.com/t/plot-the-shape-211/171137 "2009-07-01T18:38:56Z")

</div>

\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this m…

---

## [Ruby-doc.org rdoc offline](https://www.ruby-forum.com/t/ruby-doc-org-rdoc-offline/171349)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 2\
**Last updated:** [July 1, 2009, 5:03pm UTC](https://www.ruby-forum.com/t/ruby-doc-org-rdoc-offline/171349 "2009-07-01T17:03:42Z")

</div>

I’m updating the rdocs on ruby-doc.org, and it’s taking an approximation of forever. I’ll try to them back up as soon as possible. – James B. www.jamesbritt.com - Playing with Better Toys www.ruby-doc.org …

---

## [RDoc-style documentation for Ruby keywords](https://www.ruby-forum.com/t/rdoc-style-documentation-for-ruby-keywords/171223)

<div class="topic-metadata">

**Author:** [@David\_ASBlack](https://www.ruby-forum.com/u/David_ASBlack)\
**Replies:** 19\
**Last updated:** [July 1, 2009, 4:52pm UTC](https://www.ruby-forum.com/t/rdoc-style-documentation-for-ruby-keywords/171223 "2009-07-01T16:52:36Z")

</div>

Hi – I’ve put together some RDoc-style documentation for the Ruby keywords. It’s at http://www.wobblini.net/keywords. It’s artificially presented in method-doc format, even though they’re not methods, because that he…

---

## [Yahoo Search Marketing API](https://www.ruby-forum.com/t/yahoo-search-marketing-api/168607)

<div class="topic-metadata">

**Author:** [@grayson](https://www.ruby-forum.com/u/grayson)\
**Replies:** 2\
**Last updated:** [July 1, 2009, 4:17pm UTC](https://www.ruby-forum.com/t/yahoo-search-marketing-api/168607 "2009-07-01T16:17:11Z")

</div>

Anyone know of a Ruby version of the Yahoo Search Marketing API? Unfortunately they only samples in .NET, Java, etc. … the lesser languages.

---

## [Making a random string](https://www.ruby-forum.com/t/making-a-random-string/171255)

<div class="topic-metadata">

**Author:** [@llinklater](https://www.ruby-forum.com/u/llinklater)\
**Replies:** 20\
**Last updated:** [July 1, 2009, 3:17pm UTC](https://www.ruby-forum.com/t/making-a-random-string/171255 "2009-07-01T15:17:21Z")

</div>

I have been trying to generate a random string. One approach in, say, pascal would be something like this: function GetRandomChar: char; var r: integer; begin r := random(36); case r of 0…25: result := chr(ord(‘…

---

## [Ruby/tk : hide TkFrame](https://www.ruby-forum.com/t/ruby-tk-hide-tkframe/171369)

<div class="topic-metadata">

**Author:** [@Jun\_YSKim](https://www.ruby-forum.com/u/Jun_YSKim)\
**Replies:** 1\
**Last updated:** [July 1, 2009, 11:10am UTC](https://www.ruby-forum.com/t/ruby-tk-hide-tkframe/171369 "2009-07-01T11:10:37Z")

</div>

hi, rubists. quick question’s here. I have two TkFrame instance on main panel and then I want to hide one of them by some kinds of option(checkbutton or somelike that). is there possible way to do this? example) re…

---

## [Regular expression gurus--help!](https://www.ruby-forum.com/t/regular-expression-gurus-help/170692)

<div class="topic-metadata">

**Author:** [@timr](https://www.ruby-forum.com/u/timr)\
**Replies:** 17\
**Last updated:** [July 1, 2009, 11:09am UTC](https://www.ruby-forum.com/t/regular-expression-gurus-help/170692 "2009-07-01T11:09:26Z")

</div>

I want all possible three letter sets for a string. Scan does this: irb\> “abcdefghijkl”.scan(…) \>\> abc \>\> def \>\> ghi \>\> jkl But I need: \>\> abc \>\> bcd \>\> cde \>\> def etc. I used to know the secret spell, but forgo…

---

## [Serial port connection](https://www.ruby-forum.com/t/serial-port-connection/162728)

<div class="topic-metadata">

**Author:** [@sangeeta](https://www.ruby-forum.com/u/sangeeta)\
**Replies:** 4\
**Last updated:** [July 1, 2009, 10:20am UTC](https://www.ruby-forum.com/t/serial-port-connection/162728 "2009-07-01T10:20:52Z")

</div>

Hi , currently i m using ruby telnet for connecting to HW board but now i want to switch to serial port for the same i have downloaded the http://rubyforge.org/frs/?group\_id=61&release\_id=308 and put the serial.so …

---

## [Re: Basic interoperability question](https://www.ruby-forum.com/t/re-basic-interoperability-question/169726)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 2\
**Last updated:** [July 1, 2009, 10:09am UTC](https://www.ruby-forum.com/t/re-basic-interoperability-question/169726 "2009-07-01T10:09:07Z")

</div>

Require ‘mscorlib’ is not as essential anymore. If you run ir -e “puts System::String.class” it will wolrk just fine. I still use require ‘mscorlib’ in my scripts tlo signal to other programmers that this scrpt will u…

---

## [Running a JRuby Script With Maven](https://www.ruby-forum.com/t/running-a-jruby-script-with-maven/171278)

<div class="topic-metadata">

**Author:** [@Keith\_RSBennett](https://www.ruby-forum.com/u/Keith_RSBennett)\
**Replies:** 1\
**Last updated:** [July 1, 2009, 9:18am UTC](https://www.ruby-forum.com/t/running-a-jruby-script-with-maven/171278 "2009-07-01T09:18:10Z")

</div>

Hi all. I’m using JRuby as a scripting language to call on Java libraries such as Apache Tika to do various kinds of work. I’d like to use Maven to run these JRuby scripts because I’d like it to take care of findin…

---

## [Code Review: HashFixes](https://www.ruby-forum.com/t/code-review-hashfixes/170879)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 2\
**Last updated:** [July 1, 2009, 9:09am UTC](https://www.ruby-forum.com/t/code-review-hashfixes/170879 "2009-07-01T09:09:22Z")

</div>

tfpt review “/shelveset:HashFixes;REDMOND\\tomat” Fixes implementation of hash methods in REXML and RubyGems. The current implementation is incorrect since it sums hash codes of subcomponents potentially overflowing to…

---

## [Jruby and SOAP](https://www.ruby-forum.com/t/jruby-and-soap/171122)

<div class="topic-metadata">

**Author:** [@dalton](https://www.ruby-forum.com/u/dalton)\
**Replies:** 3\
**Last updated:** [July 1, 2009, 8:54am UTC](https://www.ruby-forum.com/t/jruby-and-soap/171122 "2009-07-01T08:54:06Z")

</div>

Hello all, after trying one day to get jruby working with axis or actionwebservice, I asked myself if I am the only who is trying to work with this combination. Does anyone use SOAP web services with jruby (on Rails) …

---

## [Gemini - A JRuby game engine](https://www.ruby-forum.com/t/gemini-a-jruby-game-engine/170730)

<div class="topic-metadata">

**Author:** [@Logan\_B](https://www.ruby-forum.com/u/Logan_B)\
**Replies:** 2\
**Last updated:** [July 1, 2009, 7:55am UTC](https://www.ruby-forum.com/t/gemini-a-jruby-game-engine/170730 "2009-07-01T07:55:23Z")

</div>

Gemini 1.0.0 is out! Gemini is a game engine that sits on top of Slick, a Java game engine. Gemini allows for dynamic adding and removal of behaviors from game objects, and packs many pre-built behaviors that allow yo…

---

## [Performance questions](https://www.ruby-forum.com/t/performance-questions/170616)

<div class="topic-metadata">

**Author:** [@Marlon\_M](https://www.ruby-forum.com/u/Marlon_M)\
**Replies:** 3\
**Last updated:** [July 1, 2009, 7:54am UTC](https://www.ruby-forum.com/t/performance-questions/170616 "2009-07-01T07:54:12Z")

</div>

I’ve recently been testing jruby vs REE/Passenger. I’ve got a rails v 2.3.2 project using mysql as a backend. I’ve used jruby/mongrel and the glassfish gem. I can’t get it running on Glassfish server for some odd r…

---

## [JRuby Cookbook example 1.10](https://www.ruby-forum.com/t/jruby-cookbook-example-1-10/171296)

<div class="topic-metadata">

**Author:** [@cgramona](https://www.ruby-forum.com/u/cgramona)\
**Replies:** 1\
**Last updated:** [July 1, 2009, 6:36am UTC](https://www.ruby-forum.com/t/jruby-cookbook-example-1-10/171296 "2009-07-01T06:36:22Z")

</div>

I can not seem to get Example 1.10 to work using Netbeans 6.51 or 6.7. I create a Java Application project in Netbeans and pasted the code from the book in verbatim. I was finally able to resolve org.jruby.Ruby by sp…

---

## [Hoe 2.3.2 Released](https://www.ruby-forum.com/t/hoe-2-3-2-released/171363)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [July 1, 2009, 6:14am UTC](https://www.ruby-forum.com/t/hoe-2-3-2-released/171363 "2009-07-01T06:14:07Z")

</div>

hoe version 2.3.2 has been released! http://rubyforge.org/projects/seattlerb/ http://seattlerb.rubyforge.org/hoe/ removed\_email\_address@domain.invalid Hoe is a rake/rubygems helper for project Rakefiles. It helps gene…

---

## [Rexical 1.0.4 Released](https://www.ruby-forum.com/t/rexical-1-0-4-released/171361)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 0\
**Last updated:** [July 1, 2009, 5:29am UTC](https://www.ruby-forum.com/t/rexical-1-0-4-released/171361 "2009-07-01T05:29:05Z")

</div>

rexical version 1.0.4 has been released! http://github.com/tenderlove/rexical/tree/master Rexical is a lexical scanner generator. It is written in Ruby itself, and generates Ruby program. It is designed for use with…

---

## [Win32-service 0.7.0](https://www.ruby-forum.com/t/win32-service-0-7-0/171358)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 0\
**Last updated:** [July 1, 2009, 4:24am UTC](https://www.ruby-forum.com/t/win32-service-0-7-0/171358 "2009-07-01T04:24:11Z")

</div>

Hi everyone, The Win32Utils Team is happy to announce the release of win32-service 0.7.0. = What is it? A library for querying, controlling and creating services on MS Windows. = What’s new? There was an interface …

---

## [Accessing a running Java Process](https://www.ruby-forum.com/t/accessing-a-running-java-process/170388)

<div class="topic-metadata">

**Author:** [@Mistress\_Janna\_Bros](https://www.ruby-forum.com/u/Mistress_Janna_Bros)\
**Replies:** 1\
**Last updated:** [July 1, 2009, 1:58am UTC](https://www.ruby-forum.com/t/accessing-a-running-java-process/170388 "2009-07-01T01:58:05Z")

</div>

I have a running java process on the same server as I am running Ruby (not JRuby, but old C-Ruby) I need to access an object in this running Java application. I have tried to do this through sockets communication, but…

[Previous page](https://www.ruby-forum.com/c/ruby/7.md?page=789)

[Next page](https://www.ruby-forum.com/c/ruby/7.md?page=791)
