#lisp - Fri 6 Apr 2007 between 12:36 and 13:35

NY Lost Funds



rahulit could be
Jules__that sounds like oo
rahulsometimes it's a reasonable thing to do
Jules__: or data-driven programming
defcon8yeah I'm making an irc bot
want to add commands to a hash-table etc
rahulnot using cl-irc?
defcon8yep
rahulhrm, 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
defcon8is it possible for default values in structs?
Xachdefcon8: yes.
froydnjhum, bench-1d-arrays is dominated by SEARCH =/
nikodemushah
time to write a better benchmark?
froydnjit would appear so
Xachcods: the k-machine had an interesting line drawing algorithm!
http://jrm-code-project.googlecode.com/svn/trunk/kmachine/draw-line.lisp is it
jonathonIs there a simple way to filter out Windows-specific chars that don't print reliably in sbcl?
twbHmm, I note that for some BIZARRE reason, UID is not part of this Emacs process' environment. That's why CLC was getting upset earlier.
lichtblauthat looks like a shell variable that isn't exported as an environment variable normally
twblichtblau: well, starting another Emacs process in the same way, UID is set.
lichtblautry posix-getenv in SBCL -- it is not set unless you "export UID" in the shell before starting SBCL
twblichtblau: I'm using ECL; SBCL didn't have the problem because it uses another function to find the UID.
nikodemusdon't print reliably? what does that mean?
jonathonnikodemus: 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.
nikodemusthen 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)
filcab42Hi
I have here a problem optimizing in sbcl
I have:
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?
froydnjbut (1+ max-path) is not necessarily a fixnum
filcab42Here it is
froydnjdeclare a smaller range for max-path

Page: 2 9 16 23 30 37 

IrcArchive

NY Lost Funds