Quantum tunneling in LiveCode

2015-03-02 Thread stgoldb...@aol.com
In quantum mechanics something can be in more than one place at once. A paradox of sorts seems to occur in the message chain with groups in LiveCode. Try this: 1. Place a button on a card. 2. Make the button a group. Set the group's backgroundBehavior to true. 3. Place the following script

Re: Quantum tunneling in LiveCode

2015-03-02 Thread Paul Hibbert
Because you set the backgroundBehavior of the strange group to true, it's effectively after the card in the message path. There's a good explanation and diagram in chapter 5.2.3 (p.127-9) of the user guide. HTH Paul On Mar 2, 2015, at 1:07 PM, stgoldb...@aol.com wrote: In quantum

Re: Quantum tunneling in LiveCode

2015-03-02 Thread dunbarx
Hi. What Paul said. This would be easy for old HC people, since the background group is like a HC backGround, and is higher in the hierarchy (sorry, Jacque) than a card. Craig -Original Message- From: Paul Hibbert p...@livecode.org To: How to use LiveCode

Re: Quantum tunneling in LiveCode

2015-03-02 Thread Peter Haworth
Right, but if you click the button, the group comes before the card not after the card, I think that's the point of interest. On Mon, Mar 2, 2015 at 1:38 PM dunb...@aol.com wrote: Hi. What Paul said. This would be easy for old HC people, since the background group is like a HC

Re: Quantum tunneling in LiveCode

2015-03-02 Thread Paul Hibbert
That still makes sense to me, because the group is placed on this card and the button belongs to the group, so I would expect the message path to take the normal route, i.e. Button, Group, Card, Stack, why would it not? But when clicking on the card, the background is picking up the stray

Re: [Almost OT] Interfacing with GNUCash

2015-03-02 Thread Mike Bonner
I went looking for the API, and most of the pertinent sections are non-links, in a list of links. There IS some info on interfacing python, and c also. For now, unless you want to build an external, python is probably the way to go, using shell calls from lc. Google gnucash api and see if

Re: [Almost OT] Interfacing with GNUCash

2015-03-02 Thread Mike Bonner
Hmm, just read something that seems to indicate gnucash has a rest api. If I can find a useful link I'll pop it in here. On Mon, Mar 2, 2015 at 5:19 PM, Mike Bonner bonnm...@gmail.com wrote: I went looking for the API, and most of the pertinent sections are non-links, in a list of links.

[OT] Invalid host address

2015-03-02 Thread J. Landman Gay
Out of thousands of users, occasionally one can't connect and repeatedly gets an invalid host address error. What causes those? All users are sending to the same server at the same domain. Naturally they all say it's only our app and never happens in a browser. Everything I've found about it

Re: [OT] Invalid host address

2015-03-02 Thread Mike Bonner
Seriously doubt it would apply to macs. The note in the dictionary says that on windows machines, if a proxy is set it will use it automatically, no such note on a mac. Though I guess its possible, depending on the way LC determines if a proxy has been set. Too bad, it fit SO well for windows

Re: sane way to keep menubar on mac (and what about windows???)

2015-03-02 Thread Dr. Hawkins
On Mon, Mar 2, 2015 at 5:44 AM, Tiemo Hollmann TB toolb...@kestner.de wrote: In the main stack I create a menu with the menu builder and check the option set as stack menu bar With this option checked, the menu will be integrated in Apples menu on Mac and on windows it get a windows menu bar

Re: [OT] Invalid host address

