freenode/#lisp - IRC Chatlog
Search
9:36:51
shka_
phoe: yes, fancy trace preserves input objects and if you are avoiding mutation you can inspect
9:39:19
White_Flame
and debuggers usually aren't that great in threaded environments, or in things where you could have I/O timeouts
9:59:16
jackdaniel
while I feel like a cave man when I'm putting (print "foo" *debug-io*) to debug a program (or break to introspect the environment with the debugger), I have to say that it gives me a good insight of how program works. I don't think that relying only on a debugger (even a superior debugger) would be as effective
15:24:17
Bike
i mean, if you have a class A and a class B, and A is a subclass of B, and x is an instance of A
15:26:08
Bike
it's the kind of thing that's in theoretical texts that aren't read by very many actual programmers :v
16:39:41
ym
Hi. When I put let-definition of array which is initialized with initial-element inside of do, I have re-initialized array each iteration. I'm sure SBCL optimizes such definition so that it won't allocate memory for array each iteration, but how do I check it?
16:44:42
Xach
ym: i don't think it's a matter of optimization, but a matter of specification - the initial-element is evaluated only once to initialize, not repeatedly.
16:45:36
Xach
you could also check by tracing the array creation (this would be easiest if you wrap array creation with a function of your own)
16:50:41
Xach
ym: Ok. I think I have misunderstood your description, then. What does the code look like, if you can share it?
16:56:51
Bike
if you replace that make-array with make-my-array, semantically break must be called each iteration
17:08:19
johnjay
question. am i supposed to type (load "~/quicklisp/setup.lisp") everytime I start sbcl?
20:13:07
rpg
phoe: It's OK, I just figured it out -- I was having troubles with cl4py with undefined functions. Then I dug around and figured out that macros (for reasons that are obvious when I think about it) are not available
20:16:52
phoe
pve: that'll almost work, lispworks doesn't let you defun on keywords for whatever reason
20:21:29
phoe
I have no idea how you could confuse us two, he's the cooler and smarter one and weighs much less
20:57:10
sgithens
I just noticed that the quickdocs powering the quicklisp search from the quicklist webisite has been shutdown... what is the current suggested way of searching quicklisp modules?