Re: [Jprogramming] Execution with time limit

2012-09-19 Thread Gilles Kirouac
Henry Did you look at 9!:32 33? It may not have the wanted granularity under Windows though. ~ Gilles -- Original Message --- From: Henry Rich To: Programming forum Sent: Wed, 19 Sep 2012 16:30:33 -0400 Subject: [Jprogramming] Execution with time limit > I have uses for

Re: [Jprogramming] cut y in segments of each size being x's items

2012-09-19 Thread Raul Miller
Here's how that example looks with all the pieces in place: 2 3 1 1 ([ (*@[ #inv ] wrote: > Raul, What causes the problem when you replace [ with 2 3 1 1 and > ] by i.7 ? I thought it might work if I removed @ but it didn't help. > >takecut=: [ (*@[ #inv ] 2 3 1 1 takecut i.7 >

Re: [Jprogramming] cut y in segments of each size being x's items

2012-09-19 Thread km
Linda, the first set of parentheses in takecut encloses a verb I'll name Sam. The [ and ] inside Sam refer to Sam's arguments, which may not be the same as the arguments to takecut. Kip Murray Sent from my iPad On Sep 19, 2012, at 9:25 PM, "Linda Alvord" wrote: > Raul, What causes the prob

Re: [Jprogramming] addon format/zulu

2012-09-19 Thread Brian Schott
No, whenever is fine. Thanks, again. On Wed, Sep 19, 2012 at 10:35 PM, bill lam wrote: > That was added to J602 at the same time but I forgot to add it into > the build script hence un-available in the base library update. Now > it has been fixed and will be available in the next base library >

Re: [Jprogramming] addon format/zulu

2012-09-19 Thread bill lam
That was added to J602 at the same time but I forgot to add it into the build script hence un-available in the base library update. Now it has been fixed and will be available in the next base library update. If you want it sooner please ask Chris to rebuild the base library. Срд, 19 Сен 2012, B

Re: [Jprogramming] cut y in segments of each size being x's items

2012-09-19 Thread Linda Alvord
Raul, What causes the problem when you replace [ with 2 3 1 1 and ] by i.7 ? I thought it might work if I removed @ but it didn't help. takecut=: [ (*@[ #inv ] mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Raul Miller Sent: Tuesday, September 18, 2012 10:12 AM To: progra

Re: [Jprogramming] addon format/zulu

2012-09-19 Thread Brian Schott
Thank you. That's nice. I can barely use JGTK. Can it be added to J602? On Wed, Sep 19, 2012 at 8:06 PM, bill lam wrote: > the nn1 lab should had been already been added to j701 jgtk labs since > june 2011. > > Срд, 19 Сен 2012, Brian Schott писал(а): >> I have a Lab at the following link that us

Re: [Jprogramming] addon format/zulu

2012-09-19 Thread bill lam
the nn1 lab should had been already been added to j701 jgtk labs since june 2011. Срд, 19 Сен 2012, Brian Schott писал(а): > I have a Lab at the following link that uses PREPARE quite a bit to > load script snippets that are especially focused on the Lab. Does its > use of PREPARE offend? My thoug

[Jprogramming] Execution with time limit

2012-09-19 Thread Henry Rich
I have uses for a conjunction u (6!:4) n defined as 'execute u, but give a timeout error if execution lasts more than n seconds'. I can see 2 uses: first, my immediate need, where I want to run lint on a program that has a long-running sequence. I would like to halt execution of any verb that

Re: [Jprogramming] addon format/zulu

2012-09-19 Thread Eric Iverson
The old lab system was great in its time. I now think we'd be better off with a simpler and more direct mechanism. I've taken a stab at the direction I think we should go the the 'simple project managed execution' facility in JHS (which can be used in any front end). I think it makes for adeguate,

Re: [Jprogramming] addon format/zulu

2012-09-19 Thread Brian Schott
I have a Lab at the following link that uses PREPARE quite a bit to load script snippets that are especially focused on the Lab. Does its use of PREPARE offend? My thought is that the scripts and definitions in the PREPARE section are all available in the .ijt file to everyone for my Labs. Also, I

Re: [Jprogramming] addon format/zulu

2012-09-19 Thread Don Guinn
I completely agree. That is the difference of good use and bad use of PREPARE. What I disagree with is that PREPARE should be removed because it is possible to use it for sinister purposes. On Wed, Sep 19, 2012 at 7:03 AM, Raul Miller wrote: > The big risk from PREPARE is the risk that the learn

Re: [Jprogramming] addon format/zulu

2012-09-19 Thread Raul Miller
The big risk from PREPARE is the risk that the learner will not be able to reproduce their results outside of the lab, making the lab somewhat useless. I can see PREPARE being useful if it's enabling a UI that the lab exploits. However, I think that the use of PREPARE to do things that make the s

Re: [Jprogramming] addon format/zulu

2012-09-19 Thread Don Guinn
The labs are easily reviewed by anyone. PREPARE simply lets us get on with the subject to learn without getting distracted by unrelated detail. As we all know from the problems with viruses and so on, there are many better places to hide bad stuff. On Sep 18, 2012 11:37 PM, "bob therriault" wrot