Re: Is it possible to implement Mac App Store in-app purchases in LiveCode?

2021-01-11 Thread Tom Glod via use-livecode
HI am surprised no one answered this,

I found this.

https://lessons.livecode.com/m/4069/l/186807-how-do-i-implement-in-app-purchases-in-livecode-apple-appstore

On Sun, Jan 3, 2021 at 5:11 PM kee nethery via use-livecode <
use-livecode@lists.runrev.com> wrote:

> And if it is possible to do in-app purchases in macOS apps, are there
> instructions or sample code anywhere? It appears to me that the Apple
> documentation assumes I am using Swift and have imported a set of libraries
> that are called via Swift.
>
> Is there a sample stack somewhere for Mac apps?
>
> Has someone created a library I can use?
>
> Thanks,
> Kee Nethery
> ___
> 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: LC & Mac M1 Chip

2021-01-11 Thread Bob Sneidar via use-livecode
Fuzzy logic makes my brain itch. 

Bob S


> On Jan 9, 2021, at 9:36 PM, Rick Harrison via use-livecode 
>  wrote:
> 
> Otherwise code uses fuzzy logic!  LOL
> 
> Rick
> 
>> On Jan 9, 2021, at 5:34 PM, Curry Kenworthy via use-livecode 
>>  wrote:
>> 
>> Otherwise code would be unpredictable.
> 
> ___
> 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: Threads in LC

2021-01-11 Thread Bob Sneidar via use-livecode
That would be awesome. I really need to do this for the File Storage library I 
want to include in my app. Right now I just save the PDFs on my local HDD, and 
each client has it’s own subset of the files it creates. But if I could pass 
the binary data for the PDF over a client server system of some sort, I could 
centrally store and recall all the documents from ALL the clients, hence the 
beginnings of a Document Capture and Storage app written in LC. 

Bob S


> On Jan 8, 2021, at 5:32 PM, Alex Tweedly via use-livecode 
>  wrote:
> 
> 
> On 08/01/2021 01:51, Bob Sneidar via use-livecode wrote:
>> I have thought about this a bit. If what you mean by multiprocessing is that 
>> a new process can be spawned while your app can go off and do other things 
>> and get notified later that something happened, then this is quite doable. 
>> If what you mean is that you want to make the app spawning the processes 
>> operate more efficiently by launching the same process over and over in 
>> multiple instances, then I don’t think so. At some point the parent process 
>> is going to have to get the result of each thread and do something about it.
> 
> I did something like this, but didn't spawn a new process for each asynch 
> task being launched.
> 
> What I did instead was have a very general purpose 'task handler' app, and 
> have multiple instances of this 'server app' running all the time; as long as 
> they're not doing any task, that's a negligible "cost" in resources. Each 
> instance would accept a socket connection on a different port (e.g. 6000, 
> 6001, 6002, ...) and would be passed "requests" to handle a specific task. It 
> would queue up multiple tasks, handle them in turn, and pass the result back 
> over the connection to whichever app requested it.
> 
> Then there was a client library, which would handle all the "messiness" for 
> the client, so the app need not be too involved. The app itself would simply 
> 'start using' the library, tell it which tasks it wanted to be able to do 
> (see below), and then pass in multiple requests through library calls. The 
> library would determine how many task-handler apps were available, parcel out 
> the requests between them, and provide the responses to the client (if 
> needed).
> 
> For each task (or set of tasks) you would write a library stack, which would 
> have handlers to perform the task(s), and respond.
> 
> 
> Example (trivial and may contain typos).
> 
> (you have to imagine that generating random numbers was very time consuming 
> :-),
> 
> 1. Write a library stack to perform some tasks.
> 
> stack "randomstuff"
> global gResultData, gResultObject   -- remember - one task at a time, so no 
> race conditions
> 
> on randomint pData
>local tmp, tMin, tMax
>put word 1 of pData into tMin
>put word 2 of pData into tMax
>put random(tMax - tMin + 1) into tmp
>put tmp-1 + tMin into gResultData
>send "completedTask" to gResultObject in 1 millisec
> end randomint
> 
> 
> 2. In the client app, determine the tasks to be handled
> 
> (within, say, openstack)
> 
>taskClientLoadStack "randomstuff.livecodescript"
> 
> 
> 3. when you need a number of random integers
> 
>   repeat 1000 times
> put taskClientSendARequest("randomstuff", "randomint 12 17", the long ID 
> of me) into tmp
>   end repeat
>-- (the return value is a request id - often can be ignored).
> ...
> on taskcomplete pID, pResult
>-- pID is the request ID, pResult is the returned data from that request
>put pResult  after sNumbers   -- or whatever
> ...
> end taskcomplete
> 
> In addition, there were various 'admin' taks you could request (close 
> connection, cancel pending tasks, get count of remaining tasks pending, ...). 
> The initial version of the client library simply round-robined the task 
> requests between the task-handlers, but the 'status' request would allow for 
> more intelligent load-balancing i fneeded.
> 
> 
> I did all this many years ago (2006 ??) and had this up on the earliest 
> version of revonline (which subsequently got deleted). I developed it to help 
> with indexing (including md5hash) of large numbers of image files. Using 4 
> task handlers, it was able to do the indexing in around 1/3 of the time the 
> single-threaded version took.
> 
> I still have the code - but unfortunately I can't find the write-up / 
> documentation on how to use it. And, I admit I absolutely cringe now to look 
> at the code - it *seriously* needs to be re-written, or heavily revised.
> 
> I'll clean up the code, write up how to use it and post it somewhere for 
> anyone who wishes to try it out.
> 
> Alex.
> 
> ___
> 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 

