Re: Managing windows in the IDE on Mac

2023-07-31 Thread Jerry Jensen via use-livecode
I now always "set the backdrop to none” right away in the main stack. Otherwise 
mine is always black. Pain.
.Jerry

> On Jul 31, 2023, at 8:56 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Hey Dar! So nice to see you here again.
> 
> The backdrop problem is a known bug on Ventura. Sometimes you can click where 
> the window ought to be and it comes to the front, but basically windowing is 
> broken. The only fix I know of for now is to not use a backdrop.
> 
> 
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On July 31, 2023 7:50:52 PM Dar Scott via use-livecode 
>  wrote:
> 
>> It has been a while. Hi, all. I’m getting back into LiveCode.
>> 
>> I’m using 9.6.9 on Mac Ventura.
>> 
>> I’m having a lot of trouble with the windows in the IDE. The backdrop 
>> doesn’t always work. The stack I’m working on keeps disappearing. I can 
>> check Float above everything, but that is not what I need and it can become 
>> a problem when I want to look at something else. The Project Browser stays 
>> behind everything and then disappears when I click on it.
>> 
>> Dar
>> 
>> 
>> 
>> 
>> Dar Scott
>> 
>> 
>> 
>> +1.505.433.1024  | darzLAB.com  | 
>> darsc...@darzlab.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


___
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: Hunting Default Preferences

2023-05-07 Thread Jerry Jensen via use-livecode
That’s what I was looking for - the location of the LC preference file.
Actually Randy Hengst wisely advised me that the View menu has a toggle for the 
backdrop. . .DUH!
Thanks,
Jerry

> On May 7, 2023, at 2:58 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Jerry,
> 
> did you already try to delete the LC preference file?
> 
> The function revEnvironmentUserPreferencesPath()
> returns the path to the preferences file.
> 
> 
> 
>> Am 07.05.2023 um 23:39 schrieb Jerry Jensen via use-livecode 
>> :
>> 
>> Hi folks,
>> 
>> I am returning to LiveCode after a spell of other projects, including 
>> debugging others’ LC code.
>> 
>> I find myself with a predicament - on launch of LC (no stack, just the LC 
>> app) I get a backdrop of off-white when I need none.
>> I have no idea how this got changed (never underestimate fatfingers).
>> There is probably a preference file somewhere that will let me change it 
>> back to the way it was (none) but I can’t seem to find it. 
>> I have looked everywhere that seems reasonable, but that is clearly not 
>> enough.
>> 
>> Its easy enough to put:
>> set the backdrop to none
>> in each mainstack opencard handler, but that is annoying at best.
>> 
>> Where should I look?
>> 
>> Regards,
>> Jerry Jensen
>> M1 MacBook Pro, OS 13.3.1 LC 9.6.9
>> ___
>> 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: Hunting Default Preferences

2023-05-07 Thread Jerry Jensen via use-livecode
Oh that is TOO easy. No wonder I couldn’t find it!
Onward!
Thanks,
Jerry

> On May 7, 2023, at 3:03 PM, Randy Hengst via use-livecode 
>  wrote:
> 
> You should be able to go to the View menu and toggle off backdrop.
> 
> take care,
> randy
> 
>> On May 7, 2023, at 4:58 PM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Jerry,
>> 
>> did you already try to delete the LC preference file?
>> 
>> The function revEnvironmentUserPreferencesPath()
>> returns the path to the preferences file.
>> 
>> 
>> 
>>> Am 07.05.2023 um 23:39 schrieb Jerry Jensen via use-livecode 
>>> :
>>> 
>>> Hi folks,
>>> 
>>> I am returning to LiveCode after a spell of other projects, including 
>>> debugging others’ LC code.
>>> 
>>> I find myself with a predicament - on launch of LC (no stack, just the LC 
>>> app) I get a backdrop of off-white when I need none.
>>> I have no idea how this got changed (never underestimate fatfingers).
>>> There is probably a preference file somewhere that will let me change it 
>>> back to the way it was (none) but I can’t seem to find it. 
>>> I have looked everywhere that seems reasonable, but that is clearly not 
>>> enough.
>>> 
>>> Its easy enough to put:
>>> set the backdrop to none
>>> in each mainstack opencard handler, but that is annoying at best.
>>> 
>>> Where should I look?
>>> 
>>> Regards,
>>> Jerry Jensen
>>> M1 MacBook Pro, OS 13.3.1 LC 9.6.9
>>> ___
>>> 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


Hunting Default Preferences

2023-05-07 Thread Jerry Jensen via use-livecode
Hi folks,

I am returning to LiveCode after a spell of other projects, including debugging 
others’ LC code.

I find myself with a predicament - on launch of LC (no stack, just the LC app) 
I get a backdrop of off-white when I need none.
I have no idea how this got changed (never underestimate fatfingers).
There is probably a preference file somewhere that will let me change it back 
to the way it was (none) but I can’t seem to find it. 
I have looked everywhere that seems reasonable, but that is clearly not enough.

Its easy enough to put:
set the backdrop to none
in each mainstack opencard handler, but that is annoying at best.

Where should I look?

Regards,
Jerry Jensen
M1 MacBook Pro, OS 13.3.1 LC 9.6.9
___
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: Would anyone miss convertOctals?

2022-06-09 Thread Jerry Jensen via use-livecode
Wait, I like octal! 
I admit I have not used it since writing a disassembler for the HP-85, which 
nobody but me ever used.
I agree with Ralf - carrots would be just fine.
.Jerry

> On Jun 9, 2022, at 5:44 AM, Mark Waddingham via use-livecode 
>  wrote:
> 
> So I'm currently sitting here about to embark on fixing 
>  (which is the final 
> thing to sort out before being able to merge my constant expression patch) 
> and I was reminded of 'convertOctals'.
> 
> Now, generally, I am somewhat averse to actually removing any language 
> feature (even those we have deprecated, unless we absolutely have to!) - 
> however, I would really like to make convertOctals have no effect at all in 
> 10.0+ as it adds a disproportionate amount of complexity compared to (what I 
> think, at least) its utility is (particularly in the context of things 
> 'coming next' like the script compiler).
> 
> So three questions:
> 
>  1) Do you know what convertOctals is, and what it does?
> 
>  2) If you do, have you ever actually used it in any scripts which are 
> actually still in use?
> 
>  3) If you do use it in any scripts which are still in use, would you be 
> willing to change them to not use it?
> 
>  4) If you do use/have used it, had you ever noticed that it has been 
> slightly broken for years?
> 
> Now, its always better to offer a carrot when there is a stick (or in this 
> case, an axe) being wielded and the carrot in this case would be to expand 
> the numeric literal syntax to add both explicit octal and binary number 
> literals alongside hexadecimal:
> 
>0xabcdef - hex literal
>0o777 - octal literal
>0b101110101
> 
> The key difference between 0o777 and using 0777 (with convertOctals true) is 
> that the former is not ambiguous at parse time, it doesn't require a runtime 
> property set to true in order for the engine to convert the string to a 
> number correctly.
> 
> Please let me know your thoughts :)
> 
> Warmest Regards,
> 
> Mark.
> 
> P.S. In the scheme of 'breaking changes' - we've already made a number of 
> them for 10 already, and my gut tells me removing convertOctals is likely to 
> cause less consternation than those we already have - but I could be wrong!
> 
> -- 
> 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
> 


___
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: playrate & templateimage

2022-03-24 Thread Jerry Jensen via use-livecode



> On Mar 24, 2022, at 10:37 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Am 24.03.2022 um 18:31 schrieb Jerry Jensen via use-livecode 
> :
>> 
>> Izotope
> 
> Gesundheit! :-D

Ha! I last said Gesundheit after a dinner companion exclaimed about her salad: 
"Jicama!"

>>> I wonder if there is a way to change the PITCH without changing the 
>>> PLAYRATE, or a way to still change both? 
>>> 
>>> Bob S
>>> 


___
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: playrate & templateimage

2022-03-24 Thread Jerry Jensen via use-livecode
Izotope


> On Mar 24, 2022, at 9:19 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Now THAT is interesting. I used to play guitar along with music in my iTunes. 
> The problem is that recording studios used to alter the pitch of their songs 
> (and so the time of the song) slightly, in order to get the songs to play 
> within the limits imposed by Radio stations, and to get everything to fit 
> onto an LP. (That was a vinyl disc that spun at 33 1/3 rotations per minute 
> and a diamond stylus vibrated with the grooves on the LP, for those of you 
> born after the 80's.) 
> 
> Even though these are not considerations anymore, recording studios STILL 
> alter the pitch of songs slightly (not sure why) so each song I played along 
> with I had to do a quick re-tune of the guitar! It was so frustrating I 
> eventually just stopped doing that. 
> 
> I wonder if there is a way to change the PITCH without changing the PLAYRATE, 
> or a way to still change both? 
> 
> Bob S
> 
> 
>> On Mar 24, 2022, at 04:31 , Klaus major-k via use-livecode 
>>  wrote:
>> 
>> Hi friends,
>> 
>> LC never ceases to surprise me and I love that!
>> 
>> 1. In earlier versions setting the "playrate" of a player object to a 
>> different value than 1
>> unfortunately also changed the PITCH of the sound/movie.
>> 
>> Today I was delighted to find out that this is not the case anymore! 
>> PITCH does not change anymore when setting the PLAYRATE!
>> Thanks for the hint, Frans!
>> 
>> At least on a Mac. Is this also the case on Windows?
>> 
>> When did this happen?
>> And why didn't anybody tell me? :-D
>> 
>> 2. The fact that we can also import/export snapshots from "the templateimage"
>> also suprised me a lot earlier this week.
>> A very handy feature, can make a lot of work unneccessary!
>> 
>> Same from "the templateplayer" does not work however, but does not throw
>> an error, just a small black image.
>> 
>> 
>> Best
>> 
>> Klaus
>> --
>> Klaus Major
>> https://www.major-k.de
>> https://www.major-k.de/bass
>> kl...@major-k.de
>> 
>> 
>> ___
>> 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: Speed up a slow loop

2022-03-02 Thread Jerry Jensen via use-livecode
I did not know about filter! I think I am cured of my “among” disease.
.Jerry

> On Mar 2, 2022, at 7:29 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> I ran into this when doing mobile predictive typing for US cities(40,000)
> with a scrollable dropdown of results. I did with a loop in JavaScript in
> html and was instantly fast. So in LC IDE I started with the loop thing and
> it was too slow. There was a 3/4 of a second blip as each character was
> typed. I found that "filter the lines" is blazingly fast. So I built the cr
> list of cities with the city followed by a dash and then the metadata I
> needed (lat/lons). Use the "filter into" form so the original list remains
> unchanged. I do a filter for each character typed. Works like a charm. Now
> LC is as fast as the JavaScript version. 
> When filtering if you want the exact term then search with the dash added at
> the end for the search term.
> 
> "filter" must be using your time machine somehow.



___
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: Speed up a slow loop

2022-03-02 Thread Jerry Jensen via use-livecode
That does make sense and now I understand the problem. 

> On Mar 2, 2022, at 6:19 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Actually, this is what I do:
> 
>  if sDictFile[L] = true then...
> 
> which I thought would be pretty fast since it's accessing the array directly. 
> The array looks like this:
> 
> sDictFile
>  word1 -> true
>  word2 -> true
>  word3 -> true
> 
> And my loop does this, for each user word:
> 
>  if sDictFile["word2"] = true then...
> 
> so I'm not really looping through the keys, just looking for a matching one. 
> The loop is for each user word I need to find. If there's no key, then the 
> word isn't legal. I hope that makes sense.
> 
> -- 
> 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


Re: Speed up a slow loop

2022-03-02 Thread Jerry Jensen via use-livecode
Arrgh.
Try again.

“among the keys of C” 
instead of the keys of tCorrWdList like I wrote.
I’ll quit now.
.Jerry

> On Mar 2, 2022, at 5:44 PM, Jerry Jensen via use-livecode 
>  wrote:
> 
> Now that I’m thinking more directly, I’ll try again:
> 
> Instead of putting the keys OF C into tCorrWdList and using 
> “among the lines of tCorrWdList",
> how about using “among the keys of tCorrWdList”? — wrong - should have geen 
> the keys of C instead
> 
> Judging from no knowledge of the internals but guessing what it must do: 
> “among the lines” has to look for all the line endings (unicode!), 
> but “among the keys” can jump along by constant offsets since
> the keys are all fixed length hashes ?
> The lines happen to be all the same length, but “among the lines” can’t 
> assume that and has to go look.
> 
> Maybe I’m missing something again . . .
> .Jerry
> 
> 
>> On Mar 2, 2022, at 4:19 PM, Jerry Jensen via use-livecode 
>>  wrote:
>> 
>> Could using “is among the keys of sDictFile” instead of the loop be another 
>> advantage?
>> .Jerry
>> 
>>> On Mar 2, 2022, at 3:12 PM, Devin Asay via use-livecode 
>>>  wrote:
>>> 
>>> Jacque,
>>> 
>>> Have you tried
>>> 
>>> put the keys of C into tCorrWdList
>>> repeat for each line I in pList
>>> if I is among the lines of tCorrWdList then
>>>put I & cr after tCheckedList
>>> else
>>>put I & cr after tNonWords
>>> end if
>>> end repeat
>>> 
>>> I just wonder if there is some overhead with checking the array on each 
>>> iteration.
>>> 
>>> But like you say, it may not be the repeat loop at all.
>>> 
>>> - Devin
>>> 
>>> 
>>> On Mar 2, 2022, at 2:57 PM, J. Landman Gay via use-livecode 
>>> mailto:use-livecode@lists.runrev.com>> wrote:
>>> 
>>> In my Boggle game I have an array containing dictionary words as keys, 
>>> split as set, so all values are "true". I need to compare those keys with a 
>>> list of user words and get back a list of good words and a list of illegal 
>>> words.
>>> 
>>> The loop takes forever. Here it is (sDictFile is a script local):
>>> 
>>> repeat for each line l in pList -- pList is the user word list
>>> if sDictFile[l] = true then put l & cr after tCheckedList
>>> else put l & cr after tNonWords
>>> wait 0 with messages  -- prevent ANRs
>>> end repeat
>>> 
>>> I added the wait because my Android phone was putting up an "app not 
>>> responding" warning while the loop was running (or just after, hard to 
>>> tell.) The loop should be much faster than that. When I added some timing 
>>> checks though, the timer says the loop takes between 0 and 1 millisecond, 
>>> and yet the wait on screen remains.
>>> 
>>> With a 3-word user list, the loop takes 4 seconds. With an 8 word user list 
>>> the loop takes 6 seconds. The more user words, the longer the wait.
>>> 
>>> Even stranger: on my cheapo Android tablet with 4 megs of RAM running 
>>> Android 9 the response is nearly instantaneous, even if the user list has 
>>> 200+ words. On my Pixel phone with 8 megs of RAM and Android 12 the 
>>> response is slow enough to trigger the ANR with only 3 words. I'm building 
>>> for ARM 64.
>>> 
>>> I've tried any number of workarounds without luck, on both LC 9.6.6 and LC 
>>> 10.0.0. Any ideas? I have a feeling it isn't the script per se, it's 
>>> something else.
>>> 
>>> --
>>> Jacqueline Landman Gay | 
>>> jac...@hyperactivesw.com<mailto:jac...@hyperactivesw.com>
>>> HyperActive Software   | http://www.hyperactivesw.com
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com<mailto: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
>>> 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
>>> 
>> 
>> 
>> ___
>> 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: Speed up a slow loop

2022-03-02 Thread Jerry Jensen via use-livecode
Now that I’m thinking more directly, I’ll try again:

Instead of putting the keys into tCorrWdList and using 
“among the lines of tCorrWdList",
how about using “among the keys of tCorrWdList”?

Judging from no knowledge of the internals but guessing what it must do: 
“among the lines” has to look for all the line endings (unicode!), 
but “among the keys” can jump along by constant offsets since
the keys are all fixed length hashes ?
The lines happen to be all the same length, but “among the lines” can’t assume 
that and has to go look.

Maybe I’m missing something again . . .
.Jerry


> On Mar 2, 2022, at 4:19 PM, Jerry Jensen via use-livecode 
>  wrote:
> 
> Could using “is among the keys of sDictFile” instead of the loop be another 
> advantage?
> .Jerry
> 
>> On Mar 2, 2022, at 3:12 PM, Devin Asay via use-livecode 
>>  wrote:
>> 
>> Jacque,
>> 
>> Have you tried
>> 
>> put the keys of C into tCorrWdList
>> repeat for each line I in pList
>>  if I is among the lines of tCorrWdList then
>> put I & cr after tCheckedList
>>  else
>> put I & cr after tNonWords
>>  end if
>> end repeat
>> 
>> I just wonder if there is some overhead with checking the array on each 
>> iteration.
>> 
>> But like you say, it may not be the repeat loop at all.
>> 
>> - Devin
>> 
>> 
>> On Mar 2, 2022, at 2:57 PM, J. Landman Gay via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> In my Boggle game I have an array containing dictionary words as keys, split 
>> as set, so all values are "true". I need to compare those keys with a list 
>> of user words and get back a list of good words and a list of illegal words.
>> 
>> The loop takes forever. Here it is (sDictFile is a script local):
>> 
>> repeat for each line l in pList -- pList is the user word list
>>  if sDictFile[l] = true then put l & cr after tCheckedList
>>  else put l & cr after tNonWords
>>  wait 0 with messages  -- prevent ANRs
>> end repeat
>> 
>> I added the wait because my Android phone was putting up an "app not 
>> responding" warning while the loop was running (or just after, hard to 
>> tell.) The loop should be much faster than that. When I added some timing 
>> checks though, the timer says the loop takes between 0 and 1 millisecond, 
>> and yet the wait on screen remains.
>> 
>> With a 3-word user list, the loop takes 4 seconds. With an 8 word user list 
>> the loop takes 6 seconds. The more user words, the longer the wait.
>> 
>> Even stranger: on my cheapo Android tablet with 4 megs of RAM running 
>> Android 9 the response is nearly instantaneous, even if the user list has 
>> 200+ words. On my Pixel phone with 8 megs of RAM and Android 12 the response 
>> is slow enough to trigger the ANR with only 3 words. I'm building for ARM 64.
>> 
>> I've tried any number of workarounds without luck, on both LC 9.6.6 and LC 
>> 10.0.0. Any ideas? I have a feeling it isn't the script per se, it's 
>> something else.
>> 
>> --
>> Jacqueline Landman Gay | 
>> jac...@hyperactivesw.com<mailto:jac...@hyperactivesw.com>
>> HyperActive Software   | http://www.hyperactivesw.com
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com<mailto: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
>> 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
>> 
> 
> 
> ___
> 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: Speed up a slow loop

2022-03-02 Thread Jerry Jensen via use-livecode
Could using “is among the keys of sDictFile” instead of the loop be another 
advantage?
.Jerry

> On Mar 2, 2022, at 3:12 PM, Devin Asay via use-livecode 
>  wrote:
> 
> Jacque,
> 
> Have you tried
> 
> put the keys of sDictFile into tCorrWdList
> repeat for each line I in pList
>   if I is among the lines of tCorrWdList then
>  put I & cr after tCheckedList
>   else
>  put I & cr after tNonWords
>   end if
> end repeat
> 
> I just wonder if there is some overhead with checking the array on each 
> iteration.
> 
> But like you say, it may not be the repeat loop at all.
> 
> - Devin
> 
> 
> On Mar 2, 2022, at 2:57 PM, J. Landman Gay via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
> 
> In my Boggle game I have an array containing dictionary words as keys, split 
> as set, so all values are "true". I need to compare those keys with a list of 
> user words and get back a list of good words and a list of illegal words.
> 
> The loop takes forever. Here it is (sDictFile is a script local):
> 
> repeat for each line l in pList -- pList is the user word list
>   if sDictFile[l] = true then put l & cr after tCheckedList
>   else put l & cr after tNonWords
>   wait 0 with messages  -- prevent ANRs
> end repeat
> 
> I added the wait because my Android phone was putting up an "app not 
> responding" warning while the loop was running (or just after, hard to tell.) 
> The loop should be much faster than that. When I added some timing checks 
> though, the timer says the loop takes between 0 and 1 millisecond, and yet 
> the wait on screen remains.
> 
> With a 3-word user list, the loop takes 4 seconds. With an 8 word user list 
> the loop takes 6 seconds. The more user words, the longer the wait.
> 
> Even stranger: on my cheapo Android tablet with 4 megs of RAM running Android 
> 9 the response is nearly instantaneous, even if the user list has 200+ words. 
> On my Pixel phone with 8 megs of RAM and Android 12 the response is slow 
> enough to trigger the ANR with only 3 words. I'm building for ARM 64.
> 
> I've tried any number of workarounds without luck, on both LC 9.6.6 and LC 
> 10.0.0. Any ideas? I have a feeling it isn't the script per se, it's 
> something else.
> 
> --
> 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
> 
> Devin Asay
> 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
> 


___
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] Converting to LiveCode from VAX VMS

2022-01-11 Thread Jerry Jensen via use-livecode
And just think of what to do with the extra floor space! 

> On Jan 11, 2022, at 12:31 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> Well my old VAX/VMS friend has finally died. It ran 24/7 for 26 years and was 
> only rebooted every 2 or three years(power outage or disk replacement). It's 
> either a bad disk drawing too much from the old power supply or the supply 
> itself needs to be re-capped. Fires up and boots but shuts off after couple 
> of hours. I could keep it going but I've been converting the VAX apps to LC 
> since 2012. There was only one left and I'm finishing the conversion now. If 
> was not for LC's text processing(chunks) I could never have converted them 
> all. The last one needs to be done in a week or two, no prob for LC. For me 
> this project in any other language would not be possible. There was 12 years 
> of Basic text processing apps by a team of 4 programmers to convert. With LC 
> it was all converted by me in my spare time. 
> 
> LC is my friend!
> 
> RIP VAX
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> 
> ___
> 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: Sorting cards

2021-12-30 Thread Jerry Jensen via use-livecode
Behold the new keyword undoSort

> On Dec 30, 2021, at 12:19 PM, doc hawk via use-livecode 
>  wrote:
> 
> 
> jacqui jagged,
> 
>> What's the best way to ignore the previous sort order?
> 
> I think what you’re looking at here isn’t even livecode itself.
> 
> Just about any computer sort doesn’t change the order of two objects that 
> “tie” 
> during a sort—whichever was first, remains first.
> 
> I think you’re going to need to store the original order.
> 
> Or add a field or property of original_order, with the card number.  Then you 
> could sort by *that* to restore the order before going to your second field.
> ___
> 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: OT: Facebook -> Meta (Damaged Infinity!)

2021-10-29 Thread Jerry Jensen via use-livecode
An alert viewer of his big announcement video noted that the bookshelf behind 
Zuck had a BBQ sauce bottle being used as a bookend. He surmised that the set 
had been specified by an algorithm that chose the bottle because it is 
something that humans enjoy.

> On Oct 29, 2021, at 2:17 PM, doc hawk via use-livecode 
>  wrote:
> 
> They had to use “Meta”, as “Satan” was already taken . . .



___
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: Whatever happened to on-rev?

2021-08-19 Thread Jerry Jensen via use-livecode
Eh, wot?
For me it redirects to https://livecode.com (in Safari on a mac).
.Jerry

> On Aug 19, 2021, at 4:43 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> ?
> looks like it bit the dust.
> 
> http://on-rev.com/
> 
> -- 
> 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
> 


___
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 Friendly customers....

2021-01-28 Thread Jerry Jensen via use-livecode


> On Jan 28, 2021, at 11:46 AM, Curry Kenworthy via use-livecode 
>  wrote:
> 
> As I wrote to you offlist, in reply to your hateful and cursing rant:

Ce fromage pue ! 

Please keep it offlist.


___
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: Plotting Equations that Bifurcate

2020-11-04 Thread Jerry Jensen via use-livecode
Neil DeGraph Tyson?

> On Nov 4, 2020, at 3:09 PM, Roger Guay via use-livecode 
>  wrote:
> 
> Oooh, I like it! How about VanDeGraph?
> 
> Roger
> 
>> On Nov 4, 2020, at 3:03 PM, scott--- via use-livecode 
>>  wrote:
>> 
>> I assume the expanded version will be called SedanDeGraph.
>> —
>> Scott
>> 
>>> On Nov 4, 2020, at 10:09 AM, Roger Guay via use-livecode 
>>>  wrote:
>>> 
>>> Hi Alex,
>>> 
>>> Thanks for your continued interest in my little project. I have succeeded 
>>> in implementing a multiple polygon approach, but it ain’t elegant as they 
>>> say!
>>> 
>>> I seem to recall that I learned a lot from your GraphMaker some time ago, 
>>> but as I try to review your latest on your website, I run into repeated 
>>> errors about “can’t find handler gmSetCustomMarker”. I can’t seem to make 
>>> any headway to resolve this. Am I supposed to do something with the 
>>> “Library”? I could not find instructions anywhere. 
>>> 
>>> Meanwhile, I should explain further that I am trying to expand on a stack 
>>> that I built 2 or 3 years ago called CoupDeGraph which you can find in the 
>>> Example Stacks of LiveCode. Put simply, I am currently trying to expand on 
>>> CoupDeGraph to be able to handle double-valued equations.
>>> 
>>> Again, thanks for your help
>>> 
>>> Roger
>>> 
 On Nov 3, 2020, at 4:48 PM, Alex Tweedly via use-livecode 
  wrote:
 
 On 31/10/2020 02:28, Roger Guay via use-livecode wrote:
 
