freenode/#lisp - IRC Chatlog
Search
5:09:37
aeth
for 2D (probably the most common after 1D), just selecting a row and a start and an end works for most cases
6:43:18
karlosz
its wrong to assume that array elements are initialized to 0 without specfiying initial element or initial contents right?
6:45:41
beach
"If initial-element is not supplied, the consequences of later reading an uninitialized element of new-array are undefined unless either initial-contents is supplied or displaced-to is non-nil."
6:46:22
karlosz
right, i was beginning to self doubt myself because the sbcl internals make that assumption somewhere in make-hash-table
6:49:04
karlosz
an array is created but implicitly assumed to be initialized to zero which was causing problems for me
15:27:38
jmercouris
I get a 0: (CFFI::FL-ERROR "Unable to load any of the alternatives:~% ~S" ("libmysqlclient.20.dylib" "libmysqlclient.dylib"))
15:28:03
Bike
i believe it does whatever the implementation does, and the implementation probably defers to the operating system
15:28:33
Bike
https://common-lisp.net/project/cffi/manual/html_node/_002aforeign_002dlibrary_002ddirectories_002a.html
15:33:39
rpg
I have been having trouble with slime-selector recently -- none of the characters I type as selections matches against slime-selector-methods. E.g.: "No method for character: ?\R" -- any idea why this would be happening? I'm not sure what is going on, but it seems like my selector characters are being UPCASED, then matched against slime-selector-methods. Any idea what could be doing this upcasing?
15:40:48
Ukari
i want to export some methods named 'map' and 'do' which would accept special classtype argument in my package, but there has already been 'map' and 'do' function in package :cl
15:45:38
scymtym
for CL:MAP, you could also look into user-extensible sequences, but not many implementations support them
15:52:12
lieven
Ukari: basically, when you type "map" in your code, the reader converts it to "MAP" and that's the name of the symbol defined in the CL package. by writing |map| you instruct the reader to make a symbol with as name "map"
15:56:08
rpg
Looks like read-key-sequence should give me the lower-case character, but somehow it seems not.
15:57:14
Ukari
thanks you, lieven, thought i might change the function name instead of use |map| as a method name which would be export due to it seems a bit strange to be wrap with ||
15:59:41
rpg
*In the context of slime-selector* read-key-sequence is upcasing. Anyone have a clue about what could be doing this? some rogue dynamically-scoped variable?
16:03:24
rpg
Should this be worrying me: Warning: Bug in minibuffer-inactive-mode: it forgets to call `run-mode-hooks'