Device implementation problems

2017-11-02 Thread Pyyhtiä Christer via use-livecode
A few days ago I raised the question on how the device behaviour differs from 
how it is in the IDE environment.  The question posed was if there is a command

go card "xyz"

and the script continues to run immediately, would there be interference in 
terms of "getting the go done".

Interpreting a couple of answers, thank you, I understood that it would not 
cause problems.

However, there can be interference, and I could prove it and repeat it.  As 
follows.

-   The target is Android device (I am using an old Samsung Galaxy S4 
thanks to its screen pixel size (and despite of having dropped it both on 
concrete and in a lake quite a few times still does great job)

-   In the app there is a virtual screen (card is larger then the # of 
pixels on the physical screen), and there are about 100 objects on it.  The 
card is resized based on the screenRect parameters in several sets of different 
objects, the amount of code running through is maybe > 1000 lines of LC.

-   When I issue the "go" and let the script run, many of the objects won't 
get done completely, for example card background, button or field colouring 
gets only partially done.  However, if I either add "lock screen" before the 
"go" statement, or issue "wait 100 milliSeconds" after the "go", everything is 
OK.  And all of this can be repeated.  The Android device is kept off other 
duties, so that it is not getting vast amount of interruts.

Now, the above method helps me to solve the problem, but would there be any 
other methods to avoid such an implementation issues?

Anyone else had similar experience?

rgds

Christer Pyyhtiä
chris...@mindcrea.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: results of SPLIT when keys not unique

2017-11-02 Thread Ralph DiMola via use-livecode
I wyyy over thought this. This is tested:


SELECT animals.animalnumber, animals.animalname
FROM animals
GROUP BY animals.animalname;

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: Dr. Hawkins [mailto:doch...@gmail.com] 
Sent: Thursday, November 02, 2017 6:49 PM
To: rdim...@evergreeninfo.net
Cc: How to use LiveCode
Subject: Re: results of SPLIT when keys not unique

On Thu, Nov 2, 2017 at 3:45 PM, Ralph DiMola  wrote:
> Whoops, not tested and I saw an error.
>
> Select mytable.animalname,mytable.animalnumber from (select distinct 
> mytable.animalname from mytable as mytable2) left join mytable on 
> mytable.animalname = mytable2animalname
>

You just shot *way* over my SQL :)

does that last line search for any mytable.animalname that occurs in 
mytable2.animalname?

(and if it's that easy, why in the world isn't DISTINCT ON part of SQLite???

thanks




--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462


___
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: iPhone X or "Apple is just the most annoying company of all time"

2017-11-02 Thread Colin Holgate via use-livecode
Apple do document what they mean by a safe area, and the amount it eats into 
the screen isn’t very much:

https://developer.apple.com/ios/human-interface-guidelines/overview/iphone-x/
___
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: results of SPLIT when keys not unique

2017-11-02 Thread Dr. Hawkins via use-livecode
On Thu, Nov 2, 2017 at 3:45 PM, Ralph DiMola  wrote:
> Whoops, not tested and I saw an error.
>
> Select mytable.animalname,mytable.animalnumber from (select distinct
> mytable.animalname from mytable as mytable2) left join mytable on
> mytable.animalname = mytable2animalname


You're a bit over my head, but . . .

wouldn't that left join bring *all* the entries for table2 and their
numbers in, so that I would still get repeated animals?

Should there be a . in the middle of the last word?

In test,

Select debtor_table uniqDna, debtor_table cname from  (select
distinct cname FROM debtor_table as mytable2) left join debtor_table
ON debtor_table.cname = mytable2.cname ;

and I get,

   revdberr,Database Error: no such column: mytable2.cname


(in fact, I need cname||cadr, not just name, as some creditors end up
with multiple addresses)


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462

___
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: results of SPLIT when keys not unique

2017-11-02 Thread Bob Sneidar via use-livecode
The last one of course. 

Bob S


> On Nov 2, 2017, at 15:39 , Monte Goulding via use-livecode 
>  wrote:
> 
> A quick test and it looks like split will clobber any new elements with the 
> same key as those previously parsed. The docs state that only one element 
> will be created but are unclear about which element value will be retained.


___
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: results of SPLIT when keys not unique

2017-11-02 Thread Dr. Hawkins via use-livecode
On Thu, Nov 2, 2017 at 3:39 PM, Monte Goulding via use-livecode
 wrote:

> It would probably be nice to have some explicit syntax to govern this 
> behavior so that you could explicitly declare
> you want clobbering behavior or first come best dressed.

explicit is (almost) always nice (says the guy mulling over a PARALLEL
REPEAT syntax . . .)


>If more than one part of the variable delimited by the primaryDelimiter has 
>the same first portion delimited by the
>secondaryDelimiter, only the element corresponding to the first part is 
>created.

ARGH.  I need stronger glasses.  I even went to the Dictionary and
looked, and couldn't see that phrase . . .


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462

___
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: results of SPLIT when keys not unique

2017-11-02 Thread Dr. Hawkins via use-livecode
On Thu, Nov 2, 2017 at 3:45 PM, Ralph DiMola  wrote:
> Whoops, not tested and I saw an error.
>
> Select mytable.animalname,mytable.animalnumber from (select distinct
> mytable.animalname from mytable as mytable2) left join mytable on
> mytable.animalname = mytable2animalname
>

You just shot *way* over my SQL :)

