>>
APLDN Home

>>
Events

>>
Trainings

>>
APL Books

>>
APLDN Links

>>
Discussion Groups

>>
Downloads

>>
Articles

>>
Library

>>
Learning Tools

>>
APLDN User IO

>>
APL2000.com




Bug Reports

Author Thread: quadARBIN
paul.waller
quadARBIN
Posted: Thursday, June 10, 2004 9:03 AM (EST)

When setting the timeout left argument to quadARBIN it seems to have no effect. Using 5.4.16 linux interpreter ..

If sending mail please reply to alasdair.richardson@morganstanley.com

 

Alasdair


Comments:

Author Thread:
paul.waller
quadARBIN
Posted: Thursday, June 10, 2004 10:11 AM (EST)
It seems like quadWIN has the same problem

     

Support
quadARBIN
Posted: Thursday, June 10, 2004 4:38 PM (EST)

We are not aware of these issues and have started to investigate them.  In the interim, we're waiting for some additional information from Mr. Waller.

APL2000 Support

     

Support
Re: quadARBIN
Posted: Thursday, June 10, 2004 10:51 PM (EST)

Paul,

A developer has looked into your problems and failed to reproduce them.  Here's his response:

I could not reproduce the problem with Œarbin trying to read from a named pipe.  I tried (with the named pipe tied to -2)

      x „ 0 (¯2) 2 0 10 100 10 Œarbin ''

and Œarbin returned after 10 seconds with x = ,Œav[Œio+129].

Note that the time limit is not the maximum time from when Œarbin starts executing, but is a dead-man timer; it times out if the specified number of seconds elapse without receiving ANY characters.  Each time a character is received, the timer starts over.  The same is true for the timeout in Œwin.  If this is not Paul's problem, let me know.  A reproduceable example would also help.

     

paul.waller
Re: quadARBIN
Posted: Friday, June 11, 2004 9:45 AM (EST)
 
Trying to use []ARBIN to get 1 char, with a timeoout of 1 second (from the keyboard)
 
 R<- 0 1 -1 0 1 2 []ARBIN ''
 
 this should return after 1 sec with the result 129 (as on UNIX). It does 
 not timeout. Trying to achieve a similar result with
 
 R<-0 0 0 1 []win 0 0 1 1 1 (+/1 16 32 256 512)
 
 again it does not time out on linux (should return after 1 sec with 5 0  0 0 0)
 
> We are using APL 5.4.16 LINUX/386 on red hat linux 2.4.9-e.34enterprise

     

Support
Re: quadARBIN
Posted: Friday, June 11, 2004 11:12 AM (EST)
Thank you for the example.  With it we were able to determine that the timeout option in ŒWIN and ŒARBIN doesn't work when input is from the aplxmx event cue.  We will post an update in a few days that addresses this problem.

APL2000 Support

     

Support
Re: quadARBIN
Posted: Tuesday, June 15, 2004 6:11 PM (EST)
We are still working on the solution to this problem.  I will post a follow-up message in a day or so with a status report.

APL2000 Support

     

paul.waller
Re: quadARBIN
Posted: Monday, June 21, 2004 3:15 AM (EST)
Please let us know the status. We cant really proceed with testing till this has been fixed!

     

Support
Re: quadARBIN
Posted: Monday, June 21, 2004 10:43 AM (EST)
We're in the process of evaluating a new interpreter with the fix.  If everything goes well, the new interpreter will be available for download later today.

APL2000 Support

     

Support
Re: quadARBIN
Posted: Monday, June 21, 2004 12:52 PM (EST)
A new interpreter that fixes this problem is now available in the APL+Linux download area.

APL2000 Support

     



APL2000 Official Web Site

You must be the change you wish to see in the world.
--- Mahatma Ghandi

APLDN Home   |    |  Events   |  Trainings   |  APL Books   |  APLDN Links   |    |  Discussion Groups   |    |  Downloads   |  Articles   |  Library   |  Learning Tools   |  APLDN User IO   |  APL2000.com   |