Re: Navigator 6.2 alpha 1 is out

2018-09-14 Thread Geoff Canyon via use-livecode
Updated to 6.2.2

Fixed an issue where editing fillGradients worked, but creating new ones
was impossible.
Fixed an error in the Color Editor that glitched the user interface a bit.
Updated the Color Editor interface to have images representing all the
options, with tooltips.
Corrected the step value for the Color Editor scrollbar controls.
Added an option to get the mouseColor in the Color Editor.

On Thu, Sep 13, 2018 at 2:34 PM Geoff Canyon  wrote:

> Updated to 6.2.1. Added functionality so that fillGradient can be edited
> along with other properties in Nav's Property Editor. Needs some polish,
> but works just fine.
>
> gc
>
> On Wed, Sep 12, 2018 at 8:33 PM Geoff Canyon  wrote:
>
>> Updated to alpha 4. Updated the prefs format. Prefs now use a custom
>> encode/decode routine so only cr and tab are encoded. The result is simpler
>> to modify as a text file. This version of Nav will still correctly read the
>> old format.
>>
>
___
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: Internet Date Service test

2018-09-14 Thread Mark Wieder via use-livecode

On 09/14/2018 08:30 PM, Peter Bogdanoff via use-livecode wrote:
> I’m not seeing how to translate use of an NTP server into "LC-talk.” 
I would love to use it but Google doesn’t seem to have an API that I can 
access. And I would love the dependability of the Google universe.


NTP uses port 13.

constant kNTPsocket = "time.nist.gov:13"

on mouseUp pMouseButton
   open socket to kNTPsocket with message "opened"
   if the result is not empty then
  put the result after msg
   end if
end mouseUp

on opened
   local tTime

   read from socket kNTPsocket until EOF
   put it into tTime
   put tTime after msg
   close socket kNTPSocket
end opened

--
 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: Internet Date Service test

2018-09-14 Thread Peter Bogdanoff via use-livecode
I’m not seeing how to translate use of an NTP server into "LC-talk.” I would 
love to use it but Google doesn’t seem to have an API that I can access. And I 
would love the dependability of the Google universe.

This one does return JSON:
http://worldclockapi.com 

What I was using before was Julian date which is an easy calculation to use 
with a 30-day free trial. This worldclockapi.com server  returns:
{"$id":"1","currentDateTime":"2018-09-15T03:25Z","utcOffset":"00:00:00","isDayLightSavingsTime":false,"dayOfTheWeek":"Saturday","timeZoneName":"UTC","currentFileTime":13181446165290,"ordinalDate":"2018-258","serviceResponse":null}

The ordinal date could be used, I suppose, to calculate 30 days from now.

Peter


> On Sep 14, 2018, at 8:06 PM, Stephen Barncard via use-livecode 
>  wrote:
> 
> I'd rather use a time server that a lot of people use and is maintained. A
> private web server's clock depends on ...x for reference?
> 
> "Google Public NTP serves leap-smeared time
> . We use this technology to
> smoothly handle leap seconds with no disruptive events.
> 
> We implemented Google Public NTP with our load balancers
>  and our fleet of atomic clocks
> in data centers around the world.
> 
>   - Configure your network settings to use time.google.com as your NTP
>   server."
> 
> 
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
> 
> On Fri, Sep 14, 2018 at 7:55 PM, J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> You could put a little one line CGI on your server that just returns the
>> time and date.
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> 
>> On September 14, 2018 8:47:51 PM Peter Bogdanoff via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>> Yes, that’s right.
>>> 
>>> We had a report of a user setting back his OS date to extend his demo.
>>> This caused us much consternation, thus the desire for an independent date
>>> source.
>>> 
>>> Peter
>>> 
>>> On Sep 14, 2018, at 5:56 PM, Brian Milby via use-livecode <
 use-livecode@lists.runrev.com> wrote:
 
 I think the goal is an independent time (date) source to ensure that the
 value is correct. I’m curious about the best solution. Probably would
 involve your own server though.
 
 Thanks,
 Brian
 On Sep 14, 2018, 7:36 PM -0500, Richard Gaskin via use-livecode <
 use-livecode@lists.runrev.com>, wrote:
 
