Re: [ANN] www.krugle.com --- xtalk not a real language

2006-07-21 Thread Klaus Major


Am 21.07.2006 um 08:03 schrieb Richmond Mathewson:


...

Probably the best response to any stuffed-shirts who state that  
xTalk is not
a real computer language (presumably the corollary of that argument  
is that
it is a "fake" language - see what I mean?) is for one of the  
better programmers in

our community to develop a website that searches for xTalk code, and
we then will have no Kugels any more (sorry, a pun I slipped in for  
Klaus Major and

the German contingent).


And THAT would be a pity! :-)


sincerely, Richmond Mathewson


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: screensaver question

2006-07-21 Thread jbv

Jack,

> Is it possible to create a screensaver with Rev?
>

I did it about 3 years ago (in the MC days) by using a
commercial product named Screentime (www.screentime.com)
and the following trick :
- I created a standalone with MC (one for each platform Win & Mac)
- I changed the file type of the standalones to SWF to fool Screentime
and make it think they were created with Flash
- then I used the Screentime app for Flash to create my screensaver for
each platform...

I guess the trick still works with apps made with Rev...
There might also be other similar products available... and may be there
are straight solutions to create screensavers without any extra product...

JB

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] www.krugle.com --- xtalk not a real language

2006-07-21 Thread Thomas McGrath III

Lynn,

I would be willing to participate.

Note: I don't know how 'big' this site is though. I mean staying  
power. The searches that I have done so far have not returned any  
mail list results and have mostly been from source forge et al. I  
already search right from within Visual Studio to source forge etc.  
so I don't see this being embraced in a big way. However, with that  
said if this technology were available for Rev then I would certainly  
use it. Maybe a Rev plugin set to search the site from within Rev  
would do the trick.


Tom

On Jul 20, 2006, at 7:51 PM, Lynn Fredricks wrote:


If you poke about on the krugle site it is stated that it is
devoted to Open Source languages.

and, Here, We, Go, Again . . .


There is a thread in the support forum for it. If in the next  
newsletter we
set up some sort of automated petition to krugle include  
Revolution, would

you all be willing to participate?

Best regards,


Lynn Fredricks
Worldwide Business Operations
Runtime Revolution, Ltd



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software - http://www.lazyriversoftware.com

Lazy River Metal Artâ„¢ - http://www.lazyriversoftware.com/metal.html

Meeting Wear - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Can this be done faster ?

2006-07-21 Thread Geoff Canyon


On Jul 20, 2006, at 7:27 PM, John Miller wrote:


put 50 into XX
put the ticks into timer
repeat until listXX is empty
  put line 1 to XX of listXX into listYY
  delete line 1 to XX of listXX
  repeat with x = 1 to (number of lines in listYY)
 doaction to line x of listYY
  end repeat
end repeat
put the ticks - timer


You'd almost certainly get even better performance with repeat for  
each. The problem with any loop where you are repeatedly getting line  
N is that the more lines there are, the longer it takes to get the  
last ones because you have to count through all the previous ones.  
Breaking it up into chunks of 50 (as you did above) improves the  
situation, but doesn't fix it. Throw a large enough list at it and it  
will choke. Repeat for each takes each line in turn, so it never has  
to re-count through the list. A list twice as long with take twice as  
long, no matter how big the lists get.


Here's an example:

repeat for each line L in listXX
  doaction to L
end repeat

If you need to know the line number as you go along, then use this:

put 0 into tLineNumber
repeat for each line L in listXX
  add 1 to tLineNumber
  doaction to L
end repeat
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Can this be done faster ?

2006-07-21 Thread Mark Wieder
John-

Thursday, July 20, 2006, 7:27:12 PM, you wrote:

> put 50 into XX
> put the ticks into timer
> repeat until listXX is empty
>put line 1 to XX of listXX into listYY
>delete line 1 to XX of listXX
>repeat with x = 1 to (number of lines in listYY)
>   doaction to line x of listYY
>end repeat
> end repeat
> put the ticks - timer

