Re: Lemniscate Polygon

2021-11-02 Thread Roger Guay via use-livecode
Yes, I suppose so. Even easier would be to modify the points of a polygon 
generated from R = 10*sin(theta)*cos(theta) in polar coordinates (a four leaf 
clover type), but I’m hoping to avoid that.
Thanks,
Roger

> On Nov 2, 2021, at 3:43 PM, Paul Dupuis via use-livecode 
>  wrote:
> 
> For the infinity symbol polygon, wouldn't a possible way to do this is by 
> modeling a tear drop (see http://paulbourke.net/geometry/teardrop/ which does 
> not require imaginary numbers) and duplicating the points with opposite signs 
> for the other half?
> 
> On 11/2/2021 6:27 PM, Roger Guay via use-livecode wrote:
>> Dear List,
>> 
>> Bernd has produced an absolutely beautiful animation using a Lemniskate 
>> polygon that was previously provided by Hermann Hoch. Can anyone provide 
>> some help on how to create this polygon mathematically? Since the equation 
>> for a Lemniskate involves the SqRt of negative numbers, which is not allowed 
>> in LC, I am stumped.
>> 
>> You can find Bernd’s animation here: 
>> https://forums.livecode.com/viewtopic.php?f=10=36412 
>> 
>> 
>> 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: mobile accelerometer

2021-11-02 Thread doc hawk via use-livecode

mike mumbled,
> 
> is anyone using the mobile accelerometer functionality?
> i am thinking of adding it to our shop floor app to stop updates while
> forklifts are moving.

I used it a few years ago to move something around the screen by tilting.  It 
was rather straightforward:  just read the things and use the related 
trigonometry (to figure out the angle it is held at in X & Y).

However, the accelerometers will *not* tell you whether or not something is 
moving—once speed is reached, the acceleration drops to “zero” (gravity will 
still be detected).

It could tell you that motion started, though, and you could lockout for 
however many minutes after any acceleration.

Or, you could numerically integrate to get an estimate of speed, and later 
measure decelerations.

But wouldn’t it be simpler to just let updates happen off-shift?



___
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: Lemniscate Polygon

2021-11-02 Thread Paul Dupuis via use-livecode
For the infinity symbol polygon, wouldn't a possible way to do this is 
by modeling a tear drop (see http://paulbourke.net/geometry/teardrop/ 
which does not require imaginary numbers) and duplicating the points 
with opposite signs for the other half?


On 11/2/2021 6:27 PM, Roger Guay via use-livecode wrote:

Dear List,

Bernd has produced an absolutely beautiful animation using a Lemniskate polygon 
that was previously provided by Hermann Hoch. Can anyone provide some help on 
how to create this polygon mathematically? Since the equation for a Lemniskate 
involves the SqRt of negative numbers, which is not allowed in LC, I am stumped.

You can find Bernd’s animation here: 
https://forums.livecode.com/viewtopic.php?f=10=36412 


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


Lemniscate Polygon

2021-11-02 Thread Roger Guay via use-livecode
Dear List,

Bernd has produced an absolutely beautiful animation using a Lemniskate polygon 
that was previously provided by Hermann Hoch. Can anyone provide some help on 
how to create this polygon mathematically? Since the equation for a Lemniskate 
involves the SqRt of negative numbers, which is not allowed in LC, I am 
stumped. 

You can find Bernd’s animation here: 
https://forums.livecode.com/viewtopic.php?f=10=36412 


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


Re: Count Up Timer?

2021-11-02 Thread Tom Glod via use-livecode
Ok, thanks Sean, here it is in plain text for anyone who wants to use it.

function TimeDisplay HowMany,DisplayHow
if DisplayHow = "Duration" then
//*
if AppStarterStackSettings["default"]["Time Unit"] = "seconds" then
return round(HowMany / 1000,3) & "s"
else if AppStarterStackSettings["default"]["Time Unit"] = "milliseconds"
then
return HowMany & "ms"
else if AppStarterStackSettings["default"]["Time Unit"] = "microseconds"
then
end if
else if DisplayHow = "Human Readable" then
//*
local final_output = " days ::"
local running_second_count
local next_calculation


