RE: The detailed files on Windows

2005-09-27 Thread David Glasgow




On 26 Sep 2005, at 5:02 pm, MisterX [EMAIL PROTECTED] wrote:


yes and no. This is recorded in the windows audit events though
so yes. but only if you are using auditing of files in the GPOs
(AD) or the user priviledges in NT4 domain. So only if implemented
that way.


Xavier,

Yoinks!  Out of my depth already!  Still, thanks for your information, 
it is a start.





Test first. is it a client requirement?
It can also change depending on upgrades.
I've seen it happen.


Unfortunately, I am looking at forensic use which will point towards 
files that the user has 'used' ie accessed or modified.  They may well 
want to avoid leaving a trail, and may access files in all sorts of 
ways, using different software.  I was hoping that the detailed files 
would be a one line solution, but it looks like it will be a good first 
strategy.


Thanks again,

Best Wishes,

David Glasgow

http://www.i-psych.co.uk


___
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: add menu-background vanishes

2005-09-27 Thread FlexibleLearning
Dom [EMAIL PROTECTED] wrote:
  Anyway, I found a no-brainer way: I always put my menus in a  *substack*!


Ken replied:
That's great advice, Dom, but it's  also Mac-only advice... for those of us
needing to deploy cross-platform,  we can't use substacks (unfortunately).


Not entirely true, Ken... The  Scripter's Scrapbook is cross-platform and it 
uses a substack to hold the menu  backgrounds.

/H
The Scripter's Scrapbook  
www.FlexibleLearning.com/ssbk.htm  

___
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: data-design question

2005-09-27 Thread david bovill

On 27 Sep 2005, at 03:06, Dick Kriesel wrote:

On 9/26/05 5:11 PM, Charles Hartman  
[EMAIL PROTECTED] wrote:



performance data =
recording
artist
instrument -- examples: guitar, voice
performance category -- examples: solo, lead, backup



This isn't quite right, because each of the several performers on a
track plays a different instrument (occasionally even two!). I



I agree that snip isn't quite right.  What it omitted from my  
thinking is
the notion of a concatenated key in a relational database.  If  
there were a
table of performance data, then its concatenated key would involve  
all four
partial keys: recording, artist, instrument, and performance  
category.  With
an unlimited number of combinations of instances of the four keys,  
the table
is ready holds enough data to answer all the performance related  
queries

you've mentioned.


As far as i understand the issue here Dick - more than one instrument  
= problem for schema proposed schema / database?


This is not I think a problem for the Dublin core type schema as you  
can have as amny repeated entries as you need... so instruments as  
many times as you want for any XML entry / chunk.


I don't know where the example records came from - ITunes (they are  
not Dublin Core):

Title
Creator
Subject
Description (summary or keywords)  must be entered in german?
Publisher
Contributor
Date
Type (genre)
Format
Identifier (uri)
Source
Language
Relation
Coverage
Rights
If you want to look at metadata specifically for audio - there are a  
few projects that i know of that have spent years on this sort of  
stuff - some links here:


http://www.ccProducer.org/ctv/wiki/VideoMetaData

While it is focussing on video - it is largely an extension of audio  
metadata for radio shows and music - the one I know most about is:


http://www.ccproducer.org/ctv/wiki/SharedOnlineMediaArchive



mention it because it's an example of how the data involved is multi-
layered: an album composed of tunes each of which has several players
each of whom has at least one instrument and each of whom also
presumably plays different roles (solo, comping, etc) at different
times. So it's got to be thick metadata, not flat. But I don't know
what I'm talking about, really, so I'll shut up.



Don't shut up.  Do keep defining and refining your perceptions of
requirements, whether you know a lot or a little about metadata.   
Your list
of example questions serves not only as a basis for design but also  
as a
basis for testing your code, for deciding when you've finished, and  
for

developing marketing material for your results.


Totally.
___
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: Folder Action opens Rev stack on OSX?

2005-09-27 Thread Klaus Major

Hi David,

sorry for chiming in a bit late...

I want to have AppleScript watch a folder so that when a video file  
is dropped into the folder a
Rev stack is opened which displays the video file in a player. Is  
that asking too much :)


Sure! :-D

Please remember that Rev can be scripted by ApplScript, too!
(In case your Rev app is already running...)

You can start a script with:
...
do script name of script
...

But it looks like Rev does NOT support AppleScript in the latest  
version?


When you Open dictionary from the Apple Script Editor Rev does  
NOT show any dictionary?!

But Metacard (SAME engine) does!!??

This has been here on the list some time ago, but no comment from  
Scrotland yet.


Is this a bug?
Or does it work, even if Rev does NOT show a (Apple Script)  
dictionary?

No time to test it by myself right now...


Regards

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

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


Re: data-design question

2005-09-27 Thread Alex Tweedly

Charles Hartman wrote

People here have convinced me not to write a whole relational  
database manager from scratch (that didn't take much). As far as I  
can tell, if I want to do this open-source (except for Dreamcard),  
that makes my choices either

MySQL with Dreamcard
or
SQLite with Python
because those seem to be the available combinations. Am I wrong? I'd  
rather know what the choices are before I make one and start thinking  
about plunging in and learning a new system.


I'd say you have too many choices  (don't worry about the numbering 
scheme :-) :


-1. (Dick's suggestion) Dreamcard
Do everything in Dreamcard until the first prototype is done.

0. Dreamcard plus any SQL (i.e. any of the following suggestions - it 
doesn't matter).
Once you have a working prototype in any of the SQL variants, it will be 
relatively easy to switch to any other one.


1. DC + MySQL on your ISP.
Many web hosting ISPs throw in a MySQL database or two included in the 
price - so if you are on broadband and connected to the Internet 96% or 
more of the time, this is a very attractive choice. The ISP does any set 
up and looking after MySQL for you: two things to be careful of are 
whether, when etc. backups are done, and the possibility that in the 
future you'll want to use it in other circumstances (e.g. while 
travelling) when the Internet access becomes an issue.


2. DC + some SQL on your own machine.
(either MySQL or PostgreSQL - PostgreSQL is (reportedly) easier to 
configure - but I've done both on Windows and they were both easy - and 
I've done them precisely once each - and written one simple test program 
for each - I am *not* an SQL expert).


Once the installation is done, there should be little or no further work 
to do to maintain it. Everything is in one place for easy backups, etc., 
can work anywhere your machine is, etc.


3. DC + altSqlite
Except for the price. Maybe the altuit folks would consider hobbyist 
pricing ? Doesn't hurt to ask them.
[e.g. special price for a single user, single person, no distribution 
rights (i.e. cannot distribute, far less sell, apps which use it - 
except as a stack which allows other altSQLite licensees to use it),  ]


[NB - I'd use Trevor's libDatabase along with either 1, 2 or 3 - looks 
really nice, esp. for someone who isn't an SQL expert. And it does work 
with PostgreSQL, even thought there are a few places where it only 
mentions MySQL.]


4. DC + TCP + Python + sqlite
Certainly doable, but probably not the best choice unless you see an 
advantage in making a web service out of it. TCP (or maybe HTTP) doing 
basically a remote SQL for you,


4a. DC + HTTP + Python + sqlite
Same as above, but with a different design and idea for the protocol 
interface. The HTTP interface would be similar to a standard CGI 
interface rather than a SQL interface.


5. Python + sqlite
I'd consider doing a very simple UI version which uses the same 
Python+SQLite code as 4 to ease the development and testing of that 
part. Then decide whether to live with a weaker UI, or go on to develop 
the web service interface and the DC UI that you originally wanted.


Too many choices .
I've been meaning to write a real SQL app some day, so you've triggered 
me into trying it. I'm trying a combination of 2 and 5, partly to get a 
better idea of how portable SQL should be between PostgreSQL and SQLite.



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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 23/09/2005

___
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: data-design question

2005-09-27 Thread Charles Hartman


On Sep 26, 2005, at 10:55 PM, Stephen Barncard wrote:


On Sep 26, 2005, at 8:17 PM, Stephen Barncard wrote:



Producer? Mixer? Mastering Engineer?



Those are Categories not included in your spec proposal. I'm  
especially sensitive to the first 2.


And understandably so. (Sorry -- it took my brain a while to say Oh  
-- that Stephen Barncard!) One of the things that's frustrating  
about trying to catalog my older LPs while transferring them to CD is  
that so often none of that information was even given on the sleeve.  
I guess that Tom Lord discography might supply it all . . . Too bad  
there's no way to connect to that database.


Charles Hartman

___
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


Export/Import Stacks as XML

2005-09-27 Thread David Burgun

Hi All,

I seem to remember a while back seeing a stack that would 
export/import other Stacks to/from XML but I can't seem to find it 
now. Can anyone point me to it?


Thanks a lot
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: New Version of Dan's eBook

2005-09-27 Thread Jim Ault



On 9/26/05 5:55 PM, Dan Shafer [EMAIL PROTECTED] wrote:

 Finally. After countless hours of fighting against the current, I
 gave in and used Windows for the production of the new version of my
 Software at the Speed of Thought eBook, which now has all of the
 figures correctly in place and visible and adds a hyperlinked Table
 of Contents as well as PDF bookmarks for easy navigation.
 
 If you already own this eBook, next time you run the SATSOT-VOL1
 Launcher, it will give you the opportunity to download the new
 version to replace your old one.
 
 If you don't yet own it or you've been waiting until this set of
 fixes got uploaded, beat the rush and go to
http://www.shafermediastore.com/tech_main.html and order it now! (While
 you're there, you can get the CGI and Custom Properties eBooks as well.)
 
 Thanks for your patience. The saga of trying to do this change in OS
 X is a book in itself, but I don't believe in writing tragedies, so
 it will remain unwritten.
 
 ~~
 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: another yucky geometry question

2005-09-27 Thread Jim Hurley

TJ,


P.S. Over night thoughts:

If one wanted to extend the drawing of an ellipse bounded  by radial 
lines with origin at the vanishing point, the  function drawEllipse 
would be helpful.


The difficult part would be determining the values of a,b,tAng, xLoc 
and yLoc such that the ellipse is property sized, angled and 
positioned so that it lies tangent to the given radials.


Jim


on drawEllipse a,b,tAng,xLoc,yLoc

  repeat with aa = 1 to 360 step 4 --4 is a compromise: min jaggies 
in min time.

put r(aa,tAng,a,b,) into r
put round(xLoc+ r*cos(pi/180*aa)),round(yLoc+r*sin(pi/180*aa))  
cr after tPoints

  end repeat
  set the points of grc ellipse to tPoints

end drawEllipse


function r angl,phi,a,b

  put cos(pi/180*(angl+phi)) into c
  put sin(pi/180*(angl+phi)) into s
  return sqrt(1/(c*c/a/a + s*s/b/b))-- Ellipse at angle phi

end r

drawEllispe 100,40,30,300,400 will draw an ellipse with a = 100, b = 
40, at an angle of 30 degree and with a loc of 300,400



___
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: Export/Import Stacks as XML

2005-09-27 Thread rev

Quoting David Burgun [EMAIL PROTECTED]:


Hi All,

I seem to remember a while back seeing a stack that would 
export/import other Stacks to/from XML but I can't seem to find it 
now. Can anyone point me to it?


It is on Sarah's site.

http://www.troz.net/Rev/tutorials.html
cheers
bob


Thanks a lot
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





___
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


JPEG comments

2005-09-27 Thread Chris Carroll-Davis

Hello all -

does anyone know of a way to write jpeg comments to an existing  
file?  I think these are similar to the EXIF data written to files by  
digital cameras.  I am working on MAc OS X.  Preview can read and  
write these keywords - but it isn't scriptable!



Regards,

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


ANN: Info-Matic, a too to manage information

2005-09-27 Thread Roger Guay

Hello all,

I would like to announce my humble offer of an information management  
tool I call Info-Matc.  Info-Matic is a tool that manages your  
collection of trivia, interesting facts, recipes, scripts and general  
information of almost any type.  This tool is easy to use with an  
index card (Info Card) and storage Basket metaphor.  Simply create  
Info Cards as you need them, and drag them to Basket categories of  
your choosing.


I am sharing this as a Rev stack for the time being, and it's  
available for free at the User Spaces of revOnline.  Look for Info- 
Matic under RogerG or General category.  Give it a try, be sure to  
read the Help screen, and let me know what you think.


Cheers, Roger
___
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: Export/Import Stacks as XML

2005-09-27 Thread David Burgun

Thanks a lot!

All the Best
Dave



Quoting David Burgun [EMAIL PROTECTED]:


Hi All,

I seem to remember a while back seeing a stack that would 
export/import other Stacks to/from XML but I can't seem to find it 
now. Can anyone point me to it?


It is on Sarah's site.

http://www.troz.net/Rev/tutorials.html
cheers
bob


Thanks a lot
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





___
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


Tough revprocessing question

2005-09-27 Thread MisterX
Here's x's regular hard question of the day... ;)

Rev is great for 95 percent of the apps, this works ok though because you
can divide information or make it painless in a prepared way or a different
gui approach, no problem. But creating gradients, rendering images, treating
a million of anything is a severe issue when dealing with rev's processing
speed or throughput. I know, rev is not c...

So in graphical applications rev can be a real bottleneck. If you have to
treat lots of historical data for a display it's enormous time... Examples
abound but im sure drawing fractals, finding simple permutations, or
factorials, etc, the task soon becomes hours of wait for a calculation or an
image to draw. 

This has two adverse effects: Rev is unavailable and your CPU spikes to 100%
blocking other applications from operating correctly...

It's a fact that if we want to use rev in parallel while it processes
something, or lower the cpu we could add somekind of wait in the loop... And
this is where im asking anyone's opinion on how to implement this...

Here's some examples of ideas I'm thinking of...
Loop 10^10 times
  calculate
  send idle to rev -- rev receives socket messages or user clicks, etc...
then continues
end loop
or
loop 10^10 times
  if the number of lines in the pending messages  PMLimit then
send calculate to rev in 12 ms
  end if
end loop

Problem with this is that things can get stuck, some waiting to be executed
and your loop waiting for the queue to move...

or

loop 10^10 times
  calculate
  wait 50 ms with messages
end loop

Is this possible?

The same situation applies to applications like games, simulations, graphic
or processing-intensive applications. If this runs, it blocks the rev
session, possibly other processes... Wouldn't it be nice to have some kind
of Rev-OS like runtime breathing bubble for the os or other running
stacks? It may be that osx doesn't act this way... It's severly annoying in
windows. 

When I test MoireX application which draws graphical moires and more with
500X500 paint X 4 points X 3 colors (in a special function realm), it blocks
everything including videos running in other apps! It breaks the connection
to chatrev, rev looks like a frozen-hung application.

The wise developper will say compile apps (but then I can't enhance them on
the run), run in other rev-session (but it's easy to get confused -
risky...). but what if you are developping the application and the testing
creates the same blocking process in your workflow? Running 2 sessions of
rev is not exactly handy, may require another license, etc... The point is
to allow rev to multitask (not thread alas) and do all this in one instance
of rev running alone (one 100cpu cycles sucking application at a time is
enough ;) - also create parallel tasking things is not the easiest way to
get projects done...

There's solutions to this, I know... but please don’t change the subject of
giving rev some events back between loops or reducing cpu load... The point
is go give rev time to breath between loop (or 5 loops) so it can work
somewhat regularly (50% of the cpu would be nice)... 

Breaking down the loop into subhandlers doesn't really help (they can't be
threaded) and sendeables is maybe a problem if we send each subhandler
into the queue X 100. Using another runtime of rev is not the issue -
200% cpu used! overheating! your computer explodes in a new revolutionary
way ;)

In brief, is there a way to intervene in a task intensive loop, such that it
brings down the cpu to 50% use, yet still be 75% effective compared to when
we run all the loops uninterupted?

I sense that a stack based event list in addition to the existing global
eventqueue (pending messages) needs to be implemented for this... Is that a
valuable improvement? If you work with databases or graphics, long text
(+1MBs) or 1 of anything you know what I mean... 

cheers
Xavier
http://monsieurx.com/rev




___
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] Nerd TV on PBS

2005-09-27 Thread Alejandro Tejada
Hi all,

i have a good insight reading the
interviews from Nerd TV:

http://www.pbs.org/cringely/nerdtv/shows/

but i have a doubt about the photos,
all of them look too young!!! :-O

i believed that working with computer
was a stressing occupation, having to
deal with unexplicable bugs, odd hardware,
unwilling software and bright people...
so they all must had to look a lot older... :D



Visit my site:
http://www.geocities.com/capellan2000/



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.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: Export/Import Stacks as XML

2005-09-27 Thread Klaus Major

Hi David,


Thanks a lot!

All the Best
Dave


Quoting David Burgun [EMAIL PROTECTED]:


Hi All,
I seem to remember a while back seeing a stack that would export/ 
import other Stacks to/from XML but I can't seem to find it now.  
Can anyone point me to it?



It is on Sarah's site.
http://www.troz.net/Rev/tutorials.html


no sorry, that's just the very fine XML tutorial :-)

Here is what you're looking for:
http://www.inspiredlogic.com/downloads.html

- mcripper


cheers
bob


Regards

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

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


Re: ANN: Info-Matic, a too to manage information

2005-09-27 Thread Dan Shafer
Sounds intriguing, Roger, but I can't get it to download. Your other  
stacks download fine from RevOnline but this one produces no visible  
result.


Maybe a transient glitch or I moved too fast. But I thought you  
should know anyway.



On Sep 27, 2005, at 9:05 AM, Roger Guay wrote:


Hello all,

