Re: [Bug-apl] Proposal for initial multicore support

2014-03-10 Thread Elias Mårtenson
Hello David, You misunderstood (or more likely, I wan't very clear about) what I meant about the job construction. I was merely using the EACH operator together with a lambda to illustrate the different ways a simple expression such as *1+2×A* can be decomposed. My first example illustrates how s

Re: [Bug-apl] What is the daemon mode?

2014-03-10 Thread Juergen Sauermann
Hi, seems like the parent closes stdin/cin. Have to find out why. /// Jürgen On 03/10/2014 05:01 PM, baruc...@gmx.com wrote: Hi, I tried to figure out how to enable the daemon mode and how to use it, but with no success; first of all, does it work? Each time I try to enable it, I have an inf

Re: [Bug-apl] Proposal for initial multicore support

2014-03-10 Thread David Lamkins
That's a good analysis of the larger landscape, Elias. Thanks for posting. I intend to avoid many of those issues by working on the (I think) simplest case of scalar functions that don't reshape the result. That obviously doesn't help with the more general cases... Regarding your first example of

[Bug-apl] What is the daemon mode?

2014-03-10 Thread baruchel
Hi, I tried to figure out how to enable the daemon mode and how to use it, but with no success; first of all, does it work? Each time I try to enable it, I have an infinite loop with the )OFF message. Regards, -- Thomas Baruchel

Re: [Bug-apl] Proposal for initial multicore support

2014-03-10 Thread Elias Mårtenson
This is something that I have been thinking about as well. And the thing that mostly concerns me is how multiple operations can be optimised. Part of that thinking is actually part of my idea to keep track of temporary objects so that they can be modified in-place. The core of that was already impl

Re: [Bug-apl] Ideas for an online demo-version of GNU APl

2014-03-10 Thread Juergen Sauermann
Hi, I have added a --safe command line option that disables shared variables, native functions, and the )HOST command. SVN 160. /// Jürgen On 03/10/2014 12:45 PM, Elias Mårtenson wrote: I can set it up for testing purposes. I already have some servers available. Would it be possible to ad

Re: [Bug-apl] Assertion error when typing ()

2014-03-10 Thread Juergen Sauermann
Hi Elias, thanks, fixed in SVN 160. /// Jürgen On 03/09/2014 05:46 PM, Elias Mårtenson wrote: After some playing around, I just decided to type an opening and closing paren: *()* I then got the following error (trying again after restarting will not reproduce the error): Assert

Re: [Bug-apl] Ideas for an online demo-version of GNU APl

2014-03-10 Thread Juergen Sauermann
Hi, yes, I can add a --safe command line option. Shared variables can already be disabled with --noSV. /// Jürgen On 03/10/2014 12:45 PM, Elias Mårtenson wrote: I can set it up for testing purposes. I already have some servers available. Would it be possible to add a flag that enables "

Re: [Bug-apl] Proposal for initial multicore support

2014-03-10 Thread Juergen Sauermann
Hi David, I think your ideas are correct. I have planned multicore support for GNU APL 1.4 and every help is welcome. Actually parallel processing was one of the main reasons for me to write GNU APL. I published a Ph.D thesis "A parallel APL computer" (in German) back in 1990. We had built a

Re: [Bug-apl] Ideas for an online demo-version of GNU APl

2014-03-10 Thread Elias Mårtenson
I can set it up for testing purposes. I already have some servers available. Would it be possible to add a flag that enables "safe mode"? This would restrict the availability of shared variables and native functions? Regards, Elias On 10 Mar 2014 19:19, "Juergen Sauermann" wrote: > Hi Thomas, >

Re: [Bug-apl] Ideas for an online demo-version of GNU APl

2014-03-10 Thread Juergen Sauermann
Hi Thomas, nice idea, we should try that. I believe that it should already be possible to start GNU APL from eg. an apache web-server; the missing piece could be the backward direction (user input -> webserver). Security should not be too hard on linux systems. A problem remaining is where to