freenode/#lisp - IRC Chatlog
Search
9:35:25
no-defun-allowed
Hold up; didn't Interlisp have a global UNDO thing? The implementation details of that might be relevant to how to implement worlds.
9:42:46
LdBeth
however, where reversible effects really get useful is only doing backtracking, in such a way there's already screamer does the job.
9:51:09
flip214
when my CSV files only has a very limited number of values in a column, what's the most compact way to handle that via pgloader? convert via a lisp function to a single-byte integer, and (optionally) reference another table? Can pgloader insert into two or more tables in a single pass for such normalization?
9:59:44
beach
boeg: Simple arrays can be multidimensional. What does it mean to append or merge a 2x3 array with a 4x2 array? If you don't want to allow such arrays, you need to tell use more restrictions.
10:01:00
boeg
beach: right, in this situation I just deal with one-dimensional arrays. I think concatenate is usable
10:18:50
boeg
Say I have two sequences of type simply-array character (n) and I want to concatenate them. If I just pass 'simple-array to concate, i get "simple-array is a bad type specifier for sequences. How do I get this to work?
10:20:37
no-defun-allowed
(simple-array <type> 1) is a one-dimensional simple-array with element-type <type>
11:03:06
aeth
Oh, it's interesting that '(simple-array character 1) works. I've always just used '(simple-array character (*))
11:05:33
imherentlybad
So I am using portableaserve and I keep on getting errors with (net.aserve:publish) when I use the :funciton keyword. When I load the path I get an error saying that req and ent do not exist
13:13:41
luis
flip214: re swank/rpc:write-header, it's pretty weird that the message length is encoded that way.
15:30:58
pjb
boeg: how do you append or merge #2((a b c) (d e f)) with #3A(((1 2) (3 4) (5 6) (7 8)) ((0 0) (0 0) (0 0) (0 0)) ((1 1) (2 2) (3 3) (4 4))) ?
16:54:56
gabc
Hi, if I put something like (declare (optimize (speed 0) (space 0) (debug 3))) at the top of my file and load it, will it affect all the definitions in the file?
16:57:25
Shinmera
you want declaim. And in that case it will affect everything that is compiled after it, not just that file.
18:15:32
pjb
gabc: never put optimization level declarations in your sources! It's not hardwired. Depending on why you compile and load, you want different optimization. When you're in the REPL debugging, you don't want the same optimizations as when you're generating the executable for customers.
18:44:53
gabc
pjb: Yes and I thought it would give me more info, which it didn't really. But it's not going to any customer anytime soon so it should be fine (I took them out because they didn't help)
20:15:57
boeg
How can I tell sly (or slime) to like clean up the sbcl image? So say I have a function loaded among a lot of other stuff, and I remove the functions from the code, how can I make sly/slime to like start from scratch, load everything anew from source files?