AW: LiveCode Commercial License
Is the validation of your LiveCode license checked online against runrevs database when launching LC, or is the expiration date of your license stored locally? Will LiveCode also stop working when being offline, if your license has expired? Does anybody know, how the LiveCode licensing system actually works? Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Kay C Lan Gesendet: Freitag, 19. September 2014 05:46 An: How to use LiveCode Betreff: Re: LiveCode Commercial License On Fri, Sep 19, 2014 at 5:06 AM, JB sund...@pacifier.com wrote: People value their software and the programming tools they spend time using to make it. What if for some reason or another LiveCode went out of business. If I remember correctly JB you are on Mac, so maybe a better question would be what happens if you go out of business. If an architectural firm buys 20 Mac Pros + 20 Thunderbolt Display + 20 copies of AutoCAD LT which currently run at U$899.99 a pop, and tomorrow that business went bust how much is that U$18,000 software purchase worth... $0*. Some day, accountants, and individuals are going to realise that every purchase they make through the App Store or iTunes (so not just software but music and movies as well) is instantly worth $0 because Apple allows now way for you to fire sale your software, music and movies. * Actually it's worse than that. You don't have to go out of business all you have to do is change your address - to a new country. There have been many cases where individuals have moved country only to discover when they arrive and update their Apple ID info, large amounts of their App Store/iTunes purchases have disappeared forever. http://www.macworld.com/article/2029991/crossing-borders-with-the-itunes- store.html I don't think Runrev care about where you live, so if you are sleeping at night with the license agreement you have with Apple I can't see why you are worried about Runrev's license ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Commercial License
Disconnect your computer from the web and see if it still works. If still works you still do not know for sure but if it does not work you might be on to something. John Balgenorth On Sep 19, 2014, at 12:19 AM, Tiemo Hollmann TB toolb...@kestner.de wrote: Is the validation of your LiveCode license checked online against runrevs database when launching LC, or is the expiration date of your license stored locally? Will LiveCode also stop working when being offline, if your license has expired? Does anybody know, how the LiveCode licensing system actually works? Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Kay C Lan Gesendet: Freitag, 19. September 2014 05:46 An: How to use LiveCode Betreff: Re: LiveCode Commercial License On Fri, Sep 19, 2014 at 5:06 AM, JB sund...@pacifier.com wrote: People value their software and the programming tools they spend time using to make it. What if for some reason or another LiveCode went out of business. If I remember correctly JB you are on Mac, so maybe a better question would be what happens if you go out of business. If an architectural firm buys 20 Mac Pros + 20 Thunderbolt Display + 20 copies of AutoCAD LT which currently run at U$899.99 a pop, and tomorrow that business went bust how much is that U$18,000 software purchase worth... $0*. Some day, accountants, and individuals are going to realise that every purchase they make through the App Store or iTunes (so not just software but music and movies as well) is instantly worth $0 because Apple allows now way for you to fire sale your software, music and movies. * Actually it's worse than that. You don't have to go out of business all you have to do is change your address - to a new country. There have been many cases where individuals have moved country only to discover when they arrive and update their Apple ID info, large amounts of their App Store/iTunes purchases have disappeared forever. http://www.macworld.com/article/2029991/crossing-borders-with-the-itunes- store.html I don't think Runrev care about where you live, so if you are sleeping at night with the license agreement you have with Apple I can't see why you are worried about Runrev's license ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
AW: LiveCode Commercial License
As long I still have a valid licence, it still works, also offline. But I can't test if it doesn't works anymore when disconnected without license, because I have a valid commercial license Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von JB Gesendet: Freitag, 19. September 2014 10:19 An: How to use LiveCode Betreff: Re: LiveCode Commercial License Disconnect your computer from the web and see if it still works. If still works you still do not know for sure but if it does not work you might be on to something. John Balgenorth On Sep 19, 2014, at 12:19 AM, Tiemo Hollmann TB toolb...@kestner.de wrote: Is the validation of your LiveCode license checked online against runrevs database when launching LC, or is the expiration date of your license stored locally? Will LiveCode also stop working when being offline, if your license has expired? Does anybody know, how the LiveCode licensing system actually works? Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Kay C Lan Gesendet: Freitag, 19. September 2014 05:46 An: How to use LiveCode Betreff: Re: LiveCode Commercial License On Fri, Sep 19, 2014 at 5:06 AM, JB sund...@pacifier.com wrote: People value their software and the programming tools they spend time using to make it. What if for some reason or another LiveCode went out of business. If I remember correctly JB you are on Mac, so maybe a better question would be what happens if you go out of business. If an architectural firm buys 20 Mac Pros + 20 Thunderbolt Display + 20 copies of AutoCAD LT which currently run at U$899.99 a pop, and tomorrow that business went bust how much is that U$18,000 software purchase worth... $0*. Some day, accountants, and individuals are going to realise that every purchase they make through the App Store or iTunes (so not just software but music and movies as well) is instantly worth $0 because Apple allows now way for you to fire sale your software, music and movies. * Actually it's worse than that. You don't have to go out of business all you have to do is change your address - to a new country. There have been many cases where individuals have moved country only to discover when they arrive and update their Apple ID info, large amounts of their App Store/iTunes purchases have disappeared forever. http://www.macworld.com/article/2029991/crossing-borders-with-the-itu nes- store.html I don't think Runrev care about where you live, so if you are sleeping at night with the license agreement you have with Apple I can't see why you are worried about Runrev's license ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
codesigning error on OS X 10.9.5
Hi, until yesterday codesigning worked for my LC 6.5.2 app on OS X 10.9.1. Yesterday I made the update to 10.9.5 and Xcode 6.0.1. Now codesign throws the error: unsealed contents present in the bundle root in subcomponent: MacOS/Externals/revxml.bundle (same for other rev bundles). I tested all combinations with/without --force and --deep and also as recommended signing from inside to outside the rev.bundle first. No success. Because the signing and verification process got again stricter with 10.9.5 I read the tech note https://developer.apple.com/library/mac/technotes/tn2206/_index.html and deleted the manifest file in the root of the revxml.bundle. Without the manifest file the signing process works without errors and the verification tells me, my app is accepted. But my Mac skills are very limited, so I even don't know the function of a manifest file. May I just delete it, if codesign doesn't like it? Gets something else broken, what I don't see yet, when deleting the manifest? What is a manifest at all, my app doesn't have a manifest either? Thanks for any private lessons Tiemo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Sorting lines on colour (color for some)
Hi from Beautiful Brittany, Thanks to all you guys (and Jacqueline) for the wealth of suggestions to solve my little problem. That’s a lot of brain power out there. I had thought of tacking the colour code onto each line, sorting by the normal way, and then stripping off the code. But I knew that someone out there would have a mind-blowing answer ! I like the regex use. Thanks again -Francis ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Commercial License
On Fri, Sep 19, 2014 at 12:45 PM, JB sund...@pacifier.com wrote: Hi Kay, The minute you use the computers they have already lost value no matter what brand you bought. Sorry, I thought we were talking about Software licensing. As English is my second language I'm easily confused. If this thread is about hardware please ignore my previous post. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Commercial License
On Fri, Sep 19, 2014 at 12:45 AM, JB sund...@pacifier.com wrote: A better thing to discuss is when will LiveCode be releasing the version that Kevin recently posted a video where he talked about extensions and Swift. He mentioned they will be able to program LiveCode with LIveCode. This sounds really interesting to me. If you have not watched the video Richard Gaskin posted a link to it and it is very interesting. This is very interesting technology and will fundamentally change LiveCode as a development environment. I don't know what the release schedule is, and releases schedules always change, but you can watch development of it on github. There is a widgets branch on the Runrev/LiveCode github repository that Mark Waddingham has committed some code to. Previously he was doing some work on it under a feature-widget branch on his own github account. Here is the link to the widget branch: https://github.com/runrev/livecode/commits/widgets You can check in periodically and see how it progresses. If you want to monitor all of the progress on the engine then you can follow these instructions for installing SourceTree and setting it up with the livecode github repository. http://www.bluemangolearning.com/livecode/2014/07/using-sourcetree-to-monitor-progress-on-livecode/ The engineers at RunRev are doing a lot of fine work, as you will see by watching the repository. Some of it has led to things like Cocoa, improved Linux support, improved proxy support, the new browser, the QuickTime replacement on OS X, hi-dpi support, etc. A lot of their work has been less visible but has provided a foundation for some awesome technology we will be seeing in the not-to-distant future. -- Trevor DeVore ScreenSteps www.screensteps.com-www.clarify-it.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
large arrays
Hello, I made a program some years ago with Rev studio 2.9 that had some very large arrays in it. No problem. Then I got Rev 3.5 and it choked on the large arrays - took forever to load and display in Variables. Several years ago, I spoke to RunRev about it and they said they were going to resolve it. I am using LC 6.1.1 (rc 4) and was just working with it on my old (large array) program. I can hardly do anything because LC is SO sluggish. If I want to edit a script, it takes several seconds to display what I am typing - so it is extremely difficult to see what I'm doing. Does anyone know of this issue and if it ever was fixed in some later version of LC? Thanks, Larry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: large arrays
On 19 Sep 2014, at 12:46, la...@significantplanet.org wrote: Hello, I made a program some years ago with Rev studio 2.9 that had some very large arrays in it. No problem. Then I got Rev 3.5 and it choked on the large arrays - took forever to load and display in Variables. Several years ago, I spoke to RunRev about it and they said they were going to resolve it. I am using LC 6.1.1 (rc 4) and was just working with it on my old (large array) program. I can hardly do anything because LC is SO sluggish. If I want to edit a script, it takes several seconds to display what I am typing - so it is extremely difficult to see what I'm doing. Does anyone know of this issue and if it ever was fixed in some later version of LC? We have completely re-written how arrays are handled internally in LiveCode 7 so you could give it a go in that and let us know how you get on. Regards, Fraser ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Sorting lines on colour (color for some)
Hi Mike, I like your idea to use styledText very much. It turns out that for the backgroundColor of a line it is not too bad to handle. --- local sCounter = 0 local sStyles = on mouseUp put 0 into sCounter put the styledText of field fData into sStyles sort lines of field fData numeric ascending by myColor(each) end mouseUp function myColor add 1 to sCounter put sStyles[sCounter][style][backgroundColor] into tRGB if tRGB = then -- no backgroundColor return 0 end if return item 1 of tRGB -- test for redness -- or do anything you want with R,G,B end myColor the real problem starts when you have the RGB value. What do you want to sort if it is a generic handler for all sorts of colors (e.g. any line of the colorNames) I made a version where I use Raney's conversion from RGB to HSV, then you can sort by Color (H=Hue), Saturation(S) and Blackness (V=Value). But still it is not what one expects. It sorts alright but it all depends on how you want your colors sorted. That makes a sort by backgroundColor (RGB value) less useful. Kind regards Bernd Scott Raney's RGB to HSV is in stack revColorChooser which on my Mac is in Livecode bundle Contents-Tools-Toolset- revcolorchooser.rev in the script of group HSV, there is also the other way around HSV to RGB. here is RGB to HSV --- function RGBtoHSV r, g, b local maxv, minv, diff, s, rc, gc, bc, h set the numberFormat to 0.### put r / 255 into r put g / 255 into g put b / 255 into b put max(r,g,b) into maxv put min(r,g,b) into minv put maxv - minv into diff if maxv 0 and diff 0 then put diff / maxv into s put (maxv - r) / diff into rc put (maxv - g) / diff into gc put (maxv - b) / diff into bc if r = maxv then put bc - gc into h else if g = maxv then put 2 + rc - bc into h else if b = maxv then put 4 + gc - rc into h multiply h by 60 if h 0 then add 360 to h end if else put 0 into s put 0 into h end if return round(h),round(s * 100),round(maxv * 100) end RGBtoHSV -- -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sorting-lines-on-colour-color-for-some-tp4683418p4683474.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Commercial License
You are right we were talking about software. I mentioned the computers because it related to the architectural firm buying 20 mac pros etc. You make some good points. As for english being your second language I only know english and you do better than me in many ways. John Balgenorth On Sep 19, 2014, at 4:33 AM, Kay C Lan lan.kc.macm...@gmail.com wrote: On Fri, Sep 19, 2014 at 12:45 PM, JB sund...@pacifier.com wrote: Hi Kay, The minute you use the computers they have already lost value no matter what brand you bought. Sorry, I thought we were talking about Software licensing. As English is my second language I'm easily confused. If this thread is about hardware please ignore my previous post. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Commercial License
Thanks for the links and info Trevor. Everything you said sounds really good. Cocoa will open the door for Objective-C and Swift. John Balgenorth On Sep 19, 2014, at 4:35 AM, Trevor DeVore li...@mangomultimedia.com wrote: On Fri, Sep 19, 2014 at 12:45 AM, JB sund...@pacifier.com wrote: A better thing to discuss is when will LiveCode be releasing the version that Kevin recently posted a video where he talked about extensions and Swift. He mentioned they will be able to program LiveCode with LIveCode. This sounds really interesting to me. If you have not watched the video Richard Gaskin posted a link to it and it is very interesting. This is very interesting technology and will fundamentally change LiveCode as a development environment. I don't know what the release schedule is, and releases schedules always change, but you can watch development of it on github. There is a widgets branch on the Runrev/LiveCode github repository that Mark Waddingham has committed some code to. Previously he was doing some work on it under a feature-widget branch on his own github account. Here is the link to the widget branch: https://github.com/runrev/livecode/commits/widgets You can check in periodically and see how it progresses. If you want to monitor all of the progress on the engine then you can follow these instructions for installing SourceTree and setting it up with the livecode github repository. http://www.bluemangolearning.com/livecode/2014/07/using-sourcetree-to-monitor-progress-on-livecode/ The engineers at RunRev are doing a lot of fine work, as you will see by watching the repository. Some of it has led to things like Cocoa, improved Linux support, improved proxy support, the new browser, the QuickTime replacement on OS X, hi-dpi support, etc. A lot of their work has been less visible but has provided a foundation for some awesome technology we will be seeing in the not-to-distant future. -- Trevor DeVore ScreenSteps www.screensteps.com-www.clarify-it.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Commercial License
On Friday, September 19, 2014, JB sund...@pacifier.com wrote: Thanks for the links and info Trevor. Everything you said sounds really good. Cocoa will open the door for Objective-C and Swift. Cocoa is primarily at the UI layer and doesn't really affect whether or not you can use objective-c. You can use objective-c in externals right now. Widgets are what will allow us to tap into the platform Apis (and other c/c++/objective-c/etc libraries out there) without having to leave LiveCode. Swift could be among the supported languages as well. In addition, we can wrap a UI around this code and have it show up as a control with LiveCode. It is a really big deal and fundamentally changes what we will be able to achieve with LiveCode. -- Trevor DeVore ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Commercial License
How can you use Objective-C right now? I downloaded the recent community version of LIveCode and it looks to me to write an external you still use C++ and Xcode 2.4. What is the trick to use Objective-C? John Balgenorth On Sep 19, 2014, at 7:20 AM, Trevor DeVore li...@mangomultimedia.com wrote: On Friday, September 19, 2014, JB sund...@pacifier.com wrote: Thanks for the links and info Trevor. Everything you said sounds really good. Cocoa will open the door for Objective-C and Swift. Cocoa is primarily at the UI layer and doesn't really affect whether or not you can use objective-c. You can use objective-c in externals right now. Widgets are what will allow us to tap into the platform Apis (and other c/c++/objective-c/etc libraries out there) without having to leave LiveCode. Swift could be among the supported languages as well. In addition, we can wrap a UI around this code and have it show up as a control with LiveCode. It is a really big deal and fundamentally changes what we will be able to achieve with LiveCode. -- Trevor DeVore ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: large arrays
Thanks Fraser, I will try that. Larry - Original Message - From: Fraser Gordon fraser.gor...@livecode.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Friday, September 19, 2014 5:51 AM Subject: Re: large arrays On 19 Sep 2014, at 12:46, la...@significantplanet.org wrote: Hello, I made a program some years ago with Rev studio 2.9 that had some very large arrays in it. No problem. Then I got Rev 3.5 and it choked on the large arrays - took forever to load and display in Variables. Several years ago, I spoke to RunRev about it and they said they were going to resolve it. I am using LC 6.1.1 (rc 4) and was just working with it on my old (large array) program. I can hardly do anything because LC is SO sluggish. If I want to edit a script, it takes several seconds to display what I am typing - so it is extremely difficult to see what I'm doing. Does anyone know of this issue and if it ever was fixed in some later version of LC? We have completely re-written how arrays are handled internally in LiveCode 7 so you could give it a go in that and let us know how you get on. Regards, Fraser ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: large arrays
Just curious: How large is large? It would be interesting to know the number of elements. depth, and aggregate size. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Commercial License
On Fri, Sep 19, 2014 at 10:40 AM, JB sund...@pacifier.com wrote: How can you use Objective-C right now? I downloaded the recent community version of LIveCode and it looks to me to write an external you still use C++ and Xcode 2.4. What is the trick to use Objective-C? I have an ExternalsEnvironmentV3_WithObjC distribution that I've used to write externals in objective-c for quite some time. I can't find a link to it now though. I wonder if RunRev still makes that available? -- Trevor DeVore ScreenSteps www.screensteps.com-www.clarify-it.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Meeting 20 September in the Netherlands
Hi, I have added a map of the railway station, showing where people who come by train may meet shortly after 12.00h. http://blog.economy-x-talk-com -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/19/2014 02:45, Mark Schonewille wrote: Hi everyone, I have put all information including the agenda, a map and some nice pictures on my blog at http://blog.economy-x-talk-com Feel free to contact me if you have questions. If you are on the mailing list for this event, then you have my phone number. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Meeting 20 September in the Netherlands
Mark your event sounds great Sorry I can't make this one and am looking forward to the next one! Hope you all have a great time (I'm sure you will) and do tell us all about it afterwards Dave - Some are born coders, some achieve coding, and some have coding thrust upon them. - William Shakespeare Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-Meeting-20-September-in-the-Netherlands-tp4683459p4683483.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Meeting 20 September in the Netherlands
Thanks, Dave. I hope to see you at a meeting another time. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/19/2014 19:38, Dave Kilroy wrote: Mark your event sounds great Sorry I can't make this one and am looking forward to the next one! Hope you all have a great time (I'm sure you will) and do tell us all about it afterwards Dave - Some are born coders, some achieve coding, and some have coding thrust upon them. - William Shakespeare Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-Meeting-20-September-in-the-Netherlands-tp4683459p4683483.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: large arrays
Hello Richard, Here are the numbers: I wrote a program that is an anagram finder several years ago using Rev 2.9 and had NO problems with the arrays. As I mentioned, it choked starting with Rev 3.5 and every iteration of Rev or LC that I've tried since, up to the current 6.1.1 (rc 4) I haven't tried it in LC 7.0 yet. I have a hidden stack with my word fields in it - for words in length from 2 to 12. The word lists are optimized with a key for faster searching. When the program loads, it puts each of the 11 word list fields into one array - which takes about 1 second on my XP with 4gb of ram. The word lists vary in length (3-ltr words is 1292 lines the largest, 9-ltr words, is 40,727 lines.) Each line in all the lists averages less than 100 characters. The size of the field for 9-ltr words is 796kb if copied into a txt document. My old computer that I wrote the original program on with Rev 2.9 had less than 1gb of ram, so I don't think that is the issue. If I put in a 9 letter word such as ELEPHANTS, the program will find all anagrams (words found within the letters of ELEPHANTS) in about 4/10 of a second. The time varies slightly depending on whatever else is going on with my computer. That's a total of 596 words with my word lists and the program lists words and the number of words for each word length from 9 to 2. So the compiled version of my program works very satisfactorily. I'm now adding some other features to the program and, as I said, it is like trying to program on a typewriter that is full of mud. I spoke to someone at RunRev years ago and they acknowledged that there was an issue with arrays. Maybe it has been fixed in 7.0, but I haven't tried that yet. If you have any additional insights, I sure would appreciate it. Thanks, Larry - Original Message - From: Richard Gaskin ambassa...@fourthworld.com To: use-livecode@lists.runrev.com Sent: Friday, September 19, 2014 10:18 AM Subject: Re: large arrays Just curious: How large is large? It would be interesting to know the number of elements. depth, and aggregate size. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: large arrays
larry wrote: As I mentioned, it choked starting with Rev 3.5 and every iteration of Rev or LC that I've tried since, up to the current 6.1.1 (rc 4) The current shipping version is 6.6.3, and the latest test version lower than 7 is 6.7RC2. Please let us know if you see any significant change with either version. I have a hidden stack with my word fields in it - for words in length from 2 to 12. The word lists are optimized with a key for faster searching. When the program loads, it puts each of the 11 word list fields into one array - which takes about 1 second on my XP with 4gb of ram. If the problem is the time it takes to load the array, and the loading is happening from fields, the problem may not be in the arrays and perhaps in the field accesses. The word lists vary in length (3-ltr words is 1292 lines the largest, 9-ltr words, is 40,727 lines.) Each line in all the lists averages less than 100 characters. The size of the field for 9-ltr words is 796kb if copied into a txt document. So there are 11 elements in the array? If you run the array through arrayEncode and obtain its length, what is the size reported? put len(arrayEncode(tSomeArray)) If I put in a 9 letter word such as ELEPHANTS, the program will find all anagrams (words found within the letters of ELEPHANTS) in about 4/10 of a second. Is that the old time or the new time? If new, what is the old time (or vice versa)? I spoke to someone at RunRev years ago and they acknowledged that there was an issue with arrays. It would be interesting to know exactly what they'd said. While arrays have undergone revision a few times over the years, they tend to be very fast in every version I've used. Hopefully once we understand more of the details of your code we'll pin down the bottleneck and get your performance back on par. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Sorting lines on colour (color for some)
On 9/18/2014, 4:46 PM, dunb...@aol.com wrote: Anyway, the backColor does not sort either, using the same code. Jacque, why doesn't the thing sort? I think it's because when you sort lines, the engine pulls out only the actual text of the line for sorting. It isn't looking at the properties of the field at all. That's why using htmltext or styledText works, because those are just text. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: large arrays
On 9/19/2014, 1:19 PM, la...@significantplanet.org wrote: I spoke to someone at RunRev years ago and they acknowledged that there was an issue with arrays. Maybe it has been fixed in 7.0, but I haven't tried that yet. If you have any additional insights, I sure would appreciate it. If you feel like sharing your stack, send it to me offline and I'll take a look. Maybe there is some optimization that can be done. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Sorting lines on colour (color for some)
QCC Report# 13492 submitted as an enhancement. I doubt it will get a very high priority but thought it worth documenting. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Fri, Sep 19, 2014 at 12:22 PM, J. Landman Gay jac...@hyperactivesw.com wrote: On 9/18/2014, 4:46 PM, dunb...@aol.com wrote: Anyway, the backColor does not sort either, using the same code. Jacque, why doesn't the thing sort? I think it's because when you sort lines, the engine pulls out only the actual text of the line for sorting. It isn't looking at the properties of the field at all. That's why using htmltext or styledText works, because those are just text. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Field retrieved from a Mongo document display wrong characters
I have a local Mongo Server and a LiveCode Stack to work as front end to it. When I enter Se cambiarán los bornes (please note the accent), in a LiveCode field, the text is properly shown, inserting it as a document to a Mongo collection also works fine, the field is saved OK in the document. I can see it using the Shell. The problem is that, when I retrieve the document back to LiveCode, the field receiving the field shows: Se cambiarÃan los bornes. Trying to find the reason I found that the encoding of field resul , the field receiving the accented string is Native. Can you help finding the way to make this strings show the right characters? The code in the button retrieving the document from mongo is: on mouseUp local theMongo, theDB, dbText, theCole, thePreg, theQuerry put empty into field resul put C:\mongodb\bin\mongo.exe localhost:27017/ into theMongo put BatGar into theDB put BatRegisinto theCole put ' field F1 ' into toFind put { quote _id quote : toFind } into thePreg put ; printjson(db.getLastError()) into dbErr put .find( thePreg );into theQuerry put var c=db. theCole theQuerry into dbText put while(c.hasNext()) after dbText put printjson(c.next()) after dbText put dbErr after dbText put theMongo theDB --eval quote dbText quote into dbText1 put shell ( quote dbText1 quote) into dbResultado put the number of lines of dbResultado into nro put line 3 to (nro - 1) of dbResultado into field resul if field resul is empty then Answer warning El Documento NO ha sido encontrado. El sistema no tiene registrada una Batería con el ID:field F1 with OK else Answer warning El Documento ha sido encontrado, ID:field F1 with OK end if end mouseUp Saludos, Javier ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Commercial License
I would love to have a copy of that! If you find it please send me a copy. John Balgenorth On Sep 19, 2014, at 9:24 AM, Trevor DeVore li...@mangomultimedia.com wrote: On Fri, Sep 19, 2014 at 10:40 AM, JB sund...@pacifier.com wrote: How can you use Objective-C right now? I downloaded the recent community version of LIveCode and it looks to me to write an external you still use C++ and Xcode 2.4. What is the trick to use Objective-C? I have an ExternalsEnvironmentV3_WithObjC distribution that I've used to write externals in objective-c for quite some time. I can't find a link to it now though. I wonder if RunRev still makes that available? -- Trevor DeVore ScreenSteps www.screensteps.com-www.clarify-it.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Sorting lines on colour (color for some)
OK, I get that. But then how would a function, something you in particular are fond of, work? sort lines of whatever by jacque(the value of youTellMe) Craig -Original Message- From: J. Landman Gay jac...@hyperactivesw.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Fri, Sep 19, 2014 3:23 pm Subject: Re: Sorting lines on colour (color for some) On 9/18/2014, 4:46 PM, dunb...@aol.com wrote: Anyway, the backColor does not sort either, using the same code. Jacque, why doesn't the thing sort? I think it's because when you sort lines, the engine pulls out only the actual text of the line for sorting. It isn't looking at the properties of the field at all. That's why using htmltext or styledText works, because those are just text. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Sorting lines on colour (color for some)
On 9/19/2014, 8:18 PM, dunb...@aol.com wrote: OK, I get that. But then how would a function, something you in particular are fond of, work? In this case I wouldn't use any field access, it would be inefficient and slow for all but very short field contents. But if someone put a knife to my throat and said, write a function or else, then I'd do it the same way Bernd did, only instead of counting lines in the styledText, I'd count lines in the field. It requires the engine to access the field repeatedly for every line and makes me wince: local sCounter = 0 on mouseUp -- about to mangle Bernd's handler now put 0 into sCounter sort lines of field fData numeric ascending by myColor(each) end mouseUp function myColor add 1 to sCounter put the backcolor of line sCounter of fld fData into tRGB -- ow, ow if tRGB = then -- no backgroundColor return 0 end if return item 1 of tRGB -- test for redness -- or do anything you want with R,G,B end myColor -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: large arrays
Hello Richard, I had to leave for awhile but now here is the updated info: Using put len(arrayEncode(myArray)) I got the following: there are actually 11 different arrays - one for each of the word lengths from 2 to 12 letters. The 3-ltr word array is 17672 The 9-ltr word array is 1159610 (there are a lot more 9-ltr words than 3-ltr words.) I didn't do all the others, but that will give you an idea. 7 and 8-ltr words will be close to 9-ltr words in size I haven't yet had time to test with later versions, but once I do, I will let you know. The problem is not the time it takes to load the arrays. As I mentioned, it loads all 11 in just over 1 second. Once they are loaded, I access the data directly from the arrays and not from the fields. The number elements (lines) in the arrays varies. The 3-ltr array has 1292 lines - I guess that means elements. The 9-ltr array has 40,727 lines or elements. Each line is in a format like this: apt,APT,PAT,TAP where apt is the key, which only needs to be found once and it shows all the 3-ltr words that can be made with those letters. Of course, that speeds up the search process tremendously. The time (about .4 seconds) I mentioned for finding the 596 words found in ELEPHANTS is what I tested today. But I know that even on a slower computer using the stack built with Rev 2.9, the time was very close to that - about 1/2 of a second. About 5 or 6 years ago when I was using 2.9 and then upgraded to 3.5, I not only spoke to someone at RunRev (forgot who) but I also spoke to Jerry Daniels, of Daniel and Mara, on the phone about several RunRev things and we discussed the array issue. He acknowledged that with the release of 3.5 there were some serious array issues, that RunRev knew about them and Jerry hoped that they would soon be fixed. They were not fixed with the release of RunRev 4.0 and the only version of LC that I've used extensively is 6.1.1 and the array issues are still not fixed in that release - although I would say it is a big improvement over RunRev 3.5. The crazy thing is this: I haven't made any significant changes to my stack over the years - mostly cosmetic stuff and the array sizes are what they've always been. RunRev 2.9 never flinched, brought up the data in the arrays almost instantly. But since then it has been worse than trying to get my little grandson to wear a shirt. I'm working on other projects now, but wanted to incorporate some of the anagram features in my latest project. I am very reluctant to do so because the complete sluggishness of it makes it way too frustrating to try and program. Someday soon I will get around to trying LC 7.0 or 7.1 or whatever is there and HOPEFULLY the issue will be solved. In the meantime, thank you and Jacqueline SO MUCH for your kind attention and offers of help. All the best, Larry - Original Message - From: Richard Gaskin ambassa...@fourthworld.com To: use-livecode@lists.runrev.com Sent: Friday, September 19, 2014 1:19 PM Subject: Re: large arrays larry wrote: As I mentioned, it choked starting with Rev 3.5 and every iteration of Rev or LC that I've tried since, up to the current 6.1.1 (rc 4) The current shipping version is 6.6.3, and the latest test version lower than 7 is 6.7RC2. Please let us know if you see any significant change with either version. I have a hidden stack with my word fields in it - for words in length from 2 to 12. The word lists are optimized with a key for faster searching. When the program loads, it puts each of the 11 word list fields into one array - which takes about 1 second on my XP with 4gb of ram. If the problem is the time it takes to load the array, and the loading is happening from fields, the problem may not be in the arrays and perhaps in the field accesses. The word lists vary in length (3-ltr words is 1292 lines the largest, 9-ltr words, is 40,727 lines.) Each line in all the lists averages less than 100 characters. The size of the field for 9-ltr words is 796kb if copied into a txt document. So there are 11 elements in the array? If you run the array through arrayEncode and obtain its length, what is the size reported? put len(arrayEncode(tSomeArray)) If I put in a 9 letter word such as ELEPHANTS, the program will find all anagrams (words found within the letters of ELEPHANTS) in about 4/10 of a second. Is that the old time or the new time? If new, what is the old time (or vice versa)? I spoke to someone at RunRev years ago and they acknowledged that there was an issue with arrays. It would be interesting to know exactly what they'd said. While arrays have undergone revision a few times over the years, they tend to be very fast in every version I've used. Hopefully once we understand more of the details of your code we'll pin down the bottleneck and get your performance back on par. -- Richard Gaskin Fourth World Systems Software Design and
Re: LiveCode Commercial License
I see the Foundation.h library was added and that is what I needed because I am interested in using Objective-C and the NSFileManager. I am new to Obhective-C and the ExternalsEnvironmentV3_WithObjC distribution would really help a lot. Are there any other examples of externals made with Objective-C somewhere in the code they added Foundation.h? John Balgenorth On Sep 19, 2014, at 9:24 AM, Trevor DeVore li...@mangomultimedia.com wrote: On Fri, Sep 19, 2014 at 10:40 AM, JB sund...@pacifier.com wrote: How can you use Objective-C right now? I downloaded the recent community version of LIveCode and it looks to me to write an external you still use C++ and Xcode 2.4. What is the trick to use Objective-C? I have an ExternalsEnvironmentV3_WithObjC distribution that I've used to write externals in objective-c for quite some time. I can't find a link to it now though. I wonder if RunRev still makes that available? -- Trevor DeVore ScreenSteps www.screensteps.com-www.clarify-it.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode