freenode/#lisp - IRC Chatlog
Search
8:04:13
Harag
is it acceptable to add something to *features* for your own packages? It looks like it because I can see stuff like ALEXANDRIA::SEQUENCE-EMPTYP in there.
8:09:32
phoe
normally *FEATURES* are full of keywords, but there's only this many keywords available; this, and you might want to not export that feature symbol for whatever reason
9:27:27
clintm
If I have two structs both with a slot of the same name, and I call the slot accessor function from one on an instance of the other, that's supposed to be a type error, right? If so, does allegro really just return nil?
9:28:47
clintm
I tested it in a bare alisp repl, but I'd like cofirmation before I plant a proverbial flag in the sand and say "this is bad and we shouldn't do it" at work.
9:29:56
flip214
clintm: for classes there's the generic function and methods framework. for structures the structure name is prepended for accessor names to avoid such conflicts.
9:32:57
clintm
beach: because it's two different types, at least that's what I assumed. (defstruct a id) (defstruct b id) (a-id (make-b)) -> nil. Should that really be nil? On LW it's a type error.
9:34:01
beach
Structs are designed to be fast. It wouldn't surprise me if the accessor does nothing other than access an element with a particular index.
9:39:08
clintm
Hrm, maybe if I scour the allegro docs I can find a way to turn it on even if just during testing and development. Thanks for the info, everyone!
10:00:30
Harag
is there a "prefered" "portable" pretty printing library out there that deals with writing the likes of clos objects and hashtables as readable, even if it is just readable by itself
10:02:26
phoe
and also possibly phoe-toolbox:print-instance-readably that tries to be DWIMmy in what it does
10:05:05
flip214
Harag: alexandria has (hash-table-alist) and -plist and the reverse functions... but you loose the :test that way.
10:15:45
phoe
Harag: reinventing the wheel is common in places where the standard and Alexandria are lacking
10:50:15
flip214
phoe: can only save space if there are less duplicated implementations of common things
13:36:19
phoe
flip214: I don't know what should A² be composed of; I could think a little bit on it and propose some ideas
13:40:59
Xach
Would you please try to "curl https://beta.quicklisp.org/quicklisp.lisp > /dev/null" and tell me if you get an error from curl?
13:53:48
phoe
vegai: could you give me some sort of screenshots? is the REPL and incremental compilation working?
14:01:39
Xach
I need to compress my systems.txt and releases.txt. They are by far the biggest traffic generators for dists.
14:19:16
flip214
Xach: the root certificate says valid until "18. Januar 2038, 23:59:59 GMT", perhaps that's a 31bit problem?
14:38:30
Xach
flip214: oh, i would just stick with gzip, since i already have the code for it in the client.
14:42:50
flip214
Xach: https://paste.debian.net/hidden/6b51c5a0/, both with best settings (gzip -k9, brotli -kZ)
14:43:41
flip214
about 20% smaller, but of course I understand the convenience of having the unpacker already available
14:50:13
flip214
Xach: use zopfli then. https://paste.debian.net/hidden/72cd504f/, decompression compatible with gzip - in fact, it creates .gz files by default.
16:05:02
beach
ym: A package is typically created by DEFPACKAGE. Quicklisp does not deal with packages. It deals with distributions of systems.
16:06:40
phoe
if it came from Quicklisp, then update the "quicklisp" dist - it'll update the whole Quicklisp world
16:08:04
ym
(ql:system-apropos "slime") shows slime-v2.24 version, but I have 2.23 and (ql:updata-all-dists) doesn't installs newer version.
16:11:26
ym
What do you mean by install slime? Doesn't (ql:quickload "swank") downloads slime and swank together?
16:46:46
phoe
for me, it works - (ql:where-is-system "swank") ;=> #P"/home/phoe/.roswell/lisp/quicklisp/dists/quicklisp/software/slime-v2.24/"
18:38:39
pve
(define-foo blah 123) <-- is this a "define-foo form" or a "define-foo expression" or something else?