> Lots of clever ideas here, Alex, but I think you’re missing the point of 
> what I ultimately want to do. I'm building a plotting program for which I 
> want to plot any equation including those that have multiple values of y 
> for a given x. An equation might branch at any point and might even have 
> multiple branches both of which are unknown before plotting.
> 
> Of course, there’s always the possibility that I’m not fully 
> comprehending your suggestions??? What does NB stand for? Are you 
> suggesting creating a new polygon every time a branch is detected? That 
> just might work?!
 
 Hi Roger. You're right - I missed the point; I jumped to the assumption 
 that you were asking about a fairly small, specific issue - so leapt too 
 quickly to a code sample. But before I address the general question(s), 
 let me get the little points out of the way :-)
 
 NB - sorry, kind of common usage in British English. Actually, it's from a 
 Latin phrase - "Nota Bene" - meaning "note well". So basically just 'take 
 note of'.
 
 "a new polygon every branch" - yes, perfectly possible. Also possible is 
 what I did in the first case of the code sample -  a new 'sequence of 
 points' for each branch, and then stitch those together (with blank lines 
 between) into a single polygon; but that's, for now, a detail.
 
 The essence of the problem is that your app will (somehow) develop a 
 number of 'sequences of *data* points' - and then those need to be 
 translated into equivalent sets of *display* points (by either a plotting 
 library, or by your own code) to allow it to be displayed appropriately.
 
 There are at least two possible plotting libraries that might do what you 
 want (or do something close enough that they could be useful). By 
 coincidence, they were both discussed at the San Jose LC conference in 
 2019.If you have access to the video / papers from that you might already 
 have some of the info you need; I don't know if the conference papers are 
 ever put out for more general usage later.
 
 Option A. Monte described a wrapper for the JSPlot library. It's a very 
 powerful library capable of many kinds of graphs / plots, and very quick 
 and capable. The most obvious downside is that it needs to be used within 
 a browser widget - but well worth looking at it if you can.
 
 Option B. I did a library called "GraphMaker" - a pure-Livecode plotting 
 library. It is (I think) fairly easy to use - but that may not be the case 
 for someone else coming to it new. I know it can handle this case of 
 bifurcating plots (using multiple sequences of data points). The 
 conference slides were a decent, if very brief, introduction; the 
 lengthier documentation was, maybe, not quite complete. However, it does 
 come with a demo app that uses the library to draw a variety of graph 
 types. Main advantage is it's pure LC, and hopefully easy to use - both in 
 understanding and in ease of integration into an app (you just create a 
 suitable group to contain the graph, set its rect properly and pass in all 
 the point data along with various parameters.  It has nowhere near the 
 coverage of different graph types that JSPlot does - it's basically line, 
 bar and scatter plots, with primary X-axis, and can have shading, etc.
 
 Option C. Roll your own.
 
 I'd 

Re: Contesting for Idiot du Jour

2020-09-02 Thread Jerry Jensen via use-livecode
Whew !!  

> On Sep 2, 2020, at 9:25 PM, Dev via use-livecode 
>  wrote:
> 
> Me again Jerry
> 
> Changed the setup so that the pellets landing outside the big circle were 
> ignored and just kept going until I had 1000 within the circles in a 
> completely random pattern without Trig. Now the ratio in the smaller circle 
> is 25% or ¼ like the area comparison would suggest. 
> 
> You do understand math much better than I do obviously!
> 
> Kelly
> 
>> On 2Sep, 2020, at 10:10 PM, Dev  wrote:
>> 
>> Hi Jerry
>> 
>> I just tried that because I’m no math wizard and need to see things. When 
>> shooting a random shotgun blast of 1000 pellets into the centre of a target 
>> square that contained the large circle and small circles, the ratio worked 
>> out to around  0.2 - not 0.25. It seems the corners outside the big circle 
>> receive about 20% of the shots, the inner circle gets another 20% and the 
>> outer circle gets 60%. So I don’t understand your thought about ¼.
>> 
>> Kelly
>> 
>>> On 2Sep, 2020, at 9:43 PM, Jerry Jensen via use-livecode 
>>>  wrote:
>>> 
>>> Additional thought:
>>> If you just used random x and y, then ignored points outside the larger 
>>> circle, you would see that  1/4 of the points would be in the smaller 
>>> circle.
>>> 
>>> No trig or integrals involved.
>>> .Jerry
>>> 
>>>> On Sep 2, 2020, at 8:27 PM, Jerry Jensen via use-livecode 
>>>>  wrote:
>>>> 
>>>> 1/2 is the right answer.
>>>> 
>>>> Take your drawing of the circles. Cut a veyy thin radial slice from 
>>>> the center to the outside circle. So thin that it is just a line. 
>>>> 
>>>> Now think of how likely a random point on that line will be in the part of 
>>>> the line that was in the smaller circle. The part that was from the 
>>>> smaller circle is HALF as long as the entire line.
>>>> 
>>>> Now add up all the possible positions of that line. Why would that change 
>>>> the answer?
>>>> 
>>>> Congratulations, you understand integrals!
>>>> .Jerry
>>>> 
>>>>> On Sep 2, 2020, at 7:38 PM, Roger Guay via use-livecode 
>>>>>  wrote:
>>>>> 
>>>>> Your chance to be Genius du Jour:
>>>>> 
>>>>> If I construct 2 concentric circles, one being half the radius of the 
>>>>> larger, then simple math shows that the smaller circle has an area ¼ the 
>>>>> area of the larger.
>>>>> Now if I generate a random point within the radius of the larger circle, 
>>>>> I should expect that the probability of it landing in the smaller circle 
>>>>> to be ¼.
>>>>> But, I must be doing something wrong because I get ½ !
>>>>> 
>>>>> Here is my script:
>>>>> 
>>>>> on mouseDown
>>>>> 
>>>>>   getStuff
>>>>> 
>>>>> end mouseDown
>>>>> 
>>>>> 
>>>>> local tR, tTheta, tX0, tY0, tX1, tY1, tTotCount, tL, tLongCount
>>>>> 
>>>>> on getStuff
>>>>> 
>>>>>   put item 1 of the loc of grc OuterCircle into tx0
>>>>> 
>>>>>   put item 2 of the loc of grc OuterCircle into tY0
>>>>> 
>>>>>   put "" into tTotCount
>>>>> 
>>>>>   put "" into tLongCount
>>>>> 
>>>>>   emptyFlds
>>>>> 
>>>>> end getStuff
>>>>> 
>>>>> 
>>>>> on mouseUp
>>>>> 
>>>>>   lock screen
>>>>> 
>>>>>   repeat 1000
>>>>> 
>>>>>   put random(200) into tR -- 200 is half the width of the larger 
>>>>> circle
>>>>> 
>>>>>   if tR > 1 then
>>>>> 
>>>>>   ## put random(2*pi) into tTheta1
>>>>> 
>>>>>   get random(360)
>>>>> 
>>>>>   put it*pi/180 into tTheta1
>>>>> 
>>>>>   put tR*cos(tTheta1) into tX1
>>>>>   put tR*sin(tTheta1) into tY1
>>>>> 
>>>>>   set the loc of grc Ptgrc to tX0 + tX1, tY0 - tY1 --- 
>>>>> grc Ptgrc is a 2 

Re: Contesting for Idiot du Jour

2020-09-02 Thread Jerry Jensen via use-livecode
Additional thought:
If you just used random x and y, then ignored points outside the larger circle, 
you would see that  1/4 of the points would be in the smaller circle.

No trig or integrals involved.
.Jerry

> On Sep 2, 2020, at 8:27 PM, Jerry Jensen via use-livecode 
>  wrote:
> 
> 1/2 is the right answer.
> 
> Take your drawing of the circles. Cut a veyy thin radial slice from the 
> center to the outside circle. So thin that it is just a line. 
> 
> Now think of how likely a random point on that line will be in the part of 
> the line that was in the smaller circle. The part that was from the smaller 
> circle is HALF as long as the entire line.
> 
> Now add up all the possible positions of that line. Why would that change the 
> answer?
> 
> Congratulations, you understand integrals!
> .Jerry
> 
>> On Sep 2, 2020, at 7:38 PM, Roger Guay via use-livecode 
>>  wrote:
>> 
>> Your chance to be Genius du Jour:
>> 
>> If I construct 2 concentric circles, one being half the radius of the 
>> larger, then simple math shows that the smaller circle has an area ¼ the 
>> area of the larger.
>> Now if I generate a random point within the radius of the larger circle, I 
>> should expect that the probability of it landing in the smaller circle to be 
>> ¼.
>> But, I must be doing something wrong because I get ½ !
>> 
>> Here is my script:
>> 
>> on mouseDown
>> 
>>  getStuff
>> 
>> end mouseDown
>> 
>> 
>> local tR, tTheta, tX0, tY0, tX1, tY1, tTotCount, tL, tLongCount
>> 
>> on getStuff
>> 
>>  put item 1 of the loc of grc OuterCircle into tx0
>> 
>>  put item 2 of the loc of grc OuterCircle into tY0
>> 
>>  put "" into tTotCount
>> 
>>  put "" into tLongCount
>> 
>>  emptyFlds
>> 
>> end getStuff
>> 
>> 
>> on mouseUp
>> 
>>  lock screen
>> 
>>  repeat 1000
>> 
>>  put random(200) into tR -- 200 is half the width of the larger 
>> circle
>> 
>>  if tR > 1 then
>> 
>>  ## put random(2*pi) into tTheta1
>> 
>>  get random(360)
>> 
>>  put it*pi/180 into tTheta1
>> 
>>  put tR*cos(tTheta1) into tX1
>>  put tR*sin(tTheta1) into tY1
>> 
>>  set the loc of grc Ptgrc to tX0 + tX1, tY0 - tY1 --- 
>> grc Ptgrc is a 2 pixle oval
>> 
>>  if intersect(grc Ptgrc, grc InnerCircle, "opaque 
>> Pixels") then add 1 to tLongCount
>> 
>>  add 1 to tTotCount
>> 
>>  end if
>> 
>>  end repeat
>>  put tTotCount into fld "totcountFld"
>> 
>>  put tLongCount into fld “LongCountFld"
>> 
>>  put tLongCount/tTotCount into fld "RatioFld"
>> 
>>  unlock screen
>> 
>> end mouseUp
>> 
>> 
>> Apparently, this does not generate a random point within the larger circle! 
>> Can someone please tell me what’s wrong here?
>> 
>> Thanks,
>> 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: Contesting for Idiot du Jour

2020-09-02 Thread Jerry Jensen via use-livecode
1/2 is the right answer.

Take your drawing of the circles. Cut a veyy thin radial slice from the 
center to the outside circle. So thin that it is just a line. 

Now think of how likely a random point on that line will be in the part of the 
line that was in the smaller circle. The part that was from the smaller circle 
is HALF as long as the entire line.

Now add up all the possible positions of that line. Why would that change the 
answer?

Congratulations, you understand integrals!
.Jerry

> On Sep 2, 2020, at 7:38 PM, Roger Guay via use-livecode 
>  wrote:
> 
> Your chance to be Genius du Jour:
> 
> If I construct 2 concentric circles, one being half the radius of the larger, 
> then simple math shows that the smaller circle has an area ¼ the area of the 
> larger.
> Now if I generate a random point within the radius of the larger circle, I 
> should expect that the probability of it landing in the smaller circle to be 
> ¼.
> But, I must be doing something wrong because I get ½ !
> 
> Here is my script:
> 
> on mouseDown
> 
>   getStuff
> 
> end mouseDown
> 
> 
> local tR, tTheta, tX0, tY0, tX1, tY1, tTotCount, tL, tLongCount
> 
> on getStuff
> 
>   put item 1 of the loc of grc OuterCircle into tx0
> 
>   put item 2 of the loc of grc OuterCircle into tY0
> 
>   put "" into tTotCount
> 
>   put "" into tLongCount
> 
>   emptyFlds
> 
> end getStuff
> 
> 
> on mouseUp
> 
>   lock screen
> 
>   repeat 1000
> 
>   put random(200) into tR -- 200 is half the width of the larger 
> circle
> 
>   if tR > 1 then
> 
>   ## put random(2*pi) into tTheta1
> 
>   get random(360)
> 
>   put it*pi/180 into tTheta1
> 
>   put tR*cos(tTheta1) into tX1
>   put tR*sin(tTheta1) into tY1
> 
>   set the loc of grc Ptgrc to tX0 + tX1, tY0 - tY1 --- 
> grc Ptgrc is a 2 pixle oval
> 
>   if intersect(grc Ptgrc, grc InnerCircle, "opaque 
> Pixels") then add 1 to tLongCount
> 
>   add 1 to tTotCount
> 
>   end if
> 
>   end repeat
>   put tTotCount into fld "totcountFld"
> 
>   put tLongCount into fld “LongCountFld"
> 
>   put tLongCount/tTotCount into fld "RatioFld"
> 
>   unlock screen
> 
> end mouseUp
> 
> 
> Apparently, this does not generate a random point within the larger circle! 
> Can someone please tell me what’s wrong here?
> 
> Thanks,
> 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: ProtonMail vs Apple

2020-08-10 Thread Jerry Jensen via use-livecode
Feeling old. I should have bought the program to know the players.
Good thing I’m not named Terry!

> On Aug 10, 2020, at 1:45 PM, doc hawk via use-livecode 
>  wrote:
> 
> 
> Jerry jesticulated,
> 
> 
>> Are you sure? The W12 used in some Bentleys is made by VW, and many years of 
>> Phantoms used a V12 of the proper displacement. Of course they don’t talk 
>> about mundane stuff like that! 
> 
> But VW now makes “Bentley", while “Rolls” is now a BMW brand.
> 
> In either case, you don’t get the real thing, and the Rolls Royce 8 cylinder 
> engine is now a bit of history . . .
> 
> (And for another odd quirk, Rolls once licensed the GM Turbo 400 transmission 
> for use n both, but made “improvements” in it.  That worked "so well” that 
> within a couple of years they instead just bought them from GM . . .)
> ___
> 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: ProtonMail vs Apple

2020-08-10 Thread Jerry Jensen via use-livecode
Are you sure? The W12 used in some Bentleys is made by VW, and many years of 
Phantoms used a V12 of the proper displacement. Of course they don’t talk about 
mundane stuff like that! 
.Jerry

> On Aug 10, 2020, at 12:19 PM, Jim Lambert via use-livecode 
>  wrote:
> 
> I like my Rolls Royce Phantom, but it's so unfair of Rolls Royce not to offer 
> a Phantom with an engine from Volkswagen! ;)


___
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: Object naming

2020-07-28 Thread Jerry Jensen via use-livecode
Dave’s not here.
https://www.youtube.com/watch?v=rtDAK7Umk7A

> On Jul 27, 2020, at 10:24 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Consider a simplified problem statement:
> 
> You have two objects of the same type in a container, and you want to tell 
> them apart but had given them the same name.
> 
> 
> 
>   Too Many Daves
>   by Dr. Seuss
> 
>   Did I ever tell you that Mrs. McCave
>   Had twenty-three sons and she named them all Dave?
>   Well, she did. And that wasn't a smart thing to do.
>   You see, when she wants one and calls out, "Yoo-Hoo!
>   Come into the house, Dave!" she doesn't get one.
>   All twenty-three Daves of hers come on the run!
>   This makes things quite difficult at the McCaves'
>   As you can imagine, with so many Daves.
>   And often she wishes that, when they were born,
>   She had named one of them Bodkin Van Horn
>   And one of them Hoos-Foos. And one of them Snimm.
>   And one of them Hot-Shot. And one Sunny Jim.
>   And one of them Shadrack. And one of them Blinkey.
>   And one of them Stuffy. And one of them Stinkey.
>   Another one Putt-Putt. Another one Moon Face.
>   Another one Marvin O'Gravel Balloon Face.
>   And one of them Ziggy. And one Soggy Muff.
>   One Buffalo Bill. And one Biffalo Buff.
>   And one of them Sneepy. And one Weepy Weed.
>   And one Paris Garters. And one Harris Tweed.
>   And one of them Sir Michael Carmichael Zutt
>   And one of them Oliver Boliver Butt
>   And one of them Zanzibar Buck-Buck McFate ...
>   But she didn't do it. And now it's too late.
> 
> --
> Richard Gaskin
> Fourth World Systems
> 
> 
>> Alex Tweedly alex at tweedly.net
>> Mon Jul 27 15:47:12 EDT 2020
>>Previous message (by thread): Object naming
>>Next message (by thread): Object naming
>>Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>> On 27/07/2020 16:33, Richard Gaskin via use-livecode wrote:
>>> There are many ways to refer to things.  The simplest is to use unambiguous 
>>> names for things that matter.
>>> 
>> Is there an unambiguous name in this case ? And if so, what is it :-) ?
>> A group "A" contains a rectangle "R", and a (sub)group "B". "B" also 
>> contains a rectangle "R". (btw - "B" also may contain a subgroup "C", and it 
>> too will have a rectangle "R", and ).
>> There is an unambiguous name for the 'most nested' "R", but there doesn't 
>> seem to be for the other "R"s. I had expected (or perhaps just hoped) that 
>> using a long name would first try to find an exact match, and if that failed 
>> it would then find the closest inexact match - but that sadly was just a 
>> hope.
>> I could (and probably will) use IDs but that doesn't work for duplicating 
>> the group - you need to either go in and adjust a script / custom property 
>> OR have the group's script find the IDs.
>> Or - am I'm missing something ?
>> 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 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: Object naming

2020-07-27 Thread Jerry Jensen via use-livecode
+100 to Mr. Gaskin!

> On Jul 27, 2020, at 10:24 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Consider a simplified problem statement:
> 
> You have two objects of the same type in a container, and you want to tell 
> them apart but had given them the same name.
> 
> 
> 
>   Too Many Daves
>   by Dr. Seuss
> 
>   Did I ever tell you that Mrs. McCave
>   Had twenty-three sons and she named them all Dave?
>   Well, she did. And that wasn't a smart thing to do.
>   You see, when she wants one and calls out, "Yoo-Hoo!
>   Come into the house, Dave!" she doesn't get one.
>   All twenty-three Daves of hers come on the run!
>   This makes things quite difficult at the McCaves'
>   As you can imagine, with so many Daves.
>   And often she wishes that, when they were born,
>   She had named one of them Bodkin Van Horn
>   And one of them Hoos-Foos. And one of them Snimm.
>   And one of them Hot-Shot. And one Sunny Jim.
>   And one of them Shadrack. And one of them Blinkey.
>   And one of them Stuffy. And one of them Stinkey.
>   Another one Putt-Putt. Another one Moon Face.
>   Another one Marvin O'Gravel Balloon Face.
>   And one of them Ziggy. And one Soggy Muff.
>   One Buffalo Bill. And one Biffalo Buff.
>   And one of them Sneepy. And one Weepy Weed.
>   And one Paris Garters. And one Harris Tweed.
>   And one of them Sir Michael Carmichael Zutt
>   And one of them Oliver Boliver Butt
>   And one of them Zanzibar Buck-Buck McFate ...
>   But she didn't do it. And now it's too late.
> 
> --
> Richard Gaskin
> Fourth World Systems
> 
> 
>> Alex Tweedly alex at tweedly.net
>> Mon Jul 27 15:47:12 EDT 2020
>>Previous message (by thread): Object naming
>>Next message (by thread): Object naming
>>Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>> On 27/07/2020 16:33, Richard Gaskin via use-livecode wrote:
>>> There are many ways to refer to things.  The simplest is to use unambiguous 
>>> names for things that matter.
>>> 
>> Is there an unambiguous name in this case ? And if so, what is it :-) ?
>> A group "A" contains a rectangle "R", and a (sub)group "B". "B" also 
>> contains a rectangle "R". (btw - "B" also may contain a subgroup "C", and it 
>> too will have a rectangle "R", and ).
>> There is an unambiguous name for the 'most nested' "R", but there doesn't 
>> seem to be for the other "R"s. I had expected (or perhaps just hoped) that 
>> using a long name would first try to find an exact match, and if that failed 
>> it would then find the closest inexact match - but that sadly was just a 
>> hope.
>> I could (and probably will) use IDs but that doesn't work for duplicating 
>> the group - you need to either go in and adjust a script / custom property 
>> OR have the group's script find the IDs.
>> Or - am I'm missing something ?
>> 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 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: Even Distribution

