Re: Libraries To Contribute

2017-03-26 Thread Dr. Hawkins via use-livecode
On Sun, Mar 26, 2017 at 8:40 AM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Funny . . . NOT
>
> I run Linux very successfully on what you seem to term a 'fake computer'.
>
>
So you turned it real.

(OK, that's assuming you installed nethack while you were at it . . .)


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: Libraries To Contribute

2017-03-26 Thread Richmond Mathewson via use-livecode



On 3/26/17 6:32 pm, Dr. Hawkins via use-livecode wrote:

On Sat, Mar 25, 2017 at 5:06 PM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:


thanks, I was hoping it would be complete so I could just copy/paste it...


I don't do windows :)

You certainly need someone who knows the incantation for windows.

I suspect that iOS and Android can be part of the default, as I assume that
anyone implementing a unix environment would include something so
fundamentally basic,  but I don't know . . .

Or you could have

case windows

answer "If you had bought a real computer, I could have done this for you!"

break


Funny . . . NOT

I run Linux very successfully on what you seem to term a 'fake computer'.

The problem is not with the hardware.

:)



Richmond.

___
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: Libraries To Contribute

2017-03-26 Thread Dr. Hawkins via use-livecode
On Sat, Mar 25, 2017 at 5:06 PM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> thanks, I was hoping it would be complete so I could just copy/paste it...
>

I don't do windows :)

You certainly need someone who knows the incantation for windows.

I suspect that iOS and Android can be part of the default, as I assume that
anyone implementing a unix environment would include something so
fundamentally basic,  but I don't know . . .

Or you could have

case windows

answer "If you had bought a real computer, I could have done this for you!"

break

:)


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: Libraries To Contribute

2017-03-25 Thread Mike Kerner via use-livecode
thanks, I was hoping it would be complete so I could just copy/paste it...

On Sat, Mar 25, 2017 at 4:15 PM, Dr. Hawkins via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On Sat, Mar 25, 2017 at 6:03 AM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Are you going to write the rest of the routine and make it
> cross-platform,
> > already?  You're holding up a library contribution!
> >
>
> switch thePlatform
>
> case win32
>
> put someCopyCommand && tgt && dest into scmd
>
> break
>
> case iOS
>
> case Android
>
> --I don't know if scp is included in the unix environments for these.
>
> if not, code would be here for whatever they use
>
> break
>
> default
>
> --a real operating system
>
> put "scp -rp" && tgt && dst into scmd
>
> break
>
> end switch
>
> put shell(scmd) into theRes
>
> if it is not empty then
>
> panic
>
> end if
>
>
>
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> ___
> 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: Libraries To Contribute

2017-03-25 Thread Dr. Hawkins via use-livecode
On Sat, Mar 25, 2017 at 6:03 AM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Are you going to write the rest of the routine and make it cross-platform,
> already?  You're holding up a library contribution!
>

switch thePlatform

case win32

put someCopyCommand && tgt && dest into scmd

break

case iOS

case Android

--I don't know if scp is included in the unix environments for these.

if not, code would be here for whatever they use

break

default

--a real operating system

put "scp -rp" && tgt && dst into scmd

break

end switch

put shell(scmd) into theRes

if it is not empty then

panic

end if



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: Libraries To Contribute

2017-03-25 Thread Mike Kerner via use-livecode
YO, HAWKINS!
Are you going to write the rest of the routine and make it cross-platform,
already?  You're holding up a library contribution!

On Sat, Mar 25, 2017 at 9:02 AM, Mike Kerner 
wrote:

> Did I say "depo"?  REPO
>



-- 
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: Libraries To Contribute

2017-03-25 Thread Mike Kerner via use-livecode
Did I say "depo"?  REPO
___
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: Libraries To Contribute

2017-03-25 Thread Mike Kerner via use-livecode
Stuff we need to do for this project:
1) Decide on the structure when you hit git.  I think that we should have
the routines be separate depos because it will be easier for everyone to
subproject what they want.
2) Extract and format the docs for each piece
3) Build the wiki for it that will reference each piece.

Anything else?

On Fri, Mar 24, 2017 at 9:21 PM, Mike Kerner 
wrote:

> Very true - I wasn't thinking of links, and I didn't even think of trying
> to do it with the command-line.  I would like it to be cross-platform - at
> least for desktops, but that's a good idea.  I line to figure out the
> platform, and then a shell command would get it done, now wouldn't it?
>
> On Fri, Mar 24, 2017 at 5:06 PM, Dr. Hawkins via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> On Thu, Mar 23, 2017 at 2:04 PM, Mike Kerner via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>> > I went looking, today, for a routine to recursively copy folders and
>> files
>> > from one place to another.  I have several LC libraries, but none of
>> them
>> > seemed to have such a routine.  All of those libraries are in stacks.
>> >
>>
>> unless you're using ms windows (*hiss*),
>>
>> scp -rp some/folder/path target/parent/directory
>>
>>
>> does the trick, and can be called by shell.
>>
>> For that matter, it's the only decent way I know to keep symlinks and the
>> like intact withot "something weird" happening
>>
>>
>> --
>> Dr. Richard E. Hawkins, Esq.
>> (702) 508-8462
>> ___
>> 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."
>



-- 
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: Libraries To Contribute

2017-03-24 Thread Mike Kerner via use-livecode
Very true - I wasn't thinking of links, and I didn't even think of trying
to do it with the command-line.  I would like it to be cross-platform - at
least for desktops, but that's a good idea.  I line to figure out the
platform, and then a shell command would get it done, now wouldn't it?

On Fri, Mar 24, 2017 at 5:06 PM, Dr. Hawkins via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On Thu, Mar 23, 2017 at 2:04 PM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > I went looking, today, for a routine to recursively copy folders and
> files
> > from one place to another.  I have several LC libraries, but none of them
> > seemed to have such a routine.  All of those libraries are in stacks.
> >
>
> unless you're using ms windows (*hiss*),
>
> scp -rp some/folder/path target/parent/directory
>
>
> does the trick, and can be called by shell.
>
> For that matter, it's the only decent way I know to keep symlinks and the
> like intact withot "something weird" happening
>
>
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> ___
> 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: Libraries To Contribute

2017-03-24 Thread Dr. Hawkins via use-livecode
On Thu, Mar 23, 2017 at 2:04 PM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I went looking, today, for a routine to recursively copy folders and files
> from one place to another.  I have several LC libraries, but none of them
> seemed to have such a routine.  All of those libraries are in stacks.
>

unless you're using ms windows (*hiss*),

scp -rp some/folder/path target/parent/directory


does the trick, and can be called by shell.

For that matter, it's the only decent way I know to keep symlinks and the
like intact withot "something weird" happening


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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


Fwd: Libraries To Contribute

2017-03-23 Thread Mike Kerner via use-livecode
It's pretty easy, actually.  You can check out my repo, if you like,
because that's where I'd put the routines if I do it.  I've already got
some community routines in there, but I haven't gone nuts with it, yet.
https://github.com/macMikey

The biggest thing to discuss is what routines should be grouped together
into the same script file and which script files should be part of the same
repo.  More repos means more flexibility, but it also means that people are
having to pull more code, if something ever changes.


On Thu, Mar 23, 2017 at 9:55 PM, Mike Doub via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Guys,  I would love to get the contents of the Master Library into
> github,  but that is beyond my technical ability.
>
> I created the library so I had 1) an index/table of contents and 2) the
> ability to only pull into my projects what I needed.   I also wanted to
> give back to the people on this list that had helped me for so long.
>
> If you can figure our how to do it,  I'm game,  but you will have teach
> this old dog some new tricks.
>
> -= Mike
>
>
>
>
>   Original Message
> From: use-livecode@lists.runrev.com
> Sent: March 23, 2017 9:38 PM
> To: use-livecode@lists.runrev.com
> Reply-to: use-livecode@lists.runrev.com
> Cc: ambassa...@fourthworld.com
> Subject: Re: Libraries To Contribute
>
> Mike Kerner wrote:
>
> > The code was relatively easy.  What I was more interested in was
> > either building or finding a central repo for a library of routines.
>
> Right now the most comprehensive collection I know of is Michael Doub's
> Master Library:
> https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0
>
> It might be nice if that was extended to pull from Github resources - a
> good community project perhaps?
>
> In lieu of that, posting it on Github is very useful:  easy to search,
> and the more LC repos we see the more likely we'll see LiveCode on the
> TIOBE index more often.
>
> In fact, any and all LiveCode resources clearly marked as being about
> "LiveCode" will help LC get the attention it deserves on the TIOBE Index:
> https://www.tiobe.com/tiobe-index/programming-languages-definition/
>
> --
>   Richard Gaskin
>   Fourth World Systems
>   Software Design and Development for the Desktop, Mobile, and the Web
>   
>   ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
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: Libraries To Contribute

2017-03-23 Thread Mike Doub via use-livecode
Guys,  I would love to get the contents of the Master Library into github,  but 
that is beyond my technical ability.  

I created the library so I had 1) an index/table of contents and 2) the ability 
to only pull into my projects what I needed.   I also wanted to give back to 
the people on this list that had helped me for so long.  

If you can figure our how to do it,  I'm game,  but you will have teach this 
old dog some new tricks.  

-= Mike




  Original Message  
From: use-livecode@lists.runrev.com
Sent: March 23, 2017 9:38 PM
To: use-livecode@lists.runrev.com
Reply-to: use-livecode@lists.runrev.com
Cc: ambassa...@fourthworld.com
Subject: Re: Libraries To Contribute

Mike Kerner wrote:

> The code was relatively easy.  What I was more interested in was
> either building or finding a central repo for a library of routines.

Right now the most comprehensive collection I know of is Michael Doub's 
Master Library:
https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0

It might be nice if that was extended to pull from Github resources - a 
good community project perhaps?

In lieu of that, posting it on Github is very useful:  easy to search, 
and the more LC repos we see the more likely we'll see LiveCode on the 
TIOBE index more often.

In fact, any and all LiveCode resources clearly marked as being about 
"LiveCode" will help LC get the attention it deserves on the TIOBE Index:
https://www.tiobe.com/tiobe-index/programming-languages-definition/

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  
  ambassa...@fourthworld.com    http://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Libraries To Contribute

2017-03-23 Thread Richard Gaskin via use-livecode

Mike Kerner wrote:

> The code was relatively easy.  What I was more interested in was
> either building or finding a central repo for a library of routines.

Right now the most comprehensive collection I know of is Michael Doub's 
Master Library:

https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0

It might be nice if that was extended to pull from Github resources - a 
good community project perhaps?


In lieu of that, posting it on Github is very useful:  easy to search, 
and the more LC repos we see the more likely we'll see LiveCode on the 
TIOBE index more often.


In fact, any and all LiveCode resources clearly marked as being about 
"LiveCode" will help LC get the attention it deserves on the TIOBE Index:

https://www.tiobe.com/tiobe-index/programming-languages-definition/

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Libraries To Contribute

2017-03-23 Thread Mike Kerner via use-livecode
Anyway, Richard, to answer your other question, the problem is that
revCopyFolder copies not just the contents of the source folder but the
source folder as well, and I didn't figure out a way to copy just the
contents, so I wrote something to do it.

On Thu, Mar 23, 2017 at 9:00 PM, Mike Kerner 
wrote:

> The code was relatively easy.  What I was more interested in was either
> building or finding a central repo for a library of routines.  Trevor built
> a stack that has a bunch of routines in it, but in the age of git, I'd like
> to have something that we put in there for everyone to point to.  I've put
> a few things in git, already.  I just want it to be a lot bigger.
>
> On Thu, Mar 23, 2017 at 7:50 PM, Richard Gaskin via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Mike Kerner wrote:
>>
>> > I went looking, today, for a routine to recursively copy folders and
>> > files from one place to another.  I have several LC libraries, but
>> > none of them seemed to have such a routine.  All of those libraries
>> > are in stacks.
>>
>> Will the built-in revCopyFolder command do what you need?
>>
>> If you need to handler copying over networks try rsync.
>>
>> --
>>  Richard Gaskin
>>  Fourth World Systems
>>  Software Design and Development for the Desktop, Mobile, and the Web
>>  
>>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
>
> --
> 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."
>



-- 
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: Libraries To Contribute

2017-03-23 Thread Mike Kerner via use-livecode
The code was relatively easy.  What I was more interested in was either
building or finding a central repo for a library of routines.  Trevor built
a stack that has a bunch of routines in it, but in the age of git, I'd like
to have something that we put in there for everyone to point to.  I've put
a few things in git, already.  I just want it to be a lot bigger.

On Thu, Mar 23, 2017 at 7:50 PM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Mike Kerner wrote:
>
> > I went looking, today, for a routine to recursively copy folders and
> > files from one place to another.  I have several LC libraries, but
> > none of them seemed to have such a routine.  All of those libraries
> > are in stacks.
>
> Will the built-in revCopyFolder command do what you need?
>
> If you need to handler copying over networks try rsync.
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
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: Libraries To Contribute

2017-03-23 Thread Richard Gaskin via use-livecode

Mike Kerner wrote:

> I went looking, today, for a routine to recursively copy folders and
> files from one place to another.  I have several LC libraries, but
> none of them seemed to have such a routine.  All of those libraries
> are in stacks.

Will the built-in revCopyFolder command do what you need?

If you need to handler copying over networks try rsync.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Libraries To Contribute

2017-03-23 Thread Mike Kerner via use-livecode
I went looking, today, for a routine to recursively copy folders and files
from one place to another.  I have several LC libraries, but none of them
seemed to have such a routine.  All of those libraries are in stacks.

So...
a) Does anyone have a git repo with LC libraries/routines in it
b) If not, I'd like to start one, and I'd be looking for contributions to
it, please.

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