Re: Times ARE changing

2020-06-07 Thread Dar Scott Consulting via use-livecode
When a tiny boy near the middle of a previous century I secretly hid with a book with words in it. I was not able to puzzle the words, but I could look at the pictures. Believing it to be a fun tale mothers told children in a far off land, I studied the pictures to learn a lesson such mothers

Re: Apps to fight COVID-19

2020-05-16 Thread Dar Scott Consulting via use-livecode
Covid Watch (where I'm working) is decentralized. (of course) > On May 14, 2020, at 10:35 AM, Mark Wieder via use-livecode > wrote: > > Updated news: Germany steps up to the plate > > https://www.bbc.com/news/technology-52650576 > https://github.com/corona-warn-app/cwa-documentation > > --

Re: Apps to fight COVID-19

2020-04-18 Thread Dar Scott Consulting via use-livecode
t; better? >>> >>> >>> >>> >>>> On Apr 15, 2020, at 4:57 PM, dsc--- via use-livecode >>>> wrote: >>>> >>>> Meanwhile at Covid Watch there is talk of moving the provider-facing at to >>>> a web app of some sor

Re: Apps to fight COVID-19

2020-04-13 Thread Dar Scott Consulting via use-livecode
Thanks! > On Apr 13, 2020, at 11:42 AM, Mark Wieder via use-livecode > wrote: > > On 4/13/20 10:14 AM, dsc--- via use-livecode wrote: >> 1. Covid Watch needs expertise in making HIPAA compliant apps. (We have >> changed COVID Watch to Covid Watch.) > > This any help? > >

Re: Apps to fight COVID-19

2020-04-12 Thread Dar Scott Consulting via use-livecode
Is this normal? Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage We found in our review that your app provides services or requires sensitive user information related to the COVID-19 pandemic. Since the COVID-19 pandemic is a public health crisis, services and information related

Re: Apps to fight COVID-19

2020-04-11 Thread Dar Scott Consulting via use-livecode
Maybe it can also be something like Facetime and give you a "gregarious-ity" score. Maybe it can even work based on Bluetooth classic inquiry. If this works, this would work even with older Androids, but I'm not sure about iOS. 1/128th baked: Audio and audio control protocols... Are there

Re: Apps to fight COVID-19

2020-04-11 Thread Dar Scott Consulting via use-livecode
14 day devotional? Daily quarantine tips? Daily jokes? ... > On Apr 11, 2020, at 12:34 PM, Dev via use-livecode > wrote: > > Countdown of the hours left in purgatory? > >> On Apr 11, 2020, at 12:32 PM, Mark Smith via use-livecode >> wrote: >> >> What would it be designed to help you

Re: Apps to fight COVID-19

2020-04-10 Thread Dar Scott Consulting via use-livecode
You are right. We must remain diligent. > On Apr 10, 2020, at 7:16 PM, Mark Wieder via use-livecode > wrote: > > On 4/10/20 3:58 PM, Trevor DeVore via use-livecode wrote: > >> Here are some additional details. Seems like a good thing they are doing. > > It *is* a good thing, no doubt about

Re: Apps to fight COVID-19

2020-04-10 Thread Dar Scott Consulting via use-livecode
Alright, Richard! But, uh, before you hit the streets, put on your mask and download a contact tracing app from a competent freedom-loving source. > On Apr 10, 2020, at 4:58 PM, Richard Gaskin via use-livecode > wrote: > > Mark Wieder wrote: > > Of course, a "standard" app will soon become

Re: Apps to fight COVID-19

2020-04-10 Thread Dar Scott Consulting via use-livecode
The illustrations from Google in that article are goofed up. I don't know whether Google did it or TechCrunch. The gray background confuses things. The "few days later" goes left to right not top to bottom. The order should be... Alice and Bob meet... Their phones exchange... A few

Re: Apps to fight COVID-19

2020-04-10 Thread Dar Scott Consulting via use-livecode
Don't know what "list like that" you are referring to. Currently, Android (and maybe iOS, too, I don't know) requires Location as a prerequisite to using Bluetooth. My impression is that with the new API, this is not required. So, the list for any app is smaller. I believe currently COVID

Re: Apps to fight COVID-19

2020-04-09 Thread Dar Scott Consulting via use-livecode
, at 4:46 AM, Mark Smith via use-livecode > wrote: > > Happy to contribute as well. > >> On Apr 8, 2020, at 3:17 PM, David Bovill via use-livecode >> wrote: >> >> I’d be interested in volunteering to make a Livecode app for this. Anyone >> else? >&

Re: Apps to fight COVID-19

