Re: [ANN] Release 8.2.0 DP-2

2017-10-12 Thread Sannyasin Brahmanathaswami via use-livecode
Thanks for the update Mark… you have our app on Git, so if you can make it work on Android, sometime in November, that will be great! We will keep pushing on content. Getting a proper rendering on opening and closing stacks is the key missing factor on Android. On 10/12/17, 8:45 AM,

Re: Query Input Form

2017-10-12 Thread Stephen Barncard via use-livecode
Using a data grid? Or a chain of pop-ups selectors? On Thu, Oct 12, 2017 at 08:00 Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Has anyone put together a query input form, that can take simple input > from a user, like: > customers.customername is/is not/is greater

Re: Atkinson dither algorithm & 'for each' loop

2017-10-12 Thread hh via use-livecode
@Al. For multiples of 1/8 (Atkinson) you need 8*256=2048 integers, that is 11 Bit. For multiples of 1/16 (Floyd-Steinberg) you need 16*256=4096 integers, that is 12 Bit. In 2 chars = 16 Bit fit even multiples of 1/256. No dither-algorithm uses such tiny diffusion-errors.

Re: [ANN] Release 8.2.0 DP-2

2017-10-12 Thread Richard Gaskin via use-livecode
Mark Waddingham wrote: > I've already sorted out selection handles based on some work Ali did a > while back in 9 - all selection type handles are now rendered above > everything else and the graphical artifacts which appeared in > accelRender mode have been eliminated. I certainly don't want

Atkinson dither algorithm & 'for each' loop

2017-10-12 Thread Alejandro Tejada via use-livecode
Hi Hermann, Hermann Hoch wrote: > So all considerations to improve the LCS script are, > TMHO, of rather theoretical value. Here are some more: > The Atkinson algorithm uses multiples of 1/8 = 0.125 for > the diffusion-error, the Floyd-Steinberg algorithm uses > multiples of 1/16 = 0.0625. > And

Re: Atkinson dither algorithm & 'for each' loop

2017-10-12 Thread hh via use-livecode
> Al wrote: > Please, check this new handler in the forum and suggest how to > make this faster and more precise. I already gave you a method that is, with a 500x500 image, at least 1000 (thousand) times faster than your script. Of course this is not due my special skills but the ability of

Re: [ANN] Release 8.2.0 DP-2

2017-10-12 Thread Mark Waddingham via use-livecode
On 2017-10-11 19:09, Dan Brown via use-livecode wrote: Any news on the progress of datagrid v2 and enhanced graphics speed? Just to embellish what Panos said... There has been 2-3 of us working on the DG2 project over the last couple of sprints: 1) Monte has been updating the DG to

Re: Atkinson dither algorithm & 'for each' loop

2017-10-12 Thread Mark Waddingham via use-livecode
On 2017-10-12 19:35, Alejandro Tejada via use-livecode wrote: Peter Read wrote: One note of caution regarding the use of the "repeat for each" loop, whilst you will get a loop iteration for every value in the collection (fldhexa3 in your example), you are not guaranteed the order in which they

Atkinson dither algorithm & 'for each' loop

2017-10-12 Thread Alejandro Tejada via use-livecode
A few hours ago, I send a message to the mail list, a message that vanish without trace. Now I am resending parts of that message. The rest of the message is in the forum... Peter Read wrote: > One note of caution regarding the use of the "repeat for each" loop, > whilst you will get a loop

Repeat For Each Iteration Order (was Re: use-livecode Digest, Vol 169, Issue 18)

2017-10-12 Thread Mark Waddingham via use-livecode
On 2017-10-12 18:38, Peter Reid via use-livecode wrote: I agree that the redundant indexing is an expensive approach, however I have found that this abnormal structure of a repeat for each loop can be a lot faster than the other loop forms in some circumstances. I can't find the reference that

Re: use-livecode Digest, Vol 169, Issue 18

2017-10-12 Thread Mark Wieder via use-livecode
On 10/12/2017 09:38 AM, Peter Reid via use-livecode wrote: I can't find the reference that first highlighted to me the lack of guaranteed sequence of chunks, but I've assumed this was a restriction for some time. It would be great if this is incorrect as I've got some heavyweight looping in

Re: use-livecode Digest, Vol 169, Issue 18

2017-10-12 Thread Peter Reid via use-livecode
I agree that the redundant indexing is an expensive approach, however I have found that this abnormal structure of a repeat for each loop can be a lot faster than the other loop forms in some circumstances. I can't find the reference that first highlighted to me the lack of guaranteed sequence

Re: Atkinson dither algorithm & 'for each' loop

2017-10-12 Thread Richard Gaskin via use-livecode
Peter Reid wrote: > One note of caution regarding the use of the "repeat for each" loop, > whilst you will get a loop iteration for every value in the collection > (fldhexa3 in your example), you are not guaranteed the order in which > they will occur. Maybe I misunderstand, but are you

Query Input Form

2017-10-12 Thread Bob Sneidar via use-livecode
Has anyone put together a query input form, that can take simple input from a user, like: customers.customername is/is not/is greater than/is less than/is like AND/OR AND/OR ... and then build an sql query for it? Bob S ___ use-livecode mailing

Re: Atkinson dither algorithm & 'for each' loop

