Re: On-Rev server Pancake problems - old backup restored?

2015-04-30 Thread Dave Kilroy
Glad to hear that some of you are getting your data back - I'm still completely stuffed. No email, no websites, no mysql, no web services - I can't sign into cpanel - for most of yesterday my websites were showing 13-month old data, but from sometime in the evening all data has gone. Are there an

Re: On-Rev server Pancake problems - old backup restored?

2015-04-30 Thread AndyP
My sites are still showing 2014 data, this is taking way too long to sort and the feedback from LiveCode has in my opinion been very poor. Surely it would not be too much trouble to have server status issue info out up on the server status page? - Andy Piddock My software never has bugs.

Re: HTML5...

2015-04-30 Thread stephen barncard
Our friend Richmond often will state the unsaid, the 'Elephant In the Room'. He is the 'everyman' programmer that's not afraid to ask the obvious questions no one else asks. That's why we love Richmond here, especially the 'verbosity'. How many times have I read one of his threads and spit out cof

Re: [ANN} - LiveCode MiniTest

2015-04-30 Thread Peter W A Wood
On 30 Apr 2015, at 16:35, Peter W A Wood wrote: > > I have written a few automated test scripts to test elements of LiveCode. The > testing commands and the tests were all in a single script. I’m now about to > modernise a stack I use personally and want to develop a set of tests for it > as I

Re: Repeat ... kind'a

2015-04-30 Thread Scott Rossi
As an alternative, you might consider using the more ubiquitous /* ... */ form to comment out large blocks of code. The biggest benefit is no extra characters in front of each line, but you do need to add the (4) characters manually. Regards, Scott Rossi Creative Director Tactile Media UX/UI

Plain text library stacks - BOM needed

2015-04-30 Thread Peter W A Wood
On 23 Apr 2015, at 15:59, Mark Waddingham wrote: > > You can save the stack in the normal way but the only thing it will save will > be the stack script - the file on disk is just a UTF-8 text file. I’ve found that when LiveCode saves the stack script file, it adds a Byte Order Mark (BOM) to d

Re: Repeat ... kind'a

2015-04-30 Thread Terry Dennis
Craig Newman: re: I would cringe if I saw someone using a reserved word as a variable, and blanch if that word was as deep and embedded as "true". You are lucky the machine did not explode. What the heck are you talking about? It was a TEST script created to show the glitch. My real script loo

Re: On-Rev server Pancake problems - old backup restored?

2015-04-30 Thread Richard Gaskin
It's a fun article, but somewhat unfair to all the other HDD manufacturers. BackBlaze puts their drives through a level of use far beyond what just about any home user will ever need, so seeing shorter MTTF for Seagate doesn't make me not want a Barracuda. TechReport recently ran a stress tes

Re: On-Rev server Pancake problems - old backup restored?

2015-04-30 Thread Jerry Jensen
Thanks, Richard. Interesting data in that article. I’ve been buying HGST Ultrastar drives. I’m surprised to not see them mentioned in the article. I prefer them for their 5 year warranty, which implies that they may last longer. The price difference is not much compared to what a failure costs i

Re: On-Rev server Pancake problems - old backup restored?

2015-04-30 Thread Alex Shaw
Thanks Richard, good to know. I replaced a harddrive in a 2008 Macbook Pro early last year with a HGST and it has been running solidly ever since. Might be time to investigate some for the mini server we use internally. regards alex On 1/05/2015 11:39 am, Richard Gaskin wrote: Alex Shaw wro

Re: On-Rev server Pancake problems - old backup restored?

2015-04-30 Thread Richard Gaskin
Alex Shaw wrote: Very inconvenient but it's too easy to get upset about these things. I've certainly had my fair share of hardware problems so.. Apparently the key is to buy Hitachi/HGST: -- Richard Gaskin Fourth World Systems Software De

Re: On-Rev server Pancake problems - old backup restored?

