Re: [Jbeta] J iOS data transfer

2012-06-24 Thread david alis
Brian
As you remarked earlier gtkwd.ijs is missing,
which is why the require fails at the beginning of pousse.ijs.
This doesn't fix your problem but at least explains it.
I suppose my problem lies elsewhere.
fyi, the ~ symbol is resolved in jpath.

Seems like definitions in stdlib.ijs and elsewhere
need changing so people dont waste time on stuff like this.

The script function looks like a good place to start.
(same applies to scriptd)

I wonder what others think.

Regards
David
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jbeta] J iOS data transfer

2012-06-24 Thread david alis
I wasn't clear.
Functions like script need to tell people which files are missing
otherwise time gets wasted.

On Sun, Jun 24, 2012 at 9:34 AM, david alis david.a...@gmail.com wrote:
 Brian
 As you remarked earlier gtkwd.ijs is missing,
 which is why the require fails at the beginning of pousse.ijs.
 This doesn't fix your problem but at least explains it.
 I suppose my problem lies elsewhere.
 fyi, the ~ symbol is resolved in jpath.

 Seems like definitions in stdlib.ijs and elsewhere
 need changing so people dont waste time on stuff like this.

 The script function looks like a good place to start.
 (same applies to scriptd)

 I wonder what others think.

 Regards
 David
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jbeta] J iOS data transfer

2012-06-23 Thread david alis
i'm almost there ...
On my Win7  I ran (beware line breaks):
jt'c';'C:\Users\david\j64-602-user/test.jt';'C:\Users\david\j64-602\addons\';'games'

('C:\Users\david\j64-602-user/test2.html')jattach
'C:\Users\david\j64-602-user/test.jt'

(returns 131617 chars written).
mailed test2 to myself
Opened it in iPad.mail, copied to clipboard, returned to J typing
jcbtof '~/t.jt'
The content of file t.jt looks reasonable and  its size is 129050.
1!:0'j/t.jt'
 returns  129050.

But when i run
jt'x';'~/t.jt';'addons/games'
i get assertion failure:
assert(#fd)=fd frwrite p

When I run
1!:0'j/addons/*'
I can see the directories for convert graphics ide and labs
games isnt there.

I get the same assertion error for
jt'x';'~/t.jt';'~addons/games'
jt'x';'~/t.jt';'~/addons/games'
but in both cases the games directory is created
aIn both cases it is empty.

No doubt something simple.
Brief description of how the character ~ is resolved in
file and path names would be helpful.

Rgds
David


On Sat, Jun 23, 2012 at 12:03 AM, Eric Iverson eric.b.iver...@gmail.com wrote:
 In an email from me to beta forum in the last few days. I will clean this
 up, but would like to hear of a successful use (or not so) first.

 On Fri, Jun 22, 2012 at 5:59 PM, Jim Russell jimsruss...@yahoo.com wrote:

 I need a bunch of brushing up first, but for future reference, where is
 jt.ijs to be found?

 Sent from my iPad

 On Jun 22, 2012, at 5:06 PM, Eric Iverson eric.b.iver...@gmail.com
 wrote:

  I believe my last posting with the jt.ijs script works properly. Please
 try
  it. If it fails, let me know details and I will fix it. Be sure to use my
  last posting, as there were many earlier ones with various problems.
 
  Rather than try with a big folder of stuff, you might want to try a
 simple
  test file with text you suspect might cause problems. If this fails it
 will
  be easier to track down and fix. If it works, there is a better chance of
  the big test working.
 
  On Fri, Jun 22, 2012 at 4:52 PM, John Baker bakerj...@gmail.com wrote:
 
  Have there been any updates to the transfer process since this thread
  started?  When I last looked the J code was not untangling properly.
 
 
  On Mon, Jun 18, 2012 at 2:09 PM, Eric Iverson eric.b.iver...@gmail.com
 
  wrote:
  You see the attachment jattach.html in your email message. Tap it and
 you
  should see your stuff in a browser page that you can then tap and hold
  and
  copy.
 
  On Mon, Jun 18, 2012 at 2:59 PM, Brian Schott schott.br...@gmail.com
  wrote:
 
  On my ipad, in gmail, I do not see the attachment in safari. I see it
  it gmail. I do not use mail exactly, I use gmail.
 
  The attachment is an html file.
 
  On Mon, Jun 18, 2012 at 2:32 PM, Eric Iverson 
 eric.b.iver...@gmail.com
 
  wrote:
  To repeat with emphasis: the jattach step and attaching the
  jattach.html
  file that is sent is essential. This is the only way to get full
  copy/paste
  support on the iPad as otherwise you get the sickly limited version.
 
  The jattach step is needed whether sending a single file or a jt file
  that
  contains multiple files.
 
  Utilities will eventually combine these steps into common forms.
 
  --
  For information about J forums see
 http://www.jsoftware.com/forums.htm
 
  --
  For information about J forums see http://www.jsoftware.com/forums.htm
 
 
 
  --
  John D. Baker
  bakerj...@gmail.com
  --
  For information about J forums see http://www.jsoftware.com/forums.htm
 
  --
  For information about J forums see http://www.jsoftware.com/forums.htm
 --
 For information about J forums see http://www.jsoftware.com/forums.htm

 --
 For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jbeta] J iOS data transfer