2020-04-08 Thread Dar Scott Consulting via use-livecode
:) > On Apr 8, 2020, at 8:17 AM, David Bovill via use-livecode > wrote: > > I’d be interested in volunteering to make a Livecode app for this. Anyone > else? > On 7 Apr 2020, 00:41 +0100, Dar Scott Consulting via use-livecode > , wrote: >> Hi, everybody! >&

Apps to fight COVID-19

2020-04-06 Thread Dar Scott Consulting via use-livecode
Hi, everybody! I apologize for the drive-by email. And I miss everybody on the list. Been busy all that. I am a strong believer in contact tracing as an implortant part of COVID-19 containment. There are several teams out there working on voluntary privacy-protecting contact tracing apps to

Re: Is there a command to display number of seconds as hrs:min:seconds?

2019-10-18 Thread Dar Scott Consulting via use-livecode
I would +1 a deltaTime format, but we might not agree on hours over 24 and fractions of a second. > On Oct 17, 2019, at 10:25 PM, Bill Vlahos via use-livecode > wrote: > > All great suggestions. > > I mostly wanted to see if there already was such a function - which there > obviously isn’t.

Re: Is there a command to display number of seconds as hrs:min:seconds?

2019-10-16 Thread Dar Scott Consulting via use-livecode
Perhaps the dateItems format would get you part of the way there. It seems like I have reinvented this in the past several times. > On Oct 16, 2019, at 6:41 PM, Terry Judd via use-livecode > wrote: > > Not built-in but... > > function formatRemainingTime pTime > put trunc(pTime/3600) into

Re: Catalina and stuff other than 32bit—USB broken

2019-10-16 Thread Dar Scott Consulting via use-livecode
No, I haven't tried QUEMU. However, I downloaded a new xCode and, when I ran it the first time, my little board started working and showed up as a virtual serial port and as a disk drive. The good news is that it works. Perhaps xCode swapped out something, maybe drivers. The bad news is

Re: Catalina and stuff other than 32bit—USB broken

2019-10-16 Thread Dar Scott Consulting via use-livecode
> were not supported by Apple anymore. > > On 14/10/2019, 21:58, "use-livecode on behalf of Dar Scott Consulting via > use-livecode" use-livecode@lists.runrev.com> wrote: > >Catalina does not recognize the bootloader for atmega32u4 Arduino boards

Catalina and stuff other than 32bit

2019-10-14 Thread Dar Scott Consulting via use-livecode
Catalina does not recognize the bootloader for atmega32u4 Arduino boards such as Leonardo. The IDE 1.8.10 avr toolchain works (64-bit); this is not related to 32-bit. Catalina does not recognize the AdaFruit Feather ...BOOT drives. Actually this started with macOS 10.14.4. According to Dan

Re: Catalina

2019-10-10 Thread Dar Scott Consulting via use-livecode
This sounds a bit like WineBottler: > > http://winebottler.kronenberg.org/ > > On 10.10.19 20:48, Dar Scott Consulting via use-livecode wrote: >> Being a mad scientist causes my mind to wander. I implied some sort of >> application that would take a 32-bit macOS app and tu

Re: Catalina

2019-10-10 Thread Dar Scott Consulting via use-livecode
Bob Sneidar via use-livecode > wrote: > > Mad scientist indeed! ;-) > > Bob S > > >> On Oct 9, 2019, at 16:59 , Dar Scott Consulting via use-livecode >> wrote: >> >> Oh. That looks hard. I don't even know how to take control of the 0x80 &

Re: Catalina

2019-10-09 Thread Dar Scott Consulting via use-livecode
e a single-window app full screen and adjust the size of the client window. I haven't tried this. Dar Scott Mad Scientist > On Oct 9, 2019, at 3:50 PM, J. Landman Gay via use-livecode > wrote: > > On 10/9/19 2:03 PM, Dar Scott Consulting via use-livecode wrote: >> I

Re: Catalina

2019-10-09 Thread Dar Scott Consulting via use-livecode
I just use macWrap32. Oh. Wait. There isn't one. > On Oct 9, 2019, at 12:17 PM, kee nethery via use-livecode > wrote: > > I’m not so concerned with the latest version of Catalina as I am with some of > the software I use ceasing to function. Want to make sure I either update > everything to

Re: Recommended specs for Windows Development computer.

2019-10-06 Thread Dar Scott Consulting via use-livecode
Pro. If a customer wants you to test on Home, buy it at that time. If a customer wants you to test on lots of Windows platforms, get Visual Studio Pro and build as many virtual machines or real machines you want (for development). If you are the customer, uh, well, it still applies. > On

Re: ...and a challenge

2019-10-06 Thread Dar Scott Consulting via use-livecode
It doesn't have to be text strings. It could be data (byte strings). This would be handy for using the base-16 method for computing pi. In my personal "slow math" library, I have tinkered with binary data, float encoded data, and number arrays, usually using a decimal point. Division is hard. I

