flip214 has quit [Read error: Connection reset by peer]
flip214 has joined #commonlisp
trumae has quit [Ping timeout: 252 seconds]
lurker has joined #commonlisp
lurker has quit [Ping timeout: 260 seconds]
xantoz has quit [Ping timeout: 240 seconds]
xantoz has joined #commonlisp
igemnace has joined #commonlisp
eddof13 has joined #commonlisp
<hashfunc569>
i'm having an issue. in my class, the #: in a form is seemingly getting stripped away when i initialize said class. here's a minimal example in the repl: https://pastebin.com/kuygzyu2
kevingal has quit [Remote host closed the connection]
<hashfunc569>
but the #: doesn't get stripped away in this context:
<hashfunc569>
the behavior that i want, is for the #: not not be stripped away
<hashfunc569>
*to not be stripped away
X-Scale` has joined #commonlisp
<hashfunc569>
nevermind. the problem was in my print function
<hashfunc569>
i was using ~A instead of ~S
X-Scale has quit [Ping timeout: 240 seconds]
X-Scale` is now known as X-Scale
<pjb>
not he first time…
aeth has quit [Ping timeout: 240 seconds]
aeth has joined #commonlisp
<hashfunc569>
pjb: very true haha. what's your general rule on when to use ~A vs ~S
edgar-rft has quit [Remote host closed the connection]
<hashfunc569>
i think i've got it. "when returing a string AND wanting the string escaped, use ~S, else use ~A"
edgar-rft has joined #commonlisp
<hashfunc569>
"OR, when returning a string, AND the string contains stuff that you don't want the reader nor printer to remove, use ~S, else use ~A"
<pjb>
hashfunc569: use ~S by default, and switch to ~A when you want more "pretty" display.
<hashfunc569>
now i wonder about the case where i'm returing a string, AND i don't want the string escaped, AND i don't want the reader nor printer to remove anything
<pjb>
hashfunc569: if you print to be read, you definitely want ~S = *print-readably* true.
<pjb>
~A = *print-readably* false.
<hashfunc569>
pjb: but if i don't want the string escaped AND for it to be readable, then it has to be ~S THEN ~A
<hashfunc569>
(FORMAT "~A" (FORMAT "~S" blah))
<hashfunc569>
right?
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<_death>
(i) use a pastebin (ii) instead of printing to a string and getting confused by the P in REPL you can try printing to standard output, i.e. (format t "~S" "Foo")
livoreno has joined #commonlisp
<hashfunc569>
_death: ok. so is the general-rule-of-thumb: "if you want to see the LITERAL representation of what you're outputting (i.e., what will appear in the file you're outputting to), use *standard-output*"
<hashfunc569>
"otherwise, if you want to see LISP printed output (based off of the current state of whatever your printer variables are set to (including the various diffrent prin* function calls)), use (FORMAT NIL ...)
<_death>
yeah, because the REPL's printer wants to show you the Lisp object, and if it's a string it needs to escape the contents so that it can be interpreted as such
<hashfunc569>
_death: ok now it clicked for me. thanks
lisp123 has joined #commonlisp
lisp123 has quit [Ping timeout: 268 seconds]
trumae has joined #commonlisp
parjanya has quit [Ping timeout: 252 seconds]
dre has joined #commonlisp
Inline__ has joined #commonlisp
Inline has quit [Ping timeout: 240 seconds]
unixlisp has joined #commonlisp
trumae has quit [Ping timeout: 268 seconds]
Inline has joined #commonlisp
Inline__ has quit [Ping timeout: 260 seconds]
trumae has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
Bike has joined #commonlisp
mfiano has quit [Quit: WeeChat 3.4.1]
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
mfiano has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
hashfunc569 has quit [Ping timeout: 256 seconds]
unixlisp has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
trumae has quit [Ping timeout: 260 seconds]
asarch has joined #commonlisp
asarch has quit [Quit: Leaving]
waleee has quit [Ping timeout: 252 seconds]
semz_ has joined #commonlisp
semz has quit [Ping timeout: 245 seconds]
hineios9 has joined #commonlisp
hineios has quit [Ping timeout: 240 seconds]
hineios9 is now known as hineios
<Spawns_Carpeting>
Shinmera: that is true but its still good to know that the library you are downloading is the one you really requested. for example if its author is a known trustworthy user or whatever
<Spawns_Carpeting>
well security is always on a spectrum anyways, just because some risks exist doesn't mean we shouldn't mitigate what we can
lurker has joined #commonlisp
<Spawns_Carpeting>
another example would be say, if I uploaded a library and then wanted to use ql to load it on other systems easily. in that case I would trust my own library, but the lack of authentication means it could still (even if unlikely) bite me
beach has joined #commonlisp
semz_ is now known as semz
<beach>
Good morning everyone!
tyson2 has quit [Remote host closed the connection]
Bike has quit [Quit: Connection closed]
wacki has joined #commonlisp
unixlisp has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
azimut has quit [Remote host closed the connection]
azimut has joined #commonlisp
unixlisp has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
lisp123 has joined #commonlisp
<unixlisp>
Now we can compare the performace of top three CL at x86-64 port, (SBCL 2.2.2, ALLEGRO free express 10.1, LISPWORKS personal edition 7.1.2), using (cl-bench:bench-run). We can see SBCL is fastest in three tests of seven tests about CLOS.
<beach>
And SBCL is not that fast with generic dispatch I think.
<unixlisp>
They are CLOS/instantiate, CLOS/simple-instantiate, CLOS/method+after.
Everything has quit [Quit: leaving]
<beach>
Oh, so generic dispatch is not really measured.
lisp123 has quit [Ping timeout: 250 seconds]
<unixlisp>
The worst are CLOS/defmethod, CLOS/complex-methods in SBCL.
<beach>
Why should we care about the performance of DEFMETHOD?
shka has joined #commonlisp
akoana has quit [Quit: leaving]
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
<unixlisp>
about defmethod, "time taken to compile and execute the DEFMETHOD forms". I think that every big macro has a cost.
unixlisp has quit [Remote host closed the connection]
<beach>
I am not sure the cost is with the macro. The expansion has to be compiled, and the time it takes varies with how much the compiler does. But again, DEFMETHOD is usually a compile-time thing to do, so it usually should not have any great impact on run-time performance
unixlisp has joined #commonlisp
<beach>
The important performance aspect of CLOS is generic dispatch.
<unixlisp>
Is there a simple test?
<beach>
I haven't given it any thought. It is probably hard to isolate the generic dispatch itself from the actual work done by the method being called.
unixlisp has quit [Remote host closed the connection]
rotateq has joined #commonlisp
unixlisp has joined #commonlisp
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
<Spawns_Carpet[m]>
Hi beach
<beach>
Spawns_Carpet[m]: Hey, what's up?
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
<beach>
unixlisp: Is it possible to avoid this repeated quitting and joining of yours?
<SAL9000>
Hi all! Just wanted to mention that ELS is using #els2022 rather than #elsconf ; for some reason the website is not 100% up-to-date yet. Maybe add that to the /topic ?
<unixlisp>
beach: sorry, it must be a net problem.
unixlisp has left #commonlisp [#commonlisp]
<beach>
Hello SAL9000.
<rotateq>
Good morning. :)
<SAL9000>
Good morning! *waves*
unixlisp has joined #commonlisp
<beach>
Hello rotateq.
<beach>
Uh, oh! Time to go wake up my (admittedly small) family.
<rotateq>
Yes indeed. ^^
<rotateq>
From 5pm on (when I'm home again) I could also join at possible video meetings or such.
<rotateq>
Oh sorry we're in #commonlisp.
unixlisp has quit [Remote host closed the connection]
unixlisp has joined #commonlisp
<unixlisp>
What is a good irc client? this gamja irc client always has a connection error.
<beach>
I don't know, but I use ERC for Emacs so that I can get my usual abbrevs and my usual spell checker. Most people don't seem to care about those, judging from the way they type.
<unixlisp>
there are some irc clients in CL, but I have not try them.
<beach>
Mainly beirc. scymtym is working on it, but there is still no spell checker.
<rotateq>
I'm happy I can use portacle on the working machine (no root for me) so also via ERC and of course for saner programming. But sometimes the handshake for TLS fails due to the gnutls.c file it says then.
<rotateq>
Ah right, I wanted to try beirc too now that I can get some stuff done with McCLIM.
<beach>
Once beirc has abbrevs and a spell checker, I will very likely switch.
unixlisp has quit [Remote host closed the connection]
pillton has quit [Ping timeout: 240 seconds]
lurker has quit [Ping timeout: 240 seconds]
frgo has quit [Ping timeout: 250 seconds]
Cymew has joined #commonlisp
dre has quit [Ping timeout: 240 seconds]
shka has quit [Ping timeout: 250 seconds]
<jackdaniel>
apparently els'22 stream doesn't require registeration after all
<jackdaniel>
see els website for links if you want to join online
rotateq has quit [Remote host closed the connection]
beach has quit [Ping timeout: 252 seconds]
MajorBiscuit has joined #commonlisp
Cymew has quit [Ping timeout: 252 seconds]
MajorBiscuit has quit [Ping timeout: 250 seconds]
MajorBiscuit has joined #commonlisp
attila_lendvai has joined #commonlisp
epolanski has joined #commonlisp
pve has joined #commonlisp
xantoz has quit [Ping timeout: 268 seconds]
xantoz has joined #commonlisp
unilisp has joined #commonlisp
mgl has joined #commonlisp
<ecraven>
is there an "unfasl" for sbcl fasls that'll decode them and show me what's stored?