DataGrid2 - Improved Graphics Means What - Exactly?

2017-06-22 Thread Sannyasin Brahmanathaswami via use-livecode
The DataGrid 2 fund raiser is interesting, not so much for the DataGrid; which 
I don't use;

(Instantiating a small group template multiple times to make a longer grouped 
control is easy enough and scrolling list fields do the rest, so far there 
hasn't been a use case yet where Datagrid complexity warranted the ROI on using 
it. And the helper $ price tag doesn't help adoption. perhaps one day)

Meanwhile…Reading the text of the announcement carefully, still leaves room for 
wonderment,

What is the scope of the improved graphics rendering? Is It DataGrid only?

What about
1) other long grouped controls that need to scroll as one long group?
2) scrolling fields
3) scrolling list fields

Will they continue to "jitter/jerk" as they move? - that's how our users 
describe it vs standard mobile object "flow smooth as glass/water"

Does this initiative "cure the jitters"  for all scrolling objects?

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: First 1000 characters without loop?

2017-06-22 Thread Monte Goulding via use-livecode

> On 23 Jun 2017, at 11:19 am, Richard Gaskin via use-livecode 
>  wrote:
> 
> Monte Goulding wrote:
> 
> >> On 23 Jun 2017, at 10:06 am, Richard Gaskin wrote:
> >>
> >> How can we know which is in use for a given string?
> >
> > You shouldn’t need to know. The engine will use native encoding where
> > possible for efficiency. A lot of the performance improvements between
> > LC 7 and 8 were using the right code paths based on whether the string
> > is native or unicode.
> 
> Seems murky.  I'd much rather at least have something like a byteLen 
> function, which returns the number of bytes for a given string.  With that I 
> can maintain byte offsets into a file with good performance and no ambiguity.

In theory `the number of bytes of ` should in my opinion return 
whatever the byteLength function would given the codeunit docs state:

> The hierarchy of the new and altered chunk types is as follows: byte w of 
> codeunit x of codepoint y of char z of word …. 

However this report was resolved as not a bug so I guess that theory is wrong 
and maybe there’s a docs bug in there (I have asked internally on our language 
channel) http://quality.livecode.com/show_bug.cgi?id=13248 

put the number of codeunits of  “️” -> 3 

So this is actually 6 bytes but as documented you can’t rely on the codeunit 
length being 16 bit so I guess that means there is currently no way to get what 
you want reliably. Whether you need it is a separate discussion.
> 
> 
> >> Suppose I wanted to process a lot of text, so performance is
> >> critical. Using bytes would be optimal, since any chunk type or even
> >> Unicode characters may vary in length.
> >>
> >> So if I wanted to create an index of byte offsets into a large chunk
> >> of text, how would I know how long a character is?
> >
> > If it’s text encoded then you probably want to use character offsets
> > and let the engine worry about optimising it. If you know it’s binary
> > data then use bytes.
> 
> How do I find a substring in binary data in a what that will tell me the 
> number of bytes of the offset?


If you are dealing with bytes of binary data then use byteOffset. Is that what 
you mean here? Probably better to talk about ranges rather than substrings if 
you are discussing binary data.

Cheers

Monte

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: First 1000 characters without loop?

2017-06-22 Thread Richard Gaskin via use-livecode

Monte Goulding wrote:

>> On 23 Jun 2017, at 10:06 am, Richard Gaskin wrote:
>>
>> How can we know which is in use for a given string?
>
> You shouldn’t need to know. The engine will use native encoding where
> possible for efficiency. A lot of the performance improvements between
> LC 7 and 8 were using the right code paths based on whether the string
> is native or unicode.

Seems murky.  I'd much rather at least have something like a byteLen 
function, which returns the number of bytes for a given string.  With 
that I can maintain byte offsets into a file with good performance and 
no ambiguity.