Re: Recommended specs for Windows Development computer.

2019-10-04 Thread Dar Scott Consulting via use-livecode
The original question mentioned testing and debugging. I tend to develop on the Mac and test on Windows. At times I need to develop on Windows because there are unknowns in the environment or I'm using some Windows specific hardware. Especially internal hardware. It is a big pain to have

Re: Recommended specs for Windows Development computer.

2019-10-03 Thread Dar Scott Consulting via use-livecode
I have used Parallels, and am now also using Virtual Box on my Mac. I use No-Machine to connect to hardware Windows test platforms, and plan to use it for other platforms (Linux, iOS, Android, Raspberry Pi). I use MiniWoL to wake one machine and plan add Wake-on-LAN to another Windows machine.

Re: open process

2019-09-28 Thread Dar Scott Consulting via use-livecode
0 00 0 0 > fw0 4078 34:15:9e:ff:fe:26:fa:600 00 0 > 0 > > > JB > >> On Sep 28, 2019, at 10:24 AM, Dar Scott Consulting via use-livecode >> wrote: >> >> This works for me, LC 9.5 Mac. &g

Re: open process

2019-09-28 Thread Dar Scott Consulting via use-livecode
This works for me, LC 9.5 Mac. on mouseup set the cursor to watch put "netstat -i" into p put p -- flash open process p for read wait 1 seconds with messages read from process p until empty close process p put it end mouseup > On Sep 28, 2019, at 8:05 AM, JB via

Re: LC Garbage Collection?

2019-09-26 Thread Dar Scott Consulting via use-livecode
PM, J. Landman Gay via use-livecode > wrote: > > On 9/24/19 2:39 PM, Dar Scott Consulting via use-livecode wrote: >> Sources of memory leaks are LC, LC scripts, OS, libraries, LCB and (I >> suppose) compilers. I don't think we can assume the problem is not in the >> u

Re: LC Garbage Collection?

2019-09-24 Thread Dar Scott Consulting via use-livecode
t; > When you say GUI recursiondo you meanif i draw interfaces using > functions that call themselves? > > On Tue, Sep 24, 2019 at 3:40 PM Dar Scott Consulting via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> I don't know where you will find d

Re: LC Garbage Collection?

2019-09-24 Thread Dar Scott Consulting via use-livecode
I don't know where you will find details. (Maybe if we keep this conversation going, we will get a response in a half day.) I believe it is reference-counting with lazy cleanup for high-level objects, but with carefully crafted destructors for low level objects. Because of the lazy cleanup, it

Re: Android architectures

2019-09-22 Thread Dar Scott Consulting via use-livecode
friended > On Sep 22, 2019, at 5:07 AM, JJS via use-livecode > wrote: > > What's the meaning of hibernated on the quality site? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: Guess encoding for text file...

2019-09-19 Thread Dar Scott Consulting via use-livecode
And I thought 2 bits was a quarter. > On Sep 19, 2019, at 1:23 PM, Jerry Jensen via use-livecode > wrote: > > 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

Re: Guess encoding for text file...

2019-09-19 Thread Dar Scott Consulting via use-livecode
Yeah. I love the smell of burning bytes. > On Sep 19, 2019, at 12:19 PM, Curry Kenworthy via use-livecode > wrote: > > > 'Cuz I don't even plan to use a loop if it ain't strictly called for > > What's that smell? Oh yeah, burning bytes. :) > > Best wishes, > > Curry Kenworthy > >

Re: Guess encoding for text file...

2019-09-19 Thread Dar Scott Consulting via use-livecode
UTF-16 and UTF-32 are not needed in your list. Those are BE unless indicated otherwise by a leading BOM. That is, the BE and LE versions are sufficient. ASCII encoding is a subset of CP1252, MacRoman and UTF-8, so that can be classified as UTF-8 if there is no advantage to knowing that it is

Re: Sorting strangeness

2019-09-16 Thread Dar Scott Consulting via use-livecode
I love puzzles. The dictionary says the "text" sort is a codePoint, which I understand as raw. I did a codePoint dump on the original text and got this (decimal): 67 104 105 110 101 115 101 32 20013 25991 10 71 101 111 114 103 105 97 110 32 4325 4304 4320 4311 4323 4314 4312 10

Re: LC Server UT08 Encode Error

2019-09-13 Thread Dar Scott Consulting via use-livecode
w how > it got into the string.) > > I am not using the accept-charset attribute > in the statement. If not specified > it is supposed to use the default which I’m > guessing is UTF-8. I supposed I could try > a test with the attribute specified to see if > it makes any di

