Word counter crashing LiveCode?

2018-08-25 Thread Keith Clarke via use-livecode
Folks, I’m working on a simple utility to count the most popular words in a text file but my current code runs for a while & then causes LiveCode to crash. It runs fine when I merely extract a list of unique words that are not in a ‘NoiseWords’ list but when I attempt to add a word count as the

Re: Word counter crashing LiveCode?

2018-08-25 Thread Paul Dupuis via use-livecode
If you are LC 7 or higher, use trueWord chunk type vs word. See trueWord in the dictionary. Also suggest using an array as in: -- tText contains the text local tWordArray repeat for each trueWord tWord in tText   add 1 to tWordArray[tWord] end repeat -- the keys of tWordArray are you unique

Re: Word counter crashing LiveCode?

2018-08-25 Thread Alex Tweedly via use-livecode
On 25/08/2018 12:01, Alex Tweedly via use-livecode wrote: Not sure why yours is crashing, and I admit I haven't really looked closely :-) I have a similar word count - so I tweaked it slightly :  - stack with 3 fields - fNoiseWords, fSource and outputs results to "F"  - button to make it

Re: Word counter crashing LiveCode?

2018-08-25 Thread Keith Clarke via use-livecode
Thanks Alex & Paul - that’s working nicely now. It has also introduced me to: A unicode text subtlety that I’d missed since I last dabbled with LiveCode pre-7 Arrays, with a useful worked example, which are clearly more efficient for this kind of process but a learning curve that I’d been

Re: Word counter crashing LiveCode?

2018-08-25 Thread Alex Tweedly via use-livecode
Not sure why yours is crashing, and I admit I haven't really looked closely :-) I have a similar word count - so I tweaked it slightly :  - stack with 3 fields - NoiseWords, Source and outputs results to "F"  - button to make it run *on*mouseUp*    local*tSource, tNoise, tWord*s

Re: LC displaying colors incorrectly in macOS 10.13

2018-08-25 Thread Matthias Rebbe via use-livecode
Monte, rereading yours and mine comments, i have to ask: If Apple´s app Color Digital Meter shows the same values as LC´s function mousecolor, then mousecolor is showing the correct values, isn´t it? Or am i missing something? > Am 24.08.2018 um 23:49 schrieb Matthias Rebbe via use-livecode

LC-ImageToolbox_v180

2018-08-25 Thread hh via use-livecode
LC-ImageToolbox_v180 Version 1.8.0 adds a new feature to LC-ImageToolBox: Kuwahara filtering. The filter replaces each pixel with the mean value of the one of four overlapping subsquares that has minimal values variance. For more info see

Re: iPad Pro Simulator

2018-08-25 Thread Brian Milby via use-livecode
Bug report filed https://quality.livecode.com/show_bug.cgi?id=21527 PR submitted against develop-9.0 https://github.com/livecode/livecode/pull/6655 The 10.5" iPadPro still needs to be added, but that will be a separate enhancement and requires a binary file change. On Sat, Aug 25, 2018 at 12:37

Re: Datagrid Scrolling

2018-08-25 Thread hlowe via use-livecode
I agree. There has been a very significant deterioration in datagrid scrolling performance since DG2 and LC9 were introduced. Based on feedback from user testing we have delayed release of an important iOS app update because DG scrolling was perceived to be unacceptably slow and visually jerky.

Re: Word counter crashing LiveCode?

2018-08-25 Thread Mark Wieder via use-livecode
On 08/25/2018 03:25 AM, Keith Clarke via use-livecode wrote: Folks, I’m working on a simple utility to count the most popular words in a text file but my current code runs for a while & then causes LiveCode to crash. I would also do what Alex does there with an array. Your code doesn't crash

Re: [OT]Silly weekend LC poll

