OT Toxoplasmosis (was : Send "rawKeyUp")

2017-10-17 Thread Alejandro Tejada via use-livecode
Hi Jacque,

Jacqueline Landman Gay wrote:
> There are several downloads in that thread.
> Which one is best?

I am using Mark's version downloaded from his dropbox
folder, probably it's similar to this version:
http://forums.livecode.com/viewtopic.php?f=93=27811=30#p154437

By the way, in the forum I posted a LC8 stack with a clock that uses
this widget as rotating hands:

https://forums.livecode.com/viewtopic.php?f=10=2

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


iOS 11.0.3 No Sound? Mobile player broken?

2017-10-17 Thread Sannyasin Brahmanathaswami via use-livecode
We are getting reports from iOS users that after their recent upgrade to iOS 
11.0.3

"After updating my iPhone this past weekend I've discovered that the sound is 
not working on either of your two apps."

Now, this can't be a Livecode problem because one app is made with LC and the 
with ionic/Angular 2… i.e. 100% html5.

Anyone have insights?

BR


___
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 Toxoplasmosis (was : Send "rawKeyUp")

2017-10-17 Thread hh via use-livecode
Additionally to that:
On Thu at 3.30PM BST there is a LC Global talk by Mark Waddingham:
"Building an SVG widget". Certainly with a new widget attached. 

___
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 Toxoplasmosis (was : Send "rawKeyUp")

2017-10-17 Thread J. Landman Gay via use-livecode

On 10/17/17 2:42 PM, Alejandro Tejada via use-livecode wrote:

By the way, now that we are talking off the record
about off-topic themes, let me ask a question:

Richmond, Have you installed SVG Multicolor
widget?

This widget could help a lot with your current
projects. Please, download and install from this
forum thread:
http://forums.livecode.com/viewtopic.php?f=93=27811


There are several downloads in that thread. Which one is best?

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


OT Toxoplasmosis (was : Send "rawKeyUp")

2017-10-17 Thread Alejandro Tejada via use-livecode
By the way, now that we are talking off the record
about off-topic themes, let me ask a question:

Richmond, Have you installed SVG Multicolor
widget?

This widget could help a lot with your current
projects. Please, download and install from this
forum thread:
http://forums.livecode.com/viewtopic.php?f=93=27811

Al
___
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 Toxoplasmosis (was : Send "rawKeyUp")

2017-10-17 Thread Richmond Mathewson via use-livecode

I, at least, often feel slightly schizophrenic about LiveCode :)

I had toxoplasmosis in 1988; caught when working with the Egyptian 
Police in the Sinai: had about 3 months in bed
feeling weak and peculiar (I would not recommend it ot any one, not even 
my worse enemy),
and eating an entertaining collection of pills: never went any more 
bonkers than I have always been.


-

I am NOT going to rely on end-users doing what I instruct them; because 
most of them either won't or won't understand
my directions; so I will ALWAYS either build safe-guards into my code, 
or not release anything at all.


Richmond.

On 10/17/17 12:34 pm, David V Glasgow via use-livecode wrote:

https://www.frontiersin.org/articles/10.3389/fpsyt.2017.00037/full 


It has been a long standing slow burner in the schizophrenia literature!

Best wishes,

David Glasgow



On 16 Oct 2017, at 9:35 pm, Bob Sneidar via use-livecode 
 wrote:

Toxoplasmosis is a parasitic infection spread by coming into contact with cat 
feces and ingesting the parasite. Nowhere in the symptoms is any description of 
mental disorder.

Bob S



On Oct 16, 2017, at 13:22 , Alejandro Tejada via use-livecode 
 wrote:

In my experience, adult people with toxoplasmosis
act exactly in the same way... :-(


___
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: Atkinson dither algorithm

2017-10-17 Thread Alejandro Tejada via use-livecode
Hermann, your script version won the
LiveCode Script speed contest! :-)