set itemdelimiter to "." -- we are looking at boths sides of the decimal
place
put round(HowMany / 1000) into HowMany -- convert to seconds

// 86,400 seconds in an day
// 3600 in an hour
// 60 seonds in a minute
// replace counts as you go


-- days

put HowMany / 86400 into next_calculation
if next_calculation < 1 then
put HowMany into running_second_count
replace "" with "0" in final_output
else

// how many days?

replace "" with item 1 of next_calculation in final_output
put (HowMany) - (item 1 of next_calculation * 86400) into
running_second_count
end if

-- hours

put running_second_count / 3600 into next_calculation
if next_calculation < 1 then

replace "" with "00" in final_output
else

// how many hours?

if the number of characters in item 1 of next_calculation = 1 then
replace "" with "0" & item 1 of next_calculation in final_output
else
replace "" with item 1 of next_calculation in final_output
end if

put (running_second_count) - (item 1 of next_calculation * 3600) into
running_second_count
end if

-- minutes


put running_second_count / 60 into next_calculation
if next_calculation < 1 then
replace "" with "00" in final_output
else

// how many minutes?

if the number of characters in item 1 of next_calculation = 1 then
replace "" with "0" & item 1 of next_calculation in final_output
else
replace "" with item 1 of next_calculation in final_output
end if

put (running_second_count) - (item 1 of next_calculation * 60) into
running_second_count
end if

-- seconds

put running_second_count into next_calculation
if next_calculation < 1 then
replace "" with "00" in final_output
else

// how many minutes?

if the number of characters in item 1 of next_calculation = 1 then
replace "" with "0" & next_calculation in final_output
else
replace "" with next_calculation in final_output
end if
end if
end if

//*
return final_output
end TimeDisplay
___
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 survey

2021-11-02 Thread matthias rebbe via use-livecode
François,

i noticed something similar and asked about here in September:

>>
i am currently noticing a massive slow down of the LC 9.6.4 IDE menu. Not right 
away after opening Livecode IDE, but after some time of usage.
I never noticed that in 9.6.3. Clicking on an main menu entry takes then about 
2 or 3 seconds until i can see the submenu
But I am not sure if this is really only an LC problem or due to the fact that 
i upgraded to Big Sur around the same time as LC 9.6.4 was released.
Currently i only notice this slow down of the menu in 9.6.4 and i am not able 
to see this in 9.6.3. But maybe i am a little bit to impatient and my testing 
is too short.
In the activity monitor i cannot see anything unusual. Now large memory 
consumption of LC and no high CPU usage.
After a restart of LC the IDE menu behaves normal, but some time later it slows 
down. 
Is anyone else experiencing the same or a similar behavior?"
<<

Until now i did not find any solution for this. I really do not know what is 
causing this and i have no recipe how to reproduce this bug. It just happens... 

But if you would file a bug, i would add a comment for this and we would be 
already 2 that have this problem. Maybe there are more people with this.


Matthias



> Am 02.11.2021 um 21:41 schrieb francois.chaplais via use-livecode 
> :
> 
> I wanted to answer the LC bug survey. 
> 
> The problem is that there is probably no bug number for my problem.
> 
> So here it what I wanted to answer to the first question in the survey:
> 
> 
> 
> I am on MacOS Big Sur, 11.6.1 (20G224). Latest 27''  iMac, Intel Chip, 8 
> cores i7, 64 Gigs RAM, 4 TB SSD, etc.. 
> 
> I have the latest stable build of Livecode (9.6.4 | Build 15551).
> 
> When I want to activate a menu item in the Livecode menubar, it constantly 
> takes more than one second to react. The Livecode menu. The File menu. Using 
> the menu to quit Livecode is for the intrepid.
> 
> This is the first impression that I have of the current Livecode app, and it 
> discourages me to even try this version.
> 
> This should be a no brainer for a 2021 app.
> 
> 
> 
> 
> Best regards,
> 
> François
> ___
> 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


mobile accelerometer