does that last line search for any mytable.animalname that occurs in
mytable2.animalname?

(and if it's that easy, why in the world isn't DISTINCT ON part of SQLite???

thanks




-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462

___
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: results of SPLIT when keys not unique

2017-11-02 Thread Monte Goulding via use-livecode

> On 3 Nov 2017, at 9:39 am, Monte Goulding  wrote:
> 
> It would probably be nice to have some explicit syntax to govern this 
> behavior so that you could explicitly declare you want clobbering behavior or 
> first come best dressed.

Oh… one might also feasibly want output like this I guess:

var[“dog”][1] -> 3
var[“dog”][2] -> 5
var[“cat”]-> 8

Perhaps something like:

split  by  and  [{replacing | 
splitting | ignoring} duplicates]

Cheers

Monte
___
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: results of SPLIT when keys not unique

2017-11-02 Thread Ralph DiMola via use-livecode
Whoops, not tested and I saw an error. 

Select mytable.animalname,mytable.animalnumber from (select distinct
mytable.animalname from mytable as mytable2) left join mytable on
mytable.animalname = mytable2animalname


Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Dr. Hawkins via use-livecode
Sent: Thursday, November 02, 2017 6:24 PM
To: How to use LiveCode
Cc: Dr. Hawkins
Subject: results of SPLIT when keys not unique

If I use split such that keys are not unique, will that have the effect of
filtering out duplicates?

For example, if I have
  dog 3
  dog 5
  cat 8

and SPLIT it, will I end up with 5 in entry dog?

More specifically, is this a defined behavior, or "just how it currently
works"

I'm trying to find a quick & clean way around SQLite's lack of "DISTINCT
ON"--I need to keep those numbered keys attached to work with, and DISTINCT
alone won't due that.

--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462

___
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: results of SPLIT when keys not unique

2017-11-02 Thread Ralph DiMola via use-livecode
Would something like this work?

Select mytable.animalname,mytable.animalnumber from (select distinct
mytable.animal from mytable as mytable2) left join mytable on
mytable.animalname = mytable2animalname


Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Dr. Hawkins via use-livecode
Sent: Thursday, November 02, 2017 6:24 PM
To: How to use LiveCode
Cc: Dr. Hawkins
Subject: results of SPLIT when keys not unique

If I use split such that keys are not unique, will that have the effect of
filtering out duplicates?

For example, if I have
  dog 3
  dog 5
  cat 8

and SPLIT it, will I end up with 5 in entry dog?

More specifically, is this a defined behavior, or "just how it currently
works"

I'm trying to find a quick & clean way around SQLite's lack of "DISTINCT
ON"--I need to keep those numbered keys attached to work with, and DISTINCT
alone won't due that.

--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462

___
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: results of SPLIT when keys not unique

2017-11-02 Thread Monte Goulding via use-livecode
A quick test and it looks like split will clobber any new elements with the 
same key as those previously parsed. The docs state that only one element will 
be created but are unclear about which element value will be retained.

It would probably be nice to have some explicit syntax to govern this behavior 
so that you could explicitly declare you want clobbering behavior or first come 
best dressed.

>From the docs:
> 
> Important: Using the split command can discard data if any of the keys in the 
> original variable are duplicated. If more than one part of the variable 
> delimited by the primaryDelimiter has the same first portion delimited by the 
> secondaryDelimiter, only the element corresponding to the first part is 
> created. (For example, if you are splitting a variable by return and space, 
> and two lines happen to have the same first word, only one of the lines is 
> retained in the array.) Only one element is created for each unique key.

> On 3 Nov 2017, at 9:24 am, Dr. Hawkins via use-livecode 
>  wrote:
> 
> If I use split such that keys are not unique, will that have the
> effect of filtering out duplicates?
> 
> For example, if I have
>  dog 3
>  dog 5
>  cat 8
> 
> and SPLIT it, will I end up with 5 in entry dog?
> 
> More specifically, is this a defined behavior, or "just how it currently 
> works"
> 
> I'm trying to find a quick & clean way around SQLite's lack of
> "DISTINCT ON"--I need to keep those numbered keys attached to work
> with, and DISTINCT alone won't due that.
> 
> -- 
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> 
> ___
> 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


results of SPLIT when keys not unique

2017-11-02 Thread Dr. Hawkins via use-livecode
If I use split such that keys are not unique, will that have the
effect of filtering out duplicates?

For example, if I have
  dog 3
  dog 5
  cat 8

and SPLIT it, will I end up with 5 in entry dog?

More specifically, is this a defined behavior, or "just how it currently works"

I'm trying to find a quick & clean way around SQLite's lack of
"DISTINCT ON"--I need to keep those numbered keys attached to work
with, and DISTINCT alone won't due that.

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462

___
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: Link to iOS device settings

2017-11-02 Thread Monte Goulding via use-livecode
Based on that SO discussion you should be able to use launch url. It looks like 
the url scheme changed from `prefs:` to `App-Prefs:` in iOS 10. So you might 
want to try one then the other.

So:

launch url “App-Prefs:root=NOTIFICATIONS_ID=”
if the result is “no association" then
launch url “prefs:root=NOTIFICATIONS_ID=”
end if

> On 3 Nov 2017, at 7:57 am, Andrew Bell via use-livecode 
>  wrote:
> 
> Is it possible from a LiveCode app to link to the iOS device Settings? I 
> would like to help users enable Push Notifications if they didn't the first 
> time the app was launched, and rather than just describe where it is I'd like 
> to jump to the Settings app.
> 
> Seems to be doable in native programming languages:
> https://stackoverflow.com/questions/5655674/opening-the-settings-app-from-another-app
> 
> --Andrew Bell
> 
> 
> ___
> 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

Link to iOS device settings

2017-11-02 Thread Andrew Bell via use-livecode
Is it possible from a LiveCode app to link to the iOS device Settings?  
I would like to help users enable Push Notifications if they didn't  
the first time the app was launched, and rather than just describe  
where it is I'd like to jump to the Settings app.


Seems to be doable in native programming languages:
https://stackoverflow.com/questions/5655674/opening-the-settings-app-from-another-app

--Andrew Bell


___
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: JSON import error

2017-11-02 Thread J. Landman Gay via use-livecode

On 11/2/17 2:45 PM, Mark Wieder via use-livecode wrote:

On 11/02/2017 11:57 AM, J. Landman Gay via use-livecode wrote:

On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote:
https://en.wikipedia.org/wiki/Rubber_duck_debugging 



Yeah. Story of my life. I've since hit another error in the JSON 
import but now I'm afraid to post about it. :)




Anything having to do with lists/collections?

http://quality.livecode.com/show_bug.cgi?id=19698



I don't think so. The import works with most of the 300 entries in the 
file, but fails on a few with identical syntax that contain some unusual 
characters. I've reported it.


--
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: iPhone X or "Apple is just the most annoying company of all time"

2017-11-02 Thread Mike Kerner via use-livecode
If it's like the 5c and doesn't sell, this won't be a problem.

On Thu, Nov 2, 2017 at 1:35 PM, Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:

> With the X Apple is suggesting that the status bar not be turned off in
> most cases. That would eliminate the issue of the top side cut out. You
> should be able to use the screenrect to determine device (I guess) and not
> hide.
> On Thu, Nov 2, 2017 at 12:07 PM Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > I bet they are working on it right now!
> >
> > Bob S
> >
> >
> > > On Nov 2, 2017, at 09:56 , Ralph DiMola via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> > >
> > > 1. iPhone X has rounded corners and an annoying "tab" at the top and
> the
> > > fact that there is no home button. Users will swipe up from the bottom
> to
> > > get back to the home page. This may cause an issue for apps with
> buttons
> > > towards the bottom of the screen.
> > > 2. Apps that have an edge-to-edge design will have issues with the
> > rounded
> > > corners. And the "annoying tab" at the top.
> > > 3. Developers sites recommend a "Safe Zone". ("Safe Zone"
> > Really??? I
> > > feel I'm back to the 1960s when framing shots for NTSC CRT TVs")
> > >
> > > LC should have a Stand Alone Settings option to use only the safe zone
> > for
> > > the X. There should also be a separate "show status bar" options for
> the
> > X.
> > > This will allow existing apps to render without clipping on the X. We
> > also
> > > need a way to specify ions and splash pages for the X. These items
> along
> > > with Xcode 9.1 support is needed ASAP.
> > >
> > > Ralph DiMola
> > > IT Director
> > > Evergreen Information Services
> > > rdim...@evergreeninfo.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
> >
> >
> > ___
> > 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
>



-- 
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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: JSON import error

2017-11-02 Thread Mark Wieder via use-livecode

On 11/02/2017 11:57 AM, J. Landman Gay via use-livecode wrote:

On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote:
https://en.wikipedia.org/wiki/Rubber_duck_debugging 



Yeah. Story of my life. I've since hit another error in the JSON import 
but now I'm afraid to post about it. :)




Anything having to do with lists/collections?

http://quality.livecode.com/show_bug.cgi?id=19698

--
 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


Re: JSON import error

2017-11-02 Thread J. Landman Gay via use-livecode

On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote:

https://en.wikipedia.org/wiki/Rubber_duck_debugging 



Yeah. Story of my life. I've since hit another error in the JSON import 
but now I'm afraid to post about it. :)


--
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: iPhone X or "Apple is just the most annoying company of all time"

2017-11-02 Thread Brian Milby via use-livecode
With the X Apple is suggesting that the status bar not be turned off in
most cases. That would eliminate the issue of the top side cut out. You
should be able to use the screenrect to determine device (I guess) and not
hide.
On Thu, Nov 2, 2017 at 12:07 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I bet they are working on it right now!
>
> Bob S
>
>
> > On Nov 2, 2017, at 09:56 , Ralph DiMola via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > 1. iPhone X has rounded corners and an annoying "tab" at the top and the
> > fact that there is no home button. Users will swipe up from the bottom to
> > get back to the home page. This may cause an issue for apps with buttons
> > towards the bottom of the screen.
> > 2. Apps that have an edge-to-edge design will have issues with the
> rounded
> > corners. And the "annoying tab" at the top.
> > 3. Developers sites recommend a "Safe Zone". ("Safe Zone"
> Really??? I
> > feel I'm back to the 1960s when framing shots for NTSC CRT TVs")
> >
> > LC should have a Stand Alone Settings option to use only the safe zone
> for
> > the X. There should also be a separate "show status bar" options for the
> X.
> > This will allow existing apps to render without clipping on the X. We
> also
> > need a way to specify ions and splash pages for the X. These items along
> > with Xcode 9.1 support is needed ASAP.
> >
> > Ralph DiMola
> > IT Director
> > Evergreen Information Services
> > rdim...@evergreeninfo.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
>
>
> ___
> 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: iPhone X or "Apple is just the most annoying company of all time"

2017-11-02 Thread Bob Sneidar via use-livecode
I bet they are working on it right now! 

Bob S


> On Nov 2, 2017, at 09:56 , Ralph DiMola via use-livecode 
>  wrote:
> 
> 1. iPhone X has rounded corners and an annoying "tab" at the top and the
> fact that there is no home button. Users will swipe up from the bottom to
> get back to the home page. This may cause an issue for apps with buttons
> towards the bottom of the screen.
> 2. Apps that have an edge-to-edge design will have issues with the rounded
> corners. And the "annoying tab" at the top.
> 3. Developers sites recommend a "Safe Zone". ("Safe Zone" Really??? I
> feel I'm back to the 1960s when framing shots for NTSC CRT TVs")
> 
> LC should have a Stand Alone Settings option to use only the safe zone for
> the X. There should also be a separate "show status bar" options for the X.
> This will allow existing apps to render without clipping on the X. We also
> need a way to specify ions and splash pages for the X. These items along
> with Xcode 9.1 support is needed ASAP. 
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.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


___
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


iPhone X or "Apple is just the most annoying company of all time"

2017-11-02 Thread Ralph DiMola via use-livecode
1. iPhone X has rounded corners and an annoying "tab" at the top and the
fact that there is no home button. Users will swipe up from the bottom to
get back to the home page. This may cause an issue for apps with buttons
towards the bottom of the screen.
2. Apps that have an edge-to-edge design will have issues with the rounded
corners. And the "annoying tab" at the top.
3. Developers sites recommend a "Safe Zone". ("Safe Zone" Really??? I
feel I'm back to the 1960s when framing shots for NTSC CRT TVs")

LC should have a Stand Alone Settings option to use only the safe zone for
the X. There should also be a separate "show status bar" options for the X.
This will allow existing apps to render without clipping on the X. We also
need a way to specify ions and splash pages for the X. These items along
with Xcode 9.1 support is needed ASAP. 

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.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: Announcing our first Livecode app in the iOS App Store

2017-11-02 Thread Ralph DiMola via use-livecode
Congrats! I remember the exhilaration I had after I made it through the
Apple gauntlet.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of hlowe via use-livecode
Sent: Wednesday, November 01, 2017 3:28 PM
To: use-revolut...@lists.runrev.com
Cc: hlowe
Subject: 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


___
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: JSON import error

2017-11-02 Thread Dave Kilroy via use-livecode
https://en.wikipedia.org/wiki/Rubber_duck_debugging 



___
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: Announcing our first Livecode app in the iOS App Store

2017-11-02 Thread Dave Kilroy via use-livecode

Congratulations on the health informatics app!

Occasionally I need to do mappings to ICD-10 so I’ll definitely check out your 
app...

Kind regards

Dave
___
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: JSON import error

2017-11-02 Thread Monte Goulding via use-livecode
file: will recognise the BOM and decode the text correctly. 

> On 2 Nov 2017, at 5:36 pm, J. Landman Gay via use-livecode 
>  wrote:
> 
> 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.


___
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: JSON import error

2017-11-02 Thread J. Landman Gay via use-livecode
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

2017-11-02 Thread J. Landman Gay via use-livecode
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