freenode/#lisp - IRC Chatlog
Search
4:40:25
fiddlerwoaroof
Hmm, I wonder if you renamed the swank package to SWANK-OLD (or the like) before loading new swank, if things would be alright
4:41:17
fiddlerwoaroof
That way you could keep old swank up and running until new swank has been tested
4:42:59
fiddlerwoaroof
Yeah, I was thinking about the situation where swank was part of some critical infrastructure
4:43:15
White_Flame
(well, and I can't start SBCL locally at the moment, because emacs is pointing at old slime, but whatever)
4:45:20
fiddlerwoaroof
But, in theory, renaming the package shouldn't affect the things in the package, unless the package relies on interning symbols in "PACKAGE-NAME" or the like
4:46:00
fiddlerwoaroof
So, it should be possible to run old and new versions of a package next to each other
5:03:46
BW^-
Hi! A question about Franz Inc. AllegroCache: Is its store automatically garbage collected, or??
5:27:09
White_Flame
that's their normal object store, not their triple store, right? I believe you manually remove
5:28:43
White_Flame
"Once the deleted object is garbage collected out of Lisp's memory any future persistent values that are read from the database that contain a reference to the deleted object will have that reference replaced by nil."
5:29:03
White_Flame
so certainly smells like no propagation of reference tracking, just deletion of individual objects
5:30:38
White_Flame
ORMs in general suck, though. Programmatic use of objects is almost never a good mesh with serialization needs
5:36:57
fiddlerwoaroof
Most of the issues with ORMs are that the simulation is a very leaky abstraction
7:47:11
earl-ducaine
I'm revisiting my knowlege of eval-when. My rule-of-thumb is: use it when you have a macro that's dependant on a function that's defined in the same file. Is that a reasonable summary? Any other considerations that should be raised to the level of rule-of-thumb?
7:48:04
beach
If you have an initial value of a variable that is required at compilation time later in the same file.
7:51:45
phoe
earl-ducaine: you have (defun foo () 2) (defmacro bar () (foo)) in the same file - this is going to fail, most likely
7:53:14
earl-ducaine
Oh, and a style question. How bad of form is to always use the full set of situations (:load-toplevel :compile-toplevel :execute) even one one's not needed...
7:55:56
phoe
you should not need to use other combinations unless you're meddling with the Lisp compiler or seriously play with how Lisp compiles files in general.
8:17:51
earl-ducaine
No meddling in the dark arts tonight. Learned my lesson with the pail and broom. Thanks for the help!
12:31:36
Thetabit_
I'm having some trouble with Emacs + Slime + SBCL. I have a fairly bare bones setup because I have to do my development on a windows box. But SBCL keeps crashing and locking Emacs up. I don't experience the crashing in a linux environment so I am wondering if Emacs + SBCL + Slime are the best when working in Windows. What do you guys think?
13:29:32
thetabit
I'm reading PCL and going thru the function section. I am trying to 'call' each function in a list which using a loop, instead I am looking to (apply #'funcall (list fn1 fn2 fn3)) but this does not seem to work. What am I missing
13:31:36
phoe
(defun fn1 () (print "hello")) (defun fn2 () (print "allo")) (defun fn3 () (print "hola")) (apply #'funcall (list #'fn1 #'fn2 #'fn3))
13:43:52
phoe
and in the inner list, you have a plist, and you want to iterate over a set of plist key/value pairs, correct?