2021-11-02 Thread Mike Kerner via use-livecode
is anyone using the mobile accelerometer functionality?
i am thinking of adding it to our shop floor app to stop updates while
forklifts are moving.

-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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 survey

2021-11-02 Thread Mike Kerner via use-livecode
sounds like you should be filing a bug report.
that also sounds like strange behavior.

On Tue, Nov 2, 2021 at 4:42 PM francois.chaplais via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I wanted to answer the LC bug survey.
>
> The problem is that there is probably no bug number for my problem.
>
> So here it what I wanted to answer to the first question in the survey:
>
> 
>
> I am on MacOS Big Sur, 11.6.1 (20G224). Latest 27''  iMac, Intel Chip, 8
> cores i7, 64 Gigs RAM, 4 TB SSD, etc..
>
> I have the latest stable build of Livecode (9.6.4 | Build 15551).
>
> When I want to activate a menu item in the Livecode menubar, it constantly
> takes more than one second to react. The Livecode menu. The File menu.
> Using the menu to quit Livecode is for the intrepid.
>
> This is the first impression that I have of the current Livecode app, and
> it discourages me to even try this version.
>
> This should be a no brainer for a 2021 app.
>
> 
>
>
> Best regards,
>
> François
> ___
> 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
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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


Bug survey

2021-11-02 Thread francois.chaplais via use-livecode
I wanted to answer the LC bug survey. 

The problem is that there is probably no bug number for my problem.

So here it what I wanted to answer to the first question in the survey:



I am on MacOS Big Sur, 11.6.1 (20G224). Latest 27''  iMac, Intel Chip, 8 cores 
i7, 64 Gigs RAM, 4 TB SSD, etc.. 

I have the latest stable build of Livecode (9.6.4 | Build 15551).

When I want to activate a menu item in the Livecode menubar, it constantly 
takes more than one second to react. The Livecode menu. The File menu. Using 
the menu to quit Livecode is for the intrepid.

This is the first impression that I have of the current Livecode app, and it 
discourages me to even try this version.

This should be a no brainer for a 2021 app.




Best regards,

François
___
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-11-02 Thread Bob Sneidar via use-livecode
My Efficacy Tumbling Anon

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: Count Up Timer?

2021-11-02 Thread Craig Newman via use-livecode
When I was very young I used to run a gadget like this on a field with styled 
text:

on mouseUp
  get fld 1
  repeat for each char tChar in it
put numToChar(charToNum(tChar)) after accum
  end repeat
  put accum into fld 2
end mouseUp

But you do not have to do all that:

on mouseUp
  get fld 1
  put it into fld 2
end mouseUp

I suppose when you put styled text into a variable, unless you play with the 
HTMLText, only plain text can be held there.

Craig

> On Nov 2, 2021, at 1:27 PM, Sean Cole via use-livecode 
>  wrote:
> 
> Tom,
> It is.
> I would copy it into TextEdit (Plaintext), Atom or BBEdit first to strip
> any formatting properly, then copy paste from there to mail. :)
> It happens. Nothing to worry about and only a minor inconvenience.
> Good code, though :)
> Sean
> 
> 
> On Tue, 2 Nov 2021 at 17:14, Tom Glod via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Oh man ..I forgot about the formatting thing.
>> In my client it shows up formatted with color.
>> Does it work ok if it is pasted plain text?
>> 
>> On Tue, Nov 2, 2021 at 12:08 PM Mark Wieder via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> On 11/2/21 8:48 AM, Craig Newman via use-livecode wrote:
 Mark.
 
 “... unless the person was born after 1 January 1970."
 
 Check out the thread “When was the big bang?” on the forum:
 
 
>>> 
>> https://forums.livecode.com/viewtopic.php?f=9=26619=138530=big+bang#p138530
>>> 
>>> LOL. "one bit for (the) apple."
>>> 
>>> --
>>>  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
>>> 
>> 
>> 
>> --
>> 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


___
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: New MacBook Pro Display Notch

2021-11-02 Thread Martin Koob via use-livecode
Hi

