Re: [Jprogramming] calling jj.dll

2013-06-22 Thread greg heil
Bill >Thanks! could not find anything wrong on j6 or j8 with your jdll.ijs >i could not find documentation on jGetA (though Google only gave me an ad for >a Jetta:). >Substituting jGetA for jGetM in jdll crashed both j6 and j8. greg ~krsnadas.org -- from: bill lam to: programm...@jsoftware.

Re: [Jprogramming] calling jj.dll

2013-06-22 Thread bill lam
Greg, I did some minor changes to J6 jdll.ijs and copy it to j801 general/misc addons. I tested it passed all of your tests for both 32 and 64-bit. Please see if there are some other bugs. Thanks. Сб, 22 июн 2013, greg heil писал(а): > Bill > > >my presumption is that this example works for j3

Re: [Jprogramming] calling jj.dll

2013-06-22 Thread bill lam
You may also try JGetA which will return the 3!:1 representation of a noun and see if that will work for box or extended integer. BTW 32-bit is still the norm in mobile devices. Сб, 22 июн 2013, greg heil писал(а): > Bill > > >my presumption is that this example works for j32 and so far i have n

Re: [Jprogramming] calling jj.dll

2013-06-22 Thread greg heil
Bill >my presumption is that this example works for j32 and so far i have not found >problems there, other than documented limitations. The problem is finding, or >forging, an example which works in 64b machines. 32b machines are archaic and >virtually unused in server situations: certainly in

Re: [Jprogramming] calling jj.dll

2013-06-22 Thread bill lam
Does the original 32-bit J6 script work for all cases including even/odd rank, box and extended? If not, please report the bug with a simple example. Thanks. Сб, 22 июн 2013, greg heil писал(а): > >i am still trying to modify the J6 file ~system/examples/dll/jdll.ijs so it > >works on 64b arch

Re: [Jprogramming] calling jj.dll

2013-06-22 Thread greg heil
>i am still trying to modify the J6 file ~system/examples/dll/jdll.ijs so it >works on 64b architectures in j7 and j8, maybe generally. The results so far >are appended below. i do not have any standard (non-reversed) architectures to >work with, so there may be a problem outside of Intel too.

[Jprogramming] Longest common subsequence

2013-06-22 Thread R.E. Boss
In http://www.jsoftware.com/jwiki/Essays/Longest%20Common%20Subsequence lcs is described which gives the length of the longest common subsequence. The following solution is quite a bit more efficient. 'X Y'=: <@('ACTG'{~ 4 ?@$~ ])"0 [200 200 X lcs Y 127 {: ((>./\@:+ |.!.0)>. ])/|. X=

Re: [Jprogramming] Rank Nesting

2013-06-22 Thread Don Guinn
Extending your relationship slightly: v"a"b <=> v"(a <. b <. (v b. 0)) where a and b are three integers each to match the rank of v. This determines the rank in which v is executed; however, the expression v"a"b will have rank b when used in an expression. v=:(<@i."0)"1 'x';v 3 2 +-+

Re: [Jprogramming] Rank Nesting

2013-06-22 Thread Raul Miller
Here's the same kind of example without the error: $(i.3)(+"0"0 _)i.3 3 3 $(i.3)(+"0)i.3 3 FYI, -- Raul On Sat, Jun 22, 2013 at 1:57 AM, Michal D. wrote: > By taking the minimum rank I mean: > > v"a b"c d <=> v"(a b <. c d) > > Interesting Raul, thanks for pointing that one out