Re: [elephant-devel] Learning about Elephant

2009-01-27 Thread Ian Eslick
That would be correct if you added (setf (friends-of person3) person2) On Jan 27, 2009, at 5:06 PM, John wrote: > Thanks for the clear example. However, maybe the idioms are > confusing me, but many-to-many tells me that I should be able to do > something like: > > (setf (friends-of person1)

Re: [elephant-devel] elephant-1.0 on Lispworks+win32; bdb; postmodern

2009-01-27 Thread Ian Eslick
Frank, Thank you! This is great feedback. I was seeing a deserialization error recently as well and believed I had fixed it. I made some optimizations to the serializer implementation (src/memutil) that may cause problems for Lispworks but were fixed for others like SBCL, Clozure, etc. D

Re: [elephant-devel] Learning about Elephant

2009-01-27 Thread Ian Eslick
> Hi John, Your mileage may vary, but I'm really not concerned about users causing significant performance degradation by doing lots of null edits. If that is happening, it's probably a user interface design problem. The trivial solution is to write a jscript function that sets a hidden

[elephant-devel] elephant-1.0 on Lispworks+win32; bdb; postmodern

2009-01-27 Thread Frank Schorr
installed elephant-1.0 on Lispworks+win32; tested bdb and postmodern 1. in file gc.lisp defgeneric walk-heap defines a method on base-string. error: error base-string is not a class I deleted this method. 2. arnesi must be loaded... error: package lexical not found. I replaced all occ

Re: [elephant-devel] Learning about Elephant

2009-01-27 Thread John
Thanks for the clear example. However, maybe the idioms are confusing me, but many-to-many tells me that I should be able to do something like: (setf (friends-of person1) person2) (setf (friends-of person1) person3) (setf (friends-of person1) person4) (setf (friends-of person1) person5) (setf (fr

Re: [elephant-devel] Learning about Elephant

2009-01-27 Thread John
Hi Ian, Thank you for your prompt response. Some comments below On Tue, Jan 27, 2009 at 1:32 PM, Ian Eslick wrote: > > Such a thing would be possible, but you would need to have a local > copy of the value in memory and this could create more problems than > it solves. It's also unclear to me

Re: [elephant-devel] Learning about Elephant

2009-01-27 Thread Ian Eslick
Slot associations appear to work reflexively, by the way. (defpclass self-assoc () ((friends-of :accessor friends-of :associate (self-assoc friended-me) :many-to-many t) (friended-me :accessor friended-me

Re: [elephant-devel] Learning about Elephant

2009-01-27 Thread Ian Eslick
On Jan 27, 2009, at 11:00 AM, John wrote: > > 1) Every read/write of pclass slots is done directly from/to the > database, so no in-memory "copy" exists (unless some sort of > transient cache slot model is used). This is good. However, is > Elephant "intelligent" enough so that if you attemp

[elephant-devel] Learning about Elephant

2009-01-27 Thread John
Hi all, I've recently come across Elephant and have been reading the manual (even though it claims to be a bit stale). My approach is to read the manual and then dig into the code to learn more details or discrepancies not documented/updated on manual. In so far, I have a few questions I wonder if

Re: [elephant-devel] CLSQL Store

2009-01-27 Thread Robert Synnott
2009/1/27 Alex Mizrahi : > AP> I could redistribute that "core" as open source, and run > AP> my "script" (i.e. my website) "on top of" that. > > If you're using it only in your website, I think you don't even > need this open source mumbo-jumbo, as Oracle's license > only restricts _redistributi

Re: [elephant-devel] CLSQL Store

2009-01-27 Thread Alex Mizrahi
AP> I could redistribute that "core" as open source, and run AP> my "script" (i.e. my website) "on top of" that. If you're using it only in your website, I think you don't even need this open source mumbo-jumbo, as Oracle's license only restricts _redistribution_ but not use, and redistribution