Search found 16 matches

by janders468
Wed Dec 23, 2009 4:33 pm
Forum: Common Lisp
Topic: problem with cl-who
Replies: 2
Views: 4495

Re: problem with cl-who

If you read the instructions Edi has given, it says "assume that *HTTP-STREAM* is the stream your web application is supposed to write to" I believe that this implies that it should have previously been defined, if you just want to test the output to standard output try this: (with-html-ou...
by janders468
Thu Oct 01, 2009 8:28 am
Forum: Common Lisp
Topic: defmacro
Replies: 3
Views: 4490

Re: defmacro

The short answer is that common lisp does not define defmacro in terms of defun, it is acutally just the opposite, defun is a macro that can be implemented using defmacro. In common lisp defmacro is also a macro, that utilizes the ability of common lisp to treat code as data and vice versa, but with...
by janders468
Thu Aug 13, 2009 11:29 am
Forum: Common Lisp
Topic: Lisp and CGI or Fastcgi
Replies: 3
Views: 5958

Re: Lisp and CGI or Fastcgi

Thank you! That's exactly what I was looking for and I think that going with a vps is a much better option now that I've looked into it. I agree reverse proxy is the way to go.
by janders468
Wed Aug 12, 2009 8:29 pm
Forum: Common Lisp
Topic: Lisp and CGI or Fastcgi
Replies: 3
Views: 5958

Lisp and CGI or Fastcgi

Hello, I am new at web development so I apologize ahead of time if I sound like a complete idiot. I am wondering if it is possible to configure a lisp on a hosted web site to run via cgi or preferably fastcgi. I have seen some documentation on the available options for fastcgi with clisp looking to ...
by janders468
Mon Feb 09, 2009 6:58 pm
Forum: Common Lisp
Topic: Retrieving slot names from class
Replies: 10
Views: 16196

Re: Retrieving slot names from class

I was actually trying to figure out how I could do uniform operations on all slots (printing being a simple example). I didn't know about describe though, and that is very helpful independent of what I was trying to get at before.

Thanks!
by janders468
Fri Feb 06, 2009 7:19 pm
Forum: Common Lisp
Topic: Uses and experiences with object persistent databases
Replies: 0
Views: 4263

Uses and experiences with object persistent databases

I have been greatly interested in object persistence databases like allegrocache and elephant. I work in data warehousing so my mind is greatly ingrained in the relational/dimensional model, but I was curious if others had experience with using these types of data stores in production applications. ...
by janders468
Fri Jan 23, 2009 4:37 pm
Forum: Common Lisp
Topic: Retrieving slot names from class
Replies: 10
Views: 16196

Re: Retrieving slot names from class

Okay, if anybody is interested I have solved this for my purposes. The solution is certainly in the MOP, thanks Ramarran for pointing me in that direction. I'll explain briefly what I found, but please note I've only studied the MOP documentation noted above for an hour or so, so my terminology is s...
by janders468
Fri Jan 23, 2009 10:37 am
Forum: Common Lisp
Topic: Retrieving slot names from class
Replies: 10
Views: 16196

Re: Retrieving slot names from class

Yeah, I wouldn't do that, it was just an example of something you could do. I'm not actually trying to figure out how to print all slots from a hierarchy of classes. I was just hoping the example of something that could be done if you could iterate all the slots would help illuminate my thinking on ...
by janders468
Fri Jan 23, 2009 10:15 am
Forum: Common Lisp
Topic: Retrieving slot names from class
Replies: 10
Views: 16196

Re: Retrieving slot names from class

Could you expound a little further on option 1 (generic functions and protocols). I certainly understand both the options with mop and a defclass like macro, but (and I apologize in advance if I'm over simplifying things) aren't I trying to do this with generic functions? How, given what you said wo...
by janders468
Fri Jan 23, 2009 9:11 am
Forum: Common Lisp
Topic: Retrieving slot names from class
Replies: 10
Views: 16196

Re: Retrieving slot names from class

I've found that it comes up a lot in my own classes that there is something I want to be able to do for every slot in a hierarchy of classes. For example if I wanted to print all the slots and their values for any class in a hierarchy (defclass foo-super () ((slot1) (slot2))) (defclass foo-sub (foo-...