2015-03-02 Thread Peter W A Wood
Jacque Unfortunately, I’m probably almost as much out of my depth as you :-( No, localhost shouldn’t matter if the app is trying to connect to a remote server. I don’t think that LiveCode needs to know about ipv6 either (or only at a very low level). My suggestion was based on ipv6 resolving

Re: [OT] Invalid host address

2015-03-02 Thread J. Landman Gay
The new proxy additions to libURL are supposed to find proxies automatically on any platform. I'm not sure the thread you mentioned is valid for this particular problem though, if this is the one you meant:

Re: [OT] Invalid host address

2015-03-02 Thread Mike Bonner
The hosts file can be set up to provide specific name to ip address mappings. 99.9% of the time its not used, and if it is, its often a hijack. Along with the hijack thing, its also possible that a proxy has been set up unbeknownst to the user, and its munging something as it decides where they

Re: [OT] Invalid host address

2015-03-02 Thread J. Landman Gay
I'm not sure about the other users but the latest one is on OS X. Could this affect Macs too? On 3/2/2015 8:04 PM, Mike Bonner wrote: OH, thought just occurred to me, based on something that happened in another thread. If they're on windows, and had a proxy set up at some point, then the

Re: [Almost OT] Interfacing with GNUCash

2015-03-02 Thread Peter W A Wood
Hi again Mike. I found this - https://github.com/loftx/gnucash-rest/blob/master/gnucash_core_c.py https://github.com/loftx/gnucash-rest/blob/master/gnucash_core_c.py - but it appears to have been abandoned. However, it might come in handy with working out how to use the C API Best regards

Re: [OT] Invalid host address

2015-03-02 Thread J. Landman Gay
Thanks Peter, but I'm afraid you're speaking Greek to me. Would localhost matter if the app is trying to connect to a remote server? Does LC need to know about ipv6 or is that handled at the OS level? Sorry to be so uninformed, I'm out of my depth here. On 3/2/2015 8:42 PM, Peter W A Wood

Re: Stream Video in LC Player

2015-03-02 Thread Gerry
Any clues on improving performance? I'm looking to use this on Mobile, if possible Mobile on cellular data, or wifi? I faced the same problem and ended up with 2 versions of the movies, one higher quality for devices connecting on wifi and one at lower quality for those on cellular

Re: [Almost OT] Interfacing with GNUCash

2015-03-02 Thread Peter W A Wood
On 3 Mar 2015, at 00:24, Richard Gaskin ambassa...@fourthworld.com wrote: I haven't, but I'm curious: why GNUCash? It is more than sufficient for me to keep my company accounts, it works well on Mac and the price can’t be beaten. I haven’t encountered any problems with it but my use of it

Re: [Almost OT] Interfacing with GNUCash

2015-03-02 Thread Peter W A Wood
Many thanks Mike. You did better than I via Google. I found some reference to the C API but it seemed very vague. If it is a case of using the C API, I hope that we’ll be able to access it directly from LC 8 or 9. Best regards Peter On 3 Mar 2015, at 08:20, Mike Bonner bonnm...@gmail.com

Re: [Almost OT] Interfacing with GNUCash

2015-03-02 Thread Mike Bonner
Ah, didn't know it was abandonware, Sounds like waiting till you can use the c api is probably the best way, unless you know enough c (I don't) to write an intermediate executable that you can shell to. I did see some php stuff too, but suspect it never got off the ground. On Mon, Mar 2, 2015 at

Re: [OT] Invalid host address

2015-03-02 Thread J. Landman Gay
This kind of gibberish: http://iamlinux.technoyard.in/blog/getaddrinfo-1-invalid-host-address-ignored-ntpd-errors-in-syslog/ I do understand in general what it's talking about, and I know about the computer hosts file and how it can be hijacked, but what I really need is a recipe to send to

Re: Call for testers: v7 migration tool

2015-03-02 Thread Bob Sneidar
I’ll give it a go. Bob S On Feb 27, 2015, at 16:26 , Richard Gaskin ambassa...@fourthworld.com wrote: One of the things that had held me back from spending more time with v7 was the need to manually choose File-Save As to save a stack in older formats. I often need this for tools and

RE: Quantum tunneling in LiveCode

2015-03-02 Thread Ralph DiMola
Stephen, In #8 below does the message make it to the stack? Did you just leave the stack out for clarity in your example? Like... I am a card -- I am a strange group -- I am a stack Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message-

Re: [OT] Invalid host address

2015-03-02 Thread Mike Bonner
OH, thought just occurred to me, based on something that happened in another thread. If they're on windows, and had a proxy set up at some point, then the proxy was disabled.. The information about the proxy still shows up greyed in the settings. And it seems that LC decides the proxy is still

Re: [OT] Invalid host address

2015-03-02 Thread Peter W A Wood
Jacque I don’t know if this will help but I believe host can get converted to ::1 under ipv6. I know that I used to have an issue on my OS X a few versions ago and had to use 127.0.0.1 instead of localhost in URLs. Regards Peter On 3 Mar 2015, at 10:21, J. Landman Gay

Re: DB connection times

2015-03-02 Thread Dr. Hawkins
On Mon, Mar 2, 2015 at 9:25 AM, Bob Sneidar bobsnei...@iotecdigital.com wrote: To optimize connections and transfer of data, one of the things you can do is use VarChar() instead of TEXT whenever possible. A very knowledgable web designer explained to me that TEXT types pad the storage values

Re: sane way to keep menubar on mac (and what about windows???)

