Re: csvToText Repository

2016-06-13 Thread Peter TB Brett
On 10/06/2016 14:53, Mike Kerner wrote: As far as I know, the latest/greatest code for converting csv to text is now on my git repository: https://github.com/macMikey/csvToText This is great! Can I make a feature request to parse CSV data into an array?

Re: dropbox repositories: phxdropbox v. 1.12 and dropboxapi

2016-06-13 Thread Peter TB Brett
On 10/06/2016 14:52, Mike Kerner wrote: All, the latest phxdropbox library is now on my git repository. Dropbox changed an error handling response: https://github.com/macMikey/phxDropboxLib Also, I'm going to keep/maintain Gerard's dropbox api v2 while I work on improving it: https://github.

Re: dropbox repositories: phxdropbox v. 1.12 and dropboxapi

2016-06-13 Thread Peter TB Brett
On 10/06/2016 14:52, Mike Kerner wrote: All, the latest phxdropbox library is now on my git repository. Dropbox changed an error handling response: https://github.com/macMikey/phxDropboxLib Hi Mike, I also recommend making "proper" releases of phxDropboxLib. If you do that, GitHub will le

LC and webviews

2016-06-13 Thread me
I just read this article about Basecamp's use of webviews in their mobile (Android in this case) apps. It got me thinking about LiveCode's htmlText. Does it use some sort of CSS? If so, can one be set in its stead? Link to webviews article: https://m.signalvnoise.com/debunking-android-myths-web

Re: csvToText Repository

