Re: Location via WiFi on Mobile?

2013-02-04 Thread Pierre Sahores
In my experience : instant accurate calculation under iOS and, yes, need of a few seconds to get the accurate calculation under Android. Le 5 févr. 2013 à 07:40, Scott Rossi a écrit : > Does it take time to start up location services? Is it possible that the > device needs a few seconds of "war

Re: Location via WiFi on Mobile?

2013-02-04 Thread Scott Rossi
Hmm, maybe spoke too soon. Still getting odd, inconsistent results. I thought maybe if mobileStartTrackingSensor was started using 'true' (non-accurate sources) that mobileSensorReading should be used with 'false' (not detailed). But trying each combination of booleans I still don't get a reliabl

Re: Location via WiFi on Mobile?

2013-02-04 Thread Scott Rossi
[ forehead slap ] Doh. Thanks Jacque -- guess I wasn't reading the docs closely enough. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 2/4/13 9:52 PM, "J. Landman Gay" wrote: >On 2/4/13 11:43 PM, Scott Rossi wrote: >> Anyone know if the mobileSensorReading function wor

Re: Location via WiFi on Mobile?

2013-02-04 Thread J. Landman Gay
On 2/4/13 11:43 PM, Scott Rossi wrote: Anyone know if the mobileSensorReading function works for "location" on iOS devices through WiFi? I can't seem to get any data from the function when testing a simple stack on an iPad2 and iPod. Using this script: get mobileSensorAvailable("location

Location via WiFi on Mobile?

2013-02-04 Thread Scott Rossi
Anyone know if the mobileSensorReading function works for "location" on iOS devices through WiFi? I can't seem to get any data from the function when testing a simple stack on an iPad2 and iPod. Using this script: get mobileSensorAvailable("location") if it is false then an

Re: Trying to make economic sense of open sourcing livecode

2013-02-04 Thread Mark Wieder
Kevin- Monday, February 4, 2013, 9:53:46 AM, you wrote: > There will be a commercial code escrow option too, but that will be aimed > at larger companies and be specific to their individual use of the > platform. Yay! That should plug that loophole. -- -Mark Wieder mwie...@ahsoftware.net __

Re: issue PUT html command

2013-02-04 Thread Bernard Devlin
With regard to Android/Google, depending on where the data to be sent as notifications originates, it is possible to just send the notifications from your own PC to Google's server, and Google then routes them to the devices. I would hope it would be so simple with Apple. I guess if it was that s

Re: mobile push notifications how-to

2013-02-04 Thread Pierre Sahores
In response to your previous question : 1.- The client side HTTP REST POST LC-client-side app button : > global DevicesList,MIAD > > on mouseUp >beep >if pm_length() <= 138 then >put "Envoi du message Push à tous les prospects..." into fld "prompt" > set httpHeaders to "Co

Re: issue PUT html command

2013-02-04 Thread Andrew Kluthe
I have not had much success in using libURL for put requests that are non-blocking. However, I have recently thought of taking most of my 'serious businesss' http calls to CURL. I have a libCURL library from someone somewhere (the late mark smith's?). On Mon, Feb 4, 2013 at 1:53 PM, Chris Sheffiel

Re: issue PUT html command

2013-02-04 Thread Chris Sheffield
Excellent! I figured it had to be easy, and I wondered if it was accomplished using the normal put and get commands, but wasn't totally sure. Thanks for the tip. I do have one more question though. In the dictionary, it says that this is a blocking operation, so if for some reason the site is n

Re: issue PUT html command

2013-02-04 Thread Andrew Kluthe
put sVar into url "https://urbanaisrship.com/apidealaddressthing"; --will accomplish a PUT and get url "https://urbanaisrship.com/apidealaddressthing"; --will accomplish a GET! Isn't livecode grand? On Mon, Feb 4, 2013 at 11:42 AM, Chris Sheffield wrote: > I'm not even sure that's the right te

Re: filter with a tab character

2013-02-04 Thread FlexibleLearning.com
Thanks for the insights. Much appreciated. The list to filter is not enormous, but the 'for each' option would also handle any numeric evaluations, so both solutions will be valuable. Hugh Senior FLCo Klaus wrote: > Am 04.02.2013 um 18:04 schrieb FlexibleLearning.com: > >> I have tab-delimited

Re: filter with a tab character

2013-02-04 Thread Thierry Douez
Forgot one which maybe you need: get "\s([1-3]?\d|[4][0-2])\s" -- accept 0 to 42 Regards, Thierry 2013/2/4 Thierry Douez > > 2013/2/4 FlexibleLearning.com > > I have tab-delimited list and am trying to filter lines. >> >> Q1. How do we include a TAB character in the expression? Using fi

Re: filter with a tab character

2013-02-04 Thread Thierry Douez
2013/2/4 FlexibleLearning.com > I have tab-delimited list and am trying to filter lines. > > Q1. How do we include a TAB character in the expression? Using filter with > "*\tsomeText" fails. > see \s below > > Q2. How do we specify a maximum numeric value? Using filter with "*[<18]" > fails. >

Re: issue PUT html command

2013-02-04 Thread Chris Sheffield
Bernard, Yes, thank you. Actually, I've been looking at the one for iOS. It talks about setting up your own server, but I don't have the know-how nor the resources right now to do that. So when I found Urban Airship I was happy. So I just need to figure out how to send this command and I should

Re: Open source, LC server and revigniter

2013-02-04 Thread Kevin Miller
Depends how much you pledge :) In all seriousness though, there is an ongoing project on this front which is definitely getting there now. Kind regards, Kevin Kevin Miller ~ ke...@runrev.com ~ http://www.runrev.com/ LiveCode: Unleash Your Killer App On 04/02/2013 17:58, "Richard Gaskin" wr

Re: Open source, LC server and revigniter

2013-02-04 Thread Richard Gaskin
Kevin Miller wrote: For example, it needs the ability to draw objects and take snapshots of stacks but that's something that will be enabled by other work happening on the graphics stuff as part of the platform rework for non-server platforms anyway. Wow. So cool. That'll obviate a lot of nee

Re: Trying to make economic sense of open sourcing livecode

2013-02-04 Thread Kevin Miller
There will be a commercial code escrow option too, but that will be aimed at larger companies and be specific to their individual use of the platform. Kind regards, Kevin Kevin Miller ~ ke...@runrev.com ~ http://www.runrev.com/ LiveCode: Unleash Your Killer App On 04/02/2013 17:45, "Mark Wie

Re: issue PUT html command

2013-02-04 Thread Bernard Devlin
Have you seen this? I got the Android version working. http://lessons.runrev.com/m/4069/l/59312 At the time when I was looking at it (last summer, I think) it seemed that the iOS version was more common (more worked out). Bernard On Mon, Feb 4, 2013 at 5:42 PM, Chris Sheffield wrote: > I'm no

Re: Open source, LC server and revigniter

2013-02-04 Thread Dave Kilroy2
Thanks all, I understand now :) This is it exactly. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Open-source-LC-server-and-revigniter-tp4660146p4660194.html Sent from the Revolution - User mailing list archive at Nabble.com. ___

Re: filter with a tab character

2013-02-04 Thread Paul Hibbert
Sorry, that should have read "can't work" not "can work". On 2013-02-04, at 9:48 AM, Paul Hibbert wrote: > filter searches for a pattern, not a value, so this can work to filter > anything 'less than 18', but would work to filter results with the chars "<", > "1" or "8". > > Paul > > On 2013-

Re: filter with a tab character

2013-02-04 Thread Paul Hibbert
filter searches for a pattern, not a value, so this can work to filter anything 'less than 18', but would work to filter results with the chars "<", "1" or "8". Paul On 2013-02-04, at 9:04 AM, FlexibleLearning.com wrote: > Q2. How do we specify a maximum numeric value? Using filter with "*[<18]

Re: Trying to make economic sense of open sourcing livecode

2013-02-04 Thread Kevin Miller
The stack protection code will not be in the GPL version and will not be released. Stacks without protection will be interchangeable between GPL and commercial, but the GPL version won't even be able to open stacks with password protection. Kind regards, Kevin Kevin Miller ~ ke...@runrev.com ~ h

Re: Trying to make economic sense of open sourcing livecode

2013-02-04 Thread Mark Wieder
Dr. Hawkins writes: > The OSS branch can never get orphaned. The commercial branch can, however ... > > Now I'm musing about ways to deal with that; perhaps an exception that > allows the proprietary standalone to be built if certain events occur? > a cod escrow? Thank you. I've been waiting

Re: Open source, LC server and revigniter

2013-02-04 Thread Kevin Miller
This is it exactly. When selecting the license we looked very closely at the competitive landscape. GPL will play nicely given our competitive strengths as a desktop/mobile framework. But to do AGPL with the server version would be a mistake. We have a bigger hill to climb there and so we need to a

issue PUT html command

2013-02-04 Thread Chris Sheffield
I'm not even sure that's the right terminology. This is kind of related to my last post about push notifications. I found a neat web site (urbanairship.com) that has a server set up for sending push notifications to mobile devices. As far as I can tell, it's free to use. I'm still researching th

Re: filter with a tab character

