Re: JSON import error
I sent my message too soon. If I import as "file:" instead of "binfile:" it mostly works. You always figure it out as soon as you post. It's a rule. On 11/2/17 1:02 AM, J. Landman Gay via use-livecode wrote: I am trying to convert some JSON to a LC array. Both JSONImport and JSONToArray are failing. JSONToArray gives only a generic "error in function". JSONImport gives this: 863,9,9,runtime 864,9,9,syntax error: 1:1 Unexpected character '˛' 865,9,9,json.lcb 866,9,9,65 897,9,9,1 865,9,9,json.lcb 866,9,9,262 897,9,9,1 219,9,9,JSONimport 465,9,9 The JSON is full of foreign characters, saved on disk as UTF-16 (with BOM), and read into LC as binary text. I've run the text through several online JSON validators and none report any problems. I don't know if the above error will come through the list correctly but it isn't a normal comma. LC's charToNum() reports 254. I pasted it into BBEdit's "find" dialog and when I do a search on the actual file, BBEdit says it doesn't exist in there. Any ideas what might be wrong? -- 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
JSON import error
I am trying to convert some JSON to a LC array. Both JSONImport and JSONToArray are failing. JSONToArray gives only a generic "error in function". JSONImport gives this: 863,9,9,runtime 864,9,9,syntax error: 1:1 Unexpected character '˛' 865,9,9,json.lcb 866,9,9,65 897,9,9,1 865,9,9,json.lcb 866,9,9,262 897,9,9,1 219,9,9,JSONimport 465,9,9 The JSON is full of foreign characters, saved on disk as UTF-16 (with BOM), and read into LC as binary text. I've run the text through several online JSON validators and none report any problems. I don't know if the above error will come through the list correctly but it isn't a normal comma. LC's charToNum() reports 254. I pasted it into BBEdit's "find" dialog and when I do a search on the actual file, BBEdit says it doesn't exist in there. Any ideas what might be wrong? -- 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
Fwd: why app version info is useful
more on the topic of dangerous interfaces: "Which version of SharePoint am I using?" https://support.office.com/client/Which-version-of-SharePoint-am-I-using-3575ff57-037f-48cf-9398-99080c34b25f -- Mark Wieder ahsoftw...@gmail.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
Android Oreo Infinite Boot Loop
Interfaces are beautiful and dangerous: https://www.bleepingcomputer.com/news/mobile/android-oreo-adaptive-icons-bug-sends-thousands-of-phones-into-infinite-boot-loops/ "A bug in the new "Adaptive Icons" feature introduced in Android Oreo has sent thousands of phones into infinite boot loops, forcing some users to reset their devices to factory settings, causing users to lose data along the way." "The bug first manifested itself when the developer of the Swipe for Facebook Android app accidentally renamed the foreground image of his adaptive icon with the same name as this XML file (ic_launcher_main.png and ic_launcher_main.xml)." Al ___ 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: Relative Paths in Property Inspector
PR submitted: https://github.com/livecode/livecode-ide/pull/1817 For bug: http://quality.livecode.com/show_bug.cgi?id=17287 Not sure how it will be received, but it uses the pref to always use absolute path names for images to decide whether to convert a path to relative. On Sun, Oct 29, 2017 at 2:02 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > Backstory: > > Sometime back in a round with HQ we got the engine to "remember" relative > path settings for the filenames of images/players etc.. such that it would > not default to full path from root on the drive which makes the path unique > to that user and no longer portable… so "relativity" go supported/sticky in > different dev scenarios… > > so far so good… if you set the filename in an image in a stack that lives > here: > > User/MyDrive/myProject/coolAnimals.livecode > > with images here to: > > User/MyDrive/myProject/img/thumbs/little-rooster.jpg > > # it, obviously works But, now you can > > a) manually chop of the lead down to this in the property inspector > > img/thumbs/little-rooster.jpg > > # and it works… this is also portable if you include "img/*" in the > stackfiles when create your standalone and the filename is saved relative > to the stack, and, assuming you keep the folder structure intact you don't > have to even mess with defaultfolder or even specialFolderPath("engine") > because the "relativity" of the path is respected in any and all contexts > (I think…) > > so you can also programatically do this > > set the filename of img "myPet" to "img/thumbs/little-rooster.jpg" > > and that also works though you do need to use "specialFolderPath" > functions on mobile. > > Again, so far so good… > > End backstory (please correct anything you see that is wrong) > > So, why can't we just a relative path in the Property Inspector itself? > The browser tool will always return full path from User down to the > "asset.jpg"… if I send that stack to someone else, or use a GIT work flow > where these stacks are "pure views" (i.e. no actual imported images > anywhere) along with the images. the paths are broken. So, long way of > asking: > > Do we need an enhancement request for a check box in the PI to set the > path as relative to the stack? Seems like that would be super usefu > > Mikey has this request in since May '16… which feels related > > http://quality.livecode.com/show_bug.cgi?id=17705 > > but the suggestion for having this in the PI seems a bit different, and > might not actually solve his issue for using a cloud instance of his > project. > > Brahmanathaswami > > > > > > ___ > 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
Announcing our first Livecode app in the iOS App Store
I am excited to announce the release of Ascriva Health Informatics' first app for iPhone and iPad in the App Store. The app was developed using Livecode. Many thanks for the knowledge and support that I have received here as we worked towards this first product release. ICD-10-CM is the classification system used to code diagnoses and reasons for healthcare encounters in the United States. The ICD-10-CM-2018 app allows healthcare providers to quickly find diagnosis codes, create a library of frequently-used codes and automatically search the Web for related information. To celebrate the launch of the app, it is available for FREE in the App Store until November 8. https://itunes.apple.com/us/app/icd-10-cm-2018/id1296363233 Best wishes, Henry https://www.ascriva.com -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ 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
Xcode 9.1 support
There has been a serious performance issue (related to OpenGL) with the iOS simulators under Xcode 9.0, to the point that they are so slow as to be unusable for testing. This has been widely commented on elsewhere and is not an LC-related problem. This issue is now fixed in Xcode 9.1, released today. However LC 8.1.7 (stable) does not support Xcode 9.1. When I try to point LC 8.1.7 towards Xcode 9.1 is declines to link, claiming "The chosen folder is not a valid iOS SDK". Do we need an update to obtain compatibility with Xcode 9.1? If so, would it be possible to get this out soon as I have had to suspend testing of iOS apps under development because of the simulator issues when using Xcode 9.0 and 9.0.1. Thanks, Henry Ascriva Healthcare Informatics https://www.ascriva.com -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ 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: ...and everybody hates Perl...
To be specific, no one hates working with Livecode. Bob S > On Oct 31, 2017, at 22:40 , Kaveh Bazargan via use-livecode > wrote: > > And nobody's heard of 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: Why is everything in the IDE so tiny?
There are other things you can do. In the preferences, Under the "Object Sizes" pane, you can set the default sizes of all controls. This is similar to setting the template(control) to your own style, that virtual object being able to set defaults on any property available to the control. Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ 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