2018-08-25 Thread Richmond Mathewson via use-livecode
I tend to name variables in Scots or Bulgarian, mainly because calling a field "field" (whichever way you pronounce it) throws a "bluey" with LiveCode (and I have no way of knowing LiveCode's internal pronunciation of these terms). Richmond. On 25/8/2018 10:27 pm, Matthias Rebbe via

Re: [OT]Silly weekend LC poll

2018-08-25 Thread Richmond Mathewson via use-livecode
The thread is entitled "Silly weekend" . . . And it is a fairly weak end, But Tits Fun. Richmond. On 25/8/2018 10:40 pm, Colin Holgate via use-livecode wrote: I’m with Matthias on this. Some abbreviations are their own thing, and you don’t want to reminisce over where the short version came

Re: [OT]Silly weekend LC poll

2018-08-25 Thread Richmond Mathewson via use-livecode
OK, Randolph . . . Richmond. On 25/8/2018 10:38 pm, Randy Hengst via use-livecode wrote: Interesting. I don’t pronounce them as words. They are character and location. Just like I don’t pronounce Dr. as durrr. I say doctor. be well, randy www.classroomFocusedSoftware.com On Aug 25, 2018,

Re: [OT]Silly weekend LC poll

2018-08-25 Thread Kee Nethery via use-livecode
For me both are pronounced the way they would be as a full word except only the first syllable is pronounced. > CHAR: Rhymes with "care" > LOC: Rhymes with "smoke" Kee Nethery ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Print Break

2018-08-25 Thread Knapp Martin via use-livecode
I'm migrating a project from LC 6.6.5 to LC 9. In the app I have a routine that prints a few cards per page then issues a "Print Break" command that has worked fine for years in LC 6 but in LC 9 I'm getting an execution error on it (print: card or stack must be open to print it). If I take the

Re: [OT]Silly weekend LC poll

2018-08-25 Thread Devin Asay via use-livecode
“Care” and “loke”. Habits from way back in the HyperCard days. Sent from my iPhone > On Aug 25, 2018, at 1:28 PM, Matthias Rebbe via use-livecode > wrote: > > > > CHAR rhymes with far > LOC rhymes with lock. > > This is at least how i pronounce them. But i am native German and not

Re: [OT]Silly weekend LC poll

2018-08-25 Thread J. Landman Gay via use-livecode
I say them as you do, because they are the first part of words that have a known pronounciation. Saying "lock" instead of "loke" is particularly confusing because "lock" is a keyword with an entirely different meaning. For those who say "lock" instead of "loke", how do you say "lockLoc"?

Re: [OT]Silly weekend LC poll

2018-08-25 Thread Mark Wieder via use-livecode
On 08/25/2018 12:07 PM, J. Landman Gay via use-livecode wrote: I wonder how people pronounce two common LC abbreviations. In print you never notice but in real life I always have to translate what they're talking about. How do you pronounce: I try not to say them out loud at all. I

Re: [OT]Silly weekend LC poll

2018-08-25 Thread Keith Martin via use-livecode
For me... > CHAR Rhymes with “car” and > LOC Rhymes with “mock” I know they’re abbreviations but I mentally elevated them to regular word-hood many years ago. :) k ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Mojave beta & 32 bit LC

2018-08-25 Thread Knapp Martin via use-livecode
Very interesting - I just installed the latest developer beta for macOS Mojave (18A371a) and ran a couple of apps I build in LC 6.6.5 (32 bit) and in *very* brief tests they seem to work fine. I didn't even get the warning about them being 32 bit. It was interesting that one of the apps that I

[OT]Silly weekend LC poll

2018-08-25 Thread J. Landman Gay via use-livecode
I wonder how people pronounce two common LC abbreviations. In print you never notice but in real life I always have to translate what they're talking about. How do you pronounce: CHAR Rhymes with "care" Sounds like smoldering wood LOC Rhymes with "smoke" Sounds like a deadbolt I

Re: [OT]Silly weekend LC poll