I feel humbled and grateful that many of you
have taken time to look at this. Although an
image dithering algorithm seems trivial an
barely useful, the fact is that in this thread,
we have pushed Livecode script almost to
it's speed limits.

After we reach Livecode scripts natural limits,
the next step is
1) creating a command line application, or
2) building an external, or (like Hermann demonstrated)
3) using Javascript within the browser widget or
4) the next frontier: Livecode widgets.

This platform does not lack options to get the job
done. It just require time and expertise to select
the best options for each phase of a particular project.

Later today, after I finished testing an application in
different computers, will update the forum final's
stack version with Alex and Hermann scripts.

Thanks a lot again! :-D

Al
___
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: How to meet an integer

2017-10-17 Thread David V Glasgow via use-livecode
Only a fraction improper?

> On 17 Oct 2017, at 4:16 pm, hh via use-livecode 
>  wrote:
> 
> What is your problem, Mike?
> 
>> Mike K. wrote:
>> golfclap for hh. bravo. ish.
> 
>> hhwrote:
 Mike K. wrote:
 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."
>> 
>> On the fourth day, at the dawn of numbers, God created the
>> non-negative integers. And God said, "You are dates".
> 
> 
> 
> 
> ___
> 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: How to meet an integer

2017-10-17 Thread hh via use-livecode
What is your problem, Mike?

> Mike K. wrote:
> golfclap for hh. bravo. ish.

> hhwrote:
> >> Mike K. wrote:
> >> 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."
>
> On the fourth day, at the dawn of numbers, God created the
> non-negative integers. And God said, "You are dates".




___
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: Android Sound Capture in WAV format

2017-10-17 Thread Ali Lloyd via use-livecode
Hi Peter,
The Android MediaRecorder class does not support WAV unfortunately. There
may be some third party libraries you could use to achieve this - including
third party jar files will be possible once this PR is merged:
https://github.com/livecode/livecode/pull/6059


On Tue, Oct 17, 2017 at 10:14 AM Peter Reid via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Since Ali got sound capture for Android working, I'm trying to see if it's
> possible to output the sound in WAV format instead of MP4 format. I'm
> trying to compare 2 sounds (1 prepared previously against 1 captured on the
> Android device) and it seems to be easier to compare them if they are both
> uncompressed WAV files.  Looking at the various parameters in the library,
> I can't see how to set it up to output in uncompressed WAV format. Here is
> the initialisation code I'm using:
>
> androidRecorderSetRecordInput "Mic"
> androidRecorderSetRecordCompressionType "AMR NB"
> androidRecorderSetRecordFormat "ThreeGPP"
>
> I can't see which alternatives for CompressionType (AMR NB) and Format
> (ThreeGPP) will give me uncompressed WAV files. Am I missing something or
> does the library need updating to support WAV (if this is possible)?
>
> Peter
> --
> Peter Reid
> Loughborough, UK
>
> > On 16 Sep 2017, at 11:00am, use-livecode-requ...@lists.runrev.com wrote:
> >
> > Message: 1
> > Date: Fri, 15 Sep 2017 11:53:17 +
> > From: Ali Lloyd 
> > To: How to use LiveCode 
> > Subject: Re: Android Audio Playback & Recording
> > Message-ID:
> >   <
> cajr0q1jjp_yd819ubjwbmjmzwb+2z5smiaetj1dwkfhh_61...@mail.gmail.com>
> > Content-Type: text/plain; charset="UTF-8"
> >
> > Hi All,
> > Firstly thanks to Peter Reid for discovering that the foreign bindings in
> > that blog post were out of date! I have updated the blog accordingly. I
> > took the liberty of tidying up the LCB code, and adding docs and a sample
> > stack - you can check them out here (for now)
> > https://github.com/livecode/livecode/pull/5941/files
> >
> > The library should be included in 9.0 DP 9.
> >
> > Cheers,
> > Ali
> >
>
>
> ___
> 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: How to meet an integer