> Peter Bogdanoff wrote:
> 
> And… if anyone has a method that doesn’t rely on the user’s local
>> date/time I’d like to hear that…
>> 
> 
> Using "the seconds" returns a value that accounts for local GMT offset.
> with the value returned being for GMT.
> 
> So if you get the seconds and then display them on a machine set to a
> different time zone, the time zone will be taken into account when using
> the convert command to display them in any human-readable format.
> 
> FWIW "the internet date" is similarly useful for converting to other
> formats in ways that take local time zone into account.
> 
> AFAIK those are the only two built-in date formats that account for GMT
> offset, but I've used both for network services where users trade data
> across many time zones and they work quite well.
> 
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.com http://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
 
>>> 
>>> 
>>> ___
>>> 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
> 

Re: Internet Date Service test

2018-09-14 Thread Stephen Barncard via use-livecode
I'd rather use a time server that a lot of people use and is maintained. A
private web server's clock depends on ...x for reference?

"Google Public NTP serves leap-smeared time
. We use this technology to
smoothly handle leap seconds with no disruptive events.

We implemented Google Public NTP with our load balancers
 and our fleet of atomic clocks
in data centers around the world.

   - Configure your network settings to use time.google.com as your NTP
   server."


--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org

On Fri, Sep 14, 2018 at 7:55 PM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> You could put a little one line CGI on your server that just returns the
> time and date.
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>
> On September 14, 2018 8:47:51 PM Peter Bogdanoff via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> Yes, that’s right.
>>
>> We had a report of a user setting back his OS date to extend his demo.
>> This caused us much consternation, thus the desire for an independent date
>> source.
>>
>> Peter
>>
>> On Sep 14, 2018, at 5:56 PM, Brian Milby via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>>
>>> I think the goal is an independent time (date) source to ensure that the
>>> value is correct. I’m curious about the best solution. Probably would
>>> involve your own server though.
>>>
>>> Thanks,
>>> Brian
>>> On Sep 14, 2018, 7:36 PM -0500, Richard Gaskin via use-livecode <
>>> use-livecode@lists.runrev.com>, wrote:
>>>
 Peter Bogdanoff wrote:

 And… if anyone has a method that doesn’t rely on the user’s local
> date/time I’d like to hear that…
>

 Using "the seconds" returns a value that accounts for local GMT offset.
 with the value returned being for GMT.

 So if you get the seconds and then display them on a machine set to a
 different time zone, the time zone will be taken into account when using
 the convert command to display them in any human-readable format.

 FWIW "the internet date" is similarly useful for converting to other
 formats in ways that take local time zone into account.

 AFAIK those are the only two built-in date formats that account for GMT
 offset, but I've used both for network services where users trade data
 across many time zones and they work quite well.

 --
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.com http://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
>>>
>>
>>
>> ___
>> 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: Internet Date Service test

2018-09-14 Thread J. Landman Gay via use-livecode
You could put a little one line CGI on your server that just returns the 
time and date.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 14, 2018 8:47:51 PM Peter Bogdanoff via use-livecode 
 wrote:



Yes, that’s right.

We had a report of a user setting back his OS date to extend his demo. This 
caused us much consternation, thus the desire for an independent date source.


Peter

On Sep 14, 2018, at 5:56 PM, Brian Milby via use-livecode 
 wrote:


I think the goal is an independent time (date) source to ensure that the 
value is correct. I’m curious about the best solution. Probably would 
involve your own server though.


Thanks,
Brian
On Sep 14, 2018, 7:36 PM -0500, Richard Gaskin via use-livecode 
, wrote:

Peter Bogdanoff wrote:


And… if anyone has a method that doesn’t rely on the user’s local
date/time I’d like to hear that…


Using "the seconds" returns a value that accounts for local GMT offset.
with the value returned being for GMT.

So if you get the seconds and then display them on a machine set to a
different time zone, the time zone will be taken into account when using
the convert command to display them in any human-readable format.

FWIW "the internet date" is similarly useful for converting to other
formats in ways that take local time zone into account.

AFAIK those are the only two built-in date formats that account for GMT
offset, but I've used both for network services where users trade data
across many time zones and they work quite well.

--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web

ambassa...@fourthworld.com http://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



___
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: Internet Date Service test

2018-09-14 Thread Stephen Barncard via use-livecode
how about google time?

https://developers.google.com/time/

--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org