2018-08-25 Thread Matthias Rebbe via use-livecode
CHAR rhymes with far LOC rhymes with lock. This is at least how i pronounce them. But i am native German and not native English. Btw.: due to the fact that LC language is english like, you should see my comments and variable names in my scripts. They are mixed, some comments are in

Re: [OT]Silly weekend LC poll

2018-08-25 Thread Randy Hengst via use-livecode
Interesting. I don’t pronounce them as words. They are character and location. Just like I don’t pronounce Dr. as durrr. I say doctor. be well, randy www.classroomFocusedSoftware.com > On Aug 25, 2018, at 2:07 PM, J. Landman Gay via use-livecode > wrote: > > I wonder how people pronounce two

Re: [OT]Silly weekend LC poll

2018-08-25 Thread Richmond Mathewson via use-livecode
The latter choice in both cases. When I was studying Linguistics at SIU Carbondale we had a Professor (Kyle Perkins) who pronounced "larynx" as "larnix". AND, needless to say, when I program I subvocalise everything as I go along. Do you pronounce FIELD Rhimes with "filled" Rhimes with

Re: [OT]Silly weekend LC poll

2018-08-25 Thread Colin Holgate via use-livecode
I’m with Matthias on this. Some abbreviations are their own thing, and you don’t want to reminisce over where the short version came from. LOC is spelled LOC, not Loke, and CHAR is not spelled as Chare or Care. But it’s your choice, I don’t char. > On Aug 25, 2018, at 3:35 PM, Devin Asay via

Re: Word counter crashing LiveCode?

2018-08-25 Thread J. Landman Gay via use-livecode
On 8/25/18 6:04 AM, Alex Tweedly via use-livecode wrote: On 25/08/2018 12:01, Alex Tweedly via use-livecode wrote: Not sure why yours is crashing, and I admit I haven't really looked closely :-) I'm trying to figure out why it crashes too. on mouseUp    local tSource, tNoise, tWords   

Re: [OT]Silly weekend LC poll

2018-08-25 Thread Mark Wieder via use-livecode
On 08/25/2018 12:57 PM, J. Landman Gay via use-livecode wrote: "Locklock"? Who's there? -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: LC displaying colors incorrectly in macOS 10.13

2018-08-25 Thread Monte Goulding via use-livecode
> On 25 Aug 2018, at 10:51 pm, Matthias Rebbe via use-livecode > wrote: > > rereading yours and mine comments, i have to ask: > > If Apple´s app Color Digital Meter shows the same values as LC´s function > mousecolor, then mousecolor is showing the correct values, isn´t it? > Or am i

Re: [OT]Silly weekend LC poll

2018-08-25 Thread James At The Hale via use-livecode
I am also with Matthias on this. As for saying them out loud, very rarely, but I do subvocalise them. As for Dr. I say doctor. I guess it just comes down to what we each find more convenient. As for “field”. Aurgh! I just wish I wouldn’t type “filed” so many times. James

Re: LC-ImageToolbox_v180 (hh)

2018-08-25 Thread Alejandro Tejada via use-livecode
Hi Hermann, Many thanks for sharing your excellent work with all LC developers! I hope that you include color dithering in your next version. Check the more recent stack in this forum thread: http://forums.livecode.com/viewtopic.php?f=10=29935 Where could I send you an screenshot of a message

Re: [OT]Silly weekend LC poll

2018-08-25 Thread J. Landman Gay via use-livecode
I swear one of these days someone is going to sew your fingers shut. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 25, 2018 3:03:28 PM Mark Wieder via use-livecode wrote: On 08/25/2018 12:57 PM, J. Landman Gay via

Re: LC displaying colors incorrectly in macOS 10.13

2018-08-25 Thread Trevor DeVore via use-livecode
On Sat, Aug 25, 2018 at 6:25 PM Monte Goulding via use-livecode < use-livecode@lists.runrev.com> wrote: > > So it seems the default color profile in High Sierra isn’t right. I’m not > overly sure what we can do about it. It might be that someone else on the > team knows what to do or it could