# Ruby

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

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

---

## [Re: Microsoft Timestamp (Active Directory)](https://www.ruby-forum.com/t/re-microsoft-timestamp-active-directory/65477)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [August 18, 2006, 3:50pm UTC](https://www.ruby-forum.com/t/re-microsoft-timestamp-active-directory/65477 "2006-08-18T15:50:31Z")

</div>

What could possibly be less convoluted than keeping time as a high resolution (in this case, 100ns) integer since some epoch? It’s actually the perfect way to handle time, and I thought that (and implemented it) long…

---

## [Double\_metaphone.rb](https://www.ruby-forum.com/t/double-metaphone-rb/65340)

<div class="topic-metadata">

**Author:** [@s0nspark](https://www.ruby-forum.com/u/s0nspark)\
**Replies:** 7\
**Last updated:** [August 18, 2006, 3:26pm UTC](https://www.ruby-forum.com/t/double-metaphone-rb/65340 "2006-08-18T15:26:28Z")

</div>

http://tfletcher.com/lib/double\_metaphone.rb Adapted from the PHP version. There’s at least one person looking for it: http://groups.google.com/group/comp.lang.ruby/search?group=comp.lang.ruby&q=double+metaphone Bug …

---

## [LDAP searches don't stop](https://www.ruby-forum.com/t/ldap-searches-dont-stop/65327)

<div class="topic-metadata">

**Author:** [@bartb](https://www.ruby-forum.com/u/bartb)\
**Replies:** 5\
**Last updated:** [August 18, 2006, 2:17pm UTC](https://www.ruby-forum.com/t/ldap-searches-dont-stop/65327 "2006-08-18T14:17:17Z")

</div>

Hello, I’m trying to figure out how to search an LDAP server. I can connect and I see searches pass by if I sniff on the network interface. But the search command never stops, even tough I limit it to 1 second. (Can …

---

## [Method for writing log file( in Eclipse environment)](https://www.ruby-forum.com/t/method-for-writing-log-file-in-eclipse-environment/65450)

<div class="topic-metadata">

**Author:** [@bodom](https://www.ruby-forum.com/u/bodom)\
**Replies:** 0\
**Last updated:** [August 18, 2006, 10:28am UTC](https://www.ruby-forum.com/t/method-for-writing-log-file-in-eclipse-environment/65450 "2006-08-18T10:28:31Z")

</div>

Hi all ! I use ruby for writing methods for automated testing in Eclipse . I’ve succeeded only to make log text file,in which to record the output stream of the main test ruby script . The problem is, that I couldn’t…

---

## [CheckBox](https://www.ruby-forum.com/t/checkbox/65447)

<div class="topic-metadata">

**Author:** [@daniel](https://www.ruby-forum.com/u/daniel)\
**Replies:** 3\
**Last updated:** [August 18, 2006, 9:55am UTC](https://www.ruby-forum.com/t/checkbox/65447 "2006-08-18T09:55:53Z")

</div>

Hi, I have a checkbox, when I check it some action(disabling a dropdown) should occur. How to implement it Daniel.

---

## [Lightweight Ruby?](https://www.ruby-forum.com/t/lightweight-ruby/64993)

<div class="topic-metadata">

**Author:** [@chanon](https://www.ruby-forum.com/u/chanon)\
**Replies:** 14\
**Last updated:** [August 18, 2006, 9:31am UTC](https://www.ruby-forum.com/t/lightweight-ruby/64993 "2006-08-18T09:31:53Z")

</div>

Hi all, I was the one who started the “Using Ruby in a commercial application?” thread. Thanks for all the replies! After some more consideration on using Ruby embedded in C++ for games, it started to become clear …

---

## [How to - Change operator behaviour](https://www.ruby-forum.com/t/how-to-change-operator-behaviour/65328)

<div class="topic-metadata">

**Author:** [@henrys](https://www.ruby-forum.com/u/henrys)\
**Replies:** 8\
**Last updated:** [August 18, 2006, 7:28am UTC](https://www.ruby-forum.com/t/how-to-change-operator-behaviour/65328 "2006-08-18T07:28:43Z")

</div>

Dear Ruby gurus: I want to write anywhere in my code t1 \> t2 and get: true if at least one parameter is nil and the other parameter is Time standard comparision result in other case How to do that? Thank you Henry …

---

## [Learning to talk to Windows with Ruby](https://www.ruby-forum.com/t/learning-to-talk-to-windows-with-ruby/65438)

<div class="topic-metadata">

**Author:** [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Replies:** 1\
**Last updated:** [August 18, 2006, 6:07am UTC](https://www.ruby-forum.com/t/learning-to-talk-to-windows-with-ruby/65438 "2006-08-18T06:07:28Z")

</div>

Ok, it’s like this… I’m very proficient with Linux. I’m very proficient with Ruby. I last programmed extensively under MSWindows way back when it was Windows 3.1 Now, alas, I need to make a bunch of windows applicat…

---

## [Gems timeout on the rubyforge repository](https://www.ruby-forum.com/t/gems-timeout-on-the-rubyforge-repository/102242)

<div class="topic-metadata">

**Author:** [@mountaindrummer](https://www.ruby-forum.com/u/mountaindrummer)\
**Replies:** 2\
**Last updated:** [August 18, 2006, 5:52am UTC](https://www.ruby-forum.com/t/gems-timeout-on-the-rubyforge-repository/102242 "2006-08-18T05:52:40Z")

</div>

Hi, I have downloaded and compiled both ruby and gems. I am now trying to install rails with the following command: sudo gem install rails --include-dependencies and after a long delay, I get this message: ERROR: W…

---

## [Reading website](https://www.ruby-forum.com/t/reading-website/65380)

<div class="topic-metadata">

**Author:** [@fabsy](https://www.ruby-forum.com/u/fabsy)\
**Replies:** 11\
**Last updated:** [August 18, 2006, 5:40am UTC](https://www.ruby-forum.com/t/reading-website/65380 "2006-08-18T05:40:26Z")

</div>

Hey! I have been going through some basic IO stuff and want to get into something more “advanced”. I would like to make a script who asks for a website and takes the information (the text) on the website and put it i…

---

## [JRuby goes Camping](https://www.ruby-forum.com/t/jruby-goes-camping/65412)

<div class="topic-metadata">

**Author:** [@Charles\_O\_Nutter](https://www.ruby-forum.com/u/Charles_O_Nutter)\
**Replies:** 0\
**Last updated:** [August 18, 2006, 12:51am UTC](https://www.ruby-forum.com/t/jruby-goes-camping/65412 "2006-08-18T00:51:35Z")

</div>

This is too cool to keep quiet. We’ve been working on Camping support in JRuby for a while now, and Ola and I have finally got it running. Ola’s done most of the heavy testing and made some major contributions, and he…

---

## [Re: Ruby is exploding onto the scene as Java did at the end](https://www.ruby-forum.com/t/re-ruby-is-exploding-onto-the-scene-as-java-did-at-the-end/65405)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [August 17, 2006, 11:39pm UTC](https://www.ruby-forum.com/t/re-ruby-is-exploding-onto-the-scene-as-java-did-at-the-end/65405 "2006-08-17T23:39:30Z")

</div>

\-----Original Message----- From: Elliot T. \[mailto:removed\_email\_address@domain.invalid\] Sent: Thursday, August 17, 2006 3:33 PM To: ruby-talk ML Subject: Re: Ruby is exploding onto the scene as Java did at the end…

---

## [\[SOC\] mkrf 0.1.1 released](https://www.ruby-forum.com/t/soc-mkrf-0-1-1-released/65400)

<div class="topic-metadata">

**Author:** [@kdclark](https://www.ruby-forum.com/u/kdclark)\
**Replies:** 0\
**Last updated:** [August 17, 2006, 10:57pm UTC](https://www.ruby-forum.com/t/soc-mkrf-0-1-1-released/65400 "2006-08-17T22:57:23Z")

</div>

Today I tagged mkrf’s 0.1.1 release. It fixes several of the shortcomings of it’s predecessor. = What Is It? mkrf is a library to generate Rakefiles which build extensions to Ruby. It aims to replace mkmf with a prop…

---

## [Remove non binary characters from string](https://www.ruby-forum.com/t/remove-non-binary-characters-from-string/65367)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 1\
**Last updated:** [August 17, 2006, 10:45pm UTC](https://www.ruby-forum.com/t/remove-non-binary-characters-from-string/65367 "2006-08-17T22:45:22Z")

</div>

HI When i run this sql, i get error nsert into stocksymbols (symbolname,symbol2exchange,company\_name,symbol2sector,symbol2industry, stocksummary ) values(‘CHINA’,16,‘CDC Corp.’,null ,null,‘CDC Corporation (CDC) is …

---

## [Embedding html in an rdoc file](https://www.ruby-forum.com/t/embedding-html-in-an-rdoc-file/102108)

<div class="topic-metadata">

**Author:** [@polypus](https://www.ruby-forum.com/u/polypus)\
**Replies:** 2\
**Last updated:** [August 17, 2006, 9:41pm UTC](https://www.ruby-forum.com/t/embedding-html-in-an-rdoc-file/102108 "2006-08-17T21:41:17Z")

</div>

how can i embed images, or canvases, or any other html in an rdoc file? is it possible? thanks

---

## [Net::LDAP 0.0.4 filter warnings](https://www.ruby-forum.com/t/net-ldap-0-0-4-filter-warnings/65255)

<div class="topic-metadata">

**Author:** [@barjunk](https://www.ruby-forum.com/u/barjunk)\
**Replies:** 8\
**Last updated:** [August 17, 2006, 8:57pm UTC](https://www.ruby-forum.com/t/net-ldap-0-0-4-filter-warnings/65255 "2006-08-17T20:57:08Z")

</div>

I’m writing some new code and using #!/usr/bin/ruby -w as the bang line in the script. The code looks like: require ‘rubygems’ require ‘net/ldap’ filter = Net::LDAP::Filter.eq( “key”,“value” ) ldap.search (:base =\>…

---

## [Re: Simple Questions on Ruby](https://www.ruby-forum.com/t/re-simple-questions-on-ruby/65352)

<div class="topic-metadata">

**Author:** [@CameronS\_Gemma\_SUK](https://www.ruby-forum.com/u/CameronS_Gemma_SUK)\
**Replies:** 1\
**Last updated:** [August 17, 2006, 8:15pm UTC](https://www.ruby-forum.com/t/re-simple-questions-on-ruby/65352 "2006-08-17T20:15:00Z")

</div>

How do you invoke a .rb file from the irb shell? You don’t (I think). You run “ruby file.rb” from the command line. Is there a Ruby IDE? There are lots! A few good ones are Mondrian, Komodo (not free but very ch…

---

## [Regexp for finding floats in a string](https://www.ruby-forum.com/t/regexp-for-finding-floats-in-a-string/64923)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 3\
**Last updated:** [August 17, 2006, 8:05pm UTC](https://www.ruby-forum.com/t/regexp-for-finding-floats-in-a-string/64923 "2006-08-17T20:05:58Z")

</div>

What RegExp should I be using for floats? Currently, I have /\[-+0-9eE.\]+/, viz, require ‘test/unit’ class TestFloatRegExp \< Test::Unit::TestCase def test\_finds\_em %w{ 1 -2 3.0 0.4 5.0e+5 -6e+06 .7E+7 }.each do |stri…

---

## [Microsoft Timestamp (Active Directory)](https://www.ruby-forum.com/t/microsoft-timestamp-active-directory/65364)

<div class="topic-metadata">

**Author:** [@mikkel](https://www.ruby-forum.com/u/mikkel)\
**Replies:** 0\
**Last updated:** [August 17, 2006, 7:44pm UTC](https://www.ruby-forum.com/t/microsoft-timestamp-active-directory/65364 "2006-08-17T19:44:56Z")

</div>

Active Directory users contain an attribute called lastlogontimestamp… its in this format: 128002727440808261 How do I convert this to something more…nice??? Thanks in advance! Mikkel B. www.hill107.com - Axi…

---

## [Ruby equiv of perl pos](https://www.ruby-forum.com/t/ruby-equiv-of-perl-pos/64735)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 14\
**Last updated:** [August 17, 2006, 7:35pm UTC](https://www.ruby-forum.com/t/ruby-equiv-of-perl-pos/64735 "2006-08-17T19:35:55Z")

</div>

Or to be more exact, how would I do the following in ruby? while ($string =~ /\\0/g) { $new\_string .= sprintf ‘%o’, (pos $string) - 1; }

---

## [The Rails Edge](https://www.ruby-forum.com/t/the-rails-edge/65360)

<div class="topic-metadata">

**Author:** [@mikec](https://www.ruby-forum.com/u/mikec)\
**Replies:** 0\
**Last updated:** [August 17, 2006, 7:11pm UTC](https://www.ruby-forum.com/t/the-rails-edge/65360 "2006-08-17T19:11:50Z")

</div>

Hi Folks, Apologies in advance for the blatant advertisement. Hope I marked it correctly in the Subject line this time. :slight\_smile: Just thought you might be interested in our new regional Ruby/Rails conference …

---

## [Multiple templates - one app](https://www.ruby-forum.com/t/multiple-templates-one-app/65269)

<div class="topic-metadata">

**Author:** [@Agazoom](https://www.ruby-forum.com/u/Agazoom)\
**Replies:** 5\
**Last updated:** [August 17, 2006, 6:38pm UTC](https://www.ruby-forum.com/t/multiple-templates-one-app/65269 "2006-08-17T18:38:47Z")

</div>

Hi everyone, Rails newbie here so forgive the question if the answer is ridiculously obvious. I am trying to write an app that meets the following requirements. I’d like to do it in Rails, but having pored over docu…

---

## [Simple Proxy](https://www.ruby-forum.com/t/simple-proxy/65317)

<div class="topic-metadata">

**Author:** [@aladrin](https://www.ruby-forum.com/u/aladrin)\
**Replies:** 8\
**Last updated:** [August 17, 2006, 6:11pm UTC](https://www.ruby-forum.com/t/simple-proxy/65317 "2006-08-17T18:11:45Z")

</div>

Hi all, This is my first post here, and if I have chosen the wrong spot, my appologies. I wish to make a simple proxy server. It will accept incoming connections and then connect to a pre-defined foreign address/por…

---

## [Solution to #90](https://www.ruby-forum.com/t/solution-to-90/225916)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [August 17, 2006, 5:38pm UTC](https://www.ruby-forum.com/t/solution-to-90/225916 "2006-08-17T17:38:40Z")

</div>

The week is nearly up but here is my solution. My program solved it for 5 and 6 in about a second but is taking much longer for the rest. (5…10).each { |i| Quiz90.new(i).solve } Success after 440 iterations! ±-----…

---

## [Zerenity 1.0](https://www.ruby-forum.com/t/zerenity-1-0/64703)

<div class="topic-metadata">

**Author:** [@Farrel\_L](https://www.ruby-forum.com/u/Farrel_L)\
**Replies:** 4\
**Last updated:** [August 17, 2006, 5:35pm UTC](https://www.ruby-forum.com/t/zerenity-1-0/64703 "2006-08-17T17:35:39Z")

</div>

= Zerenity Changelog == 1.0 Added significant unit testing and code coverage testing. == 0.9 Added a :password option to the Entry dialog. When set to true it will treat the text entry like a password entry and repl…

---

## [Customizing Rails requests](https://www.ruby-forum.com/t/customizing-rails-requests/65309)

<div class="topic-metadata">

**Author:** [@YAD](https://www.ruby-forum.com/u/YAD)\
**Replies:** 4\
**Last updated:** [August 17, 2006, 5:02pm UTC](https://www.ruby-forum.com/t/customizing-rails-requests/65309 "2006-08-17T17:02:33Z")

</div>

Where’s the documentation for the Rails ApplicationController class? Isn’t that where you start to make your own request-handling code? The tutorials all stop at a basic skeleton, http://railsmanual.com/class/Applicat…

---

## [Is there anything like FCKeditor for Ruby?](https://www.ruby-forum.com/t/is-there-anything-like-fckeditor-for-ruby/65236)

<div class="topic-metadata">

**Author:** [@pixelnate](https://www.ruby-forum.com/u/pixelnate)\
**Replies:** 5\
**Last updated:** [August 17, 2006, 4:50pm UTC](https://www.ruby-forum.com/t/is-there-anything-like-fckeditor-for-ruby/65236 "2006-08-17T16:50:29Z")

</div>

Hello all, I am building a website for a client and they want to be able to edit the content on one of the pages, but they are not very web savvy. Is there anything like FCKeditor (http://www.fckeditor.net/) that work…

---

## [RDoc generates active content? IE question](https://www.ruby-forum.com/t/rdoc-generates-active-content-ie-question/65342)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [August 17, 2006, 4:47pm UTC](https://www.ruby-forum.com/t/rdoc-generates-active-content-ie-question/65342 "2006-08-17T16:47:29Z")

</div>

Hi all, Windows XP Pro IE 6.0.2900 When I open up a index.html file from generated rdoc, much of the time IE 6 gives me a warning about active content being blocked. Does anyone happen to know what IE is interpreti…

---

## [Ruby httpd/cgi server for a directory](https://www.ruby-forum.com/t/ruby-httpd-cgi-server-for-a-directory/64856)

<div class="topic-metadata">

**Author:** [@jim](https://www.ruby-forum.com/u/jim)\
**Replies:** 4\
**Last updated:** [August 17, 2006, 4:41pm UTC](https://www.ruby-forum.com/t/ruby-httpd-cgi-server-for-a-directory/64856 "2006-08-17T16:41:28Z")

</div>

Hello, I have a set of ruby scripts I run manually from the command line. I’d like to put a simple web front-end to them and use them as cgi scripts. I also want to be able to keep them on a USB stick and run them an…

---

## [Command line arguments in windows](https://www.ruby-forum.com/t/command-line-arguments-in-windows/65229)

<div class="topic-metadata">

**Author:** [@jsimone](https://www.ruby-forum.com/u/jsimone)\
**Replies:** 6\
**Last updated:** [August 17, 2006, 3:38pm UTC](https://www.ruby-forum.com/t/command-line-arguments-in-windows/65229 "2006-08-17T15:38:19Z")

</div>

If I execute my apps from a command line using a syntax like this ruby my\_app arg1 arg2 … argx then all passed in arguments are handled correctly. If I execute my apps from a command line using this syntax my\_app arg…

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

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