2012-06-23 Thread david alis
Hi Brian
monadic jattach just uses the default file
name of '~temp/jattach.html'

What do you get when you list files in directories?
1!:0'j/addonns/games/*'

I'm having loads of fun reverse engineering my way
to figuring out how J works on iPad. But I wouldnt
mind a little bit of help. An explanation of the
resolution of what ~ means when it's used as
part of a file or path name would be nice.
I suppose using J701 instead of J602 might
help.
David


On Sat, Jun 23, 2012 at 3:35 PM, Brian Schott schott.br...@gmail.com wrote:
 David,

 I was able to transfer the ~addons from my Mac to my iPad without getting 
 your errors. I used monadic jattach, not dyadic, though.

 For me disillusionment struck with the following error appeared

   load'~addons/games/pousse.ijs'
 not found: /j/addons/games/pousse.ijs
 |file name error: script
 |       0!:0 y[4!:55'y'

 And then a look at pousse.ijs suggests to me that needed addons from gtkwd 
 and gl2 may not even work in my Pad.

 require 'gtkwd gl2 text'

 I think I followed exactly the instructions Eric provided that I have placed 
 at Jwiki/i05  (I edited them slightly on the Jwiki/i05 so there could he an 
 error). I find it hard fo remember or to follow the instructions regarding 
 when to add things like 'misc' and '.ijs'.

 Please let me or Jwiki/i05 know when you find errors.
 --
 (B=)
 --
 For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jbeta] J iOS data transfer

2012-06-23 Thread david alis
and what's actually in the pouse directory on the iPad as well as the PC?

On the iPad the games directory should show up when you run
1!:0'j/addons/*'
and pousse should show up when you run
1!:0'j/addons/games/*'
Assuming that's the case, what shows up when you run
1!:0'j/addons/games/pousse/*'
you should see
manifest.ijs and pousse.ijs

When I created the .jt file for my games directory on the PC
the jt program reported that three binary files which it ignored:
file with non-char bytes ignored: games\minesweeper\tiles18.png
file with non-char bytes ignored: games\minesweeper\tiles26.png
file with non-char bytes ignored: games\solitaire\cards.j31
but none relate to pousse.
Rgds
David