Re: LC Server UT08 Encode Error

2019-09-13 Thread Dar Scott Consulting via use-livecode
When you Zap Gremlins, are you removing non-ASCII or converting to ASCII? Maybe you can do the same thing before saving to the db. Codes 0xca 0x59 do form an invalid UTF-8 sequence. They are good letters in both Latin-1 and CP1252, so I'm not getting a hint. Wild, wild guess... Are you using

Re: OT: Catalina - the end of ad hoc & in-house development?

2019-09-11 Thread Dar Scott Consulting via use-livecode
Keeping a clear look at things... That $100/yr does include "beta OS releases, advanced app capabilities, technical support, and tools to develop, test, and distribute apps." At one time one could get past OSs, but I don't think it is the case now. And you could go down to the test warehouse

Re: Merge and unicode

2019-09-10 Thread Dar Scott Consulting via use-livecode
Because htmlText does not set the metadata to interesting characters, you can consider this workaround: Change the quotes in tCONCEPT to and . And, thus, in tMETADATA. > On Sep 10, 2019, at 12:47 PM, J. Landman Gay via use-livecode > wrote: > > :) > 1. Jacque is very confused too, but is

Re: Merge and unicode

2019-09-10 Thread Dar Scott Consulting via use-livecode
I looked at this some more on OS X. I'm not seeing a problem with merge. And I'm not seeing a problem with metadata per se, I don't think. But I am seeing a problem with setting metadata with htmlText. > On Sep 10, 2019, at 1:32 PM, J. Landman Gay via use-livecode > wrote: > > On 9/10/19

Re: Merge and unicode

2019-09-10 Thread Dar Scott Consulting via use-livecode
On Sep 9, 2019, at 17:23 , Dar Scott Consulting via use-livecode >> wrote: >> >> Sorry, if I am off on a bunny trail... >> >> Dar > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com >

Re: Merge and unicode

2019-09-09 Thread Dar Scott Consulting via use-livecode
> -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On September 9, 2019 7:25:28 PM Dar Scott Consulting via use-livecode > wrote: > >> I think you are trying to think too much about the LC implementation

Re: Merge and unicode

2019-09-09 Thread Dar Scott Consulting via use-livecode
quotes get mangled. (Same > with setting metadata on field text too.) > > On 9/9/19 4:16 PM, Dar Scott Consulting via use-livecode wrote: >> I'm not sure I understand. >> Do you mean "encoded to UTF-16"? In that case you should decode that to >> convert it to internal tex

Re: Merge and unicode

2019-09-09 Thread Dar Scott Consulting via use-livecode
I'm not sure I understand. Do you mean "encoded to UTF-16"? In that case you should decode that to convert it to internal text. And then try merge. (Which still might have problems, I suppose.) > On Sep 9, 2019, at 12:08 PM, J. Landman Gay via use-livecode > wrote: > > It seems that the

Re: OT: Catalina - the end of ad hoc & in-house development?

2019-09-09 Thread Dar Scott Consulting via use-livecode
Thank you for your work in this. I like the idea of identity signing of files, documents, programs, messages and links. I was all PGP at one time. I am making a shortlist of Electronic Lab Notebooks, and automated time-stamping and easy page/paragraph signing are important features. I

Re: OT: Catalina - the end of ad hoc & in-house development?

2019-09-08 Thread Dar Scott Consulting via use-livecode
Maybe developers should have been pushing for code signing some time ago—on their own terms. > On Sep 8, 2019, at 8:10 AM, Rick Harrison via use-livecode > wrote: > > That may be exactly what happens next if the big guys continue with their > nonsense. > More developers will rebel and leave

Re: Checking the host OS

2019-08-30 Thread Dar Scott Consulting via use-livecode
BUILD is 32 or 64 bit. In that > case the platform() function really has to be updated. but there is > porobably a way by reading the magic (file header) bytes of the > standalone. But can't be sure. > > On Fri, Aug 30, 2019 at 5:43 PM Dar Scott Consulting via use-livecode <

Re: Checking the host OS

2019-08-30 Thread Dar Scott Consulting via use-livecode
1. Check for files and folders that are are required on one or do not exist on one. Program Files (x86) SysWOW64 2. systeminfo > On Aug 30, 2019, at 1:22 PM, Devin Asay via use-livecode > wrote: > > Hi all, > > I know we can get all manner of information about the host system our stack

Re: OT: I just bought one of these

2019-08-29 Thread Dar Scott Consulting via use-livecode
I got this for the lab bench (and Windows 10 testing). https://www.amazon.com/gp/product/B01AT394A4 > On Aug 29, 2019, at 10:06 AM, Mark Wieder via use-livecode > wrote: > > On 8/24/19 3:58 AM, Pi Digital via use-livecode wrote: >> Wow! What an amazing form factor. It’s beautiful. The only

