Re: [OT] legality of DVD backup

2010-11-09 Thread Dave Cragg
On 9 Nov 2010, at 08:21, David Bovill wrote: Yes, I think this was one of the reasons for the LiveCode rebranding. They may have dropped the name, but this Revolutionary tune was heard blasting out of one office window in Edinburgh recently: The compiler flag is deepest red To those that

Re: Indenting Challenge

2010-11-09 Thread Dave Cragg
On 9 Nov 2010, at 18:39, Scott Rossi wrote: snip I've been asked to implement two levels bulleting/indenting, something like the following (hope it comes across): • Main Bullet Item 1 that spans multiple lines • Main Bullet Item 2 - Secondary Bullet 1 - Secondary Bullet 2 which

Re: libURLDownloadToFile and LiveCode

2010-10-29 Thread Dave Cragg
On 29 Oct 2010, at 06:58, Ludovic Thébault wrote: Hello, Under Revolution 4, this script work like a charm : on mouseup ... libURLDownloadToFile theUrl, theDestUrl, Downloaded wait 0 milliseconds with messages ShowInfo theUrl end mouseup on ShowInfo pUrl local

Re: Distinguishing between ASCII and UTF8

2010-10-06 Thread Dave Cragg
Richard Below is a function that was translated from a PHP script. It is intended to determine whether the passed in string could be utf8. I have tested it in a limited way and it seems to work. But maybe someone else can see the flaws. If it returns false, then it is not UTF8. If it returns

Re: OT: Waiting for DNS to update a new site.

2010-09-14 Thread Dave Cragg
Hi Alex I can see it here. (DNS through OpenDNS) Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: how to totally make Kevin's day

2010-09-09 Thread Dave Cragg
On 9 Sep 2010, at 15:11, Richmond wrote: Kevin's face must be looking a bit craggier, I wouldn't wish that on anyone. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: [OT] PING

2010-09-07 Thread Dave Cragg
Thanks very much, Chipp. Greatly appreciated. Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: [OT] PING

2010-09-06 Thread Dave Cragg
On 6 Sep 2010, at 04:04, Chipp Walters wrote: Any early thoughts on Apple's new social network? It seems to be getting some concerned reviews. http://bit.ly/dn5AON Is this a trick question, Chipp? Anyway, I agree with whatever your thoughts are, unless they're wrong. :-) Dave

Re: [OT] PING

2010-09-06 Thread Dave Cragg
On 6 Sep 2010, at 21:04, Chipp Walters wrote: More at http://dlvr.it/4gnsY I confess I'm totally ignorant of the social networking thing. I read the links you posted, but not knowing much about the networks they were comparing with, I didn't really follow. I was hoping you might have

Re: Intelligent sorting: A bit of a poser RESULTS CORRECTION

2010-07-02 Thread Dave Cragg
Thanks for keeping us up to date, Hugh. Of course, another solution might be to write a polite letter to whoever is giving you this data suggesting they collect it differently in the first place. :-) Cheers Dave___ use-revolution mailing list

Re: Intelligent sorting: A bit of a poser

2010-07-01 Thread Dave Cragg
Coming late to this. It should handle cases where there are commas in the original text. I don't know how it scales with large data sets. function specialSort tData put (^.*?)([0-9]*$) into tRE put into tData2 repeat for each line tLine in tData get matchText(tLine, tRE,

Re: Intelligent sorting: A bit of a poser

2010-07-01 Thread Dave Cragg
On 1 Jul 2010, at 17:30, dunb...@aol.com wrote: In the handlers submitted earlier one could use an obscure delimiter, like ASCII 241 or whatever, instead of comma, and set the itemDel. I think that may be a better idea. I just discovered some mistakes (deliberate of course :-)) in my

Re: no go?

2010-06-17 Thread Dave Cragg
On 17 Jun 2010, at 17:28, dunb...@aol.com wrote: Colin. If you try to navigate to a stack not explicitly listed in the Search Paths cards of the home stack (pertains to files as well) you get a dialog asking where it is. This is what I would have expected. But no such feedback, except

Re: Abysmal Sound on Windows?

2010-06-05 Thread Dave Cragg
On 5 Jun 2010, at 06:54, stephen barncard wrote: Have you seen these Tech Demos for HTML5 at the apple site? http://developer.apple.com/safaridemos/ Amazing stuff. And amazing irony. A great showcase for web standards, so long as you install Safari. Try a demo on Firefox, and we're

Re: libURLFTPCommand problems

2010-06-04 Thread Dave Cragg
On 4 Jun 2010, at 17:42, Jeff Massung wrote: I cannot seem to get this to work. Well, to be clear, the function works just fine, but none of the commands are working. For example, a simple test: put libURLFtpCommand(ls, my.ftp.site, username, password) Every time this will put 500

Re: libURLftpCommand help required please....

2010-05-24 Thread Dave Cragg
On 24 May 2010, at 17:11, Bob Earp wrote: Many thanks for the replies on this.Mark/Jim - I've played around with quotes/no quotes, changing the address elements to include ftp.ashford.ca, httP://ashford.ca and combinations thereof, but I still get the error message error invalid host

Re: libURLftpCommand help required please....

2010-05-22 Thread Dave Cragg
On 22 May 2010, at 20:38, Bob Earp wrote: I'm trying to send an ftp command to a site, and being a neophyte at these things I'm not having much success. This is what I'm using, what's wrong with it ? put libURLftpCommand(LIST,ashford.ca,t...@ashford.ca,myTest) into fld results Bob,

Re: Is there a way to upload files?

2010-05-15 Thread Dave Cragg
On 15 May 2010, at 18:56, Geoff Canyon Rev wrote: I wasn't implying that this would happen behind the user's back. I'm trying to interface to Jira. I can create a bug tracking ticket for the user based on input they've provided, but I don't know how attachments work. I can send info using

Re: Is there a way to upload files?

2010-05-15 Thread Dave Cragg
On 15 May 2010, at 21:07, Dave Cragg wrote: The use is a little complicated. You set the httpHeaders to the first line of the returned data, and lines 2 to the end is the data to post. More complicated than I remember. It doesn't return the data. Instead, you pass in a variable that gets

Re: Thoughts on Kevin's announcement [MOT]

2010-05-12 Thread Dave Cragg
Bringing things back on topic (well sort of)... Nietzsche also wrote something called (in English) The Gay Science. This is something of which a certain person on this list is sure to endorse, and illustrates Nietzsche's great foresight or aforementioned person's retrospective hindsight with

Re: Heather Are You All OK with the Ash!

2010-04-19 Thread Dave Cragg
On 19 Apr 2010, at 22:11, Alex Tweedly wrote: Sivakatirswami wrote: Just checking... last time the ash was a disaster for Scotland... is our RunRev Team OK? It's not causing any problems here other than the shutting down of air space (and hence just about all air travel). There was a

Re: Naming Custom Properties

2010-04-17 Thread Dave Cragg
On 17 Apr 2010, at 00:39, Vokey, John wrote: set the fred of this stack to myArray put fred into mary; set the mary of this stack to myArray do the same thing. The line set the fred of this stack to myArray should throw an error if fred is empty. Unfortunately, nobody at RunRev

Re: Which char is NOT in result MD5Digest

2010-04-03 Thread Dave Cragg
Following Richard's suggestion, I think a lot of people convert the output of the md5Digest function to hex: function hexDigest pvalue local tRes put md5Digest(pValue) into tMD5 get binaryDecode(H*,tMD5,tRes) return tRes end hexDigest This will contain only digits and the characters

Re: The revTalk Song

2010-04-01 Thread Dave Cragg
On 1 Apr 2010, at 04:58, RunRevPlanet wrote: What RunRev needs is a song. (The Java guys and gals have more than one, so why don't we?) You can read about why I have written the revTalk song and follow the links to it from here: http://www.runrevplanet.com/the-revtalk-song.html Hope

Re: How to use 'put URL ftp://... if username contains @

2010-03-16 Thread Dave Cragg
On 16 Mar 2010, at 17:28, Matthias Rebbe wrote: Thanks to all who replied. In my case the username has to be usern...@domain.tld. A + or a % as a replacement are not accepted. But urlencode and of course Andre´s suggestion to use %40 did the trick. Just to confirm. libUrl always

Re: lubURL nuances

2010-03-11 Thread Dave Cragg
On 11 Mar 2010, at 13:23, Richard Gaskin wrote: While working with Dan Friedman to diagnose some FTP issues, he came up with some questions I couldn't answer so I'm bringing them to y'all to see what we can find: 1. Is put url... a blocking command? I believe it's supposed to be, but

Re: Altering HTML Text

2010-02-24 Thread Dave Cragg
Ray I was able to add a line and redisplay it (almost) by doing something like this: put revBrowserGet(gBrowserD, htmltext) into tHtmlText replace /BODY with pExtra line/p/BODY in tHtmlText # put empty into char 1 to 3 of tHtmlText ## not necessary it seems (removing the utf-8 BOM

Re: Altering HTML Text

2010-02-24 Thread Dave Cragg
Thanks, Bob. I was just trying that when your mail came in. It works. :-) I thought the strange location of the head element might prevent this from working, but it looks OK. I'll pass it on to Ray. Cheers Dave On 24 Feb 2010, at 16:26, Bob Sneidar wrote: Dave, Try inserting a line