2017-10-12 Thread Bob Sneidar via use-livecode
That is correct Ben. It's not the repeat for each that is unreliable (probably a bad word to use here) but it is arrays which do not retain the sequence of key/values in the order they were put in. To get around this, when possible use numbered keys, then: put the keys of aMyArray into

Re: Autocompletion of quotes on LC 8.2,0 DP-1

2017-10-12 Thread Bob Sneidar via use-livecode
I've run into that in the past, and that issue was that the window shrinks each time a stack is opened. I think that was addressed a long time ago, but what I have done because I have multiple windows and I am finding my windows off screen so often, is I save the rect and loc in a property of

Re: Microsoft 365 Rest API

2017-10-12 Thread Skip Kimpel via use-livecode
Amen to that... SKIP On Thu, Oct 12, 2017 at 9:54 AM, Roger Eller via use-livecode < use-livecode@lists.runrev.com> wrote: > Skip, we are piloting the same starship in alternate universes, I do > believe. ;) > > ~Roger > > > On Thu, Oct 12, 2017 at 9:47 AM, Skip Kimpel via use-livecode < >

Re: Microsoft 365 Rest API

2017-10-12 Thread Roger Eller via use-livecode
Skip, we are piloting the same starship in alternate universes, I do believe. ;) ~Roger On Thu, Oct 12, 2017 at 9:47 AM, Skip Kimpel via use-livecode < use-livecode@lists.runrev.com> wrote: > Roger... why is it that you and I are ALWAYS on the same page and > interested in the same things? >

Re: Microsoft 365 Rest API

2017-10-12 Thread Skip Kimpel via use-livecode
Roger... why is it that you and I are ALWAYS on the same page and interested in the same things? Love it! SKIP On Thu, Oct 12, 2017 at 9:43 AM, Roger Eller via use-livecode < use-livecode@lists.runrev.com> wrote: > VERY interested! Will this be shared, or become a add-on product for the > LC

Re: Microsoft 365 Rest API

2017-10-12 Thread Roger Eller via use-livecode
VERY interested! Will this be shared, or become a add-on product for the LC community? ~Roger On Thu, Oct 12, 2017 at 8:54 AM, Pi Digital via use-livecode < use-livecode@lists.runrev.com> wrote: > I’ve been currently working on a project with another Livecoder making a > library to work with

Re: Microsoft 365 Rest API

2017-10-12 Thread Skip Kimpel via use-livecode
I am very interested in this functionality as well. SKIP On Thu, Oct 12, 2017 at 8:54 AM, Pi Digital via use-livecode < use-livecode@lists.runrev.com> wrote: > I’ve been currently working on a project with another Livecoder making a > library to work with MS Dynamics365. It turns out that the

Re: Microsoft 365 Rest API

2017-10-12 Thread Pi Digital via use-livecode
I’ve been currently working on a project with another Livecoder making a library to work with MS Dynamics365. It turns out that the best way for LC to work with it is via their webAPI (as are most things) until v9 is ready. But this still means a lot of stuff being put together outside of LC.

Re: OAuth2 Status?

2017-10-12 Thread panagiotis merakos via use-livecode
Hi all, I have tested using the stack from LQCC and used the credentials Greg sent me privately. I get a sheet stack with the error: OAuth Error: invalid_team_for_non_distributed_app So I assume that something is wrong with these credentials. @Ben If you want to close the sheet stack, if no

Re: OAuth2 Status?

2017-10-12 Thread Ben Rubinstein via use-livecode
I downloaded your stack from LQCC, substituted my slack client id and secret, and port. I then got a sheet with error because the 'scope' parameter wasn't specified. When I specified that, I got a nice Slack login window... which complained that my free account was up to its limit of

Microsoft 365 Rest API

2017-10-12 Thread Colin Kelly via use-livecode
Does anyone have any working livecode scripts/libraries to use with the Microsoft 365 Rest API for accessing Calendar entries? Any help much appreciated. -- Colin Kelly ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: Atkinson dither algorithm & 'for each' loop

2017-10-12 Thread Ben Rubinstein via use-livecode
Hi Peter, One note of caution regarding the use of the "repeat for each" loop, whilst you will get a loop iteration for every value in the collection (fldhexa3 in your example), you are not guaranteed the order in which they will occur. Are you sure? My understanding has always been that

Re: OAuth2 Status?

2017-10-12 Thread pink via use-livecode
LC9DP9 Indy on Mac Right now, I've only tested in the IDE without success. I tried one Mac standalone just for the heck of it (didn't work). Haven't tried iOS or any other platform. btw, submitted ticket: http://quality.livecode.com/show_bug.cgi?id=20559

Re: Atkinson dither algorithm & 'for each' loop

2017-10-12 Thread Peter Reid via use-livecode
One note of caution regarding the use of the "repeat for each" loop, whilst you will get a loop iteration for every value in the collection (fldhexa3 in your example), you are not guaranteed the order in which they will occur. This doesn't matter in a lot of cases but does matter when the

Re: OAuth2 Status?

2017-10-12 Thread Ben Rubinstein via use-livecode
Hi Greg, What platform are you doing this on? I've found Oauth2 in LC9dp9 (Business) is working okay for me with both Dropbox and Slack - on Mac. On iOS however I've had no luck. I'd be interested to hear if anyone has got it working on iOS or Android. Ben On 09/10/2017 18:58, pink via