2016-06-13 Thread Alex Tweedly
"into an array" in what way ?presumably a numerically indexed array. Perhaps a more general feature requests would be to extend the 'split' command, so that it would parse by Primary and Secondary delimiters into numerically indexed arrays ? (using a new optional keyword "completely

[ANN] This Week in LiveCode 37

2016-06-13 Thread Peter TB Brett
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #37 here: https://goo.gl/kRiN37 This is a weekly newsletter about LiveCode, focussing on what's been going on in and aro

New sections for This Week in LiveCode

2016-06-13 Thread Peter TB Brett
Hi everyone, With Panos's help I've added two new sections to the 'This Week in LiveCode' newsletter. - The "Bug Report of the Week" showcases one of the most useful or most interesting bug reports that we've received recently, with some notes on why we thought it was particularly worthy of

Re: csvToText Repository

2016-06-13 Thread Paul Dupuis
On 6/13/2016 7:45 AM, Alex Tweedly wrote: > Perhaps a more general feature requests would be to extend the 'split' > command, so that it would parse by Primary and Secondary delimiters > into numerically indexed arrays ? (using a new optional keyword > "completely" ... :-) See http://quality.livec

Re: dropbox repositories: phxdropbox v. 1.12 and dropboxapi

2016-06-13 Thread Mike Kerner
Good idea, and we will do that, moving forward. Thanks for the suggestion to the git n00b On Mon, Jun 13, 2016 at 5:11 AM, Peter TB Brett wrote: > > > On 10/06/2016 14:52, Mike Kerner wrote: > >> All, >> the latest phxdropbox library is now on my git repository. Dropbox >> changed >> an error

Re: csvToText Repository

2016-06-13 Thread Mike Kerner
Richard and Alex, do we have a preference for which license to release the code under? Peter was asking, on the dropbox thread, that we specify it. On Mon, Jun 13, 2016 at 9:10 AM, Paul Dupuis wrote: > On 6/13/2016 7:45 AM, Alex Tweedly wrote: > > Perhaps a more general feature requests would b

Re: LC and webviews

2016-06-13 Thread Lyn Teyla
Jerry Daniels wrote: > I just read this article about Basecamp's use of webviews in their mobile > (Android in this case) apps. It got me thinking about LiveCode's htmlText. > Does it use some sort of CSS? If so, can one be set in its stead? That's exactly the sort of thing the browser widget i

Re: LC and webviews

2016-06-13 Thread Earthednet-wp
Lynn, Thank you for explaining some of the possibilities of the browser widget. I'd sure love to eventually see some simple example stacks showing how to implement some of these features. I'm not a JavaScript programmer, but can generally get by with a new language once I have a "skeleton" app t

[ ANN ] Release 8.0.2 RC-2

2016-06-13 Thread panagiotis merakos
Dear list members, We are pleased to announce the release of LiveCode 8.0.2 RC-2. Getting the Release === You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents LiveCode 8.0.2 RC-2 contains 3 bu

Re: LC and webviews

2016-06-13 Thread me
I've been using the browser object usefully, but my question was about LC text fields which you may have answered, actually. Best, Jerry On Jun 13, 2016, 10:31 AM -0500, Earthednet-wp, wrote: > Lynn, > Thank you for explaining some of the possibilities of the browser widget. > > I'd sure love t

Re: [ANN] This Week in LiveCode 37

2016-06-13 Thread Richard Gaskin
Peter TB Brett wrote: > Read about new developments in LiveCode open source and the open > source community in today's edition of the "This Week in LiveCode" > newsletter! > > Read issue #37 here: https://goo.gl/kRiN37 > > This is a weekly newsletter about LiveCode, focussing on what's been > goi

Re: dropbox repositories: phxdropbox v. 1.12 and dropboxapi

2016-06-13 Thread Mike Kerner
Have a look, now. On Mon, Jun 13, 2016 at 9:54 AM, Mike Kerner wrote: > Good idea, and we will do that, moving forward. Thanks for the suggestion > to the git n00b > > On Mon, Jun 13, 2016 at 5:11 AM, Peter TB Brett > wrote: > >> >> >> On 10/06/2016 14:52, Mike Kerner wrote: >> >>> All, >>> th

Re: csvToText Repository

2016-06-13 Thread Richard Gaskin
Mike Kerner wrote: > Richard and Alex, do we have a preference for which license to > release the code under? Peter was asking, on the dropbox thread, > that we specify it. Good idea. Not only is Github strongly encouraging more explicit license declaration, but it's also just a good move to

Re: [ ANN ] Release 8.0.2 RC-2

2016-06-13 Thread Richard Gaskin
panagiotis merakos wrote: > We are pleased to announce the release of LiveCode 8.0.2 RC-2. Thanks for that. For those of us helping to test the latest feature release, any ETA on v8.1 DP2? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and t

Re: csvToText Repository

2016-06-13 Thread Alex Tweedly
I too have a preference for the MIT license. (Could you also correct the spelling of my name - on Github, you have an extra 'e' in Tweedley; Tweedly is enough. Thanks :-) Alex. On 13/06/2016 17:08, Richard Gaskin wrote: Mike Kerner wrote: > Richard and Alex, do we have a preference for whi

8.1.0 DP releases [was: Release 8.0.2 RC-2]

2016-06-13 Thread Peter TB Brett
On 13/06/2016 17:10, Richard Gaskin wrote: panagiotis merakos wrote: We are pleased to announce the release of LiveCode 8.0.2 RC-2. Thanks for that. For those of us helping to test the latest feature release, any ETA on v8.1 DP2? Sometime this week, probably. We were hoping to release it

Re: LC and webviews

2016-06-13 Thread Richard Gaskin
Lyn Teyla wrote: > You can create any sort of polished UI that can be accomplished using > web views, and use Angular, Bootstrap, and other established > web-based UI frameworks to speed up the process. > > You can place your UI code on a server and update it on the fly. We can do that with down

Modal stack on third screen

2016-06-13 Thread Skip Kimpel
How can I open a modal stack on a different screen. For instance, I have two screens. I want the modal stack that I initiate from my main standalone to open on the same screen that I have moved my main standalone to? Currently, if I launch my main application on screen one, move it over to scree

Re: Has anyone got to the end of the BMI Calculator example?

2016-06-13 Thread Graham Samuel
Just to let anyone interested know, the BMI example works a LOT better on LC 8.0.2 rc-1. There are still a few glitches, and I still had to press ‘fast forward’ once. But I did complete the example. It leaves me with many questions about widgets and what seems to me new syntax, and indeed how to

Re: csvToText Repository

2016-06-13 Thread Alex Tweedly
Sorry, Paul - I suspect I had seen that before, but forgotten it. It was a good idea back then, and still is :-) Though, if we are going to add some form of "with colkeys", I believe there should be a version which says that the first line of the input contains the column keys; thus you could