Re: SuperDuper textSize property

2010-02-19 Thread Dave Cragg
On 19 Feb 2010, at 17:48, Jacques Hausser wrote: Do they still sell Ten thumbs, at RunRev ? It seems so: http://www.tenthumbstypingtutor.com/ Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to

Re: Getting data from a secure web page

2010-02-03 Thread Dave Cragg
Sarah Not quite sure what you're wanting to do. Do you just want to get the html page normally returned after login from within a Rev script? If so, does this work? on mouseUp libUrlSetSSLVerification false ## SEE BELOW 1 put https://memberservices.optuszoo.com.au/login/; into tUrl put

Re: Getting data from a secure web page

2010-02-03 Thread Dave Cragg
On 3 Feb 2010, at 10:54, Sarah Reichelt wrote: On Wed, Feb 3, 2010 at 8:40 PM, Dave Cragg dave.cr...@lacscentre.co.uk wrote: Sarah Not quite sure what you're wanting to do. Do you just want to get the html page normally returned after login from within a Rev script? Yes. That way I

Re: Getting data from a secure web page

2010-02-03 Thread Dave Cragg
On 3 Feb 2010, at 15:23, Trevor DeVore wrote: I added support for following 302 with POST, DELETE and PUT requests in the version of libURL that comes with the GLX App Framework. But then it isn't standards compliant. :-) From rfc2616 If the 302 status code is received in response to a

Re: Getting data from a secure web page

2010-02-03 Thread Dave Cragg
On 3 Feb 2010, at 15:58, Trevor DeVore wrote: That is why I installed a callback when I implemented it :-) I should have known you'd have taken care of things like that. Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com

Re: FTP listing using libURLftpCommand

2010-01-18 Thread Dave Cragg
On 19 Jan 2010, at 00:45, stephen barncard wrote: Thanks...this sort of works. the example needs to use the URL keyword though put URL (ftp://user:p...@host.com/directory/;) into theListOfFiles this does list ok, similar listing to the HTTP method, however the dates in the listing

Re: USB dance-pad with Rev?

2010-01-14 Thread Dave Cragg
On 14 Jan 2010, at 10:13, Richmond Mathewson wrote: All USB devices will send some sort of keyDown signals and/or pointer movements to the system; as long as you can interpret those keyDowns inside your stack there is no earthly reason why your USB device won't work with RunRev. I don't

Re: Flash cookies

2010-01-11 Thread Dave Cragg
On 11 Jan 2010, at 18:56, Richmond Mathewson wrote: On 11/01/2010 18:59, Michael Kann wrote: At this site you can see all the flash cookies that have been stored on your computer. These cookies aren't cleaned out when you clear cookies. They get through even when you are private browsing

Re: Rev IDE vs MetaCard IDE

2009-12-14 Thread Dave Cragg
On 14 Dec 2009, at 01:55, J. Landman Gay wrote: Anything is prettier than the MC IDE. It used to be that way. At one time, it was a purist's dream. The rot set in about 1999 when the image icon was upgraded from something that looked like a wire pan scourer to something else. That blatant

Re: put URL doesn't work on windows

2009-12-09 Thread Dave Cragg
On 9 Dec 2009, at 08:34, Ludovic Thébault wrote: Hello, With Revolution 2.91 To update my application, i created a script to see on a web site if there are updates available. It work fine under Macos X. But doesn't work under Windows XP. After test, a simple script like this :

Re: put put

2009-12-08 Thread Dave Cragg
Malte, I think there may be a few minor changes in the version shipping with Rev 4. (But nothing that obviously changes previous working.) In your code, I'd suggest you split the following line: put URL tPath into URL (binFile: tTempPath) into two parts, and add error checking after each

Re: Code Samples/Comparisons

2009-12-05 Thread Dave Cragg
On 4 Dec 2009, at 16:23, Kevin Miller wrote: We will continue to work on finding good ways to realistically and clearly make the case for revTalk. It is very good news that there is now a debate going on. I can't argue with that. But I wonder if code comparisons will lead to any fruitful

Re: Code Samples/Comparisons

2009-12-05 Thread Dave Cragg
On 5 Dec 2009, at 15:09, Colin Holgate wrote: On Dec 5, 2009, at 5:48 AM, Dave Cragg wrote: In what circumstances would you ever need to use this. The url returns over 1700 lines of text, and so many questions are raised: -- Why would you download so much data just to get a single

Re: Code Samples/Comparisons

2009-12-05 Thread Dave Cragg
On 5 Dec 2009, at 18:12, Colin Holgate wrote: On Dec 5, 2009, at 12:30 PM, Dave Cragg wrote: How would you do the following in Java/C/etc? get last item of line 2 of url http://ichart.finance.yahoo.com/table.csv?s=RBS.L; but rather, How would you get and display the latest

Re: Code Samples/Comparisons

2009-12-03 Thread Dave Cragg
On 3 Dec 2009, at 15:24, Bill Marriott wrote: And of course, areas where revTalk really shines. Hmm. While that may be in the company's interest, is it really in ours. Shouldn't we be focusing on areas where Rev is weaker in the hope of pushing you for improvements? :-) Cheers

