|rahul||it could be|
|Jules__||that sounds like oo|
|rahul||sometimes it's a reasonable thing to do|
Jules__: or data-driven programming
|defcon8||yeah I'm making an irc bot|
want to add commands to a hash-table etc
|rahul||not using cl-irc?|
|rahul||hrm, oh, commands to the bot|
right, you could do it that way, an equalp hash table from command name to the function to invoke for it
|defcon8||is it possible for default values in structs?|
|froydnj||hum, bench-1d-arrays is dominated by SEARCH =/|
time to write a better benchmark?
|froydnj||it would appear so|
|Xach||cods: the k-machine had an interesting line drawing algorithm!|
http://jrm-code-project.googlecode.com/svn/trunk/kmachine/draw-line.lisp is it
|jonathon||Is there a simple way to filter out Windows-specific chars that don't print reliably in sbcl?|
|twb||Hmm, I note that for some BIZARRE reason, UID is not part of this Emacs process' environment. That's why CLC was getting upset earlier.|
|lichtblau||that looks like a shell variable that isn't exported as an environment variable normally|
|twb||lichtblau: well, starting another Emacs process in the same way, UID is set.|
|lichtblau||try posix-getenv in SBCL -- it is not set unless you "export UID" in the shell before starting SBCL|
|twb||lichtblau: I'm using ECL; SBCL didn't have the problem because it uses another function to find the UID.|
|nikodemus||don't print reliably? what does that mean?|
|jonathon||nikodemus: Well, someone entered a character via a form that was stored in a dbase, which then was printed and signaled a condition that it could not find proper encoding.|
nikodemus: I want plain ascii output for a csv export.
nikodemus: Apparently, it was a Windows version of an apostrophe, or something like that.
|nikodemus||then would you not want to be told if there are non-ascii characters in your data?|
(map-into source (lambda (c) (if (good-for-me-p c) c (replace-with-something-nice c))) source)
I have here a problem optimizing in sbcl
doing signed word to integer coercion (cost 20) to "<return value>"
even though I'm returning (1+ max-path)
and I have (declare (type fixnum maxpath)
anyone knows how I could ix this?
|froydnj||but (1+ max-path) is not necessarily a fixnum|
|filcab42||Here it is|
|froydnj||declare a smaller range for max-path|