On Sat, Jun 23, 2012 at 8:42 PM, Brian Schott schott.br...@gmail.com wrote:
   1!:0'j64-701/addons/games/*'
 ┌──┬─┬───┬───┬──┬──┐
 │pousse│2012 3 11 3 26 16│136│rwx│d-│drwxr-xr-x│
 └──┴─┴───┴───┴──┴──┘
   1!:0'j602/addons/games/*'
   1!:0'~/j602/addons/games/*'


 On Sat, Jun 23, 2012 at 11:08 AM, david alis david.a...@gmail.com wrote:
 Hi Brian
 monadic jattach just uses the default file
 name of '~temp/jattach.html'

 What do you get when you list files in directories?
 1!:0'j/addonns/games/*'

 I'm having loads of fun reverse engineering my way
 to figuring out how J works on iPad. But I wouldnt
 mind a little bit of help. An explanation of the
 resolution of what ~ means when it's used as
 part of a file or path name would be nice.
 I suppose using J701 instead of J602 might
 help.
 David

 --
 (B=)
 --
 For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jbeta] IOS Bullet commands

2012-06-21 Thread david alis
sockets are disallowed.
right?

On Thu, Jun 21, 2012 at 5:39 PM, Eric Iverson eric.b.iver...@gmail.com wrote:
 Follow all the stuff from the ? button. Limited and a bit terse, but it
 does cover everything.

 Because J is so powerful, there is more than might first meet the eye.

 Apple doesn't allow apps that can be used to build apps. If that sentence
 irritates, join the club. I'm paraphrasing and combining some of the app
 quidelines, but that is what it boils down to.

 The J programming language iOS app is for learning and working with J. You
 can't create or work with a GUI beyond what you directly see. This is
 unfortunate as it would be so easy to expose the entire GUI facilities to
 the J programmer as has been done on other platforms. But that is the
 current status. Apple has gradually relaxed in this area and there might be
 hope for the future. A year or 2 ago what you have now wouldn't have been
 allowed.

 On Thu, Jun 21, 2012 at 11:25 AM, Jim Russell jimsruss...@yahoo.com wrote:

 Where might I find documentation? Are there other IOS events defined?
 Thanks -- love J in IOS, but I am still pretty confused...

 --
 For information about J forums see http://www.jsoftware.com/forums.htm

 --
 For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jbeta] IOS Bullet commands

2012-06-21 Thread david alis
perfect.
thanks

On Thu, Jun 21, 2012 at 5:54 PM, Eric Iverson eric.b.iver...@gmail.com wrote:
 Try loading sockets and playing. But don't wave about as Apple could
 disallow down the road.

 On Thu, Jun 21, 2012 at 11:48 AM, david alis david.a...@gmail.com wrote:

 sockets are disallowed.
 right?

 On Thu, Jun 21, 2012 at 5:39 PM, Eric Iverson eric.b.iver...@gmail.com
 wrote:
  Follow all the stuff from the ? button. Limited and a bit terse, but it
  does cover everything.
 
  Because J is so powerful, there is more than might first meet the eye.
 
  Apple doesn't allow apps that can be used to build apps. If that sentence
  irritates, join the club. I'm paraphrasing and combining some of the app
  quidelines, but that is what it boils down to.
 
  The J programming language iOS app is for learning and working with J.
 You
  can't create or work with a GUI beyond what you directly see. This is
  unfortunate as it would be so easy to expose the entire GUI facilities to
  the J programmer as has been done on other platforms. But that is the
  current status. Apple has gradually relaxed in this area and there might
 be
  hope for the future. A year or 2 ago what you have now wouldn't have been
  allowed.
 
  On Thu, Jun 21, 2012 at 11:25 AM, Jim Russell jimsruss...@yahoo.com
 wrote:
 
  Where might I find documentation? Are there other IOS events defined?
  Thanks -- love J in IOS, but I am still pretty confused...
 
  --
  For information about J forums see http://www.jsoftware.com/forums.htm
 
  --
  For information about J forums see http://www.jsoftware.com/forums.htm
 --
 For information about J forums see http://www.jsoftware.com/forums.htm

 --
 For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jbeta] JHS - linux - 2!:0 and 2!:1 and 2!:2