2015-03-02 Thread J. Landman Gay
On 3/2/2015 9:47 PM, Dr. Hawkins wrote: I indeed have that menu checked, but I think that came when I set the defaultMenubar (in the manner Mark suggested). If a stack has a menubar assigned (the menubar of this stack,) it will use that menu. If it doesn't, then it will use whatever you've

Re: DB connection times

2015-03-02 Thread Dr. Hawkins
On Sun, Mar 1, 2015 at 9:27 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Dr. Hawkins and others have noted that the time required for LC to connect to a database can be long enough to add up under load. To get a good feel for the implications of this, and to explore options for

Re: [OT] Invalid host address

2015-03-02 Thread J. Landman Gay
Oh, and before anyone goes wow, your client is Amazon...no, I just forgot to take out that last statement. I'd originally typed that the URLs were using AWS but after double-checking I saw that the domain was my client's, not Amazon's (for a while we were directly contacting the AWS servers

Re: RELEASE 6.7.3 / 7.0.3

2015-03-02 Thread Gerry
Monte's externals are now available on his site. Gerry On 2 Mar 2015, at 10:46 am, Monte Goulding mo...@sweattechnologies.com wrote: Hopefully today, most of them built fine but there are a few that I need to massage a little. ___

Re: DB connection times

2015-03-02 Thread Richard Gaskin
Dr. Hawkins wrote: As a rough, from a fast link at home (10Mbs?), it takes several seconds for the series of transactions it takes me to open a client table, compared to a second or two on my desktop (which hosts the server) on a good business link. Local DB performance like that makes a

Re: [OT] Invalid host address

2015-03-02 Thread J. Landman Gay
Aha. Okay, it's a lead then. Maybe the same issue is happening on OS X, where it is also possible to disable a proxy on a system-wide basis. It's something to ask the user about anyway. If anyone else has suggestions I'm all ears. On 3/2/2015 10:38 PM, Mike Bonner wrote: The thread in

Re: [OT] Invalid host address

2015-03-02 Thread Mike Bonner
The thread in question is this one: http://runtime-revolution.278305.n4.nabble.com/resetting-preferences-in-7-0-1-rc4-Windows-7-td4687125.html#a4687164 In that thread he actually had to go into the windows settings (not in lc) and actually remove the greyed out non active proxy settings so they

Re: DB connection times

2015-03-02 Thread Dr. Hawkins
On Mon, Mar 2, 2015 at 8:21 PM, Richard Gaskin ambassa...@fourthworld.com wrote: Local DB performance like that makes a good case for working with text files. :) How many records are in there? Complex indices? What could account for so much time to connect locally? It *is* entirely text.

Re: [OT] Invalid host address

2015-03-02 Thread J. Landman Gay
The invalid host URL is the same one all other users are contacting and is the domain of my client. Only an occasional user is getting this error when contacting the same URL(s), it works okay for almost everyone. I'm pretty sure it's a machine-based issue, and my puny knowledge base points

AW: sane way to keep menubar on mac (and what about windows???)

2015-03-02 Thread Tiemo Hollmann TB
Hi Richard, In the main stack I create a menu with the menu builder and check the option set as stack menu bar With this option checked, the menu will be integrated in Apples menu on Mac and on windows it get a windows menu bar at the top of your stacks window. Its' up to you, if you resize your

Re: Drawing a line in LC7

2015-03-02 Thread Richmond
Sorry, boys and girls, I'm just a tad late to the party; couldn't locate my leopard-skin posing briefs . . . Anyway . . . LC 7.0.3 tried this in a button: on mouseUp drawline 0,100,100,400,red end mouseUp on drawLine x,y,x1,y1,tColor lock screen set the style of the templateGraphic

Re: Because LC can't do two things at once.

2015-03-02 Thread Mike Kerner
that doesn't suck and ought to be in the masterLibrary, or whatever it's called. On Sun, Mar 1, 2015 at 1:04 PM, Peter M. Brigham pmb...@gmail.com wrote: Just closing the loop on this one (the power source of a laptop). (Calling Richard Gaskin re the Linux case...) -- Peter Peter M.

Re: sane way to keep menubar on mac (and what about windows???)

2015-03-02 Thread Mark Schonewille
Richard: set the defaultMenubar to the long id of grp Menubar 1 of stack My Main stack This makes the menubar stick. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK:

Re: Android SDK updated but not anymore recognized