2015-04-30 Thread PystCat
You’re one of the lucky ones… I’m still missing a lot… email, FTP setup and a MySQL database… I’m sure they’re doing everything they could. > On Apr 30, 2015, at 9:35 PM, Alex Shaw wrote: > > Thanks Marty. > > Very inconvenient but it's too easy to get upset about these things. > > I've cer

Re: On-Rev server Pancake problems - old backup restored?

2015-04-30 Thread Alex Shaw
Thanks Marty. Very inconvenient but it's too easy to get upset about these things. I've certainly had my fair share of hardware problems so.. ¯\_(ツ)_/¯ regards alex On 1/05/2015 10:35 am, Marty Knapp wrote: I'm back up - didn't need to do anything on my end and everything seems to be back t

Docker, anyone?

2015-04-30 Thread Richard Gaskin
Has anyone here experimented with making a Docker container for a LiveCode socket server? http://www.docker.com/ Richard Gaskin Fourth World Systems http://fourthworld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this ur

Re: On-Rev server Pancake problems - old backup restored?

2015-04-30 Thread Marty Knapp
I'm back up - didn't need to do anything on my end and everything seems to be back to normal, including my blood pressure! Marty K Hi I wanted to keep this off the mailing list but I'm still have no email capacity or website.. and no answers from on-rev support. Getting a bit anxious so hop

Re: On-Rev server Pancake problems - old backup restored?

2015-04-30 Thread Alex Shaw
Hi I wanted to keep this off the mailing list but I'm still have no email capacity or website.. and no answers from on-rev support. Getting a bit anxious so hopefully someone has their service going and can answer a few questions. As far as I know Pancake has been migrated to Jasmine. I've

Re: Repeat ... kind'a

2015-04-30 Thread Peter Haworth
I ran into a similar situation once with a leftover "break" command when converting a switch statement to a series of if statements. Might be worth including that in the QCC report Pete lcSQL Software Home of lcStackBrowser and SQL

Re: Repeat ... kind'a

2015-04-30 Thread Richard Gaskin
Terry Dennis wrote: > Much fiddling later, I discovered the issue. It was a runtime > “oops”. > Check out the following code snippet, which shows the execution > error. I threw it into button “Capture”s script: > > on testOOPS >put 1 into t1 -- Superfluous for testing purposes >put 2 i

Re: Something like charIndex, but in a variable...

2015-04-30 Thread Alex Tweedly
Not quite so straightforward, but you can do function getCharIndexByLineToken pVar, pLine, pToken local temp put the number of chars in line 1 to (pLine-1) of pVar into temp add 1 to temp -- for the CR between lines 14 and 15 !! add the number of chars in token 1 to (pToken-1) of line

Re: Displaying Web Pages in a Field

2015-04-30 Thread Scott Rossi
Using htmlText may not render the page layout described in the HTML. You'd probably need to use the browser object and set the URL of the browser to the local file to see the page rendered correctly. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/30/15, 2:29 PM, "Devi

Re: Displaying Web Pages in a Field

2015-04-30 Thread Devin Asay
On Apr 30, 2015, at 2:31 PM, Gregory Lypny wrote: > Hi everyone, > > I’m a little rusty, so please excuse the lame question. I have some text > files that are downloaded web pages. How can I display them in a stack field > to look something like they do in a browser, that is, without the HTML

Re: question re mobilePick

2015-04-30 Thread EED-wp Email
Ahhh, thanks, Ralph. Got it. Bill William Prothero http://ed.earthednet.org > On Apr 30, 2015, at 2:23 PM, Ralph DiMola wrote: > > I believe that you must use a style of "checkmark" for initialIndex to work. > > 1-based means if: > line 1 is "picked" then 1 is returned. > line 2 is "picked" th

RE: question re mobilePick

