Re: [Jprogramming] Executing Locked Scripts from Nouns

2015-10-23 Thread Raul Miller
gt; boun...@forums.jsoftware.com] On Behalf Of Raul Miller >> Sent: vrijdag 23 oktober 2015 2:11 >> To: Programming forum >> Subject: Re: [Jprogramming] Executing Locked Scripts from Nouns >> >> On Thu, Oct 22, 2015 at 7:55 PM, 'Pascal Jasmin' via Program

Re: [Jprogramming] Executing Locked Scripts from Nouns

2015-10-23 Thread R.E. Boss
Re: [Jprogramming] Executing Locked Scripts from Nouns > > On Thu, Oct 22, 2015 at 7:55 PM, 'Pascal Jasmin' via Programming > wrote: > > the simple workaround is write it to a file, load, then erase the file. > > That is what Eric Iverson suggested also: > >

Re: [Jprogramming] Executing Locked Scripts from Nouns

2015-10-22 Thread Raul Miller
On Thu, Oct 22, 2015 at 7:55 PM, 'Pascal Jasmin' via Programming wrote: > the simple workaround is write it to a file, load, then erase the file. That is what Eric Iverson suggested also: > On Thu, Oct 22, 2015 at 4:42 PM, Eric Iverson > wrote: >> I suggest reading the file when you have acces

Re: [Jprogramming] Executing Locked Scripts from Nouns

2015-10-22 Thread 'Pascal Jasmin' via Programming
r is a secret hash function. - Original Message - From: Raul Miller To: Programming forum Cc: Sent: Thursday, October 22, 2015 7:01 PM Subject: Re: [Jprogramming] Executing Locked Scripts from Nouns I guess I didn't go looking for the locked script support. Of course, you

Re: [Jprogramming] Executing Locked Scripts from Nouns

2015-10-22 Thread Raul Miller
I guess I didn't go looking for the locked script support. Of course, you could also implement something in user space. For example: ode=: (&.((8#2)&#:))(&.(a.&i.)) enc=: (_8 ]\[)@,@|:ode dec=: |:@($~ 8,#%8:)@,ode enc dec 'sum=:+/' sum=:+/ More elaborate possibilities exist, and of

Re: [Jprogramming] Executing Locked Scripts from Nouns

2015-10-22 Thread Eric Iverson
I suggest reading the file when you have access and then using a temp file later on when you need to load it. This is an adequate workaround to what has always been a kludgey area. It is unlikely that Jsoftware has interest in 'bug fixes' in this particular area. We will likely, by year end, do a

Re: [Jprogramming] Executing Locked Scripts from Nouns

2015-10-22 Thread Raul Miller
I get 0!:1]3!:6 'sum=:+/' � |open quote | � But, anyways, the source code for the interpreter is available, if you want to change how this works. (Get it working for yourself, or submit your changes back... either way...) -- Raul On Thu, Oct 22, 2015 at 12:40 PM, Thomas Costigliola

Re: [Jprogramming] Executing Locked Scripts from Nouns

2015-10-22 Thread Dan Bron
I reported this as a bug years ago. No rationale I can think of, except perhaps “unlocking” is done by the frontend, as opposed to the engine? -Dan > On Oct 22, 2015, at 12:40 PM, Thomas Costigliola wrote: > > Attempting to run a locked script from a noun doesn't work: > > 0!:1]3!:6 'sum=:

[Jprogramming] Executing Locked Scripts from Nouns

2015-10-22 Thread Thomas Costigliola
Attempting to run a locked script from a noun doesn't work: 0!:1]3!:6 'sum=:+/' � |spelling error | � I understand there might not have been an apparent use case for this, but is there a technical or security reason for the restriction? I need to read the contents of a locked script into a