Re: Refresh Table after editing record in another stack - bumped

2008-01-29 Thread Sarah Reichelt
> Which gets me back to: how do I call a script in a parent stack from a > substack? > I'm trying this now and I get an error: handler not found. I'm assuming the > substack doesn't know the script in the parent stack exists. Is this where > you have to put scripts into the FrontScripts? Not sure.

export snapshot with groups

2008-01-29 Thread Richard Gaskin
Is there some magic syntax option which will allow me to use the "export snapshot" command to export the full area within the boundingRect of a group object, even if the boundingRect may exceed the object's current rect? I know I can make an offscreen copy, adjust the rect to match the boundin

Re: protecting images in rev-cgi generated html

2008-01-29 Thread Jim Lambert
Really, what I wish I could do is to use something like the "print card" function of rev -- which is what the standalone of my bingocard-maker already relies on -- so that a rev cgi script could, instead of delivering individual server-side images, combine those images into one large card-like ima

Re: Fraction Fonts

2008-01-29 Thread Mark Greenberg
On Jan 29, 2008, at 2:17 AM, Mark Swindell wrote: Has anyone had any experience with fraction fonts in Rev? I needed fractions in a math stack and ended up forgoing fraction fonts in favor of this method: 1. Display this in the part of the field that shows: y = 4x + 11 2. Put this in t

Re: Refresh Table after editing record in another stack - bumped

2008-01-29 Thread mfstuart
Thanx Sarah, I'll try that script. But with a multi-user environment, I think I'll have to call my "loadTable" handler again, as other users may have updated records in the same list as another user. Which gets me back to: how do I call a script in a parent stack from a substack? I'm trying this

Re: OT: on writing code

2008-01-29 Thread Mark Wieder
Mark- This is by far my favorite piece of obfuscated C code: http://www0.us.ioccc.org/1990/westley.c -- Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: Hypercard play command