Not sure what you're trying to do here, but you *are* aware that
you're executing "doaction" on a specific line a number of times
depending on how many lines you've already accumulated, right? In
other words, once to line 1, twice to line 2, 10 times to line ten,
etc. What's the purpose of the inner repeat loop?

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Error uploading file in Windows

2006-07-21 Thread Ton Kuypers

Hi,

I have a problem when uploading a file to an FTP server...
I developed on OS-X, in the IDE on the Mac this works fine:

put "ftp://user:[EMAIL PROTECTED]/wwwroot/Schedule.html" into  
vURL

put vHTML into url vURL

But when I do this in the Windows IDE I get the error "501 missing  
parameter in command user" in the result.
When I create a standalone on the Mac for Windows, the result is the  
same.


What can this be? Anyone any suggestions?

I'm using RR 2.7.2.


Warm regards,

Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Can this be done faster ?

2006-07-21 Thread Jim Ault
I would use the following type of  loop

put the ticks into timer
set the itemdel to tab  --or what applies
filter databaseList without empty

repeat for each line txtLine in databaseList
put doaction(txtLine) & cr after newListing
end repeat

filter newListing without empty
put the ticks - timer
sort newListing by item 4 of each




Jim Ault
Las Vegas

On 7/20/06 7:27 PM, "John Miller" <[EMAIL PROTECTED]> wrote:

> JB,
> 
> I once wrote an inventory control program for a company using
> Revolution.  They had many thousands of items that I read out of
> their database and then sorted and processed.
> 
> I found that using a repeat for that many items was extremely slow.
> The solution that I found which made things blazingly fast was to
> only process about 50 items at a time.
> 
> For instance:
> 
> 
> put 50 into XX
> put the ticks into timer
> repeat until listXX is empty
>put line 1 to XX of listXX into listYY
>delete line 1 to XX of listXX
>repeat with x = 1 to (number of lines in listYY)
>   doaction to line x of listYY
>end repeat
> end repeat
> put the ticks - timer
> 
> 
> Using the format above, you can experiment to see which value for XX
> is the most advantageous. I was able to whittle my time down from 45
> seconds to less than 1.
> 
> Good Luck
> John Miller
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Can this be done faster ?

2006-07-21 Thread John Miller

Greetings All,

To clarify how I do this ...

I have a stack that has 2 fields.  The first fields contains 30,000  
lines.  My goal (for the sake of doing something) is to put item 1 of  
each line into item 2 of each line.  When the script is finished, the  
results should be put into field 2.


Using the following script, processing all 30,000 lines takes a  
little over 52 seconds.


on mouseUp
  put empty into cd fld 2
  wait 5 ticks
  put 0 into XX
  put cd fld 1 into listXX
  put the ticks into timer
  repeat for each line L in listXX
add 1 to XX
put line XX of listXX into item 2 of line XX of listXX
  end repeat
  put (the ticks - timer)/60
  put listXX into cd fld 2
end mouseUp


Using my script, I can process all 30,000 lines in less than 1 second.
 Using the following values for YY I got the corresponding  
times . . .

YY = 500 = 1.48 seconds
YY = 400 = 1.17 seconds
YY = 300 = .917 seconds
YY = 200 = .683 seconds
YY = 100 = .433 seconds
YY = 50 = .333 seconds

on mouseUp
  put 50 into YY
  put empty into cd fld 2
  wait 5 ticks
  put 0 into XX
  put empty into listYY
  put cd fld 1 into listXX
  put the ticks into timer
  repeat until listXX is empty
put line 1 to YY of listXX into tempXX
delete line 1 to YY of listXX
repeat with x = 1 to YY
  put line x of tempXX into item 2 of line x of tempXX
end repeat
put RETURN & tempXX after listYY
  end repeat
  delete line 1 of listYY

  put (the ticks - timer)/60
  put listYY into cd fld 2
end mouseUp


Happy Scripting,
John Miller
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Can this be done faster ?

2006-07-21 Thread Mark Smith

on mouseUp
  put empty into cd fld 2
  wait 5 ticks
  put 0 into XX
  put cd fld 1 into listXX
  put the ticks into timer
  repeat for each line L in listXX
