Re: Memory usage

2013-07-05 Thread Dar Scott
There is no harm in using SHA1 in a scrambling/encrypting function of this type. The longer key might make it harder to crack. (Redoing the key based on the previous key every so-many characters might also help.) However, there is a tiny way in which MD5 is better. It is faster. That might

Re: Memory usage

2013-07-05 Thread J. Landman Gay
On 7/5/13 8:00 AM, Bernard Devlin wrote: Jacques, Since your client has the requirement of no externals, I think there is still one way to encrypt the data, using nothing but the engine. Isn't it the case that if you store data as custom properties in password-protected stacks that the custom p

Re: Memory usage

2013-07-05 Thread Richard Gaskin
Peter M. Brigham wrote: > On Jul 4, 2013, at 9:53 AM, Richard Gaskin wrote: >> >> While not nearly as secure as Blowfish (not by a long shot), this >> modest encryption script can at least slow down hacks, and as a >> script is fully embeddable: >>

Re: Memory usage

2013-07-05 Thread Bernard Devlin
Jacques, Since your client has the requirement of no externals, I think there is still one way to encrypt the data, using nothing but the engine. Isn't it the case that if you store data as custom properties in password-protected stacks that the custom property data is encrypted? I think you can

Re: Memory usage

2013-07-05 Thread Peter M. Brigham
On Jul 4, 2013, at 9:53 AM, Richard Gaskin wrote: > Monte Goulding wrote: > > If this is the same project I think it is then she can't use > > encryption because she can't use any externals... nothing but > > the executable is allowed... > > While not nearly as secure as Blowfish (not by a long s

Re: Memory usage

2013-07-04 Thread J. Landman Gay
I'm not sure how it's done exactly. Mark Waddingham mentioned it to me at the last conference, he just said it was no longer possible to read the code from memory. I didn't even ask what version but I got the impression it was a recent change. Richard Gaskin wrote: >J. Landman Gay wrote

Re: Memory usage

2013-07-04 Thread Richard Gaskin
J. Landman Gay wrote: BTW, RR recently removed the ability to see scripts in a memory dump. :) Which version? The implications are interesting: does it make things faster or slower? If they're only saving a tokenized form of the script that would seem likely to make things faster, as it wou

Re: Memory usage

2013-07-04 Thread J. Landman Gay
On 7/4/13 8:53 AM, Richard Gaskin wrote: Monte Goulding wrote: > If this is the same project I think it is then she can't use > encryption because she can't use any externals... nothing but > the executable is allowed... While not nearly as secure as Blowfish (not by a long shot), this modest

Re: Memory usage

2013-07-04 Thread J. Landman Gay
On 7/4/13 2:52 AM, Mark Wilcox wrote: jac...@hyperactivesw.com wrote: You're a good guesser. I just asked, and the client thinks a 2-gig average is about right. From what you described of the memory usage of your system, it's not going to get even remotely close to needing swap on

Re: Memory usage

2013-07-04 Thread J. Landman Gay
On 7/3/13 5:22 PM, Devin Asay wrote: Hey, just make up your own encryption scheme. I know a good one-- A=1, B=2, C=3, etc. ;-) It's even harder if you offset those by 2: A=3, B=4. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.

Re: Memory usage

2013-07-04 Thread J. Landman Gay
On 7/3/13 5:19 PM, Monte Goulding wrote: On 04/07/2013, at 8:16 AM, Devin Asay wrote: But now we're getting into semantics, right? Because if you use up all your RAM the OS is going to start spooling stuff onto the hard drive. Seems like there are all kinds of safeguards you could put in plac

Re: Memory usage

2013-07-04 Thread Richard Gaskin
Monte Goulding wrote: > If this is the same project I think it is then she can't use > encryption because she can't use any externals... nothing but > the executable is allowed... While not nearly as secure as Blowfish (not by a long shot), this modest encryption script can at least slow down ha

Re: Memory usage

2013-07-04 Thread Mark Wilcox
jac...@hyperactivesw.com wrote: >> You're a good guesser. I just asked, and the client thinks a 2-gig average >> is about right. >From what you described of the memory usage of your system, it's not going to >get even remotely close to needing swap on a PC with 2G

Re: Memory usage

2013-07-03 Thread Monte Goulding
On 04/07/2013, at 8:22 AM, Devin Asay wrote: > Hey, just make up your own encryption scheme. I know a good one-- A=1, B=2, > C=3, etc. ;-) Ah.. everyone knows how to crack that one now Devin ;-) -- Monte Goulding M E R Goulding - software development services mergExt - There's an external fo

Re: Memory usage