On Fri, Sep 14, 2018 at 6:45 PM, Peter Bogdanoff via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Yes, that’s right.
>
> We had a report of a user setting back his OS date to extend his demo.
> This caused us much consternation, thus the desire for an independent date
> source.
>
> Peter
>
> > On Sep 14, 2018, at 5:56 PM, Brian Milby via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > I think the goal is an independent time (date) source to ensure that the
> value is correct. I’m curious about the best solution. Probably would
> involve your own server though.
> >
> > Thanks,
> > Brian
> > On Sep 14, 2018, 7:36 PM -0500, Richard Gaskin via use-livecode <
> use-livecode@lists.runrev.com>, wrote:
> >> Peter Bogdanoff wrote:
> >>
> >>> And… if anyone has a method that doesn’t rely on the user’s local
> >>> date/time I’d like to hear that…
> >>
> >> Using "the seconds" returns a value that accounts for local GMT offset.
> >> with the value returned being for GMT.
> >>
> >> So if you get the seconds and then display them on a machine set to a
> >> different time zone, the time zone will be taken into account when using
> >> the convert command to display them in any human-readable format.
> >>
> >> FWIW "the internet date" is similarly useful for converting to other
> >> formats in ways that take local time zone into account.
> >>
> >> AFAIK those are the only two built-in date formats that account for GMT
> >> offset, but I've used both for network services where users trade data
> >> across many time zones and they work quite well.
> >>
> >> --
> >> Richard Gaskin
> >> Fourth World Systems
> >> Software Design and Development for the Desktop, Mobile, and the Web
> >> 
> >> ambassa...@fourthworld.com http://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
>
>
> ___
> 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: Internet Date Service test

2018-09-14 Thread Peter Bogdanoff via use-livecode
Yes, that’s right.

We had a report of a user setting back his OS date to extend his demo. This 
caused us much consternation, thus the desire for an independent date source.

Peter

> On Sep 14, 2018, at 5:56 PM, Brian Milby via use-livecode 
>  wrote:
> 
> I think the goal is an independent time (date) source to ensure that the 
> value is correct. I’m curious about the best solution. Probably would involve 
> your own server though.
> 
> Thanks,
> Brian
> On Sep 14, 2018, 7:36 PM -0500, Richard Gaskin via use-livecode 
> , wrote:
>> Peter Bogdanoff wrote:
>> 
>>> And… if anyone has a method that doesn’t rely on the user’s local
>>> date/time I’d like to hear that…
>> 
>> Using "the seconds" returns a value that accounts for local GMT offset.
>> with the value returned being for GMT.
>> 
>> So if you get the seconds and then display them on a machine set to a
>> different time zone, the time zone will be taken into account when using
>> the convert command to display them in any human-readable format.
>> 
>> FWIW "the internet date" is similarly useful for converting to other
>> formats in ways that take local time zone into account.
>> 
>> AFAIK those are the only two built-in date formats that account for GMT
>> offset, but I've used both for network services where users trade data
>> across many time zones and they work quite well.
>> 
>> --
>> Richard Gaskin
>> Fourth World Systems
>> Software Design and Development for the Desktop, Mobile, and the Web
>> 
>> ambassa...@fourthworld.com http://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


___
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: Internet Date Service test

2018-09-14 Thread Brian Milby via use-livecode
I think the goal is an independent time (date) source to ensure that the value 
is correct. I’m curious about the best solution. Probably would involve your 
own server though.

Thanks,
Brian
On Sep 14, 2018, 7:36 PM -0500, Richard Gaskin via use-livecode 
, wrote:
> Peter Bogdanoff wrote:
>
> > And… if anyone has a method that doesn’t rely on the user’s local
> > date/time I’d like to hear that…
>
> Using "the seconds" returns a value that accounts for local GMT offset.
> with the value returned being for GMT.
>
> So if you get the seconds and then display them on a machine set to a
> different time zone, the time zone will be taken into account when using
> the convert command to display them in any human-readable format.
>
> FWIW "the internet date" is similarly useful for converting to other
> formats in ways that take local time zone into account.
>
> AFAIK those are the only two built-in date formats that account for GMT
> offset, but I've used both for network services where users trade data
> across many time zones and they work quite well.
>
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.com http://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: Internet Date Service test

2018-09-14 Thread Richard Gaskin via use-livecode

Peter Bogdanoff wrote:

> And… if anyone has a method that doesn’t rely on the user’s local
> date/time I’d like to hear that…

Using "the seconds" returns a value that accounts for local GMT offset. 
with the value returned being for GMT.