>> Suppose I wanted to process a lot of text, so performance is
>> critical. Using bytes would be optimal, since any chunk type or even
>> Unicode characters may vary in length.
>>
>> So if I wanted to create an index of byte offsets into a large chunk
>> of text, how would I know how long a character is?
>
> If it’s text encoded then you probably want to use character offsets
> and let the engine worry about optimising it. If you know it’s binary
> data then use bytes.

How do I find a substring in binary data in a what that will tell me the 
number of bytes of the offset?


--
 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: RIP Dan Shafer

2017-06-22 Thread Charles Szasz via use-livecode
I am so sorry to hear about Dan passing.  I met him at a Rev conference in 
Monterey, California, which he organized.  I also purchased three of his Rev 
PDF books.  I still use them when I need help.  Dan certainly was great 
promoter of Rev and would be in a Rev hall of fame if there was one.

Sent from my iPad
___
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: First 1000 characters without loop?

2017-06-22 Thread Peter W A Wood via use-livecode
Richard

> How can we know which is in use for a given string?
> 
> Suppose I wanted to process a lot of text, so performance is critical. Using 
> bytes would be optimal, since any chunk type or even Unicode characters may 
> vary in length.
> 
> So if I wanted to create an index of byte offsets into a large chunk of text, 
> how would I know how long a character is?

Some Unicode characters, such as emojis, have to be represented by two 
codepoints in UTF-16 (known as surrogates) so they take four bytes not two. 
Additionally, the number of bytes for characters with accents will take either 
one codepoint or two depending on whether they have been coded in pre-composed 
or decomposed form. (e.g. ç can be either U+0063 U+0327 (decomposed) or U+00E7 
(precomposed).

So it is isn’t easy to estimate the number of bytes in a UTF-16 string.

I would guess that LiveCode will store the characters of a string in single 
bytes if all the letters of the string conform to ISO-8859-1. So if you can be 
certain that your text is all ISO-8859-1 encoded, you can estimate at 1 byte 
per character. (The guess is base on the fact that the first 256 Unicode code 
points replicate ISO-8859-1).

Regards

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

Re: First 1000 characters without loop?

2017-06-22 Thread Monte Goulding via use-livecode

> On 23 Jun 2017, at 10:06 am, Richard Gaskin via use-livecode 
>  wrote:
> 
> How can we know which is in use for a given string?

You shouldn’t need to know. The engine will use native encoding where possible 
for efficiency. A lot of the performance improvements between LC 7 and 8 were 
using the right code paths based on whether the string is native or unicode.
> 
> Suppose I wanted to process a lot of text, so performance is critical. Using 
> bytes would be optimal, since any chunk type or even Unicode characters may 
> vary in length.
> 
> So if I wanted to create an index of byte offsets into a large chunk of text, 
> how would I know how long a character is?

If it’s text encoded then you probably want to use character offsets and let 
the engine worry about optimising it. If you know it’s binary data then use 
bytes.

Cheers

Monte
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: RIP Dan Shafer

2017-06-22 Thread Jeff Reynolds via use-livecode
Sad, many years and few editions of his HC book dogeared on my lap in the early 
years.

jeff
___
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: RIP Dan Shafer

2017-06-22 Thread Bill Vlahos via use-livecode
Bummer. He will be missed but it was sure great having him with us.

Thank you for letting us know.

Bill Vlahos

> On Jun 21, 2017, at 8:31 PM, Jerry Jensen via use-livecode 
>  wrote:
> 
> We lost Dan Shafer yesterday. He did a lot for LiveCode. I’m sure anybody who 
> met him will miss him.
> .Jerry
> 
> 
> ___
> 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: First 1000 characters without loop?

2017-06-22 Thread Richard Gaskin via use-livecode

Monte Goulding wrote:

>> On 23 Jun 2017, at 7:18 am, Richard Gaskin wrote:
>>
>> is that true that UTF-16 gives us two-bytes per char across the
>> board?
>
> That’s true (the 16 means 16 bit) but internally strings may be either
> native 8 bit or unicode 16 bit.

How can we know which is in use for a given string?

Suppose I wanted to process a lot of text, so performance is critical. 
Using bytes would be optimal, since any chunk type or even Unicode 
characters may vary in length.


So if I wanted to create an index of byte offsets into a large chunk of 
text, how would I know how long a character is?


--
 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: First 1000 characters without loop?

2017-06-22 Thread Monte Goulding via use-livecode

> On 23 Jun 2017, at 7:18 am, Richard Gaskin via use-livecode 
>  wrote:
> 
> is that true that UTF-16 gives us two-bytes per char across the board?

That’s true (the 16 means 16 bit) but internally strings may be either native 8 
bit or unicode 16 bit.

It should just be a direct memory copy so it’s about as efficient as you are 
going to get. If you don’t need the trailing chars it would be more efficient 
from a memory perspective to delete the remaining chars.

Cheers

Monte
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: First 1000 characters without loop?

2017-06-22 Thread Richard Gaskin via use-livecode

Rick Harrison wrote:

>> On Jun 22, 2017, at 2:17 PM, Mark Talluto wrote:
>>
>> On Jun 22, 2017, at 11:03 AM, Rick Harrison wrote:
>>>
>>> I have a string variable which contains over 2500 characters.
>>> I only want to grab the first 1000 characters of that string.
>>> Rather than looping 1000 times to grab each character
>>> is there a way to just grab the first 1000 efficiently in
>>> one big chunk?
>>
>> Hi Rick,
>>
>> put char 1 to 1000 of tOriginalVar into tNewVar
>
> Thanks for this solution.
>
> Does that statement create an implied loop?
> It’s great for a one liner though!


With many chunk expressions, I would imagine it does.  With line chunks, 
for example, the engine needs to walk through the string, comparing each 
character to CR, counting the found CRs as it goes.


But even then, better to have the engine do that in machine code than 
for us to do it in script. :)


