RE: [Jbeta] viewrgb colors

2006-06-21 Thread Miller, Raul D
Oleg Kobchenko wrote: load 'viewmat' ... From experience with HTML colors and BMP byte layout for 24 bit encoding, as well as in GL2, for example, glcolor 256 (#.^:_1) 16bff 256 (#.^:_1) 16bff 255 0 0 this should be RED. But it's not what we see in viewrgb. I would

[Jbeta] #! script command line input limitations

2006-06-21 Thread Eric Iverson
I have increased the limit on the length of #! script arguments for linux and mac. It is not easy to make it dynamic and I have settled on just increasing it to about 3 for the total length of the command line argument. This command line is passed to J as a sentence something like:

Re: [Jbeta] #! script command line input limitations

2006-06-21 Thread Joey K Tuttle
Thanks! That sounds like a great improvement and I shall verify it at first opportunity. I certainly hope this also removes the no man's land that caused an incorrect result as described below - maybe harder to test. - joey At 17:15 -0400 2006/06/21, Eric Iverson wrote: I have increased the

Re: [Jbeta] #! script command line input limitations

2006-06-21 Thread Eric Iverson
I'm afraid the no mans land of wrong results are still possible for 'very long arguments'. I don't intend to pursue it at this time. - Original Message - From: Joey K Tuttle [EMAIL PROTECTED] To: Beta forum beta@jsoftware.com Sent: Wednesday, June 21, 2006 5:26 PM Subject: Re: [Jbeta]

[Jbeta] Bug in -./

2006-06-21 Thread Fraser Jackson
The following gives an unexpected result (,7) -. ,7 (,7)-./_ 0 ]7 11 0 7 -- For information about J forums see http://www.jsoftware.com/forums.htm

RE: [Jbeta] Bug in -./

2006-06-21 Thread Miller, Raul D
Fraser Jackson wrote: The following gives an unexpected result (,7) -. ,7 (,7)-./_ 0 ]7 11 0 7 I don't understand? What is unexpected here? Are you surprised that 0 is the fill element for numeric arrays? -- Raul

RE: [Jbeta] Bug in -./

2006-06-21 Thread Miller, Raul D
Henry Rich wrote: so the result should be rank 2 1 with the first item being filled. I think you meant ..should be rank 1 with... If nothing else, noun rank is always a scalar. -- Raul -- For information about J forums see

Re: [Jbeta] #! script command line input limitations

2006-06-21 Thread Joey K Tuttle
Hmmm, that's too bad. In general, I would rather have a crash than an incorrect/incomplete result... - joey At 17:30 -0400 2006/06/21, Eric Iverson wrote: I'm afraid the no mans land of wrong results are still possible for 'very long arguments'. I don't intend to pursue it at this time.

RE: [Jbeta] Bug in -./

2006-06-21 Thread Henry Rich
shape 2 1 Henry Rich -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Miller, Raul D Sent: Wednesday, June 21, 2006 6:10 PM To: Beta forum Subject: RE: [Jbeta] Bug in -./ Henry Rich wrote: so the result should be rank 2 1 with the first item

RE: [Jbeta] Bug in -./

2006-06-21 Thread Miller, Raul D
Fraser Jackson wrote: No, but using a numeric fill causes a clearly incorrect answer if 0 is a possible element of the difference set. I think there is a real problem with using a fill element of 0 for this case. Ok. (0 2 3)(@ -.) /_1 0 ] 0 2 4 adds boxing which gives correct