Re: Taking quotes on building LC external for RethinkDB

2017-08-07 Thread Richard Gaskin via use-livecode
Yeah, I started to skim the security notes at , but when I got to this: The best way to secure a RethinkDB cluster is to run it on a protected network that doesn’t allow access from the outside world. However, this may not always be feasible.

Re: Understanding LiveCode Source [BOM Issue with livecodescript URLs]

2017-08-07 Thread Brian Milby via use-livecode
Thanks for the reply Mark. Since I don't have my own project in mind yet for LC, I'm taking the opportunity to spend some time on the IDE and source just to try to understand things. Since this was an error that I could easily reproduce and is something that is pretty easily understandable

Re: Sorting out the sheep from the goats

2017-08-07 Thread Richmond Mathewson via use-livecode
Cwm is Welsh; in English it is spelt "combe". On Aug 7, 2017 11:08 PM, "Jonathan Lynch via use-livecode" < use-livecode@lists.runrev.com> wrote: > And the obscure word "cwm" uses w as a vowel. > > Sent from my iPhone > > > On Aug 7, 2017, at 3:28 PM, Mike Kerner via use-livecode < >

SORT by length

2017-08-07 Thread Richmond Mathewson via use-livecode
I have a listField containing a number of words which I want to order so the longest comes first . . . doing this: sort lines of fld "myGuff" by length(each) sorts the words, but the shortest one comes first... Richmond. ___ use-livecode mailing

Re: Sorting out the sheep from the goats

2017-08-07 Thread Jonathan Lynch via use-livecode
Scrabble disagrees. Both words are in mainstream dictionaries as well. They are imported words. I think they are the only two words where W is a vowel. Of course, Scrabble considers zloty, qadi, and qwerty to be words. Sent from my iPhone > On Aug 7, 2017, at 6:17 PM, Richmond Mathewson via

Re: SORT by length

2017-08-07 Thread Jerry Jensen via use-livecode
So what did it do? With all those asterisks I can’t run it without retyping the whole thing. > On Aug 7, 2017, at 3:42 PM, Richmond Mathewson via use-livecode > wrote: > > That scr*wed up badly. > > I found this:

Re: Recursive folder creation

2017-08-07 Thread Tore Nilsen via use-livecode
+1 Tore > 7. aug. 2017 kl. 19:57 skrev Sannyasin Brahmanathaswami via use-livecode > >: > > 2) Does it make sense to ask for an enhancement request for the engine to > recursively create folders for a path where itemdel "/"

Re: Recursive folder creation

2017-08-07 Thread Tore Nilsen via use-livecode
Since we do not need to check whether a folder exists or not before creating it as LiveCode will not create duplicate folders, here is a script that will create nested folders: on mouseUp put specialFolderPath("desktop")& "/testFolder/testOne/test/result" into tFolder set the itemDel to

Re: Maximum size of SQLQuery with revDataFromQuery ?

2017-08-07 Thread Bob Sneidar via use-livecode
Query return data is more of a performance issue. The whole point to SQL is efficient data access, and a great deal of time is spend when teaching SQL on designing databases around that concept. It's one thing if you have columns with large blobs, but if you are talking about returning large

Re: Recursive folder creation

2017-08-07 Thread Brian Milby via use-livecode
Check out _revSBEnsureFolder in revSBLibrary for example code that does this. > > On Aug 7, 2017 at 12:57 PM, (mailto:use-livecode@lists.runrev.com)> wrote: > > > > Attempts to create a subfolder below a folder that does not exists fail. > Where folder

Re: Recursive folder creation

2017-08-07 Thread hh via use-livecode
> Brian wrote: > Check out _revSBEnsureFolder in revSBLibrary for example code that does this. Brian, WOW! This is great insight! on mouseUp put "/Users/admin/Documents/brian3/showed/us/the/trick/of/marcus/" into ff call "revSBEnsureFolder ff" of stack "revSBLibrary" launch document ff

Re: Sorting out the sheep from the goats

2017-08-07 Thread Mike Kerner via use-livecode
I think you have an error in your code samples. Your vowel set should be "aeiouandsometimesy" On Mon, Aug 7, 2017 at 1:56 PM, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks Tore and Mike. > > Richmond. > > > On 8/7/17 8:52 pm, Mike Bonner via use-livecode

Re: Recursive folder creation

2017-08-07 Thread Sannyasin Brahmanathaswami via use-livecode
I just came to this myself before coming back here put item -1 of pURL into tFile put item 1 to -2 of pURL into tFolder put tDF &"/" & tFolder into tCompletePath # loop to create sub folders # Of course we know tDF exists, # but we don't know about any folder after that