I saw a MacRumors.com  article about this issue. 
https://www.macrumors.com/2021/10/28/scale-to-fit-below-built-in-camera-setting-notch/
 


They gave another link to some recently released Apple documentation that 
explains to users how to enable the ‘Scale to fit below built-in camera’ mode 
that prevents your menu bar from being partially obscured by the notch.

How to adjust an app's settings to appear below the camera area on your 14-inch 
or 16-inch MacBook Pro
https://support.apple.com/en-us/HT212842 


This is something you can point your users who are encountering the problem. 

Martin


> On Oct 19, 2021, at 4:06 PM, Mike Kerner via use-livecode 
>  wrote:
> 
> I'm not sure this will be a problem, unless you are trying to display
> something in the menubar, since that's where the notch is going to be.
> 
> On Tue, Oct 19, 2021 at 5:14 AM Richmond via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> I should have thought the simplest way round this problem was to work on
>> the assumption that from now on
>> ALL Apple displays will have a notch and "cut one's stack" to
>> accommodate that.
>> 
>> Of course this is only relevant to people who want to annoy end-users by
>> providing full-screen window apps.
>> 
>> On 19.10.21 11:55, HENRY LOWE via use-livecode wrote:
>>> The new 14 and 16 inch MacBook Pro models announced by Apple yesterday
>> include a display notch to house the 1080P front facing camera. Clearly
>> this may cause problems for apps that display content in the screen area
>> occupied by the new notch.
>>> 
>>> In response Apple has created a new “compatibility mode” for apps
>> running on Macs with a notch. When this mode is active, the system changes
>> the active area of the display to avoid the camera housing. This mode can
>> be turned on/off by the user via a checkbox in the app’s get info panel or
>> it can be activated or deactivated by the developer via a new ‘info.plist’
>> key.
>>> 
>>> Link to Apple developer documentation on how to turn on / off this mode
>> using the new ‘info.plist’ key is below:
>>> 
>>> 
>> https://developer.apple.com/documentation/bundleresources/information_property_list/nsprefersdisplaysafeareacompatibilitymode
>>> 
>>> Henry
>>> 
>>> Ascriva Health Informatics
>>> ___
>>> 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
>> 
> 
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> 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-11-02 Thread KOOB via use-livecode
I’m in

META:  May Eventually Tank Anyway. 

Martin

Sent from my iPad

> On Nov 2, 2021, at 2:30 PM, Jeff Reynolds via use-livecode 
>  wrote:
> 
> I think this needs to be a contest…
> 
>> MarkW wrote:
>> From a Boingboing user comment...
>> 
>> META: Making Evil Totally Acceptable
> 
> Jeff
> 
> ___
> 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-11-02 Thread Richmond via use-livecode

META

Making Easy To Abandon

Mainly Eaten Towards the Afternoon

Richmond.

On 2.11.21 20:28, Jeff Reynolds via use-livecode wrote:

I think this needs to be a contest…


MarkW wrote:
 From a Boingboing user comment...

META: Making Evil Totally Acceptable

Jeff

___
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-11-02 Thread Jeff Reynolds via use-livecode
I think this needs to be a contest…

> MarkW wrote:
> From a Boingboing user comment...
> 
> META: Making Evil Totally Acceptable

Jeff

___
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: Count Up Timer?

2021-11-02 Thread Sean Cole via use-livecode
Tom,
It is.
I would copy it into TextEdit (Plaintext), Atom or BBEdit first to strip
any formatting properly, then copy paste from there to mail. :)
It happens. Nothing to worry about and only a minor inconvenience.
Good code, though :)
Sean


On Tue, 2 Nov 2021 at 17:14, Tom Glod via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Oh man ..I forgot about the formatting thing.
> In my client it shows up formatted with color.
> Does it work ok if it is pasted plain text?
>
> On Tue, Nov 2, 2021 at 12:08 PM Mark Wieder via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > On 11/2/21 8:48 AM, Craig Newman via use-livecode wrote:
> > > Mark.
> > >
> > > “... unless the person was born after 1 January 1970."
> > >
> > > Check out the thread “When was the big bang?” on the forum:
> > >
> > >
> >
> https://forums.livecode.com/viewtopic.php?f=9=26619=138530=big+bang#p138530
> >
> > LOL. "one bit for (the) apple."
> >
> > --
> >   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
> >
>
>
> --
> 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: Count Up Timer?