Re: Unicode is not "everywhere"...

2019-08-27 Thread Dar Scott Consulting via use-livecode
The added parameter approach looks very similar to an enhancement suggestion that has been around for a while. I'd mention the bug number, but I and bugs are not getting along at the moment. Dar > On Aug 27, 2019, at 5:54 AM, Mark Waddingham via use-livecode > wrote: > > On 2019-08-22

Re: another list test

2019-08-27 Thread Dar Scott Consulting via use-livecode
I still don't see this: http://quality.runrev.com > On Aug 27, 2019, at 4:22 AM, Heather Laine via use-livecode > wrote: > > Hooray, we are back. Thanks to Robin's dedicated work and excellent detective > abilities in figuring out the problem. > > Apologies to

Re: Unicode is not "everywhere"...

2019-08-23 Thread Dar Scott Consulting via use-livecode
If shell returns text, does that mean shellCommand has to go away? > On Aug 23, 2019, at 9:05 AM, Paul Dupuis via use-livecode > wrote: > > On 8/23/2019 10:30 AM, Dar Scott Consulting via use-livecode wrote: >> SHELL() >> >> Related: https://quality.live

Re: Unicode is not "everywhere"...

2019-08-23 Thread Dar Scott Consulting via use-livecode
SHELL() Related: https://quality.livecode.com/show_bug.cgi?id=22334 I was on the fence concerning whether shell() returns a text string or binary data. I have fallen to one side: BINARY. Here is a summary of my position. Tomatoes are

Re: Unicode is not "everywhere"...

2019-08-22 Thread Dar Scott Consulting via use-livecode
All encoding is binary, but not all binary is valid Unicode encoding. > On Aug 22, 2019, at 6:53 PM, Paul Dupuis via use-livecode > wrote: > > Currently, OSX shell returns UTF8 which may mean that it is returning binary > as it is returning 8-bit bytes where Unicode text has been encoded as

Re: Unicode is not "everywhere"...

2019-08-22 Thread Dar Scott Consulting via use-livecode
But that isn't the issue. Well, not what I thought the issue was. If shell() only returns binary, as suggested by the mention of textDecode(), then binary data must always have an interpretation as a string to keep from breaking legacy code. Currently, that is interpreted as an 8-bit character

Re: Unicode is not "everywhere"...

2019-08-22 Thread Dar Scott Consulting via use-livecode
You can't have it both ways. Either shell() only characters of the broadest character set, Unicode, or it returns binary. If it returns characters, then it will not work for binary responses; that will have to be documented as excluded. If Unicode is returned then textDecode is not needed and

Re: Unicode is not "everywhere"...

2019-08-22 Thread Dar Scott Consulting via use-livecode
If the result of shell() is run through textDecode, should then shell() return binary data? This puts it outside the scope of "everywhere". I like the idea, as long as simple ASCII characters work transparently. Currently, "is strictly" says it is a string, not a binary string. As far as the

Re: Unicode is not "everywhere"...

2019-08-22 Thread Dar Scott Consulting via use-livecode
Concerning 22335... 1. I wonder if anyone uses shell() to return binary values. 2. I wonder about whether using the shellCommand property would help. > On Aug 22, 2019, at 9:37 AM, Paul Dupuis via use-livecode > wrote: > > I have filed two bug reports that are in LC905rc1 and go back to 7.0

Re: set the textColor