2015-04-30 Thread Ralph DiMola
I believe that you must use a style of "checkmark" for initialIndex to work. 1-based means if: line 1 is "picked" then 1 is returned. line 2 is "picked" then 2 is returned... 0-based means if: line 1 is "picked" then 0 is returned. line 2 is "picked" then 1 is returned. Ralph DiMola IT Direc

Re: Something like charIndex, but in a variable...

2015-04-30 Thread Walt Brown
Sorry to be so dense but can you colorize text without a field? Or are you running through the text as an XML tree (either Rev's or your own) or manually editing HTML text behind the scenes and adding a colorization attribute? On Thu, Apr 30, 2015 at 4:32 PM, Malte Brill wrote: > Thanks for all

Something like charIndex, but in a variable...

2015-04-30 Thread Malte Brill
Thanks for all the suggestions. Need some time to try them out. I really like Thierrys RegEx approach and the others look promissing too. @Walt: In the real live Scenario I try to colorize Structured Data (e.G. XML, but others too). I need to walk through the whole dataset token by token and re

Displaying Web Pages in a Field

2015-04-30 Thread Gregory Lypny
Hi everyone, I’m a little rusty, so please excuse the lame question. I have some text files that are downloaded web pages. How can I display them in a stack field to look something like they do in a browser, that is, without the HTML tags showing? Regards, Gregory _

Re: Release 6.7.5 RC 1 / 7.0.5 RC 1

2015-04-30 Thread Chris Sheffield
Mark, Thank you for the explanation. Very helpful. I’m trying it out now. :) > On Apr 30, 2015, at 12:39 PM, Mark Waddingham wrote: > > On 2015-04-30 20:32, Chris Sheffield wrote: > >> First, how do we determine the PostScript names of fonts? The Release >> Notes say to reference Font Book, b

Re: Something like charIndex, but in a variable...

2015-04-30 Thread Walt Brown
I'm not sure I get it Malte. If you already know which line your target is on, then just limit the chunk expression to that line. On Thu, Apr 30, 2015 at 10:51 AM, wrote: > Malte. > > > Just so. Too fast on keyboard, too slow in brain. How about this: > > > > on mouseUp >put fld 1 into temp

Re: Repeat ... kind'a

2015-04-30 Thread Mike Bonner
since exit repeat can technically be a "stand alone" type of statement, it indeed might only be caught on execution. I'm with you though, it would be better if the engine looked to make sure it was actually inside a repeat loop. Having said that, if you do a function call that checks things, I th

Re: Repeat ... kind'a

2015-04-30 Thread dunbarx
I would cringe if I saw someone using a reserved word as a variable, and blanch if that word was as deep and embedded as "true". You are lucky the machine did not explode. Try this: on mouseUp --put "66" into true -- uncomment, and you will get a compile-time error, never mind run-time

Repeat ... kind'a

2015-04-30 Thread Terry Dennis
I copied a section of script from within a complex “repeat” loop within a complex function into another, smaller and less complex inline function. So far, so good. Then, I ran into a condition in the new function that happens about once every 500 records, and only under a rare set of circumsta

Re: HTML5...

2015-04-30 Thread Mark Waddingham
On 2015-04-30 21:08, Colin Holgate wrote: I bet you type your replies quicker than most too. Not as quick as Kevin! -- Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps ___ use-livecode mailing list us

Re: Substack vs. Library Stack

2015-04-30 Thread Peter Haworth
Hi Bill, Well I certainly agree with your comment about being cumbersome to edit large scripts in one editor window. and I can see why your substack idea would make it easier to manage/edit smaller scripts. In fact I might take a look at that idea myself but utilizing a separate library mainstack

Re: Substack vs. Library Stack

2015-04-30 Thread William Prothero
Peter: Yeah, but it’s very cumbersome to deal with thousands of lines of code in one edit window. And, then I can divide the substacks by functionality and pull what I need for other applications. Bill > On Apr 30, 2015, at 8:19 AM, Peter Haworth wrote: > > Hi Bill, > There's nothing wrong wit

question re mobilePick

