COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register
vippstar (1211) 39 Articles, 1172 Replies, 1211 Points

Since 4/14/2012 3:40:36 AM, vippstar has written 39 articles and participated in 1172 conversations.
vippstar signature:
vippstar

vippstar's articles:
 Items(39) /4 Next >> Last >| Physics app 2 142 (3/10/2010 6:11:40 PM) comp.lang.lispHello group. After a short break I want to write a lisp application again. I'm thinking of a 2D universe with spheres. Actions will be: create a sphere or delete it, and start/pause the universe. Each spher...vippstar mapcar, lists 6 50 (9/26/2009 8:22:59 PM) comp.lang.lispHello group. I have a list, x is any element, and I want to MAPCAR some transformation of the original list. If I want to take the sum of all the negative numbers and I have a list of positive number, it can b...vippstar L.i.S.P. question 6 70 (9/8/2009 11:40:52 AM) comp.lang.lispHello group. I'm reading Lisp in Small Pieces, (ISBN-13 978-0521562478), and I find a claim of this book to be contradictory to evidence. In particular, on page 42-43 it reads: [referring to Common Lisp] "A lam...vippstar Levenshtein algorithm 7 107 (9/7/2009 6:21:01 PM) comp.lang.lispI am trying to implement an algorithm that calculates the levenshtein distance of two vectors. I tried to translate the pseudo-code on Wikipedia to common lisp, but so far I can't get it to work. The code is he...vippstar eval and macros 3 71 (8/8/2009 3:40:45 PM) comp.lang.lispHello group. It's been some time since I've last written lisp code. This question whose answer I once possibly knew and now eludes me, is bothering me. Assume I've designed a macro such as: (m (1 + 2 * 3)) ==...vippstar Truth-table implementation 8 53 (6/21/2009 1:43:39 PM) comp.lang.lispHello I've written the following functions to help me create truth- tables. ; MAPERM from ; http://cybertiggyr.com/prm/ (defun maperm (fn &rest lists) (cond ((endp lists) nil) ((endp (rest lists)) (...vippstar Three questions 11 60 (6/18/2009 8:47:12 PM) comp.lang.lisp1. (defun foo () (bar)) does equivalent work to (setf (symbol-function 'foo) (lambda () (bar))) plus some bookkeeping work (implementation details). Should a macro that temporarily uses a ne...vippstar Trouble naming macro 7 50 (6/12/2009 12:35:45 PM) comp.lang.lispI have trouble naming this macro which I wrote: (defmacro foo (func &rest args) `(lambda (&rest rest) (apply ,g ,@args rest))) Here is a possible use of this: (find-if (foo #'somefunc (someval)) list) i...vippstar uintptr_t and array query 3 47 (4/1/2009 2:40:57 AM) comp.lang.cI had once posted a message here on comp.lang.c, which asked if a multi-dimensional array can be treated as a single-dimension array. Message-ID: From what I've gathered, it is undefined behavior. Code such ...vippstar Why does this crash? #2 4 42 (1/31/2009 1:24:21 AM) comp.lang.cHello comp.lang.c C99 only: This piece of code works: int f(char m[static 30]) { return !m; } int main(void) { f((char[30]){0}); } But this does not int f(char m[static 30]) { char *p = (char[30]){0}; f(p)...vippstar

vippstar's replies:
 Items(610) /61 Next >> Last >| URL to image illustrating parenthesisfobia? 24 61 (10/20/2009 7:47:38 AM) comp.lang.lisp Quite some time ago somebody posted an URL to an image showing some Lisp code which were annotated "What you see", with blurred code and highlighted parenthesis. And then "What I see" (or something like that) ...newsmailcomp6 (342) Data Structures #2 44 75 (10/26/2009 1:29:31 PM) comp.lang.lispHi, I was just wondering how easy and how effective is it to create other data structures in lisp? What is the best way to represent trees, graphs, and other data structures that we commonly come across in...abdullah.ak7 (10) tagbody vs. defun 35 61 (10/27/2009 4:17:52 PM) comp.lang.lispThere's one thing that puzzles me most. What is best practice to group several functions together? For example in body of a loop. (dotimes (x 3) (tagbody (format t "one ~a~%" x ) (format t "two ~a~...ruby.object (179) why REVAPPEND? 10 61 (10/28/2009 1:49:11 AM) comp.lang.lispIs there some actual usefulness to REVAPPEND? In pre-Common Lisp days, I assumed it was a utility created to define REVERSE, but it made it into CL unscathed. Anyone know why? ...Chris.Riesbeck (112) The King is Dead!? Long live... Scala? Clojure?! 28 60 (10/31/2009 6:27:45 PM) comp.lang.lispWhy wasn't I told? Java is on its deathbed and war has broken out to pick a successor?!! http://smuglispweeny.blogspot.com/2009/10/king-is-dead-long-live-scala-clojure.html I'd worry that we'd be stuck for t...kentilton (2985) UPDATE, UPDATE* 23 62 (11/4/2009 5:42:24 AM) comp.lang.lispMacro UPDATE, UPDATE*: Syntax: update ( {(var place)}* ) declaration* form* => result* update* ( {(var place)}* ) declaration* form* => result* Arguments and Values: var -- a symbol place -- a p...kkylheku (2499) CMUCL #2 6 51 (11/11/2009 8:47:41 PM) comp.lang.lispI feel foolish. I just installed CMUCL on my CentOS system and I'm stuck at the "*" and can't get back to the command line. My total experience with this has been "*(format t "~&Hello, World!~%") and a couple...meburke (6) Is President Obama a Nice Guy? READ AND COMMENTS ON http://americanthinker123.blogspot.com/2009/12/is-president-obama-nice-guy.html AMERICAN THINK TANK, AM 19 55 (12/4/2009 1:42:14 PM) comp.lang.lispIs President Obama a Nice Guy? READ AND COMMENTS ON http://americanthinker123.blogspot.com/2009/12/is-president-obama-nice-guy.html AMERICAN THINK TANK, AMERICAN CURRENT AFFAIRS, AMERICANS ARTICLES, ...kse.listed.co1 (50) [ANN] Filtered functions 173 80 (12/4/2009 10:08:39 PM) comp.lang.lispHi, I am very excited that I can finally annouce a public release of 'filtered functions', an extension of generic functions that Charlotte Herzeel, Jorge Vallejos, and myself have developed some time ago an...pc56 (3930) Confirmed: never, Ever, EVER use nreverse unless you (I mean I) damn well know what is going on 15 116 (12/7/2009 10:01:13 PM) comp.lang.lispI had no idea nreverse could reach this deep (amounting to shallow understanding/thinking?). This is the code snippet: (let ((data (tecplot-data data-pod var :type :boundary :avg avg))) (coerce (re...mirko.vukovic (431)