Re: My Student's Problem

2006-04-20 Thread Phil Davis

Hi Judy,

Alternate solution: To make sure I'm not creating unintended 
consequences and with 'wait' statements, I tend to let messages tell my 
commands when to fire if possible.


So your student could use something like this to move to card 2 after 
the movie finishes:


on openStack
  play videoclip "lab2intro.mov"
end openStack

on playStopped
  go cd 2
end playStopped

This way he doesn't need to know how long the movie is.

Phil Davis

Judy Perry wrote:

Well,  here's what my student has to say about it, fixing it, with my
comments below:

==

"Today I found a problem with my lab 2 where the second card with
animation would not show up after getting called from card 1.  You
said that you would post it to your forums or whatever to get help.
I was able to debug the problem myself and here is the solution in
case someone else runs into the same problem.

The problem is with the play movie command.  Once the move you are
playing ends, the play command does not terminate correctly.  To fix
this you need to tell it to stop playing.

play moviefile "amovie"
pause length of movie
play stop moviefile "amovie"

Hope this helps."



Okay, so he gets an A+++ for solving it, but I do not see this "solution"
in the docs for the  "play" entry.

WHAT???

Any ideas?  Retreating with egg on face...

Judy

___
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: My Student's Problem

2006-04-20 Thread Judy Perry
Well,  here's what my student has to say about it, fixing it, with my
comments below:

==

"Today I found a problem with my lab 2 where the second card with
animation would not show up after getting called from card 1.  You
said that you would post it to your forums or whatever to get help.
I was able to debug the problem myself and here is the solution in
case someone else runs into the same problem.

The problem is with the play movie command.  Once the move you are
playing ends, the play command does not terminate correctly.  To fix
this you need to tell it to stop playing.

play moviefile "amovie"
pause length of movie
play stop moviefile "amovie"

Hope this helps."



Okay, so he gets an A+++ for solving it, but I do not see this "solution"
in the docs for the  "play" entry.

WHAT???

Any ideas?  Retreating with egg on face...

Judy


On Thu, 20 Apr 2006, Judy Perry wrote:


___
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: FTP Attempts

2006-04-20 Thread Mark Talluto


On Apr 19, 2006, at 1:41 PM, Todd Geist wrote:


Hello,


I am trying the following script and I am getting an error.


ON mouseUp pMouseBtnNum
libURLSetFTPMode "passive"

get libURLftpCommand("NLST","ftp4.mysite.com: 
21","",""")

put it into field 1

pass MouseUp
END MouseUp

-->   226 Transfer Failed!


Any clues for me?

Also if anybody knows where I can get some in depthe FTP examples  
or libraries that would very helpful




Hi Todd,

You might have a gander at my free ftp program.   
  The main guts of it is  
stored at the mainstack level.



Mark Talluto
--
CANELA Software
http://www.canelasoftware.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


CS FTP has been updated

2006-04-20 Thread Mark Talluto

Hello everyone,

I have updated my free lil' ftp program.

What is new:
It now supports dragging any combination of nested folders and files  
as deep as you can throw at it with ease (uploading only).  It also  
can save multiple ftp configurations for quickly changing your focus  
from one server to another.


To do list includes:
I broke the status bar in this update, but will fix it in the next  
few days.  I also will be make download dragging possible with nested  
folders and such possible in a future release soon.  Delete also will  
be updated to supported nested folders and files.


You can get it from RevNet under CS FTP.  You can also download it  
from the following link: 

Have at it!


Mark Talluto
--
CANELA Software
http://www.canelasoftware.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


My Student's Problem

2006-04-20 Thread Judy Perry
Hi all,

I mistakenly posted this originally to the improv-list (what I get for not
looking before pressing the "reply" key) :-(

Anyway,  I have a student who has a simple stack that has an openStack
handler that plays an imbedded iMovie file and then mosies along to card
2, which has an animation script at the card level which then  mosies
along to card 3, which is blank.

The problem, at least as I suspect it, is that the script(s) is/are
executing so quickly that we don't ultimately see the animation on cd 2.
If  you go to that card and issue a "send openCard to this card" command
from the message box, you can see the student's scripted animation.

Does anyone have any ideas or suggestions?  You can find the stack in my
userspace = Buttercup.

Kindest thanks for any suggestions!

Judy


___
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: Mysterious Processor Use?

2006-04-20 Thread Mark Talluto


On Apr 20, 2006, at 10:04 PM, Judy Perry wrote:


This is what I had to do as well.  Sometimes I'd have to force-kill it
from the terminal or activity monitor, as Rev would hang with 85% +
processor use.



I have seen that as well Judy.  So far, my programming mistakes have  
caused that particular problem.  Luckily I save often.



Mark Talluto
--
CANELA Software
http://www.canelasoftware.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: Mysterious Processor Use?

2006-04-20 Thread Judy Perry
This is what I had to do as well.  Sometimes I'd have to force-kill it
from the terminal or activity monitor, as Rev would hang with 85% +
processor use.

Judy

On Thu, 20 Apr 2006, Mark Talluto wrote:

>
> On Apr 20, 2006, at 9:28 PM, Jim Ault wrote:
>
> > Re-launching Rev
> > or restarting your computer?
>
>
> I just relaunched Rev to clear up the issue.  I am using 2.7.
>
>
> Mark Talluto
> --
> CANELA Software
> http://www.canelasoftware.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: Mysterious Processor Use?

2006-04-20 Thread Judy Perry
FWIW, I've also noticed this, and pre 2.7 FWIW.

Sorry; not much help, I know.  But at least if I'm losing my marbles, THIS
isn't the cause of it.

Judy

On Thu, 20 Apr 2006, J. Landman Gay wrote:

> Hm. I've got two different versions of Rev running right now, along with
> a third copy of MetaCard. Each app has at least one stack open (though
> none send any messages.) Activity monitor shows them all at 0% CPU usage.
>
> When you look at the pending messages in the message box, did you tick
> the checkbox that says to show Revolution messages? And the one that
> auto-updates?

___
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: Mysterious Processor Use?

2006-04-20 Thread Mark Talluto


On Apr 20, 2006, at 9:28 PM, Jim Ault wrote:


Re-launching Rev
or restarting your computer?



I just relaunched Rev to clear up the issue.  I am using 2.7.


Mark Talluto
--
CANELA Software
http://www.canelasoftware.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: Mysterious Processor Use?

2006-04-20 Thread Jim Ault
Re-launching Rev
or restarting your computer?

Jim Ault
Las Vegas


On 4/20/06 9:21 PM, "Mark Talluto" <[EMAIL PROTECTED]> wrote:

> 
> On Apr 20, 2006, at 6:52 PM, Scott Rossi wrote:
> 
>> I'm pretty sure I've seen references to this before but I'll ask
>> anyway...
>> 
>> I'm looking at the activity monitor on my system and it says
>> Revolution is
>> using about 30% of the processor, yet there is no apparent activity
>> taking
>> place (pendingmessages is empty).  Even after suspending the
>> development
>> environment, the activity is present (5 threads).
> 
> I just saw that right now and restarted Rev to calm my fans down.  I
> was getting around 50% on an app that is doing nothing at all.
> Restarting brought it all back to normal.
> 
> 
> Mark Talluto


___
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: Mysterious Processor Use?

2006-04-20 Thread Mark Talluto


On Apr 20, 2006, at 6:52 PM, Scott Rossi wrote:

I'm pretty sure I've seen references to this before but I'll ask  
anyway...


I'm looking at the activity monitor on my system and it says  
Revolution is
using about 30% of the processor, yet there is no apparent activity  
taking
place (pendingmessages is empty).  Even after suspending the  
development

environment, the activity is present (5 threads).


I just saw that right now and restarted Rev to calm my fans down.  I  
was getting around 50% on an app that is doing nothing at all.   
Restarting brought it all back to normal.



Mark Talluto
--
CANELA Software
http://www.canelasoftware.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: databases [was: Re: Ruby Active Record]

2006-04-20 Thread Dan Shafer
Mark.

I never looked closely at Firebird but I knew quite a few developers who
loved its commercial predecssor, Borland's Interbase.



On 4/20/06, Mark Wieder <[EMAIL PROTECTED]> wrote:
>
> Dan-
>
> Thursday, April 20, 2006, 6:25:08 PM, you wrote:
>
> > arguments about why MySQL is better. I don't care. I choose not to use
> > software from a company that can't write a clear license and can't
> answer
> > what I think are clear questions about their restrictions.
>
> Yes. I'm tending toward Firebird myself.
>
> --
> -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
>



--
~~
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: PIM

2006-04-20 Thread Bill Vlahos
I've been working on a program for awhile that has PIM functionality 
even though that isn't its prime function. This will be an inexpensive 
consumer oriented product and there isn't much like it out now.


I hope to be ready for beta testers in about a month and will solicit 
this list when I am ready.


Bill Vlahos

On Apr 20, 2006, at 6:57 AM, Mikey wrote:


WAAAY back in the day I used to use
Connections, which was a PIM product that ran in HC.  I'm incredibly
unhappy with all the PIM's I've used since, so I'm thinking of killing
myself cranking one out.  Do we have an RR based PIM somewhere?


___
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: databases [was: Re: Ruby Active Record]

2006-04-20 Thread Mark Wieder
Dan-

Thursday, April 20, 2006, 6:25:08 PM, you wrote:

> arguments about why MySQL is better. I don't care. I choose not to use
> software from a company that can't write a clear license and can't answer
> what I think are clear questions about their restrictions.

Yes. I'm tending toward Firebird myself.

-- 
-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


Re: Mysterious Processor Use?

2006-04-20 Thread J. Landman Gay

Scott Rossi wrote:

I'm pretty sure I've seen references to this before but I'll ask anyway...

I'm looking at the activity monitor on my system and it says Revolution is
using about 30% of the processor, yet there is no apparent activity taking
place (pendingmessages is empty).  Even after suspending the development
environment, the activity is present (5 threads).

What is Rev doing here?


Hm. I've got two different versions of Rev running right now, along with 
a third copy of MetaCard. Each app has at least one stack open (though 
none send any messages.) Activity monitor shows them all at 0% CPU usage.


When you look at the pending messages in the message box, did you tick 
the checkbox that says to show Revolution messages? And the one that 
auto-updates?


--
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: Mysterious Processor Use?

2006-04-20 Thread Scott Rossi
Recently, Stephen Barncard wrote:

>> I'm looking at the activity monitor on my system and it says Revolution is
>> using about 30% of the processor, yet there is no apparent activity taking
>> place (pendingmessages is empty).

> "Throbbing" default button?

None that I've placed.  It's Rev 2.7 if that matters.

Thanks & 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: databases [was: Re: Ruby Active Record]

2006-04-20 Thread J. Landman Gay

Stephen Barncard wrote:
These non-profits could still be customers of an ISP that includes 
unlimited MySQL databases, as most good ones (like Dreamhost) do these 
days. Obviously the ISPs have worked out the licensing with MySQL.org. 
Dreamhost is offering MySQL 5 these days. $20/month isn't much to ask, 
even for a nonprofit.


Good point. JaguarPC also offers up to 10 free mySQL databases per 
account, runs Rev CGIs without any problem with their default setup, and 
costs $10/month if you pay by the month, $8/month if you pay by the 
year. That seems quite affordable for anyone.


--
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: Mysterious Processor Use?

2006-04-20 Thread Stephen Barncard

"Throbbing" default button?


I'm pretty sure I've seen references to this before but I'll ask anyway...

I'm looking at the activity monitor on my system and it says Revolution is
using about 30% of the processor, yet there is no apparent activity taking
place (pendingmessages is empty).  Even after suspending the development
environment, the activity is present (5 threads).

What is Rev doing here?

Thanks & Regards,

Scott Rossi


--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
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: databases [was: Re: Ruby Active Record]

2006-04-20 Thread Lynn Fredricks
> > Id pass the buck to whomever writes the checks ;-)
> 
> In that case, you'd be misunderstanding the situation. 
> Scenario: you write a spiffy app that goes out to hundreds of 
> non-profit clients, and you charge them a nominal fee for it 
> and for support. If it relies on MySQL for a backend server, 
> are you responsible for getting a commercial license or are 
> the clients who run and maintain it? And given that the 
> clients are non-profits who may be entitled to a free 
> commercial license, would it not be counterintuitive for the 
> developer to pay for a commercial license rather than telling 
> the clients to get their own?