2011-01-22 Thread david alis
I'm running ubuntu 10.10, 64 bit with j701/2011-01-10/11:25

if the exit status of the command run  by 2!:0 is non-zero then
JHS returns 'interface error' in the browser.

So running
files =:   2!:0'find / -name testfile 2/dev/null'
returns a result to JHS only if run as root.
Otherwise it's an interface error.

Running commands in a subshell is a workaround
   files=: 2!:0'(find / -name testfile /tmp/abcd); cat /tmp/abcd'
but this does seem a pity

Is 2!:1 supposed to work in JHS?

2!:2 'pwd'
crashes both jgtk and jhs.

Regards
David
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jbeta] Installation without access to internet

2011-01-14 Thread david alis
Thanks - simple and effective.
David


On Thu, Jan 13, 2011 at 7:10 PM, jerome fontaine 
fontainejerome2...@gmail.com wrote:

 fontainejerome2...@gmail.com

 i have several partitions and use to copy the J directory, it is fast
 think you have USB portable device

 I  try
 rename my j701
 unplug the eth
 install a new with  j701a_linux32.sh
 copy the addons and system and tools  to the new J
 replace all
 fusion all ...
 run and see

 no gmail! forget to replug eth!

--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jbeta] JHS, JGTK

2011-01-14 Thread david alis
The new interfaces JGTK and JHS are very good indeed.

JHS is an extraordinary achievement.

Congratulations and very well done.

David
--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jbeta] Installation without access to internet

2011-01-13 Thread david alis
Apologies if this already been dealt with.

I have copied the file j701a_linux64.sh to a linux server that has
absolutely no access to the internet.

How do
(1) I install the gtk based ide
(2) how would i install and keep current the various packages, addons?

Thanks
David
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jbeta] Nag nag nag nag

2011-01-10 Thread david alis
is there also a fix for this one?
a=.$.i.5
a+5x
|syntax error
|   a+5
(same version, but on W7, 32bit)
David

On Mon, Jan 10, 2011 at 9:04 PM, Eric Iverson eric.b.iver...@gmail.comwrote:

 I have a fix for this bug from Roger and it will be included in the next
 set
 of 701 installers.

 Thanks for the nags!

 On Mon, Jan 10, 2011 at 5:02 AM, Roger Stokes 
 r...@rogerstokes.free-online.co.uk wrote:

  Still got this old bug in j701:
 
JVERSION
  Engine: j701/2011-01-07/14:33
  Library: 7.01.030
  Platform: Win 32
  Installer: j701a_win.exe
  InstallPath: c:/users/homer/j701
 
  1 0 2 +/ @: *  (3 2 $ 3 1 2 1 1 0)
  7 3
 
  NB. The result 7 3 is wrong.
  NB. The correct result is 5 1, shown by replacing +
  NB. with an equivalent verb, say  +0 .
 
  1 0 2 +0 / @: * (3 2 $ 3 1 2 1 1 0)
  5 1
 
  NB. This has been mentioned before, firstly
  NB. by Patrick Van Beek on 14 6 2008.
 
 
  --
  For information about J forums see http://www.jsoftware.com/forums.htm
 
 --
 For information about J forums see http://www.jsoftware.com/forums.htm

--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jbeta] installation problem with latest j701

2011-01-10 Thread david alis
I downloaded the latest 701 for win32 (Windows7)
ran
load 'pacman'
'update' jpkg''
'install' jpkg'all'
then quit and started jpkg and got the following:

C:\j701\binC:\j701\bin\jconsole gtkide
|domain error: cd
|   helper_g_locale_to_utf8_jgtk_'intl.dll gettext  + x *c'cdy

david
--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jbeta] bug - sparse and extended integers

2011-01-04 Thread david alis
this bug is still present in J701
it was reported in March 2009.
http://www.jsoftware.com/pipermail/programming/2009-March/014233.html

   u=.:i.3
   u + 9x
