Hmm:

My posting a response to the 'Binary Search' thread generated
two 'mail delivery failed' e-mails.  Since I didn't /send/ an e-mail, I
assume
they are related to the cross-posting software to the list-server.

I am including them below for whoever is working on the filter.
--------------- first response -------------------------------------------
This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  pipe to |/usr/bin/procmail
    generated by ibraheem@localhost

The following text was generated during the delivery attempt:

------ pipe to |/usr/bin/procmail
       generated by ibraheem@localhost ------

procmail: Couldn't chdir to "/home/ibraheem/Mail/2002/11"
procmail: Extraneous locallockfile ignored

------ This is a copy of the message, including all the headers. ------

Return-path: <ursus / walkington.org>
Received: from localhost.localdomain
([127.0.0.1] helo=localhost ident=[21f1YB+yTgjoaD38XmJJhDXmpqy9necP])
by ignoramus with esmtp (Exim 4.10)
id 187X4P-0001DB-00
for ibraheem@localhost; Fri, 01 Nov 2002 08:22:22 +0000
Received: from mail.btinternet.com [194.73.73.90]
by localhost with POP3 (fetchmail-5.9.0)
for ibraheem@localhost (single-drop); Fri, 01 Nov 2002 08:22:21 +0000 (GMT)
Received: from helium.ruby-lang.org ([210.251.121.214])
by ruthenium.btinternet.com with esmtp (Exim 3.22 #8)
id 187X3k-00016S-00; Fri, 01 Nov 2002 08:21:43 +0000
Received: from helium.ruby-lang.org (localhost [127.0.0.1])
by helium.ruby-lang.org (Postfix) with ESMTP
id 4F4741B; Fri,  1 Nov 2002 17:21:35 +0900 (JST)
Received: from zip.local.thomases.com (pragdave210.august.net
[216.87.136.210])
by helium.ruby-lang.org (Postfix) with ESMTP id 802CF17
for <ruby-talk / ruby-lang.org>; Fri,  1 Nov 2002 17:21:29 +0900 (JST)
Received: from localhost.localdomain (dave@localhost [127.0.0.1])
by zip.local.thomases.com (8.11.2/8.11.2) with ESMTP id gA18LbY28879
for <ruby-talk / ruby-lang.org>; Fri, 1 Nov 2002 02:21:37 -0600
Received: from Usenet via a Usenet to mail gateway located at
     pragprog.com.  This service provided as a courtesy to the
     ruby-talk mailing list.  If this message is SPAM, its ultimate
     origin is Usenet, not this gateway program.  All subscribers
     to the ruby-talk mailing list agree to receive the Usenet
     postings made to comp.lang.ruby via this gateway.  Please see
     http://www.ruby-lang.org/ruby-talk-usenet-policy.html.
Date: Fri, 1 Nov 2002 17:21:32 +0900
Posted: Fri, 01 Nov 2002 08:07:45 GMT
From: "Alan (Ursus Major)" <ursus / walkington.org>
Reply-To: ruby-talk / ruby-lang.org
Subject: Re: Binary search
To: ruby-talk / ruby-lang.org (ruby-talk ML)
Message-Id: <lDqw9.164095$tu.1679302 / news.easynews.com>
References: <F50XzQt1aP5N1lf8e460001a43d / hotmail.com>
X-ML-Name: ruby-talk
X-Mail-Count: 54654
X-MLServer: fml [fml 4.0.3 release (20011202/4.0.3)]; post only (anyone can
post)
X-ML-Info: If you have a question,
please contact ruby-talk-admin / ruby-lang.org;
<mailto:ruby-talk-admin / ruby-lang.org>
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
Path:
news5.aus1.giganews.com!firehose2!nntp3.aus1.giganews.com!border1.nntp.aus1.
giganews.com!feed.cgocable.net!newsfeed.news2me.com!west.cox.net!cox.net!nnt
p2.aus1.giganews.com!nntp.giganews.com!newsfeed1.easynews.com!easynews.com!e
asynews!easynews-local!news.easynews.com.POSTED!not-for-mail
Newsgroups: comp.lang.ruby
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Complaints-To: abuse / easynews.com
Organization: EasyNews, UseNet made Easy! - Test our service with our FREE
trial at https://www.easynews.com/trial/trial.phtml
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise
we will be unable to process your complaint properly.
X-From-Usenet: see Received: header above.
X-rubymirror: yes
X-Spam-Status: No, hits=1.5 required=5.0
tests=FORGED_RCVD_FOUND,RCVD_IN_ORBZ version=2.20
X-Spam-Level: *
Precedence: bulk
Lines: 28
List-Id: ruby-talk.ruby-lang.org
List-Software: fml [fml 4.0.3 release (20011202/4.0.3)]
List-Post: <mailto:ruby-talk / ruby-lang.org>
List-Owner: <mailto:ruby-talk-admin / ruby-lang.org>
List-Help: <mailto:ruby-talk-ctl / ruby-lang.org?body=help>
List-Unsubscribe: <mailto:ruby-talk-ctl / ruby-lang.org?body=unsubscribe>

Check the following web page:

http://www.wikipedia.org/wiki/Binary_search

Alan Walkington

"martin tran" <gokuzboy / hotmail.com> wrote in message
news:F50XzQt1aP5N1lf8e460001a43d / hotmail.com...
> Hi, I am having problem converting the following algorithm (shown below)
> into ruby code.
>
> :find j such that B[j] <= A[length/2] B[j+1] using binary search
>
> Can anyone help me please,
>
> Thanks,
> Tim
>
>
>
>
> _________________________________________________________________
> Broadband? Dial-up? Get reliable MSN Internet Access.
> http://resourcecenter.msn.com/access/plans/default.asp
>
----------------------- second response ---------------------------------
This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  pipe to |/usr/bin/procmail
    generated by ibraheem@localhost

The following text was generated during the delivery attempt:

------ pipe to |/usr/bin/procmail
       generated by ibraheem@localhost ------

procmail: Couldn't chdir to "/home/ibraheem/Mail/2002/11"
procmail: Extraneous locallockfile ignored

------ This is a copy of the message, including all the headers. ------

Return-path: <ursus / walkington.org>
Received: from localhost.localdomain
([127.0.0.1] helo=localhost ident=[c3zVfDHqm2sBAHNJkpJTzprbsuHLx+BE])
by ignoramus with esmtp (Exim 4.10)
id 187X4M-0001Ck-00
for ibraheem@localhost; Fri, 01 Nov 2002 08:22:18 +0000
Received: from mail.btinternet.com [194.73.73.90]
by localhost with POP3 (fetchmail-5.9.0)
for ibraheem@localhost (single-drop); Fri, 01 Nov 2002 08:22:18 +0000 (GMT)
Received: from helium.ruby-lang.org ([210.251.121.214])
by ruthenium.btinternet.com with esmtp (Exim 3.22 #8)
id 187X3k-00016S-00; Fri, 01 Nov 2002 08:21:43 +0000
Received: from helium.ruby-lang.org (localhost [127.0.0.1])
by helium.ruby-lang.org (Postfix) with ESMTP
id 4F4741B; Fri,  1 Nov 2002 17:21:35 +0900 (JST)
Received: from zip.local.thomases.com (pragdave210.august.net
[216.87.136.210])
by helium.ruby-lang.org (Postfix) with ESMTP id 802CF17
for <ruby-talk / ruby-lang.org>; Fri,  1 Nov 2002 17:21:29 +0900 (JST)
Received: from localhost.localdomain (dave@localhost [127.0.0.1])
by zip.local.thomases.com (8.11.2/8.11.2) with ESMTP id gA18LbY28879
for <ruby-talk / ruby-lang.org>; Fri, 1 Nov 2002 02:21:37 -0600
Received: from Usenet via a Usenet to mail gateway located at
     pragprog.com.  This service provided as a courtesy to the
     ruby-talk mailing list.  If this message is SPAM, its ultimate
     origin is Usenet, not this gateway program.  All subscribers
     to the ruby-talk mailing list agree to receive the Usenet
     postings made to comp.lang.ruby via this gateway.  Please see
     http://www.ruby-lang.org/ruby-talk-usenet-policy.html.
Date: Fri, 1 Nov 2002 17:21:32 +0900
Posted: Fri, 01 Nov 2002 08:07:45 GMT
From: "Alan (Ursus Major)" <ursus / walkington.org>
Reply-To: ruby-talk / ruby-lang.org
Subject: Re: Binary search
To: ruby-talk / ruby-lang.org (ruby-talk ML)
Message-Id: <lDqw9.164095$tu.1679302 / news.easynews.com>
References: <F50XzQt1aP5N1lf8e460001a43d / hotmail.com>
X-ML-Name: ruby-talk
X-Mail-Count: 54654
X-MLServer: fml [fml 4.0.3 release (20011202/4.0.3)]; post only (anyone can
post)
X-ML-Info: If you have a question,
please contact ruby-talk-admin / ruby-lang.org;
<mailto:ruby-talk-admin / ruby-lang.org>
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
Path:
news5.aus1.giganews.com!firehose2!nntp3.aus1.giganews.com!border1.nntp.aus1.
giganews.com!feed.cgocable.net!newsfeed.news2me.com!west.cox.net!cox.net!nnt
p2.aus1.giganews.com!nntp.giganews.com!newsfeed1.easynews.com!easynews.com!e
asynews!easynews-local!news.easynews.com.POSTED!not-for-mail
Newsgroups: comp.lang.ruby
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Complaints-To: abuse / easynews.com
Organization: EasyNews, UseNet made Easy! - Test our service with our FREE
trial at https://www.easynews.com/trial/trial.phtml
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise
we will be unable to process your complaint properly.
X-From-Usenet: see Received: header above.
X-rubymirror: yes
X-Spam-Status: No, hits=1.5 required=5.0
tests=FORGED_RCVD_FOUND,RCVD_IN_ORBZ version=2.20
X-Spam-Level: *
Precedence: bulk
Lines: 28
List-Id: ruby-talk.ruby-lang.org
List-Software: fml [fml 4.0.3 release (20011202/4.0.3)]
List-Post: <mailto:ruby-talk / ruby-lang.org>
List-Owner: <mailto:ruby-talk-admin / ruby-lang.org>
List-Help: <mailto:ruby-talk-ctl / ruby-lang.org?body=help>
List-Unsubscribe: <mailto:ruby-talk-ctl / ruby-lang.org?body=unsubscribe>

Check the following web page:

http://www.wikipedia.org/wiki/Binary_search

Alan Walkington

"martin tran" <gokuzboy / hotmail.com> wrote in message
news:F50XzQt1aP5N1lf8e460001a43d / hotmail.com...
> Hi, I am having problem converting the following algorithm (shown below)
> into ruby code.
>
> :find j such that B[j] <= A[length/2] B[j+1] using binary search
>
> Can anyone help me please,
>
> Thanks,
> Tim
>
>
>
>
> _________________________________________________________________
> Broadband? Dial-up? Get reliable MSN Internet Access.
> http://resourcecenter.msn.com/access/plans/default.asp
>
>