2021-11-02 Thread Tom Glod via use-livecode
Oh man ..I forgot about the formatting thing.
In my client it shows up formatted with color.
Does it work ok if it is pasted plain text?

On Tue, Nov 2, 2021 at 12:08 PM Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 11/2/21 8:48 AM, Craig Newman via use-livecode wrote:
> > Mark.
> >
> > “... unless the person was born after 1 January 1970."
> >
> > Check out the thread “When was the big bang?” on the forum:
> >
> >
> https://forums.livecode.com/viewtopic.php?f=9=26619=138530=big+bang#p138530
>
> LOL. "one bit for (the) apple."
>
> --
>   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
>


-- 
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


Re: widget store

2021-11-02 Thread Mike Kerner via use-livecode
It is really weird that we are in a widget desert, like LCB has been
ignored.
I looked at LCB a couple of times, like when I was trying to fix some of
the issues with the treeView widget before I just got tired of fighting
with it.


On Mon, Nov 1, 2021 at 6:22 PM matthias rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Yes,
> that is also a great plugin from Scott. I used it also all the time. So
> much more options than the align menu of the ide.
>
> Matthias
>
>
> > Am 01.11.2021 um 22:08 schrieb Roger Guay via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > tmAlign still works in LC 9.6.4 and Mac OS 12. I love it and use it all
> the time.
> >
> > Roger
> >
> >> On Nov 1, 2021, at 1:57 PM, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> TM Align is a really handy tool for aligning/spacing objects on your
> card. It has a few things the property inspector alignment tab does not do,
> and you don't have to keep re-selecting the alignment tab in the property
> editor every time you close and re-open it.
> >>
> >> Scott sent me the latest one he has (or told me where to get it) so
> mine so far as I know still works. I haven't done any design work in quite
> a while.
> >>
> >> Bob S
> >>
> >>
> >>> On Nov 1, 2021, at 12:06 , Tom Glod via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>>
> >>> I think thats it Mike.  I would be shocked to find out there is
> another one
> >>> widget store.
> >>> What does tmc2 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
> >
> >
> > ___
> > 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
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: Count Up Timer?

2021-11-02 Thread Mark Wieder via use-livecode

On 11/2/21 8:48 AM, Craig Newman via use-livecode wrote:

Mark.

“... unless the person was born after 1 January 1970."

Check out the thread “When was the big bang?” on the forum:

https://forums.livecode.com/viewtopic.php?f=9=26619=138530=big+bang#p138530


LOL. "one bit for (the) apple."

--
 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


Re: Count Up Timer?

2021-11-02 Thread Bob Sneidar via use-livecode
And then if you want to convert to the Babalonian calendar of 360 days in a 
year, well that is just right out. 

Bob S


> On Nov 2, 2021, at 08:48 , Craig Newman via use-livecode 
>  wrote:
> 
> Mark.
> 
> “... unless the person was born after 1 January 1970."
> 
> Check out the thread “When was the big bang?” on the forum:
> 
> https://forums.livecode.com/viewtopic.php?f=9=26619=138530=big+bang#p138530
> 
> Craig
> 
>> On Nov 2, 2021, at 11:43 AM, Mark Wieder via use-livecode 
>>  wrote:
>> 
>> On 11/2/21 7:33 AM, Curry Kenworthy via use-livecode wrote:
>> 
>>> A forum is handy for searches,
>>> so a nice place to visit now and then.
>>> But I wouldn't want to live there! :D
>> 
>> Heh. My thoughts as well.
>> 
 It would take a lot of work to reformat the OP’s code example
 into something workable in the SE.