I would like to announce my humble offer of an information  
management tool I call Info-Matc.  Info-Matic is a tool that  
manages your collection of trivia, interesting facts, recipes,  
scripts and general information of almost any type.  This tool is  
easy to use with an index card (Info Card) and storage Basket  
metaphor.  Simply create Info Cards as you need them, and drag them  
to Basket categories of your choosing.


I am sharing this as a Rev stack for the time being, and it's  
available for free at the User Spaces of revOnline.  Look for Info- 
Matic under RogerG or General category.  Give it a try, be sure to  
read the Help screen, and let me know what you think.


Cheers, Roger
___
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: another yucky geometry question

2005-09-27 Thread Jim Hurley


Message: 3
Date: Mon, 26 Sep 2005 18:53:36 -0700
From: TJ Frame [EMAIL PROTECTED]
Subject: Re: another yucky geometry question
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1

Thanks so much Jim, but alas, as this screenshot shows neither axis will
ever be parallel since this is a 2D perspectiev drawing utility. This second
image of the link is a screenshot shows a typical VP setup that might exist
and all the variations of ellipses that might result...
 http://www.tjframe.com/EllipseExample.htm
 But as I alluded to earlier, Perhaps this would be beyond the scope of
something I could implement. I know that 3D do ellipses every day, all day
long, so I had assumed it would be a straightfoward task. But I guess they
use matrix calculations to generate the points of the object rotated and
stuff. Perhaps I would need to have a 3D underpinning for the ellipse stuff
to work..
 For now I'll put that feature on hold.
 Thanks again guys,
 - TJ


TJ,

Using the drawEllipse handler it is not hard to draw an ellipse of 
any dimension, at any angle, at any location. It is fairly  quick, 
about 8 or 9 millisec. But, as I said, there would be a fair bit of 
calculation required to GET the proper loc, dimensions, and angle. 
You would need to expand on the calculation I used in the stack 
ellipseInAbox to make the ellipse tangent to the radial lines. A 
bit of work, but doable.


Jim

___
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: data-design question

2005-09-27 Thread Trevor DeVore

On Sep 27, 2005, at 3:44 AM, Alex Tweedly wrote:

[NB - I'd use Trevor's libDatabase along with either 1, 2 or 3 -  
looks really nice, esp. for someone who isn't an SQL expert. And it  
does work with PostgreSQL, even thought there are a few places  
where it only mentions MySQL.]


There are a couple of areas that you may experience problems with  
PostgreSQL:


1) Quoting strings.  libDatabase automatically quotes strings for you  
when updating/adding records.  I haven't looked up what characters  
need to be escaped for PostgreSQL so right now PostgreSQL uses the  
MySQL escape routine.


2) Exporting from PostgreSQL to another DB.  I haven't looked at all  
of the data types form PostgreSQL so some of the field type mappings  
might be off.  This would only be an issue if you were developing in  
PostgreSQL and deploying to SQLite, Valentia, etc.


I think that is about it.  I'm happy to correct these things if  
anyone who uses PostgreSQL wants to provide the details or point me  
to the proper place in their docs.



Too many choices .
I've been meaning to write a real SQL app some day, so you've  
triggered me into trying it. I'm trying a combination of 2 and 5,  
partly to get a better idea of how portable SQL should be between  
PostgreSQL and SQLite.


I'd imagine you shouldn't have too many problems with SQL depending  
on how complex your queries get.  One problem I ran into with MySQL  
and SQLite was that if you try to access columns by name given this  
query:


SELECT t1.ID, t2.Title FROM table1 t1, table2 t2 WHERE t1.LinkID = t2.ID

The MySQL driver would return them as ID and Title (This is the  
behavior in Revolution as well as PHP).  With the altSQLite driver  
the columns are named t1.ID and t2.Title.  To get around that you  
have to do this:


SELECT t1.ID as ID, t2.Title as Title FROM table1 t1, table2 t2 WHERE  
t1.LinkID = t2.ID


When getting started, the thing to watch out for is how you handle  
fields for uniquely identifying records.  Each database vendor tends  
to have their own method for creating unique ids for records in  
tables.  If you rely on a vendor specific method then when you port  
you will be sad.  Best to right your own routine for getting unique  
ids for new records in tables.


libDatabase has a simple method built into it that you can use to get  
started.  It just uses one table that stores the names of all of the  
other tables along with the next id.  When you use  
libdb_addNextToTable then the library will handle getting the next  
available id.  The getting started doc explains this.


There are other issues of course, but that can be a big kink in your  
port.



--
Trevor DeVore
Blue Mango Multimedia
[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: Export/Import Stacks as XML

2005-09-27 Thread david bovill
Whats - the interest? Is there not something going on with standards  
based file formats for education or...??? or do I have crossed wires?


On 27 Sep 2005, at 18:20, Klaus Major wrote:


Hi David,



Thanks a lot!

All the Best
Dave



Quoting David Burgun [EMAIL PROTECTED]:



Hi All,
I seem to remember a while back seeing a stack that would export/ 
import other Stacks to/from XML but I can't seem to find it now.  
Can anyone point me to it?




It is on Sarah's site.
http://www.troz.net/Rev/tutorials.html



no sorry, that's just the very fine XML tutorial :-)

Here is what you're looking for:
http://www.inspiredlogic.com/downloads.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


[OT] [Attempted Humor Warning] Re: data-design question

2005-09-27 Thread Dan Shafer


On Sep 27, 2005, at 9:44 AM, Trevor DeVore wrote:


that can be a big kink in your port


Which could really clog up shipping, to say nothing of what it might  
do to the price of oil.





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


Neural network stacks?

2005-09-27 Thread Eric Engle
Hi,

I'm starting to learn about neural networks and hoping some stacks are out
there somewhere. Any leads are appreciated!

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


Neural Networks?

2005-09-27 Thread Eric Engle
I'm sorry for the double message but I know how important subject headers are.
I apologize in all events as a) I may have supplied a specific header in my
last message or b) I probably didn't.

Anyway, yeah, I'm looking for neural network stacks. Any leads are appreciated!



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.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: Neural network stacks?

2005-09-27 Thread Ruslan Zasukhin
On 9/27/05 8:26 PM, Eric Engle [EMAIL PROTECTED] wrote:

 Hi,
 
 I'm starting to learn about neural networks and hoping some stacks are out
 there somewhere. Any leads are appreciated!

Hi Eric,

I do not think there is sense write NN in the script lang.

I do believe C/C++ is the best choice for this.

One of the best NN-kind app I have see for MacOS is Knowledge Miner.
Although it is not open sources

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


ANN: Info-Matic, a too to manage information

2005-09-27 Thread Jim Hurley


Message: 20
Date: Tue, 27 Sep 2005 10:05:50 -0600
From: Roger Guay [EMAIL PROTECTED]
Subject: ANN:  Info-Matic, a too to manage information
To: use-revolution@lists.runrev.com,
[EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Hello all,

I would like to announce my humble offer of an information management 
tool I call Info-Matc.  Info-Matic is a tool that manages your 
collection of trivia, interesting facts, recipes, scripts and general 
information of almost any type.  This tool is easy to use with an 
index card (Info Card) and storage Basket metaphor.  Simply create 
Info Cards as you need them, and drag them to Basket categories of 
your choosing.


I am sharing this as a Rev stack for the time being, and it's 
available for free at the User Spaces of revOnline.  Look for Info-
Matic under RogerG or General category.  Give it a try, be sure to 
read the Help screen, and let me know what you think.


Cheers, Roger




Roger,

Nothing happens when I click on Show.

Jim
___
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: Neural network stacks?

2005-09-27 Thread MisterX
I concur. I've tried to do NN simple nets and the cost in time 
is prohibitive... Transcript is not fast enough.

There's lots of opensource c code around though. aifactory.com
plus links to start with. wiki pedia, sourceforge, etc... 

just search open source code neural networks. 

http://www.neural-networks-at-your-fingertips.com/

but any of those examples will make rev crawl...

maybe a good job for external examples...

if you do want a running stack example I have one...
it's the BPN example... however, I warn you, somewhere
in the transcription, the results become distinctively
different... The c version runs in half a second, rev 
does for minutes or hours...

Where's Sergey when we need him? He had a full suit of NN for HyperCard...

I got the stacks somewhere but no code, sorry.

cheers
Xavier

 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Ruslan Zasukhin
 Sent: Tuesday, September 27, 2005 7:31 PM
 To: use-revolution
 Subject: Re: Neural network stacks?
 
 On 9/27/05 8:26 PM, Eric Engle [EMAIL PROTECTED] wrote:
 
  Hi,
  
  I'm starting to learn about neural networks and hoping some 
 stacks are 
  out there somewhere. Any leads are appreciated!
 
 Hi Eric,
 
 I do not think there is sense write NN in the script lang.
 
 I do believe C/C++ is the best choice for this.
 
 One of the best NN-kind app I have see for MacOS is Knowledge Miner.
 Although it is not open sources
 
 --
 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

___
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


Finding the menu item that has been right-clicked on

2005-09-27 Thread Ivan Wong
Hello all,

Does anyone know if there is a way of identifying the 
menubar menu item that has been right-clicked on?

My on mousedown handler can trap the right-click, 
but I would like to know which item in the menu was
clicked.  

-- Script in button dropdown of group menubar1
on mousedown theButton
  if theButton = 3 then -- Right-click
-- How can I tell which item in btn dropdown was
  
-- right-clicked?
  end if
end mousedown


Would anyone know if this is possible?


thanks in advance,
Ivan Wong

Send instant messages to your online friends http://asia.messenger.yahoo.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: Export/Import Stacks as XML

2005-09-27 Thread Bill
I would like to convert XML and the windows infopath schema to SQL and
then access the SQL with a stack. There doesn't seem to be any program other
than MS Infopath that can work with the infopath schema. Does anyone know of
one (ideally Mac OSX so I don't have to run it in the emulater)?


On 9/27/05 1:52 PM, Richard Gaskin [EMAIL PROTECTED] wrote:

 david bovill wrote:
 Whats - the interest? Is there not something going on with standards
 based file formats for education or...??? or do I have crossed wires?
 
 I wrote an XML exporter/importer years ago.  Don't even know where it is
 today.
 
 It's hard to beat native stack files for efficient transport.
 
 For even great efficiency the built-in GZip compression is very handy.
 And for ASCII transfer running Base64encode on the compressed stack will
 inflate it only a bit, still much smaller than the original.
 
 XML is great for transferring data between systems that know little
 about each other.  But what system other than another Rev engine will be
 able to do much with Rev's object model and Transcript?
 
 --
   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
 
 

|||
   )_)  )_)  )_)
  )___))___))___)\
 )))_)\\
   _|||\\\__
