[Bug-apl] Request for enhancement

2015-07-23 Thread Fred Weigel
) could be expanded to 0.33.. (as many as needed to fill the precision). 2.1(overbar)2(overbar) should become 2.121212... (as many as needed). Of course, I am be insane (my mother never had me tested). Fred Weigel

Re: [Bug-apl] Prime Performance and others

2015-08-28 Thread Fred Weigel
Juergen I just built 664 -- the performance of the factorial 300 that Mike Duvos posted has indeed improved enormously - now running 8 seconds instead of 20 on my reference platform. In line with expectations from Elias' profiling results. Very well done! FredW

[Bug-apl] Near Proof of concept of an )edit somefunction_name

2016-03-21 Thread Fred Weigel
a workspace. howdel is a reminder of the features of the del editor (and some tricks, like capturing interactive for definition). Fred Weigel #!/usr/local/bin/apl --script ⍝ ⍝ These functions are written as a sample extension of the Toronto ⍝ Toolkit. "explain 'xed'" w

[Bug-apl] Defect in 722 and 723

2016-04-26 Thread Fred Weigel
A defect was introduced in revision 722. In libapl.cc, line 410, a parameter "false" should be added. FredW

[Bug-apl] Not a bug, need help coding search&replace on a vector

2016-06-21 Thread Fred Weigel
Christian Robert For this, try the "toronto toolkit" in our bits&pieces. There is a function "condense" ' ' condense '  a b   c d  ' a b c d Which is what you want (I think). Uses ∆db (delete blanks). Preferable to get from the toolkit -- functions reproduced below. ∇y←d condense v;b  ⍝remove

[Bug-apl] Not a bug, need help coding search&replace on a vector