So if you get the seconds and then display them on a machine set to a 
different time zone, the time zone will be taken into account when using 
the convert command to display them in any human-readable format.


FWIW "the internet date" is similarly useful for converting to other 
formats in ways that take local time zone into account.


AFAIK those are the only two built-in date formats that account for GMT 
offset, but I've used both for network services where users trade data 
across many time zones and they work quite well.


--
 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: Internet Date Service test

2018-09-14 Thread Peter Bogdanoff via use-livecode
That sounds plausible.

I am getting uneven results with this…

Is this a job for LC Server? To return the seconds and then do my calculations 
from that?

Peter

> On Sep 14, 2018, at 4:06 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Also it dawns on me that the US Navy may firewall it's own time servers so 
> that they are no DOS attacked. 
> 
> Bob S
> 
> 
>> On Sep 14, 2018, at 15:58 , Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> While the USA does not firewall it's internet, there are countries that do. 
>> Costa Rica may be one of them. 
>> 
>> Bob S
>> 
>> 
>>> On Sep 14, 2018, at 15:33 , Peter Bogdanoff via use-livecode 
>>>  wrote:
>>> 
>>> It seems to work well in on my computer and others in the USA, but a 
>>> Windows tester in Costa Rica can’t seem to get a response. I haven’t 
>>> figured out if this is a programming or Internet issue, and it’s difficult 
>>> to determine since it works well for me on Mac and Windows.
> 
> ___
> 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: Internet Date Service test

2018-09-14 Thread Bob Sneidar via use-livecode
Also it dawns on me that the US Navy may firewall it's own time servers so that 
they are no DOS attacked. 

Bob S


> On Sep 14, 2018, at 15:58 , Bob Sneidar via use-livecode 
>  wrote:
> 
> While the USA does not firewall it's internet, there are countries that do. 
> Costa Rica may be one of them. 
> 
> Bob S
> 
> 
>> On Sep 14, 2018, at 15:33 , Peter Bogdanoff via use-livecode 
>>  wrote:
>> 
>> It seems to work well in on my computer and others in the USA, but a Windows 
>> tester in Costa Rica can’t seem to get a response. I haven’t figured out if 
>> this is a programming or Internet issue, and it’s difficult to determine 
>> since it works well for me on Mac and Windows.

___
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: Internet Date Service test

2018-09-14 Thread Bob Sneidar via use-livecode
While the USA does not firewall it's internet, there are countries that do. 
Costa Rica may be one of them. 

Bob S


> On Sep 14, 2018, at 15:33 , Peter Bogdanoff via use-livecode 
>  wrote:
> 
> It seems to work well in on my computer and others in the USA, but a Windows 
> tester in Costa Rica can’t seem to get a response. I haven’t figured out if 
> this is a programming or Internet issue, and it’s difficult to determine 
> since it works well for me on Mac and Windows.

___
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] Working with Android devices

2018-09-14 Thread Peter W A Wood via use-livecode
Many thanks Jacque, Richard and Bob.

___
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: Internet Date Service test

2018-09-14 Thread Stephen Barncard via use-livecode
Hi Peter,

why don't you consider a VPN for such testing? It can place you in any
country you need, and you get immediate confirmation.   VPN's are plentiful
and free to cheap.

sqb

--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org

On Fri, Sep 14, 2018 at 3:33 PM, Peter Bogdanoff via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi,
>
> For trial version expiration of my program, I’ve been attempting to use
> the US Naval Observatory time service which has an API that returns info as
> JSON data:
>
> http://aa.usno.navy.mil/data/docs/api.php#jdconv <
> http://aa.usno.navy.mil/data/docs/api.php#jdconv>
>
> My request:
> put URL "http://api.usno.navy.mil/jdconverter?date=today=
> 22:15:23.5=ArtsInteractive" into sJulianDateJSON
>
> I have a handler that checks for the local variable sJulianDateJSON to
> contain the returned data, then I use the current Julian date returned (the
> number of days since January 1, 4713 BC) to write and check on the current
> date and expiration dates.
>
> It seems to work well in on my computer and others in the USA, but a
> Windows tester in Costa Rica can’t seem to get a response. I haven’t
> figured out if this is a programming or Internet issue, and it’s difficult
> to determine since it works well for me on Mac and Windows.
>
>
>
> Would any of you test this small LC stack — in the USA or elsewhere? And
> send me results directly to my email address?
>
> https://artsinteractive-products.s3.amazonaws.com/
> MITA/Get_Julian_Date.livecode.zip  products.s3.amazonaws.com/MITA/Get_Julian_Date.livecode.zip>
>
> 1. Click “Get Julian Date”. If it works, it should show a number in the
> “Julian Date” field after a few seconds.
> 2. “Clear” resets the result fields
> 3. The top field “Try x times” can be set to a larger number if necessary.
> 4. If it works the “Send Email” will attempt to use your email client to
> email me the results.
>
>
> And… if anyone has a method that doesn’t rely on the user’s local
> date/time I’d like to hear that…
>
> Thanks!
>
> Peter Bogdanoff
> ArtsInteractive
> ___
> 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