2015-03-02 Thread Pierre Sahores
Hi Ludovic, Same there some weeks ago and a TimeMachine rollback to the previous « android-sdk-macosx » directory solved the problem. HTH, Pierre Le 2 mars 2015 à 12:56, Ludovic Thébault ludovic.theba...@laposte.net a écrit : Hello, Since few weeks when i've tested my app on my

Android SDK updated but not anymore recognized

2015-03-02 Thread Ludovic Thébault
Hello, Since few weeks when i've tested my app on my android tablet, all is black (expect native input field after change a card) ! So i’ve update the SDK, but since Livecode doesn’t recognize the folder and yes the 2.2 api 8 is installed. What happen ? Thanks ? Livecode 6.7.3

Re: Drawing a line in LC7

2015-03-02 Thread Graham Samuel
I hit this gotcha too a few months ago, as some ancient HyperCard scripts were embedded in something I was adapting. I got the idea that the comma-separated list was never legal in LC but somehow tolerated; then suddenly not tolerated any more, then (according to the Dictionary) tolerated

ANN: Re-Collections iOS app now available - FREE for a limited time

2015-03-02 Thread Alan Stenhouse
G’day all! Just wanted to let you know I’ve just released another iOS app called “Re-Collections”, made in LiveCode. It’s going for free the first few days so if you’re interested you can get it at: https://itunes.apple.com/app/re-collections/id948329642?mt=8uo=4 or learn more about it on

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-02 Thread Richard Gaskin
Michael Doub wrote: Looking around in /proc I found no acpi on the Pi. Thanks for checking, Michael. That would make sense, because AFAIK the Pi has no Advanced Configuration and Power Interface in its chip set, and hence the absence of that key in /proc would accurately reflect a

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-02 Thread Richard Gaskin
Peter M. Brigham wrote: On Mar 1, 2015, at 3:16 PM, Richard Gaskin wrote: Thanks to the beautiful simplicity of the Linux /proc directory I was able to find: cat /proc/acpi/battery/BAT1/state The charging state field there will contain charging or discharging. Question: this looks

Re: Drawing a line in LC7

2015-03-02 Thread Richmond
On 02/03/15 18:04, Terence Heaford wrote: I suppose in a way it is easy. Whenever you change something in the code, visit the documentation and change that as well or is changing the docs not in the job description of those carrying out the programming. Job Descriptions are the death of

Re: Drawing a line in LC7

2015-03-02 Thread Terence Heaford
This in the docs: Tip: When setting the points property, you can separate the individual points with a comma instead of a return. The points property is always reported with the points on separate lines, however.” Terry On 2 Mar 2015, at 14:19, Richmond richmondmathew...@gmail.com wrote:

Re: Because LC can't do two things at once.

2015-03-02 Thread mikedoub
It will be added when the linux part is sorted out. :) Mike   Original Message   From: Mike Kerner Sent: Monday, March 2, 2015 9:35 AM To: How to use LiveCode Reply To: How to use LiveCode Subject: Re: Because LC can't do two things at once. that doesn't suck and ought to be in the

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-02 Thread Michael Doub
Looking around in /proc I found no acpi on the Pi. -= Mike On 3/2/15 10:30 AM, Richard Gaskin wrote: Peter M. Brigham wrote: On Mar 1, 2015, at 3:16 PM, Richard Gaskin wrote: Thanks to the beautiful simplicity of the Linux /proc directory I was able to find: cat

Re: ANN: Re-Collections iOS app now available - FREE for a limited time

2015-03-02 Thread tbodine
Great concept, Alan! Congrats on the app. Will try to carve out some time to give it a go. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Re-Collections-iOS-app-now-available-FREE-for-a-limited-time-tp4689545p4689562.html Sent from the

Re: Standalones requiring force-quit (and messages?)

2015-03-02 Thread Bob Sneidar
Only time I have to force quit is if I made a database call to a stale database connection, and that of course is my fault for not closing the connection when done with it. About the only way to find something like this is to have a logging system that records everything your application does,

Re: Drawing a line in LC7

2015-03-02 Thread Terence Heaford
I suppose in a way it is easy. Whenever you change something in the code, visit the documentation and change that as well or is changing the docs not in the job description of those carrying out the programming. If not it should be. If you do not change the docs and inform then what chance

Re: LiveCode 7.0.3: a new meme

2015-03-02 Thread Earthednet-wp
For disk repair, I use Disk Warrior. Your disc should,be ok using Disc Utility, tho. But Disk Warrior has saved data not readable by Disc Utility for me. Bill William Prothero http://es.earthednet.org On Mar 1, 2015, at 7:48 PM, Paul Hibbert p...@livecode.org wrote: Thanks for reminding me

