freenode/#lisp - IRC Chatlog
Search
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.