jackdaniel changed the topic of #commonlisp to: Common Lisp, the #1=(programmable . #1#) programming language | Wiki: <https://www.cliki.net> | IRC Logs: <https://irclog.tymoon.eu/libera/%23commonlisp> | Cookbook: <https://lispcookbook.github.io/cl-cookbook> | Pastebin: <https://plaster.tymoon.eu/> | News: ELS'22 this Monday (2022-03-21), see https://european-lisp-symposium.org
mon_aaraj has quit [Ping timeout: 240 seconds]
notzmv has quit [Ping timeout: 260 seconds]
perrierjouet has quit [Quit: WeeChat 3.4.1]
igemnace has joined #commonlisp
Alfr has quit [Remote host closed the connection]
epony has quit [Ping timeout: 240 seconds]
Alfr has joined #commonlisp
jmpeax has quit [Remote host closed the connection]
random-nick has quit [Ping timeout: 240 seconds]
zacque has joined #commonlisp
unixlisp has joined #commonlisp
epony has joined #commonlisp
<unixlisp> scymtym: I checked the log, thanks for the reply. For me, the old beirc donot work (there is fatal bug).
<Colleen> unixlisp: scymtym said 14 hours, 23 minutes ago: it is unfinished and unpublished. if you just want to get an idea of what it will be like, i can post a screenshot later
<unixlisp> I hope the new beirc is stable and reliable, not necessary feature rich, but usable.
Bike has quit [Quit: Lost terminal]
Everything has left #commonlisp [#commonlisp]
<dbotton> I have neem trying different things, but can't figure how to access the report string from a define-condition in a handler-case
<dbotton> it seems from clhs that this should do it
<dbotton> but does not
<pillton> Try binding *print-escape* to NIL.
* pillton is now trying to figure out if T is a valid stream argument for PRINT-OBJECT.
<_death> you shouldn't call print-object anyway.. instead you can princ or format
akoana has joined #commonlisp
<sm2n> is there a way to have a lexically scoped method a la flet?
<_death> not in CL.. there was a WITH-ADDED-METHODS but it didn't survive
brocolis has joined #commonlisp
<dbotton> so if you do a defmethod inside of a lexical scope, I know works, but those methods or top-level?
<_death> according to http://clhs.lisp.se/Issues/iss181_w.htm with-added-methods didn't allow extending a global gf
<_death> dbotton: defmethod affects the global gf.. that it can refer to some lexical environment is beside the point
<dbotton> ok
raeda has quit [Ping timeout: 240 seconds]
<_death> you could have some operator that does add-method/remove-method, I guess.. but it would affect other threads for instance
raeda has joined #commonlisp
<dbotton> princ worked perfect (and so did *print-escape* if using (*standard-output*))
Posterdati has quit [Ping timeout: 240 seconds]
<_death> sm2n: but maybe what you're really after can be found in, say, contextl
<zacque> Hi, can `format` be used to pretty print a list recursively?
<zacque> Erm... I meant whether the format directives powerful enough to pretty print an arbitrary nested list
<zacque> E.g. print '(a b c) or '(a b (c d e) ((f))) into some format like back to itself "(a b c)" and "(a b (c d e) ((f)))".
<zacque> Or do I need to define a custom function to traverse and print the list?
<_death> (format t "~S" '(a b (c d e) ((f))))
<zacque> _death: Lol, that only works for the very specific example given
<zacque> What if I want something like "(a,b,c)" and "(a,b,(c,d,e),((f)))"?
<_death> it supports iteration with ~{ and can interpret more control strings using ~? but it wouldn't be great to use it for that kind of job
Posterdati has joined #commonlisp
<_death> instead you can use pretty-printer operators (some of which are also available as format directives)
<zacque> -? seems close but not quite
<zacque> ~{ can handle a uniform structured list well, but what I've in mind is in fact a tree represented by a list
<zacque> Oh, maybe my question should be: whether `format` can be used to print out an arbitrary tree represented by a list?
brocolis has quit [Quit: Quit]
<_death> it probably can but you need to prepare your inputs accordingly, to the point where it's not worth it
<_death> better to just use plain lisp.. or some operator that's more fit to purpose (as hinted by http://cs-www.cs.yale.edu/homes/dvm/format-stinks.html )
notzmv has joined #commonlisp
Tallund has joined #commonlisp
unixlisp has left #commonlisp [#commonlisp]
raeda has quit [Ping timeout: 260 seconds]
minion has quit [Remote host closed the connection]
specbot has quit [Remote host closed the connection]
minion has joined #commonlisp
specbot has joined #commonlisp
igemnace has quit [Quit: WeeChat 3.4.1]
<zacque> _death: Thanks for the article, but I like the compactness of format's control-string at the moment
<zacque> It's about how one can "pretty-print" an S-exp into a Pascal code using the pretty-printing facilities + format
<_death> right.. another example is http://norvig.com/ltd/doc/ltd.html
jack_rabbit has joined #commonlisp
knusbaum has quit [Ping timeout: 260 seconds]
<zacque> Ha! That's interesting to me
Inline__ has joined #commonlisp
Inline has quit [Ping timeout: 240 seconds]
knusbaum has joined #commonlisp
jack_rabbit has quit [Ping timeout: 256 seconds]
Guest74 has joined #commonlisp
hashfunc569 has joined #commonlisp
<hashfunc569> is there a simple strategy/idiom for seeing if a hash table contains at least one specific element without having to use MAPHASH. like for example, in pseudo-code: (EXISTS-IN-HASH-TABLE :KEY 'ANY :VALUE #'EVENP MY-HASH-TABLE) => T OR => NIL
Tallund has quit [Quit: Client closed]
ebrasca has quit [Remote host closed the connection]
<_death> you can iterate through a hash-table using loop as well, or with-hash-table-iterator.. but these are all linear scans
<hashfunc569> _death: ok thanks. i'll probably have to use loop
mon_aaraj has joined #commonlisp
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #commonlisp
mon_aaraj has quit [Ping timeout: 240 seconds]
mon_aaraj has joined #commonlisp
waleee has quit [Ping timeout: 252 seconds]
tyson2 has quit [Remote host closed the connection]
euandreh has quit [Ping timeout: 252 seconds]
hashfunc569 has quit [Ping timeout: 240 seconds]
euandreh has joined #commonlisp
semz_ has joined #commonlisp
semz has quit [Ping timeout: 260 seconds]
semz_ is now known as semz
eddof13 has joined #commonlisp
pve has joined #commonlisp
<Josh_2> Good morning
unixlisp has joined #commonlisp
unixlisp has left #commonlisp [#commonlisp]
shka has joined #commonlisp
bru has joined #commonlisp
beach has joined #commonlisp
<beach> Good morning everyone!
<zacque> Morning
<zacque> Does anyone have success using trivia.quasiquote package?
<zacque> Not sure why following the doc example doesn't work: https://paste.debian.net/1235417/
lisp123 has joined #commonlisp
<Josh_2> zacque: Match is part of the trivia package, try (ql:quickload :trivia) (trivia:match ..)
lisp123 has quit [Remote host closed the connection]
<zacque> Josh_2: Ah, forgot about that :facepalm:
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zacque> Thanks you
<zacque> Didn't realise the error is about that as well
igemnace has joined #commonlisp
<zacque> I meant using `trivia:match` solves the problem
OlCe has quit [Remote host closed the connection]
notzmv has quit [Ping timeout: 252 seconds]
jmiven has quit [Quit: reboot]
jmiven has joined #commonlisp
akoana has quit [Quit: leaving]
MajorBiscuit has joined #commonlisp
Dynom has joined #commonlisp
Major_Biscuit has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 245 seconds]
beach has quit [Ping timeout: 260 seconds]
Brucio-61 has quit [Ping timeout: 260 seconds]
scymtym has quit [Ping timeout: 260 seconds]
amb007 has quit [Ping timeout: 272 seconds]
OlCe has joined #commonlisp
amb007 has joined #commonlisp
scymtym has joined #commonlisp
Brucio-61 has joined #commonlisp
lisp123 has joined #commonlisp
s-liao has joined #commonlisp
s-liao68 has joined #commonlisp
s-liao has quit [Ping timeout: 256 seconds]
lisp123 has quit [Ping timeout: 256 seconds]
mgl has joined #commonlisp
<phoe> when uploading a file via clack, how does one force it to open a character stream rather than a byte stream?
<stylewarning> are the els22 draft proceedings anywhere?
<phoe> stylewarning: https://drive.google.com/file/d/1-eCXl56z_zIJE_0WTHStejgRup0ti9YM/view is a link from Jim, and these are preliminary
<Josh_2> phoe: are you using clack alone or ningle?
<Josh_2> With ningle you can override the http-body:parse function and that will disable parsing, then you can handle the raw-body yourself
<stylewarning> phoe: thanks!
Oddity has quit [Ping timeout: 256 seconds]
<phoe> seems like clack alone
lisp123 has joined #commonlisp
mon_aaraj has quit [Ping timeout: 260 seconds]
mon_aaraj has joined #commonlisp
nature has joined #commonlisp
perrierjouet has joined #commonlisp
pillton has quit [Quit: ERC (IRC client for Emacs 27.2)]
notzmv has joined #commonlisp
perrierjouet has quit [Quit: WeeChat 3.4.1]
kevingal has joined #commonlisp
perrierjouet has joined #commonlisp
lisp123 has quit [Remote host closed the connection]
perrierjouet has quit [Quit: WeeChat 3.4.1]
s-liao68 has quit [Ping timeout: 256 seconds]
perrierjouet has joined #commonlisp
razetime has joined #commonlisp
lisp123 has joined #commonlisp
<antoszka> Guys, anybody bumped into `EFAULT OSICAT-POSIX::%IOCTL-WITH-ARG 14 :EFAULT "Bad address"` when running OSICAT on Apple M1 (trying to run LINEDIT)
tyson2 has joined #commonlisp
mon_aaraj has quit [Ping timeout: 268 seconds]
lisp123 has quit [Ping timeout: 256 seconds]
mon_aaraj has joined #commonlisp
mon_aaraj has quit [Ping timeout: 260 seconds]
<sm2n> _death: context1? with-added-methods looks like what I wanted, or at least the original intent, apparently. "With-added-methods had the flaw that it did not allow one to extend a global generic function within its dynamic extent, which I believe was the intent of its proposer." <- this is exactly what I want to do
mon_aaraj has joined #commonlisp
Maxc4m has joined #commonlisp
Major_Biscuit has quit [Ping timeout: 245 seconds]
random-nick has joined #commonlisp
Major_Biscuit has joined #commonlisp
beach has joined #commonlisp
Dynom has quit [Quit: WeeChat 3.4]
euandreh has quit [Ping timeout: 240 seconds]
mon_aaraj has quit [Ping timeout: 260 seconds]
rain3 has joined #commonlisp
mon_aaraj has joined #commonlisp
unixlisp has joined #commonlisp
beach has quit [Ping timeout: 240 seconds]
wmblathe_ has quit [Quit: Leaving...]
karlosz has joined #commonlisp
karlosz has quit [Client Quit]
Colleen has quit [Quit: Colleen]
Nilby has joined #commonlisp
Josh_2 has quit [Remote host closed the connection]
Josh_2 has joined #commonlisp
Major_Biscuit has quit [Ping timeout: 260 seconds]
boigahs has joined #commonlisp
Major_Biscuit has joined #commonlisp
s-liao has joined #commonlisp
unixlisp has left #commonlisp [#commonlisp]
unixlisp has joined #commonlisp
Bike has joined #commonlisp
<Bike> sm2n: https://github.com/pcostanza/contextl lets you give classes more slots and functions more methods within the dynamic extent of a "layer"
kevingal has quit [Ping timeout: 245 seconds]
wmblathers has joined #commonlisp
unixlisp has left #commonlisp [#commonlisp]
mon_aaraj has quit [Ping timeout: 240 seconds]
kevingal has joined #commonlisp
karlosz has joined #commonlisp
mon_aaraj has joined #commonlisp
mon_aaraj has quit [Ping timeout: 256 seconds]
lisp123 has joined #commonlisp
mon_aaraj has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
lisp123 has quit [Ping timeout: 240 seconds]
rain3 has quit [Ping timeout: 260 seconds]
Maxc4m has quit [Quit: Maxc4m]
mon_aaraj has quit [Ping timeout: 256 seconds]
aeth has quit [Ping timeout: 260 seconds]
aeth has joined #commonlisp
Josh_2 has quit [Remote host closed the connection]
jimka2001 has joined #commonlisp
Major_Biscuit has quit [Ping timeout: 260 seconds]
<dbotton> phoe I have a sample converts the stream to utf-8
<dbotton> sorry wrong paste
<jimka2001> hey did anyone take a nice picture of porto that I can use (without giving anybody any credit) for the proceedings? If you have a picture you can give me I just need one more.
<dbotton> that is for the mutlipart item
<phoe> dbotton: oh, using a flex stream
<phoe> I guess that works!
beach has joined #commonlisp
mon_aaraj has joined #commonlisp
<jimka2001> BTW, I finally found a picture of my own I can use. Thanks anyone who was trying to find me one.
Major_Biscuit has joined #commonlisp
kevingal has quit [Ping timeout: 252 seconds]
kevingal has joined #commonlisp
zacque has quit [Quit: Goodbye :D]
s-liao has quit [Quit: Client closed]
karlosz has quit [Quit: karlosz]
karlosz has joined #commonlisp
ec has quit [Ping timeout: 240 seconds]
mgl has quit [Ping timeout: 256 seconds]
amb007 has quit [Ping timeout: 245 seconds]
lisp123 has joined #commonlisp
kevingal has quit [Ping timeout: 256 seconds]
eddof13 has joined #commonlisp
eddof13 has quit [Client Quit]
lisp123 has quit [Ping timeout: 252 seconds]
cage has joined #commonlisp
euandreh has joined #commonlisp
Brucio-61 has quit [Ping timeout: 252 seconds]
waleee has joined #commonlisp
Brucio-61 has joined #commonlisp
trumae has joined #commonlisp
euandreh has quit [Ping timeout: 245 seconds]
euandreh has joined #commonlisp
Major_Biscuit has quit [Ping timeout: 260 seconds]
kevingal has joined #commonlisp
Major_Biscuit has joined #commonlisp
wacki has joined #commonlisp
ec has joined #commonlisp
mfiano has quit [Remote host closed the connection]
robin_ has joined #commonlisp
robin has quit [Ping timeout: 240 seconds]
attila_lendvai has joined #commonlisp
mfiano has joined #commonlisp
trumae has quit [Ping timeout: 268 seconds]
razetime has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
trumae has joined #commonlisp
Major_Biscuit has quit [Ping timeout: 250 seconds]
Major_Biscuit has joined #commonlisp
bru has quit [Ping timeout: 260 seconds]
Inline__ is now known as Inline
morganw has joined #commonlisp
mon_aaraj has quit [Ping timeout: 260 seconds]
Guest3 has joined #commonlisp
mon_aaraj has joined #commonlisp
kpoeck has joined #commonlisp
Guest3 has quit [Client Quit]
rain3 has joined #commonlisp
jeosol has joined #commonlisp
trumae has quit [Ping timeout: 256 seconds]
trumae has joined #commonlisp
<sm2n> Bike: thanks!
Inline has quit [Ping timeout: 256 seconds]
trumae has quit [Read error: Connection reset by peer]
trumae has joined #commonlisp
ec has quit [Remote host closed the connection]
kevingal has quit [Ping timeout: 252 seconds]
Cymew has joined #commonlisp
ec has joined #commonlisp
rotateq has joined #commonlisp
Inline has joined #commonlisp
ec has quit [Quit: ec]
ec has joined #commonlisp
ec has quit [Client Quit]
ec has joined #commonlisp
karlosz has quit [Quit: karlosz]
treflip has joined #commonlisp
tane has joined #commonlisp
tane has quit [Changing host]
tane has joined #commonlisp
hhdave has quit [Ping timeout: 252 seconds]
hhdave_ has joined #commonlisp
mon_aaraj has quit [Ping timeout: 240 seconds]
mon_aaraj has joined #commonlisp
kpoeck has quit [Quit: Client closed]
treflip has quit [Quit: Quit]
Guest74 has quit [Quit: Connection closed]
tyson2 has joined #commonlisp
beach has quit [Ping timeout: 260 seconds]
kpoeck has joined #commonlisp
aeth has quit [Ping timeout: 260 seconds]
aeth has joined #commonlisp
kpoeck has quit [Ping timeout: 256 seconds]
trumae has quit [Ping timeout: 240 seconds]
jeosol has quit [Quit: Client closed]
trumae has joined #commonlisp
rain3 has quit [Ping timeout: 260 seconds]
amb007 has joined #commonlisp
trumae has quit [Read error: Connection reset by peer]
trumae has joined #commonlisp
kpoeck has joined #commonlisp
hhdave_ has quit [Ping timeout: 240 seconds]
trumae has quit [Ping timeout: 268 seconds]
Dynom has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
trumae has joined #commonlisp
trumae has quit [Ping timeout: 240 seconds]
trumae has joined #commonlisp
orestarod has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 27.1]
attila_lendvai has quit [Ping timeout: 240 seconds]
trumae has quit [Ping timeout: 240 seconds]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 256 seconds]
Lord_of_Life_ is now known as Lord_of_Life
pieguy128_ has joined #commonlisp
pieguy128 has quit [Ping timeout: 260 seconds]
X-Scale` has joined #commonlisp
Lord_of_Life has quit [Excess Flood]
Lord_of_Life has joined #commonlisp
X-Scale has quit [Ping timeout: 272 seconds]
X-Scale` is now known as X-Scale
pieguy128 has joined #commonlisp
pieguy128_ has quit [Ping timeout: 252 seconds]
hhdave has joined #commonlisp
rogersm has quit [Ping timeout: 256 seconds]
pieguy128 has quit [Max SendQ exceeded]
pieguy128 has joined #commonlisp
rogersm has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
mon_aaraj has quit [Ping timeout: 272 seconds]
mon_aaraj has joined #commonlisp
kpoeck has quit [Ping timeout: 256 seconds]
kpoeck has joined #commonlisp
kevingal has joined #commonlisp
rogersm has quit [Quit: Leaving...]
trumae has joined #commonlisp
kpoeck has quit [Quit: Client closed]
Mrtn[m] has quit [Quit: Reconnecting]
Mrtn[m] has joined #commonlisp
trumae has quit [Ping timeout: 250 seconds]
n1to has joined #commonlisp
kpoeck has joined #commonlisp
wacki has quit [Quit: Leaving.]
Major_Biscuit has quit [Quit: WeeChat 3.4]
Dynom has quit [Quit: WeeChat 3.4]
trumae has joined #commonlisp
wyrd has quit [Ping timeout: 240 seconds]
kevingal has quit [Remote host closed the connection]
scymtym has quit [Ping timeout: 240 seconds]
Brucio-61 has quit [Ping timeout: 268 seconds]
wyrd has joined #commonlisp
Guest74 has joined #commonlisp
rgherdt has quit [Ping timeout: 240 seconds]
rgherdt has joined #commonlisp
tyson2 has joined #commonlisp
Brucio-61 has joined #commonlisp
lisp123 has joined #commonlisp
lisp123 has quit [Remote host closed the connection]
lisp123 has joined #commonlisp
lisp123 has quit [Ping timeout: 240 seconds]
Brucio-61 has quit [Read error: Connection reset by peer]
kevingal has joined #commonlisp
scymtym has joined #commonlisp
Brucio-61 has joined #commonlisp
pillton has joined #commonlisp
perrierjouet has quit [Ping timeout: 252 seconds]
n1to has quit [Quit: Leaving]
ec has quit [Quit: ec]
karlosz has joined #commonlisp
Colleen has joined #commonlisp
Colleen has quit [Client Quit]
Colleen has joined #commonlisp
trumae has quit [Read error: Connection reset by peer]
trumae has joined #commonlisp
karlosz has quit [Read error: Connection reset by peer]
kpoeck has quit [Quit: Client closed]
karlosz has joined #commonlisp
pve has quit [Quit: leaving]
karlosz has quit [Ping timeout: 260 seconds]
cosimone has quit [Quit: ERC (IRC client for Emacs 27.1)]
morganw has quit [Remote host closed the connection]
lisp123 has joined #commonlisp
cosimone has joined #commonlisp
tane has quit [Quit: Leaving]
lisp123 has quit [Remote host closed the connection]
nature has quit [Ping timeout: 260 seconds]
perrierjouet has joined #commonlisp
trumae has quit [Ping timeout: 260 seconds]
trumae has joined #commonlisp
Mrtn[m] has quit [Quit: Reconnecting]
Mrtn[m] has joined #commonlisp
lisp123 has joined #commonlisp