>>> I thought the OP was Dan, but you mean Tom's function?
>>> Just a matter of not pasting **styled** text for code.
>>> Even then, it's easily put right with a few commands.
>>> Mark's example is easy to follow too.
>> 
>> But I think neither of these will solve the OP's question unless the person 
>> was born after 1 January 1970.
>> 
>> -- 
>> 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: Count Up Timer?

2021-11-02 Thread Sean Cole via use-livecode
Tidy. Took 10 seconds:

--
function TimeDisplay HowMany,DisplayHow
   if DisplayHow = "Duration" then
  //
  if AppStarterStackSettings["default"]["Time Unit"] = "seconds" then

 return round(HowMany / 1000,3) & "s"
  else if AppStarterStackSettings["default"]["Time Unit"] =
"milliseconds" then
 return HowMany & "ms"
  else if AppStarterStackSettings["default"]["Time Unit"] =
"microseconds" then
  end if
   else if DisplayHow = "Human Readable" then
  //
  local final_output = " days ::"
  local running_second_count
  local next_calculation

  set itemdelimiter to "." -- we are looking at boths sides of the
decimal place
  put round(HowMany / 1000) into HowMany -- convert to seconds

  // 86,400 seconds in an day
  // 3600 in an hour
  // 60 seonds in a minute
  // replace counts as you go

  -- days
  put HowMany / 86400 into next_calculation
  if next_calculation < 1 then
 put HowMany into running_second_count
 replace "" with "0" in final_output
  else
 // how many days?
 replace "" with item 1 of next_calculation in final_output

 put (HowMany) - (item 1 of next_calculation * 86400) into
running_second_count
  end if

  -- hours
  put running_second_count / 3600 into next_calculation
  if next_calculation < 1 then
 replace "" with "00" in final_output
  else
 // how many hours?
 if the number of characters in item 1 of next_calculation = 1 then

replace "" with "0" & item 1 of next_calculation in
final_output
 else
replace "" with item 1 of next_calculation in final_output

 end if
 put (running_second_count) - (item 1 of next_calculation * 3600)
into running_second_count
  end if

  -- minutes
  put running_second_count / 60 into next_calculation
  if next_calculation < 1 then
 replace "" with "00" in final_output
  else
 // how many minutes?
 if the number of characters in item 1 of next_calculation = 1 then

replace "" with "0" & item 1 of next_calculation in
final_output
 else
replace "" with item 1 of next_calculation in final_output
 end if
 put (running_second_count) - (item 1 of next_calculation * 60)
into running_second_count
  end if

  -- seconds
  put running_second_count into next_calculation
  if next_calculation < 1 then
 replace "" with "00" in final_output
  else
 // how many minutes?
 if the number of characters in item 1 of next_calculation = 1 then
replace "" with "0" & next_calculation in final_output
 else
replace "" with next_calculation in final_output
 end if
  end if
   end if

   //

   return final_output
end TimeDisplay
---
___
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: Count Up Timer?

2021-11-02 Thread Craig Newman via use-livecode
Mark.

“... unless the person was born after 1 January 1970."

Check out the thread “When was the big bang?” on the forum:

https://forums.livecode.com/viewtopic.php?f=9=26619=138530=big+bang#p138530

Craig

> On Nov 2, 2021, at 11:43 AM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 11/2/21 7:33 AM, Curry Kenworthy via use-livecode wrote:
> 
>> A forum is handy for searches,
>> so a nice place to visit now and then.
>> But I wouldn't want to live there! :D
> 
> Heh. My thoughts as well.
> 
>> > It would take a lot of work to reformat the OP’s code example
>> > into something workable in the SE.
>> I thought the OP was Dan, but you mean Tom's function?
>> Just a matter of not pasting **styled** text for code.
>> Even then, it's easily put right with a few commands.
>> Mark's example is easy to follow too.
> 
> But I think neither of these will solve the OP's question unless the person 
> was born after 1 January 1970.
> 
> -- 
> 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: Count Up Timer?

2021-11-02 Thread Mark Wieder via use-livecode

On 11/2/21 7:33 AM, Curry Kenworthy via use-livecode wrote:


A forum is handy for searches,
so a nice place to visit now and then.
But I wouldn't want to live there! :D