In this case, though, I believe it doesn't need a loop per se, since 
AFAIK character are fixed-size entities internally (Mark Waddingham, is 
that true that UTF-16 gives us two-bytes per char across the board?).


If I'm mistaken there, any traversal of the string is still about as 
efficient as it's going to get in a general-purpose language, since it's 
relying on the well-optimized Unicode libraries many projects depend on.


All that said, as much as I enjoy benchmarking I wouldn't sweat 
use-cases involving small data.  1k chars could be sliced with any chunk 
type so quickly it probably won't matter.


--
 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: RIP Dan Shafer

2017-06-22 Thread Camm via use-livecode
It was his book that got me started with Revolution !
Thanks to him  i'm hooked , RIP and sorry for the loss.

Camm

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Jim Lambert via use-livecode
Sent: 22 June 2017 19:55
To: use-livecode@lists.runrev.com
Cc: Jim Lambert
Subject: Re: RIP Dan Shafer

But Dan’s excellent work lives on.

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

---
This email has been checked for viruses by AVG.
http://www.avg.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: First 1000 characters without loop?

2017-06-22 Thread Devin Asay via use-livecode

On Jun 22, 2017, at 1:05 PM, Rick Harrison via use-livecode 
> wrote:

Hi Devin & Mark,

Thanks for this solution.

Does that statement create an implied loop?



I don’t think so. It’s similar to substring functions in other languages. As 
Mike said, string chunk expressions are one of the best things about LiveCode.

You can do things like:

  put char 5 to 25 of line 4 of tVar into tVar2

I discuss it in my lesson on working with text in LiveCode:

http://livecode.byu.edu/textfind/TextandFind.php

Devin

Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
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: First 1000 characters without loop?

2017-06-22 Thread Rick Harrison via use-livecode
Hi Devin & Mark,

Thanks for this solution.

Does that statement create an implied loop?
It’s great for a one liner though!

Rick