2008-01-29 Thread Judy Perry
Mick, If you're on a Mac, you can d/l Shakobox from Jacquie's website (http://www.hyperactivesw.com). Directions included therein. Gives you access to the QuickTime digital instrument library. There's a similar thingy for PC but I've never gotten it to work properly. Judy On Jan 29, 2008 11:2

Re: OT: on writing code

2008-01-29 Thread J. Landman Gay
Mark Smith wrote: Well, while we're on the subject of dense code: this is apparently legal C: for(;P("\n"),R--;P("|"))for(e=C;e--;P("_ "+(*u++/8)%2))P("| "+(*u/4)%2); (from the spoof that went round about C and Unix being a hoax). This is identical to what my parrot produces when I allow her t

Re: OT: on writing code

2008-01-29 Thread Mark Smith
Well, while we're on the subject of dense code: this is apparently legal C: for(;P("\n"),R--;P("|"))for(e=C;e--;P("_ "+(*u++/8)%2))P("| "+(*u/4)%2); (from the spoof that went round about C and Unix being a hoax). and this bit of perl is extraordinary: http://99-bottles-of-beer.net/language-pe

Re: [OT] Validating Email Addresses...

2008-01-29 Thread Martin Baxter
Jim Carwardine wrote: > Hi Folks... I offer some free downloads on my web site... > > (a web site I will be recreating using Rev - so I feel some legitimacy > asking the question on this list - as I will need to do something in Rev > ultimately) > > ... And I'm asking for some contact information

Re: OT: on writing code

2008-01-29 Thread Andre Garzia
Now, just imagine that I am a CS student in a "very easy to be accepted" university here... imagine that most of the students never coded before, actually, their concept of coding is from Hollywood hacker movies now, imagine these guys having to deal pointer arithmetics using Turbo C circa 199

Re: OT: on writing code

2008-01-29 Thread Mark Wieder
Mikey- > int myVar = ++someOtherVar To be fair about this, there's really no reason to start off by placing this all in one line just because you can: int myVar; ++someOtherVar; // or someOtherVar = someOtherVar + 1; myVar = someOtherVar; does the same thing and is (somewhat) easier for newbie

Re: Refresh Table after editing record in another stack - bumped

2008-01-29 Thread Sarah Reichelt
> I would like to "refresh" a table of data (loaded using the revDataFromQuery > command) that is on a parent stack, after editing a record on another > substack. > > The parent stack could possibly be loaded with thousands of records, so I'd > like to not have to call my "on loadTable" stack scrip

Re: Hypercard play command

2008-01-29 Thread Sarah Reichelt
On Jan 30, 2008 5:25 AM, Mick Collins <[EMAIL PROTECTED]> wrote: > Any ideas on emulating hypercard's play command? > > It's been a long time but I think the syntax was: > > play soundname -- to set the default tone/voice/etc > play stop -- to stop the sound > play "c4e" -- the note (c in a part

Re: OT: on writing code

2008-01-29 Thread Mikey
Continuing this thread, I'm working on some Java teaching tools, and no matter how I try I just cannot help people get their heads wrapped around int myVar = ++someOtherVar Great. It's short. However since you have three things going on in the same line, it is nearly impossible to absorb it. __

Re: OT: on writing code

2008-01-29 Thread Graham Samuel
On Tue, 29 Jan 2008 12:29:06 -0200, "Andre Garzia" <[EMAIL PROTECTED]> wrote: Mikey, http://www.paulgraham.com/onlisptext.html There are copies available in PDF, TXT and others... I'm using the paper version. Lisp can be very elegant if you keep your functions small... Also emacs+slime can

Re: Hypercard play command

2008-01-29 Thread Kenji Kojima
Mick, Download UDI's stack MakeSMF. Go to http://homepage.mac.com/udi/stack/tool.html If you cannot read Japanese. http://homepage.mac.com/udi/stack/makeSMF133.hqx There are English and Japanese docs in it. -- Kenji Kojima RGB MusicLab: Pixels into Music http://www.kenjikojima.com/rgbmusiclab/

Refresh Table after editing record in another stack - bumped

2008-01-29 Thread mfstuart
Hi All, On my previous request, I asked a how-to question about refreshing table lists after editing one of the records (on that list) in another substack. But no responses. Is this difficult to do? I just need to understand how one would approach the scripting to refresh the table list. Please

Hypercard play command

2008-01-29 Thread Mick Collins
Any ideas on emulating hypercard's play command? It's been a long time but I think the syntax was: play soundname -- to set the default tone/voice/etc play stop -- to stop the sound play "c4e" -- the note (c in a particular octave) and its length e (ighth) those might be a little off, and

Re: protecting images in rev-cgi generated html

2008-01-29 Thread Bill Marriott
You can make it as hard and cumbersome and processing intensive as you like... But at the end of the day, the images are always "downloaded" to the client's web browser. Whether they right-click and crop, open their cache, hit the Print Screen button, or employ a dozen other techniques... those

Re: protecting images in rev-cgi generated html

2008-01-29 Thread Stephen Barncard
This is referring to the method of using a database or non-web directory to hold the actual data to be displayed (in this case html links to photos) . The database method inserts the URL at page creation time, as opposed to it sitting there in static html on a page. Most of the commercial web

Re: OT: on writing code

2008-01-29 Thread Luis
Hiya, No problem, thank you. I still dabble in Forth, when the mention came up in the list I had to post the link. Cheers. Luis. On 29 Jan 2008, at 17:09, Mark Wieder wrote: Luis- Thanks - I wasn't aware that this had been released as open-source. I got a nice email from Leo a while ba

Re: OT: on writing code

2008-01-29 Thread Mark Wieder
Andre- Urk. I really didn't want to make this a discussion about perl. Posting the article link was more about thinking about xtalk as a language in the broader definition and in the context of KISS-style coding. -- Mark Wieder [EMAIL PROTECTED]

Re: OT: on writing code

2008-01-29 Thread Mark Wieder
Luis- Thanks - I wasn't aware that this had been released as open-source. I got a nice email from Leo a while back thanking me for web-publishing a reference to his books. -- Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revo

Re: [OT] Validating Email Addresses...

2008-01-29 Thread Luis
You could hop onto: http://www.ranks.nl/tools/email.html There's some more regex stuff here: http://www.regular- expressions.info/email.html Cheers, Luis. On 29 Jan 2008, at 15:31, Jim Carwardine wrote: Thanks, Eric... That is certainly better than what I was considering and certainly q

Re: [OT] Validating Email Addresses...

2008-01-29 Thread Jim Carwardine
Thanks, Andre... Jim on 1/29/08 11:26 AM, Andre Garzia wrote: > Jim, > > I have a simple way to send the download link by email, I'll send it > later by email or post on this list if more people want this. > > Cheers > andre > > On 1/29/08, Jim Carwardine <[EMAIL PROTECTED]> wrote: >> Hi Folk

revBrowser Scrollbars in Safari

2008-01-29 Thread Thomas McGrath III
Hello everyone, it has been awhile for me to be on this list. Very busy and a lot of great projects. Also I had some health and personal issues this past year. Hello, Hello, Hello. OK. I am playing with revBrowser and have noticed that the FIX for toggling scrollbars for the mac/safari i

Re: [OT] Validating Email Addresses...

2008-01-29 Thread -= JB =-
I would appreciate it being posted. -=>JB<=- On Jan 29, 2008, at 7:26 AM, Andre Garzia wrote: Jim, I have a simple way to send the download link by email, I'll send it later by email or post on this list if more people want this. Cheers andre On 1/29/08, Jim Carwardine <[EMAIL PROTECTED]>

Re: [OT] Validating Email Addresses...

2008-01-29 Thread Jim Carwardine
Thanks, Eric... That is certainly better than what I was considering and certainly quicker than asking the downloader to wait for the email to arrive... Jim on 1/29/08 11:09 AM, Eric Chatonet wrote: > Hi Jim, > > Here is a function from Ken, the regex king :-) > > -

Re: [OT] Validating Email Addresses...

2008-01-29 Thread Jim Carwardine
It's of little value, agreed, and would be eliminated if they opt to not do it, which I would consider a good thing. The deal is, I give you something you value, you give me something I value, a business relationship is struck and a small deal is made. Lying to me and taking my stuff is not the b

Event-triggered snapshot-logging to quicktime movies

2008-01-29 Thread Kresten Bjerg
Hi revolutionaries I am developing a rev prototype for a laptop multimedia diary, also to serve as vehicle in interfacing long-distance telecontacts- with verbal and visual desktop-sharing.(www.phenomenalog.dk) But I am faced with the slowness in reviewing ( for myself - and possibly also in ab

Re: [OT] Validating Email Addresses...

2008-01-29 Thread Andre Garzia
Jim, I have a simple way to send the download link by email, I'll send it later by email or post on this list if more people want this. Cheers andre On 1/29/08, Jim Carwardine <[EMAIL PROTECTED]> wrote: > Hi Folks... I offer some free downloads on my web site... > > (a web site I will be recreat

Re: [OT] Validating Email Addresses...

2008-01-29 Thread Eric Chatonet
Hi Jim, Here is a function from Ken, the regex king :-) -- --| FUNCTION: isEmail --| --| Author: Ken Ray --| Version: 1.0 --| Created: Unknown --| Requires: -- --| --| Determines if the container passed to it in contains a

Re: OT: on writing code

2008-01-29 Thread Luis
And of course, here is the link: http://thinking-forth.sourceforge.net Cheers, Luis. On 29 Jan 2008, at 15:05, Luis wrote: Leo Brodie's book has been given the open treatment and is available for free online. Cheers, Luis. On 29 Jan 2008, at 13:28, Andre Garzia wrote: Mark, can we s

Re: OT: on writing code

2008-01-29 Thread Luis
Leo Brodie's book has been given the open treatment and is available for free online. Cheers, Luis. On 29 Jan 2008, at 13:28, Andre Garzia wrote: Mark, can we say that is impossible to write elegant perl now since perl always look bad... On a side reference, I've been reading both "On li

Re: [OT] Validating Email Addresses...

2008-01-29 Thread Richard Gaskin
Jim Carwardine wrote: ... And I'm asking for some contact information from the downloader (fair trade I feel). I'm getting a lot of garbage being offered by people who want a look but don't want to give their info. Screening for legitimate email addresses is done on many web sites... Of what

Re: OT: on writing code

2008-01-29 Thread Thierry
this thread made me think of this. Mmmm, still Eric Raymond :-) "Show me your code and conceal your data structures, and I shall continue to be mystified. Show me your data structures, and I won't usually need your code; it'll be obvious." (the quote is an Eric Raymond (1997) paraphrase of

Re: OT: on writing code

2008-01-29 Thread Mikey
xTalk IS very nice. I don't like some of the things RR has done, but it is still much easier to teach someone than many other languages. Yes, I too capital-L LOVE JavaScript as well. ___ use-revolution mailing list use-revolution@lists.runrev.com Please

[OT] Validating Email Addresses...

2008-01-29 Thread Jim Carwardine
Hi Folks... I offer some free downloads on my web site... (a web site I will be recreating using Rev - so I feel some legitimacy asking the question on this list - as I will need to do something in Rev ultimately) ... And I'm asking for some contact information from the downloader (fair trade I f

Re: OT: on writing code

2008-01-29 Thread Andre Garzia
Mikey, http://www.paulgraham.com/onlisptext.html There are copies available in PDF, TXT and others... I'm using the paper version. Lisp can be very elegant if you keep your functions small... Also emacs+slime can do lots of tricks for making it pretty when being displayed. Still, it is difficul

Re: OT: on writing code

2008-01-29 Thread Mikey
I would LOVE to see elegant LISP. There's a reason why we nickname it "Lots of Idiotic Stupid Parenthesis". I tried for a long time to write LISP that could actually be read, but it was difficult. Then there's the line about C++ being a "Write-Only" language.

Re: OT: on writing code

2008-01-29 Thread Andre Garzia
Mark, can we say that is impossible to write elegant perl now since perl always look bad... On a side reference, I've been reading both "On lisp" and "Thinking Forth", very nice books with very nice and elegant code. Andre On 1/28/08, Mark Wieder <[EMAIL PROTECTED]> wrote: > Eric Raymond's talk

Re: Testing conformity of xml data (tidy)

2008-01-29 Thread Andre Garzia
Tidy is everywhere! :-D On 1/29/08, Peter Alcibiades <[EMAIL PROTECTED]> wrote: > Availability of tidy. > > It and its docs are installed on my copy of Debian and I don't recall having > done it. But even if not part of the base distribution, which it might not > be in stuff like PCLinux or Vec

Re: protecting images in rev-cgi generated html

2008-01-29 Thread Nicolas Cueto
> What is it that you are trying to stop people doing? Stop them from downloading any one of the individual images that together make up a bingo-card. That's the royalty condition of the images according to the clip-art company that sold them. Of course, people could still capture the screen, b

Windows Vista lite

2008-01-29 Thread michael
Thought I'd pass this one along, for anyone that's runing MS Vista on parallels or vmware this tool will save some space. http://www.vlite.net/about.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe,

Re: protecting images in rev-cgi generated html

2008-01-29 Thread Ian Wood
I think the bit you found on the PHP forum is a red herring, if the image doesn't appear in the HTML code *somewhere* then it's not going to be visible on the screen. It's impossible to totally stop people accessing an image that's visible in a browser window, you can only try to make it ha

protecting images in rev-cgi generated html

2008-01-29 Thread Nicolas Cueto
Greetings The List, For a while, I've been relying on a rev-cgi script that generates an html table representing a 5x5 picture-bingo card. The rev script embeds the 25 images as urls in the html code. A snippet of the code is below. However, from a browser people could easily peek at the code an

Re: Testing conformity of xml data

2008-01-29 Thread Malte Brill
Sarah wrote: > Rev's XML library can give a text representation of an > XML tree using revXMLtext, but it is not formatted and appears all on > one line. Just to share something nice (and as a reminder to mySelf) revXmlText has an undocumented third parameter. if you use put revXMLText(tId,,

Re: ide not himself

2008-01-29 Thread Malte Brill
Hi Peter, once that happes again, try this in the messagebox: put the messagemessages If you get true in return, set the messagemessages to false. I had that happen once that a prefs file got screwed and that property was true (even though I did not even touch the message watcher). If you

ide not himself

2008-01-29 Thread Peter Alcibiades
It was a (not very good) joke, but it does seriously happen and its not clear why. Sometimes, the ide slows down dramatically for no apparent reason. Like, it takes a half or quarter second to type a character in the script editor. Or entering data into a field suddenly slows to a crawl.

Testing conformity of xml data (tidy)

2008-01-29 Thread Peter Alcibiades
Availability of tidy. It and its docs are installed on my copy of Debian and I don't recall having done it. But even if not part of the base distribution, which it might not be in stuff like PCLinux or Vector or Zenwalk or the one cd distros, its going to be a simple download from the reposito