Re: Measuring CGI resource usage

2014-05-14 Thread Simon Smith
Hi Richard Not sure if this would work - creating a daemon from a shell script and using the ps (or top) command to monitor and output everything for the livecode cgi process to text file, that you can then examine. - Simon On Wed, May 14, 2014 at 5:54 PM, Richard Gaskin wrote: > CGI is an unc

Re: IDE oddities (was Re: Error Messages Are Evil)

2014-05-14 Thread Mark Wieder
Devin- The contextual menu that pops up when you right-click on a control is different from the one that pops up when you right-click a stack, which is different from the one that pops up in the Application Browser, which is different from the one that pops up in the Project Browser. Drives. Me.

Unicode Really Does Just Work in LiveCode

2014-05-14 Thread Peter W A Wood
I've come up with a set of tests to use to compare different languages Unicode capabilities. I call them the "Unicode Out Of The Box Tests". At the moment Apple's Cocoa & Objective-C is the top scorer with 15 out of 15. Livecode scores 12 out of 15. Despite what the scores seem to tell, the tea

Re: noob array question

2014-05-14 Thread Igor de Oliveira Couto
On 15 May 2014, at 12:53 pm, Rodney Green wrote: > [...] I can't figure out how to get this ready to be converted to an array. I > have not yet installed any plugins or external files, so I was trying to do > this on my own. In order to 'convert' your json data to a LiveCode array, you will have

Re: noob array question