2015-04-30 Thread William Prothero
Folks: I am using mobilePick to select from a list of data, in iOS. I can’t seem to get the initialIndex to work. The API Dictionary says: initialIndex - The (1-based) index of the item to be initially highlighted. I was assuming that this was just the line number of the optionList, but since

Re: HTML5...

2015-04-30 Thread Colin Holgate
I bet you type your replies quicker than most too. > On Apr 30, 2015, at 3:04 PM, Mark Waddingham wrote: > >> 2. Verbose. Always . . . > > I think it would hypocritical for me to make any comment on the verbosity of > anyone else - so I won't ;) __

Re: HTML5...

2015-04-30 Thread Mark Waddingham
1. My message was only mildly offensive (obviously you are not very well acquainted with my track record), and it was intended to be so, as expereince has shown me that a mildly offensive message gets results. My message did: within a matter of minutes Kevin was there on the button, Bless him!

Re: Release 6.7.5 RC 1 / 7.0.5 RC 1

2015-04-30 Thread Mark Waddingham
On 2015-04-30 20:32, Chris Sheffield wrote: First, how do we determine the PostScript names of fonts? The Release Notes say to reference Font Book, but I’m not sure that always shows PostScript names. For example, in one app I have a field that uses the font Helvetica Neue Condensed Bold. This i

Re: Release 6.7.5 RC 1 / 7.0.5 RC 1

2015-04-30 Thread Terence Heaford
Not working in IOS but I presume in Font Book you visit the View/Show Font Info in the menu and PostScript Name is the top of the list. All the best Terry > On 30 Apr 2015, at 19:32, Chris Sheffield wrote: > > First, how do we determine the PostScript names of fonts? ___

Re: Release 6.7.5 RC 1 / 7.0.5 RC 1

2015-04-30 Thread Chris Sheffield
I want to try out the new font mapping feature for iOS, but I’m a little confused. Wondering if someone has played with it yet and can offer a few pointers, or maybe someone from LiveCode can, if no one else does. :-) First, how do we determine the PostScript names of fonts? The Release Notes sa

Re: HTML5...

2015-04-30 Thread Richmond
On 29/04/2015 20:06, Richmond wrote: > It is very odd that having run that Kickstarter campaign we have heard nothing > about the HTML5 thing at all. > > http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0CC0QFjAC&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FTake_t

Re: What is driving the MB of a stack?

2015-04-30 Thread J. Landman Gay
On 4/30/2015 9:17 AM, dfepst...@comcast.net wrote: While poking around, I noticed that many but not most controls and groups, when I get "the customPropertySets" of them, return the value "cREVGeneral", although when I look for this in the property inspector I do not find it. What causes this cu

Re: Something like charIndex, but in a variable...

2015-04-30 Thread Peter Haworth
For those whose eyes glaze over when looking at regexp, it seems Jacque's suggestion of the offset function making use of the chars to skip easily solves this problem. I don;t have the original post in front of me so can't remember if the objective was to find the last occurrence of the character

Re: Something like charIndex, but in a variable...

2015-04-30 Thread Peter Brigham
Here's a function I use all the time, which may come in handy: function offsets str, pContainer -- returns a comma-delimited list of all the offsets of str in pContainer -- returns 0 if not found -- note: offsets("xx","xx") returns "1,3,5" not "1,2,3,4,5" -- ie, overlapping of

Re: Something like charIndex, but in a variable...

