python admin abuse complaint On Feb 2, 12:40 pm, Xah Lee <xah...(a)gmail.com> wrote: (12:12:16 PM) xahlee: is hash={} and hash.clean() identical? I think you mean hash.clear() instead of hash.clean() The answer is that "hash = {}" will create a new dict and assign it to "hash", while "hash.clear()" simply guts the dict that "hash" is... 2 Feb 2010 21:57
How to use dynamic-extent declarations... Hi, I recently submitted a report to the SBCL devel mailing list about what I believed to be a bug in their compiler, only to learn that my understanding of what dynamic-extent declarations do was just wrong. Here is the example: (defun definer (x) (list x)) (declaim (inline caller)) (defun calle... 4 Feb 2010 16:49
online shopping First on net, Bargain your products in online through our http://www.shoppingreps.com?SourceId=1189 and buy it from your local shop. No credit card needed on the internet. It is an innovative shopping model. For more details Visit http://www.shoppingreps.com?SourceId=1189 ... 2 Feb 2010 14:56
managing large table of data Hi, I am doing Markov-Chain Monte Carlo in CL. Specifically, I draw a vector (of about 10^5 elements) from a distribution. I need about 10^4 draws. This makes a huge table --- I am not sure I would like to fit that in memory, even if I could (single float would take 4e9 bytes, but 1e9 is not a fixnum any more... 5 Feb 2010 05:01
lisp introspection/reflection question lisp is famous for is reflection capabilities, and, indeed, a function like '10+' is reported to be #<FUNCTION 10+ (NUMBER) (DECLARE (SYSTEM::IN-DEFUN 10+)) (BLOCK 10+ (+ 10 NUMBER))> in clisp. (Disturbingly, this only works if I bind #'10+ to a variable and evaluate the variable, but that's a clis... 13 Feb 2010 00:38
Do as the Romans do Alessio Stalla <alessiostalla(a)gmail.com> writes: On 30 Gen, 00:38, "Dimiter \"malkia\" Stanev" <mal...(a)mac.com> wrote: Off-topic here, but "When in Bulgaria, don't do as Bulgarian's do" :) I'm bulgarian, and I give it as an example that one should not always follow the crowd, because sometimes the ... 2 Feb 2010 14:55
How do I test if a file stream is open? I have a recursive function that writes out to a file using (with-open- file). I pass a pointer to the file to be written as a parameter to recursive calls to the function. But if the file is already open I don't recursive calls to (with-open-file) to open it again. I need a way to test if the file pointer is alrea... 2 Feb 2010 21:57
Very simple question -- CLOS for the GCL? The version of the GNU Common LISP that I'm currently using in my PC does not have the Common LISP Object System. Does there exist a version of the GCL that contains the CLOS, or has somebody written a CLOS system for the GCL? Antti Ylikoski Helsinki Univ of Tech Helsinki, Finland, the EU ... 4 Mar 2010 07:49
lispworks and clsql On Jan 3, 7:37 am, D Herring <dherr...(a)at.tentpost.dot.com> wrote: steven yip wrote: hi guys, I was trying to run some codes using lispworks: (create-table [detail] '(([id] integer) ([item] (string 25)) ... 2 Feb 2010 14:55 |