Re: Error: wait aborted

2009-11-25 Thread Dave Cragg
The wait aborted message typically appears when you use command-period (control-period onWindows) to stop a running script and there are waits outstanding. For example, during a download. Would that explain it? Cheers Dave On 24 Nov 2009, at 21:44, Dan Friedman wrote: Greetings! Many of

Re: Safari caches revlet

2009-11-17 Thread Dave Cragg
If this is just for yourself during development, you can disable the cache in Safari. To do this, you need to enable the Develop menu, which you can do from the Advanced page in Preferences. Otherwise, I'd follow Brian's suggestions. Cheers Dave On 17 Nov 2009, at 00:19, Jim Lambert wrote:

Re: Post - error socket is not open

2009-10-20 Thread Dave Cragg
Hi Ray There is an outstanding bug report about cases where socket closing doesn't seem to be handled properly. http://quality.runrev.com/qacenter/show_bug.cgi?id=2955 I don't know if this is the same. But you could try adding a Connection: close http header. set the httpHeaders to

Re: [OT] Figuring Out XML Error?

2009-10-12 Thread Dave Cragg
Scott I tried to open it with something (not Rev) that parses XML and get the following error: 'The entity aacute was referenced, but not declared.' Entities are different between html and xml, and XML only supports a few as standard. Others have to be declared. (From my crusty memory. )

Re: [OT] Figuring Out XML Error?

2009-10-12 Thread Dave Cragg
On 12 Oct 2009, at 09:30, Scott Rossi wrote: (declare an entity = no clue). That's because you are still sane. No promises here, but if you insert the following at the top of the document, just after the ?xml version=1.0 encoding=UTF-8 standalone=yes? part, it seems to display in

Re: [OT] Figuring Out XML Error? (correction)