2015-04-30 Thread Ben Rubinstein
On 30/04/2015 09:07, Malte Brill wrote: I need to find the start and end character of chuncks in a variable. If we are in a field we can use charIndex for that. However, in a variable I have no good idea on how to do something similar to get charIndex(token 7 of line 15 of field „myField“) (

Re: Substack vs. Library Stack

2015-04-30 Thread Peter Haworth
Hi Bill, There's nothing wrong with what you're doing but you can get the same functionality by putting your "library " handlers in your mainstack script, no need to start using it then. Pete lcSQL Software On Apr 29, 2015 3:30 PM, "William Prothero" wrote: > Peter: > Ok, if that makes it a libr

Re: Something like charIndex, but in a variable...

2015-04-30 Thread Thierry Douez
> orange banana tomato > banana tomato orange > tomato banana orange Experimenting with regex... Sorry, couldn't resist :) function MalteCharIndex T, nWord, nLine,@p1, @p2 get format( "(?mx)(?: .*? \\n){%d} (?: (\\w+) [\\W]*){%d}", nLine -1, nWord) return matchChunk( T, IT, p1, p2) end

Re: Something like charIndex, but in a variable...

2015-04-30 Thread dunbarx
Just so. Too fast on keyboard, too slow in brain. How about this: on mouseUp put fld 1 into temp get the number of chars of word 1 to 8 of temp -- first char answer it & "," & the number of chars of word 8 of temp + it end mouseUp Craig -- View this message in context: http:

Re: Something like charIndex, but in a variable...

2015-04-30 Thread dunbarx
Malte. Just so. Too fast on keyboard, too slow in brain. How about this: on mouseUp put fld 1 into temp get the number of chars of word 1 to 8 of temp -- first char answer it & "," & the number of chars of word 8 of temp + it end mouseUp Craig Will hilite the first b instead of t

Re: Something like charIndex, but in a variable...

2015-04-30 Thread J. Landman Gay
Will the offset function work? put the number of chars in line 1 to 14 of tVar into tCount put offset(startChar, line 15 of tVar) + tCount into tStart put offset(endChar, line 15 of tVar) + tCount into tEnd On April 30, 2015 3:07:05 AM CDT, Malte Brill wrote: >Hi all, > >I need to find the s

Re: What is driving the MB of a stack?

2015-04-30 Thread dfepstein
Thanks to Scott Rossi and Richard Gaskin for their suggestions, which led me to the problem (large block of data stored as a custom property of a substack).   While poking around, I noticed that many but not most controls and groups, when I get "the customPropertySets" of them, return the v

Something like charIndex, but in a variable...

2015-04-30 Thread Malte Brill
Hi all, thanks for the replies so far. The problem with both matchChunk and offset are, that they will return the first occurance of the literal. So in a text like this: orange banana tomato banana tomato orange tomato banana orange on mouseUp local temp,tChar put fld 1 into temp put

Re: Keeping a mobile app alive

2015-04-30 Thread Earthednet-wp
Thanks, John! Bill William Prothero http://es.earthednet.org > On Apr 29, 2015, at 10:40 PM, John Dixon wrote: > > By default, iOS will dim the screen and eventually lock the device after > periods of no user interaction. > To control this behavior, use the following commands: > > iphoneLockI

Re: Something like charIndex, but in a variable...

2015-04-30 Thread dunbarx
How about this, assuming the chunk you want is the second word: on mouseUp put fld 1 into temp answer offset(char 1 of word 2 of temp,temp) answer offset(char (the number of chars of word 2 of temp) of word 2 of temp,temp) end mouseUp Craig -Original Message- From: Mark Sc

Re: HTML5...

2015-04-30 Thread David Bovill
True Ben. It also takes time for a culture to change. Livecode is now an open source project. That's a big shift in processes, people and perception. I also would like to see a faster shift towards open discussion of progress and targets. We are still a bit in an in-house engineering culture, with

Re: On-Rev server Pancake problems - old backup restored?

2015-04-30 Thread Heather Laine
Dear folks, We are currently working as fast as possible to resolve this issue. I will be responding personally to the tickets in the on-rev queue as I now have some information to give you. Please be assured we have a very recent backup of accounts which is what we are using for the restoratio

Re: Something like charIndex, but in a variable...

2015-04-30 Thread Mark Schonewille
Hi Malte, If using a field is the only solution, try the templateField. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 30 apr. 2015 om 10:07 he

Re: Something like charIndex, but in a variable...

2015-04-30 Thread Walt Brown
Best I could do is: *on* mouseUp *local* tVar, tStart, tEnd *put* fld "fData" into tVar *get* matchChunk(tVar, "(" & word 8 of tVar & ")", tStart, tEnd) *answer* tStart & comma && tEnd *end* mouseUp On Thu, Apr 30, 2015 at 4:07 AM, Malte Brill wrote: > Hi all, > > I need to find the start

Re: On-Rev server Pancake problems - old backup restored?

2015-04-30 Thread PystCat
It doesn't cost anything to ring the bell but time. Since none of the guys from the mothership were there, it didn't even cost the plane trip over for them. > On Apr 30, 2015, at 3:35 AM, Matthias Rebbe | M-R-D > wrote: > > I am seriously thinking of leaving the On-Rev platform. > > I hav

Re: Release 6.7.5 RC 1 / 7.0.5 RC 1

2015-04-30 Thread Matthias Rebbe | M-R-D
Hi Sebastien, thank you very much for a workaround. Building an iOS app with mergExt externals was successful now. Regards, Matthias > Am 30.04.2015 um 12:05 schrieb Sebastien Nouat >: > > On 30/04/2015 10:19, Matthias Rebbe | M-R-D wrote: >> Sebastien, >

Re: Release 6.7.5 RC 1 / 7.0.5 RC 1

2015-04-30 Thread Sebastien Nouat
On 30/04/2015 10:19, Matthias Rebbe | M-R-D wrote: Sebastien, thanks for the information, but how do i select in that the iOS to be used for iOS app creation? If i just add Xcode 6.2 to the „mobile support“ section in the LC prefs then i get the following error when building a standalone „

Re: Release 6.7.5 RC 1 / 7.0.5 RC 1

2015-04-30 Thread Matthias Rebbe | M-R-D
> Am 30.04.2015 um 10:45 schrieb Sebastien Nouat : > > > > * Xcode 6.3 and iOS 8.3 * > Xcode 6.3 is now selectable, and required for saving a stack as an iOS > standalone application on Yosemite. > Since Xcode 6.3 cannot be installed on Mac OS 10.9 (Mavericks), Xcode 6.2 and > iOS Simulator

Re: HTML5...

2015-04-30 Thread Ben Rubinstein
On 29/04/2015 20:06, Richmond wrote: It is very odd that having run that Kickstarter campaign we have heard nothing about the HTML5 thing at all. http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0CC0QFjAC&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FTake_the_Money_

Release 6.7.5 RC 1 / 7.0.5 RC 1

2015-04-30 Thread Sebastien Nouat
Dear List Members, We are pleased to announce the release of LiveCode 6.7.5 RC 1 and 7.0.5 RC 1. This release is a maintenance release which contains bug fixes for both versions. The list of bugs fixed can be found in the Release Notes. * iOS Font Map * As some of you may have experienced, th

[ANN} - LiveCode MiniTest

2015-04-30 Thread Peter W A Wood
I have written a few automated test scripts to test elements of LiveCode. The testing commands and the tests were all in a single script. I’m now about to modernise a stack I use personally and want to develop a set of tests for it as I write it. Rather than copy and paste the few testing comma

Something like charIndex, but in a variable...

2015-04-30 Thread Malte Brill
Hi all, I need to find the start and end character of chuncks in a variable. If we are in a field we can use charIndex for that. However, in a variable I have no good idea on how to do something similar to get charIndex(token 7 of line 15 of field „myField“) Any ideas? All the best, Malte

Re: On-Rev server Pancake problems - old backup restored?

2015-04-30 Thread Matthias Rebbe | M-R-D
I am seriously thinking of leaving the On-Rev platform. I have several accounts, lifetime and payed ones on different servers. In the past i always have born when there were problems with one of the servers. I even felt negative comments about the reliability of the On-Rev platform as unfair and