IANAL (I am not a lawyer warning) - its been a few weeks (I wrote something
about their licensing in my blog a few weeks ago) but I suspect that unless
you are really giving it away for free, its on you, because you are
collecting a nominal fee for it and for support. I don't think it matters
how much that wee fee is.

Don't take my word on it though. I wouldn't ship anything like that without
having an informed opinion. mySQL AB used to be pretty rabid about
enforcement.

Best regards,

Lynn Fredricks
President
Paradigma Software, Inc

Joining Worlds of Information

Deploy True Client-Server Database Solutions
Royalty Free with Valentina Developer Network
http://www.paradigmasoft.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


Mysterious Processor Use?

2006-04-20 Thread Scott Rossi
I'm pretty sure I've seen references to this before but I'll ask anyway...

I'm looking at the activity monitor on my system and it says Revolution is
using about 30% of the processor, yet there is no apparent activity taking
place (pendingmessages is empty).  Even after suspending the development
environment, the activity is present (5 threads).

What is Rev doing here?

Thanks & 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: databases [was: Re: Ruby Active Record]

2006-04-20 Thread Stephen Barncard
These non-profits could still be customers of an ISP that includes 
unlimited MySQL databases, as most good ones (like Dreamhost) do 
these days. Obviously the ISPs have worked out the licensing with 
MySQL.org. Dreamhost is offering MySQL 5 these days. $20/month isn't 
much to ask, even for a nonprofit.


A dedicated MYSQL server is way overkill when you only need a few 
databases. As the developer, you could even sub-let space.





Lynn-

Thursday, April 20, 2006, 3:52:58 PM, you wrote:


 In my case, I have a for-profit client whose product goes out
 to non-profit clients of theirs. The MySQL licensing gets
 pretty dicey there. I don't pretend to understand whether
 anyone needs to buy a commercial license, what kind, and
 who's responsible for taking care of it.



 Id pass the buck to whomever writes the checks ;-)


In that case, you'd be misunderstanding the situation. Scenario: you
write a spiffy app that goes out to hundreds of non-profit clients,
and you charge them a nominal fee for it and for support. If it relies
on MySQL for a backend server, are you responsible for getting a
commercial license or are the clients who run and maintain it? And
given that the clients are non-profits who may be entitled to a free
commercial license, would it not be counterintuitive for the developer
to pay for a commercial license rather than telling the clients to get
their own?

--
-Mark Wieder
 [EMAIL PROTECTED]


--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
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: databases [was: Re: Ruby Active Record]

2006-04-20 Thread Dan Shafer
I had a big project two years ago that was going to rely on MySQL. I had our
attorneys review their licensing agreements and then talk to MySQL AB's
legal eagles. $5,000 in lawyer fees later, nobody could answer my question
about licensing. The application is now happily running on PostgreSQL.

I use MySQL for my own apps on my Dreamhost-hosted sites because Dreamhost
has dealt with the licensing issue and they're all personal use anyway. For
everything else, I'm more comfortable with PostgreSQL. Yes, I know all the
arguments about why MySQL is better. I don't care. I choose not to use
software from a company that can't write a clear license and can't answer
what I think are clear questions about their restrictions.


On 4/20/06, Mark Wieder <[EMAIL PROTECTED]> wrote:
>
> Lynn-
>
> Thursday, April 20, 2006, 3:52:58 PM, you wrote:
>
> >> In my case, I have a for-profit client whose product goes out
> >> to non-profit clients of theirs. The MySQL licensing gets
> >> pretty dicey there. I don't pretend to understand whether
> >> anyone needs to buy a commercial license, what kind, and
> >> who's responsible for taking care of it.
>
> > Id pass the buck to whomever writes the checks ;-)
>
> In that case, you'd be misunderstanding the situation. Scenario: you
> write a spiffy app that goes out to hundreds of non-profit clients,
> and you charge them a nominal fee for it and for support. If it relies
> on MySQL for a backend server, are you responsible for getting a
> commercial license or are the clients who run and maintain it? And
> given that the clients are non-profits who may be entitled to a free
> commercial license, would it not be counterintuitive for the developer
> to pay for a commercial license rather than telling the clients to get
> their own?
>
> --
> -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
>



--
~~
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: databases [was: Re: Ruby Active Record]

2006-04-20 Thread Mark Wieder
Lynn-

Thursday, April 20, 2006, 3:52:58 PM, you wrote:

>> In my case, I have a for-profit client whose product goes out
>> to non-profit clients of theirs. The MySQL licensing gets 
>> pretty dicey there. I don't pretend to understand whether 
>> anyone needs to buy a commercial license, what kind, and 
>> who's responsible for taking care of it.

> Id pass the buck to whomever writes the checks ;-)

In that case, you'd be misunderstanding the situation. Scenario: you
write a spiffy app that goes out to hundreds of non-profit clients,
and you charge them a nominal fee for it and for support. If it relies
on MySQL for a backend server, are you responsible for getting a
commercial license or are the clients who run and maintain it? And
given that the clients are non-profits who may be entitled to a free
commercial license, would it not be counterintuitive for the developer
to pay for a commercial license rather than telling the clients to get
their own?

