Re: Mac Multiple Monitor Menubar Management

2022-01-23 Thread Phil Davis via use-livecode
Actually 'the working screenRects' returns that info for all screens. 
Maybe that could work for you.


Phil


On 1/23/22 10:21 PM, Phil Davis via use-livecode wrote:

Hi Mike,

Would this give you what you need?

function menubarHeight
    return item 2 of the working screenRect
end  menubarHeight

Phil Davis


On 1/23/22 7:39 PM, Mike Kerner via use-livecode wrote:

Other than using windowBoundingRect, is there any way to compute the
menubar height? The 2021 MBP's have changed the height of the menubar to
accommodate the notch.
Generally it's 42 pixels on the new MBP, except when it's something 
else,
especially on secondary monitors (e.g. I've seen it at 50 px in one 
case).
I want to constrain the movement of a window to keep the user from 
dragging
it under the menubar. The code I have works great, until you add 
monitor 2.
screenRects (plural) tells you what the rect is for the second 
window, but
it doesn't take the menubar into account. I could just assume it's 
the same

height as the menubar on monitor 1, but that assumes that the menubar is
present on monitor 2, as well.
___
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





--
Phil Davis
503-307-4363


___
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: Reviving CD-ROM material [was: Re: Livecode and interactive video]

2022-01-23 Thread Richmond Mathewson via use-livecode
Thank you, Richsrd Gaskin.

On Mon, 24 Jan 2022, 03:26 Richard Gaskin via use-livecode, <
use-livecode@lists.runrev.com> wrote:

> Thank you for the mention, Jeff. Without your adding that here I would
> have missed Richmond's reference; he's among a small number of members I
> generally don't read anymore (so much to learn, so little signal in a
> noisy world...)
>
> FWIW I agree with what you wrote, and felt it was important enough to
> quote it in whole below. Thank you for taking the time to write that.
>
>
> Richmond's original comment about me was:
>  > Richard Gaskin will probably now come after me with the castrating
>  > irons.?
>
> How you arrive at your legal and ethical choices is entirely up to you.
> Unless it involves my work it doesn't affect me. Knock yourself out.
>
>
> For the other readers here, I don't mind sharing a personal opinion on
> copyright law:
>
>
> There are some details of US copyright statutes I don't much care for,
> particularly the control one giant American corporation has held over US
> copyright expiration ("Steamboat Willy", I'm looking at you).
>
> But overall I not only do my best to conform to US and applicable
> international copyright law per the terms of the contracts I sign, I
> wholeheartedly celebrate it.
>
> IMO the Berne Convention, which lies at the heart of most copyright law
> among signatory nations, exemplifies a profound wisdom we all benefit
> from, esp the readers here, since most of us earn our living from
> intellectual property.
>
> It holds that at the very moment of the creation of any original
> creative work, the creator of that work has sole authority over it.
>
> Let that sink in. Savor it. It's wonderfully delicious.
>
> It recognizes that creative effort is a uniquely valuable human
> activity, and maintains as a matter of international legal guidance the
> sanctity of the act of creation.
>
> Man, if nations could agree on anything else so beautifully principled
> our Spaceship Earth might be a paradise. :)
>
> I love it so much that when I come across old works I'm interested in
> that appear to be abandoned, I try to reach the creator or current
> rights holder to see what can be done to re-use it.
>
> It's the least I can do. If I am to embrace the excitingly bold spirit
> of the Berne Convention, I'm obliged to not only enjoy its fruits but to
> also honor its responsibilities.
>
> It is not for me to assume control of any other creator's work.
>
> In honoring copyright, I'm creating of a world where copyright is honored.
>
> --
>   Richard Gaskin
>   Fourth World Systems
>
>
>
> Jeff Reynolds wrote:
>
> > Richmond,
> >
> > And I’ll be right there with Richard.
> >
> > Just because it’s not being supported does not remove copyrights. You
> know that’s a stupid argument. Maybe fine with your own morals but it’s not
> how copyright works. As a content creator for over 4 decades of my
> professional life I really hate that attitude of self justification. Fine
> for your own use but if you want to redistribute it then get the rights.
> Not for profit label has nothing to do with the rights involved.
> >
> > I have experience working in and with media companies and licensing
> others’ materials and having others licensing ours. We were told all the
> time by management and legal to not respond to requests to license unless
> management was interested in the proposal and they would handle that. I
> thought it pretty strange that a denial letter could cause any issues and
> may have just been paranoia or don’t waste your time but those were the
> instructions.
> >
> > Getting an odd bob out out of relicensing an old project involves
> figuring out who you are getting in bed with and if you even want to get
> into bed with them in the first place, time to come to an agreement,
> research out the original projects licensing (media projects are rife with
> licensed media that at times are not transferable or require additional
> permission and/or payments), create and agree on a contract, deliver the
> goods, then make sure everything is being done as contracted. That’s not
> simple and all the steps cost time and money and usually folks are not
> willing to pay much for the rights to cover these costs, let alone a profit.
> >
> > I’ve done this process a couple of times with old projects and it was
> way more work than I thought it would be and that was with a very good
> relationship with the rights holder (I built the original product for them)
> and in good rights situations. One was easy and owner was happy with a
> handshake on the deal until I had a product to sell and then we would pen a
> contract. I totally trusted him he would honor the handshake (and I’m still
> absolutely sure he would have, very good chap), but a year and a half later
> he ended up having to sell the rights, so our handshake of course was no
> longer good. He was transparent about all this and I just did the hand
> shake as it would have been a good chunk of 

Re: Mac Multiple Monitor Menubar Management

2022-01-23 Thread Phil Davis via use-livecode

Hi Mike,

Would this give you what you need?

function menubarHeight
    return item 2 of the working screenRect
end  menubarHeight

Phil Davis


On 1/23/22 7:39 PM, Mike Kerner via use-livecode wrote:

Other than using windowBoundingRect, is there any way to compute the
menubar height? The 2021 MBP's have changed the height of the menubar to
accommodate the notch.
Generally it's 42 pixels on the new MBP, except when it's something else,
especially on secondary monitors (e.g. I've seen it at 50 px in one case).
I want to constrain the movement of a window to keep the user from dragging
it under the menubar. The code I have works great, until you add monitor 2.
screenRects (plural) tells you what the rect is for the second window, but
it doesn't take the menubar into account. I could just assume it's the same
height as the menubar on monitor 1, but that assumes that the menubar is
present on monitor 2, as well.
___
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



--
Phil Davis
503-307-4363


___
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


Mac Multiple Monitor Menubar Management

2022-01-23 Thread Mike Kerner via use-livecode
Other than using windowBoundingRect, is there any way to compute the
menubar height? The 2021 MBP's have changed the height of the menubar to
accommodate the notch.
Generally it's 42 pixels on the new MBP, except when it's something else,
especially on secondary monitors (e.g. I've seen it at 50 px in one case).
I want to constrain the movement of a window to keep the user from dragging
it under the menubar. The code I have works great, until you add monitor 2.
screenRects (plural) tells you what the rect is for the second window, but
it doesn't take the menubar into account. I could just assume it's the same
height as the menubar on monitor 1, but that assumes that the menubar is
present on monitor 2, as well.
___
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: For the Mathematicians.

2022-01-23 Thread doc hawk via use-livecode

Roger rumbled,

> Thank you very much for your reply.

You’re quite welcome.

Accumulated knowledge is wasted if not shared!

I used to find it online quite easily.  But not any more.

>Again I thank you for taking the time to respond. Is your dissertation 
>readable to a LiveCoder that has no experience in any other programming 
>language?

The code  Fortran, so  it should be readable.

The descriptions are probably largely accessible, with 2d and I think 3d 
graphics to illustrate.

But the math for the underlying problem. . . I looked at it two or three years 
later, and . . . I was quite impressed with the math, could see *why* it was 
right, but generally had *no* idea why I ever would have thought to make those 
steps!

It would go on for two or three pages of matrix calculus at times.  And within 
those were multinomial factors 

You don’t need the underlying math of the genetic problem to make sense of the 
algorithm, though.  

I just found that it can now be downloaded.  Chapter 3 seems to be the guts of 
the algorithm.  It certainly came from googling the full title below.

Btw, my undergrad was in physics, then law school and practicing, before 
returning for the Ph.D. jointly in Econo9mics & Statistics, a few years at a 
university, and returning to law to pay tuition for my own kids . . .

I think I got to it for download from http://dissertation.com/abstracts/1701716 
.

And some info at:

https://www.econ.iastate.edu/RePEc/isu/genstf/genstf_4657.rdf 



Template-Type: ReDIF-Paper 1.0
Title: Numerical optimization of recursive systems of equations with an 
application to optimal swine genetic selection
Author-Name: Hawkins, Richard Edmund
Abstract: A new dynamic programming method is developed for numerical 
optimization of recursive systems of equations, in which continuous choice 
variables determine the allowed choices in subsequent stages of the problem. 
The method works by dynamically creating bubbles, or subspaces, of the total 
search space, allowing the indexing of states visited for later use, and taking 
advantage of the fact that states adjacent to a visited state are likely to be 
visited. The method thereby allows search of spaces far larger than would 
traditionally be permitted by memory limitations. The search allows an infinite 
planning horizon, and tests at each stage to determine whether further 
optimization is worth the costs, reverting to a default choice when no longer 
profitable. The method is applied to the quantitative genetics problem of 
finding the optimal selection choices for quantitative traits using an 
identified locus, using the present discounted value of all generations. The 
method is then applied to the Estrogen Receptor Gene (ESR) to find the economic 
value of testing for this particular gene.
Creation-Date: 1999-01-01
File-URL: 
https://lib.dr.iastate.edu/cgi/viewcontent.cgi?article=13457=rtd
Number: 199901010813457
Handle: RePEc:isu:genstf:199901010813457



___
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: For the Mathematicians.

2022-01-23 Thread Roger Guay via use-livecode
Thank you very much for your reply. It looks like I did indeed bite off more 
than I can chew. But I really appreciate that you’ve given me some avenues to 
explore. I’m a retired Physicist that loves math, and particularly how to use 
computers to model the real world. 

Again I thank you for taking the time to respond. Is your dissertation readable 
to a LiveCoder that has no experience in any other programming language?

Roger


> On Jan 23, 2022, at 5:11 PM, doc hawk via use-livecode 
>  wrote:
> 
> 
> roger reasoned,
> 
>> Yet, as I mentioned in the beginning, Graphing tools like Good Grapher on 
>> the Mac can do it. And, I wonder how?
> 
> My guess would be using either differentials or differences, and drawing from 
> the current point for a small distance, with some watching for branch points.
> 
> There are any number of numeric methods to approximate the derivative.   
> 
> You could even iterate after each point until “close enough”.
> 
> E.g., if your calculated x,y(x) is 4.2, 7.4, you would plug these into the 
> original function and see if it indeed is zero.  
> 
> If so, good, go to the next point.  If not, try a smaller move, or plug in 
> adjacent values of 7.3 and 7.5 for y, and see if either gets you closer to 
> zero.
> 
> For my dissertation, I developed a third branch of dynamic programming, which 
> built spaces around trial solutions, and then collapsing to successively 
> finer grds.
> 
> In the process, I unwittingly reinvented cache memory . . . the search space 
> was *far* to large to keep all potential moves, so they were dropped from the 
> cache and recalculated when needed.
> 
> We never did calculate the dimensionality of the baseline problem we were 
> working on—we know that it was *at least* sixty dimensional, but almost 
> certainly past that, as the choice spaces were very much not compact . . .
> 
> 
> 
> 
> ___
> 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: Reviving CD-ROM material [was: Re: Livecode and interactive video]

2022-01-23 Thread Richard Gaskin via use-livecode
Thank you for the mention, Jeff. Without your adding that here I would 
have missed Richmond's reference; he's among a small number of members I 
generally don't read anymore (so much to learn, so little signal in a 
noisy world...)


FWIW I agree with what you wrote, and felt it was important enough to 
quote it in whole below. Thank you for taking the time to write that.



Richmond's original comment about me was:
> Richard Gaskin will probably now come after me with the castrating
> irons.?

How you arrive at your legal and ethical choices is entirely up to you. 
Unless it involves my work it doesn't affect me. Knock yourself out.



For the other readers here, I don't mind sharing a personal opinion on 
copyright law:



There are some details of US copyright statutes I don't much care for, 
particularly the control one giant American corporation has held over US 
copyright expiration ("Steamboat Willy", I'm looking at you).


But overall I not only do my best to conform to US and applicable 
international copyright law per the terms of the contracts I sign, I 
wholeheartedly celebrate it.


IMO the Berne Convention, which lies at the heart of most copyright law 
among signatory nations, exemplifies a profound wisdom we all benefit 
from, esp the readers here, since most of us earn our living from 
intellectual property.


It holds that at the very moment of the creation of any original 
creative work, the creator of that work has sole authority over it.


Let that sink in. Savor it. It's wonderfully delicious.

It recognizes that creative effort is a uniquely valuable human 
activity, and maintains as a matter of international legal guidance the 
sanctity of the act of creation.


Man, if nations could agree on anything else so beautifully principled 
our Spaceship Earth might be a paradise. :)


I love it so much that when I come across old works I'm interested in 
that appear to be abandoned, I try to reach the creator or current 
rights holder to see what can be done to re-use it.


It's the least I can do. If I am to embrace the excitingly bold spirit 
of the Berne Convention, I'm obliged to not only enjoy its fruits but to 
also honor its responsibilities.


It is not for me to assume control of any other creator's work.

In honoring copyright, I'm creating of a world where copyright is honored.

--
 Richard Gaskin
 Fourth World Systems



Jeff Reynolds wrote:


Richmond,

And I’ll be right there with Richard.

Just because it’s not being supported does not remove copyrights. You know 
that’s a stupid argument. Maybe fine with your own morals but it’s not how 
copyright works. As a content creator for over 4 decades of my professional 
life I really hate that attitude of self justification. Fine for your own use 
but if you want to redistribute it then get the rights. Not for profit label 
has nothing to do with the rights involved.

I have experience working in and with media companies and licensing others’ materials and having others licensing ours. We were told all the time by management and legal to not respond to requests to license unless management was interested in the proposal and they would handle that. I thought it pretty strange that a denial letter could cause any issues and may have just been paranoia or don’t waste your time but those were the instructions. 


Getting an odd bob out out of relicensing an old project involves figuring out 
who you are getting in bed with and if you even want to get into bed with them 
in the first place, time to come to an agreement, research out the original 
projects licensing (media projects are rife with licensed media that at times 
are not transferable or require additional permission and/or payments), create 
and agree on a contract, deliver the goods, then make sure everything is being 
done as contracted. That’s not simple and all the steps cost time and money and 
usually folks are not willing to pay much for the rights to cover these costs, 
let alone a profit.

I’ve done this process a couple of times with old projects and it was way more 
work than I thought it would be and that was with a very good relationship with 
the rights holder (I built the original product for them) and in good rights 
situations. One was easy and owner was happy with a handshake on the deal until 
I had a product to sell and then we would pen a contract. I totally trusted him 
he would honor the handshake (and I’m still absolutely sure he would have, very 
good chap), but a year and a half later he ended up having to sell the rights, 
so our handshake of course was no longer good. He was transparent about all 
this and I just did the hand shake as it would have been a good chunk of change 
with lawyer to pen the rights contract and I didn’t have a publisher onboard 
yet. So even in the best of situations things can go sideways on these kinds of 
things and life is not as simple as you think it is Richmond.

I was approached by an old employer about 

Re: For the Mathematicians.

2022-01-23 Thread doc hawk via use-livecode

roger reasoned,

> Yet, as I mentioned in the beginning, Graphing tools like Good Grapher on the 
> Mac can do it. And, I wonder how?

My guess would be using either differentials or differences, and drawing from 
the current point for a small distance, with some watching for branch points.

There are any number of numeric methods to approximate the derivative.   

You could even iterate after each point until “close enough”.

E.g., if your calculated x,y(x) is 4.2, 7.4, you would plug these into the 
original function and see if it indeed is zero.  

If so, good, go to the next point.  If not, try a smaller move, or plug in 
adjacent values of 7.3 and 7.5 for y, and see if either gets you closer to zero.

For my dissertation, I developed a third branch of dynamic programming, which 
built spaces around trial solutions, and then collapsing to successively finer 
grds.

In the process, I unwittingly reinvented cache memory . . . the search space 
was *far* to large to keep all potential moves, so they were dropped from the 
cache and recalculated when needed.

We never did calculate the dimensionality of the baseline problem we were 
working on—we know that it was *at least* sixty dimensional, but almost 
certainly past that, as the choice spaces were very much not compact . . .




___
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: For the Mathematicians.

2022-01-23 Thread Roger Guay via use-livecode
Yet, as I mentioned in the beginning, Graphing tools like Good Grapher on the 
Mac can do it. And, I wonder how?

Thanks,

Roger

> On Jan 23, 2022, at 4:51 PM, doc hawk via use-livecode 
>  wrote:
> 
> Implicit functions are not, in general, directly plowable, as there is no 
> general y(x) explicit function available.
> 
> You *could*use differentials and derivates to take small steps, if you’re 
> careful and watch for points with multiple solutions (in the example 
> function, when it crosses either axis)
> 
> I think the best you’re going to be able to do is find broad classes of 
> functions that you can have solutions prepared to handle.
> 
> Either that, or a brute-forced grid drawing, in which you solve for all 
> values of y for each value of x.  Even then, you’d need a way to connect them.
> 
> 
> ___
> 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: For the Mathematicians.

2022-01-23 Thread doc hawk via use-livecode
Implicit functions are not, in general, directly plowable, as there is no 
general y(x) explicit function available.

You *could*use differentials and derivates to take small steps, if you’re 
careful and watch for points with multiple solutions (in the example function, 
when it crosses either axis)

I think the best you’re going to be able to do is find broad classes of 
functions that you can have solutions prepared to handle.

Either that, or a brute-forced grid drawing, in which you solve for all values 
of y for each value of x.  Even then, you’d need a way to connect them.


___
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: tsNet Gmail Email

2022-01-23 Thread Rick Harrison via use-livecode
Hi Matthias,

Thanks for getting back to me.

I will give that a try!

Rick

> On Jan 23, 2022, at 4:55 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Rick,
> 
> please let me add something
> 
> If you have 2FA enabled for your Google Account you can create an app 
> specific password
> https://myaccount.google.com/apppasswords 
>  
>  >
> 
> You then use the app password instead of your "normal" google password with 
> tsNet
> 
> If you don't have 2FA enabled for your account then you can enable the option 
> "google security non secure apps allow"
> If that option is enabled, then you use your normal google password with 
> tsNet.

___
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: tsNet Gmail Email

2022-01-23 Thread matthias rebbe via use-livecode
Rick,

please let me add something

If you have 2FA enabled for your Google Account you can create an app specific 
password
https://myaccount.google.com/apppasswords 


You then use the app password instead of your "normal" google password with 
tsNet

If you don't have 2FA enabled for your account then you can enable the option 
"google security non secure apps allow"
If that option is enabled, then you use your normal google password with tsNet.

> Am 23.01.2022 um 21:23 schrieb Rick Harrison via use-livecode 
> :
> 
> Hi there,
> 
> I just tried out email using the tsNet LiveCode lesson
> that was updated on 8/17/2020.
> 
> I ran into an error (67) when trying to send using Gmail.
> 
> Google has updated their security for 3rd party Apps, and 
> now you need to use an App password.
> 
> How can an App password be included for a tsNet
> email when using Gmail?
> 
> Thanks,
> 
> Rick
> 
> ___
> 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: tsNet Gmail Email

2022-01-23 Thread matthias rebbe via use-livecode
Hi Rick,

the only thing that works, as far as i know, is to go to security in your 
google account and enable the option  "google security non secure apps allow".
When that option is enabled, you can use tsNet with your Google account.

Matthias

> Am 23.01.2022 um 21:23 schrieb Rick Harrison via use-livecode 
> :
> 
> Hi there,
> 
> I just tried out email using the tsNet LiveCode lesson
> that was updated on 8/17/2020.
> 
> I ran into an error (67) when trying to send using Gmail.
> 
> Google has updated their security for 3rd party Apps, and 
> now you need to use an App password.
> 
> How can an App password be included for a tsNet
> email when using Gmail?
> 
> Thanks,
> 
> Rick
> 
> ___
> 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: tsNet Gmail Email

2022-01-23 Thread J. Landman Gay via use-livecode

On 1/23/22 2:23 PM, Rick Harrison via use-livecode wrote:

Hi there,

I just tried out email using the tsNet LiveCode lesson
that was updated on 8/17/2020.

I ran into an error (67) when trying to send using Gmail.

Google has updated their security for 3rd party Apps, and
now you need to use an App password.

How can an App password be included for a tsNet
email when using Gmail?


You can't, app passwords are user-specific and need to be created by each user. This has been 
the case for some time, and I needed to do that for both my Android email client and 
Thunderbird on my Mac.


If your users are running any other third party email client they've already had to create an 
app password for it.


--
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: Reviving CD-ROM material [was: Re: Livecode and interactive video]

2022-01-23 Thread Jeff Reynolds via use-livecode
Richmond,

And I’ll be right there with Richard.

Just because it’s not being supported does not remove copyrights. You know 
that’s a stupid argument. Maybe fine with your own morals but it’s not how 
copyright works. As a content creator for over 4 decades of my professional 
life I really hate that attitude of self justification. Fine for your own use 
but if you want to redistribute it then get the rights. Not for profit label 
has nothing to do with the rights involved.

I have experience working in and with media companies and licensing others’ 
materials and having others licensing ours. We were told all the time by 
management and legal to not respond to requests to license unless management 
was interested in the proposal and they would handle that. I thought it pretty 
strange that a denial letter could cause any issues and may have just been 
paranoia or don’t waste your time but those were the instructions. 

Getting an odd bob out out of relicensing an old project involves figuring out 
who you are getting in bed with and if you even want to get into bed with them 
in the first place, time to come to an agreement, research out the original 
projects licensing (media projects are rife with licensed media that at times 
are not transferable or require additional permission and/or payments), create 
and agree on a contract, deliver the goods, then make sure everything is being 
done as contracted. That’s not simple and all the steps cost time and money and 
usually folks are not willing to pay much for the rights to cover these costs, 
let alone a profit.

I’ve done this process a couple of times with old projects and it was way more 
work than I thought it would be and that was with a very good relationship with 
the rights holder (I built the original product for them) and in good rights 
situations. One was easy and owner was happy with a handshake on the deal until 
I had a product to sell and then we would pen a contract. I totally trusted him 
he would honor the handshake (and I’m still absolutely sure he would have, very 
good chap), but a year and a half later he ended up having to sell the rights, 
so our handshake of course was no longer good. He was transparent about all 
this and I just did the hand shake as it would have been a good chunk of change 
with lawyer to pen the rights contract and I didn’t have a publisher onboard 
yet. So even in the best of situations things can go sideways on these kinds of 
things and life is not as simple as you think it is Richmond.

I was approached by an old employer about resurrecting an old commercial cdrom 
project. I knew the rights had changed hands a couple of times, so my first 
question was who has the rights now and have you secured them? His response was 
well it’s abandoned and one of the publishers that were distributing the 
product to the education market (that wanted to partner with him on this deal) 
thought they could do it under their publishing agreement. Again I questioned 
did they have a full rights deal or just a publishing contract (I knew from the 
original days on the project we had very specific publishing contracts with 
different channels like Apple, media distributor and some educational 
publishers and they were rabid about retaining the work’s rights). Response was 
they feel confident they could stretch it legally. He then tried to say well we 
could construe this to be in then public domain as most paid for with 
public/private partnership money from NSF and EPA grants. I had to laugh in his 
face as they had made sure that even with this public money the company had 
complete rights to everything. I said I’d be happy to talk to him (and spend my 
own time) about it once he can put through the lawyers. He did and planning 
abruptly stopped.

The real killer usually is that media licensed in the original work was not 
contracted for sub licensing, transfer, or reuse or requires new payments. 
Sounds like something most would plan for to allow better life for their 
products, but I was amazed how many times this was not done or, at times, even 
thought of.

Sorry I’ve been around this tree too many times.

Jeff

> On Jan 23, 2022, at 12:02 PM, use-livecode-requ...@lists.runrev.com wrote:
> 
> I wrote to them twice and they never bothered to reply
> 
> they did not "essentially" ignore me: they IGNORED me. This is nonsense 
> as, presumably, there is no obvious way
> they can make the odd bob out of ancient CD-ROMS; and if they had a bit 
> of nous they might realise that they could
> climb into bed with you to mutual advantage . . .
> 
> so I would merrily chant my favourite mantra:
> 
> "abandonware, abandonware"? and make sure that anything I did with media 
> ripped off from those
> 
> CDs was splattered with disclaimers and released on a not-for-profit basis.
> 
> Richard Gaskin will probably now come after me with the castrating 
> irons.?


___
use-livecode mailing 

tsNet Gmail Email

2022-01-23 Thread Rick Harrison via use-livecode
Hi there,

I just tried out email using the tsNet LiveCode lesson
that was updated on 8/17/2020.

I ran into an error (67) when trying to send using Gmail.

Google has updated their security for 3rd party Apps, and 
now you need to use an App password.

How can an App password be included for a tsNet
email when using Gmail?

Thanks,

Rick

___
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: Reviving CD-ROM material [was: Re: Livecode and interactive video]

2022-01-23 Thread Jeff Reynolds via use-livecode
Graham,

Having created a bunch of commercial interactive cdroms back in those days of 
early commercial interactivity, I can say they can be a challenge to mine all 
the necessary content from them and determine the whole flow chart of content 
and interactivity. I did this a few times on my own projects in the late days 
of cdroms and beginning of the web. It was a job to suck all the content out of 
the encyclopedia and put it into a set of meta files to get sucked into the 
online system along with providing files that detailed how it all fit together. 
An I had created the original cdrom and done it in a very template cms way. It 
took a few weeks to do and this was probably the simplest port that could ever 
be done due to the content and how I had built the original cdrom and me 
sucking it out only a few years later. And this was for the encyclopedia part 
of the disc that was pretty basic article with attached media, glossary and 
links between articles. When we looked at doing this for the very interactive 
parts (lots of kids being able to plot various data sets in various ways for 
them to both see the environmental data itself but also get into analyzing it 
by plotting various things against each other) it got swiftly daunting to 
extract and document the interactivity completely. Luckily the online education 
company determined it was past what was feasible to do online at the time so 
they let that part drop. 

I had the same experience extracting very interactive exhibits from dual 
laserdisc systems (in the day the only way to get seamless interactive video 
was to have two laserdiscs and switch between the two and carefully place your 
videos on the two discs) to QuickTime and it was a big job to again extract all 
the content (mostly videos) and document the interactivity. Again I had built 
the original and was pretty good about file keeping and documentation. Again 
doable but it was a good pile of work for me and I knew it well having built it.

I’ve looked at migrating some of the educational cdroms we did a decade or so 
ago that went along with beginning reader story books, but the amount of work, 
even though done in revolution was just a bit too much for any return it would 
give other than just doing it. I may still do it some day as the rights owner 
would probably be fine with it as a freeware presentation online.

Suffice it to say it is possible, just how hard it will be to extract the 
content from the disc you have is a very hard question to answer. Livecode is 
so much more powerful today that it’s not a question of programming, it’s 
getting all the interaction figured out and content out of the system. I can 
tell you with that huge encyclopedia project (it was $2.7M project in mid 90s) 
the Mac and PC versions were programmed separately (cross platform systems were 
not quite there yet for the project) with Mac in HyperCard and pc in Visual 
Basic. I wrote the Mac version and made HyperCard a shell that was a cms system 
that would just pull in and article text file and it had a related data file 
that called out all the links, attached media, and such, so the content is all 
sitting there in folders that are easy to access and with a little sleuthing 
you could figure out the data structure probably. But much of the interface 
graphics and interaction on controls were all buried in HyperCard (mostly as 
resources). On the PC side they had two hard core Visual Basic programmers that 
attacked the problem like it was some moon launch (they spent 5x more even 
though behind the Mac version on production as were handed totally clean and 
debugged content from the Mac version to suck in, yet they still had 4x more 
bug sheets than the Mac version, go figure). They had all the data in a big 
access database that got very cumbersome as it went along. They tried to make 
access do too much and it ended up being a real issue and they almost went to 
coding their own database. But all the interface graphics were just a folder of 
files put together then in vb. So on the pc version the content would be 
totally inaccessible (yes that’s a pun we used a lot around access), but on the 
Mac side totally accessible as easily used rtf files.

We had about 5 hardcore programmers at the media company and I know each 
project many times got build in very different ways due to differences in needs 
and the evolving tools. I know I would be hard pressed to crack open their 
projects and extract everything not having been part of building it or the tool 
potentially to try to get in through an editor.

In the last couple of decades every few years one of the owners (or subsequent 
owner) of old cdroms I developed has approached me with the idea or 
resurrecting them in a new fashion. I’ve run the numbers and tried to assess 
how hard it will be and even doing this at educational rates (bottom of the pay 
tier, but that’s been a lot of my professional life) it just hasn’t  panned out 
as 

Re: Reviving CD-ROM material [was: Re: Livecode and interactive video]

2022-01-23 Thread Eraklis Pittas via use-livecode
CD ROM? Luxury! - We used to store all our data on clay tablets and stored
them  in holes in the ground.

https://www.youtube.com/watch?v=ue7wM0QC5LE

On Sun, 23 Jan 2022 at 12:59, Graham Samuel via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I know I’m old enough to be the father of the average LiveCoder, and maybe
> the grandfather of quite a few, so I clearly remember CD-ROMs. I had a
> favourite cross-platform one which contains some very attractive material,
> and I have often thought of reviving the contents using either an LC
> standalone, or (as is presumably now possible), an LC-generated web app.
> Sadly I have never been able to have a sensible conversation with the
> copyright owner (they’ve essentially ignored me), so this would begin as a
> private project. I’m still wondering what the best technical approach
> should be. The material includes videos (not interactive) and synchronised
> text and audio files. After thinking about it for years, I still think it
> would be fun to do.
>
> Has anyone any ideas about how to approach this conversion (or
> re-purposing, or whatever term you want to use)?
>
> Graham
>
> > On 21 Jan 2022, at 19:56, Jim Lambert via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > A quarter of a century ago, we called this Interactive Multimedia.
> > It was usually delivered on a CD-ROM.   Ask your parents! ;)
> >
> > __
>
>
> ___
> 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: Reviving CD-ROM material [was: Re: Livecode and interactive video]

2022-01-23 Thread Colin Holgate via use-livecode
Between Feb 1992 when I moved to the US, and May 1995, most of the floppy disks 
and CD-ROMs I programmed were done in HyperCard. Any of those would be easy 
enough to hack. I had been doing the Mac version, and other companies would do 
the PC version. From May 1995, being cross platform right away was more 
important, and so I started using Macromedia Director. For those CD-ROM I would 
either keep the document files in their editable format, or I would have a 
folder on the CD that included the editable files. The way I looked at it was 
that I had thousands of backup copies of the source files. I did do 10 CD-ROMs 
using Oracle Media Objects, which was another way to make cross platform 
HyperCard like titles.

That still all predates Revolution. By the time Run Rev were sitting on top of 
MetaCard we were doing more web activities, all in Macromedia Director. Then by 
2000, three years before Run Rev acquired MetaCard, I had to start using 
Macromedia Flash for the web work. The documents Flash produced were not easily 
editable after being published.

Some day I’ll find time to recreate the HyperCard products in LiveCode!


> On Jan 23, 2022, at 7:18 AM, Richmond via use-livecode 
>  wrote:
> 
> I have a good dozen CD-ROMs which my boys got a lot of mileage out of when we 
> stayed in the UAE.
> 
> The first thing to do is to extract all the media - and this can be a 
> right-pain-in-the-bum as quite a lot of
> these CDs were authored using MacroMedia products where the media are 
> embedded in a way which seems
> to make them inaccessible.
> 
> After that . . .
> 
> Run up LiveCode stacks that mimic the FUNCTIONALITY of the original CDs (this 
> is surprisingly easy).
> 
> I have a horde of Dorling-Kindersley CDs that contain stuff that really rocks 
> (well, up to the point
> that media authored for a Mac Performa 5700 is of a far, far lower quality 
> and size than what is
> the norm nowadays).
> 
> I wrote to them twice and they never bothered to reply
> 
> they did not "essentially" ignore me: they IGNORED me. This is nonsense as, 
> presumably, there is no obvious way
> they can make the odd bob out of ancient CD-ROMS; and if they had a bit of 
> nous they might realise that they could
> climb into bed with you to mutual advantage . . .
> 
> so I would merrily chant my favourite mantra:
> 
> "abandonware, abandonware"  and make sure that anything I did with media 
> ripped off from those
> 
> CDs was splattered with disclaimers and released on a not-for-profit basis.
> 
> Richard Gaskin will probably now come after me with the castrating irons.  :)
> 
> Even if he doesn't, his knowledge of what-you-can and what-you-cannot get 
> away with is
> both invaluable and far, far more extensive than mine it.
> 
> On 23.01.22 14:57, Graham Samuel via use-livecode wrote:
>> I know I’m old enough to be the father of the average LiveCoder, and maybe 
>> the grandfather of quite a few, so I clearly remember CD-ROMs. I had a 
>> favourite cross-platform one which contains some very attractive material, 
>> and I have often thought of reviving the contents using either an LC 
>> standalone, or (as is presumably now possible), an LC-generated web app. 
>> Sadly I have never been able to have a sensible conversation with the 
>> copyright owner (they’ve essentially ignored me), so this would begin as a 
>> private project. I’m still wondering what the best technical approach should 
>> be. The material includes videos (not interactive) and synchronised text and 
>> audio files. After thinking about it for years, I still think it would be 
>> fun to do.
>> 
>> Has anyone any ideas about how to approach this conversion (or re-purposing, 
>> or whatever term you want to use)?
>> 
>> Graham
>> 
>>> On 21 Jan 2022, at 19:56, Jim Lambert via use-livecode 
>>>  wrote:
>>> 
>>> A quarter of a century ago, we called this Interactive Multimedia.
>>> It was usually delivered on a CD-ROM.   Ask your parents! ;)
>>> 
>>> __
>> 
>> ___
>> 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: Reviving CD-ROM material [was: Re: Livecode and interactive video]

2022-01-23 Thread Richmond via use-livecode
I have a good dozen CD-ROMs which my boys got a lot of mileage out of 
when we stayed in the UAE.


The first thing to do is to extract all the media - and this can be a 
right-pain-in-the-bum as quite a lot of
these CDs were authored using MacroMedia products where the media are 
embedded in a way which seems

to make them inaccessible.

After that . . .

Run up LiveCode stacks that mimic the FUNCTIONALITY of the original CDs 
(this is surprisingly easy).


I have a horde of Dorling-Kindersley CDs that contain stuff that really 
rocks (well, up to the point
that media authored for a Mac Performa 5700 is of a far, far lower 
quality and size than what is

the norm nowadays).

I wrote to them twice and they never bothered to reply

they did not "essentially" ignore me: they IGNORED me. This is nonsense 
as, presumably, there is no obvious way
they can make the odd bob out of ancient CD-ROMS; and if they had a bit 
of nous they might realise that they could

climb into bed with you to mutual advantage . . .

so I would merrily chant my favourite mantra:

"abandonware, abandonware"  and make sure that anything I did with media 
ripped off from those


CDs was splattered with disclaimers and released on a not-for-profit basis.

Richard Gaskin will probably now come after me with the castrating 
irons.  :)


Even if he doesn't, his knowledge of what-you-can and what-you-cannot 
get away with is

both invaluable and far, far more extensive than mine it.

On 23.01.22 14:57, Graham Samuel via use-livecode wrote:

I know I’m old enough to be the father of the average LiveCoder, and maybe the 
grandfather of quite a few, so I clearly remember CD-ROMs. I had a favourite 
cross-platform one which contains some very attractive material, and I have 
often thought of reviving the contents using either an LC standalone, or (as is 
presumably now possible), an LC-generated web app. Sadly I have never been able 
to have a sensible conversation with the copyright owner (they’ve essentially 
ignored me), so this would begin as a private project. I’m still wondering what 
the best technical approach should be. The material includes videos (not 
interactive) and synchronised text and audio files. After thinking about it for 
years, I still think it would be fun to do.

Has anyone any ideas about how to approach this conversion (or re-purposing, or 
whatever term you want to use)?

Graham


On 21 Jan 2022, at 19:56, Jim Lambert via use-livecode 
 wrote:

A quarter of a century ago, we called this Interactive Multimedia.
It was usually delivered on a CD-ROM.   Ask your parents! ;)

__


___
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


Wasm export examples

2022-01-23 Thread David Bovill via use-livecode
I’m trying to evaluate the state of the wasm export in dp10. As I’m not able to 
export to wasm from my current license, nor does the trial seem to give that 
option - I’m a bit stuck.

Are there any examples on the web of Livecode stacks running using the wasm 
export that I can evaluate?

    Schedule a call with me
___
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


Reviving CD-ROM material [was: Re: Livecode and interactive video]

2022-01-23 Thread Graham Samuel via use-livecode
I know I’m old enough to be the father of the average LiveCoder, and maybe the 
grandfather of quite a few, so I clearly remember CD-ROMs. I had a favourite 
cross-platform one which contains some very attractive material, and I have 
often thought of reviving the contents using either an LC standalone, or (as is 
presumably now possible), an LC-generated web app. Sadly I have never been able 
to have a sensible conversation with the copyright owner (they’ve essentially 
ignored me), so this would begin as a private project. I’m still wondering what 
the best technical approach should be. The material includes videos (not 
interactive) and synchronised text and audio files. After thinking about it for 
years, I still think it would be fun to do.

Has anyone any ideas about how to approach this conversion (or re-purposing, or 
whatever term you want to use)?

Graham

> On 21 Jan 2022, at 19:56, Jim Lambert via use-livecode 
>  wrote:
> 
> A quarter of a century ago, we called this Interactive Multimedia.
> It was usually delivered on a CD-ROM.   Ask your parents! ;)
> 
> __


___
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


Customising Wasm export

2022-01-23 Thread David Bovill via use-livecode
I have a project that requires creating and rapidly prototyping was modules 
that would suitably be created in Livecode. However the was modules need to 
interface with other system components in a manner that is most easily 
accomplished at the moment using a rust based toolchain.

How would I explore this possibility? Can a wasm based Livecode be embedded / 
wrapped / included in the existing rust code? Can the Livecode export be 
relatively easily customised to provide the relevant warm api / headers needed? 
Is it feasible to edit the warm directly to add the relevant api / headers and 
set up the way the Livecode code is organised to make this possible?

What are the right questions to ask here?

    Schedule a call with me
___
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