Re: Small and strange problem

2020-05-10 Thread scott--- via use-livecode
How does tMins acquire the data? Are you certain it contains what you expect 
when you aren’t stepping through the code (and slowing things down)? perhaps a 
“put tMins" or “answer tMins” would expose something. (Probably not, but we are 
curious!)
—
Scott

> On May 10, 2020, at 12:52 PM, Tom Glod via use-livecode 
>  wrote:
> 
> try putting a space between the left and right of the / and see if you
> still get it.
> 
> On Sun, May 10, 2020 at 1:10 PM Paul Hibbert via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> No replies so far, so I had a few minutes spare and tried to recreate this
>> problem, but couldn’t. No matter what I put into tMins first, even an empty
>> variable still returned 0, so my suggestion would be to wrap the script in
>> a try - catch to see what’s going on with the left operand (tMins) during
>> the equation, something like:
>> 
>>   try
>>  put (tMins/60) into tMins
>>   catch tError
>>  if tError then answer "An Error Occurred;"  && tError & return &
>> "tMins =" && tMins
>>   end try
>> 
>> I tried in both versions of LC that you mentioned and saw no problem.
>> 
>> Maybe somebody else will have a better idea.
>> 
>> Paul
>> 
>>> On May 9, 2020, at 07:05, Graham Samuel via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> I’m using LC 9.6.0 dp4 and 9.5.1 - this issue is seen in both versions.
>>> 
>>> I have a script with a very simple statement:
>>> put (tMins/60) into tMins
>>> 
>>> tMins contains a number, and as expected I get a numeric result, for
>> example if tMins is 31, I get 0.516667
>>> 
>>> but ONLY when I step through the script in the IDE. If I let the script
>> run, the IDE reports an error:
>>> 
 Execution error (operators /: error in left operand, char 1
>>> 
>>> 
>>> Either there’s an error or there isn’t. What can be wrong? I suppose as
>> usual it’s me, but I am foxed.
>>> 
>>> Graham
>>> ___
>>> 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
>> 
> 
> 
> -- 
> Tom Glod
> Founder & Developer
> MakeShyft R.D.A (www.makeshyft.com)
> Mobile:647.562.9411
> ___
> 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: Small and strange problem

2020-05-10 Thread Tom Glod via use-livecode
try putting a space between the left and right of the / and see if you
still get it.

On Sun, May 10, 2020 at 1:10 PM Paul Hibbert via use-livecode <
use-livecode@lists.runrev.com> wrote:

> No replies so far, so I had a few minutes spare and tried to recreate this
> problem, but couldn’t. No matter what I put into tMins first, even an empty
> variable still returned 0, so my suggestion would be to wrap the script in
> a try - catch to see what’s going on with the left operand (tMins) during
> the equation, something like:
>
>try
>   put (tMins/60) into tMins
>catch tError
>   if tError then answer "An Error Occurred;"  && tError & return &
> "tMins =" && tMins
>end try
>
> I tried in both versions of LC that you mentioned and saw no problem.
>
> Maybe somebody else will have a better idea.
>
> Paul
>
> > On May 9, 2020, at 07:05, Graham Samuel via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > I’m using LC 9.6.0 dp4 and 9.5.1 - this issue is seen in both versions.
> >
> > I have a script with a very simple statement:
> >  put (tMins/60) into tMins
> >
> > tMins contains a number, and as expected I get a numeric result, for
> example if tMins is 31, I get 0.516667
> >
> > but ONLY when I step through the script in the IDE. If I let the script
> run, the IDE reports an error:
> >
> >> Execution error (operators /: error in left operand, char 1
> >
> >
> > Either there’s an error or there isn’t. What can be wrong? I suppose as
> usual it’s me, but I am foxed.
> >
> > Graham
> > ___
> > 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
>


-- 
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411
___
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: upcoming online conferences

2020-05-10 Thread Jim Lambert via use-livecode
Mark,

Thank for the links and for the Machine Learning intro link.

Jim Lambert

___
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: Small and strange problem

2020-05-10 Thread Paul Hibbert via use-livecode
No replies so far, so I had a few minutes spare and tried to recreate this 
problem, but couldn’t. No matter what I put into tMins first, even an empty 
variable still returned 0, so my suggestion would be to wrap the script in a 
try - catch to see what’s going on with the left operand (tMins) during the 
equation, something like:

   try
  put (tMins/60) into tMins
   catch tError
  if tError then answer "An Error Occurred;"  && tError & return & "tMins 
=" && tMins
   end try

I tried in both versions of LC that you mentioned and saw no problem. 

Maybe somebody else will have a better idea.

Paul

> On May 9, 2020, at 07:05, Graham Samuel via use-livecode 
>  wrote:
> 
> I’m using LC 9.6.0 dp4 and 9.5.1 - this issue is seen in both versions.
> 
> I have a script with a very simple statement:
>  put (tMins/60) into tMins
> 
> tMins contains a number, and as expected I get a numeric result, for example 
> if tMins is 31, I get 0.516667
> 
> but ONLY when I step through the script in the IDE. If I let the script run, 
> the IDE reports an error:
> 
>> Execution error (operators /: error in left operand, char 1
> 
> 
> Either there’s an error or there isn’t. What can be wrong? I suppose as usual 
> it’s me, but I am foxed.
> 
> Graham
> ___
> 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: Recommended (simple) Linux distro for Livecode server home dev/test?

2020-05-10 Thread John McKenzie via use-livecode


 Hello, Kieth.

 My health problems have kept me from really participating on the list
for a long time but I stayed as I want to get back to using Livecode at
some point. Your question about linux distros for server use on old
hardware though is something I can comment on.

 Sorry I did not post this earlier before you more or less made a
decision. At first I though the suggestions made were terrible because
you said it was old hardware. Then I realized the problem is I am old
and the others who responded were not picturing machines from the mid
1990's unlike me.

 I would go along with the suggestions made, especially the Lubuntu one
assuming your hardware can handle it. If it cannot please post a
follow up with an idea of how old your hardware is and I will make some
specific recommendations. Let us hope your machine is not so old we
start talking about Slackware installations but if we do I will get you
some help with it. :-)

 The best way to make Ubuntu more efficient is to use a desktop
environment (DE) that is less fancy and therefore less resource
intensive. (Any flavour of Ubuntu can make use of any DE just by
installing some extra software packages. Keep that in mind if you for
some reason need to change the DE.)

 We could make the system even more efficient by starting with a base
Debian install and building it up piece by piece to what you need.
(Ubuntu is Debian based by the way.) Not as newbie friendly as
installing Lubuntu but not hard either. Just something I am throwing
out there as a backup plan. We can discuss it if you need it, but you
will probably be OK with trying Lubuntu, etc.

 Good luck. Post a follow up if your hardware cannot handle the initial
suggestions and we discuss other options.



___
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: Not quite OT: Privacy Policy

2020-05-10 Thread Graham Samuel via use-livecode
Thanks Jacque and JB. Sound advice, which I will instantly take.

Graham

PS I was surprised on Googling all this that there are paid-for generators for 
this kind of thing, including Cookie policies etc. I suppose it makes sense to 
some, but I would personally not wish to go down that path even if my needs 
were more complex. Legal mumbo-jumbo indeed.

> On 10 May 2020, at 06:23, JB via use-livecode  
> wrote:
> 
> Even if Apple does read them you satisfied the reason
> for Apple to inform people on how your app is used.  It
> is not an intent of Apple to force you to use a lawyer or
> require you to explain your app in legal mumbo jumbo.
> 
> Most people would rather read your honest explanation
> than read the ones written by attorneys.
> 
> JB
> 
> 
>> On May 9, 2020, at 8:38 PM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> I wrote a very short paragraph saying the app had no internet connection and 
>> no special permissions, that no data was ever sent, and that information was 
>> only stored locally on the user's device. I think it was only two or three 
>> sentences. I stuck it on my web site and it was fine. I kind of doubt Apple 
>> ever reads those.
>> 
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> On May 9, 2020 5:04:01 PM Graham Samuel via use-livecode 
>>  wrote:
>> 
>>> I find that to publish an app on the Apple App Store, or even reach the 
>>> TestFlight stage, I need a Privacy Policy. This for an app that collects no 
>>> personal data and doesn’t use the internet. Frankly I’m thinking of copying 
>>> and adapting a PL from another app that is similarly simple, rather than 
>>> using an overly complex generated one. How do others cope with this?
>>> 
>>> Graham
>>> 
>>> Sent from my iPhone
>>> ___
>>> 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: Recommended (simple) Linux distro for Livecode server home dev/test?

2020-05-10 Thread Keith Clarke via use-livecode
Great, thanks - to all who responded - nothing quite like a shortlist of one to 
ease decision-making! :)

Time to have a play...
Best,
Keith..

>> On 9 May 2020, at 20:01, Richard Gaskin via use-livecode 
>>  wrote:
>> 
>> Keith Clarke wrote:
>> Hi folks,
>> Which distro(s) would you recommend for a Linux newbie as the easiest
>> way to repurpose an old PC, Mac Laptop or Mini to host Livecode Server
>> for lightweight ‘LAMP/LAML' dev/test dabbling?
>> I’ve never had a Linux desktop machine and server-wise, never had to
>> delve below C-Panel & WHM on hosted VPS Linux environments - so am
>> very much the newbie on this.
> 
> Ubuntu, without question.
> 
> There many great distros, and I don't think there is a single "best". But 
> Ubuntu has by far the largest installed base, so most of the tutorials and 
> other support materials you'll find are written with Ubuntu in mind.
> 
> This is especially true on servers. Heck, even on Microsoft's Azure cloud 
> ecosystem. Ubuntu is the leading OS.
> 
> Desktop:
> https://ubuntu.com/download/desktop
> 
> Server:
> https://ubuntu.com/download/server
> 
> You may change later; some folks like to distro-hop often. But the vast range 
> of support materials makes Ubuntu the go-to starting point for getting into 
> Linux.
> 
> 
>> Hardware specs would be useful, too - to gauge how far back on the
>> cupboard to reach to source an appropriate box!
> 
> You can check the requirements at the site, but you probably don't need to 
> worry about it.  If it's for a sever you won't need the GUI desktop edition, 
> and it's the desktop where requirements tend to be much higher.  There's a 
> flavor of Ubuntu for everything from Raspberry Pi to supercomputing clusters 
> - you should have no trouble finding one for your old PCs. The Server edition 
> should get you up and running on just about any machine made in the last 10 
> years or more.
> 
> 
> If you want a GUI desktop edition and have an old machine that's a bit 
> underpowered for Ubuntu, there's a lightweight flavor you can use:
> 
> https://lubuntu.net/
> 
> Lubuntu is the leanest Ubuntu flavor I've tried.  It's been running on my 
> desk almost continuously for the last decade, downloading, collating, and 
> posting data for the info you see in LiveNet (see the GoLiveNet plugin in 
> LC's Plugins menu).
> 
> I prefer Ubuntu's Gnome Shell for my main workstation, but on lower-powered 
> machines I've been impressed with how efficiently Lubuntu runs.
> 
> -- 
> 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

___
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