-- 
-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


Re: Checking if the network has changed

2006-04-20 Thread Alex Tweedly

Dave Cragg wrote:



One possible approach : provide a service on the proxy which can be  
firewalled such that it is not reachable from "the Internet" (this  
is very likely very easy - most corporations firewall as much as  
they can, so simply an echo server on a suitable (perhaps UDP) port  
would do).  The client starts by trying to reach that service - and  
if it gets a response, then it must be on the corporate net; if  not, 
it is elsewhere and shouldn't try to use the proxy.



Would a dns lookup on the proxy server (assuming it uses a name and  
not a number) achieve the same? The main reason for hosting this  
externally was to avoid reliance on internal IT as much as possible.


Hard to say  depends on whether they run different DNS servers for 
internal vs external use.
Most larger corporations will - just to keep the externally visible 
namespace smaller and to gain a little bit of security by obscurity, and 
is trivial to check *currently*.
(just find some internal-only machine, let's say it is named "somename" 
and then do a "ping somename.company.com"   once from home and once from 
on-net and see what you get).


But that tells you what happens "right now" - doesn't reassure you that 
this is an IT policy that you can depend on, which is what you really 
want to know.  (OTOH, no IT department in history *ever* changes their 
policies in the direction of a more liberal one, so if they don't 
advertise all host names today, it's a reasonable bet they won't in 
future :-)



--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/318 - Release Date: 18/04/2006

___
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: Checking if the network has changed

2006-04-20 Thread Dave Cragg


On 20 Apr 2006, at 23:10, Alex Tweedly wrote:



Let me give you some more to think about then, in the context of  
large corporate nets  :-)


Again thanks, Alex.


you just need to find the right IT guy


But just when you find him, and he's halfway through setting  
everything up for you, he gets transferred or outsourced. :-)





One possible approach : provide a service on the proxy which can be  
firewalled such that it is not reachable from "the Internet" (this  
is very likely very easy - most corporations firewall as much as  
they can, so simply an echo server on a suitable (perhaps UDP) port  
would do).  The client starts by trying to reach that service - and  
if it gets a response, then it must be on the corporate net; if  
not, it is elsewhere and shouldn't try to use the proxy.


Would a dns lookup on the proxy server (assuming it uses a name and  
not a number) achieve the same? The main reason for hosting this  
externally was to avoid reliance on internal IT as much as possible.


Cheers
Dave

___
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: databases [was: Re: Ruby Active Record]

2006-04-20 Thread Lynn Fredricks
> > mySQL AB has done a thorough job of stating that any potentially 
> > commercial use, you are going to have to pay their commercial fee. 
> > This was considered very carefully in pricing Valentina.
> 
> In my case, I have a for-profit client whose product goes out 
> to non-profit clients of theirs. The MySQL licensing gets 
> pretty dicey there. I don't pretend to understand whether 
> anyone needs to buy a commercial license, what kind, and 
> who's responsible for taking care of it.

Id pass the buck to whomever writes the checks ;-)

There are a couple of places I recall where it says something like "when in
doubt, send us money".

There are a lot of cool open source projects out there - one of my favorites
is Joomla. mySQL found a profitablity formula that works for them, and they
managed to ride the popularity of open source - I cant argue with their
success.

Best regards,

Lynn Fredricks
President
Paradigma Software, Inc

Joining Worlds of Information

Deploy True Client-Server Database Solutions
Royalty Free with Valentina Developer Network
http://www.paradigmasoft.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: PIM

2006-04-20 Thread David Vaughan

Mikey

I have one in HyperCard and need to convert it to Rev before I can  
buy an Intel Mac. I have the core design for the Rev version but not  
a line of code. The old one was first developed in 1989 and  
successively refined over the years, now being in V8.30 of 2003. It  
is one of three files I _must_ back up to survive fire or theft,  
because its journalling functions mean that much of my private and  
business life is retained there. So, I do not have what you want but  
if you are thinking of building one then I am happy to discuss needs  
and implementations off list.


regards
David

On 20/04/2006, at 23:57, Mikey wrote:


WAAAY back in the day I used to use
Connections, which was a PIM product that ran in HC.  I'm incredibly
unhappy with all the PIM's I've used since, so I'm thinking of killing
myself cranking one out.  Do we have an RR based PIM somewhere?

--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: Checking if the network has changed

2006-04-20 Thread Alex Tweedly

Dave Cragg wrote:



On 20 Apr 2006, at 21:11, Alex Tweedly wrote:



Alex, a quick thank you. You gave me a lot to think about.

It's not a campus setup but a large corporate (spread widely). But I  
suppose the same issues apply. The VPN danger is probably very real.  
In this instance, it's for a specific company, so I may be able to  
provide a tailored solution. However, it would be nice to have  
something generic. The same app runs in some other companies, but  
with the server in the company. So this issue hasn't arisen before.


Initially I was looking for a way to automatically discover the  
proxy, but I gave up on this, and thought of seeing if the network  
had changed instead. Perhaps I should go back and explore the  
"discover proxy" route a bit further.


Let me give you some more to think about then, in the context of large 
corporate nets  :-)


One possible approach : provide a service on the proxy which can be 
firewalled such that it is not reachable from "the Internet" (this is 
very likely very easy - most corporations firewall as much as they can, 
so simply an echo server on a suitable (perhaps UDP) port would do).  
The client starts by trying to reach that service - and if it gets a 
response, then it must be on the corporate net; if not, it is elsewhere 
and shouldn't try to use the proxy.


That approach breaks down (in a benevolent way) in the presence of a VPN 
connection - packets destined to the corporate net will reach the proxy, 
so the echo service (or similar) can be reached, so clients use the 
proxy. Since it will generally all still work, that's a "benevolent" 
failure - just means packets are taking the scenic route :-)


Alternate discovery mechanism - provide a service on the proxy server 
that responds with the IP address to use for proxy, by comparing the 
client's IP address against the range of IP addresses that are "on the 
corporate net". If it's not on the corporate net, you give back a 
response like 0.0.0.0, otherwise you give the proxy's IP address (and of 
course this extends seamlessly to having multiple proxies each handling 
parts of the whole network). It's ugly in the sense that you maintain a 
list of corporate network numbers - but for medium sized corporations 
that list probably changes infrequently (and for large corporations, 
there is probably already such a service somewhere, you just need to 
find the right IT guy).


P.S. I don't think there is a"generic" solution to this problem - it 
depends on dividing the network into two or more categories based on 
criteria that are essentially political (dept vs campus vs region vs 
corporate), so truly generic isn't possible.


--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/318 - Release Date: 18/04/2006

___
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: Director / Folder Browser in Rev

2006-04-20 Thread Todd Geist

Found it on Ken's site


http://www.sonsothunder.com/devres/revolution/code/stsGetFileListing.htm


Todd


On Apr 20, 2006, at 2:46 PM, Todd Geist wrote:

In the last couple of days I came across something about a  
directory/ Folder Browser in Rev.   It could have been on a web  
site or in the list.  I just can't remember where I saw it and now  
I would like to look at it.


Can anybody help?

Thanks

Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
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


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
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: Right-Align Cell Values in Tables

2006-04-20 Thread Jonathan Lynch
If you go to Marielle's site, you will be able to find a pseudo-table that I
created, that he was kind enough to post.

It is a group, containing cells that act as fields in a table. Actually, it
works like a table should.

One thing you could do is set the justification of the field that is the top
cell in a column. From that point, for each row you add, that cell will be
right justified.

Feel free to contact me if you have any questions.

Take care,

Jonathan
___
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: HTML

2006-04-20 Thread Mark Wieder
Mark-

Thursday, April 20, 2006, 2:53:50 PM, I wrote:

> Wasn't Ro Nagey with Royal Software when they released LiveCard?

(answering my own question) yes, he was. I just found the reference.

-- 
-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


Re: HTML

2006-04-20 Thread Mark Wieder
Jacque-

> This is exactly what Eric Osterle's "LiveCard" did for HyperCard stacks,

Wasn't Ro Nagey with Royal Software when they released LiveCard?

-- 
 -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


Director / Folder Browser in Rev

2006-04-20 Thread Todd Geist
In the last couple of days I came across something about a directory/  
Folder Browser in Rev.   It could have been on a web site or in the  
list.  I just can't remember where I saw it and now I would like to  
look at it.


Can anybody help?

Thanks

Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
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: HTML

2006-04-20 Thread J. Landman Gay

Mark Wieder wrote:

I'd really like
to be able to export stacks as HTML pages where the buttons actually
do something, and where there are fields that can be used, instead of
just pictures of what a card looks like. That said, the exporter that
Marielle and Richmond put together does a bang-up job on simple stacks
if you can keep it from crashing.