Re: Sorting out the sheep from the goats

2017-08-07 Thread Jonathan Lynch via use-livecode
And the obscure word "cwm" uses w as a vowel. Sent from my iPhone > On Aug 7, 2017, at 3:28 PM, Mike Kerner via use-livecode > wrote: > > I think you have an error in your code samples. Your vowel set should be > "aeiouandsometimesy" > > On Mon, Aug 7, 2017 at

Re: Maximum size of SQLQuery with revDataFromQuery ?

2017-08-07 Thread Mark Waddingham via use-livecode
Also using the query functions which allow iteration over the result set will minimise data transfer at any one point in time (assuming it's a decent client driver). Warmest Regards, Mark. Sent from my iPhone > On 7 Aug 2017, at 19:45, Bob Sneidar via use-livecode >

Re: Sorting out the sheep from the goats

2017-08-07 Thread Richmond Mathewson via use-livecode
Also a Welsh word, NOT an English one. Richmond. On 8/7/17 11:24 pm, Jerry Jensen via use-livecode wrote: And the musical instrument the crwth. On Aug 7, 2017, at 1:08 PM, Jonathan Lynch via use-livecode wrote: And the obscure word "cwm" uses w as a vowel.

RE: Sorting out the sheep from the goats

2017-08-07 Thread Ralph DiMola via use-livecode
Jonathan, I can't wait to use that one in scrabble against Margaret! Thanks... Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Jonathan Lynch via

Re: Sorting out the sheep from the goats

2017-08-07 Thread Jerry Jensen via use-livecode
And the musical instrument the crwth. > On Aug 7, 2017, at 1:08 PM, Jonathan Lynch via use-livecode > wrote: > > And the obscure word "cwm" uses w as a vowel. > > Sent from my iPhone > >> On Aug 7, 2017, at 3:28 PM, Mike Kerner via use-livecode >>

Re: Recursive folder creation

2017-08-07 Thread hh via use-livecode
> Bob wrote: > Wha??? I didn't know this existed. I have a need for that too! I use > a repeat loop to do this. I suppose that is what this function does as well. Here is it, for a "direct" call, in case revSBLibrary is not available. It does the same as Tore's (and probably your) script but is

Re: Sorting out the sheep from the goats

2017-08-07 Thread Richmond Mathewson via use-livecode
Wh, Cwme wn that's ridiculwus; everywne knwws that the English fwr "Cwm" is "cwmbe". This is Hwpeless! Richmwnd. On 8/8/17 1:23 am, Jonathan Lynch via use-livecode wrote: Scrabble disagrees. Both words are in mainstream dictionaries as well. They are imported words. I think they are the

Re: SORT by length

2017-08-07 Thread Richmond Mathewson via use-livecode
Thanks: that looks remarkably simple. I suppose the "trick" is knowing which word to look up in the Dictionary ;-) Richmond. On 8/8/17 1:29 am, Jerry Jensen via use-livecode wrote: From the dictionary entry for “sort”: If you don't specify a direction, the sort is ascending. One of the

Re: SORT by length

2017-08-07 Thread Richmond Mathewson via use-livecode
That scr*wed up badly. I found this: http://forums.livecode.com/viewtopic.php?f=9=10505#p48529 and modified it: *on**mouseUp* ** ***put**empty **into**rSortByLength* ** ***put**fld "CL" **into**tText* ** ***repeatfor**each word tLine in tText* ** ***put**tLine&","

Re: SORT by length

2017-08-07 Thread Terry Judd via use-livecode
sort lines of fld “myGuff” descending numeric by length(each) – should do it. Terry... On 8/08/2017 8:23 am, "use-livecode on behalf of Richmond Mathewson via use-livecode" wrote: I have a listField

Re: Sorting out the sheep from the goats

2017-08-07 Thread Lagi Pittas via use-livecode
I Tawt I Taw a Puddy Tat Lagi On 7 August 2017 at 23:26, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > Wh, Cwme wn that's ridiculwus; everywne knwws that the English fwr "Cwm" > is "cwmbe". > > This is Hwpeless! > > Richmwnd. > > > On 8/8/17 1:23 am, Jonathan

Re: SORT by length

2017-08-07 Thread Jerry Jensen via use-livecode
From the dictionary entry for “sort”: If you don't specify a direction, the sort is ascending. One of the following items: • ascending -sorts in ascending order • descending -sorts in descending order > On Aug 7, 2017, at 3:23 PM, Richmond Mathewson via use-livecode >

Re: Recursive folder creation