Re: LC and webviews

2016-06-13 Thread Alex Tweedly
On 13/06/2016 17:16, Richard Gaskin wrote: Lyn Teyla wrote: > You can create any sort of polished UI that can be accomplished using > web views, and use Angular, Bootstrap, and other established > web-based UI frameworks to speed up the process. > > You can place your UI code on a server and u

Re: LC and webviews

2016-06-13 Thread Richard Gaskin
Alex Tweedly wrote: > On 13/06/2016 17:16, Richard Gaskin wrote: >> Lyn Teyla wrote: >> >> > You can create any sort of polished UI that can be accomplished >> > using web views, and use Angular, Bootstrap, and other established >> > web-based UI frameworks to speed up the process. >> > >> > You

Re: Modal stack on third screen

2016-06-13 Thread Mike Bonner
add a preopenstack handler to the stack you're going to modal and set its location there. You should be able to use the loc of your manstack to set its position. On Mon, Jun 13, 2016 at 10:38 AM, Skip Kimpel wrote: > How can I open a modal stack on a different screen. For instance, I have > tw

Re: Problem with Player on Windows

2016-06-13 Thread Sannyasin Brahmanathaswami
I have been using the player for "decades" on mac and windows for audio only by locking the height to ~20 pixels and it has always been visible regardless of whether it has a filename or not. It also appears in 8 on mac. Let's see if it does better with the new player for windows in 8.1 otherwis

Re: Need Help With String Pattern Matching

2016-06-13 Thread Gregory Lypny
Hello Quentin, Thank you for the tips on string pattern matching. I’m used to Mathematica’s string pattern syntax, which is probably built on regex, but I can see the similarities in your nice examples, particularly the using of alternatives [Joe|Anges]. While Mathematica’s string functions are

'Coordinate' syntax

2016-06-13 Thread Graham Samuel
In the BMI example which introduces LC 8, there occurs this line of script: put the cHeight of this stack, the cWeight of this stack into tCoordinates This has the effect of putting two values (the values of the two custom props) separated by a comma into the variable ‘tCoordinates’. I was sur

Re: 'Coordinate' syntax

2016-06-13 Thread Dar Scott
The comma is an infix string concatenation operator much like & and &&. a,b is the same as a & comma & b Pretty handy. This can get you into trouble if you accidentally put parentheses around command parameters. You end up with one argument, a comma separated list. The compiler doesn't

Re: 'Coordinate' syntax

2016-06-13 Thread Graham Samuel
Funny, I never noticed, after all these years… Thanks, clarified. Graham > On 13 Jun 2016, at 23:46, Dar Scott wrote: > > The comma is an infix string concatenation operator much like & and &&. > > a,b > is the same as > a & comma & b > > Pretty handy. > > This can get you into troubl

LC8 - Stumbling into JSON

2016-06-13 Thread Graham Samuel
Sorry to be a pain, but again in the BMI example for LC 8 there is this function: function getBMI pHeight, pWeight put "http://api.clinicalcalculator.org/bmi?"; & "height_in_m=" & pHeight & "&weight_in_kg=" & pWeight into tURL put url tURL into tJSON put JsonImport(tJSON) into tArra

Re: LC8 - Stumbling into JSON

2016-06-13 Thread Sannyasin Brahmanathaswami
Not to trivialize the opacity of these things, but I used to resist JSON, but actually you can learn it in 10 minutes http://json.org/ It's actually much easier to grok in some ways than XML and now I prefer it to XML Sure there are deeper, more complex levels, but at a very simple level: Thi

[OT-ish] WWDC things of interest

2016-06-13 Thread Colin Holgate
The start of Apple’s WWDC was today. They announced a bunch of things. One of those was a rename to the OS, to be macOS instead of OS X , and they released the next version to developers (10.12 codename Sierra). I’m running that already! I tested LiveCodes 5, 6, 7,and 8, and all seem to open ok

