freenode/#lisp - IRC Chatlog
Search
17:30:14
pjb
At least not here, since we're rather monomaniatical about Common Lisp. Try: ##lisp or #yacas?
17:33:33
dTal
Ah, fair enough. Although it looks like there was a succesful effort once upon a time to port Yacas to Common Lisp, sadly lost
17:34:08
dTal
At least according to http://hackipedia.org/Languages,%20computer/Lisp/Lisp%20As%20An%20Implementation%20Language%20For%20Computer%20Algebra%20Systems,%20Yacas%20v1.0.55%20%28May%2020,%202003%29.pdf
18:52:58
MONODA
anyone here use caveman to build a RESTful server? I'm trying to figure out how to send a body explaining the error when the client sends an invalid request
18:54:01
MONODA
the provided `throw-code` just gives the typical explanation of the error code. it doesn't allow you to provide a body in the response
19:00:58
JuanDaugherty
alternate body is a (seldom used) thing though, i think there is or used to be a tag for it
19:26:00
knobo
Bicyclidine: I've heard about "Schrödinger's cat". But you mentioned a dog. Does it have to do anyting about Euler?
19:26:07
Bicyclidine
since complex arithmetic is available, you can say more generally that (approx= x (phase (exp (* x #(0 1)))))
20:34:03
sabrac
<Bicyclidine> I would have expected some asdf function to get me there, but apparently not.
21:10:51
ebrasca
sabrac: How to document my lisp code. eg: https://github.com/ebrasca/turtle-graphics
21:20:34
sabrac
<ebrasca>Are you asking for mechanics within the code, how to automatically write an api or thoughts on content?
21:21:10
sabrac
Your forward and jump functions are both documeted, so you could use a library like staple to generate documentation from the document strings .
21:21:24
sabrac
But if I look at (forward) and (jump), both functions are documented, but they are not clear.
21:25:53
sabrac
BTW, staple's website is at https://github.com/Shinmera/staple. I found it easy to use.
22:46:52
blackwolf
anyone have a suggestion or recommendation for filling a large array of '(unsigned-byte 8) with random bytes?
22:52:37
Bicyclidine
i think sbcl gets 32-bit words from mersenne, so you could get those and shift them in
22:58:01
blackwolf
was thinking something along the lines of that, e.g. (random (expt 2 64)) ... would prefer something like memcpy rather than shift, maybe a solution involving ldb. that would require getting access to an integer as a block of bytes. perhaps cffi.