2020-04-16 Thread Jerry Jensen via use-livecode
 Hi Skip,
Forgive me if this is not the answer you seek, or an oversimplification, but 
there is an easy way to find if the jobs can be exactly evenly distributed, 
with nothing left over:
if (tjobs mod tdrivers) = 0 then // it is evenly distrutable.
.Jerry

> On Apr 16, 2020, at 7:41 PM, Skip Kimpel via use-livecode 
>  wrote:
> 
> I have working on creating a loop that would divide the number of jobs by
> the number of users and then checking to see to see if it is evenly
> divisible but that is kind of where I am stuck.  Everything I have tried
> thus far has proven to be unsuccessful.


___
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: Video format for mobile

2020-04-09 Thread Jerry Jensen via use-livecode
Nope. AAC is lossy but better than MP3. You may be thinking of ALAC - Apple 
Lossless Audio Codec.
Just to add to the confusion, here’s a clip from a good Wikipedia article:

"Apple Lossless data is frequently stored within an MP4 container with the 
filename extension .m4a. This extension is also used by Apple for lossy AAC 
audio data in an MP4 container (same container, different audio encoding). 
However, Apple Lossless is not a variant of AAC (which is a lossy format), but 
rather a distinct lossless format that uses linear prediction similar to other 
lossless codecs.” 

.Jerry

> On Apr 9, 2020, at 7:47 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> As I recall, it is lossless, yes?
> 
> Bob S
> 
> 
>> On Apr 8, 2020, at 7:46 PM, Jerry Jensen via use-livecode 
>>  wrote:
>> 
>> Hi J,
>> AAC is Advanced Audio Compression - successor to MP3.
>> https://fileinfo.com/extension/aac
>> Hope this will help you figure out how to play it.
>> .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


Re: Video format for mobile

2020-04-08 Thread Jerry Jensen via use-livecode
Hi J,
AAC is Advanced Audio Compression - successor to MP3.
https://fileinfo.com/extension/aac
Hope this will help you figure out how to play it.
.Jerry

> On Apr 8, 2020, at 4:10 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> I asked this before, looking for the best format for video files on both 
> Android and iOS. Colin suggested H.264 as the codec, and MP4 as the file 
> format. I have a video with those specs but it won't play in the LC player, 
> and the Mac wants to open it with QuickTime. VLC will play it.
> 
> Get Info shows the codec as H.264, AAC. The file extension is mp4. Is AAC the 
> problem (that's the audio format, right?) What should it be?
> 
> I haven't tried it on mobile yet, but if it needs QT I'm pretty sure it won't 
> work.
> 
> -- 
> 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
> 


___
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: DataGrid question...

2020-03-30 Thread Jerry Jensen via use-livecode
I am updating a project that used modTableField. I emailed Bernd to see what 
the current version is. Its 0.3.3.9 and he emailed it to me. I don’t have a 
link, but Bernd’s email is:
Niggemann, Bernd" 
I’m a big fan!
Jerry Jensen

> On Mar 30, 2020, at 1:38 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Does anyone have a link to obtain Bernd's modTableField ?
> 
> Peter Bogdanoff
> 
> 
>> On Mar 30, 2020, at 1:07 PM, Jerry Jensen via use-livecode 
>>  wrote:
>> 
>> In modTableField there’s a function for that:
>> mtfDataItemClicked pColumnClicked, pLineClicked, pItemContent, pGroupName
>> 
>>> On Mar 30, 2020, at 3:49 AM, Alex Tweedly via use-livecode 
>>>  wrote:
>>> 
>>> I don't know of a simple way to do it.
>>> 
>>> However, Bernd's modTableField does do it, and it uses regular fields, and 
>>> it's open source - so I took a very quick look there.
>>> 
>>> It's not simple :-)
>>> 
>>> But there's a function 'gatherItemClickedInfo' that (with some 
>>> modifications) might be the foundation of a general handler for you.
>> 
>> ___
>> 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: DataGrid question...

2020-03-30 Thread Jerry Jensen via use-livecode
In modTableField there’s a function for that:
mtfDataItemClicked pColumnClicked, pLineClicked, pItemContent, pGroupName

> On Mar 30, 2020, at 3:49 AM, Alex Tweedly via use-livecode 
>  wrote:
> 
> I don't know of a simple way to do it.
> 
> However, Bernd's modTableField does do it, and it uses regular fields, and 
> it's open source - so I took a very quick look there.
> 
> It's not simple :-)
> 
> But there's a function 'gatherItemClickedInfo' that (with some modifications) 
> might be the foundation of a general handler for you.

___
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: DataGrid question...

2020-03-29 Thread Jerry Jensen via use-livecode
Hi Sean,

Sorry, I was thinking you might not need a DG at all. My mistake.
Anyway, just to be complete, Bernd’s modTableField API gives you the following:

mtfDataItemClicked pColumnClicked, pLineClicked, pItemContent, pGroupName

mtfDataItemClicked is send when the user clicks into a data cell.
4 parameters are sent: the number of the column, the number of the line, the 
content of the cell and the long name of the group. Content of course can be 
empty if the cell is empty.

.Jerry

> On Mar 29, 2020, at 8:35 PM, Pi Digital via use-livecode 
>  wrote:
> 
> Hi Jerry
> 
> Thanks for the heads up about Bernd’s code. But I was interested in learning 
> how to get the cell index of a table field when clicked as we are told it was 
> solved a ‘long time’ ago. That makes it seem that it is general knowledge and 
> I’m a dunce for not being aware of it (which is very possible). If you’ve got 
> any pointers you know of that can steer me right I’d appreciate it. 
> 


___
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: DataGrid question...

2020-03-29 Thread Jerry Jensen via use-livecode
Hi Sean,
Have you seen Bernd Niggemann’s modTableField? It is built on top of the LC 
list field, without a lot of the complications of DataGrids if you don’t need 
DG’s huge capabilities. It might work well for you.
Regards,
Jerry Jensen

> On Mar 29, 2020, at 7:05 PM, Sean Cole (Pi) via use-livecode 
>  wrote:
> 
>> 
>> Working out which cell has been clicked: Sorry, that's not accurate
>> either. Yes, we do have that! Also for a long time.
>> 
> 
> Hi,
> 
> As Curry's now unfortunately out of the conversation, can someone else help
> me understand how you work out which cell has been clicked? 



___
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: LCB widget "BioRhythm" v1.0.0

2020-03-03 Thread Jerry Jensen via use-livecode
In the ‘70s I had a cheap plastic handheld calculator made by Casio called a 
Biolater. Put in your birthday, and it would give you the first three numbers - 
days into the cycles. It had a picture of the waves stuck on the front so you 
could see how you were doing. Other than that it was a 4-banger. I probably 
still have it somewhere.
.Jerry

> On Mar 3, 2020, at 2:09 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> I did mine on a handheld TRS 80 with a 1 line dot-matrix. It plugged it into 
> a dot-matrix 2 inch wide roll fed printer to print out a biorhythm. I still 
> have it and funny enough I just powered it up a couple of days ago and it 
> still works.
> 
> When I brought to work and someone said that in the tty-33 days he imagined 
> that one day a computer could fit inside the tty-33 and was amazed at the 
> trs-80 handheld.
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
> Of matthias rebbe via use-livecode
> Sent: Tuesday, March 03, 2020 4:02 PM
> To: How to use LiveCode
> Cc: matthias_livecode_150...@m-r-d.de
> Subject: Re: LCB widget "BioRhythm" v1.0.0
> 
> Oh, this makes me remembering the good old times when i coded a simple 
> biorythm program on my Commodore C64 and printed the output  on  a thermal 
> printer.
> 
> Couldn´t resist to download it, although i think that my real biorythm is not 
> the same as the ones that are computed by programs. ;)
> 
> Thanks Hermann for another nice widget.
> 
> Matthias
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 03.03.2020 um 21:47 schrieb hh via use-livecode 
>> :
>> 
>> The widget computes BioRhythm-Curves (sinus curves with different 
>> periods of days).
>> 
>> The 7 names and their periods are: physical 23, emotional 28, 
>> intellectual 33, spiritual 53, awareness 48, aesthetic 43, intuition 
>> 38. Moreover you can have a weighted mean of the included of these 7 
>> curves.
>> 
>> Display the values (in range -100 to 100) as graph or as table.
>> 
>> Some may find this widget to be "esoteric". A main reason I made it 
>> was to show a smooth display of curves (that is not possible in LC 
>> Script) and to exercise the display of a table.
>> 
>> Read more, download the widget and a sample stack from (server loc EU) 
>> https://hyperhh.de/widgets/biorhythm.html
>> or
>> (server loc US) https://hh.on-rev.com/widgets/biorhythm.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
> 
> 
> ___
> 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: Buying a used apple to run ios simulator.

2020-01-15 Thread Jerry Jensen via use-livecode
It could work, but its pretty long in the tooth. Its a 2011 model.
4GB RAM is not enough these days. It is user-upgradable.
USB 2.0 ports are frustratingly slow and, shall I say, less reliable than 3.0 
and above.
That model is at is maximum OS support (10.13). That is also the oldest OS that 
is getting security updates, so next year it will probably cease. 10.15 is 
current. I don’t know the details of iOS and XCode support versions. Maybe 
newer XCode requires newer OS?
.Jerry

> On Jan 15, 2020, at 10:22 AM, Tom Glod via use-livecode 
>  wrote:
> 
> Hi peeps,
> 
> I need to run the ios simulator and build ios apps, so I have to buy an
> apple mac.
> 
> I have 0 plans to use it for anything else, so I am buying refurbished.
> 
> Will this system work?  Can someone confirm for me?
> 
> https://ca.refurb.io/collections/apple-laptops-ipads/products/apple-imac-a1311-21-5-all-in-one-intel-core-i5-4gb-ram-500gb-hdd-high-sierra-os-refurbished-b-grade
> 
> I plan on using 9.05 and 9.5 on it.
> 
> Thanks,
> 
> Tom
> 
> 
> 
> -- 
> 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
> 


___
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: Littel Arrows

2020-01-10 Thread Jerry Jensen via use-livecode
I’m with you on that one. Apple calls the new way “Natural” (!). Not to me 
after 35 years of the old way.
.Jerry

> On Jan 10, 2020, at 12:08 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> 
> When Apple decided to make us use fields like mobile apps do, the behavior 
> reversed. I never did get used to that so I've kept my Mac scrollers the old 
> 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


Re: Something wrong with LiveCode 9.5.1

2019-12-16 Thread Jerry Jensen via use-livecode
Thanks Paul. I’ll be testing. I don’t have anything but a Sierra install handy. 
Yet.
.Jerry

> On Dec 16, 2019, at 1:29 PM, Paul Dupuis  wrote:
> 
> On 12/16/2019 3:58 PM, Jerry Jensen wrote:
>> This is the first time I have heard that anything notarized will not open in 
>> Sierra. I have been watching the whole notarization topic, but apparently 
>> not closely enough. Could you point me to some info from Apple about what is 
>> -not- supported in Sierra?
>> 
>> I support an entire flock of Sierra computers. We are preparing to roll out 
>> Mojave soon. I guess that better be done ASAP.
>> 
> 
> I can't point you to any Apple materials as we discovered this once we 
> notarized out DMG for Catalina and was performing final installation testing 
> on Catalina and other versions of macOS
> 
> You can download the macOS DMG for our app at 
> http://www.researchware.com/downloads.html
> 
> Scroll down the page to the download links. You will see ONE DMG for Catalina 
> and another DNG for other version of OSX. Download the Catalina DMG and you 
> will find the notarized DMG opens on Catalina, Mojave, and High Sierra, but 
> throws and error on Sierra and below.
> 
> We choose to Notarize the DMG rather than the installer app. I realize while 
> Apple allows this (currently) is is not what their documentation on 
> Notarization speaks to which is Notarizing the APP and performing 
> drag-installs from the DMG rather than using an Installer app.
> 
> Our application HyperRESEARCH, our Installer are both code signed. The 
> Catalina DMG is code signed, notarized, and stapled. The non-Catalina DMG is 
> not code signed (and not notarized).
> 
> We used this excellent guidance to figure out how to do notarization: 
> http://lessons.livecode.com/m/4071/l/1122100-codesigning-and-notarizing-your-lc-standalone-for-distribution-outside-the-mac-appstore
> 


___
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: Something wrong with LiveCode 9.5.1

2019-12-16 Thread Jerry Jensen via use-livecode
This is the first time I have heard that anything notarized will not open in 
Sierra. I have been watching the whole notarization topic, but apparently not 
closely enough. Could you point me to some info from Apple about what is -not- 
supported in Sierra? 

I support an entire flock of Sierra computers. We are preparing to roll out 
Mojave soon. I guess that better be done ASAP.

Thanks,
.Jerry

> On Dec 16, 2019, at 12:24 PM, Paul Dupuis via use-livecode 
>  wrote:

> I think that was the point. LC, Ltd forgot to Notarize the 9.5.1 STABLE 
> version. However, this turns into more of a problem that you might think. A 
> notarized DMG will open under High Sierra to Catalina, but fails on any 
> version below High Sierra, so you need to provide both Notarized and 
> non-Notarized versions to if you support versions of the macOS before High 
> Sierra. Technical 9.5.1 still supports Mavericks so the 
> downloads.livecode.com page needs to change to list 2 versions - a non 
> notarized version for Mavericks to Sierra and a Notarized version for High 
> Sierra to Calalina.

___
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: "empty" background in printed pdf is actually grey

2019-11-02 Thread Jerry Jensen via use-livecode
I have no clue about the intricacies involved, but as a crazy idea to throw 
out, could you make the source pdf transparent at put it -on top- of the one 
you generate?
.Jerry

