Re: Handling of final delimter (was Re: "this me"?)

2013-08-08 Thread Geoff Canyon
This seems like something the new language parser could fix for you. Sent from my iPad On Aug 8, 2013, at 7:30 PM, Mike Kerner wrote: > I know I'm stuck with it, but I wish there was a preference that I could > tick. ___ use-livecode mailing list use

Re: Getting the Public IP address

2013-08-08 Thread FlexibleLearning.com
Mark/Matthias/Devin Thank you for all your insights and suggestions. The public IP address is only needed on first-launch for a best-guess geographic location. Thereafter, the User's own text is used. Using query.us/iptest.php is probably the most appropriate at this time and seems to do exactly w

Re: "this me"?

2013-08-08 Thread Monte Goulding
On 09/08/2013, at 9:25 AM, J. Landman Gay wrote: > You want to know what's really weird? The more we talk about this, the more > sense "this me" makes. Wait. I never said that. Aha... so it was a cunning ploy to get us all discussing it so much therefore confuse us into thinking this me made s

Re: Handling of final delimter (was Re: "this me"?)

2013-08-08 Thread Mike Kerner
Too badd I mizspeld "Atkinson". OMG #FAIL On Thu, Aug 8, 2013 at 8:30 PM, Mike Kerner wrote: > I know I'm stuck with it, but I wish there was a preference that I could > tick. Sometimes I even wish I was actually good at C so I could take the > source and fix it. > > No, wait. Maybe I can fun

Re: Handling of final delimter (was Re: "this me"?)

2013-08-08 Thread Mike Kerner
I know I'm stuck with it, but I wish there was a preference that I could tick. Sometimes I even wish I was actually good at C so I could take the source and fix it. No, wait. Maybe I can fund forking it just for the sake of fixing that one thing. On Thu, Aug 8, 2013 at 6:39 PM, Richard Gaskin

Re: odd and even numbers

2013-08-08 Thread william humphrey
I only said it was weird because the result was odd. Thanks everyone for your help, as always, and it's not my fault this thread degenerated into a whatever that is. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to su

Re: "this me"?

2013-08-08 Thread J. Landman Gay
On 8/8/13 6:13 PM, Monte Goulding wrote: Are you saying that implementing "this me" wasn't one of those times? It was a very clever ploy to force us all to have this discussion I think ;-) You want to know what's really weird? The more we talk about this, the more sense "this me" makes. Wait.

Re: "this me"?

2013-08-08 Thread Monte Goulding
On 09/08/2013, at 8:46 AM, Richard Gaskin wrote: > I should ammend that: "I'll be good with whatever Mark Waddingham think is > best when he's sober." > > :) > > At the risk of appearing a sycophant, I've come to trust his judgment on such > things. When he's sober, that is. Though someti

Re: "this me"?

2013-08-08 Thread Richard Gaskin
Monte Goulding wrote: > On 09/08/2013, at 8:28 AM, Richard Gaskin wrote: > >> I'm not married to "effective"; as long as the functionality is >> there I'll be good with whatever Mark Waddingham thinks is best. > > Careful now... you might end up with: > the effective this mes ;-) I should ammend

Re: Handling of final delimter (was Re: "this me"?)

2013-08-08 Thread Richard Gaskin
That was some damn fine writing, my friend. There's too much code floating around for the delimiter behavior to change, but your most excellent post earned you a dinner next time you're in LA, or at RevLive in San Diego next year. It would be my pleasure. Yep, xTalk is sometimes funky, like

Re: "this me"?

2013-08-08 Thread Monte Goulding
On 09/08/2013, at 8:28 AM, Richard Gaskin wrote: > I'm not married to "effective"; as long as the functionality is there I'll be > good with whatever Mark Waddingham thinks is best. Careful now... you might end up with: the effective this mes ;-) -- M E R Goulding Software development service

Re: "this me"?

2013-08-08 Thread Richard Gaskin
Monte Goulding wrote: > On 09/08/2013, at 6:57 AM, Richard Gaskin wrote: > >> To my eye it distinguishes "scriptObject" from "scriptObjects" in >> a useful way, and makes use of the existing "effective" keyword >> to note that it's dealing with a broader scope, often used to >> denote inheritance

Re: "this me"?

2013-08-08 Thread Geoff Canyon
On Thu, Aug 8, 2013 at 3:54 PM, Monte Goulding wrote: > Hmm... in the effective working screenRects there's no inheritance, just > modification of the result. Fair point -- the word "effective" in all cases is being used in the sense of "actual," but that's a strained usage in the case of mobil

Re: "this me"?

