Re: Posting to LiveCode Server

2018-04-20 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > I was going to use LC Server until I realized there was a built in > httpd server library present in LC 9 I ditched LC server > mainly because it smokes LC server in performance. I would be interested in the details of that comparison, scripts and metrics. Despite

Re: Search a multidimensional array

2018-04-20 Thread Richard Gaskin via use-livecode
This is an interesting problem, Andrew. Thanks for posting it. One modest performance gain available easily may be to change this: repeat for each element tThisItem in tInventoryArray if tThisItem["description"] contains tSearchQuery then put tThisItem into

Re: OpenLanguage: abstract syntax trees

2018-04-20 Thread J. Landman Gay via use-livecode
I believe the team tried to get a backup of Mark's brain a while back, but they ran out of disk space and the computer crashed. They had to settle for copyrighting him and providing an extended health plan. On 4/20/18 1:06 PM, Bob Sneidar via use-livecode wrote: I was only proposing a

Re: OpenLanguage: abstract syntax trees

2018-04-20 Thread David Bovill via use-livecode
Unfortunately I just had a discussion with our CFO. The business model requires us to sound more impressive than we really are. So we will be mentioning a lot of buzz words, with casual references to Distributed Ledger Technology wherever possible. Marketing has decided it would be good to do in

Search a multidimensional array

2018-04-20 Thread Andrew Bell via use-livecode
Is there a quick way to search a large multidimensional array that I am missing? I'm working on an inventory system and trying to figure out some more efficient methods. Currently I'm taking a tab-delimited spreadsheet provided by the client and converting it to an array, but there are

Re: OpenLanguage: abstract syntax trees

2018-04-20 Thread David Bovill via use-livecode
Yes - I quite distinctly remember having this very discussion with Mark a few years back regarding the Bus Factor. Was clear at that time that a centralised backup was infeasible. I’m glad to say that new additions to the protocol have made possible decentralised solutions to this conundrum.

Re: OpenLanguage: abstract syntax trees

2018-04-20 Thread Mike Kerner via use-livecode
you forgot the most important part of that, the dumbItDownForUsN00bz() function On Fri, Apr 20, 2018 at 10:50 AM, David Bovill via use-livecode < use-livecode@lists.runrev.com> wrote: > Good idea. > > Or a podcast. Yes that is what we should do. I’ll send you an invite Mark > and describe the

Re: Search a multidimensional array

2018-04-20 Thread Bob Sneidar via use-livecode
Andrew, you don't peruse this list much, do you? :-) A recent thread has been going on about just this issue. The upshot is that one pass through the array is obviously needed for the sqLite conversion, but after that multiple queries can be done much more efficiently. I have code already

Re: Has Anyone Got A Directory "Walker" Available

2018-04-20 Thread Richard Gaskin via use-livecode
You may recall the dreaded recursion errors that have cropped up in discussions of directory walkers. They happen not because anyone has directory trees > 40,000 folders deep, but because a permissions restriction can prevent going into a subdirectory, causing the current directory to be

Re: OpenLanguage: abstract syntax trees

2018-04-20 Thread Bob Sneidar via use-livecode
I was only proposing a possible framework. Obviously, Mark's brain is so complex (perhaps convoluted might be a better term) that the project may require millions of years and the 2nd most powerful computer ever devised in any space time to accomplish this task. Knowing the frustration of those

Re: Contributing to the IDE

2018-04-20 Thread Geoff Canyon via use-livecode
On Fri, Apr 20, 2018 at 2:46 AM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > > You might make a change to a file which looks identical in 9 and 9.1 - but > how do you know it will work in 9.1 without running it in 9.1? ​As someone who was, until about four months

Re: OpenLanguage: abstract syntax trees

2018-04-20 Thread Mark Wieder via use-livecode
On 04/20/2018 12:10 PM, David Bovill via use-livecode wrote: Yes - I quite distinctly remember having this very discussion with Mark a few years back regarding the Bus Factor. Was clear at that time that a centralised backup was infeasible. I’m glad to say that new additions to the protocol

Re: Search a multidimensional array

2018-04-20 Thread Alex Tweedly via use-livecode
On 20/04/2018 20:15, Richard Gaskin via use-livecode wrote: This is an interesting problem, Andrew.  Thanks for posting it. Indeed! One modest performance gain available easily may be to change this:   repeat for each element tThisItem in tInventoryArray if

Re: Search a multidimensional array

2018-04-20 Thread MWCM via use-livecode
I tried to be a good developer and search the list before posting: multidimensional array search turned up some posts from 2014 but most “sort array” searches only returned single dimensional array options. I just started using encodedArrays on a recent project and fell in love with the