> On Nov 2, 2019, at 2:24 PM, doc hawk via use-livecode 
>  wrote:
> 
> 
> On Nov 1, 2019, at 5:42 PM, Mark mentioned,
> 
>> 
>> Is it possible to pick up the background color from the mouseColor or the 
>> backgroundColor or something and set the background color of the field to 
>> that? (and obviously forget the bit about setting the blendlevel)
> 
> The problem there is that there may be writing underneath my field in the 
> “source” pdf that I am “filling”, and I can’t obscure that.
> 
> Pdf can handle transparencies, and placing partially transparent images over 
> others.
> 
> If I’m not missing something, it’s a bug in Livecode if it generates a pdf of 
> a field with no backgroundColor and false opaque for Sheffield, card, and 
> stack.
> 
> And as I mentioned, the “effective opaque” of the field reports as false.
> 
> 
> 
> ___
> 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: Red Dot Breakpoint Crashes

2019-10-25 Thread Jerry Jensen via use-livecode
Thanks Bob. I thought the red dot crashing was fixed in 9.0.5 and not yet put 
in 9.5 until the next “imminent” release. No?
.Jerry

> On Oct 25, 2019, at 3:04 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> 9.5.0 Community. Sorry when it comes to info more is better. Usually. ;-) 
> Also MacOS Mojave fully updated. 
> 
> Bob S
> 
> 
>> On Oct 25, 2019, at 14:59 , Jerry Jensen via use-livecode 
>>  wrote:
>> 
>> Which version of LC?
> 
> 
> ___
> 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: Red Dot Breakpoint Crashes

2019-10-25 Thread Jerry Jensen via use-livecode
Which version of LC?

> On Oct 25, 2019, at 2:28 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Still getting red dot breakpoint crashes. This time when switching to the 
> calling handler. Not a big deal for me just saying. 
> 
> Bob S
> 
> 
> ___
> 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: ...and a challenge

2019-10-05 Thread Jerry Jensen via use-livecode
Does it give the correct answer for pie? I don’t think the n suffix is for 
floating point. I thought it was for expressing bigint type.

> On Oct 5, 2019, at 8:34 PM, Colin Holgate via use-livecode 
>  wrote:
> 
> 
> Pi is a reserved work, so I used pie. I haven’t seen this way of producing Pi 
> before, and in both JavaScript and LivceCode it seems to be instantaneous. I 
> think it’s a rewording of 4*(1-1/3+1/5-1/7+1/9…)
> 
> Anyway, see for yourself
> 
> on mouseup
> 
> put the ticks into t
> 
> put 1.0 into i
> 
> put 3.0 * 10^200 into x
> 
> put x into pie
> 
> repeat while (x > 0)
> 
> put x * i / ((i + 1.0) * 4.0) into x
> 
> add x / (i + 2.0) to pie
> 
> add 2.0 to i
> 
> end repeat
> 
> set numberformat to "x.xxx"
> 
> answer the ticks - t
> 
> answer (pie / (10.0 ^ 200))
> 
> end mouseup
> 
> 
> BTW, I haven’t seen JavaScript using ‘let’ before, or having ’n’ to indicate 
> a floating point number. That could be a dot net thing.
> 
> 
>> On Oct 5, 2019, at 8:33 PM, Mark Wieder via use-livecode 
>>  wrote:
>> 
>> On 10/5/19 6:01 PM, Mark Wieder via use-livecode wrote:
>>> On 10/5/19 4:57 PM, JB via use-livecode wrote:
 Hi Mark,
 I just visited the link Richard provided and it shows the following;
>>> Hah! I missed a very important word in that sentence.
>> 
>> Nonetheless, here's pi in nine lines of javascript. I haven't tried 
>> converting this yet... anyone wanna try writing this in LiveCode? And 
>> benchmarking it?
>> 
>> 



___
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: Guess encoding for text file...

2019-09-19 Thread Jerry Jensen via use-livecode
On Sep 19, 2019, at 11:53 AM, Dar Scott Consulting via use-livecode 
 wrote:
> 
> Yeah. I love the smell of burning bytes.

4 bits is called a nybble, and
2 bits is called a snyf.


___
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: Making "read from file" less blocky.

2019-08-03 Thread Jerry Jensen via use-livecode
Memory returns slowly… 
I take back what I said about eof maybe working for serial ports. I’m pretty 
sure it doesn’t. When I did this before I was taking data from 2 incoming 
asynchronous serial ports, one then the other then repeat. They only had tiny 
buffers, so I had to read small pieces of data from each with minimum delays 
between. When nobody was talking I handled the accumulated data. 

It it is!
.Jerry

> On Aug 3, 2019, at 8:02 PM, Tom Glod via use-livecode 
>  wrote:
> 
> Jerry, that simple tweak worked to improve the performance of the UI a
> great deal.. its a slower method of loading...but not too slow
> to use as background loading. ...Its actually better than what I
> expected.   Awesome.
> I always love to use the forever loop. its just so fun to write. lol
> I gotta get some error handling in there but thats another story.
> Consider this one SOLVED. Thanks again.
> 
> 
> 
> On Sat, Aug 3, 2019 at 10:47 PM Tom Glod  wrote:
> 
>> Dar, Yes...I understand.it is a blocking operation no matter what I
>> can just introduce breaks in the blockiness.  So I'm not expecting a socket
>> like experience for sure.
>> 
>> Those are very good suggestions to try thank you.
>> 
>> Jerry, I will give that a try, it looks promising.even a little
>> improvement would be better and sufficient for this need, and I can use it
>> sparingly.  Thanks alot!  Onward indeed.
>> 
>> On Sat, Aug 3, 2019 at 10:36 PM Jerry Jensen via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Hi Tom,
>>> 
>>> I’ve done this in the past watching it instead of the result. I seem to
>>> remember eof was not useful. Maybe for a serial port it would be?
>>> 
>>> As in:
>>> 
>>> repeat forever
>>>  read from file ThisFile for (1024 * 1000) bytes
>>>  if it is empty then exit repeat
>>> — do your stuff
>>>  wait 0 with messages
>>> end repeat
>>> 
>>> Onward,
>>> .Jerry non-sphere (tetrahedron?)
>>> 
>>> It was a long time ago in, I think, LC 5, so YMMV.
>>> 
>>> 
>>>> On Aug 3, 2019, at 5:56 PM, Tom Glod via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>>> 
>>>> Hey folks,
>>>> 
>>>> I'm having trouble finding a combination of settings that allows my file
>>>> loading  to seem to happen in the background.
>>>> 
>>>> repeat while read_result is not "eof"
>>>>read from file ThisFile for (1024 * 1000) bytes
>>>>put the result into read_result
>>>>put it after IntoThisVariable
>>>>add length(it) to amount_read
>>>>TSTProgress amount_read,ExpectedSize,"%","Loading File ..."
>>>> (Progress Indicator Handler)
>>>>wait 10 milliseconds with messages
>>>> end repeat
>>>> 
>>>> no matter what I try, its still sluggish, and it seems like messages are
>>>> still accumilating instead of being processed by the engine.
>>>> 
>>>> Am I missing something?  Normally waiting with messages sufficiently
>>> frees
>>>> the engine to allow the UI to remain responsive.
>>>> 
>>>> Thanks,
>>>> 
>>>> Tom
>>>> ___
>>>> 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: Making "read from file" less blocky.

2019-08-03 Thread Jerry Jensen via use-livecode
Hi Tom,

I’ve done this in the past watching it instead of the result. I seem to 
remember eof was not useful. Maybe for a serial port it would be?

As in:

repeat forever
  read from file ThisFile for (1024 * 1000) bytes
  if it is empty then exit repeat
— do your stuff
  wait 0 with messages
end repeat

Onward,
.Jerry non-sphere (tetrahedron?)

It was a long time ago in, I think, LC 5, so YMMV.


> On Aug 3, 2019, at 5:56 PM, Tom Glod via use-livecode 
>  wrote:
> 
> Hey folks,
> 
> I'm having trouble finding a combination of settings that allows my file
> loading  to seem to happen in the background.
> 
>  repeat while read_result is not "eof"
> read from file ThisFile for (1024 * 1000) bytes
> put the result into read_result
> put it after IntoThisVariable
> add length(it) to amount_read
> TSTProgress amount_read,ExpectedSize,"%","Loading File ..."
> (Progress Indicator Handler)
> wait 10 milliseconds with messages
>  end repeat
> 
> no matter what I try, its still sluggish, and it seems like messages are
> still accumilating instead of being processed by the engine.
> 
> Am I missing something?  Normally waiting with messages sufficiently frees
> the engine to allow the UI to remain responsive.
> 
> Thanks,
> 
> Tom
> ___
> 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: IDE 9.0.4 and 9.0.5rc1 getting slow again on win10?

2019-05-22 Thread Jerry Jensen via use-livecode
I hear a lot of memory leaks were fixed in 9.5.
- other Jerry

> On May 22, 2019, at 2:41 PM, JJS via use-livecode 
>  wrote:
> 
> Hi Matthias,
> 
> 
> i only tried a few things to test some stacks for mobile-android and winx64 
> standalone and filed a few bug reports on it.
> 
> But did not extensively work with the editor yet, because of also the bugs.
> 
> Will try to test some tomorrow.
> 
> 
> Regards,
> 
> Jerry
> 
> Op 22-5-2019 om 23:15 schreef Matthias Rebbe via use-livecode:
>> Jerry, did you already try the LC 9.5.0 DP1  64bit Windows. In case you´ve 
>> missed it, LC released a DP of 9.5.0 which not just supports 64bit Windows 
>> standalones, but also 64bit Windows IDE.
>> 
>> Regards,
>> Matthias
>> 
>> Matthias Rebbe
>> 
>> free tools for Livecoders:
>> https://instamaker.dermattes.de 
>> https://winsignhelper.dermattes.de 
>> 
>>> Am 22.05.2019 um 22:34 schrieb JJS via use-livecode 
>>> mailto:use-livecode@lists.runrev.com>>:
>>> 
>>> Hi,
>>> 
>>> anyone noticing that the IDE is getting slow again in win10-x64 after 
>>> working in a few scripts?
>>> 
>>> I notice it with 9.04 and 9.05rc1 while just typing, saving etcetera.
>>> 
>>> I hope it's not a regression of something, because it was solved.
>>> 
>>> Maybe i have to add LC again to Windows Defender.
>>> 
>>> 
>>> Regards,
>>> 
>>> 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
> 
> ___
> 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: goofy question about "repeat for each"

2019-03-25 Thread Jerry Jensen via use-livecode
My mistake. Thanks for the correction.
.Jerry

> On Mar 25, 2019, at 7:11 PM, hh via use-livecode 
>  wrote:
> 
>> Jerry J. wrote:
>> "Starting in version 7.0 it is possible to modify the container
>> variable inside a for each loop without affecting the iterations
>> of the loop."
>> 
>>> jbv wrote:
>>> repeat for each line j in cc
>>>  add 1 to item 1 of j
>>>  put return & j after var2
>>> end repeat
> 
> You can't change the *iterator variable* (above j), which is *always*
> readable only.
> [The (modifiable) *container variable* is in the example above cc.]
> 
> This works, as already indicated.
> 
> repeat for each line j in cc
>  if the num of items of j > 1 then
>put return & (1+item 1 of j, item 2 to -1 of j) after var2
>  else put return & 1+item 1 of j after var2
> end repeat
> 
> 
> ___
> 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: goofy question about "repeat for each"

2019-03-25 Thread Jerry Jensen via use-livecode
Hi jbv,
What version of LC are you using? Here’s a quote from the LC 8.1.10 dictionary:
“Starting in version 7.0 it is possible to modify the container variable inside 
a for each loop without affecting the iterations of the loop.”
Could this be biting you?
.Jerry

> On Mar 25, 2019, at 2:44 PM, jbv via use-livecode 
>  wrote:
> 
> Hi again,
> 
> I finally solved the problem by modifying the loop
> as follows :
>repeat for each line j in cc
>  get item 1 of j
>  add 1 to it
>  put return & it & "," & item 2 of j after var2
>end repeat
> 
> But I still don't understand why the previous version
> led to unexpected values...
> 
> Le 2019-03-25 15:31, jbv via use-livecode a écrit :
>> Hi list,
>> I have a list of values such as :
>>  540,20
>>  542,22...
>> one per line in a variable named cc.
>> Now I'm running the following loop :
>>   repeat for each line j in cc
>> add 1 to item 1 of j
>> put return & j after var2
>>   end repeat
>> goofy question : does each iteration of the loop
>> change the values of each line of cc, or does it
>> only change the value of j ?
>> I'm asking because it seems that I am facing some
>> weird and unexpected modifications in the variable
>> with a huge number of lines...
>> Thanks in advance.
>> jbv



___
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: file: vs bibfile: usage?

2019-01-07 Thread Jerry Jensen via use-livecode
On a mac, BBEdit or its older cousin TextWrangler will preserve line endings. 
It just works. You can also easily change endings with a pull-down menu. That 
stoppedl me from whining about the price. They also have good tech support.
.Jerry

> On Jan 7, 2019, at 8:28 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> This is a perennial problem. My personal opinion is that unless a user 
> explicitly wants to alter the line endings in a file, no assumptions should 
> be made by the developer in this regard. A classic example (at least for me) 
> is working with files exported from copiers. Let's say I want to export the 
> email addresses from a Toshiba copier, edit them in a spreadsheet, then 
> re-import them back into the copier. Simply OPENING the text file, in 
> TextEdit or Word on a Mac OS will convert the line endings to the Mac 
> defaults, EVEN IF I DO NOT SAVE THE FILE!!! Now the Toshiba copier will 
> reject the file because it is expecting line feeds and it has CRLFs instead. 
> So I have to edit these files in a Windows VM or I break them. 
> 
> Bob S

___
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: What is LC's internal text format?

2018-11-13 Thread Jerry Jensen via use-livecode

> On Nov 13, 2018, at 2:52 AM, Mark Waddingham via use-livecode 
>  wrote:
> 
> Yes - a byte is not a number, a char is not a number a bit sequence is not a 
> number.

Reminds of a clever sig line from somebody on this list.
I can’t remember who, so author please step up and take credit.
Paraphrasing The Prisoner:

“I am not a number, I am a free NaN”.
___
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: Intersect Function

2018-09-24 Thread Jerry Jensen via use-livecode
I think he mentioned curved “lines”. That is a whole other kettle of fish.
.Jerry

> On Sep 24, 2018, at 9:23 AM, hh via use-livecode 
>  wrote:
> 
> It is not this complicated. Only if you are looking for
> the intersection of two line *segments* you have do a
> few more checks.


___
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: Natural Programming

2018-09-11 Thread Jerry Jensen via use-livecode
Reminds me of the dyslexic cop that tried to give me an IUD.

> On Sep 11, 2018, at 8:18 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> You know, programming comes so naturally to me, it's like it's in my NDA. 



___
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: Slow LC 9 Performance - Test Stack, Video, QA Report

2018-09-07 Thread Jerry Jensen via use-livecode