---\   /- 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: ANN: InfoMatic, a Tool to Manage Information

2005-09-27 Thread Roger Guay
Thanks Dan.  It didn't like the fact that I named the stack Info- 
Matic . . . with a dash.  So I had to remove the dash, and the name  
is now InfoMatic.  I checked, and you can download it now.  Go to  
RogerG or General Category of User Spaces of revOnlineand, and look  
for InfoMatic.


Thanks again, Roger


On Sep 27, 2005, at 11:00 AM, [EMAIL PROTECTED]  
wrote:



Message: 4
Date: Tue, 27 Sep 2005 09:23:41 -0700
From: Dan Shafer [EMAIL PROTECTED]
Subject: Re: ANN:  Info-Matic, a too to manage information
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Sounds intriguing, Roger, but I can't get it to download. Your other
stacks download fine from RevOnline but this one produces no visible
result.

Maybe a transient glitch or I moved too fast. But I thought you
should know anyway.


On Sep 27, 2005, at 9:05 AM, Roger Guay wrote:



Hello all,

I would like to announce my humble offer of an information
management tool I call Info-Matc.  Info-Matic is a tool that
manages your collection of trivia, interesting facts, recipes,
scripts and general information of almost any type.  This tool is
easy to use with an index card (Info Card) and storage Basket
metaphor.  Simply create Info Cards as you need them, and drag them
to Basket categories of your choosing.

I am sharing this as a Rev stack for the time being, and it's
available for free at the User Spaces of revOnline.  Look for Info-
Matic under RogerG or General category.  Give it a try, be sure to
read the Help screen, and let me know what you think.

Cheers, Roger




___
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: Neural Networks?

2005-09-27 Thread Mark Smith

There's some hypercard stuff here:

http://www.phil.gu.se/kog/download.htm

maybe it can be imported to Rev.

Cheers,

Mark


On 27 Sep 2005, at 18:27, Eric Engle wrote:


I'm sorry for the double message but I know how important subject  
headers are.
I apologize in all events as a) I may have supplied a specific  
header in my

last message or b) I probably didn't.

Anyway, yeah, I'm looking for neural network stacks. Any leads are  
appreciated!




__
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.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: Neural Networks?

2005-09-27 Thread MisterX
could someone translate those for a pc user?
if they are not external NN based...

it would be great...

Although this now is a bit late, but there's tons of shell neural network
tools out there...
and they should be easier to script than externals...

cheers
Xavier 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Mark Smith
 Sent: Tuesday, September 27, 2005 8:21 PM
 To: How to use Revolution
 Subject: Re: Neural Networks?
 
 There's some hypercard stuff here:
 
 http://www.phil.gu.se/kog/download.htm
 
 maybe it can be imported to Rev.
 
 Cheers,
 
 Mark
 
 
 On 27 Sep 2005, at 18:27, Eric Engle wrote:
 
 
  I'm sorry for the double message but I know how important subject 
  headers are.
  I apologize in all events as a) I may have supplied a 
 specific header 
  in my last message or b) I probably didn't.
 
  Anyway, yeah, I'm looking for neural network stacks. Any leads are 
  appreciated!
 
 
 
  __
  Yahoo! Mail - PC Magazine Editors' Choice 2005 
 http://mail.yahoo.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

___
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: slooowwww text entry in fields

2005-09-27 Thread Marielle Lange

Hi Dan,

Same here. I reported I sometimes got the same problem But such  
slowness doesn't occur very often (I have experienced it 2-3 times  
since I use Revolution, that is a year or so). Slowness is usually  
highly correlated with (1) the number of days my computer has been on  
( I am one of those who doesn't switch of her computer overnight) and  
(2) the number of times I have run a program in which I made a stupid  
error which caused some perpetual looping, with ctl-. required to  
interrupt it. And yes, other programs get slow as well.


Marielle


For my part, I can't confirm the problem. I see it from time to  
time but when I do, I usually notice the problem in other apps  
besides Rev so I've always assumed it wasn't a Rev problem at all  
but rather a system-level problem.


I'm not sure I'm a wirehead in this context -- perhaps more of a  
brillo-head? -- but I know that very often threads go unanswered  
here principally because the problems they describe aren't  
something many others can confirm.


I've asked Apple and my local dealer tech support about this  
problem and I get blank stares, lack of confirmation, denial, and  
suggestions from the old days (restart your system).


Maybe that's all there is.


On Sep 23, 2005, at 3:08 PM, Timothy Miller wrote:



We had a little thread on this a week or two ago. Several users  
confirmed the problem. Some had fast machines, so I guess the  
speed of my machine is not the main problem. I think they were all  
Mac users. I never did figure out if this is a Macintosh-only issue.


None of the gurus on the list ever replied. Well... no one's  
obligated of course. It seems like a non-trivial issue, even if it  
is a bit on the minor side. I'm wondering why none of the true  
wireheads replied. Or maybe someone did and I missed it.


If it's a stupid question, or if we've been over and over it on  
the list and I missed it, no hard feelings. I'm still kinda  
wondrin about this issue, though.



Cheers,




 
---

Marielle Lange (PhD),  Psycholinguist

Alternative emails: [EMAIL PROTECTED], [EMAIL PROTECTED]
Homepage:  http://homepages.lexicall.org/mlange/
Lexicall: http://lexicall.org
Revolution-education: http://revolution.lexicall.org


___
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] Business Models in the online world

2005-09-27 Thread Alejandro Tejada
Hi all,

Long time ago, i was looking for info
about this topic and today, searching
again, i found this useful guide:

http://digitalenterprise.org/models/models.html

How many of these business models are viable
using Revolution/DreamCard?

Thanks in advance

al


Visit my site:
http://www.geocities.com/capellan2000/

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: ANN: InfoMatic, a Tool to Manage Information

2005-09-27 Thread Dan Shafer
It never ceases to amaze me how servers make these arbitrary  
decisions. I had an email address with a hyphen in it and several Web  
sites rejected it as an invalid address. Result: I didn't use their  
services.



On Sep 27, 2005, at 11:05 AM, Roger Guay wrote:

Thanks Dan.  It didn't like the fact that I named the stack Info- 
Matic . . . with a dash.  So I had to remove the dash, and the name  
is now InfoMatic.  I checked, and you can download it now.  Go to  
RogerG or General Category of User Spaces of revOnlineand, and look  
for InfoMatic.






~~
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: [OT] Business Models in the online world

2005-09-27 Thread Richard Gaskin

Alejandro Tejada wrote:

Hi all,

Long time ago, i was looking for info
about this topic and today, searching
again, i found this useful guide:

http://digitalenterprise.org/models/models.html

How many of these business models are viable
using Revolution/DreamCard?


Any that will turn a profit.  :)

But seriously, as I read that it seems those aren't dependent on 
specific technologies.  They seem to be related to the value proposition 
of the company more than any specific implementation.


--
 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: Neural network stacks?

2005-09-27 Thread Chipp Walters
I did start a small stack which used 'modified' genetic algorithms to 
refine 'designs' a while back. I was thinking NN was the next step in 
refining the process.


best,

Chipp