Heh. My thoughts as well.



 > It would take a lot of work to reformat the OP’s code example
 > into something workable in the SE.

I thought the OP was Dan, but you mean Tom's function?
Just a matter of not pasting **styled** text for code.
Even then, it's easily put right with a few commands.
Mark's example is easy to follow too.


But I think neither of these will solve the OP's question unless the 
person was born after 1 January 1970.


--
 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


Re: Count Up Timer?

2021-11-02 Thread Curry Kenworthy via use-livecode

Craig:

> This is just another great example why the Forum
> is so much better a venue than this list.

My view is exactly opposite;
I like a List s much better.

A forum is handy for searches,
so a nice place to visit now and then.
But I wouldn't want to live there! :D

> It would take a lot of work to reformat the OP’s code example
> into something workable in the SE.

I thought the OP was Dan, but you mean Tom's function?
Just a matter of not pasting **styled** text for code.
Even then, it's easily put right with a few commands.
Mark's example is easy to follow too.

List is a great venue! Always part of the LC experience.
But I'm glad we have both to suit everyone.

Best wishes,

Curry Kenworthy

Custom Software Development
"Better Methods, Better Results"
Christian LiveCode Training and Consulting
http://livecodeconsulting.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: Count Up Timer?

2021-11-02 Thread Craig Newman via use-livecode
Sheesh.

This is just another great example why the Forum is so much better a venue than 
this list. It would take a lot of work to reformat the OP’s code example into 
something workable in the SE.

Craig

> On Nov 1, 2021, at 6:29 PM, Mark Smith via use-livecode 
>  wrote:
> 
> You want the convert command. convert 1605553200 from seconds to dateitems 
> gives you 2020,11,16,19,0,0,2 (lookup dateitems). convert the date && the 
> time to seconds gives the date/time right now = 1635805440, then do the same 
> as step one with that gives you 2021,11,1,22,24,0,2. Do a little subtraction 
> and you get 1 yr, 0 months, 15 days, 3 hours, 24 mins, 0 secs. 
> 
>> On Nov 1, 2021, at 9:45 PM, Dan Friedman via use-livecode 
>>  wrote:
>> 
>> Anyone ever done a count up timer?   For example, if we supply the seconds 
>> of 1605553200, we want to display the number of years, months, days, hours, 
>> minutes and seconds since that time.   For example, "How long have you been 
>> alive?".   This needs to be precise – need to account for leap years, days 
>> in month, etc.
>> 
>> Save me!!   :)
>> 
>> -Dan
>> 
>> ___
>> 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: OT: Facebook -> Meta (Damaged Infinity!)

2021-11-02 Thread Eraklis Pittas via use-livecode
He was a lying POS then and he is a lying POS now

https://www.dropbox.com/s/xdnjbt9mswp1aul/zuckerberg%2017%20years%20ago.mp4?dl=0

Regards Lagi

On Tue, 2 Nov 2021 at 10:20, Niggemann, Bernd via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > Jim Lambert via use-livecode Sun, 31 Oct 2021 10:44:22 -0700
>
> > > MarkW wrote:
> > > From a Boingboing user comment...
> > >
> > > META: Making Evil Totally Acceptable
>
> > LOL LOL LOL
>
> If you want to see infinity in action
>
>
> https://forums.livecode.com/viewtopic.php?f=10=36412=1=unread#p210094
>
> as W. Allen remarked: eternity can be pretty long, especially towards the
> end.
>
> Kind regards
> Bernd
> ___
> 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
>


-- 
KIndest Regards Lagi
___
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-11-02 Thread Niggemann, Bernd via use-livecode
> Jim Lambert via use-livecode Sun, 31 Oct 2021 10:44:22 -0700

> > MarkW wrote:
> > From a Boingboing user comment...
> >
> > META: Making Evil Totally Acceptable

> LOL LOL LOL

If you want to see infinity in action

https://forums.livecode.com/viewtopic.php?f=10=36412=1=unread#p210094

as W. Allen remarked: eternity can be pretty long, especially towards the end.

Kind regards
Bernd
___
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