From scott at elementarysoftware.com Wed Jul 1 00:26:17 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 30 Jun 2020 21:26:17 -0700 Subject: Animation Engine: speed tips In-Reply-To: References: <0E1D9B5C-8A33-4BF8-9476-A6AB3B593C67@derbrill.de> <60dd0981-b6c2-40a2-8bd5-9b100e97efe1@Spark> Message-ID: <6D85CF26-6F8A-4930-8109-E940A93265E5@elementarysoftware.com> Alex, Eagerly awaiting news of your progress! ? Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 ------------------------------------------------------ > On Jun 30, 2020, at 6:40 PM, Alex Tweedly via use-livecode wrote: > > Hi David, > > I had a quick look at this (for slightly selfish reasons - I will be doing some simple animation soon, so this piqued my interest to look at it sooner :-) > > [ all comments on performance or timing here are on an aging (2011) Macbook Pro, LC 9.6.0 ] > > So, there's good news, and there's bad news :-) > > 1. Bad news. > > It is slow (surprisingly, disappointingly slow) to move graphic objects in LC. Moving small simple objects (unfilled circle graphics <20 pixels across) over an uncomplicated background. Each move takes between 1 and 2.6 msecs. (Yes, that's for one object !!) > > [ Puts on 'grumpy old man' hat = that's about the same time as it took on my old Atari ST - 34 years ago!! Where's Moore's Law when I need it :-). ] > > 2. Good news. > > Although disappointing performance, it is (probably) good enough for your described example. Around 30 simple, small objects moving, 20 fps ~= 700ms within a second; it should just be doable. > > 3. Bad News. > > You're on the edge !! The timings above were for moving objects in a simple, tight loop. (see sample code below my sig.) You have a little bit of spare CPU left over to handle overhead, object management, new co-ord calculation, etc., but not very much. > > Animation Engine. > > It's a powerful library - has lots of good stuff to do fading, morphing, collision detection, input constraint, color changes, animated scrolls (bounce, overshoot, ...), and then it has two methods of just *moving* LC controls. > > The 'classic' version requires the developer to set up a timer/loop handler, and use the various aeMovexxx handlers; because of the timer handling it's tricky and needs care from the developer. > > The other version is only for straight line moves (aeMoveTo); this is much simpler to use, can handle multiple shapes moving in synch and does it very efficiently. (The older equivalent was aeMoveLinear, which is deprecated). If all your moving is (or can be cast into) using this version, you might have no problems. Note Malte describes aeMoveTo as 'frame-perfect' - all the moves done by aeMoveTo happen perfectly aligned by the (single) frame timer, so moves can be precisely coordindated to start and/or finish at exactly the same time. > > If it can't be, then you might think about adding new functionality to AE to provide a similar capability , using the same single timer that aeMoveTo uses. > > My needs are slightly different:- > 1. linear and "hop" moves only (*) > 2. need to string together multiple moves within a 'frame-perfect' setting > > btw - this 'stringing together' is exactly what you would need for hand-drawn curve following; you'd form a points-list from the hand-drawing, then construct a series of linear moves along each edge. > > I decided the easiest way to achieve what I need was a simple purpose-specific library, that has just these features. It's simple to use, understand and debug - currently < 200 lines, and likely to finish up around 250 lines by the time I'm done adding features. > > (*) What's a "hop" move? > Think of a child's board game (Ludo, S&Ladders, ...) When you move a piece, you don't (if you're playing with a child) usually just pick it up and move it (say) 5 squares, instead you go "...1...2...3...4...5", while touching the piece in or near each square in turn. That's a hop move (or a series of hop-moves. :-) > > Anyway - I have that working now, so with luck I'll get a chance to work on it this week and get it tidied up, and release a first version by the weekend, so if you (or anyone) is interested they can try it out. > > Alex. > > Simple benchmark: > > I finished up with a pretty trivial example bit of code: > > > > put the loc of grc "g1" into tmp > > repeat 100 times > > add 1 to item 1 of tmp > > set the loc of grc "g1" to tmp > > wait 0 with messages > > end repeat > > Notes: > > 0. Graphic "g1" is a simple, small circle. > > 1. if the graphic wanders off screen (out of window) the time taken drops to 0. > > 2. If you remove the "add 1 to item 1 of tmp" (i.e. the graphic remains in the same place), then again the time drops to effectively 0. > > So with this simple code, I find that (on my aging Macbook Pro), those 100 moves take between 125 and 275 ms (i.e. just about 1 to 2.5 ms per shape to move). And that variation is easily matched against the complexity of the surroundings the piece is moving through - if it moves over (or under) many other graphic objects, it takes clearly longer. > > Good luck. > > On 28/06/2020 01:09, David Bovill via use-livecode wrote: > >> I made a quick test - creating and animating small graphic circles along a complex curve with many points. It works fine with one or two animated spheres but I?d like to be able to animate >30 and it slows to a crawl after 4 or 5. I tried setting the layer mode appropriately for all the objects - but I?m doing this on a new MacBook Pro - and it does not make a difference. >> >> Does anyone have an example stack with multiple animated objects that I can compare / test for speed? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Wed Jul 1 01:30:14 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 1 Jul 2020 05:30:14 +0000 Subject: iOS - open next field? Message-ID: <76CD8127-ECE4-4F2E-BEDA-E18D8FD61ABB@clearvisiontech.com> Is there a way you activate and utilize the "prev" and "next" button on iOS keyboards? You know, these buttons: https://i.stack.imgur.com/FzrPy.png If you have more than one text field on a card, we want to "tab" between fields. -Dan From MikeKerner at roadrunner.com Wed Jul 1 10:40:13 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 1 Jul 2020 10:40:13 -0400 Subject: iOS - open next field? In-Reply-To: <76CD8127-ECE4-4F2E-BEDA-E18D8FD61ABB@clearvisiontech.com> References: <76CD8127-ECE4-4F2E-BEDA-E18D8FD61ABB@clearvisiontech.com> Message-ID: yep. use the on inputReturnKey event then mobileControlTarget() to get the current field You need to know what the next field is to get the focus, then you use use mobileControlDo (next object),"focus" I generally have a handler in the card to do this, and I also generally have a list of the fieldnames in a container because I need the list for database work, and for things like creating the native fields when the card opens and setting their properties. On Wed, Jul 1, 2020 at 1:31 AM Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Is there a way you activate and utilize the "prev" and "next" button on > iOS keyboards? You know, these buttons: > > https://i.stack.imgur.com/FzrPy.png > > If you have more than one text field on a card, we want to "tab" between > fields. > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Wed Jul 1 10:42:42 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 1 Jul 2020 10:42:42 -0400 Subject: iOS - open next field? In-Reply-To: References: <76CD8127-ECE4-4F2E-BEDA-E18D8FD61ABB@clearvisiontech.com> Message-ID: oh, wait, I thought you meant the return key, or in your photo, the "go", key. nothing to see here, move along, move along. On Wed, Jul 1, 2020 at 10:40 AM Mike Kerner wrote: > yep. > use the on inputReturnKey event > then mobileControlTarget() to get the current field > You need to know what the next field is to get the focus, then you use > use mobileControlDo (next object),"focus" > > I generally have a handler in the card to do this, and I also generally > have a list of the fieldnames in a container because I need the list for > database work, and for things like creating the native fields when the card > opens and setting their properties. > > On Wed, Jul 1, 2020 at 1:31 AM Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Is there a way you activate and utilize the "prev" and "next" button on >> iOS keyboards? You know, these buttons: >> >> https://i.stack.imgur.com/FzrPy.png >> >> If you have more than one text field on a card, we want to "tab" between >> fields. >> >> -Dan >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From Bernd.Niggemann at uni-wh.de Wed Jul 1 11:25:38 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 1 Jul 2020 15:25:38 +0000 Subject: Animation Engine: speed tips Message-ID: <23B1E2FA-5FA8-4393-B576-A2E928AD6FFB@uni-wh.de> While not exactly what David asked for but on the topic of animating multiple objects with acceptable speed: http://forums.livecode.com/viewtopic.php?f=10&t=11726&hilit=sand#p56253 The original poster asked for "sand" particles that should have some sort of collision detection and should react to a mouseDown to either attract the objects or pushes them away. It uses _one_ polygon graphic and sets individual points of that graphic (separated by an empty line). The points are just x,y coordinates and markers make the visual objects of the moving parts. It manages to animate quite some number of objects depending on the size of the markers and some other features that are optional (dropshadow, ounteglow, markers filled and antialiasing) The stack is completely useless but perfect for a rainy day at home. Depending on the complexity of the marker graphic it manages to animate smoothly (frame rate 18 and up) from 150 to 1500 (small) objects (you can change appearance while the objects are moving. Kind regards Bernd From dvglasgow at gmail.com Wed Jul 1 11:56:03 2020 From: dvglasgow at gmail.com (David V Glasgow) Date: Wed, 1 Jul 2020 16:56:03 +0100 Subject: slow loading & navigation to card containing large field In-Reply-To: References: <76CD8127-ECE4-4F2E-BEDA-E18D8FD61ABB@clearvisiontech.com> Message-ID: <6154D116-0C44-4F3A-998F-1EB71914DD59@gmail.com> Hello LCers On Mac 10.13, LC 9.6 In my stack I have a field on one card consisting of imported text, which is typically several thousand of internet searches/file names/URLs. I search for a number of keywords, which are then aggregated, and by navigating to another card, display summary statistics on the content analysis, in the form of a bar chart displaying the top 20 found terms. So not a lot of data on the charting card. I have a fairly extreme case of 781,000 lines (80,988,686 chars) in the content analysis field, consisting of a web history. I am amazed at the efficiency of the searching process, which takes a while, but is as fast as I could hope. It is slower than earlier versions, but the memory usage stays very steady, which wasn?t the case in 8 or early 9. I?m happy to swap a bit of speed for more stability. The content analysis works nicely, the transition to the chart card and chart displays quite quickly. I have 2 problems: 1/ Loading the plain text list of URLs from file is slowish, but more importantly, for some time gives no indication that the file is loading. After selecting the file, there is a long pause before the cursor becomes the OS beachball, another long pause and then eventually the card and populated field appears. Is there any way of letting users know that this 82MB file *is* being loaded, they just need to be patient? Or am I wholly in the hands of the OS? 2/ Navigating from the chart card back to the card containing the big list of URLs is very slow, typically taking about a minute from the mouseup on the navigate button (or command from message box). A pr?cis of the message watcher shows the delay occurs between the consecutive closeBackground and cREVTable messages below. mouseup 3:55:45 PM (1) closeCard 3:55:45 PM (0) closeBackground 3:55:45 PM (0) cREVTable 3:56:43 PM (58144) opencard 3:56:45 PM (22) (In the preopenstack of the big field card, I hide a group containing 9 fields each containing maybe 30 words - nothing that should take much time) Am I just asking too much of LC, or are there any suggestions about making the transition between cards brisker? Best Wishes, David Glasgow Consultant Forensic & Clinical Psychologist From ambassador at fourthworld.com Wed Jul 1 12:10:43 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 1 Jul 2020 09:10:43 -0700 Subject: slow loading & navigation to card containing large field In-Reply-To: <6154D116-0C44-4F3A-998F-1EB71914DD59@gmail.com> References: <6154D116-0C44-4F3A-998F-1EB71914DD59@gmail.com> Message-ID: David V Glasgow wrote: > Loading the plain text list of URLs from file is slowish, but more > importantly, for some time gives no indication that the file is > loading. Are you reading the file as text or binary? I would imagine reading as binary would be more efficient since it's a straight pull from disk, without the content alterations text-read does. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From klaus at major-k.de Wed Jul 1 12:15:03 2020 From: klaus at major-k.de (Klaus major-k) Date: Wed, 1 Jul 2020 18:15:03 +0200 Subject: slow loading & navigation to card containing large field In-Reply-To: References: <6154D116-0C44-4F3A-998F-1EB71914DD59@gmail.com> Message-ID: <8B722C89-80F6-49A3-B1DC-2E32B88EB29C@major-k.de> Hi David > Am 01.07.2020 um 18:10 schrieb Richard Gaskin via use-livecode : > > David V Glasgow wrote: > > > Loading the plain text list of URLs from file is slowish, but more > > importantly, for some time gives no indication that the file is > > loading. > > Are you reading the file as text or binary? > I would imagine reading as binary would be more efficient since it's a straight pull from disk, without the content alterations text-read does. > > -- > Richard Gaskin and unless REALLY neccessary, store the data in a custom property instead of a field. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From dvglasgow at gmail.com Wed Jul 1 12:51:58 2020 From: dvglasgow at gmail.com (David V Glasgow) Date: Wed, 1 Jul 2020 17:51:58 +0100 Subject: slow loading & navigation to card containing large field In-Reply-To: <8B722C89-80F6-49A3-B1DC-2E32B88EB29C@major-k.de> References: <6154D116-0C44-4F3A-998F-1EB71914DD59@gmail.com> <8B722C89-80F6-49A3-B1DC-2E32B88EB29C@major-k.de> Message-ID: Hmmm. Food for thought both! Loading I just use put URL ("file:" & theFilePath) into tdata I have always assumed that reading as binary is only for data that isn?t text. I?ll try that. If I want to display some or all of the file in a field, do I need to process the data read as a binary, or can I just put it into a field? So far I have worked on the principle that users should be able to see the effects of their searches, etc, so have defaulted to field. Maybe I could store part of the list in the field (and swap in/out out as users scroll through) but do the main storage and heavy lifting within a custom property? Thanks very much for the suggestions. Cheers, David G > On 1 Jul 2020, at 5:15 pm, Klaus major-k via use-livecode wrote: > > Hi David > >> Am 01.07.2020 um 18:10 schrieb Richard Gaskin via use-livecode : >> >> David V Glasgow wrote: >> >>> Loading the plain text list of URLs from file is slowish, but more >>> importantly, for some time gives no indication that the file is >>> loading. >> >> Are you reading the file as text or binary? >> I would imagine reading as binary would be more efficient since it's a straight pull from disk, without the content alterations text-read does. >> >> -- >> Richard Gaskin > > and unless REALLY neccessary, store the data in a custom property instead of a field. > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Wed Jul 1 13:24:46 2020 From: curry at pair.com (Curry Kenworthy) Date: Wed, 1 Jul 2020 13:24:46 -0400 Subject: slow loading & navigation to card containing large field In-Reply-To: References: Message-ID: <2e892688-5dd0-e39e-8379-d3e833b00a0e@pair.com> I would use binfile to a variable, rather than a custom prop. I've seen LC 9 fields become unusable after reaching a certain # of chars. I would trust LC 9 fields with 8 million chars - maybe not 80. If users have a need to see what's going on, intentionally show them what they need to see. Not the raw data - when it's this big. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From livfoss at mac.com Wed Jul 1 16:15:13 2020 From: livfoss at mac.com (Graham Samuel) Date: Wed, 1 Jul 2020 22:15:13 +0200 Subject: Apple Transporter for iOS uploads? Message-ID: Anyone having any trouble with this app? I downloaded it and signed in with my Apple ID, but then it got stuck displaying ?signing in? with a rotatiing progress indicator. The ?Force Quit? system doesn?t report it as ?not responding?, but it doesn?t seem to be responding to me! iMac running Catalina 10.15.5. Graham From mark at canelasoftware.com Wed Jul 1 23:52:55 2020 From: mark at canelasoftware.com (Mark Talluto) Date: Wed, 1 Jul 2020 20:52:55 -0700 Subject: Animation Engine: speed tips In-Reply-To: <23B1E2FA-5FA8-4393-B576-A2E928AD6FFB@uni-wh.de> References: <23B1E2FA-5FA8-4393-B576-A2E928AD6FFB@uni-wh.de> Message-ID: This is completely awesome! Thank you Bernd. -Mark Talluto Canela Software On Wed, Jul 1, 2020 at 8:27 AM Niggemann, Bernd via use-livecode < use-livecode at lists.runrev.com> wrote: > While not exactly what David asked for but on the topic of animating > multiple objects with acceptable speed: > > http://forums.livecode.com/viewtopic.php?f=10&t=11726&hilit=sand#p56253 > > The original poster asked for "sand" particles that should have some sort > of collision detection and should react to a mouseDown to either attract > the objects or pushes them away. > > It uses _one_ polygon graphic and sets individual points of that graphic > (separated by an empty line). The points are just x,y coordinates and > markers make the visual objects of the moving parts. > > It manages to animate quite some number of objects depending on the size > of the markers and some other features that are optional (dropshadow, > ounteglow, markers filled and antialiasing) > > The stack is completely useless but perfect for a rainy day at home. > Depending on the complexity of the marker graphic it manages to animate > smoothly (frame rate 18 and up) from 150 to 1500 (small) objects (you can > change appearance while the objects are moving. > > Kind regards > Bernd > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From Bernd.Niggemann at uni-wh.de Thu Jul 2 10:57:00 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Thu, 2 Jul 2020 14:57:00 +0000 Subject: Animation Engine: speed tips Message-ID: <8ADA5E25-E98A-49F4-B901-6A3323FA293B@uni-wh.de> Thank you Mark, Glad you enjoyed it. If you feel like it you could set the markerPoints of graphic gSand to a ball, still running at 22 frames/sec with 500 of them, filled. ------------------ 0,-13 3,-13 6,-12 8,-11 10,-9 12,-6 13,-3 13,0 13,3 12,6 10,9 8,11 6,12 3,13 0,13 -3,13 -6,12 -8,11 -10,9 -12,6 -13,3 -13,0 -13,-3 -12,-6 -10,-9 -8,-11 -6,-12 -3,-13 0,-13 ----------------- Kind regards Bernd > Mark Talluto via use-livecode Wed, 01 Jul 2020 20:55:00 -0700 > > This is completely awesome! Thank you Bernd. > > -Mark Talluto > Canela Software > > On Wed, Jul 1, 2020 at 8:27 AM Niggemann, Bernd via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > While not exactly what David asked for but on the topic of animating > > multiple objects with acceptable speed: > > > > http://forums.livecode.com/viewtopic.php?f=10&t=11726&hilit=sand#p56253 From alex at tweedly.net Thu Jul 2 15:35:06 2020 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 2 Jul 2020 20:35:06 +0100 Subject: Animation Engine: speed tips In-Reply-To: <1730813b4c0.27e3.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <0E1D9B5C-8A33-4BF8-9476-A6AB3B593C67@derbrill.de> <60dd0981-b6c2-40a2-8bd5-9b100e97efe1@Spark> <1730813b4c0.27e3.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <71c5e7bd-18ec-40b8-c274-d5cf08563493@tweedly.net> On 01/07/2020 02:52, J. Landman Gay via use-livecode wrote: > Did you use acceleratedRendering? Set it to true and set the layermode > of each moving object to dynamic. I'd be curious to see if there's a > difference. > > Hadn't? tried those until now. There is a difference - but not the kind I'd hoped for :-) Full script is below with detailed time, but the summary is: - acceleratedRendering made things much worse (50% to 90% slower) - dynamic layerMode made things a little bit better (5% to 15%). If the circle was moving over a plain background, improvement was only 5%-ish, while if moving over multiple other shapes, it gave a better improvement. Here's the full snippet of the script involved (other cases obvious :-) > ? set the acceleratedRendering of this stack to false > ?? set the layermode of grc "g1" to "static" > > ?? repeat 3 times > ????? put 100,400 into tmp > ????? put the millisecs into tim1 > ????? repeat 100 times > ???????? add 1 to item 1 of tmp > ???????? set the loc of grc "g1" to tmp > ???????? wait 0 with messages > ????? end repeat > ????? put the acceleratedRendering of this stack && \ > ??????????? the layermode of grc "g1" \ > ??????????? && the millisecs-tim1 &CR after gLog > ?? end repeat > ?? put CR after gLog Here are the times for each of the cases, moving 100 times false static 192 false static 154 false static 155 true static 285 true static 332 true static 249 true dynamic 265 true dynamic 255 true dynamic 309 false dynamic 131 false dynamic 134 false dynamic 149 Alex. From htorrado at networkdreams.net Thu Jul 2 15:39:40 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Thu, 2 Jul 2020 15:39:40 -0400 Subject: WebSites made using Livecode. Message-ID: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> Dear LiveCode experts: I am trying to convince a customer to create their next website with LiveCode Server instead PHP.? The client asks me what other popular sites are created with LiveCode server. I have seen this in the Livecode forums , but it seems to be very old: https://forums.livecode.com/viewtopic.php?t=15689 Do you know modern websites created with LiveCode? I have seen that the current LiveCode site runs Wordpress + PHP. Do you know why? -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From david.bovill at gmail.com Thu Jul 2 15:53:19 2020 From: david.bovill at gmail.com (David Bovill) Date: Thu, 2 Jul 2020 20:53:19 +0100 Subject: Animation Engine: speed tips In-Reply-To: <71c5e7bd-18ec-40b8-c274-d5cf08563493@tweedly.net> References: <0E1D9B5C-8A33-4BF8-9476-A6AB3B593C67@derbrill.de> <60dd0981-b6c2-40a2-8bd5-9b100e97efe1@Spark> <1730813b4c0.27e3.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <71c5e7bd-18ec-40b8-c274-d5cf08563493@tweedly.net> Message-ID: That's inspired me :) I think it may be possible to do what I want in Livecode - which would be great. Thanks Alex and Bernd :) On Thu, 2 Jul 2020 at 20:36, Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > > On 01/07/2020 02:52, J. Landman Gay via use-livecode wrote: > > Did you use acceleratedRendering? Set it to true and set the layermode > > of each moving object to dynamic. I'd be curious to see if there's a > > difference. > > > > > Hadn't tried those until now. There is a difference - but not the kind > I'd hoped for :-) > > Full script is below with detailed time, but the summary is: > - acceleratedRendering made things much worse (50% to 90% slower) > - dynamic layerMode made things a little bit better (5% to 15%). > > If the circle was moving over a plain background, improvement was only > 5%-ish, while if moving over multiple other shapes, it gave a better > improvement. > > Here's the full snippet of the script involved (other cases obvious :-) > > > set the acceleratedRendering of this stack to false > > set the layermode of grc "g1" to "static" > > > > repeat 3 times > > put 100,400 into tmp > > put the millisecs into tim1 > > repeat 100 times > > add 1 to item 1 of tmp > > set the loc of grc "g1" to tmp > > wait 0 with messages > > end repeat > > put the acceleratedRendering of this stack && \ > > the layermode of grc "g1" \ > > && the millisecs-tim1 &CR after gLog > > end repeat > > put CR after gLog > > Here are the times for each of the cases, moving 100 times > > false static 192 > false static 154 > false static 155 > > true static 285 > true static 332 > true static 249 > > true dynamic 265 > true dynamic 255 > true dynamic 309 > > false dynamic 131 > false dynamic 134 > false dynamic 149 > > Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Jul 2 16:09:49 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 2 Jul 2020 13:09:49 -0700 Subject: WebSites made using Livecode. In-Reply-To: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> Message-ID: <3e672b49-a0b6-1e33-bd8b-8a52177a95e2@fourthworld.com> Heriberto Torrado wrote: > I am trying to convince a customer to create their next website > with LiveCode Server instead PHP. The client asks me what other > popular sites are created with LiveCode server. If you're dealing with the sort who goes only by popularity, nothing else matters. They live in a world where there are only two choices: C for the desktop and PHP for servers. It may be worth noting, though, that if they'd been consistent about their fixation on popularity they'd still be using Perl, and would have ignored the advent of PHP. ;) And they never would have enjoyed Ruby on Rails, but even at its peak it was never the most popular solution. > Do you know modern websites created with LiveCode What is a "modern" web site? That's not a trick question, just curious what specific types of features you're looking for. > I have seen that the current LiveCode site runs Wordpress + PHP. > Do you know why? Because it gets the job done at low cost. LC Ltd has generic needs for content management, no evident content strategy in terms of syndication, simple editorial workflow with minimal roles - for generic stuff generic tools are great. With the question of build or buy, it's almost always cheaper to buy. And with WP the hard cost is zero, so it's just learning curve. In general, it's only worthwhile building custom software that doesn't already exist. LC can be a good choice when you have specialized needs not already addressed off-the-shelf. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Thu Jul 2 16:49:36 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 2 Jul 2020 15:49:36 -0500 Subject: Apple Transporter for iOS uploads? In-Reply-To: References: Message-ID: <306805ee-6099-8176-4a39-47a2b502248c@hyperactivesw.com> On 7/1/20 3:15 PM, Graham Samuel via use-livecode wrote: > Anyone having any trouble with this app? I downloaded it and signed in with my Apple ID, but then it got stuck displaying ?signing in? with a rotatiing progress indicator. The ?Force Quit? system doesn?t report it as ?not responding?, but it doesn?t seem to be responding to me! > > iMac running Catalina 10.15.5. I uploaded using Transporter a few days ago without any trouble. Did you use the same Apple ID as the one in your developer account? That's the only thing I can think of. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From livfoss at mac.com Thu Jul 2 16:58:16 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 2 Jul 2020 22:58:16 +0200 Subject: Apple Transporter for iOS uploads? In-Reply-To: <306805ee-6099-8176-4a39-47a2b502248c@hyperactivesw.com> References: <306805ee-6099-8176-4a39-47a2b502248c@hyperactivesw.com> Message-ID: <32E4DE2C-E558-4DCD-8D8E-D0EABEB6E3E7@mac.com> Thanks Jacque - I think I?ve still only got one Apple ID for everything. In the end Transporter timed out rather than rejecting my password. I tried it several times with the same result. I can still log on to my developer account. I have asked Apple and hopefully they will reply. I will report any progress. My iOS deployment issues seem endless. It is dispiriting. Graham > On 2 Jul 2020, at 22:49, J. Landman Gay via use-livecode wrote: > > On 7/1/20 3:15 PM, Graham Samuel via use-livecode wrote: >> Anyone having any trouble with this app? I downloaded it and signed in with my Apple ID, but then it got stuck displaying ?signing in? with a rotatiing progress indicator. The ?Force Quit? system doesn?t report it as ?not responding?, but it doesn?t seem to be responding to me! >> iMac running Catalina 10.15.5. > > I uploaded using Transporter a few days ago without any trouble. Did you use the same Apple ID as the one in your developer account? That's the only thing I can think of. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Jul 2 17:19:29 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 2 Jul 2020 23:19:29 +0200 Subject: WebSites made using Livecode. In-Reply-To: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> Message-ID: <078916FB-E1D5-4860-AA63-9C26E2351639@m-r-d.de> Some of our customers are using Wordpress and some have websitet that were created the "normal" way by hand or with tools like Dreamweaver or Rapidweaver. But they are also using Livecode server on their sites for special tasks, e.g. webform processing, generating and providing downloads, double-opt-in routines for newsletter subscriptions and other tasks. I would say creating a website just with Livecode Server is too much work. But there is a framework from Ralph Bitter available called RevIgniter which is, according to comments of some users, a great tool and a timesaver. https://revigniter.com Unfortunately i had no time so far to play around with it, but i will as soon as time allows. - Matthias Rebbe Life Is Too Short For Boring Code > Am 02.07.2020 um 21:39 schrieb Heriberto Torrado via use-livecode : > > Dear LiveCode experts: > > I am trying to convince a customer to create their next website with LiveCode Server instead PHP. The client asks me what other popular sites are created with LiveCode server. > > I have seen this in the Livecode forums , but it seems to be very old: > > https://forums.livecode.com/viewtopic.php?t=15689 > > Do you know modern websites created with LiveCode? > > I have seen that the current LiveCode site runs Wordpress + PHP. > Do you know why? > -- > > Best regards/ Saludos cordiales/ Cordialement > > Heriberto Torrado > ?Chief Technology Officer (CTO) > ?Director de inform?tica > Directeur informatique > > *NetDreams S.C.* > http://www.networkdreams.net > > Address / Direcci?n / Adresse:? > > *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA > *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a > > *Tel - Phone - Fax:* > > Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 > Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 > > Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. > > Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. > > Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. > > Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. > > Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From htorrado at networkdreams.net Thu Jul 2 17:36:50 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Thu, 2 Jul 2020 17:36:50 -0400 Subject: WebSites made using Livecode. In-Reply-To: <3e672b49-a0b6-1e33-bd8b-8a52177a95e2@fourthworld.com> References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> <3e672b49-a0b6-1e33-bd8b-8a52177a95e2@fourthworld.com> Message-ID: Hi Richard, Thank you very much for your rapid response. My customer asks me about a popular site created with Livecode because they would like to make sure that if I get hit by a car, or we have a problem, another company could maintain their website. I mean, they would like to be sure of their business continuum.? I know, it is always the same story ... I have been making websites for twenty years and I want to do something different. I have never made a website with Livecode and I feel excited thinking about it. I feel very comfortable with Livecode and I don't want to start a customized web site using PHP or Python again. Sometimes it is not enough to do a good job, it is also important to have some fun doing it. Livecode allows me to think in a different way than I have using other programming languages, and that is like a drug that I can no longer stop. ??? > What is a "modern" website?? That's not a trick question, just curious what specific types of features you're looking for. A fully responsible website. ??? > Because it gets the job done at low cost I understand it, but if we all don't start creating more things with Livecode, it will always be an exotic language without many job opportunities. More job opportunities will give us more community, more programming libraries, more documentation, etc. ??? > In general, it's only worthwhile building custom software that doesn't already exist. Maybe we can rebuild those software using LiveCode. ??? > LC can be a good choice when you have specialized needs not already addressed off-the-shelf. We use it into our company for that: internal apps. But I think that Livecode could give people again, the full control of their computer, and the gap between a programmer and a computer user would get narrower. Something like that happened in the 1980s. I have my own company in Spain, but I moved to NYC 2 years ago and I work as an IT director at an arts school in New York City. In our coding classes I see those teens dealing with Python and with the command console... It will be a dream for them to use livecode, but teachers refuse to use it because they told me it is not very spread. Hery On 7/2/20 4:09 PM, Richard Gaskin via use-livecode wrote: > Heriberto Torrado wrote: > > > I am trying to convince a customer to create their next website > > with? LiveCode Server instead PHP.? The client asks me what other > > popular sites are created with LiveCode server. > > If you're dealing with the sort who goes only by popularity, nothing > else matters.? They live in a world where there are only two choices: > C for the desktop and PHP for servers. > > It may be worth noting, though, that if they'd been consistent about > their fixation on popularity they'd still be using Perl, and would > have ignored the advent of PHP. ;) > > And they never would have enjoyed Ruby on Rails, but even at its peak > it was never the most popular solution. > > > Do you know modern websites created with LiveCode > > What is a "modern" web site?? That's not a trick question, just > curious what specific types of features you're looking for. > > > > I have seen that the current LiveCode site runs Wordpress + PHP. > > Do you know why? > > Because it gets the job done at low cost. > > LC Ltd has generic needs for content management, no evident content > strategy in terms of syndication, simple editorial workflow with > minimal roles - for generic stuff generic tools are great. > > With the question of build or buy, it's almost always cheaper to buy. > And with WP the hard cost is zero, so it's just learning curve. > > In general, it's only worthwhile building custom software that doesn't > already exist. > > LC can be a good choice when you have specialized needs not already > addressed off-the-shelf. > > -- > ?Richard Gaskin > ?Fourth World Systems > ?Software Design and Development for the Desktop, Mobile, and the Web > ?____________________________________________________________________ > ?Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From htorrado at networkdreams.net Thu Jul 2 17:42:28 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Thu, 2 Jul 2020 17:42:28 -0400 Subject: WebSites made using Livecode. In-Reply-To: <078916FB-E1D5-4860-AA63-9C26E2351639@m-r-d.de> References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> <078916FB-E1D5-4860-AA63-9C26E2351639@m-r-d.de> Message-ID: <66f38c13-483a-f931-b76b-ebcb69b0a976@networkdreams.net> Thank you Matthias it looks so cool. I'm going to check it out. ??? > I would say creating a website just with Livecode Server is too much work. I know, but as you say in your signature: Life Is Too Short For Boring Code Hery On 7/2/20 5:19 PM, matthias rebbe via use-livecode wrote: > Some of our customers are using Wordpress and some have websitet that were created the "normal" way by hand or with tools like Dreamweaver or Rapidweaver. > But they are also using Livecode server on their sites for special tasks, e.g. webform processing, generating and providing downloads, double-opt-in routines for newsletter subscriptions and other tasks. > > I would say creating a website just with Livecode Server is too much work. > > But there is a framework from Ralph Bitter available called RevIgniter which is, according to comments of some users, a great tool and a timesaver. > https://revigniter.com > > Unfortunately i had no time so far to play around with it, but i will as soon as time allows. > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 02.07.2020 um 21:39 schrieb Heriberto Torrado via use-livecode : >> >> Dear LiveCode experts: >> >> I am trying to convince a customer to create their next website with LiveCode Server instead PHP. The client asks me what other popular sites are created with LiveCode server. >> >> I have seen this in the Livecode forums , but it seems to be very old: >> >> https://forums.livecode.com/viewtopic.php?t=15689 >> >> Do you know modern websites created with LiveCode? >> >> I have seen that the current LiveCode site runs Wordpress + PHP. >> Do you know why? >> -- >> >> Best regards/ Saludos cordiales/ Cordialement >> >> Heriberto Torrado >> ?Chief Technology Officer (CTO) >> ?Director de inform?tica >> Directeur informatique >> >> *NetDreams S.C.* >> http://www.networkdreams.net >> >> Address / Direcci?n / Adresse:? >> >> *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA >> *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a >> >> *Tel - Phone - Fax:* >> >> Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 >> Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 >> >> Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. >> >> Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. >> >> Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. >> >> Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. >> >> Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From david.bovill at gmail.com Thu Jul 2 18:35:24 2020 From: david.bovill at gmail.com (David Bovill) Date: Thu, 2 Jul 2020 23:35:24 +0100 Subject: Animation Engine: speed tips In-Reply-To: References: <0E1D9B5C-8A33-4BF8-9476-A6AB3B593C67@derbrill.de> <60dd0981-b6c2-40a2-8bd5-9b100e97efe1@Spark> <1730813b4c0.27e3.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <71c5e7bd-18ec-40b8-c274-d5cf08563493@tweedly.net> Message-ID: <66ae2530-b5b4-45d2-9763-a7e2a72e7ebb@Spark> Here is a short video of a really nice ball animation of the Earth?s Carbon Cycle - which is the sort of thing I?d like to make a series of animations / interactive simulations about. There a re a few more than 30-40 moving balls here - but they are more or less dots?. https://www.youtube.com/watch?v=dwVsD9CiokY I wonder how many particles can be animated like this in Livecode... On 2 Jul 2020, 20:53 +0100, David Bovill , wrote: > That's inspired me :) > > I think it may be possible to do what I want in Livecode - which would?be great. Thanks Alex and Bernd :) > > > On Thu, 2 Jul 2020 at 20:36, Alex Tweedly via use-livecode wrote: > > > > > > On 01/07/2020 02:52, J. Landman Gay via use-livecode wrote: > > > > Did you use acceleratedRendering? Set it to true and set the layermode > > > > of each moving object to dynamic. I'd be curious to see if there's a > > > > difference. > > > > > > > > > > > Hadn't? tried those until now. There is a difference - but not the kind > > > I'd hoped for :-) > > > > > > Full script is below with detailed time, but the summary is: > > > - acceleratedRendering made things much worse (50% to 90% slower) > > > - dynamic layerMode made things a little bit better (5% to 15%). > > > > > > If the circle was moving over a plain background, improvement was only > > > 5%-ish, while if moving over multiple other shapes, it gave a better > > > improvement. > > > > > > Here's the full snippet of the script involved (other cases obvious :-) > > > > > > > ? set the acceleratedRendering of this stack to false > > > > ?? set the layermode of grc "g1" to "static" > > > > > > > > ?? repeat 3 times > > > > ????? put 100,400 into tmp > > > > ????? put the millisecs into tim1 > > > > ????? repeat 100 times > > > > ???????? add 1 to item 1 of tmp > > > > ???????? set the loc of grc "g1" to tmp > > > > ???????? wait 0 with messages > > > > ????? end repeat > > > > ????? put the acceleratedRendering of this stack && \ > > > > ??????????? the layermode of grc "g1" \ > > > > ??????????? && the millisecs-tim1 &CR after gLog > > > > ?? end repeat > > > > ?? put CR after gLog > > > > > > Here are the times for each of the cases, moving 100 times > > > > > > false static 192 > > > false static 154 > > > false static 155 > > > > > > true static 285 > > > true static 332 > > > true static 249 > > > > > > true dynamic 265 > > > true dynamic 255 > > > true dynamic 309 > > > > > > false dynamic 131 > > > false dynamic 134 > > > false dynamic 149 > > > > > > Alex. > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Jul 2 19:04:10 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 2 Jul 2020 18:04:10 -0500 Subject: Apple Transporter for iOS uploads? In-Reply-To: <32E4DE2C-E558-4DCD-8D8E-D0EABEB6E3E7@mac.com> References: <306805ee-6099-8176-4a39-47a2b502248c@hyperactivesw.com> <32E4DE2C-E558-4DCD-8D8E-D0EABEB6E3E7@mac.com> Message-ID: On 7/2/20 3:58 PM, Graham Samuel via use-livecode wrote: > My iOS deployment issues seem endless. It is dispiriting. I try to avoid iOS apps for the same reason. Unfortunately client demand means I have to go there. We have just completed a grueling review process that required changing some of the silliest things to meet their (unreasonable, in my view) requirements. For example, we were rejected for sending the user to Safari to fill out a web-based tech support form; we had to change it to use an in-app browser. It took us 3 weeks and a series of updates to get acceptance. The identical Android app was accepted in 20 minutes without any issues. Same feature set, same code. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ludovic.thebault at laposte.net Fri Jul 3 00:28:16 2020 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Fri, 3 Jul 2020 06:28:16 +0200 Subject: Apple Transporter for iOS uploads? In-Reply-To: References: <306805ee-6099-8176-4a39-47a2b502248c@hyperactivesw.com> <32E4DE2C-E558-4DCD-8D8E-D0EABEB6E3E7@mac.com> Message-ID: <9DFC0E8E-7A25-4A0B-8E9D-F6048C145F0E@laposte.net> > Le 3 juil. 2020 ? 01:04, J. Landman Gay via use-livecode a ?crit : > > On 7/2/20 3:58 PM, Graham Samuel via use-livecode wrote: >> My iOS deployment issues seem endless. It is dispiriting. > I uploaded an update with Transporter last night without problem. But you can still use the older Application loader (if you have an older Xcode). From torsten.holmer at web.de Fri Jul 3 07:42:48 2020 From: torsten.holmer at web.de (Torsten Holmer) Date: Fri, 3 Jul 2020 13:42:48 +0200 Subject: WebSites made using Livecode. In-Reply-To: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> Message-ID: Do you know revIgniter, the Livecode Framework for Websites? https://revigniter.com/ "Many websites have been successfully built with revIgniter including the presumably largest Hindu website in existence." https://www.himalayanacademy.com/ Best regards, Torsten > Am 02.07.2020 um 21:39 schrieb Heriberto Torrado via use-livecode : > > Dear LiveCode experts: > > I am trying to convince a customer to create their next website with LiveCode Server instead PHP. The client asks me what other popular sites are created with LiveCode server. > > I have seen this in the Livecode forums , but it seems to be very old: > > https://forums.livecode.com/viewtopic.php?t=15689 > > Do you know modern websites created with LiveCode? > > I have seen that the current LiveCode site runs Wordpress + PHP. > Do you know why? > -- > > Best regards/ Saludos cordiales/ Cordialement > > Heriberto Torrado > ?Chief Technology Officer (CTO) > ?Director de inform?tica > Directeur informatique > > *NetDreams S.C.* > http://www.networkdreams.net > > Address / Direcci?n / Adresse:? > > *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA > *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a > > *Tel - Phone - Fax:* > > Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 > Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 > > Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. > > Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. > > Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. > > Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. > > Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From danoldboy at gmail.com Fri Jul 3 08:51:11 2020 From: danoldboy at gmail.com (Dan Brown) Date: Fri, 3 Jul 2020 13:51:11 +0100 Subject: WebSites made using Livecode. In-Reply-To: References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> Message-ID: I'd be surprised if the client cares at all about the websites backend, you might be better off picking a modern frontend framework (bulma,react,vue etc) and showing examples of websites using it. As for the backend, there are some great flat file CMS's that could be managed with livecode scripts ( creating directories, template files, html templates ....) https://getgrav.org/ https://getkirby.com/ On Fri, Jul 3, 2020 at 12:43 PM Torsten Holmer via use-livecode < use-livecode at lists.runrev.com> wrote: > Do you know revIgniter, the Livecode Framework for Websites? > https://revigniter.com/ > > "Many websites have been successfully built with revIgniter including the > presumably largest Hindu website in > existence." > https://www.himalayanacademy.com/ > > Best regards, > Torsten > > > > Am 02.07.2020 um 21:39 schrieb Heriberto Torrado via use-livecode < > use-livecode at lists.runrev.com>: > > > > Dear LiveCode experts: > > > > I am trying to convince a customer to create their next website with > LiveCode Server instead PHP. The client asks me what other popular sites > are created with LiveCode server. > > > > I have seen this in the Livecode forums , but it seems to be very old: > > > > https://forums.livecode.com/viewtopic.php?t=15689 > > > > Do you know modern websites created with LiveCode? > > > > I have seen that the current LiveCode site runs Wordpress + PHP. > > Do you know why? > > -- > > > > Best regards/ Saludos cordiales/ Cordialement > > > > Heriberto Torrado > > ?Chief Technology Officer (CTO) > > ?Director de inform?tica > > Directeur informatique > > > > *NetDreams S.C.* > > http://www.networkdreams.net > > > > Address / Direcci?n / Adresse:? > > > > *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA > > *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 > Spain / Espa?a > > > > *Tel - Phone - Fax:* > > > > Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 > > Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 > > > > Please consider the environment before printing this email / Por > favor considera tu responsabilidad medioambiental antes de imprimir esta > p?gina. > > > > Confidentiality: The information contained in this message as well as > the attached file(s) is confidential/privileged and is only intended for > the person(s) to whom it is addressed. If the reader of this message is not > the intended recipient or the employee or agent responsible for delivering > the message to the intended recipient, or you have received this > comunication in error, please be aware that any dissemination, distribution > or duplication is strictly prohibited, and can be illegal, and please > notify us immediately and return the original message to us at the address > above. Thank you. > > > > Confidencialidad: La informaci?n contenida en este mensaje y/o > archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser > le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este > mensaje y no es el destinatario se?alado, el empleado o el agente > responsable de entregar el mensaje al destinatario, o ha recibido esta > comunicaci?n por error, le informamos que est? totalmente prohibida, y > puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de > esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos > devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. > > > > Viruses: Although we have taken steps to insure that this e-mail and > attachments are free from any virus, we advise that in keeping with good > computing practice, the recipient should ensure they are actually virus > free. > > > > Virus: Aunque hemos tomado las medidas para asegurarnos que este correo > electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos > que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe > asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From htorrado at networkdreams.net Fri Jul 3 11:47:22 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Fri, 3 Jul 2020 11:47:22 -0400 Subject: WebSites made using Livecode. In-Reply-To: References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> Message-ID: <6e35e83b-ce00-8c55-34a5-9954147991e4@networkdreams.net> Hi Dan, The customer cares about the backend, because he wants to be sure he will find a livecode hosting company in the future. We will host the web page into our own servers. We currently offer PHP, Python? and LiveCode hosting. I'm honest with my customers and I told him about Livecode backend hosting pros & cons. There are other companies offering LiveCode hosting, but in Spain it is not very popular. It will not be the typical Wordpress webpage, it will be a small Human Resources website for their employees. It would be easier to do it with Python-Flask or Django, but I'm very excited to do it using livecode. Thank you very much for those links. Hery On 7/3/20 8:51 AM, Dan Brown via use-livecode wrote: > I'd be surprised if the client cares at all about the websites backend, you > might be better off picking a modern frontend framework (bulma,react,vue > etc) and showing examples of websites using it. > > As for the backend, there are some great flat file CMS's that could be > managed with livecode scripts ( creating directories, template files, html > templates ....) > > https://getgrav.org/ > > https://getkirby.com/ > > > On Fri, Jul 3, 2020 at 12:43 PM Torsten Holmer via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Do you know revIgniter, the Livecode Framework for Websites? >> https://revigniter.com/ >> >> "Many websites have been successfully built with revIgniter including the >> presumably largest Hindu website in >> existence." >> https://www.himalayanacademy.com/ >> >> Best regards, >> Torsten >> >> >>> Am 02.07.2020 um 21:39 schrieb Heriberto Torrado via use-livecode < >> use-livecode at lists.runrev.com>: >>> Dear LiveCode experts: >>> >>> I am trying to convince a customer to create their next website with >> LiveCode Server instead PHP. The client asks me what other popular sites >> are created with LiveCode server. >>> I have seen this in the Livecode forums , but it seems to be very old: >>> >>> https://forums.livecode.com/viewtopic.php?t=15689 >>> >>> Do you know modern websites created with LiveCode? >>> >>> I have seen that the current LiveCode site runs Wordpress + PHP. >>> Do you know why? >>> -- >>> >>> Best regards/ Saludos cordiales/ Cordialement >>> >>> Heriberto Torrado >>> ?Chief Technology Officer (CTO) >>> ?Director de inform?tica >>> Directeur informatique >>> >>> *NetDreams S.C.* >>> http://www.networkdreams.net >>> >>> Address / Direcci?n / Adresse:? >>> >>> *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA >>> *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 >> Spain / Espa?a >>> *Tel - Phone - Fax:* >>> >>> Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 >>> Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 >>> >>> Please consider the environment before printing this email / Por >> favor considera tu responsabilidad medioambiental antes de imprimir esta >> p?gina. >>> Confidentiality: The information contained in this message as well as >> the attached file(s) is confidential/privileged and is only intended for >> the person(s) to whom it is addressed. If the reader of this message is not >> the intended recipient or the employee or agent responsible for delivering >> the message to the intended recipient, or you have received this >> comunication in error, please be aware that any dissemination, distribution >> or duplication is strictly prohibited, and can be illegal, and please >> notify us immediately and return the original message to us at the address >> above. Thank you. >>> Confidencialidad: La informaci?n contenida en este mensaje y/o >> archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser >> le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este >> mensaje y no es el destinatario se?alado, el empleado o el agente >> responsable de entregar el mensaje al destinatario, o ha recibido esta >> comunicaci?n por error, le informamos que est? totalmente prohibida, y >> puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de >> esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos >> devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. >>> Viruses: Although we have taken steps to insure that this e-mail and >> attachments are free from any virus, we advise that in keeping with good >> computing practice, the recipient should ensure they are actually virus >> free. >>> Virus: Aunque hemos tomado las medidas para asegurarnos que este correo >> electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos >> que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe >> asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From rdimola at evergreeninfo.net Fri Jul 3 13:13:14 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 3 Jul 2020 13:13:14 -0400 Subject: What's Going On In The IDE In-Reply-To: References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> Message-ID: <004301d6515d$400005c0$c0001140$@net> Win 10 LC 9.6.0 I have a card with 55 groups each with one field of 20 characters. This card renders sub second but is unresponsive for an additional 14 seconds. What's going on here? The IDE stacks totals out to 13 seconds. This is after I made 1 minor edit in the script with the message box open. If I open the IDE without opening the script editor or message box then it only takes 4 seconds of which almost 3 seconds is in IDE scripts. I can expect some IDE overhead but waiting 14 to 20 seconds to get the IDE back after a minor edit that might not even be on this card is a problem. It slows development down to a crawl. The IDE hang is proportional to the number of fields on the card. The same card with only say 3 groups with 1 field each of 20 characters causes the IDE hang to go down to one second. Also after running the profile (and other times also) when closing the IDE it goes into an endless loop after a completely blank window titled reNewScriptEditor1 open up and the IDE process need to be manually stopped. I profiled the script and here's the top of the hit parade with 55 groups of 1 field each of 20 characters when the script editor is open. stack "C:/Program Files/RunRev/LiveCode Business 9.6/Toolset/palettes/messagebox/behaviors/revmessageboxsinglelinecardbehavior.livecodescript" 4803 ms layoutCard stack "C:/Program Files/RunRev/LiveCode Business 9.6/Toolset/palettes/behaviors/revpalettebehavior.livecodescript" 3383 ms generateFrame stack "C:/Program Files/RunRev/LiveCode Business 9.6/Toolset/palettes/message box/behaviors/revmessageboxbehavior.livecodescript" 3006 ms positionOpenStacksButton stack "C:/Program Files/RunRev/LiveCode Business 9.6/Toolset/palettes/message box/behaviors/revmessageboxbehavior.livecodescript" 1575 ms revIDESetActiveStack stack "C:/Program Files/RunRev/LiveCode Business 9.6/Toolset/palettes/behaviors/revpalettebehavior.livecodescript" 1512 ms contentRect stack "C:/Program Files/RunRev/LiveCode Business 9.6/Toolset/libraries/revbackscriptlibrary.livecodescript" 791 ms revUpdateAOControls stack "C:/Program Files/RunRev/LiveCode Business 9.6/Toolset/libraries/revidelibrary.8.livecodescript" 783 ms revIDEColor stack "C:/Program Files/RunRev/LiveCode Business 9.6/Toolset/libraries/revfrontscriptlibrary.livecodescript" 743 ms nameChanged stack "C:/Program Files/RunRev/LiveCode Business 9.6/Toolset/palettes/menubar/revmenubar.livecodescript" 346 ms updateButtonHilite stack "C:/Program Files/RunRev/LiveCode Business 9.6/Toolset/palettes/menubar/revmenubar.livecodescript" 255 ms setButtonHilite stack "C:/Program Files/RunRev/LiveCode Business 9.6/Toolset/libraries/revgeometrylibrary.livecodescript" 248 ms revCacheGeometry stack "C:/Program Files/RunRev/LiveCode Business 9.6/Toolset/palettes/behaviors/revpalettebehavior.livecodescript" 207 ms appendMenuItem stack "C:/Program Files/RunRev/LiveCode Business 9.6/Toolset/libraries/revidelibrary.8.livecodescript" 190 ms revIDEGetPreference Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From david.bovill at gmail.com Fri Jul 3 13:25:45 2020 From: david.bovill at gmail.com (David Bovill) Date: Fri, 3 Jul 2020 18:25:45 +0100 Subject: LiveCode Zoom In-Reply-To: <6e35e83b-ce00-8c55-34a5-9954147991e4@networkdreams.net> References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> <6e35e83b-ce00-8c55-34a5-9954147991e4@networkdreams.net> Message-ID: I?d like to host / take part in a weekly Zoom with other Livecoders. I started the Livecode TV thing ages ago now, and this time I think we can do something more interesting - but what? I take part in a couple of regular Zoom gatherings around open source projects for a few years now, and It seems a pity not to do it with LiveCode. I?m thinking of it as a regular drop in, and to integrate LiveCode into how the event works. Just not quite sure how. Thing out loud here :) On 3 Jul 2020, 16:48 +0100, Heriberto Torrado via use-livecode , wrote: > Hi Dan, > > The customer cares about the backend, because he wants to be sure he > will find a livecode hosting company in the future. We will host the web > page into our own servers. > We currently offer PHP, Python? and LiveCode hosting. > I'm honest with my customers and I told him about Livecode backend > hosting pros & cons. > > There are other companies offering LiveCode hosting, but in Spain it is > not very popular. > > It will not be the typical Wordpress webpage, it will be a small Human > Resources website for their employees. > It would be easier to do it with Python-Flask or Django, but I'm very > excited to do it using livecode. > > Thank you very much for those links. > > Hery > > On 7/3/20 8:51 AM, Dan Brown via use-livecode wrote: > > I'd be surprised if the client cares at all about the websites backend, you > > might be better off picking a modern frontend framework (bulma,react,vue > > etc) and showing examples of websites using it. > > > > As for the backend, there are some great flat file CMS's that could be > > managed with livecode scripts ( creating directories, template files, html > > templates ....) > > > > https://getgrav.org/ > > > > https://getkirby.com/ > > > > > > On Fri, Jul 3, 2020 at 12:43 PM Torsten Holmer via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Do you know revIgniter, the Livecode Framework for Websites? > > > https://revigniter.com/ > > > > > > "Many websites have been successfully built with revIgniter including the > > > presumably largest Hindu website in > > > existence." > > > https://www.himalayanacademy.com/ > > > > > > Best regards, > > > Torsten > > > > > > > > > > Am 02.07.2020 um 21:39 schrieb Heriberto Torrado via use-livecode < > > > use-livecode at lists.runrev.com>: > > > > Dear LiveCode experts: > > > > > > > > I am trying to convince a customer to create their next website with > > > LiveCode Server instead PHP. The client asks me what other popular sites > > > are created with LiveCode server. > > > > I have seen this in the Livecode forums , but it seems to be very old: > > > > > > > > https://forums.livecode.com/viewtopic.php?t=15689 > > > > > > > > Do you know modern websites created with LiveCode? > > > > > > > > I have seen that the current LiveCode site runs Wordpress + PHP. > > > > Do you know why? > > > > -- > > > > > > > > Best regards/ Saludos cordiales/ Cordialement > > > > > > > > Heriberto Torrado > > > > ?Chief Technology Officer (CTO) > > > > ?Director de inform?tica > > > > Directeur informatique > > > > > > > > *NetDreams S.C.* > > > > http://www.networkdreams.net > > > > > > > > Address / Direcci?n / Adresse: > > > > > > > > *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA > > > > *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 > > > Spain / Espa?a > > > > *Tel - Phone - Fax:* > > > > > > > > Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 > > > > Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 > > > > > > > > Please consider the environment before printing this email / Por > > > favor considera tu responsabilidad medioambiental antes de imprimir esta > > > p?gina. > > > > Confidentiality: The information contained in this message as well as > > > the attached file(s) is confidential/privileged and is only intended for > > > the person(s) to whom it is addressed. If the reader of this message is not > > > the intended recipient or the employee or agent responsible for delivering > > > the message to the intended recipient, or you have received this > > > comunication in error, please be aware that any dissemination, distribution > > > or duplication is strictly prohibited, and can be illegal, and please > > > notify us immediately and return the original message to us at the address > > > above. Thank you. > > > > Confidencialidad: La informaci?n contenida en este mensaje y/o > > > archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser > > > le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este > > > mensaje y no es el destinatario se?alado, el empleado o el agente > > > responsable de entregar el mensaje al destinatario, o ha recibido esta > > > comunicaci?n por error, le informamos que est? totalmente prohibida, y > > > puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de > > > esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos > > > devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. > > > > Viruses: Although we have taken steps to insure that this e-mail and > > > attachments are free from any virus, we advise that in keeping with good > > > computing practice, the recipient should ensure they are actually virus > > > free. > > > > Virus: Aunque hemos tomado las medidas para asegurarnos que este correo > > > electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos > > > que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe > > > asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > > Best regards/ Saludos cordiales/ Cordialement > > Heriberto Torrado > ?Chief Technology Officer (CTO) > ?Director de inform?tica > Directeur informatique > > *NetDreams S.C.* > http://www.networkdreams.net > > ?Address / Direcci?n / Adresse: > > *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA > *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 > Spain / Espa?a > > *Tel - Phone - Fax:* > > Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 > Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 > > ?? Please consider the environment before printing this email / Por > favor considera tu responsabilidad medioambiental antes de imprimir esta > p?gina. > > Confidentiality: The information contained in this message as well as > the attached file(s) is confidential/privileged and is only intended for > the person(s) to whom it is addressed. If the reader of this message is > not the intended recipient or the employee or agent responsible for > delivering the message to the intended recipient, or you have received > this comunication in error, please be aware that any dissemination, > distribution or duplication is strictly prohibited, and can be illegal, > and please notify us immediately and return the original message to us > at the address above. Thank you. > > Confidencialidad: La informaci?n contenida en este mensaje y/o > archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a > ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted > lee este mensaje y no es el destinatario se?alado, el empleado o el > agente responsable de entregar el mensaje al destinatario, o ha recibido > esta comunicaci?n por error, le informamos que est? totalmente > prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o > reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique > inmediatamente y nos devuelva el mensaje original a la direcci?n arriba > mencionada. Gracias. > > Viruses: Although we have taken steps to insure that this e-mail and > attachments are free from any virus, we advise that in keeping with good > computing practice, the recipient should ensure they are actually virus > free. > > Virus: Aunque hemos tomado las medidas para asegurarnos que este correo > electr?nico y sus ficheros adjuntos est?n libres de virus, le > recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el > receptor debe asegurarse que este correo y sus ficheros adjuntos est?n > libres de virus. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephen at barncard.com Fri Jul 3 13:56:52 2020 From: stephen at barncard.com (Stephen Barncard) Date: Fri, 3 Jul 2020 10:56:52 -0700 Subject: LiveCode Zoom In-Reply-To: References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> <6e35e83b-ce00-8c55-34a5-9954147991e4@networkdreams.net> Message-ID: Hi David, I'm not sure there's a good reason to integrate Livecode into the Zoom API just for the sake of using Livecode to do it. I do like the idea of using Zoom for discussions and demonstrations of Livecode technology. All anyone needs to do is for the leader to have the lowest level subscription to Zoom ($15US) which allows that person to host up to 100 participants. I noticed that our last (first?) Zoom online meeting with the mother ship there weren't that many participants. It also appears that access to their API might not be for ordinary mortals (i.e. $$$). What could we add to Zoom that they don't already offer? Easy to find the API info though .... https://marketplace.zoom.us/docs/api-reference/zoom-api -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Fri, Jul 3, 2020 at 10:27 AM David Bovill via use-livecode < use-livecode at lists.runrev.com> wrote: > I?d like to host / take part in a weekly Zoom with other Livecoders. I > started the Livecode TV thing ages ago now, and this time I think we can do > something more interesting - but what? > > I take part in a couple of regular Zoom gatherings around open source > projects for a few years now, and It seems a pity not to do it with > LiveCode. > > I?m thinking of it as a regular drop in, and to integrate LiveCode into > how the event works. Just not quite sure how. Thing out loud here :) > On 3 Jul 2020, 16:48 +0100, Heriberto Torrado via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > Hi Dan, > > > > The customer cares about the backend, because he wants to be sure he > > will find a livecode hosting company in the future. We will host the web > > page into our own servers. > > We currently offer PHP, Python and LiveCode hosting. > > I'm honest with my customers and I told him about Livecode backend > > hosting pros & cons. > > > > There are other companies offering LiveCode hosting, but in Spain it is > > not very popular. > > > > It will not be the typical Wordpress webpage, it will be a small Human > > Resources website for their employees. > > It would be easier to do it with Python-Flask or Django, but I'm very > > excited to do it using livecode. > > > > Thank you very much for those links. > > > > Hery > > > > On 7/3/20 8:51 AM, Dan Brown via use-livecode wrote: > > > I'd be surprised if the client cares at all about the websites > backend, you > > > might be better off picking a modern frontend framework > (bulma,react,vue > > > etc) and showing examples of websites using it. > > > > > > As for the backend, there are some great flat file CMS's that could be > > > managed with livecode scripts ( creating directories, template files, > html > > > templates ....) > > > > > > https://getgrav.org/ > > > > > > https://getkirby.com/ > > > > > > > > > On Fri, Jul 3, 2020 at 12:43 PM Torsten Holmer via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > Do you know revIgniter, the Livecode Framework for Websites? > > > > https://revigniter.com/ > > > > > > > > "Many websites have been successfully built with revIgniter > including the > > > > presumably largest Hindu website > in > > > > existence." > > > > https://www.himalayanacademy.com/ > > > > > > > > > Best regards, > > > > Torsten > > > > > > > > > > > > > Am 02.07.2020 um 21:39 schrieb Heriberto Torrado via use-livecode < > > > > use-livecode at lists.runrev.com>: > > > > > Dear LiveCode experts: > > > > > > > > > > I am trying to convince a customer to create their next website > with > > > > LiveCode Server instead PHP. The client asks me what other popular > sites > > > > are created with LiveCode server. > > > > > I have seen this in the Livecode forums , but it seems to be very > old: > > > > > > > > > > https://forums.livecode.com/viewtopic.php?t=15689 > > > > > > > > > > Do you know modern websites created with LiveCode? > > > > > > > > > > I have seen that the current LiveCode site runs Wordpress + PHP. > > > > > Do you know why? > > > > > -- > > > > > > > > > > Best regards/ Saludos cordiales/ Cordialement > > > > > > > > > > Heriberto Torrado > > > > > ?Chief Technology Officer (CTO) > > > > > ?Director de inform?tica > > > > > Directeur informatique > > > > > > > > > > *NetDreams S.C.* > > > > > http://www.networkdreams.net > > > > > > > > > > Address / Direcci?n / Adresse: > > > > > > > > > > *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA > > > > > *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid > 28024 > > > > Spain / Espa?a > > > > > *Tel - Phone - Fax:* > > > > > > > > > > Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 > > > > > Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 > > > > > > > > > > Please consider the environment before printing this email / Por > > > > favor considera tu responsabilidad medioambiental antes de imprimir > esta > > > > p?gina. > > > > > Confidentiality: The information contained in this message as well > as > > > > the attached file(s) is confidential/privileged and is only intended > for > > > > the person(s) to whom it is addressed. If the reader of this message > is not > > > > the intended recipient or the employee or agent responsible for > delivering > > > > the message to the intended recipient, or you have received this > > > > comunication in error, please be aware that any dissemination, > distribution > > > > or duplication is strictly prohibited, and can be illegal, and please > > > > notify us immediately and return the original message to us at the > address > > > > above. Thank you. > > > > > Confidencialidad: La informaci?n contenida en este mensaje y/o > > > > archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada > a ser > > > > le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted > lee este > > > > mensaje y no es el destinatario se?alado, el empleado o el agente > > > > responsable de entregar el mensaje al destinatario, o ha recibido > esta > > > > comunicaci?n por error, le informamos que est? totalmente prohibida, > y > > > > puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n > de > > > > esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente > y nos > > > > devuelva el mensaje original a la direcci?n arriba mencionada. > Gracias. > > > > > Viruses: Although we have taken steps to insure that this e-mail > and > > > > attachments are free from any virus, we advise that in keeping with > good > > > > computing practice, the recipient should ensure they are actually > virus > > > > free. > > > > > Virus: Aunque hemos tomado las medidas para asegurarnos que este > correo > > > > electr?nico y sus ficheros adjuntos est?n libres de virus, le > recomendamos > > > > que a efectos de mantener buenas pr?cticas de seguridad, el receptor > debe > > > > asegurarse que este correo y sus ficheros adjuntos est?n libres de > virus. > > > > > _______________________________________________ > > > > > use-livecode mailing list > > > > > use-livecode at lists.runrev.com > > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > > > > Best regards/ Saludos cordiales/ Cordialement > > > > Heriberto Torrado > > ?Chief Technology Officer (CTO) > > ?Director de inform?tica > > Directeur informatique > > > > *NetDreams S.C.* > > http://www.networkdreams.net > > > > Address / Direcci?n / Adresse: > > > > *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA > > *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 > > Spain / Espa?a > > > > *Tel - Phone - Fax:* > > > > Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 > > Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 > > > > Please consider the environment before printing this email / Por > > favor considera tu responsabilidad medioambiental antes de imprimir esta > > p?gina. > > > > Confidentiality: The information contained in this message as well as > > the attached file(s) is confidential/privileged and is only intended for > > the person(s) to whom it is addressed. If the reader of this message is > > not the intended recipient or the employee or agent responsible for > > delivering the message to the intended recipient, or you have received > > this comunication in error, please be aware that any dissemination, > > distribution or duplication is strictly prohibited, and can be illegal, > > and please notify us immediately and return the original message to us > > at the address above. Thank you. > > > > Confidencialidad: La informaci?n contenida en este mensaje y/o > > archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a > > ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted > > lee este mensaje y no es el destinatario se?alado, el empleado o el > > agente responsable de entregar el mensaje al destinatario, o ha recibido > > esta comunicaci?n por error, le informamos que est? totalmente > > prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o > > reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique > > inmediatamente y nos devuelva el mensaje original a la direcci?n arriba > > mencionada. Gracias. > > > > Viruses: Although we have taken steps to insure that this e-mail and > > attachments are free from any virus, we advise that in keeping with good > > computing practice, the recipient should ensure they are actually virus > > free. > > > > Virus: Aunque hemos tomado las medidas para asegurarnos que este correo > > electr?nico y sus ficheros adjuntos est?n libres de virus, le > > recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el > > receptor debe asegurarse que este correo y sus ficheros adjuntos est?n > > libres de virus. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david.bovill at gmail.com Sat Jul 4 08:16:44 2020 From: david.bovill at gmail.com (David Bovill) Date: Sat, 4 Jul 2020 13:16:44 +0100 Subject: LiveCode Zoom In-Reply-To: References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> <6e35e83b-ce00-8c55-34a5-9954147991e4@networkdreams.net> Message-ID: <8dda4a36-b13f-42aa-a685-c62966948d24@Spark> I?m thinking it would be nice to support Livecode Ltd a bit at this time of pandemic, and as I?m working full time on creating interesting community building experiences using Zoom and related platforms - I thought the best thing I could do to help would be to apply these to building interest and community around Livecode. On 3 Jul 2020, 18:57 +0100, Stephen Barncard via use-livecode , wrote: > I'm not sure there's a good reason to integrate Livecode into the Zoom API > just for the sake of using Livecode to do it. I do like the idea of > using Zoom for discussions and demonstrations of Livecode technology. All > anyone needs to do is for the leader to have the lowest level subscription > to Zoom ($15US) which allows that person to host up to 100 participants. I > noticed that our last (first?) Yes - can use my paid for Zoom account and I?ve played with the Zoom API in Livecode though like you point out that?s not so important. So just doing an interesting fun weekly Zoom call would be the starter for one. > Zoom online meeting with the mother ship > there weren't that many participants. It also appears that access to their > API might not be for ordinary mortals (i.e. $$$). What could we add to > Zoom that they don't already offer? I think what would be interesting would be to build some data visualisation tools that feedback into the Zoom conversation more interesting visualisations that you are able to get with native Zoom tools. So we create some Livecode app that can chat with each other to share data, and I can pipe a realtime image of a Livecode stack back into the Zoom.??So I imagine a realtime coding experience in which the resulting visualisations would be made available live to Zoom viewers. I see this as Livecoders showing off what they can do to a non-Livecode audience - that way we can have interesting conversations about subjects of interest that could do with a bit of Livecode software magic to make the discussions more interactive. That way we can extend the audience to non-programmers while having some fun ourselves coding on stuff. From prothero at earthlearningsolutions.org Sat Jul 4 11:18:08 2020 From: prothero at earthlearningsolutions.org (Prothero@earthlearning) Date: Sat, 4 Jul 2020 08:18:08 -0700 Subject: LiveCode Zoom In-Reply-To: <8dda4a36-b13f-42aa-a685-c62966948d24@Spark> References: <8dda4a36-b13f-42aa-a685-c62966948d24@Spark> Message-ID: <05B7CDF6-8DF0-4BA7-8C1C-842E4517D5F2@earthlearningsolutions.org> David and Livecoders, david, your ideas are really interesting, especially for those who are interested in education. The pandemic is creating a very fertile environment for those who develop educational resources for teachers that engage students and provide robust learning environments for them. I see a lot of postings expressing support for movie type presentations of topics by talented lecturers. But those kind of presentations, engaging as they are, are only step one in the education process. Learners need to know how to gather and organize ideas, present their own ideas based on these lectures and other sources of information, write coherently, evaluate the work of others, and figure out the difference between fact and fiction. Developing software to support these goals is the job of a coder, but the content and design of the resources absolutely requires a team with experience teaching the target audience and expertise in the subject being taught. Both of my sons are 3rd to 5th grade (US) teachers. One of them converted an Oregon Trail (commercial) activity for online use. The kids loved it. He spent a lot of time on it and used Google Classroom software to implement it. There are loads of creative ideas that could be packaged and presented as games or in other ways that would engage students. There are significant technical challenges in teaching online, for this age level. Kids mostly have internet (in my son?s district), but they use Chromebooks of various vintage, Apple desktops, Windows based, etc. This makes web based apps like Google Classroom and Zoom attractive for developers, which is a weak spot for Livecode. The other challenge is making activities that fit various grade levels and curricula. Isolated applications that may be wonderful, but stand isolated in a curricular framework, will disappear into the morass of competitors, and teachers will not have time to sort out the good, bad, and ugly. This is the situation now, where my sons are deluged with adverts for various educational apps of uncertain quality. In summary, I see a great opportunity for a team with coding, artistic, and education capabilities, to focus on one of: 1. Scan the marketplace and compare and evaluate what?s available. Kind of like a consumer reports of education resources. 2. Create educational resources that engage and educate, and meet ?Curriculum Standards? defined for the grade level. Gaads, this seems like a huge landscape to play in, and I?m sure there are many opportunities, because the need is so great right now. Personally, I?m retired and making apps in Livecode is a hobby. I don?t need, or want another job. But, I am keenly interested in learning and education strategies. Best, Bill William Prothero https://earthlearningsolutions.org/ > On Jul 4, 2020, at 5:17 AM, David Bovill via use-livecode wrote: > > ?I?m thinking it would be nice to support Livecode Ltd a bit at this time of pandemic, and as I?m working full time on creating interesting community building experiences using Zoom and related platforms - I thought the best thing I could do to help would be to apply these to building interest and community around Livecode. >> On 3 Jul 2020, 18:57 +0100, Stephen Barncard via use-livecode , wrote: >> I'm not sure there's a good reason to integrate Livecode into the Zoom API >> just for the sake of using Livecode to do it. I do like the idea of >> using Zoom for discussions and demonstrations of Livecode technology. All >> anyone needs to do is for the leader to have the lowest level subscription >> to Zoom ($15US) which allows that person to host up to 100 participants. I >> noticed that our last (first?) > > Yes - can use my paid for Zoom account and I?ve played with the Zoom API in Livecode though like you point out that?s not so important. So just doing an interesting fun weekly Zoom call would be the starter for one. >> Zoom online meeting with the mother ship >> there weren't that many participants. It also appears that access to their >> API might not be for ordinary mortals (i.e. $$$). What could we add to >> Zoom that they don't already offer? > > I think what would be interesting would be to build some data visualisation tools that feedback into the Zoom conversation more interesting visualisations that you are able to get with native Zoom tools. So we create some Livecode app that can chat with each other to share data, and I can pipe a realtime image of a Livecode stack back into the Zoom. So I imagine a realtime coding experience in which the resulting visualisations would be made available live to Zoom viewers. > > I see this as Livecoders showing off what they can do to a non-Livecode audience - that way we can have interesting conversations about subjects of interest that could do with a bit of Livecode software magic to make the discussions more interactive. That way we can extend the audience to non-programmers while having some fun ourselves coding on stuff. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Sat Jul 4 13:36:57 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Sat, 4 Jul 2020 18:36:57 +0100 Subject: WebSites made using Livecode. In-Reply-To: <6e35e83b-ce00-8c55-34a5-9954147991e4@networkdreams.net> References: <6e35e83b-ce00-8c55-34a5-9954147991e4@networkdreams.net> Message-ID: <9B973C60-AD66-4DB4-A72E-568F2F24879E@pidigital.co.uk> Hi I?ve been creating a website built in LiveCode but NOT LC Server. I opted to using php for server end calls as we connect into a mySQL database on the server. The message path is LC > tiny amounts of JS > a small PHP library of function calls > JS message transport > LC. LC does all the heavy lifting. JS is ONLY for sending messages to and from php. PHP is pretty much only for communication with the database, sending emails, downloading and uploading files to and from the users desktop/file system. What was you wanting LC Server accomplish? Was you using an LC front end or only looking to use it for backend stuff? Sean Cole Pi Digital Productions Ltd eMail Ts & Cs > On 3 Jul 2020, at 16:47, Heriberto Torrado via use-livecode wrote: > > ?Hi Dan, > > The customer cares about the backend, because he wants to be sure he will find a livecode hosting company in the future. We will host the web page into our own servers. > We currently offer PHP, Python and LiveCode hosting. > I'm honest with my customers and I told him about Livecode backend hosting pros & cons. > > There are other companies offering LiveCode hosting, but in Spain it is not very popular. > > It will not be the typical Wordpress webpage, it will be a small Human Resources website for their employees. > It would be easier to do it with Python-Flask or Django, but I'm very excited to do it using livecode. > > Thank you very much for those links. From mark.rauterkus at gmail.com Sat Jul 4 15:52:01 2020 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Sat, 4 Jul 2020 15:52:01 -0400 Subject: How to use LiveCode In-Reply-To: References: Message-ID: Hi, Love the idea of Zoom weekly call. Opportunity exists for education for sure. I put up a mini plan that failed this summer for a city youth jobs program. https://earn.CLOH.org But they were interested in re addressing this for the school year. With only virtual sessions, I had hopes we could get something cooking for interested youth. But this could really use a set of meaningful project and OUTCOMES. There is no lesson plans behind the links. Mine is also with a sports focus. So extra credit for that. Our teams and coaches are all over the map now with and without practices and in person training. Mark Rauterkus -- -- Ta. Mark Rauterkus Mark at Rauterkus.com Webmaster, International Swim Coaches Association, SwimISCA.org Executive Director of SKWIM USA, a 501(c)(3) The Pittsburgh Project - swim coach and head lifeguard Coach at The Ellis School for Swimming, T&F and Triathlon Pittsburgh Combined Water Polo Team & Renegades (Masters) http://CLOH.org 412 298 3432 = cell From htorrado at networkdreams.net Sun Jul 5 16:16:54 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Sun, 5 Jul 2020 16:16:54 -0400 Subject: WebSites made using Livecode. In-Reply-To: <9B973C60-AD66-4DB4-A72E-568F2F24879E@pidigital.co.uk> References: <6e35e83b-ce00-8c55-34a5-9954147991e4@networkdreams.net> <9B973C60-AD66-4DB4-A72E-568F2F24879E@pidigital.co.uk> Message-ID: Hi Sean, So, as far as I know, you use PHP as a middleware between the database and the Livecode code app. Isn't it? I guess you do that because of security reasons to not expose the database. My main goal is to use Livecode instead of PHP to create a small website (about ten forms and some logic layer to edit them). I think it will be fun. I use Livecode to create apps, and as a console scripting to substitute some Bash scripts. So now, I'd like to explore the server options. It will be a a dream to use the same language for the server. I'm trying to convince my customer. Off-topic: Would you guys like to work in Alaska for some time? It could be a good experience. They are looking for a LiveCode programmer. https://www.indeed.com/jobs?q=livecode&l&vjk=571a9274563c52bc Best, Hery On 7/4/20 1:36 PM, Pi Digital via use-livecode wrote: > Hi > > I?ve been creating a website built in LiveCode but NOT LC Server. I opted to using php for server end calls as we connect into a mySQL database on the server. The message path is LC > tiny amounts of JS > a small PHP library of function calls > JS message transport > LC. LC does all the heavy lifting. JS is ONLY for sending messages to and from php. PHP is pretty much only for communication with the database, sending emails, downloading and uploading files to and from the users desktop/file system. > > What was you wanting LC Server accomplish? Was you using an LC front end or only looking to use it for backend stuff? > > Sean Cole > Pi Digital Productions Ltd > > > eMail Ts & Cs -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From sean at pidigital.co.uk Sun Jul 5 17:02:25 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Sun, 5 Jul 2020 22:02:25 +0100 Subject: WebSites made using Livecode. In-Reply-To: References: Message-ID: > On 5 Jul 2020, at 21:16, Heriberto Torrado via use-livecode wrote: > > ?Hi Sean, > > So, as far as I know, you use PHP as a middleware between the database and the Livecode code app. Isn't it? Yes > I guess you do that because of security reasons to not expose the database. No. It needs it to talk directly to the database on the same host. The security is served by encrypting both the request and response. JS has a hole in it where the message can be intercepted while talking to php that I?m avoiding getting exploited. > My main goal is to use Livecode instead of PHP to create a small website (about ten forms and some logic layer to edit them). > I think it will be fun. Perfect. That will work nicely. You host doesn?t need to be anything special. As long as gzip can be enabled and is happy running JS then you just upload the LC emscripten js file and your standalone zip you?ll be good to go. > > I use Livecode to create apps, and as a console scripting to substitute some Bash scripts. > So now, I'd like to explore the server options. > It will be a a dream to use the same language for the server. > > I'm trying to convince my customer. > > Off-topic: > > Would you guys like to work in Alaska for some time? It could be a good experience. > They are looking for a LiveCode programmer. > > https://www.indeed.com/jobs?q=livecode&l&vjk=571a9274563c52bc I would love this. I?ve been having enough trouble convincing the family to move from the south of England up to Scotland. Alaska, I fear, would be an even bigger sell. All the best Sean From htorrado at networkdreams.net Sun Jul 5 18:57:03 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Sun, 5 Jul 2020 18:57:03 -0400 Subject: WebSites made using Livecode. In-Reply-To: References: Message-ID: <5f8dea3f-43e9-9dce-c90d-942e64f5f6bd@networkdreams.net> Hi Seen, I'm talking about using Livecode server. I think you mean Livecode HTML5. I'll explore that option (it seems very usefully too), but although I do a lot of work with JS, I wanted to try Livecode Server. I have used it a bit and it looks very reliable. We have four dedicated servers on a hosting company, so I installed a Livecode server on them. I'll tell you my impressions on a couple of months. Off-topic: The Southlands are a wonderful place, but Scotland is too. I spend some time traveling across them. There is good beer in both places. ;-) Best, Hery On 7/5/20 5:02 PM, Pi Digital via use-livecode wrote: > >> On 5 Jul 2020, at 21:16, Heriberto Torrado via use-livecode wrote: >> >> ?Hi Sean, >> >> So, as far as I know, you use PHP as a middleware between the database and the Livecode code app. Isn't it? > Yes >> I guess you do that because of security reasons to not expose the database. > No. It needs it to talk directly to the database on the same host. The security is served by encrypting both the request and response. JS has a hole in it where the message can be intercepted while talking to php that I?m avoiding getting exploited. > >> My main goal is to use Livecode instead of PHP to create a small website (about ten forms and some logic layer to edit them). >> I think it will be fun. > Perfect. That will work nicely. You host doesn?t need to be anything special. As long as gzip can be enabled and is happy running JS then you just upload the LC emscripten js file and your standalone zip you?ll be good to go. > >> I use Livecode to create apps, and as a console scripting to substitute some Bash scripts. >> So now, I'd like to explore the server options. >> It will be a a dream to use the same language for the server. >> >> I'm trying to convince my customer. >> >> Off-topic: >> >> Would you guys like to work in Alaska for some time? It could be a good experience. >> They are looking for a LiveCode programmer. >> >> https://www.indeed.com/jobs?q=livecode&l&vjk=571a9274563c52bc > I would love this. I?ve been having enough trouble convincing the family to move from the south of England up to Scotland. Alaska, I fear, would be an even bigger sell. > > All the best > Sean > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From harrison at all-auctions.com Sun Jul 5 19:53:15 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 5 Jul 2020 19:53:15 -0400 Subject: WebSites made using Livecode. In-Reply-To: <5f8dea3f-43e9-9dce-c90d-942e64f5f6bd@networkdreams.net> References: <5f8dea3f-43e9-9dce-c90d-942e64f5f6bd@networkdreams.net> Message-ID: <1437CA22-B684-4121-B0F4-96620EA9EA0E@all-auctions.com> Hi Hery, You can set up your Livecode Server to work with your database directly on the same computer. You do not need PHP at all for anything. In fact if you look at your server log files you will see that China hacker bots are heavily searching for PHP and when they can?t find it they even try to install it so they can continue hacking away. Livecode Server is fun! Good luck! Rick From alex at tweedly.net Mon Jul 6 05:27:07 2020 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 6 Jul 2020 10:27:07 +0100 Subject: WebSites made using Livecode. In-Reply-To: <1437CA22-B684-4121-B0F4-96620EA9EA0E@all-auctions.com> References: <5f8dea3f-43e9-9dce-c90d-942e64f5f6bd@networkdreams.net> <1437CA22-B684-4121-B0F4-96620EA9EA0E@all-auctions.com> Message-ID: <8506c0e4-6b2b-6929-e2f7-23a9800ed0e3@tweedly.net> Hi Hery, not sure if you've received any pointers to actual sites yet :-). Here are a few I've made : https://kilmelford.com/ most interesting of them - but since all events are cancelled this year, it's currently less interesting than other times :-) All made with my own CMS for LC; flat file text and text database, so really trivial installation, and very little attack surface (no PHP, no SQL) http://karenliversedge.com/ done with Ralf's revigniter framework. https://melaniechmielewska.co.uk/ not quite a 'modern' website.? Done with a very simple LC server script some years ago. The artist said "I want a retro appearance. I make stone sculptures to last 200-2000 years - I don't want a website that changes every 2 year". :-) Alex. On 06/07/2020 00:53, Rick Harrison via use-livecode wrote: > Hi Hery, > > You can set up your Livecode Server to work > with your database directly on the same computer. > You do not need PHP at all for anything. In fact > if you look at your server log files you will see that > China hacker bots are heavily searching for PHP > and when they can?t find it they even try to install > it so they can continue hacking away. > > Livecode Server is fun! > > Good luck! > > Rick > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Mon Jul 6 09:31:51 2020 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 6 Jul 2020 14:31:51 +0100 Subject: Message watcher and selectionChanged Message-ID: <12a32bc7-a582-5585-788b-e10e2aa50cda@tweedly.net> I was using the Message Watcher in the IDE to check on which messages were sent in different cases, and noticed that: 'selectionChanged' was not being reported when I changed the selection or insertion point within a field. BUT if I add a 'selectionChanged' handler to the field, the handler is called, and the Message Watcher THEN does report it. Does that seem right ? Should messages only be reported if they are being checked for somewhere ? -- Alex. P.S. or if anyone wants to answer the *real* question : ?? does anyone have a general purpose 'undo/redo' handler-set for text fields that they could share :-) ? From torsten.holmer at web.de Mon Jul 6 09:40:22 2020 From: torsten.holmer at web.de (Torsten Holmer) Date: Mon, 6 Jul 2020 15:40:22 +0200 Subject: Redirecting stdout to file on server Message-ID: <94EDF743-CBAC-4A97-981A-61EF66269E37@web.de> Hi, I use Livecode server as an API for uploading some files from another application with the POST command. The problem is, that I cannot see the error messages if something fails. In browser based interaction the command "set the errorMode to ?inline"" is fine, but between apps I cannot see the reply. There seems to be a way to redirect the error messages from the server to a file (like errors.txt), but I could not find any sources. Can somebody help me out? Kind regards, Torsten From andre at andregarzia.com Mon Jul 6 09:55:43 2020 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 6 Jul 2020 14:55:43 +0100 Subject: WebSites made using Livecode. In-Reply-To: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> Message-ID: Hi Heriberto, I've read this thread and want to share a bit of experience of using LC as a server engine. I'm part of the team that builds http://www.himalayanacademy.com which is probably the largest site built with LC Server around. I'll try to frame this email in the topics I've seen you worried about, feel free to ask questions here on the thread and I will try my best to answer them. ON THE POPULARITY OF A LANGUAGE Many managers and clients don't have the necessary context to judge whatever tools are presented to them and will often go to generic metrics such as popularity to try to gauge what is going on. Even though popularity might correlate to quality it doesn't mean that something less popular is bad. You can't really compare the engines powering behemoths of the industry with all their gravitas to small niche languages in terms of popularity because the small languages will always look bad. If you go through those metrics, even extremely powerful languages like Haskell and Elm will show as small blips when compared to PHP or Ruby. It is important to notice that there is a very important case to be made for choosing popular languages: the high availability of software developers working with those tools and vendors/webhosts/ecosystems supporting those languages. It is easier to find PHP developers, hosts, and consulting firms, than it is to find the LC equivalents, so for a company choosing to bet their development into some stack, the PHP solution might seem more attractive. To counterbalance that you can say that most people doing professional development will be using Virtual Private Servers instead of shared host accounts, and those type of servers give you full control over the (virtual) machine, which means you can host LC on them. Linode, AWS, Azure, Digital Ocean, all those popular services can host LC based solutions when set up correctly. Besides that, LiveCode has an open source GPL version, so they don't need to be that scared of a using it as even if the LC HQ decides to do something else, they can still build and use the code. Talking about LC HQ, it might be good to tell potential clients that the company that builds the language has a consulting arm and if anything happens then can be hired to fix or help fix the difficult unique challenges they may face. Having this direct line to the LC HQ is a valuable thing. ON RESPONSIVENESS AND MODERN WEBSITES All that happens client-side and is not related to the server engine at all. You could be hosting a web server with an Oberon based webserver and as long as you were shipping HTML/CSS/JS built following the current best practices all would be well. This means that using LC is no excuse not to learn how to do proper webapps. Anyone working on the web these days need to have command of "HTML5" to be able to deploy solutions that are up to the standards we want. The good news is that HTML5 is easier than HTML < 5, if you don't care much about compatibility with old browsers, doing a web app these days is pretty easy. WHERE LIVECODE SHINE (A PERSONAL TAKE) I have been around LiveCode for a while and have developed an opinion on which situations I think it shines. It can be used for other cases, don't get me wrong, but it does shine in some specific patterns that make it a lot easier to sell solutions based on it. In my own personal and subjective experience, LiveCode shines when you are building desktop applications, or combining desktop applications with server-side solutions. With LiveCode you can have a webapp doing server-side LC server and an HTML5 front-end, while still having a full desktop application for handling all the administration stuff. Instead of spending a ton of time to craft a webadmin panel, or a clunky CMS, you can offer your client the full power of an offline-first desktop application to manage the webapp you're building. That is a powerful proposition and one that I wish would surface more in LC marketing and in the stories on this list. With LC you can ship a whole suite of desktop and mobile apps that act as companions to the business your client is doing while still delivering a webapp as the user facing part of your contract. On Thu, 2 Jul 2020 at 20:41, Heriberto Torrado via use-livecode < use-livecode at lists.runrev.com> wrote: > Dear LiveCode experts: > > I am trying to convince a customer to create their next website with > LiveCode Server instead PHP. The client asks me what other popular > sites are created with LiveCode server. > > I have seen this in the Livecode forums , but it seems to be very old: > > https://forums.livecode.com/viewtopic.php?t=15689 > > Do you know modern websites created with LiveCode? > > I have seen that the current LiveCode site runs Wordpress + PHP. > Do you know why? > -- > > Best regards/ Saludos cordiales/ Cordialement > > Heriberto Torrado > ?Chief Technology Officer (CTO) > ?Director de inform?tica > Directeur informatique > > *NetDreams S.C.* > http://www.networkdreams.net > > Address / Direcci?n / Adresse:? > > *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA > *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 > Spain / Espa?a > > *Tel - Phone - Fax:* > > Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 > Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 > > Please consider the environment before printing this email / Por > favor considera tu responsabilidad medioambiental antes de imprimir esta > p?gina. > > Confidentiality: The information contained in this message as well as > the attached file(s) is confidential/privileged and is only intended for > the person(s) to whom it is addressed. If the reader of this message is > not the intended recipient or the employee or agent responsible for > delivering the message to the intended recipient, or you have received > this comunication in error, please be aware that any dissemination, > distribution or duplication is strictly prohibited, and can be illegal, > and please notify us immediately and return the original message to us > at the address above. Thank you. > > Confidencialidad: La informaci?n contenida en este mensaje y/o > archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a > ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted > lee este mensaje y no es el destinatario se?alado, el empleado o el > agente responsable de entregar el mensaje al destinatario, o ha recibido > esta comunicaci?n por error, le informamos que est? totalmente > prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o > reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique > inmediatamente y nos devuelva el mensaje original a la direcci?n arriba > mencionada. Gracias. > > Viruses: Although we have taken steps to insure that this e-mail and > attachments are free from any virus, we advise that in keeping with good > computing practice, the recipient should ensure they are actually virus > free. > > Virus: Aunque hemos tomado las medidas para asegurarnos que este correo > electr?nico y sus ficheros adjuntos est?n libres de virus, le > recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el > receptor debe asegurarse que este correo y sus ficheros adjuntos est?n > libres de virus. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com From matthias_livecode_150811 at m-r-d.de Mon Jul 6 10:47:15 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 6 Jul 2020 16:47:15 +0200 Subject: Redirecting stdout to file on server In-Reply-To: <94EDF743-CBAC-4A97-981A-61EF66269E37@web.de> References: <94EDF743-CBAC-4A97-981A-61EF66269E37@web.de> Message-ID: <4D964E7B-CAE4-43A6-BDB8-DBAF7987FE2A@m-r-d.de> Torsten, "the other application" that posts the data to the server should see any error that is returned by the server. So if there is a server error or any error/message returned by Lc Server script. Both should be returned to the application. We are also using Lc Server scripts to process data that is posted to the scripts. One example is posting price data files to a Lc Server script. The script then checks and modifies the data in some way. I stores different versions of the file into different folders. The script returns not just error messages (the script uses put commands for it) if for example a file could not be written to a folder or if the posted data was not consistent, but also it returns information about the major step the script does. The application that posts the data to the script gets all the error/status messages of the script and of course and server errors and continues further according to the returned data of the server/script. - Matthias Rebbe Life Is Too Short For Boring Code > Am 06.07.2020 um 15:40 schrieb Torsten Holmer via use-livecode : > > Hi, > > I use Livecode server as an API for uploading some files from another application with the POST command. > The problem is, that I cannot see the error messages if something fails. > In browser based interaction the command "set the errorMode to ?inline"" is fine, but between apps I cannot see the reply. > > There seems to be a way to redirect the error messages from the server to a file (like errors.txt), but I could not find any sources. > > Can somebody help me out? > > Kind regards, > Torsten > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From htorrado at networkdreams.net Mon Jul 6 11:39:23 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Mon, 6 Jul 2020 11:39:23 -0400 Subject: WebSites made using Livecode. In-Reply-To: References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> Message-ID: Thank you all very much for the solutions provided and for the advice. How wonderful it is to belong to a club like Livecode: The community is incredibly kind and generous. As you say Andr?, it is not important if Livecode is a minority language: It is very powerful. I can create a Desktop, Mobile, Server, HTML5, a web app, a command line script or a command line compiled binary using it. To be honest with you: I cannot find another programming language that can do this without fighting with several "Frameworks of the week". If you enter the Hacker News website you will see all those comments about very trendy and sexy languages like Erlang, Cloruje or Dart, which are probably less used than Livecode. So, yes the programming language popularity is very subjective. Hery On 7/6/20 9:55 AM, Andre Garzia via use-livecode wrote: > Hi Heriberto, > > I've read this thread and want to share a bit of experience of using LC as > a server engine. I'm part of the team that builds > http://www.himalayanacademy.com which is probably the largest site built > with LC Server around. I'll try to frame this email in the topics I've seen > you worried about, feel free to ask questions here on the thread and I will > try my best to answer them. > > ON THE POPULARITY OF A LANGUAGE > Many managers and clients don't have the necessary context to judge > whatever tools are presented to them and will often go to generic metrics > such as popularity to try to gauge what is going on. Even though popularity > might correlate to quality it doesn't mean that something less popular is > bad. You can't really compare the engines powering behemoths of the > industry with all their gravitas to small niche languages in terms of > popularity because the small languages will always look bad. If you go > through those metrics, even extremely powerful languages like Haskell and > Elm will show as small blips when compared to PHP or Ruby. > > It is important to notice that there is a very important case to be made > for choosing popular languages: the high availability of software > developers working with those tools and vendors/webhosts/ecosystems > supporting those languages. It is easier to find PHP developers, hosts, and > consulting firms, than it is to find the LC equivalents, so for a company > choosing to bet their development into some stack, the PHP solution might > seem more attractive. > > To counterbalance that you can say that most people doing professional > development will be using Virtual Private Servers instead of shared host > accounts, and those type of servers give you full control over the > (virtual) machine, which means you can host LC on them. Linode, AWS, Azure, > Digital Ocean, all those popular services can host LC based solutions when > set up correctly. Besides that, LiveCode has an open source GPL version, so > they don't need to be that scared of a using it as even if the LC HQ > decides to do something else, they can still build and use the code. > Talking about LC HQ, it might be good to tell potential clients that the > company that builds the language has a consulting arm and if anything > happens then can be hired to fix or help fix the difficult unique > challenges they may face. Having this direct line to the LC HQ is a > valuable thing. > > ON RESPONSIVENESS AND MODERN WEBSITES > All that happens client-side and is not related to the server engine at > all. You could be hosting a web server with an Oberon based webserver and > as long as you were shipping HTML/CSS/JS built following the current best > practices all would be well. > > This means that using LC is no excuse not to learn how to do proper > webapps. Anyone working on the web these days need to have command of > "HTML5" to be able to deploy solutions that are up to the standards we > want. The good news is that HTML5 is easier than HTML < 5, if you don't > care much about compatibility with old browsers, doing a web app these days > is pretty easy. > > WHERE LIVECODE SHINE (A PERSONAL TAKE) > I have been around LiveCode for a while and have developed an opinion on > which situations I think it shines. It can be used for other cases, don't > get me wrong, but it does shine in some specific patterns that make it a > lot easier to sell solutions based on it. > > In my own personal and subjective experience, LiveCode shines when you are > building desktop applications, or combining desktop applications with > server-side solutions. With LiveCode you can have a webapp doing > server-side LC server and an HTML5 front-end, while still having a full > desktop application for handling all the administration stuff. Instead of > spending a ton of time to craft a webadmin panel, or a clunky CMS, you can > offer your client the full power of an offline-first desktop application to > manage the webapp you're building. That is a powerful proposition and one > that I wish would surface more in LC marketing and in the stories on this > list. > > With LC you can ship a whole suite of desktop and mobile apps that act as > companions to the business your client is doing while still delivering a > webapp as the user facing part of your contract. > > > > On Thu, 2 Jul 2020 at 20:41, Heriberto Torrado via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Dear LiveCode experts: >> >> I am trying to convince a customer to create their next website with >> LiveCode Server instead PHP. The client asks me what other popular >> sites are created with LiveCode server. >> >> I have seen this in the Livecode forums , but it seems to be very old: >> >> https://forums.livecode.com/viewtopic.php?t=15689 >> >> Do you know modern websites created with LiveCode? >> >> I have seen that the current LiveCode site runs Wordpress + PHP. >> Do you know why? >> -- >> >> Best regards/ Saludos cordiales/ Cordialement >> >> Heriberto Torrado >> ?Chief Technology Officer (CTO) >> ?Director de inform?tica >> Directeur informatique >> >> *NetDreams S.C.* >> http://www.networkdreams.net >> >> Address / Direcci?n / Adresse:? >> >> *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA >> *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 >> Spain / Espa?a >> >> *Tel - Phone - Fax:* >> >> Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 >> Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 >> >> Please consider the environment before printing this email / Por >> favor considera tu responsabilidad medioambiental antes de imprimir esta >> p?gina. >> >> Confidentiality: The information contained in this message as well as >> the attached file(s) is confidential/privileged and is only intended for >> the person(s) to whom it is addressed. If the reader of this message is >> not the intended recipient or the employee or agent responsible for >> delivering the message to the intended recipient, or you have received >> this comunication in error, please be aware that any dissemination, >> distribution or duplication is strictly prohibited, and can be illegal, >> and please notify us immediately and return the original message to us >> at the address above. Thank you. >> >> Confidencialidad: La informaci?n contenida en este mensaje y/o >> archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a >> ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted >> lee este mensaje y no es el destinatario se?alado, el empleado o el >> agente responsable de entregar el mensaje al destinatario, o ha recibido >> esta comunicaci?n por error, le informamos que est? totalmente >> prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o >> reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique >> inmediatamente y nos devuelva el mensaje original a la direcci?n arriba >> mencionada. Gracias. >> >> Viruses: Although we have taken steps to insure that this e-mail and >> attachments are free from any virus, we advise that in keeping with good >> computing practice, the recipient should ensure they are actually virus >> free. >> >> Virus: Aunque hemos tomado las medidas para asegurarnos que este correo >> electr?nico y sus ficheros adjuntos est?n libres de virus, le >> recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el >> receptor debe asegurarse que este correo y sus ficheros adjuntos est?n >> libres de virus. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From htorrado at networkdreams.net Mon Jul 6 11:43:31 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Mon, 6 Jul 2020 11:43:31 -0400 Subject: WebSites made using Livecode. In-Reply-To: <8506c0e4-6b2b-6929-e2f7-23a9800ed0e3@tweedly.net> References: <5f8dea3f-43e9-9dce-c90d-942e64f5f6bd@networkdreams.net> <1437CA22-B684-4121-B0F4-96620EA9EA0E@all-auctions.com> <8506c0e4-6b2b-6929-e2f7-23a9800ed0e3@tweedly.net> Message-ID: <9e223358-0273-2da1-d277-7c595489bfcb@networkdreams.net> Thanks Alex, Those sites look good and they feel very fast. Hery On 7/6/20 5:27 AM, Alex Tweedly via use-livecode wrote: > Hi Hery, > > not sure if you've received any pointers to actual sites yet :-). > > Here are a few I've made : > > https://kilmelford.com/ > > most interesting of them - but since all events are cancelled this > year, it's currently less interesting than other times :-) All made > with my own CMS for LC; flat file text and text database, so really > trivial installation, and very little attack surface (no PHP, no SQL) > > http://karenliversedge.com/ > > done with Ralf's revigniter framework. > > https://melaniechmielewska.co.uk/ > > not quite a 'modern' website.? Done with a very simple LC server > script some years ago. The artist said "I want a retro appearance. I > make stone sculptures to last 200-2000 years - I don't want a website > that changes every 2 year". :-) > > Alex. > > On 06/07/2020 00:53, Rick Harrison via use-livecode wrote: >> Hi Hery, >> >> You can set up your Livecode Server to work >> with your database directly on the same computer. >> You do not need PHP at all for anything.? In fact >> if you look at your server log files you will see that >> China hacker bots are heavily searching for PHP >> and when they can?t find it they even try to install >> it so they can continue hacking away. >> >> Livecode Server is fun! >> >> Good luck! >> >> Rick >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From htorrado at networkdreams.net Mon Jul 6 11:47:05 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Mon, 6 Jul 2020 11:47:05 -0400 Subject: WebSites made using Livecode. In-Reply-To: <1437CA22-B684-4121-B0F4-96620EA9EA0E@all-auctions.com> References: <5f8dea3f-43e9-9dce-c90d-942e64f5f6bd@networkdreams.net> <1437CA22-B684-4121-B0F4-96620EA9EA0E@all-auctions.com> Message-ID: <271b4f24-6df6-a5f8-fb16-7c0115172a09@networkdreams.net> > if you look at your server log files you will see that > China hacker bots are heavily searching for PHP > and when they can?t find it they even try to install > it so they can continue hacking away. That's a really good point! I use fail2ban and various security modifications for Apache on our servers, but if you see the server logs it still feels scary. Hery On 7/5/20 7:53 PM, Rick Harrison via use-livecode wrote: > Hi Hery, > > You can set up your Livecode Server to work > with your database directly on the same computer. > You do not need PHP at all for anything. In fact > if you look at your server log files you will see that > China hacker bots are heavily searching for PHP > and when they can?t find it they even try to install > it so they can continue hacking away. > > Livecode Server is fun! > > Good luck! > > Rick > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From rdimola at evergreeninfo.net Mon Jul 6 12:10:43 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 6 Jul 2020 12:10:43 -0400 Subject: WebSites made using Livecode. In-Reply-To: <271b4f24-6df6-a5f8-fb16-7c0115172a09@networkdreams.net> References: <5f8dea3f-43e9-9dce-c90d-942e64f5f6bd@networkdreams.net> <1437CA22-B684-4121-B0F4-96620EA9EA0E@all-auctions.com> <271b4f24-6df6-a5f8-fb16-7c0115172a09@networkdreams.net> Message-ID: <006c01d653b0$031fe620$095fb260$@net> I use Html==>JS==>Async xhttp request. The xhttp request is fielded by LC Server and is cors compliant so LC Server doesn't even need to be on the same web server. (this allows you to test html pages from desktop without a web server) LC server returns html in a json packet. The async JS handler in the html fires up receiving the LC server json. So the data path continued as JS==>html to the web page. In JS I convert the json to an array and send the LC server generated html to various
s. Works great. No php. I was able to continue coding in LC and was able to leverage all my existing LC libraries(20,000+ lines). I had to learn a little JS but all the heavy lifting is done in LC. My little slice... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From jacque at hyperactivesw.com Mon Jul 6 12:19:34 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Jul 2020 11:19:34 -0500 Subject: Message watcher and selectionChanged In-Reply-To: <12a32bc7-a582-5585-788b-e10e2aa50cda@tweedly.net> References: <12a32bc7-a582-5585-788b-e10e2aa50cda@tweedly.net> Message-ID: <17324ecedf0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> There's a button at the lower right of the window that allows you to select which messages are suppressed. The default is to suppress unused messages but you can change that. IDE messages aren't shown by default either and you can add your own if you want. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 6, 2020 8:34:17 AM Alex Tweedly via use-livecode wrote: > I was using the Message Watcher in the IDE to check on which messages > were sent in different cases, and noticed that: > > 'selectionChanged' was not being reported when I changed the selection > or insertion point within a field. > > BUT if I add a 'selectionChanged' handler to the field, the handler is > called, and the Message Watcher THEN does report it. > > Does that seem right ? > > Should messages only be reported if they are being checked for somewhere ? > > -- Alex. > > P.S. or if anyone wants to answer the *real* question : > does anyone have a general purpose 'undo/redo' handler-set for text > fields that they could share :-) ? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Mon Jul 6 12:22:57 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 6 Jul 2020 09:22:57 -0700 Subject: What's Going On In The IDE In-Reply-To: <004301d6515d$400005c0$c0001140$@net> References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> <004301d6515d$400005c0$c0001140$@net> Message-ID: On 7/3/20 10:13 AM, Ralph DiMola via use-livecode wrote: This card renders sub second but is unresponsive for an additional 14 seconds. What's going on here? The IDE stacks totals out to 13 seconds. This is after I made 1 minor edit in the script with the message box open. If I open the IDE without opening the script editor or message box then it only takes 4 seconds of which almost 3 seconds is in IDE scripts. I can expect some IDE overhead but waiting 14 to 20 seconds to get the IDE back after a minor edit that might not even be on this card is a problem. It slows development down to a crawl. The IDE hang is proportional to the number of fields on the card. The same card with only say 3 groups with 1 field each of 20 characters causes the IDE hang to go down to one second. I see similar things every once in a while, but unexpectedly so I don't have a causal relationship to narrow down. I always just figure I did something weird in my code. -- Mark Wieder ahsoftware at gmail.com From alex at tweedly.net Mon Jul 6 12:41:17 2020 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 6 Jul 2020 17:41:17 +0100 Subject: Message watcher and selectionChanged In-Reply-To: <17324ecedf0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <12a32bc7-a582-5585-788b-e10e2aa50cda@tweedly.net> <17324ecedf0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 06/07/2020 17:19, J. Landman Gay via use-livecode wrote: > There's a button at the lower right of the window that allows you to > select which messages are suppressed. The default is to suppress > unused messages but you can change that. IDE messages aren't shown by > default either and you can add your own if you want. > Thanks Jacqueline. I tried that button, and it tells me (or seems to tell me) that the only 'suppressed' message is 'mousemove' (and it doesn't mention 'unused' at all - only 'handled' and 'not handled' - and neither of those is selected as suppressed). So it's a confusing 'default'. Now that I know, I will always test with a handler rather than assuming the Watcher is telling the truth. (Hmmm - that last line feels like I'm in an episode of Buffy, or Once Upon a Time, or ... :-) Thanks Alex. From jacque at hyperactivesw.com Mon Jul 6 12:47:31 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Jul 2020 11:47:31 -0500 Subject: Message watcher and selectionChanged In-Reply-To: <17324ecedf0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <12a32bc7-a582-5585-788b-e10e2aa50cda@tweedly.net> <17324ecedf0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <173250684b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> By the way, I'd keep mouseMove in the blocked messages or else the whole window will fill up and bump the stuff you do want to see off the top. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 6, 2020 11:21:40 AM "J. Landman Gay via use-livecode" wrote: > There's a button at the lower right of the window that allows you to select > which messages are suppressed. The default is to suppress unused messages > but you can change that. IDE messages aren't shown by default either and > you can add your own if you want. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On July 6, 2020 8:34:17 AM Alex Tweedly via use-livecode > wrote: > >> I was using the Message Watcher in the IDE to check on which messages >> were sent in different cases, and noticed that: >> >> 'selectionChanged' was not being reported when I changed the selection >> or insertion point within a field. >> >> BUT if I add a 'selectionChanged' handler to the field, the handler is >> called, and the Message Watcher THEN does report it. >> >> Does that seem right ? >> >> Should messages only be reported if they are being checked for somewhere ? >> >> -- Alex. >> >> P.S. or if anyone wants to answer the *real* question : >> does anyone have a general purpose 'undo/redo' handler-set for text >> fields that they could share :-) ? >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Jul 6 12:51:57 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 6 Jul 2020 12:51:57 -0400 Subject: What's Going On In The IDE In-Reply-To: References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> <004301d6515d$400005c0$c0001140$@net> Message-ID: <007801d653b5$c5934f80$50b9ee80$@net> I can repeat it every time I load the stack. It never is fast once the SE is opened. So the 64k question. What am a doing that can wack out the SE from square one? The 128k question how do I find it? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Wieder via use-livecode Sent: Monday, July 06, 2020 12:23 PM To: Ralph DiMola via use-livecode Cc: Mark Wieder Subject: Re: What's Going On In The IDE On 7/3/20 10:13 AM, Ralph DiMola via use-livecode wrote: This card renders sub second but is unresponsive for an additional 14 seconds. What's going on here? The IDE stacks totals out to 13 seconds. This is after I made 1 minor edit in the script with the message box open. If I open the IDE without opening the script editor or message box then it only takes 4 seconds of which almost 3 seconds is in IDE scripts. I can expect some IDE overhead but waiting 14 to 20 seconds to get the IDE back after a minor edit that might not even be on this card is a problem. It slows development down to a crawl. The IDE hang is proportional to the number of fields on the card. The same card with only say 3 groups with 1 field each of 20 characters causes the IDE hang to go down to one second. I see similar things every once in a while, but unexpectedly so I don't have a causal relationship to narrow down. I always just figure I did something weird in my code. -- Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Jul 6 12:54:39 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 6 Jul 2020 19:54:39 +0300 Subject: [ANN] This Week in LiveCode 232 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #232 here: https://bit.ly/31NaZV6 This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From jacque at hyperactivesw.com Mon Jul 6 15:23:09 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 6 Jul 2020 14:23:09 -0500 Subject: Message watcher and selectionChanged In-Reply-To: References: <12a32bc7-a582-5585-788b-e10e2aa50cda@tweedly.net> <17324ecedf0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 7/6/20 11:41 AM, Alex Tweedly via use-livecode wrote: > > On 06/07/2020 17:19, J. Landman Gay via use-livecode wrote: >> There's a button at the lower right of the window that allows you to select which messages >> are suppressed. The default is to suppress unused messages but you can change that. IDE >> messages aren't shown by default either and you can add your own if you want. >> > Thanks Jacqueline. > > I tried that button, and it tells me (or seems to tell me) that the only 'suppressed' message > is 'mousemove' (and it doesn't mention 'unused' at all - only 'handled' and 'not handled' - and > neither of those is selected as suppressed). So it's a confusing 'default'. > > Now that I know, I will always test with a handler rather than assuming the Watcher is telling > the truth. > > (Hmmm - that last line feels like I'm in an episode of Buffy, or Once Upon a Time, or ... :-) "Unused" = "not handled" when I'm not at the Mac to look. ;) I just did a short test with "not handled" unchecked and I'm getting messages for things like resumeStack, openField, focusOut, etc. which have no supporting handlers in my scripts. I wonder if the messages you want to track are considered part of the (suppressed) IDE messages? Hard to say. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jul 6 15:33:07 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 6 Jul 2020 14:33:07 -0500 Subject: Mobile Keyboard In-Reply-To: References: <67233f65-c284-43b2-da38-9b0673c54279@hyperactivesw.com> <006601d649af$69ae66b0$3d0b3410$@net> <7f8a449f-d65f-dd2c-c3f7-f8a43181d975@hyperactivesw.com> Message-ID: I got busy and couldn't get back to this for a while. But the proposed fix isn't really any different from the one I've used and others have suggested. You still have to send a message on preOpen-anything and then do something that deselects the field, whether it's unsetting/setting traversalOn, lockText, or focus. If you have editable fields on several or all cards, then doing the workaround isn't enough on preopenstack. You have to include the kludge on every card. I wish we had a field property that avoided the issue altogether. On 6/24/20 1:46 PM, panagiotis merakos via use-livecode wrote: > By the way, this has worked for me, tested on iOS: > > on preopenstack > do_stuff > send "hideMobileKeyword" to me in 100 millisec > end preopenstack > > on hideMobileKeyword > focus on nothing > end hideMobileKeyword > > Kind regards, > Panos > -- > > On Wed, 24 Jun 2020 at 21:40, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> We've all had that problem: >> >> >> On 6/23/20 6:53 PM, Dan Friedman via use-livecode wrote: >>> Ralph, >>> >>> I had this same issue on a project. The problem is when the card/stack >> opens, LiveCode want to activate the first typable field it finds. If my >> old memory is correct, what I did was this: >>> >>> on preOpenCard >>> set the lockText of fld "thisDarnField" to true >>> end preOpenCard >>> >>> on openCard >>> send "doUnlockTheField" to this card in 1 tick //don't send this >> until everything is done loading (you could probably send this in the >> preOpenCard too) >>> end openCard >>> >>> on doUnlockTheField >>> set the lockText of fld "thisDarnField" to false >>> end doUnlockTheField >>> >>> >>> Hope that helps and I hope it works! I hope my cobweb-ridden brain >> remembers this correctly! >>> >>> -Dan -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at canelasoftware.com Mon Jul 6 16:18:21 2020 From: mark at canelasoftware.com (Mark Talluto) Date: Mon, 6 Jul 2020 13:18:21 -0700 Subject: Message watcher and selectionChanged In-Reply-To: References: <12a32bc7-a582-5585-788b-e10e2aa50cda@tweedly.net> <17324ecedf0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On Jul 6, 2020, at 9:41 AM, Alex Tweedly via use-livecode wrote: > > > On 06/07/2020 17:19, J. Landman Gay via use-livecode wrote: >> There's a button at the lower right of the window that allows you to select which messages are suppressed. The default is to suppress unused messages but you can change that. IDE messages aren't shown by default either and you can add your own if you want. >> > Thanks Jacqueline. > > I tried that button, and it tells me (or seems to tell me) that the only 'suppressed' message is 'mousemove' (and it doesn't mention 'unused' at all - only 'handled' and 'not handled' - and neither of those is selected as suppressed). So it's a confusing 'default'. > > Now that I know, I will always test with a handler rather than assuming the Watcher is telling the truth. > > (Hmmm - that last line feels like I'm in an episode of Buffy, or Once Upon a Time, or ... :-) > > Thanks > > Alex. Alex, You might try Richard Gaskin?s ?Flight Recorder?. I use it all the time. You can get it from his site at: https://www.fourthworld.com/livecode/index.html I have a modified version that includes a performance boost that I am not sure are part of the original distribution. http://www.canelasoftware.com/pub/canela/4W_FlightRecorder.rev.zip Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com From ambassador at fourthworld.com Mon Jul 6 17:05:54 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Jul 2020 14:05:54 -0700 Subject: Message watcher and selectionChanged In-Reply-To: References: Message-ID: <2fd6a68a-d13a-4114-1932-bf65ee32a29b@fourthworld.com> Mark Talluto wrote: > You might try Richard Gaskin?s ?Flight Recorder?. I use it all the > time. > You can get it from his site at: > https://www.fourthworld.com/livecode/index.html > > I have a modified version that includes a performance boost that I am > not sure are part of the original distribution. > http://www.canelasoftware.com/pub/canela/4W_FlightRecorder.rev.zip I was unaware that forks of my tool were being distributed, so I could not have incorporated any change requests. I'll find the diffs and incorporate them into the master at my site this week. Thank you for the enhancement, and for letting me know about it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Jul 6 17:30:37 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Jul 2020 14:30:37 -0700 Subject: OAuth2 on Win10: not returning to my app In-Reply-To: References: Message-ID: Thanks for confirming my hunch about the redirect URI. I've passed along a localhost string to the Azure admin with a port specifier that matches the one I'm passing into the lib. Still no go - same result, no browser widget close. One possible issue: the admin tells me the Azure admin UI doesn't allow "http" as a scheme, so he used "https". Azure accepted it so that much is fine, but of course SSL isn't used for local host so is that what's throwing this off? Any guidance would be greatly appreciated, even if it's just to docs for the lib. So far all I've found it one example Lesson about Slack. TIA - -- Richard Gaskin Fourth World Systems Monte Goulding wrote: > It does sound like an issue with the redirect uri. > > Perhaps a configuration issue in your app on the endpoint? Some > endpoints will use the redirect uri from the request, some will ensure > it matches perfectly with your settings for your app on their portal, > some will just use the redirect in the portal settings. > > Whatever is happening, there is no HTTP request to localhost on your > specified port because if there was the dialog would close by itself. > >> On 30 Jun 2020, at 6:14 am, Richard Gaskin wrote: >> >> I've been working with the Oauth2 lib included with v9 (superhandy, >> team, thanks!), and I've run into a snag: >> >> When I call it, the browser widgets opens and goes to the >> authentication provider (in this case Office 365), and authentication >> seems to work well. >> >> However, at that point I'd expect the browser widget's window to >> close and "it" would contain the approved auth scope info. >> >> Instead what I'm seeing is the browser widget window remains open, >> and it redirects into my Office 365 account. I can close the window >> manually with the "Cancel" button, but then "it" in my calling script >> contains "Cancel", no auth info. >> >> Have any of you successfully used LC's OAuth2 lib to log into MS >> Office 365 or other MS product that uses OAuth? >> >> If so, what did you use for the redirect URL? Or is there something >> else I should be considering? >> >> TIA - >> >> -- From mark at canelasoftware.com Mon Jul 6 18:39:19 2020 From: mark at canelasoftware.com (Mark Talluto) Date: Mon, 6 Jul 2020 15:39:19 -0700 Subject: Message watcher and selectionChanged In-Reply-To: <2fd6a68a-d13a-4114-1932-bf65ee32a29b@fourthworld.com> References: <2fd6a68a-d13a-4114-1932-bf65ee32a29b@fourthworld.com> Message-ID: On Jul 6, 2020, at 2:05 PM, Richard Gaskin via use-livecode wrote: > > Mark Talluto wrote: > > > You might try Richard Gaskin?s ?Flight Recorder?. I use it all the > > time. > > You can get it from his site at: > > https://www.fourthworld.com/livecode/index.html > > > > I have a modified version that includes a performance boost that I am > > not sure are part of the original distribution. > > http://www.canelasoftware.com/pub/canela/4W_FlightRecorder.rev.zip > > I was unaware that forks of my tool were being distributed, so I could not have incorporated any change requests. > > I'll find the diffs and incorporate them into the master at my site this week. > > Thank you for the enhancement, and for letting me know about it. You know you have arrived when there are forks of your works in the wild. I do not remember the changes I made. I?ll look up the email I sent you. In all fairness, it was many years ago. I know you are a busy developer with a full life. I?ll dig up the original email and fire it over to you. Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com From andrew at midwestcoastmedia.com Tue Jul 7 08:39:42 2020 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Tue, 7 Jul 2020 08:39:42 -0400 Subject: WebSites made using Livecode. In-Reply-To: References: Message-ID: <156AEAA1-7365-42D4-9071-22C3DE00123F@midwestcoastmedia.com> > In my own personal and subjective experience, LiveCode shines when you are > building desktop applications, or combining desktop applications with > server-side solutions. > With LC you can ship a whole suite of desktop and mobile apps that act as > companions to the business your client is doing while still delivering a > webapp as the user facing part of your contract. This is a truth bomb. LiveCode server solution: At the beginning of the pandemic, I used LiveCode server to setup a beer delivery system for my cousin?s brewery. Users put in their address, I use a Google Maps API to check driving distance (to make sure they are close enough and charge the appropriate delivery fee), once location is verified I use an Untappd API to query their tap list and filter out drafts (because this for to-go only), then let the consumer choose the quantity and place their order. NO payments are going through this system, they already had a 3rd party vendor they used for that. https://www.midwestcoastmedia.com/beta_ltd/delivery.html LiveCode solution: While it may not fully fit the spectrum of your question, I?m working on a website right now powered by LiveCode. I have a custom backend interface for my client to make changes in (PC app). They upload data to a LiveCloud account (not an official Mothership tool, but a great database resource built on/for Livecode). That database data is then used to piece together a website. I found an HTML5 template from Envato Marketplace and licensed it for ~$20USD, modified the template site Dreamweaver to match my client?s branding, then chopped it up into little chunks that get collated together. LiveCode server is only really triggered when using one of the forms; the page is .html but the form action POSTs to .lc which fires off an email after checking for SPAM. This same data, and the desktop backed that powers it, supplies all the content for a companion mobile app (iOS and Android) that I am also building in LiveCode. Some mobile specific options are taken advantage of here like Local/Push Notifications. Project hasn?t officially launched yet, but you can take a sneak peek @ https://www.whitestownparks.org/ ?Andrew Bell From ahsoftware at sonic.net Tue Jul 7 12:01:28 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 7 Jul 2020 09:01:28 -0700 Subject: Message watcher and selectionChanged In-Reply-To: References: <2fd6a68a-d13a-4114-1932-bf65ee32a29b@fourthworld.com> Message-ID: On 7/6/20 3:39 PM, Mark Talluto via use-livecode wrote: > You know you have arrived when there are forks of your works in the wild. Trust the forks, Luke... -- Mark Wieder ahsoftware at gmail.com From andre at andregarzia.com Tue Jul 7 12:27:25 2020 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 7 Jul 2020 17:27:25 +0100 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? Message-ID: Hey Folks, I have been working on some new LC content to sell. I want to transition my career into content production and I think there is an unserved demand for quality content for our beloved language. I'm just not exactly sure if you prefer to consume content in book format or video format. My reason to ask is because I love books but apparently people enjoy video courses more. Some friends of mine report more revenues from video courses than books, but doing video is harder and takes longer, so before deciding on what medium to go for I decided to ask you all about it. My outline is done and the research into the topics I want to cover is almost complete. I'll soon reach the point in my production pipeline where I need to decide which way should the content go. What do you prefer? Best Andre -- http://www.andregarzia.com From prothero at earthlearningsolutions.org Tue Jul 7 13:00:10 2020 From: prothero at earthlearningsolutions.org (Prothero@earthlearning) Date: Tue, 7 Jul 2020 10:00:10 -0700 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: References: Message-ID: <15785B6D-2D1F-4C5D-B5C5-3D0684E7897B@earthlearningsolutions.org> Andre, What I like about books is that I can go back to them easily and find Gems, if there is a good index. Videos work for me, if they are short. It also depends on your target audience. If you are going for experienced Livecode programmers, I suspect a highly indexed online ?Book? that is searchable and contains tricks and gotcha workarounds would work. If you are wanting to target new users, I suspect an intro video designed to show how cool Livecode is, with demos of apps built with LC, then pointers to your online books might work. But then, I?m of the older generation, so..... What might also be an idea is to create: Livecode for beginners Livecode for teachers Livecode for students Livecode for kids Etc. If you go with the book route, it would be pretty easy to make it into an indexable online text document. Good luck, Bill William Prothero http://es.earthednet.org > On Jul 7, 2020, at 9:28 AM, Andre Garzia via use-livecode wrote: > > ?Hey Folks, > > I have been working on some new LC content to sell. I want to transition my > career into content production and I think there is an unserved demand for > quality content for our beloved language. > > I'm just not exactly sure if you prefer to consume content in book format > or video format. My reason to ask is because I love books but apparently > people enjoy video courses more. Some friends of mine report more revenues > from video courses than books, but doing video is harder and takes longer, > so before deciding on what medium to go for I decided to ask you all about > it. > > My outline is done and the research into the topics I want to cover is > almost complete. I'll soon reach the point in my production pipeline where > I need to decide which way should the content go. What do you prefer? > > Best > Andre > > -- > http://www.andregarzia.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From e.beugelaar at me.com Tue Jul 7 13:06:43 2020 From: e.beugelaar at me.com (Erik Beugelaar) Date: Tue, 7 Jul 2020 19:06:43 +0200 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: References: Message-ID: <003a01d65480$fe401d10$fac05730$@me.com> Hi Andre, Book. Always. And paperback I prefer instead of an e-book version. I have noticed that my concentration is better by reading a real book. Kind regards and good luck! Erik -----Original Message----- From: use-livecode On Behalf Of Andre Garzia via use-livecode Sent: dinsdag 7 juli 2020 18:27 To: How to use LiveCode Cc: Andre Garzia Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? Hey Folks, I have been working on some new LC content to sell. I want to transition my career into content production and I think there is an unserved demand for quality content for our beloved language. I'm just not exactly sure if you prefer to consume content in book format or video format. My reason to ask is because I love books but apparently people enjoy video courses more. Some friends of mine report more revenues from video courses than books, but doing video is harder and takes longer, so before deciding on what medium to go for I decided to ask you all about it. My outline is done and the research into the topics I want to cover is almost complete. I'll soon reach the point in my production pipeline where I need to decide which way should the content go. What do you prefer? Best Andre -- http://www.andregarzia.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Tue Jul 7 13:13:02 2020 From: prothero at earthlearningsolutions.org (Prothero@earthlearning) Date: Tue, 7 Jul 2020 10:13:02 -0700 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: References: Message-ID: <27F26EC0-3C7C-441F-A30B-81B2FA56BA18@earthlearningsolutions.org> Andre, I forgot my main learning interest book. Livecode for Web designers. Bill William Prothero http://es.earthednet.org > On Jul 7, 2020, at 9:28 AM, Andre Garzia via use-livecode wrote: > > ?Hey Folks, > > I have been working on some new LC content to sell. I want to transition my > career into content production and I think there is an unserved demand for > quality content for our beloved language. > > I'm just not exactly sure if you prefer to consume content in book format > or video format. My reason to ask is because I love books but apparently > people enjoy video courses more. Some friends of mine report more revenues > from video courses than books, but doing video is harder and takes longer, > so before deciding on what medium to go for I decided to ask you all about > it. > > My outline is done and the research into the topics I want to cover is > almost complete. I'll soon reach the point in my production pipeline where > I need to decide which way should the content go. What do you prefer? > > Best > Andre > > -- > http://www.andregarzia.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Jul 7 13:21:50 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 7 Jul 2020 10:21:50 -0700 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: References: Message-ID: <41247ce1-0016-dbbe-ee3c-4c36e9c146b3@fourthworld.com> Andre Garzia wrote: > I'm just not exactly sure if you prefer to consume content in book > format or video format. I've been pondering this myself with some content I've been putting together for the LC community, an EDU-leaning beginner's guide and one on networking. Given the power and flexibility of LC, and the many learning benefits of direct engagement with interactive media, I'm currently structuring them to as courseware to be delivered as stack files. No more copy-and-paste of code examples, animation is possible where relevant, examples are living, breathing software... ...all delivered in a great platform well suited for this sort of thing: LiveCode. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Jul 7 13:32:15 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 7 Jul 2020 10:32:15 -0700 Subject: WebSites made using Livecode. In-Reply-To: References: Message-ID: <7282dfb1-1381-b334-5d88-d672812c23af@fourthworld.com> Andre Garzia wrote: > In my own personal and subjective experience, LiveCode shines when you > are building desktop applications, or combining desktop applications > with server-side solutions. With LiveCode you can have a webapp doing > server-side LC server and an HTML5 front-end, while still having a > full desktop application for handling all the administration stuff. > Instead of spending a ton of time to craft a webadmin panel, or a > clunky CMS, you can offer your client the full power of an offline- > first desktop application to manage the webapp you're building. That > is a powerful proposition and one that I wish would surface more in LC > marketing and in the stories on this list. ^ BINGO It's been a great model here. One of my longest-running projects is a content-driven medical decision support system, where the authoring, review, and publishing process is done in an LC standalone, generating web-ready static HTML for lean, scalable deployment. And now that we have some nice WebDAV libraries, I'm using that same model for my own content management, with Nextcloud as a collaborative document store managed through a dedicated desktop standalone made in LC. Along the way I'm seeing opportunities to use APIs from Nextcloud apps and other cloud services to build out standalones providing highly-integrated workflows across disparate services, tailored for the specific needs of just about any organization with all the ease that developing GUIs in LiveCode can provide. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Tue Jul 7 13:32:29 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 Jul 2020 12:32:29 -0500 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: References: Message-ID: <1732a560bc8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Books. I read much faster than video playback, and a book allows me to skip around easily and look up topics of interest. I rarely have time to sit through a whole video unless it's very short. Books hold my interest better. I think younger people are used to receiving information differently. But when I search Google for information I always skip the YouTube videos and go straight to the printed articles. Also, I don't buy printed books any longer, all my reading material is digital. I typically carry dozens of books on my tablet. But I don't care for PDFs, epub is preferred and provides a better book-like experience. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 7, 2020 11:29:38 AM Andre Garzia via use-livecode wrote: > Hey Folks, > > I have been working on some new LC content to sell. I want to transition my > career into content production and I think there is an unserved demand for > quality content for our beloved language. > > I'm just not exactly sure if you prefer to consume content in book format > or video format. My reason to ask is because I love books but apparently > people enjoy video courses more. Some friends of mine report more revenues > from video courses than books, but doing video is harder and takes longer, > so before deciding on what medium to go for I decided to ask you all about > it. > > My outline is done and the research into the topics I want to cover is > almost complete. I'll soon reach the point in my production pipeline where > I need to decide which way should the content go. What do you prefer? > > Best > Andre > > -- > http://www.andregarzia.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Tue Jul 7 13:46:31 2020 From: tom at makeshyft.com (Tom Glod) Date: Tue, 7 Jul 2020 13:46:31 -0400 Subject: Livecode Community Site Message-ID: Hi Folks, For years I have owned the domain "lovelivecode.com". At one point I lost it, but decided to buy it again a few months ago. I called it that because I often found myself saying "I love livecode".... while working inside of it, due to its massive strong points in desktop app development. Recently,I am seeing the glaring need in the community (also touched on by recent threads): I don't have a ton of time to spend on it, but thanks to modern tools, I don't need lots of time. Here are my goals: For LoveLivecode.com to be a "modern" central hub for: LC News Member Post Feed (Up-to-date) Educational resources Code snippets Sample Files Events / Online & Live Community Polls (to help livecode inc to understand us better) Communication between members (forums / PMs) Developer Directory (And maybe project submission for developer bids??) and Ad space for anyone whose target market is LC Developers. Please give me a quick reply 1. If this interests you. 2. And If you would like to be involved with it Also, please forward to anyone you feel may be interested. Thank you. Tom tom at @ makeshyft.com From rdimola at evergreeninfo.net Tue Jul 7 14:17:35 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 7 Jul 2020 14:17:35 -0400 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: <1732a560bc8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1732a560bc8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <005d01d6548a$e6ae2200$b40a6600$@net> I Agree, Books. For the most part the only videos I watch are music related. Other than that I read much faster. I watch a video only after the narrative needs additional details (car/electronics/instrument... repairs). Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Books. I read much faster than video playback, and a book allows me to skip around easily and look up topics of interest. I rarely have time to sit through a whole video unless it's very short. Books hold my interest better. From jacque at hyperactivesw.com Tue Jul 7 14:41:22 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 Jul 2020 13:41:22 -0500 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: <005d01d6548a$e6ae2200$b40a6600$@net> References: <1732a560bc8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <005d01d6548a$e6ae2200$b40a6600$@net> Message-ID: <1732a951868.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Andre, given the average age of the users here, I'd be curious to know what the responses are if you asked the same question on another forum for any popular programming language. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 7, 2020 1:17:49 PM Ralph DiMola via use-livecode wrote: > I Agree, Books. For the most part the only videos I watch are music related. > Other than that I read much faster. > I watch a video only after the narrative needs additional details > (car/electronics/instrument... repairs). > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of J. Landman Gay via use-livecode > > Books. I read much faster than video playback, and a book allows me to skip > around easily and look up topics of interest. I rarely have time to sit > through a whole video unless it's very short. Books hold my interest better. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Tue Jul 7 14:44:08 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 7 Jul 2020 19:44:08 +0100 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: <005d01d6548a$e6ae2200$b40a6600$@net> References: <005d01d6548a$e6ae2200$b40a6600$@net> Message-ID: Hi A proper up to date guide for LiveCode is what has been needed for years. Digital or paper. I used to love paper manuals and guides but more so get PDFs these days. Sean Cole Pi Digital From dave at davewood.nz Tue Jul 7 15:15:53 2020 From: dave at davewood.nz (David Wood) Date: Wed, 8 Jul 2020 07:15:53 +1200 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: References: Message-ID: <5217C762-BC0C-442B-AA0F-EDE17296585B@davewood.nz> Books for me - either phyical or eBook. Although video might have a support role. I?ve learned several programming languages over the years and the practical value of having a well indexed book open beside the computer so I can go back and forth leaving the development environment open on my computer makes sense to me. Whether that book is physical or eBook: I prefer physical for practicality but prefer eBook (generally) for lower cost. If eBook, then it must have a good table of contents AND index. Interesting issue Dave > On 8/07/2020, at 4:27 AM, Andre Garzia via use-livecode wrote: > > Hey Folks, > > I have been working on some new LC content to sell. I want to transition my > career into content production and I think there is an unserved demand for > quality content for our beloved language. > > I'm just not exactly sure if you prefer to consume content in book format > or video format. My reason to ask is because I love books but apparently > people enjoy video courses more. Some friends of mine report more revenues > from video courses than books, but doing video is harder and takes longer, > so before deciding on what medium to go for I decided to ask you all about > it. > > My outline is done and the research into the topics I want to cover is > almost complete. I'll soon reach the point in my production pipeline where > I need to decide which way should the content go. What do you prefer? > > Best > Andre > > -- > http://www.andregarzia.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Tue Jul 7 15:38:15 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 7 Jul 2020 21:38:15 +0200 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: References: Message-ID: Hi Andre! As others have pointed out, whether to go for a text based or a video based course, very much depends on your target audience. I like Richards proposal of using LiveCode as the framework for a course. This way you can in fact utilize the strengths of both formats. You can present most of the course as text, and with a good search function and a good index, it can in many ways work better than a traditional printed text. The real benefit is that you can also add video wherever this will provide an added value. If the course are a beginners course, video can work well when you demonstrate how to use the IDE and how to build a UI for an application. Remember that shorter videos are better. Also, video works best for demonstration of concrete actions. You can further enhance the effect of being able to use both text and video by adding each step of the video as text as well. If you are to show script as video, remember to give the viewer plenty of time to study each line of code. I find that when I show my students something on the whiteboard, they very often think that I am to quick, and that I move along to fast. It is also advisable to keep the screen as clutter free as possible, only show code that is part of the command/function you are writing at the moment. If the students get lost during the presentation, it is very hard for them to get back on the right track (or line as it were) if they have to distinguish between different parts of your code.These are hard learned facts after teaching high school students how to use LiveCode in computer science classes for the last seven years. Just as important as the format you choose to deliver your course are the content of your course. From my experience as a teacher I would suggest that you distinguish basic skills from intermediate and advanced skills. I have run into trouble trying to rush things in my classes from time to time. Best wishes and best of luck. Tore From alex at tweedly.net Tue Jul 7 15:38:29 2020 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 7 Jul 2020 20:38:29 +0100 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: References: Message-ID: <75dc74b0-bf90-8710-5589-25972298beac@tweedly.net> My immediate response is .... anything but video !! I hate video - can't find things, no indexing, can't fast forward effectively over the bits I know or more-or-less know, need audio which doesn't always fit my surroundings, .... But that doesn't mean video is without its advantages - sometimes it gets details across in a way that written methods fail with. Videos which are *short*, with really good external index/content description might be just the thing. As for "book" - does that mean paper, ePub, PDF, or something better.? I would love to see a stack-based solution that gave quick, searchable, hyper-linked access to content that was also accessed in other ways. For example, I buy an e-book giving me a PDF plus a stack which allows me good access to the content (including updates, errata, new additions). And I think you should consider a model of initial purchase with (cheap) on-going subscription, that would allow you an on-going revenue stream to keep the enhanced-book up-to-date and relevant. And I think you could (depending on your content area) perhaps sell content which is sample apps. I would happily pay for a *realistic* iOS app - don't much care what it does, so long as it contains current techniques for building a real app - including using mobile widgets, etc. and comes with a full set of build instructions - i.e. it can't be a "Hello World" app, it must have reasonable set of features. Then I could take the app, follow the instructions - and hopefully get a successful build with fewer headaches. And that would be the ideal case for initial purchase + subscription because the instructions would evolve over time. And if wanted to then build my own app, I would most likely do it as an offshoot from that working model. (Don't know how you work out licensing for that :-) I suspect you could do similar for Android, a desktop + web combo, .... and find people who would get good value from buying that to give them a headstart on their own development. You'd need to find a balance of enough content to be a *real* app without soaking up too much development time. Alex. On 07/07/2020 17:27, Andre Garzia via use-livecode wrote: > Hey Folks, > > I have been working on some new LC content to sell. I want to transition my > career into content production and I think there is an unserved demand for > quality content for our beloved language. > > I'm just not exactly sure if you prefer to consume content in book format > or video format. My reason to ask is because I love books but apparently > people enjoy video courses more. Some friends of mine report more revenues > from video courses than books, but doing video is harder and takes longer, > so before deciding on what medium to go for I decided to ask you all about > it. > > My outline is done and the research into the topics I want to cover is > almost complete. I'll soon reach the point in my production pipeline where > I need to decide which way should the content go. What do you prefer? > > Best > Andre > From sean at pidigital.co.uk Tue Jul 7 16:01:52 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 7 Jul 2020 21:01:52 +0100 Subject: LCGitHubLib deprecation Message-ID: <888670EB-F029-4936-9E0F-95ECC96BB401@pidigital.co.uk> Hey all. Just received notification from github that the LCGitHubLib app will no longer be available on github from October. I?m sure the relevant coders have also been notified but will this have impact on our own repository forks. We have till October so there?s no rush. I?m just starting the conversation for an early heads up. All the best Sean Cole Pi Digital From harrison at all-auctions.com Tue Jul 7 17:46:27 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 7 Jul 2020 17:46:27 -0400 Subject: Downloading LiveCode Slow... In-Reply-To: <5217C762-BC0C-442B-AA0F-EDE17296585B@davewood.nz> References: <5217C762-BC0C-442B-AA0F-EDE17296585B@davewood.nz> Message-ID: <5D1DEE4E-EB4C-4D9A-8821-1DAE3DF2625C@all-auctions.com> I was wondering if anyone has tried to download any version of LiveCode from the website recently. I just tried today and it is glacially slow. I?m also running into a problem where version 9.5.1 which used to work fine is now complaining that the license isn?t any good anymore. I tried the manual fix and even that didn?t work. My licenses are all up to date too. Anyone else having similar problems? Let me know. Thanks, Rick From alex at tweedly.net Tue Jul 7 20:36:34 2020 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 8 Jul 2020 01:36:34 +0100 Subject: Livecode Community Site In-Reply-To: References: Message-ID: <1651fc2d-cef5-7f42-f301-43af63d5cfae@tweedly.net> On 07/07/2020 18:46, Tom Glod via use-livecode wrote: > Hi Folks, > > For years I have owned the domain "lovelivecode.com". At one point I lost > it, but decided to buy it again a few months ago. > > ... > > Recently,I am seeing the glaring need in the community (also touched on by > recent threads): Yes, I agree (some). > I don't have a ton of time to spend on it, but thanks to modern tools, I > don't need lots of time. > > > Please give me a quick reply > 1. If this interests you. > 2. And If you would like to be involved with it 1. Yes, I'm interested. 2. Yes, I'd ike to be involved. 3. BUT I am wary :-) I fully agree that we are missing some of those things, and that a community effort could maybe help fill some of them. But we also already suffer from duplication and fragmentation (and too many possible places to have to go look). So I think that unless we are confident that there is enough interest, commitment and agreement on goals, we would be better off not even starting . Sorry if that sounds negative - but the last thing we need to do is to use up the rather scarce resource we have (i.e. our own time) on a likely-to-fail effort. So I'm going to pick over your stated goals, and comment on them. Partly think of this as an attempt to avoid "boiling the ocean" - we'd be better getting success on 2 or 3 goals than only a little bit of progress on 10 of them. > Here are my goals: > > For LoveLivecode.com to be a "modern" central hub for: Not sure what 'modern' is (or whether I like it :-)? And central could mean 'one place for everything' which I think is not practical. The goals, rearranged into a different order to suit me: > > LC News > Member Post Feed > Communication between members (forums / PMs) Here I think we already have adequate choices (and fragmentation). I would love to find a way to unify the forums and the use-list - but if it was going to be easy, it would have happened by now. And a separate (non-LCLtd) solution is just going to be another fragment. > (Up-to-date) Educational resources Yeah, could be possible. > Code snippets > Sample Files Yes, definitely. I think there is a particular gap in this area (libraries) but I'll keep that for a possible later detailed discussion. > Events / Online & Live > Community Polls (to help livecode inc to understand us better) Yes - I'm sure there is interest for this, even if we are all not sure what we want, we really do want something. > Developer Directory (And maybe project submission for developer bids??) > and Ad space for anyone whose target market is LC Developers. > Yes, why not. I hope you (we) can get something going, even if I'm not sure yet what I most want it to be. Alex. P.S. is it "love livecode" or "love. live. code." ? From tom at makeshyft.com Tue Jul 7 21:18:32 2020 From: tom at makeshyft.com (Tom Glod) Date: Tue, 7 Jul 2020 21:18:32 -0400 Subject: Livecode Community Site In-Reply-To: <1651fc2d-cef5-7f42-f301-43af63d5cfae@tweedly.net> References: <1651fc2d-cef5-7f42-f301-43af63d5cfae@tweedly.net> Message-ID: Hi Alex, thank you for your detailed reply. I appreciate it. I think you are right ..... I too don't have a lot of interest going down this road if no one wants it. I feel like nothing out there, LC related, feels like its maintained of kept up to date. Livecode themselves don't really have much of a social presence. So for new developers, it all just seems 'stale'. A modern, maintained site with up to date content would very easily become one of the top results for those searching for livecode. (I could be wrong) I just think of it as an opportunity that would also help to freshen things up. Thanks for pointing out the play on words..... the answer.....its BOTH. :D I'm going to post an update on this in a few days. On Tue, Jul 7, 2020 at 8:37 PM Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > On 07/07/2020 18:46, Tom Glod via use-livecode wrote: > > > Hi Folks, > > > > For years I have owned the domain "lovelivecode.com". At one point I > lost > > it, but decided to buy it again a few months ago. > > > > ... > > > > Recently,I am seeing the glaring need in the community (also touched on > by > > recent threads): > Yes, I agree (some). > > I don't have a ton of time to spend on it, but thanks to modern tools, I > > don't need lots of time. > > > > > > Please give me a quick reply > > 1. If this interests you. > > 2. And If you would like to be involved with it > > 1. Yes, I'm interested. > > 2. Yes, I'd ike to be involved. > > 3. BUT I am wary :-) > > I fully agree that we are missing some of those things, and that a > community effort could maybe help fill some of them. But we also already > suffer from duplication and fragmentation (and too many possible places > to have to go look). > > So I think that unless we are confident that there is enough interest, > commitment and agreement on goals, we would be better off not even > starting . Sorry if that sounds negative - but the last thing we need to > do is to use up the rather scarce resource we have (i.e. our own time) > on a likely-to-fail effort. > > So I'm going to pick over your stated goals, and comment on them. Partly > think of this as an attempt to avoid "boiling the ocean" - we'd be > better getting success on 2 or 3 goals than only a little bit of > progress on 10 of them. > > > Here are my goals: > > > > For LoveLivecode.com to be a "modern" central hub for: > > Not sure what 'modern' is (or whether I like it :-) And central could > mean 'one place for everything' which I think is not practical. > > The goals, rearranged into a different order to suit me: > > > > > LC News > > Member Post Feed > > Communication between members (forums / PMs) > Here I think we already have adequate choices (and fragmentation). I > would love to find a way to unify the forums and the use-list - but if > it was going to be easy, it would have happened by now. And a separate > (non-LCLtd) solution is just going to be another fragment. > > (Up-to-date) Educational resources > Yeah, could be possible. > > Code snippets > > Sample Files > Yes, definitely. I think there is a particular gap in this area > (libraries) but I'll keep that for a possible later detailed discussion. > > Events / Online & Live > > Community Polls (to help livecode inc to understand us better) > Yes - I'm sure there is interest for this, even if we are all not sure > what we want, we really do want something. > > Developer Directory (And maybe project submission for developer bids??) > > and Ad space for anyone whose target market is LC Developers. > > > Yes, why not. > > I hope you (we) can get something going, even if I'm not sure yet what I > most want it to be. > > Alex. > > P.S. is it "love livecode" or "love. live. code." ? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From ambassador at fourthworld.com Wed Jul 8 01:30:22 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 7 Jul 2020 22:30:22 -0700 Subject: Livecode Community Site In-Reply-To: References: Message-ID: Tom Glod wrote: > I feel like nothing out there, LC related, feels like its maintained > of kept up to date. True dat, though there are a few. LiveCode Journal has been fallow too long for a couple reasons: it's a lot of work to keep fresh content flowing, and ultimately I found that content needs management and much more, so I've been making tools for that. My hope is that the tools will allow me to kick out content more prolifically, but the tools themselves require quite a bit of time before that happens. > Livecode themselves don't really have much of a social presence. They have no content strategy that's evident. That's too bad. it works. Content strategy is pretty much how companies grow in the 21st century. > So for new developers, it all just seems 'stale'. > > A modern, maintained site with up to date content would very easily > become one of the top results for those searching for livecode. (I > could be wrong) Yes, to fresh content - but need it be in one domain? Is the goal to create a new funnel that goes through all the steps to bring people into a new place... - or - ...could the content be delivered to where people already are? An article at LinkedIn can be promoted in groups and forums, but being at LinkedIn will be seen by more people more quickly than you could expect through organic search engine traffic. Even better, search engine traffic only applies when the searcher happens to be searching for phrases that a given domain ranks high for. But in existing sharing networks like LinkedIn, people can discover things they might never have thought to search for. The mother ship itself is also a good venue: LC Ltd loves guest content in their blog, and additions to the Lessons and docs. The nice thing about making contributions with the core project is they keep the highest-possible-ranking site looking fresh, while also reducing work for the author. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From matthias_livecode_150811 at m-r-d.de Wed Jul 8 07:47:27 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 8 Jul 2020 13:47:27 +0200 Subject: LCGitHubLib deprecation In-Reply-To: <888670EB-F029-4936-9E0F-95ECC96BB401@pidigital.co.uk> References: <888670EB-F029-4936-9E0F-95ECC96BB401@pidigital.co.uk> Message-ID: <955AC372-0DB2-4100-842A-867C713A7547@m-r-d.de> Sean, i did a Google search for LCGitHubLib and could not find any information about it. What is/was it? - Matthias Rebbe Life Is Too Short For Boring Code > Am 07.07.2020 um 22:01 schrieb Pi Digital via use-livecode : > > Hey all. > > Just received notification from github that the LCGitHubLib app will no longer be available on github from October. I?m sure the relevant coders have also been notified but will this have impact on our own repository forks. We have till October so there?s no rush. I?m just starting the conversation for an early heads up. > > All the best > > Sean Cole > Pi Digital > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Wed Jul 8 10:25:07 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 8 Jul 2020 15:25:07 +0100 Subject: LCGitHubLib deprecation In-Reply-To: <955AC372-0DB2-4100-842A-867C713A7547@m-r-d.de> References: <955AC372-0DB2-4100-842A-867C713A7547@m-r-d.de> Message-ID: Hi This is what I received: We're contacting you regarding upcoming changes for your GitHub Apps: - LCGitHubLib We no longer support two events which your GitHub Apps may rely on, "integration_installation" and "integration_installation_repositories". These events can be replaced with the "installation" and "installation_repositories" events respectively. The "integration_installation" and "integration_installation_repositories" events will be removed after October 1st, 2020. Please visit https://developer.github.com/changes/2020-04-15-replacing-the-installation-and-installation-repositories-eventsfor more information about suggested changes, brownouts, and removal dates. Thanks, The GitHub Team > On 8 Jul 2020, at 12:47, matthias rebbe via use-livecode wrote: > > ?Sean, > > i did a Google search for LCGitHubLib and could not find any information about it. > > What is/was it? > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 07.07.2020 um 22:01 schrieb Pi Digital via use-livecode : >> >> Hey all. >> >> Just received notification from github that the LCGitHubLib app will no longer be available on github from October. I?m sure the relevant coders have also been notified but will this have impact on our own repository forks. We have till October so there?s no rush. I?m just starting the conversation for an early heads up. >> >> All the best >> >> Sean Cole >> Pi Digital >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Wed Jul 8 10:30:52 2020 From: m.schonewille at economy-x-talk.com (Drs Mark Schonewille) Date: Wed, 8 Jul 2020 16:30:52 +0200 Subject: LCGitHubLib deprecation In-Reply-To: References: <955AC372-0DB2-4100-842A-867C713A7547@m-r-d.de> Message-ID: That's a very general message. It doesn't say that the events are in the lib and it doesn't say that the lib will be removed. Also, you don't really need this lib just to use Github with LiveCode, even if it may be useful. Mark Schonewille Economy-x-Talk https://ecxtalk.nl https://www.nt2.nu Programming LiveCode for the Real Beginner http://www3.economy-x-talk.com/file.php?node=programming-livecode-for-the-real-beginner Op 8-7-2020 om 16:25 schreef Pi Digital via use-livecode: > Hi > > This is what I received: > > We're contacting you regarding upcoming changes for your GitHub Apps: > - LCGitHubLib > > We no longer support two events which your GitHub Apps may rely on, "integration_installation" and "integration_installation_repositories". > > These events can be replaced with the "installation" and "installation_repositories" events respectively. > > The "integration_installation" and "integration_installation_repositories" events will be removed after October 1st, 2020. > > Please visit https://developer.github.com/changes/2020-04-15-replacing-the-installation-and-installation-repositories-eventsfor more information about suggested changes, brownouts, and removal dates. > > Thanks, > The GitHub Team > >> On 8 Jul 2020, at 12:47, matthias rebbe via use-livecode wrote: >> >> ?Sean, >> >> i did a Google search for LCGitHubLib and could not find any information about it. >> >> What is/was it? >> >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>> Am 07.07.2020 um 22:01 schrieb Pi Digital via use-livecode : >>> >>> Hey all. >>> >>> Just received notification from github that the LCGitHubLib app will no longer be available on github from October. I?m sure the relevant coders have also been notified but will this have impact on our own repository forks. We have till October so there?s no rush. I?m just starting the conversation for an early heads up. >>> >>> All the best >>> >>> Sean Cole >>> Pi Digital >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Jul 8 11:51:17 2020 From: klaus at major-k.de (Klaus major-k) Date: Wed, 8 Jul 2020 17:51:17 +0200 Subject: fixed textheight affects scrolling? Message-ID: <8AD8A379-D4FD-4D1F-9416-D4F1ABF080F5@major-k.de> Hi friends, strange phenomenon, maybe I am missing something!? LC 9.6 on macOS 10.14.6 I have two fields with all available fonts and each line is formatted directly in the appropriate font it reads. I set the FixedLineHeight for ONE field to 28, doesn't matter actually. Now I want to select a specific line in the fields with this script: ------------------------------- on mouseUp pMouseButton set the wholematches to TRUE put lineoffset("Lucida Grande",fld "fonts") into tLine ## Which is 366 in my fields! put the effective textheight of fld "fonts" into tTH set the scroll of fld "fonts" to tLine*tTH + the height of fld "fonts" set the hilitedlines of fld "fonts" to tLine end mouseUp ------------------------------- Works fine for the field WITHOUT fixedlineheigt and selects the line -> Lucida Grande However the same script used with the field WITH fixedlineheight, it selects -> Lucida Grande Bold which is the line AFTER "Lucida Grande" and actually line 367!? What am I overlooking? Thanks for any hints! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From dochawk at gmail.com Wed Jul 8 12:22:34 2020 From: dochawk at gmail.com (doc hawk) Date: Wed, 8 Jul 2020 09:22:34 -0700 Subject: Downloading LiveCode Slow... In-Reply-To: <5D1DEE4E-EB4C-4D9A-8821-1DAE3DF2625C@all-auctions.com> References: <5217C762-BC0C-442B-AA0F-EDE17296585B@davewood.nz> <5D1DEE4E-EB4C-4D9A-8821-1DAE3DF2625C@all-auctions.com> Message-ID: I've never seen it *not* slow. When I'm going to download, I clip the link and use "wget -c" from the command line, so it can continue from where it left off if interrupted. From rdimola at evergreeninfo.net Wed Jul 8 12:28:11 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 8 Jul 2020 12:28:11 -0400 Subject: Downloading LiveCode Slow... In-Reply-To: References: <5217C762-BC0C-442B-AA0F-EDE17296585B@davewood.nz> <5D1DEE4E-EB4C-4D9A-8821-1DAE3DF2625C@all-auctions.com> Message-ID: <006b01d65544$c86bbf90$59433eb0$@net> >From the Download page I get an average of 2.6mbs download speed. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From tore.nilsen at me.com Wed Jul 8 12:41:41 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 8 Jul 2020 18:41:41 +0200 Subject: Downloading LiveCode Slow... In-Reply-To: <5D1DEE4E-EB4C-4D9A-8821-1DAE3DF2625C@all-auctions.com> References: <5217C762-BC0C-442B-AA0F-EDE17296585B@davewood.nz> <5D1DEE4E-EB4C-4D9A-8821-1DAE3DF2625C@all-auctions.com> Message-ID: <20A4BE46-2EF8-491F-A1F6-1182B045DD3F@me.com> I got + - 10MB/sec from Norway. Downloaded the Business Edition in under 1 min. Tore Nilsen > 7. jul. 2020 kl. 23:46 skrev Rick Harrison via use-livecode : > > I was wondering if anyone has tried to > download any version of LiveCode from > the website recently. I just tried today > and it is glacially slow. > > I?m also running into a problem where > version 9.5.1 which used to work fine > is now complaining that the license > isn?t any good anymore. I tried the > manual fix and even that didn?t work. > My licenses are all up to date too. > > Anyone else having similar problems? > > Let me know. > > Thanks, > > Rick > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From htorrado at networkdreams.net Wed Jul 8 12:46:52 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Wed, 8 Jul 2020 12:46:52 -0400 Subject: Downloading LiveCode Slow... In-Reply-To: <20A4BE46-2EF8-491F-A1F6-1182B045DD3F@me.com> References: <5217C762-BC0C-442B-AA0F-EDE17296585B@davewood.nz> <5D1DEE4E-EB4C-4D9A-8821-1DAE3DF2625C@all-auctions.com> <20A4BE46-2EF8-491F-A1F6-1182B045DD3F@me.com> Message-ID: <009e01d65547$632b7640$298262c0$@networkdreams.net> I got 22 MB/sec from New York City and 14MB/Sec form Madrid (Spain). -----Original Message----- From: use-livecode On Behalf Of Tore Nilsen via use-livecode Sent: Wednesday, July 8, 2020 12:42 PM To: How to use LiveCode Cc: Tore Nilsen Subject: Re: Downloading LiveCode Slow... I got + - 10MB/sec from Norway. Downloaded the Business Edition in under 1 min. Tore Nilsen > 7. jul. 2020 kl. 23:46 skrev Rick Harrison via use-livecode : > > I was wondering if anyone has tried to download any version of > LiveCode from the website recently. I just tried today and it is > glacially slow. > > I?m also running into a problem where > version 9.5.1 which used to work fine > is now complaining that the license > isn?t any good anymore. I tried the > manual fix and even that didn?t work. > My licenses are all up to date too. > > Anyone else having similar problems? > > Let me know. > > Thanks, > > Rick > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Jul 8 12:53:19 2020 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 8 Jul 2020 19:53:19 +0300 Subject: Downloading LiveCode Slow... In-Reply-To: <009e01d65547$632b7640$298262c0$@networkdreams.net> References: <5217C762-BC0C-442B-AA0F-EDE17296585B@davewood.nz> <5D1DEE4E-EB4C-4D9A-8821-1DAE3DF2625C@all-auctions.com> <20A4BE46-2EF8-491F-A1F6-1182B045DD3F@me.com> <009e01d65547$632b7640$298262c0$@networkdreams.net> Message-ID: <581c3452-05f9-8b3a-51f4-c7749a307bda@gmail.com> Here in Bulgaria it is fast enough for me because I always slope off for a cup of coffee whenever something is downloading. And the really "annoying" thing is that most of the time downloads finish before I've come back into the room. :) Richmond. On 8.07.20 19:46, Heriberto Torrado via use-livecode wrote: > I got 22 MB/sec from New York City and 14MB/Sec form Madrid (Spain). > > -----Original Message----- > From: use-livecode On Behalf Of Tore Nilsen via use-livecode > Sent: Wednesday, July 8, 2020 12:42 PM > To: How to use LiveCode > Cc: Tore Nilsen > Subject: Re: Downloading LiveCode Slow... > > I got + - 10MB/sec from Norway. Downloaded the Business Edition in under 1 min. > > Tore Nilsen > >> 7. jul. 2020 kl. 23:46 skrev Rick Harrison via use-livecode : >> >> I was wondering if anyone has tried to download any version of >> LiveCode from the website recently. I just tried today and it is >> glacially slow. >> >> I?m also running into a problem where >> version 9.5.1 which used to work fine >> is now complaining that the license >> isn?t any good anymore. I tried the >> manual fix and even that didn?t work. >> My licenses are all up to date too. >> >> Anyone else having similar problems? >> >> Let me know. >> >> Thanks, >> >> Rick >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Wed Jul 8 13:28:59 2020 From: tom at makeshyft.com (Tom Glod) Date: Wed, 8 Jul 2020 13:28:59 -0400 Subject: Livecode Community Site In-Reply-To: References: Message-ID: Thanks for your thoughts Richard. You are right on the content delivery channels. Posting content on social media directly is definitely worthwhile, but I really think the market opportunity may be there for a LiveCode related 'hub'. I think its possible for this site to be a semi everyday visit, a great destination for new LC developers, and a true hub for (new) livecode developers / teachers. I end up on livecode journal every once in a while if i am searching for something, there is a wealth of information there (thanks!!!!)..... though, to a new user, they may not be sure they are on a current website. It would make sense to post links to these blog posts....with proper open graph data. Yeah.....LC Inc's strengths are not currently in social marketing or community engagement, but that can change, and maybe this site can help with that. I will update this thread with a link to the roadmap. Thanks, Tom On Wed, Jul 8, 2020 at 1:31 AM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Tom Glod wrote: > > > I feel like nothing out there, LC related, feels like its maintained > > of kept up to date. > > True dat, though there are a few. > > LiveCode Journal has been fallow too long for a couple reasons: it's a > lot of work to keep fresh content flowing, and ultimately I found that > content needs management and much more, so I've been making tools for > that. My hope is that the tools will allow me to kick out content more > prolifically, but the tools themselves require quite a bit of time > before that happens. > > > Livecode themselves don't really have much of a social presence. > > They have no content strategy that's evident. That's too bad. it works. > Content strategy is pretty much how companies grow in the 21st century. > > > > So for new developers, it all just seems 'stale'. > > > > A modern, maintained site with up to date content would very easily > > become one of the top results for those searching for livecode. (I > > could be wrong) > > Yes, to fresh content - but need it be in one domain? > > Is the goal to create a new funnel that goes through all the steps to > bring people into a new place... > > - or - > > ...could the content be delivered to where people already are? > > > An article at LinkedIn can be promoted in groups and forums, but being > at LinkedIn will be seen by more people more quickly than you could > expect through organic search engine traffic. > > Even better, search engine traffic only applies when the searcher > happens to be searching for phrases that a given domain ranks high for. > > But in existing sharing networks like LinkedIn, people can discover > things they might never have thought to search for. > > The mother ship itself is also a good venue: > > LC Ltd loves guest content in their blog, and additions to the Lessons > and docs. The nice thing about making contributions with the core > project is they keep the highest-possible-ranking site looking fresh, > while also reducing work for the author. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From jiml at netrin.com Wed Jul 8 13:35:15 2020 From: jiml at netrin.com (Jim Lambert) Date: Wed, 8 Jul 2020 10:35:15 -0700 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: References: Message-ID: <31817468-8372-4A0E-9AA5-77A8BD745609@netrin.com> Hi Andr?, I previously always favored printed books. But now I prefer digital materials that are a combination of text (with copiable code!), interactive elements, and supplementary video. As Richard pointed out LC itself provides "the many learning benefits of direct engagement with interactive media.? IMO, Video is most appropriate when used to convey visual, spatial and temporal examples. It?s can also provide a bit of a human touch to the instruction, even though it?s utterly mechanical. So, yeah, I like a combo. Hope this helps! Jim Lambert From stephen at barncard.com Wed Jul 8 14:13:15 2020 From: stephen at barncard.com (Stephen Barncard) Date: Wed, 8 Jul 2020 11:13:15 -0700 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: <31817468-8372-4A0E-9AA5-77A8BD745609@netrin.com> References: <31817468-8372-4A0E-9AA5-77A8BD745609@netrin.com> Message-ID: I prefer video, but I feel demonstrations should have some production value other that just a screen share. Indicators, motion graphics, etc and not just a guy and his desktop. And EDITING!!! I'm a Final Cut Pro video guy these days and have ALL the groovy plugins so I'm not being fair I guess. iMovie is far better these days that it used to be, but strangely very difficult to upgrade an iMovie package to Final Cut, once one is there. Roadblocks everywhere. Typical Apple %$#%#%#$%#$. sqb -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Wed, Jul 8, 2020 at 10:36 AM Jim Lambert via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Andr?, > > I previously always favored printed books. > > But now I prefer digital materials that are a combination of text (with > copiable code!), interactive elements, and supplementary video. > As Richard pointed out LC itself provides "the many learning benefits of > direct engagement with interactive media.? > > IMO, Video is most appropriate when used to convey visual, spatial and > temporal examples. It?s can also provide a bit of a human touch to the > instruction, even though it?s utterly mechanical. > > So, yeah, I like a combo. > > Hope this helps! > > Jim Lambert > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From waprothero at gmail.com Wed Jul 8 15:18:32 2020 From: waprothero at gmail.com (William Prothero) Date: Wed, 8 Jul 2020 12:18:32 -0700 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: References: <31817468-8372-4A0E-9AA5-77A8BD745609@netrin.com> Message-ID: FYI, I?ve found some of the MovAvi apps to be good and very inexpensive. That said, I?m not doing a lot of video editing these days, but found the video editing app to be easier to use than iMovie. I used Final Cut Pro, but didn?t renew when Apple went to 64bit only. Best, Bill William A. Prothero https://earthlearningsolutions.org > On Jul 8, 2020, at 11:13 AM, Stephen Barncard via use-livecode wrote: > > I prefer video, but I feel demonstrations should have some production value > other that just a screen share. > Indicators, motion graphics, etc and not just a guy and his desktop. And > EDITING!!! > I'm a Final Cut Pro video guy these days and have ALL the groovy plugins > so I'm not being fair I guess. > > iMovie is far better these days that it used to be, but strangely very > difficult to upgrade an iMovie package to Final Cut, once one is there. > Roadblocks everywhere. Typical Apple %$#%#%#$%#$. > > sqb > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > > > On Wed, Jul 8, 2020 at 10:36 AM Jim Lambert via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Andr?, >> >> I previously always favored printed books. >> >> But now I prefer digital materials that are a combination of text (with >> copiable code!), interactive elements, and supplementary video. >> As Richard pointed out LC itself provides "the many learning benefits of >> direct engagement with interactive media.? >> >> IMO, Video is most appropriate when used to convey visual, spatial and >> temporal examples. It?s can also provide a bit of a human touch to the >> instruction, even though it?s utterly mechanical. >> >> So, yeah, I like a combo. >> >> Hope this helps! >> >> Jim Lambert >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Wed Jul 8 15:27:26 2020 From: david.bovill at gmail.com (David Bovill) Date: Wed, 8 Jul 2020 20:27:26 +0100 Subject: Livecode Community Site In-Reply-To: <1651fc2d-cef5-7f42-f301-43af63d5cfae@tweedly.net> References: <1651fc2d-cef5-7f42-f301-43af63d5cfae@tweedly.net> Message-ID: <45979b10-c888-41da-9b58-cd6b8b0ce22a@Spark> Yes - I?m in. My only requirements are that it is done well. Like others have said time is limited, so for my part I only want to put effort into quality and innovative content. Let me pick through the suggestions from my point of view: > > Please give me a quick reply > > 1. If this interests you. > 2. And If you would like to be involved with it Yes, yes, yes. > So I think that unless we are confident that there is enough interest, > commitment and agreement on goals, we would be better off not even > starting . Sorry if that sounds negative - but the last thing we need to > do is to use up the rather scarce resource we have (i.e. our own time) > on a likely-to-fail effort. I?m personally confident of interest. This is in part because I know some interesting developers, and relevant content. Partly because I?m confident that the format can be done in a way that gathers interest. These positive aspects come with a potential difference of approach - one which puts content and cross cutting interests over an above a pure Livecode focussed site (see below) > > Here are my goals: > > > > For LoveLivecode.com to be a "modern" central hub for: For my part that brand is not strong enough to attract interest. I also see several sites working together in a modern way - to that end I believe we should allow anyone to create their own community site and federate these in interesting ways. > Not sure what 'modern' is (or whether I like it :-)??And central could > mean 'one place for everything' which I think is not practical. I agree 'one place for everything???is not practical. My focus would be on ways in which federated sites can share content. So I see: 1. A podcast - that uses Livecode to add some interesting features, but essentially is something that any Livecode community site can embed and collaborate with. 2. A new container based community hosting solution - the solution I?d love to work on with people uses Traffic, Federated wiki, and Livecode server. Other container based services can be added with a few lines of code. I have a test community server up and running - and I think it would be good content to evolve that through the podcast and community meet-ups. 3. Exciting community content - new approaches to education etc (my focus is climate change and social projects). > > (Up-to-date) Educational resources > Yeah, could be possible. There are a number of projects I?d like to include here. There is a good deal of innovative content to draw on, that we can enhance with features provided by Livecode tools. It?s all creative commons licensed, and would go with the podcast which will also be free culture licensed. > > Code snippets > > Sample Files > Yes, definitely. I think there is a particular gap in this area > (libraries) but I'll keep that for a possible later detailed discussion. I?ve got a few libraries for this, and we could go through what is available in a community call. At the moment I use Gists, and Github API?s to save code snippets and projects from the IDE, and I use Federated wiki to document the handlers and code - however we could use Github wiki pages or other solutions. Again something better to demo in a community call than describe. > > Events / Online & Live > > Community Polls (to help livecode inc to understand us better) > Yes - I'm sure there is interest for this, even if we are all not sure > what we want, we really do want something. > I think this is very important. A lot of the interest would come from communities outside of the Livecode developer community. I work with artists (musicians and film makers), and social projects (educators and people looking at social change) that are interested. They need software tools like Livecode, but their focus is on content. How about doing a Zoom next week, and see where it goes. I?d be happy to present the docker based federated Livecode instance - with a quick demo of Github & wiki integration? From alex at tweedly.net Wed Jul 8 16:01:03 2020 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 8 Jul 2020 21:01:03 +0100 Subject: Livecode Community Site In-Reply-To: References: Message-ID: On 08/07/2020 06:30, Richard Gaskin via use-livecode wrote: > LC Ltd loves guest content in their blog, Really ?? There's been *one* guest blog post in the last 2 years - maybe they need to push harder for contributions. > and additions to the Lessons and docs.? The nice thing about making > contributions with the core project is they keep the > highest-possible-ranking site looking fresh, while also reducing work > for the author. Yep! So the answer for me is clear - I should write a (potential) blog post for the Livecode Blog, and offer ti to Heather. It may not be up to their standards - but at least I'll have tried. OK, off I go to write up my little "Them are beads!" project. Alex. From tom at makeshyft.com Wed Jul 8 16:34:52 2020 From: tom at makeshyft.com (Tom Glod) Date: Wed, 8 Jul 2020 16:34:52 -0400 Subject: Livecode Community Site In-Reply-To: References: Message-ID: David, I love your suggestions, I also have some questions about some of the things you mentioned. I'm totally down to hearing more of your thoughts on a project like this. I'm not married to the name..... but whenever I see that I own the domain I am reminded of this somewhat glaring need. Maybe my ideas at this point are have been simplistic....I have advanced knowledge and experience in WordPress,.... it has everything thats needed to make a successful site that can scale to a decent number of users. .... it would be hard to convince me to spend time building things in order to have a site that has custom funtionality for what we need. So what I'm saying is I don't know if thats compatible with federated websites using docker containers.....but I take it, the docker containers can have wordpress on them. Lets do the zoom call David..... send me an invite ...... wednesday, thursday,friday work for me ..... at most times ... except before noon est on wednesday! Cheers, Tom (tom at makeshyft.com) On Wed, Jul 8, 2020 at 4:02 PM Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > > On 08/07/2020 06:30, Richard Gaskin via use-livecode wrote: > > > LC Ltd loves guest content in their blog, > > Really ? There's been *one* guest blog post in the last 2 years - maybe > they need to push harder for contributions. > > > and additions to the Lessons and docs. The nice thing about making > > contributions with the core project is they keep the > > highest-possible-ranking site looking fresh, while also reducing work > > for the author. > > Yep! > > So the answer for me is clear - I should write a (potential) blog post > for the Livecode Blog, and offer ti to Heather. It may not be up to > their standards - but at least I'll have tried. > > OK, off I go to write up my little "Them are beads!" project. > > Alex. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From ambassador at fourthworld.com Wed Jul 8 16:35:46 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 8 Jul 2020 13:35:46 -0700 Subject: Livecode Community Site In-Reply-To: References: Message-ID: <3c6fe443-1517-3c6f-9c29-291c99402c81@fourthworld.com> Alex Tweedly wrote: > On 08/07/2020 06:30, Richard Gaskin via use-livecode wrote: > >> LC Ltd loves guest content in their blog, > > Really ? There's been *one* guest blog post in the last 2 years - > maybe they need to push harder for contributions. You can lead a horse to water... It's easier to snap together a web site than it is to author content. I know that all too well. LiveCodeJournal.com (and its earlier incarnation of RevJournal.com) was well placed for many years, often #2 in SERPS - when I had fresh content coming in. But third-party content dwindled when LC began their own content outlets, I got more bill-paying contract work, so that hobby project started taking a backseat. It's a lot of work to do alone. Consider the WoecechestershireSource site, and sites from the fella in S. Africa, TapirSoft's, and the others that have enthusiastically come and reluctantly gone over the years. A large third-party ecosystem is nice, and we should definitely encourage more. But from an evangelism standpoint it's a top-of-the-funnel activity, with the mother ship in the middle where the funnel leads. It helps to keep that destination well fed. If it seems easy to commit to content authoring, give a shot at guest blogging for the largest audience in the ecosystem. If nothing else it'll hone writing skills for the work ahead at one's own site. >> and additions to the Lessons and docs. The nice thing about making >> contributions with the core project is they keep the >> highest-possible-ranking site looking fresh, while also reducing work >> for the author. > > Yep! > > So the answer for me is clear - I should write a (potential) blog post > for the Livecode Blog, and offer ti to Heather. It may not be up to > their standards - but at least I'll have tried. > > OK, off I go to write up my little "Them are beads!" project. Supercool - I look forward to reading it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From klaus at major-k.de Thu Jul 9 04:54:13 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 9 Jul 2020 10:54:13 +0200 Subject: fixed textheight affects scrolling? In-Reply-To: <8AD8A379-D4FD-4D1F-9416-D4F1ABF080F5@major-k.de> References: <8AD8A379-D4FD-4D1F-9416-D4F1ABF080F5@major-k.de> Message-ID: Hi all, > Am 08.07.2020 um 17:51 schrieb Klaus major-k via use-livecode : > > Hi friends, > > strange phenomenon, maybe I am missing something!? > LC 9.6 on macOS 10.14.6 > > I have two fields with all available fonts and each line is formatted directly > in the appropriate font it reads. > > I set the FixedLineHeight for ONE field to 28, doesn't matter actually. > > Now I want to select a specific line in the fields with this script: > ------------------------------- > on mouseUp pMouseButton > set the wholematches to TRUE > put lineoffset("Lucida Grande",fld "fonts") into tLine > ## Which is 366 in my fields! > > put the effective textheight of fld "fonts" into tTH > set the scroll of fld "fonts" to tLine*tTH + the height of fld "fonts" > set the hilitedlines of fld "fonts" to tLine > end mouseUp > ------------------------------- > > Works fine for the field WITHOUT fixedlineheigt and selects the line -> Lucida Grande > However the same script used with the field WITH fixedlineheight, it selects -> Lucida Grande Bold > which is the line AFTER "Lucida Grande" and actually line 367!? > > What am I overlooking? > Thanks for any hints! Ideas? Anyone? No? Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From mark at livecode.com Thu Jul 9 05:22:24 2020 From: mark at livecode.com (Mark Waddingham) Date: Thu, 09 Jul 2020 10:22:24 +0100 Subject: fixed textheight affects scrolling? In-Reply-To: References: <8AD8A379-D4FD-4D1F-9416-D4F1ABF080F5@major-k.de> Message-ID: On 2020-07-09 09:54, Klaus major-k via use-livecode wrote: > Hi all, > >> Am 08.07.2020 um 17:51 schrieb Klaus major-k via use-livecode >> : >> >> Hi friends, >> >> strange phenomenon, maybe I am missing something!? >> LC 9.6 on macOS 10.14.6 >> >> I have two fields with all available fonts and each line is formatted >> directly >> in the appropriate font it reads. >> >> I set the FixedLineHeight for ONE field to 28, doesn't matter >> actually. >> >> Now I want to select a specific line in the fields with this script: >> ------------------------------- >> on mouseUp pMouseButton >> set the wholematches to TRUE >> put lineoffset("Lucida Grande",fld "fonts") into tLine >> ## Which is 366 in my fields! >> >> put the effective textheight of fld "fonts" into tTH >> set the scroll of fld "fonts" to tLine*tTH + the height of fld >> "fonts" >> set the hilitedlines of fld "fonts" to tLine >> end mouseUp >> ------------------------------- >> >> Works fine for the field WITHOUT fixedlineheigt and selects the line >> -> Lucida Grande >> However the same script used with the field WITH fixedlineheight, it >> selects -> Lucida Grande Bold >> which is the line AFTER "Lucida Grande" and actually line 367!? >> >> What am I overlooking? >> Thanks for any hints! I suspect the fact it works in the non-fixedline height case is serendipity in this specific case - if line height isn't fixed then each line will have a different height based on the fonts (although most will be the same if the fontSize is the same)... LineOffset is 1-based - so the first line has scroll 0ish (ish because of field margins etc.) - that's probably the issue with your existing code. There's an easier way I think though which should be independent of any field styling (size, font, wrapping)... You can get the formattedTop of a line - which gives you the card-relative y co-ordinate of the top of the including the fields top and scroll. So this should do the trick: set the scroll of field "fonts" to the scroll of field "fonts" + \ the formattedTop of line tLine of field "fonts" - \ the top of field "fonts" The adjustment is necessary because the scroll value is relative to the top-left of the 'content' of the field. Hope this helps! Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From klaus at major-k.de Thu Jul 9 05:40:34 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 9 Jul 2020 11:40:34 +0200 Subject: fixed textheight affects scrolling? In-Reply-To: References: <8AD8A379-D4FD-4D1F-9416-D4F1ABF080F5@major-k.de> Message-ID: Hi Mark, > Am 09.07.2020 um 11:22 schrieb Mark Waddingham via use-livecode : > > On 2020-07-09 09:54, Klaus major-k via use-livecode wrote: >> Hi all, >>> Am 08.07.2020 um 17:51 schrieb Klaus major-k via use-livecode : >>> Hi friends, >>> strange phenomenon, maybe I am missing something!? >>> LC 9.6 on macOS 10.14.6 >>> I have two fields with all available fonts and each line is formatted directly >>> in the appropriate font it reads. >>> I set the FixedLineHeight for ONE field to 28, doesn't matter actually. >>> Now I want to select a specific line in the fields with this script: >>> ------------------------------- >>> on mouseUp pMouseButton >>> set the wholematches to TRUE >>> put lineoffset("Lucida Grande",fld "fonts") into tLine >>> ## Which is 366 in my fields! >>> put the effective textheight of fld "fonts" into tTH >>> set the scroll of fld "fonts" to tLine*tTH + the height of fld "fonts" >>> set the hilitedlines of fld "fonts" to tLine >>> end mouseUp >>> ------------------------------- >>> Works fine for the field WITHOUT fixedlineheigt and selects the line -> Lucida Grande >>> However the same script used with the field WITH fixedlineheight, it selects -> Lucida Grande Bold >>> which is the line AFTER "Lucida Grande" and actually line 367!? >>> What am I overlooking? >>> Thanks for any hints! > > I suspect the fact it works in the non-fixedline height case is serendipity in this specific case - if line height isn't fixed then each line will have a different height based on the fonts (although most will be the same if the fontSize is the same)... > LineOffset is 1-based - so the first line has scroll 0ish (ish because of field margins etc.) - that's probably the issue with your existing code. > There's an easier way I think though which should be independent of any field styling (size, font, wrapping)... > You can get the formattedTop of a line - which gives you the card-relative y co-ordinate of the top of the including the fields top and scroll. So this should do the trick: > set the scroll of field "fonts" to the scroll of field "fonts" + \ > the formattedTop of line tLine of field "fonts" - \ > the top of field "fonts" > The adjustment is necessary because the scroll value is relative to the top-left of the 'content' of the field. > > Hope this helps! > > Mark. thank you very much! But even with this new script LC scrolls to and selects -> Lucida Grande only if "fixedlineheight" is UNchecked!? Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From benr_mc at cogapp.com Thu Jul 9 07:31:58 2020 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 9 Jul 2020 12:31:58 +0100 Subject: OAuth2 invalid_grant: Malformed auth code (Google Sheets API) Message-ID: <90a97724-8153-0193-84b6-82888deff9ca@cogapp.com> I had code that did stuff with Google sheets, it worked fine, I haven't used it for about nine (?) months. Now it doesn't work. To cut a long story short, I've started all over again on a clean base. Created a new Client ID at https://console.developers.google.com/apis/api/sheets.googleapis.com/credentials Make the call to Oauth2, with all the parameters from the Google creds, get a suitable authorisation screen, all seems to go OK. But the result (i.e. 'it') is set to the array: error: invalid_grant error_description: Malformed auth code. OAuth2 is working for me with other services - e.g. Slack. client_id and client_secret contain only a-z, 0-9, full stop and hyphen - nothing that might want to be encoded. Redirect ID is registered both with and without a slash, because I've been caught that way before. (My old code had an API Key, but the OAuth2 command doesn't take this as a param, so I don't think that's relevant at this point.) Is anyone currently using the Google APIs successfully? Has anyone been through this before? Any help gratefully received, Ben From klaus at major-k.de Thu Jul 9 07:34:08 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 9 Jul 2020 13:34:08 +0200 Subject: fixed textheight affects scrolling? In-Reply-To: References: <8AD8A379-D4FD-4D1F-9416-D4F1ABF080F5@major-k.de> Message-ID: Hi all, > Am 09.07.2020 um 11:40 schrieb Klaus major-k via use-livecode : > > Hi Mark, > ... >>>> Hi friends, >>>> strange phenomenon, maybe I am missing something!? >>>> LC 9.6 on macOS 10.14.6 >>>> I have two fields with all available fonts and each line is formatted directly >>>> in the appropriate font it reads. >>>> I set the FixedLineHeight for ONE field to 28, doesn't matter actually. >>>> Now I want to select a specific line in the fields with this script: >>>> ------------------------------- >>>> on mouseUp pMouseButton >>>> set the wholematches to TRUE >>>> put lineoffset("Lucida Grande",fld "fonts") into tLine >>>> ## Which is 366 in my fields! >>>> put the effective textheight of fld "fonts" into tTH >>>> set the scroll of fld "fonts" to tLine*tTH + the height of fld "fonts" >>>> set the hilitedlines of fld "fonts" to tLine >>>> end mouseUp >>>> ------------------------------- >>>> Works fine for the field WITHOUT fixedlineheigt and selects the line -> Lucida Grande >>>> However the same script used with the field WITH fixedlineheight, it selects -> Lucida Grande Bold >>>> which is the line AFTER "Lucida Grande" and actually line 367!? >>>> What am I overlooking? >>>> Thanks for any hints! >> >> I suspect the fact it works in the non-fixedline height case is serendipity in this specific case - if line height isn't fixed then each line will have a different height based on the fonts (although most will be the same if the fontSize is the same)... >> LineOffset is 1-based - so the first line has scroll 0ish (ish because of field margins etc.) - that's probably the issue with your existing code. >> There's an easier way I think though which should be independent of any field styling (size, font, wrapping)... >> You can get the formattedTop of a line - which gives you the card-relative y co-ordinate of the top of the including the fields top and scroll. So this should do the trick: >> set the scroll of field "fonts" to the scroll of field "fonts" + \ >> the formattedTop of line tLine of field "fonts" - \ >> the top of field "fonts" >> The adjustment is necessary because the scroll value is relative to the top-left of the 'content' of the field. >> >> Hope this helps! >> >> Mark. > > thank you very much! > But even with this new script LC scrolls to and selects -> Lucida Grande only if "fixedlineheight" is UNchecked!? further observation: I removed the formatting of the "fonts" field, set all lines to "Arial" and now everything (my original script and Marks script) works as advertized even WITH "fixedlineheight" checked!? So I think these many different fonts in a field are somehow "puzzling "LC (and me :-). Or maybe not, I have no idea... Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From brian at milby7.com Thu Jul 9 08:29:05 2020 From: brian at milby7.com (Brian Milby) Date: Thu, 9 Jul 2020 08:29:05 -0400 Subject: OAuth2 invalid_grant: Malformed auth code (Google Sheets API) In-Reply-To: <90a97724-8153-0193-84b6-82888deff9ca@cogapp.com> References: <90a97724-8153-0193-84b6-82888deff9ca@cogapp.com> Message-ID: <93DAE41A-3304-4395-A24A-7FD2A5EF48F8@milby7.com> Check out bug 22557 / PR 7381. Line 247 of oath2.livecodescript need urlEncode removed Sent from my iPad > On Jul 9, 2020, at 7:33 AM, Ben Rubinstein via use-livecode wrote: > > ?I had code that did stuff with Google sheets, it worked fine, I haven't used it for about nine (?) months. Now it doesn't work. > > To cut a long story short, I've started all over again on a clean base. > > Created a new Client ID at > https://console.developers.google.com/apis/api/sheets.googleapis.com/credentials > > Make the call to Oauth2, with all the parameters from the Google creds, get a suitable authorisation screen, all seems to go OK. But the result (i.e. 'it') is set to the array: > error: invalid_grant > error_description: Malformed auth code. > > OAuth2 is working for me with other services - e.g. Slack. > > client_id and client_secret contain only a-z, 0-9, full stop and hyphen - nothing that might want to be encoded. > > Redirect ID is registered both with and without a slash, because I've been caught that way before. > > (My old code had an API Key, but the OAuth2 command doesn't take this as a param, so I don't think that's relevant at this point.) > > Is anyone currently using the Google APIs successfully? Has anyone been through this before? > > Any help gratefully received, > > Ben > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Thu Jul 9 09:14:46 2020 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 9 Jul 2020 14:14:46 +0100 Subject: OAuth2 invalid_grant: Malformed auth code (Google Sheets API) In-Reply-To: <93DAE41A-3304-4395-A24A-7FD2A5EF48F8@milby7.com> References: <90a97724-8153-0193-84b6-82888deff9ca@cogapp.com> <93DAE41A-3304-4395-A24A-7FD2A5EF48F8@milby7.com> Message-ID: <56fc99a9-0952-62e4-c092-df4d437fe838@cogapp.com> Thanks Brian! I've patched my copy for now. What a PITA. Ben On 09/07/2020 13:29, Brian Milby via use-livecode wrote: > Check out bug 22557 / PR 7381. > > Line 247 of oath2.livecodescript need urlEncode removed > > Sent from my iPad > >> On Jul 9, 2020, at 7:33 AM, Ben Rubinstein via use-livecode wrote: >> >> ?I had code that did stuff with Google sheets, it worked fine, I haven't used it for about nine (?) months. Now it doesn't work. >> >> To cut a long story short, I've started all over again on a clean base. >> >> Created a new Client ID at >> https://console.developers.google.com/apis/api/sheets.googleapis.com/credentials >> >> Make the call to Oauth2, with all the parameters from the Google creds, get a suitable authorisation screen, all seems to go OK. But the result (i.e. 'it') is set to the array: >> error: invalid_grant >> error_description: Malformed auth code. >> >> OAuth2 is working for me with other services - e.g. Slack. >> >> client_id and client_secret contain only a-z, 0-9, full stop and hyphen - nothing that might want to be encoded. >> >> Redirect ID is registered both with and without a slash, because I've been caught that way before. >> >> (My old code had an API Key, but the OAuth2 command doesn't take this as a param, so I don't think that's relevant at this point.) >> >> Is anyone currently using the Google APIs successfully? Has anyone been through this before? >> >> Any help gratefully received, >> >> Ben >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david.bovill at gmail.com Thu Jul 9 18:18:10 2020 From: david.bovill at gmail.com (David Bovill) Date: Thu, 9 Jul 2020 23:18:10 +0100 Subject: OAuth2 invalid_grant: Malformed auth code (Google Sheets API) In-Reply-To: <56fc99a9-0952-62e4-c092-df4d437fe838@cogapp.com> References: <90a97724-8153-0193-84b6-82888deff9ca@cogapp.com> <93DAE41A-3304-4395-A24A-7FD2A5EF48F8@milby7.com> <56fc99a9-0952-62e4-c092-df4d437fe838@cogapp.com> Message-ID: Ah - makes sense. Thanks for spotting that Brian. On 9 Jul 2020, 14:15 +0100, Ben Rubinstein via use-livecode , wrote: > Thanks Brian! > > I've patched my copy for now. What a PITA. > > Ben > > On 09/07/2020 13:29, Brian Milby via use-livecode wrote: > > Check out bug 22557 / PR 7381. > > > > Line 247 of oath2.livecodescript need urlEncode removed > > > > Sent from my iPad > > > > > On Jul 9, 2020, at 7:33 AM, Ben Rubinstein via use-livecode wrote: > > > > > > I had code that did stuff with Google sheets, it worked fine, I haven't used it for about nine (?) months. Now it doesn't work. > > > > > > To cut a long story short, I've started all over again on a clean base. > > > > > > Created a new Client ID at > > > https://console.developers.google.com/apis/api/sheets.googleapis.com/credentials > > > > > > Make the call to Oauth2, with all the parameters from the Google creds, get a suitable authorisation screen, all seems to go OK. But the result (i.e. 'it') is set to the array: > > > error: invalid_grant > > > error_description: Malformed auth code. > > > > > > OAuth2 is working for me with other services - e.g. Slack. > > > > > > client_id and client_secret contain only a-z, 0-9, full stop and hyphen - nothing that might want to be encoded. > > > > > > Redirect ID is registered both with and without a slash, because I've been caught that way before. > > > > > > (My old code had an API Key, but the OAuth2 command doesn't take this as a param, so I don't think that's relevant at this point.) > > > > > > Is anyone currently using the Google APIs successfully? Has anyone been through this before? > > > > > > Any help gratefully received, > > > > > > Ben > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Thu Jul 9 22:03:04 2020 From: brian at milby7.com (Brian Milby) Date: Thu, 9 Jul 2020 22:03:04 -0400 Subject: OAuth2 invalid_grant: Malformed auth code (Google Sheets API) In-Reply-To: References: Message-ID: <89E624DE-7C8E-4C96-A661-584BCCB333BF@milby7.com> I can?t take all the credit. I just found the bug report (with a solution listed) and submitted the PR. Ran into the same issue trying to use the Google Calendar API. Sent from my iPhone > On Jul 9, 2020, at 6:19 PM, David Bovill via use-livecode wrote: > > ?Ah - makes sense. Thanks for spotting that Brian. >> On 9 Jul 2020, 14:15 +0100, Ben Rubinstein via use-livecode , wrote: >> Thanks Brian! >> >> I've patched my copy for now. What a PITA. >> >> Ben >> >>> On 09/07/2020 13:29, Brian Milby via use-livecode wrote: >>> Check out bug 22557 / PR 7381. >>> >>> Line 247 of oath2.livecodescript need urlEncode removed >>> >>> Sent from my iPad >>> >>>> On Jul 9, 2020, at 7:33 AM, Ben Rubinstein via use-livecode wrote: >>>> >>>> I had code that did stuff with Google sheets, it worked fine, I haven't used it for about nine (?) months. Now it doesn't work. >>>> >>>> To cut a long story short, I've started all over again on a clean base. >>>> >>>> Created a new Client ID at >>>> https://console.developers.google.com/apis/api/sheets.googleapis.com/credentials >>>> >>>> Make the call to Oauth2, with all the parameters from the Google creds, get a suitable authorisation screen, all seems to go OK. But the result (i.e. 'it') is set to the array: >>>> error: invalid_grant >>>> error_description: Malformed auth code. >>>> >>>> OAuth2 is working for me with other services - e.g. Slack. >>>> >>>> client_id and client_secret contain only a-z, 0-9, full stop and hyphen - nothing that might want to be encoded. >>>> >>>> Redirect ID is registered both with and without a slash, because I've been caught that way before. >>>> >>>> (My old code had an API Key, but the OAuth2 command doesn't take this as a param, so I don't think that's relevant at this point.) >>>> >>>> Is anyone currently using the Google APIs successfully? Has anyone been through this before? >>>> >>>> Any help gratefully received, >>>> >>>> Ben >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Fri Jul 10 06:14:37 2020 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 10 Jul 2020 11:14:37 +0100 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: References: <31817468-8372-4A0E-9AA5-77A8BD745609@netrin.com> Message-ID: Folks, Thanks a lot for your detailed responses. Since you have all been quite awesome in giving me all these great replies and feedback, let me tell you, in probably more details than you'd ever want, where I am coming from and what I plan to do going forward. Many here know that I have graduated from a film school. Doing videos feel like going home for me and I believe in the potential of multimedia to be an effective learning tool. Still, I have always been in love with books and like many here I favour books over video any time. I was considering doing more video related content because other people I know are having a better return on video courses than on books. Of course this depends on the community and here books appear to rule, which is good for me because I enjoy writing books and that is the direction I want to shift my career to anyway. I have just completed a major JavaScript book for a famous publishing house in the U.S. and am ready to go back to self-publishing and work on my own titles on my own time. The book I made about LiveCode best practices and code organisation was well received and even though I have issued some updates, I haven't updated as often as I wanted to. The reason behind not updating often is because of some of the worst aspects of capitalism: updating the book didn't really add to the sales figures and I live in a very expensive city (I live in London now). Every time I updated the book there would be some extra sales, but not as many as to justify working on it. The alternative would be to raise the prices so that each sale would be more valuable to me but I'm against it because I think the price should reflect the value of the object being sold. That book has been done without an editor and in a hurry, I can't charge as much for it as I'd charge for a book that involved more professionals and more care. I think the price for that specific book is right. So, going forward I think I am going to write more books but also shorter books. There is a problem with trying to create comprehensive references or bible-like books. They are harder to do and you sell them only once. Our community is small, there is a limited amount of sales to be done inside it. What I will do is create shorter books focused on a single topic and sell them individually for a low price so that people can acquire them all without actually having to worry. This way I can produce books faster (which lowers the cost of producing them for me) and you get to have fresh content, which is something that we all know a healthy ecosystem needs. I might make some short videos, but mostly for engagement and highlighting cool stuff. Video takes longer to produce and unfortunately my current daily driver machine doesn't support any decent video editor. As for using stacks as interactive learning material, that reminds me of Director. I think it is a great idea. The problem is that I am writing about other technologies as well and I can't build a pipeline and tools to deliver stacks (even as standalones) to the other communities at the moment. I might explore that in the future but for now doing ebooks is the best way forward. It is easy, I know how to do it, and I can focus on doing content instead of building new tools. For those that haven't been exposed to my best practices book, you can find it at: http://andregarzia.com/books/livecode-advanced-application-architecture.html I have also created a Ko-fi. This is a website like Patreon that helps connect audiences with creators by allowing people to donate money as a one time donation or as a recurring donation depending on how much they want to support the creator. My plan is to engage with those supporting me on ko-fi, and let them see advanced copies of the books, help decide what the next topics to tackle and so on. Another thing I like about ko-fi is that they style the whole process as "buy me a coffee", so you're basically sending creator small donations so they can afford caffeine. Something I really need to write books. I will price the books low, so if you think about sending more money or making this more sustainable, my Ko-fi is at: https://ko-fi.com/andregarzia >From what I have been reading on the list, I think there is a need for a small book on "launchers" or as we used to call them "splash stacks". They are a fantastic way to deploy tools to the enterprise and clients, they unite the easy deployability of the web with the powerful feature set of Desktop apps. More seasoned LC developers, especially those that worked as ISV before the App Store, are probably familiar with them but this is probably a new subject to many of the people who came to LC more recently. I think this is will be the first new small book. I'm thinking about 45 pages. I hope you'll like it. Best A On Wed, 8 Jul 2020 at 20:20, William Prothero via use-livecode < use-livecode at lists.runrev.com> wrote: > FYI, I?ve found some of the MovAvi apps > to be good and very inexpensive. That said, I?m not doing a lot of video > editing these days, but found the video editing app to be easier to use > than iMovie. I used Final Cut Pro, but didn?t renew when Apple went to > 64bit only. > > Best, > Bill > > William A. Prothero > https://earthlearningsolutions.org > > > On Jul 8, 2020, at 11:13 AM, Stephen Barncard via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I prefer video, but I feel demonstrations should have some production > value > > other that just a screen share. > > Indicators, motion graphics, etc and not just a guy and his desktop. And > > EDITING!!! > > I'm a Final Cut Pro video guy these days and have ALL the groovy plugins > > so I'm not being fair I guess. > > > > iMovie is far better these days that it used to be, but strangely very > > difficult to upgrade an iMovie package to Final Cut, once one is there. > > Roadblocks everywhere. Typical Apple %$#%#%#$%#$. > > > > sqb > > -- > > Stephen Barncard - Sebastopol Ca. USA - > > mixstream.org > > > > > > On Wed, Jul 8, 2020 at 10:36 AM Jim Lambert via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Hi Andr?, > >> > >> I previously always favored printed books. > >> > >> But now I prefer digital materials that are a combination of text (with > >> copiable code!), interactive elements, and supplementary video. > >> As Richard pointed out LC itself provides "the many learning benefits of > >> direct engagement with interactive media.? > >> > >> IMO, Video is most appropriate when used to convey visual, spatial and > >> temporal examples. It?s can also provide a bit of a human touch to the > >> instruction, even though it?s utterly mechanical. > >> > >> So, yeah, I like a combo. > >> > >> Hope this helps! > >> > >> Jim Lambert > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com From marksmithhfx at gmail.com Fri Jul 10 06:39:03 2020 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 10 Jul 2020 11:39:03 +0100 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: References: <31817468-8372-4A0E-9AA5-77A8BD745609@netrin.com> Message-ID: <9906182E-4E82-457E-A3D9-E6F89160B37C@gmail.com> Thanks for the update Andre, I have the book and am looking forward to some good reads ? Mark > On Jul 10, 2020, at 11:14 AM, Andre Garzia via use-livecode wrote: > > Folks, > > Thanks a lot for your detailed responses. Since you have all been quite > awesome in giving me all these great replies and feedback, let me tell you, > in probably more details than you'd ever want, where I am coming from and > what I plan to do going forward. > > Many here know that I have graduated from a film school. Doing videos feel > like going home for me and I believe in the potential of multimedia to be > an effective learning tool. Still, I have always been in love with books > and like many here I favour books over video any time. I was considering > doing more video related content because other people I know are having a > better return on video courses than on books. Of course this depends on the > community and here books appear to rule, which is good for me because I > enjoy writing books and that is the direction I want to shift my career to > anyway. > > I have just completed a major JavaScript book for a famous publishing house > in the U.S. and am ready to go back to self-publishing and work on my own > titles on my own time. The book I made about LiveCode best practices and > code organisation was well received and even though I have issued some > updates, I haven't updated as often as I wanted to. The reason behind not > updating often is because of some of the worst aspects of capitalism: > updating the book didn't really add to the sales figures and I live in a > very expensive city (I live in London now). Every time I updated the book > there would be some extra sales, but not as many as to justify working on > it. The alternative would be to raise the prices so that each sale would be > more valuable to me but I'm against it because I think the price should > reflect the value of the object being sold. That book has been done without > an editor and in a hurry, I can't charge as much for it as I'd charge for a > book that involved more professionals and more care. I think the price for > that specific book is right. > > So, going forward I think I am going to write more books but also shorter > books. There is a problem with trying to create comprehensive references or > bible-like books. They are harder to do and you sell them only once. Our > community is small, there is a limited amount of sales to be done inside > it. What I will do is create shorter books focused on a single topic and > sell them individually for a low price so that people can acquire them all > without actually having to worry. This way I can produce books faster > (which lowers the cost of producing them for me) and you get to have fresh > content, which is something that we all know a healthy ecosystem needs. I > might make some short videos, but mostly for engagement and highlighting > cool stuff. Video takes longer to produce and unfortunately my current > daily driver machine doesn't support any decent video editor. > > As for using stacks as interactive learning material, that reminds me of > Director. I think it is a great idea. The problem is that I am writing > about other technologies as well and I can't build a pipeline and tools to > deliver stacks (even as standalones) to the other communities at the > moment. I might explore that in the future but for now doing ebooks is the > best way forward. It is easy, I know how to do it, and I can focus on doing > content instead of building new tools. > > For those that haven't been exposed to my best practices book, you can find > it at: > > http://andregarzia.com/books/livecode-advanced-application-architecture.html > > I have also created a Ko-fi. This is a website like Patreon that helps > connect audiences with creators by allowing people to donate money as a one > time donation or as a recurring donation depending on how much they want to > support the creator. My plan is to engage with those supporting me on > ko-fi, and let them see advanced copies of the books, help decide what the > next topics to tackle and so on. Another thing I like about ko-fi is that > they style the whole process as "buy me a coffee", so you're basically > sending creator small donations so they can afford caffeine. Something I > really need to write books. I will price the books low, so if you think > about sending more money or making this more sustainable, my Ko-fi is at: > > https://ko-fi.com/andregarzia > > From what I have been reading on the list, I think there is a need for a > small book on "launchers" or as we used to call them "splash stacks". They > are a fantastic way to deploy tools to the enterprise and clients, they > unite the easy deployability of the web with the powerful feature set of > Desktop apps. More seasoned LC developers, especially those that worked as > ISV before the App Store, are probably familiar with them but this is > probably a new subject to many of the people who came to LC more recently. > I think this is will be the first new small book. I'm thinking about 45 > pages. I hope you'll like it. > > Best > A > > > On Wed, 8 Jul 2020 at 20:20, William Prothero via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> FYI, I?ve found some of the MovAvi apps >> to be good and very inexpensive. That said, I?m not doing a lot of video >> editing these days, but found the video editing app to be easier to use >> than iMovie. I used Final Cut Pro, but didn?t renew when Apple went to >> 64bit only. >> >> Best, >> Bill >> >> William A. Prothero >> https://earthlearningsolutions.org >> >>> On Jul 8, 2020, at 11:13 AM, Stephen Barncard via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> I prefer video, but I feel demonstrations should have some production >> value >>> other that just a screen share. >>> Indicators, motion graphics, etc and not just a guy and his desktop. And >>> EDITING!!! >>> I'm a Final Cut Pro video guy these days and have ALL the groovy plugins >>> so I'm not being fair I guess. >>> >>> iMovie is far better these days that it used to be, but strangely very >>> difficult to upgrade an iMovie package to Final Cut, once one is there. >>> Roadblocks everywhere. Typical Apple %$#%#%#$%#$. >>> >>> sqb >>> -- >>> Stephen Barncard - Sebastopol Ca. USA - >>> mixstream.org >>> >>> >>> On Wed, Jul 8, 2020 at 10:36 AM Jim Lambert via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Hi Andr?, >>>> >>>> I previously always favored printed books. >>>> >>>> But now I prefer digital materials that are a combination of text (with >>>> copiable code!), interactive elements, and supplementary video. >>>> As Richard pointed out LC itself provides "the many learning benefits of >>>> direct engagement with interactive media.? >>>> >>>> IMO, Video is most appropriate when used to convey visual, spatial and >>>> temporal examples. It?s can also provide a bit of a human touch to the >>>> instruction, even though it?s utterly mechanical. >>>> >>>> So, yeah, I like a combo. >>>> >>>> Hope this helps! >>>> >>>> Jim Lambert >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > http://www.andregarzia.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Fri Jul 10 09:20:20 2020 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 10 Jul 2020 14:20:20 +0100 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: <9906182E-4E82-457E-A3D9-E6F89160B37C@gmail.com> References: <31817468-8372-4A0E-9AA5-77A8BD745609@netrin.com> <9906182E-4E82-457E-A3D9-E6F89160B37C@gmail.com> Message-ID: Mark, Thanks a lot for your support my friend, I really appreciate it. :-) On Fri, 10 Jul 2020 at 11:39, Mark Smith wrote: > Thanks for the update Andre, I have the book and am looking forward to > some good reads ? > > Mark > > > On Jul 10, 2020, at 11:14 AM, Andre Garzia via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Folks, > > > > Thanks a lot for your detailed responses. Since you have all been quite > > awesome in giving me all these great replies and feedback, let me tell > you, > > in probably more details than you'd ever want, where I am coming from and > > what I plan to do going forward. > > > > Many here know that I have graduated from a film school. Doing videos > feel > > like going home for me and I believe in the potential of multimedia to be > > an effective learning tool. Still, I have always been in love with books > > and like many here I favour books over video any time. I was considering > > doing more video related content because other people I know are having a > > better return on video courses than on books. Of course this depends on > the > > community and here books appear to rule, which is good for me because I > > enjoy writing books and that is the direction I want to shift my career > to > > anyway. > > > > I have just completed a major JavaScript book for a famous publishing > house > > in the U.S. and am ready to go back to self-publishing and work on my own > > titles on my own time. The book I made about LiveCode best practices and > > code organisation was well received and even though I have issued some > > updates, I haven't updated as often as I wanted to. The reason behind not > > updating often is because of some of the worst aspects of capitalism: > > updating the book didn't really add to the sales figures and I live in a > > very expensive city (I live in London now). Every time I updated the book > > there would be some extra sales, but not as many as to justify working on > > it. The alternative would be to raise the prices so that each sale would > be > > more valuable to me but I'm against it because I think the price should > > reflect the value of the object being sold. That book has been done > without > > an editor and in a hurry, I can't charge as much for it as I'd charge > for a > > book that involved more professionals and more care. I think the price > for > > that specific book is right. > > > > So, going forward I think I am going to write more books but also shorter > > books. There is a problem with trying to create comprehensive references > or > > bible-like books. They are harder to do and you sell them only once. Our > > community is small, there is a limited amount of sales to be done inside > > it. What I will do is create shorter books focused on a single topic and > > sell them individually for a low price so that people can acquire them > all > > without actually having to worry. This way I can produce books faster > > (which lowers the cost of producing them for me) and you get to have > fresh > > content, which is something that we all know a healthy ecosystem needs. I > > might make some short videos, but mostly for engagement and highlighting > > cool stuff. Video takes longer to produce and unfortunately my current > > daily driver machine doesn't support any decent video editor. > > > > As for using stacks as interactive learning material, that reminds me of > > Director. I think it is a great idea. The problem is that I am writing > > about other technologies as well and I can't build a pipeline and tools > to > > deliver stacks (even as standalones) to the other communities at the > > moment. I might explore that in the future but for now doing ebooks is > the > > best way forward. It is easy, I know how to do it, and I can focus on > doing > > content instead of building new tools. > > > > For those that haven't been exposed to my best practices book, you can > find > > it at: > > > > > http://andregarzia.com/books/livecode-advanced-application-architecture.html > > > > I have also created a Ko-fi. This is a website like Patreon that helps > > connect audiences with creators by allowing people to donate money as a > one > > time donation or as a recurring donation depending on how much they want > to > > support the creator. My plan is to engage with those supporting me on > > ko-fi, and let them see advanced copies of the books, help decide what > the > > next topics to tackle and so on. Another thing I like about ko-fi is that > > they style the whole process as "buy me a coffee", so you're basically > > sending creator small donations so they can afford caffeine. Something I > > really need to write books. I will price the books low, so if you think > > about sending more money or making this more sustainable, my Ko-fi is at: > > > > https://ko-fi.com/andregarzia > > > > From what I have been reading on the list, I think there is a need for a > > small book on "launchers" or as we used to call them "splash stacks". > They > > are a fantastic way to deploy tools to the enterprise and clients, they > > unite the easy deployability of the web with the powerful feature set of > > Desktop apps. More seasoned LC developers, especially those that worked > as > > ISV before the App Store, are probably familiar with them but this is > > probably a new subject to many of the people who came to LC more > recently. > > I think this is will be the first new small book. I'm thinking about 45 > > pages. I hope you'll like it. > > > > Best > > A > > > > > > On Wed, 8 Jul 2020 at 20:20, William Prothero via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> FYI, I?ve found some of the MovAvi > apps > >> to be good and very inexpensive. That said, I?m not doing a lot of video > >> editing these days, but found the video editing app to be easier to use > >> than iMovie. I used Final Cut Pro, but didn?t renew when Apple went to > >> 64bit only. > >> > >> Best, > >> Bill > >> > >> William A. Prothero > >> https://earthlearningsolutions.org > >> > >>> On Jul 8, 2020, at 11:13 AM, Stephen Barncard via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>> > >>> I prefer video, but I feel demonstrations should have some production > >> value > >>> other that just a screen share. > >>> Indicators, motion graphics, etc and not just a guy and his desktop. > And > >>> EDITING!!! > >>> I'm a Final Cut Pro video guy these days and have ALL the groovy > plugins > >>> so I'm not being fair I guess. > >>> > >>> iMovie is far better these days that it used to be, but strangely very > >>> difficult to upgrade an iMovie package to Final Cut, once one is there. > >>> Roadblocks everywhere. Typical Apple %$#%#%#$%#$. > >>> > >>> sqb > >>> -- > >>> Stephen Barncard - Sebastopol Ca. USA - > >>> mixstream.org > >>> > >>> > >>> On Wed, Jul 8, 2020 at 10:36 AM Jim Lambert via use-livecode < > >>> use-livecode at lists.runrev.com> wrote: > >>> > >>>> Hi Andr?, > >>>> > >>>> I previously always favored printed books. > >>>> > >>>> But now I prefer digital materials that are a combination of text > (with > >>>> copiable code!), interactive elements, and supplementary video. > >>>> As Richard pointed out LC itself provides "the many learning benefits > of > >>>> direct engagement with interactive media.? > >>>> > >>>> IMO, Video is most appropriate when used to convey visual, spatial and > >>>> temporal examples. It?s can also provide a bit of a human touch to the > >>>> instruction, even though it?s utterly mechanical. > >>>> > >>>> So, yeah, I like a combo. > >>>> > >>>> Hope this helps! > >>>> > >>>> Jim Lambert > >>>> > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > -- > > http://www.andregarzia.com > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- http://www.andregarzia.com From prothero at earthlearningsolutions.org Fri Jul 10 10:58:07 2020 From: prothero at earthlearningsolutions.org (Prothero@earthlearning) Date: Fri, 10 Jul 2020 07:58:07 -0700 Subject: [off-topic-ish] do you prefer LC-related content as books or video courses? In-Reply-To: References: Message-ID: Andre, This hits my ?sweet spot?. Excellent plan! I?m looking forward to your products. Best, Bill William Prothero http://es.earthednet.org > On Jul 10, 2020, at 3:15 AM, Andre Garzia via use-livecode wrote: > > ?Folks, > > Thanks a lot for your detailed responses. Since you have all been quite > awesome in giving me all these great replies and feedback, let me tell you, > in probably more details than you'd ever want, where I am coming from and > what I plan to do going forward. > > Many here know that I have graduated from a film school. Doing videos feel > like going home for me and I believe in the potential of multimedia to be > an effective learning tool. Still, I have always been in love with books > and like many here I favour books over video any time. I was considering > doing more video related content because other people I know are having a > better return on video courses than on books. Of course this depends on the > community and here books appear to rule, which is good for me because I > enjoy writing books and that is the direction I want to shift my career to > anyway. > > I have just completed a major JavaScript book for a famous publishing house > in the U.S. and am ready to go back to self-publishing and work on my own > titles on my own time. The book I made about LiveCode best practices and > code organisation was well received and even though I have issued some > updates, I haven't updated as often as I wanted to. The reason behind not > updating often is because of some of the worst aspects of capitalism: > updating the book didn't really add to the sales figures and I live in a > very expensive city (I live in London now). Every time I updated the book > there would be some extra sales, but not as many as to justify working on > it. The alternative would be to raise the prices so that each sale would be > more valuable to me but I'm against it because I think the price should > reflect the value of the object being sold. That book has been done without > an editor and in a hurry, I can't charge as much for it as I'd charge for a > book that involved more professionals and more care. I think the price for > that specific book is right. > > So, going forward I think I am going to write more books but also shorter > books. There is a problem with trying to create comprehensive references or > bible-like books. They are harder to do and you sell them only once. Our > community is small, there is a limited amount of sales to be done inside > it. What I will do is create shorter books focused on a single topic and > sell them individually for a low price so that people can acquire them all > without actually having to worry. This way I can produce books faster > (which lowers the cost of producing them for me) and you get to have fresh > content, which is something that we all know a healthy ecosystem needs. I > might make some short videos, but mostly for engagement and highlighting > cool stuff. Video takes longer to produce and unfortunately my current > daily driver machine doesn't support any decent video editor. > > As for using stacks as interactive learning material, that reminds me of > Director. I think it is a great idea. The problem is that I am writing > about other technologies as well and I can't build a pipeline and tools to > deliver stacks (even as standalones) to the other communities at the > moment. I might explore that in the future but for now doing ebooks is the > best way forward. It is easy, I know how to do it, and I can focus on doing > content instead of building new tools. > > For those that haven't been exposed to my best practices book, you can find > it at: > > http://andregarzia.com/books/livecode-advanced-application-architecture.html > > I have also created a Ko-fi. This is a website like Patreon that helps > connect audiences with creators by allowing people to donate money as a one > time donation or as a recurring donation depending on how much they want to > support the creator. My plan is to engage with those supporting me on > ko-fi, and let them see advanced copies of the books, help decide what the > next topics to tackle and so on. Another thing I like about ko-fi is that > they style the whole process as "buy me a coffee", so you're basically > sending creator small donations so they can afford caffeine. Something I > really need to write books. I will price the books low, so if you think > about sending more money or making this more sustainable, my Ko-fi is at: > > https://ko-fi.com/andregarzia > > From what I have been reading on the list, I think there is a need for a > small book on "launchers" or as we used to call them "splash stacks". They > are a fantastic way to deploy tools to the enterprise and clients, they > unite the easy deployability of the web with the powerful feature set of > Desktop apps. More seasoned LC developers, especially those that worked as > ISV before the App Store, are probably familiar with them but this is > probably a new subject to many of the people who came to LC more recently. > I think this is will be the first new small book. I'm thinking about 45 > pages. I hope you'll like it. > > Best > A > > >> On Wed, 8 Jul 2020 at 20:20, William Prothero via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> FYI, I?ve found some of the MovAvi apps >> to be good and very inexpensive. That said, I?m not doing a lot of video >> editing these days, but found the video editing app to be easier to use >> than iMovie. I used Final Cut Pro, but didn?t renew when Apple went to >> 64bit only. >> >> Best, >> Bill >> >> William A. Prothero >> https://earthlearningsolutions.org >> >>> On Jul 8, 2020, at 11:13 AM, Stephen Barncard via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> I prefer video, but I feel demonstrations should have some production >> value >>> other that just a screen share. >>> Indicators, motion graphics, etc and not just a guy and his desktop. And >>> EDITING!!! >>> I'm a Final Cut Pro video guy these days and have ALL the groovy plugins >>> so I'm not being fair I guess. >>> >>> iMovie is far better these days that it used to be, but strangely very >>> difficult to upgrade an iMovie package to Final Cut, once one is there. >>> Roadblocks everywhere. Typical Apple %$#%#%#$%#$. >>> >>> sqb >>> -- >>> Stephen Barncard - Sebastopol Ca. USA - >>> mixstream.org >>> >>> >>> On Wed, Jul 8, 2020 at 10:36 AM Jim Lambert via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Hi Andr?, >>>> >>>> I previously always favored printed books. >>>> >>>> But now I prefer digital materials that are a combination of text (with >>>> copiable code!), interactive elements, and supplementary video. >>>> As Richard pointed out LC itself provides "the many learning benefits of >>>> direct engagement with interactive media.? >>>> >>>> IMO, Video is most appropriate when used to convey visual, spatial and >>>> temporal examples. It?s can also provide a bit of a human touch to the >>>> instruction, even though it?s utterly mechanical. >>>> >>>> So, yeah, I like a combo. >>>> >>>> Hope this helps! >>>> >>>> Jim Lambert >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > http://www.andregarzia.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Jul 10 15:02:43 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 10 Jul 2020 19:02:43 +0000 Subject: drag drop on a tab field Message-ID: <51820ADB-1304-4D41-8380-9E23E3008E70@iotecdigital.com> If I drag drop on a tab field TAB, is there a way to tell which tab I dropped on? Probably not but it?s worth a shot. Bob S From curry at pair.com Fri Jul 10 15:30:24 2020 From: curry at pair.com (Curry Kenworthy) Date: Fri, 10 Jul 2020 15:30:24 -0400 Subject: fixed textheight affects scrolling? In-Reply-To: <8AD8A379-D4FD-4D1F-9416-D4F1ABF080F5@major-k.de> References: <8AD8A379-D4FD-4D1F-9416-D4F1ABF080F5@major-k.de> Message-ID: <031bd839-938d-5717-3412-4f92130dbaef@pair.com> Klaus: > set the scroll of fld "fonts" to tLine*tTH + the height of fld "fonts" > set the hilitedlines of fld "fonts" to tLine The test is invalid; the 2nd quoted line overrides the 1st. Therefore you don't see the results of your scrolling code. To debug your scroll calc, first comment out the set hilitedlines. Easy testing: use an ask, input either line # or font name. (To test hilite, either forget about scroll calc, or do it AFTER.) Watch out about adding versus subtracting field height. Why add? No more mysteries. Or at least fewer. :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From curry at pair.com Fri Jul 10 15:35:48 2020 From: curry at pair.com (Curry Kenworthy) Date: Fri, 10 Jul 2020 15:35:48 -0400 Subject: drag drop on a tab field In-Reply-To: <51820ADB-1304-4D41-8380-9E23E3008E70@iotecdigital.com> References: <51820ADB-1304-4D41-8380-9E23E3008E70@iotecdigital.com> Message-ID: <2f56522d-11e6-55d5-f2e7-817e471823c8@pair.com> Bob: > If I drag drop on a tab field TAB, is there a way to tell which > tab I dropped on? Probably not but it?s worth a shot. Probably so... ... if we can define "tab field" and "tab field TAB"? (I think I know what you're aiming for, but I'd rather be sure.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From klaus at major-k.de Fri Jul 10 15:47:16 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 10 Jul 2020 21:47:16 +0200 Subject: fixed textheight affects scrolling? In-Reply-To: <031bd839-938d-5717-3412-4f92130dbaef@pair.com> References: <8AD8A379-D4FD-4D1F-9416-D4F1ABF080F5@major-k.de> <031bd839-938d-5717-3412-4f92130dbaef@pair.com> Message-ID: <8A1841E0-6895-4E6C-826B-783CBEB68A97@major-k.de> Hi Curry, > Am 10.07.2020 um 21:30 schrieb Curry Kenworthy via use-livecode : > > Klaus: > >> set the scroll of fld "fonts" to tLine*tTH + the height of fld "fonts" >> set the hilitedlines of fld "fonts" to tLine > > The test is invalid; the 2nd quoted line overrides the 1st. oh, I really had no idea that setting the hilitedline will also scroll that line into view!? 8-) That makes my custom scrolling stuff completely obsolete. > Therefore you don't see the results of your scrolling code. > To debug your scroll calc, first comment out the set hilitedlines. > Easy testing: use an ask, input either line # or font name. > (To test hilite, either forget about scroll calc, or do it AFTER.) > Watch out about adding versus subtracting field height. > Why add? See above, no scolling neccessary anymore! > No more mysteries. Or at least fewer. :) > > Best wishes, > > Curry Kenworthy Best Klaus P.S. I know you may still find me impertinent by asking this after more than seven years, but any news about "FieldTrip"? This is not funny anymore. I turned 64 last month and I would really like to get something for my money before I die! -- Klaus Major https://www.major-k.de klaus at major-k.de From ahsoftware at sonic.net Fri Jul 10 16:02:43 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 10 Jul 2020 13:02:43 -0700 Subject: What's Going On In The IDE In-Reply-To: References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> <004301d6515d$400005c0$c0001140$@net> Message-ID: <44c50b59-b3f6-5e13-a39f-9dc0973f67d5@sonic.net> On 7/6/20 9:22 AM, Mark Wieder wrote: > On 7/3/20 10:13 AM, Ralph DiMola via use-livecode wrote: > > > This card renders sub second but is unresponsive for an additional 14 > seconds. What's going on here? The IDE stacks totals out to 13 seconds. Not quite the same symptoms but similar: I just experienced a hang in the SE. Narrowed it down to a repeat loop in the behavior script. I'll submit a PR for this, but in the meantime, at line 2060 in handler autoCompleteIFsAreBalanced repeat put offset(tBeginAsterix, pScript) into tCharBegin if tCharBegin is 0 then exit repeat put offset(tEndAsterix, pScript) into tCharEnd delete char tCharBegin to tCharEnd of pScript end repeat change that to repeat put offset(tBeginAsterix, pScript) into tCharBegin if tCharBegin is 0 then exit repeat put offset(tEndAsterix, pScript) into tCharEnd if tCharEnd is 0 then exit repeat -- stay out of trouble end if delete char tCharBegin to tCharEnd of pScript end repeat -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Fri Jul 10 17:23:47 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 10 Jul 2020 14:23:47 -0700 Subject: What's Going On In The IDE In-Reply-To: <44c50b59-b3f6-5e13-a39f-9dc0973f67d5@sonic.net> References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> <004301d6515d$400005c0$c0001140$@net> <44c50b59-b3f6-5e13-a39f-9dc0973f67d5@sonic.net> Message-ID: <559bacc9-5eae-11ba-ab94-c1851a3fcde5@sonic.net> Done. https://quality.livecode.com/show_bug.cgi?id=22826 https://github.com/livecode/livecode-ide/pull/2137 -- Mark Wieder ahsoftware at gmail.com From curry at pair.com Fri Jul 10 18:04:34 2020 From: curry at pair.com (Curry Kenworthy) Date: Fri, 10 Jul 2020 18:04:34 -0400 Subject: fixed textheight affects scrolling? In-Reply-To: <8A1841E0-6895-4E6C-826B-783CBEB68A97@major-k.de> References: <8A1841E0-6895-4E6C-826B-783CBEB68A97@major-k.de> Message-ID: <827ca2a3-9f83-e931-2518-ea61b7b21da1@pair.com> Klaus: > oh, I really had no idea that setting the hilitedline will also > scroll that line into view!? 8-) > That makes my custom scrolling stuff completely obsolete. Yep, LC does auto-scroll when you set hilitedline! Very handy. I would say "redundant" in this case, rather than obsolete. There is still value in being able to scroll a field with similar calculations. For example, someone might want to have the hilited line in the vertical center of the field, or always at the top when possible. Just a matter of getting the calcs right. Not very difficult. But it does require a valid test, or valid setup, without conflating the two actions. > any news about "FieldTrip"? This is not funny anymore. > I turned 64 last month and I would really like to get > something for my money before I die! Klaus, let me say that your "National Socialist" approach to harassing me, every single chance you get, is also not funny anymore! Nor is giving people the FALSE and fake impression that you did not get a product for your money. I resent that slur, along with your continued harassment and mean-spirited, inaccurate disinformation campaign. It is as fundamentally flawed as your field test code. Maybe a pattern? FT was delivered. You got the LC 6 product you paid for. LC pulled out the rug shortly after; LC 7 stopped working with some existing code, and not the other way around. Technically 7 was supposed to work with the existing code, and the team was working through BC issues, but ah well. My flagship products were more fortunate (with a lot of help from myself in testing and reporting issues) but LC 7 was released before that could happen for FT. Since then, WordLib and WordReport have remained higher priorities. FT will be revived and updated; looking forward to it very much. But that will be AFTER the other flagship addons are updated. Not before. Harassment won't change that. Nor will falsehoods or bad behavior. (Hint: currently WordReport is first in line!) I cleared up your little scrolling field mystery for you, and in return, this is how you act?! Now, let's see how logical you can be, Klaus. Take a good look at the length of this message. I'm keeping it as short as possible, but obviously it still takes some time to carefully answer your careless slur. That does NOT speed up anything, including FT. But it does waste valuable time and slow things down. It's not furthering the outcome you seek. It also destroys goodwill and friendship, and it spreads falsehood. On top of that I'm handicapped and I don't have free time to waste. All bad results of these little slurs about FT and myself. I would appreciate polite inquiries, or reminders, but this is way out of line. Every time I post here, you do this. You keep calling for my attention, and you got it. So, here's what I'll do. If you keep up this "National Socialist" style of harassment, I'll just pay a little more attention to your posts and correct more of the inaccurate statements that you make about LC code and technologies. I will also refer back to this post to save time, so that my corrections are as efficient as your falsehoods. I've had to make "Klaus corrections" about other LC matters (regular LC how-to and facts/tips, not about FT) on a regular basis over the years, usually very quietly off-list! But I'll be happy to make more public corrections, more often, if needed. Or if you lay off the harassment, then as a natural result (math, time) everything will happen a little faster, including FT. The choice is yours. Thanks Klaus! Happy 64th birthday. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From dvglasgow at gmail.com Fri Jul 10 18:06:05 2020 From: dvglasgow at gmail.com (David V Glasgow) Date: Fri, 10 Jul 2020 23:06:05 +0100 Subject: sorting lines by date In-Reply-To: <559bacc9-5eae-11ba-ab94-c1851a3fcde5@sonic.net> References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> <004301d6515d$400005c0$c0001140$@net> <44c50b59-b3f6-5e13-a39f-9dc0973f67d5@sonic.net> <559bacc9-5eae-11ba-ab94-c1851a3fcde5@sonic.net> Message-ID: Livecodeistas, I am working with text files consisting of many thousands of lines, most of which are in the format URL & Tab & Date - but a few don?t have a date. So they look like this ... http://1.lw6.blah/b7f3bd9e6b4d728a0f6d5883ed3a5ce/5326d47f?ss=152 17/03/2014 9:55 http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107 http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107 http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107 http://adomain/ 27/06/2016 8:10 http://adomain/ 27/06/2016 8:10 http://adomain/ 27/06/2016 8:10 http://adomain/ 27/06/2016 8:10 http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html 17/11/2013 22:18 http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html 17/11/2013 22:18 http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html 17/11/2013 22:18 http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html 17/11/2013 22:18 http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html 17/11/2013 22:18 I assumed I could sort the lines by date using the following: set itemdel to tab sort lines of field "import" datetime by the last item of each (I know I could speed this up using a variable, but I wanted to just see the result first.) I wasn?t sure what would happen to the lines with no date, but assumed they would pile up at the beginning or the end of the field (which would be fine). However, what happens is that the script runs, and the order above is generated. I can?t see any meaningful ordering of the lines. I have a horrible feeling that dates are more complicated than I imagined, although I am sort of hoping there something simple I just haven?t grasped. If so, what? Best wishes, David Glasgow From tom at makeshyft.com Fri Jul 10 18:24:51 2020 From: tom at makeshyft.com (Tom Glod) Date: Fri, 10 Jul 2020 18:24:51 -0400 Subject: sorting lines by date In-Reply-To: References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> <004301d6515d$400005c0$c0001140$@net> <44c50b59-b3f6-5e13-a39f-9dc0973f67d5@sonic.net> <559bacc9-5eae-11ba-ab94-c1851a3fcde5@sonic.net> Message-ID: Hi David, you should be able to do this by specifying the sort-type. look up 'sort container' in the dictionary. On Fri, Jul 10, 2020 at 6:07 PM David V Glasgow via use-livecode < use-livecode at lists.runrev.com> wrote: > Livecodeistas, > > I am working with text files consisting of many thousands of lines, most > of which are in the format URL & Tab & Date - but a few don?t have a date. > > So they look like this ... > > http://1.lw6.blah/b7f3bd9e6b4d728a0f6d5883ed3a5ce/5326d47f?ss=152 > 17/03/2014 9:55 > > http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107 > > > http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107 > > > http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107 > > http://adomain/ 27/06/2016 8:10 > http://adomain/ 27/06/2016 8:10 > http://adomain/ 27/06/2016 8:10 > http://adomain/ 27/06/2016 8:10 > > http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html > 17/11/2013 22:18 > > http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html > 17/11/2013 22:18 > > http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html > 17/11/2013 22:18 > > http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html > 17/11/2013 22:18 > > http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html > 17/11/2013 22:18 > > I assumed I could sort the lines by date using the following: > > set itemdel to tab > sort lines of field "import" datetime by the last item of each > > (I know I could speed this up using a variable, but I wanted to just see > the result first.) > > I wasn?t sure what would happen to the lines with no date, but assumed > they would pile up at the beginning or the end of the field (which would be > fine). However, what happens is that the script runs, and the order above > is generated. I can?t see any meaningful ordering of the lines. > > I have a horrible feeling that dates are more complicated than I imagined, > although I am sort of hoping there something simple I just haven?t > grasped. If so, what? > > Best wishes, > > David Glasgow > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From dvglasgow at gmail.com Fri Jul 10 18:37:42 2020 From: dvglasgow at gmail.com (David V Glasgow) Date: Fri, 10 Jul 2020 23:37:42 +0100 Subject: sorting lines by date In-Reply-To: References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> <004301d6515d$400005c0$c0001140$@net> <44c50b59-b3f6-5e13-a39f-9dc0973f67d5@sonic.net> <559bacc9-5eae-11ba-ab94-c1851a3fcde5@sonic.net> Message-ID: <9CE4A662-E1E9-4BFF-B16B-09530EA89BAA@gmail.com> Hi Tom, That?s what I thought I was doing. From the dictionary? The dateTime keyword recognizes all LiveCode's date and time formats and sorts them in time order, rather than alphabetical or numeric order. Cheers, David G > On 10 Jul 2020, at 11:24 pm, Tom Glod via use-livecode wrote: > > Hi David, you should be able to do this by specifying the sort-type. look > up 'sort container' in the dictionary. From sundown at pacifier.com Fri Jul 10 19:50:41 2020 From: sundown at pacifier.com (JB) Date: Fri, 10 Jul 2020 16:50:41 -0700 Subject: sorting lines by date In-Reply-To: References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> <004301d6515d$400005c0$c0001140$@net> <44c50b59-b3f6-5e13-a39f-9dc0973f67d5@sonic.net> <559bacc9-5eae-11ba-ab94-c1851a3fcde5@sonic.net> Message-ID: If you are having problems with the date itself not being sorted properly you might be able to accomplish it by first converting the date to seconds and then sort the data. It will take more time but might work. JB > On Jul 10, 2020, at 3:06 PM, David V Glasgow via use-livecode wrote: > > Livecodeistas, > > I am working with text files consisting of many thousands of lines, most of which are in the format URL & Tab & Date - but a few don?t have a date. > > So they look like this ... > > http://1.lw6.blah/b7f3bd9e6b4d728a0f6d5883ed3a5ce/5326d47f?ss=152 17/03/2014 9:55 > http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107 > http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107 > http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107 > http://adomain/ 27/06/2016 8:10 > http://adomain/ 27/06/2016 8:10 > http://adomain/ 27/06/2016 8:10 > http://adomain/ 27/06/2016 8:10 > http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html 17/11/2013 22:18 > http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html 17/11/2013 22:18 > http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html 17/11/2013 22:18 > http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html 17/11/2013 22:18 > http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html 17/11/2013 22:18 > > I assumed I could sort the lines by date using the following: > > set itemdel to tab > sort lines of field "import" datetime by the last item of each > > (I know I could speed this up using a variable, but I wanted to just see the result first.) > > I wasn?t sure what would happen to the lines with no date, but assumed they would pile up at the beginning or the end of the field (which would be fine). However, what happens is that the script runs, and the order above is generated. I can?t see any meaningful ordering of the lines. > > I have a horrible feeling that dates are more complicated than I imagined, although I am sort of hoping there something simple I just haven?t grasped. If so, what? > > Best wishes, > > David Glasgow > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Fri Jul 10 21:30:44 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 10 Jul 2020 21:30:44 -0400 Subject: What's Going On In The IDE In-Reply-To: <44c50b59-b3f6-5e13-a39f-9dc0973f67d5@sonic.net> References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> <004301d6515d$400005c0$c0001140$@net> <44c50b59-b3f6-5e13-a39f-9dc0973f67d5@sonic.net> Message-ID: <00b401d65722$e91ec220$bb5c4660$@net> Thanks Mark. It did not help me though. How can you break a loop the IDE? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Wieder via use-livecode Sent: Friday, July 10, 2020 4:03 PM To: Ralph DiMola via use-livecode Cc: Mark Wieder Subject: Re: What's Going On In The IDE On 7/6/20 9:22 AM, Mark Wieder wrote: > On 7/3/20 10:13 AM, Ralph DiMola via use-livecode wrote: > > > This card renders sub second but is unresponsive for an additional 14 > seconds. What's going on here? The IDE stacks totals out to 13 seconds. Not quite the same symptoms but similar: I just experienced a hang in the SE. Narrowed it down to a repeat loop in the behavior script. I'll submit a PR for this, but in the meantime, at line 2060 in handler autoCompleteIFsAreBalanced repeat put offset(tBeginAsterix, pScript) into tCharBegin if tCharBegin is 0 then exit repeat put offset(tEndAsterix, pScript) into tCharEnd delete char tCharBegin to tCharEnd of pScript end repeat change that to repeat put offset(tBeginAsterix, pScript) into tCharBegin if tCharBegin is 0 then exit repeat put offset(tEndAsterix, pScript) into tCharEnd if tCharEnd is 0 then exit repeat -- stay out of trouble end if delete char tCharBegin to tCharEnd of pScript end repeat -- Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Sat Jul 11 00:02:40 2020 From: tom at makeshyft.com (Tom Glod) Date: Sat, 11 Jul 2020 00:02:40 -0400 Subject: sorting lines by date In-Reply-To: References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> <004301d6515d$400005c0$c0001140$@net> <44c50b59-b3f6-5e13-a39f-9dc0973f67d5@sonic.net> <559bacc9-5eae-11ba-ab94-c1851a3fcde5@sonic.net> Message-ID: Yeah it will add some overhead, but it will work to do what you need. I'm sorry I'm not fluent in the syntax of sort ..... but I knew you can specify a date I never needed to use it.... I always store the seconds or milliseconds. Yup.....Might as well convert to seconds and then sort numeric ascending or descending. Its very fast in my experience. All the best. Tom On Fri, Jul 10, 2020 at 7:55 PM JB via use-livecode < use-livecode at lists.runrev.com> wrote: > If you are having problems with the date itself not being > sorted properly you might be able to accomplish it by > first converting the date to seconds and then sort the > data. It will take more time but might work. > > JB > > > > On Jul 10, 2020, at 3:06 PM, David V Glasgow via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Livecodeistas, > > > > I am working with text files consisting of many thousands of lines, most > of which are in the format URL & Tab & Date - but a few don?t have a date. > > > > So they look like this ... > > > > http://1.lw6.blah/b7f3bd9e6b4d728a0f6d5883ed3a5ce/5326d47f?ss=152 > 17/03/2014 9:55 > > > http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107 > > > > http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107 > > > > http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107 > > > http://adomain/ 27/06/2016 8:10 > > http://adomain/ 27/06/2016 8:10 > > http://adomain/ 27/06/2016 8:10 > > http://adomain/ 27/06/2016 8:10 > > > http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html > 17/11/2013 22:18 > > > http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html > 17/11/2013 22:18 > > > http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html > 17/11/2013 22:18 > > > http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html > 17/11/2013 22:18 > > > http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html > 17/11/2013 22:18 > > > > I assumed I could sort the lines by date using the following: > > > > set itemdel to tab > > sort lines of field "import" datetime by the last item of each > > > > (I know I could speed this up using a variable, but I wanted to just see > the result first.) > > > > I wasn?t sure what would happen to the lines with no date, but assumed > they would pile up at the beginning or the end of the field (which would be > fine). However, what happens is that the script runs, and the order above > is generated. I can?t see any meaningful ordering of the lines. > > > > I have a horrible feeling that dates are more complicated than I > imagined, although I am sort of hoping there something simple I just > haven?t grasped. If so, what? > > > > Best wishes, > > > > David Glasgow > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From sundown at pacifier.com Sat Jul 11 00:27:24 2020 From: sundown at pacifier.com (JB) Date: Fri, 10 Jul 2020 21:27:24 -0700 Subject: sorting lines by date In-Reply-To: References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> <004301d6515d$400005c0$c0001140$@net> <44c50b59-b3f6-5e13-a39f-9dc0973f67d5@sonic.net> <559bacc9-5eae-11ba-ab94-c1851a3fcde5@sonic.net> Message-ID: <25481948-7F17-4EC5-B30F-F48E4E9BF419@pacifier.com> Another idea might be to save it as seconds and then convert it to a date when the user needs to see the date. That way you would save the time converting all the dates in each sort. JB > On Jul 10, 2020, at 9:02 PM, Tom Glod via use-livecode wrote: > > Yeah it will add some overhead, but it will work to do what you need. I'm > sorry I'm not fluent in the syntax of sort ..... but I knew you can specify > a date I never needed to use it.... I always store the seconds or > milliseconds. > > Yup.....Might as well convert to seconds and then sort numeric ascending or > descending. Its very fast in my experience. > > All the best. > > Tom > > On Fri, Jul 10, 2020 at 7:55 PM JB via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> If you are having problems with the date itself not being >> sorted properly you might be able to accomplish it by >> first converting the date to seconds and then sort the >> data. It will take more time but might work. >> >> JB >> >> >>> On Jul 10, 2020, at 3:06 PM, David V Glasgow via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Livecodeistas, >>> >>> I am working with text files consisting of many thousands of lines, most >> of which are in the format URL & Tab & Date - but a few don?t have a date. >>> >>> So they look like this ... >>> >>> http://1.lw6.blah/b7f3bd9e6b4d728a0f6d5883ed3a5ce/5326d47f?ss=152 >> 17/03/2014 9:55 >>> >> http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107 >> >>> >> http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107 >> >>> >> http://1.lw6.zdomain/storage/1/x/xk/xkwEp/encoded.mp4/7aecf5e57e34c5f9212f30d0ca16da5a/5326d454?ss=107 >> >>> http://adomain/ 27/06/2016 8:10 >>> http://adomain/ 27/06/2016 8:10 >>> http://adomain/ 27/06/2016 8:10 >>> http://adomain/ 27/06/2016 8:10 >>> >> http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html >> 17/11/2013 22:18 >>> >> http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html >> 17/11/2013 22:18 >>> >> http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html >> 17/11/2013 22:18 >>> >> http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html >> 17/11/2013 22:18 >>> >> http://adomain/?go=click&c=133&n=1&e=0&g=3&r=3841375&u=http%253A%252F%252Fadomain%somestuff-330835.html >> 17/11/2013 22:18 >>> >>> I assumed I could sort the lines by date using the following: >>> >>> set itemdel to tab >>> sort lines of field "import" datetime by the last item of each >>> >>> (I know I could speed this up using a variable, but I wanted to just see >> the result first.) >>> >>> I wasn?t sure what would happen to the lines with no date, but assumed >> they would pile up at the beginning or the end of the field (which would be >> fine). However, what happens is that the script runs, and the order above >> is generated. I can?t see any meaningful ordering of the lines. >>> >>> I have a horrible feeling that dates are more complicated than I >> imagined, although I am sort of hoping there something simple I just >> haven?t grasped. If so, what? >>> >>> Best wishes, >>> >>> David Glasgow >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sat Jul 11 01:18:57 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 10 Jul 2020 22:18:57 -0700 Subject: What's Going On In The IDE In-Reply-To: <00b401d65722$e91ec220$bb5c4660$@net> References: <49222750-8e76-893a-e9f5-994f9dc24748@networkdreams.net> <004301d6515d$400005c0$c0001140$@net> <44c50b59-b3f6-5e13-a39f-9dc0973f67d5@sonic.net> <00b401d65722$e91ec220$bb5c4660$@net> Message-ID: <2984dec5-176d-a3d3-57a7-93f91d7bf06b@sonic.net> On 7/10/20 6:30 PM, Ralph DiMola via use-livecode wrote: > Thanks Mark. It did not help me though. How can you break a loop the IDE? I just did the normal control-period to break in. The second time through I did it with gRevDevelopment set to true and that pinpointed where the hung loop lived. I imagine this will work with just the bare bones IDE, but it's been years since I've tried debugging anything without PowerDebug. YMMV. -- Mark Wieder ahsoftware at gmail.com From klaus at major-k.de Sat Jul 11 06:02:59 2020 From: klaus at major-k.de (Klaus major-k) Date: Sat, 11 Jul 2020 12:02:59 +0200 Subject: fixed textheight affects scrolling? In-Reply-To: <827ca2a3-9f83-e931-2518-ea61b7b21da1@pair.com> References: <8A1841E0-6895-4E6C-826B-783CBEB68A97@major-k.de> <827ca2a3-9f83-e931-2518-ea61b7b21da1@pair.com> Message-ID: <81B763A4-AFBA-4AEA-8163-71B13626566F@major-k.de> To all, sorry for this, I should have kept if off-list and I apologize, but this is my last mail in this respect! @Curry, > Am 11.07.2020 um 00:04 schrieb Curry Kenworthy via use-livecode : > > Klaus: > >... > > any news about "FieldTrip"? This is not funny anymore. > > I turned 64 last month and I would really like to get > > something for my money before I die! > Klaus, let me say that your "National Socialist" approach No idea what that may be, but it is surely not nice. I do my best, but in the end I am not a native english speaker. > to harassing me, every single chance you get, is also not funny anymore! I dared to ask about 3 (THREE) times in the last seven years, not at every single chance I got. The first time I did, you even made fun of me, also not very kind. > Nor is giving people the FALSE and fake impression that you did not get a product for your money. I got a one BETA and no update since 2013. > I resent that slur, along with your continued harassment and mean-spirited, inaccurate disinformation campaign. It is as fundamentally flawed as your field test code. Maybe a pattern? Oh my, that is very close to the wind and a cheap tit-for-tat response! > FT was delivered. > You got the LC 6 product you paid for. One BETA was delivered! I bought it at a time where I did not have much money, but wanted to support everything related to LC so I am not very happy that no final version has been delivered since. I personally don't find it OK to sell software, take the customers money and deliver one beta version of that software in years. But you do. > LC pulled out the rug shortly after; LC 7 stopped working with some existing code, and not the other way around. Technically 7 was supposed to work with the existing code, and the team was working through BC issues, but ah well. My flagship products were more fortunate (with a lot of help from myself in testing and reporting issues) but LC 7 was released before that could happen for FT. Interesting, so it is LCs fault in the end. If I only had known this before! > Since then, WordLib and WordReport have remained higher priorities. FT will be revived and updated; looking forward to it very much. But that will be AFTER the other flagship addons are updated. Not before. Harassment won't change that. Nor will falsehoods or bad behavior. > (Hint: currently WordReport is first in line!) > > I cleared up your little scrolling field mystery for you, and in return, this is how you act?! Now, let's see how logical you can be, Klaus. Take a good look at the length of this message. I'm keeping it as short as possible, but obviously it still takes some time to carefully answer your careless slur. > > That does NOT speed up anything, including FT. But it does waste valuable time and slow things down. It's not furthering the outcome you seek. It also destroys goodwill and friendship, and it spreads falsehood. On top of that I'm handicapped and I don't have free time to waste. All bad results of these little slurs about FT and myself. Please, let's dial it back a notch! You don't want to make me responsible for all of your personal problems and even your handicap, do you? > I would appreciate polite inquiries, or reminders, but this is way out of line. Every time I post here, you do this. Not true, see above... > You keep calling for my attention, and you got it. > So, here's what I'll do. If you keep up this "National Socialist" style of harassment, I'll just pay a little more attention to your posts and correct more of the inaccurate statements that you make about LC code and technologies. I will also refer back to this post to save time, so that my corrections are as efficient as your falsehoods. > I've had to make "Klaus corrections" about other LC matters (regular LC how-to and facts/tips, not about FT) on a regular basis over the years, usually very quietly off-list! And another laughable, untenable and very cheap tit-for-tat response! > But I'll be happy to make more public corrections, more often, if needed. Or if you lay off the harassment, then as a natural result (math, time) everything will happen a little faster, including FT. The choice is yours. > Best wishes, > > Curry Kenworthy I find your response rather "Mimimi" and highly exaggerated in many parts and I really start to feel sorry for you. But don't worry, I will not bother you again. Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From stephen at barncard.com Sat Jul 11 10:56:03 2020 From: stephen at barncard.com (Stephen Barncard) Date: Sat, 11 Jul 2020 07:56:03 -0700 Subject: fixed textheight affects scrolling? In-Reply-To: <81B763A4-AFBA-4AEA-8163-71B13626566F@major-k.de> References: <8A1841E0-6895-4E6C-826B-783CBEB68A97@major-k.de> <827ca2a3-9f83-e931-2518-ea61b7b21da1@pair.com> <81B763A4-AFBA-4AEA-8163-71B13626566F@major-k.de> Message-ID: Girls! Time to take this spat off list, please. I don?t want to see this. Remember the admonition about politics religion and cheese? On Sat, Jul 11, 2020 at 03:03 Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > To all, > > sorry for this, I should have kept if off-list and I apologize, but this > is my last mail in this respect! > > > @Curry, > > > Am 11.07.2020 um 00:04 schrieb Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com>: > > > > Klaus: > > >... > > > any news about "FieldTrip"? This is not funny anymore. > > > I turned 64 last month and I would really like to get > > > something for my money before I die! > > Klaus, let me say that your "National Socialist" approach > > No idea what that may be, but it is surely not nice. > I do my best, but in the end I am not a native english speaker. > > > to harassing me, every single chance you get, is also not funny anymore! > > I dared to ask about 3 (THREE) times in the last seven years, not at every > single chance I got. > The first time I did, you even made fun of me, also not very kind. > > > Nor is giving people the FALSE and fake impression that you did not get > a product for your money. > > I got a one BETA and no update since 2013. > > > I resent that slur, along with your continued harassment and > mean-spirited, inaccurate disinformation campaign. It is as fundamentally > flawed as your field test code. Maybe a pattern? > > Oh my, that is very close to the wind and a cheap tit-for-tat response! > > > FT was delivered. > > > You got the LC 6 product you paid for. > > One BETA was delivered! > I bought it at a time where I did not have much money, but wanted to > support everything related to LC > so I am not very happy that no final version has been delivered since. > > I personally don't find it OK to sell software, take the customers money > and deliver one beta version of that software in years. > But you do. > > > LC pulled out the rug shortly after; LC 7 stopped working with some > existing code, and not the other way around. Technically 7 was supposed to > work with the existing code, and the team was working through BC issues, > but ah well. My flagship products were more fortunate (with a lot of help > from myself in testing and reporting issues) but LC 7 was released before > that could happen for FT. > > Interesting, so it is LCs fault in the end. > If I only had known this before! > > > Since then, WordLib and WordReport have remained higher priorities. FT > will be revived and updated; looking forward to it very much. But that will > be AFTER the other flagship addons are updated. Not before. Harassment > won't change that. Nor will falsehoods or bad behavior. > > (Hint: currently WordReport is first in line!) > > > > I cleared up your little scrolling field mystery for you, and in return, > this is how you act?! Now, let's see how logical you can be, Klaus. Take a > good look at the length of this message. I'm keeping it as short as > possible, but obviously it still takes some time to carefully answer your > careless slur. > > > > That does NOT speed up anything, including FT. But it does waste > valuable time and slow things down. It's not furthering the outcome you > seek. It also destroys goodwill and friendship, and it spreads falsehood. > On top of that I'm handicapped and I don't have free time to waste. All bad > results of these little slurs about FT and myself. > > Please, let's dial it back a notch! > You don't want to make me responsible for all of your personal problems > and even your handicap, do you? > > > I would appreciate polite inquiries, or reminders, but this is way out > of line. Every time I post here, you do this. > > Not true, see above... > > > You keep calling for my attention, and you got it. > > So, here's what I'll do. If you keep up this "National Socialist" style > of harassment, I'll just pay a little more attention to your posts and > correct more of the inaccurate statements that you make about LC code and > technologies. I will also refer back to this post to save time, so that my > corrections are as efficient as your falsehoods. > > I've had to make "Klaus corrections" about other LC matters (regular LC > how-to and facts/tips, not about FT) on a regular basis over the years, > usually very quietly off-list! > > And another laughable, untenable and very cheap tit-for-tat response! > > > But I'll be happy to make more public corrections, more often, if > needed. Or if you lay off the harassment, then as a natural result (math, > time) everything will happen a little faster, including FT. The choice is > yours. > > > Best wishes, > > > > Curry Kenworthy > > I find your response rather "Mimimi" and highly exaggerated in many parts > and I really start to feel sorry for you. > But don't worry, I will not bother you again. > > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From mkoob at rogers.com Sat Jul 11 11:50:31 2020 From: mkoob at rogers.com (Martin Koob) Date: Sat, 11 Jul 2020 11:50:31 -0400 Subject: A shipment from order #896026 is on the way In-Reply-To: <5f08e9ed14ca6_ec8505019783c@shopify.com> References: <5f08e9ed14ca6_ec8505019783c@shopify.com> Message-ID: <716D8D54-BC13-4C11-9330-7DF2278A677D@rogers.com> Hi Thanks for the notification regarding shipping the product. However, when I try to track the package I get the following message on the FedEx webpage. Not found This tracking number cannot be found, please check the number or contact the sender. Is 179540126000090 the correct tracking number? Thanks Martin Koob > On Jul 10, 2020, at 6:21 PM, Raycon wrote: > > > YOUR ORDER HAS SHIPPED > > Order #896026 > All of the items from your order are on their way to your address! > > The Performer E55 Wireless Earbuds - Titanium > > Quantity: 1 > They are being shipped via APCL with last mile delivery by USPS to the following address: > Nolan Smith > 73 Hart Ave. > Toronto, Ontario M1K3H3 > Canada > The tracking number for these items is 179540126000090. Use the link below to see the status of your shipment: > TRACK PACKAGE > Please allow some time for the status of the shipment to correctly display at the above address. > Thanks again for your order! > > > > Free Shipping & Returns for All U.S. Orders > Copyright ? 2018 Raycon, All rights reserved. From curry at pair.com Sat Jul 11 13:41:52 2020 From: curry at pair.com (Curry Kenworthy) Date: Sat, 11 Jul 2020 13:41:52 -0400 Subject: FieldTrip (WAS: fixed textheight affects scrolling?) In-Reply-To: References: Message-ID: <578f47eb-918b-a7a5-58d6-84294027dafa@pair.com> Stephen: > Girls! Time to take this spat off list, please. Ah good, belittling a gender! That helps. Otherwise agreed; I don't want to see this either. But as this was a very public attack on a very LC product, and strayed from the facts, that didn't leave me much choice. Public inaccuracies require public corrections. Klaus: > One BETA was delivered! As you say: delivered. But I believe it was two betas, not one. The denigration of "beta" is a marketing school of thought, nothing more or less. I used to keep all of my products in beta for YEARS (since I belonged to another school of thought, with very high emphasis on quality) until being forced out of it by the former school of thought being officially adopted here. > Interesting, so it is LCs fault in the end. Facts, not fault. Very different! Not everyone is interested in facts, but that doesn't erase them or make them less important/relevant. FT was designed for LiveCode during the time of LC 5/6, if I recall correctly. It was also designed within the budget we funded. That product was coded and delivered. Klaus received what he paid for. He hasn't received an update yet; nor has he paid for one. That doesn't mean I don't WANT an update, and I certainly didn't want LC 7 to be incompatible with this or any other product. But of course the product was delivered as paid. As I said: > LC 7 stopped working with some existing code, and not the other > way around. Technically 7 was supposed to work with the existing > code, and the team was working through BC issues, > but ah well. My flagship products were more fortunate > (with a lot of help from myself in testing and reporting issues) > but LC 7 was released before that could happen for FT. So technically this should have been part of the LC 7 compatibility effort, that is undeniable fact, but LC 7 was released before it could happen. That didn't help. My products were originally budgeted for efficient building on a fairly firm foundation, not immediate and frequent rewrites. The huge LC 7 and 8 changes, and the many LC bugs introduced during that period, required substantial changes and LC bug-hunting for many or most LC projects which contain substantial code. That was originally unplanned and unbudgeted, and is very much ongoing. As I've said before, I can't really complain; I've made a large part of my living for many years from LC 7-9 bugs and changes! But it did hurt FT, since FT was unlucky enough to miss out on the official 7 compatibility efforts, and also could not benefit from my own first efforts. My first attention had to go to the flagship products. That doesn't make me happy either, but it is the reality. There simply was no other choice. Whereas many other LC projects have simply fallen by the wayside since LC 7, I'm proud that FT is still very much on my list! But again: > FT will be revived and updated; looking forward to it very much. > But that will be AFTER the other flagship addons are updated. > Not before. Harassment won't change that. > Nor will falsehoods or bad behavior. > (Hint: currently WordReport is first in line!) Client projects ALWAYS come first, no matter what. Then the flagship products. This is the priority I will follow. Klaus: > I really start to feel sorry for you. Regarding my own handicap, it's simply another fact that unfortunately has become somewhat relevant in this case. Nothing more or less. FT was planned and budgeted for an efficient development process, not immediate and frequent rewrites. I've always loved efficiency and the real benefits and cost savings it brings to software development. Always a hardcore fan. But since being diagnosed with a progressive neuromuscular disease, efficiency is my lifeline! I no longer have the option of doing things another way. I'm proud to be one of the top LiveCode developers and consultants, achieving more than most despite my handicap! And I have some incredible strengths, so I'm not complaining. I could easily feel sorry for others. I have some "super powers" when it comes to code. I'm very powerful in that regard and I thank God for my many blessings, which incidentally include LiveCode itself, and my wonderful clients! But when it comes to time and energy, I just don't have the option of being inefficient. Nor do I have "free time" in the sense that most people do. I can't just arbitrarily decide to work extra whenever I feel like it; my body will no longer let me. Work has to be planned and prioritized. And I get things done - achieving a lot of work for my clients each year, and also making progress toward updates on my flagship addons! But unfortunately FT has had to wait, for a number of years, as Klaus has emphasized. Nevertheless it's coming, in its turn. If I have to write big emails to correct inaccurate statements, or deal with harassment, it truly does take significant time away from work and slow things down. I can't borrow from free time and unspent energy; every day my energy is very finite. If I spend the time talking, I can't spend it working. That is the choice involved. I love it when I get a chance to post here between work, but I have to limit it. So hopefully this post helps to clear up facts about FieldTrip and also my plans. To save energy and further the cause of actual progress rather than rehashing facts and corrections, I will either refer back to this post or quote from it in future if needed. Meanwhile WordReport is the current focus! WordReport already had a recent update to solve issues introduced by LiveCode 8, and the upcoming version will improve on that, plus address some issues introduced by Catalina. Very excited about it. :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From curry at pair.com Sat Jul 11 14:06:50 2020 From: curry at pair.com (Curry Kenworthy) Date: Sat, 11 Jul 2020 14:06:50 -0400 Subject: sorting lines by date In-Reply-To: References: Message-ID: <78c781d5-0e3f-5b46-fad3-05b41c938169@pair.com> Like everything field and text related, this thread caught my eye! :) One of my favorite areas of LiveCode, and also one of the areas I have to actively keep an eye on since I rely on it a lot. Here's an observation that might help in one way or another.... David: > http://adomain/ 27/06/2016 8:10 > set itemdel to tab > sort lines of field "import" datetime by the last item of each > the order above is generated. > I can?t see any meaningful ordering of the lines. I was curious and copied your content into a field where I changed the date format of the dates, like so: http://adomain/ 06/27/2016 8:10 http://adomain/ 11/17/2013 22:18 And for me, over here on this side of the ocean (cue Trump rally: USA! USA!) that both looks good, and works well, using your unmodified code. The lines without a date also stacked up at the top, as you predicted, and as I know to be the normal LC sort behavior. I realize you need the British format, but again out of curiosity and to make sure everything LC datewise is working properly, you might try your sort again, with a few lines of your content and that modification. (There is also a useSystemDate keyword that you could test.) Regardless, be assured that ABSOLUTELY it is possible to have datetime sorts working well in fields or text with tabbed columns. Have no doubts or fears in that regard. I very recently delivered a client project, this year, with that feature. The only question is efficiency. It would be better and faster to get the datetime sort working directly with your content. But if not, you can also sort with a custom function, and then the sky is the limit! LC sort really is powerful and flexible. But I would like to know the outcome, so when this is resolved, thanks in advance for posting again to let us know what worked! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From mikedoub at gmail.com Sat Jul 11 20:24:45 2020 From: mikedoub at gmail.com (Mike Doub) Date: Sat, 11 Jul 2020 20:24:45 -0400 Subject: Web help needed References: Message-ID: <4cb73b44-7d18-4df5-bd66-542a08f95a27@Spark> I am a rookie at web stuff.??I have a couple of end point api?s set up to use with simple forms.??Got that working with .lc file that starts using a LiveCode stack that does the work. I need to move hundreds of files from my desktop Mac to my server.? ?I?m looking for advise as to how best to do this.??I was thinking about creating an endpoint on my server that my desktop app would use.??But, I don?t understand how that might work. I need some help for some experience web folks.??How do I go about moving files?? ?Most of them are text, but I would like to understand how to deal with binary files too (thinking images).??All of the examples I see are for a user interface form and that does not make sense for the number of files I need to move. Thanks in advance. ?? ? ?-= Mike From ambassador at fourthworld.com Sat Jul 11 22:49:26 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 11 Jul 2020 19:49:26 -0700 Subject: Web help needed In-Reply-To: <4cb73b44-7d18-4df5-bd66-542a08f95a27@Spark> References: <4cb73b44-7d18-4df5-bd66-542a08f95a27@Spark> Message-ID: Mike Doub wrote: > I need to move hundreds of files from my desktop Mac to my server. > I?m looking for advise as to how best to do this. rsync -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dvglasgow at gmail.com Sun Jul 12 11:05:36 2020 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 12 Jul 2020 16:05:36 +0100 Subject: sorting lines by date In-Reply-To: <78c781d5-0e3f-5b46-fad3-05b41c938169@pair.com> References: <78c781d5-0e3f-5b46-fad3-05b41c938169@pair.com> Message-ID: <7F9453DA-1A52-49F4-8030-DE903DDCDBB1@gmail.com> Thanks everyone & Curry. I will play with this some more. Looking at the lists I am given, most of the date columns are declared to be UTC. I intended to try to detect other formats in due course, but thought I?d start with the common one. Reminds me of my favourite Jake Peralta line: ?Stupid rest of the world, writing their dates all dumb!? Cheers, and thanks again. David G > On 11 Jul 2020, at 7:06 pm, Curry Kenworthy via use-livecode wrote: > > > Like everything field and text related, this thread caught my eye! :) > > One of my favorite areas of LiveCode, and also one of the areas I have to actively keep an eye on since I rely on it a lot. > > Here's an observation that might help in one way or another.... > > David: > > > http://adomain/ 27/06/2016 8:10 > > > set itemdel to tab > > sort lines of field "import" datetime by the last item of each > > > the order above is generated. > > I can?t see any meaningful ordering of the lines. > > I was curious and copied your content into a field where I changed the date format of the dates, like so: > > http://adomain/ 06/27/2016 8:10 > http://adomain/ 11/17/2013 22:18 > > And for me, over here on this side of the ocean (cue Trump rally: USA! USA!) that both looks good, and works well, using your unmodified code. The lines without a date also stacked up at the top, as you predicted, and as I know to be the normal LC sort behavior. > > I realize you need the British format, but again out of curiosity and to make sure everything LC datewise is working properly, you might try your sort again, with a few lines of your content and that modification. > > (There is also a useSystemDate keyword that you could test.) > > Regardless, be assured that ABSOLUTELY it is possible to have datetime sorts working well in fields or text with tabbed columns. Have no doubts or fears in that regard. I very recently delivered a client project, this year, with that feature. > > The only question is efficiency. It would be better and faster to get the datetime sort working directly with your content. > > But if not, you can also sort with a custom function, and then the sky is the limit! LC sort really is powerful and flexible. > > But I would like to know the outcome, so when this is resolved, thanks in advance for posting again to let us know what worked! > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Sun Jul 12 12:10:24 2020 From: mikedoub at gmail.com (Mike Doub) Date: Sun, 12 Jul 2020 12:10:24 -0400 Subject: Web help needed In-Reply-To: References: <4cb73b44-7d18-4df5-bd66-542a08f95a27@Spark> Message-ID: Thanks Richard.? ?I guess I was not clear.? ?I was looking for the best ways to do the file transfer with LiveCode and LiveCode server. ??-= Mike On Jul 11, 2020, 10:50 PM -0400, Richard Gaskin via use-livecode , wrote: > Mike Doub wrote: > > > I need to move hundreds of files from my desktop Mac to my server. > > I?m looking for advise as to how best to do this. > > rsync > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Sun Jul 12 12:31:26 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 12 Jul 2020 12:31:26 -0400 Subject: Web help needed In-Reply-To: <4cb73b44-7d18-4df5-bd66-542a08f95a27@Spark> References: <4cb73b44-7d18-4df5-bd66-542a08f95a27@Spark> Message-ID: Hi Mike, I think we are lacking some key information in order to solve your problem. Is your LC Server on a Mac? If so, what is preventing you from just dragging and dropping a folder of your files across the network from your desktop Mac to your LC (Mac?) Server computer? Once your files are on the Server where you want them, then you can play around with having LC Server access them through forms if you want to do that. You can also put the data into a database if you need to do that too and then access them with your LC Server. Are you hosting your LC Server on a computer you own, or are you using a hosting service instead? Let us know. Rick > On Jul 11, 2020, at 8:24 PM, Mike Doub via use-livecode wrote: > > I am a rookie at web stuff. I have a couple of end point api?s set up to use with simple forms. Got that working with .lc file that starts using a LiveCode stack that does the work. > > I need to move hundreds of files from my desktop Mac to my server. I?m looking for advise as to how best to do this. I was thinking about creating an endpoint on my server that my desktop app would use. But, I don?t understand how that might work. > > I need some help for some experience web folks. How do I go about moving files? Most of them are text, but I would like to understand how to deal with binary files too (thinking images). All of the examples I see are for a user interface form and that does not make sense for the number of files I need to move. > > Thanks in advance. > -= Mike From ahsoftware at sonic.net Sun Jul 12 12:34:46 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 12 Jul 2020 09:34:46 -0700 Subject: Web help needed In-Reply-To: References: <4cb73b44-7d18-4df5-bd66-542a08f95a27@Spark> Message-ID: <58227ca5-31d2-4d38-4d6b-6cf9142a3de9@sonic.net> On 7/12/20 9:10 AM, Mike Doub via use-livecode wrote: > Thanks Richard.? ?I guess I was not clear.? ?I was looking for the best ways to do the file transfer with LiveCode and LiveCode server. Why? get shell("rsync ")... -- Mark Wieder ahsoftware at gmail.com From mikedoub at gmail.com Sun Jul 12 12:56:09 2020 From: mikedoub at gmail.com (Mike Doub) Date: Sun, 12 Jul 2020 12:56:09 -0400 Subject: Web help needed In-Reply-To: References: <4cb73b44-7d18-4df5-bd66-542a08f95a27@Spark> Message-ID: <206b52cb-6f17-48b3-82af-4b2a0f043898@Spark> The server is hosted on HostM and they are very good a keeping Livecode Server current. I am assuming it is a Unix variant of some sort.??My desktop is a mac. Let me tell you the details of what I am trying to do.? ?I have written a tool in livecode that takes a RideWithGPS route and generates a pdf and .csv files for the cue sheet.??(basic turn by turn instructions for cycling the route.)??This tools sits on the server side and processes requests via a form.? ?Basically 1 route at a time. There are some 950 routes that are in my cycling clubs archive on RideWithGPS.??I am looking to generate updated pdf and csv files for all of the routes.??I was thinking about just cycling thru each of the routes, create the pdf and csv on my mac and just push the files onto the server.? ?It is the push them onto the server that I don?t know how to do.? ?I am looking for some guidance on both the mac and server side. -= Mike On Jul 12, 2020, 12:32 PM -0400, Rick Harrison via use-livecode , wrote: > Hi Mike, > > I think we are lacking some key information in order to solve your problem. > > Is your LC Server on a Mac? If so, what is preventing you from just > dragging and dropping a folder of your files across the network from your > desktop Mac to your LC (Mac?) Server computer? > > Once your files are on the Server where you want them, then you > can play around with having LC Server access them through forms > if you want to do that. You can also put the data into a database > if you need to do that too and then access them with your LC Server. > > Are you hosting your LC Server on a computer you own, or > are you using a hosting service instead? > > Let us know. > > Rick > > > > > On Jul 11, 2020, at 8:24 PM, Mike Doub via use-livecode wrote: > > > > I am a rookie at web stuff. I have a couple of end point api?s set up to use with simple forms. Got that working with .lc file that starts using a LiveCode stack that does the work. > > > > I need to move hundreds of files from my desktop Mac to my server. I?m looking for advise as to how best to do this. I was thinking about creating an endpoint on my server that my desktop app would use. But, I don?t understand how that might work. > > > > I need some help for some experience web folks. How do I go about moving files? Most of them are text, but I would like to understand how to deal with binary files too (thinking images). All of the examples I see are for a user interface form and that does not make sense for the number of files I need to move. > > > > Thanks in advance. > > -= Mike > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Sun Jul 12 13:06:22 2020 From: prothero at earthlearningsolutions.org (Prothero@earthlearning) Date: Sun, 12 Jul 2020 10:06:22 -0700 Subject: Web help needed In-Reply-To: <206b52cb-6f17-48b3-82af-4b2a0f043898@Spark> References: <206b52cb-6f17-48b3-82af-4b2a0f043898@Spark> Message-ID: Sorry if this is off, but what about just transferring them with ftp? Bill William Prothero http://es.earthednet.org > On Jul 12, 2020, at 9:57 AM, Mike Doub via use-livecode wrote: > > ?The server is hosted on HostM and they are very good a keeping Livecode Server current. I am assuming it is a Unix variant of some sort. My desktop is a mac. > > Let me tell you the details of what I am trying to do. I have written a tool in livecode that takes a RideWithGPS route and generates a pdf and .csv files for the cue sheet. (basic turn by turn instructions for cycling the route.) This tools sits on the server side and processes requests via a form. Basically 1 route at a time. > > There are some 950 routes that are in my cycling clubs archive on RideWithGPS. I am looking to generate updated pdf and csv files for all of the routes. I was thinking about just cycling thru each of the routes, create the pdf and csv on my mac and just push the files onto the server. It is the push them onto the server that I don?t know how to do. I am looking for some guidance on both the mac and server side. > > -= Mike >> On Jul 12, 2020, 12:32 PM -0400, Rick Harrison via use-livecode , wrote: >> Hi Mike, >> >> I think we are lacking some key information in order to solve your problem. >> >> Is your LC Server on a Mac? If so, what is preventing you from just >> dragging and dropping a folder of your files across the network from your >> desktop Mac to your LC (Mac?) Server computer? >> >> Once your files are on the Server where you want them, then you >> can play around with having LC Server access them through forms >> if you want to do that. You can also put the data into a database >> if you need to do that too and then access them with your LC Server. >> >> Are you hosting your LC Server on a computer you own, or >> are you using a hosting service instead? >> >> Let us know. >> >> Rick >> >> >> >>>> On Jul 11, 2020, at 8:24 PM, Mike Doub via use-livecode wrote: >>> >>> I am a rookie at web stuff. I have a couple of end point api?s set up to use with simple forms. Got that working with .lc file that starts using a LiveCode stack that does the work. >>> >>> I need to move hundreds of files from my desktop Mac to my server. I?m looking for advise as to how best to do this. I was thinking about creating an endpoint on my server that my desktop app would use. But, I don?t understand how that might work. >>> >>> I need some help for some experience web folks. How do I go about moving files? Most of them are text, but I would like to understand how to deal with binary files too (thinking images). All of the examples I see are for a user interface form and that does not make sense for the number of files I need to move. >>> >>> Thanks in advance. >>> -= Mike >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Sun Jul 12 13:13:00 2020 From: mikedoub at gmail.com (Mike Doub) Date: Sun, 12 Jul 2020 13:13:00 -0400 Subject: Web help needed In-Reply-To: <206b52cb-6f17-48b3-82af-4b2a0f043898@Spark> References: <4cb73b44-7d18-4df5-bd66-542a08f95a27@Spark> <206b52cb-6f17-48b3-82af-4b2a0f043898@Spark> Message-ID: I just sent a request to HostM to see if they support rsync.??If they do then one option would be to create all of the pdfs and csv on the mac then rsync them to the server.??This leads me down a new set of unknowns... How do you set up rsync? I assume that there is some configuration required on both the mac and server. On Jul 12, 2020, 12:56 PM -0400, Mike Doub , wrote: > The server is hosted on HostM and they are very good a keeping Livecode Server current. I am assuming it is a Unix variant of some sort.??My desktop is a mac. > > Let me tell you the details of what I am trying to do.? ?I have written a tool in livecode that takes a RideWithGPS route and generates a pdf and .csv files for the cue sheet.??(basic turn by turn instructions for cycling the route.)??This tools sits on the server side and processes requests via a form.? ?Basically 1 route at a time. > > There are some 950 routes that are in my cycling clubs archive on RideWithGPS.??I am looking to generate updated pdf and csv files for all of the routes.??I was thinking about just cycling thru each of the routes, create the pdf and csv on my mac and just push the files onto the server.? ?It is the push them onto the server that I don?t know how to do.? ?I am looking for some guidance on both the mac and server side. > > -= Mike > On Jul 12, 2020, 12:32 PM -0400, Rick Harrison via use-livecode , wrote: > > Hi Mike, > > > > I think we are lacking some key information in order to solve your problem. > > > > Is your LC Server on a Mac? If so, what is preventing you from just > > dragging and dropping a folder of your files across the network from your > > desktop Mac to your LC (Mac?) Server computer? > > > > Once your files are on the Server where you want them, then you > > can play around with having LC Server access them through forms > > if you want to do that. You can also put the data into a database > > if you need to do that too and then access them with your LC Server. > > > > Are you hosting your LC Server on a computer you own, or > > are you using a hosting service instead? > > > > Let us know. > > > > Rick > > > > > > > > > On Jul 11, 2020, at 8:24 PM, Mike Doub via use-livecode wrote: > > > > > > I am a rookie at web stuff. I have a couple of end point api?s set up to use with simple forms. Got that working with .lc file that starts using a LiveCode stack that does the work. > > > > > > I need to move hundreds of files from my desktop Mac to my server. I?m looking for advise as to how best to do this. I was thinking about creating an endpoint on my server that my desktop app would use. But, I don?t understand how that might work. > > > > > > I need some help for some experience web folks. How do I go about moving files? Most of them are text, but I would like to understand how to deal with binary files too (thinking images). All of the examples I see are for a user interface form and that does not make sense for the number of files I need to move. > > > > > > Thanks in advance. > > > -= Mike > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Sun Jul 12 13:46:47 2020 From: mikedoub at gmail.com (Mike Doub) Date: Sun, 12 Jul 2020 13:46:47 -0400 Subject: Web help needed In-Reply-To: References: <4cb73b44-7d18-4df5-bd66-542a08f95a27@Spark> <206b52cb-6f17-48b3-82af-4b2a0f043898@Spark> Message-ID: <61e596f4-97bd-438a-8d3e-3783ac4dc4c7@Spark> HostM does support rsync but you have to request SSH to be enabled. I was able to get an sftp client to work.??Im not sure if LiveCode supports sftp. -=?Mike On Jul 12, 2020, 1:13 PM -0400, Mike Doub , wrote: > I just sent a request to HostM to see if they support rsync.??If they do then one option would be to create all of the pdfs and csv on the mac then rsync them to the server.??This leads me down a new set of unknowns... How do you set up rsync? I assume that there is some configuration required on both the mac and server. > On Jul 12, 2020, 12:56 PM -0400, Mike Doub , wrote: > > The server is hosted on HostM and they are very good a keeping Livecode Server current. I am assuming it is a Unix variant of some sort.??My desktop is a mac. > > > > Let me tell you the details of what I am trying to do.? ?I have written a tool in livecode that takes a RideWithGPS route and generates a pdf and .csv files for the cue sheet.??(basic turn by turn instructions for cycling the route.)??This tools sits on the server side and processes requests via a form.? ?Basically 1 route at a time. > > > > There are some 950 routes that are in my cycling clubs archive on RideWithGPS.??I am looking to generate updated pdf and csv files for all of the routes.??I was thinking about just cycling thru each of the routes, create the pdf and csv on my mac and just push the files onto the server.? ?It is the push them onto the server that I don?t know how to do.? ?I am looking for some guidance on both the mac and server side. > > > > -= Mike > > On Jul 12, 2020, 12:32 PM -0400, Rick Harrison via use-livecode , wrote: > > > Hi Mike, > > > > > > I think we are lacking some key information in order to solve your problem. > > > > > > Is your LC Server on a Mac? If so, what is preventing you from just > > > dragging and dropping a folder of your files across the network from your > > > desktop Mac to your LC (Mac?) Server computer? > > > > > > Once your files are on the Server where you want them, then you > > > can play around with having LC Server access them through forms > > > if you want to do that. You can also put the data into a database > > > if you need to do that too and then access them with your LC Server. > > > > > > Are you hosting your LC Server on a computer you own, or > > > are you using a hosting service instead? > > > > > > Let us know. > > > > > > Rick > > > > > > > > > > > > > On Jul 11, 2020, at 8:24 PM, Mike Doub via use-livecode wrote: > > > > > > > > I am a rookie at web stuff. I have a couple of end point api?s set up to use with simple forms. Got that working with .lc file that starts using a LiveCode stack that does the work. > > > > > > > > I need to move hundreds of files from my desktop Mac to my server. I?m looking for advise as to how best to do this. I was thinking about creating an endpoint on my server that my desktop app would use. But, I don?t understand how that might work. > > > > > > > > I need some help for some experience web folks. How do I go about moving files? Most of them are text, but I would like to understand how to deal with binary files too (thinking images). All of the examples I see are for a user interface form and that does not make sense for the number of files I need to move. > > > > > > > > Thanks in advance. > > > > -= Mike > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sun Jul 12 14:30:38 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Jul 2020 11:30:38 -0700 Subject: Web help needed In-Reply-To: References: Message-ID: Bill Prothero wrote: > Sorry if this is off, but what about just transferring them with ftp? FTP is good enough for a small number of files. But for automating large numbers of file transfers rsync is hard to beat, a much smarter tool making things much more efficient. By default, rsync will only transfer files that have changed, and even then only transfers the portions of a file that's changed. It can be used to sync folders locally or remotely - I run all my backups with it, in addition to using it post files to servers from my local master copy. rsync is preinstalled with macOS, can be added to Windows, and is a standard part of most popular Linux distros used on servers. It's secure using SSH, so if you add your SSH public key to your server (useful for a good many things) you not only get good security but it makes it easy to automate with LiveCode's shell function. @Michael Doub: I believe HostM uses Ubuntu, so rsync is preinstalled there. And since you use macOS, your copy is preinstalled on your Mac. IMNSHO, you'll want to request SSH for any hosting service that doesn't offer it by default. With SSH, not only do you get to use standard Unix/Linux utilities like rsync, scp, and others, but sooner or later you're likely to need or want to do something on that server outside of the limited scope of what FTP is designed for. With shell access you can do anything you need, just as good as having the server sitting on your desk, even if it's thousands of miles away. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mkoob at rogers.com Mon Jul 13 09:11:35 2020 From: mkoob at rogers.com (Martin Koob) Date: Mon, 13 Jul 2020 09:11:35 -0400 Subject: Please disregard Re: A shipment from order #896026 is on the way In-Reply-To: <716D8D54-BC13-4C11-9330-7DF2278A677D@rogers.com> References: <5f08e9ed14ca6_ec8505019783c@shopify.com> <716D8D54-BC13-4C11-9330-7DF2278A677D@rogers.com> Message-ID: <7E4F843B-5207-47BF-AAED-5572A2992E7D@rogers.com> Hi Don?t know how I managed to spam the list with this. Sorry about that. Martin > On Jul 11, 2020, at 11:50 AM, Martin Koob via use-livecode wrote: > > Hi > > Thanks for the notification regarding shipping the product. However, when I try to track the package I get the following message on the FedEx webpage. > From kevin at stallibrass.com Mon Jul 13 09:23:04 2020 From: kevin at stallibrass.com (Kevin Stallibrass) Date: Mon, 13 Jul 2020 14:23:04 +0100 Subject: Live code server with Debian 8 Jessie Message-ID: <036CCD24-03F4-4F67-8F95-122624213184@stallibrass.com> My first time installing live code server with Debian - previously used Ubuntu. Just can?t get the server to work. mod_cgi, mod_actions & mod_alias are enabled, apache2.conf looks correct and I?ve tried various live code server versions both licensed and community. The only thing I?m not sure about is the 32bit libraries. The live code lessons quote Yum install glib.i686 glib-2.12-1.107.el6_4.2.i686 Yum install libgcc.i686 Both of which result in files unfound Has anyone been round this loop and can point me in the right direction? Thanks Kevin Sent from my iPad From andre at andregarzia.com Mon Jul 13 11:43:42 2020 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 13 Jul 2020 16:43:42 +0100 Subject: Web help needed In-Reply-To: References: Message-ID: Folks, I think that either you're all misreading the original intent, or I have read it wrong. >From what I have read, Mike has a webapp that converts from one file format to another and wants to do bulk conversion. Rsync and FTP will not help there, what he needs to to be able to call that form multiple times or refactor the form to support multiple files. Mike, get yourself familiar with "file type inputs" from HTML and how they can support multiple file selection. In the two links below you'll have a reference to the APIs and DOM elements related to that: * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file * https://developer.mozilla.org/en-US/docs/Web/API/File/Using_files_from_web_applications Using that you could rework your form to accept multiple files, even with drag and dropping, which I believe will solve your problem. Still, I don't think that doing the entire archive in a single go is a good idea as Apache will hangup the CGI process after a predefined timeout, but you could do a subset of it, for example each month in a single pass. Best A On Sun, 12 Jul 2020 at 19:32, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Bill Prothero wrote: > > Sorry if this is off, but what about just transferring them with ftp? > > FTP is good enough for a small number of files. But for automating > large numbers of file transfers rsync is hard to beat, a much smarter > tool making things much more efficient. > > By default, rsync will only transfer files that have changed, and even > then only transfers the portions of a file that's changed. > > It can be used to sync folders locally or remotely - I run all my > backups with it, in addition to using it post files to servers from my > local master copy. > > rsync is preinstalled with macOS, can be added to Windows, and is a > standard part of most popular Linux distros used on servers. > > It's secure using SSH, so if you add your SSH public key to your server > (useful for a good many things) you not only get good security but it > makes it easy to automate with LiveCode's shell function. > > > @Michael Doub: I believe HostM uses Ubuntu, so rsync is preinstalled > there. And since you use macOS, your copy is preinstalled on your Mac. > > IMNSHO, you'll want to request SSH for any hosting service that doesn't > offer it by default. With SSH, not only do you get to use standard > Unix/Linux utilities like rsync, scp, and others, but sooner or later > you're likely to need or want to do something on that server outside of > the limited scope of what FTP is designed for. With shell access you > can do anything you need, just as good as having the server sitting on > your desk, even if it's thousands of miles away. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com From ahsoftware at sonic.net Mon Jul 13 11:53:45 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 13 Jul 2020 08:53:45 -0700 Subject: Live code server with Debian 8 Jessie In-Reply-To: <036CCD24-03F4-4F67-8F95-122624213184@stallibrass.com> References: <036CCD24-03F4-4F67-8F95-122624213184@stallibrass.com> Message-ID: On 7/13/20 6:23 AM, Kevin Stallibrass via use-livecode wrote: > My first time installing live code server with Debian - previously used Ubuntu. Just can?t get the server to work. mod_cgi, mod_actions & mod_alias are enabled, apache2.conf looks correct and I?ve tried various live code server versions both licensed and community. > The only thing I?m not sure about is the 32bit libraries. The live code lessons quote > Yum install glib.i686 glib-2.12-1.107.el6_4.2.i686 > Yum install libgcc.i686 Both of which result in files unfound > > Has anyone been round this loop and can point me in the right direction? A couple of things here: You're trying to install the 32-bit server build on Jessie? On a 32-bit distro or 64-bit? It sounds like you're trying to mix and match configs, so I'd say stick with one or the other. ...and Jessie has been superseded for some time now. There haven't been any security updates for two years and even LTS support ended last month. Debian 10.4 stable ("buster") was released in May. -- Mark Wieder ahsoftware at gmail.com From info at homecredit.ph Mon Jul 13 12:01:30 2020 From: info at homecredit.ph (info at homecredit.ph) Date: Tue, 14 Jul 2020 00:01:30 +0800 (PHT) Subject: use-livecode Digest, Vol 202, Issue 14 In-Reply-To: Message-ID: <0361QaFGBCXUGBVK@homecredit.ph> This is an automated response. We're currently working on a skeletal workforce due to the Covid-19 pandemic and it may take us 4-5 days to respond to your email. We apologize for the delay. Para sa account specific concerns, please make sure na naisulat ninyo sa email ang inyong Loan Account Number at Date of Birth, para mapabilis ang inyong transaction. Here???s a quick guide para sa mga dapat asahan ngayong new normal: Para sa mga loan customers na nag-avail ng grace period para sa mga due dates mula March 17-May 31, ang inyong loan term ay na-extend at ito ay naka-reflect na sa mobile app. Makikita rin ang equivalent na accrued interest para dito. Siguraduhin lamang na gamit ang latest version ng Home Credit app para makita ang tamang impormasyon. For more information, visit: https://homecredit.ph/payments/frequently-asked-questions/. If you???re contacting us about payment arrangements, feel free to call us at 02(7753-5712) to discuss your options. Gift payment eligibility will not be affected by the grace period and will automatically be applied on your account. You just need to make sure to keep your account updated according to the new installment schedule. For credit card customers, siguraduhing magbayad ng at least minimum amount due para mapanatiling active ang inyong card at maiwasan ang late payment fee. Maaari ninyong puntahan ang bit.ly/HCPayNow para magbayad online o tignan ang list of available payment partners dito. Para sa mga enrolled sa ADA, we have resumed regular bank debiting on your loan due date in the month of June. We will resume regular debiting three days before your due date from July 1 due date onwards. From kevin at stallibrass.com Mon Jul 13 12:28:29 2020 From: kevin at stallibrass.com (Kevin Stallibrass) Date: Mon, 13 Jul 2020 17:28:29 +0100 Subject: Live code server with Debian 8 Jesse Message-ID: <890ECE76-1E57-4011-A827-011C54164761@stallibrass.com> Thanks Mark, Debian is 64bit and I?m using the linux64 downloads of live code server. Do I not need the 32bit libraries? Documentation is very unclear about this. I?d presumed that live code server was still 32bit ????????- A couple of things here: You're trying to install the 32-bit server build on Jessie? On a 32-bit distro or 64-bit? It sounds like you're trying to mix and match configs, so I'd say stick with one or the other. ...and Jessie has been superseded for some time now. There haven't been any security updates for two years and even LTS support ended last month. Debian 10.4 stable ("buster") was released in May. -- Mark Wieder ahsoftware at gmail.com Sent from my iPad From mikedoub at gmail.com Mon Jul 13 12:39:42 2020 From: mikedoub at gmail.com (Mike Doub) Date: Mon, 13 Jul 2020 12:39:42 -0400 Subject: Web help needed In-Reply-To: References: Message-ID: Andre, Your the closest yet to what I was thinking about.??I did not think it was a good idea to have the cue sheets rebuilt on the server.? ?I was going to rebuild them on the desktop and push them to the server thru a special endpoint. Let me study the links you provided and well see if they will do the trick. Thank to all for helping!??I?m learning all sorts of stuff!??It great. ??-= Mike On Jul 13, 2020, 11:45 AM -0400, Andre Garzia via use-livecode , wrote: > Folks, > > I think that either you're all misreading the original intent, or I have > read it wrong. > > From what I have read, Mike has a webapp that converts from one file format > to another and wants to do bulk conversion. Rsync and FTP will not help > there, what he needs to to be able to call that form multiple times or > refactor the form to support multiple files. > > Mike, get yourself familiar with "file type inputs" from HTML and how they > can support multiple file selection. In the two links below you'll have a > reference to the APIs and DOM elements related to that: > > * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file > * > https://developer.mozilla.org/en-US/docs/Web/API/File/Using_files_from_web_applications > > Using that you could rework your form to accept multiple files, even with > drag and dropping, which I believe will solve your problem. > > Still, I don't think that doing the entire archive in a single go is a good > idea as Apache will hangup the CGI process after a predefined timeout, but > you could do a subset of it, for example each month in a single pass. > > Best > A > > > > On Sun, 12 Jul 2020 at 19:32, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Bill Prothero wrote: > > > Sorry if this is off, but what about just transferring them with ftp? > > > > FTP is good enough for a small number of files. But for automating > > large numbers of file transfers rsync is hard to beat, a much smarter > > tool making things much more efficient. > > > > By default, rsync will only transfer files that have changed, and even > > then only transfers the portions of a file that's changed. > > > > It can be used to sync folders locally or remotely - I run all my > > backups with it, in addition to using it post files to servers from my > > local master copy. > > > > rsync is preinstalled with macOS, can be added to Windows, and is a > > standard part of most popular Linux distros used on servers. > > > > It's secure using SSH, so if you add your SSH public key to your server > > (useful for a good many things) you not only get good security but it > > makes it easy to automate with LiveCode's shell function. > > > > > > @Michael Doub: I believe HostM uses Ubuntu, so rsync is preinstalled > > there. And since you use macOS, your copy is preinstalled on your Mac. > > > > IMNSHO, you'll want to request SSH for any hosting service that doesn't > > offer it by default. With SSH, not only do you get to use standard > > Unix/Linux utilities like rsync, scp, and others, but sooner or later > > you're likely to need or want to do something on that server outside of > > the limited scope of what FTP is designed for. With shell access you > > can do anything you need, just as good as having the server sitting on > > your desk, even if it's thousands of miles away. > > > > -- > > Richard Gaskin > > Fourth World Systems > > Software Design and Development for the Desktop, Mobile, and the Web > > ____________________________________________________________________ > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > http://www.andregarzia.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Mon Jul 13 13:53:29 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 13 Jul 2020 10:53:29 -0700 Subject: Live code server with Debian 8 Jesse In-Reply-To: <890ECE76-1E57-4011-A827-011C54164761@stallibrass.com> References: <890ECE76-1E57-4011-A827-011C54164761@stallibrass.com> Message-ID: <5745f7fa-74ce-199d-3276-87b3a1bc7853@sonic.net> On 7/13/20 9:28 AM, Kevin Stallibrass via use-livecode wrote: > Thanks Mark, > Debian is 64bit and I?m using the linux64 downloads of live code server. Do I not need the 32bit libraries? Documentation is very unclear about this. I?d presumed that live code server was still 32bit Ah... documentation... I just looked at the release notes. Apparently Debian 7 and 8 are all that's officially supported. That's unfortunate. and rereading your original post, I see you're looking at a "lesson" to figure this out. I assume that's http://lessons.livecode.com/m/4070/l/36652-how-do-i-install-livecode-server-on-linux-with-apache where I see the bewildering statement "32bit libraries are required for LiveCode server to run on a 64bit Linux distribution" I ran ldd on the server binary and I don't see any 32-bit dependencies. I assume that's an old statement in the lesson and should be deleted. Those instructions were written in 2013. I wouldn't trust them for any recent builds. I just assume that fiddling with .htaccess would get things working, the same as on other distros. That said, I haven't tried to set this up on Debian so I can't really help with this. There is (now) a longer comment from Russell Martin on that lesson page, and it might help to follow his lead on that rather than the outdated lesson. Even Russell's comment, though, is from some six years ago, so YMMV. -- Mark Wieder ahsoftware at gmail.com -- Mark Wieder ahsoftware at gmail.com From htorrado at networkdreams.net Mon Jul 13 14:19:50 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Mon, 13 Jul 2020 14:19:50 -0400 Subject: Web help needed In-Reply-To: References: Message-ID: You can use Unison: https://www.cis.upenn.edu/~bcpierce/unison/ I use it to synchronize several servers between them. It works like a Charm. Best On 7/12/20 2:30 PM, Richard Gaskin via use-livecode wrote: > Bill Prothero wrote: > > Sorry if this is off, but what about just transferring them with ftp? > > FTP is good enough for a small number of files.? But for automating > large numbers of file transfers rsync is hard to beat, a much smarter > tool making things much more efficient. > > By default, rsync will only transfer files that have changed, and even > then only transfers the portions of a file that's changed. > > It can be used to sync folders locally or remotely - I run all my > backups with it, in addition to using it post files to servers from my > local master copy. > > rsync is preinstalled with macOS, can be added to Windows, and is a > standard part of most popular Linux distros used on servers. > > It's secure using SSH, so if you add your SSH public key to your > server (useful for a good many things) you not only get good security > but it makes it easy to automate with LiveCode's shell function. > > > @Michael Doub: I believe HostM uses Ubuntu, so rsync is preinstalled > there.? And since you use macOS, your copy is preinstalled on your Mac. > > IMNSHO, you'll want to request SSH for any hosting service that > doesn't offer it by default.? With SSH, not only do you get to use > standard Unix/Linux utilities like rsync, scp, and others, but sooner > or later you're likely to need or want to do something on that server > outside of the limited scope of what FTP is designed for.? With shell > access you can do anything you need, just as good as having the server > sitting on your desk, even if it's thousands of miles away. > -- Hola, buenos d?as: Un abrazo Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From htorrado at networkdreams.net Mon Jul 13 14:25:43 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Mon, 13 Jul 2020 14:25:43 -0400 Subject: Live code server with Debian 8 Jesse In-Reply-To: <5745f7fa-74ce-199d-3276-87b3a1bc7853@sonic.net> References: <890ECE76-1E57-4011-A827-011C54164761@stallibrass.com> <5745f7fa-74ce-199d-3276-87b3a1bc7853@sonic.net> Message-ID: <4f752bb8-cbb1-37ad-43fe-f19d3e1cd039@networkdreams.net> Hi Kevin, I use Livecode server on several Linux machines: Centos 7 / 8 and Ubuntu 14/16/18. I didn't need 32bits libraries. I created a brief installation tuto in my blog: https://www.hermanotemblon.com/instalacion-de-livecode-server-en-ubuntu/ It is in Spanish, but you could use Google translator. Best, Hery On 7/13/20 1:53 PM, Mark Wieder via use-livecode wrote: > On 7/13/20 9:28 AM, Kevin Stallibrass via use-livecode wrote: > > Thanks Mark, > > Debian is 64bit and I?m using the linux64 downloads of live code > server. Do I not need the 32bit libraries? Documentation is very > unclear about this. I?d presumed that live code server was still 32bit > > Ah... documentation... > I just looked at the release notes. Apparently Debian 7 and 8 are all > that's officially supported. That's unfortunate. > > and rereading your original post, I see you're looking at a "lesson" > to figure this out. I assume that's > > http://lessons.livecode.com/m/4070/l/36652-how-do-i-install-livecode-server-on-linux-with-apache > > > where I see the bewildering statement > > "32bit libraries are required for LiveCode server to run on a 64bit > Linux distribution" > > I ran ldd on the server binary and I don't see any 32-bit > dependencies. I assume that's an old statement in the lesson and > should be deleted. Those instructions were written in 2013. I wouldn't > trust them for any recent builds. I just assume that fiddling with > .htaccess would get things working, the same as on other distros. > > That said, I haven't tried to set this up on Debian so I can't really > help with this. There is (now) a longer comment from Russell Martin on > that lesson page, and it might help to follow his lead on that rather > than the outdated lesson. Even Russell's comment, though, is from some > six years ago, so YMMV. > From ahsoftware at sonic.net Mon Jul 13 15:36:44 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 13 Jul 2020 12:36:44 -0700 Subject: Live code server with Debian 8 Jesse In-Reply-To: <4f752bb8-cbb1-37ad-43fe-f19d3e1cd039@networkdreams.net> References: <890ECE76-1E57-4011-A827-011C54164761@stallibrass.com> <5745f7fa-74ce-199d-3276-87b3a1bc7853@sonic.net> <4f752bb8-cbb1-37ad-43fe-f19d3e1cd039@networkdreams.net> Message-ID: <2a303e84-9a0e-c209-105f-a548e380c657@sonic.net> On 7/13/20 11:25 AM, Heriberto Torrado via use-livecode wrote: > Hi Kevin, > > I use Livecode server on several Linux machines: > > Centos 7 / 8 and Ubuntu 14/16/18. > > I didn't need 32bits libraries. > > I created a brief installation tuto in my blog: > > https://www.hermanotemblon.com/instalacion-de-livecode-server-en-ubuntu/ > > It is in Spanish, but you could use Google translator. Ah... much better instructions, thanks. Note that your fuente de inspiraci?n: at the bottom no longer exists. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Mon Jul 13 16:18:22 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 13 Jul 2020 13:18:22 -0700 Subject: Live code server with Debian 8 Jesse In-Reply-To: <4f752bb8-cbb1-37ad-43fe-f19d3e1cd039@networkdreams.net> References: <4f752bb8-cbb1-37ad-43fe-f19d3e1cd039@networkdreams.net> Message-ID: <4b58bdec-b352-b298-3d61-9afb53ef944f@fourthworld.com> Good tutorial, Heriberto: > I use Livecode server on several Linux machines: > > Centos 7 / 8 and Ubuntu 14/16/18. > > I didn't need 32bits libraries. > > I created a brief installation tuto in my blog: > > https://www.hermanotemblon.com/instalacion-de-livecode-server-en-ubuntu/ > > It is in Spanish, but you could use Google translator. If you put those individual bash statements together into an executable script file you'd have a pretty handy installer. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From panos.merakos at livecode.com Tue Jul 14 04:36:29 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 14 Jul 2020 11:36:29 +0300 Subject: [ANN] This Week in LiveCode 233 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #233 here: https://bit.ly/32clAct This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From info at homecredit.ph Tue Jul 14 12:01:51 2020 From: info at homecredit.ph (info at homecredit.ph) Date: Wed, 15 Jul 2020 00:01:51 +0800 (PHT) Subject: use-livecode Digest, Vol 202, Issue 15 In-Reply-To: Message-ID: <0361QaFGBCXUKVCY@homecredit.ph> This is an automated response. We're currently working on a skeletal workforce due to the Covid-19 pandemic and it may take us 4-5 days to respond to your email. We apologize for the delay. Para sa account specific concerns, please make sure na naisulat ninyo sa email ang inyong Loan Account Number at Date of Birth, para mapabilis ang inyong transaction. Here???s a quick guide para sa mga dapat asahan ngayong new normal: Para sa mga loan customers na nag-avail ng grace period para sa mga due dates mula March 17-May 31, ang inyong loan term ay na-extend at ito ay naka-reflect na sa mobile app. Makikita rin ang equivalent na accrued interest para dito. Siguraduhin lamang na gamit ang latest version ng Home Credit app para makita ang tamang impormasyon. For more information, visit: https://homecredit.ph/payments/frequently-asked-questions/. If you???re contacting us about payment arrangements, feel free to call us at 02(7753-5712) to discuss your options. Gift payment eligibility will not be affected by the grace period and will automatically be applied on your account. You just need to make sure to keep your account updated according to the new installment schedule. For credit card customers, siguraduhing magbayad ng at least minimum amount due para mapanatiling active ang inyong card at maiwasan ang late payment fee. Maaari ninyong puntahan ang bit.ly/HCPayNow para magbayad online o tignan ang list of available payment partners dito. Para sa mga enrolled sa ADA, we have resumed regular bank debiting on your loan due date in the month of June. We will resume regular debiting three days before your due date from July 1 due date onwards. From htorrado at networkdreams.net Tue Jul 14 12:03:47 2020 From: htorrado at networkdreams.net (htorrado at networkdreams.net) Date: Tue, 14 Jul 2020 16:03:47 +0000 Subject: Live code server with Debian 8 Jesse In-Reply-To: <4b58bdec-b352-b298-3d61-9afb53ef944f@fourthworld.com> References: <4f752bb8-cbb1-37ad-43fe-f19d3e1cd039@networkdreams.net> <4b58bdec-b352-b298-3d61-9afb53ef944f@fourthworld.com> Message-ID: <1e145cc550b737b195d3e765bfc2c03b@networkdreams.net> Thanks Richard, I'll do it and I'll create an English version of the article. Best, Hery El 13-07-2020 20:18, Richard Gaskin via use-livecode escribi?: > Good tutorial, Heriberto: > >> I use Livecode server on several Linux machines: >> >> Centos 7 / 8 and Ubuntu 14/16/18. >> >> I didn't need 32bits libraries. >> >> I created a brief installation tuto in my blog: >> >> https://www.hermanotemblon.com/instalacion-de-livecode-server-en-ubuntu/ >> >> It is in Spanish, but you could use Google translator. > > If you put those individual bash statements together into an executable script file you'd have a pretty handy installer. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Jul 14 12:58:15 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Jul 2020 16:58:15 +0000 Subject: Tab Buttons Mac vs. Win Message-ID: <79D3AF03-3E27-472E-A875-5B387DCD0AD8@iotecdigital.com> Hi all. I would LOVE to find out how Livecode for Mac draws those beautiful tab buttons so I can duplicate it on Windows, because DAYAM are the Windows ones ugly! Bob S From klaus at major-k.de Tue Jul 14 13:01:33 2020 From: klaus at major-k.de (Klaus major-k) Date: Tue, 14 Jul 2020 19:01:33 +0200 Subject: Tab Buttons Mac vs. Win In-Reply-To: <79D3AF03-3E27-472E-A875-5B387DCD0AD8@iotecdigital.com> References: <79D3AF03-3E27-472E-A875-5B387DCD0AD8@iotecdigital.com> Message-ID: <2B1B1429-4D91-4729-BC04-1FDCFE8C0BE0@major-k.de> Hi Bob, > Am 14.07.2020 um 18:58 schrieb Bob Sneidar via use-livecode : > > Hi all. > > I would LOVE to find out how Livecode for Mac draws those beautiful tab buttons so I can duplicate it on Windows, because DAYAM are the Windows ones ugly! these controls (and more like checkboxes etc.) are supplied by the underlying OS! So you will need to fake it with screenshots of the Mac tabbed button. > Bob S Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From kevin at stallibrass.com Tue Jul 14 13:50:35 2020 From: kevin at stallibrass.com (Kevin Stallibrass) Date: Tue, 14 Jul 2020 18:50:35 +0100 Subject: Re live code server with Debian 8 Jessie Message-ID: <300074DA-E9A1-41CE-92C0-613926853555@stallibrass.com> Thanks everyone. Well, you live and learn. No need for the 32bit libraries. Yippee! I took Marks advice and tried Debian 9 but fell foul of driver issues so went back to 8. I ended up with the same issue as before (livecode server appearing to not fire up) but discovered that files in the base html folder worked fine while those in subfolders did not. I recreated the folders using the terminal, copied the files in and everything works. Well, except for my old site which runs perfectly on Ubuntu 16 but now needs some serious updates. But that?s another story Regards Kevin Sent from my iPad From dan at clearvisiontech.com Tue Jul 14 19:28:39 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 14 Jul 2020 23:28:39 +0000 Subject: returnKey and ask on iPhone Message-ID: Question... Why doesn't the returnKey on my iPhone change to the "Next" option? mobileSetKeyboardReturnKey "next" ask "" with pLabel titled askTitle if the result = "cancel" then exit thisThing end if put it into tAskData What am I doing wrong? -Dan From kevin at stallibrass.com Wed Jul 15 06:07:53 2020 From: kevin at stallibrass.com (kevin at stallibrass.com) Date: Wed, 15 Jul 2020 11:07:53 +0100 Subject: Live code Server revOpenDatabase help needed In-Reply-To: References: Message-ID: <000301d65a8f$cf41d6b0$6dc58410$@com> Hi, I've been running a very old (32bit lc server v6 on Ubuntu 16) for years and the following script works to connect to the SQL database. My new(er) server (64bit lc server v9 on Debian 8) throws up ~Function: error in function handler (revOpenDatabase)~ so something has clearly changed. I've tried removing the socket references, changing the connection type but the error message remains the same. Has the syntax for revOpenDatabase changed and I'm reading old documentation again? Thanks Kevin # connect to the database command dbConnect put "/var/run/mysqld/mysqld.sock" into _Socket put revOpenDatabase("MySql", "localhost:3306", _dbName, _dbUser, _dbPass,, _Socket) into DB if DB is not a number then put "Error: could not connect to database!" & BR end dbConnect From rdimola at evergreeninfo.net Wed Jul 15 08:23:14 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 15 Jul 2020 08:23:14 -0400 Subject: returnKey and ask on iPhone In-Reply-To: References: Message-ID: <000601d65aa2$b96787a0$2c3696e0$@net> Does it work for an LC field or native field? Maybe custom keyboard is not supported for "ask"? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dan Friedman via use-livecode Sent: Tuesday, July 14, 2020 7:29 PM To: How to use LiveCode Cc: Dan Friedman Subject: returnKey and ask on iPhone Question... Why doesn't the returnKey on my iPhone change to the "Next" option? mobileSetKeyboardReturnKey "next" ask "" with pLabel titled askTitle if the result = "cancel" then exit thisThing end if put it into tAskData What am I doing wrong? -Dan _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Jul 15 08:36:34 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 15 Jul 2020 08:36:34 -0400 Subject: Live code Server revOpenDatabase help needed In-Reply-To: <000301d65a8f$cf41d6b0$6dc58410$@com> References: <000301d65a8f$cf41d6b0$6dc58410$@com> Message-ID: <000d01d65aa4$96c81640$c45842c0$@net> Kevin, I ran into this when I updated to 64 bit. It was a script only library stack. I don't know why it worked in v6 but did not work in v9. For me it was fastJson.livecodescript that caused the problem so I just used the built json in v9 and all was OK. Why it showed up in a DB open is a mystery? https://quality.livecode.com/show_bug.cgi?id=22514 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of kevin--- via use-livecode Sent: Wednesday, July 15, 2020 6:08 AM To: use-livecode at lists.runrev.com Cc: kevin at stallibrass.com Subject: Live code Server revOpenDatabase help needed Hi, I've been running a very old (32bit lc server v6 on Ubuntu 16) for years and the following script works to connect to the SQL database. My new(er) server (64bit lc server v9 on Debian 8) throws up ~Function: error in function handler (revOpenDatabase)~ so something has clearly changed. I've tried removing the socket references, changing the connection type but the error message remains the same. Has the syntax for revOpenDatabase changed and I'm reading old documentation again? Thanks Kevin # connect to the database command dbConnect put "/var/run/mysqld/mysqld.sock" into _Socket put revOpenDatabase("MySql", "localhost:3306", _dbName, _dbUser, _dbPass,, _Socket) into DB if DB is not a number then put "Error: could not connect to database!" & BR end dbConnect _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From info at homecredit.ph Wed Jul 15 12:01:36 2020 From: info at homecredit.ph (info at homecredit.ph) Date: Thu, 16 Jul 2020 00:01:36 +0800 (PHT) Subject: use-livecode Digest, Vol 202, Issue 16 In-Reply-To: Message-ID: <0361QaFGBCXUQC7C@homecredit.ph> This is an automated response. We're currently working on a skeletal workforce due to the Covid-19 pandemic and it may take us 4-5 days to respond to your email. We apologize for the delay. Para sa account specific concerns, please make sure na naisulat ninyo sa email ang inyong Loan Account Number at Date of Birth, para mapabilis ang inyong transaction. Here???s a quick guide para sa mga dapat asahan ngayong new normal: Para sa mga loan customers na nag-avail ng grace period para sa mga due dates mula March 17-May 31, ang inyong loan term ay na-extend at ito ay naka-reflect na sa mobile app. Makikita rin ang equivalent na accrued interest para dito. Siguraduhin lamang na gamit ang latest version ng Home Credit app para makita ang tamang impormasyon. For more information, visit: https://homecredit.ph/payments/frequently-asked-questions/. If you???re contacting us about payment arrangements, feel free to call us at 02(7753-5712) to discuss your options. Gift payment eligibility will not be affected by the grace period and will automatically be applied on your account. You just need to make sure to keep your account updated according to the new installment schedule. For credit card customers, siguraduhing magbayad ng at least minimum amount due para mapanatiling active ang inyong card at maiwasan ang late payment fee. Maaari ninyong puntahan ang bit.ly/HCPayNow para magbayad online o tignan ang list of available payment partners dito. Para sa mga enrolled sa ADA, we have resumed regular bank debiting on your loan due date in the month of June. We will resume regular debiting three days before your due date from July 1 due date onwards. From waprothero at gmail.com Wed Jul 15 14:53:54 2020 From: waprothero at gmail.com (William Prothero) Date: Wed, 15 Jul 2020 11:53:54 -0700 Subject: Live code server with Debian 8 Jesse In-Reply-To: <1e145cc550b737b195d3e765bfc2c03b@networkdreams.net> References: <4f752bb8-cbb1-37ad-43fe-f19d3e1cd039@networkdreams.net> <4b58bdec-b352-b298-3d61-9afb53ef944f@fourthworld.com> <1e145cc550b737b195d3e765bfc2c03b@networkdreams.net> Message-ID: <3CB522F2-E169-473E-B185-E2BC954FFF65@gmail.com> Hery: I know that I would appreciate this. I have been at the periphery of deciding to mess with the livecode server, and a good tutorial that is up to date would be very helpful. My server is on Centos 7, and I would probably debug locally on my Apple using MAMP, though. But, before I invest any time on it, I would want to make sure I could get it working on my LiquidWeb (CentOS) server. Best, Bill William A. Prothero https://earthlearningsolutions.org > On Jul 14, 2020, at 9:03 AM, Heriberto Torrado via use-livecode wrote: > > Thanks Richard, > > I'll do it and I'll create an English version of the article. > > Best, > > Hery > > El 13-07-2020 20:18, Richard Gaskin via use-livecode escribi?: > >> Good tutorial, Heriberto: >> >>> I use Livecode server on several Linux machines: >>> >>> Centos 7 / 8 and Ubuntu 14/16/18. >>> >>> I didn't need 32bits libraries. >>> >>> I created a brief installation tuto in my blog: >>> >>> https://www.hermanotemblon.com/instalacion-de-livecode-server-en-ubuntu/ >>> >>> It is in Spanish, but you could use Google translator. >> >> If you put those individual bash statements together into an executable script file you'd have a pretty handy installer. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kevin at stallibrass.com Thu Jul 16 09:50:13 2020 From: kevin at stallibrass.com (kevin at stallibrass.com) Date: Thu, 16 Jul 2020 14:50:13 +0100 Subject: Live code Server revOpenDatabase help needed In-Reply-To: References: Message-ID: <000001d65b78$0886bf60$19943e20$@com> Thanks Ralph, I checked out this possibility by putting this (and the associated variable population in a button in livecode: put revOpenDatabase("mysql", tDatabaseAddress, tDatabaseName, tDatabaseUser, tDatabasePassword) into tResult Works fine from livecode so I know there is no issue with the database but when I place the same line into a single page website and use 64bit livecode server, it fails on every version from 7 to 9. I'm doing my tests using livecode-community-server and was wondering if this was a limitation of the community version. It certainly wasn't with the old 32bit version because I've tried it on my old server Interestingly, my old 32 bit v6.x livecode & livecode server were happy with "MySql" but v9 Livecode only accepts "mysql" I would test a 32bit server version but it's seemingly impossible to install working 32bit libraries in Debian 8 or 9 Regards Kevin -----Original Message----- Message: 9 Date: Wed, 15 Jul 2020 08:36:34 -0400 From: "Ralph DiMola" To: "'How to use LiveCode'" Subject: RE: Live code Server revOpenDatabase help needed Message-ID: <000d01d65aa4$96c81640$c45842c0$@net> Content-Type: text/plain; charset="us-ascii" Kevin, I ran into this when I updated to 64 bit. It was a script only library stack. I don't know why it worked in v6 but did not work in v9. For me it was fastJson.livecodescript that caused the problem so I just used the built json in v9 and all was OK. Why it showed up in a DB open is a mystery? https://quality.livecode.com/show_bug.cgi?id=22514 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of kevin--- via use-livecode Sent: Wednesday, July 15, 2020 6:08 AM To: use-livecode at lists.runrev.com Cc: kevin at stallibrass.com Subject: Live code Server revOpenDatabase help needed Hi, I've been running a very old (32bit lc server v6 on Ubuntu 16) for years and the following script works to connect to the SQL database. My new(er) server (64bit lc server v9 on Debian 8) throws up ~Function: error in function handler (revOpenDatabase)~ so something has clearly changed. I've tried removing the socket references, changing the connection type but the error message remains the same. Has the syntax for revOpenDatabase changed and I'm reading old documentation again? Thanks Kevin # connect to the database command dbConnect put "/var/run/mysqld/mysqld.sock" into _Socket put revOpenDatabase("MySql", "localhost:3306", _dbName, _dbUser, _dbPass,, _Socket) into DB if DB is not a number then put "Error: could not connect to database!" & BR end dbConnect _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ------------------------------ Subject: Digest Footer _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-livecode ------------------------------ End of use-livecode Digest, Vol 202, Issue 16 ********************************************* From benr at cogapp.com Thu Jul 16 09:59:27 2020 From: benr at cogapp.com (Ben Rubinstein) Date: Thu, 16 Jul 2020 14:59:27 +0100 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: <3e6af03d-77d1-2055-d555-ef976bc73997@cogapp.com> References: <8493c65b-f5fd-f731-3de9-fd3e2aa5c614@cogapp.com> <3e6af03d-77d1-2055-d555-ef976bc73997@cogapp.com> Message-ID: <9380a60f-2736-982d-aae5-36086eeb3709@cogapp.com> Hi Mike, Brian Milby put me on to the solution for the OAuth problem: > Check out bug 22557 / PR 7381. > Line 247 of oath2.livecodescript need urlEncode removed Are you still interested in this, or are you covered now? regards, Ben On 11/03/2020 20:45, Ben Rubinstein via use-livecode wrote: > Hi Mike, > > I haven't forgotten, but finally found time to take a look today and started > writing minimal comments, and thought I should at least test it - for some > reason the authorisation isn't working. For whatever reason, the call to > OAuth2 results in the error "Malformed auth code." So I can't get to test what > I'm sending. > > I'm unclear whether I've done something strange or wrong, or whether Google > has changed something that breaks LC's implementation. I've come across > references which suggest that, but they date back to last year, and I believe > I've used this stack in January. (I also tried using LC 9.0.4 with the same > result.) > > I will try to get back to this. In the meantime, have you - or anyone - found > issues recently with OAuth2, in particular against any of the Google APIs? > > Ben > > > On 08/03/2020 22:22, Mike Kerner via use-livecode wrote: >> it might help us get started.? i'm going to probably put out an rfq to wrap >> the v4 rest api, because we're going to have to come to a solution, either >> using lc or some other tool. >> >> On Sun, Mar 8, 2020 at 6:01 PM Ben Rubinstein via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Mike, >>> >>> Very happy to share what I've got, but it's really not much - just a very >>> thin >>> wrapper round Google's API - and it's undocumented, mostly rough code - >>> copied >>> from one stack to the next, usually done in a tearing hurry! >>> >>> I'll try to pull something together, but please promise not to judge me... >>> >>> Ben >>> >>> On 06/03/2020 15:13, Mike Kerner via use-livecode wrote: >>>> Ben, >>>> would you send me what you've got?? I was considering paying someone to >>>> wrap the entire v4 api and dropping mergGoogle, so any head start would >>> be >>>> useful.? LC wants tribute to do the work (which is a little disappointing >>>> since we financed the original external, so we sort-of hoped that it >>> would >>>> become a thing, and it would get updated as required, but crap happens). >>>> >>>> On Thu, Mar 5, 2020 at 6:04 PM Ben Rubinstein via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> On 04/03/2020 20:37, Mike Kerner via use-livecode wrote: >>>>>> is anyone using anything besides mergGoogle to work with google sheets? >>>>>> care to share, if you are? >>>>> >>>>> I'm just using the Google Sheets API directly from LiveCode - just >>> pushing >>>>> JSON back and forth. The API is limited, but what's there is very easy >>> to >>>>> work >>>>> with - much better than manipulating xlsx files. >>>>> >>>>> I started using it to get data from clients, and then processing data >>> and >>>>> pushing it back into the sheets. I've also used on some experimental >>> image >>>>> processing, where I found that pushing the results of LiveCode functions >>>>> into >>>>> a google sheet immediately gave me an nice interface in which to review >>>>> the >>>>> data, and then I could also use the spreadsheet functions to do >>> evaluation >>>>> and >>>>> testing. >>>>> >>>>> Ben >>>>> >>>>> ____ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Thu Jul 16 13:20:49 2020 From: mkoob at rogers.com (Martin Koob) Date: Thu, 16 Jul 2020 13:20:49 -0400 Subject: Congrats to everyone on success of the Covid-19 -- LiveCode Impact Fund Campaign. References: <0237946F-F436-4A89-84B1-5C61BF092958.ref@rogers.com> Message-ID: <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> Hi. Another successful campaign ? 100% funded. Congrats to Kevin and all the folks at LiveCode and thanks to all the fellow members of the community who chipped in to reach the goal. We always seem to make it at the end of these campaigns.. It is like and auction and it seems there are a number of people who stand at the sidelines till the last few days and then the serious bidding starts, people get excited and may end up buying a thing or two they hadn?t intended to to see it go over the edge. Always an interesting phenomenon to watch from this side. I wonder if this is unique to the LiveCode community. It would be an interesting study for some graduate student in business or psychology. Martin Koob From marksmithhfx at gmail.com Thu Jul 16 14:06:51 2020 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 16 Jul 2020 19:06:51 +0100 Subject: Congrats to everyone on success of the Covid-19 -- LiveCode Impact Fund Campaign. In-Reply-To: <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> References: <0237946F-F436-4A89-84B1-5C61BF092958.ref@rogers.com> <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> Message-ID: Yes, big congrats to everyone; contributors and fund raisers alike . Quite a feat. I look forward to exciting new developments. Mark > On Jul 16, 2020, at 6:20 PM, Martin Koob via use-livecode wrote: > > Hi. > > Another successful campaign ? 100% funded. Congrats to Kevin and all the folks at LiveCode and thanks to all the fellow members of the community who chipped in to reach the goal. > > We always seem to make it at the end of these campaigns.. It is like and auction and it seems there are a number of people who stand at the sidelines till the last few days and then the serious bidding starts, people get excited and may end up buying a thing or two they hadn?t intended to to see it go over the edge. Always an interesting phenomenon to watch from this side. I wonder if this is unique to the LiveCode community. It would be an interesting study for some graduate student in business or psychology. > > Martin Koob > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bdrunrev at gmail.com Fri Jul 17 07:52:28 2020 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 17 Jul 2020 12:52:28 +0100 Subject: breakpoint causes 3 second delay then exit to top Message-ID: This is mystifying in so many ways. I've seen this a few times and I'm at a loss to explain it. It's LC 9.5.1 on Windows 10. I have a simple conditional, where I want to stop execution and debug some following actions. Here's the code: *try* *if* "15474" is in tControlLongId *then* *put* the long time && tControlLongId *breakpoint* *end* *if* *catch* tErr *put* "error:" && tErr *end* *try* *When the code gets to the above breakpoint, the debugger exits to top. It takes about 3 seconds with the debugger sitting at the breakpoint before the engine exits to top.* * A long id containing "15474" is put into the message box. * *If I comment out that condition, then the code runs to completion. * *The Catch clause never catches any error.* * If I try to use a red breakpoint in the gutter, the debugger exits to top (again, after the IDE has sat at the breakpoint for about 3 seconds). * *So the condition triggers. The variable has the tested value. The value of that variable can be expressed. But it looks like the very act of invoking the debugger causes the code to fail, and in a way where even a try/catch block cannot intercept.* *Mystifying. And a significant bug IMO, rendering interactive debugging impossible.* *Kind regards, Bernard * From htorrado at networkdreams.net Fri Jul 17 10:28:57 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Fri, 17 Jul 2020 10:28:57 -0400 Subject: Live code server with Debian 8 Jesse In-Reply-To: <3CB522F2-E169-473E-B185-E2BC954FFF65@gmail.com> References: <4f752bb8-cbb1-37ad-43fe-f19d3e1cd039@networkdreams.net> <4b58bdec-b352-b298-3d61-9afb53ef944f@fourthworld.com> <1e145cc550b737b195d3e765bfc2c03b@networkdreams.net> <3CB522F2-E169-473E-B185-E2BC954FFF65@gmail.com> Message-ID: Hi Willian, We currently have four Centos 7/8 Servers running LiveCode Server. They work like a charm. I'm pretty busy, but I'll create a brief tutorial next week. I'll let you know when I'm finished. Best, Hery On 7/15/20 2:53 PM, William Prothero via use-livecode wrote: > Hery: > I know that I would appreciate this. I have been at the periphery of deciding to mess with the livecode server, and a good tutorial that is up to date would be very helpful. My server is on Centos 7, and I would probably debug locally on my Apple using MAMP, though. But, before I invest any time on it, I would want to make sure I could get it working on my LiquidWeb (CentOS) server. > > Best, > Bill > > William A. Prothero > https://earthlearningsolutions.org > >> On Jul 14, 2020, at 9:03 AM, Heriberto Torrado via use-livecode wrote: >> >> Thanks Richard, >> >> I'll do it and I'll create an English version of the article. >> >> Best, >> >> Hery >> >> El 13-07-2020 20:18, Richard Gaskin via use-livecode escribi?: >> >>> Good tutorial, Heriberto: >>> >>>> I use Livecode server on several Linux machines: >>>> >>>> Centos 7 / 8 and Ubuntu 14/16/18. >>>> >>>> I didn't need 32bits libraries. >>>> >>>> I created a brief installation tuto in my blog: >>>> >>>> https://www.hermanotemblon.com/instalacion-de-livecode-server-en-ubuntu/ >>>> >>>> It is in Spanish, but you could use Google translator. >>> If you put those individual bash statements together into an executable script file you'd have a pretty handy installer. >>> >>> -- >>> Richard Gaskin >>> Fourth World Systems >>> Software Design and Development for the Desktop, Mobile, and the Web >>> ____________________________________________________________________ >>> Ambassador at FourthWorld.com http://www.FourthWorld.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Hola, buenos d?as: Un abrazo Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From tom at makeshyft.com Fri Jul 17 11:52:18 2020 From: tom at makeshyft.com (Tom Glod) Date: Fri, 17 Jul 2020 11:52:18 -0400 Subject: Congrats to everyone on success of the Covid-19 -- LiveCode Impact Fund Campaign. In-Reply-To: References: <0237946F-F436-4A89-84B1-5C61BF092958.ref@rogers.com> <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> Message-ID: Congrats Livecode Inc on reaching the goal.... that is good news for us all! On Thu, Jul 16, 2020 at 2:08 PM Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > Yes, big congrats to everyone; contributors and fund raisers alike . Quite > a feat. I look forward to exciting new developments. > > Mark > > > > On Jul 16, 2020, at 6:20 PM, Martin Koob via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi. > > > > Another successful campaign ? 100% funded. Congrats to Kevin and all > the folks at LiveCode and thanks to all the fellow members of the community > who chipped in to reach the goal. > > > > We always seem to make it at the end of these campaigns.. It is like > and auction and it seems there are a number of people who stand at the > sidelines till the last few days and then the serious bidding starts, > people get excited and may end up buying a thing or two they hadn?t > intended to to see it go over the edge. Always an interesting phenomenon > to watch from this side. I wonder if this is unique to the LiveCode > community. It would be an interesting study for some graduate student in > business or psychology. > > > > Martin Koob > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From ludovic.thebault at laposte.net Fri Jul 17 12:06:03 2020 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Fri, 17 Jul 2020 18:06:03 +0200 Subject: breakpoint causes 3 second delay then exit to top In-Reply-To: References: Message-ID: <1B4AD8D6-8085-470D-BCB2-1B6B8E381919@laposte.net> > Le 17 juil. 2020 ? 13:52, Bernard Devlin via use-livecode a ?crit : > > This is mystifying in so many ways. I've seen this a few times and I'm at > a loss to explain it. It's LC 9.5.1 on Windows 10. > > *When the code gets to the above breakpoint, the debugger exits to top. It > takes about 3 seconds with the debugger sitting at the breakpoint before > the engine exits to top.* > Hello, I've already had the same behavior but I noticed that it happens when there is an error in the executed code (but an error that doesn't block the execution of the script !). By fixing the script, the breakpoint then works as it should. Maybe there is an error in your script (before the code you displayed here). Ludovic From bdrunrev at gmail.com Fri Jul 17 14:35:46 2020 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 17 Jul 2020 19:35:46 +0100 Subject: breakpoint causes 3 second delay then exit to top In-Reply-To: <1B4AD8D6-8085-470D-BCB2-1B6B8E381919@laposte.net> References: <1B4AD8D6-8085-470D-BCB2-1B6B8E381919@laposte.net> Message-ID: I found later that the same thing was happening away from this code block, and with just a red breakpoint. As I don't restart my PC for weeks on end, I quit LC and restarted. Both of these strange error situations disappeared. Which suggests that it is some complex condition (either within my app or within the IDE) that leads to this situation. On Fri, Jul 17, 2020 at 5:09 PM Ludovic THEBAULT via use-livecode < use-livecode at lists.runrev.com> wrote: > > > > Le 17 juil. 2020 ? 13:52, Bernard Devlin via use-livecode < > use-livecode at lists.runrev.com> a ?crit : > > > > This is mystifying in so many ways. I've seen this a few times and I'm > at > > a loss to explain it. It's LC 9.5.1 on Windows 10. > > > > *When the code gets to the above breakpoint, the debugger exits to top. > It > > takes about 3 seconds with the debugger sitting at the breakpoint before > > the engine exits to top.* > > > > Hello, > > I've already had the same behavior but I noticed that it happens when > there is an error in the executed code (but an error that doesn't block the > execution of the script !). By fixing the script, the breakpoint then works > as it should. > > Maybe there is an error in your script (before the code you displayed > here). > > Ludovic > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Fri Jul 17 15:21:07 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 17 Jul 2020 20:21:07 +0100 Subject: Congrats to everyone on success of the Covid-19 -- LiveCode Impact Fund Campaign. In-Reply-To: References: Message-ID: <4624089F-7856-4A61-A666-527AB4A01153@pidigital.co.uk> Martin, are you saying there are campaign snipers :D Well done LC. Worth keeping it alive. Always lots of potential. Sean Cole Pi Digital Productions Ltd > On 17 Jul 2020, at 16:52, Tom Glod via use-livecode wrote: > > ?Congrats Livecode Inc on reaching the goal.... that is good news for us all! > > > >> On Thu, Jul 16, 2020 at 2:08 PM Mark Smith via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Yes, big congrats to everyone; contributors and fund raisers alike . Quite >> a feat. I look forward to exciting new developments. >> >> Mark >> >> >>> On Jul 16, 2020, at 6:20 PM, Martin Koob via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hi. >>> >>> Another successful campaign ? 100% funded. Congrats to Kevin and all >> the folks at LiveCode and thanks to all the fellow members of the community >> who chipped in to reach the goal. >>> >>> We always seem to make it at the end of these campaigns.. It is like >> and auction and it seems there are a number of people who stand at the >> sidelines till the last few days and then the serious bidding starts, >> people get excited and may end up buying a thing or two they hadn?t >> intended to to see it go over the edge. Always an interesting phenomenon >> to watch from this side. I wonder if this is unique to the LiveCode >> community. It would be an interesting study for some graduate student in >> business or psychology. >>> >>> Martin Koob >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Fri Jul 17 15:40:37 2020 From: mkoob at rogers.com (Martin Koob) Date: Fri, 17 Jul 2020 15:40:37 -0400 Subject: Congrats to everyone on success of the Covid-19 -- LiveCode Impact Fund Campaign. In-Reply-To: <4624089F-7856-4A61-A666-527AB4A01153@pidigital.co.uk> References: <4624089F-7856-4A61-A666-527AB4A01153@pidigital.co.uk> Message-ID: <77EAD515-B5B9-46A9-A0BD-8632B9C9B1F8@rogers.com> Hi Sean, I hadn?t heard of ?campaign snipers? but it sounded like a thing, maybe some new lingo the young folk say about a type of people involved in crowd funding campaign so I searched it up. (Do they still say ?search it up??) 'campaign snipers' gets lots of Call of Duty results 'crowd funding campaign snipers' gets lots of results for online fundraisers for people who were/are snipers or sports teams named Snipers. So not a thing? It sounds like it should be a thing. What is the definition? Martin > On Jul 17, 2020, at 3:21 PM, Pi Digital via use-livecode wrote: > > Martin, are you saying there are campaign snipers :D > > Well done LC. Worth keeping it alive. Always lots of potential. > > Sean Cole > Pi Digital Productions Ltd > > >> On 17 Jul 2020, at 16:52, Tom Glod via use-livecode wrote: >> >> ?Congrats Livecode Inc on reaching the goal.... that is good news for us all! >> >> >> >>> On Thu, Jul 16, 2020 at 2:08 PM Mark Smith via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>> Yes, big congrats to everyone; contributors and fund raisers alike . Quite >>> a feat. I look forward to exciting new developments. >>> >>> Mark >>> >>> >>>> On Jul 16, 2020, at 6:20 PM, Martin Koob via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hi. >>>> >>>> Another successful campaign ? 100% funded. Congrats to Kevin and all >>> the folks at LiveCode and thanks to all the fellow members of the community >>> who chipped in to reach the goal. >>>> >>>> We always seem to make it at the end of these campaigns.. It is like >>> and auction and it seems there are a number of people who stand at the >>> sidelines till the last few days and then the serious bidding starts, >>> people get excited and may end up buying a thing or two they hadn?t >>> intended to to see it go over the edge. Always an interesting phenomenon >>> to watch from this side. I wonder if this is unique to the LiveCode >>> community. It would be an interesting study for some graduate student in >>> business or psychology. >>>> >>>> Martin Koob >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> Tom Glod >> Founder & Developer >> MakeShyft R.D.A (www.makeshyft.com) >> Mobile:647.562.9411 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jul 17 15:41:44 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 17 Jul 2020 14:41:44 -0500 Subject: Push notifications Message-ID: <0dadc613-5d60-e7c0-7bce-839ea557f24c@hyperactivesw.com> How come we're still getting this warning when submitting to the App Store: ITMS-90078: Missing Push Notification Entitlement The app does not use notifications. I know it's just a warning, but the client gets a copy of Apple's email and they get concerned. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Fri Jul 17 15:53:25 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 17 Jul 2020 15:53:25 -0400 Subject: Push notifications In-Reply-To: <0dadc613-5d60-e7c0-7bce-839ea557f24c@hyperactivesw.com> References: <0dadc613-5d60-e7c0-7bce-839ea557f24c@hyperactivesw.com> Message-ID: <00c501d65c73$f1f9c240$d5ed46c0$@net> Same here. Customers don't want to hear nor will they understand the technical reason why. It just annoys the heck out of them. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Friday, July 17, 2020 3:42 PM To: LiveCode Mailing List Cc: J. Landman Gay Subject: Push notifications How come we're still getting this warning when submitting to the App Store: ITMS-90078: Missing Push Notification Entitlement The app does not use notifications. I know it's just a warning, but the client gets a copy of Apple's email and they get concerned. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jul 17 17:28:06 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 17 Jul 2020 16:28:06 -0500 Subject: Congrats to everyone on success of the Covid-19 -- LiveCode Impact Fund Campaign. In-Reply-To: <77EAD515-B5B9-46A9-A0BD-8632B9C9B1F8@rogers.com> References: <4624089F-7856-4A61-A666-527AB4A01153@pidigital.co.uk> <77EAD515-B5B9-46A9-A0BD-8632B9C9B1F8@rogers.com> Message-ID: <4cc7e080-fa01-6f85-1274-ba0bd6ebf27b@hyperactivesw.com> On 7/17/20 2:40 PM, Martin Koob via use-livecode wrote: > I hadn?t heard of ?campaign snipers? but it sounded like a thing I suspect it was a pun or a reference to eBay sniping. That's when bidders wait until the very last second of an auction and then swoop in with a higher price in order to get the item without allowing the bidding to go up any higher. There are third-party eBay apps that will snipe for you automatically in order to submit the highest price at the last nanosecond. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephen at barncard.com Fri Jul 17 17:40:54 2020 From: stephen at barncard.com (Stephen Barncard) Date: Fri, 17 Jul 2020 14:40:54 -0700 Subject: Congrats to everyone on success of the Covid-19 -- LiveCode Impact Fund Campaign. In-Reply-To: <4cc7e080-fa01-6f85-1274-ba0bd6ebf27b@hyperactivesw.com> References: <4624089F-7856-4A61-A666-527AB4A01153@pidigital.co.uk> <77EAD515-B5B9-46A9-A0BD-8632B9C9B1F8@rogers.com> <4cc7e080-fa01-6f85-1274-ba0bd6ebf27b@hyperactivesw.com> Message-ID: *Esnipe* is an independently developed web app that is using the ebay api, and the interesting part is that *it's allegedly using livecode and/or livecode server! * I use it all the time! I'm usually able to get almost anything I want from ebay. I don't ever worry before the timer runs out. If it's above my own "reserve" then it's ok. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Fri, Jul 17, 2020 at 2:29 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 7/17/20 2:40 PM, Martin Koob via use-livecode wrote: > > I hadn?t heard of ?campaign snipers? but it sounded like a thing > > I suspect it was a pun or a reference to eBay sniping. That's when bidders > wait until the very > last second of an auction and then swoop in with a higher price in order > to get the item > without allowing the bidding to go up any higher. There are third-party > eBay apps that will > snipe for you automatically in order to submit the highest price at the > last nanosecond. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Sat Jul 18 01:35:56 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 17 Jul 2020 22:35:56 -0700 Subject: Styled text on mobile Message-ID: <8fc7f36a-ec66-b61d-db6c-8c18edf876a3@fourthworld.com> Am I dreaming the impossible dream? -- Richard Gaskin Fourth World Systems From ambassador at fourthworld.com Sat Jul 18 01:49:01 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 17 Jul 2020 22:49:01 -0700 Subject: Tab Buttons Mac vs. Win In-Reply-To: <79D3AF03-3E27-472E-A875-5B387DCD0AD8@iotecdigital.com> References: <79D3AF03-3E27-472E-A875-5B387DCD0AD8@iotecdigital.com> Message-ID: Bob Sneidar wrote: > I would LOVE to find out how Livecode for Mac draws those beautiful > tab buttons so I can duplicate it on Windows, because DAYAM are the > Windows ones ugly! Around the turn of the century I wrote to Bruce Tognazzini, back when he was still taking email questions. I asked him about the proper placement of confirmation and dismissal buttons (often "OK" and "Cancel") in cross-platform apps. I was familiar with his early research on how the Mac layout (confirmation on the right) matched eye tracking studies on scanning order, and thus was a better solution. On Windows reading order is used (confirmation on the left), which might seem better but not in UIs; dialog boxes just aren't read as much as skimmed, so rather than taking in each line individually as we do when we read, most folks more or less just scan from upper-left to lower-right, where on Mac the action button awaits. So I asked Tog: "Given that the Mac way is borne out by research, wouldn't it be better to use to Mac way in my Windows apps as well?" He was kind enough in his reply, acknowledging that at least my heart was in the right place with wanting to "do the right thing" by the user. But he was also blunt: I had missed something even more important than research. I had overlooked the significance of user habits. When a user spends years with an OS design, they build up a cognitive and muscle memory, so strong that even when research shows an advantage to a different means, the consistency winds up outweighing it. In short, he suggested I do Windows things on Windows, and leave Mac things on Mac. Who am I to argue with Tog? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From terry.judd at unimelb.edu.au Sat Jul 18 02:08:20 2020 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sat, 18 Jul 2020 06:08:20 +0000 Subject: Styled text on mobile In-Reply-To: <8fc7f36a-ec66-b61d-db6c-8c18edf876a3@fourthworld.com> References: <8fc7f36a-ec66-b61d-db6c-8c18edf876a3@fourthworld.com> Message-ID: Not if you are ok with using a LC field or a browser object to display it, but if you want to use a native single or multi-line text field - then yes. Terry... ?On 18/07/2020, 15:37, "use-livecode on behalf of Richard Gaskin via use-livecode" wrote: Am I dreaming the impossible dream? -- Richard Gaskin Fourth World Systems _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Jul 18 02:11:12 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 18 Jul 2020 01:11:12 -0500 Subject: Styled text on mobile In-Reply-To: <8fc7f36a-ec66-b61d-db6c-8c18edf876a3@fourthworld.com> References: <8fc7f36a-ec66-b61d-db6c-8c18edf876a3@fourthworld.com> Message-ID: <173608c4400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It's possible. For a LiveCode field, note that the font has to have a font variant for each style. Some time ago LC stopped supporting artificially altered font styles. The native system font on each mobile OS supports all styles. Or do you mean something else? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 18, 2020 1:04:44 AM Richard Gaskin via use-livecode wrote: > Am I dreaming the impossible dream? > > -- > Richard Gaskin > Fourth World Systems > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephen at barncard.com Sat Jul 18 03:12:52 2020 From: stephen at barncard.com (Stephen Barncard) Date: Sat, 18 Jul 2020 00:12:52 -0700 Subject: Tab Buttons Mac vs. Win In-Reply-To: References: <79D3AF03-3E27-472E-A875-5B387DCD0AD8@iotecdigital.com> Message-ID: I had become aware of and long appreciated Tog, even in 1983 when I had a job at Datamost, and the first mac on my desktop. The single floppy and the horrible printer got in the way and I didn't again consider the machine for my hardware control development work over the Apple ][ until 1987 when I got A&M Studios connected to the developer program (thanks to fellow Datamost employee Craig Keithley). It was in that first box that the Mac SE (with a 20mb hard drive) that I went looking for the included "card". What card? Where is it? Oh, it's *Hypercard*! It changed my life of course and that of A&M Studios too. After that I could fully understand and utilize Tog's vision and its Xerox roots embedded in this wonderful tool as I built a dedicated control system for A&M tape copy . I think Tognazzini was written about in that first Mac User issue that featured members of the original design team. Keithley was a friend of Steve Jobs and Woz in the Apple ][ garage days, could have been employee #4 but he was very young and he and his parents moved to LA. He was "slightly" unhappy about that. He eventually got a job at 1 Infinite Loop. I'm sure Mike Markkula (Johnny Appleseed) knew of him too. If in 1975 I hadn't gotten pissed off at the Grateful Dead and taken off to LA, I very likely would have ended up at that Homebrew Computer Club because I was seeking information about these microprocessor thingies. In life, there are many forks in the road. Brushes with greatness. I am truly fortunate. sqb -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Fri, Jul 17, 2020 at 10:50 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Bob Sneidar wrote: > > > I would LOVE to find out how Livecode for Mac draws those beautiful > > tab buttons so I can duplicate it on Windows, because DAYAM are the > > Windows ones ugly! > > Around the turn of the century I wrote to Bruce Tognazzini, back when he > was still taking email questions. > > I asked him about the proper placement of confirmation and dismissal > buttons (often "OK" and "Cancel") in cross-platform apps. I was > familiar with his early research on how the Mac layout (confirmation on > the right) matched eye tracking studies on scanning order, and thus was > a better solution. On Windows reading order is used (confirmation on > the left), which might seem better but not in UIs; dialog boxes just > aren't read as much as skimmed, so rather than taking in each line > individually as we do when we read, most folks more or less just scan > from upper-left to lower-right, where on Mac the action button awaits. > > So I asked Tog: > > "Given that the Mac way is borne out by research, wouldn't it be better > to use to Mac way in my Windows apps as well?" > > He was kind enough in his reply, acknowledging that at least my heart > was in the right place with wanting to "do the right thing" by the user. > But he was also blunt: I had missed something even more important than > research. I had overlooked the significance of user habits. > > When a user spends years with an OS design, they build up a cognitive > and muscle memory, so strong that even when research shows an advantage > to a different means, the consistency winds up outweighing it. > > In short, he suggested I do Windows things on Windows, and leave Mac > things on Mac. > > Who am I to argue with Tog? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From phil at pdslabs.net Sat Jul 18 03:17:03 2020 From: phil at pdslabs.net (Phil Davis) Date: Sat, 18 Jul 2020 00:17:03 -0700 Subject: tsnetGetFile() example using HTTP? Message-ID: Does anyone have an working example stack you're willing to share where 'tsnetGetFile' or 'tsnetGetFileSync' is using HTTP (or HTTPS) to download a file? I have had limited success using FTP but it consistently fails (in my situation at least) when files are bigger than 200-300 MB (depending I guess on network traffic at that moment, or ???). Today I started with the example described in the lesson: http://lessons.livecode.com/m/4071/l/945907-how-to-download-multiple-files-in-the-background-with-tsnet The example uses HTTP via 'tsnetGet' to download the text of web pages into a variable, and then uses "put tData into url ("file:" )" to make the files. In my real-world situation I can't do that. My actual downloads are binary files that can be over 1 GB. I need to download them as files to the local disk, so for me 'tsnetGet' is out. There are no tsnet examples on http://livecodeshare.runrev.com/ so I'm turning to you (which I should have done earlier). (Is there anywhere else I should look for examples? I did look on stackexchange and stackoverflow but no joy.) Thanks for any and all responses. -- Phil Davis 503-307-4363 From charles at techstrategies.com.au Sat Jul 18 03:54:42 2020 From: charles at techstrategies.com.au (Charles Warwick) Date: Sat, 18 Jul 2020 17:54:42 +1000 Subject: tsnetGetFile() example using HTTP? In-Reply-To: References: Message-ID: Hi Phil, Does this lesson help you? http://lessons.livecode.com/m/4071/l/853715-how-to-asynchronously-download-via-sftp-directly-to-a-file It uses SFTP with tsNetGetFile, so while the protocol used is different, the concept is the same. Regards, Charles > On 18 Jul 2020, at 5:17 pm, Phil Davis via use-livecode wrote: > > Does anyone have an working example stack you're willing to share where 'tsnetGetFile' or 'tsnetGetFileSync' is using HTTP (or HTTPS) to download a file? I have had limited success using FTP but it consistently fails (in my situation at least) when files are bigger than 200-300 MB (depending I guess on network traffic at that moment, or ???). > > Today I started with the example described in the lesson: > http://lessons.livecode.com/m/4071/l/945907-how-to-download-multiple-files-in-the-background-with-tsnet > > The example uses HTTP via 'tsnetGet' to download the text of web pages into a variable, and then uses "put tData into url ("file:" )" to make the files. In my real-world situation I can't do that. My actual downloads are binary files that can be over 1 GB. I need to download them as files to the local disk, so for me 'tsnetGet' is out. > > There are no tsnet examples on http://livecodeshare.runrev.com/ so I'm turning to you (which I should have done earlier). > > (Is there anywhere else I should look for examples? I did look on stackexchange and stackoverflow but no joy.) > > Thanks for any and all responses. > > -- > Phil Davis > 503-307-4363 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From phil at pdslabs.net Sat Jul 18 04:48:28 2020 From: phil at pdslabs.net (Phil Davis) Date: Sat, 18 Jul 2020 01:48:28 -0700 Subject: tsnetGetFile() example using HTTP? In-Reply-To: References: Message-ID: <5301b819-5576-e74c-7824-c1e832aa2f6a@pdslabs.net> Hi Charles, Thanks for the response. Yes, my app is doing what is shown in the lesson (using FTP) and it's generally successful as long as the files aren't too large. Are you saying I can probably just change the protocol to HTTP and it will likely work? I'll try it when I'm not so bleary-eyed (it's almost 2 AM here in the US Pacific Northwest). Phil On 7/18/20 12:54 AM, Charles Warwick via use-livecode wrote: > Hi Phil, > > Does this lesson help you? > > http://lessons.livecode.com/m/4071/l/853715-how-to-asynchronously-download-via-sftp-directly-to-a-file > > It uses SFTP with tsNetGetFile, so while the protocol used is different, the concept is the same. > > Regards, > > Charles > >> On 18 Jul 2020, at 5:17 pm, Phil Davis via use-livecode wrote: >> >> Does anyone have an working example stack you're willing to share where 'tsnetGetFile' or 'tsnetGetFileSync' is using HTTP (or HTTPS) to download a file? I have had limited success using FTP but it consistently fails (in my situation at least) when files are bigger than 200-300 MB (depending I guess on network traffic at that moment, or ???). >> >> Today I started with the example described in the lesson: >> http://lessons.livecode.com/m/4071/l/945907-how-to-download-multiple-files-in-the-background-with-tsnet >> >> The example uses HTTP via 'tsnetGet' to download the text of web pages into a variable, and then uses "put tData into url ("file:" )" to make the files. In my real-world situation I can't do that. My actual downloads are binary files that can be over 1 GB. I need to download them as files to the local disk, so for me 'tsnetGet' is out. >> >> There are no tsnet examples on http://livecodeshare.runrev.com/ so I'm turning to you (which I should have done earlier). >> >> (Is there anywhere else I should look for examples? I did look on stackexchange and stackoverflow but no joy.) >> >> Thanks for any and all responses. >> >> -- >> Phil Davis >> 503-307-4363 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis 503-307-4363 From klaus at major-k.de Sat Jul 18 06:30:54 2020 From: klaus at major-k.de (Klaus major-k) Date: Sat, 18 Jul 2020 12:30:54 +0200 Subject: text to speech android Message-ID: Hi all, in 9.6 we have a new speech library for Mac, iOs and Android. In the dictionary "revspeak" is still listed as Mac and Windows only. Am I correct to presume that the syntax-> revspeak "what to speak" is still the same for this new speech library on Android? Thanks in advance! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From charles at techstrategies.com.au Sat Jul 18 08:10:50 2020 From: charles at techstrategies.com.au (Charles Warwick) Date: Sat, 18 Jul 2020 22:10:50 +1000 Subject: tsnetGetFile() example using HTTP? In-Reply-To: <5301b819-5576-e74c-7824-c1e832aa2f6a@pdslabs.net> References: <5301b819-5576-e74c-7824-c1e832aa2f6a@pdslabs.net> Message-ID: Hi Phil, You can use the same command with HTTP, just make sure you set any HTTP headers accordingly (similar to tsNetGet). As for the issues with FTP, which version of LC are you using? Regards, Charles > On 18 Jul 2020, at 6:48 pm, Phil Davis via use-livecode wrote: > > Hi Charles, > > Thanks for the response. Yes, my app is doing what is shown in the lesson (using FTP) and it's generally successful as long as the files aren't too large. Are you saying I can probably just change the protocol to HTTP and it will likely work? I'll try it when I'm not so bleary-eyed (it's almost 2 AM here in the US Pacific Northwest). > > Phil > > >> On 7/18/20 12:54 AM, Charles Warwick via use-livecode wrote: >> Hi Phil, >> >> Does this lesson help you? >> >> http://lessons.livecode.com/m/4071/l/853715-how-to-asynchronously-download-via-sftp-directly-to-a-file >> >> It uses SFTP with tsNetGetFile, so while the protocol used is different, the concept is the same. >> >> Regards, >> >> Charles >> >>> On 18 Jul 2020, at 5:17 pm, Phil Davis via use-livecode wrote: >>> >>> Does anyone have an working example stack you're willing to share where 'tsnetGetFile' or 'tsnetGetFileSync' is using HTTP (or HTTPS) to download a file? I have had limited success using FTP but it consistently fails (in my situation at least) when files are bigger than 200-300 MB (depending I guess on network traffic at that moment, or ???). >>> >>> Today I started with the example described in the lesson: >>> http://lessons.livecode.com/m/4071/l/945907-how-to-download-multiple-files-in-the-background-with-tsnet >>> >>> The example uses HTTP via 'tsnetGet' to download the text of web pages into a variable, and then uses "put tData into url ("file:" )" to make the files. In my real-world situation I can't do that. My actual downloads are binary files that can be over 1 GB. I need to download them as files to the local disk, so for me 'tsnetGet' is out. >>> >>> There are no tsnet examples on http://livecodeshare.runrev.com/ so I'm turning to you (which I should have done earlier). >>> >>> (Is there anywhere else I should look for examples? I did look on stackexchange and stackoverflow but no joy.) >>> >>> Thanks for any and all responses. >>> >>> -- >>> Phil Davis >>> 503-307-4363 >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- > Phil Davis > 503-307-4363 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Sat Jul 18 12:00:18 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 18 Jul 2020 09:00:18 -0700 Subject: Styled text on mobile In-Reply-To: <173608c4400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <173608c4400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <6c22b9d9-16c1-b50f-ceee-607c7e3a5c82@fourthworld.com> J. Landman Gay wrote: > It's possible. For a LiveCode field, note that the font has to have > a font variant for each style. Some time ago LC stopped supporting > artificially altered font styles. The native system font on each > mobile OS supports all styles. > > Or do you mean something else? I probably should have specified: I was hoping there might be at least something in the works to bring the scripted mobile-native editable field up to par with other apps that allow styles to be applied to text the user writes. I would expect to build the UI to set style attributes as we do on the desktop, if it were possible. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Jul 18 12:27:05 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 18 Jul 2020 09:27:05 -0700 Subject: Tab Buttons Mac vs. Win In-Reply-To: References: Message-ID: <6129ff5d-6015-2c3a-9871-147b7c9bc874@fourthworld.com> Stephen Barncard wrote: > If in 1975 I hadn't gotten pissed off at the Grateful Dead and > taken off to LA... Probably too off-topic for this list, but that sounds like a story worth hearing. Perhaps over a beer after the madness ends and travel resumes... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From stephen at barncard.com Sat Jul 18 12:49:37 2020 From: stephen at barncard.com (Stephen Barncard) Date: Sat, 18 Jul 2020 09:49:37 -0700 Subject: Tab Buttons Mac vs. Win In-Reply-To: <6129ff5d-6015-2c3a-9871-147b7c9bc874@fourthworld.com> References: <6129ff5d-6015-2c3a-9871-147b7c9bc874@fourthworld.com> Message-ID: I am off topic and off center. On Sat, Jul 18, 2020 at 09:28 Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Stephen Barncard wrote: > > > If in 1975 I hadn't gotten pissed off at the Grateful Dead and > > taken off to LA... > > Probably too off-topic for this list, but that sounds like a story worth > hearing. Perhaps over a beer after the madness ends and travel resumes... > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From dan at clearvisiontech.com Sat Jul 18 13:40:42 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Sat, 18 Jul 2020 17:40:42 +0000 Subject: Styled text on mobile In-Reply-To: <6c22b9d9-16c1-b50f-ceee-607c7e3a5c82@fourthworld.com> References: <173608c4400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <6c22b9d9-16c1-b50f-ceee-607c7e3a5c82@fourthworld.com> Message-ID: Scriptable rich text in a native mobile text field? I second that! -Dan ?On 7/18/20, 9:01 AM, "use-livecode on behalf of Richard Gaskin via use-livecode" wrote: J. Landman Gay wrote: > It's possible. For a LiveCode field, note that the font has to have > a font variant for each style. Some time ago LC stopped supporting > artificially altered font styles. The native system font on each > mobile OS supports all styles. > > Or do you mean something else? I probably should have specified: I was hoping there might be at least something in the works to bring the scripted mobile-native editable field up to par with other apps that allow styles to be applied to text the user writes. I would expect to build the UI to set style attributes as we do on the desktop, if it were possible. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From phil at pdslabs.net Sat Jul 18 14:52:54 2020 From: phil at pdslabs.net (Phil Davis) Date: Sat, 18 Jul 2020 11:52:54 -0700 Subject: tsnetGetFile() example using HTTP? In-Reply-To: References: <5301b819-5576-e74c-7824-c1e832aa2f6a@pdslabs.net> Message-ID: Thanks Charles. I probably won't get all the way back into this until Monday, just FYI. Also, HostM support has just given me an HTTPS tsnetGetFile download example stack. I tried it and my initial test worked! I still have some experimenting to do with it to find out which tsnetGetFile() settings are required for my case and which ones aren't, but the initial outcome is a great encouragement. (I'll be asking them if I can upload a mod of it to the livecodeshare site.) Although I've been developing software since the 70s (and maybe because I have been), I still don't know my HTTP headers well at all. That spills over into not knowing exactly what tsnet settings to use in certain cases. I'm pretty sure that has been a large factor in my current challenge. I'm using LC 9.6.0 on macOS 10.13.6 (my main dev machine) and up (Mojave, Catalina). Thanks again - Phil On 7/18/20 5:10 AM, Charles Warwick via use-livecode wrote: > Hi Phil, > > You can use the same command with HTTP, just make sure you set any HTTP headers accordingly (similar to tsNetGet). > > As for the issues with FTP, which version of LC are you using? > > Regards, > > Charles > >> On 18 Jul 2020, at 6:48 pm, Phil Davis via use-livecode wrote: >> >> Hi Charles, >> >> Thanks for the response. Yes, my app is doing what is shown in the lesson (using FTP) and it's generally successful as long as the files aren't too large. Are you saying I can probably just change the protocol to HTTP and it will likely work? I'll try it when I'm not so bleary-eyed (it's almost 2 AM here in the US Pacific Northwest). >> >> Phil >> >> >>> On 7/18/20 12:54 AM, Charles Warwick via use-livecode wrote: >>> Hi Phil, >>> >>> Does this lesson help you? >>> >>> http://lessons.livecode.com/m/4071/l/853715-how-to-asynchronously-download-via-sftp-directly-to-a-file >>> >>> It uses SFTP with tsNetGetFile, so while the protocol used is different, the concept is the same. >>> >>> Regards, >>> >>> Charles >>> >>>> On 18 Jul 2020, at 5:17 pm, Phil Davis via use-livecode wrote: >>>> >>>> Does anyone have an working example stack you're willing to share where 'tsnetGetFile' or 'tsnetGetFileSync' is using HTTP (or HTTPS) to download a file? I have had limited success using FTP but it consistently fails (in my situation at least) when files are bigger than 200-300 MB (depending I guess on network traffic at that moment, or ???). >>>> >>>> Today I started with the example described in the lesson: >>>> http://lessons.livecode.com/m/4071/l/945907-how-to-download-multiple-files-in-the-background-with-tsnet >>>> >>>> The example uses HTTP via 'tsnetGet' to download the text of web pages into a variable, and then uses "put tData into url ("file:" )" to make the files. In my real-world situation I can't do that. My actual downloads are binary files that can be over 1 GB. I need to download them as files to the local disk, so for me 'tsnetGet' is out. >>>> >>>> There are no tsnet examples on http://livecodeshare.runrev.com/ so I'm turning to you (which I should have done earlier). >>>> >>>> (Is there anywhere else I should look for examples? I did look on stackexchange and stackoverflow but no joy.) >>>> >>>> Thanks for any and all responses. >>>> >>>> -- >>>> Phil Davis >>>> 503-307-4363 >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> -- >> Phil Davis >> 503-307-4363 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis 503-307-4363 From jiml at netrin.com Sat Jul 18 19:47:43 2020 From: jiml at netrin.com (Jim Lambert) Date: Sat, 18 Jul 2020 16:47:43 -0700 Subject: tsnetGetFile() example using HTTP? In-Reply-To: References: Message-ID: <1FC582F0-558C-4A75-84A4-A082035077FA@netrin.com> Phil, Here?s some info on tsnet https://www.techstrategies.com.au/tsnet-resources/ Jim Lambert From klaus at major-k.de Sun Jul 19 08:28:31 2020 From: klaus at major-k.de (Klaus major-k) Date: Sun, 19 Jul 2020 14:28:31 +0200 Subject: text to speech android In-Reply-To: References: Message-ID: <26402A75-2748-42D8-9686-1373A37F833F@major-k.de> Hi Klaus, > Am 18.07.2020 um 12:30 schrieb Klaus major-k via use-livecode : > > Hi all, > > in 9.6 we have a new speech library for Mac, iOs and Android. > In the dictionary "revspeak" is still listed as Mac and Windows only. > > Am I correct to presume that the syntax-> revspeak "what to speak" > is still the same for this new speech library on Android? no, you are not correct! The new syntax is -> speechSpeakUtterance "what to speech speak or say?" > Thanks in advance! You're welcome! > Best > > Klaus Did someone could make this work on a Mac so far? Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Sun Jul 19 12:00:39 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 19 Jul 2020 18:00:39 +0200 Subject: text to speech android In-Reply-To: <26402A75-2748-42D8-9686-1373A37F833F@major-k.de> References: <26402A75-2748-42D8-9686-1373A37F833F@major-k.de> Message-ID: <4A461B20-2864-4BB8-9277-F60F49888F32@m-r-d.de> Hi Klaus, just did a quick successful test on Mac OS 10.14.6 with this script on mouseup speechInitializeLibrary end mouseup on speechLibraryInitialized pSuccess if pSuccess then speechSpeakUtterance "Hallo Klaus" get speechfinalizeLibrary() end if end speechLibraryInitialized - Matthias Rebbe Life Is Too Short For Boring Code > Am 19.07.2020 um 14:28 schrieb Klaus major-k via use-livecode : > > Hi Klaus, > >> Am 18.07.2020 um 12:30 schrieb Klaus major-k via use-livecode : >> >> Hi all, >> >> in 9.6 we have a new speech library for Mac, iOs and Android. >> In the dictionary "revspeak" is still listed as Mac and Windows only. >> >> Am I correct to presume that the syntax-> revspeak "what to speak" >> is still the same for this new speech library on Android? > > no, you are not correct! > The new syntax is -> speechSpeakUtterance "what to speech speak or say?" > >> Thanks in advance! > > You're welcome! > >> Best >> >> Klaus > > Did someone could make this work on a Mac so far? > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sun Jul 19 12:42:48 2020 From: klaus at major-k.de (Klaus major-k) Date: Sun, 19 Jul 2020 18:42:48 +0200 Subject: text to speech android In-Reply-To: <4A461B20-2864-4BB8-9277-F60F49888F32@m-r-d.de> References: <26402A75-2748-42D8-9686-1373A37F833F@major-k.de> <4A461B20-2864-4BB8-9277-F60F49888F32@m-r-d.de> Message-ID: <0840A0DC-6B82-4822-B750-6408B1685D4C@major-k.de> Hi Matthias, thank you very much! > Am 19.07.2020 um 18:00 schrieb matthias rebbe via use-livecode : > > Hi Klaus, > > just did a quick successful test on Mac OS 10.14.6 with this script > > on mouseup > speechInitializeLibrary ## Ah, was not sure if this is a handler or function. ## The dictionary says it it a handler but the example shows it as a function. > end mouseup > ... > - > Matthias Rebbe Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From frans at mac.com Sun Jul 19 13:42:52 2020 From: frans at mac.com (Frans Schoffelen) Date: Sun, 19 Jul 2020 19:42:52 +0200 Subject: Speech on ios and android In-Reply-To: References: Message-ID: <1777B982-3BD9-4FB0-AFD8-CDEB339493A4@mac.com> Thanks for the heads up on this one , totally missed it . Am going to try this on a language training app i?m working on pronto when back from the road.Will let you know if i can get it working on mac Klaus. Frans Schoffelen KNLG knowlegistics Berlin > On 19. Jul 2020, at 18:01, use-livecode-request at lists.runrev.com wrote: > > > Did someone could make this work on a Mac so far? > > > Best > > Klaus From klaus at major-k.de Sun Jul 19 13:46:25 2020 From: klaus at major-k.de (Klaus major-k) Date: Sun, 19 Jul 2020 19:46:25 +0200 Subject: Speech on ios and android In-Reply-To: <1777B982-3BD9-4FB0-AFD8-CDEB339493A4@mac.com> References: <1777B982-3BD9-4FB0-AFD8-CDEB339493A4@mac.com> Message-ID: <65BD5A65-5042-433D-9208-0CDC453D6A78@major-k.de> Hi Frans, > Am 19.07.2020 um 19:42 schrieb Frans Schoffelen via use-livecode : > > Thanks for the heads up on this one , totally missed it . Am going to try this on a language training app i?m working on pronto when back from the road.Will let you know if i can get it working on mac Klaus. thanks to Matthias last posting I got it working: ---------------------------------------------------- on mouseup speechInitializeLibrary end mouseup on speechLibraryInitialized pSuccess if pSuccess then speechSpeakUtterance "Hallo Frans" get speechfinalizeLibrary() end if end speechLibraryInitialized ------------------------------------------------------ > Frans Schoffelen > KNLG knowlegistics > Berlin Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From dangmacguy at gmail.com Sun Jul 19 14:17:06 2020 From: dangmacguy at gmail.com (Bruce Pokras) Date: Sun, 19 Jul 2020 14:17:06 -0400 Subject: Functions running in IDE, but not running in standalone In-Reply-To: <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> References: <0237946F-F436-4A89-84B1-5C61BF092958.ref@rogers.com> <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> Message-ID: <20C2359E-FE16-4587-8AE8-B783A912F99B@gmail.com> I am having a very frustrating experience. I have an app called Patent Grabber that is for downloading and searching for patents and published patent applications. A user reported that one feature of Patent Grabber was not working. That was the Abstract Report which takes a list of US patent numbers and downloads basic information about each, and combines all of this information into a single HTML file. When I tried the Abstract Report in the stack from which Patent Grabber was compiled, the Abstract Report ran fine. However, when I saved the stack as a standalone the Abstract Report did not run. The standalone was NOT frozen. I could immediately run other features without problem. Since the Abstract Report uses several stack-level functions, I tried adding some ?answer? alerts to try to find the bottleneck. All of the ?answer? alerts came back under the IDE, and the Abstract Report ran as expected. However, in the standalone, the first couple ?answer? alerts came back, but then NOTHING. It was the ?answer? alert that I added at the start of a function called getBiblio() that did not come back, and the Abstract Report stopped running. Now the getBiblio() function is fairly complex. So I replaced it with a three-line function whose first line was an ?answer? alert to tell me that the function was running. Under the IDE the ?answer? alert came back, but in the standalone, nothing! Oh, and one more thing. This was all under Livecode 9.0.1 and also 9.6.0. I also tried compiling the standalone under LC 8.1.9 with the same result. However, when I saved the stack in Livecode 7.0 format, and compiled the standalone using Livecode 7.1.4, all of the ?answer? alerts came back and the Abstract Report worked fine! Any thoughts about this would be greatly appreciated! Regards, Bruce Pokras From matthias_livecode_150811 at m-r-d.de Sun Jul 19 15:16:52 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 19 Jul 2020 21:16:52 +0200 Subject: Functions running in IDE, but not running in standalone In-Reply-To: <20C2359E-FE16-4587-8AE8-B783A912F99B@gmail.com> References: <0237946F-F436-4A89-84B1-5C61BF092958.ref@rogers.com> <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> <20C2359E-FE16-4587-8AE8-B783A912F99B@gmail.com> Message-ID: <37389C63-0868-47D9-BB02-6C604C0ED268@m-r-d.de> Bruce, did you already try the RemoteDebugger to debug your standalone? http://lessons.livecode.com/m/4071/l/698439-using-the-remote-debugger - Matthias Rebbe Life Is Too Short For Boring Code > Am 19.07.2020 um 20:17 schrieb Bruce Pokras via use-livecode : > > I am having a very frustrating experience. I have an app called Patent Grabber that is for downloading and searching for patents and published patent applications. A user reported that one feature of Patent Grabber was not working. That was the Abstract Report which takes a list of US patent numbers and downloads basic information about each, and combines all of this information into a single HTML file. > > When I tried the Abstract Report in the stack from which Patent Grabber was compiled, the Abstract Report ran fine. However, when I saved the stack as a standalone the Abstract Report did not run. The standalone was NOT frozen. I could immediately run other features without problem. > > Since the Abstract Report uses several stack-level functions, I tried adding some ?answer? alerts to try to find the bottleneck. All of the ?answer? alerts came back under the IDE, and the Abstract Report ran as expected. However, in the standalone, the first couple ?answer? alerts came back, but then NOTHING. It was the ?answer? alert that I added at the start of a function called getBiblio() that did not come back, and the Abstract Report stopped running. > > Now the getBiblio() function is fairly complex. So I replaced it with a three-line function whose first line was an ?answer? alert to tell me that the function was running. Under the IDE the ?answer? alert came back, but in the standalone, nothing! > > Oh, and one more thing. This was all under Livecode 9.0.1 and also 9.6.0. I also tried compiling the standalone under LC 8.1.9 with the same result. However, when I saved the stack in Livecode 7.0 format, and compiled the standalone using Livecode 7.1.4, all of the ?answer? alerts came back and the Abstract Report worked fine! > > Any thoughts about this would be greatly appreciated! > > Regards, > > Bruce Pokras > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Sun Jul 19 19:21:36 2020 From: curry at pair.com (Curry Kenworthy) Date: Sun, 19 Jul 2020 19:21:36 -0400 Subject: Functions running in IDE, but not running in standalone In-Reply-To: <20C2359E-FE16-4587-8AE8-B783A912F99B@gmail.com> References: <20C2359E-FE16-4587-8AE8-B783A912F99B@gmail.com> Message-ID: <24b5bdfe-8fb6-01eb-0801-92d6c0de68cb@pair.com> Bruce: > However, when I saved the stack as a standalone > the Abstract Report did not run. > Abstract Report which takes a list of US patent numbers > and downloads basic information about each > I tried adding some ?answer? alerts to try to find the bottleneck. You are using a logical method so far to narrow down the problem. That's good. But now you just have to keep going, and FOLLOW THROUGH. Don't stop half way. Keep narrowing it down and start profiling your bug. If Livecode encounters a runtime error that is not handled, it will stop executing the script. When it does that, LC sends a message with the error dialog information. In the IDE, you usually (but not always) see a helpful dialog or script debug when hitting an error. But in a standalone, you have several options too - you can choose to include error reporting, you can handle the message yourself, or you can use the Remote Debugger as mentioned, which often (but again, not always) helps. Using answer (or a log file) is another valid option (especially for the "not always" cases where LC debugging falls short!) but use it correctly. Make sure you've really narrowed it down to the offending line; don't make too many assumptions about which is the offending line of code without proving it. The error reporting might give you the line number and error cause. Or you can add another answer to verify your best candidate. Standalone versus IDE problems often boil down to a few areas: file locations, standalone settings and inclusions, folder permissions, app permissions, and so on. Sometimes it's the user's fault, other times an LC bug/feature/glitch. > using Livecode 7.1.4, all of the ?answer? alerts came back > and the Abstract Report worked fine! Given that you're downloading things, I would check inclusions and tsNet, plus your file/folder locations. Always try to keep the IDE and standalone code/experience as close to each other as possible, to minimize headaches! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From scott at elementarysoftware.com Sun Jul 19 22:44:32 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 19 Jul 2020 19:44:32 -0700 Subject: text to speech android In-Reply-To: <4A461B20-2864-4BB8-9277-F60F49888F32@m-r-d.de> References: <26402A75-2748-42D8-9686-1373A37F833F@major-k.de> <4A461B20-2864-4BB8-9277-F60F49888F32@m-r-d.de> Message-ID: <5ECA7F11-6A50-4A6F-A5A6-851E3D2F9D50@elementarysoftware.com> I notice that although speechGetVoices() provides names that begin with an uppercase letter speechSetVoice() appears to require the name be lowercase for it to work reliably. LC 9.6.0 Mac Mojave ? Scott Morrow > On Jul 19, 2020, at 9:00 AM, matthias rebbe via use-livecode wrote: > > Hi Klaus, > > just did a quick successful test on Mac OS 10.14.6 with this script > > on mouseup > > speechInitializeLibrary > > end mouseup > > on speechLibraryInitialized pSuccess > > if pSuccess then > > speechSpeakUtterance "Hallo Klaus" > > get speechfinalizeLibrary() > > end if > > end speechLibraryInitialized > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 19.07.2020 um 14:28 schrieb Klaus major-k via use-livecode : >> >> Hi Klaus, >> >>> Am 18.07.2020 um 12:30 schrieb Klaus major-k via use-livecode : >>> >>> Hi all, >>> >>> in 9.6 we have a new speech library for Mac, iOs and Android. >>> In the dictionary "revspeak" is still listed as Mac and Windows only. >>> >>> Am I correct to presume that the syntax-> revspeak "what to speak" >>> is still the same for this new speech library on Android? >> >> no, you are not correct! >> The new syntax is -> speechSpeakUtterance "what to speech speak or say?" >> >>> Thanks in advance! >> >> You're welcome! >> >>> Best >>> >>> Klaus >> >> Did someone could make this work on a Mac so far? >> >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Sun Jul 19 22:57:05 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 19 Jul 2020 19:57:05 -0700 Subject: text to speech android In-Reply-To: <5ECA7F11-6A50-4A6F-A5A6-851E3D2F9D50@elementarysoftware.com> References: <26402A75-2748-42D8-9686-1373A37F833F@major-k.de> <4A461B20-2864-4BB8-9277-F60F49888F32@m-r-d.de> <5ECA7F11-6A50-4A6F-A5A6-851E3D2F9D50@elementarysoftware.com> Message-ID: Ack! with the exception of ?Victoria? which seems to require an Uppercase first letter. (utter chaos) > On Jul 19, 2020, at 7:44 PM, scott--- via use-livecode wrote: > > I notice that although speechGetVoices() provides names that begin with an uppercase letter > speechSetVoice() appears to require the name be lowercase for it to work reliably. > > LC 9.6.0 Mac Mojave > > ? > Scott Morrow > >> On Jul 19, 2020, at 9:00 AM, matthias rebbe via use-livecode wrote: >> >> Hi Klaus, >> >> just did a quick successful test on Mac OS 10.14.6 with this script >> >> on mouseup >> >> speechInitializeLibrary >> >> end mouseup >> >> on speechLibraryInitialized pSuccess >> >> if pSuccess then >> >> speechSpeakUtterance "Hallo Klaus" >> >> get speechfinalizeLibrary() >> >> end if >> >> end speechLibraryInitialized >> >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>> Am 19.07.2020 um 14:28 schrieb Klaus major-k via use-livecode : >>> >>> Hi Klaus, >>> >>>> Am 18.07.2020 um 12:30 schrieb Klaus major-k via use-livecode : >>>> >>>> Hi all, >>>> >>>> in 9.6 we have a new speech library for Mac, iOs and Android. >>>> In the dictionary "revspeak" is still listed as Mac and Windows only. >>>> >>>> Am I correct to presume that the syntax-> revspeak "what to speak" >>>> is still the same for this new speech library on Android? >>> >>> no, you are not correct! >>> The new syntax is -> speechSpeakUtterance "what to speech speak or say?" >>> >>>> Thanks in advance! >>> >>> You're welcome! >>> >>>> Best >>>> >>>> Klaus >>> >>> Did someone could make this work on a Mac so far? >>> >>> >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> https://www.major-k.de >>> klaus at major-k.de >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Mon Jul 20 00:05:51 2020 From: monte at appisle.net (Monte Goulding) Date: Mon, 20 Jul 2020 14:05:51 +1000 Subject: text to speech android In-Reply-To: References: <26402A75-2748-42D8-9686-1373A37F833F@major-k.de> <4A461B20-2864-4BB8-9277-F60F49888F32@m-r-d.de> <5ECA7F11-6A50-4A6F-A5A6-851E3D2F9D50@elementarysoftware.com> Message-ID: <86A3DB62-3D63-47A2-BB86-B9FACE3829CB@appisle.net> Hi Scott The identifiers and names all come from the macOS NSSpeechSynthesizer API and yes Victoria does appear to be the only voice with an uppercase character in the identifier `com.apple.speech.synthesis.voice.Victoria`, Cheers Monte > On 20 Jul 2020, at 12:57 pm, scott--- via use-livecode wrote: > > Ack! with the exception of ?Victoria? which seems to require an Uppercase first letter. (utter chaos) > >> On Jul 19, 2020, at 7:44 PM, scott--- via use-livecode wrote: >> >> I notice that although speechGetVoices() provides names that begin with an uppercase letter >> speechSetVoice() appears to require the name be lowercase for it to work reliably. >> >> LC 9.6.0 Mac Mojave >> >> ? >> Scott Morrow >> >>> On Jul 19, 2020, at 9:00 AM, matthias rebbe via use-livecode wrote: >>> >>> Hi Klaus, >>> >>> just did a quick successful test on Mac OS 10.14.6 with this script >>> >>> on mouseup >>> >>> speechInitializeLibrary >>> >>> end mouseup >>> >>> on speechLibraryInitialized pSuccess >>> >>> if pSuccess then >>> >>> speechSpeakUtterance "Hallo Klaus" >>> >>> get speechfinalizeLibrary() >>> >>> end if >>> >>> end speechLibraryInitialized >>> >>> >>> - >>> Matthias Rebbe >>> Life Is Too Short For Boring Code >>> >>>> Am 19.07.2020 um 14:28 schrieb Klaus major-k via use-livecode : >>>> >>>> Hi Klaus, >>>> >>>>> Am 18.07.2020 um 12:30 schrieb Klaus major-k via use-livecode : >>>>> >>>>> Hi all, >>>>> >>>>> in 9.6 we have a new speech library for Mac, iOs and Android. >>>>> In the dictionary "revspeak" is still listed as Mac and Windows only. >>>>> >>>>> Am I correct to presume that the syntax-> revspeak "what to speak" >>>>> is still the same for this new speech library on Android? >>>> >>>> no, you are not correct! >>>> The new syntax is -> speechSpeakUtterance "what to speech speak or say?" >>>> >>>>> Thanks in advance! >>>> >>>> You're welcome! >>>> >>>>> Best >>>>> >>>>> Klaus >>>> >>>> Did someone could make this work on a Mac so far? >>>> >>>> >>>> Best >>>> >>>> Klaus >>>> >>>> -- >>>> Klaus Major >>>> https://www.major-k.de >>>> klaus at major-k.de >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Mon Jul 20 01:32:58 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Mon, 20 Jul 2020 07:32:58 +0200 Subject: text to speech android In-Reply-To: <86A3DB62-3D63-47A2-BB86-B9FACE3829CB@appisle.net> References: <26402A75-2748-42D8-9686-1373A37F833F@major-k.de> <4A461B20-2864-4BB8-9277-F60F49888F32@m-r-d.de> <5ECA7F11-6A50-4A6F-A5A6-851E3D2F9D50@elementarysoftware.com> <86A3DB62-3D63-47A2-BB86-B9FACE3829CB@appisle.net> Message-ID: At least on Mac you know what voice you get. I wonder how other devs handle this on Android when selecting a voice, because you never know exactly what you choose. Op ma 20 jul. 2020 06:07 schreef Monte Goulding via use-livecode < use-livecode at lists.runrev.com>: > Hi Scott > > The identifiers and names all come from the macOS NSSpeechSynthesizer API > and yes Victoria does appear to be the only voice with an uppercase > character in the identifier `com.apple.speech.synthesis.voice.Victoria`, > > Cheers > > Monte > > > On 20 Jul 2020, at 12:57 pm, scott--- via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Ack! with the exception of ?Victoria? which seems to require an > Uppercase first letter. (utter chaos) > > > >> On Jul 19, 2020, at 7:44 PM, scott--- via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> I notice that although speechGetVoices() provides names that begin > with an uppercase letter > >> speechSetVoice() appears to require the name be lowercase for it to > work reliably. > >> > >> LC 9.6.0 Mac Mojave > >> > >> ? > >> Scott Morrow > >> > >>> On Jul 19, 2020, at 9:00 AM, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> Hi Klaus, > >>> > >>> just did a quick successful test on Mac OS 10.14.6 with this script > >>> > >>> on mouseup > >>> > >>> speechInitializeLibrary > >>> > >>> end mouseup > >>> > >>> on speechLibraryInitialized pSuccess > >>> > >>> if pSuccess then > >>> > >>> speechSpeakUtterance "Hallo Klaus" > >>> > >>> get speechfinalizeLibrary() > >>> > >>> end if > >>> > >>> end speechLibraryInitialized > >>> > >>> > >>> - > >>> Matthias Rebbe > >>> Life Is Too Short For Boring Code > >>> > >>>> Am 19.07.2020 um 14:28 schrieb Klaus major-k via use-livecode < > use-livecode at lists.runrev.com>: > >>>> > >>>> Hi Klaus, > >>>> > >>>>> Am 18.07.2020 um 12:30 schrieb Klaus major-k via use-livecode < > use-livecode at lists.runrev.com>: > >>>>> > >>>>> Hi all, > >>>>> > >>>>> in 9.6 we have a new speech library for Mac, iOs and Android. > >>>>> In the dictionary "revspeak" is still listed as Mac and Windows only. > >>>>> > >>>>> Am I correct to presume that the syntax-> revspeak "what to speak" > >>>>> is still the same for this new speech library on Android? > >>>> > >>>> no, you are not correct! > >>>> The new syntax is -> speechSpeakUtterance "what to speech speak or > say?" > >>>> > >>>>> Thanks in advance! > >>>> > >>>> You're welcome! > >>>> > >>>>> Best > >>>>> > >>>>> Klaus > >>>> > >>>> Did someone could make this work on a Mac so far? > >>>> > >>>> > >>>> Best > >>>> > >>>> Klaus > >>>> > >>>> -- > >>>> Klaus Major > >>>> https://www.major-k.de > >>>> klaus at major-k.de > >>>> > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From theaford at btinternet.com Mon Jul 20 08:43:28 2020 From: theaford at btinternet.com (Terence Heaford) Date: Mon, 20 Jul 2020 13:43:28 +0100 Subject: Browser widget scrolling Message-ID: This does not appear to work: set the hScrollbar of widget ?myBrowser" to false The scrollbar becomes visible when you drag resize a window. I was expecting there to ne no scrollbar at all. Also the checkboxes in the properties section (horizontal and vertical) do not work. They are always set to true. Am I misunderstanding how this is supposed to work? Thanks Terry From jacque at hyperactivesw.com Mon Jul 20 16:06:16 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Jul 2020 15:06:16 -0500 Subject: Browser widget scrolling In-Reply-To: References: Message-ID: On 7/20/20 7:43 AM, Terence Heaford via use-livecode wrote: > This does not appear to work: > > set the hScrollbar of widget ?myBrowser" to false > > The scrollbar becomes visible when you drag resize a window. > > I was expecting there to ne no scrollbar at all. > > Also the checkboxes in the properties section (horizontal and vertical) do not work. They are always set to true. > > Am I misunderstanding how this is supposed to work? Confirmed. It seems to depend on the web site/content. If I use http://www.google.com then the vertical scrollbar is hidden because the size of my widget is tall enough. If I use the URL of my own web site, both scrollbars appear no matter how I set their visibility, and the checkboxes re-enable themselves if I uncheck them. I'm not sure if this is a bug or a feature. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dangmacguy at gmail.com Mon Jul 20 16:28:04 2020 From: dangmacguy at gmail.com (Bruce Pokras) Date: Mon, 20 Jul 2020 16:28:04 -0400 Subject: Functions running in IDE, but not running in standalone In-Reply-To: <37389C63-0868-47D9-BB02-6C604C0ED268@m-r-d.de> References: <0237946F-F436-4A89-84B1-5C61BF092958.ref@rogers.com> <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> <20C2359E-FE16-4587-8AE8-B783A912F99B@gmail.com> <37389C63-0868-47D9-BB02-6C604C0ED268@m-r-d.de> Message-ID: <4D37361F-B4BE-409E-9C1E-7792EB63DEEA@gmail.com> Matthias and Curry, Thanks for your responses. I am using Indy for which I apparently do not have access to RemoteDebugger. I did activate the ?Bug Reports? feature and added ?tsNet? to the included stuff for the standalone. From the bug reporter feature, it seems that ?libURL" commands/functions are somehow creating a problem. (And, yes, I am including the Internet library in my standalone!). Here are a couple of examples of the bug reports that were generated: ====== Error from running Patent Grabber?s ?Abstract Report": Executing at 3:45:49 PM on Monday, July 20, 2020 Type: Handler: can't find handler Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03" Line Num: 81 Hint: libURLSetSSLVerification My comments: Line 81 is where I set libURLSetSSLVerification to false. What does it mean ?can?t find handler"???? Why not? It?s part of the included Internet library! ===== Error from running Patent Grabber?s "Get Biblio +" report: Executing at 12:56:56 PM on Monday, July 20, 2020 Type: Function: error in function handler Object: card id 3946 of stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent Grabber 6.4.4-035/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03" Line Num: 2840 Hint: libURLLastRHHeaders My comments: The libURLLastRHHeaders is used by Patent Grabber to determine whether a server at the European Patent Office is restricting bandwidth. In such cases, Patent Grabber waits longer between queries. Works fine in the IDE, of course. -==== Here is a real frustrating thing. The first execution error that the Bug Reports generates is one that is like the two above.That?s fine. But after that it produces what might be an infinite number of execution errors like the following: Executing at 3:46:29 PM on Monday, July 20, 2020 Type: Handler: error in statement Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03" Line Num: 12 Hint: errorDialog My comments: There is no errorDialog command in the stack script. In fact, line 12 of the stack script is an "end if" which is part of a preOpenStack handler to center the stack on the screen. === I have to force-quit the standalone to get out of this infinite loop! This whole thing is very weird and very frustrating! Regards, Bruce > On Jul 19, 2020, at 3:16 PM, matthias rebbe via use-livecode wrote: > > Bruce, > > did you already try the RemoteDebugger to debug your standalone? > > http://lessons.livecode.com/m/4071/l/698439-using-the-remote-debugger > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 19.07.2020 um 20:17 schrieb Bruce Pokras via use-livecode : >> >> I am having a very frustrating experience. I have an app called Patent Grabber that is for downloading and searching for patents and published patent applications. A user reported that one feature of Patent Grabber was not working. That was the Abstract Report which takes a list of US patent numbers and downloads basic information about each, and combines all of this information into a single HTML file. >> >> When I tried the Abstract Report in the stack from which Patent Grabber was compiled, the Abstract Report ran fine. However, when I saved the stack as a standalone the Abstract Report did not run. The standalone was NOT frozen. I could immediately run other features without problem. >> >> Since the Abstract Report uses several stack-level functions, I tried adding some ?answer? alerts to try to find the bottleneck. All of the ?answer? alerts came back under the IDE, and the Abstract Report ran as expected. However, in the standalone, the first couple ?answer? alerts came back, but then NOTHING. It was the ?answer? alert that I added at the start of a function called getBiblio() that did not come back, and the Abstract Report stopped running. >> >> Now the getBiblio() function is fairly complex. So I replaced it with a three-line function whose first line was an ?answer? alert to tell me that the function was running. Under the IDE the ?answer? alert came back, but in the standalone, nothing! >> >> Oh, and one more thing. This was all under Livecode 9.0.1 and also 9.6.0. I also tried compiling the standalone under LC 8.1.9 with the same result. However, when I saved the stack in Livecode 7.0 format, and compiled the standalone using Livecode 7.1.4, all of the ?answer? alerts came back and the Abstract Report worked fine! >> >> Any thoughts about this would be greatly appreciated! >> >> Regards, >> >> Bruce Pokras >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dangmacguy at gmail.com Mon Jul 20 16:28:43 2020 From: dangmacguy at gmail.com (Bruce Pokras) Date: Mon, 20 Jul 2020 16:28:43 -0400 Subject: Functions running in IDE, but not running in standalone In-Reply-To: <37389C63-0868-47D9-BB02-6C604C0ED268@m-r-d.de> References: <0237946F-F436-4A89-84B1-5C61BF092958.ref@rogers.com> <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> <20C2359E-FE16-4587-8AE8-B783A912F99B@gmail.com> <37389C63-0868-47D9-BB02-6C604C0ED268@m-r-d.de> Message-ID: <6E139F88-280D-4F78-B776-47206302E42A@gmail.com> Matthias and Curry, Thanks for your responses. I am using Indy for which I apparently do not have access to RemoteDebugger. I did activate the ?Bug Reports? feature and added ?tsNet? to the included stuff for the standalone. From the bug reporter feature, it seems that ?libURL" commands/functions are somehow creating a problem. (And, yes, I am including the Internet library in my standalone!). Here are a couple of examples of the bug reports that were generated: ====== Error from running Patent Grabber?s ?Abstract Report": Executing at 3:45:49 PM on Monday, July 20, 2020 Type: Handler: can't find handler Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03" Line Num: 81 Hint: libURLSetSSLVerification My comments: Line 81 is where I set libURLSetSSLVerification to false. What does it mean ?can?t find handler"???? Why not? It?s part of the included Internet library! ===== Error from running Patent Grabber?s "Get Biblio +" report: Executing at 12:56:56 PM on Monday, July 20, 2020 Type: Function: error in function handler Object: card id 3946 of stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent Grabber 6.4.4-035/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03" Line Num: 2840 Hint: libURLLastRHHeaders My comments: The libURLLastRHHeaders is used by Patent Grabber to determine whether a server at the European Patent Office is restricting bandwidth. In such cases, Patent Grabber waits longer between queries. Works fine in the IDE, of course. -==== Here is a real frustrating thing. The first execution error that the Bug Reports generates is one that is like the two above.That?s fine. But after that it produces what might be an infinite number of execution errors like the following: Executing at 3:46:29 PM on Monday, July 20, 2020 Type: Handler: error in statement Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03" Line Num: 12 Hint: errorDialog My comments: There is no errorDialog command in the stack script. In fact, line 12 of the stack script is an "end if" which is part of a preOpenStack handler to center the stack on the screen. === I have to force-quit the standalone to get out of this infinite loop! This whole thing is very weird and very frustrating! Regards, Bruce > On Jul 19, 2020, at 3:16 PM, matthias rebbe via use-livecode > wrote: > > Bruce, > > did you already try the RemoteDebugger to debug your standalone? > > http://lessons.livecode.com/m/4071/l/698439-using-the-remote-debugger > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 19.07.2020 um 20:17 schrieb Bruce Pokras via use-livecode : >> >> I am having a very frustrating experience. I have an app called Patent Grabber that is for downloading and searching for patents and published patent applications. A user reported that one feature of Patent Grabber was not working. That was the Abstract Report which takes a list of US patent numbers and downloads basic information about each, and combines all of this information into a single HTML file. >> >> When I tried the Abstract Report in the stack from which Patent Grabber was compiled, the Abstract Report ran fine. However, when I saved the stack as a standalone the Abstract Report did not run. The standalone was NOT frozen. I could immediately run other features without problem. >> >> Since the Abstract Report uses several stack-level functions, I tried adding some ?answer? alerts to try to find the bottleneck. All of the ?answer? alerts came back under the IDE, and the Abstract Report ran as expected. However, in the standalone, the first couple ?answer? alerts came back, but then NOTHING. It was the ?answer? alert that I added at the start of a function called getBiblio() that did not come back, and the Abstract Report stopped running. >> >> Now the getBiblio() function is fairly complex. So I replaced it with a three-line function whose first line was an ?answer? alert to tell me that the function was running. Under the IDE the ?answer? alert came back, but in the standalone, nothing! >> >> Oh, and one more thing. This was all under Livecode 9.0.1 and also 9.6.0. I also tried compiling the standalone under LC 8.1.9 with the same result. However, when I saved the stack in Livecode 7.0 format, and compiled the standalone using Livecode 7.1.4, all of the ?answer? alerts came back and the Abstract Report worked fine! >> >> Any thoughts about this would be greatly appreciated! >> >> Regards, >> >> Bruce Pokras >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Mon Jul 20 17:29:02 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 20 Jul 2020 23:29:02 +0200 Subject: Functions running in IDE, but not running in standalone In-Reply-To: <6E139F88-280D-4F78-B776-47206302E42A@gmail.com> References: <0237946F-F436-4A89-84B1-5C61BF092958.ref@rogers.com> <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> <20C2359E-FE16-4587-8AE8-B783A912F99B@gmail.com> <37389C63-0868-47D9-BB02-6C604C0ED268@m-r-d.de> <6E139F88-280D-4F78-B776-47206302E42A@gmail.com> Message-ID: <839405CC-8C82-4266-845A-4E948BE1B7B0@m-r-d.de> Bruce, i might be wrong, but did you also include SSL&Encryption in StandaloneSettings. If i recall it correctly then SSL&Encryption is needed for https. Regards, - Matthias Rebbe Life Is Too Short For Boring Code > Am 20.07.2020 um 22:28 schrieb Bruce Pokras via use-livecode >: > > Matthias and Curry, > > Thanks for your responses. I am using Indy for which I apparently do not have access to RemoteDebugger. > > I did activate the ?Bug Reports? feature and added ?tsNet? to the included stuff for the standalone. > > From the bug reporter feature, it seems that ?libURL" commands/functions are somehow creating a problem. (And, yes, I am including the Internet library in my standalone!). > > Here are a couple of examples of the bug reports that were generated: > ====== > Error from running Patent Grabber?s ?Abstract Report": > > Executing at 3:45:49 PM on Monday, July 20, 2020 > Type: Handler: can't find handler > Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03" > Line Num: 81 > Hint: libURLSetSSLVerification > > My comments: Line 81 is where I set libURLSetSSLVerification to false. What does it mean ?can?t find handler"???? Why not? It?s part of the included Internet library! > From matthias_livecode_150811 at m-r-d.de Mon Jul 20 18:04:49 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 21 Jul 2020 00:04:49 +0200 Subject: Functions running in IDE, but not running in standalone In-Reply-To: <839405CC-8C82-4266-845A-4E948BE1B7B0@m-r-d.de> References: <0237946F-F436-4A89-84B1-5C61BF092958.ref@rogers.com> <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> <20C2359E-FE16-4587-8AE8-B783A912F99B@gmail.com> <37389C63-0868-47D9-BB02-6C604C0ED268@m-r-d.de> <6E139F88-280D-4F78-B776-47206302E42A@gmail.com> <839405CC-8C82-4266-845A-4E948BE1B7B0@m-r-d.de> Message-ID: <5673DB6B-786D-4F1B-81E3-AFE0A36EF6C8@m-r-d.de> Bruce, and according to the dictionary Internet has to be included to use libURLSetSSLVerification. - Matthias Rebbe Life Is Too Short For Boring Code > Am 20.07.2020 um 23:29 schrieb matthias rebbe via use-livecode : > > Bruce, > > i might be wrong, but did you also include SSL&Encryption in StandaloneSettings. > If i recall it correctly then SSL&Encryption is needed for https. > > Regards, > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 20.07.2020 um 22:28 schrieb Bruce Pokras via use-livecode >: >> >> Matthias and Curry, >> >> Thanks for your responses. I am using Indy for which I apparently do not have access to RemoteDebugger. >> >> I did activate the ?Bug Reports? feature and added ?tsNet? to the included stuff for the standalone. >> >> From the bug reporter feature, it seems that ?libURL" commands/functions are somehow creating a problem. (And, yes, I am including the Internet library in my standalone!). >> >> Here are a couple of examples of the bug reports that were generated: >> ====== >> Error from running Patent Grabber?s ?Abstract Report": >> >> Executing at 3:45:49 PM on Monday, July 20, 2020 >> Type: Handler: can't find handler >> Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03" >> Line Num: 81 >> Hint: libURLSetSSLVerification >> >> My comments: Line 81 is where I set libURLSetSSLVerification to false. What does it mean ?can?t find handler"???? Why not? It?s part of the included Internet library! >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dangmacguy at gmail.com Mon Jul 20 18:28:52 2020 From: dangmacguy at gmail.com (Bruce Pokras) Date: Mon, 20 Jul 2020 18:28:52 -0400 Subject: Functions running in IDE, but not running in standalone In-Reply-To: <5673DB6B-786D-4F1B-81E3-AFE0A36EF6C8@m-r-d.de> References: <0237946F-F436-4A89-84B1-5C61BF092958.ref@rogers.com> <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> <20C2359E-FE16-4587-8AE8-B783A912F99B@gmail.com> <37389C63-0868-47D9-BB02-6C604C0ED268@m-r-d.de> <6E139F88-280D-4F78-B776-47206302E42A@gmail.com> <839405CC-8C82-4266-845A-4E948BE1B7B0@m-r-d.de> <5673DB6B-786D-4F1B-81E3-AFE0A36EF6C8@m-r-d.de> Message-ID: <1CE6AC1F-35A6-4507-813D-FBEC8AD86F5D@gmail.com> Matthias, Yes to both Internet and SSL & Encryption libraries. So everything should be running just fine, but are not. Regards, Bruce > On Jul 20, 2020, at 6:04 PM, matthias rebbe via use-livecode wrote: > > Bruce, > > and according to the dictionary Internet has to be included to use libURLSetSSLVerification. > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 20.07.2020 um 23:29 schrieb matthias rebbe via use-livecode : >> >> Bruce, >> >> i might be wrong, but did you also include SSL&Encryption in StandaloneSettings. >> If i recall it correctly then SSL&Encryption is needed for https. >> >> Regards, >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>> Am 20.07.2020 um 22:28 schrieb Bruce Pokras via use-livecode >: >>> >>> Matthias and Curry, >>> >>> Thanks for your responses. I am using Indy for which I apparently do not have access to RemoteDebugger. >>> >>> I did activate the ?Bug Reports? feature and added ?tsNet? to the included stuff for the standalone. >>> >>> From the bug reporter feature, it seems that ?libURL" commands/functions are somehow creating a problem. (And, yes, I am including the Internet library in my standalone!). >>> >>> Here are a couple of examples of the bug reports that were generated: >>> ====== >>> Error from running Patent Grabber?s ?Abstract Report": >>> >>> Executing at 3:45:49 PM on Monday, July 20, 2020 >>> Type: Handler: can't find handler >>> Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03" >>> Line Num: 81 >>> Hint: libURLSetSSLVerification >>> >>> My comments: Line 81 is where I set libURLSetSSLVerification to false. What does it mean ?can?t find handler"???? Why not? It?s part of the included Internet library! >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Mon Jul 20 19:12:43 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 21 Jul 2020 01:12:43 +0200 Subject: Functions running in IDE, but not running in standalone In-Reply-To: <1CE6AC1F-35A6-4507-813D-FBEC8AD86F5D@gmail.com> References: <0237946F-F436-4A89-84B1-5C61BF092958.ref@rogers.com> <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> <20C2359E-FE16-4587-8AE8-B783A912F99B@gmail.com> <37389C63-0868-47D9-BB02-6C604C0ED268@m-r-d.de> <6E139F88-280D-4F78-B776-47206302E42A@gmail.com> <839405CC-8C82-4266-845A-4E948BE1B7B0@m-r-d.de> <5673DB6B-786D-4F1B-81E3-AFE0A36EF6C8@m-r-d.de> <1CE6AC1F-35A6-4507-813D-FBEC8AD86F5D@gmail.com> Message-ID: Bruce, i just tried with a sample stack where i did not include the Internet library. I get exact the same error in the bugreport (except the line number and stack name and so on). "Executing at 12:58:33 AM on Tuesday, July 21, 2020 Type: Handler: can't find handler Object: button "Button" of card id 1002 of stack "/Users/matthias/Downloads/test5/MacOSX/test.app/Contents/MacOS/test" Line: libURLSetSSLVerification false Line Num: 2 Hint: libURLSetSSLVerification Comments: hm,weird" If Internet library is really selected in under Inclusions in Standalone Settings, then either there is a problem with your Livecode installation or another guess... Are you using the savestackrequest message in your scripts? If so, is it possible by any chance that you did forgot to add "pass savestackrequest" before "End savestackrequest"? I remember that a long time ago i bothered the Support Team with a problem that database functions did not work in my standalone although i had enabled all needed inclusions. The problem was i used the savestackrequest message to cleanup fields and other things in the stack before saving, but forgot to add "pass savestackrequest". The interesting part was, that the standalone was created and although all included externals were added to the standalone, the standalone was not able to communicate with the database. After adding that line, all was fine. - Matthias Rebbe Life Is Too Short For Boring Code > Am 21.07.2020 um 00:28 schrieb Bruce Pokras via use-livecode : > > Matthias, > > Yes to both Internet and SSL & Encryption libraries. > > So everything should be running just fine, but are not. > > Regards, > > Bruce > >> On Jul 20, 2020, at 6:04 PM, matthias rebbe via use-livecode wrote: >> >> Bruce, >> >> and according to the dictionary Internet has to be included to use libURLSetSSLVerification. >> >> >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>> Am 20.07.2020 um 23:29 schrieb matthias rebbe via use-livecode : >>> >>> Bruce, >>> >>> i might be wrong, but did you also include SSL&Encryption in StandaloneSettings. >>> If i recall it correctly then SSL&Encryption is needed for https. >>> >>> Regards, >>> >>> - >>> Matthias Rebbe >>> Life Is Too Short For Boring Code >>> >>>> Am 20.07.2020 um 22:28 schrieb Bruce Pokras via use-livecode >: >>>> >>>> Matthias and Curry, >>>> >>>> Thanks for your responses. I am using Indy for which I apparently do not have access to RemoteDebugger. >>>> >>>> I did activate the ?Bug Reports? feature and added ?tsNet? to the included stuff for the standalone. >>>> >>>> From the bug reporter feature, it seems that ?libURL" commands/functions are somehow creating a problem. (And, yes, I am including the Internet library in my standalone!). >>>> >>>> Here are a couple of examples of the bug reports that were generated: >>>> ====== >>>> Error from running Patent Grabber?s ?Abstract Report": >>>> >>>> Executing at 3:45:49 PM on Monday, July 20, 2020 >>>> Type: Handler: can't find handler >>>> Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03" >>>> Line Num: 81 >>>> Hint: libURLSetSSLVerification >>>> >>>> My comments: Line 81 is where I set libURLSetSSLVerification to false. What does it mean ?can?t find handler"???? Why not? It?s part of the included Internet library! >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From theaford at btinternet.com Tue Jul 21 02:39:41 2020 From: theaford at btinternet.com (Terence Heaford) Date: Tue, 21 Jul 2020 07:39:41 +0100 Subject: Browser widget scrolling In-Reply-To: References: Message-ID: > On 20 Jul 2020, at 21:06, J. Landman Gay via use-livecode wrote: > > I'm not sure if this is a bug or a feature. It also seems to happen when the widget is empty? Thanks Terry From MikeKerner at roadrunner.com Tue Jul 21 09:49:53 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 21 Jul 2020 09:49:53 -0400 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: <9380a60f-2736-982d-aae5-36086eeb3709@cogapp.com> References: <8493c65b-f5fd-f731-3de9-fd3e2aa5c614@cogapp.com> <3e6af03d-77d1-2055-d555-ef976bc73997@cogapp.com> <9380a60f-2736-982d-aae5-36086eeb3709@cogapp.com> Message-ID: I got impatient/spooked so we went another direction. I think we're going to use other tools. On Thu, Jul 16, 2020 at 10:00 AM Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Mike, > > Brian Milby put me on to the solution for the OAuth problem: > > Check out bug 22557 / PR 7381. > > Line 247 of oath2.livecodescript need urlEncode removed > > Are you still interested in this, or are you covered now? > > regards, > > Ben > > On 11/03/2020 20:45, Ben Rubinstein via use-livecode wrote: > > Hi Mike, > > > > I haven't forgotten, but finally found time to take a look today and > started > > writing minimal comments, and thought I should at least test it - for > some > > reason the authorisation isn't working. For whatever reason, the call to > > OAuth2 results in the error "Malformed auth code." So I can't get to > test what > > I'm sending. > > > > I'm unclear whether I've done something strange or wrong, or whether > Google > > has changed something that breaks LC's implementation. I've come across > > references which suggest that, but they date back to last year, and I > believe > > I've used this stack in January. (I also tried using LC 9.0.4 with the > same > > result.) > > > > I will try to get back to this. In the meantime, have you - or anyone - > found > > issues recently with OAuth2, in particular against any of the Google > APIs? > > > > Ben > > > > > > On 08/03/2020 22:22, Mike Kerner via use-livecode wrote: > >> it might help us get started. i'm going to probably put out an rfq to > wrap > >> the v4 rest api, because we're going to have to come to a solution, > either > >> using lc or some other tool. > >> > >> On Sun, Mar 8, 2020 at 6:01 PM Ben Rubinstein via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >>> Mike, > >>> > >>> Very happy to share what I've got, but it's really not much - just a > very > >>> thin > >>> wrapper round Google's API - and it's undocumented, mostly rough code - > >>> copied > >>> from one stack to the next, usually done in a tearing hurry! > >>> > >>> I'll try to pull something together, but please promise not to judge > me... > >>> > >>> Ben > >>> > >>> On 06/03/2020 15:13, Mike Kerner via use-livecode wrote: > >>>> Ben, > >>>> would you send me what you've got? I was considering paying someone > to > >>>> wrap the entire v4 api and dropping mergGoogle, so any head start > would > >>> be > >>>> useful. LC wants tribute to do the work (which is a little > disappointing > >>>> since we financed the original external, so we sort-of hoped that it > >>> would > >>>> become a thing, and it would get updated as required, but crap > happens). > >>>> > >>>> On Thu, Mar 5, 2020 at 6:04 PM Ben Rubinstein via use-livecode < > >>>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>>> On 04/03/2020 20:37, Mike Kerner via use-livecode wrote: > >>>>>> is anyone using anything besides mergGoogle to work with google > sheets? > >>>>>> care to share, if you are? > >>>>> > >>>>> I'm just using the Google Sheets API directly from LiveCode - just > >>> pushing > >>>>> JSON back and forth. The API is limited, but what's there is very > easy > >>> to > >>>>> work > >>>>> with - much better than manipulating xlsx files. > >>>>> > >>>>> I started using it to get data from clients, and then processing data > >>> and > >>>>> pushing it back into the sheets. I've also used on some experimental > >>> image > >>>>> processing, where I found that pushing the results of LiveCode > functions > >>>>> into > >>>>> a google sheet immediately gave me an nice interface in which to > review > >>>>> the > >>>>> data, and then I could also use the spreadsheet functions to do > >>> evaluation > >>>>> and > >>>>> testing. > >>>>> > >>>>> Ben > >>>>> > >>>>> ____ > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jeejeestudio at gmail.com Tue Jul 21 11:11:19 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Tue, 21 Jul 2020 17:11:19 +0200 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: <8493c65b-f5fd-f731-3de9-fd3e2aa5c614@cogapp.com> <3e6af03d-77d1-2055-d555-ef976bc73997@cogapp.com> <9380a60f-2736-982d-aae5-36086eeb3709@cogapp.com> Message-ID: I once did that, to read out the values on a sheet. But I can't remember if I used OAuth2 for that. Op di 21 jul. 2020 15:51 schreef Mike Kerner via use-livecode < use-livecode at lists.runrev.com>: > I got impatient/spooked so we went another direction. I think we're going > to use other tools. > > On Thu, Jul 16, 2020 at 10:00 AM Ben Rubinstein via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi Mike, > > > > Brian Milby put me on to the solution for the OAuth problem: > > > Check out bug 22557 / PR 7381. > > > Line 247 of oath2.livecodescript need urlEncode removed > > > > Are you still interested in this, or are you covered now? > > > > regards, > > > > Ben > > > > On 11/03/2020 20:45, Ben Rubinstein via use-livecode wrote: > > > Hi Mike, > > > > > > I haven't forgotten, but finally found time to take a look today and > > started > > > writing minimal comments, and thought I should at least test it - for > > some > > > reason the authorisation isn't working. For whatever reason, the call > to > > > OAuth2 results in the error "Malformed auth code." So I can't get to > > test what > > > I'm sending. > > > > > > I'm unclear whether I've done something strange or wrong, or whether > > Google > > > has changed something that breaks LC's implementation. I've come across > > > references which suggest that, but they date back to last year, and I > > believe > > > I've used this stack in January. (I also tried using LC 9.0.4 with the > > same > > > result.) > > > > > > I will try to get back to this. In the meantime, have you - or anyone - > > found > > > issues recently with OAuth2, in particular against any of the Google > > APIs? > > > > > > Ben > > > > > > > > > On 08/03/2020 22:22, Mike Kerner via use-livecode wrote: > > >> it might help us get started. i'm going to probably put out an rfq to > > wrap > > >> the v4 rest api, because we're going to have to come to a solution, > > either > > >> using lc or some other tool. > > >> > > >> On Sun, Mar 8, 2020 at 6:01 PM Ben Rubinstein via use-livecode < > > >> use-livecode at lists.runrev.com> wrote: > > >> > > >>> Mike, > > >>> > > >>> Very happy to share what I've got, but it's really not much - just a > > very > > >>> thin > > >>> wrapper round Google's API - and it's undocumented, mostly rough > code - > > >>> copied > > >>> from one stack to the next, usually done in a tearing hurry! > > >>> > > >>> I'll try to pull something together, but please promise not to judge > > me... > > >>> > > >>> Ben > > >>> > > >>> On 06/03/2020 15:13, Mike Kerner via use-livecode wrote: > > >>>> Ben, > > >>>> would you send me what you've got? I was considering paying someone > > to > > >>>> wrap the entire v4 api and dropping mergGoogle, so any head start > > would > > >>> be > > >>>> useful. LC wants tribute to do the work (which is a little > > disappointing > > >>>> since we financed the original external, so we sort-of hoped that it > > >>> would > > >>>> become a thing, and it would get updated as required, but crap > > happens). > > >>>> > > >>>> On Thu, Mar 5, 2020 at 6:04 PM Ben Rubinstein via use-livecode < > > >>>> use-livecode at lists.runrev.com> wrote: > > >>>> > > >>>>> On 04/03/2020 20:37, Mike Kerner via use-livecode wrote: > > >>>>>> is anyone using anything besides mergGoogle to work with google > > sheets? > > >>>>>> care to share, if you are? > > >>>>> > > >>>>> I'm just using the Google Sheets API directly from LiveCode - just > > >>> pushing > > >>>>> JSON back and forth. The API is limited, but what's there is very > > easy > > >>> to > > >>>>> work > > >>>>> with - much better than manipulating xlsx files. > > >>>>> > > >>>>> I started using it to get data from clients, and then processing > data > > >>> and > > >>>>> pushing it back into the sheets. I've also used on some > experimental > > >>> image > > >>>>> processing, where I found that pushing the results of LiveCode > > functions > > >>>>> into > > >>>>> a google sheet immediately gave me an nice interface in which to > > review > > >>>>> the > > >>>>> data, and then I could also use the spreadsheet functions to do > > >>> evaluation > > >>>>> and > > >>>>> testing. > > >>>>> > > >>>>> Ben > > >>>>> > > >>>>> ____ > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription > > > preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dangmacguy at gmail.com Tue Jul 21 11:28:32 2020 From: dangmacguy at gmail.com (Bruce Pokras) Date: Tue, 21 Jul 2020 11:28:32 -0400 Subject: Functions running in IDE, but not running in standalone In-Reply-To: References: <0237946F-F436-4A89-84B1-5C61BF092958.ref@rogers.com> <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> <20C2359E-FE16-4587-8AE8-B783A912F99B@gmail.com> <37389C63-0868-47D9-BB02-6C604C0ED268@m-r-d.de> <6E139F88-280D-4F78-B776-47206302E42A@gmail.com> <839405CC-8C82-4266-845A-4E948BE1B7B0@m-r-d.de> <5673DB6B-786D-4F1B-81E3-AFE0A36EF6C8@m-r-d.de> <1CE6AC1F-35A6-4507-813D-FBEC8AD86F5D@gmail.com> Message-ID: <0A609499-4D53-4B3E-B35C-2394C2EF619A@gmail.com> Matthias, Thanks very much for your interest in helping me with my problems. 1) Internet library working in the standalone? The Internet library is apparently installed and working properly for downloading patent text and PDF images with ?put URL [web address] into binfile: [local file path and name]?. No problems with that. 2) Savestackrequest message? I do not use that. Regards, Bruce > On Jul 20, 2020, at 7:12 PM, matthias rebbe via use-livecode wrote: > > Bruce, > > i just tried with a sample stack where i did not include the Internet library. I get exact the same error in the bugreport (except the line number and stack name and so on). > > "Executing at 12:58:33 AM on Tuesday, July 21, 2020 > Type: Handler: can't find handler > Object: button "Button" of card id 1002 of stack "/Users/matthias/Downloads/test5/MacOSX/test.app/Contents/MacOS/test" > Line: libURLSetSSLVerification false > Line Num: 2 > Hint: libURLSetSSLVerification > > Comments: hm,weird" > > > If Internet library is really selected in under Inclusions in Standalone Settings, then either there is a problem with your Livecode installation or another guess... > > Are you using the savestackrequest message in your scripts? If so, is it possible by any chance that you did forgot to add "pass savestackrequest" before "End savestackrequest"? > > I remember that a long time ago i bothered the Support Team with a problem that database functions did not work in my standalone although i had enabled all needed inclusions. > The problem was i used the savestackrequest message to cleanup fields and other things in the stack before saving, but forgot to add "pass savestackrequest". > The interesting part was, that the standalone was created and although all included externals were added to the standalone, the standalone was not able to communicate with the database. After adding that line, all was fine. > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 21.07.2020 um 00:28 schrieb Bruce Pokras via use-livecode : >> >> Matthias, >> >> Yes to both Internet and SSL & Encryption libraries. >> >> So everything should be running just fine, but are not. >> >> Regards, >> >> Bruce >> >>> On Jul 20, 2020, at 6:04 PM, matthias rebbe via use-livecode wrote: >>> >>> Bruce, >>> >>> and according to the dictionary Internet has to be included to use libURLSetSSLVerification. >>> >>> >>> >>> - >>> Matthias Rebbe >>> Life Is Too Short For Boring Code >>> >>>> Am 20.07.2020 um 23:29 schrieb matthias rebbe via use-livecode : >>>> >>>> Bruce, >>>> >>>> i might be wrong, but did you also include SSL&Encryption in StandaloneSettings. >>>> If i recall it correctly then SSL&Encryption is needed for https. >>>> >>>> Regards, >>>> >>>> - >>>> Matthias Rebbe >>>> Life Is Too Short For Boring Code >>>> >>>>> Am 20.07.2020 um 22:28 schrieb Bruce Pokras via use-livecode >: >>>>> >>>>> Matthias and Curry, >>>>> >>>>> Thanks for your responses. I am using Indy for which I apparently do not have access to RemoteDebugger. >>>>> >>>>> I did activate the ?Bug Reports? feature and added ?tsNet? to the included stuff for the standalone. >>>>> >>>>> From the bug reporter feature, it seems that ?libURL" commands/functions are somehow creating a problem. (And, yes, I am including the Internet library in my standalone!). >>>>> >>>>> Here are a couple of examples of the bug reports that were generated: >>>>> ====== >>>>> Error from running Patent Grabber?s ?Abstract Report": >>>>> >>>>> Executing at 3:45:49 PM on Monday, July 20, 2020 >>>>> Type: Handler: can't find handler >>>>> Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03" >>>>> Line Num: 81 >>>>> Hint: libURLSetSSLVerification >>>>> >>>>> My comments: Line 81 is where I set libURLSetSSLVerification to false. What does it mean ?can?t find handler"???? Why not? It?s part of the included Internet library! >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Jul 21 11:52:21 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 21 Jul 2020 17:52:21 +0200 Subject: Functions running in IDE, but not running in standalone In-Reply-To: <0A609499-4D53-4B3E-B35C-2394C2EF619A@gmail.com> References: <0237946F-F436-4A89-84B1-5C61BF092958.ref@rogers.com> <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> <20C2359E-FE16-4587-8AE8-B783A912F99B@gmail.com> <37389C63-0868-47D9-BB02-6C604C0ED268@m-r-d.de> <6E139F88-280D-4F78-B776-47206302E42A@gmail.com> <839405CC-8C82-4266-845A-4E948BE1B7B0@m-r-d.de> <5673DB6B-786D-4F1B-81E3-AFE0A36EF6C8@m-r-d.de> <1CE6AC1F-35A6-4507-813D-FBEC8AD86F5D@gmail.com> <0A609499-4D53-4B3E-B35C-2394C2EF619A@gmail.com> Message-ID: <2ED55883-2EDB-4227-B9E7-10803D6DF4F2@m-r-d.de> Bruce, i am now almost out of ideas. ;) If no one else has an idea, then i would contact Livecode Support. But you could try one little thing before sending a support request. I cannot remember whne tsNet was introduced. But you could try to create a standalone which does not use tsNET. So... 1. In Standalone Settings under inclusions uncheck tsNET 2. run dispatch "revunloadlibrary" to stack tsnetliburl in the message box This disables tsNET. 3. Now create a standalone. That standalone will now just use the libURL library without tsNET. 4. Test with that standalone To enable tsNET again just restart Livecode or execute dispatch "revloadlibrary" to stack tsnetliburl in the message box - Matthias Rebbe Life Is Too Short For Boring Code > Am 21.07.2020 um 17:28 schrieb Bruce Pokras via use-livecode : > > Matthias, > > Thanks very much for your interest in helping me with my problems. > > 1) Internet library working in the standalone? The Internet library is apparently installed and working properly for downloading patent text and PDF images with ?put URL [web address] into binfile: [local file path and name]?. No problems with that. > > 2) Savestackrequest message? I do not use that. > > Regards, > > Bruce > >> On Jul 20, 2020, at 7:12 PM, matthias rebbe via use-livecode wrote: >> >> Bruce, >> >> i just tried with a sample stack where i did not include the Internet library. I get exact the same error in the bugreport (except the line number and stack name and so on). >> >> "Executing at 12:58:33 AM on Tuesday, July 21, 2020 >> Type: Handler: can't find handler >> Object: button "Button" of card id 1002 of stack "/Users/matthias/Downloads/test5/MacOSX/test.app/Contents/MacOS/test" >> Line: libURLSetSSLVerification false >> Line Num: 2 >> Hint: libURLSetSSLVerification >> >> Comments: hm,weird" >> >> >> If Internet library is really selected in under Inclusions in Standalone Settings, then either there is a problem with your Livecode installation or another guess... >> >> Are you using the savestackrequest message in your scripts? If so, is it possible by any chance that you did forgot to add "pass savestackrequest" before "End savestackrequest"? >> >> I remember that a long time ago i bothered the Support Team with a problem that database functions did not work in my standalone although i had enabled all needed inclusions. >> The problem was i used the savestackrequest message to cleanup fields and other things in the stack before saving, but forgot to add "pass savestackrequest". >> The interesting part was, that the standalone was created and although all included externals were added to the standalone, the standalone was not able to communicate with the database. After adding that line, all was fine. >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>> Am 21.07.2020 um 00:28 schrieb Bruce Pokras via use-livecode : >>> >>> Matthias, >>> >>> Yes to both Internet and SSL & Encryption libraries. >>> >>> So everything should be running just fine, but are not. >>> >>> Regards, >>> >>> Bruce >>> >>>> On Jul 20, 2020, at 6:04 PM, matthias rebbe via use-livecode wrote: >>>> >>>> Bruce, >>>> >>>> and according to the dictionary Internet has to be included to use libURLSetSSLVerification. >>>> >>>> >>>> >>>> - >>>> Matthias Rebbe >>>> Life Is Too Short For Boring Code >>>> >>>>> Am 20.07.2020 um 23:29 schrieb matthias rebbe via use-livecode : >>>>> >>>>> Bruce, >>>>> >>>>> i might be wrong, but did you also include SSL&Encryption in StandaloneSettings. >>>>> If i recall it correctly then SSL&Encryption is needed for https. >>>>> >>>>> Regards, >>>>> >>>>> - >>>>> Matthias Rebbe >>>>> Life Is Too Short For Boring Code >>>>> >>>>>> Am 20.07.2020 um 22:28 schrieb Bruce Pokras via use-livecode >: >>>>>> >>>>>> Matthias and Curry, >>>>>> >>>>>> Thanks for your responses. I am using Indy for which I apparently do not have access to RemoteDebugger. >>>>>> >>>>>> I did activate the ?Bug Reports? feature and added ?tsNet? to the included stuff for the standalone. >>>>>> >>>>>> From the bug reporter feature, it seems that ?libURL" commands/functions are somehow creating a problem. (And, yes, I am including the Internet library in my standalone!). >>>>>> >>>>>> Here are a couple of examples of the bug reports that were generated: >>>>>> ====== >>>>>> Error from running Patent Grabber?s ?Abstract Report": >>>>>> >>>>>> Executing at 3:45:49 PM on Monday, July 20, 2020 >>>>>> Type: Handler: can't find handler >>>>>> Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03" >>>>>> Line Num: 81 >>>>>> Hint: libURLSetSSLVerification >>>>>> >>>>>> My comments: Line 81 is where I set libURLSetSSLVerification to false. What does it mean ?can?t find handler"???? Why not? It?s part of the included Internet library! >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Jul 21 13:30:12 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 21 Jul 2020 12:30:12 -0500 Subject: Browser widget scrolling In-Reply-To: References: Message-ID: <19783ba9-6c0c-18a8-4c47-a2aa0ac85012@hyperactivesw.com> On 7/21/20 1:39 AM, Terence Heaford via use-livecode wrote: > > >> On 20 Jul 2020, at 21:06, J. Landman Gay via use-livecode wrote: >> >> I'm not sure if this is a bug or a feature. > > > It also seems to happen when the widget is empty? > Sounds like a bug report is in order. If there is a property available, it should be functional and this one isn't. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From benr_mc at cogapp.com Wed Jul 22 04:40:02 2020 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 22 Jul 2020 09:40:02 +0100 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: <8493c65b-f5fd-f731-3de9-fd3e2aa5c614@cogapp.com> <3e6af03d-77d1-2055-d555-ef976bc73997@cogapp.com> <9380a60f-2736-982d-aae5-36086eeb3709@cogapp.com> Message-ID: Ah, shame. It turned out it was (IIUC) just a change in the way Google did their tokens which exposed a bug, now fixed, in how LC did OAuth - nothing to do with the general API changing. At any rate, I do have a very basic library which I use to read and write Google sheets, in case it's of use to anyone. (I say library - currently it's a button I copy and paste to stacks where I need it, and "insert the script of". I've completely lost track of how real "libraries" should be packaged. Where should I look?) Ben On 21/07/2020 14:49, Mike Kerner wrote: > I got impatient/spooked so we went another direction.? I think we're going to > use other tools. > > On Thu, Jul 16, 2020 at 10:00 AM Ben Rubinstein via use-livecode > > wrote: > > Hi Mike, > > Brian Milby put me on to the solution for the OAuth problem: > > Check out bug 22557 / PR 7381. > > Line 247 of oath2.livecodescript need urlEncode removed > > Are you still interested in this, or are you covered now? > > regards, > > Ben > > On 11/03/2020 20:45, Ben Rubinstein via use-livecode wrote: > > Hi Mike, > > > > I haven't forgotten, but finally found time to take a look today and > started > > writing minimal comments, and thought I should at least test it - for some > > reason the authorisation isn't working. For whatever reason, the call to > > OAuth2 results in the error "Malformed auth code." So I can't get to > test what > > I'm sending. > > > > I'm unclear whether I've done something strange or wrong, or whether > Google > > has changed something that breaks LC's implementation. I've come across > > references which suggest that, but they date back to last year, and I > believe > > I've used this stack in January. (I also tried using LC 9.0.4 with the > same > > result.) > > > > I will try to get back to this. In the meantime, have you - or anyone - > found > > issues recently with OAuth2, in particular against any of the Google APIs? > > > > Ben > > > > > > On 08/03/2020 22:22, Mike Kerner via use-livecode wrote: > >> it might help us get started.? i'm going to probably put out an rfq to > wrap > >> the v4 rest api, because we're going to have to come to a solution, either > >> using lc or some other tool. > >> > >> On Sun, Mar 8, 2020 at 6:01 PM Ben Rubinstein via use-livecode < > >> use-livecode at lists.runrev.com > > wrote: > >> > >>> Mike, > >>> > >>> Very happy to share what I've got, but it's really not much - just a very > >>> thin > >>> wrapper round Google's API - and it's undocumented, mostly rough code - > >>> copied > >>> from one stack to the next, usually done in a tearing hurry! > >>> > >>> I'll try to pull something together, but please promise not to judge > me... > >>> > >>> Ben > >>> > >>> On 06/03/2020 15:13, Mike Kerner via use-livecode wrote: > >>>> Ben, > >>>> would you send me what you've got?? I was considering paying someone to > >>>> wrap the entire v4 api and dropping mergGoogle, so any head start would > >>> be > >>>> useful.? LC wants tribute to do the work (which is a little > disappointing > >>>> since we financed the original external, so we sort-of hoped that it > >>> would > >>>> become a thing, and it would get updated as required, but crap happens). > >>>> > >>>> On Thu, Mar 5, 2020 at 6:04 PM Ben Rubinstein via use-livecode < > >>>> use-livecode at lists.runrev.com > > wrote: > >>>> > >>>>> On 04/03/2020 20:37, Mike Kerner via use-livecode wrote: > >>>>>> is anyone using anything besides mergGoogle to work with google > sheets? > >>>>>> care to share, if you are? > >>>>> > >>>>> I'm just using the Google Sheets API directly from LiveCode - just > >>> pushing > >>>>> JSON back and forth. The API is limited, but what's there is very easy > >>> to > >>>>> work > >>>>> with - much better than manipulating xlsx files. > >>>>> > >>>>> I started using it to get data from clients, and then processing data > >>> and > >>>>> pushing it back into the sheets. I've also used on some experimental > >>> image > >>>>> processing, where I found that pushing the results of LiveCode > functions > >>>>> into > >>>>> a google sheet immediately gave me an nice interface in which to review > >>>>> the > >>>>> data, and then I could also use the spreadsheet functions to do > >>> evaluation > >>>>> and > >>>>> testing. > >>>>> > >>>>> Ben > >>>>> > >>>>> ____ > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > ?? and did a little diving. > And God said, "This is good." From theaford at btinternet.com Wed Jul 22 05:55:50 2020 From: theaford at btinternet.com (Terence Heaford) Date: Wed, 22 Jul 2020 10:55:50 +0100 Subject: Wrapping Text Message-ID: If you have a field with one long word that is wider than the field it does not wrap, it truncates. Is there a solution to this? Thanks Terry From craig at starfirelighting.com Wed Jul 22 08:48:11 2020 From: craig at starfirelighting.com (Craig Newman) Date: Wed, 22 Jul 2020 08:48:11 -0400 Subject: Wrapping Text In-Reply-To: References: Message-ID: Check out the ?donttWrap? and ?formattedWidth? properties. Craig > On Jul 22, 2020, at 5:55 AM, Terence Heaford via use-livecode wrote: > > If you have a field with one long word that is wider than the field it does not wrap, it truncates. > > Is there a solution to this? > > > Thanks > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Wed Jul 22 08:56:31 2020 From: craig at starfirelighting.com (Craig Newman) Date: Wed, 22 Jul 2020 08:56:31 -0400 Subject: Wrapping Text In-Reply-To: References: Message-ID: <5F0C1160-CF29-4C28-9F2B-851F283C76B9@starfirelighting.com> Hi. Sorry, it is "dontWrap", not "donttWrap". The field is not truncating, except visually. The text runs out the right side of the field's visible extent. Setting the "dontWrap" to false will force the field to wrap the text. You must remember that this is not the same as adding carriage returns in the necessary places. Craig > On Jul 22, 2020, at 8:48 AM, Craig Newman via use-livecode wrote: > > Check out the ?donttWrap? and ?formattedWidth? properties. > > Craig > >> On Jul 22, 2020, at 5:55 AM, Terence Heaford via use-livecode wrote: >> >> If you have a field with one long word that is wider than the field it does not wrap, it truncates. >> >> Is there a solution to this? >> >> >> Thanks >> >> Terry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Jul 22 09:05:06 2020 From: klaus at major-k.de (Klaus major-k) Date: Wed, 22 Jul 2020 15:05:06 +0200 Subject: Wrapping Text In-Reply-To: <5F0C1160-CF29-4C28-9F2B-851F283C76B9@starfirelighting.com> References: <5F0C1160-CF29-4C28-9F2B-851F283C76B9@starfirelighting.com> Message-ID: <65564BFA-FF74-4D16-8980-E41EC5304CE7@major-k.de> Hi Craig, > Am 22.07.2020 um 14:56 schrieb Craig Newman via use-livecode : > > Hi. > > Sorry, it is "dontWrap", not "donttWrap". > The field is not truncating, except visually. The text runs out the right side of the field's visible extent. Setting the "dontWrap" to false will force the field to wrap the text. "dontwrap" or not, LC needs a SPACE in a word to wrap the text! No space = no wrapping! > You must remember that this is not the same as adding carriage returns in the necessary places. > > Craig > >> On Jul 22, 2020, at 8:48 AM, Craig Newman via use-livecode wrote: >> Check out the ?donttWrap? and ?formattedWidth? properties. >> Craig >> >>> On Jul 22, 2020, at 5:55 AM, Terence Heaford via use-livecode wrote: >>> If you have a field with one long word that is wider than the field it does not wrap, it truncates. >>> Is there a solution to this? >>> >>> >>> Thanks >>> >>> Terry Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From craig at starfirelighting.com Wed Jul 22 09:11:24 2020 From: craig at starfirelighting.com (Craig Newman) Date: Wed, 22 Jul 2020 09:11:24 -0400 Subject: Wrapping Text In-Reply-To: <65564BFA-FF74-4D16-8980-E41EC5304CE7@major-k.de> References: <5F0C1160-CF29-4C28-9F2B-851F283C76B9@starfirelighting.com> <65564BFA-FF74-4D16-8980-E41EC5304CE7@major-k.de> Message-ID: What Klaus said is true, but this still all depends on the state of the ?dontWrap? property. If ?true? text will run on forever, regardless of whether a particular line contains spaces or not. So what is the state of that property in your field? Anyway, a little playing around with dontWrap will set you straight. > On Jul 22, 2020, at 9:05 AM, Klaus major-k via use-livecode wrote: > > Hi Craig, > >> Am 22.07.2020 um 14:56 schrieb Craig Newman via use-livecode >: >> >> Hi. >> >> Sorry, it is "dontWrap", not "donttWrap". >> The field is not truncating, except visually. The text runs out the right side of the field's visible extent. Setting the "dontWrap" to false will force the field to wrap the text. > > "dontwrap" or not, LC needs a SPACE in a word to wrap the text! > No space = no wrapping! > >> You must remember that this is not the same as adding carriage returns in the necessary places. >> >> Craig >> >>> On Jul 22, 2020, at 8:48 AM, Craig Newman via use-livecode wrote: >>> Check out the ?donttWrap? and ?formattedWidth? properties. >>> Craig >>> >>>> On Jul 22, 2020, at 5:55 AM, Terence Heaford via use-livecode wrote: >>>> If you have a field with one long word that is wider than the field it does not wrap, it truncates. >>>> Is there a solution to this? >>>> >>>> >>>> Thanks >>>> >>>> Terry > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From theaford at btinternet.com Wed Jul 22 09:34:56 2020 From: theaford at btinternet.com (Terry Heaford) Date: Wed, 22 Jul 2020 14:34:56 +0100 Subject: Wrapping Text In-Reply-To: References: Message-ID: I presume therefore that the only way to resolve a single long word in a field would be to have a repeat loop removing characters from the end until it fits then insert a cr and put the characters removed on the new line Terry > On 22 Jul 2020, at 14:12, Craig Newman via use-livecode wrote: > > ?What Klaus said is true, but this still all depends on the state of the ?dontWrap? property. If ?true? text will run on forever, regardless of whether a particular line contains spaces or not. > > So what is the state of that property in your field? > > Anyway, a little playing around with dontWrap will set you straight. > >> On Jul 22, 2020, at 9:05 AM, Klaus major-k via use-livecode wrote: >> >> Hi Craig, >> >>>> Am 22.07.2020 um 14:56 schrieb Craig Newman via use-livecode >: >>> >>> Hi. >>> >>> Sorry, it is "dontWrap", not "donttWrap". >>> The field is not truncating, except visually. The text runs out the right side of the field's visible extent. Setting the "dontWrap" to false will force the field to wrap the text. >> >> "dontwrap" or not, LC needs a SPACE in a word to wrap the text! >> No space = no wrapping! >> >>> You must remember that this is not the same as adding carriage returns in the necessary places. >>> >>> Craig >>> >>>> On Jul 22, 2020, at 8:48 AM, Craig Newman via use-livecode wrote: >>>> Check out the ?donttWrap? and ?formattedWidth? properties. >>>> Craig >>>> >>>>> On Jul 22, 2020, at 5:55 AM, Terence Heaford via use-livecode wrote: >>>>> If you have a field with one long word that is wider than the field it does not wrap, it truncates. >>>>> Is there a solution to this? >>>>> >>>>> >>>>> Thanks >>>>> >>>>> Terry >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Wed Jul 22 09:43:57 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 22 Jul 2020 15:43:57 +0200 Subject: Wrapping Text In-Reply-To: References: Message-ID: In order for this to work you should also take into consideration various rules for hyphenating words in the appropriate language. As these rules varies between languages, this can become a very complex function. If the text that goes into the field is static then I would either reduce the font size, widen the field (or both) or try to find a synonym that fits into the width of the field. Best regards Tore Nilsen > 22. jul. 2020 kl. 15:34 skrev Terry Heaford via use-livecode : > > > I presume therefore that the only way to resolve a single long word in a field would be to have a repeat loop removing characters from the end until it fits then insert a cr and put the characters removed on the new line > > Terry > >> On 22 Jul 2020, at 14:12, Craig Newman via use-livecode wrote: >> >> ?What Klaus said is true, but this still all depends on the state of the ?dontWrap? property. If ?true? text will run on forever, regardless of whether a particular line contains spaces or not. >> >> So what is the state of that property in your field? >> >> Anyway, a little playing around with dontWrap will set you straight. >> >>> On Jul 22, 2020, at 9:05 AM, Klaus major-k via use-livecode wrote: >>> >>> Hi Craig, >>> >>>>> Am 22.07.2020 um 14:56 schrieb Craig Newman via use-livecode >: >>>> >>>> Hi. >>>> >>>> Sorry, it is "dontWrap", not "donttWrap". >>>> The field is not truncating, except visually. The text runs out the right side of the field's visible extent. Setting the "dontWrap" to false will force the field to wrap the text. >>> >>> "dontwrap" or not, LC needs a SPACE in a word to wrap the text! >>> No space = no wrapping! >>> >>>> You must remember that this is not the same as adding carriage returns in the necessary places. >>>> >>>> Craig >>>> >>>>> On Jul 22, 2020, at 8:48 AM, Craig Newman via use-livecode wrote: >>>>> Check out the ?donttWrap? and ?formattedWidth? properties. >>>>> Craig >>>>> >>>>>> On Jul 22, 2020, at 5:55 AM, Terence Heaford via use-livecode wrote: >>>>>> If you have a field with one long word that is wider than the field it does not wrap, it truncates. >>>>>> Is there a solution to this? >>>>>> >>>>>> >>>>>> Thanks >>>>>> >>>>>> Terry >>> >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> https://www.major-k.de >>> klaus at major-k.de >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Jul 22 10:31:20 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Jul 2020 09:31:20 -0500 Subject: Wrapping Text In-Reply-To: References: Message-ID: <17376ef96c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Right, removing characters from the end until it fits is the only way I know of. It's faster if you use the templateField and measureText. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 22, 2020 8:36:59 AM Terry Heaford via use-livecode wrote: > I presume therefore that the only way to resolve a single long word in a > field would be to have a repeat loop removing characters from the end until > it fits then insert a cr and put the characters removed on the new line > > Terry > >> On 22 Jul 2020, at 14:12, Craig Newman via use-livecode >> wrote: >> >> ?What Klaus said is true, but this still all depends on the state of the >> ?dontWrap? property. If ?true? text will run on forever, regardless of >> whether a particular line contains spaces or not. >> >> So what is the state of that property in your field? >> >> Anyway, a little playing around with dontWrap will set you straight. >> >>> On Jul 22, 2020, at 9:05 AM, Klaus major-k via use-livecode >>> wrote: >>> >>> Hi Craig, >>> >>>>> Am 22.07.2020 um 14:56 schrieb Craig Newman via use-livecode >>>>> >: >>>> >>>> Hi. >>>> >>>> Sorry, it is "dontWrap", not "donttWrap". >>>> The field is not truncating, except visually. The text runs out the right >>>> side of the field's visible extent. Setting the "dontWrap" to false will >>>> force the field to wrap the text. >>> >>> "dontwrap" or not, LC needs a SPACE in a word to wrap the text! >>> No space = no wrapping! >>> >>>> You must remember that this is not the same as adding carriage returns in >>>> the necessary places. >>>> >>>> Craig >>>> >>>>> On Jul 22, 2020, at 8:48 AM, Craig Newman via use-livecode >>>>> wrote: >>>>> Check out the ?donttWrap? and ?formattedWidth? properties. >>>>> Craig >>>>> >>>>>> On Jul 22, 2020, at 5:55 AM, Terence Heaford via use-livecode >>>>>> wrote: >>>>>> If you have a field with one long word that is wider than the field it does >>>>>> not wrap, it truncates. >>>>>> Is there a solution to this? >>>>>> >>>>>> >>>>>> Thanks >>>>>> >>>>>> Terry >>> >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> https://www.major-k.de >>> klaus at major-k.de >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From theaford at btinternet.com Wed Jul 22 10:34:20 2020 From: theaford at btinternet.com (Terry Heaford) Date: Wed, 22 Jul 2020 15:34:20 +0100 Subject: Wrapping Text In-Reply-To: References: Message-ID: <04F0F985-0944-411A-B3FD-ED2020216EA5@btinternet.com> It?s actually the x axis labels on a column chart. I currently have them truncating but thought I could have them enlarge the field height. The width is decided by the column width. LC rotate widget is not a solution as its not complete and unreliable. I am currently trying canvasjs charts in a browser which is where I got the idea. Any ideas welcome Terry > On 22 Jul 2020, at 14:45, Tore Nilsen via use-livecode wrote: > > ?In order for this to work you should also take into consideration various rules for hyphenating words in the appropriate language. As these rules varies between languages, this can become a very complex function. If the text that goes into the field is static then I would either reduce the font size, widen the field (or both) or try to find a synonym that fits into the width of the field. > > Best regards > Tore Nilsen > >> 22. jul. 2020 kl. 15:34 skrev Terry Heaford via use-livecode : >> >> >> I presume therefore that the only way to resolve a single long word in a field would be to have a repeat loop removing characters from the end until it fits then insert a cr and put the characters removed on the new line >> >> Terry >> >>>> On 22 Jul 2020, at 14:12, Craig Newman via use-livecode wrote: >>> >>> ?What Klaus said is true, but this still all depends on the state of the ?dontWrap? property. If ?true? text will run on forever, regardless of whether a particular line contains spaces or not. >>> >>> So what is the state of that property in your field? >>> >>> Anyway, a little playing around with dontWrap will set you straight. >>> >>>> On Jul 22, 2020, at 9:05 AM, Klaus major-k via use-livecode wrote: >>>> >>>> Hi Craig, >>>> >>>>>> Am 22.07.2020 um 14:56 schrieb Craig Newman via use-livecode >: >>>>> >>>>> Hi. >>>>> >>>>> Sorry, it is "dontWrap", not "donttWrap". >>>>> The field is not truncating, except visually. The text runs out the right side of the field's visible extent. Setting the "dontWrap" to false will force the field to wrap the text. >>>> >>>> "dontwrap" or not, LC needs a SPACE in a word to wrap the text! >>>> No space = no wrapping! >>>> >>>>> You must remember that this is not the same as adding carriage returns in the necessary places. >>>>> >>>>> Craig >>>>> >>>>>> On Jul 22, 2020, at 8:48 AM, Craig Newman via use-livecode wrote: >>>>>> Check out the ?donttWrap? and ?formattedWidth? properties. >>>>>> Craig >>>>>> >>>>>>> On Jul 22, 2020, at 5:55 AM, Terence Heaford via use-livecode wrote: >>>>>>> If you have a field with one long word that is wider than the field it does not wrap, it truncates. >>>>>>> Is there a solution to this? >>>>>>> >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> Terry >>>> >>>> Best >>>> >>>> Klaus >>>> >>>> -- >>>> Klaus Major >>>> https://www.major-k.de >>>> klaus at major-k.de >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Jul 22 10:55:20 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 22 Jul 2020 16:55:20 +0200 Subject: text to speech android In-Reply-To: <86A3DB62-3D63-47A2-BB86-B9FACE3829CB@appisle.net> References: <26402A75-2748-42D8-9686-1373A37F833F@major-k.de> <4A461B20-2864-4BB8-9277-F60F49888F32@m-r-d.de> <5ECA7F11-6A50-4A6F-A5A6-851E3D2F9D50@elementarysoftware.com> <86A3DB62-3D63-47A2-BB86-B9FACE3829CB@appisle.net> Message-ID: <5BA305CE-E404-4302-B554-2C46E2234276@m-r-d.de> Monte, i noticed here on my German Mac OS, that i definitely need to use the names that are used in the identifiers. e.g. com.apple.speech.synthesis.voice.joana. Using the value of the ["name"] element does not work, as the names are all uppercase, while the names in the identifiers are lowercase, except the following ones Ralph Kathy Organ Boing BadNews Princess Zarvox Trinoids Vicki Bells Deranged Fred Bubbles GoodNews Victoria Bahh Hysterical Bruce Alex Whisper Albert Cellos Agnes Junior And another thing: I noticed that i have here 4 German voices that have the "suffix" premium in the identifier com.apple.speech.synthesis.voice.petra.premium com.apple.speech.synthesis.voice.anna.premium com.apple.speech.synthesis.voice.yannick.premium com.apple.speech.synthesis.voice.markus.premium If i remember right, they were downloaded (each about 1Gig) when i selected them in System Control/UniversalAccess. What i do not understand is for what i can use the ["name"] value? Are those needed for Android or iOS? - Matthias Rebbe Life Is Too Short For Boring Code > Am 20.07.2020 um 06:05 schrieb Monte Goulding via use-livecode : > > Hi Scott > > The identifiers and names all come from the macOS NSSpeechSynthesizer API and yes Victoria does appear to be the only voice with an uppercase character in the identifier `com.apple.speech.synthesis.voice.Victoria`, > > Cheers > > Monte > >> On 20 Jul 2020, at 12:57 pm, scott--- via use-livecode wrote: >> >> Ack! with the exception of ?Victoria? which seems to require an Uppercase first letter. (utter chaos) >> >>> On Jul 19, 2020, at 7:44 PM, scott--- via use-livecode wrote: >>> >>> I notice that although speechGetVoices() provides names that begin with an uppercase letter >>> speechSetVoice() appears to require the name be lowercase for it to work reliably. >>> >>> LC 9.6.0 Mac Mojave >>> >>> ? >>> Scott Morrow >>> >>>> On Jul 19, 2020, at 9:00 AM, matthias rebbe via use-livecode wrote: >>>> >>>> Hi Klaus, >>>> >>>> just did a quick successful test on Mac OS 10.14.6 with this script >>>> >>>> on mouseup >>>> >>>> speechInitializeLibrary >>>> >>>> end mouseup >>>> >>>> on speechLibraryInitialized pSuccess >>>> >>>> if pSuccess then >>>> >>>> speechSpeakUtterance "Hallo Klaus" >>>> >>>> get speechfinalizeLibrary() >>>> >>>> end if >>>> >>>> end speechLibraryInitialized >>>> >>>> >>>> - >>>> Matthias Rebbe >>>> Life Is Too Short For Boring Code >>>> >>>>> Am 19.07.2020 um 14:28 schrieb Klaus major-k via use-livecode : >>>>> >>>>> Hi Klaus, >>>>> >>>>>> Am 18.07.2020 um 12:30 schrieb Klaus major-k via use-livecode : >>>>>> >>>>>> Hi all, >>>>>> >>>>>> in 9.6 we have a new speech library for Mac, iOs and Android. >>>>>> In the dictionary "revspeak" is still listed as Mac and Windows only. >>>>>> >>>>>> Am I correct to presume that the syntax-> revspeak "what to speak" >>>>>> is still the same for this new speech library on Android? >>>>> >>>>> no, you are not correct! >>>>> The new syntax is -> speechSpeakUtterance "what to speech speak or say?" >>>>> >>>>>> Thanks in advance! >>>>> >>>>> You're welcome! >>>>> >>>>>> Best >>>>>> >>>>>> Klaus >>>>> >>>>> Did someone could make this work on a Mac so far? >>>>> >>>>> >>>>> Best >>>>> >>>>> Klaus >>>>> >>>>> -- >>>>> Klaus Major >>>>> https://www.major-k.de >>>>> klaus at major-k.de >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Jul 22 12:26:36 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Jul 2020 09:26:36 -0700 Subject: Using OAuth2 with Microsoft API services Message-ID: <749acf61-2c09-9de1-8e22-97f553a898a1@fourthworld.com> I've run into a snag in which the OAuth2 redirect URI does not seem to be called when used to authenticate for Microsoft API services such as Dynamics 365. Before getting into details (there are many) it would be helpful to know whether anyone here has successfully use LiveCode's OAuth2 library to connect to Microsoft Office 365 apps, or even other Microsoft services that use Azure's authentication service. If not via LC's OAuth2 library, has anyone here successfully used LC to use Azure's auth for MS apps with custom code? I may be in a position to pay a modest fee for code or consultation that leads us to a successful solution. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ahsoftware at sonic.net Wed Jul 22 14:08:36 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 22 Jul 2020 11:08:36 -0700 Subject: Using OAuth2 with Microsoft API services In-Reply-To: <749acf61-2c09-9de1-8e22-97f553a898a1@fourthworld.com> References: <749acf61-2c09-9de1-8e22-97f553a898a1@fourthworld.com> Message-ID: On 7/22/20 9:26 AM, Richard Gaskin via use-livecode wrote: > I've run into a snag in which the OAuth2 redirect URI does not seem to > be called when used to authenticate for Microsoft API services such as > Dynamics 365. > > Before getting into details (there are many) it would be helpful to know > whether anyone here has successfully use LiveCode's OAuth2 library to > connect to Microsoft Office 365 apps, or even other Microsoft services > that use Azure's authentication service. Haven't, but this seems to be what you need: Microsoft and Amazon make for strange bedfellows. Use certificates if you can. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Wed Jul 22 14:55:57 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Jul 2020 11:55:57 -0700 Subject: Using OAuth2 with Microsoft API services In-Reply-To: References: Message-ID: Mark Wieder wrote: > On 7/22/20 9:26 AM, Richard Gaskin via use-livecode wrote: >> I've run into a snag in which the OAuth2 redirect URI does not seem to >> be called when used to authenticate for Microsoft API services such as >> Dynamics 365. >> >> Before getting into details (there are many) it would be helpful to know >> whether anyone here has successfully use LiveCode's OAuth2 library to >> connect to Microsoft Office 365 apps, or even other Microsoft services >> that use Azure's authentication service. > > Haven't, but this seems to be what you need: > > > > Microsoft and Amazon make for strange bedfellows. Use certificates if > you can. Certificates? What are you referring to in the context of OAuth? And I missed something - how does Amazon play into this? But yes, that's the page we started with. We're now having an issue with the redirect URI not firing. I'm working with the admin to adjust yet another Azure setting for that, but it would sure streamline the trial-and-error process if I could find someone who's done this successfully with LC. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Jul 22 15:00:54 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Jul 2020 12:00:54 -0700 Subject: Using OAuth2 with Microsoft API services In-Reply-To: References: Message-ID: <73e67665-f478-452c-7bc4-2dff109e1800@fourthworld.com> A moment ago I wrote: > Mark Wieder wrote: >> On 7/22/20 9:26 AM, Richard Gaskin via use-livecode wrote: >>> I've run into a snag in which the OAuth2 redirect URI does not seem to >>> be called when used to authenticate for Microsoft API services such as >>> Dynamics 365. >>> >>> Before getting into details (there are many) it would be helpful to know >>> whether anyone here has successfully use LiveCode's OAuth2 library to >>> connect to Microsoft Office 365 apps, or even other Microsoft services >>> that use Azure's authentication service. >> >> Haven't, but this seems to be what you need: >> >> >> >> Microsoft and Amazon make for strange bedfellows. Use certificates if >> you can. > > Certificates? What are you referring to in the context of OAuth? Ignore that. I was familiar with the URL because that's where we started, but re-reading I see the section on certs there as an alternative to shared secret. Does LC's OAuth2 support certs as an alternative to shared secret? Azure made setting up shared secret a snap, and I don't recall seeing anything in LC's OAuth2 lib for using certs instead, but would be happy to try it if it'll get us past this redirect issue. Oddly, it appears as though we're authentincating fine as it is using shared secret, the only problem being that we're not getting the redirect to close the browser widget and return the auth code to us. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From prothero at earthlearningsolutions.org Wed Jul 22 15:04:18 2020 From: prothero at earthlearningsolutions.org (Prothero@earthlearning) Date: Wed, 22 Jul 2020 12:04:18 -0700 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: References: Message-ID: <17E63C03-669C-4586-8B67-D143BE3E62A4@earthlearningsolutions.org> Ben, Any chance of posting a demo stack somewhere? It sounds very useful. Thanks, Bill William Prothero http://es.earthednet.org > On Jul 22, 2020, at 10:13 AM, Ben Rubinstein via use-livecode wrote: > > ?Ah, shame. It turned out it was (IIUC) just a change in the way Google did their tokens which exposed a bug, now fixed, in how LC did OAuth - nothing to do with the general API changing. > > At any rate, I do have a very basic library which I use to read and write Google sheets, in case it's of use to anyone. > > (I say library - currently it's a button I copy and paste to stacks where I need it, and "insert the script of". I've completely lost track of how real "libraries" should be packaged. Where should I look?) > > Ben > >> On 21/07/2020 14:49, Mike Kerner wrote: >> I got impatient/spooked so we went another direction. I think we're going to use other tools. >> On Thu, Jul 16, 2020 at 10:00 AM Ben Rubinstein via use-livecode > wrote: >> Hi Mike, >> Brian Milby put me on to the solution for the OAuth problem: >> > Check out bug 22557 / PR 7381. >> > Line 247 of oath2.livecodescript need urlEncode removed >> Are you still interested in this, or are you covered now? >> regards, >> Ben >> On 11/03/2020 20:45, Ben Rubinstein via use-livecode wrote: >> > Hi Mike, >> > >> > I haven't forgotten, but finally found time to take a look today and >> started >> > writing minimal comments, and thought I should at least test it - for some >> > reason the authorisation isn't working. For whatever reason, the call to >> > OAuth2 results in the error "Malformed auth code." So I can't get to >> test what >> > I'm sending. >> > >> > I'm unclear whether I've done something strange or wrong, or whether >> Google >> > has changed something that breaks LC's implementation. I've come across >> > references which suggest that, but they date back to last year, and I >> believe >> > I've used this stack in January. (I also tried using LC 9.0.4 with the >> same >> > result.) >> > >> > I will try to get back to this. In the meantime, have you - or anyone - >> found >> > issues recently with OAuth2, in particular against any of the Google APIs? >> > >> > Ben >> > >> > >> > On 08/03/2020 22:22, Mike Kerner via use-livecode wrote: >> >> it might help us get started. i'm going to probably put out an rfq to >> wrap >> >> the v4 rest api, because we're going to have to come to a solution, either >> >> using lc or some other tool. >> >> >> >> On Sun, Mar 8, 2020 at 6:01 PM Ben Rubinstein via use-livecode < >> >> use-livecode at lists.runrev.com > >> wrote: >> >> >> >>> Mike, >> >>> >> >>> Very happy to share what I've got, but it's really not much - just a very >> >>> thin >> >>> wrapper round Google's API - and it's undocumented, mostly rough code - >> >>> copied >> >>> from one stack to the next, usually done in a tearing hurry! >> >>> >> >>> I'll try to pull something together, but please promise not to judge >> me... >> >>> >> >>> Ben >> >>> >> >>> On 06/03/2020 15:13, Mike Kerner via use-livecode wrote: >> >>>> Ben, >> >>>> would you send me what you've got? I was considering paying someone to >> >>>> wrap the entire v4 api and dropping mergGoogle, so any head start would >> >>> be >> >>>> useful. LC wants tribute to do the work (which is a little >> disappointing >> >>>> since we financed the original external, so we sort-of hoped that it >> >>> would >> >>>> become a thing, and it would get updated as required, but crap happens). >> >>>> >> >>>> On Thu, Mar 5, 2020 at 6:04 PM Ben Rubinstein via use-livecode < >> >>>> use-livecode at lists.runrev.com >> > wrote: >> >>>> >> >>>>> On 04/03/2020 20:37, Mike Kerner via use-livecode wrote: >> >>>>>> is anyone using anything besides mergGoogle to work with google >> sheets? >> >>>>>> care to share, if you are? >> >>>>> >> >>>>> I'm just using the Google Sheets API directly from LiveCode - just >> >>> pushing >> >>>>> JSON back and forth. The API is limited, but what's there is very easy >> >>> to >> >>>>> work >> >>>>> with - much better than manipulating xlsx files. >> >>>>> >> >>>>> I started using it to get data from clients, and then processing data >> >>> and >> >>>>> pushing it back into the sheets. I've also used on some experimental >> >>> image >> >>>>> processing, where I found that pushing the results of LiveCode >> functions >> >>>>> into >> >>>>> a google sheet immediately gave me an nice interface in which to review >> >>>>> the >> >>>>> data, and then I could also use the spreadsheet functions to do >> >>> evaluation >> >>>>> and >> >>>>> testing. >> >>>>> >> >>>>> Ben >> >>>>> >> >>>>> ____ >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription >> > preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Wed Jul 22 15:19:46 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 22 Jul 2020 12:19:46 -0700 Subject: Using OAuth2 with Microsoft API services In-Reply-To: References: Message-ID: On 7/22/20 11:55 AM, Richard Gaskin via use-livecode wrote: > And I missed something - how does Amazon play into this? Sorry - my bad. Doing too many things at once here. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Wed Jul 22 16:59:07 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 22 Jul 2020 13:59:07 -0700 Subject: Using OAuth2 with Microsoft API services In-Reply-To: <73e67665-f478-452c-7bc4-2dff109e1800@fourthworld.com> References: <73e67665-f478-452c-7bc4-2dff109e1800@fourthworld.com> Message-ID: On 7/22/20 12:00 PM, Richard Gaskin via use-livecode wrote: > Oddly, it appears as though we're authentincating fine as it is using > shared secret, the only problem being that we're not getting the > redirect to close the browser widget and return the auth code to us. > What happens if you try this from a terminal or in Postman? Do you see the redirect? -- Mark Wieder ahsoftware at gmail.com From alex at tweedly.net Wed Jul 22 20:08:08 2020 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 23 Jul 2020 01:08:08 +0100 Subject: ANN: FieldGroup - a simple rich text editor field. Message-ID: <618e969c-235e-30a3-9c98-512d06e7c71b@tweedly.net> I'd like to announce the Beta (i.e. v0.1) release of my simple rich text field. Currently it's not on Github or anywhere sensible - it's just on my own download site (see URL at end of this email). I'd be happy if anyone finds it useful, and / or has feedback that might make it useful. FieldGroup - a rich text editor field for Livecode. Actually, as the old joke goes, it's not really "rich" text, just comfortably off. :-) That is, it supports only some fairly basic features compared to a fully-featured rich text editor. Supported features include : ?- multi-level undo/redo ?- 'undo' can be reset (e.g. after 'save', or 'open') ?- set text style of a chunk by tool button or (sample) menu ?- undo includes text style setting ?- simple (enclosed) tool bars with text or icon buttons - optional of course. ?- each kind of button comes in two sizes ?- button tool bars in any one of four placements (top,right,bottom,left) ?- view scaling ?- call-backs to let the app know when undo/redo are available (e.g. to adjust menus) ?- no front scripts used. FieldGroup is a standalone group which can be simply copy/paste'd into your own stacks, and provides a (moderately) rich set of text field features. You can have as many of these fieldgroups as you want - each is entirely self-contained. Easy to use - handlers/functions are well documented and (I hope) straightforward to understand and use. The downloadable stack includes the group, ready to be copy/pasted, as part of a simple sample app which shows common uses. The handler definitions are included below - this is also available in the sample app. The "fill" button ill give you text to play with, but shift-Fill will restore this document. You can download the sample app - which includes the group you ned to copy/paste - from https://www.tweedly.org/downloads/FieldGroupsample.livecode This popped out from a simple app I'm writing (actually, just starting to write) so I'm sure I will realize I need more features, and they will be added. However, I do not intend it to grow to an all-singing, all-dancing word processor-like field editor - I have no need for one of those. But it might be a staring point for someone else who wants that. -- Alex. /Handlers/ In general, these handlers are invoked by 'dispatch'ing the message to the group. The sample app shows an example of how to structure the menu items (edit and Format menus). It also contains examples of manipulating the text (the *Exchange* button), showing different configurations of the buttons (the *Snap* button, and capturing the return messages for undo/redo being available. /Handlers/ */fg.init/* pAConfig Initialize the field, with an optional set of configuration parameters (see fg.configChange for details of these). /dispatch "fg.init" to grp "fldgrp" with "textbuttonsize=large", "svgbutton=large"/ */fg.configChange/* pAConfig Configure the settings for buttons usage, placement, size, etc. This can be either an array, with the key/value pairs, or any number of parameters each being in the form ?key=value?. Examples: /put "top" into tA["textbuttons"]// put "small" into tA["textbuttonsize"] dispatch "fg.configChange" to grp "fldgrp" with tA/ or /dispatch "fg.configChange" to grp "fldgrp" with "textbuttons=top", "textbuttonsize=large"/ Parameters that can be set are: - textbuttons : top | bottom - svgbuttons : top | bottom | right | left - textbuttonsize : small | large - svgbuttonsize : small | large - resizing : true | false (defaults true - if FALSE then the group will not adjust for any resizing) */fg.version/* Returns the version of the fieldgroup. /dispatch function "fg.version" to grp "fldgrp"// put "Version" && the result &CR into msg / / / */fg.getText/* pType Retrieve the contents of the field. /dispatch function "fg.getText" to grp "fldgrp" with "styledtext"/ pType is one of - styledtext (the default) : return the complete styledtext /array - text : plain text of the field/ - htmlText : htmltext of the field - rtftext : rtfText of the field */fg.resetUndoSystem/* Resets all undo info, for example if the app does a save, and if it determins that the user should ne bot able to'undo' beyond that point, then it would call this handler. /dispatch function "fg.version" to grp "fldgrp"// put the result into URL ("binfile:savedfile.txt") dispatch "fg.resetUndoSystem" to grp "fldgrp"/ / / */fg.set.initialText/* pText Set the initial text for the field (i.e. set the text, an reset the undo system). /put URL ("binfile:" & sFilename) into tText// put arraydecode(tText) into tA dispatch "fg.set.initialText" to grp "fldgrp" with tA/ pText can be either an array (in which case it is the styledText to be set), or string (of simple text). *fg.replaceChunk* pChunk, pAText Replaces the specified chunk of the field with the styledText in the array pA. /dispatch "fg.replaceChunk" to grp "fldgrp" with tChunk, tAText/ *fg.set.textStyle* pStyle, pChunk Adds / removes the text style to the chunk of the field. If the chunk is empty, then the change is applied to the current selection. /dispatch "fg.set.textStyle" to grp "fldgrp" with "bold"/ Note that if the all of the chunk already has the specified style, then it is removed; oitherwise it is added; therefore, if the chunk is previously "mixed" then the style is added. /*fg.set.viewScale* pScale/ Sets the viewing scale for the field. This simply adjusts the textsize, since there is no provision for setting the text size of individual parts of the field. /dispatch "fg.set.viewScale" to grp "fldgrp" with "+"/ pScale is one of : - "-" : make text smaller - "+" : make text larger - 0 : reset text to default size - N (< 6) : is a multiplier from default size, e.g. for apps that offer "150%" etc. - N (> 6): an actual text size. // -- end of definitions -- From andre at andregarzia.com Thu Jul 23 03:54:37 2020 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 23 Jul 2020 08:54:37 +0100 Subject: ANN: FieldGroup - a simple rich text editor field. In-Reply-To: <618e969c-235e-30a3-9c98-512d06e7c71b@tweedly.net> References: <618e969c-235e-30a3-9c98-512d06e7c71b@tweedly.net> Message-ID: Dear Alex, This is great! Thanks for sharing! :D On Thu, 23 Jul 2020 at 01:10, Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > I'd like to announce the Beta (i.e. v0.1) release of my simple rich text > field. Currently it's not on Github or anywhere sensible - it's just on > my own download site (see URL at end of this email). > > I'd be happy if anyone finds it useful, and / or has feedback that might > make it useful. > > > FieldGroup - a rich text editor field for Livecode. > > Actually, as the old joke goes, it's not really "rich" text, just > comfortably off. :-) > > That is, it supports only some fairly basic features compared to a > fully-featured rich text editor. > > Supported features include : > - multi-level undo/redo > - 'undo' can be reset (e.g. after 'save', or 'open') > - set text style of a chunk by tool button or (sample) menu > - undo includes text style setting > - simple (enclosed) tool bars with text or icon buttons - optional of > course. > - each kind of button comes in two sizes > - button tool bars in any one of four placements (top,right,bottom,left) > - view scaling > - call-backs to let the app know when undo/redo are available (e.g. to > adjust menus) > - no front scripts used. > > FieldGroup is a standalone group which can be simply copy/paste'd into > your own stacks, and provides a (moderately) rich set of text field > features. You can have as many of these fieldgroups as you want - each > is entirely self-contained. > > Easy to use - handlers/functions are well documented and (I hope) > straightforward to understand and use. The downloadable stack includes > the group, ready to be copy/pasted, as part of a simple sample app which > shows common uses. > > The handler definitions are included below - this is also available in > the sample app. The "fill" button ill give you text to play with, but > shift-Fill will restore this document. > > You can download the sample app - which includes the group you ned to > copy/paste - from > > https://www.tweedly.org/downloads/FieldGroupsample.livecode > > This popped out from a simple app I'm writing (actually, just starting > to write) so I'm sure I will realize I need more features, and they will > be added. However, I do not intend it to grow to an all-singing, > all-dancing word processor-like field editor - I have no need for one of > those. But it might be a staring point for someone else who wants that. > > -- Alex. > > /Handlers/ > > In general, these handlers are invoked by 'dispatch'ing the message to > the group. The sample app shows an example of how to structure the menu > items (edit and Format menus). It also contains examples of manipulating > the text (the *Exchange* button), showing different configurations of > the buttons (the *Snap* button, and capturing the return messages for > undo/redo being available. > > /Handlers/ > > */fg.init/* pAConfig > > Initialize the field, with an optional set of configuration parameters > (see fg.configChange for details of these). > > /dispatch "fg.init" to grp "fldgrp" with "textbuttonsize=large", > "svgbutton=large"/ > > */fg.configChange/* pAConfig > > Configure the settings for buttons usage, placement, size, etc. > > This can be either an array, with the key/value pairs, or any number of > parameters each being in the form ?key=value?. > > Examples: > > /put "top" into tA["textbuttons"]// > put "small" into tA["textbuttonsize"] > dispatch "fg.configChange" to grp "fldgrp" with tA/ > > or > > /dispatch "fg.configChange" to grp "fldgrp" with "textbuttons=top", > "textbuttonsize=large"/ > > Parameters that can be set are: > - textbuttons : top | bottom > - svgbuttons : top | bottom | right | left > - textbuttonsize : small | large > - svgbuttonsize : small | large > - resizing : true | false (defaults true - if FALSE then the group will > not adjust for any resizing) > > */fg.version/* > > Returns the version of the fieldgroup. > > /dispatch function "fg.version" to grp "fldgrp"// > put "Version" && the result &CR into msg > / > > / > / > > */fg.getText/* pType > > Retrieve the contents of the field. > > /dispatch function "fg.getText" to grp "fldgrp" with "styledtext"/ > > pType is one of > - styledtext (the default) : return the complete styledtext /array > - text : plain text of the field/ > - htmlText : htmltext of the field > - rtftext : rtfText of the field > > */fg.resetUndoSystem/* > > Resets all undo info, for example if the app does a save, and if it > determins that the user should ne bot able to'undo' beyond that point, > then it would call this handler. > > /dispatch function "fg.version" to grp "fldgrp"// > put the result into URL ("binfile:savedfile.txt") > dispatch "fg.resetUndoSystem" to grp "fldgrp"/ > > / > / > > */fg.set.initialText/* pText > > Set the initial text for the field (i.e. set the text, an reset the undo > system). > > /put URL ("binfile:" & sFilename) into tText// > put arraydecode(tText) into tA > dispatch "fg.set.initialText" to grp "fldgrp" with tA/ > > pText can be either an array (in which case it is the styledText to be > set), or string (of simple text). > > > *fg.replaceChunk* pChunk, pAText > > Replaces the specified chunk of the field with the styledText in the > array pA. > > /dispatch "fg.replaceChunk" to grp "fldgrp" with tChunk, tAText/ > > > *fg.set.textStyle* pStyle, pChunk > > Adds / removes the text style to the chunk of the field. If the chunk is > empty, then the change is applied to the current selection. > > /dispatch "fg.set.textStyle" to grp "fldgrp" with "bold"/ > > Note that if the all of the chunk already has the specified style, then > it is removed; oitherwise it is added; therefore, if the chunk is > previously "mixed" then the style is added. > > /*fg.set.viewScale* pScale/ > > Sets the viewing scale for the field. This simply adjusts the textsize, > since there is no provision for setting the text size of individual > parts of the field. > > /dispatch "fg.set.viewScale" to grp "fldgrp" with "+"/ > > pScale is one of : > - "-" : make text smaller > - "+" : make text larger > - 0 : reset text to default size > - N (< 6) : is a multiplier from default size, e.g. for apps that offer > "150%" etc. > - N (> 6): an actual text size. > > // > > -- end of definitions -- > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From matthias_livecode_150811 at m-r-d.de Thu Jul 23 04:31:08 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 23 Jul 2020 10:31:08 +0200 Subject: ANN: FieldGroup - a simple rich text editor field. In-Reply-To: <618e969c-235e-30a3-9c98-512d06e7c71b@tweedly.net> References: <618e969c-235e-30a3-9c98-512d06e7c71b@tweedly.net> Message-ID: <135508FC-386B-4B4F-8995-C5CFD144AE9A@m-r-d.de> Hi Alex, this is really a great contribution. Thank you very much. - Matthias Rebbe Life Is Too Short For Boring Code > Am 23.07.2020 um 02:08 schrieb Alex Tweedly via use-livecode : > > I'd like to announce the Beta (i.e. v0.1) release of my simple rich text field. Currently it's not on Github or anywhere sensible - it's just on my own download site (see URL at end of this email). > > I'd be happy if anyone finds it useful, and / or has feedback that might make it useful. > > > FieldGroup - a rich text editor field for Livecode. > > Actually, as the old joke goes, it's not really "rich" text, just comfortably off. :-) > > That is, it supports only some fairly basic features compared to a fully-featured rich text editor. > > Supported features include : > - multi-level undo/redo > - 'undo' can be reset (e.g. after 'save', or 'open') > - set text style of a chunk by tool button or (sample) menu > - undo includes text style setting > - simple (enclosed) tool bars with text or icon buttons - optional of course. > - each kind of button comes in two sizes > - button tool bars in any one of four placements (top,right,bottom,left) > - view scaling > - call-backs to let the app know when undo/redo are available (e.g. to adjust menus) > - no front scripts used. > > FieldGroup is a standalone group which can be simply copy/paste'd into your own stacks, and provides a (moderately) rich set of text field features. You can have as many of these fieldgroups as you want - each is entirely self-contained. > > Easy to use - handlers/functions are well documented and (I hope) straightforward to understand and use. The downloadable stack includes the group, ready to be copy/pasted, as part of a simple sample app which shows common uses. > > The handler definitions are included below - this is also available in the sample app. The "fill" button ill give you text to play with, but shift-Fill will restore this document. > > You can download the sample app - which includes the group you ned to copy/paste - from > > https://www.tweedly.org/downloads/FieldGroupsample.livecode > > This popped out from a simple app I'm writing (actually, just starting to write) so I'm sure I will realize I need more features, and they will be added. However, I do not intend it to grow to an all-singing, all-dancing word processor-like field editor - I have no need for one of those. But it might be a staring point for someone else who wants that. > > -- Alex. > > /Handlers/ > > In general, these handlers are invoked by 'dispatch'ing the message to the group. The sample app shows an example of how to structure the menu items (edit and Format menus). It also contains examples of manipulating the text (the *Exchange* button), showing different configurations of the buttons (the *Snap* button, and capturing the return messages for undo/redo being available. > > /Handlers/ > > */fg.init/* pAConfig > > Initialize the field, with an optional set of configuration parameters (see fg.configChange for details of these). > > /dispatch "fg.init" to grp "fldgrp" with "textbuttonsize=large", "svgbutton=large"/ > > */fg.configChange/* pAConfig > > Configure the settings for buttons usage, placement, size, etc. > > This can be either an array, with the key/value pairs, or any number of parameters each being in the form ?key=value?. > > Examples: > > /put "top" into tA["textbuttons"]// > put "small" into tA["textbuttonsize"] > dispatch "fg.configChange" to grp "fldgrp" with tA/ > > or > > /dispatch "fg.configChange" to grp "fldgrp" with "textbuttons=top", "textbuttonsize=large"/ > > Parameters that can be set are: > - textbuttons : top | bottom > - svgbuttons : top | bottom | right | left > - textbuttonsize : small | large > - svgbuttonsize : small | large > - resizing : true | false (defaults true - if FALSE then the group will not adjust for any resizing) > > */fg.version/* > > Returns the version of the fieldgroup. > > /dispatch function "fg.version" to grp "fldgrp"// > put "Version" && the result &CR into msg > / > > / > / > > */fg.getText/* pType > > Retrieve the contents of the field. > > /dispatch function "fg.getText" to grp "fldgrp" with "styledtext"/ > > pType is one of > - styledtext (the default) : return the complete styledtext /array > - text : plain text of the field/ > - htmlText : htmltext of the field > - rtftext : rtfText of the field > > */fg.resetUndoSystem/* > > Resets all undo info, for example if the app does a save, and if it determins that the user should ne bot able to'undo' beyond that point, then it would call this handler. > > /dispatch function "fg.version" to grp "fldgrp"// > put the result into URL ("binfile:savedfile.txt") > dispatch "fg.resetUndoSystem" to grp "fldgrp"/ > > / > / > > */fg.set.initialText/* pText > > Set the initial text for the field (i.e. set the text, an reset the undo system). > > /put URL ("binfile:" & sFilename) into tText// > put arraydecode(tText) into tA > dispatch "fg.set.initialText" to grp "fldgrp" with tA/ > > pText can be either an array (in which case it is the styledText to be set), or string (of simple text). > > > *fg.replaceChunk* pChunk, pAText > > Replaces the specified chunk of the field with the styledText in the array pA. > > /dispatch "fg.replaceChunk" to grp "fldgrp" with tChunk, tAText/ > > > *fg.set.textStyle* pStyle, pChunk > > Adds / removes the text style to the chunk of the field. If the chunk is empty, then the change is applied to the current selection. > > /dispatch "fg.set.textStyle" to grp "fldgrp" with "bold"/ > > Note that if the all of the chunk already has the specified style, then it is removed; oitherwise it is added; therefore, if the chunk is previously "mixed" then the style is added. > > /*fg.set.viewScale* pScale/ > > Sets the viewing scale for the field. This simply adjusts the textsize, since there is no provision for setting the text size of individual parts of the field. > > /dispatch "fg.set.viewScale" to grp "fldgrp" with "+"/ > > pScale is one of : > - "-" : make text smaller > - "+" : make text larger > - 0 : reset text to default size > - N (< 6) : is a multiplier from default size, e.g. for apps that offer "150%" etc. > - N (> 6): an actual text size. > > // > > -- end of definitions -- > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From theaford at btinternet.com Thu Jul 23 09:40:20 2020 From: theaford at btinternet.com (Terence Heaford) Date: Thu, 23 Jul 2020 14:40:20 +0100 Subject: hhOText(community.livecode.hermann.orientedtext) Message-ID: <6902F6A8-1C27-4540-83D2-9CCE63BAA5BC@btinternet.com> I have been playing around with this community orientedText widget to see if it is suitable to be used for xAxis Labels at 45 degrees in a bar chart. I?m not sure I am using it correctly. I have set it up similar to this: repeat for each line tLabel in tDataLabels create widget (tLabel) as "community.livecode.hermann.orientedtext" in group "generalChart" set the widgetText of widget(tLabel) to tLabel set the widgetFontName of widget(tLabel) to "Lucida Grande" set the widgetFontSize of widget(tLabel) to "15" set the widgetAngle of widget(tLabel) to "-45" set the strokeBack of widget(tLabel) to false set the widgetAdjustSize of widget(tLabel) to true set the right of widget(tLabel) to tX + tGap set the top of widget(tLabel) to tY add tGap to tX end repeat However, widgetAdjustSize does not adjust it?s size unless I go into the property dialog and uncheck/check the setting. Can anyone help with this. Thanks Terry From ambassador at fourthworld.com Thu Jul 23 12:20:31 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Jul 2020 09:20:31 -0700 Subject: ANN: FieldGroup - a simple rich text editor field. In-Reply-To: <618e969c-235e-30a3-9c98-512d06e7c71b@tweedly.net> References: <618e969c-235e-30a3-9c98-512d06e7c71b@tweedly.net> Message-ID: <049a1585-5f3e-2a57-1209-da4c485cb538@fourthworld.com> Alex Tweedly wrote: > I'd like to announce the Beta (i.e. v0.1) release of my simple rich text > field. Currently it's not on Github or anywhere sensible - it's just on > my own download site (see URL at end of this email). > > I'd be happy if anyone finds it useful, and / or has feedback that might > make it useful. .. > > You can download the sample app - which includes the group you ned to > copy/paste - from > > https://www.tweedly.org/downloads/FieldGroupsample.livecode Thanks for posting this, Alex. Super cool. I didn't find license info in the package - did I miss it? What license is this distributed under? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at tweedly.net Thu Jul 23 14:27:44 2020 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 23 Jul 2020 19:27:44 +0100 Subject: ANN: FieldGroup - a simple rich text editor field. In-Reply-To: <049a1585-5f3e-2a57-1209-da4c485cb538@fourthworld.com> References: <618e969c-235e-30a3-9c98-512d06e7c71b@tweedly.net> <049a1585-5f3e-2a57-1209-da4c485cb538@fourthworld.com> Message-ID: On 23/07/2020 17:20, Richard Gaskin via use-livecode wrote: > >> >> https://www.tweedly.org/downloads/FieldGroupsample.livecode > > Thanks for posting this, Alex. Super cool. > > I didn't find license info in the package - did I miss it? > > What license is this distributed under? > Sorry, I should have said. It is released under the MIT license; I've added the license text to the script of the group, and updated the copy on my website (as above) - now at version 0.2 While I was doing that :-), I added a new message sent on updates : ? fguser.textchange pFiledID, pStartLine, pEndLine This happens after the text has changed, but *before* the undo system records it. It is therefore possible for the app to make further changes, and they will be recorded as part of the singe change operation. As an example, I've updated the sample app to process ?- #tags? - any word beginning with a "#" is set into 'box' style ?- *bold* (as in Markdown) - text within any paired "*"s is set to bold (note - it's just an example, I don't do the inverse and add "*"s to any bold text ...) Alex From sean at pidigital.co.uk Thu Jul 23 16:18:22 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 23 Jul 2020 21:18:22 +0100 Subject: This is what happens when a tech-master is asked to write a 'guide'! Message-ID: Hi all, Can we have the guides rewritten to be understood by plebs like me please? I've re-read this several times, slowly, and still having trouble working it out. Is there some Yale course to get a Phd in LCB so we get to understand it? I'll put curly braces around everything unintelligible by normal human beings without an MS in computer science. *LiveCode Builder Bytecode Reference* > *Introduction* > The LiveCode Builder Virtual Machine is a {infinite register machine} with > a {high-level and verifiable bytecode}. > All bytecode runs in the context of a {module instance} with {executing > handlers forming a {stack of {activation frames}}}. Each frame contains an > array of registers, the first part of which are parameters followed by > {handler-local variables and bytecode block registers}. > Most bytecode operations operate directly on registers, {access to module > level definitions} (handlers, constants, variables) are {indirected} > through the fetch and store operations. > Each bytecode operation has an address which can be jumped to using the > jump operations. And that's the way to do an introduction! [sarcasm]! Then we get a bunch of 'Operations' that we have NO CLUE how or where to use in any form of context! Is it just me or is this just very messed up? Sean Cole *Pi Digital * From brian at milby7.com Thu Jul 23 17:06:20 2020 From: brian at milby7.com (Brian Milby) Date: Thu, 23 Jul 2020 17:06:20 -0400 Subject: This is what happens when a tech-master is asked to write a 'guide'! In-Reply-To: References: Message-ID: I wouldn?t expect anyone to need to use that guide. I?m not even sure how you would manually use hand coded LCB bytecode. It probably just needs to be moved to the end and have a note added indicating that is isn?t intended for general use. Sent from my iPhone > On Jul 23, 2020, at 4:18 PM, Sean Cole (Pi) via use-livecode wrote: > > ?Hi all, > > Can we have the guides rewritten to be understood by plebs like me please? > I've re-read this several times, slowly, and still having trouble working > it out. Is there some Yale course to get a Phd in LCB so we get to > understand it? I'll put curly braces around everything unintelligible by > normal human beings without an MS in computer science. > > *LiveCode Builder Bytecode Reference* >> *Introduction* >> The LiveCode Builder Virtual Machine is a {infinite register machine} with >> a {high-level and verifiable bytecode}. >> All bytecode runs in the context of a {module instance} with {executing >> handlers forming a {stack of {activation frames}}}. Each frame contains an >> array of registers, the first part of which are parameters followed by >> {handler-local variables and bytecode block registers}. >> Most bytecode operations operate directly on registers, {access to module >> level definitions} (handlers, constants, variables) are {indirected} >> through the fetch and store operations. >> Each bytecode operation has an address which can be jumped to using the >> jump operations. > > > And that's the way to do an introduction! [sarcasm]! > > Then we get a bunch of 'Operations' that we have NO CLUE how or where to > use in any form of context! > > Is it just me or is this just very messed up? > > Sean Cole > *Pi Digital * > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dangmacguy at gmail.com Thu Jul 23 17:16:59 2020 From: dangmacguy at gmail.com (Bruce Pokras) Date: Thu, 23 Jul 2020 17:16:59 -0400 Subject: Functions running in IDE, but not running in standalone In-Reply-To: <2ED55883-2EDB-4227-B9E7-10803D6DF4F2@m-r-d.de> References: <0237946F-F436-4A89-84B1-5C61BF092958.ref@rogers.com> <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> <20C2359E-FE16-4587-8AE8-B783A912F99B@gmail.com> <37389C63-0868-47D9-BB02-6C604C0ED268@m-r-d.de> <6E139F88-280D-4F78-B776-47206302E42A@gmail.com> <839405CC-8C82-4266-845A-4E948BE1B7B0@m-r-d.de> <5673DB6B-786D-4F1B-81E3-AFE0A36EF6C8@m-r-d.de> <1CE6AC1F-35A6-4507-813D-FBEC8AD86F5D@gmail.com> <0A609499-4D53-4B3E-B35C-2394C2EF619A@gmail.com> <2ED55883-2EDB-4227-B9E7-10803D6DF4F2@m-r-d.de> Message-ID: Matthias, Thanks so much for all of your advice. I actually added tsNet as an inclusion very recently when Curry mentioned it, thinking it might help. I have eliminated it from my last version. Its use and its non-use did not change anything. At this point the only things that seem to be creating my issues are the libURL commands/functions that I am using: libURLLastHTTPHeaders, libURLLastRHHeaders, and libURLSetSSLVerification. So I am going to slowly go back through all of my scripts, and one-by-one eliminate their usage to see what happens. I will report back what I find. Regards, Bruce > On Jul 21, 2020, at 11:52 AM, matthias rebbe via use-livecode wrote: > > Bruce, > > i am now almost out of ideas. ;) > > If no one else has an idea, then i would contact Livecode Support. > > But you could try one little thing before sending a support request. > I cannot remember whne tsNet was introduced. But you could try to create a standalone which does not use tsNET. > > So... > 1. In Standalone Settings under inclusions uncheck tsNET > 2. run dispatch "revunloadlibrary" to stack tsnetliburl in the message box > This disables tsNET. > 3. Now create a standalone. That standalone will now just use the libURL library without tsNET. > 4. Test with that standalone > > To enable tsNET again just restart Livecode or execute dispatch "revloadlibrary" to stack tsnetliburl > in the message box > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 21.07.2020 um 17:28 schrieb Bruce Pokras via use-livecode : >> >> Matthias, >> >> Thanks very much for your interest in helping me with my problems. >> >> 1) Internet library working in the standalone? The Internet library is apparently installed and working properly for downloading patent text and PDF images with ?put URL [web address] into binfile: [local file path and name]?. No problems with that. >> >> 2) Savestackrequest message? I do not use that. >> >> Regards, >> >> Bruce >> >>> On Jul 20, 2020, at 7:12 PM, matthias rebbe via use-livecode wrote: >>> >>> Bruce, >>> >>> i just tried with a sample stack where i did not include the Internet library. I get exact the same error in the bugreport (except the line number and stack name and so on). >>> >>> "Executing at 12:58:33 AM on Tuesday, July 21, 2020 >>> Type: Handler: can't find handler >>> Object: button "Button" of card id 1002 of stack "/Users/matthias/Downloads/test5/MacOSX/test.app/Contents/MacOS/test" >>> Line: libURLSetSSLVerification false >>> Line Num: 2 >>> Hint: libURLSetSSLVerification >>> >>> Comments: hm,weird" >>> >>> >>> If Internet library is really selected in under Inclusions in Standalone Settings, then either there is a problem with your Livecode installation or another guess... >>> >>> Are you using the savestackrequest message in your scripts? If so, is it possible by any chance that you did forgot to add "pass savestackrequest" before "End savestackrequest"? >>> >>> I remember that a long time ago i bothered the Support Team with a problem that database functions did not work in my standalone although i had enabled all needed inclusions. >>> The problem was i used the savestackrequest message to cleanup fields and other things in the stack before saving, but forgot to add "pass savestackrequest". >>> The interesting part was, that the standalone was created and although all included externals were added to the standalone, the standalone was not able to communicate with the database. After adding that line, all was fine. >>> >>> - >>> Matthias Rebbe >>> Life Is Too Short For Boring Code >>> >>>> Am 21.07.2020 um 00:28 schrieb Bruce Pokras via use-livecode : >>>> >>>> Matthias, >>>> >>>> Yes to both Internet and SSL & Encryption libraries. >>>> >>>> So everything should be running just fine, but are not. >>>> >>>> Regards, >>>> >>>> Bruce >>>> >>>>> On Jul 20, 2020, at 6:04 PM, matthias rebbe via use-livecode wrote: >>>>> >>>>> Bruce, >>>>> >>>>> and according to the dictionary Internet has to be included to use libURLSetSSLVerification. >>>>> >>>>> >>>>> >>>>> - >>>>> Matthias Rebbe >>>>> Life Is Too Short For Boring Code >>>>> >>>>>> Am 20.07.2020 um 23:29 schrieb matthias rebbe via use-livecode : >>>>>> >>>>>> Bruce, >>>>>> >>>>>> i might be wrong, but did you also include SSL&Encryption in StandaloneSettings. >>>>>> If i recall it correctly then SSL&Encryption is needed for https. >>>>>> >>>>>> Regards, >>>>>> >>>>>> - >>>>>> Matthias Rebbe >>>>>> Life Is Too Short For Boring Code >>>>>> >>>>>>> Am 20.07.2020 um 22:28 schrieb Bruce Pokras via use-livecode >: >>>>>>> >>>>>>> Matthias and Curry, >>>>>>> >>>>>>> Thanks for your responses. I am using Indy for which I apparently do not have access to RemoteDebugger. >>>>>>> >>>>>>> I did activate the ?Bug Reports? feature and added ?tsNet? to the included stuff for the standalone. >>>>>>> >>>>>>> From the bug reporter feature, it seems that ?libURL" commands/functions are somehow creating a problem. (And, yes, I am including the Internet library in my standalone!). >>>>>>> >>>>>>> Here are a couple of examples of the bug reports that were generated: >>>>>>> ====== >>>>>>> Error from running Patent Grabber?s ?Abstract Report": >>>>>>> >>>>>>> Executing at 3:45:49 PM on Monday, July 20, 2020 >>>>>>> Type: Handler: can't find handler >>>>>>> Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03" >>>>>>> Line Num: 81 >>>>>>> Hint: libURLSetSSLVerification >>>>>>> >>>>>>> My comments: Line 81 is where I set libURLSetSSLVerification to false. What does it mean ?can?t find handler"???? Why not? It?s part of the included Internet library! >>>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Jul 23 17:30:55 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 23 Jul 2020 23:30:55 +0200 Subject: Functions running in IDE, but not running in standalone In-Reply-To: References: <0237946F-F436-4A89-84B1-5C61BF092958.ref@rogers.com> <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> <20C2359E-FE16-4587-8AE8-B783A912F99B@gmail.com> <37389C63-0868-47D9-BB02-6C604C0ED268@m-r-d.de> <6E139F88-280D-4F78-B776-47206302E42A@gmail.com> <839405CC-8C82-4266-845A-4E948BE1B7B0@m-r-d.de> <5673DB6B-786D-4F1B-81E3-AFE0A36EF6C8@m-r-d.de> <1CE6AC1F-35A6-4507-813D-FBEC8AD86F5D@gmail.com> <0A609499-4D53-4B3E-B35C-2394C2EF619A@gmail.com> <2ED55883-2EDB-4227-B9E7-10803D6DF4F2@m-r-d.de> Message-ID: > Am 23.07.2020 um 23:16 schrieb Bruce Pokras via use-livecode : > > Matthias, > > Thanks so much for all of your advice. > > I actually added tsNet as an inclusion very recently when Curry mentioned it, thinking it might help. I have eliminated it from my last version. Its use and its non-use did not change anything. > But after you've removed the inclusion of tsNET, did you also unloaded tsNET in the message box before you've created a new standalone? This is important. The only difference between LC7 and LC8.1.9 i could imagine what could be the cause is tsNET which was introduced in 8.1.0. From ambassador at fourthworld.com Thu Jul 23 22:20:34 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Jul 2020 19:20:34 -0700 Subject: ANN: FieldGroup - a simple rich text editor field. In-Reply-To: References: Message-ID: <7be607d9-b7a0-6799-fad0-af1a7e775017@fourthworld.com> Alex Tweedly wrote: > On 23/07/2020 17:20, Richard Gaskin via use-livecode wrote: >>> >>> https://www.tweedly.org/downloads/FieldGroupsample.livecode >> >> Thanks for posting this, Alex. Super cool. >> >> I didn't find license info in the package - did I miss it? >> >> What license is this distributed under? >> > Sorry, I should have said. > > It is released under the MIT license; I've added the license text to the > script of the group, and updated the copy on my website (as above) - now > at version 0.2 Super - thanks, Alex! -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From benr at cogapp.com Fri Jul 24 07:14:13 2020 From: benr at cogapp.com (Ben Rubinstein) Date: Fri, 24 Jul 2020 12:14:13 +0100 Subject: Using OAuth2 with Microsoft API services In-Reply-To: References: <73e67665-f478-452c-7bc4-2dff109e1800@fourthworld.com> Message-ID: <56e68aa1-3c52-b624-5106-895fe6791c7b@cogapp.com> This may be too obvious, but with OAuth on Google APIs I found I had to add (or was it remove????) a trailing slash on the redirect. Also that localhost didn't work. E.g. only one of http://127.0.0.1:56789 http://127.0.0.1:56789/ and definitely not http://localhost:56789 (I can't tell you which because I've currently got both with and without a trailing slash authorised on the Google dashboard, and I can't remember which was the one that did it!) On 7/22/20 12:00 PM, Richard Gaskin via use-livecode wrote: > Oddly, it appears as though we're authentincating fine as it is using > shared secret, the only problem being that we're not getting the redirect > to close the browser widget and return the auth code to us. From jbv at souslelogo.com Fri Jul 24 09:17:20 2020 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 24 Jul 2020 09:17:20 -0400 Subject: [OT] experience with open source marketplace software anyone ? Message-ID: <2e6d3de0ec88d5f5e891e0c030da82d6@souslelogo.com> Hi list, Does anyone have any experience with open source marketplace software ? I don't mean regular ecommerce website, but Open Source Multi-Vendor marketplace software. There are several solutions available and would appreciate if anyone would like to share some experience on this matter. Please contact me off-list. Thanks in advance. jbv From matthias_livecode_150811 at m-r-d.de Fri Jul 24 18:31:04 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 25 Jul 2020 00:31:04 +0200 Subject: Is "import snapshot" without parameters broken? Message-ID: Hi, today i've tried to do a screen capture using "import snapshot", but without parameter. Livecode displays a crosshairs cursor, but i am not able to select an area with the mouse. Liveconde freezes then in some way and i have to force quit it.. Is this a bug or did the syntax change for importing a snapshot with the possibility to select the area with the mouse? I am on Mac OS 10.14.6. Regards, Matthias From brian at milby7.com Fri Jul 24 18:37:34 2020 From: brian at milby7.com (Brian Milby) Date: Fri, 24 Jul 2020 18:37:34 -0400 Subject: Is "import snapshot" without parameters broken? In-Reply-To: References: Message-ID: <089B36FB-E4B5-430E-B821-1CE83BC50C80@milby7.com> In 10.15.6 you have to grant explicit permission for LiceCode to capture the screen. Just ran into that yesterday and LC seemed to freeze when I did something that triggered it (clicked the crosshair icon in Navigator). Not sure if it is related (my other computer is still 10.13, never ran .14) Sent from my iPhone > On Jul 24, 2020, at 6:32 PM, matthias rebbe via use-livecode wrote: > > ?Hi, > > today i've tried to do a screen capture using "import snapshot", but without parameter. > Livecode displays a crosshairs cursor, but i am not able to select an area with the mouse. Liveconde freezes then in some way and i have to force quit it.. > > Is this a bug or did the syntax change for importing a snapshot with the possibility to select the area with the mouse? I am on Mac OS 10.14.6. > > Regards, > Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jul 24 18:44:36 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Jul 2020 17:44:36 -0500 Subject: Is "import snapshot" without parameters broken? In-Reply-To: References: Message-ID: On 7/24/20 5:31 PM, matthias rebbe via use-livecode wrote: > Hi, > > today i've tried to do a screen capture using "import snapshot", but without parameter. > Livecode displays a crosshairs cursor, but i am not able to select an area with the mouse. Liveconde freezes then in some way and i have to force quit it.. > > Is this a bug or did the syntax change for importing a snapshot with the possibility to select the area with the mouse? I am on Mac OS 10.14.6. I'm using the same OS as you and it works here. At first I thought it failed because it was placed exactly over the existing controls and I saw no changes, but when I dragged it I saw the image move. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Fri Jul 24 18:45:28 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 24 Jul 2020 15:45:28 -0700 Subject: Is "import snapshot" without parameters broken? In-Reply-To: References: Message-ID: On 7/24/20 3:31 PM, matthias rebbe via use-livecode wrote: > Hi, > > today i've tried to do a screen capture using "import snapshot", but without parameter. > Livecode displays a crosshairs cursor, but i am not able to select an area with the mouse. Liveconde freezes then in some way and i have to force quit it.. > > Is this a bug or did the syntax change for importing a snapshot with the possibility to select the area with the mouse? I am on Mac OS 10.14.6. It's been broken for years. Subject of several bug reports, at least for Windows and linux. If you absolutely need a workaround now, three years ago I posted some very ugly code that does work in https://quality.livecode.com/show_bug.cgi?id=20104 -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Fri Jul 24 18:58:51 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 24 Jul 2020 15:58:51 -0700 Subject: Is "import snapshot" without parameters broken? In-Reply-To: References: Message-ID: <55be7fd6-7702-3429-7c2b-1bc5f1443859@sonic.net> Also note that in Richard Gaskin's comment to https://quality.livecode.com/show_bug.cgi?id=15103 the "export snapshot" command may also be a workaround. -- Mark Wieder ahsoftware at gmail.com From jeejeestudio at gmail.com Sat Jul 25 12:07:08 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 25 Jul 2020 18:07:08 +0200 Subject: Android target needs api-29 as of august 2020 Message-ID: <16a8c197-6d52-1b48-e678-29f4f1bd93be@gmail.com> Hi, FYI for the people who use the Google Play Developers Console. The target api needs to be 29 as of August 2020 for all new apps. And for updated apps as of november 2020. LC has the target now set on 28. It would be convenient if one could set that him/her-self in the standalone settings. Regards, Jerry From jiml at netrin.com Sat Jul 25 13:38:40 2020 From: jiml at netrin.com (Jim Lambert) Date: Sat, 25 Jul 2020 10:38:40 -0700 Subject: Is "import snapshot" without parameters broken? In-Reply-To: References: Message-ID: Brian, Import Snapshot sans parameters works fine for me in LC 9.6.0 on macOS 10.15.5 Jim Lambert From merakosp at gmail.com Sat Jul 25 13:46:27 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Sat, 25 Jul 2020 20:46:27 +0300 Subject: Android target needs api-29 as of august 2020 In-Reply-To: <16a8c197-6d52-1b48-e678-29f4f1bd93be@gmail.com> References: <16a8c197-6d52-1b48-e678-29f4f1bd93be@gmail.com> Message-ID: Hello Jerry, Could you file a bug report about it? Unfortunately it is not correct to allow setting the target from the standalone settings, so we need to compile the Android engines with API 29 in the next release. Kind regards, Panos On Sat, Jul 25, 2020, 19:08 JeeJeeStudio via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi, > > FYI > > for the people who use the Google Play Developers Console. > > The target api needs to be 29 as of August 2020 for all new apps. > > And for updated apps as of november 2020. > > > LC has the target now set on 28. > > It would be convenient if one could set that him/her-self in the > standalone settings. > > Regards, > > Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dangmacguy at gmail.com Sat Jul 25 16:11:49 2020 From: dangmacguy at gmail.com (Bruce Pokras) Date: Sat, 25 Jul 2020 16:11:49 -0400 Subject: Functions running in IDE, but not running in standalone In-Reply-To: References: <0237946F-F436-4A89-84B1-5C61BF092958.ref@rogers.com> <0237946F-F436-4A89-84B1-5C61BF092958@rogers.com> <20C2359E-FE16-4587-8AE8-B783A912F99B@gmail.com> <37389C63-0868-47D9-BB02-6C604C0ED268@m-r-d.de> <6E139F88-280D-4F78-B776-47206302E42A@gmail.com> <839405CC-8C82-4266-845A-4E948BE1B7B0@m-r-d.de> <5673DB6B-786D-4F1B-81E3-AFE0A36EF6C8@m-r-d.de> <1CE6AC1F-35A6-4507-813D-FBEC8AD86F5D@gmail.com> <0A609499-4D53-4B3E-B35C-2394C2EF619A@gmail.com> <2ED55883-2EDB-4227-B9E7-10803D6DF4F2@m-r-d.de> Message-ID: <6BE7503B-BF5A-4DCE-901A-EDE1F7C1295B@gmail.com> Matthias, Yes, I did run the command that you so helpfully provided to unload tsNet. Unfortunately or fortunately, nothing changed. So I am going to go back one build and slowly comment-out all the instances where I am using a libURL command or function, save as a standalone, and and see what happens. Regards, Bruce > On Jul 23, 2020, at 5:30 PM, matthias rebbe via use-livecode wrote: > > > >> Am 23.07.2020 um 23:16 schrieb Bruce Pokras via use-livecode : >> >> Matthias, >> >> Thanks so much for all of your advice. >> >> I actually added tsNet as an inclusion very recently when Curry mentioned it, thinking it might help. I have eliminated it from my last version. Its use and its non-use did not change anything. >> > > But after you've removed the inclusion of tsNET, did you also unloaded tsNET in the message box before you've created a new standalone? This is important. > > The only difference between LC7 and LC8.1.9 i could imagine what could be the cause is tsNET which was introduced in 8.1.0. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sat Jul 25 17:52:36 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 25 Jul 2020 23:52:36 +0200 Subject: Is "import snapshot" without parameters broken? In-Reply-To: <55be7fd6-7702-3429-7c2b-1bc5f1443859@sonic.net> References: <55be7fd6-7702-3429-7c2b-1bc5f1443859@sonic.net> Message-ID: <9CB7B303-CF9A-42A9-A434-14304CFCE8CB@m-r-d.de> Thanks to all that responded. I have found now what is causing the malfunction of the import / export snapshot commands. And i think this is a bug. I have 2 displays connected to my Mac. The main display is on the right. The resolutions are not the same. The main display has a lower one. With this setup import/export snapshot do not work. With same resolution on both displays import/export snapshot only work when the main display is set on the right in System Preferences When setting the system to synchronize the displays ( both show the same content) then import/export works also. While investigating i found some other anomalies. I've created a bug report? in case one or the other is interested. - Matthias Rebbe Life Is Too Short For Boring Code > Am 25.07.2020 um 00:58 schrieb Mark Wieder via use-livecode : > > Also note that in Richard Gaskin's comment to https://quality.livecode.com/show_bug.cgi?id=15103 the "export snapshot" command may also be a workaround. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sun Jul 26 02:38:09 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 26 Jul 2020 08:38:09 +0200 Subject: Is "import snapshot" without parameters broken? In-Reply-To: <9CB7B303-CF9A-42A9-A434-14304CFCE8CB@m-r-d.de> References: <55be7fd6-7702-3429-7c2b-1bc5f1443859@sonic.net> <9CB7B303-CF9A-42A9-A434-14304CFCE8CB@m-r-d.de> Message-ID: <5BFD7A21-85FA-4C67-BA79-C0613F2818B0@m-r-d.de> I have a little error in my description. it should say: .. > With same resolution on both displays import/export snapshot only wors when the main display is set on the LEFT in System Preferences So in short. it works correctly when - both displays have same resolution and the main display is set on the LEFT in System Preferences, but only if the snapshot is taken from the Main display it doesn't work (no screenshot is taken) when - the Main display has a lower resolution and is set on the RIGHT in System Preferences - both displays have same resolution and the Main display is set on the RIGHT in System Preferences - both displays have same resolution and the Main display is set on the LEFTin System Preferences and the snapshot is taken from the 2nd display it works somehow (a screenshot is taken, but not exactly what was in the rectangle) when - the Main display has a lower resolution and is set on the LEFT in System Preferences and snapshot is taken from the 2nd display - Matthias Rebbe Life Is Too Short For Boring Code > Am 25.07.2020 um 23:52 schrieb matthias rebbe via use-livecode : > > Thanks to all that responded. > > I have found now what is causing the malfunction of the import / export snapshot commands. And i think this is a bug. > > I have 2 displays connected to my Mac. The main display is on the right. The resolutions are not the same. The main display has a lower one. > With this setup import/export snapshot do not work. > > With same resolution on both displays import/export snapshot only work when the main display is set on the right in System Preferences > > When setting the system to synchronize the displays ( both show the same content) then import/export works also. > > While investigating i found some other anomalies. > > I've created a bug report in case one or the other is interested. > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 25.07.2020 um 00:58 schrieb Mark Wieder via use-livecode : >> >> Also note that in Richard Gaskin's comment to https://quality.livecode.com/show_bug.cgi?id=15103 the "export snapshot" command may also be a workaround. >> >> -- >> Mark Wieder >> ahsoftware at gmail.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ludovic.thebault at laposte.net Sun Jul 26 12:15:37 2020 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Sun, 26 Jul 2020 18:15:37 +0200 Subject: savingMobileStandalone and files Message-ID: Hello, I have an application I'm compiling for Android and iOS. For Android, I have to integrate compressed files, not for IOS (iOS applications can be larger in size) I use the savingMobileStandalone function to indicate to integrate either compressed or uncompressed files: switch case the cRevStandaloneSettings["iOs"] of this stack is true and "datas.zip" is among the lines of the cRevStandaloneSettings["files"] of this stack get the cRevStandaloneSettings["files"] of this stack put cr & "datas.txt" after it if lineoffset("datas.zip", it) > 0 then delete line lineoffset("datas.zip", it) of it set the cRevStandaloneSettings["files"] of this stack to it break case the cRevStandaloneSettings["iOs"] of this stack is true and "datas.txt" is not among the lines of the cRevStandaloneSettings["files"] of this stack get the cRevStandaloneSettings["files"] of this stack put cr & "datas.txt" after it set the cRevStandaloneSettings["files"] of this stack to it break ?. Normally, if the ? zip ? file is in the ? copy files ? and the cRevStandaloneSettings[? iOs"] is true, the application gets the uncompressed version. But no. I need to recompile (without change anything) and it?s work. How avoid that ? (I just noticed that I send a ? zipped ? version of my app to the appstore, that have been accepted (but she doesn?t work because of the zipped files). Thanks ! From curry at pair.com Sun Jul 26 17:29:15 2020 From: curry at pair.com (Curry Kenworthy) Date: Sun, 26 Jul 2020 17:29:15 -0400 Subject: Functions running in IDE, but not running in standalone In-Reply-To: <6BE7503B-BF5A-4DCE-901A-EDE1F7C1295B@gmail.com> References: <6BE7503B-BF5A-4DCE-901A-EDE1F7C1295B@gmail.com> Message-ID: Bruce: > comment-out all the instances where I am using a libURL command > or function, save as a standalone, and and see what happens. Now you need to follow through on your diagnosis. It will not be efficient to quickly abandon a sound diagnosis and search for something else. People do that too often. Trust logic! Trust math. Stick with it. The "can't find handler" error is very specific. It doesn't allow us infinite freedom to interpret the cause. Assuming the error message itself is correct, that leaves only a few possible direct causes: the (appropriate) Internet Library isn't loaded, handler isn't in the message path, handler name misspelling, etc. So keep looking at the AREA of inclusions AND related issues - you have NOT ruled those out yet! It's not about trying one specific possibility in that area, and then giving up on the area. It's about knowing that your problem is almost certainly in that area, so you focus your hunt in that area to efficiently find the culprit. Since your product is over 10 years old, make sure your mainstack doesn't have any old versions of Internet library accidentally embedded, for example. Or back to the inclusions. Something that prevents a good app build, or a matter of timing before everything is loaded. Since Matthias was able to get the same error message, you should also try a new sample stack with libURLSetSSLVerification, like he did. That would remove a lot of other variables for a clean test building with your IDE. And as he suggested, you should open a support ticket, if you haven't. There have been some changes to the libraries over the years that can cause problems, so checking your libURL calls would be a good idea if that's where the evidence pointed. Still not a bad idea to double-check the calls. LC error reporting is not 100% accurate, and I've seen weird things happen. But it's not where the evidence points. I would place my bet on the "inclusions and related" area; it's the likely winner with overwhelming odds. Since you have the "can't find handler" error message (if that's still the error you have) and since there's the IDE vs standalone evidence, that's a lot of evidence. So it is the most likely road to lead to a solution. And that's where you should focus more of your efforts, if you want to solve this quickly. You haven't ruled it out; you've only started on it. Follow through! Unless you can PROVE at runtime that Internet Library is loaded in your standalone and that libURLSetSSLVerification is in the message path of the calling handler, that's still your problem. :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From alex at tweedly.net Sun Jul 26 20:31:53 2020 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 27 Jul 2020 01:31:53 +0100 Subject: Object naming Message-ID: I think my head is melting :-) I have a group called 'A'. Inside A, there is a rect called "R" and also a group called "B" inside B there is a rect called "R" How do I refer unambiguously to the first rectangle (i.e. A - R, not A - B - R) ? If I say ?? grc "R" of grp "B" of grp A then I unambiguously get A-B-R; but if I say simply ?? grc "R" of grp "A" then I *also* get A-B-R. There must be a way to do this (and maybe if it wasn't nearly 2 in the morning I would be able to figure it out). Help! Please ! Alex. From ahsoftware at sonic.net Sun Jul 26 21:24:27 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 26 Jul 2020 18:24:27 -0700 Subject: Object naming In-Reply-To: References: Message-ID: <7559bcf0-28de-a583-1d42-37420971490d@sonic.net> On 7/26/20 5:31 PM, Alex Tweedly via use-livecode wrote: > I think my head is melting :-) > > I have a group called 'A'. > > Inside A, there is a rect called "R" and also a group called "B" > > inside B there is a rect called "R" > > How do I refer unambiguously to the first rectangle (i.e. A - R, not A - > B - R) ? > > If I say > ?? grc "R" of grp "B" of grp A > then I unambiguously get A-B-R; but if I say simply > ?? grc "R" of grp "A" > then I *also* get A-B-R. > > There must be a way to do this (and maybe if it wasn't nearly 2 in the > morning I would be able to figure it out). > > Help! Please ! Sounds like a layering problem - the rect in group B is being encountered first. I think if you relayer it so that group B has a higher (later) layer number than the rect outside the group you'll get what you want. -- Mark Wieder ahsoftware at gmail.com From bdrunrev at gmail.com Mon Jul 27 05:44:44 2020 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 27 Jul 2020 10:44:44 +0100 Subject: breakpoint causes 3 second delay then exit to top In-Reply-To: References: <1B4AD8D6-8085-470D-BCB2-1B6B8E381919@laposte.net> Message-ID: Here's another data point for this oddity. Once the IDE starts tripping out from breakpoints and I restart Livecode to fix the problem, the behavior in which the breakpoints stop working has "detached" from the object pointing to it. I say "detached", as the object still shows in the Inspector that it is pointing to the behavior-containing control and choosing to edit the behavior script from the object's Inspector opens up the relevant behavior in the Script Editor. Breakpoints work once again when I once more point the object's Inspector at the object it knows contains the behavior script Somewhere inside LC this connection is being lost. At the moment the only variable I've been able to isolate as a cause is: how many hours I've had LC open working on this project. On Fri, Jul 17, 2020 at 7:35 PM Bernard Devlin wrote: > I found later that the same thing was happening away from this code block, > and with just a red breakpoint. > > As I don't restart my PC for weeks on end, I quit LC and restarted. Both > of these strange error situations disappeared. Which suggests that it is > some complex condition (either within my app or within the IDE) that leads > to this situation. > > From andre at andregarzia.com Mon Jul 27 10:40:36 2020 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 27 Jul 2020 15:40:36 +0100 Subject: Object naming In-Reply-To: References: Message-ID: Alex, I think that Mark solution is the correct one but I couldn't resist telling you some other idea, one that is only applicable if performance is not a problem. You can add custom properties to controls you want to find later and then look for them by looping everyone in the card. A reusable short function can be created with whatever letter you want, like "q", and code similar to this: function q selector, value repeat with x = 1 to the number of controls in this card if the selector of control x of this card is value then return the long id of control x of this card end if end repeat end function And then you can go: put q("blue-rect", "true") into tLongID You can even have something like "qq" that returns a list of long ids for all the controls that match that query. Caching these results is the best architecture, on preOpenCard you can find all the controls you'll need and place them in script local arrays, then all the functions that need them can peek into those arrays. It is a bit convoluted but allows for some clever programming. Remembering that "clever" is one of the trickster spirits of the software development world. Best A On Mon, 27 Jul 2020 at 01:33, Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > I think my head is melting :-) > > I have a group called 'A'. > > Inside A, there is a rect called "R" and also a group called "B" > > inside B there is a rect called "R" > > How do I refer unambiguously to the first rectangle (i.e. A - R, not A - > B - R) ? > > If I say > grc "R" of grp "B" of grp A > then I unambiguously get A-B-R; but if I say simply > grc "R" of grp "A" > then I *also* get A-B-R. > > There must be a way to do this (and maybe if it wasn't nearly 2 in the > morning I would be able to figure it out). > > Help! Please ! > > Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From panos.merakos at livecode.com Mon Jul 27 11:19:07 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 27 Jul 2020 18:19:07 +0300 Subject: [ANN] This Week in LiveCode 234 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #234 here: https://bit.ly/3g60YXc This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From ambassador at fourthworld.com Mon Jul 27 11:33:12 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 27 Jul 2020 08:33:12 -0700 Subject: Object naming In-Reply-To: References: Message-ID: <9eb6856a-496f-079d-7af1-878e8bdc0620@fourthworld.com> There are many ways to refer to things. The simplest is to use unambiguous names for things that matter. -- Richard Gaskin Fourth World Systems Alex Tweedly wrote: > I think my head is melting :-) > > I have a group called 'A'. > > Inside A, there is a rect called "R" and also a group called "B" > > inside B there is a rect called "R" > > How do I refer unambiguously to the first rectangle (i.e. A - R, not A - > B - R) ? > > If I say > grc "R" of grp "B" of grp A > then I unambiguously get A-B-R; but if I say simply > grc "R" of grp "A" > then I *also* get A-B-R. > > There must be a way to do this (and maybe if it wasn't nearly 2 in the > morning I would be able to figure it out). > > Help! Please ! > > Alex. From alex at tweedly.net Mon Jul 27 13:20:00 2020 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 27 Jul 2020 18:20:00 +0100 Subject: Object naming In-Reply-To: References: Message-ID: <4a3ee512-1c52-ba2f-82d0-6ec4c85d7ce3@tweedly.net> Thanks Mark and Andre. Mark's description of the solution is correct - but in my situation it's not a solution. The sub-groups (B in my earlier example) are opaque - they have coloured, filled backdrops so that they can capture e.g. mouseMove messages, so they need to be opaque. Therefore, I can't simply re-layer so that the 'direct' graphics are behind (below) the groups. The custom properties 'selector' idea is interesting - I'll need to mull it over some more. I'm currently thinking of something like function idOfChild pLongID, pShortName ? repeat for each line L in the childControlIDs of? pLongID ???? if the short name of control ID L = pShortName then return the long id of control ID L ? end repeat end idOfChild unless someone sees a problem with that. (And of course I'll do that once and cache the values for continuing use). Alex. On 27/07/2020 15:40, Andre Garzia via use-livecode wrote: > Alex, > > I think that Mark solution is the correct one but I couldn't resist telling > you some other idea, one that is only applicable if performance is not a > problem. > > You can add custom properties to controls you want to find later and then > look for them by looping everyone in the card. A reusable short function > can be created with whatever letter you want, like "q", and code similar totrolIDs of > this: > > function q selector, value > repeat with x = 1 to the number of controls in this card > if the selector of control x of this card is value then > return the long id of control x of this card > end if > end repeat > end function > > And then you can go: > > put q("blue-rect", "true") into tLongID > > You can even have something like "qq" that returns a list of long ids for > all the controls that match that query. Caching these results is the best > architecture, on preOpenCard you can find all the controls you'll need and > place them in script local arrays, then all the functions that need them > can peek into those arrays. > > It is a bit convoluted but allows for some clever programming. Remembering > that "clever" is one of the trickster spirits of the software development > world. > > Best > A > > On Mon, 27 Jul 2020 at 01:33, Alex Tweedly via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I think my head is melting :-) >> >> I have a group called 'A'. >> >> Inside A, there is a rect called "R" and also a group called "B" >> >> inside B there is a rect called "R" >> >> How do I refer unambiguously to the first rectangle (i.e. A - R, not A - >> B - R) ? >> >> If I say >> grc "R" of grp "B" of grp A >> then I unambiguously get A-B-R; but if I say simply >> grc "R" of grp "A" >> then I *also* get A-B-R. >> >> There must be a way to do this (and maybe if it wasn't nearly 2 in the >> morning I would be able to figure it out). >> >> Help! Please ! >> >> Alex. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From benr at cogapp.com Mon Jul 27 13:52:37 2020 From: benr at cogapp.com (Ben Rubinstein) Date: Mon, 27 Jul 2020 18:52:37 +0100 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: <17E63C03-669C-4586-8B67-D143BE3E62A4@earthlearningsolutions.org> References: <17E63C03-669C-4586-8B67-D143BE3E62A4@earthlearningsolutions.org> Message-ID: <68c5bd3b-d91d-5c03-e09c-672cbec16d51@cogapp.com> Hi Bill (and Neville) Happy to post it - I'll try to do a bit of cleanup and commenting first. (Honestly I think it's probably just going to be an email to the list.) Afore I do, I had this question: > (I say library - currently it's a button I copy and paste to stacks where I > need it, and "insert the script of". I've completely lost track of how real > "libraries" should be packaged. Where should I look?) What is the currently approved method for a "library"? TIA, Ben On 22/07/2020 20:04, Prothero at earthlearning via use-livecode wrote: > Ben, > Any chance of posting a demo stack somewhere? It sounds very useful. > Thanks, > Bill > > William Prothero > http://es.earthednet.org > >> On Jul 22, 2020, at 10:13 AM, Ben Rubinstein via use-livecode wrote: >> >> ?Ah, shame. It turned out it was (IIUC) just a change in the way Google did their tokens which exposed a bug, now fixed, in how LC did OAuth - nothing to do with the general API changing. >> >> At any rate, I do have a very basic library which I use to read and write Google sheets, in case it's of use to anyone. >> >> (I say library - currently it's a button I copy and paste to stacks where I need it, and "insert the script of". I've completely lost track of how real "libraries" should be packaged. Where should I look?) >> >> Ben >> >>> On 21/07/2020 14:49, Mike Kerner wrote: >>> I got impatient/spooked so we went another direction. I think we're going to use other tools. >>> On Thu, Jul 16, 2020 at 10:00 AM Ben Rubinstein via use-livecode > wrote: >>> Hi Mike, >>> Brian Milby put me on to the solution for the OAuth problem: >>> > Check out bug 22557 / PR 7381. >>> > Line 247 of oath2.livecodescript need urlEncode removed >>> Are you still interested in this, or are you covered now? >>> regards, >>> Ben >>> On 11/03/2020 20:45, Ben Rubinstein via use-livecode wrote: >>> > Hi Mike, >>> > >>> > I haven't forgotten, but finally found time to take a look today and >>> started >>> > writing minimal comments, and thought I should at least test it - for some >>> > reason the authorisation isn't working. For whatever reason, the call to >>> > OAuth2 results in the error "Malformed auth code." So I can't get to >>> test what >>> > I'm sending. >>> > >>> > I'm unclear whether I've done something strange or wrong, or whether >>> Google >>> > has changed something that breaks LC's implementation. I've come across >>> > references which suggest that, but they date back to last year, and I >>> believe >>> > I've used this stack in January. (I also tried using LC 9.0.4 with the >>> same >>> > result.) >>> > >>> > I will try to get back to this. In the meantime, have you - or anyone - >>> found >>> > issues recently with OAuth2, in particular against any of the Google APIs? >>> > >>> > Ben >>> > >>> > >>> > On 08/03/2020 22:22, Mike Kerner via use-livecode wrote: >>> >> it might help us get started. i'm going to probably put out an rfq to >>> wrap >>> >> the v4 rest api, because we're going to have to come to a solution, either >>> >> using lc or some other tool. >>> >> >>> >> On Sun, Mar 8, 2020 at 6:01 PM Ben Rubinstein via use-livecode < >>> >> use-livecode at lists.runrev.com > >>> wrote: >>> >> >>> >>> Mike, >>> >>> >>> >>> Very happy to share what I've got, but it's really not much - just a very >>> >>> thin >>> >>> wrapper round Google's API - and it's undocumented, mostly rough code - >>> >>> copied >>> >>> from one stack to the next, usually done in a tearing hurry! >>> >>> >>> >>> I'll try to pull something together, but please promise not to judge >>> me... >>> >>> >>> >>> Ben >>> >>> >>> >>> On 06/03/2020 15:13, Mike Kerner via use-livecode wrote: >>> >>>> Ben, >>> >>>> would you send me what you've got? I was considering paying someone to >>> >>>> wrap the entire v4 api and dropping mergGoogle, so any head start would >>> >>> be >>> >>>> useful. LC wants tribute to do the work (which is a little >>> disappointing >>> >>>> since we financed the original external, so we sort-of hoped that it >>> >>> would >>> >>>> become a thing, and it would get updated as required, but crap happens). >>> >>>> >>> >>>> On Thu, Mar 5, 2020 at 6:04 PM Ben Rubinstein via use-livecode < >>> >>>> use-livecode at lists.runrev.com >>> > wrote: >>> >>>> >>> >>>>> On 04/03/2020 20:37, Mike Kerner via use-livecode wrote: >>> >>>>>> is anyone using anything besides mergGoogle to work with google >>> sheets? >>> >>>>>> care to share, if you are? >>> >>>>> >>> >>>>> I'm just using the Google Sheets API directly from LiveCode - just >>> >>> pushing >>> >>>>> JSON back and forth. The API is limited, but what's there is very easy >>> >>> to >>> >>>>> work >>> >>>>> with - much better than manipulating xlsx files. >>> >>>>> >>> >>>>> I started using it to get data from clients, and then processing data >>> >>> and >>> >>>>> pushing it back into the sheets. I've also used on some experimental >>> >>> image >>> >>>>> processing, where I found that pushing the results of LiveCode >>> functions >>> >>>>> into >>> >>>>> a google sheet immediately gave me an nice interface in which to review >>> >>>>> the >>> >>>>> data, and then I could also use the spreadsheet functions to do >>> >>> evaluation >>> >>>>> and >>> >>>>> testing. >>> >>>>> >>> >>>>> Ben >>> >>>>> >>> >>>>> ____ >>> > >>> > _______________________________________________ >>> > use-livecode mailing list >>> > use-livecode at lists.runrev.com >>> > Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>> > preferences: >>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> -- >>> On the first day, God created the heavens and the Earth >>> On the second day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From prothero at earthlearningsolutions.org Mon Jul 27 14:17:44 2020 From: prothero at earthlearningsolutions.org (Prothero@earthlearning) Date: Mon, 27 Jul 2020 11:17:44 -0700 Subject: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle In-Reply-To: <68c5bd3b-d91d-5c03-e09c-672cbec16d51@cogapp.com> References: <68c5bd3b-d91d-5c03-e09c-672cbec16d51@cogapp.com> Message-ID: <42B8922A-98C1-499D-84F6-9538A0CAA638@earthlearningsolutions.org> Ben, I?d find a sample stack to be useful. I?ll leave details of what constitutes a ?library? to others. There are some best practices, tho. What I see is usually a text stack with that main handlers with a sample stack that demos basic calls. That said, if you don?t have the time to get into the niceties, whatever you have would be useful. Best, Bill William Prothero http://es.earthednet.org > On Jul 27, 2020, at 10:53 AM, Ben Rubinstein via use-livecode wrote: > > ?Hi Bill (and Neville) > > Happy to post it - I'll try to do a bit of cleanup and commenting first. (Honestly I think it's probably just going to be an email to the list.) Afore I do, I had this question: > >> (I say library - currently it's a button I copy and paste to stacks where I >> need it, and "insert the script of". I've completely lost track of how real >> "libraries" should be packaged. Where should I look?) > What is the currently approved method for a "library"? > > TIA, > > Ben > >> On 22/07/2020 20:04, Prothero at earthlearning via use-livecode wrote: >> Ben, >> Any chance of posting a demo stack somewhere? It sounds very useful. >> Thanks, >> Bill >> William Prothero >> http://es.earthednet.org >>>> On Jul 22, 2020, at 10:13 AM, Ben Rubinstein via use-livecode wrote: >>> >>> ?Ah, shame. It turned out it was (IIUC) just a change in the way Google did their tokens which exposed a bug, now fixed, in how LC did OAuth - nothing to do with the general API changing. >>> >>> At any rate, I do have a very basic library which I use to read and write Google sheets, in case it's of use to anyone. >>> >>> (I say library - currently it's a button I copy and paste to stacks where I need it, and "insert the script of". I've completely lost track of how real "libraries" should be packaged. Where should I look?) >>> >>> Ben >>> >>>> On 21/07/2020 14:49, Mike Kerner wrote: >>>> I got impatient/spooked so we went another direction. I think we're going to use other tools. >>>> On Thu, Jul 16, 2020 at 10:00 AM Ben Rubinstein via use-livecode > wrote: >>>> Hi Mike, >>>> Brian Milby put me on to the solution for the OAuth problem: >>>> > Check out bug 22557 / PR 7381. >>>> > Line 247 of oath2.livecodescript need urlEncode removed >>>> Are you still interested in this, or are you covered now? >>>> regards, >>>> Ben >>>> On 11/03/2020 20:45, Ben Rubinstein via use-livecode wrote: >>>> > Hi Mike, >>>> > >>>> > I haven't forgotten, but finally found time to take a look today and >>>> started >>>> > writing minimal comments, and thought I should at least test it - for some >>>> > reason the authorisation isn't working. For whatever reason, the call to >>>> > OAuth2 results in the error "Malformed auth code." So I can't get to >>>> test what >>>> > I'm sending. >>>> > >>>> > I'm unclear whether I've done something strange or wrong, or whether >>>> Google >>>> > has changed something that breaks LC's implementation. I've come across >>>> > references which suggest that, but they date back to last year, and I >>>> believe >>>> > I've used this stack in January. (I also tried using LC 9.0.4 with the >>>> same >>>> > result.) >>>> > >>>> > I will try to get back to this. In the meantime, have you - or anyone - >>>> found >>>> > issues recently with OAuth2, in particular against any of the Google APIs? >>>> > >>>> > Ben >>>> > >>>> > >>>> > On 08/03/2020 22:22, Mike Kerner via use-livecode wrote: >>>> >> it might help us get started. i'm going to probably put out an rfq to >>>> wrap >>>> >> the v4 rest api, because we're going to have to come to a solution, either >>>> >> using lc or some other tool. >>>> >> >>>> >> On Sun, Mar 8, 2020 at 6:01 PM Ben Rubinstein via use-livecode < >>>> >> use-livecode at lists.runrev.com > >>>> wrote: >>>> >> >>>> >>> Mike, >>>> >>> >>>> >>> Very happy to share what I've got, but it's really not much - just a very >>>> >>> thin >>>> >>> wrapper round Google's API - and it's undocumented, mostly rough code - >>>> >>> copied >>>> >>> from one stack to the next, usually done in a tearing hurry! >>>> >>> >>>> >>> I'll try to pull something together, but please promise not to judge >>>> me... >>>> >>> >>>> >>> Ben >>>> >>> >>>> >>> On 06/03/2020 15:13, Mike Kerner via use-livecode wrote: >>>> >>>> Ben, >>>> >>>> would you send me what you've got? I was considering paying someone to >>>> >>>> wrap the entire v4 api and dropping mergGoogle, so any head start would >>>> >>> be >>>> >>>> useful. LC wants tribute to do the work (which is a little >>>> disappointing >>>> >>>> since we financed the original external, so we sort-of hoped that it >>>> >>> would >>>> >>>> become a thing, and it would get updated as required, but crap happens). >>>> >>>> >>>> >>>> On Thu, Mar 5, 2020 at 6:04 PM Ben Rubinstein via use-livecode < >>>> >>>> use-livecode at lists.runrev.com >>>> > wrote: >>>> >>>> >>>> >>>>> On 04/03/2020 20:37, Mike Kerner via use-livecode wrote: >>>> >>>>>> is anyone using anything besides mergGoogle to work with google >>>> sheets? >>>> >>>>>> care to share, if you are? >>>> >>>>> >>>> >>>>> I'm just using the Google Sheets API directly from LiveCode - just >>>> >>> pushing >>>> >>>>> JSON back and forth. The API is limited, but what's there is very easy >>>> >>> to >>>> >>>>> work >>>> >>>>> with - much better than manipulating xlsx files. >>>> >>>>> >>>> >>>>> I started using it to get data from clients, and then processing data >>>> >>> and >>>> >>>>> pushing it back into the sheets. I've also used on some experimental >>>> >>> image >>>> >>>>> processing, where I found that pushing the results of LiveCode >>>> functions >>>> >>>>> into >>>> >>>>> a google sheet immediately gave me an nice interface in which to review >>>> >>>>> the >>>> >>>>> data, and then I could also use the spreadsheet functions to do >>>> >>> evaluation >>>> >>>>> and >>>> >>>>> testing. >>>> >>>>> >>>> >>>>> Ben >>>> >>>>> >>>> >>>>> ____ >>>> > >>>> > _______________________________________________ >>>> > use-livecode mailing list >>>> > use-livecode at lists.runrev.com >>>> > Please visit this url to subscribe, unsubscribe and manage your >>>> subscription >>>> > preferences: >>>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> -- >>>> On the first day, God created the heavens and the Earth >>>> On the second day, God created the oceans. >>>> On the third day, God put the animals on hold for a few hours, >>>> and did a little diving. >>>> And God said, "This is good." >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Mon Jul 27 15:47:12 2020 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 27 Jul 2020 20:47:12 +0100 Subject: Object naming In-Reply-To: <9eb6856a-496f-079d-7af1-878e8bdc0620@fourthworld.com> References: <9eb6856a-496f-079d-7af1-878e8bdc0620@fourthworld.com> Message-ID: <8e6ad0cb-dd6e-67c2-dce7-95a918e8128f@tweedly.net> On 27/07/2020 16:33, Richard Gaskin via use-livecode wrote: > There are many ways to refer to things.? The simplest is to use > unambiguous names for things that matter. > Is there an unambiguous name in this case ? And if so, what is it :-) ? A group "A" contains a rectangle "R", and a (sub)group "B". "B" also contains a rectangle "R". (btw - "B" also may contain a subgroup "C", and it too will have a rectangle "R", and ....). There is an unambiguous name for the 'most nested' "R", but there doesn't seem to be for the other "R"s. I had expected (or perhaps just hoped) that using a long name would first try to find an exact match, and if that failed it would then find the closest inexact match - but that sadly was just a hope. I could (and probably will) use IDs but that doesn't work for duplicating the group - you need to either go in and adjust a script / custom property OR have the group's script find the IDs. Or - am I'm missing something ? Alex. From htorrado at networkdreams.net Mon Jul 27 16:18:19 2020 From: htorrado at networkdreams.net (Heriberto Torrado) Date: Mon, 27 Jul 2020 16:18:19 -0400 Subject: Sorting numbers on a datagrid Message-ID: <96d6ced5-62ea-f3a3-f1fd-7162f1e75a63@networkdreams.net> Dear LiveCode experts, I have had an annoying problem with a datagrid since years ago.? Now is the time to fix it. One of the columns is numeric (CustomerID). It takes the data form an MYSQL Database. When I sort the data by clicking on the CustomerID column, the customer numbers appear as follows: 1,10,100,101 and not 1,2,3,4,5. Do you know how to fix this problem? Thank you very much. Off-topic: Yesterday I bought my first Livecode Indy license. :-) I'd like to say thanks to LiveCode Ltd for creating this awesome product. -- Best regards/ Saludos cordiales/ Cordialement Heriberto Torrado ?Chief Technology Officer (CTO) ?Director de inform?tica Directeur informatique *NetDreams S.C.* http://www.networkdreams.net ?Address / Direcci?n / Adresse:? *USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA *Europe / Europa: *Paseo de la Castellana 135 10? Planta Madrid 28024 Spain / Espa?a *Tel - Phone - Fax:* Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787 Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48 ?? Please consider the environment before printing this email / Por favor considera tu responsabilidad medioambiental antes de imprimir esta p?gina. Confidentiality: The information contained in this message as well as the attached file(s) is confidential/privileged and is only intended for the person(s) to whom it is addressed. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, or you have received this comunication in error, please be aware that any dissemination, distribution or duplication is strictly prohibited, and can be illegal, and please notify us immediately and return the original message to us at the address above. Thank you. Confidencialidad: La informaci?n contenida en este mensaje y/o archivo(s) adjunto(s) es confidencial/privilegiada y est? destinada a ser le?da s?lo por la(s) persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el destinatario se?alado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicaci?n por error, le informamos que est? totalmente prohibida, y puede ser ilegal, cualquier divulgaci?n, distribuci?n o reproducci?n de esta comunicaci?n, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la direcci?n arriba mencionada. Gracias. Viruses: Although we have taken steps to insure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free. Virus: Aunque hemos tomado las medidas para asegurarnos que este correo electr?nico y sus ficheros adjuntos est?n libres de virus, le recomendamos que a efectos de mantener buenas pr?cticas de seguridad, el receptor debe asegurarse que este correo y sus ficheros adjuntos est?n libres de virus. From curry at pair.com Mon Jul 27 16:26:39 2020 From: curry at pair.com (Curry Kenworthy) Date: Mon, 27 Jul 2020 16:26:39 -0400 Subject: Object naming In-Reply-To: <8e6ad0cb-dd6e-67c2-dce7-95a918e8128f@tweedly.net> References: <8e6ad0cb-dd6e-67c2-dce7-95a918e8128f@tweedly.net> Message-ID: <86aefbcc-2b2d-5ee0-1034-dc61883bac6f@pair.com> Richard: > The simplest is to use unambiguous names +1! Alex: > Is there an unambiguous name in this case ? Use unambiguous SHORT names! Alex: > (i.e. A-R, not A-B-R) +1! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From alex at tweedly.net Mon Jul 27 20:47:17 2020 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 28 Jul 2020 01:47:17 +0100 Subject: Object naming In-Reply-To: <86aefbcc-2b2d-5ee0-1034-dc61883bac6f@pair.com> References: <8e6ad0cb-dd6e-67c2-dce7-95a918e8128f@tweedly.net> <86aefbcc-2b2d-5ee0-1034-dc61883bac6f@pair.com> Message-ID: <54cb1ac8-0d5c-820c-be11-e8c2b0ab0094@tweedly.net> On 27/07/2020 21:26, Curry Kenworthy via use-livecode wrote: > > Use unambiguous SHORT names! > Thanks, but ... Yes, using unambiguous SHORT names solves this naming problem, but introduces other problems. In particular, this group script should (probably) be a behaviour script, since the group will be instantiated multiple times and will in the future need updating for enhancements or even (Heaven forfend!) bug fixes. Using unambiguous short names prevents behaviour scripts that references child controls completely, and even if I simply used normal scripts which were replicated for each instance, I'd still need to go through the script to change all the references to the child control names (a pain, and source of possible future errors). For now, I'm caching the IDs of the direct child controls in script-local variables in each instance of the group. If I find a name-based way that works reliably and allows behaviour scripts, I'll change - but this method works. I'll have this group ready for release soon (or soon-ish) so y'all'll be able to see how it turned out :-) Thanks again everyone, Alex. From mkoob at rogers.com Mon Jul 27 23:04:55 2020 From: mkoob at rogers.com (Martin Koob) Date: Mon, 27 Jul 2020 23:04:55 -0400 Subject: Object naming In-Reply-To: <54cb1ac8-0d5c-820c-be11-e8c2b0ab0094@tweedly.net> References: <8e6ad0cb-dd6e-67c2-dce7-95a918e8128f@tweedly.net> <86aefbcc-2b2d-5ee0-1034-dc61883bac6f@pair.com> <54cb1ac8-0d5c-820c-be11-e8c2b0ab0094@tweedly.net> Message-ID: Hi Alex You could use the owner of the control in conjunction with the name of the control to distinguish between the two graphic?s named ?R?. I did that for the simple case in your example but may not work with something more complex. I created a stack with the same hierarchy of graphics and groups and using the following scripts in a button I placed on the card I can distinguish between graphic A - R and B - R. on mouseup ask ?enter owner name/control name/control colour" put it into tResponse set the itemdelimiter to "/" put item 1 of tResponse into tOwner put item 2 of tResponse into tControl put item 3 of tResponse into tControlColour put findTargetControl(tOwner, tControl) into tTargetControl set the backgroundcolor of control tTargetControl of group "A" to tControlColour end mouseup function findTargetControl pOwner, pControl put the number of controls of group "A" into tIndex repeat with tControl = 1 to tIndex if the short name of control tControl of group "A" = pControl then if the short name of the owner of control tControl of group "A" = pOwner then exit repeat end if end if end repeat return tControl end findTargetControl Martin Koob > On Jul 27, 2020, at 8:47 PM, Alex Tweedly via use-livecode wrote: > > > On 27/07/2020 21:26, Curry Kenworthy via use-livecode wrote: >> >> Use unambiguous SHORT names! >> > Thanks, but ... > > Yes, using unambiguous SHORT names solves this naming problem, but introduces other problems. In particular, this group script should (probably) be a behaviour script, since the group will be instantiated multiple times and will in the future need updating for enhancements or even (Heaven forfend!) bug fixes. > > Using unambiguous short names prevents behaviour scripts that references child controls completely, and even if I simply used normal scripts which were replicated for each instance, I'd still need to go through the script to change all the references to the child control names (a pain, and source of possible future errors). > > For now, I'm caching the IDs of the direct child controls in script-local variables in each instance of the group. If I find a name-based way that works reliably and allows behaviour scripts, I'll change - but this method works. > > I'll have this group ready for release soon (or soon-ish) so y'all'll be able to see how it turned out :-) > > Thanks again everyone, > > Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Jul 28 01:24:13 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 27 Jul 2020 22:24:13 -0700 Subject: Object naming In-Reply-To: <8e6ad0cb-dd6e-67c2-dce7-95a918e8128f@tweedly.net> References: <8e6ad0cb-dd6e-67c2-dce7-95a918e8128f@tweedly.net> Message-ID: Consider a simplified problem statement: You have two objects of the same type in a container, and you want to tell them apart but had given them the same name. Too Many Daves by Dr. Seuss Did I ever tell you that Mrs. McCave Had twenty-three sons and she named them all Dave? Well, she did. And that wasn't a smart thing to do. You see, when she wants one and calls out, "Yoo-Hoo! Come into the house, Dave!" she doesn't get one. All twenty-three Daves of hers come on the run! This makes things quite difficult at the McCaves' As you can imagine, with so many Daves. And often she wishes that, when they were born, She had named one of them Bodkin Van Horn And one of them Hoos-Foos. And one of them Snimm. And one of them Hot-Shot. And one Sunny Jim. And one of them Shadrack. And one of them Blinkey. And one of them Stuffy. And one of them Stinkey. Another one Putt-Putt. Another one Moon Face. Another one Marvin O'Gravel Balloon Face. And one of them Ziggy. And one Soggy Muff. One Buffalo Bill. And one Biffalo Buff. And one of them Sneepy. And one Weepy Weed. And one Paris Garters. And one Harris Tweed. And one of them Sir Michael Carmichael Zutt And one of them Oliver Boliver Butt And one of them Zanzibar Buck-Buck McFate ... But she didn't do it. And now it's too late. -- Richard Gaskin Fourth World Systems > Alex Tweedly alex at tweedly.net > Mon Jul 27 15:47:12 EDT 2020 > > Previous message (by thread): Object naming > Next message (by thread): Object naming > Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > > On 27/07/2020 16:33, Richard Gaskin via use-livecode wrote: >> There are many ways to refer to things. The simplest is to use >> unambiguous names for things that matter. >> > Is there an unambiguous name in this case ? And if so, what is it :-) ? > > A group "A" contains a rectangle "R", and a (sub)group "B". "B" also > contains a rectangle "R". (btw - "B" also may contain a subgroup "C", > and it too will have a rectangle "R", and ....). > > There is an unambiguous name for the 'most nested' "R", but there > doesn't seem to be for the other "R"s. I had expected (or perhaps just > hoped) that using a long name would first try to find an exact match, > and if that failed it would then find the closest inexact match - but > that sadly was just a hope. > > I could (and probably will) use IDs but that doesn't work for > duplicating the group - you need to either go in and adjust a script / > custom property OR have the group's script find the IDs. > > Or - am I'm missing something ? > > Alex. From jerry at jhjensen.com Tue Jul 28 01:49:16 2020 From: jerry at jhjensen.com (Jerry Jensen) Date: Mon, 27 Jul 2020 22:49:16 -0700 Subject: Object naming In-Reply-To: References: <8e6ad0cb-dd6e-67c2-dce7-95a918e8128f@tweedly.net> Message-ID: <42BA8791-6617-472F-9C44-D0CB794C20A8@jhjensen.com> +100 to Mr. Gaskin! > On Jul 27, 2020, at 10:24 PM, Richard Gaskin via use-livecode wrote: > > Consider a simplified problem statement: > > You have two objects of the same type in a container, and you want to tell them apart but had given them the same name. > > > > Too Many Daves > by Dr. Seuss > > Did I ever tell you that Mrs. McCave > Had twenty-three sons and she named them all Dave? > Well, she did. And that wasn't a smart thing to do. > You see, when she wants one and calls out, "Yoo-Hoo! > Come into the house, Dave!" she doesn't get one. > All twenty-three Daves of hers come on the run! > This makes things quite difficult at the McCaves' > As you can imagine, with so many Daves. > And often she wishes that, when they were born, > She had named one of them Bodkin Van Horn > And one of them Hoos-Foos. And one of them Snimm. > And one of them Hot-Shot. And one Sunny Jim. > And one of them Shadrack. And one of them Blinkey. > And one of them Stuffy. And one of them Stinkey. > Another one Putt-Putt. Another one Moon Face. > Another one Marvin O'Gravel Balloon Face. > And one of them Ziggy. And one Soggy Muff. > One Buffalo Bill. And one Biffalo Buff. > And one of them Sneepy. And one Weepy Weed. > And one Paris Garters. And one Harris Tweed. > And one of them Sir Michael Carmichael Zutt > And one of them Oliver Boliver Butt > And one of them Zanzibar Buck-Buck McFate ... > But she didn't do it. And now it's too late. > > -- > Richard Gaskin > Fourth World Systems > > >> Alex Tweedly alex at tweedly.net >> Mon Jul 27 15:47:12 EDT 2020 >> Previous message (by thread): Object naming >> Next message (by thread): Object naming >> Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] >> On 27/07/2020 16:33, Richard Gaskin via use-livecode wrote: >>> There are many ways to refer to things. The simplest is to use unambiguous names for things that matter. >>> >> Is there an unambiguous name in this case ? And if so, what is it :-) ? >> A group "A" contains a rectangle "R", and a (sub)group "B". "B" also contains a rectangle "R". (btw - "B" also may contain a subgroup "C", and it too will have a rectangle "R", and ....). >> There is an unambiguous name for the 'most nested' "R", but there doesn't seem to be for the other "R"s. I had expected (or perhaps just hoped) that using a long name would first try to find an exact match, and if that failed it would then find the closest inexact match - but that sadly was just a hope. >> I could (and probably will) use IDs but that doesn't work for duplicating the group - you need to either go in and adjust a script / custom property OR have the group's script find the IDs. >> Or - am I'm missing something ? >> Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Tue Jul 28 02:50:33 2020 From: sundown at pacifier.com (JB) Date: Mon, 27 Jul 2020 23:50:33 -0700 Subject: Object naming In-Reply-To: References: Message-ID: <21968275-1DC4-48E9-845B-342FE05F9240@pacifier.com> That is really cool, Richard! JB Sent from my iPad > On Jul 27, 2020, at 10:26 PM, Richard Gaskin via use-livecode wrote: > > ?Consider a simplified problem statement: > > You have two objects of the same type in a container, and you want to tell them apart but had given them the same name. > > > > Too Many Daves > by Dr. Seuss > > Did I ever tell you that Mrs. McCave > Had twenty-three sons and she named them all Dave? > Well, she did. And that wasn't a smart thing to do. > You see, when she wants one and calls out, "Yoo-Hoo! > Come into the house, Dave!" she doesn't get one. > All twenty-three Daves of hers come on the run! > This makes things quite difficult at the McCaves' > As you can imagine, with so many Daves. > And often she wishes that, when they were born, > She had named one of them Bodkin Van Horn > And one of them Hoos-Foos. And one of them Snimm. > And one of them Hot-Shot. And one Sunny Jim. > And one of them Shadrack. And one of them Blinkey. > And one of them Stuffy. And one of them Stinkey. > Another one Putt-Putt. Another one Moon Face. > Another one Marvin O'Gravel Balloon Face. > And one of them Ziggy. And one Soggy Muff. > One Buffalo Bill. And one Biffalo Buff. > And one of them Sneepy. And one Weepy Weed. > And one Paris Garters. And one Harris Tweed. > And one of them Sir Michael Carmichael Zutt > And one of them Oliver Boliver Butt > And one of them Zanzibar Buck-Buck McFate ... > But she didn't do it. And now it's too late. > > -- > Richard Gaskin > Fourth World Systems > > >> Alex Tweedly alex at tweedly.net >> Mon Jul 27 15:47:12 EDT 2020 >> Previous message (by thread): Object naming >> Next message (by thread): Object naming >> Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] >>> On 27/07/2020 16:33, Richard Gaskin via use-livecode wrote: >>> There are many ways to refer to things. The simplest is to use unambiguous names for things that matter. >>> >> Is there an unambiguous name in this case ? And if so, what is it :-) ? >> A group "A" contains a rectangle "R", and a (sub)group "B". "B" also contains a rectangle "R". (btw - "B" also may contain a subgroup "C", and it too will have a rectangle "R", and ....). >> There is an unambiguous name for the 'most nested' "R", but there doesn't seem to be for the other "R"s. I had expected (or perhaps just hoped) that using a long name would first try to find an exact match, and if that failed it would then find the closest inexact match - but that sadly was just a hope. >> I could (and probably will) use IDs but that doesn't work for duplicating the group - you need to either go in and adjust a script / custom property OR have the group's script find the IDs. >> Or - am I'm missing something ? >> Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From curry at pair.com Tue Jul 28 03:27:59 2020 From: curry at pair.com (Curry Kenworthy) Date: Tue, 28 Jul 2020 03:27:59 -0400 Subject: Object naming In-Reply-To: References: Message-ID: <2844cb48-2faf-aeea-ed10-7f4f223d01f7@pair.com> Alex: > Using unambiguous short names prevents behaviour scripts > that references child controls completely Sure about that? (Option A) > Inside A, there is a rect called "R" and also a group called "B" > inside B there is a rect called "R" Or put the "direct" R in a subgroup also. (Option B) A-B-R vs A-C-R. Richard: > One Buffalo Bill. And one Biffalo Buff. I like that one. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From scott at elementarysoftware.com Tue Jul 28 04:18:22 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 28 Jul 2020 01:18:22 -0700 Subject: Object naming In-Reply-To: References: <8e6ad0cb-dd6e-67c2-dce7-95a918e8128f@tweedly.net> Message-ID: <898D8964-C926-46AB-8311-A1544BEFD137@elementarysoftware.com> So Alex, the takeaway here seems to be that once you name your child objects? ?now it?s too late.? While reading this out aloud, I taught my classes of 2nd and 3rd graders to say, ?Noooooo? after the second line. And I usually paused to let the class finish Oliver Boliver?s name. ? Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ ------------------------------------------------------ > On Jul 27, 2020, at 10:24 PM, Richard Gaskin via use-livecode wrote: > > Consider a simplified problem statement: > > You have two objects of the same type in a container, and you want to tell them apart but had given them the same name. > > > > Too Many Daves > by Dr. Seuss > > Did I ever tell you that Mrs. McCave > Had twenty-three sons and she named them all Dave? > Well, she did. And that wasn't a smart thing to do. > You see, when she wants one and calls out, "Yoo-Hoo! > Come into the house, Dave!" she doesn't get one. > All twenty-three Daves of hers come on the run! > This makes things quite difficult at the McCaves' > As you can imagine, with so many Daves. > And often she wishes that, when they were born, > She had named one of them Bodkin Van Horn > And one of them Hoos-Foos. And one of them Snimm. > And one of them Hot-Shot. And one Sunny Jim. > And one of them Shadrack. And one of them Blinkey. > And one of them Stuffy. And one of them Stinkey. > Another one Putt-Putt. Another one Moon Face. > Another one Marvin O'Gravel Balloon Face. > And one of them Ziggy. And one Soggy Muff. > One Buffalo Bill. And one Biffalo Buff. > And one of them Sneepy. And one Weepy Weed. > And one Paris Garters. And one Harris Tweed. > And one of them Sir Michael Carmichael Zutt > And one of them Oliver Boliver Butt > And one of them Zanzibar Buck-Buck McFate ... > But she didn't do it. And now it's too late. > > -- > Richard Gaskin > Fourth World Systems > > >> Alex Tweedly alex at tweedly.net >> Mon Jul 27 15:47:12 EDT 2020 >> Previous message (by thread): Object naming >> Next message (by thread): Object naming >> Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] >> On 27/07/2020 16:33, Richard Gaskin via use-livecode wrote: >>> There are many ways to refer to things. The simplest is to use unambiguous names for things that matter. >>> >> Is there an unambiguous name in this case ? And if so, what is it :-) ? >> A group "A" contains a rectangle "R", and a (sub)group "B". "B" also contains a rectangle "R". (btw - "B" also may contain a subgroup "C", and it too will have a rectangle "R", and ....). >> There is an unambiguous name for the 'most nested' "R", but there doesn't seem to be for the other "R"s. I had expected (or perhaps just hoped) that using a long name would first try to find an exact match, and if that failed it would then find the closest inexact match - but that sadly was just a hope. >> I could (and probably will) use IDs but that doesn't work for duplicating the group - you need to either go in and adjust a script / custom property OR have the group's script find the IDs. >> Or - am I'm missing something ? >> Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Jul 28 04:29:13 2020 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 28 Jul 2020 11:29:13 +0300 Subject: Object naming In-Reply-To: <2844cb48-2faf-aeea-ed10-7f4f223d01f7@pair.com> References: <2844cb48-2faf-aeea-ed10-7f4f223d01f7@pair.com> Message-ID: <3e6b6ad3-856e-93a3-f30d-d62fbd6da13d@gmail.com> You are asking for trouble. Think about something as goofy and as simple as this: Inside A1, there is a rect called "R1" and also a group called "B1" inside B1 there is a rect called "R2" . . . Am I missing something? Richmond. On 28.07.20 10:27, Curry Kenworthy via use-livecode wrote: > > Alex: > > > Using unambiguous short names prevents behaviour scripts > > that references child controls completely > > Sure about that? (Option A) > > > Inside A, there is a rect called "R" and also a group called "B" > > inside B there is a rect called "R" > > Or put the "direct" R in a subgroup also. (Option B) > A-B-R vs A-C-R. > > Richard: > > > One Buffalo Bill. And one Biffalo Buff. > > I like that one. > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Tue Jul 28 05:53:58 2020 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 28 Jul 2020 10:53:58 +0100 Subject: Object naming In-Reply-To: References: <8e6ad0cb-dd6e-67c2-dce7-95a918e8128f@tweedly.net> Message-ID: On 28/07/2020 06:24, Richard Gaskin via use-livecode wrote: > Consider a simplified problem statement: > > You have two objects of the same type in a container, and you want to > tell them apart but had given them the same name. > +100 OK, when I stop laughing, I will admit I am convinced :-) Alex. From alex at tweedly.net Tue Jul 28 06:01:03 2020 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 28 Jul 2020 11:01:03 +0100 Subject: Object naming In-Reply-To: References: <8e6ad0cb-dd6e-67c2-dce7-95a918e8128f@tweedly.net> <86aefbcc-2b2d-5ee0-1034-dc61883bac6f@pair.com> <54cb1ac8-0d5c-820c-be11-e8c2b0ab0094@tweedly.net> Message-ID: Thanks Martin. That does indeed work (might need tweaking for some more complex cases). However, it goes through all controls on the card - the same effect is achieved without the performance risk using the childControlIDs, as in function idOfChild pLongID, pShortName ? repeat for each line L in the childControlIDs of? pLongID ???? if the short name of control ID L = pShortName then return the long id of control ID L ? end repeat end idOfChild I'm currently using that - but I'm convinced by Richard and Dr Seuss that I'm on the wrong path and will try a redesign. Alex. On 28/07/2020 04:04, Martin Koob wrote: > Hi Alex > > You could use the owner of the control in conjunction with the name of > the control to distinguish between the two graphic?s named ?R?. > > I did that ?for the ?simple case in your example ?but may not work > with something more complex. > > I created a stack with the same hierarchy of graphics and groups and > using the following scripts in a button I placed on the card I can > distinguish between ?graphic A - R and B - R. > > * > * > > *on*?mouseup > > *ask*?enter owner name/control name/control colour" > > *put*?it into?tResponse > > *set*theitemdelimiterto"/" > > *put*item1of?tResponse into?tOwner > > *put*item2of?tResponse into?tControl > > *put*item3of?tResponse into?tControlColour > > *put*?findTargetControl(tOwner, tControl) into?tTargetControl > > *set*thebackgroundcolorofcontrol?tTargetControl > of*group*"A"to?tControlColour > > *end*?mouseup > > > *function*?findTargetControl pOwner, pControl > > *put*thenumberofcontrolsof*group*"A"into?tIndex > > *repeat* with?tControl = 1to?tIndex > > *if* theshortnameofcontrol?tControl of*group*"A"?= pControl *then* > > *if* theshortnameoftheownerofcontrol?tControl of*group*"A"?= pOwner *then* > > *exit* *repeat* > > *end* *if* > > *end* *if* > > *end* *repeat* > > *return*?tControl > > *end*?findTargetControl > > > Martin Koob > > > >> On Jul 27, 2020, at 8:47 PM, Alex Tweedly via use-livecode >> > > wrote: >> >> >> On 27/07/2020 21:26, Curry Kenworthy via use-livecode wrote: >>> >>> Use unambiguous SHORT names! >>> >> Thanks, but ... >> >> Yes, using unambiguous SHORT names solves this naming problem, but >> introduces other problems. In particular, this group script should >> (probably) be a behaviour script, since the group will be >> instantiated multiple times and will in the future need updating for >> enhancements or even (Heaven forfend!) bug fixes. >> >> Using unambiguous short names prevents behaviour scripts that >> references child controls completely, and even if I simply used >> normal scripts which were replicated for each instance, I'd still >> need to go through the script to change all the references to the >> child control names (a pain, and source of possible future errors). >> >> For now, I'm caching the IDs of the direct child controls in >> script-local variables in each instance of the group. If I find a >> name-based way that works reliably and allows behaviour scripts, I'll >> change - but this method works. >> >> I'll have this group ready for release soon (or soon-ish) so y'all'll >> be able to see how it turned out :-) >> >> Thanks again everyone, >> >> Alex. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Tue Jul 28 06:19:01 2020 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 28 Jul 2020 11:19:01 +0100 Subject: Object naming In-Reply-To: <2844cb48-2faf-aeea-ed10-7f4f223d01f7@pair.com> References: <2844cb48-2faf-aeea-ed10-7f4f223d01f7@pair.com> Message-ID: <7c464b50-3f20-aaf9-9fa8-8b8418601a56@tweedly.net> On 28/07/2020 08:27, Curry Kenworthy via use-livecode wrote: > > Alex: > > > Using unambiguous short names prevents behaviour scripts > > that references child controls completely > > Sure about that? (Option A) > Yes, I think I am. At least, it prevents using names of the child objects in the script. The other solution using cached IDs works in a behaviour script. But I still can't see a way to do it using names. Give me one more clue please; I'd really like to use option A. > > Inside A, there is a rect called "R" and also a group called "B" > > inside B there is a rect called "R" > > Or put the "direct" R in a subgroup also. (Option B) > A-B-R vs A-C-R. > No, unfortunately option B doesn't work. Remember that A and B are instances of the same group, so when you introduce the extra group level in A, you do the same in B; i.e. it's now A-C-R versus A-B-C-R And again Livecode's "incomplete" name matching will give whichever one has a lower layer number. Verified: > *put*thelongnameofgrc"R1"ofgrp"A" ... graphic "R1" of group "C" of group "B" of group "A" of card id 1002 of stack "Untitled 1" when A-B is lower than A-C (which it has to be to avoid obscuring it). So I'm going to abandon this idea - I can go back to a different solution which allows behaviour scripts, but requires slightly more setup. Not quite so easy to use (initially), but probably easier to continue to use in the long run. Many thanks, Alex. From jiml at netrin.com Tue Jul 28 14:32:58 2020 From: jiml at netrin.com (Jim Lambert) Date: Tue, 28 Jul 2020 11:32:58 -0700 Subject: Object naming In-Reply-To: References: Message-ID: <2807AF18-3E92-4A5D-9264-2C818F803BDC@netrin.com> Zanzibar Buck-Buck McFate was my lawyer. One day I asked if I could call him Zanz. He said, ?Nah. Just call me Dave!? Jim Lambert From mkoob at rogers.com Tue Jul 28 15:45:33 2020 From: mkoob at rogers.com (Martin Koob) Date: Tue, 28 Jul 2020 15:45:33 -0400 Subject: Object naming In-Reply-To: <2807AF18-3E92-4A5D-9264-2C818F803BDC@netrin.com> References: <2807AF18-3E92-4A5D-9264-2C818F803BDC@netrin.com> Message-ID: <35DE2A2A-46BF-4B6A-B8F2-D743ED689CA5@rogers.com> From Kids in the Hall https://www.youtube.com/watch?v=8nvzEqsZIGo Martin > On Jul 28, 2020, at 2:32 PM, Jim Lambert via use-livecode wrote: > > Zanzibar Buck-Buck McFate was my lawyer. > One day I asked if I could call him Zanz. > He said, ?Nah. Just call me Dave!? > > Jim Lambert > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jerry at jhjensen.com Tue Jul 28 16:57:49 2020 From: jerry at jhjensen.com (Jerry Jensen) Date: Tue, 28 Jul 2020 13:57:49 -0700 Subject: Object naming In-Reply-To: References: <8e6ad0cb-dd6e-67c2-dce7-95a918e8128f@tweedly.net> Message-ID: <8A7BBC3A-62BE-4941-9660-59D98074A9C0@jhjensen.com> Dave?s not here. https://www.youtube.com/watch?v=rtDAK7Umk7A > On Jul 27, 2020, at 10:24 PM, Richard Gaskin via use-livecode wrote: > > Consider a simplified problem statement: > > You have two objects of the same type in a container, and you want to tell them apart but had given them the same name. > > > > Too Many Daves > by Dr. Seuss > > Did I ever tell you that Mrs. McCave > Had twenty-three sons and she named them all Dave? > Well, she did. And that wasn't a smart thing to do. > You see, when she wants one and calls out, "Yoo-Hoo! > Come into the house, Dave!" she doesn't get one. > All twenty-three Daves of hers come on the run! > This makes things quite difficult at the McCaves' > As you can imagine, with so many Daves. > And often she wishes that, when they were born, > She had named one of them Bodkin Van Horn > And one of them Hoos-Foos. And one of them Snimm. > And one of them Hot-Shot. And one Sunny Jim. > And one of them Shadrack. And one of them Blinkey. > And one of them Stuffy. And one of them Stinkey. > Another one Putt-Putt. Another one Moon Face. > Another one Marvin O'Gravel Balloon Face. > And one of them Ziggy. And one Soggy Muff. > One Buffalo Bill. And one Biffalo Buff. > And one of them Sneepy. And one Weepy Weed. > And one Paris Garters. And one Harris Tweed. > And one of them Sir Michael Carmichael Zutt > And one of them Oliver Boliver Butt > And one of them Zanzibar Buck-Buck McFate ... > But she didn't do it. And now it's too late. > > -- > Richard Gaskin > Fourth World Systems > > >> Alex Tweedly alex at tweedly.net >> Mon Jul 27 15:47:12 EDT 2020 >> Previous message (by thread): Object naming >> Next message (by thread): Object naming >> Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] >> On 27/07/2020 16:33, Richard Gaskin via use-livecode wrote: >>> There are many ways to refer to things. The simplest is to use unambiguous names for things that matter. >>> >> Is there an unambiguous name in this case ? And if so, what is it :-) ? >> A group "A" contains a rectangle "R", and a (sub)group "B". "B" also contains a rectangle "R". (btw - "B" also may contain a subgroup "C", and it too will have a rectangle "R", and ....). >> There is an unambiguous name for the 'most nested' "R", but there doesn't seem to be for the other "R"s. I had expected (or perhaps just hoped) that using a long name would first try to find an exact match, and if that failed it would then find the closest inexact match - but that sadly was just a hope. >> I could (and probably will) use IDs but that doesn't work for duplicating the group - you need to either go in and adjust a script / custom property OR have the group's script find the IDs. >> Or - am I'm missing something ? >> Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mkoob at rogers.com Wed Jul 29 09:06:38 2020 From: mkoob at rogers.com (Martin Koob) Date: Wed, 29 Jul 2020 09:06:38 -0400 Subject: Object naming In-Reply-To: <8A7BBC3A-62BE-4941-9660-59D98074A9C0@jhjensen.com> References: <8e6ad0cb-dd6e-67c2-dce7-95a918e8128f@tweedly.net> <8A7BBC3A-62BE-4941-9660-59D98074A9C0@jhjensen.com> Message-ID: <409FECD9-9636-443B-AABD-AF4526D53225@rogers.com> Stop dave. https://www.youtube.com/watch?v=ibfQX11aPmg > On Jul 28, 2020, at 4:57 PM, Jerry Jensen via use-livecode wrote: > > Dave?s not here. > https://www.youtube.com/watch?v=rtDAK7Umk7A > >> On Jul 27, 2020, at 10:24 PM, Richard Gaskin via use-livecode wrote: >> >> Consider a simplified problem statement: >> >> You have two objects of the same type in a container, and you want to tell them apart but had given them the same name. >> >> >> >> Too Many Daves >> by Dr. Seuss >> >> Did I ever tell you that Mrs. McCave >> Had twenty-three sons and she named them all Dave? >> Well, she did. And that wasn't a smart thing to do. >> You see, when she wants one and calls out, "Yoo-Hoo! >> Come into the house, Dave!" she doesn't get one. >> All twenty-three Daves of hers come on the run! >> This makes things quite difficult at the McCaves' >> As you can imagine, with so many Daves. >> And often she wishes that, when they were born, >> She had named one of them Bodkin Van Horn >> And one of them Hoos-Foos. And one of them Snimm. >> And one of them Hot-Shot. And one Sunny Jim. >> And one of them Shadrack. And one of them Blinkey. >> And one of them Stuffy. And one of them Stinkey. >> Another one Putt-Putt. Another one Moon Face. >> Another one Marvin O'Gravel Balloon Face. >> And one of them Ziggy. And one Soggy Muff. >> One Buffalo Bill. And one Biffalo Buff. >> And one of them Sneepy. And one Weepy Weed. >> And one Paris Garters. And one Harris Tweed. >> And one of them Sir Michael Carmichael Zutt >> And one of them Oliver Boliver Butt >> And one of them Zanzibar Buck-Buck McFate ... >> But she didn't do it. And now it's too late. >> >> -- >> Richard Gaskin >> Fourth World Systems >> >> >>> Alex Tweedly alex at tweedly.net >>> Mon Jul 27 15:47:12 EDT 2020 >>> Previous message (by thread): Object naming >>> Next message (by thread): Object naming >>> Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] >>> On 27/07/2020 16:33, Richard Gaskin via use-livecode wrote: >>>> There are many ways to refer to things. The simplest is to use unambiguous names for things that matter. >>>> >>> Is there an unambiguous name in this case ? And if so, what is it :-) ? >>> A group "A" contains a rectangle "R", and a (sub)group "B". "B" also contains a rectangle "R". (btw - "B" also may contain a subgroup "C", and it too will have a rectangle "R", and ....). >>> There is an unambiguous name for the 'most nested' "R", but there doesn't seem to be for the other "R"s. I had expected (or perhaps just hoped) that using a long name would first try to find an exact match, and if that failed it would then find the closest inexact match - but that sadly was just a hope. >>> I could (and probably will) use IDs but that doesn't work for duplicating the group - you need to either go in and adjust a script / custom property OR have the group's script find the IDs. >>> Or - am I'm missing something ? >>> Alex. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Wed Jul 29 12:54:25 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 29 Jul 2020 19:54:25 +0300 Subject: [ANN] Release 9.6.1 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.1 RC-1. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.6.1 RC-1 comes with more than 50 changes, including: New Features - Support for building against API 29 on Android - which is now (starting from the 3rd of August 2020) a requirement for new apps submitted to the Play Store - Support for building with Xcode 11.5, using the iOS 13.5 SDK - New tsNet and mergExt builds, built with the iOS 13.5 SDK - Improved security, by using a New OpenSSL version (1.1.0g) Bug Fixes: - Several improvements and bug fixes in HTML5 - Faster auto-updater - Improvements in the barcode scanner widget - Several crashes have now been addressed For the full list of all fixes, updates and enhancements please see the release notes: http://downloads.livecode.com/livecode/9_6_1/LiveCodeNotes-9_6_1_rc_1.pdf Known issues ============ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. Required Software ================= To build iOS apps with LiveCode you must have the appropriate versions of Xcode as follows: - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 SDK - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS 13.2 SDK - macOS 10.15.2: Xcode 11.5.x - LiveCode builds iOS apps using the iOS 13.5 SDK There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/docs/9-5-0/faq/faq/ Note: Whilst we endeavour to release updated versions of LiveCode supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly recommend disabling automatic update of Xcode or downloading the specific version of Xcode required directly from the Apple developer portal and installing it separately. Important: From the end of June 2020, Apple is only accepting apps built using iOS13 SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.14 in order to be able to install the necessary version of Xcode. Feedback ======== Please report any bugs encountered on our quality center at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From ambassador at fourthworld.com Wed Jul 29 13:57:00 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Jul 2020 10:57:00 -0700 Subject: Help me understand infinity Message-ID: <9188bc92-f959-eccf-055e-472cd1026793@fourthworld.com> In the v9.6.1RC1 Release Notes there's this: Infinity constant The constant infinity has been added to the language in this release. As a result, theunquoted literal infinity is now reserved. Any existing uses of it should be quoted, as otherwiseit will resolve to the floating point value representing infinity, rather than the string "infinity". What is the use-case prompting this? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at tweedly.net Wed Jul 29 15:08:11 2020 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 29 Jul 2020 20:08:11 +0100 Subject: Help me understand infinity In-Reply-To: <9188bc92-f959-eccf-055e-472cd1026793@fourthworld.com> References: <9188bc92-f959-eccf-055e-472cd1026793@fourthworld.com> Message-ID: <4e163a86-93de-ef78-7417-9ba231c3f35c@tweedly.net> On 29/07/2020 18:57, Richard Gaskin via use-livecode wrote: > In the v9.6.1RC1 Release Notes there's this: > > ?? Infinity constant > ?? The constant infinity has been added to the language in this release. > ?? As a result, theunquoted literal infinity is now reserved. Any > ?? existing uses of it should be quoted, as otherwiseit will resolve to > ?? the floating point value representing infinity, rather than the > ?? string "infinity". > > What is the use-case prompting this? > A coupe of choices: 1. Less serious: It's a "bragging rights" thing. Every other (*almost*) computer language has a constant representing infinity, and as Livecode grows up, it felt it needed one too. 2. More serious: It is a reliable floating point number that can be represented in IEEE FP number space - and can therefore be relied on to act as you would expect in comparisons. Any number compared to positive infinity (other than itself) *will* be less than it. Alex. From dochawk at gmail.com Wed Jul 29 15:17:03 2020 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 29 Jul 2020 12:17:03 -0700 Subject: Help me understand infinity In-Reply-To: <4e163a86-93de-ef78-7417-9ba231c3f35c@tweedly.net> References: <9188bc92-f959-eccf-055e-472cd1026793@fourthworld.com> <4e163a86-93de-ef78-7417-9ba231c3f35c@tweedly.net> Message-ID: <89F6DDB3-93E8-472E-8CC3-F02CEC086D3C@gmail.com> On Jul 29, 2020, at 12:08 PM, Alex Tweedly via use-livecode wrote: > > Any number compared to positive infinity (other than itself) *will* be less than it. Bah, ?2> floating point infinity (which is ?1) (I took that class from Halmos himself . . .) ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 From ahsoftware at sonic.net Wed Jul 29 15:22:47 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 29 Jul 2020 12:22:47 -0700 Subject: Help me understand infinity In-Reply-To: <4e163a86-93de-ef78-7417-9ba231c3f35c@tweedly.net> References: <9188bc92-f959-eccf-055e-472cd1026793@fourthworld.com> <4e163a86-93de-ef78-7417-9ba231c3f35c@tweedly.net> Message-ID: On 7/29/20 12:08 PM, Alex Tweedly via use-livecode wrote: > > On 29/07/2020 18:57, Richard Gaskin via use-livecode wrote: >> In the v9.6.1RC1 Release Notes there's this: >> >> ?? Infinity constant >> ?? The constant infinity has been added to the language in this release. >> ?? As a result, theunquoted literal infinity is now reserved. Any >> ?? existing uses of it should be quoted, as otherwiseit will resolve to >> ?? the floating point value representing infinity, rather than the >> ?? string "infinity". >> >> What is the use-case prompting this? >> > A coupe of choices: > > 1. Less serious: It's a "bragging rights" thing. Every other (*almost*) > computer language has a constant representing infinity, and as Livecode > grows up, it felt it needed one too. > > 2. More serious: It is a reliable floating point number that can be > represented in IEEE FP number space - and can therefore be relied on to > act as you would expect in comparisons. Any number compared to positive > infinity (other than itself) *will* be less than it. > > Alex. Having played in the group Aleph Null for some years (cdbaby) I can't resist jumping into this one: less serious: if x > infinity throw a_tantrum then more serious: The new constant of infinity fits nicely into the IEEE FP space, so it will function here as aleph one, but I think LiveCode will internally cast an integer comparison, so it should also function as aleph null. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Wed Jul 29 15:36:36 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 29 Jul 2020 12:36:36 -0700 Subject: Help me understand infinity In-Reply-To: <89F6DDB3-93E8-472E-8CC3-F02CEC086D3C@gmail.com> References: <9188bc92-f959-eccf-055e-472cd1026793@fourthworld.com> <4e163a86-93de-ef78-7417-9ba231c3f35c@tweedly.net> <89F6DDB3-93E8-472E-8CC3-F02CEC086D3C@gmail.com> Message-ID: On 7/29/20 12:17 PM, Dr. Hawkins via use-livecode wrote: > Bah, > > ?2> floating point infinity (which is ?1) Outside of the axiom of choice (or actually even with it) that's not something provable. OTOH, Kant's proofs of aleph null and aleph one are brilliant. -- Mark Wieder ahsoftware at gmail.com From alex at tweedly.net Wed Jul 29 15:47:44 2020 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 29 Jul 2020 20:47:44 +0100 Subject: Help me understand infinity In-Reply-To: <89F6DDB3-93E8-472E-8CC3-F02CEC086D3C@gmail.com> References: <9188bc92-f959-eccf-055e-472cd1026793@fourthworld.com> <4e163a86-93de-ef78-7417-9ba231c3f35c@tweedly.net> <89F6DDB3-93E8-472E-8CC3-F02CEC086D3C@gmail.com> Message-ID: <8f784bf4-a6e1-5886-2bc2-8dc6e689e548@tweedly.net> On 29/07/2020 20:17, Dr. Hawkins wrote: > > On Jul 29, 2020, at 12:08 PM, Alex Tweedly via use-livecode > > > wrote: >> >> Any number compared to positive infinity (other than itself) *will* >> be less than it. > Bah, > > *?*_2 > floating point infinity (which is *?*_1 ) > Maybe in the real universe. Or in the realm of mathematics. But in the domain of computers &? IEEE, any *number* is smaller than it. (Since NaN is, well, not a number :-) Alex. From sean at pidigital.co.uk Wed Jul 29 16:21:31 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 29 Jul 2020 21:21:31 +0100 Subject: [ANN] Release 9.6.1 RC-1 In-Reply-To: References: Message-ID: <322E65F1-1B2A-4975-BB22-46696BD9CF1B@pidigital.co.uk> Yay HTML5 fixes. I?ll be testing this to the max tonight. :D Sean Cole Pi Digital Productions Ltd eMail Ts & Cs > On 29 Jul 2020, at 17:54, panagiotis merakos via use-livecode wrote: > > ?Dear list members, > > We are pleased to announce the release of LiveCode 9.6.1 RC-1. > > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > > Release Contents > ================ > LiveCode 9.6.1 RC-1 comes with more than 50 changes, including: > > New Features > - Support for building against API 29 on Android - which is now (starting > from the 3rd of August 2020) a requirement for new apps submitted to the > Play Store > - Support for building with Xcode 11.5, using the iOS 13.5 SDK > - New tsNet and mergExt builds, built with the iOS 13.5 SDK > - Improved security, by using a New OpenSSL version (1.1.0g) > > Bug Fixes: > - Several improvements and bug fixes in HTML5 > - Faster auto-updater > - Improvements in the barcode scanner widget > - Several crashes have now been addressed > > > For the full list of all fixes, updates and enhancements please see the > release notes: > http://downloads.livecode.com/livecode/9_6_1/LiveCodeNotes-9_6_1_rc_1.pdf > > > Known issues > ============ > - The Browser widget's native layer is not shown in some Linux distros with > Cinnamon window manager. > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS > yet. > > > Required Software > ================= > To build iOS apps with LiveCode you must have the appropriate versions of > Xcode as follows: > > - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 > SDK > - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS > 13.2 SDK > - macOS 10.15.2: Xcode 11.5.x - LiveCode builds iOS apps using the iOS > 13.5 SDK > > There is a full list of working LiveCode/macOS/Xcode combinations here: > https://livecode.com/docs/9-5-0/faq/faq/ > > Note: Whilst we endeavour to release updated versions of LiveCode > supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly > recommend disabling automatic update of Xcode or downloading the specific > version of Xcode required directly from the Apple developer portal and > installing it separately. > > Important: From the end of June 2020, Apple is only accepting apps built > using iOS13 SDKs. This means that, if you wish to submit apps to the > AppStore you will have to be running at least macOS 10.14 in order to be > able to install the necessary version of Xcode. > > > Feedback > ======== > Please report any bugs encountered on our quality center at > http://quality.livecode.com/ > > We have a forum available for discussing LiveCode Builder at > http://forums.livecode.com/viewforum.php?f=93 > > > Have fun! > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ali.lloyd at livecode.com Wed Jul 29 18:17:35 2020 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Wed, 29 Jul 2020 23:17:35 +0100 Subject: Help me understand infinity In-Reply-To: <8f784bf4-a6e1-5886-2bc2-8dc6e689e548@tweedly.net> References: <9188bc92-f959-eccf-055e-472cd1026793@fourthworld.com> <4e163a86-93de-ef78-7417-9ba231c3f35c@tweedly.net> <89F6DDB3-93E8-472E-8CC3-F02CEC086D3C@gmail.com> <8f784bf4-a6e1-5886-2bc2-8dc6e689e548@tweedly.net> Message-ID: I wonder if I can persuade the team to let me add a constant for the first uncountable strongly inaccessible cardinal. Regarding use-cases, I like the following one which is implicit in the above observations about comparisons between infinity and integers. Previously I would do the following a lot: local tMin, tThisResult repeat for each element tElement in tList -- perform some computation on tElement to get tThisResult if tMin is empty then put tThisResult into tMin else put min(tMin, tThisResult) into tMin end if end repeat Now you can do: local tMin, tThisResult put infinity into tMin repeat for each element tElement in tList -- perform some computation on tElement to get tThisResult put min(tMin, tThisResult) into tMin end repeat On Wed, 29 Jul 2020 at 20:47, Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > > On 29/07/2020 20:17, Dr. Hawkins wrote: > > > > On Jul 29, 2020, at 12:08 PM, Alex Tweedly via use-livecode > > > > > wrote: > >> > >> Any number compared to positive infinity (other than itself) *will* > >> be less than it. > > Bah, > > > > *?*_2 > floating point infinity (which is *?*_1 ) > > > Maybe in the real universe. Or in the realm of mathematics. > > But in the domain of computers & IEEE, any *number* is smaller than it. > > (Since NaN is, well, not a number :-) > > Alex. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ahsoftware at sonic.net Wed Jul 29 19:11:39 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 29 Jul 2020 16:11:39 -0700 Subject: Help me understand infinity In-Reply-To: References: <9188bc92-f959-eccf-055e-472cd1026793@fourthworld.com> <4e163a86-93de-ef78-7417-9ba231c3f35c@tweedly.net> <89F6DDB3-93E8-472E-8CC3-F02CEC086D3C@gmail.com> <8f784bf4-a6e1-5886-2bc2-8dc6e689e548@tweedly.net> Message-ID: <8767c435-ffc9-7048-fa0b-579cc8fc76f9@sonic.net> On 7/29/20 3:17 PM, Ali Lloyd via use-livecode wrote: > Now you can do: > > local tMin, tThisResult > put infinity into tMin > repeat for each element tElement in tList > -- perform some computation on tElement to get tThisResult > put min(tMin, tThisResult) into tMin > end repeat Well, yes, that's clever, but considering that you already had a workaround and that there are so many unfixed bug reports and pull requests waiting to be accepted and merged, I'm wondering what pushed this enhancement to the top of the list? -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Wed Jul 29 20:31:16 2020 From: brian at milby7.com (Brian Milby) Date: Wed, 29 Jul 2020 20:31:16 -0400 Subject: Help me understand infinity In-Reply-To: <8767c435-ffc9-7048-fa0b-579cc8fc76f9@sonic.net> References: <8767c435-ffc9-7048-fa0b-579cc8fc76f9@sonic.net> Message-ID: <8838007C-5267-446C-87DD-91A63A1E9FAE@milby7.com> This change first appeared in 9.5 DP 1, so it isn?t really new. Sent from my iPad > On Jul 29, 2020, at 7:12 PM, Mark Wieder via use-livecode wrote: > > ?On 7/29/20 3:17 PM, Ali Lloyd via use-livecode wrote: > >> Now you can do: >> local tMin, tThisResult >> put infinity into tMin >> repeat for each element tElement in tList >> -- perform some computation on tElement to get tThisResult >> put min(tMin, tThisResult) into tMin >> end repeat > > Well, yes, that's clever, but considering that you already had a workaround and that there are so many unfixed bug reports and pull requests waiting to be accepted and merged, I'm wondering what pushed this enhancement to the top of the list? > > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Wed Jul 29 20:54:37 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 29 Jul 2020 17:54:37 -0700 Subject: Help me understand infinity In-Reply-To: <8838007C-5267-446C-87DD-91A63A1E9FAE@milby7.com> References: <8767c435-ffc9-7048-fa0b-579cc8fc76f9@sonic.net> <8838007C-5267-446C-87DD-91A63A1E9FAE@milby7.com> Message-ID: On 7/29/20 5:31 PM, Brian Milby via use-livecode wrote: > This change first appeared in 9.5 DP 1, so it isn?t really new. Right. I don't think anyone accused this change of popping up in the latest release though. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Wed Jul 29 22:23:32 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 29 Jul 2020 21:23:32 -0500 Subject: Help me understand infinity In-Reply-To: <8767c435-ffc9-7048-fa0b-579cc8fc76f9@sonic.net> References: <9188bc92-f959-eccf-055e-472cd1026793@fourthworld.com> <4e163a86-93de-ef78-7417-9ba231c3f35c@tweedly.net> <89F6DDB3-93E8-472E-8CC3-F02CEC086D3C@gmail.com> <8f784bf4-a6e1-5886-2bc2-8dc6e689e548@tweedly.net> <8767c435-ffc9-7048-fa0b-579cc8fc76f9@sonic.net> Message-ID: <1739d8824a0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> The bug list is infinite, ergo, all others are secondary to this one. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 29, 2020 6:13:39 PM Mark Wieder via use-livecode wrote: > On 7/29/20 3:17 PM, Ali Lloyd via use-livecode wrote: > >> Now you can do: >> >> local tMin, tThisResult >> put infinity into tMin >> repeat for each element tElement in tList >> -- perform some computation on tElement to get tThisResult >> put min(tMin, tThisResult) into tMin >> end repeat > > Well, yes, that's clever, but considering that you already had a > workaround and that there are so many unfixed bug reports and pull > requests waiting to be accepted and merged, I'm wondering what pushed > this enhancement to the top of the list? > > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Thu Jul 30 01:26:46 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Wed, 29 Jul 2020 22:26:46 -0700 Subject: Google Play SDK problem Message-ID: <209920E6-77FC-4058-A78B-BAF7EC378164@elementarysoftware.com> I have an app (Windows, Mac, iOS and Android? thank you LC!) that is aimed at children. It does not contain advertising. I recently submitted an update to Google Play and although it was accepted into the store a few weeks ago, today I received the notice below. I am suspicious that this is not currently addressed by LC. Has anyone else encountered this and if so how was it solved? ????????????????? ? from Google Play? ????????????????? Hi Developers at Elementary Software, After a recent review, we found that your app Terrific Triangle (com.elementarysoftware.terrifictriangle) is not compliant with one or more of our Developer Program Policies. Please resolve the issue within 30 days of the issuance of this notification or your app will be removed from Google Play. Issue with your app We have detected that your app includes non-certified ad SDKs or SDKs that are not approved for use in child-directed services. About the Families Policy Requirements Any SDKs used in the app must be appropriate for use in child-directed services. Additionally, apps that solely target children must not contain any SDKs that are not approved for use in child-directed services, including ads SDKs. Apps in the Designed for Families program must only use ad SDKs that have certified their compliance with the Families Ads Program . ????????????????? Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ From jacque at hyperactivesw.com Thu Jul 30 13:18:07 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Jul 2020 12:18:07 -0500 Subject: Google Play SDK problem In-Reply-To: <209920E6-77FC-4058-A78B-BAF7EC378164@elementarysoftware.com> References: <209920E6-77FC-4058-A78B-BAF7EC378164@elementarysoftware.com> Message-ID: <173a0bb2898.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I've never seen that. Did you accidentally tick the ads checkbox in standalone settings? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 30, 2020 12:29:00 AM scott--- via use-livecode wrote: > I have an app (Windows, Mac, iOS and Android? thank you LC!) that is aimed > at children. It does not contain advertising. I recently submitted an > update to Google Play and although it was accepted into the store a few > weeks ago, today I received the notice below. I am suspicious that this is > not currently addressed by LC. Has anyone else encountered this and if so > how was it solved? > > ????????????????? > ? from Google Play? > ????????????????? > Hi Developers at Elementary Software, After a recent review, we found that > your app Terrific Triangle (com.elementarysoftware.terrifictriangle) is not > compliant with one or more of our Developer Program Policies. Please > resolve the issue within 30 days of the issuance of this notification or > your app will be removed from Google Play. > > Issue with your app > We have detected that your app includes non-certified ad SDKs or SDKs that > are not approved for use in child-directed services. > > About the Families Policy Requirements > Any SDKs used in the app must be appropriate for use in child-directed > services. Additionally, apps that solely target children must not contain > any SDKs that are not approved for use in child-directed services, > including ads SDKs. Apps in the Designed for Families program must only use > ad SDKs that have certified their compliance with the Families Ads Program > . > ????????????????? > > > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > ------------------------------------------------------ > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jiml at netrin.com Thu Jul 30 14:19:34 2020 From: jiml at netrin.com (Jim Lambert) Date: Thu, 30 Jul 2020 11:19:34 -0700 Subject: [ANN] Release 9.6.1 RC-1 In-Reply-To: References: Message-ID: <5641A220-AA38-41B2-A825-15725F6E3B36@netrin.com> LC Team, Thanks for this release. FYI. I noticed something I hadn?t seen before when installing earlier LC releases on OSX. I was unable to mount "LiveCodeBusiness-9_6_1_rc_1-Mac.dmg? because a LC resource was in use. Fix. Quit any open LCs first, then mount the dmg. Jim Lambert From jeejeestudio at gmail.com Thu Jul 30 14:20:54 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Thu, 30 Jul 2020 20:20:54 +0200 Subject: Google Play SDK problem In-Reply-To: <173a0bb2898.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <209920E6-77FC-4058-A78B-BAF7EC378164@elementarysoftware.com> <173a0bb2898.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Yes, that was what i was thinking too. Else it would not get into the standalone. Op 30-7-2020 om 19:18 schreef J. Landman Gay via use-livecode: > I've never seen that. Did you accidentally tick the ads checkbox in > standalone settings? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On July 30, 2020 12:29:00 AM scott--- via use-livecode > wrote: > >> I have an app (Windows, Mac, iOS and Android? thank you LC!) that is >> aimed at children. It does not contain advertising. I recently >> submitted an update to Google Play and although it was accepted into >> the store a few weeks ago, today I received the notice below. I am >> suspicious that this is not currently addressed by LC. Has anyone >> else encountered this and if so how was it solved? >> >> ????????????????? >> ? from Google Play? >> ????????????????? >> Hi Developers at Elementary Software,??? After a recent review, we >> found that your app Terrific Triangle >> (com.elementarysoftware.terrifictriangle) is not compliant with one >> or more of our Developer Program Policies. Please resolve the issue >> within 30 days of the issuance of this notification or your app will >> be removed from Google Play. >> >> Issue with your app >> We have detected that your app includes non-certified ad SDKs or SDKs >> that are not approved for use in child-directed services. >> >> About the Families Policy Requirements >> Any SDKs used in the app must be appropriate for use in >> child-directed services. Additionally, apps that solely target >> children must not contain any SDKs that are not approved for use in >> child-directed services, including ads SDKs. Apps in the Designed for >> Families program must only use ad SDKs that have certified their >> compliance with the Families Ads Program >> . >> ????????????????? >> >> >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web?????? https://elementarysoftware.com/ >> email???? scott at elementarysoftware.com >> ------------------------------------------------------ >> >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Thu Jul 30 17:08:35 2020 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 30 Jul 2020 22:08:35 +0100 Subject: Google API Oauth - refresh tokens? Message-ID: Back in 2018 when I was originally working with Google sheets, the OAuth authorisation once granted seemed to refresh automatically. That is, if a call returned the 'unauthorised' error, calling OAuth with the same parameters would briefly display a sheet dialog, but it would go away automatically. Then I finished working on that project, and when six months I briefly looked at this again, fell victim to bug #22557. Now that this is fixed, I'm happily working with the system again (and will shortly release my code in case it's of use to anyone) - but now when the authorisation expires (which is does after an hour or so), calling Oauth2 goes through the process requiring user activity. There's an OAuth2Refresh command in LiveCode; but the issue is that I don't get a refresh token from the Google API. From my reading of the docs, only certain kinds of app registered with Google get refresh tokens - but I don't seem to be able to figure this out. Has anyone managed to register an app with Google (in https://console.developers.google.com/apis/) in a way that means it gets refresh tokens? From scott at elementarysoftware.com Thu Jul 30 18:20:07 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Thu, 30 Jul 2020 15:20:07 -0700 Subject: Google Play SDK problem In-Reply-To: References: <209920E6-77FC-4058-A78B-BAF7EC378164@elementarysoftware.com> <173a0bb2898.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <7ECBD4E5-AA06-4316-8564-0E0724EDE708@elementarysoftware.com> Thank you for your thoughts. I don?t think the ad checkbox would have been checked. (It isn?t checked now and since I was only vaguely aware of its existence, it seems unlikely I would have checked - and then unchecked it - accidentally. When opening the android apk with BBEdit, I found the text below (ad checkbox not ticked and builds from both LC 9.6.0 and 9.6.1 (rc1) contained this string.) I am not knowledgeable enough to know if this really has anything to do with the advertising SDK. The new "Families Policy Requirements? has a list of allowed ad SDKs (when targeting an app for children) so it may be that Google Play is now implementing an automated check for ad references and that something that normally got through is now triggering this alert. Does that sound possible? Not sure whether to submit again to Google Play or create a bug report. ?????????????????????? +$SWITCH_TABLE$android$net$NetworkInfo$StateA$SWITCH_TABLE$com$inneractive$api$ads$InneractiveAdView$ViewState4$SwitchMap$com$amazon$inapp$purchasing$Item$ItemTypeG$SwitchMap$com$amazon$inapp$purchasing$KiwiResponseHandler$ResponseTypeM$SwitchMap$com$amazon$inapp$purchasing$PurchaseResponse$PurchaseRequestStatus[$SwitchMap$com$amazon$inapp$purchasing$PurchaseUpdatesResponse$PurchaseUpdatesRequestStatus$VALUES$assertionsDisabled %d,%d,%d,%d%s < %d%s < %d AND NOT %s%s = %d&a=&cid=&eid=&g=&h=&hid=&k=&lg=&mn=&nt=3G&nt=WIFI&osudi=&po=&t=&v=&w=' AND ' can't be consumed.',(A(%s, requestId: "%s", getUserIdRequestStatus: "%s", userId: "%s")U(%s, requestId: "%s", itemDataRequestStatus: "%s", unavailableSkus: %s, itemData: %s)M(%s, requestId: "%s", purchaseRequestStatus: "%s", userId: "%s", receipt: %s)?(%s, requestId: "%s", purchaseUpdatesRequestStatus: "%s", userId: "%s", receipts: %s, revokedSkus: %s, offset: "%s", isMore: "%b")L(%s, sku: "%s", itemType: "%s", subscriptionPeriod: %s, purchaseToken: "%s")`(%s, sku: "%s", price: "%s", itemType: "%s", title: "%s", description: "%s", smallIconUrl: "%s")$(%s, startDate: "%s", endDate: "%s")()()VD(?i)((?:http|https|file):\/\/|(?:inline|data|about|javascript):)(.*)(TTleft;TTright;)V(Z (decimal))") because another async operation() is in progress.): ): IAB helper is not set up.)I)V)Z* **** Error: *.*/*,, , height: , item type: , purchase: , result: , since you don't own it! , token: , type is : , width: , y: --1. . No token.. Request code: . Response: .0.3 .AppReceiver.fileprovider/share.jpg .mblandroid//*/I/android_asset0002?0:OK/-1001:Remote exception during initialization/-1002:Bad response received/-1003:Purchase signature verification failed/-1004:Send intent failed/-1005:User cancelled/-1006:Unknown purchase response/-1007:Missing token/-1008:Unknown error/-1009:Subscriptions not available/-1010:Invalid consumption attempt?0:OK/1:User Canceled/2:Unknown/3:Billing Unavailable/4:Item unavailable/5:Developer Error/6:Error/7:Item Already Owned/8:Item not owned ?????????????????????? ? Scott Morrow Elementary Software > On Jul 30, 2020, at 11:20 AM, JeeJeeStudio via use-livecode wrote: > > Yes, that was what i was thinking too. Else it would not get into the standalone. > > Op 30-7-2020 om 19:18 schreef J. Landman Gay via use-livecode: >> I've never seen that. Did you accidentally tick the ads checkbox in standalone settings? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On July 30, 2020 12:29:00 AM scott--- via use-livecode wrote: >> >>> I have an app (Windows, Mac, iOS and Android? thank you LC!) that is aimed at children. It does not contain advertising. I recently submitted an update to Google Play and although it was accepted into the store a few weeks ago, today I received the notice below. I am suspicious that this is not currently addressed by LC. Has anyone else encountered this and if so how was it solved? >>> >>> ????????????????? >>> ? from Google Play? >>> ????????????????? >>> Hi Developers at Elementary Software, After a recent review, we found that your app Terrific Triangle (com.elementarysoftware.terrifictriangle) is not compliant with one or more of our Developer Program Policies. Please resolve the issue within 30 days of the issuance of this notification or your app will be removed from Google Play. >>> >>> Issue with your app >>> We have detected that your app includes non-certified ad SDKs or SDKs that are not approved for use in child-directed services. >>> >>> About the Families Policy Requirements >>> Any SDKs used in the app must be appropriate for use in child-directed services. Additionally, apps that solely target children must not contain any SDKs that are not approved for use in child-directed services, including ads SDKs. Apps in the Designed for Families program must only use ad SDKs that have certified their compliance with the Families Ads Program . >>> ????????????????? >>> >>> >>> Scott Morrow >>> >>> Elementary Software >>> (Now with 20% less chalk dust!) >>> web https://elementarysoftware.com/ >>> email scott at elementarysoftware.com >>> ------------------------------------------------------ From mkoob at rogers.com Thu Jul 30 20:28:09 2020 From: mkoob at rogers.com (Martin Koob) Date: Thu, 30 Jul 2020 20:28:09 -0400 Subject: Help me understand infinity In-Reply-To: <9188bc92-f959-eccf-055e-472cd1026793@fourthworld.com> References: <9188bc92-f959-eccf-055e-472cd1026793@fourthworld.com> Message-ID: <0CFFF6BE-CC7B-4E73-B98A-9A45494128F6@rogers.com> I thought that this was already released in LC 9.0.5 https://livecode-blogger.blogspot.com/2019/05/livecode-905-released.html I sure what the use case is for infinity never mind ?beyond?. Martin > On Jul 29, 2020, at 1:57 PM, Richard Gaskin via use-livecode wrote: > > In the v9.6.1RC1 Release Notes there's this: > > Infinity constant > The constant infinity has been added to the language in this release. > As a result, theunquoted literal infinity is now reserved. Any > existing uses of it should be quoted, as otherwiseit will resolve to > the floating point value representing infinity, rather than the > string "infinity". > > What is the use-case prompting this? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Fri Jul 31 01:32:47 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Fri, 31 Jul 2020 07:32:47 +0200 Subject: Google Play SDK problem In-Reply-To: <7ECBD4E5-AA06-4316-8564-0E0724EDE708@elementarysoftware.com> References: <209920E6-77FC-4058-A78B-BAF7EC378164@elementarysoftware.com> <173a0bb2898.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <7ECBD4E5-AA06-4316-8564-0E0724EDE708@elementarysoftware.com> Message-ID: Well 2 things: 1. Since LC is no longer supporting ads, with which one might earn an extra dime, they could better remove it. Maybe via lcb and an injection in the manifest something is possible and one could choose it's own preferable ads provider. 2. You can reply to the email from Google and then you will get an answer which gives you a clue or leaves you with more questions. Ok 3 things. 3. I had it once too, first my app was allowed for the family, and later after an update it was no longer. And i got tired of it so i canceled the lower ages and for family. And it was a simple app just telling the time an date updated with speech. No data was pulled, no ads, no internet needed. Kind regards, Jerry Op vr 31 jul. 2020 00:21 schreef scott--- via use-livecode < use-livecode at lists.runrev.com>: > Thank you for your thoughts. I don?t think the ad checkbox would have been > checked. (It isn?t checked now and since I was only vaguely aware of its > existence, it seems unlikely I would have checked - and then unchecked it - > accidentally. > > When opening the android apk with BBEdit, I found the text below (ad > checkbox not ticked and builds from both LC 9.6.0 and 9.6.1 (rc1) contained > this string.) I am not knowledgeable enough to know if this really has > anything to do with the advertising SDK. The new "Families Policy > Requirements? has a list of allowed ad SDKs (when targeting an app for > children) so it may be that Google Play is now implementing an automated > check for ad references and that something that normally got through is now > triggering this alert. Does that sound possible? Not sure whether to submit > again to Google Play or create a bug report. > > ?????????????????????? > +$SWITCH_TABLE$android$net$NetworkInfo$State > A$SWITCH_TABLE$com$inneractive$api$ads$InneractiveAdView$ViewState > 4$SwitchMap$com$amazon$inapp$purchasing$Item$ItemType > G$SwitchMap$com$amazon$inapp$purchasing$KiwiResponseHandler$ResponseType > M$SwitchMap$com$amazon$inapp$purchasing$PurchaseResponse$PurchaseRequestStatus > [$SwitchMap$com$amazon$inapp$purchasing$PurchaseUpdatesResponse$PurchaseUpdatesRequestStatus > $VALUES $assertionsDisabled %d,%d,%d,%d %s < %d %s < %d AND NOT %s %s > = %d &a= &cid= &eid= &g= &h= &hid= &k= &lg= &mn= &nt=3G > &nt=WIFI &osudi= &po= &t= &v= &w= ' AND ' can't be consumed. ', ( > A(%s, requestId: "%s", getUserIdRequestStatus: "%s", userId: "%s") U(%s, > requestId: "%s", itemDataRequestStatus: "%s", unavailableSkus: %s, > itemData: %s) M(%s, requestId: "%s", purchaseRequestStatus: "%s", userId: > "%s", receipt: %s) ? (%s, requestId: "%s", purchaseUpdatesRequestStatus: > "%s", userId: "%s", receipts: %s, revokedSkus: %s, offset: "%s", isMore: > "%b") L(%s, sku: "%s", itemType: "%s", subscriptionPeriod: %s, > purchaseToken: "%s") `(%s, sku: "%s", price: "%s", itemType: "%s", title: > "%s", description: "%s", smallIconUrl: "%s") $(%s, startDate: "%s", > endDate: "%s") () ()V > D(?i)((?:http|https|file):\/\/|(?:inline|data|about|javascript):)(.*) > (TTleft;TTright;)V (Z (decimal) ) ") because another async > operation( ) is in progress. ): ): IAB helper is not set up. )I )V > )Z * **** Error: *. */* , , > , height: > , item type: , purchase: > , result: , since you don't own it! , token: , type is : , width: > , y: - -1 . . No token. . Request code: . Response: .0 .3 > .AppReceiver .fileprovider/share .jpg .mblandroid / /* /I > /android_asset 00 02 ? 0:OK/-1001:Remote exception during > initialization/-1002:Bad response received/-1003:Purchase signature > verification failed/-1004:Send intent failed/-1005:User > cancelled/-1006:Unknown purchase response/-1007:Missing token/-1008:Unknown > error/-1009:Subscriptions not available/-1010:Invalid consumption attempt ? > 0:OK/1:User Canceled/2:Unknown/3:Billing Unavailable/4:Item > unavailable/5:Developer Error/6:Error/7:Item Already Owned/8:Item not owned > ?????????????????????? > > ? > Scott Morrow > Elementary Software > > > On Jul 30, 2020, at 11:20 AM, JeeJeeStudio via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Yes, that was what i was thinking too. Else it would not get into the > standalone. > > > > Op 30-7-2020 om 19:18 schreef J. Landman Gay via use-livecode: > >> I've never seen that. Did you accidentally tick the ads checkbox in > standalone settings? > >> > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.com > >> On July 30, 2020 12:29:00 AM scott--- via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >>> I have an app (Windows, Mac, iOS and Android? thank you LC!) that is > aimed at children. It does not contain advertising. I recently submitted an > update to Google Play and although it was accepted into the store a few > weeks ago, today I received the notice below. I am suspicious that this is > not currently addressed by LC. Has anyone else encountered this and if so > how was it solved? > >>> > >>> ????????????????? > >>> ? from Google Play? > >>> ????????????????? > >>> Hi Developers at Elementary Software, After a recent review, we > found that your app Terrific Triangle > (com.elementarysoftware.terrifictriangle) is not compliant with one or more > of our Developer Program Policies. Please resolve the issue within 30 days > of the issuance of this notification or your app will be removed from > Google Play. > >>> > >>> Issue with your app > >>> We have detected that your app includes non-certified ad SDKs or SDKs > that are not approved for use in child-directed services. > >>> > >>> About the Families Policy Requirements > >>> Any SDKs used in the app must be appropriate for use in child-directed > services. Additionally, apps that solely target children must not contain > any SDKs that are not approved for use in child-directed services, > including ads SDKs. Apps in the Designed for Families program must only use > ad SDKs that have certified their compliance with the Families Ads Program < > https://support.google.com/googleplay/android-developer/answer/9283445>. > >>> ????????????????? > >>> > >>> > >>> Scott Morrow > >>> > >>> Elementary Software > >>> (Now with 20% less chalk dust!) > >>> web https://elementarysoftware.com/ > >>> email scott at elementarysoftware.com > >>> ------------------------------------------------------ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at elementarysoftware.com Fri Jul 31 02:26:20 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Thu, 30 Jul 2020 23:26:20 -0700 Subject: Google Play SDK problem In-Reply-To: References: <209920E6-77FC-4058-A78B-BAF7EC378164@elementarysoftware.com> <173a0bb2898.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <7ECBD4E5-AA06-4316-8564-0E0724EDE708@elementarysoftware.com> Message-ID: <610FA9E8-948C-440F-AE7E-DD71C39F6D90@elementarysoftware.com> Thanks for the advice, Jerry. ? Scott > On Jul 30, 2020, at 10:32 PM, JeeJeeStudio via use-livecode wrote: > > Well 2 things: > > 1. Since LC is no longer supporting ads, with which one might earn an extra > dime, they could better remove it. Maybe via lcb and an injection in the > manifest something is possible and one could choose it's own preferable ads > provider. > > 2. You can reply to the email from Google and then you will get an answer > which gives you a clue or leaves you with more questions. > > Ok 3 things. > 3. I had it once too, first my app was allowed for the family, and later > after an update it was no longer. And i got tired of it so i canceled the > lower ages and for family. And it was a simple app just telling the time an > date updated with speech. No data was pulled, no ads, no internet needed. > > Kind regards, > Jerry > > Op vr 31 jul. 2020 00:21 schreef scott--- via use-livecode < > use-livecode at lists.runrev.com>: > >> Thank you for your thoughts. I don?t think the ad checkbox would have been >> checked. (It isn?t checked now and since I was only vaguely aware of its >> existence, it seems unlikely I would have checked - and then unchecked it - >> accidentally. >> >> When opening the android apk with BBEdit, I found the text below (ad >> checkbox not ticked and builds from both LC 9.6.0 and 9.6.1 (rc1) contained >> this string.) I am not knowledgeable enough to know if this really has >> anything to do with the advertising SDK. The new "Families Policy >> Requirements? has a list of allowed ad SDKs (when targeting an app for >> children) so it may be that Google Play is now implementing an automated >> check for ad references and that something that normally got through is now >> triggering this alert. Does that sound possible? Not sure whether to submit >> again to Google Play or create a bug report. >> >> ?????????????????????? >> +$SWITCH_TABLE$android$net$NetworkInfo$State >> A$SWITCH_TABLE$com$inneractive$api$ads$InneractiveAdView$ViewState >> 4$SwitchMap$com$amazon$inapp$purchasing$Item$ItemType >> G$SwitchMap$com$amazon$inapp$purchasing$KiwiResponseHandler$ResponseType >> M$SwitchMap$com$amazon$inapp$purchasing$PurchaseResponse$PurchaseRequestStatus >> [$SwitchMap$com$amazon$inapp$purchasing$PurchaseUpdatesResponse$PurchaseUpdatesRequestStatus >> $VALUES $assertionsDisabled %d,%d,%d,%d %s < %d %s < %d AND NOT %s %s >> = %d &a= &cid= &eid= &g= &h= &hid= &k= &lg= &mn= &nt=3G >> &nt=WIFI &osudi= &po= &t= &v= &w= ' AND ' can't be consumed. ', ( >> A(%s, requestId: "%s", getUserIdRequestStatus: "%s", userId: "%s") U(%s, >> requestId: "%s", itemDataRequestStatus: "%s", unavailableSkus: %s, >> itemData: %s) M(%s, requestId: "%s", purchaseRequestStatus: "%s", userId: >> "%s", receipt: %s) ? (%s, requestId: "%s", purchaseUpdatesRequestStatus: >> "%s", userId: "%s", receipts: %s, revokedSkus: %s, offset: "%s", isMore: >> "%b") L(%s, sku: "%s", itemType: "%s", subscriptionPeriod: %s, >> purchaseToken: "%s") `(%s, sku: "%s", price: "%s", itemType: "%s", title: >> "%s", description: "%s", smallIconUrl: "%s") $(%s, startDate: "%s", >> endDate: "%s") () ()V >> D(?i)((?:http|https|file):\/\/|(?:inline|data|about|javascript):)(.*) >> (TTleft;TTright;)V (Z (decimal) ) ") because another async >> operation( ) is in progress. ): ): IAB helper is not set up. )I )V >> )Z * **** Error: *. */* , , >> , height: >> , item type: , purchase: >> , result: , since you don't own it! , token: , type is : , width: >> , y: - -1 . . No token. . Request code: . Response: .0 .3 >> .AppReceiver .fileprovider/share .jpg .mblandroid / /* /I >> /android_asset 00 02 ? 0:OK/-1001:Remote exception during >> initialization/-1002:Bad response received/-1003:Purchase signature >> verification failed/-1004:Send intent failed/-1005:User >> cancelled/-1006:Unknown purchase response/-1007:Missing token/-1008:Unknown >> error/-1009:Subscriptions not available/-1010:Invalid consumption attempt ? >> 0:OK/1:User Canceled/2:Unknown/3:Billing Unavailable/4:Item >> unavailable/5:Developer Error/6:Error/7:Item Already Owned/8:Item not owned >> ?????????????????????? >> >> ? >> Scott Morrow >> Elementary Software >> >>> On Jul 30, 2020, at 11:20 AM, JeeJeeStudio via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Yes, that was what i was thinking too. Else it would not get into the >> standalone. >>> >>> Op 30-7-2020 om 19:18 schreef J. Landman Gay via use-livecode: >>>> I've never seen that. Did you accidentally tick the ads checkbox in >> standalone settings? >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On July 30, 2020 12:29:00 AM scott--- via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>>> I have an app (Windows, Mac, iOS and Android? thank you LC!) that is >> aimed at children. It does not contain advertising. I recently submitted an >> update to Google Play and although it was accepted into the store a few >> weeks ago, today I received the notice below. I am suspicious that this is >> not currently addressed by LC. Has anyone else encountered this and if so >> how was it solved? >>>>> >>>>> ????????????????? >>>>> ? from Google Play? >>>>> ????????????????? >>>>> Hi Developers at Elementary Software, After a recent review, we >> found that your app Terrific Triangle >> (com.elementarysoftware.terrifictriangle) is not compliant with one or more >> of our Developer Program Policies. Please resolve the issue within 30 days >> of the issuance of this notification or your app will be removed from >> Google Play. >>>>> >>>>> Issue with your app >>>>> We have detected that your app includes non-certified ad SDKs or SDKs >> that are not approved for use in child-directed services. >>>>> >>>>> About the Families Policy Requirements >>>>> Any SDKs used in the app must be appropriate for use in child-directed >> services. Additionally, apps that solely target children must not contain >> any SDKs that are not approved for use in child-directed services, >> including ads SDKs. Apps in the Designed for Families program must only use >> ad SDKs that have certified their compliance with the Families Ads Program < >> https://support.google.com/googleplay/android-developer/answer/9283445>. >>>>> ????????????????? >>>>> >>>>> >>>>> Scott Morrow >>>>> >>>>> Elementary Software >>>>> (Now with 20% less chalk dust!) >>>>> web https://elementarysoftware.com/ >>>>> email scott at elementarysoftware.com >>>>> ------------------------------------------------------ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Fri Jul 31 11:25:48 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 31 Jul 2020 08:25:48 -0700 Subject: Google Play SDK problem In-Reply-To: References: <209920E6-77FC-4058-A78B-BAF7EC378164@elementarysoftware.com> <173a0bb2898.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <7ECBD4E5-AA06-4316-8564-0E0724EDE708@elementarysoftware.com> Message-ID: <7060921f-0b08-a77a-0bd0-08ef2ac01f0d@sonic.net> On 7/30/20 10:32 PM, JeeJeeStudio via use-livecode wrote: > Well 2 things: > > 1. Since LC is no longer supporting ads, with which one might earn an extra > dime, they could better remove it. Maybe via lcb and an injection in the > manifest something is possible and one could choose it's own preferable ads > provider. Looks like the fix is on the way for 9.6.1. Quick response from the team. https://github.com/livecode/livecode/pull/7412 -- Mark Wieder ahsoftware at gmail.com From mark at livecode.com Fri Jul 31 12:06:56 2020 From: mark at livecode.com (Mark Waddingham) Date: Fri, 31 Jul 2020 17:06:56 +0100 Subject: Google Play SDK problem In-Reply-To: <7060921f-0b08-a77a-0bd0-08ef2ac01f0d@sonic.net> References: <209920E6-77FC-4058-A78B-BAF7EC378164@elementarysoftware.com> <173a0bb2898.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <7ECBD4E5-AA06-4316-8564-0E0724EDE708@elementarysoftware.com> <7060921f-0b08-a77a-0bd0-08ef2ac01f0d@sonic.net> Message-ID: <104b7219d86fa430cf1091e6fe22bc1c@livecode.com> On 2020-07-31 16:25, Mark Wieder via use-livecode wrote: > On 7/30/20 10:32 PM, JeeJeeStudio via use-livecode wrote: > Looks like the fix is on the way for 9.6.1. Quick response from the > team. > > https://github.com/livecode/livecode/pull/7412 Yes - sorry - I meant to either post (or get someone to post) that we think we found the culprit. There was still some Inneractive SDK related stuff being included in the commercial Android engine's Java class bundle. All being well 9.6.1-rc-2 will appear early next week, and should hopefully solve the submission issue occurring here. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From ambassador at fourthworld.com Fri Jul 31 14:22:50 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 Jul 2020 11:22:50 -0700 Subject: Q re monetization via ads In-Reply-To: References: Message-ID: <12f04c07-ba00-1799-4c2f-3962f87c75cf@fourthworld.com> How many LC devs have earned more than $500 from in-app ads? Outside of LC, anyone know what percentage of indy shops with small or zero marketing budgets have earned more than $1,000 on ads? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at elementarysoftware.com Fri Jul 31 15:24:03 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Fri, 31 Jul 2020 12:24:03 -0700 Subject: Google Play SDK problem In-Reply-To: <104b7219d86fa430cf1091e6fe22bc1c@livecode.com> References: <209920E6-77FC-4058-A78B-BAF7EC378164@elementarysoftware.com> <173a0bb2898.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <7ECBD4E5-AA06-4316-8564-0E0724EDE708@elementarysoftware.com> <7060921f-0b08-a77a-0bd0-08ef2ac01f0d@sonic.net> <104b7219d86fa430cf1091e6fe22bc1c@livecode.com> Message-ID: <61356A30-339E-4CA2-A97A-366526EA3E03@elementarysoftware.com> Awesome news! ? Scott Morrow Elementary Software > On Jul 31, 2020, at 9:06 AM, Mark Waddingham via use-livecode wrote: > > On 2020-07-31 16:25, Mark Wieder via use-livecode wrote: >> On 7/30/20 10:32 PM, JeeJeeStudio via use-livecode wrote: >> Looks like the fix is on the way for 9.6.1. Quick response from the team. >> https://github.com/livecode/livecode/pull/7412 > > Yes - sorry - I meant to either post (or get someone to post) that we think we > found the culprit. There was still some Inneractive SDK related stuff being > included in the commercial Android engine's Java class bundle. > > All being well 9.6.1-rc-2 will appear early next week, and should hopefully > solve the submission issue occurring here. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Fri Jul 31 16:18:11 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Fri, 31 Jul 2020 22:18:11 +0200 Subject: Q re monetization via ads In-Reply-To: <12f04c07-ba00-1799-4c2f-3962f87c75cf@fourthworld.com> References: <12f04c07-ba00-1799-4c2f-3962f87c75cf@fourthworld.com> Message-ID: <44cb1614-3ebc-cdc9-ac3c-9d82cc121d1f@gmail.com> i think no one, because it's not working and no longer supported in LC. For many years now!! Why do so many app devs (non LC) use so many ads in their apps? i guess not for fun but for some income (free apps with ads) And alongside that sometimes also in-app purchases, like more lives or whatever, but that's another story. A free game and i mean a good playable quality game costs maybe 200K to be build for Android and iOs, so the money most come from somewhere. I've seen prices asked for apps around 15K just for Android and another 15k to get iOs too. Maybe prices dropped meanwhile, but some softwarehouses ask serious prices. Paying for an app is the way to get rid of the ads. The nr of ad-free free to use apps, is very low compared to free in-app ads apps. You can simply check the playstore for that. Regards, Jerry Op 31-7-2020 om 20:22 schreef Richard Gaskin via use-livecode: > How many LC devs have earned more than $500 from in-app ads? > > Outside of LC, anyone know what percentage of indy shops with small or > zero marketing budgets have earned more than $1,000 on ads? > > -- > ?Richard Gaskin > ?Fourth World Systems > ?Software Design and Development for the Desktop, Mobile, and the Web > ?____________________________________________________________________ > ?Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Fri Jul 31 16:21:38 2020 From: dochawk at gmail.com (doc hawk) Date: Fri, 31 Jul 2020 13:21:38 -0700 Subject: Q re monetization via ads In-Reply-To: <12f04c07-ba00-1799-4c2f-3962f87c75cf@fourthworld.com> References: <12f04c07-ba00-1799-4c2f-3962f87c75cf@fourthworld.com> Message-ID: <7E28951C-805B-494D-AB2C-3F2AE82A9B28@gmail.com> Richard rumbled, > > How many LC devs have earned more than $500 from in-app ads? For that matter, did *anyone* ever manage to get that company to even run an add. The answer I got back (after an unreasonably long delay) made it pretty clear that they weren?t interested until there was a huge installed base . . . From jeejeestudio at gmail.com Fri Jul 31 16:34:19 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Fri, 31 Jul 2020 22:34:19 +0200 Subject: Q re monetization via ads In-Reply-To: <12f04c07-ba00-1799-4c2f-3962f87c75cf@fourthworld.com> References: <12f04c07-ba00-1799-4c2f-3962f87c75cf@fourthworld.com> Message-ID: i think no one, because it's not working and no longer supported in LC. Why do so many app dev(non LC) use so many ads in their apps? i guess not for fun but for some income (free apps with ads) A free game and i mean a good playable quality game costs maybe 200K to be build for Android and iOs, so somewhere the money most come from. I've seen prices asked for apps around 15K just for Android and another 15k to get iOs too. Maybe prices dropped meanwhile, but some softwarehouses ask serious prices Op 31-7-2020 om 20:22 schreef Richard Gaskin via use-livecode: How many LC devs have earned more than $500 from in-app ads? Outside of LC, anyone know what percentage of indy shops with small or zero marketing budgets have earned more than $1,000 on ads? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Fri Jul 31 18:18:02 2020 From: david.bovill at gmail.com (David Bovill) Date: Fri, 31 Jul 2020 23:18:02 +0100 Subject: System Window Mask Stack (Keyhole effect for stack with Windowshape) In-Reply-To: <29791466-AC06-426E-A2B1-0F78D85132DA@iotecdigital.com> References: <29791466-AC06-426E-A2B1-0F78D85132DA@iotecdigital.com> Message-ID: <77e5260a-eb9c-4822-844f-3bbfd00ac6b2@Spark> I?m trying to create a stack which I place in front of stacks which contain browser objects and camera controls in order to mask them and create more interesting shapes for the video and browser content. The only way to do this I believe is to have a stack - let?s call it a ?System Window Mask? stack - and punch holes though it. A stack level keyhole effect. Scott if you are there I need your help :) This stack of Scotts shows the result: ? go url "http://www.tactilemedia.com/download/animated_mask.livecode" And I?d like a way to generate those masks from graphic objects that I place on the ?System Window Mask? stack - then export a snapshot - my experiments so far are failing. I can get a polygon to make the stack with code like this: ? export?snapshot from?graphicObject?with effects to img?mask??of me as PNG ? set?the?windowshape?of stack?stackName?to?imageID But I?d like to reverse the effect - so I get a hole in the shape of the graphic. Code like this: -- set the ink of graphicObject to "blendDstIn" -- set the ink of myGroup to "blendSrcOver" Before taking the snapshot is not cutting it?