Re: [Bug-apl] [bug-apl] SVN 346 APserver error on startup

2014-06-30 Thread Juergen Sauermann
Hi, I added some printouts showing port numbers involved in the start-up of *apl* and *APserver*. *APnnn* shall not be started manually. I also did a bind() on the client TCP socket even though that should not make a difference (but who knows?). To see these printouts start *APserve*r with

[Bug-apl] Not-identical-to

2014-06-30 Thread Elias Mårtenson
Now that we have ≢ (not-identical-to) in the keymap, would it make sense to implement support for it as well? As far as I know, it only has a dyadic form which is the inverse of ≡. Regards, Elias

Re: [Bug-apl] ]KEYBOARD patch

2014-06-30 Thread Juergen Sauermann
Hi David, thanks, I have added an optional layout number to the ]KEYB command, see SVN 349. I have not changed the default display of ]KEYB because ⍷ is not a standard GNU APL operator (although accepted on input) and cut-and-paste from the default ]KEYB output would be messed up. Just do:

Re: [Bug-apl] Complete layout and config for WASD custom APL keyboard

2014-06-30 Thread Juergen Sauermann
Hi Blake, I have added your files to: support-files/WASD, SVN 350. Thanks for producing them. Please keep an eye on the files to make sure that they all are up-to-date (I lost the overview after all the keyboard/character related emails lately). /// Jürgen On 06/18/2014 03:55 AM, Blake McBr

Re: [Bug-apl] Keymap and underlined ⍺ and ⍵

2014-06-30 Thread Juergen Sauermann
Hi Blake, since the physical keycaps of the Dyalog keyboard shows ! and not ¡ we should leave matters as they are in order to not confuse the user. /// Jürgen On 06/29/2014 11:12 PM, Blake McBride wrote: Thanks. The ]KEYBOARD command now matches my keyboard. Subsequent to creating my Dya

Re: [Bug-apl] Keymap and underlined ⍺ and ⍵

2014-06-30 Thread Juergen Sauermann
Hi Blake, I removed ⍫ from SHIFT-ALT-G. I left ⍙ on the SHIFT-ALT-H key because in my opinion SHIFT-ALT-. makes no sense at all, while ⍙ = SHIFT-∆ does. So the keyboard layout shown in ]KEYB and also the config files shipped with GNU APL have ⍙ in two places. /// Jürgen On 06/29/2014 11

Re: [Bug-apl] ]KEYBOARD patch

2014-06-30 Thread David Lamkins
Nice. Thank you. BTW, there's still an extra space after ≢ in both ]KEYB 0 and ]KEYB 1. On Mon, Jun 30, 2014 at 7:43 AM, Juergen Sauermann < juergen.sauerm...@t-online.de> wrote: > Hi David, > > thanks, I have added an optional layout number to the ]KEYB command, see > SVN 349. > > I have not

Re: [Bug-apl] ]KEYBOARD patch

2014-06-30 Thread Juergen Sauermann
Hi David, thanks, fixed in SVN 352. /// Jürgen On 06/30/2014 06:35 PM, David Lamkins wrote: Nice. Thank you. BTW, there's still an extra space after ≢ in both ]KEYB 0 and ]KEYB 1. On Mon, Jun 30, 2014 at 7:43 AM, Juergen Sauermann mailto:juergen.sauerm...@t-online.de>> wrote: Hi Da

Re: [Bug-apl] Patch to show directories in )LIB and ]LIB

2014-06-30 Thread David Lamkins
Here's an improved patch that also sorts ]LIB output. On Sun, Jun 29, 2014 at 7:34 PM, David B. Lamkins wrote: > Since )LIB and ]LIB will accept path names, I thought that it would be > useful for them to display directories. > > Patch attached. > > Notes: > > 1) You must specify an absolute p

Re: [Bug-apl] ]KEYBOARD patch

2014-06-30 Thread David Lamkins
On Mon, Jun 30, 2014 at 7:43 AM, Juergen Sauermann < juergen.sauerm...@t-online.de> wrote: > > I have not changed the default display of ]KEYB because ⍷ is not a > standard GNU APL > operator (although accepted on input) and cut-and-paste from the default > ]KEYB output > would be messed up. > I

[Bug-apl] Mastering Dyalog APL - link outdated

2014-06-30 Thread David Lamkins
In README-7-more-info, the link to Mastering Dyalog APL now redirects to the Dyalog home page. Use this link instead: http://www.dyalog.com/mastering-dyalog-apl.htm -- "The secret to creativity is knowing how to hide your sources." Albert Einstein http://soundcloud.com/davidlamkins http://r

[Bug-apl] Some thoughts regarding optimization of memory allocation

2014-06-30 Thread David Lamkins
This is a long post. Part one is background to motivate the implementation outline in part two. If you already understand order analysis (i.e. the asymptotic analysis of program runtime), then you already understand everything I'll say in Part 1; you can skip to Part 2. Part 1 - Motivation So lon

Re: [Bug-apl] Some thoughts regarding optimization of memory allocation

2014-06-30 Thread David B. Lamkins
Again: proofread, *then* post... Sorry. :( - To clarify: Part 2 is not really an implementation outline, but rather a discussion of techniques. - The test.apl file test2 function doesn't implement "double and copy", but rather "preallocate all". This is a much simpler case. Here's the "double a

Re: [Bug-apl] Some thoughts regarding optimization of memory allocation

2014-06-30 Thread Elias Mårtenson
This is an interesting approach, to have the interpreter automatically apply the typical memory allocation optimisations rather than you having to do it yourself. That said, I think it needs to be a bit more clever. There are many occurrences where one appends a single element to a large array. If

Re: [Bug-apl] [bug-apl] SVN 346 APserver error on startup

2014-06-30 Thread Elias Mårtenson
Thank you. I tried to use the -l flag for apl, but it says the argument is not accepted. $ dist/bin/apl -l37 unknown option '-l37' Regards, Elias On 30 June 2014 22:26, Juergen Sauermann wrote: > Hi, > > I added some printouts showing port numbers involved in the start-up of > *apl* and *APs