Internet Date Service test

2018-09-14 Thread Peter Bogdanoff via use-livecode
Hi,

For trial version expiration of my program, I’ve been attempting to use the US 
Naval Observatory time service which has an API that returns info as JSON data:

http://aa.usno.navy.mil/data/docs/api.php#jdconv 


My request:
put URL 
"http://api.usno.navy.mil/jdconverter?date=today=22:15:23.5=ArtsInteractive;
 into sJulianDateJSON

I have a handler that checks for the local variable sJulianDateJSON to contain 
the returned data, then I use the current Julian date returned (the number of 
days since January 1, 4713 BC) to write and check on the current date and 
expiration dates.

It seems to work well in on my computer and others in the USA, but a Windows 
tester in Costa Rica can’t seem to get a response. I haven’t figured out if 
this is a programming or Internet issue, and it’s difficult to determine since 
it works well for me on Mac and Windows.



Would any of you test this small LC stack — in the USA or elsewhere? And send 
me results directly to my email address?

https://artsinteractive-products.s3.amazonaws.com/MITA/Get_Julian_Date.livecode.zip
 


1. Click “Get Julian Date”. If it works, it should show a number in the “Julian 
Date” field after a few seconds.
2. “Clear” resets the result fields
3. The top field “Try x times” can be set to a larger number if necessary.
4. If it works the “Send Email” will attempt to use your email client to email 
me the results.


And… if anyone has a method that doesn’t rely on the user’s local date/time I’d 
like to hear that…

Thanks!

Peter Bogdanoff
ArtsInteractive
___
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: Calendar widget again...

2018-09-14 Thread Klaus major-k via use-livecode
Hallo Hermann,

> Am 14.09.2018 um 21:01 schrieb hh via use-livecode 
> :
> 
> Klaus,
> 
> honestly, if you never worked with LCB then you better use
> one of the many LC Script versions, for example
> http://forums.livecode.com/viewtopic.php?p=129713#p129713
> (you can switch Mo or So week start there).
> To get more than display functions of 1-3-6-12 months is,
> based on that, certainly no problem for you.

thank you for the hint, will surely take a look.

> Hermann

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
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: Calendar widget again...

2018-09-14 Thread hh via use-livecode
Add in

http://forums.livecode.com/viewtopic.php?p=129713#p129713

to the card script:

on mouseUp
  put the clickText into cT
  if cT is a number and cT < 31 then
put   "day: "   & cT & \
  "month: " & the label of btn "month" & \
  "year: "  & the label of btn "year"
  end if
end mouseUp

Then you have the clicked date of the *center* calendar
(=number 1 of 1 or number 2 of 3 or number 2 of 6 or number 5 of 12.)

Don't forget: rightClick the calendar to show/hide an options group.

___
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: Calendar widget again...

2018-09-14 Thread hh via use-livecode
Klaus,

honestly, if you never worked with LCB then you better use
one of the many LC Script versions, for example

http://forums.livecode.com/viewtopic.php?p=129713#p129713
(you can switch Mo or So week start there).

To get more than display functions of 1-3-6-12 months is,
based on that, certainly no problem for you.

Hermann

___
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


Windows 10 and Me.

2018-09-14 Thread Richmond via use-livecode

Not, sadly, a peon of praise for Microsoft's "latest and greatest".

Nor is it the start of a saucy porn novel.

So, a boy running LEGAL Windows 10 (this IS unusual in Bulgaria) tried 
to install

LiveCode 8.1.10 on his machine.

He got bogged down, so I went round to his house and tried the following:

To install LC 8.1.9, 8.1.10 and 9.0.1 on his machine, in all 3 cases in 
all 3 ways (For all, for me, fancy-pants-custom).