10 11 12
   u=. $.:i.3
   u + 9
0 | 10
1 | 11
2 | 12
   u + 9x
|syntax error
|   u+9


(j701/beta/2010-11-24/22:45)
--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jbeta] fgets not found

2010-12-21 Thread david alis
I downloaded and successfully installed j701, Win, 32bit on 14 dec.
i could install the gtkide and use the IDE.
I chose custom installation and the installation went into C:\j701


today i downloaded the newest version.
Before installing it I renamed my existing c:\j701-c:\j701xx
After the installation I started jgtk and followed the instructions.
install'gtkide'
it ran fine - i.e. wget download followed by the installation of the gtk bundle.

However, starting jgtk fails because fgets isnt found/defined.


C:\j701\binC:\j701\bin\jconsole gtkide
|value error: fgets
|   text=.fgets text
--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jbeta] fgets not found

2010-12-21 Thread david alis
i seldom use jconsole so i had to search forum to find what to do.

load'pacman'
'update' jpkg 'base library'

ide works okay now.

is that enough or is there more?
--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jbeta] j702 ide - configure option in edit menu

2010-12-21 Thread david alis
the  edit|configure option in the new ide will be very difficult for a new user.

how do i change the default representation of expressions from box to
linear to tree ?

david
--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jbeta] Release Highlights (relhigh.htm) - J7

2010-08-03 Thread david alis
Is there a ReleaseHighlights for J7 ?
 something like: system\extras\help\user\relhigh.htm
If only for the engine (i.e. language features, changes, etc).
Thanks
David
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jbeta] j602bbeta

2007-11-03 Thread david alis
looks as if  'appboot.ijs'  needs to sit in the same directory as profile.ijs



On 11/3/07, Raul Miller [EMAIL PROTECTED] wrote:
 I wrote:
'tmp=:usr' 1!:2 jpath '~bin/appboot.ijs'

 Never mind, I needed to use =.

 --
 Raul
 --
 For information about J forums see http://www.jsoftware.com/forums.htm

--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jbeta] M. working as designed?

2007-10-27 Thread david alis
Is the following the expected behaviour of using M.


data =: ( @ (?~)@?)1e5#10
A=: 5#5
B=: 5?5

foo_with_M =:  3 : 0  M.
n=:?1e5
data =:(:n{::aa)n}aa
n;n{::data
)

 foo_with_M 0 B
|85156|   |
+-+---+
|37421|3 2 1 5 4  |
+-+---+
|13050|   |
+-+---+
|3441 |5 1 3 2 4 6|
+-+---+
|30853|3 4 2 1|
+-+---+

   foo_with_M 0 A
+-+---+
|98897|3 2 8 1 4 6 5 7|
+-+---+
|98897|3 2 8 1 4 6 5 7|
+-+---+
|98897|3 2 8 1 4 6 5 7|
+-+---+
|98897|3 2 8 1 4 6 5 7|
+-+---+
|98897|3 2 8 1 4 6 5 7|
+-+---+
--
For information about J forums see http://www.jsoftware.com/forums.htm


Fwd: [Jbeta] M. working as designed?

2007-10-27 Thread david alis
On 10/27/07, Raul Miller [EMAIL PROTECTED] wrote:
 On 10/27/07, david alis [EMAIL PROTECTED] wrote:

 Note that you use a value 'aa' here, which you do not define in
 your message.

Rephrasing the saying ...
cut in leasure, paste in haste  - sorry about that..

data =: (?~?).  1e5#10

foo_with_M =:  3 : 0  M.
n=:?1e5
data =:(:n{::aa)n}data
n;n{::data
)

What is happening is that repeated invocations of foo_with_M produce
identical results when successive arguments are the same.

