## Search found 96 matches

Sat Mar 27, 2010 2:17 am
Forum: The Lounge
Topic: Stupid question: how do you read mailing lists effectively?
Replies: 4
Views: 5619

### Re: Stupid question: how do you read mailing lists effectively?

Jasper wrote:I mean, archives like this are hardly human-readable.. Any application that makes them look more like this forum; a list of titles and and if you look at the thread the posts neatly in sequence.
You can use regular mail reader. E.g., KMail or Evolution.
Tue Mar 23, 2010 9:00 pm
Forum: The Lounge
Topic: LISP vs Lisp
Replies: 8
Views: 13659

### Re: LISP vs Lisp

I've read explanations that titles like LISP, FORTRAN etc come from archaic era when you could only punch capital letter on punch cards.
Sat Feb 27, 2010 12:07 pm
Forum: Common Lisp
Topic: Calculate the difference between 2 string of words.
Replies: 5
Views: 2991

### Re: Calculate the difference between 2 string of words.

Hello! I need help from you guys. I'm pretty new in Lisp. I have to find any differences between two string of words, say string1 = "he sell me books" string2 = "he sells me his book" Then I have to show that between string1 and string2, the difference is i) "sell" in string1 and "sells" in string2...
Mon Feb 08, 2010 4:50 am
Forum: Common Lisp
Topic: efficient fixed size vector/matrix represenation+operations
Replies: 8
Views: 5419

### Re: efficient fixed size vector/matrix represenation+operations

I would also add a point that high-performance numerical computational systems like matlab and octave also store matrices dimensions and generally have overhead for every number. But their performance is very good and they may be used for very large tasks. I think that you are looking into wrong dir...
Sun Feb 07, 2010 7:54 am
Forum: Common Lisp
Topic: efficient fixed size vector/matrix represenation+operations
Replies: 8
Views: 5419

### Re: efficient fixed size vector/matrix represenation+operations

I would stick to the second option. It is not hard to create a small API to handle those arrays and abstract away boring details like allocating and freeing, not to mention they are safe with respect to garbage collection. You would have to create a small wrapper structure or class and store the ar...
Sun Feb 07, 2010 7:52 am
Forum: Common Lisp
Topic: efficient fixed size vector/matrix represenation+operations
Replies: 8
Views: 5419

### Re: efficient fixed size vector/matrix represenation+operations

I understand that this requires something like static type information. But it may be possible to implement some macros that extract type information out of "declare" expressions and insert the right function Some implementations (e.g., SBCL) allow macros to query lexical environment for e.g. type ...
Fri Feb 05, 2010 11:58 pm
Forum: Common Lisp
Topic: [REL] DEFSTAR - painless type declaration library
Replies: 2
Views: 2286

### Re: [REL] DEFSTAR - painless type declaration library

Seems useful.
Minor note: is example on http://bitbucket.org/eeeickythump/defstar/wiki/Home right? Shouldn't "((test (function (t))) nil)" be "((test (or null (function (t)))) nil)"?
Sat Jan 30, 2010 12:56 pm
Forum: Common Lisp
Topic: Why have the let function when you already have setf?
Replies: 16
Views: 8685

### Re: Why have the let function when you already have setf?

First of all, let and setf are not functions.
let and setf are completely different things.
setf is a generic assignment operator - it assigns values to "generic places". let is a special form that creates lexical or dynamic variable bindings.
Wed Jan 20, 2010 6:56 am
Forum: Common Lisp
Topic: [resolved] signal-slot concept of Qt => Cells
Replies: 12
Views: 7673

### Re: signal-slot concept of Qt for Lisp classes

Signal/slot is actually a limited implementation of events (signal handlers can only be specific methods of some objects). In many frameworks, you just define events like 'position-changed' or 'foo-changed', 'bar-changed' that are raised when the value of 'position', 'foo' and 'bar' slot (the CLOS s...
Wed Jan 20, 2010 4:45 am
Forum: Common Lisp
Topic: [resolved] signal-slot concept of Qt => Cells
Replies: 12
Views: 7673

### Re: signal-slot concept of Qt for Lisp classes

you guys are great, thank you! ^^ cells is exactly what i need and it looks pretty mature. they seem to call it "instance-specific formulas". (defmethod (setf foo) :after (value (object (eql a1))) haven't thought of that, thanks. the values in my game engine may change 100 times per second, maybe i...