Sorry Alan,<br><br>What u described below is exactly what i want to do.. if given x, y as two datatums and such that f(x) --> y, given y can we determine f or x?<br><br>Assuming the x, y and f are stored in the database, then we can be able to write queries to search/extract for the f's that are responsible for the 'y' or use links, database catalogs etc<br>
<br>Thanks for the help.<br><br>Johnson<br><br><br><br><br><div class="gmail_quote">On Fri, Nov 14, 2008 at 2:21 AM, ALAN GAULD <span dir="ltr"><<a href="mailto:alan.gauld@btinternet.com">alan.gauld@btinternet.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: 'Courier New',courier,monaco,monospace,sans-serif; font-size: 12pt;">
<div class="Ih2E3d"><div>> <span style="font-family: 'times new roman';">Thanks Allan... we have used CVS for the base system.. but for users provided functions, </span></div></div><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 12pt;">
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div class="Ih2E3d">> we think for having them persistent in the database..<div><br></div></div><div>I'm puzzled. CVS provides much better facilities for handling code, especially with multiple</div>
<div>versions (visibility of diffs, who changed what and when etc) that I can't think of a single </div><div>good reason to put it in a database. I can see the point of using a database as an indexing </div><div>system for searching, filtering etc but storing
code in a database, extracting it and then trying </div><div>to execute it is just so much more difficult than fetching a version file and importing </div><div>or running it directly. Plus you need to write a basic version control system on top of </div>
<div>the database anyway.</div><div><br></div><div>I really think I must be missing something about your requirements?</div><div>
<div> </div><div>Alan G<div class="Ih2E3d"><br><br><div class="gmail_quote">On Thu, Nov 13, 2008 at 7:18 PM, Alan Gauld <span dir="ltr"><<a rel="nofollow" href="mailto:alan.gauld@btinternet.com" target="_blank">alan.gauld@btinternet.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
"Jojo Mwebaze" <<a rel="nofollow" href="mailto:jojo.mwebaze@gmail.com" target="_blank">jojo.mwebaze@gmail.com</a>> wrote<div><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Because we have very many such cases, we can not incorporate such adhoc<br>
changes in the system.. we are thinking of storing such classes in the<br>
database and have classes run from the database. if anyone else feels they<br>
need to use someone's algorithm, they can run it/or extract it from the<br>
database and run on it on their data.<br>
</blockquote>
<br></div>
Sorry if I'm missing the point but this sounds like a traditional version<br>
control system like CVS or SVN would do the job using the normal<br>
python files.<br>
<br>
Or is that too simple?<br><font color="#888888">
<br>
-- <br>
Alan Gauld<br>
Author of the Learn to Program web site<br>
<a rel="nofollow" href="http://www.freenetpages.co.uk/hp/alan.gauld" target="_blank">http://www.freenetpages.co.uk/hp/alan.gauld</a> <br>
<br>
_______________________________________________<br>
Tutor maillist - <a rel="nofollow" href="mailto:Tutor@python.org" target="_blank">Tutor@python.org</a><br>
<a rel="nofollow" href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
</font></blockquote></div><br></div></div></div>
</div></div><div></div></div></div></blockquote></div><br>