Re: Web help needed

2020-07-13 Thread Mike Doub via use-livecode
Andre,

Your the closest yet to what I was thinking about.  I did not think it was a 
good idea to have the cue sheets rebuilt on the server.   I was going to 
rebuild them on the desktop and push them to the server thru a special endpoint.

Let me study the links you provided and well see if they will do the trick.

Thank to all for helping!  I’m learning all sorts of stuff!  It great.

  -= Mike
On Jul 13, 2020, 11:45 AM -0400, Andre Garzia via use-livecode 
, wrote:
> Folks,
>
> I think that either you're all misreading the original intent, or I have
> read it wrong.
>
> From what I have read, Mike has a webapp that converts from one file format
> to another and wants to do bulk conversion. Rsync and FTP will not help
> there, what he needs to to be able to call that form multiple times or
> refactor the form to support multiple files.
>
> Mike, get yourself familiar with "file type inputs" from HTML and how they
> can support multiple file selection. In the two links below you'll have a
> reference to the APIs and DOM elements related to that:
>
> * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file
> *
> https://developer.mozilla.org/en-US/docs/Web/API/File/Using_files_from_web_applications
>
> Using that you could rework your form to accept multiple files, even with
> drag and dropping, which I believe will solve your problem.
>
> Still, I don't think that doing the entire archive in a single go is a good
> idea as Apache will hangup the CGI process after a predefined timeout, but
> you could do a subset of it, for example each month in a single pass.
>
> Best
> A
>
>
>
> On Sun, 12 Jul 2020 at 19:32, Richard Gaskin via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Bill Prothero wrote:
> > > Sorry if this is off, but what about just transferring them with ftp?
> >
> > FTP is good enough for a small number of files. But for automating
> > large numbers of file transfers rsync is hard to beat, a much smarter
> > tool making things much more efficient.
> >
> > By default, rsync will only transfer files that have changed, and even
> > then only transfers the portions of a file that's changed.
> >
> > It can be used to sync folders locally or remotely - I run all my
> > backups with it, in addition to using it post files to servers from my
> > local master copy.
> >
> > rsync is preinstalled with macOS, can be added to Windows, and is a
> > standard part of most popular Linux distros used on servers.
> >
> > It's secure using SSH, so if you add your SSH public key to your server
> > (useful for a good many things) you not only get good security but it
> > makes it easy to automate with LiveCode's shell function.
> >
> >
> > @Michael Doub: I believe HostM uses Ubuntu, so rsync is preinstalled
> > there. And since you use macOS, your copy is preinstalled on your Mac.
> >
> > IMNSHO, you'll want to request SSH for any hosting service that doesn't
> > offer it by default. With SSH, not only do you get to use standard
> > Unix/Linux utilities like rsync, scp, and others, but sooner or later
> > you're likely to need or want to do something on that server outside of
> > the limited scope of what FTP is designed for. With shell access you
> > can do anything you need, just as good as having the server sitting on
> > your desk, even if it's thousands of miles away.
> >
> > --
> > 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
> >
>
>
> --
> http://www.andregarzia.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: Web help needed

2020-07-12 Thread Mike Doub via use-livecode
HostM does support rsync but you have to request SSH to be enabled.

I was able to get an sftp client to work.  Im not sure if LiveCode supports 
sftp.