put L into tLine
put item 1 of tLine  into item 2 of tLine
put tLine & cr after tList
  end repeat
  delete char -1 of tList
  put (the ticks - timer)/60
  put tList into cd fld 2
end mouseUp

How does this one stack up?

(on my sample data of 3 lines "a,b,c,d", this took 60 milliseconds).

Best,

Mark

On 21 Jul 2006, at 19:45, John Miller wrote:


on mouseUp
  put empty into cd fld 2
  wait 5 ticks
  put 0 into XX
  put cd fld 1 into listXX
  put the ticks into timer
  repeat for each line L in listXX
add 1 to XX
put line XX of listXX into item 2 of line XX of listXX
  end repeat
  put (the ticks - timer)/60
  put listXX into cd fld 2
end mouseUp


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Can this be done faster ?

2006-07-21 Thread John Miller

Mark,

Using your script, processing all 30,000 lines in my field only took . 
167 seconds.  Impressive!!!


Thanks,
John
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Error uploading file in Windows

2006-07-21 Thread Mark Wieder
Ton-

Friday, July 21, 2006, 8:37:08 AM, you wrote:

> I have a problem when uploading a file to an FTP server...
> I developed on OS-X, in the IDE on the Mac this works fine:

>  put "ftp://user:[EMAIL PROTECTED]/wwwroot/Schedule.html" into
> vURL
>  put vHTML into url vURL

> But when I do this in the Windows IDE I get the error "501 missing  
> parameter in command user" in the result.

I don't know why you're getting a user error (you don't have spaces in
the user name, do you?), but I think you will have a problem once you
get past that obstacle - I don't believe you will have access to the
wwwroot folder from an ftp connection, unless you've set that up
explicitly yourself (or have set an IIS virtual folder to point to the
actual wwwroot). When I tried this on win2k I ended up creating
another wwwroot folder inside the default ftp user folder, which then
contained the Schedule.html file.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Imagedata row order

2006-07-21 Thread J. Landman Gay
I am trying to figure out how to set an image's imageData to a repeating 
pattern. I have a pattern that is 8 x 8 pixels. I want to repeat this 
pattern 16 times in order to fill a 32-pixel square image.


If I repeat the pattern 4 times, I get a nice column of four repeating 
patterns going down the left edge of the image. If I repeat it 16 times 
I get junk. In what order are the pixels laid down, and what determines 
where and when they wrap?


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


internal SQL queries

2006-07-21 Thread Viktoras Didziulis
Dear group, 
 
is it possible to query [tab] delimited data stored in fields or containers
within a stack using SQL? e.g. without any external database engine or
database files or connections... 
 
All the best! 
Viktoras
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Error uploading file in Windows

2006-07-21 Thread Chipp Walters

Ton,

FWIW, I always do it this way:

put "user:[EMAIL PROTECTED]/wwwroot/Schedule.html" into
vURL
   put vHTML into url ("ftp://"; & vURL)

I think Dan Shafer was having a similar problem and this helped.

best,
Chipp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Imagedata row order

2006-07-21 Thread Mark Schonewille

Hi Jacque,

Probably, the nice column is junk as well. Make sure that the image  
has the correct size to make your pattern fit. If you repeat a  
pattern of 8x8 pixels 4 times, your image must be either 8x32 or 32x8  
pixels large. If you repeat the pattern 16 times without any returns  
in the string, it should fit the 32x32 px image. How are you creating  
the image data?


Best,

mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Download ErrorLib at http://economy-x-talk.com/developers.html and  
get full control of error handling in Revolution.




Op 21-jul-2006, om 21:55 heeft J. Landman Gay het volgende geschreven:

I am trying to figure out how to set an image's imageData to a  
repeating pattern. I have a pattern that is 8 x 8 pixels. I want to  
repeat this pattern 16 times in order to fill a 32-pixel square image.


If I repeat the pattern 4 times, I get a nice column of four  
repeating patterns going down the left edge of the image. If I  
repeat it 16 times I get junk. In what order are the pixels laid  
down, and what determines where and when they wrap?


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: internal SQL queries

