Re: Memory usage
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 hacks, and as a script is fully embeddable: http://livecodejournal.com/tutorials/handy-handlers-005.html I wouldn't recommend it for data requiring really strong security, but the sort of person able to crack it is likely able to do a memory dump, so it's probably no less secure than limiting stacks to RAM. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Memory usage
On 7/3/13 5:19 PM, Monte Goulding wrote: On 04/07/2013, at 8:16 AM, Devin Asay devin_a...@byu.edu 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 still maintain programming efficiencies. Encrypting stacks written to disk for one. 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... Yeah, same one. I can't use anything useful. On the bright side, it makes you creative. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Memory usage
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.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Memory usage
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 a PC with 2GB RAM (video decoding only requires enough RAM for the codec and a few frames at a time). If it really is a problem (e.g. much less than 2GB available) and you can't cache stacks to the disk then you could write your own in memory caching system that destroys the least recently used one when you go past a certain number of stacks downloaded. That's what I wanted to hear, thanks. Deleting the oldest files is actually in their specs but I didn't want to have to track that. They have some ancient, decrepit Windows machines to test on so I think we'll find out soon enough if I'm worrying for nothing. I hope so. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Memory usage
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 encryption script can at least slow down hacks, and as a script is fully embeddable: http://livecodejournal.com/tutorials/handy-handlers-005.html I wouldn't recommend it for data requiring really strong security, but the sort of person able to crack it is likely able to do a memory dump, so it's probably no less secure than limiting stacks to RAM. I'd forgotten all about that. Yes, that would be an option. I'll file it away (again). BTW, RR recently removed the ability to see scripts in a memory dump. :) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Memory usage
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 would obviate some of the steps needed for execution. But if they're merely encrypting the scripts at runtime, that would of course slow things down. If the former, how much more could be done to further approach true machine-code speeds? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Fwd: post,get,etc Jason to URL on android
Subject: post,get,etc Jason to URL on android To: use-livecode@lists.runrev.com hi guys, i try to develop a mobile app for android/ios using the apis of a web application. it expects a Login like this: { username:xx,password:yy } i already set the http Header to application/json and it works in the ide... but it Shows no function on android/ empty Response. vBody is the Jason abpve and URL the url *post* vBody to url vUrl *put* it into eUrl *answer* eUrl would be glad if someone could Point me into the right direction -- Otto Kowalski ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Regular expressions
I like general utility functions like this. I've written this one myself somewhere in the past. When we can tinker with the language this will definitely be in my lexicon. On Thu, Jul 4, 2013 at 10:08 AM, Peter M. Brigham pmb...@gmail.com wrote: function offsets str,container,includeOverlaps ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Memory usage
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 ambassa...@fourthworld.com wrote: 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 would obviate some of the steps needed for execution. But if they're merely encrypting the scripts at runtime, that would of course slow things down. If the former, how much more could be done to further approach true machine-code speeds? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: post,get,etc Jason to URL on android
Sounds like you need to: libUrlSetSSLVerification false On Thu, Jul 4, 2013 at 3:02 PM, Otto Kowalski kowalskiotto...@googlemail.com wrote: Subject: post,get,etc Jason to URL on android To: use-livecode@lists.runrev.com hi guys, i try to develop a mobile app for android/ios using the apis of a web application. it expects a Login like this: { username:xx,password:yy } i already set the http Header to application/json and it works in the ide... but it Shows no function on android/ empty Response. vBody is the Jason abpve and URL the url *post* vBody to url vUrl *put* it into eUrl *answer* eUrl would be glad if someone could Point me into the right direction -- Otto Kowalski ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Regards, Andrew Kluthe and...@ctech.me ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode