Search found 31 matches

by duncan
Mon Jun 08, 2009 4:16 pm
Forum: The Lounge
Topic: Implement a form of LISP for the web?
Replies: 8
Views: 16764

Re: Implement a form of LISP for the web?

[quote="Jasper"]I guess we got to give them that, yes..[quote="Jasper"] No, actually we don't. But to understand why you need to understand a bit of history about XML that has been swept under the rug. Before there was XML there was SGML. It was meant as a meta-markup language fo...
by duncan
Mon Jun 08, 2009 3:30 pm
Forum: The Lounge
Topic: Tragedy of the commons
Replies: 56
Views: 136721

Re: Tragedy of the commons

I'd like to give some resistance to the libertarian-ness of the internet tragedy of the commons . Unless I misunderstand you, I'd like to "give some resistance" to your misunderstanding of the term "libertarian." There are a lot of kinds of libertarian, including some faux liber...
by duncan
Mon Jun 08, 2009 2:41 pm
Forum: Common Lisp
Topic: Rant: lisp is not C. Get over it.
Replies: 47
Views: 250190

Re: Rant: lisp is not C. Get over it.

Nobody. :) Yeah, some people hear Paul Graham if they hang out on the right kind of web site. So non-Lispers are either hearing the occasional praise from some super-hacker they've never met, or nothing at all. Where's the common man in the Common Lisp world? Keeping his head down, or nonexistent, ...
by duncan
Tue Jun 02, 2009 2:16 am
Forum: Common Lisp
Topic: Rant: lisp is not C. Get over it.
Replies: 47
Views: 250190

Re: Rant: lisp is not C. Get over it.

I don't know about that. For every outspoken Lisp advocate, I think there are many more Lispers who hesitate to speak up for fear of overselling it. OK, but let's think about that for a second. Who gets heard? I mean- no disrespect to Graham, cause I love him to death, but... he's loud. Every time ...
by duncan
Tue Jun 02, 2009 12:38 am
Forum: Common Lisp
Topic: Combining digits to make a string
Replies: 18
Views: 27798

Re: Combining digits to make a string

I was wondering what is the best way to achieve a strand of "DNA" to use in a GA. I was thinking about these options: ((013) (201)...) ((0 1 3) (2 0 1)...) or an array (which I do not know how to make) Note: Duncan is right (I think) the leading zeros should not matter (but maybe they do)...
by duncan
Mon Jun 01, 2009 11:22 pm
Forum: Common Lisp
Topic: Rant: lisp is not C. Get over it.
Replies: 47
Views: 250190

Re: Rant: lisp is not C. Get over it.

Reading this thread there's a lot in it I'd like to respond to, but I'm not known for brevity in any case, and if I tried to respond to all of it I'd wind up writing something way too long to read. But... First off I agree with findinglisp that Lispers ought not to gloss over the problems with CL. C...
by duncan
Mon Jun 01, 2009 1:54 pm
Forum: Common Lisp
Topic: converting macro parameter name to key parameter
Replies: 5
Views: 10892

Re: converting macro parameter name to key parameter

Thanks for your answer! I'll look more deeply at the intern documentation for future reference, but stick with the 3 functions. I suppose that if it was so hard to make it work with macros (although I'm a beginner, 3 hours with no success for something so short seems too much) it's because it wasn'...
by duncan
Mon Jun 01, 2009 12:12 pm
Forum: Common Lisp
Topic: converting macro parameter name to key parameter
Replies: 5
Views: 10892

Re: converting macro parameter name to key parameter

Now, I'm having a lot of trouble getting it done. The problem is that I can't see a way to access the symbol name (the 'x' in this case) and later use it as a keyword parameter for the make-3d-point function (as ':x'). Is there a way to do something like that? I tried: (intern (concatenate 'string ...
by duncan
Mon Jun 01, 2009 11:05 am
Forum: Common Lisp
Topic: Got any good examples of CL in action?
Replies: 5
Views: 9890

Re: Got any good examples of CL in action?

I'd third ppcre. Another thing that's worth considering is that most CL implementations are largely written in CL (which can get pretty hairy in cases where the origins of the system are hidden under a lot of years of bootstrapping- CMUCL comes to mind). So you might find it interesting to look at h...
by duncan
Sat May 30, 2009 2:57 am
Forum: Common Lisp
Topic: New to programming: Advice
Replies: 6
Views: 10336

Re: New to programming: Advice

The Structure and Implementation of Computer Programs is also very nice as an introduction to programming (via Scheme). First chapters of Paradigms of Artificial Intelligence Programming can be used as a Common Lisp textbook with exercises. And of cource, as I started to learn Common Lisp through A...