2006-07-21 Thread Mark Schonewille
With AltSqlite you can store data in a local file, without database  
engine etc.


Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Download ErrorLib at http://economy-x-talk.com/developers.html and  
get full control of error handling in Revolution.




Op 21-jul-2006, om 22:01 heeft Viktoras Didziulis het volgende  
geschreven:



Dear group,

is it possible to query [tab] delimited data stored in fields or  
containers

within a stack using SQL? e.g. without any external database engine or
database files or connections...

All the best!
Viktoras



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: screensaver question

2006-07-21 Thread Garrett Hylltun


On Jul 20, 2006, at 3:50 PM, [EMAIL PROTECTED] wrote:


Is it possible to create a screensaver with Rev?


On Windows, you'll  be limited to how involved you can get with using  
Rev for screensavers.  First, you need to either hide the windows  
task bar, or be able to make your Rev stack sit above the task bar.   
If you hide the task bar, don't forget to set it back to show before  
you close your saver.  Nothing worse than not putting the task bar  
back.  ;-)


Now, for Windows to interact with your saver you need to setup your  
Rev made app to accept 3 possible command line parameters.


/s  <-- which is windows telling you to run your screensaver now

/c  <-- which is windows telling you to run your configuration (if  
you have one) window


/p  <-- which is windows telling you to  toss up your preview screen,  
which you can't do
in Rev since it requires the use of Window ID's other than what  
Rev is capable of listing
and using.  That, and you would need to be able to affix a  
preview window on another
non-Rev window.  But it's not a major issue as you can still get  
away with the rest of this.
So basically take in the command line parameter on this, but  
simple close your app and
do nothing with it on this.  If I ever get around to it, I'll  
make an external for Rev that allows
the Rev user to at least toss up an image file for the preview  
screen.  But that'll take a while

since I have no experience with externals for Rev yet.

On the preview issue, you could however, open a preview window when  
this parameter is sent to your app, but it would be a separate window  
from the Windows Screensaver Preview window.  The draw back is that  
the user will have to close your preview window since it's not  
controlled by the Windows Screensaver Preview.


There are more parameters sent with the /p parameter, but they are  
Window ID's, and as I noted above, we can't do anything with those in  
Rev.


And be sure to monitor for any key presses and mouse movement while  
your saver is in use so you can close it down when the user presses  
any key or moves the mouse.  And of course, rename the extension  
from .exe to .scr, then drop it into either the Windows directory or  
the System directory.


Also consider whether or not you want to deal with multiple monitor  
setups.


Be mindful of CPU usage in your repeats.  What's the point of it if  
your saver is totally tasking out the CPU.  I could just picture the  
emails you'd get if your saver burns out a bunch of CPU's.  ;-)


Can't help you for Linux or OS X on this as I've never tried making  
savers for either of them.


Good luck,
-Garrett
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Imagedata row order

2006-07-21 Thread J. Landman Gay

Mark Schonewille wrote:

Hi Jacque,

Probably, the nice column is junk as well. Make sure that the image has 
the correct size to make your pattern fit. If you repeat a pattern of 
8x8 pixels 4 times, your image must be either 8x32 or 32x8 pixels large. 
If you repeat the pattern 16 times without any returns in the string, it 
should fit the 32x32 px image. How are you creating the image data?


I'm reading a field and translating characters I find in it into pixel 
colors. I've fixed the problem by making sure I have enough characters 
in each line of the field to completely fill each row of the image. It 
seems to work now.


The puzzling part was that when I had 8 lines that were only 8 
characters long each, and I applied 4 repetitions, the imageData was set 
as a column on the left side of the image, 8 wide and 32 high, with the 
remainder of the image empty. I thought imageData was applied in rows 
from left to right. I expected to see junk at the top, not a column at 
the side. I was wondering what made it wrap. There are no returns in my 
imageData.


A side effect of this experiment was that after a couple of tries, Rev 
crashes. So maybe I'm not seeing something that is really supposed to 
happen. ;)


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Imagedata row order

2006-07-21 Thread Dar Scott


On Jul 21, 2006, at 1:55 PM, J. Landman Gay wrote:

I am trying to figure out how to set an image's imageData to a  
repeating pattern. I have a pattern that is 8 x 8 pixels. I want to  
repeat this pattern 16 times in order to fill a 32-pixel square image.


If I repeat the pattern 4 times, I get a nice column of four  
repeating patterns going down the left edge of the image. If I  
repeat it 16 times I get junk. In what order are the pixels laid  
down, and what determines where and when they wrap?


I can't remember the exact details.  Once you get the image data, set  
the image to empty, set the height and width and then set the imageData.


In building the imageData, you can't just repeat the pattern 16  
times.  You have to repeat the first row 4 times.  Then the second  
through 8th.  Repeat all that 4 times.


I think Chipp has an image overlay function.

Dar

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Imagedata row order

2006-07-21 Thread J. Landman Gay

Dar Scott wrote:

> In building the imageData, you can't just repeat the pattern 16 times.
> You have to repeat the first row 4 times.  Then the second through 8th.
> Repeat all that 4 times.
>

Yeah, my brain finally kicked in and that's what I ended up doing to fix 
it. Now it works fine. But now I'm curious. My first attempt created an 
incomplete set of pixels that didn't fill the image completely, but how 
come it wrapped by itself? That got me to wondering how imagedata gets 
applied. Is it supposed to just go along in rows until it hits the edge 
of the image object and then wrap itself around? If so, what I saw 
wasn't doing that.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Can this be done faster ?

2006-07-21 Thread Richard Gaskin

John Miller wrote:
Using your script, processing all 30,000 lines in my field only took . 
167 seconds.  Impressive!!!


I don't know what the task was that the script was performing since it 
was omitted from the reply, but offhand 167 secs sounds like a long time 
to process only 30k lines of text.  I've found Rev can run some fairly 
complex comparisons at the rate of about 60k lines per second on a slow 
machine (1GHz Mac).


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] www.krugle.com

2006-07-21 Thread Richard Gaskin

Jeanne A. E. DeVoto wrote:


At 4:51 PM -0700 7/20/2006, Lynn Fredricks wrote:

There is a thread in the support forum for it. If in the next newsletter we
set up some sort of automated petition to krugle include Revolution, would
you all be willing to participate?


An automated petition might be interpreted as spam - particularly if 
organized by the seller of a commercial product.


I would advise against this and suggest simply bringing the site to 
Revolution users' attention, as has already been done on the list.


Agreed.  A simple professional email was all that was needed to add 
Transcript to the world's largest directory:



I can't imagine a relatively tiny newcomer would require anything more 
stringent than that.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] www.krugle.com --- xtalk not a real language

2006-07-21 Thread Richard Gaskin

Richmond Mathewson wrote:


now we all know that the MetaCard IDE is open source

we all know that the Engine that drives both MC and RR is proprietary

so where does that leave xTalk / MetaTalk / Transcript ???


This isn't all that mysterious, any more than it was last time you asked:


I'm not sure why this gets forgotten, but please keep a bookmark to this 
post should this ever mystify again in the future:


IDEs are just a collection of stacks, not much different from images 
created with Photoshop or other documents created with other applications.


Just as anyone can distribute images under the Creative Commons or other 
license which were created with proprietary tools like Photoshop, one 
can license their Rev stacks however they like as well.


There are many IDEs, some open source and some proprietary, and all of 
them benefit Rev in that each requires a Rev license to be used.


If we step back and look at the bigger picture, this is not much 
different than those who publish open source executables like Firefox 
which run on proprietary operating systems like OS X and Windows.


So as the inventor of the engine, Scott Raney, used to say, "Let a 
thousand flowers bloom"


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: DreamHost In-Depth (was Re: Dreamhost?)

2006-07-21 Thread Richard Gaskin

Dan Shafer wrote:

In general, I love Dreamhost. I recommend it. But I will say that when I
compare notes with my colleagues who are on other plans (granted, for the
most part more expensive plans) their reports of downtime are significantly
less than mine. Just check out http://www.dreamhostsupport.com for the past
few days and see the kinds of nightmares at least most Dreamhost users have
had to put up with.