Re: POST command does not work if Lock messages is set

2021-01-11 Thread Neville Smythe via use-livecode
For anyone wishing to follow this bug, it has been confirmed by QC at 

https://quality.livecode.com/show_bug.cgi?id=23058 


As for my other fake news problem with data size and POST, please forget I ever 
misspoke.
LiveCode Server is rather a steep learning curve with not a lot of examples out 
there, but I love it already.

Neville
___
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 app launch error - 'failed to load External: tsNet'

2021-01-11 Thread Martin Koob via use-livecode
Hi

I have a GLX Framework based application that I am trying to create an 
installer for Windows 10 using Inno Setup as explained here.
https://revolution.screenstepslive.com/s/revolution/m/10695/l/563371-signing-installers-you-create-with-inno-setup

This is the second Windows installer I am making.  The first time I made an 
installer for my first version of this app on Windows ultimately worked (after 
a bit of trial and error) and now I am using the same basic script settings to 
make the new installer for an update to my application.

In the LiveCode standalone application settings dialog Windows tab I selected 
Windows 64 bit so it is a 64 bit application.

The folder layout of the application is as follows
myApp.exe
->Externals
-mergJSON-x64.dll
-revxml.dll
-tsNet-x86_64.dll

Using Inno Script Studio I compile the script and that works with no problem.  
- I have a code signing certificate so the code is signed using the sign tool
- I looked at the “creating setup files message and I see that the external 
tsNet external is loaded.

Still when I try to launch my application I get a dialog titled ‘Initialization 
error’.  Its error message is ‘failed to load external: tsNet’

I thought it might be looking for the 32 bit version of the tsNet external, 
tsNet-x86.dll  so I added that to the Externals folder in addition to the 64 
bit version that I already had before running the compiler again.   Same result.


I found a similar issue in the forums but the fix was to update to the stable 
version of LiveCode 9.5.0. 

http://forums.livecode.com/viewtopic.php?f=7=33005=200295#p200295

I am using LiveCode 9.6.0 so unless there has been a regression that should not 
be the issue.

Thanks in advance for any suggestions.

Best regards, 

Martin Koob








___
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: Cmi5 eLearning Standard in LiveCode

2021-01-11 Thread chipsm themartinz.com via use-livecode
I am still trying to absorb the use of this platform to enhance my LiveCode 
experience. I fell totally ignorant about this platform and its benefits.
I am always interested in learning more information about things.

Sincerely,

Clarence Martin
Email: chi...@themartinz.com
Phone: 626 6965561

-Original Message-
From: use-livecode  On Behalf Of Martin 
Koob via use-livecode
Sent: Monday, January 11, 2021 6:07 AM
To: How to use LiveCode 
Cc: Martin Koob 
Subject: Re: Cmi5 eLearning Standard in LiveCode