2017-10-17 Thread Bob Sneidar via use-livecode
I only associate with the positive ones. 

Bob S


> On Oct 16, 2017, at 20:19 , Stephen Barncard via use-livecode 
>  wrote:
> 
> I never met an integer I didn't like.
> 
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org


___
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: How to meet an integer

2017-10-17 Thread Mike Kerner via use-livecode
golfclap for hh.  bravo.  ish.

On Tue, Oct 17, 2017 at 7:36 AM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> >> Mike K. wrote:
> >> 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."
>
> On the fourth day, at the dawn of numbers, God created the
> non-negative integers. And God said, "You are dates".
>
>
> ___
> 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: Need Dropbox guidance

2017-10-17 Thread Mike Kerner via use-livecode
I'm mostly converted to the LC library, and everything seems to be working.
Best options to try:
1) Download Gerard's original stack, and see what works and what breaks
(and what the responses are).  https://github.com/macMikey/dropboxapi_v2.
This is my default choice as I have learned a lot beating on his stack.
2) lc's dropbox library has a couple of unpatched issues.  One of those is
only returning half of the error message when there is a failure.  You can
download my pathced version here:
https://github.com/macMikey/LCDropboxLibrary.
2.1) If you choose to download and use my patched version, either
copy/paste the script into your stack script so that it overrides LC's
library, or add it as a substack/library in 8.
2.2) After the upload and download lines in your script, check both it and
the result.  What do those say?
2.3 does mptest already exist at / on your dropbox store?  If it doesn't,
you have to create the folder.
2.4 don't forget that dropboxDownload puts the contents of the file into
it.  You have to create the file afterwards.



On Tue, Oct 17, 2017 at 7:51 AM, pink via use-livecode <
use-livecode@lists.runrev.com> wrote:

> So far, none of my attempts with the Dropbox script have been successful,
> with the exception of create folder.
>
> Basically I just want to create an invisible file as a save stack, upload
> it
> to a folder in dropbox and then be able to download it and put it into
> memory.
>
> So below is the script that I've most recently used. A file gets uploaded,
> but it isn't the actual stack I created, I've also tried uploading directly
> from the tLocalPath but that returns an error.
>
> Any suggestions?
>
>   put "testdata7" into tName
>   put specialfolderpath("desktop") & "/" & tName & ".mpk" into tLocalPath
>   put "/mptest/" & tName & ".livecode" into tDBpath
>
>   create invisible stack tName
>   set the testingMeData of stack tName to "123456abc"
>   dropboxUpload myToken, tDBPath, "overwrite", false, false, tName
>   clear stack tName
>
>   dropboxDownload myToken, tDBpath
>
>
>
>
>
> -
> ---
> Greg (pink) Miller
> mad, pink and dangerous to code
> --
> 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
>



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


Need Dropbox guidance

2017-10-17 Thread pink via use-livecode
So far, none of my attempts with the Dropbox script have been successful,
with the exception of create folder.

Basically I just want to create an invisible file as a save stack, upload it
to a folder in dropbox and then be able to download it and put it into
memory.

So below is the script that I've most recently used. A file gets uploaded,
but it isn't the actual stack I created, I've also tried uploading directly
from the tLocalPath but that returns an error.

Any suggestions?

  put "testdata7" into tName
  put specialfolderpath("desktop") & "/" & tName & ".mpk" into tLocalPath
  put "/mptest/" & tName & ".livecode" into tDBpath
  
  create invisible stack tName
  set the testingMeData of stack tName to "123456abc"
  dropboxUpload myToken, tDBPath, "overwrite", false, false, tName
  clear stack tName

  dropboxDownload myToken, tDBpath





-
---
Greg (pink) Miller
mad, pink and dangerous to code
--
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


Re: Atkinson dither algorithm

2017-10-17 Thread hh via use-livecode
@Alejandro and Alex.