Re: Drawing a line in LC7

2015-03-02 Thread Richard Gaskin
Graham Samuel wrote: On 2 Mar 2015, at 17:18, Richard Gaskin wrote: Graham Samuel wrote: I hit this gotcha too a few months ago, as some ancient HyperCard scripts were embedded in something I was adapting. On what objects did HyperCard apply points? You've confused me now... are you

Re: sane way to keep menubar on mac (and what about windows???)

2015-03-02 Thread Richard Gaskin
Dr. Hawkins wrote: To reveal my windows side ignorance (yes, I've really never owned a windows box!), just how *does* a windows program present a menu or choices before it has a user window open? Leave around a gratuities window? The others here have answered the Mac side well, so all I

Re: Drawing a line in LC7

2015-03-02 Thread Richmond
On 02/03/15 17:36, Terence Heaford wrote: This in the docs: Tip: When setting the points property, you can separate the individual points with a comma instead of a return. The points property is always reported with the points on separate lines, however.” Terry Aha: so the 'Tip' now

Re: [Almost OT] Interfacing with GNUCash

2015-03-02 Thread Richard Gaskin
Peter W A Wood wrote: Has anybody written a LiveCode script which posts transactions directly into the GNUCash accounting system (or similar)? I know that GNUCash stores its data in SQLite so there is the option to write the data directly to the GNUCash database but I was wondering if

Re: Drawing a line in LC7

2015-03-02 Thread Graham Samuel
You've confused me now... are you saying it wasn't HyperCard? The objects were all polygons, representing various mathematical curves. Didn't HyperCard allow vector-type polygons? If not, then it's a mystery which I don't think I can really resolve. Graham On 2 Mar 2015, at 17:18, Richard

Re: Drawing a line in LC7

2015-03-02 Thread Richard Gaskin
Graham Samuel wrote: I hit this gotcha too a few months ago, as some ancient HyperCard scripts were embedded in something I was adapting. On what objects did HyperCard apply points? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web

Re: Drawing a line in LC7

2015-03-02 Thread Richard Gaskin
Richmond wrote: Aha: so the 'Tip' now needs to be removed. I wonder exactly WHY the thing was changed? From the point of view of teaching writing a book on Livecode, a Language-cum-IDE that keeps changing features like that (especially if those changes are left for folk to stumble on,

Re: DB connection times

2015-03-02 Thread Bob Sneidar
To optimize connections and transfer of data, one of the things you can do is use VarChar() instead of TEXT whenever possible. A very knowledgable web designer explained to me that TEXT types pad the storage values to fill the defined storage size for that column, whereas VarChar only stores as

Re: App on different systems

2015-03-02 Thread Richard Gaskin
Bob Sneidar wrote: If memory serves, I attempted to use VirtualBox once but some software I was trying to run was incompatible. I couldn’t swear to it though. As much as I love Parallels, I am fairly certain it is causing my system to become woefully unresponsive if I leave it running, and

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-02 Thread Peter Brigham
What gets returned in get URL /proc/acpi/battery/BAT1/state on Unix? If you give me a sample to work with I will finish the handler and post it. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Mon, Mar 2, 2015 at 11:15 AM, Richard Gaskin

Re: ANN: Re-Collections iOS app now available

2015-03-02 Thread Jim Lambert
Alan, Nice app. Congratulations! Jim Lambert ___ 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: App on different systems

2015-03-02 Thread Richmond
On 02/03/15 19:28, Richard Gaskin wrote: Bob Sneidar wrote: If memory serves, I attempted to use VirtualBox once but some software I was trying to run was incompatible. I couldn’t swear to it though. As much as I love Parallels, I am fairly certain it is causing my system to become woefully

Re: App on different systems

2015-03-02 Thread Richmond
http://markcrosbie.com/2014/02/18/converting-a-parallels-desktop-image-to-run-on-virtualbox/ Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-02 Thread Richard Gaskin
Peter Brigham wrote: What gets returned in get URL /proc/acpi/battery/BAT1/state on Unix? If you give me a sample to work with I will finish the handler and post it. Further reading shows that path deprecated on many modern systems, suggesting the /sys path instead:

iOS8 Encrpytion working?

2015-03-02 Thread Chipp Walters
I keep getting this error when I BUILD for iOS on 7.0.3 Any idea why? Runs fine in simulator. Encryption is checked but it's acting like it's not checked. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,