From robertlread at austin.rr.com Tue Jan 4 23:38:11 2005 From: robertlread at austin.rr.com (Robert L. Read) Date: Tue, 04 Jan 2005 17:38:11 -0600 Subject: [elephant-devel] Problem with Elephant on SBCL 0.8.17 Message-ID: <41DB28E3.3050501@austin.rr.com> I'm trying to use Elephant (which looks great, BTW) with SBCL 0.8.17. On the simple test code below, it looks like it is encountering a bug, seemingly related to unicode or character representation in some other way in SBCL. I suspect this is an SBCL bug, but I thought I should post it here first. Thanks for any information you can provide. I can debug down inside Elephant if I have to, but this I'm in a little over my head already. (require 'asdf) (asdf:operate 'asdf:load-op :elephant) (use-package 'ELEPHANT) (defparameter *SLEEPYCAT-HOME* "/home/read/testdb") (open-store *sleepycat-home*) (add-to-root "x" 1) (get-from-root "x") (add-to-root "x" "abc") (get-from-root "x") [read at localhost DCM]$ lisp This is SBCL 0.8.17, an implementation of ANSI Common Lisp. More information about SBCL is available at . SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. * (require 'asdf) NIL * (asdf:operate 'asdf:load-op :elephant) ; loading system definition from #P"/usr/local/share/lisp/elephant.asd" into ; # ; registering # as ELEPHANT ; loading system definition from #P"/usr/local/share/lisp/uffi.asd" into ; # ; registering # as UFFI NIL * (use-package 'ELEPHANT) T * (defparameter *SLEEPYCAT-HOME* "/home/read/testdb") *SLEEPYCAT-HOME* * (open-store *sleepycat-home*) # * (add-to-root "x" 1) 1 * (get-from-root "x") 1 T * (add-to-root "x" "abc") "abc" * (get-from-root "x") " From ben at medianstrip.net Tue Jan 4 23:20:19 2005 From: ben at medianstrip.net (Ben) Date: Tue, 4 Jan 2005 18:20:19 -0500 (EST) Subject: [elephant-devel] Problem with Elephant on SBCL 0.8.17 In-Reply-To: <41DB28E3.3050501@austin.rr.com> References: <41DB28E3.3050501@austin.rr.com> Message-ID: <20050104181858.C84984@contarex.medianstrip.net> unicode in sbcl is not supported yet. i was waiting for it to settle down a bit. probably i'll work on it for the next release. in the meantime use 8-bit character representations. unicode works for allegro if you need it. sorry. take care, B On Tue, 4 Jan 2005, Robert L. Read wrote: > I'm trying to use Elephant (which looks great, BTW) with SBCL 0.8.17. On the > simple test code below, it looks like it is encountering a bug, seemingly > related to unicode or character representation in some other way in SBCL. I > suspect this is an SBCL bug, but I thought I should post it here first. > > Thanks for any information you can provide. I can debug down inside Elephant > if I have to, but this I'm in a little over my head already. > > (require 'asdf) > (asdf:operate 'asdf:load-op :elephant) > > (use-package 'ELEPHANT) > > (defparameter *SLEEPYCAT-HOME* "/home/read/testdb") > > (open-store *sleepycat-home*) > > (add-to-root "x" 1) > > (get-from-root "x") > > (add-to-root "x" "abc") > > (get-from-root "x") > > > [read at localhost DCM]$ lisp > This is SBCL 0.8.17, an implementation of ANSI Common Lisp. > More information about SBCL is available at . > > SBCL is free software, provided as is, with absolutely no warranty. > It is mostly in the public domain; some portions are provided under > BSD-style licenses. See the CREDITS and COPYING files in the > distribution for more information. > * (require 'asdf) > > NIL > * (asdf:operate 'asdf:load-op :elephant) > > ; loading system definition from #P"/usr/local/share/lisp/elephant.asd" into > ; # > ; registering # as ELEPHANT > ; loading system definition from #P"/usr/local/share/lisp/uffi.asd" into > ; # > ; registering # as UFFI > NIL > * (use-package 'ELEPHANT) > > T > * (defparameter *SLEEPYCAT-HOME* "/home/read/testdb") > > *SLEEPYCAT-HOME* > * (open-store *sleepycat-home*) > > # > * (add-to-root "x" 1) > > 1 > * (get-from-root "x") > > 1 > T > * (add-to-root "x" "abc") > > "abc" > * (get-from-root "x") > > " > > _______________________________________________ > elephant-devel site list > elephant-devel at common-lisp.net > http://common-lisp.net/mailman/listinfo/elephant-devel > From ben at medianstrip.net Tue Jan 4 22:35:13 2005 From: ben at medianstrip.net (Ben) Date: Tue, 4 Jan 2005 17:35:13 -0500 (EST) Subject: [elephant-devel] Solaris compatibility In-Reply-To: <39982E8E-5AD2-11D9-8A33-000A95CCF028@mac.com> References: <39982E8E-5AD2-11D9-8A33-000A95CCF028@mac.com> Message-ID: <20050104173406.C81412@contarex.medianstrip.net> thanks for the patches. i'll look them over and merge them when we cut the next release. we're still recovering from the new year. take care, B On Fri, 31 Dec 2004, Carlos Ungil wrote: > Hello, > > the attached sleepycat.lisp reads and writes integers, floats and doubles as > sequences of bytes on Solaris (otherwise there are alignment problems). > > Tested [*] with sbcl (0.8.18, without unicode support), in principle it > should work with cmucl as well. > > Happy New Year, > > Carlos > > [*] I've only tested this patch using the test suite included with elephant. > 2 tests fail (NO-EVAL-INITFORM, UPDATE-CLASS), but they fail just the same > using sbcl/MacOSX, so the problem doesn't seem to be related to Solaris. > > From robertlread at austin.rr.com Wed Jan 5 01:31:26 2005 From: robertlread at austin.rr.com (Robert L. Read) Date: Tue, 04 Jan 2005 19:31:26 -0600 Subject: [elephant-devel] Problem with Elephant on SBCL 0.8.17 In-Reply-To: <20050104181858.C84984@contarex.medianstrip.net> References: <41DB28E3.3050501@austin.rr.com> <20050104181858.C84984@contarex.medianstrip.net> Message-ID: <41DB436E.6020704@austin.rr.com> Thanks. I'm not intentionally using unicode; do you know how I can turn it off? I will eventually want to use Unicode, and can't (well, don't want to) afford Franz. Is this something I could work on inside Elephant, or would it be better to let you get to it and work around it for now? Ben wrote: > unicode in sbcl is not supported yet. i was waiting for it to settle > down a bit. probably i'll work on it for the next release. in the > meantime use 8-bit character representations. unicode works for > allegro if you need it. sorry. > > take care, B > > On Tue, 4 Jan 2005, Robert L. Read wrote: > >> I'm trying to use Elephant (which looks great, BTW) with SBCL 0.8.17. >> On the simple test code below, it looks like it is encountering a >> bug, seemingly related to unicode or character representation in some >> other way in SBCL. I suspect this is an SBCL bug, but I thought I >> should post it here first. >> >> Thanks for any information you can provide. I can debug down inside >> Elephant if I have to, but this I'm in a little over my head already. >> >> (require 'asdf) >> (asdf:operate 'asdf:load-op :elephant) >> >> (use-package 'ELEPHANT) >> >> (defparameter *SLEEPYCAT-HOME* "/home/read/testdb") >> >> (open-store *sleepycat-home*) >> >> (add-to-root "x" 1) >> >> (get-from-root "x") >> >> (add-to-root "x" "abc") >> >> (get-from-root "x") >> >> >> [read at localhost DCM]$ lisp >> This is SBCL 0.8.17, an implementation of ANSI Common Lisp. >> More information about SBCL is available at . >> >> SBCL is free software, provided as is, with absolutely no warranty. >> It is mostly in the public domain; some portions are provided under >> BSD-style licenses. See the CREDITS and COPYING files in the >> distribution for more information. >> * (require 'asdf) >> >> NIL >> * (asdf:operate 'asdf:load-op :elephant) >> >> ; loading system definition from >> #P"/usr/local/share/lisp/elephant.asd" into >> ; # >> ; registering # as ELEPHANT >> ; loading system definition from #P"/usr/local/share/lisp/uffi.asd" into >> ; # >> ; registering # as UFFI >> NIL >> * (use-package 'ELEPHANT) >> >> T >> * (defparameter *SLEEPYCAT-HOME* "/home/read/testdb") >> >> *SLEEPYCAT-HOME* >> * (open-store *sleepycat-home*) >> >> # >> * (add-to-root "x" 1) >> >> 1 >> * (get-from-root "x") >> >> 1 >> T >> * (add-to-root "x" "abc") >> >> "abc" >> * (get-from-root "x") >> >> " >> >> _______________________________________________ >> elephant-devel site list >> elephant-devel at common-lisp.net >> http://common-lisp.net/mailman/listinfo/elephant-devel >> > From ben at medianstrip.net Wed Jan 5 00:43:21 2005 From: ben at medianstrip.net (Ben) Date: Tue, 4 Jan 2005 19:43:21 -0500 (EST) Subject: [elephant-devel] Problem with Elephant on SBCL 0.8.17 In-Reply-To: <41DB436E.6020704@austin.rr.com> References: <41DB28E3.3050501@austin.rr.com> <20050104181858.C84984@contarex.medianstrip.net> <41DB436E.6020704@austin.rr.com> Message-ID: <20050104193237.X90644@contarex.medianstrip.net> i don't know how to turn off unicode in sbcl. looking at the docs it appears unfortunately that you have to rebuild sbcl to do so. since it is self-hosting this shouldn't be hard, with appropriate hardware. i've never done it personally though. you can try CMUCL as well, they are very closely compatible for most uses. take care, B On Tue, 4 Jan 2005, Robert L. Read wrote: > Thanks. > > I'm not intentionally using unicode; do you know how I can turn it off? > > I will eventually want to use Unicode, and can't (well, don't want to) afford > Franz. > > Is this something I could work on inside Elephant, or would it be better to > let you get to it and work around it for now? > > > > Ben wrote: > >> unicode in sbcl is not supported yet. i was waiting for it to settle >> down a bit. probably i'll work on it for the next release. in the >> meantime use 8-bit character representations. unicode works for >> allegro if you need it. sorry. >> >> take care, B >> >> On Tue, 4 Jan 2005, Robert L. Read wrote: >> >>> I'm trying to use Elephant (which looks great, BTW) with SBCL 0.8.17. On >>> the simple test code below, it looks like it is encountering a bug, >>> seemingly related to unicode or character representation in some other way >>> in SBCL. I suspect this is an SBCL bug, but I thought I should post it >>> here first. >>> >>> Thanks for any information you can provide. I can debug down inside >>> Elephant if I have to, but this I'm in a little over my head already. >>> >>> (require 'asdf) >>> (asdf:operate 'asdf:load-op :elephant) >>> >>> (use-package 'ELEPHANT) >>> >>> (defparameter *SLEEPYCAT-HOME* "/home/read/testdb") >>> >>> (open-store *sleepycat-home*) >>> >>> (add-to-root "x" 1) >>> >>> (get-from-root "x") >>> >>> (add-to-root "x" "abc") >>> >>> (get-from-root "x") >>> >>> >>> [read at localhost DCM]$ lisp >>> This is SBCL 0.8.17, an implementation of ANSI Common Lisp. >>> More information about SBCL is available at . >>> >>> SBCL is free software, provided as is, with absolutely no warranty. >>> It is mostly in the public domain; some portions are provided under >>> BSD-style licenses. See the CREDITS and COPYING files in the >>> distribution for more information. >>> * (require 'asdf) >>> >>> NIL >>> * (asdf:operate 'asdf:load-op :elephant) >>> >>> ; loading system definition from #P"/usr/local/share/lisp/elephant.asd" >>> into >>> ; # >>> ; registering # as ELEPHANT >>> ; loading system definition from #P"/usr/local/share/lisp/uffi.asd" into >>> ; # >>> ; registering # as UFFI >>> NIL >>> * (use-package 'ELEPHANT) >>> >>> T >>> * (defparameter *SLEEPYCAT-HOME* "/home/read/testdb") >>> >>> *SLEEPYCAT-HOME* >>> * (open-store *sleepycat-home*) >>> >>> # >>> * (add-to-root "x" 1) >>> >>> 1 >>> * (get-from-root "x") >>> >>> 1 >>> T >>> * (add-to-root "x" "abc") >>> >>> "abc" >>> * (get-from-root "x") >>> >>> " >>> >>> _______________________________________________ >>> elephant-devel site list >>> elephant-devel at common-lisp.net >>> http://common-lisp.net/mailman/listinfo/elephant-devel >>> >> > > From stesch at no-spoon.de Sun Jan 16 23:44:04 2005 From: stesch at no-spoon.de (Stefan Scholl) Date: Mon, 17 Jan 2005 00:44:04 +0100 Subject: [elephant-devel] Safe to change definition of a persistent class? Message-ID: <41EAFC44.9000904@no-spoon.de> Hi! Is it safe to change the definition of a persistant class which already had some serialized instances at some other time? Given some objects got written to the store and you change the class in the further development process (reevaluation defclass, rereading changed source, etc.) of your project. Will the data be crippled? Just right by coincidence? Or no problem at all (as long as you just add or remove slots)? Regards, Stefan From ben at medianstrip.net Mon Jan 17 01:07:27 2005 From: ben at medianstrip.net (Ben) Date: Sun, 16 Jan 2005 20:07:27 -0500 (EST) Subject: [elephant-devel] Safe to change definition of a persistent class? In-Reply-To: <41EAFC44.9000904@no-spoon.de> References: <41EAFC44.9000904@no-spoon.de> Message-ID: <20050116200324.T24939@contarex.medianstrip.net> Adding and removing slots should be safe. There is 1 entry per slot per instance. Non-existent entries are the same as "unbound slots." So adding a new slot will make existing instances have unbound slots. Removing a slot doesn't do anything, it just leaves cruft in the DB. There are certain rules about changing a slot from transient to persistent and vice versa -- I think they're laid out in the tutorial. take care, B On Mon, 17 Jan 2005, Stefan Scholl wrote: > Hi! > > Is it safe to change the definition of a persistant class which already had > some serialized instances at some other time? > > Given some objects got written to the store and you change the class in the > further development process (reevaluation defclass, rereading changed source, > etc.) of your project. Will the data be crippled? Just right by coincidence? > Or no problem at all (as long as you just add or remove slots)? > > > Regards, > Stefan > > > _______________________________________________ > elephant-devel site list > elephant-devel at common-lisp.net > http://common-lisp.net/mailman/listinfo/elephant-devel > From Martti.Halminen at cadi.fi Tue Jan 18 15:43:57 2005 From: Martti.Halminen at cadi.fi (Martti Halminen) Date: Tue, 18 Jan 2005 17:43:57 +0200 Subject: [elephant-devel] Can I run Elephant on LWW 4.4 and Sleepycat 4.3 ? Message-ID: <69861968683B584FA13A1A08CC83A25701A8A2@mailsrv.cadi.fi> Hi, Can anybody tell me what is the current situation of Elephant on LispWorks for Windows? I started looking at it today, and the documentation seems to talk about older stuff than currently available, so I started wondering how up-to-date the documents are. The combination I'd like to use would be LWW 4.4, Sleepycat 4.3, MS Visual Studio 6.0, Windows XP SP2 regards, Martti Halminen ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ From ben at medianstrip.net Tue Jan 18 17:16:00 2005 From: ben at medianstrip.net (Ben) Date: Tue, 18 Jan 2005 12:16:00 -0500 (EST) Subject: [elephant-devel] Can I run Elephant on LWW 4.4 and Sleepycat 4.3 ? In-Reply-To: <69861968683B584FA13A1A08CC83A25701A8A2@mailsrv.cadi.fi> References: <69861968683B584FA13A1A08CC83A25701A8A2@mailsrv.cadi.fi> Message-ID: <20050118115520.B14273@contarex.medianstrip.net> Hi, Unfortunately no one has worked on Lispworks for Windows yet. On the bright side, most of the hard work was done for Allegro: 1) getting the DLL to compile 2) 16-bit Unicode support The last thing to work on is getting the MOP stuff to work with LW. I don't think this is very hard -- some of the code is already there. MOP stuff is a little messy though. Sleepycat 4.3 will not work -- they changed some #defines. It should be easy to get it to work though, and I started working on this already. Eventually I'm going to port to using their sequences for OIDs. I unfortunately don't have time at the moment to work on elephant. If you can wait, Andrew and I have been making noises about cutting a new release, which will include a revamping of the MOP stuff amongst other things. I'll put it on my list of things-to-do to try to get LW for Windows up too. It will happen, it just might not happen as soon as we want. Or, if you're feeling generous, i would be more than happy to help you or anyone else (nudge nudge) who wants to put in a few cycles getting things like LW for Windows up and running. Take care, Ben On Tue, 18 Jan 2005, Martti Halminen wrote: > > Hi, > > Can anybody tell me what is the current situation of Elephant on > LispWorks for Windows? > I started looking at it today, and the documentation seems to talk about > older stuff than currently available, so I started wondering how > up-to-date the documents are. > The combination I'd like to use would be LWW 4.4, Sleepycat 4.3, MS > Visual Studio 6.0, Windows XP SP2 > > regards, > Martti Halminen > ########################################### > > This message has been scanned by F-Secure Anti-Virus for Microsoft > Exchange. > For more information, connect to http://www.F-Secure.com/ > > _______________________________________________ > elephant-devel site list > elephant-devel at common-lisp.net > http://common-lisp.net/mailman/listinfo/elephant-devel > From ml13 at onlinehome.de Mon Jan 24 12:48:00 2005 From: ml13 at onlinehome.de (ml13 at onlinehome.de) Date: Mon, 24 Jan 2005 13:48:00 +0100 Subject: [elephant-devel] Can I run Elephant on LWW 4.4 and Sleepycat 4.3 ? In-Reply-To: <20050118115520.B14273@contarex.medianstrip.net> References: <69861968683B584FA13A1A08CC83A25701A8A2@mailsrv.cadi.fi> <20050118115520.B14273@contarex.medianstrip.net> Message-ID: <2DE3FD60-6E06-11D9-9C85-00039345C8B0@onlinehome.de> Am 18.01.2005 um 18:16 schrieb Ben: > Or, if you're feeling generous, i would be more than happy to help you > or anyone else (nudge nudge) who wants to put in a few cycles getting > things like LW for Windows up and running. > I suppose, there is an intersection with the job for LW Darwin? Concerning the MOP, I am not an expert, but I could help... Anyway, elephant is wonderful and I am enjoying it with sbcl. Ciao, Kilian From ben at medianstrip.net Thu Jan 27 01:49:35 2005 From: ben at medianstrip.net (Ben) Date: Wed, 26 Jan 2005 20:49:35 -0500 (EST) Subject: [elephant-devel] Can I run Elephant on LWW 4.4 and Sleepycat 4.3 ? In-Reply-To: <2DE3FD60-6E06-11D9-9C85-00039345C8B0@onlinehome.de> References: <69861968683B584FA13A1A08CC83A25701A8A2@mailsrv.cadi.fi> <20050118115520.B14273@contarex.medianstrip.net> <2DE3FD60-6E06-11D9-9C85-00039345C8B0@onlinehome.de> Message-ID: <20050126204859.N51028@contarex.medianstrip.net> right now we're compiling a list of things to do and planning the next release, more details will come soon. thanks for the offer! take care, B On Mon, 24 Jan 2005 ml13 at onlinehome.de wrote: > Am 18.01.2005 um 18:16 schrieb Ben: > >> Or, if you're feeling generous, i would be more than happy to help you >> or anyone else (nudge nudge) who wants to put in a few cycles getting >> things like LW for Windows up and running. >> > > I suppose, there is an intersection with the job for LW Darwin? > Concerning the MOP, I am not an expert, but I could help... > > Anyway, elephant is wonderful and I am enjoying it with sbcl. > > Ciao, > > Kilian > > _______________________________________________ > elephant-devel site list > elephant-devel at common-lisp.net > http://common-lisp.net/mailman/listinfo/elephant-devel >