Re: [elephant-devel] Class Heirarchies and Queries

2009-07-14 Thread Ian Eslick
Works for me on the elephant-1.0 repository. You have to indicate in the base class that subclasses will inherit its index. Then you do get-instances-by-value/range on any class on the inherited slotname to get all instances inheriting from the base. Ian On Jul 14, 2009, at 4:01 PM, Red

Re: [elephant-devel] Class Heirarchies and Queries

2009-07-14 Thread Red Daly
On Tue, Sep 16, 2008 at 7:20 AM, Ian Eslick wrote: > There is an :inherit slot keyword option for indexed slots. It causes > subclasses of the defining class to share the index of the base class. You > can inhibit subclass sharing by re-defining the slot in the base class. I > found a bug in u

Re: UFFI/win32 problems (was: Re: [elephant-devel] Class Heirarchies and Queries)

2008-09-25 Thread Leslie P. Polzer
> I have attached a bundle with three patches against elephant-unstable: one > correcting a typo in a comment in elephant.asd, one fixing the alien problem > above, and one with the minimal changes I needed to get elephant running on > win32/SBCL. Thanks, that's good code. Leslie -- LinkedIn

Re: UFFI/win32 problems (was: Re: [elephant-devel] Class Heirarchies and Queries)

2008-09-24 Thread Elliott Slaughter
On Tue, Sep 23, 2008 at 9:09 AM, Elliott Slaughter < [EMAIL PROTECTED]> wrote: > On Tue, Sep 23, 2008 at 1:28 AM, Leslie P. Polzer <[EMAIL PROTECTED] > > wrote: > >> >> > I am a little confused: there doesn't seem to actually be a function >> called >> > "db_env_get_max_objects" in libberkeley-db.

Re: UFFI/win32 problems (was: Re: [elephant-devel] Class Heirarchies and Queries)

2008-09-23 Thread Leslie P. Polzer
> Perhaps win32/SBCL DLL loading is eager and attempts to resolve this >> symbol right away? > > > Do other lisps not do this? This is O/S-specific, I think. I think DLL loading is always eager while SO loading is not, something like that. So maybe SBCL FFI is missing some workaround that other L

Re: UFFI/win32 problems (was: Re: [elephant-devel] Class Heirarchies and Queries)

2008-09-23 Thread Elliott Slaughter
On Tue, Sep 23, 2008 at 1:28 AM, Leslie P. Polzer <[EMAIL PROTECTED]>wrote: > > > I am a little confused: there doesn't seem to actually be a function > called > > "db_env_get_max_objects" in libberkeley-db.c (although I do see > > "db_env_get_lk_max_objects"), but ele-bdb.asd loads fine under > >

Re: UFFI/win32 problems (was: Re: [elephant-devel] Class Heirarchies and Queries)

2008-09-23 Thread Leslie P. Polzer
> I am a little confused: there doesn't seem to actually be a function called > "db_env_get_max_objects" in libberkeley-db.c (although I do see > "db_env_get_lk_max_objects"), but ele-bdb.asd loads fine under > linux(x86-64)/SBCL and win32/Allegro. Where is "db_env_get_max_objects" > actually comi

Re: [elephant-devel] Class Heirarchies and Queries

2008-09-22 Thread Elliott Slaughter
On Thu, Sep 18, 2008 at 1:39 AM, Leslie P. Polzer <[EMAIL PROTECTED]>wrote: > > > debugger invoked on a UNDEFINED-ALIEN-ERROR: > > Undefined alien: "db_env_get_max_objects" > > Can you confirm that UFFI on win32/SBCL works in other cases? I can't confirm that win32/SBCL is an "officially suppo

Re: [elephant-devel] Class Heirarchies and Queries

2008-09-18 Thread Leslie P. Polzer
> but i'll probably post combined cursors as contrib (some time later..) > maybe we can use them if we'll change our mind on this issue or > for some other stuff Yes, please! -- LinkedIn Profile: http://www.linkedin.com/in/polzer Xing Profile: https://www.xing.com/profile/LeslieP_Polzer Blog: h

Re: [elephant-devel] Class Heirarchies and Queries

2008-09-18 Thread Alex Mizrahi
??>> so do you people think that inheritance support on map level is a ??>> right thing? LPP> Yes, definitely. LPP> Got a code draft? yep, sort of.. but i think Ian's approach is "good enough" since rarely people need both superclass and subclass lookups to be fast enough. but i'll probably

Re: [elephant-devel] Class Heirarchies and Queries

2008-09-18 Thread Leslie P. Polzer
> debugger invoked on a UNDEFINED-ALIEN-ERROR: > Undefined alien: "db_env_get_max_objects" Can you confirm that UFFI on win32/SBCL works in other cases? Can you find the alien by using SBCL's FFI directly? Leslie -- LinkedIn Profile: http://www.linkedin.com/in/polzer Xing Profile: https://

Re: [elephant-devel] Class Heirarchies and Queries

2008-09-17 Thread Elliott Slaughter
On Wed, Sep 17, 2008 at 1:31 AM, Leslie P. Polzer <[EMAIL PROTECTED]>wrote: > > > Error opening shared object "c:\\Program > > Files\\asdf\\elephant-unstable\\src\\memutil\\libmemutil.dll": > > 5. > >[Condition of type SIMPLE-ERROR] > > > > Can anyone who works regularly with Windows give me

Re: [elephant-devel] Class Heirarchies and Queries

2008-09-17 Thread Leslie P. Polzer
> Error opening shared object "c:\\Program > Files\\asdf\\elephant-unstable\\src\\memutil\\libmemutil.dll": > 5. >[Condition of type SIMPLE-ERROR] > > Can anyone who works regularly with Windows give me advice on compiling > these dependencies? Thanks. I don't, but got a backtrace? -- Li

Re: [elephant-devel] Class Heirarchies and Queries

2008-09-16 Thread Elliott Slaughter
On Tue, Sep 16, 2008 at 7:20 AM, Ian Eslick <[EMAIL PROTECTED]> wrote: > There is an :inherit slot keyword option for indexed slots. It causes > subclasses of the defining class to share the index of the base class. You > can inhibit subclass sharing by re-defining the slot in the base class. I

Re: [elephant-devel] Class Heirarchies and Queries

2008-09-16 Thread Ian Eslick
There is an :inherit slot keyword option for indexed slots. It causes subclasses of the defining class to share the index of the base class. You can inhibit subclass sharing by re-defining the slot in the base class. I found a bug in unstable and patched it so this works again. Calling

Re: [elephant-devel] Class Heirarchies and Queries

2008-09-16 Thread Leslie P. Polzer
> so do you people think that inheritance support on map level is a right > thing? Yes, definitely. Got a code draft? -- LinkedIn Profile: http://www.linkedin.com/in/polzer Xing Profile: https://www.xing.com/profile/LeslieP_Polzer Blog: http://blog.viridian-project.de/ ___

Re: [elephant-devel] Class Heirarchies and Queries

2008-09-16 Thread Alex Mizrahi
??>> Section ??>> 2.10 of the manual mentions that you can "query a base class of type ??>> people to get subclass instances such as employee, manager, ??>> consultant, etc". ??>> I happen to need to do exactly that, but I can't actually find the ??>> appropriate section in the manual. LPP> I don

Re: [elephant-devel] Class Heirarchies and Queries

2008-09-16 Thread Leslie P. Polzer
> Section > 2.10 of the manual mentions that you can "query a base class of type > people to get subclass instances such as employee, manager, > consultant, etc". > I happen to need to do exactly that, but I can't actually find the > appropriate section in the manual. I don't know where that sect