Re: [Tutor] Classes and Databases

2008-11-16 Thread Alan Gauld
"Jojo Mwebaze" <[EMAIL PROTECTED]> wrote Thanks Allan... we have used CVS for the base system.. but for users provided functions, we think for having them persistent in the database.. Thats what I don't understand. I can't think of a single good reason to do that. I can see the point of putt

Re: [Tutor] Classes and Databases

2008-11-15 Thread Rich Lovely
Jojo, am reading your problem correctly? If you have (for example) x=2 and y=4, you want the database to return functions like x+2, 2x and 3x-2? (I know this is probably much simpler than the actual functions you'll be using). And you the want to use those functions in your code? @list: pi

Re: [Tutor] Classes and Databases

2008-11-14 Thread Jojo Mwebaze
Sorry Alan, 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? 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 f

Re: [Tutor] Classes and Databases

2008-11-13 Thread ALAN GAULD
> Thanks Allan... we have used CVS for the base system.. but for users provided > functions, > we think for having them persistent in the database.. I'm puzzled. CVS provides much better facilities for handling code, especially with multiple versions (visibility of diffs, who changed what and w

Re: [Tutor] Classes and Databases

2008-11-13 Thread Jojo Mwebaze
Thanks Allan... we have used CVS for the base system.. but for users provided functions, we think for having them persistent in the database.. Cheers Johnson On Thu, Nov 13, 2008 at 7:18 PM, Alan Gauld <[EMAIL PROTECTED]>wrote: > > "Jojo Mwebaze" <[EMAIL PROTECTED]> wrote > > Because we have

Re: [Tutor] Classes and Databases

2008-11-13 Thread Alan Gauld
"Jojo Mwebaze" <[EMAIL PROTECTED]> wrote Because we have very many such cases, we can not incorporate such adhoc changes in the system.. we are thinking of storing such classes in the database and have classes run from the database. if anyone else feels they need to use someone's algorithm

[Tutor] Classes and Databases

2008-11-13 Thread Jojo Mwebaze
Hello There, I would like store python classes in a database and then execute these classes from the database? Scientists do always want apply their own algorithms at the same time we want to keep this information. (knowing which class is responsible for which data) Because we have very many such