2013-07-03 Thread Devin Asay
On Jul 3, 2013, at 4:19 PM, Monte Goulding wrote: > > On 04/07/2013, at 8:16 AM, Devin Asay wrote: > >> But now we're getting into semantics, right? Because if you use up all your >> RAM the OS is going to start spooling stuff onto the hard drive. Seems like >> there are all kinds of safegua

Re: Memory usage

2013-07-03 Thread Monte Goulding
On 04/07/2013, at 8:16 AM, Devin Asay wrote: > But now we're getting into semantics, right? Because if you use up all your > RAM the OS is going to start spooling stuff onto the hard drive. Seems like > there are all kinds of safeguards you could put in place to protect their > content and st

Re: Memory usage

2013-07-03 Thread Devin Asay
On Jul 3, 2013, at 2:25 PM, J. Landman Gay wrote: > On 7/3/13 1:53 PM, Devin Asay wrote: > >> Why not set the destroyStack to true, and save the stacks as they are >> downloaded from the server to specialFolderPath("temporary")? Then >> they would open quickly when re-called. You could make sure

Re: Memory usage

2013-07-03 Thread J. Landman Gay
On 7/3/13 1:49 PM, Dar Scott wrote: My guess is that most computers in schools were purchased 4 years ago (with 20-year bonds) and have memory for OS+Word or OS+Photoshop. So, maybe 2G? This is just a very wild guess. You're a good guesser. I just asked, and the client thinks a 2-gig average

Re: Memory usage

2013-07-03 Thread Richmond
On 07/03/2013 11:28 PM, J. Landman Gay wrote: On 7/3/13 1:49 PM, Dar Scott wrote: I'd like to know that too, especially for school lab computers. I'd also like to know how I should calculate the minimum requirements. Perhaps school districts have guidelines for memory requirements of purcha

Re: Memory usage

2013-07-03 Thread J. Landman Gay
On 7/3/13 1:49 PM, Dar Scott wrote: I'd like to know that too, especially for school lab computers. I'd also like to know how I should calculate the minimum requirements. Perhaps school districts have guidelines for memory requirements of purchased software as well as upgrade/retire memory r

Re: Memory usage

2013-07-03 Thread J. Landman Gay
On 7/3/13 1:53 PM, Devin Asay wrote: Why not set the destroyStack to true, and save the stacks as they are downloaded from the server to specialFolderPath("temporary")? Then they would open quickly when re-called. You could make sure the temporary cache was deleted before quitting. Yeah. But I

Re: Memory usage

2013-07-03 Thread Devin Asay
On Jul 3, 2013, at 12:21 PM, J. Landman Gay wrote: > On 7/3/13 12:29 PM, Paul Looney wrote: >> If Jacque's program is too big to work with 8 G of RAM, an SSD should >> be a trivial expense to run it properly. >> How big IS it? > > It's for students and they will run the app on their own machines

Re: Memory usage

2013-07-03 Thread Dar Scott
> I'd like to know that too, especially for school lab computers. I'd also like > to know how I should calculate the minimum requirements. Perhaps school districts have guidelines for memory requirements of purchased software as well as upgrade/retire memory requirements for computers in place

Re: Memory usage

2013-07-03 Thread Dar Scott
Now, I'm being (half) goofy. You can have a student and homeschool version which limits the student to some number of things being worked on and has a requirement of 4G. You can have a school or teacher or government institution version that has no such limit and has a requirement of 8G. Allo

Re: Memory usage

2013-07-03 Thread J. Landman Gay
On 7/3/13 12:57 PM, Dar Scott wrote: Now, what is typical RAM? I'd like to know that too, especially for school lab computers. I'd also like to know how I should calculate the minimum requirements. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software

Re: Memory usage

2013-07-03 Thread J. Landman Gay
On 7/3/13 12:29 PM, Paul Looney wrote: If Jacque's program is too big to work with 8 G of RAM, an SSD should be a trivial expense to run it properly. How big IS it? It's for students and they will run the app on their own machines. My concern is for students with old machines, or school lab co

Re: Memory usage

2013-07-03 Thread Dar Scott
I just can't remember what it was, but I recently saw an app that would not run at all unless it could perform well. Short of that, you can list system requirements. But maybe (eventually) a commercial app should run well even in typical RAM. Now, what is typical RAM? Dar On Jul 3, 2013

Re: Memory usage

2013-07-03 Thread Paul Looney
Jacque, For as long as I can remember, the developer has been able to specify the OS Version, the amount of RAM, and the amount of disk space required for a program. If the program really requires 16 G of RAM or an SSD, the developer should specify that as well. Small SSDs (60 G) are less than $

Re: Memory usage