2014-05-14 Thread Rodney Green
Sorry - please bear with me. When I said noob, I meant it. I was wanting to know how my parsed json should look. I already have the json coming in and I have learned the basics of parsing. My json looks like this: {"results":[{"definition":"before - in front","word":"ante","createdAt":"2014-03-24T

Re: IDE oddities (was Re: Error Messages Are Evil)

2014-05-14 Thread Dr. Hawkins
On Wed, May 14, 2014 at 10:47 AM, Dar Scott wrote: > No sleep. I was getting confused with grouping a group. It can be done, > but I don’t know how with the IDE. Group two things, and delete one. I've stumbled across *empty* groups hanging around in my stacks . . . -- Dr. Richard E. Hawki

Re: noob array question

2014-05-14 Thread Mark Wieder
Igor- Wednesday, May 14, 2014, 4:52:55 PM, you wrote: > A while ago I wrote a JSON parser in LiveCode. The *very heavily > commented* code can be found here: > https://github.com/luxlogica/easyjson > I hope this may be of help! Please do notice, though, that you've had a pull request from me w

Re: Dropbox File Path via Shell Or Similar?

2014-05-14 Thread Stephen MacLean
Forget I wrote that... after seeing the other responses. Best, Steve On May 14, 2014, at 9:41 PM, Stephen MacLean wrote: > Hi Scott, > > If you just want to access the files, that are local to you: > > /Users//Dropbox/ > > It's just like any other folder on your mac. > > You can get that b

Re: Dropbox File Path via Shell Or Similar?

2014-05-14 Thread Stephen MacLean
Hi Scott, If you just want to access the files, that are local to you: /Users//Dropbox/ It's just like any other folder on your mac. You can get that by doing Command - i or get Info Best, Steve On May 14, 2014, at 4:33 PM, Scott Rossi wrote: > > On 5/14/14 12:55 PM, "J. Landman Gay" wro

Re: noob array question

2014-05-14 Thread Richard Gaskin
Igor de Oliveira Couto wrote: > I released the code quite specifically in the public domain - there > is an accompanying 'License' declaration, with a disclaimer. Thanks for that, and for sharing the code. Very valuable for all of us. > Apart from believing that providing an explicit license i

Re: noob array question

2014-05-14 Thread Igor de Oliveira Couto
On 15 May 2014, at 10:39 am, Alejandro Tejada wrote: > The License file of easyjson reads: License This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as

Re: noob array question

2014-05-14 Thread Igor de Oliveira Couto
On 15 May 2014, at 10:32 am, Richard Gaskin wrote: > Igor de Oliveira Couto wrote: > >> A while ago I wrote a JSON parser in LiveCode. The *very heavily commented* >> code can be found here: >> >> https://github.com/luxlogica/easyjson > > Thanks for that, Igor. > > I'd check it myself but it

Re: noob array question

2014-05-14 Thread Alejandro Tejada
The License file of easyjson reads: @@ -6,6 +6,6 @@ Anyone is free to copy, modify, publish, use, compile, sell, or distribute this __THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A

Re: Does exists LiveCode Server Portable...

2014-05-14 Thread Alejandro Tejada
Richard Gaskin wrote > One of the members of my local Linux User Group, Braddock Gaskill, has > been working on a very nice solution using a wifi hard drive to bring > the Internet into classrooms in areas where they have no Internet > infrastructure - Internet In A Box: > > The device incl

Re: noob array question

2014-05-14 Thread Richard Gaskin
Igor de Oliveira Couto wrote: A while ago I wrote a JSON parser in LiveCode. The *very heavily commented* code can be found here: https://github.com/luxlogica/easyjson Thanks for that, Igor. I'd check it myself but it seems I can't reach GitHub today (I can ping it, but all web URLs just t

Re: Does exists LiveCode Server Portable...

2014-05-14 Thread Richard Gaskin
Glen Bojsza wrote: Is there a actual roadmap for "*Linux ARM build of LiveCode*"? There's no separate Road Map for it yet, and with the team committed to the goals outlined in the Kickstarter campaign it's not their highest priority. But there is a section of the forums devoted to it, where

Re: Does exists LiveCode Server Portable...

2014-05-14 Thread Glen Bojsza
Is there a actual roadmap for "*Linux ARM build of LiveCode*"? Glen > > > Richard Gaskin wrote >> >>> >>> > Once the Linux ARM build of LiveCode is done, it can play a role on > hardware like that. Most folks want that build for Raspberry Pi, but I > have my sights on using in on wifi drives an

Re: noob array question

2014-05-14 Thread Igor de Oliveira Couto
On 15 May 2014, at 7:32 am, Rodney Green wrote: > [...] In attempting to parse some json data I can't find what the final output > should look like. [...] You can view the official JSON specs - very easy to understand - here: http://json.org As you probably already know, JSON documents are pla

Re: Does exists LiveCode Server Portable...

2014-05-14 Thread Richard Gaskin
Alejandro Tejada wrote: Richard Gaskin wrote What do you mean by "portable"? ... Then, mchttpd could work as new starting point for this shelved project: http://runtime-revolution.278305.n4.nabble.com/Looking-for-volunteers-to-create-Wikipedia-on-CD-application-td1288518.html It would be n

RE: Free Proxy Library

2014-05-14 Thread Nakia Brewer
H, might give this a shot. BTW, LiveCloud! This looks awesome! Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au   ACN 009 342 572 -Original Message- From: use-livecode [mailto:use-livecode-bou

Re: Does exists LiveCode Server Portable...

2014-05-14 Thread Alejandro Tejada
Richard Gaskin wrote > What do you mean by "portable"? > Servers run many services, LiveCode being just one. > They also need DNS. So using LC Server under Apache > at a Web host seems a good way to go, no? > > Besides, neither mchttpd nor any other standalone > will do quite what LC Server does

Re: IDE oddities (was Re: Error Messages Are Evil)

2014-05-14 Thread J. Landman Gay
On 5/14/14, 1:04 PM, Devin Asay wrote: I'd like to keep the focus of this thread on things in the LiveCode IDE that are odd, inconsistent, or confusing to the new user. I know there are a hundred things like that. Problem is, I'm so used to working around them that I can't think of what they a

Re: Dropbox File Path via Shell Or Similar?

2014-05-14 Thread J. Landman Gay
Guglielmo to the rescue! -- 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,

Re: Dropbox File Path via Shell Or Similar?

2014-05-14 Thread J. Landman Gay
On 5/14/14, 3:33 PM, Scott Rossi wrote: Pretty sure the cryptic string is based on the filename as it's different for every file in the same folder, Ah. So it is now. The older Public folder, which DB no longer creates by default, did it the other way. My age is showing again. -- Jacqueline

Re: IDE oddities (was Re: Error Messages Are Evil)

2014-05-14 Thread Devin Asay
On May 14, 2014, at 3:31 PM, Alejandro Tejada wrote: > Actually, new users wants that LiveCode IDE > looks and behave as their own favorite > software... > > So a Graphic Designer wants that Livecode looks > and behave like Photoshop, Ilustrator, Flash, etc. > > A MS Office needs that LiveCod

noob array question

2014-05-14 Thread Rodney Green
Hi All, In attempting to parse some json data I can't find what the final output should look like. Should it be something like this?: [{key:value,key:value,key:value},{key:value,key:value,key:value}] Thanks in advance ___ use-livecode mailing list use-

Re: IDE oddities (was Re: Error Messages Are Evil)

2014-05-14 Thread Alejandro Tejada
Actually, new users wants that LiveCode IDE looks and behave as their own favorite software... So a Graphic Designer wants that Livecode looks and behave like Photoshop, Ilustrator, Flash, etc. A MS Office needs that LiveCode adopt all the conventions of these products... The 3D artist wants...

ANN: Free Proxy Library

2014-05-14 Thread Mark Talluto
Hello Everyone. Canela is happy to announce a free library for working with proxies. csLib_Proxy is open source (LGPL 3.0) and is compatible with both Community and Commercial Editions of LiveCode. The library comes with a sample stack to demonstrate how to use the library. You can test your p

Re: Dropbox File Path via Shell Or Similar?

2014-05-14 Thread Roger Eller
>somebody< KNOWS dropbox!!! That somebody is obviously Guglielmo. :) ~Roger On Wed, May 14, 2014 at 4:47 PM, Guglielmo Braguglia wrote: > Are you sure ??? ;) > > Please check the phxDropboxLib.rtf (enclosend into the zip library zip) > ... you will find some useful call : > > - function phx

Re: Dropbox File Path via Shell Or Similar?

2014-05-14 Thread Guglielmo Braguglia
Are you sure ??? ;) Please check the phxDropboxLib.rtf (enclosend into the zip library zip) ... you will find some useful call : - function phx_DropboxCreateLinkToFile pRoot, pPath, pShortURL (https://www.dropbox.com/developers/core/docs#shares) - function phx_DropboxGetFileInfo pRoot, pPa

Re: Dropbox File Path via Shell Or Similar?

2014-05-14 Thread Scott Rossi
On 5/14/14 12:55 PM, "J. Landman Gay" wrote: >On 5/14/14, 1:59 PM, Scott Rossi wrote: >> Right, I'm not looking to upload/download, I'm trying to get a >> Dropbox-formatted file path. > >I had to deal with that in AirLaunch and I don't think it's possible >without asking the user at least once.

Re: Dropbox File Path via Shell Or Similar?

2014-05-14 Thread J. Landman Gay
On 5/14/14, 1:59 PM, Scott Rossi wrote: Right, I'm not looking to upload/download, I'm trying to get a Dropbox-formatted file path. I had to deal with that in AirLaunch and I don't think it's possible without asking the user at least once. After you do that you can generate links using the sa

Re: Dropbox File Path via Shell Or Similar?

2014-05-14 Thread Richard Gaskin
Scott Rossi wrote: Right, I'm not looking to upload/download, I'm trying to get a Dropbox-formatted file path. I can't say I've spent much time looking into it, but AFAIK Dropbox is a protocol, not a mounted file system. If you know the user has DP installed you should be able to write to th

Re: Dropbox File Path via Shell Or Similar?

2014-05-14 Thread Scott Rossi
Right, I'm not looking to upload/download, I'm trying to get a Dropbox-formatted file path. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/14/14 11:51 AM, "Roger Eller" wrote: >On Wed, May 14, 2014 at 2:44 PM, Devin Asay wrote: > >> >> I have a vague recol

Re: Dropbox File Path via Shell Or Similar?

2014-05-14 Thread Scott Rossi
On 5/14/14 11:44 AM, "Devin Asay" wrote: >>I'm wondering if anybody knows a way to programmatically retrieve a >>Dropbox shared file path in LC on OS X. I've looked at dropbox.py but >>apparently that only works on Linux and nowhere else. > >Isn't a .py file just a Python code file? I wonder wh

Re: IDE oddities (was Re: Error Messages Are Evil)

2014-05-14 Thread Devin Asay
On May 14, 2014, at 12:41 PM, Peter Haworth wrote: > One thing that confused the heck out of me at the start is how the menu bar > changes depending on whether a stack or the script editor is in front (this > is on OSX). > > When in the script editor, the menu bar shows File, Edit, Debug, Hand

Re: Dropbox File Path via Shell Or Similar?

2014-05-14 Thread Roger Eller
On Wed, May 14, 2014 at 2:44 PM, Devin Asay wrote: > > I have a vague recollection that someone was working on a Dropbox library, > but my weak mind can't come up with a name. > > Devin > > That was Guglielmo Braguglia who created the lib, and Mike Kerner contributed to the lib also. The library

Re: Dropbox File Path via Shell Or Similar?

2014-05-14 Thread Devin Asay
On May 14, 2014, at 12:25 PM, Scott Rossi wrote: > Hi All: > > I'm wondering if anybody knows a way to programmatically retrieve a > Dropbox shared file path in LC on OS X. I've looked at dropbox.py but > apparently that only works on Linux and nowhere else. Isn't a .py file just a Python cod

Re: IDE oddities (was Re: Error Messages Are Evil)

2014-05-14 Thread Peter Haworth
One thing that confused the heck out of me at the start is how the menu bar changes depending on whether a stack or the script editor is in front (this is on OSX). When in the script editor, the menu bar shows File, Edit, Debug, Handler, Window, Help and the File menu has no entries to open a stac

Dropbox File Path via Shell Or Similar?

2014-05-14 Thread Scott Rossi
Hi All: I'm wondering if anybody knows a way to programmatically retrieve a Dropbox shared file path in LC on OS X. I've looked at dropbox.py but apparently that only works on Linux and nowhere else. I want to be able to grab the link that's provided when you right-click on a file/folder in the

Re: Grouping objects

2014-05-14 Thread Devin Asay
On May 14, 2014, at 11:32 AM, Dar Scott wrote: > Oh. I think you are right. (My view of “recent” is distorted, but I don’t > think that is the issue in this case.) > > I must be thinking of grouping a group. Which I don’t know how to do in the > IDE. > > So, one way the lock size and no

Re: IDE oddities (was Re: Error Messages Are Evil)

2014-05-14 Thread Devin Asay
On May 14, 2014, at 10:26 AM, Dar Scott wrote: > > On May 14, 2014, at 10:00 AM, Devin Asay wrote: >> Closely related: Why are lock size and lock location controlled by a single >> property? > > Good question. The good news is that it is now possible to group a single > object. Thanks f

Re: Grouping objects

2014-05-14 Thread Dar Scott
Oh. I think you are right. (My view of “recent” is distorted, but I don’t think that is the issue in this case.) I must be thinking of grouping a group. Which I don’t know how to do in the IDE. So, one way the lock size and not position is to group the image. Dar On May 14, 2014, at 1

Re: IDE oddities (was Re: Error Messages Are Evil)

2014-05-14 Thread Dar Scott
Yeah, I goofed. No sleep. I was getting confused with grouping a group. It can be done, but I don’t know how with the IDE. Dar On May 14, 2014, at 11:35 AM, Richmond wrote: > On 14/05/14 19:26, Dar Scott wrote: >> On May 14, 2014, at 10:00 AM, Devin Asay wrote: >>> Closely related: Why a

Re: IDE oddities (was Re: Error Messages Are Evil)

2014-05-14 Thread Richmond
On 14/05/14 19:26, Dar Scott wrote: On May 14, 2014, at 10:00 AM, Devin Asay wrote: Closely related: Why are lock size and lock location controlled by a single property? Good question. The good news is that it is now possible to group a single object. What? I grouped a single object with

Grouping objects

2014-05-14 Thread Devin Asay
On May 14, 2014, at 10:26 AM, Dar Scott wrote: > > On May 14, 2014, at 10:00 AM, Devin Asay wrote: >> Closely related: Why are lock size and lock location controlled by a single >> property? > > Good question. The good news is that it is now possible to group a single > object. I though

Re: IDE oddities (was Re: Error Messages Are Evil)

2014-05-14 Thread Dar Scott
On May 14, 2014, at 10:00 AM, Devin Asay wrote: > Closely related: Why are lock size and lock location controlled by a single > property? Good question. The good news is that it is now possible to group a single object. Dar Scott Libraries and Externals d...@swcp.com __

IDE oddities (was Re: Error Messages Are Evil)

2014-05-14 Thread Devin Asay
On May 13, 2014, at 9:57 PM, Alejandro Tejada wrote: > Richard Gaskin wrote >> [snip] >> These are basic tasks we should expect to be done efficiently and >> without error. They require no celebration. Don't even mention them >> unless something goes wrong. Otherwise, as long as the compute

Measuring CGI resource usage

2014-05-14 Thread Richard Gaskin
CGI is an uncommonly harsh environment, with the entire runtime life cycle happening in the time it takes to satisfy an HTTP request. So I tend to take great care in measuring both CPU time and memory with CGI scripts, but I've found it difficult to get accurate measurements in the server envir

Re: Saving Document 'Bundles' on Mac

2014-05-14 Thread Charles E Buchwald
Thanks! This is a perfect solution for my current project. I was not even thinking of this as a possibility. I guess it pays to read the list emails - Charles On 14 May 2014, at 6:45 AM, Matthias Rebbe | M-R-D wrote: > Hi Igor, > > maybe this link is of help. > > http://stackoverflow.com

Re: Saving Document 'Bundles' on Mac

2014-05-14 Thread Matthias Rebbe | M-R-D
Hi Igor, maybe this link is of help. http://stackoverflow.com/questions/8502622/mac-osx-folder-extension-association-programmatically Regards, Matthias Am 14.05.2014 um 11:49 schrieb Igor de Oliveira Couto : > Hi all, > > Does anyone know how to create bundle-type documents on MacOS? I know t

Re: Saving Document 'Bundles' on Mac

2014-05-14 Thread Igor de Oliveira Couto
On 14 May 2014, at 8:50 pm, Scott Rossi wrote: > One way is to rename the folder with a ".bundle" suffix. Yes, but how can I have a bundle with my own document extension? - I don't want my documents to appear in the desktop with the extension '.bundle', and with a generic system bundle icon...

Re: Naive Q about painting

2014-05-14 Thread Björnke von Gierke
on mouseUp set the tool to pencil drag from 10,10 to 200,250 end mouseUp On 14 May 2014, at 12:26, Richmond wrote: > I want, at the click of a button, to draw, with the Pencil tool, > a line from 10,10 to 200,250 and I don't know ho to do that. > > Richmond. -- Anyone thinking about goi

Re: Animation Engine: animating points in a polygon?

2014-05-14 Thread Malte Brill
Hey David, the easing functions are your friend here. I am currently travelling, however I will make sure that I set up a little demo as soon as I am back. To get you started, looking at aeEaseInOut put aeEaseInOut(100,200,2000,500,2) where 100 would be the x coordinate of the point at start o

Re: Subscription-based sales system

2014-05-14 Thread Pyyhtiä Christer
Yes, I did it with on-Rev LiveCode Server. It took a lot of learning, but it works beautifully for Android. I haven't moved to iOS, yet, as want to do that simultaneously moving to LC 7.X for all-unicode and some new capabilities. http://lists.runrev.com/mailman/listinfo/use-livecode

Re: sending a PDF mail attachment in iOS7

2014-05-14 Thread Alan Stenhouse
Hi Scott, William Did you try setting the MIME type for the attachment to "application/pdf" instead of just "pdf"? i.e. put "application/pdf" into aAttachments[1]["type"] Worth a try though I admit that I haven't used this yet (but with other types I have). HTH cheers Alan -- Alan Stenho

RE: Naive Q about painting

2014-05-14 Thread John Dixon
on mouseUp set the style of the templateGraphic to "Line" put "10,10" & cr & "200,250" into lineCoord set the points of the templateGraphic to lineCoord create graphic "drawLine" end mouseUp > Date: Wed, 14 May 2014 13:26:20 +0300 > From: richmondmathew...@gmail.com > To: use-livecode@

Re: Saving Document 'Bundles' on Mac

2014-05-14 Thread Scott Rossi
One way is to rename the folder with a ".bundle" suffix. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/14/14 2:49 AM, "Igor de Oliveira Couto" wrote: >Hi all, > >Does anyone know how to create bundle-type documents on MacOS? I know >that bundles are simply director

Re: Saving Document 'Bundles' on Mac

2014-05-14 Thread Igor de Oliveira Couto
I apologise for not explaining myself properly: > When Livecode makes a Macintosh standalone it makes a bundle with all the > necessary > components inside it; so the whole thing appears as a MacOS app. I would like the *documents* saved by my app to be bundles - not just the app itself. Instea

Naive Q about painting

2014-05-14 Thread Richmond
I want, at the click of a button, to draw, with the Pencil tool, a line from 10,10 to 200,250 and I don't know ho to do that. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and mana

Re: Saving Document 'Bundles' on Mac

2014-05-14 Thread Richmond
On 14.05.2014 12:49, Igor de Oliveira Couto wrote: Hi all, Does anyone know how to create bundle-type documents on MacOS? I know that bundles are simply directories, but there must be something that needs to be done in order for the system to recognise the directory as a bundle "file", rather

[OT] Fossil SCM

2014-05-14 Thread Igor de Oliveira Couto
Dear List Users, Does anyone have any experience with Fossil SCM? http://fossil-scm.org Like many, I find that git is often an overkill in terms of features and complexity, often making it very difficult to convince others in your team to adopt it... Fossil sounds like it could cover just abou

what happens, when a code sign certificate expires?

2014-05-14 Thread Tiemo Hollmann TB
Hi, I just start the first time with code signing on Mac and wonder what will happen, after my developer ID application certificate expires. Will I just don't be able to code sign new applications with this certificate, or will the code signing for all applications with this certificate get invali

Saving Document 'Bundles' on Mac

2014-05-14 Thread Igor de Oliveira Couto
Hi all, Does anyone know how to create bundle-type documents on MacOS? I know that bundles are simply directories, but there must be something that needs to be done in order for the system to recognise the directory as a bundle "file", rather than as a simple directory... Is this something that