Hi

Brian got me involved in the fall 2020 semester of the xAPI cohort.   I worked 
on a team that created a service to generate xAPI statements from a Zoom 
meeting using the Zoom API.   I learned a lot about the Zoom API, web hooks and 
xAPI statements.  

I have already signed up for the spring 2021 semester.

I would like to have a Zoom call for LiveCoders interested in this initiative.

The xAPI Cohorts have as one of the main activities projects which are worked 
on by teams.  The projects are then presented at the end of the semester.  
I joined Team Zoom last semester to work with people who were already involved 
in working with xAPI in diffferent capacities, programmers, education 
designers, educators to help be learn more about xAPI in general.  This did not 
have a LiveCode focus.

I worked with Brian’s team, Team MakeyMakey a bit on his project which had some 
focus on LiveCode.

One think I would like to see come out of this eventually is a LiveCode Library 
for generating xAPI statements and sending them to a Learning Record Store.  My 
ultimate goal is to have my application use such a library create such 
statements and integrate with a LRS and a LMS.   Possible projects would be a 
good topic for a pre semester Zoom meeting.

Martin Koob




> On Jan 11, 2021, at 7:25 AM, Alex Shaw via use-livecode 
>  wrote:
> 
> New to xAPI and very interested so yes please, signed up.
> 
> regards
> alex
> 
> On 11/1/21 1:21 pm, Brian K. Duck via use-livecode wrote:
>> Roger,
>> 
>> I haven’t done anything with CMI5, yet.
>> 
>> I have been running a project during the FREE xAPI Cohorts, both the 2020 
>> Spring & Fall sessions, where we’ve used LiveCode Comunity to send xAPI 
>> statements from input received via a MakeyMakey board to an LRS.
>> 
>> The LiveCode for this project is available as a GitHub download, and is 
>> usable by LiveCode Community. There are JavaScript libraries that I would 
>> like to make available internal to the stack, guidance on internalizing the 
>> HTML, CSS, and JavaScript would be appreciated.
>> 
>> The next xAPI Cohort begins February 4th, the live sessions are Thursdays at 
>> 2 PM Eastern, and the signup is at: https://xapicohort.com/
>> 
>> Anyone who would like to learn about using LiveCode for xAPI, online 
>> learning and assessing training events is invited to join. Once you register 
>> for the xAPI Cohort, you will receive information on joining the xAPI Cohort 
>> Slack channel, and you should look for the #Discuss-Dev-LiveCode sub group 
>> to join, say hello, or reach out to me via slack.
>> 
>> If you like, we could look at building a CMI5 project in LiveCode as a 
>> getting started effort.
>> 
>> Sent from my iPad,
>> Brian Duck
>> ___
>> 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: Cmi5 eLearning Standard in LiveCode

2021-01-11 Thread Martin Koob via use-livecode
Hi

Brian got me involved in the fall 2020 semester of the xAPI cohort.   I worked 
on a team that created a service to generate xAPI statements from a Zoom 
meeting using the Zoom API.   I learned a lot about the Zoom API, web hooks and 
xAPI statements.  

I have already signed up for the spring 2021 semester.

I would like to have a Zoom call for LiveCoders interested in this initiative.

The xAPI Cohorts have as one of the main activities projects which are worked 
on by teams.  The projects are then presented at the end of the semester.  
I joined Team Zoom last semester to work with people who were already involved 
in working with xAPI in diffferent capacities, programmers, education 
designers, educators to help be learn more about xAPI in general.  This did not 
have a LiveCode focus.

I worked with Brian’s team, Team MakeyMakey a bit on his project which had some 
focus on LiveCode.

One think I would like to see come out of this eventually is a LiveCode Library 
for generating xAPI statements and sending them to a Learning Record Store.  My 
ultimate goal is to have my application use such a library create such 
statements and integrate with a LRS and a LMS.   Possible projects would be a 
good topic for a pre semester Zoom meeting.

Martin Koob