> On Sep 7, 2018, at 6:27 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 09/07/2018 06:18 PM, Jerry Jensen via use-livecode wrote:
>> Just a quick wild thought: Are the math routines doing unnecessary unicode 
>> interpretation?
> 
> That's my guess as well.
> Doing type conversion on the strings-that-are-not-strings and then getting to 
> the math functions.

Or even unnecessary multiple conversions within a complex math expression…
.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

Re: Slow LC 9 Performance - Test Stack, Video, QA Report

2018-09-07 Thread Jerry Jensen via use-livecode
Just a quick wild thought: Are the math routines doing unnecessary unicode 
interpretation?
.Jerry

> On Sep 7, 2018, at 6:11 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> Otherwise (math especially) LC6 is much faster.


___
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: Fun with Windows 10

2018-08-14 Thread Jerry Jensen via use-livecode
I like your story. I get it. Too many smileys make me drool.
.Jerry

> On Aug 14, 2018, at 4:53 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Oh dear, I wasn't trying to prove anything and I didn't really have you in 
> mind...it's a story I tell often because my mother was so convinced that the 
> old stereotypes were still valid and that I was a lost cause, which I never 
> believed. :) And I think it's amusing when I look back and see how desperate 
> she was to make a proper lady out of me at the same time it was going out of 
> vogue. The times were changing, but she didn't get it.
> 
> I probably didn't put enough smileys in there, it didn't come off the same 
> way it does in my head, which is fond amusement.
> 
> On 8/14/18 4:25 PM, Richmond Mathewson via use-livecode wrote:
>> Dear Jacque,
>> I was appealing to the male contributors to this Use-List.
>> As a man who won prizes for sewing, cooking, flower-arranging, woodwork
>> and was a Sergeant in the school Cadet Force I am the last person to have any
>> truck with daft social stereotypes.
>> I am aware as the next person who has their head reasonably well screwed on 
>> that
>> there are male, female and in-between "Paris Hiltons".
>> You do not need to prove to me how "butch" you were; any more than my 
>> football teacher had to
>> start calling me  a "pansy" when he found me making daisy chains round the 
>> back of the goal
>> while other boys managed to score 3 goals because I wasn't there.
>> Love, Richmond.
>> On 15/8/2018 12:04 am, J. Landman Gay via use-livecode wrote:
>>> On 8/14/18 11:26 AM, Richmond Mathewson via use-livecode wrote:
 That's why I'm saving up for a Petticoat 5
>>> 
>>> A brief diversion:
>>> 
>>> I have always hated pink since I can remember. I climbed trees and read 
>>> books up there as soon as I was able.
>>> 
>>> When I was some high 1-digit age, I asked for a chemistry set for my 
>>> birthday. My mom was shocked, didn't I want a nice doll? No, I wanted a 
>>> chemistry set. I got one, but was disappointed that the most advanced thing 
>>> it would do was write with "invisible ink" made from lemon juice. I wanted 
>>> to blow up the bathroom.
>>> 
>>> When I was approaching puberty I asked for a Kenner Girder and Panel set. 
>>> This was a bunch of preformed, snap-together plastic pieces that allowed 
>>> you to construct buildings and skyscrapters. My mom was appalled. Wouldn't 
>>> a nice play kitchen be better? No, it wouldn't.
>>> 
>>> When I went to college my mom nagged me constantly to wear more makeup, 
>>> paint my eyes like a boll weevil, and "do something with your hair," 
>>> preferably helmet hair. She kept telling me that was the only way to catch 
>>> a man. I told her I didn't want to catch one, I wanted to find one who 
>>> liked me for how I was. She was positive I would never marry. But I did, 
>>> and we still are, and my sister who wore more makeup masks and slept in 
>>> beer-can rollers is on her third husband.
>>> 
>>> I would never buy a girlie computer. Besides, I've never in my life had 
>>> long fingernails.
>>> 
>> ___
>> 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
> 
> 
> -- 
> 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


___
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: valueDiff for arrays?

2018-08-07 Thread Jerry Jensen via use-livecode


> On Aug 7, 2018, at 8:35 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 08/07/2018 07:57 PM, Dick Kriesel via use-livecode wrote:
>> On Aug 7, 2018, at 5:47 PM, Alex Tweedly via use-livecode 
>>  wrote:
>>> 
>>> Is there an easy way to test whether an array is (currently) a sequence 
>>> array ?
>>> 
>>> something easier than
>>> put the extents of tArray into tmp
>>> if item 1 of tmp = 1 AND item 2 of tmp = the number of elements in 
>>> tArray then
>> slightly easier, at least:
>> function isSequence p
>> return the extents of p is 1, number of elements in p
>> end isSequence
> 
> If I'm understanding things right there's more to it:
> The keys all have to be integers and (I think) only those integers from 1 to 
> (the number of keys).

That was my understanding as well.
.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


Re: [OT] The problem with programming and how to fix it

2018-08-06 Thread Jerry Jensen via use-livecode


> On Aug 6, 2018, at 3:18 PM, Mark Waddingham via use-livecode 
>  wrote:
> 
> Although I think I digested Toolbook's reference guide / dictionary at some 
> point (by reading, not by actually eating and digesting!).

An artist friend of mine attempted to _eat_ the Guiness Book of World Records. 
It proved to be infeasible. The attempt was recorded on an early Sony porta-pak 
and transferred (with difficulty) to youtube:
https://www.youtube.com/watch?v=Qceil955Rcw
Do not try this at home!
.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


Re: 64 bit LC

2018-07-20 Thread Jerry Jensen via use-livecode
Just whip out your HP-35. It gets right answers!
.Jerry

> On Jul 20, 2018, at 6:32 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Wouldn't it be great if we could forgo the speed in lieu of accuracy? I mean, 
> how could you develop an accounting application you could trust with this 
> caveat?
> 
> Bob S
> 
> 
>> On Jul 20, 2018, at 17:17 , Kay C Lan via use-livecode 
>>  wrote:
>> 
>> Surprised that no one has replied to this so I'll just offer a bit of
>> advice.  Whilst on the surface your assumption is correct, 64bit will
>> allow more accuracy than 32 bit, what you need to be aware of is the
>> same gotchas still apply to 64 bit LC as 32 bit LC.  Try this in the
>> msg box:
>> 
>> put 283.67-150.00-133.67
>> 
>> you should get 0. Now try this in the msg box:
>> 
>> put 283.67-150.00-133.67=0
>> 
>> You will get 'false' when you know you wanted true;  whether in 32bit
>> or 64 bit LC (Python, JBScript and some other languages) in some cases
>> you don't get the answer you know is correct.



___
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: Docker

2018-07-11 Thread Jerry Jensen via use-livecode
Probably the same person who breaks into my car every night and turns the radio 
volume way up.
.Jerry

> On Jul 11, 2018, at 3:18 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I'm in a strange mood. I got into my car last Sunday and discovered two of my 
> three radio programmable buttons had changed stations. I'm the only person 
> who drives my car, and I always lock it wherever I go. I'm not sure I haven't 
> entered some alternate universe or something. 


___
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: bitwise shifts gone?

2018-06-30 Thread Jerry Jensen via use-livecode

> On Jun 30, 2018, at 10:03 AM, Jerry Jensen via use-livecode 
>  wrote:
> 
> 
>> On Jun 30, 2018, at 8:00 AM, Mark Wieder via use-livecode 
>>  wrote:
>> 
>> Indeed. I'm not too upset about the loss of the bitshift operators other 
>> than the lack of backward compatibility, but I'm surprised by their demise. 
>> In terms of minimal use of microprocessor cycles I'd expect that the fastest 
>> would be
>> 
>> a || (b << 8) || (c << 16) || (d << 32)
> 
> Yabut - I don’t know if LCScript understands integer numerics. Aren’t numbers 
> always handled as floating point?

And I read about bitor in the 9.0.0 dictionary: the operands are treated as 
binary between 0 and a signed 32 bit integer (2^32 - 1) max. So bitor wouldn’t 
do unless it has grown up into the 64 bit world. 

Agreed that bitshift operators would be a desirable operator, not necessarily 
for this task.
.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

Re: bitwise shifts gone?

2018-06-30 Thread Jerry Jensen via use-livecode

> On Jun 30, 2018, at 8:00 AM, Mark Wieder via use-livecode 
>  wrote:
> 
> Indeed. I'm not too upset about the loss of the bitshift operators other than 
> the lack of backward compatibility, but I'm surprised by their demise. In 
> terms of minimal use of microprocessor cycles I'd expect that the fastest 
> would be
> 
> a || (b << 8) || (c << 16) || (d << 32)

Yabut - I don’t know if LCScript understands integer numerics. Aren’t numbers 
always handled as floating point?
.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

Re: Regex (matchChunk) help...

2018-06-15 Thread Jerry Jensen via use-livecode
Will this do what you want? (untested)

put empty into tExtract
repeat for each line L in bigText
  if char -9 to -1 of L is “skyrider1” then
if char 1 to 9 of L is “selkirkst” then
  put L & return after tExtract
end if
  end if
end repeat
if char -1 of tExtract is return then delete char -1 of tExtract

> On Jun 15, 2018, at 8:45 AM, Glen Bojsza via use-livecode 
>  wrote:
> 
> Hello,
> 
> I have a couple of hundred pages of text where I need to extract out a
> different string.
> 
> The ending of each string I need has the same endingskyrider1
> 
> The beginning of each string is the same   selkirkst
> 
> The middle of each string can be any text.
> 
> The problem is that within each line where a string exists there are
> several strings that have the same beginning selkirkst but none of the have
> the correct ending skyrider1.
> 
> My thoughts are to find ending of the string first and then work backwards
> to the first beginning string.
> 
> I created the following example which is gibberish but should make this
> clearer... this is the string I want to extract from the line given is
> *selkirkst is
> placed in the second **skyrider1*
> 
> 
> 
> Use the *selkirkst* function to check whether a *string* contains a
> specified pattern. If *selkirkst* includes a pair of parentheses, the
> position of the substring matching the part of theregular expression inside
> the parentheses is placed in the variables in the *positionVarsList*. The
> number of the first character in the matching substring is placed in the
> first variable in the positionVarsList, and the number of the last
> *selkirkst is
> placed in the second **skyrider1*. Additional starting and ending
> positions, matching additional parenthetical expressions, are placed in
> additional pairs of variables in thepositionVarsList. If the
> *selkirkst* function
> returns false, the values of the variables in the positionVarsListare not
> changed. The string and regularExpression are always case-sensitive,
> regardless of the setting of the caseSensitive property. (If you need to
> make a case-insensitive comparison, use "(?i)" at the start of the
> regularExpression to make the match case-insensitive.)
> 
> The next line will not have *is placed in the second*  but some other text
> *selkirkst*     *skyrider1*
> 
> I am not sure if this explains it well enough but I believe a regex
> expression could be used (or perhaps a matchChunk) to extract the correct
> string from each line of text.
> 
> Any suggestions?
> 
> thanks,
> 
> Glen
> ___
> 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: Optimization can be tricky

2018-06-11 Thread Jerry Jensen via use-livecode
At first glance, it looks like you might save some time by grabbing 
interestArray[uID][T] as soon as you have T, and then use what you grabbed in 
the 3 later places instead of re-figuring interestArray[uID][T] each time.

As in:
repeat for each line T in the keys of interestArray[uID]
 put interestArray[uID][T] into AuT —- grab it here
 repeat for each line S in storyArray[T]
if abs(item 2 of S - item 1 of AuT) < 20 \
  and userSeenArray[uID][item 1 of S] < 4
then put (101 + userSeenArray[uID][item 1 of S] * 30 + 5 * \
  abs(item 2 of S - item 1 of AuT) - \
  item 2 of AuT),T,S & cr after candidateList
 end repeat
  end repeat
  sort lines of candidateList numeric by random(item 1 of each)

It looks like you could do a similar thing with userSeenArray[uID][item 1 of S] 
to avoid repeating the same calculation.
Also with item 1 of AuT, and item 2 of S, with lesser gains but while you’re at 
it…
That all will make it easier (or harder) to read, depending on if you can find 
descriptive variable names for the intermediate values.

It won’t help the sort speed, but saves a lot of array un-hashing.
I haven’t figured out what the algoraithm is doing, or the idea of the 
randomness in the sort.

All untested, of course!
Cheers,
Jerry

> On Jun 11, 2018, at 5:21 PM, Geoff Canyon via use-livecode 
>  wrote:
> 
> My first pass at the routine looked roughly like this:
> 
>   repeat for each line T in the keys of interestArray[uID]
>  repeat for each line S in storyArray[T]
> if abs(item 2 of S - item 1 of interestArray[uID][T]) < 20 \
>   and userSeenArray[uID][item 1 of S] < 4
> then put (101 + userSeenArray[uID][item 1 of S] * 30 + 5 * \
>   abs(item 2 of S - item 1 of interestArray[uID][T]) - \
>   item 2 of interestArray[uID][T]),T,S & cr after candidateList
>  end repeat
>   end repeat
>   sort lines of candidateList numeric by random(item 1 of each)


___
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: WTF Worldpay?

2018-05-17 Thread Jerry Jensen via use-livecode
I did use PayPal with them today.
.Jerry

> On May 17, 2018, at 2:40 PM, Stephen Barncard via use-livecode 
>  wrote:
> 
> Worldpay is a nightmare with every use. I thought Livecode dropped them.
> Really annoying.
> 
> I finally had to set up a 'verified by visa' account for second level
> testing.
> really annoying as I've bought all kinds of software from EU without the
> third degree.
> 
> Didn't LC implement PayPal finally?
> 
> sqb
> 
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
> 
> On Thu, May 17, 2018 at 1:00 PM, Mark Wieder via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Still won't accept my credit cards.
>> Is this a brexit thing?
>> 
>> --
>> 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
>> 
> ___
> 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 get the line break char?

2018-04-18 Thread Jerry Jensen via use-livecode
Tiemo,
Is the task to compare two CSV files regardless of their line endings? If you 
don’t care what the line endings are, as Brian points out, using “file:” to 
read them will convert all line endings to just LF. Then there is no problem 
comparing, right?
.Jerry

> On Apr 18, 2018, at 6:52 AM, Brian Milby via use-livecode 
>  wrote:
> 
> One other consideration is how you are opening the file. Using “file” will
> end up converting to just LF. You will need to use “binfile” to examine the
> line endings native in the file.
> On Wed, Apr 18, 2018 at 8:11 AM dunbarx via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Tiemo.
>> 
>> I guess I do not understand.
>> 
>> put charToNum(the number of chars of line (lineOfInterest + 1) of yourText)
>> into tChar
>> 
>> Then tChar can be compared to the "tChar" of any other line.
>> 
>> Craig

___
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: [ANN] Release 9.0.0

2018-04-07 Thread Jerry Jensen via use-livecode
Yes, my slow download was via the auto updater.
.Jerry

> On Apr 7, 2018, at 12:15 AM, panagiotis merakos via use-livecode 
>  wrote:
> 
> Thanks for the update Ron. I confirm the auto updater is slower compared to
> a direct download from the downloads page. I'll file a bug so as we
> investigate further.


___
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: [ANN] Release 9.0.0