This is exactly what Eric Osterle's "LiveCard" did for HyperCard stacks, 
and it was really amazing to see your stack appear in a browser exactly 
as it was on your hard drive. And the online version was completely live 
and interactive, though it required using HC as a CGI. It also probably 
would be quite possible to convert to Revolution, or at least the 
relevant parts of it (LiveCard contained a storefront and shopping cart 
we probably wouldn't need.)


The reason we can't do that though is because LiveCard is copyrighted, 
and it is also under contract to a now-defunct company.


Too bad. Wish we could find Eric and ask him. I spent a couple of long 
evenings reading through all the LiveCard scripts and they were some of 
the most comprehensive and intelligent scripts I'd seen up to then. He 
influenced my style from that day forward.


--
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: HTML

2006-04-20 Thread Marielle Lange

Hi Mikey,

Try out HTML2CSS and HTMLexporter in the stacks gallery
http://revolution.widged.com/stacks/?category=utilities

or direct from your message box:
go url "http://revolution.widged.com/stacks/open/utilities/html2css.rev";
go url "http://revolution.widged.com/stacks/open/utilities/ 
HTMLexporter.rev"


Best,
Marielle


From: Mikey <[EMAIL PROTECTED]>
Date: 20 April 2006 14:56:00 BDT
To: "use-revolution@lists.runrev.com" [EMAIL PROTECTED]>

Subject: HTML
Reply-To: How to use Revolution 


Has anybody built a stack to take cards and convert them into HTML?


--
Marielle Lange (PhD),  Freelance Academic

Widged  http:// 
widged.com/

Easy access to lexical databaseshttp://lexicall.widged.com/
Supporting Education Technologists  http://revolution.widged.com/wiki/



___
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: HTML

2006-04-20 Thread Mark Wieder
William-

Thursday, April 20, 2006, 12:22:27 PM, you wrote:

> There already is a stack doing this: HTML exporter
> Check http://revolution.widged.com/stacks/index.php (somewhere at the
> bottom of the page)

Yes, I probably should have been a bit more specific. I'd really like
to be able to export stacks as HTML pages where the buttons actually
do something, and where there are fields that can be used, instead of
just pictures of what a card looks like. That said, the exporter that
Marielle and Richmond put together does a bang-up job on simple stacks
if you can keep it from crashing.

-- 
-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


Re: Checking if the network has changed

2006-04-20 Thread Dave Cragg


On 20 Apr 2006, at 21:11, Alex Tweedly wrote:



Alex, a quick thank you. You gave me a lot to think about.

It's not a campus setup but a large corporate (spread widely). But I  
suppose the same issues apply. The VPN danger is probably very real.  
In this instance, it's for a specific company, so I may be able to  
provide a tailored solution. However, it would be nice to have  
something generic. The same app runs in some other companies, but  
with the server in the company. So this issue hasn't arisen before.


Initially I was looking for a way to automatically discover the  
proxy, but I gave up on this, and thought of seeing if the network  
had changed instead. Perhaps I should go back and explore the  
"discover proxy" route a bit further.


Thanks again.

Dave

___
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: databases [was: Re: Ruby Active Record]

2006-04-20 Thread Mark Wieder
Lynn-

Thursday, April 20, 2006, 2:08:58 PM, you wrote:

> mySQL AB has done a thorough job of stating that any potentially commercial
> use, you are going to have to pay their commercial fee. This was considered
> very carefully in pricing Valentina.

In my case, I have a for-profit client whose product goes out to
non-profit clients of theirs. The MySQL licensing gets pretty dicey
there. I don't pretend to understand whether anyone needs to buy a
commercial license, what kind, and who's responsible for taking care
of it.

-- 
-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


RE: databases [was: Re: Ruby Active Record]

2006-04-20 Thread Lynn Fredricks
> Ruslan Zasukhin wrote:
> > IF you use e.g. free mySQL (which is not free btw!) then make YOUR 
> > software free also. May be this will be a fair step?
> 
> If my understanding of their dual-license scheme is correct, 
> it's more than fair, it's actually required:
> 
> 
> 
> The usage terms are admittedly still somewhat vague to me, 
> but in my limited understanding it follows the trend of other 
> dual-use licensing to ask for in-kind usage:  usage in free 
> things is free, usage in non-free things is non-free.

Wearing my Paradigma hat here - that pretty much sums it up, but the key is
actually knowing for certain if what you have in mind qualifies for free -
they revised their license after SQL 4.x which eliminated a lot of what was
considered free before. 

mySQL AB has done a thorough job of stating that any potentially commercial
use, you are going to have to pay their commercial fee. This was considered
very carefully in pricing Valentina.

Best regards,

Lynn Fredricks
President
Paradigma Software, Inc

Joining Worlds of Information

Deploy True Client-Server Database Solutions
Royalty Free with Valentina Developer Network
http://www.paradigmasoft.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: Right-Align Cell Values in Tables

2006-04-20 Thread J. Landman Gay

Bill Marriott wrote:
Am I correct that there is no way to right-justify individual values in 
cells (i.e., numbers)?


When I apply the right-align formatting to a table, it actually seems to 
work on a *line* basis, causing the values to jump the boundaries of their 
cells. Same thing with centering. 


If you use a fixed-width font, you can pad each entry with spaces to 
force it to appear right-aligned. Leave the field alignment set to 
"left" and pass each tabbed item through this:


function rightAlign theText,theWidth
  put char 1 to theWidth of theText into theText -- trucate long strings
  put char 1 to (theWidth-length of theText) of "   " \
 before theText
  return theText
end rightAlign

Use enough spaces between the quotes to cover the column width, for 
worst cases. This does assume you already know the maximum character 
width of a column.


--
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: Choosing a printer form a script

2006-04-20 Thread Bill
I second this. Not only would it be nice to choose which printer it would
also be nice to say print 6 copies to the printer without the user having to
go through the dialogue box. I was told that this was only possible with an
Applescript call.


On 4/20/06 10:48 AM, "Liam Lambert" <[EMAIL PROTECTED]> wrote:

> I need to have two printers one is  a label printer and the other is
> a ticket printer
> is there any way I can select which printer is used in a script
> 
> Thanks
> Liam
> 
> Ireland
> ___
> 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

|||
   )_)  )_)  )_)
  )___))___))___)\
 )))_)\\
   _|||\\\__
---\   /- http://www.bluewatermaritime.com
 ^ ^
     ^^^^^
     ^^^

24 hour cell: (787) 378-6190
fax: (787) 809-8426

Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740



___
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: databases [was: Re: Ruby Active Record]

2006-04-20 Thread Alex Tweedly

Ruslan Zasukhin wrote:


On 4/20/06 9:42 PM, "Russ McBride" <[EMAIL PROTECTED]> wrote:

 


Yeah, it seems crazy these days to actually have to *pay* for a
database.  
   



Wow. What an interesting point of view !!!  :-)
Hmm, why not say:
   it seems crazy to pay for Revolution or other RAD tools
   it seems crazy to pay for compilers
   it seems crazy to pay for MS Office
   it seems crazy to pay for Adobe products.

 

The difference is that there exist a number of (more or less) adequate 
DBs which are free (in one sense or another). You, or I, may or may not 
like that fact - but it is a fact  nevertheless. Therefore it can be 
viewed as "crazy"to choose to pay for one - UNLESS the one you pay for 
provides significant benefits (as we already heard, Frontbase does for 
some people, we know Valentina does for some people, etc.)


There is nothing resembling Rev which is free, nor some of the Adobe 
products.

Personally, I do thinks it's crazy to pay for Office products :-)
compilers are perhaps more varied and specialized - but I ran a 2000+ 
developer organization on free compilers, producing very large software 
products. (though we paid a lot of money for a support contract for 
those "free" compilers :-)



People. You ARE developers.
Please stop this evil and crazy ideas of free software!

It will throw programming industry into death.
Believe you into this or no.

I am related to universities, and I know that last 5 years many smart guys
which COULD be good and cool programmers (by their school activity) have
choose other specialty. Reasons? Simple:


A) They listen SUCH danger discussions about free software...
And they make conclusions...They do not want work in future for free.
So - NOT PROFITABLE.

B) today all major software exists. No chances invent and implement
something really new and cool. So - NOT INTERESTING.
 


I think a major, additional reason is
C. They read in the press about software jobs being off-shored, and 
think there will be no jobs.


They didn't read the small print that said that the number of software 
jobs in the US is still growing even during the off-shoring fad. IMO 
off-shoring is a fad - it will settle down into a successful long term 
strategy, but at a much lower impact than the last few years of "gold 
rush" activity.




--
Alex Tweedly   http://www.tweedly.net

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/318 - Release Date: 18/04/2006
___
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: databases [was: Re: Ruby Active Record]

2006-04-20 Thread Richard Gaskin

Ruslan Zasukhin wrote:

IF you use e.g. free mySQL (which is not free btw!) then make YOUR software
free also. May be this will be a fair step? 


If my understanding of their dual-license scheme is correct, it's more 
than fair, it's actually required:




The usage terms are admittedly still somewhat vague to me, but in my 
limited understanding it follows the trend of other dual-use licensing 
to ask for in-kind usage:  usage in free things is free, usage in 
non-free things is non-free.


So while the single-user SQLite is public domain (on which altSQLite is 
based), MySQL has a dual license which needs to be read carefully to 
make sure a project is compliant with its terms.


I have some libraries I'll probably release under a dual license, but 
I'll try to make the license terms clearer than MySQL's. :)


--
 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: Custom sorting question

2006-04-20 Thread Devin Asay
Thanks to Brian and Jacque, who supplied the key piece of information  
that the docs don't make clear. The Rev dictionary vaguely says "To  
create a custom sort order, use the each keyword to pass each line or  
item to a custom function. The value returned by the function is used  
as the sort key for that line or item." Brian and Jacque put it much  
more clearly:


On Apr 20, 2006, at 12:43 PM, Brian Yennie wrote:
See if this helps - the idea is you need your function to return  
the position you want that item in.


On Apr 20, 2006, at 12:55 PM, J. Landman Gay wrote:

The way it is now, termOrderSort is returning a number from the  
item list (such as 259), and the lines will sort numerically using  
those numbers. What you want is for "259" to be returned as "1" and  
"26" to be returned as "2", etc. Then the sort works.

...


Using "word 1 of each" sends the actual number in your raw data to  
the sort function. The sort function gets the item offset of that  
number from the sort order list. It returns that offset as an  
integer that will force the data to sort in the proper order; that  
is, "259" becomes "1", etc.



I only had to make a minor change for it to work properly after their  
suggestions:



local lSortOrder -- this is the only local you need

on updateList
  put the rawLessonData of fld "vocablist" into tRawData
  put "259,26,110,111,272,314,149,250,54" into lSortOrder
  sort lines of tRawData by termOrderSort(word 1 of each)

  -- do stuff with the sorted list
end updateList

function termOrderSort tNum

set the wholeMatches to true ## otherwise '7' matches, '267', etc.

  return itemoffset(tNum, lSortOrder) -- this returns "1,2,3,4,5,etc"
end termOrderSort


Thanks for the help!

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: Checking if the network has changed

2006-04-20 Thread Alex Tweedly

Dave Cragg wrote:


Hi

I'm trying to find a reliable (ish) way to know if a computer is  
connected to the same network as it was the previous time the  
application was opened. The situation is for an educational program  
that requires connecting to an internet server. Users may run the  
program from work and/or from home. Connecting from work requires  
using a proxy. My concern is with laptop users who use the same  
computer to connect from both work and home.


I'd like to be able to have the program use a preconfigured proxy  
setting when used from work, and no proxy (or a user-configured  
proxy) when used from home.


Right now, I'm thinking of using the following to determine if the  
network has changed since the last session:


   get hostNameToAddress(the hostname)

The idea would be to store the result between sessions, and compare  
at each new session. If the values are different, ask the user to  
confirm the location.


If anyone knows of any problems with this, or knows of a better  
solution, I'd be grateful.


I see two problems (at first glance - I see another shadow lurking off 
in the far distance, but I need to think more about it).


Problem 1. (A real problem that you will hit, but not a showstopper)

You will get "false positives" from this test, so you will ask the user 
to confirm location unnecessarily.


Assuming the laptops are using DHCP to get their addresses, then even a 
simple network at work will give the possibility of changing address 
when reconnecting, and a home network using a modern broadband router 
with the increasingly typical case of multiple home PCs will do the same 
at home.


So depending on the kind of education establishment, and how their 
networks are set up, this is somewhere between likely and inevitable. 
But the "cost" is only an extra user interaction (and possibly the users 
thinking the system is a bit dumb).


Problem 2. Much less likely, but more serious.

There is always a chance of getting the same address dynamically 
assigned in both locations. If the work networks are typically larger, 
or more complex, then this may be impossible - but if your customer base 
includes small schools, and if they behave like typical small 
businesses, then they may well use 192.168.1.1/24 as well, allowing for 
the possibility of address clashes with addresses assigned at home. This 
would of course lead to believing that location had not changed, when it 
actually had done - so making the wrong choice about whether to use the 
proxy.


Other alternatives.

These may or may not be useful suggestions depending on info you may or 
may not have about the kind of networks involved. In particular, is the 
"preconfigured proxy" preconfigured as an ip address, a host name or 
something else (e.g. a two-step config via web access, etc.)


If the proxy is known to be on the same network as the laptops (i.e. not 
just within the same campus network, but actually on the same subnet), 
then you could check for a direct connection to it (using ARP from the 
shell).


If it will be on the same campus, but not necessarily on the same 
subnet, then you can make an approximation using ping results.


I've uploaded to revonline a sample stack with a script to do either of 
these. Note for the second method you need to know, or make an 
assumption, about the campus network diameter - if you're targetting 
schools you can probably use 3 or 4, but if you include larger 
universities then you may need to go up to 8 or 15, at which point there 
is a small danger of false positives.


revonline : username alextweedly : stack IP Address Checks : category 
programming


Note also the comments about firewalled hosts which do not respond to pings.



(Lurking danger - VPNs can confuse any or all of these schemes, so if 
you have people taking laptops home and making a VPN connection to the 
campus net, it could be infeasible to do any of these schemes, including 
the one you currently use, since you could have a hostname/hostaddress 
from your home net, but have all your packets routed via the VPN and 
hence (perhaps) need to use the proxy. Depends on whether using the 
proxy is a matter of policy or technology)




--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/318 - Release Date: 18/04/2006

___
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: Installing and Using Revolution as a CGI on Tierra.Net (was Dreamhost)

2006-04-20 Thread Marty Knapp
Ah - I see it (don't know how I missed that!). I was only looking at 
their $7.95 plan. The "Code Monster" plan has Miva. I've fired off an 
email to them to see if they can install Miva 4 for me.


It sounds like a number of folks here are using them - any complaints?

Marty Knapp

Dreamhost has Miva and it is fairly simple to setup rev


www.dreamhost.com


Todd



On Apr 20, 2006, at 11:13 AM, Marty Knapp wrote:

I'm trying to find a new web host where I can install Rev and I need 
the Miva shopping cart. Anybody out there know of anything? I'm 
currently using Websitesource and just discovered that they're 
blocking access from people using Shaw Cable (a big provider in 
Canada). Websitesource's tech support is slow and not very helpful. 
They also won't allow installation of Rev unless I get a virtual 
private server. I currently have 2 sites that use Miva 4 and am not 
too excited about switching/learning something else. 



___
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: databases [was: Re: Ruby Active Record]

2006-04-20 Thread Ruslan Zasukhin
On 4/20/06 9:42 PM, "Russ McBride" <[EMAIL PROTECTED]> wrote:

> Yeah, it seems crazy these days to actually have to *pay* for a
> database.  

Wow. What an interesting point of view !!!  :-)
Hmm, why not say:
it seems crazy to pay for Revolution or other RAD tools
it seems crazy to pay for compilers
it seems crazy to pay for MS Office
it seems crazy to pay for Adobe products.

People. You ARE developers.
Please stop this evil and crazy ideas of free software!

It will throw programming industry into death.
Believe you into this or no.

I am related to universities, and I know that last 5 years many smart guys
which COULD be good and cool programmers (by their school activity) have
choose other specialty. Reasons? Simple:


A) They listen SUCH danger discussions about free software...
And they make conclusions...They do not want work in future for free.
So - NOT PROFITABLE.

B) today all major software exists. No chances invent and implement
something really new and cool. So - NOT INTERESTING.


This is why I have so wonder to read these words from Russ,
who have ".edu", even if it is berkely.edu

Russ, sooner or later even berkeley will start see reduction of egg-head
guys, if continue with such propaganda. Think about this...

I wonder that so many developer like to use for example free dbs, and other
software but still SALE own job and own products. Hmm. Somehow not honest?

IF you use e.g. free mySQL (which is not free btw!) then make YOUR software
free also. May be this will be a fair step? Why you think that your
application is at least 1 cent more valuable of mySQL or Postgre, which have
20-25 years of development story.

> But there are reasons why people still make decisions that
> allow Larry Ellison to by another small island in the Caribbean

IMHO Larry is a great manager first of all, like the Bill.
That explains all.

I believe that if you replace Larry by somebody else,
Oracle will start go down very fast.

Some people can sale everything.
Others are not able sale even gold in hands.

Just my 0.02 :-)

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


___
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: HTML

2006-04-20 Thread William de Smet
There already is a stack doing this: HTML exporter
Check http://revolution.widged.com/stacks/index.php (somewhere at the
bottom of the page)