2009-10-12 Thread Dave Cragg
Sorry, my last posting contained some errors. (Copied from wrong file.) I think this is correct: !DOCTYPE document [ !ENTITY aacute #x00E1; !ENTITY Aacute #x00C1; !ENTITY acirc #x00E2; !ENTITY Acirc #x00C2; !ENTITY agrave #x00E0; !ENTITY Agrave #x00C0; !ENTITY aring #x00E5;

Re: [OT] Figuring Out XML Error?

2009-10-12 Thread Dave Cragg
On 12 Oct 2009, at 14:38, Colin Holgate wrote: The others have answered the main question (with acute solution, you might say...), but something that seems odd is that every single node has a namespace. I've never seen that done before. Maybe the schema at

Re: Custom headers HTTP protected site

2009-10-11 Thread Dave Cragg
On 11 Oct 2009, at 04:49, Jim Ault wrote: This worked for my case get http://loginn:passwo...@www.baseballhq.com/; get it members/tools/ get it projections/proj.php put url it into allPitchersBlock put libURLLastHTTPHeaders() into headersToAnalyze --one of the headers is

Re: Custom headers HTTP protected site

2009-10-10 Thread Dave Cragg
On 10 Oct 2009, at 00:26, Jim Ault wrote: Thanks for the note. It prompted me to try a simpler solution than trying to mimic the full browser set of headers. I just tried adding only the following: set the httpheaders to Authorization: Basic cm90b3Bhc3MyOjUzcHJpbmNlNDY= and it worked

Re: Custom headers HTTP protected site

2009-10-09 Thread Dave Cragg
On 9 Oct 2009, at 22:14, Jim Ault wrote: Question What am I missing? I set the libURLSetCustomHTTPHeaders == those used by the actual browser but get a blank page. To set custom headers, just use the httpHeaders property. set the httpHeaders to SomeHeader: someValue

Re: {OT] I went for awalk this morning.

2009-09-30 Thread Dave Cragg
On 30 Sep 2009, at 09:24, Richmond Mathewson wrote: What benefits will accrue from my buying it that I don't enjoy with my G4 Dual processor monster? Fewer cables. Well one fewer at least. It makes it much easier to move when you need to do the annual clean behind the desk. Well worth it

Re: What's with the ¥ character?

2009-09-15 Thread Dave Cragg
I know I should back away from Mr Horsley's challenge. :-) The only thing I can think of is that the Yen character is not the same character in all places in your script. With Japanese fonts, the Yen character is often displayed instead of the backslash character. (Perhaps on Windows only)

Re: Problems with snow leopard

2009-09-13 Thread Dave Cragg
I haven't installed Snow Leopard, so can't check this. I've read that with Snow Leopard, the Finder no longer uses creator and type codes as a way of linking files to applications. I'm guessing this might have an effect of the result of double-clicking on a file. For example, perhaps the

Re: another PHP-Revlet question

2009-08-29 Thread Dave Cragg
On 29 Aug 2009, at 19:55, Yves COPPE wrote: for a php command, I use put myVar= urlEncode(fld myFld) adresse= urlEncode(tadresse) into myString post myString to URL http://www.mondomaine.com/codefile.php; for a function I write put http://www.mondomaine.com/myfunctionfile.php; into

Re: Navigate to another page from revLet?

2009-08-28 Thread Dave Cragg
Trevor I was interested to see whether launch url would open the default browser if you had first loaded the page in a non-default browser. (e.g. start in Firefox but url is launched in Safari) But I didn't get that far. launch url did nothing at all in a revlet. (no problem in testing

Re: Navigate to another page from revLet?

2009-08-28 Thread Dave Cragg
On 28 Aug 2009, at 19:31, Dave Cragg wrote: This was on OS X with both Safari and OS X. I meant, both Safari and Firefox. Sorry! ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: Navigate to another page from revLet?

2009-08-28 Thread Dave Cragg
On 28 Aug 2009, at 19:32, Trevor DeVore wrote: On Aug 28, 2009, at 2:31 PM, Dave Cragg wrote: I was interested to see whether launch url would open the default browser if you had first loaded the page in a non-default browser. (e.g. start in Firefox but url is launched in Safari) But I

Re: Syllabic division of words

2009-08-21 Thread Dave Cragg
On 21 Aug 2009, at 19:16, Randall Reetz wrote: In addition to syllables, the system should be able to identify the following textual chunks: Characters Phonems Words Parts of speech (phrases) subject/object Semantic roots Sentences Paragraphs Sections Volumes Sets Lists Multidimentional

Re: [OT] Waiting for Beta and Visiting Edinburgh

2009-07-16 Thread Dave Cragg
On 16 Jul 2009, at 09:51, Peter Alcibiades wrote: Historically Scotland has been two cultures, the culture of the lowland cities, Then you have the highland culture, Oh dear me, Peter. If there were only these two cultures, a bunch of skirt-wearing highland lassies and

Re: Rev cannot open my jpeg ! - and some serious thinking

2009-07-01 Thread Dave Cragg
Server: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips- rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Last-Modified: Fri, 17 Apr 2009 14:22:33 GMT ETag: c0c0087-2150-e956bc40 Accept-Ranges: bytes Content-Length: 8528 Content-Type: text/html Dave (Cragg

Re: Rev Internet Lib reads wrong registry keys for proxy settings

2009-06-25 Thread Dave Cragg
Hi Tiemo Richard Gaskin drew my attention to your mail. I don't have a definitive answer. Your conclusion seems logically correct, but I wonder why this issue hasn't come up before. I think the HKCU keys are set when a user makes changes from the Internet Settings control panel, so

Re: OT: Rev to Flash translation

2009-06-03 Thread Dave Cragg
As others have said, ActionScript is quite different from Rev. But if your client is going the Flex route, it may be possible to translate the interface components. Flex uses XML for component layout, and in theory at least, it should be possible to map Rev components to the Flex

Re: LibURL Puzzlement

2009-05-13 Thread Dave Cragg
On 12 May 2009, at 22:04, Tereza Snyder wrote: I tried: get libUrlFtpCommand( pCmd, the uServer of me, the uUser of me, the uPasswd of me ) where pCmd is LIST or NLIST or NLST or LS and all yield error messages. I know you got an answer to how to get a directory listing. But just

Re: Another newb question - How to you clear a field?

2009-05-08 Thread Dave Cragg
On 8 May 2009, at 20:13, J. Landman Gay wrote: Scott Rossi wrote: Recently, J. Landman Gay wrote: if literal names are not quoted, the engine takes twice as long to execute the statement because of the additional lookup. Jacque, is this really true? I confess I made up the twice as long

Re: Wierd MouseLine

2009-03-25 Thread Dave Cragg
On 24 Mar 2009, at 22:58, dunb...@aol.com wrote: If not a bug, then a gremlin. In a stack, make a locked field with several lines of text. In the field script put: on mouseUp set cursor to plus repeat until the mouseClick put the mouseLine end repeat end mouseUp Move the mouse

Re: Crybaby

2009-02-26 Thread Dave Cragg
Craig, On 26 Feb 2009, at 16:54, dunb...@aol.com wrote: I have another stack B with an opencard handler in the stack script , containing one line: doThis. A handler doThis right below it has nothing in it. On openstack, Stack B is put in use. My first question was why you have an

Re: getting timeout with load URL

2009-02-25 Thread Dave Cragg
On 25 Feb 2009, at 17:38, Phil Davis wrote: As far as I can tell, the socketTimeoutInterval doesn't seem to interact with the 'load' command. At least, the 'socketTimeout' message isn't sent when 'load' exceeds the socketTimeoutInterval. That's my experience. Am I missing something? That

Re: CGI on Win servers?

2009-02-11 Thread Dave Cragg
On 11 Feb 2009, at 09:37, jbv wrote: Richard , I've only used the Rev engine on Linux and BSD, never on Windows servers yet. Anything tricky about using it on Win as a CGI, or should it be about as straightforward as on Linux? -- The only time I used Rev cgi on a Win server, it was

Re: Another SQL question

2009-01-31 Thread Dave Cragg
On 31 Jan 2009, at 01:50, Bob Sneidar wrote: Never mind I figured it out. You have to use MATCH() AGAINST() with MyISAM tables and the columns you search have to have fulltext indexes created for them. Works like a charm though. SELECT * FROM myISAMTable MATCH (deptid) AGAINST

Re: [OT] Google goes mad?..

2009-01-31 Thread Dave Cragg
Interesting. I had the very same experience a few minutes ago when googling for something else. All sites returned in the results where marked as you described. A blip, I think. Cheers Dave On 31 Jan 2009, at 15:13, viktoras d. wrote: a few minutes ago I searched for runtime revolution,

Re: [OT] Google goes mad?..

2009-01-31 Thread Dave Cragg
There's some more info here: http://tech.slashdot.org/article.pl?sid=09/01/31/1457221 End of the world in a few hours. :-) Dave On 31 Jan 2009, at 15:13, viktoras d. wrote: a few minutes ago I searched for runtime revolution, birds, webcam hints, climate change in google and each of these

Re: [OT] Google goes mad?..

2009-01-31 Thread Dave Cragg
On 31 Jan 2009, at 17:26, Petrides, M.D. Marian wrote: Mac here, too. No problems. Must be a Win thing. I saw it on my Mac. I think they fixed the problem pretty quickly. (at 3:16 GMT apparently) But it was colorful while it lasted. :-) ___

Re: HEAD method

2009-01-28 Thread Dave Cragg
On 28 Jan 2009, at 19:49, Andre Garzia wrote: check the liburlsetcustomhttpheaders command, it will allow you to specify a different set of headers, you can use that to do HEAD calls without the need to script low level socket routines. cheers andre This is possible but you will have to

Re: HEAD method

2009-01-28 Thread Dave Cragg
On 28 Jan 2009, at 23:07, Andre Garzia wrote: I've seen servers complaining about the lack of Date header in the request, does anyone knows if it is mandatory for HTTP/1.1? Not mandatory. From the rfc Clients SHOULD only send a Date header field in messages that include an entity-body,

Re: Flash + RevBrowser + Mac Problems

2009-01-03 Thread Dave Cragg
On 22 Dec 2008, at 20:03, Scott Rossi wrote: Thanks to all the folks who responded about Flash RevBrowser issues. Perhaps there are differences between older and recent versions of ActionScript, maybe the version of the Flash player is important, or maybe there are idiosyncrasies due to

Re: Rev cgi mySQL (again)

2009-01-02 Thread Dave Cragg
On 2 Jan 2009, at 20:38, jbv wrote: So the query is quite straightforward, for instance : SELECT Col1, Col2, Col3, Col4 FROM myTable WHERE Col1 = toto OR Col2 = toto OR Col1 = tata OR Col2 = tata OR Col1 = titi OR Col2 = titi... up to possibly 50 elements. I think all those OR conditions

Re: Rev cgi mySQL (again)

2009-01-02 Thread Dave Cragg
Sorry, syntax error in my last post: Should be: ( SELECT Col1, Col2, Col3, Col4 FROM myTable WHERE Col1 IN ('toto','tiki','tata','etc.') ) UNION DISTINCT ( SELECT Col1, Col2, Col3, Col4 FROM myTable WHERE Col2 IN ('toto','tiki','tata','etc.') )

Re: Hammering on about Paragraphs

2008-12-20 Thread Dave Cragg
On 20 Dec 2008, at 11:08, Richmond Mathewson ranted about some professors: Yet Richmond, despite your contempt for one professor who taught you about paragraphs, you repeat what he taught you as fact. What do you think that tells us? A quick look at various pieces of writing will show

Re: CGI MySQL Drivers What next?

2008-12-17 Thread Dave Cragg
Jim Also see this tip on Ken's site about old style passwords. I don't know if Rev's MySQL support was updated to deal with new style passwords. (Anyone know?) http://www.sonsothunder.com/devres/revolution/tips/data004.htm I'm assuming your sample script is returning WRONG. Could you

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Dave Cragg
On 12 Dec 2008, at 00:48, Judy Perry wrote: I just want to show people that you can do things easier -- and certainly easier for a child -- in Rev than in all those other languages being suggested. I'll play Devil's Advocate. There seems to be some assumptions about what is easier for a

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Dave Cragg
On 12 Dec 2008, at 16:09, Judy Perry wrote: Except that a child has almost certainly NEVER encountered that dot- joining that you reference, but HAS encountered the rather alot. Judy But more important surely is that the child has never encountered the programming concept of object

Re: How do you handle an engine update for your app?

2008-12-01 Thread Dave Cragg
On 1 Dec 2008, at 13:17, Tiemo Hollmann TB wrote: What are your approaches to organise this issue? Here is the rough outline of an approach I've used before. -- Build a standalone to act as the updater. The new engine file is contained in a custom property of this standalone. -- Have the

Re: AW: AW: AW: need help for decompress URL

2008-11-28 Thread Dave Cragg
On 28 Nov 2008, at 11:06, Tiemo Hollmann TB wrote: Yes, decompressing the same lokal file with: put decompress(URL (binfile: it)) into URL (binfile: tFile) works like a charme. But uploading this file to the internet and doing load pURL put decompress(url pUrl) into tData where pUrl is

Re: More - Post Command Problem looks like a RunRev problem?

2008-11-18 Thread Dave Cragg
Dave I know you're trying the curl approach now, but did you ever try logging the request/response in the original post command? From earlier mail: Dave As you are getting back data (even if truncated), I'm guessing that Rev (libUrl) isn't seeing any error. But just to confirm, are you

Re: Random algorithm

2008-11-17 Thread Dave Cragg
On 17 Nov 2008, at 16:04, Richard Gaskin wrote: Dave Cragg wrote: ... The two scripts measure the number of repeated sequences that are generated by the two methods. The first method has yet to produce a repeated sequence here. ... METHOD 1 (no resetting) Bingo. The psuedo-random algo

Re: Random algorithm

2008-11-15 Thread Dave Cragg
On 13 Nov 2008, at 19:38, Richard Gaskin wrote: So unless I'm missing something obvious (and it certainly wouldn't be the first time), beginning with a fresh seed as Rev does and then resetting it each time during the session seems a fair way to avoid discernible reproducible patterns for