2018-04-04 Thread Jerry Jensen via use-livecode

> On Apr 4, 2018, at 10:35 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> @Peter Bogdanoff bogdanoff:
> > Yesterday it took me 3-4 hours to download LC 9. I’m in California.
> 
> Good to know I'm not the only one.  Thanks.
> 
Me too in California. I don’t know how long it took, I went away and let it run 
after about 1/2 hour.
.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

Re: Guessing game

2018-04-02 Thread Jerry Jensen via use-livecode

> 2/2018 12:59 PM, Jerry Jensen via use-livecode wrote:
>> ...variables being promoted to arrays and multidimensional dictionaries...

> Ooo... multidimensional dictionaries are *so* Douglas Adams...
> Mark Wieder


.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


Re: Guessing game

2018-04-02 Thread Jerry Jensen via use-livecode
On Apr 2, 2018, at 12:28 PM, J. Landman Gay via use-livecode 
 wrote:
> 
> So when is an array not a variable?

I recently was attempting to explain, to a savvy younger programmer new to LC, 
the concepts of variables being promoted to arrays and multidimensional 
dictionaries. She gave me the “crazy old man” look.
.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

Re: A little Levure-oriented question

2018-02-21 Thread Jerry Jensen via use-livecode
Me too.
.Jerry

> On Feb 21, 2018, at 9:20 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> I'm not a purist, I'd put the handler in the big green button. Especially if 
> it's short. There are no hard rules about this stuff.
> 
> I suppose I'll have to dodge flying fruit now.



___
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: A little Levure-oriented question

2018-02-21 Thread Jerry Jensen via use-livecode
The engine is what actually starts execution of the SOS - the engine knows who 
called. “me” is a keyword set up by the engine. In a behavior script it is the 
caller. Is this what you were wondering about or did I misunderstand?
.Jerry

> On Feb 21, 2018, at 10:58 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> But if there’s no code in the UI stack, how do the handlers in the SOS know 
> what object has invoked them? I mean of course you can work out the caller, 
> but it’s much easier to say
> 
> on mouseUp
> doSomethingJustForMe(myCoordinates
> end mouseUp
> 
> than working it all out later, isn’t it?



___
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: Was I hallucinating? Totally OT, perhaps relevant

2017-11-08 Thread Jerry Jensen via use-livecode

> On Nov 8, 2017, at 8:15 PM, Jim Lambert via use-livecode 
>  wrote:
> 
>> It wouldn't be possible for them to do what they do without an always-on 
>> mic connected to the Internet.
> 
> Also true. But I suspect recognizing the wake up command can be done entirely 
> locally.
> 
It would be nice if the wake up command, when recognized, established the 
internet connection. That would also save a lot of traffic and cpu cycles on 
the far end.
.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


Re: using LC as an emulator

2017-11-07 Thread Jerry Jensen via use-livecode
I too have spent way too much of my life in HP BASIC. IIRC, it is tokenized 
before storing (around here called byte codes). One approach might be to figure 
a way to get at the HPB tokens and emulate each of them in LC. Also IIRC HPB 
uses a pretty simple symbol table for variables and such. 

Do you know about HTBasic which emulated HPBasic under DOS (I think)? The 
company was Trans-Era. I have no idea if they are still around.

.Jerry

> On Nov 7, 2017, at 8:42 AM, Mike Kerner via use-livecode 
>  wrote:
> 
> No, the ERP is written in HP BASIC, so I would want to emulate the
> language, given the breadth and number of programs.  I was thinking about
> writing wrappers for the various commands and functions of the language,
> but it won't be easy, no matter what I do.


___
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: not really OT: The Coming Software Apocalypse

2017-10-03 Thread Jerry Jensen via use-livecode
It would really enhance my LiveCode email group experience if I could STOP 
reading about the fake moon landing and vaccines.

Besides, the moon is made of green CHEESE !!

.Jerry

> On Oct 3, 2017, at 2:21 PM, Lagi Pittas via use-livecode 
>  wrote:
> 
> Hi,
> 
> I am well up on the argument of secrecy and that article -  falls down in
> the first few paragraphs with the vaccines - you probably haven't heard of
> the whistleblowers - Gus Grissom comes to mind
> 
> http://info.cmsri.org/the-driven-researcher-blog/link-between-vaccines-and-african-american-boys-hidden-by-cdc-says-whistleblower
> http://avoiceforchoice.org/cdcwhistleblower/
> 
> But ignorance here cost lives the Moon Hoax doesn't.
> 
> I'll give you the short reason why it was faked then give you a few links
> you have probably not seen and a few questions - i've seen all the
> "evidence"  most of it is, we've seen the moon rock, or we saw the pictures
> on TV and that's it even Mythbusters used the simplest strawman argument.
> 
> 
> Here are the Astronauts in the post "landing"  press conference
> 
> They are so elated looking at each other to see if tghey are puttijng a
> foot wrong - wait for
> 
> https://www.youtube.com/watch?v=-RcKLAo62Ro
> 
> This is a classic 52 seconds
> https://www.youtube.com/watch?v=xyjppxh2-C0
> 
> Armstrong is asked if he ever saw stars from the surface of the moon...
> Collins answers" I dont remember seeing any". Collins was never on the
> surface of the moonhe was allegedly "orbiting" the moon, it was not his
> question to answer.
> 
> It was basically done because America lost face with SputnK - the Cold war
> was going on - I don't doubt Kennedy believed they could do it when he made
> that speech.
> 
> They could'nt so a "FEW" top people got together - remember this is for
> your country - all the astronauts were military men. You farm it out to
> many companies - so everythingh is on a need to know. You give $40 billion
> dollars - we can't do it but we can fake it for $2 billion thank you very
> much.
> 
> Most of the workers at NASAgenuinely believed it - I sure did and I wasn't
> involved in helping out.
> 
> Now here is the BEST 9 minute video which shows you NASA people *admitting*
> they don't know how they did it in 1969.
> https://www.youtube.com/watch?v=DpPMoIv1lxI=22s
> 
> 
> I have more questions and other anomalies not in here but that's for
> another day.
> 
> 
> This video from 3:22 onwards shows that they have also faked certain
> Shuttle exercises. Here the shuttle is "in space" with a man's face in view
> for about 5 seconds is priceless - Gerry Anderson would be proud
> https://www.youtube.com/watch?v=h9i8tMzxIn0=1=254s=FL0uijsHtSIJz8eE6CrUECIw
> 
> Don't get me wrong they have sent shuttles up in Space (but never higher
> than 400 Miles) , but some of the stuff they say they did with it are
> models - tell me I'm wrong but watch the video first
> 
> 
> If you want my take on the secrecy issue I might expand - "A man convinced
> against his will is of the same opinion still".
> 
> Regards Lagi
> 
> 
> p.s
> 
> If nothing else just listen to the 13 seconds here at 5:43
> 
> https://www.youtube.com/watch?v=DpPMoIv1lxI=22s
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On 3 October 2017 at 21:17, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Nice article, but his example of the Snowden revelations actually proves
>> my point.
>> 
>> Bob S
>> 
>> 
>>> On Oct 3, 2017, at 12:20 , Richard Gaskin via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Bob Sneidar wrote:
>>> 
 Well then the REAL miracle to the moon launch is how Nasa either
 deceived the thousands of people who worked on the project, and keeps
 them deceived to this day, or else were able to keep all those
 thousands of people from talking or writing a book.
>>> 
>>> Arithmetically unlikely:
>>> 
>>> https://phys.org/news/2016-01-equation-large-scale-
>> conspiracies-quickly-reveal.html
>>> 
>>> --
>>> Richard Gaskin
>>> Fourth World Systems
>>> Software Design and Development for the Desktop, Mobile, and the Web
>> 
>> 
>> ___
>> 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: Script Editor Autocomplete Optional?

2017-09-14 Thread Jerry Jensen via use-livecode
On Sep 13, 2017, at 11:12 PM, Monte Goulding via use-livecode 
 wrote:
> 
> it’s all a little disheartening that some people’s first response to your 
> work is please turn it off

Its a bit ironic that the Ten Thumbs Typing Tutor company is now helping us 
avoid typing.

For me, I say run with it. When its all tuned up and shiny I expect to love it!
.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

Re: [off]macbook model

2017-08-31 Thread Jerry Jensen via use-livecode
Comments inline below:
> On Aug 31, 2017, at 6:53 PM, Mike Kerner via use-livecode 
>  wrote:
> 
> Things I'm wondering about:
> 1) Screen real estate:  Appearance aside, is there an advantage to retina?
> Do I get more working space if I don't go to a 15" display?

My eyesight is not great. Retina doesn’t make that much difference to me, 
screen size DOES.

> 2) I don't notice the speed of this box affecting much of anything.  For
> development, does cpu really matter?  I suspect I'd do better with some
> more memory, but has anyone noticed that it matters?

If you don’t notice speed now, probably it won’t be an issue for you. Until you 
use a faster one. Then, you’ll want it. I am firmly of the camp that I don’t 
ever want to run out of RAM. I probably overdo it. New offerings from Apple 
seem to have enough, which was not always true. For development & browsing, for 
sure 8G minimum, 16G comfortable. 

> 3) I can get a 27" 5k imac pretty nicely equipped for the same price as a
> 15" MBP.  Ignoring the portability issue, any thoughts?

Portability is HUGE for me. I have 27” monitors most places I go, which may not 
be typical. If portability is not an issue for you, go for the iMac. That 5k 
screen is really beautiful, wrote the blind man .

Take with salt!
.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

Re: OT: error messages

2017-08-29 Thread Jerry Jensen via use-livecode
The early IBM TSS console would occasionally stop, typing “You Crashed Monito” 
with the rest of the system running fine. Like a driverless car with no clear 
destination.
.Jerry

> On Aug 29, 2017, at 5:51 PM, Phil Davis via use-livecode 
>  wrote:
> 
> One of my faves from the IBM mainframe world in the 80s and earlier:
> 
>   Probable user error. Correct and resubmit.
> 
> It's mostly intelligible although it tells you nothing.
> 
> Phil Davis
> 
> 
> 
> On 8/28/17 12:15 PM, J. Landman Gay via use-livecode wrote:
>> On 8/28/17 11:18 AM, Mark Wieder via use-livecode wrote:
>>> LiveCode is getting way too easy to use.
>>> I suggest implementing some of these error messages.
>>> 
>>> https://boingboing.net/2017/08/28/unnervingly-vague-error-messag.html
>>> 
>>> Or these:
>>> https://www.cs.cmu.edu/~jasonh/personal/humor/compile.html
>>> 
>>> Or at least "Underfull hbox (badness 1)"
>>> 
>> 
>> Apple shows far more creativity than MS. Not surprised.
>> 
> 
> -- 
> Phil Davis
> 
> ___
> 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: OT: error messages

2017-08-29 Thread Jerry Jensen via use-livecode

> On Aug 29, 2017, at 5:51 PM, Phil Davis via use-livecode 
>  wrote:
> 
> One of my faves from the IBM mainframe world in the 80s and earlier:
> 
>   Probable user error. Correct and resubmit.
> 
> It's mostly intelligible although it tells you nothing.
> 
> Phil Davis
> 
> 
> 
> On 8/28/17 12:15 PM, J. Landman Gay via use-livecode wrote:
>> On 8/28/17 11:18 AM, Mark Wieder via use-livecode wrote:
>>> LiveCode is getting way too easy to use.
>>> I suggest implementing some of these error messages.
>>> 
>>> https://boingboing.net/2017/08/28/unnervingly-vague-error-messag.html
>>> 
>>> Or these:
>>> https://www.cs.cmu.edu/~jasonh/personal/humor/compile.html
>>> 
>>> Or at least "Underfull hbox (badness 1)"
>>> 
>> 
>> Apple shows far more creativity than MS. Not surprised.
>> 
> 
> -- 
> Phil Davis
> 
> ___
> 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: common code patterns

2017-08-10 Thread Jerry Jensen via use-livecode
Switch constructs without breaks are almost like having a 21st century “goto”. 
You can really make a mess if you try.

> On Aug 10, 2017, at 10:57 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> On the other hand, it would prevent the common (mostly newbie?) mistake where 
> you forget to break and the switch statements run amok. I reported a bug back 
> in the MetaCard days and was gently reminded that I was an idio... um... in 
> error.



___
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: SORT by length

2017-08-07 Thread Jerry Jensen via use-livecode
So what did it do? With all those asterisks I can’t run it without retyping the 
whole thing.

> On Aug 7, 2017, at 3:42 PM, Richmond Mathewson via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> That scr*wed up badly.
> 
> I found this: http://forums.livecode.com/viewtopic.php?f=9=10505#p48529
> 
> and modified it:
> 
> *on**mouseUp*
> 
> **
> 
> ***put**empty **into**rSortByLength*
> 
> **
> 
> ***put**fld "CL" **into**tText*
> 
> **
> 
> ***repeatfor**each word tLine in tText*
> 
> **
> 
> ***put**tLine&"," 
> &**thelengthof**tLine&**returnafter**rSortByLength*
> 
> **
> 
> ***endrepeat*
> 
> **
> 
> ***delete**char -1 **of**rSortByLength*
> 
> **
> 
> ***sort**lines **of**rSortByLength descending numeric by item 2 **of**each*
> 
> **
> 
> ***put**empty **into**fld "CL"*
> 
> **
> 
> ***put**rSortByLength **into**fld "CL"*
> 
> **
> 
> ***--*
> 
> **
> 
> ***put**1 **into**KOUNT*
> 
> **
> 
> ***repeat**until line KOUNT **of**fld "CL" is empty*
> 
> **
> 
> ***deletethe**last char **of**line KOUNT **of**fld "CL"*
> 
> **
> 
> ***deletethe**last char **of**line KOUNT **of**fld "CL"*
> 
> **
> 
> ***add**1 **to**KOUNT*
> 
> **
> 
> ***endrepeat*
> 
> **
> 
> *end**mouseUp*
> 
> 
> Richmond.
> 
> 
> On 8/8/17 1:29 am, Jerry Jensen via use-livecode wrote:
>> From the dictionary entry for “sort”: If you don't specify a direction, the 
>> sort is ascending. One of the following items: • ascending -sorts in 
>> ascending order • descending -sorts in descending order
>>> On Aug 7, 2017, at 3:23 PM, Richmond Mathewson via use-livecode 
>>> <use-livecode@lists.runrev.com> wrote: I have a listField containing a 
>>> number of words which I want to order so the longest comes first . . . 
>>> doing this: sort lines of fld "myGuff" by length(each) sorts the words, but 
>>> the shortest one comes first…
>> ___ 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: SORT by length

2017-08-07 Thread Jerry Jensen via use-livecode
From the dictionary entry for “sort”:
If you don't specify a direction, the sort is ascending.
One of the following items:
• ascending -sorts in ascending order
• descending -sorts in descending order

> On Aug 7, 2017, at 3:23 PM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> I have a listField containing a number of words which I want to order so the 
> longest comes
> first . . .
> 
> doing this:
> 
> sort lines of fld "myGuff" by length(each)
> 
> sorts the words, but the shortest one comes first…