> On Jan 11, 2021, at 7:25 AM, Alex Shaw via use-livecode 
>  wrote:
> 
> New to xAPI and very interested so yes please, signed up.
> 
> regards
> alex
> 
> On 11/1/21 1:21 pm, Brian K. Duck via use-livecode wrote:
>> Roger,
>> 
>> I haven’t done anything with CMI5, yet.
>> 
>> I have been running a project during the FREE xAPI Cohorts, both the 2020 
>> Spring & Fall sessions, where we’ve used LiveCode Comunity to send xAPI 
>> statements from input received via a MakeyMakey board to an LRS.
>> 
>> The LiveCode for this project is available as a GitHub download, and is 
>> usable by LiveCode Community. There are JavaScript libraries that I would 
>> like to make available internal to the stack, guidance on internalizing the 
>> HTML, CSS, and JavaScript would be appreciated.
>> 
>> The next xAPI Cohort begins February 4th, the live sessions are Thursdays at 
>> 2 PM Eastern, and the signup is at: https://xapicohort.com/
>> 
>> Anyone who would like to learn about using LiveCode for xAPI, online 
>> learning and assessing training events is invited to join. Once you register 
>> for the xAPI Cohort, you will receive information on joining the xAPI Cohort 
>> Slack channel, and you should look for the #Discuss-Dev-LiveCode sub group 
>> to join, say hello, or reach out to me via slack.
>> 
>> If you like, we could look at building a CMI5 project in LiveCode as a 
>> getting started effort.
>> 
>> Sent from my iPad,
>> Brian Duck
>> ___
>> 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: Cmi5 eLearning Standard in LiveCode

2021-01-11 Thread Alex Shaw via use-livecode

New to xAPI and very interested so yes please, signed up.

regards
alex

On 11/1/21 1:21 pm, Brian K. Duck via use-livecode wrote:

Roger,

I haven’t done anything with CMI5, yet.

I have been running a project during the FREE xAPI Cohorts, both the 2020 Spring 
& Fall sessions, where we’ve used LiveCode Comunity to send xAPI statements 
from input received via a MakeyMakey board to an LRS.

The LiveCode for this project is available as a GitHub download, and is usable 
by LiveCode Community. There are JavaScript libraries that I would like to make 
available internal to the stack, guidance on internalizing the HTML, CSS, and 
JavaScript would be appreciated.

The next xAPI Cohort begins February 4th, the live sessions are Thursdays at 2 
PM Eastern, and the signup is at: https://xapicohort.com/

Anyone who would like to learn about using LiveCode for xAPI, online learning 
and assessing training events is invited to join. Once you register for the 
xAPI Cohort, you will receive information on joining the xAPI Cohort Slack 
channel, and you should look for the #Discuss-Dev-LiveCode sub group to join, 
say hello, or reach out to me via slack.

If you like, we could look at building a CMI5 project in LiveCode as a getting 
started effort.

Sent from my iPad,
Brian Duck
___
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: Cmi5 eLearning Standard in LiveCode

2021-01-11 Thread David Bovill via use-livecode
Hi Brian, that sounds interesting. I signed up for the cohort. Would like to 
know what you are thinking of doing with Livecode for this? Maybe we could have 
a Zoom before hand?
On 11 Jan 2021, 03:22 +, Brian K. Duck via use-livecode 
, wrote:
> Roger,
>
> I haven’t done anything with CMI5, yet.
>
> I have been running a project during the FREE xAPI Cohorts, both the 2020 
> Spring & Fall sessions, where we’ve used LiveCode Comunity to send xAPI 
> statements from input received via a MakeyMakey board to an LRS.
>
> The LiveCode for this project is available as a GitHub download, and is 
> usable by LiveCode Community. There are JavaScript libraries that I would 
> like to make available internal to the stack, guidance on internalizing the 
> HTML, CSS, and JavaScript would be appreciated.
>
> The next xAPI Cohort begins February 4th, the live sessions are Thursdays at 
> 2 PM Eastern, and the signup is at: https://xapicohort.com/
>
> Anyone who would like to learn about using LiveCode for xAPI, online learning 
> and assessing training events is invited to join. Once you register for the 
> xAPI Cohort, you will receive information on joining the xAPI Cohort Slack 
> channel, and you should look for the #Discuss-Dev-LiveCode sub group to join, 
> say hello, or reach out to me via slack.
>
> If you like, we could look at building a CMI5 project in LiveCode as a 
> getting started effort.
>
> Sent from my iPad,
> Brian Duck
> ___
> 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