Re: 'Coordinate' syntax

2016-06-13 Thread Mark Wieder
Graham Samuel writes: > Funny, I never noticed, after all these years… ...and if you find that surprising, you'll love the fact that you can also do that with return values: -- returns 100,200 function myPoint local x, y put 100 into x put 200 into y return x, y end myPoint -- Mark

Re: [OT-ish] WWDC things of interest

2016-06-13 Thread Mark Wieder
Colin Holgate writes: > > The start of Apple’s WWDC was today. They announced a bunch of things. > One of those was a rename to the OS, to be macOS instead of OS X , and > they released the next version to developers (10.12 codename Sierra). I’m > running that already! Also, they're opening up

Re: [OT-ish] WWDC things of interest

2016-06-13 Thread Colin Holgate
999 in Hong Kong (and the UK). > On Jun 13, 2016, at 7:07 PM, Mark Wieder wrote: > > Colin Holgate writes: > >> >> The start of Apple’s WWDC was today. They announced a bunch of things. >> One of those was a rename to the OS, to be macOS instead of OS X , and >> they released the next versio

Re: LC8 - Stumbling into JSON

2016-06-13 Thread Mark Wieder
Sannyasin Brahmanathaswami writes: > http://api.clinicalcalculator.org/bmi?height_in_m=1.778&weight_in_kg=68 > > returns a 2 dimensional array, 2 elements, each of which contains 2 elements > > {"result": > {"value":18.75, > "units":"kg/m^2" > }, > "request_fields": > {"height_

Re: [OT-ish] WWDC things of interest

2016-06-13 Thread Mark Wieder
Colin Holgate writes: > > 999 in Hong Kong (and the UK). > > > On Jun 13, 2016, at 7:07 PM, Mark Wieder wrote: > > > > (and you'll now be able to accidentally dial 911 from your watch) It's a joke in your town. -- Mark Wieder ahsoftw...@gmail.com ___

Re: LC8 - Stumbling into JSON

2016-06-13 Thread Peter W A Wood
Mark > On 14 Jun 2016, at 07:19, Mark Wieder wrote: > > And just FYI, for comparison the xml translation of that would be > > > >18.75 >kg/m@2 > > >2 >75 > > > Wouldn’t an XML purist come up with the following, making it much more time consuming to process?

Re: LC8 - Stumbling into JSON

2016-06-13 Thread Mark Wieder
Peter W A Wood writes: > Wouldn’t an XML purist come up with the following, making it much more time consuming to process? Yes, I was by no means suggesting doing this in xml. Just a hint as to meaning in case the json format was inscrutable. I think xml is only slightly more readable than csv.

jsonExport problem

2016-06-13 Thread Terry Judd
I¹m running into problems exporting a large multidimensional array to JSON using the jsonExport function in LC8. I¹ve been doing this successfully with other large datasets for a while now but there are particular elements in my current array that cause an error something like the following in the

Re: jsonExport problem

2016-06-13 Thread Dar Scott
> On Jun 13, 2016, at 6:34 PM, Terry Judd wrote: > > If I go through all of the array elements in turn it is possible to > identify the problem ones and I can Œfix¹ each of them by doing this... > > put empty after tData[] > > ...after which jsonExport() runs just fine. Maybe I'm just stating

Re: jsonExport problem

2016-06-13 Thread Terry Judd
Hi Dar - yeah, I wondered about that but the problem elements contain text or a mix of text and numbers so they really should be ok to start with. The weird thing is that I have two apps, which are essentially versions of the same project. Both use similar data files as input and both use jsonExpor

Re: [OT-ish] WWDC things of interest

2016-06-13 Thread Mark Smith
Colin Holgate-3 wrote > The most interesting thing that was shown overlaps somewhat with what > LiveCode is good for. Apple have a new app coming, called Swift > Playgrounds. It’s free, and it’s meant for people learning programming. > Here’s the info page on it: > > http://www.apple.com/swift/pla