freenode/#lisp - IRC Chatlog
Search
13:28:43
Xach
I am adapting Vectometry into an animated gif library. I intend to quantize the canvas to 256 colors with the octree method.
13:49:56
MichaelRaskin
Of all languages, Pascal is not a hard one with respect of figuring out syntax or semantics just from reading…
14:00:47
splittist
It's a better way of presenting the source code - not just colorized, but dynamic...
15:35:54
jeosol
I see a new SBCL is out today. BTW, how are you guys managing and testing with compiler version. I normally just upgrade with a new version and regenerate a bunch of core files.
15:36:39
jeosol
However, I am getting to a point where I may pin things down to use certain version. I have not used roswell, so may be it does what I need. I try not to update on a machine that runs my long jobs
15:41:27
jeosol
Ldb: very good point, I have never had any incompatible issues at all. Only issue is the core files I used, I sometimes run a docker image.
15:42:23
jeosol
yeah, regarding incompatible changes, I occasionally have to deal with "python version hell"
15:46:13
jeosol
ldb: yeah, that's my main issue - though, I could just keep the old versions and use the old binary files. It doesn't take much to generate the core files.
15:47:41
jeosol
I am trying to learn docker .. and its docker-compose, but I haven't been able to make things work well - the part where run a service.
15:47:59
ldb
it might be a good idea to keep the SBCL version util some major upgrades are made to your program
15:59:42
beach
Is it fair to say that the purpose of this function is to take a specialized lambda list and return a generic-function lambda list?
16:02:31
beach
OK. I guess my question is whether things like default values for &optional and &key parameters should be removed.
16:08:58
cl-arthur
the description only says that it removes specializers, though. I'd find it surprising if something described as removing specializers also removes information unrelated to specializers.
16:10:04
jeosol
I took an interest after beach's link. I ran the last command, but didn't get &optional in the rest, but got &rest instead
16:11:38
beach
I'll just write a separate function for extracting a generic-function lambda list from a method lambda list.
16:54:49
hhdave
fiddlerwoaroof: I'm glad you're interested in it. It does use an old parenscript, yes. I tried a newer one but it broke some code I was generating. It would be nice to update it though.
17:09:21
johnjay
hhdave: that reminds me, I was going to ask what are the cutting-edge type libraries in CL
17:09:37
johnjay
I suppose people never remove things from a language. But it can evolve over time with new libraries
17:10:34
phoe
I'd suggest Coalton and Jim Newton's https://github.com/jimka2001/regular-type-expression that are both pretty damn useful
17:18:15
johnjay
i thought it was something weirder or more abtract for specifying context free grammars
18:00:03
loke[m]
Some Climaxima progress: https://peertube.mastodon.host/videos/watch/3113d341-006d-4d35-b4c0-3cebdbdd77ae
19:10:32
exit70[m]
I tried 5.2 (from https://code.google.com/archive/p/mcl/downloads)on 10.4 and 4.2 (from an abandonware site) on 9.1/9.2.2
19:35:47
scymtym
McCLIM is not strictly functional in the sense of, for example, ELM, but it has a concept of presenting data, accepting a user command, then re-presenting the possibly changed data
19:46:40
Josh_2
can I use fast-io to read from a file or do I have to read my data and then I can use fast-io for rapid read writing once in ram?
20:36:16
phoe
so you can create a fast-io buffer from a stream and then use fast-io read functions on that buffer object
21:06:52
phoe
I think that's what happens when sequence reading is not dominated by function call overhead
21:07:58
Josh_2
turns out I've been reading files (when not using alexandria) wrong this entire time
21:12:57
Josh_2
To be fair to fast-io when reading the same file 1000x I reckon my drive will be the bottle neck
23:11:07
jcowan
I'd like to see a use case where a condition type directly inherits from more than one condition supertype. Can anyone think of one?
23:12:57
phoe
for an application named FOO, (define foo-condition () ()) and then (define foo-error (error foo-condition) ()) (define specific-foo-error (foo-error) (...))
23:13:23
phoe
these are the two most obvious ones I can think of, the first one being actually mandated by the CL standard
23:13:47
jcowan
Okay, let me reformulate. Where neither of the direct supertypes are generic ones like simple-condition.
23:14:46
MichaelRaskin
nfs-condition could plausibly be a subtype of both network and filesystem condition
23:14:52
phoe
I guess it's like with classes; whenever you'd otherwise need multiple inheritance for whatever reason..
23:17:22
jcowan
MichaelRaskin: It seems to me that a NFS condition could be either a network or a filesystem condition, but hardly both. If you get a network error, you have no access to the file system, ugye?
23:17:45
phoe
(define-condition person-not-allowed-into-building (person-error building-error) ()) and such