2017-08-07 Thread Bob Sneidar via use-livecode
Wha??? I didn't know this existed. I have a need for that too! I use a repeat loop to do this. I suppose that is what this function does as well. Bob S > On Aug 7, 2017, at 12:12 , hh via use-livecode > wrote: > >> Brian wrote: >> Check out _revSBEnsureFolder

Re: Sorting out the sheep from the goats

2017-08-07 Thread Jerry Jensen via use-livecode
Ahem, neither is LarrygubAndCheesemakemyfeetstink. > On Aug 7, 2017, at 3:17 PM, Richmond Mathewson via use-livecode > wrote: > > Also a Welsh word, NOT an English one. > > Richmond. > > On 8/7/17 11:24 pm, Jerry Jensen via use-livecode wrote: >> And the

[ANN] This Week in LiveCode 94

2017-08-07 Thread panagiotis merakos via use-livecode
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 #94 here: https://goo.gl/kEhwYs This is a weekly newsletter about LiveCode, focussing on what's been going on in and around

AW: How do you detect the necessary inclusions?

2017-08-07 Thread Tiemo Hollmann TB via use-livecode
Thank you for clearifying! Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von panagiotis merakos via use-livecode Gesendet: Montag, 7. August 2017 12:51 An: How to use LiveCode Cc: panagiotis

AW: How do I specify the papersize name for printing?

2017-08-07 Thread Tiemo Hollmann TB via use-livecode
One part of my question is answered. If I want to print on the standard paper, I may not specify the printpapersize, then the printer won't ask for a user specific paper. But if I am not sure, which paper is standard on the users printer, I have to define the size in case I need specific

How do I specify the papersize name for printing?

2017-08-07 Thread Tiemo Hollmann TB via use-livecode
Hello, how do I specify the paper name / the standard drawer of the printer? Right now I set the printpapersize to "595,842", which is "A4", but the printer stops with asking for a "user defined" paper. How can I tell the printer, that my print job is not a user defined paper, but just the

Re: Find & Replace

2017-08-07 Thread Richmond Mathewson via use-livecode
Aha: even more ludicrous: 2 competing Find & Replace stacks. For F's sake get rid of the wonky one and make sure that ALL menus get to the one that works! R. On 8/7/17 4:38 pm, Richmond Mathewson wrote: This is ludicrous! A tiny, wee window that does not even have room in the menu buttons

Find & Replace

2017-08-07 Thread Richmond Mathewson via use-livecode
This is ludicrous! A tiny, wee window that does not even have room in the menu buttons for the text that, having searched does NOT replace. BUG 20244 Because this does not function this costs me about 60 minutes everytime I convert a DEMO into a fully-functional version, Richmond.

Re: Taking quotes on building LC external for RethinkDB

2017-08-07 Thread Bob Sneidar via use-livecode
I was thinking the same thing. This isn't a database function per se, it's more like a sockets function. Bob S > On Aug 5, 2017, at 16:42 , Tom Glod via use-livecode > wrote: > > If you go to this page . the specs say that it all happens through an >

Re: How do I specify the papersize name for printing?

2017-08-07 Thread Bob Sneidar via use-livecode
That is an interesting question. Working with copiers, I know that the paper "name" (= size) have to match a built-in "name" in order for the printer to auto-print, otherwise the print job gets redirected to the bypass (manual feed) tray and held until a user hits the Go button. Sone drivers

Re: How do you detect the necessary inclusions?

2017-08-07 Thread panagiotis merakos via use-livecode
Hi Tiemo, - When you "Search for Inclusions", the standalone builder looks for keywords in the scripts of your objects, to detect a specific inclusion. For example if it finds it will automatically add SQLite in the Inclusions, - I think in LC 8 the first time you

Re: Taking quotes on building LC external for RethinkDB

2017-08-07 Thread Tom Glod via use-livecode
Hi Richard . like Alex said, there is no Rest api for RethinkDB. The folks at RethinkDB didn't want to expose the whole query language using a rest api, (if i recall correctly they said it is too powerful to do so)...so the driver only accepts queries via driver port and streams resulting

[OT] pretty folders

2017-08-07 Thread Colin Holgate via use-livecode
A marketing email just came in, about a custom folder icon maker. I don’t know what the normal price is, but $3 seems like a good deal, so I bought it. https://itunes.apple.com/us/app/folder-designer/id964860276

Re: Taking quotes on building LC external for RethinkDB

2017-08-07 Thread Tom Glod via use-livecode
to answer your question, the database cluster will be accepting connections and queries from clients directly. On Mon, Aug 7, 2017 at 11:51 AM, Tom Glod wrote: > Hi Richard . like Alex said, there is no Rest api for RethinkDB. The > folks at RethinkDB didn't want to