-= Mike
On Jul 12, 2020, 1:13 PM -0400, Mike Doub , wrote:
> I just sent a request to HostM to see if they support rsync.  If they do then 
> one option would be to create all of the pdfs and csv on the mac then rsync 
> them to the server.  This leads me down a new set of unknowns... How do you 
> set up rsync? I assume that there is some configuration required on both the 
> mac and server.
> On Jul 12, 2020, 12:56 PM -0400, Mike Doub , wrote:
> > The server is hosted on HostM and they are very good a keeping Livecode 
> > Server current. I am assuming it is a Unix variant of some sort.  My 
> > desktop is a mac.
> >
> > Let me tell you the details of what I am trying to do.   I have written a 
> > tool in livecode that takes a RideWithGPS route and generates a pdf and 
> > .csv files for the cue sheet.  (basic turn by turn instructions for cycling 
> > the route.)  This tools sits on the server side and processes requests via 
> > a form.   Basically 1 route at a time.
> >
> > There are some 950 routes that are in my cycling clubs archive on 
> > RideWithGPS.  I am looking to generate updated pdf and csv files for all of 
> > the routes.  I was thinking about just cycling thru each of the routes, 
> > create the pdf and csv on my mac and just push the files onto the server.   
> > It is the push them onto the server that I don’t know how to do.   I am 
> > looking for some guidance on both the mac and server side.
> >
> > -= Mike
> > On Jul 12, 2020, 12:32 PM -0400, Rick Harrison via use-livecode 
> > , wrote:
> > > Hi Mike,
> > >
> > > I think we are lacking some key information in order to solve your 
> > > problem.
> > >
> > > Is your LC Server on a Mac? If so, what is preventing you from just
> > > dragging and dropping a folder of your files across the network from your
> > > desktop Mac to your LC (Mac?) Server computer?
> > >
> > > Once your files are on the Server where you want them, then you
> > > can play around with having LC Server access them through forms
> > > if you want to do that. You can also put the data into a database
> > > if you need to do that too and then access them with your LC Server.
> > >
> > > Are you hosting your LC Server on a computer you own, or
> > > are you using a hosting service instead?
> > >
> > > Let us know.
> > >
> > > Rick
> > >
> > >
> > >
> > > > On Jul 11, 2020, at 8:24 PM, Mike Doub via use-livecode 
> > > >  wrote:
> > > >
> > > > I am a rookie at web stuff. I have a couple of end point api’s set up 
> > > > to use with simple forms. Got that working with .lc file that starts 
> > > > using a LiveCode stack that does the work.
> > > >
> > > > I need to move hundreds of files from my desktop Mac to my server. I’m 
> > > > looking for advise as to how best to do this. I was thinking about 
> > > > creating an endpoint on my server that my desktop app would use. But, I 
> > > > don’t understand how that might work.
> > > >
> > > > I need some help for some experience web folks. How do I go about 
> > > > moving files? Most of them are text, but I would like to understand how 
> > > > to deal with binary files too (thinking images). All of the examples I 
> > > > see are for a user interface form and that does not make sense for the 
> > > > number of files I need to move.
> > > >
> > > > Thanks in advance.
> > > > -= Mike
> > >
> > > ___
> > > 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: Web help needed

2020-07-12 Thread Mike Doub via use-livecode
I just sent a request to HostM to see if they support rsync.  If they do then 
one option would be to create all of the pdfs and csv on the mac then rsync 
them to the server.  This leads me down a new set of unknowns... How do you set 
up rsync? I assume that there is some configuration required on both the mac 
and server.
On Jul 12, 2020, 12:56 PM -0400, Mike Doub , wrote:
> The server is hosted on HostM and they are very good a keeping Livecode 
> Server current. I am assuming it is a Unix variant of some sort.  My desktop 
> is a mac.
>
> Let me tell you the details of what I am trying to do.   I have written a 
> tool in livecode that takes a RideWithGPS route and generates a pdf and .csv 
> files for the cue sheet.  (basic turn by turn instructions for cycling the 
> route.)  This tools sits on the server side and processes requests via a 
> form.   Basically 1 route at a time.
>
> There are some 950 routes that are in my cycling clubs archive on 
> RideWithGPS.  I am looking to generate updated pdf and csv files for all of 
> the routes.  I was thinking about just cycling thru each of the routes, 
> create the pdf and csv on my mac and just push the files onto the server.   
> It is the push them onto the server that I don’t know how to do.   I am 
> looking for some guidance on both the mac and server side.
>
> -= Mike
> On Jul 12, 2020, 12:32 PM -0400, Rick Harrison via use-livecode 
> , wrote:
> > Hi Mike,
> >
> > I think we are lacking some key information in order to solve your problem.
> >
> > Is your LC Server on a Mac? If so, what is preventing you from just
> > dragging and dropping a folder of your files across the network from your
> > desktop Mac to your LC (Mac?) Server computer?
> >
> > Once your files are on the Server where you want them, then you
> > can play around with having LC Server access them through forms
> > if you want to do that. You can also put the data into a database
> > if you need to do that too and then access them with your LC Server.
> >
> > Are you hosting your LC Server on a computer you own, or
> > are you using a hosting service instead?
> >
> > Let us know.
> >
> > Rick
> >
> >
> >
> > > On Jul 11, 2020, at 8:24 PM, Mike Doub via use-livecode 
> > >  wrote:
> > >
> > > I am a rookie at web stuff. I have a couple of end point api’s set up to 
> > > use with simple forms. Got that working with .lc file that starts using a 
> > > LiveCode stack that does the work.
> > >
> > > I need to move hundreds of files from my desktop Mac to my server. I’m 
> > > looking for advise as to how best to do this. I was thinking about 
> > > creating an endpoint on my server that my desktop app would use. But, I 
> > > don’t understand how that might work.
> > >
> > > I need some help for some experience web folks. How do I go about moving 
> > > files? Most of them are text, but I would like to understand how to deal 
> > > with binary files too (thinking images). All of the examples I see are 
> > > for a user interface form and that does not make sense for the number of 
> > > files I need to move.
> > >
> > > Thanks in advance.
> > > -= Mike
> >
> > ___
> > 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: Web help needed

