New parsing possibilities
I had started something trivial on the forum that has become very interesting. Not sure how many here also lurk there, so I thought I would bring it over. Originally, I had commented that something like: if x,y,z = 0 then beep threw no error. That has evolved quite nicely into a parsing discussion, and it is worth looking at. It is currently at a stage where new capabilities are being discovered, since: put 2*2,3*3=4,9 -- returns "true", or put 2*2,3*3 --yields "4,9". There are undocumented rules here, for example: put 2*2,3*3,(0=0) -- yields "4,9,true" whereas put 2*2,3*3,0=0 -- yields "false" Implying that the comma delimited list is parsed as "2*2,3*3,0" = "0" and not as '2*2,3*3,0=0" yields some value as in the first case. Not sure how useful this all might be, but that is what they said about electricity. Craig Newman ___ 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: New parsing possibilities
Hi, I think a link to the discussion on the forum would be appropriate: http://qery.us/35v -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3/12/2013 14:59, dunb...@aol.com wrote: I had started something trivial on the forum that has become very interesting. Not sure how many here also lurk there, so I thought I would bring it over. Originally, I had commented that something like: if x,y,z = 0 then beep threw no error. That has evolved quite nicely into a parsing discussion, and it is worth looking at. It is currently at a stage where new capabilities are being discovered, since: put 2*2,3*3=4,9 -- returns "true", or put 2*2,3*3 --yields "4,9". There are undocumented rules here, for example: put 2*2,3*3,(0=0) -- yields "4,9,true" whereas put 2*2,3*3,0=0 -- yields "false" Implying that the comma delimited list is parsed as "2*2,3*3,0" = "0" and not as '2*2,3*3,0=0" yields some value as in the first case. Not sure how useful this all might be, but that is what they said about electricity. Craig Newman ___ 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: New parsing possibilities
Craig- Tuesday, March 12, 2013, 6:59:24 AM, you wrote: > put 2*2,3*3=4,9 -- returns "true", or > put 2*2,3*3 --yields "4,9". And as Mark pointed out there, it's not entirely the stringification of the lValues and rValues that I assumed, since evaluation of the math operators does take place before the equivalence statement. put 2*2,3*3=2*2,9 --> true -- -Mark Wieder mwie...@ahsoftware.net ___ 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
Ouya Game Console Based on Android
Hi all, Did anyone get the developer kit for this? http://www.ouya.tv/ This console is due to launch in June, and it looks like they are asking for dev stories. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server ___ 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
Accessing Unicode (ntext, nvarchar) text fields from SQL Server over ODBC
I'm having this problem using LiveCode, but I don't know whether that's where the issue resides. So this may be OT - but I'd appreciate any suggestions anyway! An app built in LiveCode regularly connects to a SQL Server database, over ODBC, to retrieve various data. The application responsible for the database is being upgraded, and as part of this, all the text fields are being turned into Unicode text fields. Essentially this means that fields that were previously defined as varchar are now defined as nvarchar, and those previously defined as text are now defines as ntext. (This is SQL Server 2008 by the way.) Using the queries we've always used in the past, we now get a single character (the first character in the field) instead of the whole text. I can work around for this for now by specifying a conversion to varchar in the select query, eg where the app used to make a request like SELECT id, name FROM tab1 it now makes a request like SELECT id, convert(varchar(255), name) AS name FROM tab1 That works - I get back what I used to get - but (a) it's clumsy and (b) this is fine for now, when the client is just migrating all their existing data into the database, but sooner or later they may actually take advantage of this upgrade to enter some Unicode characters into the fields, and then I'll presumably not get them out. So is there a way that a LiveCode app, using the current ODBC drivers, can retrieve data correctly from an nvarchar or ntext field? Or at least, is there some simpler solution than apply the correction above to all my queries? Any suggestions or tips gratefully received. TIA Ben ___ 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
[OT] Slugworth
Why do I get the funny feeling that Ubuntu is getting a bit too big for its open source boots? http://www.wired.com/wiredenterprise/2013/03/ubuntu-mir/ Of course, this could be an object lesson to those who are in the process of releasing something open source as to how much they continue to exert control on the thing. Richmond. ___ 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: [OT] Slugworth
Richmond wrote: Why do I get the funny feeling that Ubuntu is getting a bit too big for its open source boots? http://www.wired.com/wiredenterprise/2013/03/ubuntu-mir/ Of course, this could be an object lesson to those who are in the process of releasing something open source as to how much they continue to exert control on the thing. Because the sky is falling? I sincerely hope RunRev shows at least as much interest in managing the LiveCode code base as Canonical does with Ubuntu. Mir offers a leaner solution across a wider range of device types than Wayland appears likely to achieve. This takes nothing away from Wayland; the same engineers can continue to do the same work they've been doing thus far, and it's Linux: there are enough distros that anything of merit will find a home in at least some of them. But Canonical is more ambitious with Ubuntu than most projects are with their own distros. Most distros seem content to limit themselves to the desktop, but Ubuntu has expanded to include phones, tablets, and TVs, in an architecture scalable and adaptable to handle just about anything else that comes along. By comparison, imagine if RunRev had chosen something like the WASTE text engine as the solution to their Unicode needs. That would have definitely helped on OS X, possibly been portable to other desktop OSes, but likely to have been prohibitively expensive to try to use it across all supported platforms. So IMNSHO this who "controversy" over Wayland/Mir is an invention unrelated to how software gets built, because the bottom line remains the same the whole time: It's Linux, with so many options available that anyone can choose whatever they like to have exactly what they want at any time. This is as true for developers as for end-users. Canonical is simply doing what they feel is best for their distro; those who want a fully-community-driven distro can contribute to Debian and others. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] Slugworth
On 03/12/2013 10:09 PM, Richard Gaskin wrote: Richmond wrote: Why do I get the funny feeling that Ubuntu is getting a bit too big for its open source boots? http://www.wired.com/wiredenterprise/2013/03/ubuntu-mir/ Of course, this could be an object lesson to those who are in the process of releasing something open source as to how much they continue to exert control on the thing. Because the sky is falling? Not that I have noticed. But, howevermuch Ubuntu might be pushing the development envelope and being jolly cleveevr and innovative, they are also at risk of cheesing-off their installed-base. How much this actually matters to Canonical I just don't know; they make their revenue in a different way to the way RunRev does; they sell system support rather than a commercial variant of Ubuntu. However I would suppose the level of system support bought and paid for also depends on how many people are using Ubuntu for mission critical stuff. This could also happen with RunRev's Open Source fork. Richmond. ___ 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: [OT] Slugworth
Richmond writes: > > Because the sky is falling? > > Not that I have noticed. Also. Don't believe everything you read on the internet. Even if it's in color. -- Mark Wieder mwie...@ahsoftware.net ___ 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: [OT] Slugworth
Richmond wrote: On 03/12/2013 10:09 PM, Richard Gaskin wrote: Richmond wrote: Why do I get the funny feeling that Ubuntu is getting a bit too big for its open source boots? http://www.wired.com/wiredenterprise/2013/03/ubuntu-mir/ Of course, this could be an object lesson to those who are in the process of releasing something open source as to how much they continue to exert control on the thing. Because the sky is falling? Not that I have noticed. But, howevermuch Ubuntu might be pushing the development envelope and being jolly cleveevr and innovative, they are also at risk of cheesing-off their installed-base. How much this actually matters to Canonical I just don't know; they make their revenue in a different way to the way RunRev does; they sell system support rather than a commercial variant of Ubuntu. However I would suppose the level of system support bought and paid for also depends on how many people are using Ubuntu for mission critical stuff. This could also happen with RunRev's Open Source fork. I suppose anything's possible, but in a world where folks are still blaming Canonical for Gnome.org's decision to kill Gnome2, I tend to not get too excited about such invented controversies. Canonical wouldn't have committed to Mir if they didn't have the resources to complete it. Likewise, I'm confident RunRev will choose with similar wisdom. If along the way some folks get upset that LiveCode isn't altering all of the company's priorities to fit their personal preferences (the #1 criticism against Ubuntu), well, we just have to accept that some aspects of managing FOSS projects are like herding cats, and now and then there will always be a few malcontents among those willing to roll up their sleeves and contribute. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Mac App Submit (again)
I am still trying to prepare an app for app store submission, but still failing. I follow the instructions in the Mac App Submit article in RevUp June 17th 2011 to the letter. It all seems to work, but testing the resulting installer package fails. I follow the instructions to the letter, the results in the terminal are exactly as the article predicts (last line - installer: Finished install) but there is no app in my applications folder. And if I just run the installer itself, it seems to work, I get the chime and "Application successfully installed" message, but there is no application in the applications folder! The thing that concerns me is this: > type a space after the closing quote and then in the Finder drag your > standalone application file into the Terminal. Terminal will put the absolute > path to the standalone application. The final line will look something like: > > jdough:~ jdough$ codesign -f -s "3rd Party Mac Developer Application: J > Dough" /Users/jdough/Documents/MyLiveCodeApp/MyLiveCodeApp/MyLiveCodeApp.app > > hit the return key and codesign should add a "_CodeSignature" folder (and > other files) into the package contents of your standalone. This DOES create the "_CodeSignature" folder with a "CodeResources" file in it. (but no other files as suggested above in the instructions) But it also results in an error in the terminal window: object file format unrecognized, invalid, or unsuitable But even after this error, everything after works just fine, until the app doesn't show up in the applications folder. By everything els I mean the codesign and productbuild in terminal. You can imagine the confusion - I follow the instructions precisely, get to the end of the process and no application. I can't believe it doesn't have anything to do with that error message after the code sign, but I always get that error message. That RevUp article states Snow Leopard, so maybe something is slightly different with Mountain Lion? Help appreciated! Cheers, Lars ___ 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: Fwd: Stackoverflow : new LiveCode questions
John Craig-4 wrote > I can set up an email list if anyone is interested - or even post to > this list. The cron job can be modified to run every minute, every > hour, etc. , but only sends a report when new data is available. Hi John, I'd be interested, especially if the digest is once a day and contains a list of all new messages. As Pete pointed out, it would mean having to go to one less place on a regular basis and yet still be able to monitor the traffic there, or link to it. -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Fwd-Stackoverflow-new-LiveCode-questions-tp4662062p4662135.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
How to start a LiveCode stack without running scripts?
Hei How to start a LiveCode stack without running scripts? By scripting a splash with some additional functions there is also a closeStack and now every time I load it in LiveCode environment it does the things start(load) the main app and close so I never more able to correct or programming scripts of the splashStack. Is there any switch/ setting, that can prevent automatic running the scripts by loading the stacks? I tried suppress message and errors also "Suspend Development Tools" ... some more Ideas? Thanks ueliweb ___ 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: How to start a LiveCode stack without running scripts?
Up on the toolbar there's an Icon that says Messages and looks like an envelope. Click that then open your stack. On 13/03/2013, at 5:11 PM, Ueliweb wrote: > Hei > > How to start a LiveCode stack without running scripts? > > By scripting a splash with some additional functions there is also a > closeStack and now every time I load it in LiveCode environment it does the > things start(load) the main app and close so I never more able to correct > or programming scripts of the splashStack. > > Is there any switch/ setting, that can prevent automatic running the > scripts by loading the stacks? > > I tried suppress message and errors also "Suspend Development Tools" ... > > some more Ideas? > > Thanks > ueliweb > ___ > 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 -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! ___ 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: How to start a LiveCode stack without running scripts?
On 13/03/2013, at 5:11 PM, Ueliweb wrote: > How to start a LiveCode stack without running scripts? That's one that should be put on StackOverflow, me thinks... Perhaps a title such as "How to open a stack without triggering openStack/openCard scripts?" -- Igor Couto Sydney, Australia ___ 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
animationEngine 5.0.2 First code dump
Hi all, as promised, I am following runrevs lead and am going dual licensed with animationEngine. As I traded leaving in the nasty german comments against a 50 pound pledge (Yes Mats, they are still in there) There hasn't been much cleanup I had to do. For those who have been waiting for this, you find the unlocked stack here: http://derbrill.de/animationEngine5.0.2.zip If you are interested in how I think this will pan out, please continue reading. I have removed everything that had to do with registration of the stack. Instead I put in the following license Header to the stack script: -- animationEngine 5.0.2 -- ©2005 - 2013 derbrill IT service. To get in touch contact i...@derbrill.de -- This stack was written by Malte Pfaff-Brill with the help of quite a few people -- No rocket sience involved, however many books read any a lot of work went into -- this stack. -- Licensing terms: -- These scripts are licensed to you if you agree to be bound to one of the following -- License types at your choice. -- 1) GPL 3 -- You may use animationEngine as FREE Software as outlined in the terms of the GPL3 or any -- higher version of the GPL as found here: http://www.gnu.org/licenses/gpl-3.0.html -- 2) Commercial license: -- If you do not want to disclose the sources of your application you have the option to purchase a commercial license -- by paying a fee. You can buy a commercial license from the runrev marketplace. At the time of the writing of this document -- this can be done following this link: http://www.runrev.com/store/ -- You are paying a license fee for the major version of animationEngine. If you are licensing animationEngine 5.0.2, you will be -- able to use all upgrades that carry the same major version number (in this case 5.x). Once the switch is made to a version -- 6.x of the library, you will need to upgrade your license to use the latest version. However, of course you may continue to use -- any version of the library you currently have licensed, without needing to purchase an upgrade. -- Such a commercial license releases you from the requirements of the copyleft GPL license, which include: distribution of all -- source code, including your own product; licensing of your own product under the GPL license; prominent mention of the -- derbrill copyright and the GPL license; and disclosure of modifications to the library. -- Code Contributions -- If you want to contribute to animationEngines codebase and want your changes to be accepted into the main trunc, -- you will have to accept our open source contribution agreement as found here: http://www.derbrill.de/osca.pdf I will continue to be the maintainer of the official fork of animationEngine, however, if you are interested in using and improving it, I highly encourage you to get involved. AnimationEngine has a dedicated forum here: http://forums.runrev.com/phpBB2/viewforum.php?f=27 Hope to see you here / there. I hope dumping the code may be useful. It will be a while until the open version will make it to the marketplace site and gets updated there. If there is anyone who might suggest an appropriate repository where to host the development version for contributions, I am all ears. Not that experienced with OSS dev, so I am eager to learn how to handle this in the best and most convenient way. Best, Malte -- derbrill IT-service Malte Pfaff-Brill Tanneneck 2, d-24790 Ostenfeld Tel: +49 4331-337 640 0 eMail: i...@derbrill.de web: http://www.derbrill.de Steuernummer: 28 015 03865 VAT ID: DE223571286 ___ 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: How to start a LiveCode stack without running scripts?
You can get directly to the script from another stack. Type in the message box: edit the script of stack "the name of the stack" if it's the stack script, or edit the script of card 1 of stack "the name of the stack" etc. Peter Bogdanoff UCLA On Mar 12, 2013, at 11:11 PM, Ueliweb wrote: Hei How to start a LiveCode stack without running scripts? By scripting a splash with some additional functions there is also a closeStack and now every time I load it in LiveCode environment it does the things start(load) the main app and close so I never more able to correct or programming scripts of the splashStack. Is there any switch/ setting, that can prevent automatic running the scripts by loading the stacks? I tried suppress message and errors also "Suspend Development Tools" ... some more Ideas? Thanks ueliweb ___ 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