MisterX wrote:
I concur. I've tried to do NN simple nets and the cost in time 
is prohibitive... Transcript is not fast enough.


___
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: JPEG comments

2005-09-27 Thread Alex Tweedly

Ken Ray wrote:


On 9/27/05 10:13 AM, Chris Carroll-Davis [EMAIL PROTECTED] wrote:

 


does anyone know of a way to write jpeg comments to an existing
file?  I think these are similar to the EXIF data written to files by
digital cameras.  I am working on MAc OS X.  Preview can read and
write these keywords - but it isn't scriptable!
   



Alex Tweedly announced some time back that he had a libEXIF for working with
EXIF data... Alex, any update on this ?

 

No, not really. It works well for reading EXIF data, but I never did do 
the other (harder) part, i.e. writing EXIF data. (I also didn't do any 
further Manufacturer-specific Makernote info extraction).


I found that the pure Transcript code was rather slow (*) (and the app I 
had in mind needed to be able to process fairly large numbers of photos) 
- so I basically put that project on the shelf until there is some 
mechanism for accessing binary data more quickly - whether numbered 
(fixed index) arrays or something else. For my project, I used an 
external tool (the command line version of Exiv2 from 
http://home.arcor.de/ahuggel/exiv2/index.html - available for Mac OSX 
and Linux as well as Windows, and free).


The Transcript library is available from revonline under username 
alextweedly called libEXIF


(*) I think I could handle 3-10 photos per second with libEXIF, and 
50-100 per second with exiv2.


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

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 23/09/2005
___
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


[ANN] tm|align Plugin

2005-09-27 Thread Scott Rossi
Greetings Developers:

I'm happy to announce the availability of a small plugin for Revolution and
MetaCard called tm|align.  This layout tool provides object alignment
features that go a bit beyond the current tools in Rev and MC. tm|align
aligns objects like you would in virtually any drawing application, by using
the most extreme positioned or central most object as the target.  Using
animated and text-based cues, you can align objects in any direction,
distribute objects, contact objects, and even justify object edges without
repositioning them. Plus you can undo your last action.  And when you want
the palette out of your way, simply collapse it.

tm|align was built to work with the Revolution and MetaCard IDEs, on Windows
and MacOS, as well as with Constellation, the powerful stack editor
developed by Daniels  Mara, Inc.
(http://www.daniels-mara.com/products/constellation.htm).

tm|align is available for US$12 via PayPal (an account is not required).
Please visit http://www.tactilemedia.com for ordering information and
details.

Best 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: [OT] Business Models in the online world

2005-09-27 Thread simplsol

Al,
Good article, especially the comments about the broadcast model.
I believe the changes we've seen in commerce in the last decade are 
trivial compared to what is coming.
Rev. will be part of some of it, and will benefit from other parts of 
it.

Paul Looney

-Original Message-
From: Alejandro Tejada [EMAIL PROTECTED]
To: use-revolution@lists.runrev.com; 
[EMAIL PROTECTED]

Sent: Tue, 27 Sep 2005 11:40:16 -0700 (PDT)
Subject: [OT] Business Models in the online world

  Hi all,

Long time ago, i was looking for info
about this topic and today, searching
again, i found this useful guide:

http://digitalenterprise.org/models/models.html

How many of these business models are viable
using Revolution/DreamCard?

Thanks in advance

al


Visit my site:
http://www.geocities.com/capellan2000/

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.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: Tough revprocessing question

2005-09-27 Thread MisterX

I have a solution... Testing the easiest...

if you insert in your loops a casual 

 wait for 1 millisecond with messages

it will give rev breating time! 
so here's the breathing function in TAOO ;)

this wait with messages function is full of promess!

on breathe x
  if x is not a number or x  1 then
global gperformance
put gperformance into x
or
put 1 into x
  end if
  wait for x millisecond with messages
  -- log it?
end breathe

This allows to draw a great moire while revchat continues to work.

this is definitely a step forward in virtual threading...

now I got a performance option... cool! 

any other tips welcome!

cheers
Xavier
http://monsieurx.com

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of MisterX
 Sent: Tuesday, September 27, 2005 6:21 PM
 To: 'How to use Revolution'
 Subject: Tough revprocessing question
 
 Here's x's regular hard question of the day... ;)
 
 Rev is great for 95 percent of the apps, this works ok though 
 because you can divide information or make it painless in a 
 prepared way or a different gui approach, no problem. But 
 creating gradients, rendering images, treating a million of 
 anything is a severe issue when dealing with rev's processing 
 speed or throughput. I know, rev is not c...
 
 So in graphical applications rev can be a real bottleneck. If 
 you have to treat lots of historical data for a display it's 
 enormous time... Examples abound but im sure drawing 
 fractals, finding simple permutations, or factorials, etc, 
 the task soon becomes hours of wait for a calculation or an 
 image to draw. 
 
 This has two adverse effects: Rev is unavailable and your CPU 
 spikes to 100% blocking other applications from operating correctly...
 
 It's a fact that if we want to use rev in parallel while it 
 processes something, or lower the cpu we could add somekind 
 of wait in the loop... And this is where im asking anyone's 
 opinion on how to implement this...
 
 Here's some examples of ideas I'm thinking of...
 Loop 10^10 times
   calculate
   send idle to rev -- rev receives socket messages or user 
 clicks, etc...
 then continues
 end loop
 or
 loop 10^10 times
   if the number of lines in the pending messages  PMLimit then
 send calculate to rev in 12 ms
   end if
 end loop
 
 Problem with this is that things can get stuck, some waiting 
 to be executed and your loop waiting for the queue to move...
 
 or
 
 loop 10^10 times
   calculate
   wait 50 ms with messages
 end loop
 
 Is this possible?
 
 The same situation applies to applications like games, 
 simulations, graphic or processing-intensive applications. 
 If this runs, it blocks the rev session, possibly other 
 processes... Wouldn't it be nice to have some kind of 
 Rev-OS like runtime breathing bubble for the os or other 
 running stacks? It may be that osx doesn't act this way... 
 It's severly annoying in windows. 
 
 When I test MoireX application which draws graphical moires 
 and more with 500X500 paint X 4 points X 3 colors (in a 
 special function realm), it blocks everything including 
 videos running in other apps! It breaks the connection to 
 chatrev, rev looks like a frozen-hung application.
 
 The wise developper will say compile apps (but then I can't 
 enhance them on the run), run in other rev-session (but it's 
 easy to get confused - risky...). but what if you are 
 developping the application and the testing creates the same 
 blocking process in your workflow? Running 2 sessions of rev 
 is not exactly handy, may require another license, etc... The 
 point is to allow rev to multitask (not thread alas) and do 
 all this in one instance of rev running alone (one 100cpu 
 cycles sucking application at a time is enough ;) - also 
 create parallel tasking things is not the easiest way to get 
 projects done...
 
 There's solutions to this, I know... but please don’t change 
 the subject of giving rev some events back between loops or 
 reducing cpu load... The point is go give rev time to breath 
 between loop (or 5 loops) so it can work somewhat regularly 
 (50% of the cpu would be nice)... 
 
 Breaking down the loop into subhandlers doesn't really help 
 (they can't be
 threaded) and sendeables is maybe a problem if we send 
 each subhandler into the queue X 100. Using another 
 runtime of rev is not the issue - 200% cpu used! overheating! 
 your computer explodes in a new revolutionary way ;)
 
 In brief, is there a way to intervene in a task intensive 
 loop, such that it brings down the cpu to 50% use, yet still 
 be 75% effective compared to when we run all the loops uninterupted?
 
 I sense that a stack based event list in addition to the 
 existing global eventqueue (pending messages) needs to be 
 implemented for this... Is that a valuable improvement? If 
 you work with databases or graphics, long text
 (+1MBs) or 1 of anything you know what I mean... 
 
 cheers
 Xavier
 http://monsieurx.com/rev
 
 
 

gridSnap Function

2005-09-27 Thread Marielle Lange

Hi TJ,

Funny, I wrote something similar a week ago, to move a box to a given  
day in a calendar display. That looks pretty much equivalent to me.


on MoveDayHiliteBox pLoc
  if not within(field Calendar, pLoc) then exit MoveDayHiliteBox
  put 20 into tXGrid  --- This is the width of a grid cell
  put 21 into tYGrid --- This is the height of a grid cell
  --- This is to implement a small grid system, such that points  
aref forced on a grid

  put item 1 of pLoc into tX
  put item 2 of pLoc into tY
  put (trunc((tX - (tXGrid/2)) / tXGrid) * tXGrid) into tX
  put (trunc((tY - (tYGrid/2)) / tYGrid) * tYGrid) into tY
  set the topleft of graphic Hilite to (tX,tY)
  set the visible of graphic Hilite to true
end MoveDayHiliteBox

That's true... I have  date handling functions in that stack I should  
post on the web one of these days... As I think about it, it is now  
on the web:
http://revolution.lexicall.org/wiki/tiki-index.php? 
page=RevolutionSnippetDates