2019-08-19 Thread Dar Scott Consulting via use-livecode
Have you had a dalliance with a floozy programming language that allows you to do such things? > On Aug 17, 2019, at 3:51 PM, Richmond via use-livecode > wrote: > > A long time since I studied Logic. :-[ > > Richmond. > > On 17.08.19 23:00, Dar Scott Consultin

Re: set the textColor

2019-08-17 Thread Dar Scott Consulting via use-livecode
And what would you expect the value of the parenthetical expression to be? > On Aug 17, 2019, at 1:42 PM, Richmond via use-livecode > wrote: > > setthetextColorof(line XOUNT offld "fPROC") to"red" > > Disnae wark . . . > > Erm? > > Richmond. > >

Re: Is this broken (set the cursor to watch)

2019-08-14 Thread Dar Scott Consulting via use-livecode
This works for me: on mouseUp pButtonNumber set cursor to watch wait 2 seconds end mouseUp > On Aug 14, 2019, at 2:14 AM, Rolf Kocherhans via use-livecode > wrote: > > Is it just me, or are all "set the cursor to xx“ broken ? > > -> I use LC 9.5 on macOS > > Regards > Rolf >

Re: is it possible to readfromfile line x to y

2019-08-10 Thread Dar Scott Consulting via use-livecode
; > repeat with x = 1 to number_of_lines > > put line x of unicode_file_to_parse into this_line > > put this_line into TempArray[x] > > end repeat > > > > On Sat, Aug 10, 2019 at 1:16 PM Dar Scott Consulting via use-livecode < > use-livecode@lists.runrev.com> wrote: >

Re: is it possible to readfromfile line x to y

2019-08-10 Thread Dar Scott Consulting via use-livecode
of lines in unicode_file_to_parse into number_of_lines > > repeat with x = 1 to number_of_lines > > put line x of unicode_file_to_parse into this_line > > put this_line into TempArray[x] > > end repeat > > > > On Sat, Aug 10, 2019 at 1:16 PM Dar Scott Consulting via

Re: is it possible to readfromfile line x to y

2019-08-10 Thread Dar Scott Consulting via use-livecode
Remember to unload after load and parsing (if you use load). Also, look for variables you are leaving full of big things. If that doesn't help enough, look at the httpHeaders property. Use the Range request header. Unfortunately, that might be limited to byte as a unit. If so, you might also

Re: Any recommendation which GitHub client to use for Livecode contributions?

2019-08-08 Thread Dar Scott Consulting via use-livecode
I have not used it yet, but I have been considering Sourcetree because I work best with visualization and clear workflow opportunities. > On Aug 8, 2019, at 7:57 AM, Brian Milby via use-livecode > wrote: > > I use SourceTree. It also has a Windows version. > www.sourcetreeapp.com > > >

Re: DragDrop for Datagrids

2019-08-06 Thread Dar Scott Consulting via use-livecode
No, way! You can't pin this on me! I've been framed!! I didn't do it. Well, not in recent times. Somebody else deserves the applause. > On Aug 6, 2019, at 8:59 AM, Bob Sneidar via use-livecode > wrote: > > Hi all. > > Since being enlightened by Dar (I think it was) about setting the

Re: Help with an algorithm...

2019-08-05 Thread Dar Scott Consulting via use-livecode
I know this does not attend to the question, but my feelings are like this: if one has control, go back and use arrays from the start. Now, to your comments on robustness in parsing the files. I suppose any whitespace at the start of a line could be considered a child. Also, it is an error if

Re: Help with an algorithm...

2019-08-05 Thread Dar Scott Consulting via use-livecode
My mistake. I was thinking arrays. > On Aug 5, 2019, at 3:34 PM, Mark Wieder via use-livecode > wrote: > > On 8/5/19 2:24 PM, Dar Scott Consulting via use-livecode wrote: >> Yikes! I wasn't aware of duplicate keys being a problem. How does that >> happen? > >

Re: Help with an algorithm...

2019-08-05 Thread Dar Scott Consulting via use-livecode
Yikes! I wasn't aware of duplicate keys being a problem. How does that happen? > On Aug 5, 2019, at 2:28 PM, Alex Tweedly via use-livecode > wrote: > > I'm a great fan of, and user of, arrays - but we always need to be careful of > losing data with duplicated keys. > > You haven't said that

Re: Help with an algorithm...

2019-08-05 Thread Dar Scott Consulting via use-livecode
I'm pretty sure I goofed somewhere, but maybe something like this? intersect ARRAYNEW with ARRAYOLD into temp union temp with ARRAYNEW recursively > On Aug 5, 2019, at 9:53 AM, Paul Dupuis via use-livecode > wrote: > > Today is not my coding day. I have a problem I should be able to design a

use-list formatting (was Re: Help with an algorithm...)

2019-08-05 Thread Dar Scott Consulting via use-livecode
I agree that the lack of formatting makes it hard to communicate. I would favor changing the list settings to allow for it. I don't think we have a spam problem that would discourage that. And to help support this, LC copy should include types easily pasted into mail clients. > On Aug 5,

Re: Help with an algorithm...

2019-08-05 Thread Dar Scott Consulting via use-livecode
I'd tend to look for ways to do this with functions that work on whole collections and avoid loops. If that is not found, or is hard to work with, I'd change the lists to be arrays. Each array is is keyed by parents. Each parent is an array of children. Children can be represented as an

Re: Making "read from file" less blocky.

2019-08-04 Thread Dar Scott Consulting via use-livecode
round load. >> Something simple like this: >>> >>> put blah-plah into IntoThisVariable. >>> >>> where blah-blah is nana-nana or decompress( nana-nana ) >>> where nana-nana is one of these: >>> URL ("binfile:" & ThisFile)

Re: [OT] Weighted distribution of Numbers

2019-08-04 Thread Dar Scott Consulting via use-livecode
ces > rdim...@evergreeninfo.net > > > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf > Of Dar Scott Consulting via use-livecode > Sent: Sunday, August 04, 2019 4:33 PM > To: How to use LiveCode > Cc: Dar Scott Con

Re: [OT] Weighted distribution of Numbers

2019-08-04 Thread Dar Scott Consulting via use-livecode
I was thinking the same, but was to afraid to say it. Yes, the actual name is "lying". However, there might be an honest attempt to display crowded dots or icons. > On Aug 4, 2019, at 2:19 PM, hh via use-livecode > wrote: > >> Ralph D. wrote: >> I'm sure there's an actual name for doing this

Re: [OT] Weighted distribution of Numbers

2019-08-04 Thread Dar Scott Consulting via use-livecode
518-636-3998 Ex:11 > Cell: 518-796-9332 > > > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf > Of Dar Scott Consulting via use-livecode > Sent: Sunday, August 04, 2019 3:03 PM > To: How to use LiveCode > Cc

Re: [OT] Weighted distribution of Numbers

2019-08-04 Thread Dar Scott Consulting via use-livecode
Just to clarify... Is this right? The max of the raw numbers maps to 100. The min of the raw numbers maps to 0. (Or is it 0 maps to 0?) The middle number maps to something like 70. (Or is it half of the max maps to 70?) The mapping is smooth. Where 70 might be something else. > On Aug 4, 2019,

Re: Making "read from file" less blocky.

2019-08-04 Thread Dar Scott Consulting via use-livecode
I love "really out there". I wanna play. At the start of any solution, try this. It might speed up any method but would take some time at the start. get shell( "cat " & ThisFile & " > dev/null" ) I think that is likely to pre-load the system file buffers for you. If one is feeling

Re: Making "read from file" less blocky.

2019-08-03 Thread Dar Scott Consulting via use-livecode
Alas, only read from socket allows a message to be sent upon completion. The step siblings read from file, read from process and read from driver do not. Here are a few things you might do: 1. Try making the file loading very fast and don't do it in the background. Change the cursor if need

Re: Challenge: who can background this shell command?

2019-08-02 Thread Dar Scott Consulting via use-livecode
fascinating thread. When all this is sussed out, a nice thing to > have is a function that takes arguements for all the heretofore literals, and > does the deed. It can be added to the master library. > > Bob S > > >> On Aug 2, 2019, at 07:13 , Dar Scott Consulting via

Re: Challenge: who can background this shell command?

2019-08-02 Thread Dar Scott Consulting via use-livecode
to see what is going on. It also allows you to see why Dar's idea of sending ^c doesn't work. > On Aug 2, 2019, at 7:13 AM, David Bovill via use-livecode > wrote: > > Yes - ^c to shut down... but why for update? > > On Thu, 1 Aug 2019 at 19:27, Dar Scott Consulting via use-livecod

Re: Transparent layer between pdf widget and field?

2019-08-01 Thread Dar Scott Consulting via use-livecode
Maybe your rectangle can have its blend level and ink tweaked to provide the look you want. > On Aug 1, 2019, at 5:31 PM, doc hawk via use-livecode > wrote: > > As I’ve had to build every form myself in the past, they were constructed of > fields, lines, and boxes. As such, with them not

Re: Challenge: who can background this shell command?

2019-08-01 Thread Dar Scott Consulting via use-livecode
plication, but not a Unix process. To work with a Unix process, use the >> shell func instead. >> >> When I saw this in the Dictionary, I thought, "Oh, when did this break?" >> >> I should have thought, "Oh, yeah?" >> >> >>&g

Re: Challenge: who can background this shell command?

2019-08-01 Thread Dar Scott Consulting via use-livecode
So, this is a documentation problem? > On Aug 1, 2019, at 9:27 AM, Mark Waddingham via use-livecode > wrote: > > On 2019-08-01 17:12, David Bovill via use-livecode wrote: >> OK - so I have it working by writing to a temporary file. >> Trying to redirect the output to stdout - so that shell()

Re: Challenge: who can background this shell command?

2019-08-01 Thread Dar Scott Consulting via use-livecode
This is one approach I would explore. 1. Create a window group of one custom window using Terminal. Set it up to run the process and have distinctive colors and title. And, most importantly, to run the process. 2. Use open process to launch, not Terminal, but the group. This is the part

Re: Launching a cli server as background process in OSX

2019-07-31 Thread Dar Scott Consulting via use-livecode
Random thoughts, all untested, most goofy, some incoherent: telnet or ssh shell() open a customized terminal app window group that has a script do as applescript enhance/repair open process launch service at startup, but tweak parameters elsehow Use a tool to turn a shell script into an app

Re: darzTimer

2019-07-30 Thread Dar Scott Consulting via use-livecode
Thanks! That is helpful. It makes sense. Does this impact LiveCode Builder and foreign routines? > On Jul 30, 2019, at 11:35 AM, Mark Waddingham via use-livecode > wrote: > > On 2019-07-30 19:32, Dar Scott Consulting via use-livecode wrote: >> The ancient (but free

darzTimer

2019-07-30 Thread Dar Scott Consulting via use-livecode
The ancient (but free) darzTimer plugin for precision performance timing does not work on LiveCode 9.5.0 RC 1 64-bit on Windows 10. It uses an embedded external for Windows timing and that might be where the problem is. It still works on 9.0.5. It is due for a redesign. I think another digit

Re: 9.5 rc1 copy file lag

2019-07-26 Thread Dar Scott Consulting via use-livecode
I seem to be getting silent failures with externals and "unexpected libffi error" with LiveCode Builder libraries that use foreign functions. I wonder if we are doing something wrong with 64-bit LiveCode. > On Jul 26, 2019, at 11:00 AM, Stephen MacLean via use-livecode > wrote: > > Hi All,

Re: [ANN] Release 9.5.0 RC-1

2019-07-25 Thread Dar Scott Consulting via use-livecode
Yes. Yes. > On Jul 25, 2019, at 9:47 AM, JJS via use-livecode > wrote: > > Indeed! I love it. > > Thanks. > > Jerry > > Op 25-7-2019 om 18:47 schreef Richard Gaskin via use-livecode: >> Panos wrote: >> >>> We are pleased to announce the release of LiveCode 9.5.0 RC-1. >> ... >>> - some

Re: Rocky islands

2019-07-22 Thread Dar Scott Consulting via use-livecode
In trying to take a positive view on this... Voice command and Sidecar might make it easier to step aside in a demo or presentation. Sidecar might be handy as a sketch input. Maybe. You know, like an alternative mouse. Sidecar might be a handy place to put the Message Box or a debug window.

Re: Android 64-bit?

2019-07-15 Thread Dar Scott Consulting via use-livecode
Wow! Perhaps the constraint for August 1 is that all NEW apps and all UPDATES need to include 64-bit. Maybe, they will still serve your apps. > On Jul 15, 2019, at 2:14 PM, Dan Friedman via use-livecode > wrote: > > Greetings! I got some notices from Google (android) that my apps need to

Re: Catalina is a small, rocky, and largely unprepossessing island.

2019-07-14 Thread Dar Scott Consulting via use-livecode
I wonder if there is a way to get rid of it. What would happen should it be ripped out of the bundle? Would LC die of heartbreak? This should be fixed in LC 9.0.6 RC1, but as Mabel told Frederick "It seems so long." > On Jul 14, 2019, at 9:47 AM, Matthias Rebbe via use-livecode > wrote: > >

Re: math on widths doesn't add up

2019-07-07 Thread Dar Scott Consulting via use-livecode
ound by >> time, would not. >> >> Bob S >> >> >>> On Jun 17, 2019, at 13:24 , Dar Scott Consulting via use-livecode < >> use-livecode@lists.runrev.com> wrote: >>> >>> Sure. I do it all the time and everybody knows how 1D I a

Re: DELETE url

2019-07-05 Thread Dar Scott Consulting via use-livecode
t; > I wouldn't know where to start with tsNetCustom(), but I'll investigate. > Suggestions welcome, provided it works on mobile. > > On 7/5/19 3:30 PM, Dar Scott Consulting via use-livecode wrote: >> Testing DELETE is scary. Consider httpstat.us <http://httpstat.us/>, >

Re: DELETE url

2019-07-05 Thread Dar Scott Consulting via use-livecode
sNetCustom(), but I'll investigate. > Suggestions welcome, provided it works on mobile. > > On 7/5/19 3:30 PM, Dar Scott Consulting via use-livecode wrote: >> Testing DELETE is scary. Consider httpstat.us <http://httpstat.us/>, >> httpbin.org <http://httpb

Re: DELETE url

2019-07-05 Thread Dar Scott Consulting via use-livecode
Testing DELETE is scary. Consider httpstat.us , httpbin.org or others for safe testing. I haven't tested, but I'd think that 'delete URL "http://www.example.com/oldthings.txt "' should work. You might need to

Re: Rename object

2019-07-04 Thread Dar Scott Consulting via use-livecode
Would this work? clone control "gizmo" as "blivet" > On Jul 4, 2019, at 10:04 AM, doc hawk via use-livecode > wrote: > > > On Jul 4, 2019, at 1:30 AM, Klaus major-k via use-livecode > wrote: >> >> set the name of last img to “XXX_2" > > Also > > clone control “gizmo” > set the name of

  1   2   >