2013-08-08 Thread Mark Wieder
Geoff- Thursday, August 8, 2013, 2:40:59 PM, you wrote: > Exactly -- if anything, "effective me" when used in a behavior script > should refer to the root object, since (metaphorically) the behavior object > "inherits" the identity of the root object. But "me" already refers to the > root object.

Re: "this me"?

2013-08-08 Thread Geoff Canyon
On Thu, Aug 8, 2013 at 4:10 PM, Mark Wieder wrote: > Ah... OK... off the top of my head I can't remember what "the > effective working screenrects" returns. > In case anyone in a position to rewrite it is listening, this sentence needs to be re-written: "The screenRects function returns a retu

Re: Distributing an iOS App for Testing

2013-08-08 Thread Monte Goulding
On 09/08/2013, at 4:06 AM, Ray Horsley wrote: > Do you have a trial version of AirLaunch? I've tried wrestling with MergExt > which works in conjunction with TestFlight (which is the troublesome part) > and I'm having no luck. I'd like to try AirLaunch and it sounds like the > right tool si

Re: "this me"?

2013-08-08 Thread Geoff Canyon
On Thu, Aug 8, 2013 at 3:43 PM, Mark Wieder wrote: > The problem is that "me" *is* inherited > in a sense in a behavior script and refers not to the behavior object > but to the root object. > Exactly -- if anything, "effective me" when used in a behavior script should refer to the root object,

Re: Distributing an iOS App for Testing

2013-08-08 Thread Matthias Rebbe
Am 08.08.2013 um 22:12 schrieb J. Landman Gay : > On 8/8/13 2:46 PM, Matthias Rebbe wrote: >> Ray, >> >> i am using AirLaunch and all what i can tell is that it is extreme easy to >> use! > > Thanks, that's great to hear. > >> The dropbox solution only works if you have an "older" dropbox acc

Re: "this me"?

2013-08-08 Thread Monte Goulding
On 09/08/2013, at 7:10 AM, Mark Wieder wrote: > Ah... OK... off the top of my head I can't remember what "the > effective working screenrects" returns. The are of the screen that's usable at the time. -- Monte Goulding M E R Goulding - software development services mergExt - There's an extern

Re: "this me"?

2013-08-08 Thread Mark Wieder
Monte- Thursday, August 8, 2013, 1:54:30 PM, you wrote: > Hmm... in the effective working screenRects there's no > inheritance, just modification of the result. Ah... OK... off the top of my head I can't remember what "the effective working screenrects" returns. -- -Mark Wieder mwie...@ahsoft

Re: Handling of final delimter (was Re: "this me"?)

2013-08-08 Thread Mike Kerner
We also had this debate on several bug reports at quality.runrev.com, so you will find much of this hashed out over there, over several bug reports. Excuse me while I wax extemporaneously for a moment. My fellow LiveCoders, I implore you, to reach within your souls and ask yourselves, are not al

Re: "this me"?

2013-08-08 Thread Timothy Bleiler
On Aug 8, 2013, at 10:01 AM, Richard Gaskin wrote: > Having made that plea for simplicity in programming, please allow me to > complicate this now: :) > > > Taking the idea of scriptObject further, for the rarer-but-not-unthinkable > need to know all of the objects in an object's message path

Re: "this me"?

2013-08-08 Thread Monte Goulding
On 09/08/2013, at 6:57 AM, Richard Gaskin wrote: > To my eye it distinguishes "scriptObject" from "scriptObjects" in a useful > way, and makes use of the existing "effective" keyword to note that it's > dealing with a broader scope, often used to denote inheritance. Hmm if there's no diff

Re: "this me"?

2013-08-08 Thread Richard Gaskin
Monte Goulding wrote: > On 09/08/2013, at 12:01 AM, Richard Gaskin wrote: > >> the effective scriptObjects of > > I like the idea although it's arguably not complicated to parse the > chain if you need to. Can you elaborate on the difference the > effective adjective makes to the scriptObjects?

Re: "this me"?

2013-08-08 Thread Monte Goulding
On 09/08/2013, at 6:43 AM, Mark Wieder wrote: > But it *does* mean "inherited if not explicitly assigned" in all other > uses of "effective" in xtalk. The problem is that "me" *is* inherited > in a sense in a behavior script and refers not to the behavior object > but to the root object. Hmm...

Re: "this me"?

2013-08-08 Thread Monte Goulding
On 09/08/2013, at 12:01 AM, Richard Gaskin wrote: > the effective scriptObjects of I like the idea although it's arguably not complicated to parse the chain if you need to. Can you elaborate on the difference the effective adjective makes to the scriptObjects? Cheers -- Monte Goulding M

Re: "this me"?

2013-08-08 Thread Mark Wieder
Geoff- Thursday, August 8, 2013, 12:33:50 PM, you wrote: > "effective" modifies a property to get the value whether it is set > directly, or inherited. "me" always has a meaning, and is never inherited. > Putting it another way, "effective" does not mean "inherited" But it *does* mean "inherited

Re: "this me"?

2013-08-08 Thread Monte Goulding
On 09/08/2013, at 3:40 AM, Ben Rubinstein wrote: > I agree. I'd hope that we can use either 'container' or 'object' somewhere > in whatever syntax is arrived at, if the value is going to be a reference to > an object. There's actually no precedence for that at all so I don't see why it shoul

Re: "this me"?

2013-08-08 Thread Monte Goulding
On 09/08/2013, at 6:06 AM, Richard Gaskin wrote: > scriptObject local MyVar > > ..or: > > local to scriptObject myVar behavior local myVar? It's the script that's important in this instance rather than the object. Cheers -- Monte Goulding M E R Goulding - software development services mer

Re: "this me"?

2013-08-08 Thread Monte Goulding
On 09/08/2013, at 6:15 AM, Geoff Canyon wrote: > Dang, that's right, and I completely borked what I said -- local variables > are unique to the object, not the scriptObject. So yes, > > scriptObject local MyVar > > or something like it would make sense for this use case. Something like this h

Re: "this me"?

2013-08-08 Thread Geoff Canyon
Dang, that's right, and I completely borked what I said -- local variables are unique to the object, not the scriptObject. So yes, scriptObject local MyVar or something like it would make sense for this use case. On Thu, Aug 8, 2013 at 3:06 PM, Richard Gaskin wrote: > Geoff Canyon wrote: > >

Re: Distributing an iOS App for Testing

2013-08-08 Thread J. Landman Gay
On 8/8/13 2:46 PM, Matthias Rebbe wrote: Ray, i am using AirLaunch and all what i can tell is that it is extreme easy to use! Thanks, that's great to hear. The dropbox solution only works if you have an "older" dropbox account which still has the public folder. Newer accounts do not have th

Re: "this me"?

2013-08-08 Thread Richard Gaskin
Geoff Canyon wrote: On Thu, Aug 8, 2013 at 8:01 AM, Timothy Bleiler wrote: So, to the extent that it might effect preferences for the syntax, what are some examples of how this would be used? This seems similar to the distinction between class and instance methods. Class methods are often us

Re: "this me"?

2013-08-08 Thread Geoff Canyon
On Thu, Aug 8, 2013 at 8:01 AM, Timothy Bleiler wrote: > So, to the extent that it might effect preferences for the syntax, what > are some examples of how this would be used? > This seems similar to the distinction between class and instance methods. Class methods are often used to store valu

Re: Handling of final delimter (was Re: "this me"?)

2013-08-08 Thread dunbarx
I agree with Jacque's construct. I was thrown,long ago, with the number of items, say, in: "1,2,3,4," That last comma should indicate a "placeholder" for a fifth item at the end of the string, but there are in fact only four. One could say that since the last comma precedes "empty". The num

Re: Distributing an iOS App for Testing

2013-08-08 Thread Matthias Rebbe
Ray, i am using AirLaunch and all what i can tell is that it is extreme easy to use! I am using it with DropBox. I let Airlaunch save the file into my Public Dropbox folder. After saving, Airlaunch puts the D/L url into clipboard. So i just have to paste this URL into an email to send it to my

Re: Handling of final delimter (was Re: "this me"?)

2013-08-08 Thread Richard Gaskin
Geoff Canyon wrote: On Thu, Aug 8, 2013 at 1:34 PM, Richard Gaskin wrote: My favorite annoyance with xTalks is the decision by the HyperTalk team to allow some functions to be called as though they're properties - but not all. You can say "get the abs of -10" or "abs(-10)", and you can say "ge

Re: "this me"?

2013-08-08 Thread Geoff Canyon
On Wed, Aug 7, 2013 at 11:33 PM, Mark Wieder wrote: > Jim- > > Wednesday, August 7, 2013, 8:33:26 PM, you wrote: > > > How about the effective me? > > After my initial shock, I'm thinking that this is kind of not too bad. > It's a weird use of "effective", but you could see if you're in the > con

Re: Handling of final delimter (was Re: "this me"?)