(you can use the backlinks drop down menu to get to the snippets page)

Marielle


Hey everyone,
  Thought I'd contribute a simple function Im using in my current  
project.

Someone may find it useful.
  Basically it snaps the mouseloc passed to it based on a given  
grid size
similar to countless programs where you have the ability to snap  
objects to
a grid. You can have non-square grids by using diffrent gridX and  
gridY

values
 The way I use the function is that when I move objects by user  
interaction
I just pass the desired location through this function first. for  
example -

Set the loc of myObject to checksnap(the mouseloc,10,10)
 I also refer to a previously declared global variable gAlignGrid,  
that
stores a boolean value of whether or not the grid is turned on. You  
can just

eliminate the first line of the function if you dont need it.
 function checkSnap mloc, gridX, gridY
 if not gAlignGrid then return mloc
 put trunc(item 1 of mloc/gridX) into xfactor
 put trunc(item 2 of mloc/gridY) into yfactor
 if item 1 of mloc = xfactor * gridX + gridX/2 then add 1 to xfactor
 if item 2 of mloc = yfactor * gridY + gridY/2 then add 1 to yfactor
 return round(xfactor * gridX )  ,  round(yfactor * gridY)
end checkSnap
 Feel free to post any enhancements or more efficient methods of  
doing this

:)
 - TJ



Marielle Lange (PhD),  Psycholinguist

Alternative emails: [EMAIL PROTECTED], [EMAIL PROTECTED]
Homepage:  http://homepages.lexicall.org/mlange/
Lexicall: http://lexicall.org
Revolution-education: http://revolution.lexicall.org

___
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: Clipboard madness

2005-09-27 Thread Marielle Lange



MisterX wrote:


put the clipboarddata[text] -- contains the right information
while put clipboarddata[html] -- is definitely wrong and should  
not be

trusted...



In what way is it wrong?



MisterX-

Don't tell me what I did or didn't do...

There's a sample stack in my RevOnline folder (mwieder) for you
(XCopyTest) with copying and pasting data in all the various
combinations. They *all* work just fine from here.


I had problems too.  The same situation as Xavier described. Copying  
html text to clipboard within revolution, pasting it within another  
application (Excel or Word). I ended up using clipboarddata[rtf]  
when I needed to copy formatted text.


No intention to revive the hum agressive dialog on this. My  
understanding is that Mark never mentioned successful testing of this  
situation... the situation is copying some formatted text in  
revolution, using:


set the clipboardData[html] to somehtml

then pasting it into another application. The doc doesn't clearly  
mention whether this can be expected to work (after all, the html in  
rev is pseudohtml, not complete html).


Marielle



___
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: another yucky geometry question

2005-09-27 Thread TJ Frame
Wow.. ok thanks.. I'll delve into the whole thing again and see what I can
come up with. Thanks for taking your time to help out!
 I wish I could give back more to the community myself, but everyone here
knows as much or more than I do!
 - TJ

 On 9/27/05, Jim Hurley [EMAIL PROTECTED] wrote:

 
 Message: 3
 Date: Mon, 26 Sep 2005 18:53:36 -0700
 From: TJ Frame [EMAIL PROTECTED]
 Subject: Re: another yucky geometry question
 To: How to use Revolution use-revolution@lists.runrev.com
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1
 
 Thanks so much Jim, but alas, as this screenshot shows neither axis will
 ever be parallel since this is a 2D perspectiev drawing utility. This
 second
 image of the link is a screenshot shows a typical VP setup that might
 exist
 and all the variations of ellipses that might result...
  http://www.tjframe.com/EllipseExample.htm
  But as I alluded to earlier, Perhaps this would be beyond the scope of
 something I could implement. I know that 3D do ellipses every day, all
 day
 long, so I had assumed it would be a straightfoward task. But I guess
 they
 use matrix calculations to generate the points of the object rotated and
 stuff. Perhaps I would need to have a 3D underpinning for the ellipse
 stuff
 to work..
  For now I'll put that feature on hold.
  Thanks again guys,
  - TJ

 TJ,

 Using the drawEllipse handler it is not hard to draw an ellipse of
 any dimension, at any angle, at any location. It is fairly quick,
 about 8 or 9 millisec. But, as I said, there would be a fair bit of
 calculation required to GET the proper loc, dimensions, and angle.
 You would need to expand on the calculation I used in the stack
 ellipseInAbox to make the ellipse tangent to the radial lines. A
 bit of work, but doable.

 Jim

 ___
 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: Export/Import Stacks as XML

2005-09-27 Thread Marielle Lange

Hi Dave,

This may be:
http://revolution.lexicall.org/listing.php
Easy script interfacing

or:
http://revolution.lexicall.org/stacks_education.php
(tools, plugins; added any time - HTML exporter)

If you wait a week or so, I am now working on a XUL importer/exporter.
For more on xul, search for XUL standards in the page at:
http://projects.lexicall.org/taskflow/

Best,
marielle


Hi All,

I seem to remember a while back seeing a stack that would export/ 
import other Stacks to/from XML but I can't seem to find it now.  
Can anyone point me to it?


Thanks a lot
Dave



 


Marielle Lange (PhD),  Psycholinguist

Alternative emails: [EMAIL PROTECTED], [EMAIL PROTECTED]
Homepage:  http://homepages.lexicall.org/mlange/
Lexicall: http://lexicall.org
Revolution-education: http://revolution.lexicall.org

___
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: data-design question

2005-09-27 Thread Marielle Lange

Hi Charles,

Thanks for the SQLite pointer, in any case. But $149 for the plugin  
is not what I would call inexpensive.


You can use the concepts of relational databases without using mySQL.  
That is you use some textfields to be the equivalent of a mySQL  
database.


Assume that the basic record (in the database sense) is Album -- so  
the basic design is one card per Album. Each Album includes a list  
of Tunes (besides Artist/Group and Label/Date/EtcData). Each Tune  
is associated with one or more Writers, and also with a list of  
Players, each of whom is associated with an Instrument. So we've  
got at least four fundamental types of data lists -- player,  
instrument, tune-title, writer -- and some items that combine  
fundamental items in many-to-one relation.


The rule for relational db is that any information that can occur  
more than once within a column should be encoded by an ID, with a  
second database being created that holds information about (space  
consuming) details for this ID. At least one column should have a  
unique ID (usually the first column in the db)


This should give something like this (draft, not guaranteed to be  
exact).


DB 1: Album composition
TuneIDAlbumIDTuneDetails
(as Album ID is used, it is ok if a same tune can occur in two  
different albums)

--
Tune1Album1DetailsT1 (over multiple columns)
Tune2Album1DetailsT2
Tune3Album2DetailsT3

DB 2: Album Information
AlbumIDGroupIDLabelDate
--
Album1Group1LabelDateEtc

DB 3: Groups ID
GroupIDMembersIDwebsite
--
Group1   Person1URL1

DB4: Persons details
(this is assuming a same person cannot be player and writer...  
otherwise Role needs to be replaced with RoleID and a new db created  
to hold details about roles)

PersonIDRole FirstNameLastName Details (dob, url, etc.)
--
Person1PlayerJohnDoexxx

DB5  - Tune's writer
TuneID  WriterID
--
Tune1Person2
Tune2Person3
Tune2Person4

DB6  - Tune's player
TuneID   PlayerID
--
Tune1Person1
Tune2Person14
Tune2Person36

Any suggestions about the best approach to the internals of this?  
I'm not clear whether, for example, custom properties are up to the  
demands of what's essentially a relational database . . .


Text fields are probably easier to manipulate than custom properties  
(at least during the design stage, when  you want to debug your data  
handling routines). You can very rapidly sort a text field on a given  
column, which means you have easily at hand the list of all writers  
of a given tune, ore all the tunes written by a given writer.


You can have a look at tree_view (http://revolution.lexicall.org/ 
stacks_education.php) for a (simplified) example of handling a  
relational database structure with textfields. I updated it today to  
fix some minor bugs. You have there sorting functions and functions  
to find the corresponding entries in the related databases.


People here have convinced me not to write a whole relational  
database manager from scratch (that didn't take much).


If you don't have that many records (less than 1000 tunes) and you  
don't attempt to create a completely generic solution (i.e. an  
application that can manage any set of interelated databases), you  
should be able to handle this with textfields and this shouldn't take  
more than a week to program (I mean for a version that works for you;  
not one of professional standards).


Marielle

___
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: Export/Import Stacks as XML

2005-09-27 Thread Marielle Lange
Whats - the interest? Is there not something going on with  
standards based file formats for education or...??? or do I have  
crossed wires?


David, what do you mean by something going on with standards based  
file formats for education?


 
-

Marielle Lange (PhD),  Psycholinguist

Alternative emails: [EMAIL PROTECTED], [EMAIL PROTECTED]
Homepage:  http://homepages.lexicall.org/mlange/
Lexicall: http://lexicall.org
Revolution-education: http://revolution.lexicall.org

___
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: another yucky geometry question

2005-09-27 Thread TJ Frame
Jim.. wow that is one amazingly useful function for my needs.. just played
around with it by hooking it up to mulitple sliders and its going to be
super useful for my project!
 PS: I dont know what type of system you are using, but on my computer the
function takes less that 1 millisecond even with the step 4 part removed. I
get nothing but 0 milliseconds when I run the function. I'm running
a 1.7ghz p4 with 2 1/2 gigs of Ram..
  - TJ

 On 9/27/05, TJ Frame [EMAIL PROTECTED] wrote:

 Wow.. ok thanks.. I'll delve into the whole thing again and see what I can
 come up with. Thanks for taking your time to help out!
  I wish I could give back more to the community myself, but everyone here
 knows as much or more than I do!
  - TJ

  On 9/27/05, Jim Hurley [EMAIL PROTECTED] wrote:
 
  
  Message: 3
  Date: Mon, 26 Sep 2005 18:53:36 -0700
  From: TJ Frame  [EMAIL PROTECTED]
  Subject: Re: another yucky geometry question
  To: How to use Revolution use-revolution@lists.runrev.com
  Message-ID:  [EMAIL PROTECTED]
  Content-Type: text/plain; charset=ISO-8859-1
  
  Thanks so much Jim, but alas, as this screenshot shows neither axis
  will
  ever be parallel since this is a 2D perspectiev drawing utility. This
  second
  image of the link is a screenshot shows a typical VP setup that might
  exist
  and all the variations of ellipses that might result...
   http://www.tjframe.com/EllipseExample.htm
   But as I alluded to earlier, Perhaps this would be beyond the scope of
  something I could implement. I know that 3D do ellipses every day, all
  day
  long, so I had assumed it would be a straightfoward task. But I guess
  they
  use matrix calculations to generate the points of the object rotated
  and
  stuff. Perhaps I would need to have a 3D underpinning for the ellipse
  stuff
  to work..
   For now I'll put that feature on hold.
   Thanks again guys,
   - TJ
 
  TJ,
 
  Using the drawEllipse handler it is not hard to draw an ellipse of
  any dimension, at any angle, at any location. It is fairly quick,
  about 8 or 9 millisec. But, as I said, there would be a fair bit of
  calculation required to GET the proper loc, dimensions, and angle.
  You would need to expand on the calculation I used in the stack
  ellipseInAbox to make the ellipse tangent to the radial lines. A
  bit of work, but doable.
 
  Jim
 
  ___
  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: Neural network stacks?

2005-09-27 Thread Marielle Lange
I'm starting to learn about neural networks and hoping some stacks  
are out

there somewhere. Any leads are appreciated!


No stack... this is too specialized a topic.

http://revolution.lexicall.org/wiki/tiki-index.php? 
page=SoftwareModelisation


If you are complete beginner, best way to learn is to download tLearn.
http://crl.ucsd.edu/innate/tlearn.html

It's quite intuitive to use. You define a network with a config file  
like this:

NODES:
nodes = 161
inputs = 105
outputs = 61
output nodes are 101-161
CONNECTIONS:
groups = 0
1-100 from i1-i105
101-161from1-100
1-161 from 0
SPECIAL:
selected = 1-100
weight_limit = 0.2

There is an associated book: Plunkett, K.,  Elman, J. L. (1997).  
Exercises in rethinking innateness. Cambridge, MA: MIT Press. which  
takes you step by step, from complete beginner to intermediate. It is  
found in most of the academic bookstores and hum, if you use  
google you can find it for free on the web:

http://crl.ucsd.edu/~elman/Courses/cog202/tlearn.html
http://cspeech.ucd.ie/~connectionism/
http://www.cogsci.ucsd.edu/~rik/courses/readings/plunkett97-RIEg/


If are serious about understanding the contribution of neural  
networks, the two bibles are (and remain):


McClelland, J. L., Rumelhart, D. E.,  Group, t. P. R. (1986).  
Parallel Distributed Processing. Volume 2. Cambridge, MA: MIT Press..


Rumelhart, D. E., McClelland, J. L., and the PDP Research Group.  
(1986). Parallel Distributed Processing: Explorations in the  
microstructure of cognition: Volume 1. Foundations. Cambridge, MA:  
MIT Press..


There was an accompanying exercise book:
McClelland, J. L., Rumelhart, D. E.,  Hinton, G. E. (1986). The  
appeal of parallel distributed processing. In D. E. Rumelhart  J. L.  
McClelland (Eds.), Parallel distributed processing: Explorations in  
the microstructure of cognition. Cambridge, MA: MIT Press..


Which I strongly recommend.

The book advertised at:
http://www.cnbc.cmu.edu/Resources/PDP++//PDP++.html
Is also excellent, but this is for a quite advanced public. The  
software presented there is for a *very* advanced public (you should  
understand the basics of neural networks before using it).


If you need something more specific, contact me privately (I have  
been teaching connectionism in the past, from a cognitive psychology  
point of view... I even have taken Jay McClelland for a tour of  
Brussels).  I have a few lecture slides and handouts with exercises  
and solutions in French and English as well.


Ah yes, Why do you want to learn about neural networks. They were hot  
in the 80s, but nowadays most researchers recognize that some  
structure facilitates the learning.


Marielle
 
---

Marielle Lange (PhD),  Psycholinguist

Alternative emails: [EMAIL PROTECTED], [EMAIL PROTECTED]
Homepage:  http://homepages.lexicall.org/mlange/
Lexicall: http://lexicall.org
Revolution-education: http://revolution.lexicall.org

___
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: Tough revprocessing question

2005-09-27 Thread Alex Tweedly

MisterX wrote:


I have a solution... Testing the easiest...

if you insert in your loops a casual 


wait for 1 millisecond with messages

it will give rev breating time! 
 

You might want to review the thread from this list back around 20th June 
this year, under the subject line



Re: Ann: Simple Spirograph-like toy program.


Worth reading, but the summary is that Geoff Canyon suggested
  wait 0 msec with messages

(you don't even need to wait a whole 1 !!)



any other tips welcome!

 

Glad you found this - I was part-way through mentally composing quite a 
long reply, I just hadn't got to a keyboard yet - so this saves me some 
typing.


I'm still concerned about the fact that you said moire would interfere 
with other apps.




This has two adverse effects: Rev is unavailable and your CPU 
spikes to 100% blocking other applications from operating correctly...


   


and

When I test MoireX application which draws graphical moires 
and more with 500X500 paint X 4 points X 3 colors (in a 
special function realm), it blocks everything including 
videos running in other apps! It breaks the connection to 
chatrev, rev looks like a frozen-hung application.
   

It should be up to the OS to limit the impact any one app can have on 
any other one by grabbing all the CPU - and as far as I know even Win 
does this OK, except for the problem of filling memory, and hence 
requiring large changes in page set to switch between apps. Is it 
possible that you saw those problems where the Rev stack was memory 
intensive as well as CPU intensive ?


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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 23/09/2005

___
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: data-design question

2005-09-27 Thread Charles Hartman

Marielle,

That's very helpful -- thanks. This thread has gotten me looking at  
MySQL, and I think I'll keep pursuing that, though I believe you that  
I don't absolutely need it for this project. (And who knows, I may  
manage to populate the thing with more than 1000 tunes . . . in  
several years.)


But in any case, the conceptual overview you give is helpful, even as  
a way to think about how MySQL would do it, and how tables in a MySQL  
database should be structured.


Charles


On Sep 27, 2005, at 6:33 PM, Marielle Lange wrote:


Hi Charles,


Thanks for the SQLite pointer, in any case. But $149 for the  
plugin is not what I would call inexpensive.




You can use the concepts of relational databases without using  
mySQL. That is you use some textfields to be the equivalent of a  
mySQL database.



Assume that the basic record (in the database sense) is Album --  
so the basic design is one card per Album. Each Album includes a  
list of Tunes (besides Artist/Group and Label/Date/EtcData). Each  
Tune is associated with one or more Writers, and also with a list  
of Players, each of whom is associated with an Instrument. So  
we've got at least four fundamental types of data lists -- player,  
instrument, tune-title, writer -- and some items that combine  
fundamental items in many-to-one relation.




The rule for relational db is that any information that can occur  
more than once within a column should be encoded by an ID, with a  
second database being created that holds information about (space  
consuming) details for this ID. At least one column should have a  
unique ID (usually the first column in the db)


This should give something like this (draft, not guaranteed to be  
exact).


DB 1: Album composition
TuneIDAlbumIDTuneDetails
(as Album ID is used, it is ok if a same tune can occur in two  
different albums)

--
Tune1Album1DetailsT1 (over multiple columns)
Tune2Album1DetailsT2
Tune3Album2DetailsT3

DB 2: Album Information
AlbumIDGroupIDLabelDate
--
Album1Group1LabelDateEtc

DB 3: Groups ID
GroupIDMembersIDwebsite
--
Group1   Person1URL1

DB4: Persons details
(this is assuming a same person cannot be player and writer...  
otherwise Role needs to be replaced with RoleID and a new db  
created to hold details about roles)

PersonIDRole FirstNameLastName Details (dob, url, etc.)
--
Person1PlayerJohnDoexxx

DB5  - Tune's writer
TuneID  WriterID
--
Tune1Person2
Tune2Person3
Tune2Person4

DB6  - Tune's player
TuneID   PlayerID
--
Tune1Person1
Tune2Person14
Tune2Person36


Any suggestions about the best approach to the internals of this?  
I'm not clear whether, for example, custom properties are up to  
the demands of what's essentially a relational database . . .




Text fields are probably easier to manipulate than custom  
properties (at least during the design stage, when  you want to  
debug your data handling routines). You can very rapidly sort a  
text field on a given column, which means you have easily at hand  
the list of all writers of a given tune, ore all the tunes written  
by a given writer.


You can have a look at tree_view (http://revolution.lexicall.org/ 
stacks_education.php) for a (simplified) example of handling a  
relational database structure with textfields. I updated it today  
to fix some minor bugs. You have there sorting functions and  
functions to find the corresponding entries in the related databases.



People here have convinced me not to write a whole relational  
database manager from scratch (that didn't take much).




If you don't have that many records (less than 1000 tunes) and you  
don't attempt to create a completely generic solution (i.e. an  
application that can manage any set of interelated databases), you  
should be able to handle this with textfields and this shouldn't  
take more than a week to program (I mean for a version that works  
for you; not one of professional standards).


Marielle

___
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


Does resizing an image change number of bytes?

2005-09-27 Thread Stgoldberg
Hope someone can help with this question. If I import an image, say 1 meg,   
into Revolution using Import as Control and then resize it to make it 
smaller, does it still take up 1 meg, or does it take up less memory?   Thanks.
Steve Goldberg
___
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: Does resizing an image change number of bytes?

2005-09-27 Thread Phil Davis

Hi Steve,

Image resizing alone won't change total stack size. However, once you've 
resized your image to exactly what you want, you can make a button to 
remove the fat, like this:



on mouseUp
  -- first, prevent the image from expanding when reset
  set the lockLoc of img myImage to true

  -- reset the image's data
  put the imageData of img myImage into tData
  set the imageData of img myImage to tData
end mouseUp


Then save your stack and take a look at your stack size - it'll be smaller.

There are probably other ways to do it, but this is one way.

Phil Davis



[EMAIL PROTECTED] wrote:
Hope someone can help with this question. If I import an image, say 1 meg,   
into Revolution using Import as Control and then resize it to make it 
smaller, does it still take up 1 meg, or does it take up less memory?   Thanks.

Steve Goldberg

___
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


Round thingies where you put files

2005-09-27 Thread Mark Wieder
All-

Ever wonder about the difference between a disc and a disk?
Someone with an overactive imagination and too much time on their
hands at Apple explains it all.

http://docs.info.apple.com/article.html?artnum=302152

It's available in Japanese, too, and makes just as much sense to me
that way.

http://docs.info.apple.com/article.html?artnum=302152-ja

-- 
-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: Does resizing an image change number of bytes?

2005-09-27 Thread Chipp Walters

Steve,

Here's a handy function to 'flatten' a resized imgage:

on mouseUp
  put the id of img 1 into tImgID
  flattenImage tImgID
end mouseUp

on flattenImage pImgID
  get the rect of img ID pImgID
  set the rect of img ID pImgID to 0,0,10,10
  set the resizeQuality of img ID pImgID to best
  set the rect of img ID pImgID to it
  put the alphadata of img ID pImgID into tAD
  put the imagedata of img ID pImgID into tID
  set the alphadata of img ID pImgID to tAD
  set the imagedata of img ID pImgID to tID
end flattenImage

Setting the resizeQuality to 'best' uses bilinear interpolation for the 
resize, much better than the standard nearest neighbor interpolation.


Once you set it to best, you need to resize it for it to take effect, 
thus the changing of the rect of the img.


Also, this will work with transparent png's as well.

best,

Chipp

[EMAIL PROTECTED] wrote:
Hope someone can help with this question. If I import an image, say 1 meg,   
into Revolution using Import as Control and then resize it to make it 
smaller, does it still take up 1 meg, or does it take up less memory?   Thanks.

Steve Goldberg
___
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: Does resizing an image change number of bytes?

2005-09-27 Thread Chipp Walters
OOPS, it's not a function, it's a handler...and not sure what a 'imgage' 
really is ;-)


Chipp Walters wrote:


Here's a handy function to 'flatten' a resized imgage:


___
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


Neural networking student: step throught the code

2005-09-27 Thread Erik Hansen

took a course in Neural networking.
the prof said the computer code was too dense
and referred me to verbal passages that made no
sense
at all. in desperation i tried stepping  through
the code
and it all came clear. the equations and graphics
were intuitive when seen one line of code at a
time . 

Erik Hansen


[EMAIL PROTECTED]http://www.erikhansen.org



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.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: Neural networking student: step throught the code

2005-09-27 Thread Richard Gaskin

Erik Hansen wrote:

took a course in Neural networking.
the prof said the computer code was too dense
and referred me to verbal passages that made no
sense
at all. in desperation i tried stepping  through
the code
and it all came clear. the equations and graphics
were intuitive when seen one line of code at a
time . 


Many years ago I had a subscription to AI Magazine, and they ran a good 
many columns by a very talented writer on neural networks named Maureen 
Caudill.   She never lacked depth to her writings, but somehow managed 
to explain things in ways that even a relative neophyte like me could 
understand.


I've not seen much in the way of web-published work from her, but I'm 
sure you could find some of her books through your local library.


In a quick Google for her name I stumbled across this item which may be 
worth a look:



http://web.informatik.uni-bonn.de/II/ag-klein/people/zach/benchmarks/NeuralNetTest.java

Excerpt:

* Class NeuralNetTest
*
* Aka Back Propagationn Neural Net. This code is a modified
* version of the code that was submitted to BYTE Magazine by
* Maureen Caudill. It accompanied her article Expert Networks,
* BYTE, Oct. '91, though that article doesn't discuss this type
* of neural net algorithm in particular. For that, see Back
* Propagation, BYTE, Oct. '97 by William P. Jones and Josiah
* Hoskins.
*
* The author's original heading/comment was as follows:
*
*  Backpropagation Network
*  Written by Maureen Caudill
*  in Think C 4.0 on a Macintosh
*
*  (c) Maureen Caudill 1988-1991
*  This network will accept 5x7 input patterns and produce 8 bit
*  output patterns. The source code may be copied or modified
*  without restriction, but no fee may be charged for its use.


--
 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: Neural networking student: step throught the code

2005-09-27 Thread Erik Hansen
More Input! More Input!

--- Richard Gaskin [EMAIL PROTECTED]
wrote:

 Erik Hansen wrote:
  took a course in Neural networking.
  the prof said the computer code was too
 dense
  and referred me to verbal passages that made
 no
  sense
  at all. in desperation i tried stepping 
 through
  the code
  and it all came clear. the equations and
 graphics
  were intuitive when seen one line of code at
 a
  time .
 
 Many years ago I had a subscription to AI
 Magazine, and they ran a good
 many columns by a very talented writer on
 neural networks named Maureen
 Caudill.   She never lacked depth to her
 writings, but somehow managed
 to explain things in ways that even a relative
 neophyte like me could
 understand.
 
 I've not seen much in the way of web-published
 work from her, but I'm
 sure you could find some of her books through
 your local library.
 
 In a quick Google for her name I stumbled
 across this item which may be
 worth a look:
 
 

http://web.informatik.uni-bonn.de/II/ag-klein/people/zach/benchmarks/NeuralNetTest.java
 
 Excerpt:
 
 * Class NeuralNetTest
 *
 * Aka Back Propagationn Neural Net. This code
 is a modified
 * version of the code that was submitted to
 BYTE Magazine by
 * Maureen Caudill. It accompanied her article
 Expert Networks,
 * BYTE, Oct. '91, though that article doesn't
 discuss this type
 * of neural net algorithm in particular. For
 that, see Back
 * Propagation, BYTE, Oct. '97 by William P.
 Jones and Josiah
 * Hoskins.
 *
 * The author's original heading/comment was as
 follows:
 *
 *  Backpropagation Network
 *  Written by Maureen Caudill
 *  in Think C 4.0 on a Macintosh
 *
 *  (c) Maureen Caudill 1988-1991
 *  This network will accept 5x7 input patterns
 and produce 8 bit
 *  output patterns. The source code may be
 copied or modified
 *  without restriction, but no fee may be
 charged for its use.
 
 
 --
   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
 
 

[EMAIL PROTECTED]http://www.erikhansen.org



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.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