greetings,

William

2006/4/20, Mark Wieder <[EMAIL PROTECTED]>:
> Mikey-
>
> Thursday, April 20, 2006, 6:56:00 AM, you wrote:
>
> > Has anybody built a stack to take cards and convert them into HTML?
>
> I've thought about doing this, but somehow I never seem to get around
> to it. I'd be delighted if somebody else would do it instead.
>
> --
> -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
>
>
___
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: Installing and Using Revolution as a CGI on Tierra.Net (was Dreamhost)

2006-04-20 Thread Todd Geist

Dreamhost has Miva and it is fairly simple to setup rev


www.dreamhost.com


Todd



On Apr 20, 2006, at 11:13 AM, Marty Knapp wrote:

I'm trying to find a new web host where I can install Rev and I  
need the Miva shopping cart. Anybody out there know of anything?  
I'm currently using Websitesource and just discovered that they're  
blocking access from people using Shaw Cable (a big provider in  
Canada). Websitesource's tech support is slow and not very helpful.  
They also won't allow installation of Rev unless I get a virtual  
private server. I currently have 2 sites that use Miva 4 and am not  
too excited about switching/learning something else.


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
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: Custom sorting question

2006-04-20 Thread J. Landman Gay

Devin Asay wrote:

I read the dictionary entry for 'sort container' carefully, and found  a 
couple of sample scripts for similar things from old use-rev  postings. 
This is what I came up with, but it didn't do what I want.  I think it 
boils down to my not understanding how to create custom  sort orders.


local lCount,lSortOrder

on updateList
  ## sort the rawLessonData by item 1 of each line, according to the  
term list

  put the rawLessonData of fld "vocablist" into tRawData
  put "59,26,110,111,272,314,149,250,54" into lSortOrder
  put 0 into lCount
  sort lines of tRawData by termOrderSort(each)

  -- do stuff with the sorted list
end updateList

function termOrderSort
  add 1 to lCount
  return item lCount of lSortOrder
end termOrderSort

Can anyone advise me?


The way it is now, termOrderSort is returning a number from the item 
list (such as 259), and the lines will sort numerically using those 
numbers. What you want is for "259" to be returned as "1" and "26" to be 
returned as "2", etc. Then the sort works. So do this:


local lSortOrder -- this is the only local you need

on updateList
  put the rawLessonData of fld "vocablist" into tRawData
  put "259,26,110,111,272,314,149,250,54" into lSortOrder
  sort lines of tRawData by termOrderSort(word 1 of each)

  -- do stuff with the sorted list
end updateList

function termOrderSort tNum
  return itemoffset(tNum, lSortOrder) -- this returns "1,2,3,4,5,etc"
end termOrderSort

Using "word 1 of each" sends the actual number in your raw data to the 
sort function. The sort function gets the item offset of that number 
from the sort order list. It returns that offset as an integer that will 
force the data to sort in the proper order; that is, "259" becomes "1", etc.


--
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: [OT] Cringely on BootCamp's future

2006-04-20 Thread Bob Warren

Francis Nugent Dixon wrote:

>Hi from Paris,