Re: Random algorithm

2008-11-13 Thread Dave Cragg
Malte It looks like I miscalculated the upper limit, or have goofed something entirely. The script I ran first was this: on mouseUp put the milliseconds into tSeed set the randomSeed to tSeed put empty into field 1 repeat 5 put random (1000) cr after field 1 end

Re: Random algorithm

2008-11-13 Thread Dave Cragg
wrong with a random number generator that spits out duplicate numbers. Random is blind to history (and future). Random is not nostalgic. A coin with two sides is just as good at random as a pair of thousand sided dice. Randall -Original Message- From: Dave Cragg [EMAIL

Re: Random algorithm

2008-11-13 Thread Dave Cragg
On 13 Nov 2008, at 07:36, Malte Brill wrote: on each run of the following script: on mouseUp pMouseBtnNo repeat with i= 2130706432 to 2130706442 set the randomseed to i put random(34) cr after fld 1 end repeat end mouseUp Malte It looks like the limit is 2^31 --

Re: Post Command Problem

2008-11-13 Thread Dave Cragg
Dave As you are getting back data (even if truncated), I'm guessing that Rev (libUrl) isn't seeing any error. But just to confirm, are you checking the result after each post? The normal result for this kind of problem is socket closed before end of file. It might be useful to check that

Re: Random algorithm

2008-11-13 Thread Dave Cragg
On 13 Nov 2008, at 19:50, Malte Brill wrote: Somewhat related :) http://web.archive.org/web/20011027002011/http://dilbert.com/comics/dilbert/archive/images/dilbert2001182781025.gif http://xkcd.com/221/ Love them!! Dave ___ use-revolution mailing