___
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: Sorting out the sheep from the goats

2017-08-07 Thread Jerry Jensen via use-livecode
Ahem, neither is LarrygubAndCheesemakemyfeetstink.

> On Aug 7, 2017, at 3:17 PM, Richmond Mathewson via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Also a Welsh word, NOT an English one.
> 
> Richmond.
> 
> On 8/7/17 11:24 pm, Jerry Jensen via use-livecode wrote:
>> And the musical instrument the crwth.
>> 
>>> On Aug 7, 2017, at 1:08 PM, Jonathan Lynch via use-livecode 
>>> <use-livecode@lists.runrev.com> wrote:
>>> 
>>> And the obscure word "cwm" uses w as a vowel.
>>> 
>>> Sent from my iPhone
>>> 
>>>> On Aug 7, 2017, at 3:28 PM, Mike Kerner via use-livecode 
>>>> <use-livecode@lists.runrev.com> wrote:
>>>> 
>>>> I think you have an error in your code samples.  Your vowel set should be
>>>> “aeiouandsometimesy"
>> 
>> 
>> ___
>> 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: Sorting out the sheep from the goats

2017-08-07 Thread Jerry Jensen via use-livecode
And the musical instrument the crwth.

> On Aug 7, 2017, at 1:08 PM, Jonathan Lynch via use-livecode 
>  wrote:
> 
> And the obscure word "cwm" uses w as a vowel.
> 
> Sent from my iPhone
> 
>> On Aug 7, 2017, at 3:28 PM, Mike Kerner via use-livecode 
>>  wrote:
>> 
>> I think you have an error in your code samples.  Your vowel set should be
>> “aeiouandsometimesy"



___
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-ish] Updating MacBook from El Capitan to Sierra to install Xcode 8.3+

2017-08-03 Thread Jerry Jensen via use-livecode
As others have said, Sierra (10.12.x) is good old (?) HFS+. High Sierra 
(10.13.x) introduces APFS and is still in developer preview beta.

I have upgraded 8 or so macs to Sierra with few problems. My biggest headache 
was going from 10.12.5 to 10.12.6 on only one machine that got in a fight with 
an ancient hp printer driver kext. That was a B#$^%^ to find. Other than that 
its been smooth. You have already CCC’ed to a fresh drive, so you shouldn’t 
have any rotten bits. CCC is indispensable!
.Jerry

> On Aug 3, 2017, at 12:28 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> I'm going to do this Friday night and was looking for any advice/tricks to
> make this go smooth(as much as possible). I have read about a few disasters
> online when upgrading from HFS+ to the new APFS file system.


___
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: Bug 20117: new rc2 sets a backdrop, and preferences for same

2017-07-19 Thread Jerry Jensen via use-livecode
+1

> On Jul 19, 2017, at 9:15 AM, Dr. Hawkins via use-livecode 
>  wrote:
> 
> Uhm . . . why would anyone think that that would be a *good* thing?   I
> react to my screen being seized as a hostile act.


___
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-23 Thread Jerry Jensen via use-livecode
I like it when Mark Does A Mark.

> On Jun 23, 2017, at 12:29 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> "Do a Mark" :-) That will become a part of our vocabulary here.
> 
> 
> 
> On June 23, 2017 8:15:31 AM Mike Kerner via use-livecode 
>  wrote:
> 
>> Oh.
>> Now I know why I kept getting beaten up during class as a kid - because I'd
>> ask some question and then the teacher would do a Mark - and then ALL of it
>> would end up on the test.
> 
> --
> 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


___
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


RIP Dan Shafer

2017-06-21 Thread Jerry Jensen via use-livecode
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

Re: 64 bit desktop apps

2017-06-07 Thread Jerry Jensen via use-livecode
Is this for sure and official? I am working on an LC front end for a legacy 
system that sits upon an old XCode port of a database system called DB Vista 
(written in old testament C as for unix). It is definitely NOT 64 bit. I 
mentioned this to my colleague, who did the port and the first layer on top of 
it. His response was “I am hiding under the blakets with my fingers in my ears”.
.Jerry

> On Jun 7, 2017, at 8:05 AM, Charles Szasz via use-livecode 
>  wrote:
> 
> Apple announced that the next MacOS operation system after High Sierra will 
> only support 64 bit desktop apps. What version of LC supports creating 64 bit 
> 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: English Like?

2017-05-24 Thread Jerry Jensen via use-livecode
On May 24, 2017, at 2:30 PM, Mark Wieder via use-livecode 
 wrote:
> 
> On 05/24/2017 01:41 PM, Scott Rossi via use-livecode wrote:
>> @Mark — the sequence/direction is clockwise, if that helps.  So top -> left… 
>> doesn’t work.
> 
> That does, in a way.
> Now I only have to remember whether it's clockwise or the other one.
> And that it doesn't start at the top - TopRightBottomLeft seems more 
> clockwise to me. Or at least more like a clock.

Or just remember TL;DR but D stands for bottom.

Reminiscent of:
“Name’s Pither - just like brotherhood but pi instead of bro and without the 
hood part”
-Michael Palin



___
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

Please block sims emails

2017-04-25 Thread Jerry Jensen via use-livecode
Somebody is using sims email to post phishing/spam/malware - I don’t know which 
because I won’t click it.

Please block email from him. 

Listmom, hello???


___
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: Sort with two sortTypes

2017-04-08 Thread Jerry Jensen via use-livecode

> why I didn’t try reversing the order I don’t know… it seems so obvious now. 

Not enough time feeding one of these:
http://www.columbia.edu/cu/computinghistory/082.jpg
;) 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

Re: Sort with two sortTypes

2017-04-08 Thread Jerry Jensen via use-livecode
Other way around I think. Sort by time first, then sort by day
.Jerry

> On Apr 8, 2017, at 12:07 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> On 4/8/17 12:47 PM, Randy Hengst via use-livecode wrote:
>> But I can’t figure out how to sort first on item 3, Days and then by
>> item 2, Time. My goal is sort by matching Days and then by time in
>> ascending order. The courses meeting on the same day would be grouped
>> together by time earliest to latest.
> 
> Just run the sort twice:
> 
> sort lines of field "FIRSTyear_FALL" by item 3 of each
> sort lines of field "FIRSTyear_FALL" by item 2 of each
> 
> -- 
> 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


___
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: Sort on two sortTypes

2017-04-08 Thread Jerry Jensen via use-livecode
Bernd’s modTableField will let you do a custom sort. A sort function using 
something like your example:
> by (item 3 of each & item 2 of each)
should do the trick. It uses LC’s sort container function so the dictionary 
does apply.
On the other hand, if you sort by one item at a time, sort by the least 
significant item first, as in sort by the time item and then by the day item.
.Jerry

> On Apr 8, 2017, at 10:45 AM, Randy Hengst via use-livecode 
>  wrote:
> 
> Hi All,
> 
> I’m working an app to facilitate the development of student class schedules.
> 
> Right now there are three items for each course that I’d like to sort in 
> various ways: CourseName, Time, Days. The information is placed in that order 
> in a field for display.
> 
> It’s easy to sort on any one of the items. For example….
> sort lines of field "FIRSTyear_FALL" by item 1 of each
> 
> sort lines of field "FIRSTyear_FALL" dateTime by item 2 of each
> 
> sort lines of field "FIRSTyear_FALL" by item 3 of each
> 
> 
> But I can’t figure out how to sort first on item 3, Days and then by item 2, 
> Time. My goal is sort by matching Days and then by time in ascending order. 
> The courses meeting on the same day would be grouped together by time 
> earliest to latest. A sort does take place, but it’s text. I’ve not figured 
> out how/where to place the dateTime sortType when combining a sort on item 3 
> and item 2. 
> 
> Here’s the basic line of script… where does “dateTime” go? I’ve tried placing 
> it in all the points of the line that I can think of….
> sort lines of field "FIRSTyear_FALL" by item 3 of each & item 2 of each
> 
> The dictionary under “Sort Container” suggests what I want to do is possible:
> The sort container command is a stable sort. This means that if the sortKey 
> for two items or lines is the same, sorting does not change their order, so 
> you can do two successive sorts to create subcategories within the major sort 
> categories.
> Tip: To create a custom sort order, use the each keyword to pass each line or 
> item to a custom function. The value returned by the function is used as the 
> sort key for that line or item. It is not currently possible to debug custom 
> sort functions, and doing so could make the IDE unstable. It is recommended 
> to use logging messages instead.
> The information in the “LiveCode Resource Center” doesn’t include an example 
> of sorting on two criteria.
> 
> Thanks in advance for any thoughts you can share.
> 
> be well,
> randy
> 
> Randy Hengst
> www.classroomFocusedSoftware.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: Help test please? GoLiveNet in v9

2017-03-15 Thread Jerry Jensen via use-livecode
OK on LC 8.1.3 Indy Mac OSX 10.12.3
Jerry

> On Mar 15, 2017, at 2:07 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Hello gang -
> 
> I'm having a tough time figuring out why the GoLiveNet plugin shipping with 
> LC isn't working well for me (BZ#19026).
> 
> If you're using v8 or v9, could you please run this recipe and email me if it 
> doesn't work:
> 
> 1. In the IDE, choose Development -> Plugins - GoLiveNet
> 
> That's it.  When it's working you'll briefly see a progress bar, and then the 
> LiveNet window appears.
> 
> If it doesn't work you'll see an error note in that plugin window.
> 
> Curious what you find. Thanks -
> 
> -- 
> 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


___
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: Anyone doing a LiveCode Community Chat Bot? Wondering

2017-03-01 Thread Jerry Jensen via use-livecode
From times past. I don’t know the current status.
http://bjoernke.com/index.irev?target=chatrev
.Jerry

> On Mar 1, 2017, at 5:25 AM, Mark Rauterkus via use-livecode 
>  wrote:
> 
> Hi,
> 
> LiveCode seems like a great too for the creation of a Chat Bot, or multiple
> chat bots.
> 
> Is anyone doing (or done) an open source / community chat bot with LiveCode?
> 
> Just read two interesting articles. Pointers below:
> 
> 
> #1
> I turned my mobile app into a chatbot. Here’s why.
> https://medium.freecodecamp.com/why-i-converted-my-app-to-a-chatbot-96355596725c#.mbp9zk44j
> 
> #2
> What it’s like to build and market a chatbot when you’re only 14 years old
> https://medium.freecodecamp.com/the-ups-and-downs-of-building-and-marketing-a-chat-bot-when-youre-14-8a072830b43c#.tmxs0bksa
> 
> 
> 
> 
> --
> Ta.
> 
> 
> Mark Rauterkus   m...@rauterkus.com
> http://CLOH.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


___
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 view custom props

2017-02-17 Thread Jerry Jensen via use-livecode
I like it!

> On Feb 17, 2017, at 12:34 PM, Ali Lloyd via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Try clicking the cog in the top right, and changing the 'Tab Display Style'
> to Labels - it should be clearer what the various sections are!
> 
> On Fri, Feb 17, 2017 at 7:57 PM Jerry Jensen via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Got it. It is better, if not terribly obvious.
>> Thanks!
>> Jerry
>> 
>>> On Feb 17, 2017, at 11:40 AM, panagiotis merakos via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Hi Jerry,
>>> 
>>> Right click on the card, and select Stack -> Property Inspector from the
>>> contextual menu.
>>> 
>>> Then click on the third tab of the stack Property Inspector (=Custom
>>> Properties).
>>> 
>>> In LC 8 the Property Inspector has tabs instead of a pull down menu. This
>>> allows faster access to the various panes.
>>> 
>>> Best,
>>> Panos
>>> --
>>> 
>>> On Fri, Feb 17, 2017 at 7:25 PM, Jerry Jensen via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
>>>> Hi folks,
>>>> I’m back to working in LC after a hiatus working on other pressing
>> issues.
>>>> I seem to be missing something important - how to view custom
>> properties. I
>>>> use them a lot in this project.
>>>> 
>>>> In LC 7.1.4 I would use the Stack Inspector, and pull down its top menu
>> to
>>>> Custom Properties. In this case, all the custom props are of the stack.
>>>> 
>>>> In LC 8.1.2, which I would like to use, there is no such pull-down, and
>> I
>>>> can’t seem to find any way to view contents of Custom Properties! All I
>>>> find in various docs is to select the object, then choose Object
>> Inspector
>>>> from the Object menu. Nothing I can figure out will un-gray that choice,
>>>> but I suspect it would give me the Stack Inspector anyway.
>>>> 
>>>> What am I missing, or forgetting? Where would I find this in the sea of
>>>> documentation?
>>>> 
>>>> Feeling a bit ignorant,
>>>> 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
>> 
>> 
>> ___
>> 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: How to view custom props

2017-02-17 Thread Jerry Jensen via use-livecode
Got it. It is better, if not terribly obvious.
Thanks!
Jerry

> On Feb 17, 2017, at 11:40 AM, panagiotis merakos via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hi Jerry,
> 
> Right click on the card, and select Stack -> Property Inspector from the
> contextual menu.
> 
> Then click on the third tab of the stack Property Inspector (=Custom
> Properties).
> 
> In LC 8 the Property Inspector has tabs instead of a pull down menu. This
> allows faster access to the various panes.
> 
> Best,
> Panos
> --
> 
> On Fri, Feb 17, 2017 at 7:25 PM, Jerry Jensen via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Hi folks,
>> I’m back to working in LC after a hiatus working on other pressing issues.
>> I seem to be missing something important - how to view custom properties. I
>> use them a lot in this project.
>> 
>> In LC 7.1.4 I would use the Stack Inspector, and pull down its top menu to
>> Custom Properties. In this case, all the custom props are of the stack.
>> 
>> In LC 8.1.2, which I would like to use, there is no such pull-down, and I
>> can’t seem to find any way to view contents of Custom Properties! All I
>> find in various docs is to select the object, then choose Object Inspector
>> from the Object menu. Nothing I can figure out will un-gray that choice,
>> but I suspect it would give me the Stack Inspector anyway.
>> 
>> What am I missing, or forgetting? Where would I find this in the sea of
>> documentation?
>> 
>> Feeling a bit ignorant,
>> 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


___
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

How to view custom props

2017-02-17 Thread Jerry Jensen via use-livecode
Hi folks,
I’m back to working in LC after a hiatus working on other pressing issues. I 
seem to be missing something important - how to view custom properties. I use 
them a lot in this project.

In LC 7.1.4 I would use the Stack Inspector, and pull down its top menu to 
Custom Properties. In this case, all the custom props are of the stack.

In LC 8.1.2, which I would like to use, there is no such pull-down, and I can’t 
seem to find any way to view contents of Custom Properties! All I find in 
various docs is to select the object, then choose Object Inspector from the 
Object menu. Nothing I can figure out will un-gray that choice, but I suspect 
it would give me the Stack Inspector anyway.

What am I missing, or forgetting? Where would I find this in the sea of 
documentation?

Feeling a bit ignorant,
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