Re: How do you detect the necessary inclusions?

2017-08-07 Thread Mike Kerner via use-livecode
So in 8.1.6, if I have search selected, and then I do a build, and then I select manual, the auto-found ones are no longer selected? On Mon, Aug 7, 2017 at 7:53 AM, Tiemo Hollmann TB via use-livecode < use-livecode@lists.runrev.com> wrote: > Thank you for clearifying! > Tiemo > >

Script Editor Enhancment Variable name columns

2017-08-07 Thread Sannyasin Brahmanathaswami via use-livecode
In de-bug mode, SW variable tab/window/pane at the bottom… I am "forever" having to resize the left column, which typically has relatively short variable name strings it pURL tDF tFolder tPathtem etc. but the algorithm behind the column sizing appear to spit the window. it

Re: Sorting out the sheep from the goats

2017-08-07 Thread Tore Nilsen via use-livecode
I do not think that vowels are automatically detected, so you need to put the chars representing vowel sounds into a variabel tVowels . Run a repeat for each char tChar of the string and check if tChar is in tVowels, like this (using Norwegian vowels as an example) put “aeioyæøå” into tVowels

Re: Sorting out the sheep from the goats

2017-08-07 Thread Mike Bonner via use-livecode
typo, first line should be repeat for each char tChar in tVar -- where tvar has your string On Mon, Aug 7, 2017 at 11:52 AM, Mike Bonner wrote: > Repeat for each char tchar intVar > if tChar is among the items of "a,e,i,o,u" then > -- its a vowel > else >-- its not a

Recursive folder creation

2017-08-07 Thread Sannyasin Brahmanathaswami via use-livecode
Attempts to create a subfolder below a folder that does not exists fail. Where folder "nature" exists but folder "2017" does not, attempt to create folder "birds" below 2017 fail. put specialFolderPath["Documents"] into tDF # "/media/audio/nature" #these folders exist # /2017/birds" # does

Sorting out the sheep from the goats

2017-08-07 Thread Richmond Mathewson via use-livecode
Yes, here's "Mr Sanskrit" asking what is probably a very goofy question indeed: I have a series of long strings of characters such as: LarrygubAndCheesemakemyfeetstink and I would like a happy little routine that could trot along each string and, for each character (and this is ONLY confined

Re: Sorting out the sheep from the goats

2017-08-07 Thread Mike Bonner via use-livecode
Repeat for each char tchar intVar if tChar is among the items of "a,e,i,o,u" then -- its a vowel else -- its not a vowel. end if end repeat On Mon, Aug 7, 2017 at 11:42 AM, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > Yes, here's "Mr Sanskrit" asking what

Re: How do you detect the necessary inclusions?

2017-08-07 Thread Warren Samples via use-livecode
On 08/07/2017 11:50 AM, Mike Kerner via use-livecode wrote: So in 8.1.6, if I have search selected, and then I do a build, and then I select manual, the auto-found ones are no longer selected? It doesn't seem to work that way, in my experience, if I understand what you're implying. They are

Re: Maximum size of SQLQuery with revDataFromQuery ?

2017-08-07 Thread Tom Glod via use-livecode
i can't say for surebut wouldn't the limit be the "size" of a variable in lc? ...and i think you can cram as much into your variable as you want as long as you have the available ramor you don't hit some OS limitlike the one i love so much in windows. i've done some pretty large

Re: Sorting out the sheep from the goats

2017-08-07 Thread Richmond Mathewson via use-livecode
Thanks Tore and Mike. Richmond. On 8/7/17 8:52 pm, Mike Bonner via use-livecode wrote: typo, first line should be repeat for each char tChar in tVar -- where tvar has your string On Mon, Aug 7, 2017 at 11:52 AM, Mike Bonner wrote: Repeat for each char tchar intVar if

Re: Recursive folder creation

2017-08-07 Thread Richmond Mathewson via use-livecode
Well, lazy types like me would just create the folder "2017" followed by the folder "birds". Richmond. On 8/7/17 8:57 pm, Sannyasin Brahmanathaswami via use-livecode wrote: Attempts to create a subfolder below a folder that does not exists fail. Where folder "nature" exists but folder "2017"

Re: Recursive folder creation

2017-08-07 Thread Tore Nilsen via use-livecode
You can only create one folder at a time. You can not create nested folders in one go. So you need to do like this put tDF & "/media/audio/nature/2017/" into tFolder create folder tFolder put “birds” after tFolder create folder tFolder Regards Tore > > 7. aug. 2017 kl. 19:57 skrev Sannyasin