2016-06-21 Thread Fred Weigel
An alternative (from hans-peter sorge from this list, april 13, 2016). Careful though, this does have some edge conditions which will bite:  ⍝replace with ( is 2 elements) in string  ⍝.k text-editing  ⍝.n hans-peter sorge  ⍝.t 2016.4.13.0.0.0  ⍝.v 1.0 / 13apr16  r←((0=⍴z)/a),z←∊((e×⍴v)↑¨⊂v),¨((⍴

[Bug-apl] Windows Linux Subsystem

2016-08-03 Thread Fred Weigel
Mike Sure, why not try? Indeed, as I understand it, this will run linux binaries. You will need: libpthread.so.0 => /lib64/libpthread.so.0 (0x7fdeabe6c000) libncurses.so.6 => /lib64/libncurses.so.6 (0x7fdeabc42000) libtinfo.so.6 => /lib64/libtinfo.so.6 (0x7fde

[Bug-apl] 2 Defects in 81x

2016-12-13 Thread Fred Weigel
protected:" line in Simple_string.hh Defect 2: In Parallel.cc, there is a call all_CPUs.resize(count). With the current Simple_string.hh this does not work. Easiest fix is to change to all_CPUs.shrink(count) Fred Weigel

Re: [Bug-apl] 2 Defects in 81x

2016-12-14 Thread Fred Weigel
Jürgen Appears that both the libapl and parallel compilation are ok now. Thanks! I am beginning to scale out some problems. Will have to (either) automatically parallel, or do it manually. Just beginning to work in that space. So far, you are right (just a slight benefit), but I haven't yet ha

[Bug-apl] 844 Build Issue

2017-01-11 Thread Fred Weigel
Juergen I just updated from 838 to 844. I (primarily) use libapl.so. This does not work -- libapl needs an update. But, the easiest fix is SharedValuePointer.hh. Line 52, comment out the protected: libapl uses decrement_owner_count() and increment_owner_count() Fred Weigel

Re: [Bug-apl] Free APL reference documentation, any takers?

2017-04-17 Thread Fred Weigel
Elias, Juergen I use the "Toronto Toolkit" convention, which looks like this: ∇y←x adjust d;⎕IO;ex;i;line;lmrg;pw;w  ⍝adjust each row of matrix according to parameters  ⍝.e ('/' ∆box 'please do not  / enter') = 15 adjust 'please do not enter'  ⍝.k formatting  ⍝.n rml  ⍝.t 1992.4.24.14.4.17  ⍝.v

[Bug-apl] )HELP for defined functions

2017-04-20 Thread Fred Weigel
Juergen The help extraction works beautifully! I am making a change to toolkit to change first line of each comment to double-lamp (because that works perfectly). And this gives great help when working interactively! Again, many thanks! FredW

[Bug-apl] wsid backups

2017-04-22 Thread Fred Weigel
Don't )DROP the .bak files as well!! If that is done, the DROP cannot be undone! As it is, if the .bak is needed, special consideration is needed; this should not be considered a "normal" case. So, the existing behaviour is good. The important thing is consistency. Just my 2c FredW

[Bug-apl] Use with word2vec

2017-04-28 Thread Fred Weigel
;big data" and AI applications. Just looking for some input and ideas here. Many thanks Fred Weigel

[Bug-apl] Use with word2vec

2017-04-28 Thread Fred Weigel
;big data" and AI applications. Just looking for some input and ideas here. Many thanks Fred Weigel

Re: [Bug-apl] Use with word2vec

2017-04-29 Thread Fred Weigel
ne is much larger. Fred Weigel On Fri, 2017-04-28 at 21:32 -0400, Xiao-Yong Jin wrote: > If shared variables can go through SHMEM, you can probably interface > cuda that way without much bottle neck. > But with the way GNU APL is implemented now, there are just too many > other limitatio

Re: [Bug-apl] Use with word2vec

2017-04-29 Thread Fred Weigel
9:32 PM >  Subject: Re: [Bug-apl] Use with word2vec >    > >   > If shared variables can go through SHMEM, you can probably interface > cuda that way without much bottle neck. > But with the way GNU APL is implemented now, there are just too many > other limitations

Re: [Bug-apl] Use with word2vec

2017-04-30 Thread Fred Weigel
vide for something I can start with -- the actual LARGE arrays won't changeso this provides a good demark point and start for something workable.  Thanks!Fred Weigel On Sat, 2017-04-29 at 13:04 +0200, Juergen Sauermann wrote: > Hi Fred, > >    > >   I have not fu

[Bug-apl] 950 )HELP Issue, and mem.cc

2017-05-16 Thread Fred Weigel
I am working with this currently, and when I get some experience will try to graft into some of the primitives. But this gives an idea of what I was talking a

[Bug-apl] More word2vec

2017-05-25 Thread Fred Weigel
alls). The sparse datasets will be for tensor support. Again, feedback is welcome. I haven't yet implemented any of the tensor stuff -- right now, concentrating on tooling issues (I like APL for this work). Fred Weigel

[Bug-apl] 956 Command.cc issue

2017-06-08 Thread Fred Weigel
intended. I propose: if ((a > 1) && (args_ucs[a - 1] == '.') && (args_ucs[a - 2] == '.')) many = true; That works (try the command )HOST ls -l for a quick test case). Fred Weigel

[Bug-apl] Dyalog 16.0

2017-06-30 Thread Fred Weigel
Dyalog 16.0 has incorporated cef. I have also (somewhat over 6 months ago), incorporated cef into GNU APL. I use it for some interface stuff. Only tested on Linux 64 bit (but the underlying native library works on Windows 64 bit as well -- I have no plans for Mac). Is there any interest in this wor

[Bug-apl] Issues building with GCC 8.1.1

2018-05-23 Thread Fred Weigel
A->get_int_value(); should be APL_Integer a = A->get_int_value(); (these, because of a = -a and b = -b) Fred Weigel

Re: [Bug-apl] Issues building with GCC 8.1.1

2018-05-24 Thread Fred Weigel
ed as errors make[3]: *** [Makefile:1176: libapl_la-Archive.lo] Error 1 Fred Weigel On Thu, 2018-05-24 at 13:53 +0200, Juergen Sauermann wrote: > Hi Fred, > > thanks, hopefully fixed in SVN 1051. > > The -Wclass-memaccess warning is not documented in the gcc 8,1 > manual, therefore >