2020-07-12 Thread Mike Doub via use-livecode
The server is hosted on HostM and they are very good a keeping Livecode Server 
current. I am assuming it is a Unix variant of some sort.  My desktop is a mac.

Let me tell you the details of what I am trying to do.   I have written a tool 
in livecode that takes a RideWithGPS route and generates a pdf and .csv files 
for the cue sheet.  (basic turn by turn instructions for cycling the route.)  
This tools sits on the server side and processes requests via a form.   
Basically 1 route at a time.

There are some 950 routes that are in my cycling clubs archive on RideWithGPS.  
I am looking to generate updated pdf and csv files for all of the routes.  I 
was thinking about just cycling thru each of the routes, create the pdf and csv 
on my mac and just push the files onto the server.   It is the push them onto 
the server that I don’t know how to do.   I am looking for some guidance on 
both the mac and server side.

-= Mike
On Jul 12, 2020, 12:32 PM -0400, Rick Harrison via use-livecode 
, wrote:
> Hi Mike,
>
> I think we are lacking some key information in order to solve your problem.
>
> Is your LC Server on a Mac? If so, what is preventing you from just
> dragging and dropping a folder of your files across the network from your
> desktop Mac to your LC (Mac?) Server computer?
>
> Once your files are on the Server where you want them, then you
> can play around with having LC Server access them through forms
> if you want to do that. You can also put the data into a database
> if you need to do that too and then access them with your LC Server.
>
> Are you hosting your LC Server on a computer you own, or
> are you using a hosting service instead?
>
> Let us know.
>
> Rick
>
>
>
> > On Jul 11, 2020, at 8:24 PM, Mike Doub via use-livecode 
> >  wrote:
> >
> > I am a rookie at web stuff. I have a couple of end point api’s set up to 
> > use with simple forms. Got that working with .lc file that starts using a 
> > LiveCode stack that does the work.
> >
> > I need to move hundreds of files from my desktop Mac to my server. I’m 
> > looking for advise as to how best to do this. I was thinking about creating 
> > an endpoint on my server that my desktop app would use. But, I don’t 
> > understand how that might work.
> >
> > I need some help for some experience web folks. How do I go about moving 
> > files? Most of them are text, but I would like to understand how to deal 
> > with binary files too (thinking images). All of the examples I see are for 
> > a user interface form and that does not make sense for the number of files 
> > I need to move.
> >
> > Thanks in advance.
> > -= Mike
>
> ___
> 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: Web help needed

2020-07-12 Thread Mike Doub via use-livecode
Thanks Richard.   I guess I was not clear.   I was looking for the best ways to 
do the file transfer with LiveCode and LiveCode server.

  -= Mike
On Jul 11, 2020, 10:50 PM -0400, Richard Gaskin via use-livecode 
, wrote:
> Mike Doub wrote:
>
> > I need to move hundreds of files from my desktop Mac to my server.
> > I’m looking for advise as to how best to do this.
>
> rsync
>
> --
> 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


Web help needed

2020-07-11 Thread Mike Doub via use-livecode
I am a rookie at web stuff.  I have a couple of end point api’s set up to use 
with simple forms.  Got that working with .lc file that starts using a LiveCode 
stack that does the work.