When I saw how far below market averages Dreamhost was priced I was 
curious about how they could afford to do that.  Now maybe we see.


I've been using TierraNet for almost a decade for running Rev CGIs with 
hardly a hiccup in all those years.  Sure, it costs more, but the live 
human support is excellent in the few times I've needed it.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Can this be done faster ?

2006-07-21 Thread Jim Ault
word wrap...  
the real number was 0.167 seconds


Jim Ault
Las Vegas


On 7/21/06 3:13 PM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote:

> John Miller wrote:
>> Using your script, processing all 30,000 lines in my field only took .
>> 167 seconds.  Impressive!!!
> 
> I don't know what the task was that the script was performing since it
> was omitted from the reply, but offhand 167 secs sounds like a long time
> to process only 30k lines of text.  I've found Rev can run some fairly
> complex comparisons at the rate of about 60k lines per second on a slow
> machine (1GHz Mac).
> 
> --
>   Richard Gaskin
>   Managing Editor, revJournal
>   ___
>   Rev tips, tutorials and more: http://www.revJournal.com
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Imagedata row order

2006-07-21 Thread Dar Scott


On Jul 21, 2006, at 4:07 PM, J. Landman Gay wrote:

But now I'm curious. My first attempt created an incomplete set of  
pixels that didn't fill the image completely, but how come it  
wrapped by itself? That got me to wondering how imagedata gets  
applied. Is it supposed to just go along in rows until it hits the  
edge of the image object and then wrap itself around? If so, what I  
saw wasn't doing that.


I assume you are using 4 bytes per pixel with no lf or spaces in  
between.


You might want to check the height & width and formattedHeight &  
formattedWidth.


Also, I have seen cases when funny things happen when the total size  
is not as expected.  It goes completely wacko.


That may be why I clear the image and set the height and width before  
setting the imageData.  Or is it set height & width, then clear the  
data?  Or maybe...


Dar
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Error uploading file in Windows

2006-07-21 Thread Dan Shafer

Yeah, my problem was with the file: and binfile: protocols, but merely
shifting the approach as Chipp describes it here fixed the problem on OS X.
No test yet on WIndows because I still can't get the [EMAIL PROTECTED]@ program 
to
compile.

Grrr



On 7/21/06, Chipp Walters <[EMAIL PROTECTED]> wrote:


Ton,

FWIW, I always do it this way:

put "user:[EMAIL PROTECTED]/wwwroot/Schedule.html" into
vURL
put vHTML into url ("ftp://"; & vURL)

I think Dan Shafer was having a similar problem and this helped.

best,
Chipp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"

From http://www.shafermediastore.com/tech_main.html

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Imagedata row order

2006-07-21 Thread J. Landman Gay

Dar Scott wrote:
>
> On Jul 21, 2006, at 4:07 PM, J. Landman Gay wrote:
>
>> But now I'm curious. My first attempt created an incomplete set of
>> pixels that didn't fill the image completely, but how come it wrapped
>> by itself? That got me to wondering how imagedata gets applied. Is it
>> supposed to just go along in rows until it hits the edge of the image
>> object and then wrap itself around? If so, what I saw wasn't doing that.
>
> I assume you are using 4 bytes per pixel with no lf or spaces in between.

Right.

> You might want to check the height & width and formattedHeight &
> formattedWidth.

I got tired of crashing, but if I get brave again I'll do that. Hadn't 
thought of it, but it would be interesting to know.


> Also, I have seen cases when funny things happen when the total size is
> not as expected.  It goes completely wacko.

That's the word I was looking for. :)

>
> That may be why I clear the image and set the height and width before
> setting the imageData.  Or is it set height & width, then clear the
> data?  Or maybe...

Do you use imageData a lot? I know the crashes I had were because the 
imageData was wrong, but in your experience is this generally a stable 
technique for repeated use?


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: DreamHost In-Depth (was Re: Dreamhost?)