Re: Search a multidimensional array

2018-04-20 Thread Andrew Bell via use-livecode
THANK YOU for the recommendation! It took 4 seconds to convert this giant array to an SQLlite DB that could be queried in a heartbeat. You just took this project from proof of concept to prototype. My apologies to the list, I vaguely remember seeing that thread but didn't recall the title

Re: some thoughts on version 9.0.0

2018-04-20 Thread Douglas Ruisaard via use-livecode
Maybe, Panos... BUT what if someone (like me!) is using one of those "disappearing" inks (sorry for the pun!). The number of inks which were removed is HUGE! I'm supposed to go back to all of my project and live apps and find and replace them??? I don't think so! Doug >>>Hi all,

Re: OpenLanguage: abstract syntax trees

2018-04-20 Thread David Bovill via use-livecode
Hmmm. That is problematic. I think the author must have had some intimate experience of devops. On 20 April 2018 at 20:35, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 04/20/2018 12:10 PM, David Bovill via use-livecode wrote: > >> Yes - I quite distinctly remember

Re: some thoughts on version 9.0.0

2018-04-20 Thread Richmond Mathewson via use-livecode
As has been pointed out in the Forums: as new LiveCode versions come out with new capabilities and new features quite a few of the features available in previous versions are removed: this may well be, as has been explained, the necessary cost of the new features. About 4 years ago I had to

Re: some thoughts on version 9.0.0

2018-04-20 Thread Monte Goulding via use-livecode
> On 21 Apr 2018, at 7:54 am, Douglas Ruisaard via use-livecode > wrote: > > Maybe, Panos... BUT what if someone (like me!) is using one of those > "disappearing" inks (sorry for the pun!). The number of inks which were > removed is HUGE! I'm supposed to

Title Case

2018-04-20 Thread Sannyasin Brahmanathaswami via use-livecode
What to the simplest way to "sentence case" a create a sentence title in use toUpper to convert to A Create A Sentence Title… BR ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: Title Case

2018-04-20 Thread Mike Bonner via use-livecode
Something like this might work.. put "a create a sentence title" into tTitle repeat with i = 1 to the number of truewords in tTitle put toupper(char 1 of trueword i of tTitle) into char 1 of trueword i of tTitle end repeat put tTitle -- the adjusted case sentence If you have words that you

Re: Contributing to the IDE

2018-04-20 Thread Geoff Canyon via use-livecode
On Fri, Apr 20, 2018 at 1:08 AM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > What you are asking for is slightly different: "How do I make it so that I > can modify the IDE in a pre-built distribution and submit patches/PR from > that". > > The main issue here (and

Re: Contributing to the IDE

2018-04-20 Thread Mark Waddingham via use-livecode
On 2018-04-20 11:15, Geoff Canyon via use-livecode wrote: ​I get that -- my point is that *many* of the IDE script files are unchanged from 9.0 release to the current(?) develop branch. So working on files in 9.0, making changes, and then submitting a pull request, unless git somehow makes

Re: OpenLanguage: abstract syntax trees

2018-04-20 Thread Mark Waddingham via use-livecode
On 2018-04-19 09:57, David Bovill via use-livecode wrote: So let's ask some dumb questions: 1. Is there an abstract syntax tree (AST) for the Livecode language? Yes - the AST is defined by the set of syntax classes in the engine source-code (such as MCAnswer, MCMinus, MCProperty).

Re: Contributing to the IDE

2018-04-20 Thread Geoff Canyon via use-livecode
Thanks, I'm going to give this a shot, probably tomorrow. gc On Thu, Apr 19, 2018 at 8:17 PM, Brian Milby via use-livecode < use-livecode@lists.runrev.com> wrote: > I will add that building from source is not that hard for Mac or Linux > (have not tried Windows). I didn’t know what platform you

Re: Contributing to the IDE

2018-04-20 Thread Mark Waddingham via use-livecode
On 2018-04-20 10:39, Geoff Canyon via use-livecode wrote: ​Sorry, one other point: yes, you are correct, working from a pre-built distribution is exactly the question I was asking, and if the only issue is syncing the IDE files with the development versions, that seems like a small issue: many

Re: Contributing to the IDE

2018-04-20 Thread Monte Goulding via use-livecode
> On 20 Apr 2018, at 6:29 pm, Geoff Canyon via use-livecode > wrote: > > Two questions: > > 1. Are older versions closed to changes? If I find a bug in LC 8.1.8 (or > some update to it) is it pointless to fix the bug and submit a pull request? If it is still

Re: Contributing to the IDE

2018-04-20 Thread Mark Waddingham via use-livecode
On 2018-04-20 10:29, Geoff Canyon via use-livecode wrote: Thanks for the clear rationale. I'll take a shot at building the whole thing tomorrow. I should have mentioned in my post (although I think Monte made it clear) that docs can be done entirely on GitHub. Doc entries are a special case

Re: Contributing to the IDE

2018-04-20 Thread Geoff Canyon via use-livecode
On Fri, Apr 20, 2018 at 1:49 AM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > >> > Yes - my point about the engine and IDE versions being mutually dependent > :) ​I get that -- my point is that *many* of the IDE script files are unchanged from 9.0 release to the