In ALL cases they installed.

In ALL cases they loaded with the splash screen, and then: NO revMenuBar 
and NO revTools:

pressing CTRL-M did NOT bring up the Message Box.

[I ended up doing something "totally 'forked' ": installed VirtualBox 
with MX Linux inside and then installed LiveCode for Linux 64 bit in the 
virtual machine: kept the boy happy: but NOT me.


Spoke to his Mum about the problem, and she told me I was free, anytime 
I wanted to pop back and bung caches and so forth onto a flash-drive so 
I could post them to LiveCode central.


An odd sort of day, with darkening clouds on the horizon with a promise 
of rain.


Richmon.

___
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: Calendar widget again...

2018-09-14 Thread Bob Sneidar via use-livecode
I took BN's calendar some time ago and created a date range "widget" (not a 
real widget) where clicking on a start date in the start calendar set the end 
date in the end calendar to the next day, and prevented you from picking an end 
date earlier than the start date or start later than the end. I'll dig that up 
sometime and post it. 

Bob S


> On Sep 14, 2018, at 11:20 , Klaus major-k via use-livecode 
>  wrote:
> 
> Hi all,
> 
> some days ago I downloaded Elenors calendar widget
> and found it quite disappointing compared to BNs version.
> 
> No icon in the TOOLs palette and, most annoying, we cannot 
> set that the first day of week to MONDAY, as in germany and 
> many non english countries (Nudge, Nudge!).
> 
> I have the source code of Elenor/BNs old widget, how can I 
> create a widget for LC 9 out of it?
> 
> Thanks for any hints!
> 
> 
> Best
> 
> Klaus
> --
> Klaus Major
> http://www.major-k.de
> kl...@major-k.de


___
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


Calendar widget again...

2018-09-14 Thread Klaus major-k via use-livecode
Hi all,

some days ago I downloaded Elenors calendar widget
and found it quite disappointing compared to BNs version.

No icon in the TOOLs palette and, most annoying, we cannot 
set that the first day of week to MONDAY, as in germany and 
many non english countries (Nudge, Nudge!).

I have the source code of Elenor/BNs old widget, how can I 
create a widget for LC 9 out of it?

Thanks for any hints!


Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
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] Working with Android devices

2018-09-14 Thread Bob Sneidar via use-livecode
I use it too on Richards advice. Just a note of caution: If you sync your 
device with a Nextcloud device, the Nextcloud device considers itself as the 
master, and your device as a backup. That means that if you then tell the 
Nextcloud interface to exclude a folder that has already been synced, it will 
DELETE THE FOLDER FROM YOUR DEVICE!!! 

I've gone around and around with the devs about this, and in their view this is 
how it ought to be. There is a long thread about this in their forums with a 
lot of people chiming in with the same degree dismay and consternation as I 
had, and so far as I can tell, there is no intention to change this model. 

There have been some suggestions about consoling into the nextcloud device and 
changing some parameters, or a future update adding an option to prevent 
Nextcloud from treating it's own copy of a folder as the master repository. I 
only say that to say this: be VERY CAREFUL about how you set up your initial 
folder syncs. DO NOT THINK sync an entire folder, *then* go back and exclude 
some folders. This will cause you to lose data. If you need to sync a subset of 
folders, create a separate sync for each of those folders. 

Bob S


> On Sep 14, 2018, at 09:26 , Richard Gaskin via use-livecode 
>  wrote:
> 
> Peter W A Wood wrote:
> 
> > I have recently got an Android tablet and am seeking advice on how
> > best to work with it in general, not so much with Livecode yet. My
> > main machine is a Mac. I would like to be able to easily swap files
> > with the Android tablet via wifi and to remotely login to it from
> > the Mac.
> 
> How I share files (and a whole lot more) between all my computing devices:
> 
> https://www.nextcloud.com/
> 
> For my own use I have Nextcloud installed on a small server in my office.  
> For sharing with clients I have another on a VPS.  Nextcloud lets me sync 
> with any number of servers, with fine-grained control over what's synced and 
> what's excluded.  Native clients available for macOS, Windows, Linux, iOS, 
> and Android.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web


___
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] Working with Android devices

2018-09-14 Thread Richard Gaskin via use-livecode

Peter W A Wood wrote:

> I have recently got an Android tablet and am seeking advice on how
> best to work with it in general, not so much with Livecode yet. My
> main machine is a Mac. I would like to be able to easily swap files
> with the Android tablet via wifi and to remotely login to it from
> the Mac.