> On Jun 22, 2017, at 2:17 PM, Mark Talluto via use-livecode 
>  wrote:
> 
> On Jun 22, 2017, at 11:03 AM, Rick Harrison via use-livecode 
>  wrote:
>> 
>> I have a string variable which contains over 2500 characters.
>> I only want to grab the first 1000 characters of that string.
>> Rather than looping 1000 times to grab each character
>> is there a way to just grab the first 1000 efficiently in
>> one big chunk?
>> 
>> Thanks,
>> 
>> Rick
> 
> Hi Rick,
> 
> put char 1 to 1000 of tOriginalVar into tNewVar
> 
> 
> Best regards,
> 
> Mark Talluto
> livecloud.io 
> nursenotes.net 
> canelasoftware.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: RIP Dan Shafer

2017-06-22 Thread Jim Lambert via use-livecode
But Dan’s excellent work lives on.

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: First 1000 characters without loop?

2017-06-22 Thread Mike Kerner via use-livecode
chunks make me happy.
actually, any time i have to parse a hornet's nest of text, this language
makes me happy.

On Thu, Jun 22, 2017 at 2:17 PM, Mark Talluto via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On Jun 22, 2017, at 11:03 AM, Rick Harrison via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > I have a string variable which contains over 2500 characters.
> > I only want to grab the first 1000 characters of that string.
> > Rather than looping 1000 times to grab each character
> > is there a way to just grab the first 1000 efficiently in
> > one big chunk?
> >
> > Thanks,
> >
> > Rick
>
> Hi Rick,
>
> put char 1 to 1000 of tOriginalVar into tNewVar
>
>
> Best regards,
>
> Mark Talluto
> livecloud.io 
> nursenotes.net 
> canelasoftware.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
>



-- 
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: First 1000 characters without loop?

2017-06-22 Thread Mark Talluto via use-livecode
On Jun 22, 2017, at 11:03 AM, Rick Harrison via use-livecode 
 wrote:
> 
> I have a string variable which contains over 2500 characters.
> I only want to grab the first 1000 characters of that string.
> Rather than looping 1000 times to grab each character
> is there a way to just grab the first 1000 efficiently in
> one big chunk?
> 
> Thanks,
> 
> Rick

Hi Rick,

put char 1 to 1000 of tOriginalVar into tNewVar


Best regards,

Mark Talluto
livecloud.io 
nursenotes.net 
canelasoftware.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: First 1000 characters without loop?

2017-06-22 Thread Devin Asay via use-livecode
On Jun 22, 2017, at 12:03 PM, Rick Harrison via use-livecode 
 wrote:
> 
> I have a string variable which contains over 2500 characters.
> I only want to grab the first 1000 characters of that string.
> Rather than looping 1000 times to grab each character
> is there a way to just grab the first 1000 efficiently in



Rick,

Does this do what you want?

  put char 1 to 1000 of tVar into tVar2

Devin

Devin Asay
Director
Office of Digital Humanities
Brigham Young University


___
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


First 1000 characters without loop?

2017-06-22 Thread Rick Harrison via use-livecode
I have a string variable which contains over 2500 characters.
I only want to grab the first 1000 characters of that string.
Rather than looping 1000 times to grab each character
is there a way to just grab the first 1000 efficiently in
one big chunk?

Thanks,

Rick

___
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: Dan Shafer

2017-06-22 Thread Colin Holgate via use-livecode
Here’s his Facebook page:

https://www.facebook.com/onemindfellowship 


Not being completely sure it’s the right Dan Shafer, I checked the book 
mentioned on Facebook, and Amazon shows that book along with all the tech ones. 
So I think it must be him.
___
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: RIP Dan Shafer