All that limit checking is not needed here. It is much faster,
especially for fast images,to do a few unneeded additions than
to do all these checks for each pixel.

I translated my js-function into LC Script, using Alejandro's
variable names and (inline) Alex's array creation method. See
http://forums.livecode.com/viewtopic.php?p=159244#p159244

You certainly can improve this LCS script even more. In javascript
this is so fast that even for large images there is no gain by
'optimization'.

p.s. Al, you don't need a "try". Just use (where 3 = step-1)
repeat with i = 1 to the number of bytes in tempVar - 3 step 4


___
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: How to meet an integer

2017-10-17 Thread hh via use-livecode
>> Mike K. wrote:
>> 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."

On the fourth day, at the dawn of numbers, God created the
non-negative integers. And God said, "You are dates".


___
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 Toxoplasmosis (was : Send "rawKeyUp")

2017-10-17 Thread David V Glasgow via use-livecode
https://www.frontiersin.org/articles/10.3389/fpsyt.2017.00037/full 


It has been a long standing slow burner in the schizophrenia literature!

Best wishes,

David Glasgow


> On 16 Oct 2017, at 9:35 pm, Bob Sneidar via use-livecode 
>  wrote:
> 
> Toxoplasmosis is a parasitic infection spread by coming into contact with cat 
> feces and ingesting the parasite. Nowhere in the symptoms is any description 
> of mental disorder. 
> 
> Bob S
> 
> 
>> On Oct 16, 2017, at 13:22 , Alejandro Tejada via use-livecode 
>>  wrote:
>> 
>> In my experience, adult people with toxoplasmosis
>> act exactly in the same way... :-(
> 
> 
> ___
> 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


Android Sound Capture in WAV format

2017-10-17 Thread Peter Reid via use-livecode
Since Ali got sound capture for Android working, I'm trying to see if it's 
possible to output the sound in WAV format instead of MP4 format. I'm trying to 
compare 2 sounds (1 prepared previously against 1 captured on the Android 
device) and it seems to be easier to compare them if they are both uncompressed 
WAV files.  Looking at the various parameters in the library, I can't see how 
to set it up to output in uncompressed WAV format. Here is the initialisation 
code I'm using:

androidRecorderSetRecordInput "Mic"
androidRecorderSetRecordCompressionType "AMR NB"
androidRecorderSetRecordFormat "ThreeGPP"

I can't see which alternatives for CompressionType (AMR NB) and Format 
(ThreeGPP) will give me uncompressed WAV files. Am I missing something or does 
the library need updating to support WAV (if this is possible)?

Peter
--
Peter Reid
Loughborough, UK

> On 16 Sep 2017, at 11:00am, use-livecode-requ...@lists.runrev.com wrote:
> 
> Message: 1
> Date: Fri, 15 Sep 2017 11:53:17 +
> From: Ali Lloyd 
> To: How to use LiveCode 
> Subject: Re: Android Audio Playback & Recording
> Message-ID:
>   
> Content-Type: text/plain; charset="UTF-8"
> 
> Hi All,
> Firstly thanks to Peter Reid for discovering that the foreign bindings in
> that blog post were out of date! I have updated the blog accordingly. I
> took the liberty of tidying up the LCB code, and adding docs and a sample
> stack - you can check them out here (for now)
> https://github.com/livecode/livecode/pull/5941/files
> 
> The library should be included in 9.0 DP 9.
> 
> Cheers,
> Ali
> 


___
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: How to meet an integer

2017-10-17 Thread J. Landman Gay via use-livecode

I met 3, which is odd.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com



On October 16, 2017 10:21:40 PM Stephen Barncard via use-livecode 
 wrote:



I never met an integer I didn't like.

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

On Mon, Oct 16, 2017 at 6:11 PM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:


you..one?

On Mon, Oct 16, 2017 at 12:12 PM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > JLG wrote:
> > Until I met my husband, ALL my dates were zeros.
>
> You won.
>
> ___
> 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


___
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