In this example the value of n doesn't change between invocations.
Is this correct?

   foo_with_M 0 [1 1 1 2 2 2  3 3
+-+-+
|16914|3 1 2 4  |
+-+-+
|16914|3 1 2 4  |
+-+-+
|16914|3 1 2 4  |
+-+-+
|85206|1 6 5 7 4 3 2|
+-+-+
|85206|1 6 5 7 4 3 2|
+-+-+
|85206|1 6 5 7 4 3 2|
+-+-+
|34433|2 1  |
+-+-+
|34433|2 1  |
+-+-+
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jbeta] Find in Files - In folders - limited

2007-09-30 Thread david alis
Ah ha..
this is an interesting one

1a)
I noticed a while back that I could use the ..\.. (etc etc) notation
to move up and out of the the j602 directory to search where i wanted.
(Bjorn could have used . to extend beyond Project and User)

But I don't think this allows me to move away from the drive where J
is installed.

Example:
'this is a little test for FiF: word insert' (1!:2)'..\insert.txt'
Searching for string 'insert_this' with '..' in the 'In Folders' field returns:
c:\jsoftware\j602\..\insert_this.txt (1)
insert_this

Is there a way to override the 'c:\joftware\j602\'  prefix? (other
than hacking fif.ijs)
FiF is really very useful but running J from a USB stick install would
limit the it searching the stick.

1 b)
It would be neat if variable substitution aka perl was possible - for example:
 ..\..\$pathx\conf\
where, in the current locale,
  pathx=:Program Files\Apache Software Foundation\Tomcat 6.0'
or in named locale
 ..\..\$pathx_locale123_\conf\


2a)
When the FileType field is empty (or blank) then switching to the Help
tab and back again causes an error:
error in: fif_tabs_button
domain error:wd
wd'setselect etype ', :j i. FIFTYPE

2 b)
Would be nice if FileType honoured the text entered - (e.g. a type of
myx is ignored - must select 'All' instead)



Regards
David












On 10/1/07, Chris Burke [EMAIL PROTECTED] wrote:
 Björn Helgason wrote:
  The Find in Files folders only show projects and users.
  It is quite limiting compared to J601 which allowed to search in all folders
  It is very useful to be able to find in system folders

 Agreed, I'll restore that.
 --
 For information about J forums see http://www.jsoftware.com/forums.htm

--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jbeta] concerning ic (aka 3!:4)

2007-09-03 Thread david alis
The conversion routine 3!:4 only accepts scalar or vector arguments.

Would it be possible to extend it to behave in a similar way to #. and #:

The following is a model:
 ic =: 3!:4
 cnvt =: ( 3 : ' ($y)$_2[\ 1 ic ,y') :. ( 3 : '(}:$y)$_1 ic,y')

   $ cnvt i.20 30 40
20 30 40 2
   (-:  ].cnvt ) i.20 30 40
1

As presently implemented:
   1 ic i.20 30 40
|rank error: ic
|   1 ic i.20 30 40

Regards
David

PS: On a lesser point, why does the following produce a spelling error?
  test =.  (+):.(-)
but this doesn't
pp=. (+) :.(-)

(j601/2006-11-17/17:05 : J64)
--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jbeta] Problem sparse array and sparse axis

2007-07-15 Thread david alis

There is a problem when specifiying the sparse axis.
  +p=.1$. 10 2
  +q=. 1 13(3)}p
3 0 │  1
3 1 │ 13
  q-:p
0
  +p=.1$. 10 2;0
  +q=. 1 13(3)}p
3 │ 1 13
  q-:p
0
  +p=.1$. 10 2;1
  +q=. 1 13(3)}p   NB. this is wrong
  q-:p
1

Regards
David
j601_64
j601/2006-11-17/17:05
--
For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jbeta] Problem with oblique - was Re: [Jprogramming] re:tacticprogramming

2007-06-09 Thread david alis

Judging from the following the problem would appear to affect floating
point numbers and not than integers.
  a=.100+i.5
  b=.200+i.5
  Q=.%/
  a((Q f.)/.@:,:)b  NB. integer