2013-07-03 Thread J. Landman Gay
On 7/3/13 12:01 PM, Paul Looney wrote: This is a situation where using an SSD instead of an HD can make a world of difference. Swaps into and out of an SSD take about a tenth the time. Paul Looney A commercial desktop app doesn't have any control over that, unfortunately. -- Jacqueline Landma

Re: Memory usage

2013-07-03 Thread Dar Scott
; >> >> "J. Landman Gay" wrote: >> >>> Can I safely assume that if I load a whole bunch of stacks into >>> RAM, that virtual memory will take care of memory usage for me? >>> >>> M

Re: Memory usage

2013-07-03 Thread Pierre Sahores
stacks into RAM, >>> that virtual memory will take care of memory usage for me? >> >> Yes, but with two caveats: >> >> 1. Swap space is limited, and the OS uses it a lot. In most cases it'll do >> what you need, but it's possible to meet limi

Re: Memory usage

2013-07-03 Thread Paul Looney
If Jacque's program is too big to work with 8 G of RAM, an SSD should be a trivial expense to run it properly. How big IS it? PL On Jul 3, 2013, at 10:22 AM, Richard Gaskin wrote: > Paul Looney wrote: > > > This is a situation where using an SSD instead of an HD can make a > > world of differen

Re: Memory usage

2013-07-03 Thread Richard Gaskin
Paul Looney wrote: > This is a situation where using an SSD instead of an HD can make a > world of difference. > Swaps into and out of an SSD take about a tenth the time. True enough. My first-gen Core i3-powered Dell boots Ubuntu 13.04 in about 9 seconds since I replaced the drive with an SSD

Re: Memory usage

2013-07-03 Thread Paul Looney
of stacks into RAM, >> that virtual memory will take care of memory usage for me? > > Yes, but with two caveats: > > 1. Swap space is limited, and the OS uses it a lot. In most cases it'll do > what you need, but it's possible to meet limits. > > 2. Swap s

Re: Memory usage

2013-07-03 Thread Richard Gaskin
J. Landman Gay wrote: Can I safely assume that if I load a whole bunch of stacks into RAM, that virtual memory will take care of memory usage for me? Yes, but with two caveats: 1. Swap space is limited, and the OS uses it a lot. In most cases it'll do what you need, but it's p

Re: Memory usage

2013-07-03 Thread J. Landman Gay
ed settings to disable it (unlikely). On mobile platforms, no, use too much memory and the OS will kill your app. Mark "J. Landman Gay" wrote: Can I safely assume that if I load a whole bunch of stacks into RAM, that virtual memory will take care of memory usage for me? My project is getti

Re: Memory usage

2013-07-03 Thread Mark Wilcox
AM, >that virtual memory will take care of memory usage for me? > >My project is getting huge. > >-- >Jacqueline Landman Gay | jac...@hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com > >__

Re: Memory usage

2013-07-02 Thread Phil Davis
That would be my guess. Phil On 7/2/13 8:13 PM, J. Landman Gay wrote: Can I safely assume that if I load a whole bunch of stacks into RAM, that virtual memory will take care of memory usage for me? My project is getting huge. -- Phil Davis

Memory usage

2013-07-02 Thread J. Landman Gay
Can I safely assume that if I load a whole bunch of stacks into RAM, that virtual memory will take care of memory usage for me? My project is getting huge. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com

Re: Determining LC Server memory usage?

2013-07-02 Thread Richard Gaskin
Phil Davis wrote: Interesting question, Richard. Here is something I just tried in a quick CGI script. Don't know it gives the memory info we need, but here goes: put "" & word 2 of shell("ps -p" && the processID && "-o rss") & "k" Nice solution. I had forgotten about processID. I was h

Re: Determining LC Server memory usage?

2013-06-30 Thread J. Landman Gay
e it was an inert SC placeholder. Phil On 6/30/13 1:28 PM, Richard Gaskin wrote: Phil's recent thread on LC Server memory usage got me thinking: how can we measure the RAM used by LC Server while it's running? CGI processes generally end too quickly to show up in to

Re: Determining LC Server memory usage?

2013-06-30 Thread Phil Davis
e there's a way to tweak it for better results. Phil On 6/30/13 1:28 PM, Richard Gaskin wrote: Phil's recent thread on LC Server memory usage got me thinking: how can we measure the RAM used by LC Server while it's running? CGI processes generally end too quickly to show up

Determining LC Server memory usage?

2013-06-30 Thread Richard Gaskin
Phil's recent thread on LC Server memory usage got me thinking: how can we measure the RAM used by LC Server while it's running? CGI processes generally end too quickly to show up in top. Any other solutions? -- Richard Gaskin Fourth World LiveCode training and consul