2013-08-08 Thread J. Landman Gay
On 8/8/13 12:45 PM, Ben Rubinstein wrote: I think the return (or equally the comma when dealing with items) doesn't "belong" to the line that it terminates (as I tend to think of it) - or indeed to the line that follows it (as perhaps you do); it is, indeed just a delimiter. My mental model is

Re: "this me"?

2013-08-08 Thread Geoff Canyon
On Wed, Aug 7, 2013 at 11:12 PM, J. Landman Gay wrote: > And now that I've had 8 more minutes to think about it, how about > "behaviorObject". That's even more descriptive. > This seems misleading -- you can already get the behavior of me, but if you want "where is this code located" that's a di

Re: "this me"?

2013-08-08 Thread Geoff Canyon
On Wed, Aug 7, 2013 at 10:06 PM, Mike Kerner wrote: > I want the phrase to be > clear to the beginner, because if it's clear to the beginner > We're talking about behaviors -- clarity for the beginner left on a bus three hours ago. (but I'm still for being as clear as possible).

Re: "this me"?

2013-08-08 Thread Geoff Canyon
On Wed, Aug 7, 2013 at 11:03 PM, J. Landman Gay wrote: > The more I think about it, the more I like scriptObject. It's pretty > self-explanatory. This gets my vote. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to s

Livecode Developer Certifications

2013-08-08 Thread Alejandro Tejada
Hi All, Recently, I wrote to many developers about the Open Source LiveCode Community Edition and some of them asked about the availability of Proficiency Certifications for Livecode developers: http://www.trainsignal.com/blog/top-7-programming-language-certifications Does exists plans to create

Re: Handling of final delimter (was Re: "this me"?)

2013-08-08 Thread Geoff Canyon
On Thu, Aug 8, 2013 at 1:34 PM, Richard Gaskin wrote: > > My favorite annoyance with xTalks is the decision by the HyperTalk team to > allow some functions to be called as though they're properties - but not > all. You can say "get the abs of -10" or "abs(-10)", and you can say "get > offset("l",

Re: Handling of final delimter (was Re: "this me"?)

2013-08-08 Thread Richard Gaskin
Paul D. DeRocco wrote: From: Ben Rubinstein ... are there any examples of LC behaviour which are inconsistent with it? YES. A listbox that has a return at the end of its contents allows the user to select a blank item following the last visible item. When building up the contents of the list

RE: Handling of final delimter (was Re: "this me"?)

2013-08-08 Thread Paul D. DeRocco
> From: Ben Rubinstein > > It's easier to see with items, and I think it is consistent: > > number of items in "," ---> 1 > number of items in ",," ---> 2 > number of items in ",,a" ---> 3 > number of items in ",,a," ---> 3 > item 2 to 3 of "a,b,c,d" ---> b,c > > If you take this model: >

Re: Distributing an iOS App for Testing

2013-08-08 Thread Ray Horsley
Jackie, Do you have a trial version of AirLaunch? I've tried wrestling with MergExt which works in conjunction with TestFlight (which is the troublesome part) and I'm having no luck. I'd like to try AirLaunch and it sounds like the right tool since it doesn't depend on TestFlight. Thanks, R

Handling of final delimter (was Re: "this me"?)

2013-08-08 Thread Ben Rubinstein
On 08/08/2013 14:44, Mike Kerner wrote: I would LOVE to discuss fixing the bizarre way empty last items are treated, starting with either having a preference to modify the behavior, separate functions/commands, or tweaking the database library so I don't have to deal with this all the time. Hi

Re: "this me"?

2013-08-08 Thread Ben Rubinstein
On 08/08/2013 14:44, Mike Kerner wrote: "The effective behavior" in no way implies "B" or "A" when reading it. To me, anyway, it implies the script, not the container or the container's name. I agree. I'd hope that we can use either 'container' or 'object' somewhere in whatever syntax is arr

Re: "this me"?

2013-08-08 Thread Jim Lambert
Unlike Director's Lingo behaviors, LiveCode behaviors are more than just scripts. They are housed within an object. That object has properties; it may have custom properties. With chained behaviors you might want to know the currently executing 'link' in a chain (the 'this me'), so that you can

Re: An SQL query to return an UPDATE for the results?

2013-08-08 Thread Dr. Hawkins
And so I thought that I'd made a cute little couple of lines of code that replaced my loops. The updating worked, with a SELECT generating a slew of UPDATEs. And then I tried to deal with the case of an apostrophe in a field. Giving me something like SET adr='Fudd's Place' I suppose I cou

LiveCode on LinkedIn

2013-08-08 Thread Richard Gaskin
LinkedIn is a great resource for professionals, with an audience larger than Twitter's and fewer cat pictures than Facebook. ;) One of LinkedIn's main features is the member profile, where we list our skills and interests, and that's where you come in: It's common among LinkedIn members to in

Re: "this me"?

2013-08-08 Thread Mike Kerner
I don't know if I like the term, but I like the idea. I've been trying to come up with something better. On Thu, Aug 8, 2013 at 12:12 PM, Mark Talluto wrote: > > On Aug 8, 2013, at 7:01 AM, Richard Gaskin > wrote: > > > ...which would return a return-delimited list of all objects in the > mess

Re: "this me"?

2013-08-08 Thread Mark Talluto
On Aug 8, 2013, at 7:01 AM, Richard Gaskin wrote: > ...which would return a return-delimited list of all objects in the message > path of ? Me like. Best regards, Mark Talluto canelasoftware.com ___ use-livecode mailing list use-livecode@li

Re: "this me"?

2013-08-08 Thread Timothy Bleiler
On Aug 8, 2013, at 9:44 AM, Mike Kerner wrote: > "The effective behavior" in no way implies "B" or "A" when reading it. To > me, anyway, it implies the script, not the container or the container's > name. Yes, it seems to have a more narrow application than some of the other suggestions. I can

Re: An SQL query to return an UPDATE for the results?

2013-08-08 Thread Dr. Hawkins
On Wed, Aug 7, 2013 at 9:05 PM, Peter Haworth wrote: > On Wed, Aug 7, 2013 at 11:20 AM, Dr. Hawkins wrote: > >> On Wed, Aug 7, 2013 at 10:21 AM, Peter Haworth wrote: >> It seems that a query that produces a string half a dozen lines that >> are already sql transactions, just needing BEGIN/END wr

Re: Getting the Public IP address

2013-08-08 Thread Devin Asay
On Aug 8, 2013, at 4:30 AM, FlexibleLearning.com wrote: > I am trying to establish the User's public IP address. The Scripter's > Scrapbook has several methods, all of which return the same result and all > of which seem to return a local IP address (e.g. put the hostnametoaddress > of the hostna

Re: Getting the Public IP address

2013-08-08 Thread Matthias Rebbe
I created a php file with the following code and put it on my server. In my livecode app i am calling that php file with get URL "http://myserver.com/my php-file.php" to get the ip then. Regards, Matthias Am 08.08.2013 um 12:30 schrieb FlexibleLearning.com : > I am trying to establish t

Re: Getting the Public IP address

2013-08-08 Thread Mark Wilcox
> I am trying to establish the User's public IP address. The Scripter's > Scrapbook has several methods, all of which return the same result and all > of which seem to return a local IP address (e.g. put the hostnametoaddress > of the hostname into myIP). I am getting 192.168.2.2 (local) instead

Re: "this me"?

2013-08-08 Thread Richard Gaskin
Timothy Bleiler wrote: > This is an interesting discussion. For my 2 cents worth, I'm > currently in favor of 'the effective behavior of me' but I'm > curious why it's needed. FWIW I find myself leaning toward "scriptObject" because it's the least like anything else in the language, and needing

Re: "this me"?

2013-08-08 Thread Mike Kerner
"The effective behavior" in no way implies "B" or "A" when reading it. To me, anyway, it implies the script, not the container or the container's name. Jacque, I would LOVE to discuss fixing the bizarre way empty last items are treated, starting with either having a preference to modify the behav

Re: "this me"?

2013-08-08 Thread Timothy Bleiler
On Aug 8, 2013, at 9:01 AM, Timothy Bleiler wrote: > > So, to the extent that it might effect preferences for the syntax, what are > some examples of how this would be used? Too early in the morning. Just to be clear and avoid prosecution by the grammar police - to the extent that it might AFFE

Re: "this me"?

2013-08-08 Thread Timothy Bleiler
This is an interesting discussion. For my 2 cents worth, I'm currently in favor of 'the effective behavior of me' but I'm curious why it's needed. What circumstances require a means of determining the control that provides the behavior script? Since behaviors were introduced, I've always thought

Re: Getting the Public IP address

2013-08-08 Thread Mark Schonewille
Hugh, If there is a public IP address, there is an internet connection. In most cases, you can access web sites. put URL "http://qery.us/iptest.php"; should work. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitte

Getting the Public IP address

2013-08-08 Thread FlexibleLearning.com
I am trying to establish the User's public IP address. The Scripter's Scrapbook has several methods, all of which return the same result and all of which seem to return a local IP address (e.g. put the hostnametoaddress of the hostname into myIP). I am getting 192.168.2.2 (local) instead of the req