100 0.505 0.507463 0.509901 0.512315 204
  a((Q )/.@:,:)b
100 0.505 0.507463 0.509901 0.512315 204

  a((Q f.)/.@:,:)b +0.1  NB. floating point
100 1.98119 1.97157 1.96214 1.95288 204.1
  a((Q )/.@:,:)b +0.1
100 0.504748 0.50721 0.509649 0.512063 204.1

What could cause such strange behaviour?

David
On 6/8/07, Mike Day [EMAIL PROTECTED] wrote:

That's why I moved to Jbeta

Joey K Tuttle wrote:
 Has anyone pointed out that this is a 6.01 bug??

version ''
 j504/2005-03-16/15:30
 Running in: Linux
 Linux version 2.4.20-28.8 ([EMAIL PROTECTED]) (gcc
 version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Thu Dec 18 12:53:39
 EST 2003

/.t =. 2 8 [EMAIL PROTECTED] 10
 +-+---+---+---+---+---+---+---+-+
 |6|5 0|9 4|2 6|4 8|9 3|0 8|7 1|2|
 +-+---+---+---+---+---+---+---+-+
-//.t
 6 5 5 _4 _4 6 _8 6 2
-~//.t
 6 _5 _5 4 4 _6 8 _6 2



version ''
 Binary: j601binc_darwin_powerpc
 Library: j601libc
 Help: j601hlpc
 Engine: j601/2006-11-17/17:05
 ProductName:Mac OS X
 ProductVersion: 10.4.9
 BuildVersion:   8P135
 java version 1.5.0_07 Java(TM) 2 Runtime Environment, Standard
 Edition (build 1.5.0_07-164) Java HotSpot(TM) Client VM (build
 1.5.0_07-87, mixed mode, sharing)

/. t=. 2 8 [EMAIL PROTECTED] 10
 +-+---+---+---+---+---+---+---+-+
 |6|5 0|9 4|2 6|4 8|9 3|0 8|7 1|2|
 +-+---+---+---+---+---+---+---+-+
-//.t
 6 _5 _5 4 4 _6 8 _6 2
-~//.t
 6 _5 _5 4 4 _6 8 _6 2


foo =: -
foo//.t
 6 5 5 _4 _4 6 _8 6 2
foo~//.t
 6 _5 _5 4 4 _6 8 _6 2
 --
 For information about J forums see http://www.jsoftware.com/forums.htm


--
For information about J forums see http://www.jsoftware.com/forums.htm


--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jbeta] Bug report - java front end and 'find'

2007-06-03 Thread david alis

I presume this is the best place to report the following, in case it
has not yet been reported.

When I use the Java implemented session manager front end, the Find
option (under Edit) doesnt behave properly.
After the first item has been found, selecting the same menu option
again behaves incorrectly. Instead of opening the panel where I can
specify the target string it behaves as 'Find again' or F3.
Only after the last location of the target does the panel reappear.

This happens on both linux and windows version (6.01).

Regards
David
--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jbeta] suggestion for improvement

2007-05-20 Thread david alis

Is this the right place to request a performance improvement in {::
when using it with mapped files?

Example:
require'jmf'
createjmf_jmf_'abcd';100e6
map_jmf_'abcd';'abcd'

  abcd=.xyz=.1$a:   NB. xyz is ordinary array
  abcd =. (;:'this is the rule')1000}abcd
  xyz =. (;:'this is the rule')1000}xyz
  12j9 :(1000) 6!:2'1000{::abcd'
0.000184470
  12j9 :(1000) 6!:2'1000{::xyz'
0.07284

It's pretty much 20 times slower with a mapped file.
I know that 1000{abcd gets around the problem - but i got caught out
again recently while trying to reduce processing time.
The bigger the mapped array the greater the effect.
Regards
David
--
For information about J forums see http://www.jsoftware.com/forums.htm