Search found 19 matches

by blandest
Fri Jan 23, 2009 2:12 am
Forum: Common Lisp
Topic: Help with asdf
Replies: 6
Views: 12193

Re: Help with asdf

So, here's my problem: I supposedly have asdf already installed on my system, but I can't find asdf.lisp! I'm running Ubuntu 8.04 and am using Emacs and SLIME. An online tutorial instructed me to try typing (require 'asdf) into my LISP interpreter to see if asdf was already installed, so I did, and...
by blandest
Fri Jan 16, 2009 2:46 pm
Forum: Common Lisp
Topic: A "declare" form returned by macro
Replies: 19
Views: 34149

Re: A "declare" form returned by macro

In my opinion, if it is not clear on a glance what arguments the function accepts, then it is either too long or the arguments are badly named. At least for simple types, and more complex things are best put into CLOS objects and operated upon with generic functions, which have something quite clos...
by blandest
Thu Jan 15, 2009 1:14 am
Forum: Common Lisp
Topic: sbcl-1.0.20
Replies: 7
Views: 9738

Re: sbcl-1.0.20

hmas wrote:Needs special code to download?
Just use the "free user" option and wait :)
by blandest
Wed Jan 14, 2009 7:32 am
Forum: Common Lisp
Topic: sbcl-1.0.20
Replies: 7
Views: 9738

Re: sbcl-1.0.20

by blandest
Tue Jan 13, 2009 7:36 am
Forum: Common Lisp
Topic: sbcl-1.0.20
Replies: 7
Views: 9738

Re: sbcl-1.0.20

I've compiled the Windows version (using Msys). These contribs failed to compile: sb-posix, sb-simple-streams, but I think this is normal the Windows port.
Any idea where I could upload the installer ?
by blandest
Fri Aug 22, 2008 7:56 am
Forum: Common Lisp
Topic: Multi-core utilization in SBCL
Replies: 7
Views: 15865

Re: Multi-core utilization in SBCL

I've managed to get 100% CPU utilization on a dual core system with just 2 threads. Try this: (dotimes (k 2) (sb-thread:make-thread (lambda () (loop with x = 0 do (incf x))))) If you do a (print) instead of some computation than you'll not be able to stress the CPU because time will be wasted on IO ...
by blandest
Fri Jul 25, 2008 8:23 am
Forum: Emacs Lisp
Topic: Emacs Lisp useage of the cl package
Replies: 3
Views: 11517

Re: Emacs Lisp useage of the cl package

I started learning CL after writing some Emacs customization functions and quickly noticed the difference. You'll need things like lexical-let for lexical scoping (returning lambdas that will work correctly), defun* (for optional and keyword parameters), defmacro* (for &body) and other. I may be...
by blandest
Wed Jul 02, 2008 11:59 pm
Forum: Other Tools
Topic: What is the best git tutorial out there?
Replies: 6
Views: 39813

Re: What is the best git tutorial out there?

I started with this detailed tutorial http://www.newartisans.com/blog_files/g ... tom.up.php after using SVN and Mercurial for about one year. There are some new features that seem strange at first, but everything becomes simple after you actually use it for a few days on a real project.
by blandest
Tue Jul 01, 2008 12:33 am
Forum: Common Lisp
Topic: Best way to start on Windows : need advices
Replies: 13
Views: 36889

Re: Best way to start on Windows : need advices

I use this function (stolen from the internet) and it works with both clisp and sbcl: (defun register-asdf-systems (&key (verbose nil)) "Registers packages in asdf-registry directory with the asdf central registry" (dolist (dir-candidate (directory "/path/to/site-systems/*/")...