Search
Sunday, 22nd of October 2017, 19:19:53 UTC
19:54:37
dmiles
sjl: do you think your Prolog would global overflow on fibonacci ?
20:16:01
sjl_
dmiles: I implemented last call optimization, if that's what you're asking
20:25:29
dmiles
sjl_: yeah that is what i was asking
22:14:38
borodust
Xach, any ETAs on loadable main dist?
22:18:22
Xach
borodust: what is a loadable main dist?
22:21:05
borodust
Xach: latest quicklisp dist doesnt seem to load a couple of libs after #'ql:update-all-dists
22:23:30
borodust
Xach: top frame http://pix.toile-libre.org/upload/original/1508709709.png
22:24:24
Xach
borodust: hmm, does it work if you load static-vectors first?
22:27:21
borodust
this error in the top frame
22:27:31
borodust
this was reported to me by user, cant investigate it further atm (afk). Ill recheck tomorrow
22:28:00
Xach
borodust: i hope to have another release tomorrow, at any rate, but i don't know if it will fix that issue.
2:29:45
krwq
is there a #'mismatch equivalent for streams?
2:49:57
beach
Good morning everyone!
6:23:19
phoe_
krwq: what is #'mismatch?
6:29:16
krwq
phoe_: http://www.lispworks.com/documentation/HyperSpec/Body/f_mismat.htm
6:30:12
krwq
phoe_: I've wrote my own func for checking equality of files already but perhaps there is some more idiomatic way
6:45:05
Zhivago
Why are you checking for the equality of files?
6:47:28
phoe_
krwq: streams? take into account that a stream (a Gray stream, for example) can do arbitrary computation on read, so this becomes an instance of a halting problem
6:47:34
phoe_
sequences are finite, streams aren't
6:48:13
Zhivago
There are a number of efficient methods for determining file equality but they have overhead.
6:50:15
Shinmera
I mean, it's just a short loop: (loop for i from 0 always (eql (read-* s1) (read-* s2)) finally (return i))
6:50:26
Shinmera
Though I fail to see the utility in this
6:50:36
Shinmera
After all, once you've done this the data in the streams is gone.
6:50:43
phoe_
Shinmera: file-position
6:51:40
Shinmera
phoe_: Sure, but that only applies to some streams, and even then what's the point of determining this position?
6:52:36
phoe_
SETFing it to 0, you're on the beginning of the stream again.
6:52:45
phoe_
And Zhivago is talking about files here, so this could work.
6:52:55
Shinmera
Yes but what's the point
6:53:08
Zhivago
That is the question. :)
Monday, 23rd of October 2017, 7:19:53 UTC