2017-06-22 Thread Roger Eller via use-livecode
So sorry for confusing these two great individuals in my head.  Thank you
Mark for correcting my mistake.  :(

~Roger


On Thu, Jun 22, 2017 at 10:08 AM, Mark Schonewille via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Quartam is not by Dan but by Jan Schenkel.
>
> Let me use this opportunity to express my sympathy for Dan's family.
>
> Also, there is a fund raiser that might be of interest to readers of this
> list.
> https://www.gofundme.com/dans-next-adventure
>
> Kind regards,
>
> Mark Schonewille
> http://economy-x-talk.com
> https://www.facebook.com/marksch
>
> Buy the most extensive book on the
> LiveCode language:
> http://livecodebeginner.economy-x-talk.com
>
> Op 22-Jun-17 om 14:27 schreef Roger Eller via use-livecode:
>
>> On Wed, Jun 21, 2017 at 11:31 PM, Jerry Jensen via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>> We lost Dan Shafer yesterday. He did a lot for LiveCode. I’m sure anybody
>>> who met him will miss him.
>>> .Jerry
>>>
>>>
>>> I have been learning from Dans books
>>  since I started with
>> HyperCard, and I recently completed a project which uses his Quartum
>> PDFLibrary .  Saddened
>> by the news of his passing, he will be remembered.
>>
>> ~Roger
>> ___
>> 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: RIP Dan Shafer

2017-06-22 Thread Mark Schonewille via use-livecode

Quartam is not by Dan but by Jan Schenkel.

Let me use this opportunity to express my sympathy for Dan's family.

Also, there is a fund raiser that might be of interest to readers of 
this list.

https://www.gofundme.com/dans-next-adventure

Kind regards,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com

Op 22-Jun-17 om 14:27 schreef Roger Eller via use-livecode:

On Wed, Jun 21, 2017 at 11:31 PM, Jerry Jensen via use-livecode <
use-livecode@lists.runrev.com> wrote:


We lost Dan Shafer yesterday. He did a lot for LiveCode. I’m sure anybody
who met him will miss him.
.Jerry



I have been learning from Dans books
 since I started with
HyperCard, and I recently completed a project which uses his Quartum
PDFLibrary .  Saddened
by the news of his passing, he will be remembered.

~Roger
___
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: RIP Dan Shafer

2017-06-22 Thread Devin Asay via use-livecode
So sad. What a good guy! Thoughts and prayers to the Shafer family.

Devin


On Jun 21, 2017, at 9:31 PM, Jerry Jensen via use-livecode 
> wrote:

We lost Dan Shafer yesterday. He did a lot for LiveCode. I’m sure anybody who 
met him will miss him.
.Jerry


___
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

Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
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: Dan Shafer

2017-06-22 Thread Bruce Humphrey via use-livecode
Apologies to the list for not clipping the list message copy from my earlier 
reply :(

Bruce

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


Dan Shafer

2017-06-22 Thread Bruce Humphrey via use-livecode
Does anyone have a reference for this?  There's nothing on google search

Bruce

Sent from my iPhone

> On Jun 22, 2017, at 6:00 AM, use-livecode-requ...@lists.runrev.com wrote:
> 
> Send use-livecode mailing list submissions to
>use-livecode@lists.runrev.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>http://lists.runrev.com/mailman/listinfo/use-livecode
> or, via email, send a message with subject or body 'help' to
>use-livecode-requ...@lists.runrev.com
> 
> You can reach the person managing the list at
>use-livecode-ow...@lists.runrev.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of use-livecode digest..."
> 
> 
> you can find the archives for this list at:
> 
> http://lists.runrev.com/pipermail/use-livecode/
> 
> and search them using this link:
> 
> http://www.google.com/advanced_search?q=site:lists.runrev.com
> 
> Today's Topics:
> 
>   1. Re: Exploring A Single File Deploy on Windows (Mark Talluto)
>   2. Re: Preference for Keeping Saved Empty Button Scripts Empty
>  (Monte Goulding)
>   3. Re: Preference for Keeping Saved Empty Button Scripts Empty
>  (Mark Talluto)
>   4. HD Windows Video Formats (Jeff Reynolds)
>   5. Re: Preference for Keeping Saved Empty Button Scripts Empty
>  (Mike Bonner)
>   6. Re: Levure?? (Mike Kerner)
>   7. Widgets as Buttons (Sannyasin Brahmanathaswami)
>   8. RIP Dan Shafer (Jerry Jensen)
>   9. Re: RIP Dan Shafer (J. Landman Gay)
>  10. Re: Widgets as Buttons (J. Landman Gay)
>  11. Re: RIP Dan Shafer (Mark Wieder)
>  12. Re: Widgets as Buttons (Richmond Mathewson)
>  13. Re: Exploring A Single File Deploy on Windows (Mark Waddingham)
>  14. AW: HD Windows Video Formats (Tiemo Hollmann TB)
> 
> 
> --
> 
> Message: 1
> Date: Wed, 21 Jun 2017 16:21:41 -0700
> From: Mark Talluto 
> To: How to use LiveCode 
> Subject: Re: Exploring A Single File Deploy on Windows
> Message-ID: <9dbb2697-66ed-4041-a5b1-599b4c396...@canelasoftware.com>
> Content-Type: text/plain;charset=us-ascii
> 
>> On Jun 21, 2017, at 11:31 AM, Mark Waddingham via use-livecode 
>>  wrote:
>> 
>> Since 8, standalones have loaded their externals on startup - so no script 
>> runs before the standalone expects them to be where they should. One way to 
>> resolve this is to send a message *before* the externals are bound, allowing 
>> the 'spit out' solution to work again by intercepting standaloneSaving / 
>> Saved and handling an appropriate message on startup.
> 
> I am just working on this problem today. I need to be able to spit out the 
> needed externals before the engine tries to use them. Otherwise I am getting 
> an 'Initialization Error' dialog stating 'failed to load external'.
> 
> 
> Best regards,
> 
> Mark Talluto
> livecloud.io 
> nursenotes.net 
> canelasoftware.com 
> 
> 
> 
> --
> 
> Message: 2
> Date: Thu, 22 Jun 2017 09:40:56 +1000
> From: Monte Goulding 
> To: How to use LiveCode 
> Subject: Re: Preference for Keeping Saved Empty Button Scripts Empty
> Message-ID: <9f1fb35d-c8f3-4de9-b0de-82ec4ef65...@appisle.net>
> Content-Type: text/plain;charset=utf-8
> 
> 
>> On 22 Jun 2017, at 3:20 am, Mike Bonner via use-livecode 
>>  wrote:
>> 
>> Perhaps a different direction here?  I think it would be helpful to me as a
>> perpetual newbie to have the option to insert common scripts on demand.
>> Maybe a context sensitive dropdown with a mouseup framework for buttons,
>> for fields, textchanged, keyup, keydown.  Maybe backed by a personal
>> snippet library so that once one creates their perfect script for entering
>> only floating numbers.. or whatever, make the handlers snippable so that
>> they can be added to a local repository for that object type.
> 
> Hi Guys
> 
> I have done _some_ work on an autocomplete framework which could also be used 
> for a snippet library. It is something we have on the radar to complete and 
> integrate into the script editor but I?m not sure if we will be able to get 
> to it before 9 goes to RC.
> 
> Cheers
> 
> Monte
> 
> --
> 
> Message: 3
> Date: Wed, 21 Jun 2017 16:48:56 -0700
> From: Mark Talluto 
> To: How to use LiveCode 
> Subject: Re: Preference for Keeping Saved Empty Button Scripts Empty
> Message-ID: 
> Content-Type: text/plain;charset=utf-8
> 
>> On Jun 21, 2017, at 4:40 PM, Monte Goulding via use-livecode 
>>  wrote:
>> 
>> Hi Guys
>> 
>> I have done _some_ work on an autocomplete framework which could also be 
>> used for a 

[ANN] Release 8.1.5 RC-2

2017-06-22 Thread panagiotis merakos via use-livecode
Dear list members,

We are pleased to announce the release of LiveCode 8.1.5 RC-2.

Getting the Release
===
You can get the release at https://downloads.livecode.com/livecode/ or via
the automatic updater.


Release Contents


LiveCode 8.1.5 RC-2 contains 5 bugfixes and stability improvements. Since
the last stable version (8.1.4), more than 75 bugs have been fixed.

The full release notes are available from:
http://downloads.livecode.com/livecode/8_1_5/LiveCodeNotes-8_1_5_rc_2.pdf


Feedback

Please report any bugs encountered on our BugZilla at
http://quality.livecode.com/


Have fun!
The LiveCode Team

--
___
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: RIP Dan Shafer

2017-06-22 Thread Roger Eller via use-livecode
On Wed, Jun 21, 2017 at 11:31 PM, Jerry Jensen via use-livecode <
use-livecode@lists.runrev.com> wrote:

> We lost Dan Shafer yesterday. He did a lot for LiveCode. I’m sure anybody
> who met him will miss him.
> .Jerry
>
>
I have been learning from Dans books
 since I started with
HyperCard, and I recently completed a project which uses his Quartum
PDFLibrary .  Saddened
by the news of his passing, he will be remembered.

~Roger
___
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

AW: HD Windows Video Formats

2017-06-22 Thread Tiemo Hollmann TB via use-livecode
Hi Jeff,

I am working with H.264 mp4 videos for both Windows (directShow) and Mac
(AVFoundation), compressed with Sorensons squeeze. The drawback is, that
Windows 10 doesn't comes with a H.264 codec by default, so my users have to
install the codec. I made good experiences with the LAV-Filter codec pack.

Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Jeff Reynolds via use-livecode
Gesendet: Donnerstag, 22. Juni 2017 03:47
An: use-livecode@lists.runrev.com
Cc: Jeff Reynolds 
Betreff: HD Windows Video Formats

Hi,

Just curious what video wrappers and codecs folks are using for HD (1080)
for windows 10 playback (surface) with the directshow drivers native now in
livecode.

its an odd set listed in the directshow format page

https://msdn.microsoft.com/en-us/library/windows/desktop/dd407173(v=vs.85).a
spx


wmv looks to work but has a 10mps max which has some issues with underwater
shots with lots of solids. the h264 compression option looks to be wrapping
in an mpeg2 and not quite sure of a path to get there. Does anyone do h264
that playback decoders installed under generic win10 install and a path to
how you made the files?

thanks

jeff reynolds
___
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: Exploring A Single File Deploy on Windows

2017-06-22 Thread Mark Waddingham via use-livecode

On 2017-06-21 22:47, J. Landman Gay via use-livecode wrote:

Could you expand on this a little bit? StandaloneSaving/Saved are only
sent during a build, so I'm not sure how I'd use those to intercept a
startup message.


Yes but they could be used at standalone building time (probably will 
require a little bit of reordering of processes slightly) so stacks 
could embed their resources in a stackfile.



Also, when do the externals actually load? If they load at startup
before any messages are sent, then won't the externals already be done
with before the stack receives the startup message?


At present they are bound before the startup message - which is the 
problem as there is no opportunity for script to run.


Currently, you can do the suck up and spit out method - you just mustn't 
mark the externals as 'included' in the s/b... And then add code to 
standaloneSaving / standaloneSaved:


standaloneSaving (to augment your stackfile with what is needed)
   create a substack of your mainstack file which contains the externals 
you want in custom props
   a library stack handler in the substack which spits out and sets the 
externals property of itself


standaloneSaved (to reset your stackfile to what it was before)
  delete the substack

Then in the startup handler of your standalone mainstack, 'start using' 
the substack if it is present. That should then load the externals which 
you've spat out to disk in an appropriate place.


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
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: Widgets as Buttons

2017-06-22 Thread Richmond Mathewson via use-livecode
At the risk of looking goofy, why not create an SVG image with a solid 
border:


https://www.dropbox.com/sh/i487s2g27q8hbve/AABn_OVtPJc79uAeGlapQ-Yta?dl=0

Richmond.

On 6/22/17 9:18 am, J. Landman Gay via use-livecode wrote:
It may just be a mobile problem (or maybe just Android) because on 
desktop an SVG widget responds when you click in a transparent area.


But to get a larger hit area you still have to make a group, because 
SVG widgets don't have margins and they always grow to fill their 
rectangle. It would be nice to be able to define a wide margin.


But if we ever get the ability to use them as button icons, that would 
be an even better solution.

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



On June 21, 2017 9:53:32 PM Sannyasin Brahmanathaswami via 
use-livecode  wrote:



Re:  using widgets for buttons like disclosure triangles.

On mobile they seem very unresponsive.

Jacque says you have to actually tap the pixels inside the defined 
svg area.


We had this discussion before relative to using small graphics as 
buttons. So, are we back to making small groups with a background 
graphic fill white with blendlevel set to 1 or tranparent button on 
top etc.?


In Spotify, they have super small, tiny disclosure, reveal, popup 
thin arrows and they work so well, without your finger having to hit 
some exact target zone… It's almost as if for a small icon that may 
only be 20 X 20 the responsive zone is more like 50X50 with the icon 
in the middle so even "big thumbs" have no trouble.


Any thoughts on best approach? What are you doing?

One wonders if we need an enhancement request (if even possible) to 
set an object prop like:


fullRectResponsive = true

then mousedown/up works whereever you touch inside rect.

or something like that.

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




___
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: RIP Dan Shafer

2017-06-22 Thread Mark Wieder via use-livecode

On 06/21/2017 08:31 PM, Jerry Jensen via use-livecode wrote:

We lost Dan Shafer yesterday. He did a lot for LiveCode. I’m sure anybody who 
met him will miss him.
.Jerry


Oh hell. Just got home and found this.

Dan and Chipp were responsible for getting the user conferences going.
Dan was outspoken and a gadfly - I never knew him to pull his punches, 
and was a vehement promoter of xtalk. I still have a working draft 7 
copy of the HyperCard Script Language Guide that Dan did for Apple back 
in 1987 sitting by my desk. We kept talking about getting together to 
catch a Giants game but never quite got around to it.


--
 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: Widgets as Buttons

2017-06-22 Thread J. Landman Gay via use-livecode
It may just be a mobile problem (or maybe just Android) because on desktop 
an SVG widget responds when you click in a transparent area.


But to get a larger hit area you still have to make a group, because SVG 
widgets don't have margins and they always grow to fill their rectangle. It 
would be nice to be able to define a wide margin.


But if we ever get the ability to use them as button icons, that would be 
an even better solution.

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



On June 21, 2017 9:53:32 PM Sannyasin Brahmanathaswami via use-livecode 
 wrote:



Re:  using widgets for buttons like disclosure triangles.

On mobile they seem very unresponsive.

Jacque says you have to actually tap the pixels inside the defined svg area.

We had this discussion before relative to using small graphics as buttons. 
So, are we back to making small groups with a background graphic fill white 
with blendlevel set to 1 or tranparent button on top etc.?


In Spotify, they have super small, tiny disclosure, reveal, popup thin 
arrows and they work so well, without your finger having to hit some exact 
target zone… It's almost as if for a small icon that may only be 20 X 20 
the responsive zone is more like 50X50 with the icon in the middle so even 
"big thumbs" have no trouble.


Any thoughts on best approach? What are you doing?

One wonders if we need an enhancement request (if even possible) to set an 
object prop like:


fullRectResponsive = true

then mousedown/up works whereever you touch inside rect.

or something like that.

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




___
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: RIP Dan Shafer

2017-06-22 Thread J. Landman Gay via use-livecode

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



On June 21, 2017 10:33:23 PM Jerry Jensen via use-livecode 
 wrote:


We lost Dan Shafer yesterday. He did a lot for LiveCode. I’m sure anybody 
who met him will miss him.

.Jerry


___
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