2006-07-21 Thread Andre Garzia
I've been using JaguarPC for some years, I've upgraded to a full VPS  
solution during RevConWest and I am really happy with them. I can run  
Rev CGIs  and their support always answered me in couple hours,  
sometimes even minutes and I do use support tickets a lot, they even  
installed apache modules for me without charging... I know people  
here have mixed experiences with them but anyway, it works for me.


Cheers
andre



On Jul 21, 2006, at 7:33 PM, Richard Gaskin wrote:


Dan Shafer wrote:
In general, I love Dreamhost. I recommend it. But I will say that  
when I
compare notes with my colleagues who are on other plans (granted,  
for the
most part more expensive plans) their reports of downtime are  
significantly
less than mine. Just check out http://www.dreamhostsupport.com for  
the past
few days and see the kinds of nightmares at least most Dreamhost  
users have

had to put up with.


When I saw how far below market averages Dreamhost was priced I was  
curious about how they could afford to do that.  Now maybe we see.


I've been using TierraNet for almost a decade for running Rev CGIs  
with hardly a hiccup in all those years.  Sure, it costs more, but  
the live human support is excellent in the few times I've needed it.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: internal SQL queries

2006-07-21 Thread Dan Shafer

SQL is designed ONLY to query databases. As Mark says, you can use SQLite
and the database files it creates are not standard SQL files, but you could
not use SQL queries, e.g., on a straight text file with arbitrary
delimiters.



On 7/21/06, Mark Schonewille <[EMAIL PROTECTED]> wrote:


With AltSqlite you can store data in a local file, without database
engine etc.

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Download ErrorLib at http://economy-x-talk.com/developers.html and
get full control of error handling in Revolution.



Op 21-jul-2006, om 22:01 heeft Viktoras Didziulis het volgende
geschreven:

> Dear group,
>
> is it possible to query [tab] delimited data stored in fields or
> containers
> within a stack using SQL? e.g. without any external database engine or
> database files or connections...
>
> All the best!
> Viktoras


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"

From http://www.shafermediastore.com/tech_main.html

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Imagedata row order

2006-07-21 Thread Dar Scott


On Jul 21, 2006, at 6:54 PM, J. Landman Gay wrote:

Do you use imageData a lot? I know the crashes I had were because  
the imageData was wrong, but in your experience is this generally a  
stable technique for repeated use?


I have used it in apps that were used a lot.

I don't think I have seen crashes.  I can imagine that if the size is  
not checked.


Dar

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Combo boxes in background groups

2006-07-21 Thread James Spencer
Maybe there's no easy way to do this but it surprised me a bit: I  
would like to have a combobox in a background group with what would  
be its sharedText property set to false, assuming it had a sharedText  
property.  Being a button, it of course does not so I hoped its  
sharedHilite property would have the same effect but unfortunately  
no; changing the text in the field portion of button, whether by  
typing in the box or by selecting a menu choice, changes every card  
with that background on it.


Does anyone know of an easy way to include a combo box in a  
background but permitting each card to have a different value.  I can  
simulate it a couple different ways, e.g. storing a custom property  
with the card on closing and reset it on opening but it seems it  
should be as easy as it is for regular input text fields.


Spence

James P. Spencer
Rochester, MN

[EMAIL PROTECTED]

"Badges??  We don't need no stinkin badges!"

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: internal SQL queries

2006-07-21 Thread Viktoras Didziulis
Thanks for your replies ! I was asking because I used to create and
SQL-query relational structures from delimited text tables in some projects.
But this is only possible through ODBC text drivers and has a limited
implementation of SQL. But I expected an existing functionality of Rev like
that of PerlDBD:RAM where user can read and preload any arbitrary files ,
arrays, hashes and data structures into RAM and do SQL queries nearly at a
speed of light. This would be a very useful option in the Rev too ;-) 
 
Thanks again and all the best! 
Viktoras 
 
---Original Message--- 
 
From: Dan Shafer 
Date: 07/22/06 04:01:03 
To: How to use Revolution 
Subject: Re: internal SQL queries 
 
SQL is designed ONLY to query databases. As Mark says, you can use SQLite 
and the database files it creates are not standard SQL files, but you could 
not use SQL queries, e.g., on a straight text file with arbitrary 
delimiters. 
 
 
 
