Re: Unicode Store in JSON

2018-10-14 Thread Monte Goulding via use-livecode
> On 15 Oct 2018, at 2:31 pm, Sannyasin Brahmanathaswami via use-livecode > wrote: > > First can you clarify if both of these should work.? We see both in > dictionary... > > *Example* > > textEncode("A","UTF16") > > *put*textEncode(field"output","UTF-8") intotOutput > > will the 2nd

mobile location question

2018-10-14 Thread Alan via use-livecode
Hi there Can someone point me in the direction of the LC source code on Github that contains the mobile location-related code? Wondering what is currently used for the properties: desiredAccuracy & distanceFilter Thanks for any pointers! :-) cheers Alan

Re: Unicode Store in JSON

2018-10-14 Thread Sannyasin Brahmanathaswami via use-livecode
First can you clarify if both of these should work.? We see both in dictionary... *Example* textEncode("A","UTF16") *put*textEncode(field"output","UTF-8") intotOutput will the 2nd param work with or without a hyphen? --- unclarity --simply: *Syntax* textEncode(*stringToEncode*,

OT: The Principles of Clean Architecture

2018-10-14 Thread Sannyasin Brahmanathaswami via use-livecode
Hope you don't in my sharing on going research into high level architecture. https://www.youtube.com/watch?v=o_TH-Y78tt4 This one came about because Andre (ha!) chided me on my lack of encapsulation between modules, and spent time re-factoring to make it better. He has a license to tell what is

Re: Unicode Store in JSON

2018-10-14 Thread Monte Goulding via use-livecode
> On 15 Oct 2018, at 11:35 am, Sannyasin Brahmanathaswami via use-livecode > wrote: > > Wow, that worked! And I thought that JSON could not be a container for > "binaryData" as described on the dictionary. Could you provide some detail where the docs are misleading. It is actually true that

Re: Unicode Store in JSON

2018-10-14 Thread Sannyasin Brahmanathaswami via use-livecode
On 10/14/18 8:43 AM, J. Landman Gay via use-livecode wrote: > I'd store the text normally, without alteration, in the JSON. TextEncode > it when you send it to the database and textDecode when you retrieve it > from the database. Wow, that worked! And I thought that JSON could not be a

Widget baseClock_v100

2018-10-14 Thread hh via use-livecode
BaseClock is a new widget that displays by special "digits" the time encoded to a number base in range 2-60. Encoded is each of the time items (hours, minutes, seconds). For base 2 this is known as "Binary encoded decimals". The display is unique (I invented that) as it doesn't use characters

Re: Unicode Store in JSON

2018-10-14 Thread J. Landman Gay via use-livecode
I'd store the text normally, without alteration, in the JSON. TextEncode it when you send it to the database and textDecode when you retrieve it from the database. On 10/14/18 9:26 AM, Sannyasin Brahmanathaswami via use-livecode wrote: I need to store unicode in JSON on Mobile; and store that

Re: OT: Seven Ineffective Coding Habits of Many Programmers

2018-10-14 Thread J. Landman Gay via use-livecode
On 10/12/18 4:37 PM, Mark Wieder via use-livecode wrote: On 10/12/2018 11:12 AM, J. Landman Gay via use-livecode wrote: That's not a term, it's a sentence. So... time served only? That's reserved for bad punsters who must show remorse by writing

Unicode Store in JSON

2018-10-14 Thread Sannyasin Brahmanathaswami via use-livecode
I need to store unicode in JSON on Mobile; and store that in SQLLite dBase If you do a "direct" transfer *put*(char1to35oftQuote)& "..."intosTruncFirstLine "Yea, jīva is actually Śiva." # putting sTruncFirstLine into an SQLLite column # when you get the data out, it becomes

Accessible Apps

2018-10-14 Thread Kaveh Bazargan via use-livecode
I am interested in creating an App in LiveCode, for iOS and Android, primarily for reading html content (live or local). It needs functionalities such as bookmarking, searching and commenting. I want the App to be "accessible" if possible, so allowing say visually impaired to use it. Any pointers

Re: Password Protected Stack

2018-10-14 Thread Randy Hengst via use-livecode
Thank you Jacque. I used the Project Browser for the first time… yes, really… and found a library stack from one of Scott Rossi’s add-ons that I no longer was using. It is an old stack… I didn’t have problems building with LC 7.x or 8.x even with that add-on. So, something in the build