Re: Contributing to the IDE

2018-04-20 Thread Mark Waddingham via use-livecode
On 2018-04-17 03:44, Geoff Canyon via use-livecode wrote: Are there instructions available somewhere on how to set up the IDE in GitHub so I can make changes and submit pull requests? Not in the way you are trying to - no. Pretty much all our documentation is centered around the initial step

Re: Contributing to the IDE

2018-04-20 Thread Geoff Canyon via use-livecode
Thanks, on the basis of this document I *think* I was able to submit a pull request for an update to the documentation for the itemOffset function. We'll see if that's what I really did, and if successfully so. I'd highly recommend removing/updating the reference to a specific version in this

Re: Contributing to the IDE

2018-04-20 Thread Geoff Canyon via use-livecode
Thanks for the clear rationale. I'll take a shot at building the whole thing tomorrow. Two questions: 1. Are older versions closed to changes? If I find a bug in LC 8.1.8 (or some update to it) is it pointless to fix the bug and submit a pull request? 2. Is it fair to submit IDE pull requests

Re: Contributing to the IDE

2018-04-20 Thread Monte Goulding via use-livecode
> ​Sorry, one other point: yes, you are correct, working from a pre-built > distribution is exactly the question I was asking, and if the only issue is > syncing the IDE files with the development versions, that seems like a > small issue: many of the files at >

Lynda.com

2018-04-20 Thread Jacques Hausser via use-livecode
We just got Lynda.com available free for faculty and students in my University (online learning in every possible field). I looked if they have something about liveCode… at first view, I didn’t find anything ! Would be a good place to put some material to teach liveCode and

Re: some thoughts on version 9.0.0

2018-04-20 Thread Keith Martin via use-livecode
On 19 Apr 2018, at 17:00, Douglas Ruisaard via use-livecode wrote: Next is the significant decrease in the "Ink" choices... I've found (by process of elimination) the "notSrcOrReverse" ink works for me in several situations there ain't no such thing in v9.0.0. Yep, I found that strange

Re: some thoughts on version 9.0.0

2018-04-20 Thread panagiotis merakos via use-livecode
Hi all, The inks that were removed were legacy inks which were deprecated a long time ago, and were not supported in the version of Skia library that LC 9.0 uses. Best, Panos -- On Fri, Apr 20, 2018 at 11:20 AM, Keith Martin via use-livecode < use-livecode@lists.runrev.com> wrote: > On 19 Apr

Re: Contributing to the IDE

2018-04-20 Thread Niggemann, Bernd via use-livecode
>Monte Goulding via >use-livecode<https://www.mail-archive.com/search?l=use-livecode@lists.runrev.com=from:%22Monte+Goulding+via+use%5C-livecode%22> > Fri, 20 Apr 2018 01:49:50 >-0700<https://www.mail-archive.com/search?l=use-livecode@lists.runrev.com=date:20180420> &g

Re: some thoughts on version 9.0.0

2018-04-20 Thread James Hale via use-livecode
My error. Yes the first badge takes you to the now empty behavior button. BUT the second badge does indeed open the script only stack. no bug, just me not moving further along the chain of badges. The badges follow along the chain as advertised. >> On 20 Apr 2018, at 1:41 pm, James At The

Re: OpenLanguage: abstract syntax trees

2018-04-20 Thread Bob Sneidar via use-livecode
What is needed for this is for someone to write a Waddingham Knowledge Extractor API, which would probably involve wtiting an intermediate Waddingham Syntax Distiller (and advanced kind of DSL in it's own right) as well as a mind wave to digital conversion device. To my mind, the latter has not

Re: OpenLanguage: abstract syntax trees

2018-04-20 Thread David Bovill via use-livecode
Good idea. Or a podcast. Yes that is what we should do. I’ll send you an invite Mark and describe the topic + projects that will go on the show. On Fri, 20 Apr 2018 at 15:46, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > What is needed for this is for someone to write