On 7/21/06, Mark Schonewille <[EMAIL PROTECTED]> wrote: 
> 
> With AltSqlite you can store data in a local file, without database 
> engine etc. 
> 
> Best, 
> 
> Mark 
> 
> -- 
> 
> Economy-x-Talk 
> Consultancy and Software Engineering 
> http://economy-x-talk.com 
> http://www.salery.biz 
> 
> Download ErrorLib at http://economy-x-talk.com/developers.html and 
> get full control of error handling in Revolution. 
> 
> 
> 
> Op 21-jul-2006, om 22:01 heeft Viktoras Didziulis het volgende 
> geschreven: 
> 
> > Dear group, 
> > 
> > is it possible to query [tab] delimited data stored in fields or 
> > containers 
> > within a stack using SQL? e.g. without any external database engine or 
> > database files or connections... 
> > 
> > All the best! 
> > Viktoras 
> 
> 
> ___ 
> use-revolution mailing list 
> use-revolution@lists.runrev.com 
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences: 
> http://lists.runrev.com/mailman/listinfo/use-revolution 
> 
 
 
 
-- 
~~ 
Dan Shafer, Information Product Consultant and Author 
http://www.shafermedia.com 
Get my book, "Revolution: Software at the Speed of Thought" 
>From http://www.shafermediastore.com/tech_main.html 
___ 
use-revolution mailing list 
use-revolution@lists.runrev.com 
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences: 
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Reorder Front Scripts?

2006-07-21 Thread Scott Rossi
Is there a way to change the order of front scripts without
removing/reinserting scripts?

It seems that Rev's inspector palette reinserts itself into the front every
time it is opened from the main menu and, because it apparently doesn't pass
all object manipulation messages, blocks front scripts I have that are used
for control layout.

Thanks for any suggestions.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Combo boxes in background groups

2006-07-21 Thread J. Landman Gay

James Spencer wrote:

Does anyone know of an easy way to include a combo box in a background 
but permitting each card to have a different value.  I can simulate it a 
couple different ways, e.g. storing a custom property with the card on 
closing and reset it on opening but it seems it should be as easy as it 
is for regular input text fields.


Unfortunately, that's the way you have to do it. I usually use a custom 
property as you describe, and set up the combo box in a preOpenCard handler.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Error uploading file in Windows: this looks like a bug, please confirm...

2006-07-21 Thread Ton Kuypers

Thanks for the quick response, but to bad...
There are no spaces in the username or password and I have full  
access to the server.
Using put ("ftp://";) & "user:[EMAIL PROTECTED]/wwwroot/ 
Schedule.html" into url vURL now creates an empty file in the correct  
location, but no data is in it.


Also creating the file locally and then uploading it to the ftp  
server doesn't work, creating the file in the root directory of the  
FTP server and then moving it to the correct location creates an  
empty file as well...


Can anyone reproduce this on Windows? On the Mac it works fine...


Warm regards,

Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: "There Was a Problem Saving the Standalone Application"

2006-07-21 Thread Dan Shafer

Well, I got the application to compile successfully. I don't know which of
two problems was getting in the way but I'm going to do more testing. I
renamed the stack with a .rev extension and I opened the stack in 2.7.2,
saved it in legacy format and then opened it and compiled it in 2.6.1 That
did the trick.

Thanks to everyone who offered ideas. I'm going to augment that section of
my forthcoming eBook with these ideas!

On 7/20/06, Dan Shafer <[EMAIL PROTECTED]> wrote:


Nope, no password protected stacks.

I'm going to go through the suggestions one by one and eliminate them
until I get this sucker wrestled to the ground. The project's three days
late even though I "finished" it on time. Very, very frustrating.


On 7/20/06, Phil Davis <[EMAIL PROTECTED]> wrote:
>
> Hey Dan, do you have any password-protected stacks in the mix? I have a
> nagging
> feeling about it, but haven't tested it recently.
>
> Phil Davis
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
From http://www.shafermediastore.com/tech_main.html





--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"

From http://www.shafermediastore.com/tech_main.html

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution