Re: math on widths doesn't add up

2019-06-14 Thread dsc--- via use-livecode
For some reason the message below was delayed a while and thus is out of order. Looking back, I see hh has been mentioning things like first pixel and counting pixels. This might be where there is confusion. I was referring to pixels by the LiveCode reference. > On Jun 14, 2019, at 4:13 PM,

Re: $1,000 Bounty For LiveCode Bug 20240

2019-06-18 Thread dsc--- via use-livecode
Whoops. That is a couple years old. I need to get my coffee. > On Jun 18, 2019, at 9:41 AM, Dar Scott Consulting via use-livecode > wrote: > > A hint for bounty hunters: > It seems to me I have seen this outside of LiveCode. Perhaps the bug is a > common one. > I'm on a Mac. > > I don't

Re: Making "read from file" less blocky.

2019-08-04 Thread dsc--- via use-livecode
s: function segmentOfCurrentFile pStartIndex, pEndIndex Dar > On Aug 4, 2019, at 1:22 PM, dsc--- via use-livecode > wrote: > > More "really out there". > > I like the idea of trying to speed up an upfront foreground load. Something > simple like this: > >

Re: [OT] Weighted distribution of Numbers

2019-08-04 Thread dsc--- via use-livecode
I'm unsure how often 800 or so changes. I'll call it 800, it is just a name. Values can range from 0 through 800. You can map a number in that range to 0-1 by dividing by 800. That is, scaled1(n) is n/800. I guess you want to map each number n in that into one of 101 bins, 0 through 100.

Re: Rocky islands

2019-08-16 Thread dsc--- via use-livecode
I wonder if my Brother MFC-9840CDW multifunction laser printer will make the leap to 64-bit-only Catalina. I will probably be able to find generic print drivers. I think it would be able to scan by email or USB, but maybe generic TWAIN will work. Sending a fax might take some looking about. I'm

Re: Unicode is not "everywhere"...

2019-08-22 Thread dsc--- via use-livecode
The shellCommand property for Windows is "cmd.exe", not "command.com " as described in the dictionary. I wonder how setting that to "cmd.exe /u" would affect this behavior. > On Aug 22, 2019, at 10:19 AM, Dar Scott Consulting via use-livecode > wrote: > > Concerning

Re: Unicode is not "everywhere"...

2019-08-22 Thread dsc--- via use-livecode
I tried it. on mouseUp set the shellCommand to "cmd.exe /u" put textDecode( shell("dir"), "UTF-16" ) end mouseUp That does seem to double up the newlines. It looks like it works otherwise. Dar > On Aug 22, 2019, at 12:15 PM, dsc--- via use-livecode

Re: Unicode is not "everywhere"...

2019-08-23 Thread dsc--- via use-livecode
Paul, does this solve the problem with shell() on Windows? > On Aug 22, 2019, at 10:27 PM, dsc--- via use-livecode > wrote: > > I tried it. > > on mouseUp > set the shellCommand to "cmd.exe /u" > put textDecode( shell("dir"), "UTF-16&

Re: Merge and unicode

2019-09-10 Thread dsc--- via use-livecode
Jacque, these are my latest thoughts as far as possible problems. 1. Dar is very confused and off in the wrong direction. Use big stick. 2. Binary data is in an 8-bit char set encoding causing problems with UTF-8 decode. Check encoding. 3. Field, line and character metadata are interfering.

Re: Merge and unicode

2019-09-09 Thread dsc--- via use-livecode
And this, too, looks OK to me. on mouseup put empty into field 1 put "A" into field 1 get numToCodepoint(0x2200) & numToCodepoint(0x1040F) & "V-" set the metadata of char 1 of field 1 to it put the metadata of char 1 of field 1 after field 1 end mouseup I guess the problem is in

Re: Merge and unicode

2019-09-09 Thread dsc--- via use-livecode
I think I'm doing this wrong. This seems to work, too. on mouseup put empty into field 1 put numToCodepoint(0x2200) into x put numToCodepoint(0x1040F) & "V-" into y put merge(" é{ [[x]] }é [[y]]") into field 1 end mouseup > On Sep 9, 2019, at 10:25

Re: Help with an algorithm...

2019-08-05 Thread dsc--- via use-livecode
I fixed this to use lists... Maybe. put parentArray( LISTNEW ) into aNew put parentArray( LISTOLD ) into aOld intersect aNew with aOld -- Remove from aOld that which is not in aNew union aOld with aNew recursively -- Leaves aNew unchanged except that children in aOld are brought in. I think.

Re: Challenge: who can background this shell command?

2019-08-01 Thread dsc--- via use-livecode
I feel foolish. From the dictionary: Note: On OS X systems, you can use the open process command to start up an application, 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

Re: Making "read from file" less blocky.

2019-08-04 Thread dsc--- via use-livecode
More "really out there". I like the idea of trying to speed up an upfront foreground 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: source of a socket error message

2019-07-18 Thread dsc--- via use-livecode
Also... If you have control of these sites and even if you use an ISP DNS service, you can add a secondary DNS IP address, perhaps a public recursive name server such as the Google Public DNS (8.8.8.8). This will add a robustness without upgrading the software. If you don't manage those, you

Re: Guess encoding for text file...

2019-09-19 Thread dsc--- via use-livecode
I thought of a quick way to do a first pass and it can almost fit in the margin. > On Sep 19, 2019, at 10:25 AM, Dar Scott Consulting via use-livecode > wrote: > > 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

Re: CTD meaning?

2019-06-28 Thread dsc--- via use-livecode
Ah. I looked it up. (Should have done that first.) A CTD is a crash without a dialog box explaining the crash or even indicating a crash. I have gotten that. Recently in 9.5.0 DP1, the IDE got a memory error, then the crash reporter got the same error, and then something else deeper got the

Re: Recommended specs for Windows Development computer.

2019-10-06 Thread dsc--- via use-livecode
I tend to use a lot of whitespace in layout and keep label fields and text buttons long. And, since I am often the LiveCode programmer's programmer, building libraries & LCB extensions and such, I sometimes just throw controls onto the card. (Which might contribute to the notion that Dar can't

Re: Apps to fight COVID-19

2020-04-10 Thread dsc--- via use-livecode
It is good to see some leadership here. Thanks, David. Jeff Schwaber on COVID Watch leadership team welcomes LiveCode programmers. His initial interest is in making the Bluetooth and TCN libraries available within the LiveCode environment. He suggests joining a couple channels at COVID Watch

Re: Apps to fight COVID-19

2020-04-10 Thread dsc--- via use-livecode
Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. Dar team COVID Watch > On Apr 10, 2020, at 9:12 AM, dsc--- via use-livecode > wrote: > > It is good to see some leadership here. Thanks, David.

Re: Apps to fight COVID-19

2020-04-14 Thread dsc--- via use-livecode
gt;> >> 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? >> >> https://www.healthcareblo

Re: Apps to fight COVID-19

2020-04-11 Thread dsc--- via use-livecode
not add to anything lost when Big Brother steals your phone; it only helps you or daughter-spouse-caregiver to answer contact tracing questions. > On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode > wrote: > > I like it. And it can give kids a chance to show grandma how to

Re: Apps to fight COVID-19

2020-04-11 Thread dsc--- via use-livecode
App idea: 14 days of self-quarantine > On Apr 11, 2020, at 8:35 AM, dsc--- via use-livecode > wrote: > > Maybe a diary app can be enhanced to include "Talked with this person in > person for a few minutes" and "Lingered at this location for a few minutes"

Re: Apps to fight COVID-19

2020-04-11 Thread dsc--- via use-livecode
ard to adding to the mix - rather than > duplicating efforts by other groups? > On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode > , wrote: >> And it doesn't have to be just contact tracing related. >> >> Jonathan Rothberg's team is working on a simple test at

Re: Apps to fight COVID-19

2020-04-15 Thread dsc--- via use-livecode
Meanwhile at Covid Watch there is talk of moving the provider-facing at to a web app of some sort. > On Apr 14, 2020, at 1:37 PM, dsc--- via use-livecode > wrote: > > Jonathan Rothberg is looking for brilliant people who can code whatever your > domain. > > >>

Re: Apps to fight COVID-19

2020-04-17 Thread dsc--- via use-livecode
Here is a cool app from Kreativzirkel Design Studio. It is a contact diary as mentioned here. https://www.coronika.app/en <https://www.coronika.app/en> I say "cool", but I haven't tried it. it looks good. Should it be done better? > On Apr 15, 2020, at 4:57 PM, dsc-

Re: Apps to fight COVID-19

2020-04-13 Thread dsc--- via use-livecode
to notify doctor and whether one has been tested. > On Apr 12, 2020, at 5:04 PM, dsc--- via use-livecode > wrote: > > Anybody with experience in MyChart or HIPPA or the like? > >> On Apr 11, 2020, at 2:40 PM, dsc--- via use-livecode >> wrote: >> >> I

Re: Apps to fight COVID-19

2020-04-11 Thread dsc--- via use-livecode
t in purgatory? >>> >>>> On Apr 11, 2020, at 12:32 PM, Mark Smith via use-livecode >>>> wrote: >>>> >>>> What would it be designed to help you with? >>>> >>>>> On Apr 11, 2020, at 4:51 PM, dsc--- via use-liveco

Re: Apps to fight COVID-19

2020-04-11 Thread dsc--- via use-livecode
I don't know why they allow hippos to run free in a hospital, but I hear there can be a hippo concern. > On Apr 11, 2020, at 2:05 PM, dsc--- via use-livecode > wrote: > > Ah, like NANORIMO, but 14 days! > > I think it would be a good promo for businesses to give a 14-da

Re: Apps to fight COVID-19

2020-04-21 Thread dsc--- via use-livecode
Is something still happening tomorrow? > On Apr 18, 2020, at 1:46 PM, dsc--- via use-livecode > wrote: > > I will attend. > >> On Apr 18, 2020, at 7:45 AM, David Bovill via use-livecode >> wrote: >> >> The app looks a good start, but basic. I took

Re: Apps to fight COVID-19

2020-04-18 Thread dsc--- via use-livecode
f > the breakout discussions, but doing a workshop on Livecode would be a fun > part of that. > > I could do with some help though :) > On 17 Apr 2020, 17:09 +0100, dsc--- via use-livecode > , wrote: >> Here is a cool app from Kreativzirkel Design Studio. It is a con

Re: Apps to fight COVID-19

2020-04-10 Thread dsc--- via use-livecode
ronavirus.html#link-418ae121 > On Apr 10, 2020, 2:41 PM -0400, dsc--- via use-livecode > , wrote: >> And for those of you who want to volunteer for the COVID Watch team, here is >> the volunteer form: >> https://docs.google.com/forms/d/e/1FAIpQLSdD1TGKOvd4gtikW_jXdU

Re: Apps to fight COVID-19

2020-04-12 Thread dsc--- via use-livecode
Anybody with experience in MyChart or HIPPA or the like? > On Apr 11, 2020, at 2:40 PM, dsc--- via use-livecode > wrote: > > I don't know why they allow hippos to run free in a hospital, but I hear > there can be a hippo concern. > > >> On Apr 11, 2020, at 2:05

Re: Apps to fight COVID-19

2020-04-10 Thread dsc--- via use-livecode
25g/viewform> > On Apr 10, 2020, at 11:04 AM, dsc--- via use-livecode > wrote: > > And it doesn't have to be just contact tracing related. > > Jonathan Rothberg's team is working on a simple test at home that needs an > app. > co...@4catalyzer.com <mailto:co...@4catalyz

Re: Apps to fight COVID-19

2020-04-10 Thread dsc--- via use-livecode
Short rant; skip if busy. What really gets me is that Carmela Troncoso, with help from an asteroid belt of others, has worked hard on DP-3T, and Apple/Google adopts it with some changes and then is all Apple/Google! Apple/Google! in the news. I know that a big name can save lives. And I expect

Re: Apps to fight COVID-19

2020-05-30 Thread dsc--- via use-livecode
My volunteer stint at Covid Watch (anonymous exposure notification) is ending. The project is moving into a phase that needs other skillsets. I never got a chance to use LiveCode, though it was 2nd on my shortlist for a simulation that was never created. The 1st was Colab. Dar