2013-02-04 Thread Mike Bonner
I think you could also use \t to signify a tab char. As for the matching a range of numbers you'd probably be better served to have lc handle whatever is leftover. However, barring that, you might look at this page: http://www.regular-expressions.info/numericranges.html for an explanation of how t

Re: to find the first numeric line?

2013-02-04 Thread Richard Gaskin
Bravo. Most xTalk binary search algos depend on line-counting, which still requires considerable under-the-hood effort as the engine needs to traverse chunks to count CRs, over and over again. Your byte-based algo us much better - thanks for posting that. -- Richard Gaskin Fourth World Li

Re: just for fun: pop quiz

2013-02-04 Thread Mark Wieder
Jerry Jensen writes: > >> On 2/3/13 3:08 PM, Mark Wieder wrote: > > Yeah, interesting point. I'm not sure what EOF means in that case > > either. Is that "I received an EOF char from the port"? > > I don't think EOF is meaningful with a serial driver. The closest character is Ctrl-D, EOT, end of

Re: filter with a tab character

2013-02-04 Thread Richard Gaskin
Klaus wrote: Am 04.02.2013 um 18:04 schrieb FlexibleLearning.com: I have tab-delimited list and am trying to filter lines. Q1. How do we include a TAB character in the expression? Using filter with "*\tsomeText" fails. use the contant TAB: ... filter tList with ("*" & TAB & "whatever") Wh

Re: Open source, LC server and revigniter

2013-02-04 Thread Richard Gaskin
Dave Kilroy2 wrote: Yes I agree, I don't see how RunRev will get any reward for having a server version - and if they don't get any reward for it then it may be less likely to be developed on an on-going basis. When you think about it, LiveCode Server isn't much different from the main engine:

Re: filter with a tab character

2013-02-04 Thread Klaus on-rev
Hi Hugh, Am 04.02.2013 um 18:04 schrieb FlexibleLearning.com : > I have tab-delimited list and am trying to filter lines. > > > Q1. How do we include a TAB character in the expression? Using filter with > "*\tsomeText" fails. use the contant TAB: ... filter tList with ("*" & TAB & "whatever")

filter with a tab character

2013-02-04 Thread FlexibleLearning.com
I have tab-delimited list and am trying to filter lines. Q1. How do we include a TAB character in the expression? Using filter with "*\tsomeText" fails. Q2. How do we specify a maximum numeric value? Using filter with "*[<18]" fails. Have tried reading up on Bourne Shell but am totally confuse

Re: Open source, LC server and revigniter

2013-02-04 Thread Dave Kilroy2
Yes I agree, I don't see how RunRev will get any reward for having a server version - and if they don't get any reward for it then it may be less likely to be developed on an on-going basis. I use TextMate to write code and upload to a server (whether I use revigniter or not) - I'm not building a

Re: Trying to make economic sense of open sourcing livecode

2013-02-04 Thread Dr. Hawkins
On Sun, Feb 3, 2013 at 2:38 AM, Peter Alcibiades wrote: > It also has the potential to remove the Hypercard danger - that of being > stuck in an orphaned product. If its open sourced that can never happen. The OSS branch can never get orphaned. The commercial branch can, however . . . Now I'm

Re: Open source, LC server and revigniter

2013-02-04 Thread David Bovill
Ah good to know - my bad. Doesn't immediately strike me as in your interests - though I can see some companies demanding this - still why you don't simply require them to pay up for a commercial license on the server like seems at odds with the overall strategy, and less likely to promote open code

Re: Java, Apple and Pork Pies.

2013-02-04 Thread Colin Holgate
That article refers to a Mac OS version that is about 10 versions ago. It naturally has a different situation with Java. On Feb 4, 2013, at 12:49 AM, Richmond wrote: > Supposedly Java is "out" for Apple; and this update would seem to bely that. ___

Re: Open source, LC server and revigniter

2013-02-04 Thread Kevin Miller
We're not using the AGPL. It is optional and we're not using it. Kind regards, Kevin Kevin Miller ~ ke...@runrev.com ~ http://www.runrev.com/ LiveCode: Unleash Your Killer App On 04/02/2013 12:44, "David Bovill" wrote: >Not quite true the >GPLv3

Re: Open source, LC server and revigniter

2013-02-04 Thread David Bovill
Not quite true the GPLv3includes the " affero " clause - this is designed to include the more modern concept of web apps. That is hosting a publicly available web service using GPLv3 lice

Thinking the unthinkable.

2013-02-04 Thread Richmond
What happens if, at the end of February, the Kickstart fund has not reached its target? Does that mean that all the hype, thought and advertising about an O-S Livecode variant goes down the toilet? Or are we to expect an extension of the date at which the target should be fulfilled? Richmo