How I share files (and a whole lot more) between all my computing devices:

https://www.nextcloud.com/

For my own use I have Nextcloud installed on a small server in my 
office.  For sharing with clients I have another on a VPS.  Nextcloud 
lets me sync with any number of servers, with fine-grained control over 
what's synced and what's excluded.  Native clients available for macOS, 
Windows, Linux, iOS, and Android.


--
 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: [OT] Working with Android devices

2018-09-14 Thread J. Landman Gay via use-livecode
I should clarify, you can't really run Android apps on your Mac, you run 
them on the Android device and they display on the computer. I've used this 
for presentations.


Also, I'd be surprised if any remote access method could actually log into 
an Android device that has a screen lock. That would be a huge security 
risk. ADB may allow it (I haven't looked into that) but it does require 
cabling to the computer.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 14, 2018 10:16:47 AM "J. Landman Gay via use-livecode" 
 wrote:



Take a look at AirDroid, it's free and in the Play Store. It mounts the
Android device on the Mac desktop and allows dragging files in either
direction over your local network. It also allows a lot of other things
too, including running your Android apps on the Mac.

If you want a more shell type experience, use ADB, which you'll need to
install anyway if you develop apps. ADB is part of the Android SDK.

For some types of files you can just cable the device to the Mac and it
shows up as a volume on the desktop, but this has some limitations
depending on the manufacturer.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 14, 2018 4:56:53 AM Peter W A Wood via use-livecode
 wrote:


I have recently got an Android tablet and am seeking advice on how best to
work with it in general, not so much with Livecode yet. My main machine is
a Mac. I would like to be able to easily swap files with the Android tablet
via wifi and to remotely login to it from the Mac. I am hoping that I can
do so over the local wifi rather than having to connect the Android tablet
via USB.

I have a couple of Raspberry Pis on which I installed netatalk so that I
can access their file systems in macOS Finder. It makes swapping data
between the Mac and the Raspberry Pi a simple matter of drag and drop. Does
anybody know if it is possible to install netatalk on an Android device?

I usually use SSH to run programs on the Raspberry Pi. I see that there is
an app called SSHDroid. Has anybody used it or something similar?

When I want to access the Raspberry Pi desktop, I connect to the VNC server
running on the Raspberry Pi. Is anybody connecting to their Android "tablet
top” from a Mac? How do yo do it?

Sorry about going off topic.

Peter
___
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: LIC 9.0.1 Stable Redraw Problem

2018-09-14 Thread Ralph DiMola via use-livecode
Randy,

I had the same problem(see QCC 21558). I was hammered this week and have not 
yet submitted a test stack. I was disabling controls AND setting the 
blendlevel. The buttons and fields reappeared when I commented out changing the 
blendlevel and only do a "set the disabled of button mybtn to true". It's 
something to do with the blendlevel, but A small test stack does not 
demonstrate the bug. I will try to make a small test stack but may have to 
submit my entire stack to Panos.

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 
Randy Hengst via use-livecode
Sent: Friday, September 14, 2018 8:23 AM
To: How to use LiveCode
Cc: Randy Hengst
Subject: LIC 9.0.1 Stable Redraw Problem

Hi All,

I’ve begun the task of updating my iOS apps to work with iOS12 and have run 
into a problem.

I use “disable buttons” a lot. And, every time it is invoked… in multiple apps… 
the buttons set to disabled disappear. It doesn’t matter if the disabled icon 
is set or left at zero.

I only see this issue on a device or in the simulator. Everything looks fine in 
the IDE.

Anyone else use “disable” and can check it out with your setup?

I’m using LC 9.0.1 Stable; Xcode 9.2 and MacOS 10.12.6

I’ve not tried to create a stack from scratch to check on this issue, but I’ve 
seen it in 3 out of 3 apps that I’ve begun to update.

be well,
randy
www.classroomFocusedSoftware.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: [OT] Working with Android devices

2018-09-14 Thread J. Landman Gay via use-livecode
Take a look at AirDroid, it's free and in the Play Store. It mounts the 
Android device on the Mac desktop and allows dragging files in either 
direction over your local network. It also allows a lot of other things 
too, including running your Android apps on the Mac.


If you want a more shell type experience, use ADB, which you'll need to 
install anyway if you develop apps. ADB is part of the Android SDK.


For some types of files you can just cable the device to the Mac and it 
shows up as a volume on the desktop, but this has some limitations 
depending on the manufacturer.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 14, 2018 4:56:53 AM Peter W A Wood via use-livecode 
 wrote:


I have recently got an Android tablet and am seeking advice on how best to 
work with it in general, not so much with Livecode yet. My main machine is 
a Mac. I would like to be able to easily swap files with the Android tablet 
via wifi and to remotely login to it from the Mac. I am hoping that I can 
do so over the local wifi rather than having to connect the Android tablet 
via USB.


I have a couple of Raspberry Pis on which I installed netatalk so that I 
can access their file systems in macOS Finder. It makes swapping data 
between the Mac and the Raspberry Pi a simple matter of drag and drop. Does 
anybody know if it is possible to install netatalk on an Android device?


I usually use SSH to run programs on the Raspberry Pi. I see that there is 
an app called SSHDroid. Has anybody used it or something similar?


When I want to access the Raspberry Pi desktop, I connect to the VNC server 
running on the Raspberry Pi. Is anybody connecting to their Android "tablet 
top” from a Mac? How do yo do it?


Sorry about going off topic.

Peter
___
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: LIC 9.0.1 Stable Redraw Problem

2018-09-14 Thread panagiotis merakos via use-livecode
Hello Randy,

I just tested on iOS 11.4 simulator and I cannot reproduce this problem.
Could you file a bug report and attach a simple stack that demonstrates the
problem? If it is a bug we will try to fix it in the upcoming 9.0.2 rc1.

BTW, which version of LC did you use to build these apps, before updating
them with LC 9.0.1?

Best,
Panos
--

On Fri, Sep 14, 2018 at 3:24 PM Randy Hengst via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi All,
>
> I’ve begun the task of updating my iOS apps to work with iOS12 and have
> run into a problem.
>
> I use “disable buttons” a lot. And, every time it is invoked… in multiple
> apps… the buttons set to disabled disappear. It doesn’t matter if the
> disabled icon is set or left at zero.
>
> I only see this issue on a device or in the simulator. Everything looks
> fine in the IDE.
>
> Anyone else use “disable” and can check it out with your setup?
>
> I’m using LC 9.0.1 Stable; Xcode 9.2 and MacOS 10.12.6
>
> I’ve not tried to create a stack from scratch to check on this issue, but
> I’ve seen it in 3 out of 3 apps that I’ve begun to update.
>
> be well,
> randy
> www.classroomFocusedSoftware.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

LIC 9.0.1 Stable Redraw Problem

2018-09-14 Thread Randy Hengst via use-livecode
Hi All,

I’ve begun the task of updating my iOS apps to work with iOS12 and have run 
into a problem.

I use “disable buttons” a lot. And, every time it is invoked… in multiple apps… 
the buttons set to disabled disappear. It doesn’t matter if the disabled icon 
is set or left at zero.

I only see this issue on a device or in the simulator. Everything looks fine in 
the IDE.

Anyone else use “disable” and can check it out with your setup?

I’m using LC 9.0.1 Stable; Xcode 9.2 and MacOS 10.12.6

I’ve not tried to create a stack from scratch to check on this issue, but I’ve 
seen it in 3 out of 3 apps that I’ve begun to update.

be well,
randy
www.classroomFocusedSoftware.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

[OT] Working with Android devices

2018-09-14 Thread Peter W A Wood via use-livecode
I have recently got an Android tablet and am seeking advice on how best to work 
with it in general, not so much with Livecode yet. My main machine is a Mac. I 
would like to be able to easily swap files with the Android tablet via wifi and 
to remotely login to it from the Mac. I am hoping that I can do so over the 
local wifi rather than having to connect the Android tablet via USB.

I have a couple of Raspberry Pis on which I installed netatalk so that I can 
access their file systems in macOS Finder. It makes swapping data between the 
Mac and the Raspberry Pi a simple matter of drag and drop. Does anybody know if 
it is possible to install netatalk on an Android device?

I usually use SSH to run programs on the Raspberry Pi. I see that there is an 
app called SSHDroid. Has anybody used it or something similar? 

When I want to access the Raspberry Pi desktop, I connect to the VNC server 
running on the Raspberry Pi. Is anybody connecting to their Android "tablet 
top” from a Mac? How do yo do it?

Sorry about going off topic.

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