Just a minor point about Brazil, apart from it being the most
fantastic country. Anything that is imported into Brazil costs
an arm and a leg, due to exhorbitant import taxes. The basic
idea is, Buy Brazilian (even when it doesn't exist).

I remember arriving in Brazil to do a 2 week course, with my
course supports, and (because I have had experience with
African countries) carrying 20 note pads, 20 rubbers - sorry
erasers !, 20 pens, etc. for my students, not forgetting the board
markers in many colours.

They were all confiscated, because I was told that "all these things
exist in Brazil, so go out and buy them". The customs even wanted
to confiscate 19 of my 20 course supports on the basis that Brazil
had photocopying machines !! BUSINESS LOGIC DON'T COUNT !!

Don't get me wrong, Brazil has more to offer than inconveniences,
and I love the place to bits ! It's just a way to promote local
industry.
...   but then the protectionist activities of  other countries aren't
bad either 

--
I'm shocked!
I humbly apologise on behalf of my adopted country.
It must have been because of the quantities involved, and they suspected 
that you really intended to sell them within Brazil before leaving.
Is it "just a way to promote local industry" really, or could it have 
been some kind of retaliation because of the protectionist practices of 
other countries? What is good for the goose is good for the gander.


I wouldn't know about importing stuff, because I haven't had the money 
to do it for quite a long time now.


Anyway, that gets us on to politics, so I'll now try to gracefully bow 
out of the discussion. The problem is that there is no such thing as a 
"technical, Revolution oriented topic". Everything is embedded.


Bob Warren


___
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: Custom sorting question

2006-04-20 Thread Brian Yennie
See if this helps - the idea is you need your function to return the 
position you want that item in.


...
sort lines of tRawData numeric by termOrderSort(each)
...

function termOrderSort pTerm
  return itemOffset(item 1 of pTerm, lSortOrder)
end termOrderSort
___
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


databases [was: Re: Ruby Active Record]

2006-04-20 Thread Russ McBride


Yeah, it seems crazy these days to actually have to *pay* for a  
database.  But there are reasons why people still make decisions that  
allow Larry Ellison to by another small island in the Caribbean (and  
why people would pay $$ for FrontBase).  We use it as an excellent  
fit for our WebObjects applications.  And in the past MySQL has been  
quite problematic for any kind of applications that require a lot of  
updating rather than lots of simple reads (as you get in web apps).   
FrontBase is also completely SQL92 compliant which is rare.


Anyway, I don't want to get into the usual database wars here, nor is  
it the place.  I've been happy with FrontBase, PostgreSQL, MySQL, and  
others.  It was, though, quite nice to see a fairly small db vendor  
provide runrev support.


Cheers,


Russ McBride
Programmer/Analyst
The Scholar's Workstation
University of California at Berkeley
510-643-6853


On Apr 19, 2006, at 11:17 PM, Dan Shafer wrote:

Thanks, Ken. FOund it. But at those prices, I think I"ll stay far,  
far away.

Yikes.


On 4/19/06, Ken Ray <[EMAIL PROTECTED]> wrote:


On 4/20/06 12:50 AM, "Dan Shafer" <[EMAIL PROTECTED]>  
wrote:



I don't see any support there for Revolution. Is it hiding?


Click the Downloads link in the toolbar, then scroll down





--
~~
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


Re: HTML

2006-04-20 Thread Mark Wieder
Mikey-

Thursday, April 20, 2006, 6:56:00 AM, you wrote:

> Has anybody built a stack to take cards and convert them into HTML?

I've thought about doing this, but somehow I never seem to get around
to it. I'd be delighted if somebody else would do it instead.

-- 
-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


Re: PIM

2006-04-20 Thread Scott Rossi
Recently, Mikey wrote:

> WAAAY back in the day I used to use
> Connections, which was a PIM product that ran in HC.  I'm incredibly
> unhappy with all the PIM's I've used since, so I'm thinking of killing
> myself cranking one out.  Do we have an RR based PIM somewhere?

If you can live with a free-form implementation, you can try one I put
together several years ago.  Execute the following in your message box:

 go url "http://www.tactilemedia.com/download/intouch_x.rev";

As stated above, this does not assign specific fields for name, address,
phone, etc, but instead has 3 resizable panes that contain an index, a data
field, and a notes field (in reality the fields can contain anything).  The
stack is incomplete (printing is not implemented for example), but you're
welcome to to take what you need if it helps.

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: Installing and Using Revolution as a CGI on Tierra.Net (was Dreamhost)

2006-04-20 Thread Marty Knapp
I'm trying to find a new web host where I can install Rev and I need the 
Miva shopping cart. Anybody out there know of anything? I'm currently 
using Websitesource and just discovered that they're blocking access 
from people using Shaw Cable (a big provider in Canada). Websitesource's 
tech support is slow and not very helpful. They also won't allow 
installation of Rev unless I get a virtual private server. I currently 
have 2 sites that use Miva 4 and am not too excited about 
switching/learning something else.


Thanks for any input,
Marty Knapp
___
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: [OT] Cringely on BootCamp's future

2006-04-20 Thread Bob Warren

Stephen Barncard wrote:

>Hell, I don't want to start a platform war on this list  - the thing
is that Rev brings us together - and platform wars are boring and
stupid.

-
Yes, we're all a bit up tight. But I wouldn't call a mildly 
argumentative discussion "war", at least not yet! The great thing about 
the difficult art of democracy is that we become united through our 
differences.


Though I have no experience of Macs, if I lived in a first-world 
country, it would be one of the first things I'd buy, hoping that the 
higher price would bring me advantages in terms of quality and 
stability. But I don't live in a first world country. Even a much 
cheaper PC represents a year's salary to the majority of the population. 
Macs ARE used, but only usually by companies etc. who have the need and 
the means to make the investment. Until my American neighbour brought 
back a Mac from the States, I had never even SEEN a Mac!


Stephen Barncard wrote:

>As far as price of Macs in Brazil; I'm sure that Brazil imposes
severe tariffs placed on computers from the USA, and I think that the
Brazil PC 'manufacturers' would get quite an advantage - even though
made from parts from 'over there'.

---
I am not disputing what you are saying, because I really don't know. But 
what I would like to know is why PCs imported from the United States 
(among other places) do not seem to suffer the same tariffs. (Or is that 
wrong too?) Of course, if you have good reason for affirming that Brazil 
imposes severe tariffs placed on computers from the USA, then I would be 
very interested in knowing what that reason is.


The only point I am interested in making is that as far as I see it, 
PC+Linux is the only viable future solution for ordinary users in a 
country like Brazil, and I fully intend to help them achieve it. And the 
more support I get for this movement in terms of reliable programming 
under the Linux OS, the better I like it.


Regards,
Bob Warren

___
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


Custom sorting question

2006-04-20 Thread Devin Asay
I know this should be possible, but I'm having a heckuva time getting  
it to work.


I want to sort some data that looks like this when it comes out of  
the database, put into variable tRawData (the white spaces are tabs;  
the random characters are unicode data, waiting to be uniencoded into  
a field):


26	ба´бушка	grandmother	Ба´бушка живёт у нас  
в кварти´ре.	grandma
54	брат	brother	Э´то мои´ брат и сестра´.	 
brother
110	–≤–Ω—É–∫	grandson	–í–æ—Ç –º–æ–π –¥–µ¬¥–¥—É—à–∫–∞. –°–∞¬¥—à–∞ —Ç–æ¬ 
¥–∂–µ –µ–≥–欥 –≤–Ω—É–∫.	grandson
111	–≤–Ω—É¬¥—á–∫–∞	granddaughter	–ó–¥–µ—Å—å –∂–∏–≤—É—Ç –ö—Ä—É–≥–ª–欥– 
≤—ã. –ò—Ö –≤–Ω—É¬¥—á–∫–∞ —ǖ欥–∂–µ –∂–∏–≤—ë—Ç –∑–¥–µ—Å—å.	granddaughter
149	–í—Å—ë —Ö–æ—Ä–æ—à–æ,—á—Ç–æ —Ö–æ—Ä–æ—à–æ –∫–æ–Ω—á–∞–µ—Ç—Å—è.	All's  
well that ends well.	–í—Å—ë —Ö–æ—Ä–æ—à–欥, —á—Ç–æ —Ö–æ—Ä–æ—à–欥 –∫– 
æ–Ω—á–∞¬¥–µ—Ç—Å—è.	Allswellthatendswell
250	–¥–µ¬¥–≤–æ—á–∫–∞	little girl	–ú–æ—謥 —Å–µ—Å—Ç—Ä–∞¬¥ –µ—â—ë –º–∞¬ 
¥–ª–µ–Ω—å–∫–∞—è –¥–µ¬¥–≤–æ—á–∫–∞.	littlegirl
259	–¥–µ¬¥–¥—É—à–∫–∞	grandfather	–ú–æ–π –¥–µ¬¥–¥—É—à–∫–∞ —ǖ欥–∂–µ – 
∂–∏–≤—ë—Ç –∑–¥–µ—Å—å.	grandfather
272	–¥–µ¬¥—Ç–∏	children	–ù–∞¬¥—à–∏ –¥–µ¬¥—Ç–∏ –欥—á–µ–Ω—å –±—㬥—Å—Ç— 
Ä–æ —Ä–∞—ŗǗɬ¥—Ç.	children
314	–¥–æ—á—å	daughter	–≠¬¥—Ç–æ –ù–∞—Ç–∞¬¥–ª—å—è –ò–≤–∞¬¥–Ω–æ–≤–Ω–∞. – 
õ–µ¬¥–Ω–∞ –µ—ë –¥–æ—á—å.	daughter


Another variable, lSortOrder, contains the order I want the lines to  
appear:


259,26,110,111,272,314,149,250,54

I read the dictionary entry for 'sort container' carefully, and found  
a couple of sample scripts for similar things from old use-rev  
postings. This is what I came up with, but it didn't do what I want.  
I think it boils down to my not understanding how to create custom  
sort orders.


local lCount,lSortOrder

on updateList
  ## sort the rawLessonData by item 1 of each line, according to the  
term list

  put the rawLessonData of fld "vocablist" into tRawData
  put "59,26,110,111,272,314,149,250,54" into lSortOrder
  put 0 into lCount
  sort lines of tRawData by termOrderSort(each)

  -- do stuff with the sorted list
end updateList

function termOrderSort
  add 1 to lCount
  return item lCount of lSortOrder
end termOrderSort

Can anyone advise me?

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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


OT audio question - .asf files

2006-04-20 Thread Mark Swindell
I'm trying to play back some educational .asf files I've downloaded.   
Video works fine on all of them, but no audio playback on some of  
them (others work fine).  All audio seems to work on Windows.  I'm   
using OSX 10.6, and Quicktime 7.0.4 with current WMV player or VLC.


This is the message I get from VLC:
main: no suitable decoder module for fourcc `undf'.
VLC probably does not support this sound or video format.

If anyone has any idea about what I might do to get audio, I'd love  
to hear.


Thanks,
Mark



___
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


Right-Align Cell Values in Tables

2006-04-20 Thread Bill Marriott
Am I correct that there is no way to right-justify individual values in 
cells (i.e., numbers)?

When I apply the right-align formatting to a table, it actually seems to 
work on a *line* basis, causing the values to jump the boundaries of their 
cells. Same thing with centering. 



___
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


Checking if the network has changed

2006-04-20 Thread Dave Cragg

Hi

I'm trying to find a reliable (ish) way to know if a computer is  
connected to the same network as it was the previous time the  
application was opened. The situation is for an educational program  
that requires connecting to an internet server. Users may run the  
program from work and/or from home. Connecting from work requires  
using a proxy. My concern is with laptop users who use the same  
computer to connect from both work and home.


I'd like to be able to have the program use a preconfigured proxy  
setting when used from work, and no proxy (or a user-configured  
proxy) when used from home.


Right now, I'm thinking of using the following to determine if the  
network has changed since the last session:


   get hostNameToAddress(the hostname)

The idea would be to store the result between sessions, and compare  
at each new session. If the values are different, ask the user to  
confirm the location.


If anyone knows of any problems with this, or knows of a better  
solution, I'd be grateful.


Cheers
Dave

___
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: Unicode

2006-04-20 Thread Devin Asay

Nicholas,

The way to enter unicode text into a field is to choose a non-Latin  
input method using your OS's native tools. In other words, place your  
cursor in the field, then switch to the language you want to type in  
just as you would in any application. Revolution will automatically  
set the textfont for you. Once you're done, the field's unicodetext  
property will contain, well, the unicode text for that field.


The tricky part of using unicode in Revolution is not the entering,  
but the subsequent manipulation of the unicode text--grabbing chunks,  
moving it from field to field, saving, etc.


See my web site at http://revolution.byu.edu/unicode/ 
unicodeInRev.html for some notes on how to work with unicode. You can  
see some working examples in my stack unicodeTrials.rev. Just enter  
in the message box: go stack url "http://revolution.byu.edu/unicode/ 
unicodeTrials.rev"


HTH.

Devin

On Apr 19, 2006, at 7:32 PM, Nicholas Thieberger wrote:

I am trying to enter Unicode in a field. I have set the 'use  
unicode' to true in a startup script as follows:


  set the useunicode to true
  set the textFont of field "Text" to "Gentium,UTF8"

This has the effect of making all the characters in the field  
appear in a Chinese script. This is not my desired outcome!


Any suggestions welcome!


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: Ask Password

2006-04-20 Thread J. Landman Gay

Jeff Honken wrote:

I have a user that is using one of my compiled .exe's.  He's running
WinXP Home addition.  He claims he can't see the password field in the
application.  None else has complained of this but He's described it to
me clearly so I believe him.  Does anyone know why he couldn't see the
password field but can see the text" Please Enter your Password" and the
ok and cancel buttons. I've compiled under 2.6.1.  I'm using:

ask password clear "Please Enter your Password"


How odd. The only thing I can think of is to ask your user to install 
the latest video drivers for his machine. Maybe that's the problem.


--
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: Stack file format change in 2.7 - BACK UP!

2006-04-20 Thread J. Landman Gay

David Burgun wrote:


I really can't understand all the mystery surrounding this "fix" to  
allow backwards compatibility.


The beta testers know about it (if you purchase Enterprise, you are 
automatically on that list,) but the details were pulled from the final 
release for a number of reasons. However the upcoming 2.7.1 has an 
interface that allows you to save in either file format. It isn't really 
a secret, RR just doesn't support its use yet.


--
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: Setup a Scrollbar?

2006-04-20 Thread Rob Cozens

Malte, Scott, et al:


pageInc: 1
lineInc: 1


From Rev Dictionary:

"Use the pageIncrement property to change the amount that is scrolled 
when the gray region is clicked."


"Use the lineIncrement property to change the amount that is scrolled 
when the scrollbar arrows are clicked."


Do you really want the scroll limited to one pixel in these cases?

lineInc should = the height of one line of scrolling text or objects

pageInc should = lineInc * the number of visible lines of text or 
objects


Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)

___
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: Setup a Scrollbar?

2006-04-20 Thread Rob Cozens

Hi Scott,


My problem is getting the
thumb correctly sized so, for example, if the field holds 14 items and 
the
lines number 15, you get a fairly large thumb, instead of the tiny 
version

when its size is set to 1.


If you are working with a scrolling field, the thumbSize adjusts 
automatically to the amount of text in the field.  Create a scrolling 
field with the formattedHeight of the text = to the the field's 
adjusted height...there will be no visible thumb.  Add one line of text 
and you have a fat thumb that gets slimmer with each line added to the 
field.


If you are using a scrollBar control instead of a scrolling field, this 
works for moi:


set the thumbSize of scrollBar "Index Scroll" to 
trunc(maxSize*(visibleLines/linesOfImages))

get visibleLines * imageHeight
set the pageInc of scrollBar "Index Scroll" to it
set the lineInc of scrollBar "Index Scroll" to imageHeight

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)

___
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


GEDCOM and Rev

2006-04-20 Thread FlexibleLearning
Before I re-invent the wheel, has anyone done  any work on a GEDCOM 5.5 
exporter/parser/importer for Revolution or a Rev-based  GEDCOM/XML 
translator/manipulator? 
/H

PS: If you don't know the  GEDCOM file format, be happy!  

___
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


Choosing a printer form a script

2006-04-20 Thread Liam Lambert

I should have said that I am using a mac.
Liam
___
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


Choosing a printer form a script

2006-04-20 Thread Liam Lambert
I need to have two printers one is  a label printer and the other is  
a ticket printer

is there any way I can select which printer is used in a script

Thanks
Liam

Ireland
___
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


header intact

2006-04-20 Thread Stefano FA2

___
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: PIM

2006-04-20 Thread Ken Ray
On 4/20/06 8:57 AM, "Mikey" <[EMAIL PROTECTED]> wrote:

> WAAAY back in the day I used to use
> Connections, which was a PIM product that ran in HC.  I'm incredibly
> unhappy with all the PIM's I've used since, so I'm thinking of killing
> myself cranking one out.  Do we have an RR based PIM somewhere?

Not for general consumption, AFAIK. There's a vertical market PIM solution
for agents and managers in the entertainment industry here:

  http://www.inentertainment.com/

But other than that, I'm not aware of any... perhaps someone else will chime
in on this thread...

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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


PIM

2006-04-20 Thread Mikey
WAAAY back in the day I used to use
Connections, which was a PIM product that ran in HC.  I'm incredibly
unhappy with all the PIM's I've used since, so I'm thinking of killing
myself cranking one out.  Do we have an RR based PIM somewhere?

--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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


HTML

2006-04-20 Thread Mikey
Has anybody built a stack to take cards and convert them into HTML?

--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: Stack file format change in 2.7 - BACK UP!

2006-04-20 Thread Geoff Canyon
I think saving in the pre-2.7 format is available in the upcoming  
release.


gc

On Apr 20, 2006, at 2:41 AM, David Burgun wrote:


Hi All,

I really can't understand all the mystery surrounding this "fix" to  
allow backwards compatibility. As far as I understand it, there is  
a way to tell the engine to save in the old format or the new  
format, with version 2.7 defaulting to the newer format. That all  
sounds reasonable. What I can't understand is why how to do it is a  
"secret"? There is a protected IDE plug-in available that allows  
you to save in either format, but since it is protected, the  
details are hidden. There is no real mention of it on the RunRev  
Web Site or in the Documentation as far as I can see. Leaving this  
"hanging" like this is just bound to lead to problems IMO. Problems  
that could be so easily avoided just by either shipping the PlugIn  
with the release, or having an IDE command or preference to select  
it or by just documenting exactly how to do it.


Anyone have any ideas on this mystery?

All the Best
Dave

___
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


[OT] To all who cantacted me recently...

2006-04-20 Thread Mark Schonewille

Hello,

Just before Easter, I had a crashing hard disk, which is 
definitely completely unrecoverable, and I had to rely on a 
backup. As a result, I lost some data, including quite a few 
e-mails. If you contacted me recently and haven't got a reply 
yet, please send me a copy of your e-mail.


Thanks,

Mark

--

Consultant and Software Engineer
mailto:[EMAIL PROTECTED]
http://www.economy-x-talk.com

eHUG coordinator
mailto:[EMAIL PROTECTED]
http://www.ehug.info

Advertise with us and reach 1000 truely interested internet 
users every month. See http://economy-x-talk.com/advertise.html 
for more information.


___
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: Stack file format change in 2.7 - BACK UP!

2006-04-20 Thread Chipp Walters

Hi Dave,

I had contacted Mark a bit ago about the stackFileVersion property and 
he said it's ok to mention it, but it might be renamed or go away later, 
so it's not officially supported.


If you click the 'update' button on the StackFormat plugin of mine, 
you'll download a new version which isn't protected. You can look in the 
checkbox script to see how to set this global property.


Or, if you don't have it just type into your message box:

go URL "http://www.gadgetplugins.com/altplugins/StackFormat.rev";

best,

Chipp

David Burgun wrote:


Anyone have any ideas on this mystery?


___
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: Stack file format change in 2.7 - BACK UP!

2006-04-20 Thread David Burgun

Hi All,

I really can't understand all the mystery surrounding this "fix" to  
allow backwards compatibility. As far as I understand it, there is a  
way to tell the engine to save in the old format or the new format,  
with version 2.7 defaulting to the newer format. That all sounds  
reasonable. What I can't understand is why how to do it is a  
"secret"? There is a protected IDE plug-in available that allows you  
to save in either format, but since it is protected, the details are  
hidden. There is no real mention of it on the RunRev Web Site or in  
the Documentation as far as I can see. Leaving this "hanging" like  
this is just bound to lead to problems IMO. Problems that could be so  
easily avoided just by either shipping the PlugIn with the release,  
or having an IDE command or preference to select it or by just  
documenting exactly how to do it.


Anyone have any ideas on this mystery?

All the Best
Dave


Before I panic everyone on the list for the second time
today, there's a way to back out of this change and make the
stack 2.4 compatible again, but you'll lose any 2.7 features
if you do it. The info was not included in the What's New
file, so I'm not sure if it's okay to post it here. To be
safe, just plan on working on duplicates.



___
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: Filling data fields from a multiple choice list - Closing Thread

2006-04-20 Thread Francis Nugent Dixon

Hi Sarah,

From the situation I was in (fields already defined and filled),
it took me 10 minutes ("chrono en main" as they say here).

Brilliant ! Thanks so much.

Sometimes Revolution can look so complex (I have
given up on trying to fathom out some of the coding
I see in this forum). But sometimes, it can be so simple
. and elegant ... !

One more step to making my stack look professional !
And the understanding of one more powerful command
to be used in future stacks.

-Francis

"Nothing should ever be done for the first time !"


From: "Sarah Reichelt" <[EMAIL PROTECTED]>




on mouseUp
  put field "List" of card 1 into button "Popup"
  popup button "Popup" at the mouseLoc
end mouseUp

Then script the popup button:

on menuPick pChoice
  -- pChoice contains the selected item from the popup menu
  -- so now do what you usually do when someone clicks
  -- on the list field in card 1
end menuPick



___
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: Unicode

2006-04-20 Thread Mark Schonewille

Hi Nicholas,

If you contact me off-list, Economy-x-Talk.com can create a 
solution for you.


Best regards,

Mark

Nicholas Thieberger wrote:
I am trying to enter Unicode in a field. I have set the 'use unicode' to 
true in a startup script as follows:


  set the useunicode to true
  set the textFont of field "Text" to "Gentium,UTF8"

This has the effect of making all the characters in the field appear in 
a Chinese script. This is not my desired outcome!


Any suggestions welcome!

Thanks,

Nick


--

Consultant and Software Engineer
mailto:[EMAIL PROTECTED]
http://www.economy-x-talk.com

eHUG coordinator
mailto:[EMAIL PROTECTED]
http://www.ehug.info

Advertise with us and reach 1000 truely interested internet 
users every month. See http://economy-x-talk.com/advertise.html 
for more information.


___
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