I need to move hundreds of files from my desktop Mac to my server.   I’m 
looking for advise as to how best to do this.  I was thinking about creating an 
endpoint on my server that my desktop app would use.  But, I don’t understand 
how that might work.

I need some help for some experience web folks.  How do I go about moving 
files?   Most of them are text, but I would like to understand how to deal with 
binary files too (thinking images).  All of the examples I see are for a user 
interface form and that does not make sense for the number of files I need to 
move.

Thanks in advance.
      -= Mike
___
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: Apps to fight COVID-19

2020-04-10 Thread Mike Doub via use-livecode
Apple and Google adding contact tracking to their OSs

https://www.nytimes.com/2020/04/10/business/stock-market-today-coronavirus.html#link-418ae121
On Apr 10, 2020, 2:41 PM -0400, dsc--- via use-livecode 
, wrote:
> And for those of you who want to volunteer for the COVID Watch team, here is 
> the volunteer form:
> https://docs.google.com/forms/d/e/1FAIpQLSdD1TGKOvd4gtikW_jXdU1HlF4jMP2XnXvIzL2sd6HLHPJ25g/viewform
>  
> 
>
>
> > On Apr 10, 2020, at 11:04 AM, dsc--- via use-livecode 
> >  wrote:
> >
> > And it doesn't have to be just contact tracing related.
> >
> > Jonathan Rothberg's team is working on a simple test at home that needs an 
> > app.
> > co...@4catalyzer.com 
> >
> > Anybody want to talk about a containment game? Or take the concept and go 
> > in one's own direction?
> >
> > Nicky Case's phone size comic is now available in several languages, so if 
> > you include that in _anything_ you do, can localize a little.
> >
> > Dar
> > team COVID Watch
> >
> >
> > > On Apr 10, 2020, at 9:12 AM, dsc--- via use-livecode 
> > >  wrote:
> > >
> > > It is good to see some leadership here. Thanks, David.
> > >
> > > Jeff Schwaber on COVID Watch leadership team welcomes LiveCode 
> > > programmers. His initial interest is in making the Bluetooth and TCN 
> > > libraries available within the LiveCode environment. He suggests joining 
> > > a couple channels at COVID Watch Slack.
> > >
> > > Those libraries are moving to the TCN Coalition and so are applicable to 
> > > a wide range of contact tracing apps. This enables LiveCoders to create 
> > > test apps, explore ideas and even make "competing" apps.
> > >
> > > COVID Watch does not have any desktop apps. One approach might be to 
> > > convert Android Kotlin to Native Kotlin. Another is to move to LiveCode.
> > >
> > > I'm a Slack noob and I am not sure of the process of onboarding here. I 
> > > will try to find out. Anybody here know typical Slack etiquette?
> > >
> > > Dar
> > > team COVID Watch
> > >
> > >
> > > > On Apr 10, 2020, at 2:58 AM, David Bovill via use-livecode 
> > > >  wrote:
> > > >
> > > > Thanks for all the info Dar - that’s a great start.
> > > >
> > > > I think creating a hospital / care-worker privacy respecting contact 
> > > > tracing app would be a great Livecode project.
> > > >
> > > > This is what I’m thinking:
> > > >
> > > > • Some of gather some material / research - maybe a few Livecode 
> > > > experiments not he topic
> > > > • We prepare a video conference call - like the Livecode Zoom one I 
> > > > missed
> > > > • We invite a few people
> > > > • We follow up the video conference with a week long online sprint - 
> > > > some coding, some writing, some design / cartoons
> > > > • We showcase the results at a wrap up event
> > > >
> > > > I’m working with a handful of volunteers - mainly on the video / media 
> > > > / Zoom / research / facilitation end of things, but we’re getting 
> > > > pretty good at organising small and larger scale interactive video 
> > > > conferences and editing together the footage for feedback 
> > > > documentation. Mostly Livecode novices but interested to learn. So we 
> > > > could set up the event - most probably in Zoom - but could be Jitsi.
> > > >
> > > > To make it work, I think we’d need a few Livecode tutors, and interest 
> > > > from the community - in the end it should be something that the folks 
> > > > on this list would like to take part in, so when we onboard other 
> > > > people the party is not empty.
> > > >
> > > > I’d propose we do this on Earth Day - Wednesday 22nd April - in the 
> > > > evening Europe time, after midday US time.
> > > >
> > > > Any thoughts / takers?
> > > >
> > > > On 10 Apr 2020, 04:04 +0100, Dar Scott Consulting via use-livecode 
> > > > , wrote:
> > > > >
> > > > > Hi, David! Hi, Mark! Hi, Everybody!
> > > > >
> > > > > There are several teams that need help in a variety of ways.
> > > > >
> > > > > Several teams are in the TCN Coalition . 
> > > > > These teams respect privacy and use the TCN Protocol. COVID Watch is 
> > > > > there with help from around the world, but with a USA focus. You can 
> > > > > see a list with links on that very simple page. Volunteers might want 
> > > > > to seek out those whose location, philosophy or neediness seem to be 
> > > > > appealing.
> > > > >
> > > > > Other organizations include Private Kit: Safe Paths (GPS) and 
> > > > > "Eastcoast" PACT out of MIT. You can probably find more. If you have 
> > > > > a direction or need you want to focus on, I can try to help.
> > > > >
> > > > > A group in Europe is forming around DT-3T, triggered by work by 
> > > > > Carmela Troncoso of EPFL and folks at ETHZ. (Even though DT-3T is 
> > > > > considered to be under the umbrella of PEPPPT, the later group 
> > > > > includes teams whose methods that r

Re: DataGrid question...

2020-04-01 Thread Mike Doub via use-livecode
There is an interesting interaction between the scrolling function, the size of 
the field, mouseUp or Down.  For my test, when I click the 6th column, 
scrolling occurs and the function returns nothing.  If I size the field such 
that no scrolling occurs, all works as expected.   If I change the mouseUp to 
mouseDown, all works as expected.   I have not spent the time to figure out 
what is going on, but these are my observations.

-= Mike

On Apr 1, 2020, 9:29 AM -0400, Niggemann, Bernd via use-livecode 
, wrote:
> This is a modification of Jaque's script to get the row and column of a 
> locked tableField when the user clicks in a cell.
>
> Use tableField whose lockText is true. Set its script to
>
>
> 
> on mouseUp
> put "Row:" && word 2 of the clickline into tRow
> put "Col:" && getColumn(the clickH) into tColumn
> set the itemDelimiter to tab
> put tRow &cr& tColumn & cr & "ClickH: " & the clickH into field "fRes"
> end mouseUp
>
> function getColumn pClickH
> put the tabstops of me into tTabs
> put the num of items in tTabs into tNumStops
> if tNumStops > 1 then
> put last item of tTabs - item -2 of tTabs into tTabWidth
> else
> put item 1 of tTabs into tTabWidth
> end if
> set the itemdel to tab
> put the num of items in line 1 of me into tColumns
> if tNumStops < tColumns then -- add missing tabstops
> repeat with x = tNumStops+1 to tColumns
> put comma & (tTabWidth * x) after tTabs
> end repeat
> end if
> set the itemdel to comma
> put the hScroll of me into tHScroll
> put the borderwidth of me into tBrdr -- tested from 0 to 4
> put the leftMargin of me - 3 into tLeftMarg -- tested from 4 to 12
> put the left of me + tBrdr into tLeftAndBorder
> put tLeftAndBorder - tHScroll - tLeftMarg into tLeftOfItem
> put tLeftAndBorder - tHScroll + tLeftMarg + 1 into tRightOfItem -- + 1 is a 
> fudge
> put 0 & comma before tTabs
> repeat with x = 1 to the num of items in tTabs
> if pClickH > (item x of tTabs) + tLeftOfItem and \
> pClickH < (item x+1 of tTabs) + tRightOfItem then
> return x
> end if
> end repeat
> return empty
> end getColumn
> 
>
>
> In my testing it works for changed borderWidth and margins, hscrolls and 
> vScrolls
>
> If you want to test it take a regular field, set its name to "tf", set its 
> script to above script
>
> and from a button apply this
>
>
> -
> on mouseUp
> put "1,2,3,4,5,6" into tLine
> put empty into field "tf"
> replace comma with tab in tLine
> set the itemDelimiter to tab
> repeat 6
> put tLine & cr after tCollect
> repeat with i = 1 to 6
> add 6 to item i of tLine
> end repeat
> end repeat
> delete last char of tCollect
> lock screen
> put tCollect into field "tf"
> set the hGrid of field "tf" to true
> set the vGrid of field "tf" to true
> set the hScrollbar of field "tf" to true
> set the tabStops of field "tf" to 77
> set the lockText of field "tf" to true
> unlock screen
> end mouseUp
>
> -
>
>
>
> 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
___
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: date libraries/routines for LCG

2018-05-08 Thread Mike Doub via use-livecode
Have you checked the Master Library?

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

On May 8, 2018, 9:10 PM -0400, Mike Kerner via use-livecode 
, wrote:
> I'm working on my session for next week's lcg, which is going to focus on
> dates. I'd like to feature any libraries or routines that anyone wants to
> share that have to do with dates.
> Please email me at one of my 300 email addresses.
>
> --
> 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: 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: Problem with converting time

2017-03-17 Thread Mike Doub via use-livecode
I am in Chapel Hill,  NC.   I am using Hostm and I really don't know,   I would 
have expected the time to be less if on the west coast of the US.  

Mike


  Original Message  
From: use-livecode@lists.runrev.com
Sent: March 17, 2017 5:30 PM
To: use-livecode@lists.runrev.com
Reply-to: use-livecode@lists.runrev.com
Cc: ambassa...@fourthworld.com
Subject: Re: Problem with converting time

Michael Doub wrote:
> Sorry guys, I must not have been clear in my statement of the
> problem.
> Here is the code:
>
> put 1489755600 into tVar
> convert tVar into dateitems
>   -- on the mac tVar contains 2017,3,17,9,0,0,6
>   -- on the server tVar contains 2017,3,17,12,0,0,6
>
> The local time should not be involved since you are converting a
> fixed value.  What is happening?

Humor me: what city is your server in, and what city are you in?

-- 
  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: Livecode HTML5 networking question

2017-03-14 Thread Mike Doub via use-livecode
I just did a test using the local python server and it did not work,  so it 
looks like the support is not there yet. 

Mike


  Original Message  
From: use-livecode@lists.runrev.com
Sent: March 14, 2017 11:53 AM
To: use-livecode@lists.runrev.com
Reply-to: use-livecode@lists.runrev.com
Cc: ambassa...@fourthworld.com
Subject: Re: Livecode HTML5 networking question

Mike Doub wrote:

> Bob,  I understand that.  You misunderstood my question.  If I use
> that statement in app,  save it as am html5 app,  will the app
> function?
>
> The documentation says networking is not supported.  What exactly
> does that mean?  Is the statement in question, networking?

I had thought GET and POST were added to the HTML exports recently, no?

--
  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: Livecode HTML5 networking question

2017-03-14 Thread Mike Doub via use-livecode
Bob,  I understand that.  You misunderstood my question.  If I use that 
statement in app,  save it as am html5 app,  will the app function? 

The documentation says networking is not supported.  What exactly does that 
mean?  Is the statement in question, networking? 

-= Mike 


  Original Message  
From: use-livecode@lists.runrev.com
Sent: March 14, 2017 10:47 AM
To: use-livecode@lists.runrev.com
Reply-to: use-livecode@lists.runrev.com
Cc: bobsnei...@iotecdigital.com
Subject: Re: Livecode HTML5 networking question

That is not HTML5. That is a standard Livecode function that has been around 
since version 1.0. 

Bob S


> On Mar 14, 2017, at 05:59 , Mike Doub via use-livecode 
>  wrote:
> 
> I was thinking about putting together a little weather app and trying the
> html5 feature of livecode.  I read that networking is not supported.   Does
> that mean that the following is not supported?
> 
> put URL  ("https://api.darksky.net/forecast/"; & mykey & "/" & LatLon) into
> wData
> 
> If not my project is going on hold.
> 
> Thanks in advance.
> 
>    -= Mike


___
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

Livecode HTML5 networking question

2017-03-14 Thread Mike Doub via use-livecode
I was thinking about putting together a little weather app and trying the
html5 feature of livecode.  I read that networking is not supported.   Does
that mean that the following is not supported?

put URL  ("https://api.darksky.net/forecast/"; & mykey & "/" & LatLon) into
wData

If not my project is going on hold.

Thanks in advance.

-= Mike
___
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