Re: Random algorithm

2008-11-13 Thread Dave Cragg
On 13 Nov 2008, at 19:38, Richard Gaskin wrote: Fortunately, it doesn't. Rev sets the randomSeed to some non-fixed number (a truncated portion of the milliseconds?) each time it starts. This implies that each session starts with a unique seed, so each sequence derived from it will be

Re: Random algorithm

2008-11-12 Thread Dave Cragg
On 12 Nov 2008, at 21:21, Jan Schenkel wrote: If memory serves me well (and I admit mine is comparable to that of a goldfish) then the engine initializes the randomseed to the value of the milliseconds at startup. I thought the same. But while playing just now (as a result of this thread

Re: Random algorithm

2008-11-12 Thread Dave Cragg
It would seem that resetting the randomSeed each time you use the random function would only have a 1-in-4,570,422 chance of getting the same seed as the previous run, no? Yes, but the chances of having the same seed as any of teh previous runs becomes progressively larger. Is it not a bit

Re: Post Command Problem

2008-11-11 Thread Dave Cragg
Dave I'm not clear about the problem you are having. When you say you are receiving blocks of data, is this as a result of a series of post commands? (one block per post) If so, it seems some responses contain less data than expected. If you are getting no error (the result is empty), I

Re: revbrowser useragent

2008-10-16 Thread Dave Cragg
On 16 Oct 2008, at 05:32, Terry Judd wrote: I just tried changing the HTTPheaders using the libURLSetCustomHTTPHeaders command without any noticeable effect on the user-agent reported by a request originating from RevBrowser – so that’s not looking promising. This really isn’t my field of

Re: Mac vs. Windows

2008-10-04 Thread Dave Cragg
On 3 Oct 2008, at 17:36, Melitón Cardona Torres wrote: I use this: put ftp://[EMAIL PROTECTED]:[EMAIL PROTECTED]/ into gNewURL and I get a connection to the FTP in the Mac compilation, but not in the Windows one. Any ideas? Try using urlEncode() on the name and password parts. Ex:

  1   2   3   4   5   6   7   8   >