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/>
dcb has joined #commonlisp
cimento has joined #commonlisp
Oladon has quit [Quit: Leaving.]
varjag has quit [Ping timeout: 256 seconds]
cranej has joined #commonlisp
azimut has quit [Remote host closed the connection]
azimut has joined #commonlisp
kevingal has quit [Ping timeout: 252 seconds]
Pixel_Outlaw has quit [Quit: Leaving]
eddof13 has quit [Quit: eddof13]
cimento has quit [Quit: WeeChat 4.1.2]
random-nick has quit [Ping timeout: 264 seconds]
bilegeek has joined #commonlisp
markb1 has quit [Ping timeout: 260 seconds]
szkl has quit [Quit: Connection closed for inactivity]
markb1 has joined #commonlisp
rogersm has joined #commonlisp
cimento has joined #commonlisp
rogersm has quit [Ping timeout: 264 seconds]
markb1 has quit [Remote host closed the connection]
Pixel_Outlaw has joined #commonlisp
avocadoist has quit [Ping timeout: 255 seconds]
avocadoist has joined #commonlisp
masinter has joined #commonlisp
akoana has joined #commonlisp
domovod has joined #commonlisp
bilegeek has quit [Quit: Leaving]
avocadoist has quit [Ping timeout: 276 seconds]
olnw has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
ronald has quit [Ping timeout: 252 seconds]
waleee has quit [Ping timeout: 264 seconds]
edr has quit [Quit: Leaving]
ronald has joined #commonlisp
ronald has quit [Read error: Connection reset by peer]
ronald has joined #commonlisp
dinomug has quit [Remote host closed the connection]
dnhester26 has quit [Remote host closed the connection]
snits has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
beach` has joined #commonlisp
beach has quit [Killed (NickServ (GHOST command used by beach`!~user@2a01:cb19:f85:d900:1162:ab41:6806:f120))]
beach` is now known as beach
dcb has quit [Quit: MSN Messenger 4.1.2]
igemnace has joined #commonlisp
snits has joined #commonlisp
dnhester26 has joined #commonlisp
snits has quit [Ping timeout: 256 seconds]
snits has joined #commonlisp
decweb has quit [Ping timeout: 252 seconds]
snits has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
snits has joined #commonlisp
bilegeek has joined #commonlisp
Pixel_Outlaw has quit [Quit: Leaving]
igemnace has quit [Read error: Connection reset by peer]
notzmv has quit [Ping timeout: 245 seconds]
Pixel_Outlaw has joined #commonlisp
<beach> Wow, the example code in the FUNCALL dictionary entry does not only invoke undefined behavior, but is in fact specified to be nonconforming.
avocadoist has joined #commonlisp
<beach> And I don't see an easy way to fix it, because it relies on the symbol CONS to mean three different things.
<beach> I guess define a new global function and substitute it for CONS.
igemnace has joined #commonlisp
alfplayer has quit [Ping timeout: 246 seconds]
domovod has quit [Ping timeout: 260 seconds]
avocadoist has quit [Ping timeout: 255 seconds]
Pixel_Outlaw has quit [Quit: Leaving]
snits has quit [Ping timeout: 260 seconds]
alfplayer has joined #commonlisp
szkl has joined #commonlisp
doyougnu has quit [Ping timeout: 260 seconds]
varjag has joined #commonlisp
traidare has joined #commonlisp
_cymew_ has joined #commonlisp
notzmv has joined #commonlisp
rgherdt has joined #commonlisp
olnw has left #commonlisp [#commonlisp]
jonatack has quit [Read error: Connection reset by peer]
jonatack has joined #commonlisp
doyougnu has joined #commonlisp
danza has joined #commonlisp
doyougnu has quit [Ping timeout: 260 seconds]
doyougnu has joined #commonlisp
shka has joined #commonlisp
mgl has joined #commonlisp
rtypo has joined #commonlisp
luis5 has quit [Ping timeout: 240 seconds]
akoana has quit [Quit: leaving]
rogersm has joined #commonlisp
danza has quit [Read error: Connection reset by peer]
Demosthe1ex has joined #commonlisp
domovod has joined #commonlisp
Demosthenex has quit [Ping timeout: 268 seconds]
Demosthenex has joined #commonlisp
Demosthe1ex has quit [Ping timeout: 256 seconds]
dajole has quit [Quit: Connection closed for inactivity]
danse-nr3 has joined #commonlisp
attila_lendvai has joined #commonlisp
pve has joined #commonlisp
tibfulv has quit [Remote host closed the connection]
tibfulv has joined #commonlisp
AetherWind has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 260 seconds]
Lord_of_Life_ is now known as Lord_of_Life
danse-nr3 has quit [Remote host closed the connection]
anticrisis has quit [Read error: Connection reset by peer]
danse-nr3 has joined #commonlisp
rogersm has quit [Remote host closed the connection]
rogersm has joined #commonlisp
bendersteed has joined #commonlisp
bendersteed has quit [Changing host]
bendersteed has joined #commonlisp
attila_lendvai has quit [Ping timeout: 268 seconds]
leungbk has joined #commonlisp
bilegeek has quit [Quit: Leaving]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
Cymew has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
<scymtym> speaking of, did we discuss before that https://novaspec.org/cl/f_mapc mentions a result-type in one sentence without any connection to the rest of the entry?
<ixelp> mapc, mapcar, mapcan, mapl, maplist, mapcon | Common Lisp Nova Spec
traidare has quit [Ping timeout: 255 seconds]
<beach> I don't recall that.
<beach> That phrase must have been copied from MAP.
<scymtym> (i don't mean novaspec specifically. dpans contains the same sentence)
<beach> Yes, of course.
<beach> Indeed, the same sentence appears in the entry for MAP.
<scymtym> the resolution is just removal for MAPC and friends, right?
<beach> That's what I think, yes.
<beach> scymtym: Speaking of which, I haven't been writing "issues" for WSCL because of the constraints on the layout. I wonder whether there is a way to fix that.
<beach> I kind of imagined a website where one could fill in a form, more or less complete, and then work on it little by little.
<beach> But I am not able to create such a thing myself. I asked (I think here) whether someone would be interested, but I unsurprisingly didn't get any takers.
<beach> ... despite my impression that the majority of participants do web programming all the time.
<scymtym> for small things or when short on time, i have just submitted github issues. those can be turned into proper issues or, if uncontroversial, immediate changes as described in https://github.com/s-expressionists/dpans/tree/main/changes
<beach> Yes, I see.
rainthree has joined #commonlisp
random-nick has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
avocadoist has joined #commonlisp
avocadoist has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
domovod has quit [Ping timeout: 256 seconds]
decweb has joined #commonlisp
traidare has joined #commonlisp
avocadoist has joined #commonlisp
yitzi has joined #commonlisp
rogersm has quit [Remote host closed the connection]
danse-nr3 has quit [Ping timeout: 276 seconds]
tyson2 has quit [Read error: Connection reset by peer]
tyson2 has joined #commonlisp
random-nick has quit [Ping timeout: 268 seconds]
random-nick has joined #commonlisp
leungbk has quit [Ping timeout: 245 seconds]
danse-nr3 has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
cage has joined #commonlisp
igemnace has quit [Read error: Connection reset by peer]
rogersm has joined #commonlisp
rogersm has quit [Remote host closed the connection]
rogersm has joined #commonlisp
rogersm has quit [Remote host closed the connection]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
igemnace has joined #commonlisp
beach has quit [Ping timeout: 240 seconds]
khrbtxyz has quit [Ping timeout: 240 seconds]
khrbtxyz has joined #commonlisp
rainthree has quit [Read error: Connection reset by peer]
rainthree has joined #commonlisp
kevingal has joined #commonlisp
yitzi has quit [Ping timeout: 268 seconds]
yitzi_ has joined #commonlisp
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
yitzi_ has quit [Remote host closed the connection]
seanw has quit [Remote host closed the connection]
seanw has joined #commonlisp
dnhester_ has joined #commonlisp
dnhester26 has quit [Ping timeout: 256 seconds]
dcb has joined #commonlisp
BrokenCog has quit [Remote host closed the connection]
markb1 has joined #commonlisp
edr has joined #commonlisp
methodman has joined #commonlisp
danse-nr3 has quit [Ping timeout: 276 seconds]
danse-nr3 has joined #commonlisp
avocadoist has quit [Ping timeout: 268 seconds]
avocadoist has joined #commonlisp
avocadoist has quit [Remote host closed the connection]
szkl has quit [Quit: Connection closed for inactivity]
cranej has quit [Ping timeout: 260 seconds]
azimut has quit [Ping timeout: 240 seconds]
varjagg has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
eddof13 has joined #commonlisp
eddof13 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Cymew has quit [Ping timeout: 264 seconds]
ec has quit [Ping timeout: 240 seconds]
domovod has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
eddof13 has joined #commonlisp
ec has joined #commonlisp
azimut has joined #commonlisp
bendersteed has quit [Quit: bendersteed]
bendersteed has joined #commonlisp
bendersteed has quit [Remote host closed the connection]
szkl has joined #commonlisp
varjagg has quit [Remote host closed the connection]
varjagg has joined #commonlisp
yitzi has joined #commonlisp
danse-nr3 has quit [Ping timeout: 268 seconds]
varjagg has quit [Ping timeout: 245 seconds]
danza has joined #commonlisp
danza has quit [Read error: Connection reset by peer]
Alfr is now known as Guest5878
Guest5878 has quit [Killed (silver.libera.chat (Nickname regained by services))]
Alfr has joined #commonlisp
bubblegum has joined #commonlisp
randm has quit [Remote host closed the connection]
randm has joined #commonlisp
danza has joined #commonlisp
varjagg has joined #commonlisp
jjnkn has joined #commonlisp
varjagg has quit [Remote host closed the connection]
rainthree has quit [Read error: Connection reset by peer]
rainthree has joined #commonlisp
danza has quit [Ping timeout: 252 seconds]
tyson2 has quit [Remote host closed the connection]
domovod has quit [Ping timeout: 246 seconds]
danza has joined #commonlisp
AetherWind has quit [Quit: leaving]
Guest92 has joined #commonlisp
Oladon has joined #commonlisp
rainthree has quit [Read error: Connection reset by peer]
rainthree has joined #commonlisp
lispmacs[work] has joined #commonlisp
<lispmacs[work]> hi, I'm wondering about approaches to out-of-band signaling in CL. I've got a procedure (method) that mostly is just processing a lot of incoming data, but occasionally needs to signal to higher level code that something needs to be done. Not an error, just pass out a message. Was wondering what approaches I might take here.
<gilberth> Define a condition. Conditions don't need to be errors.
<gilberth> ,(progn (define-condition foo () ()) (handler-bind ((foo #'(lambda (c) (format t "~%Hey! ~S~%" c)))) (prin1 'foo) (signal 'foo) (prin1 'bar)))
<ixelp> (progn (define-condition foo () ()) (handler-bind ((foo #'(lambda (c) (format t "~%Hey! ~S~%" c)))) (prin1 'foo) (signal 'foo) (prin1 'bar))) FOO ↩ Hey! #<FOO #x14411786> ↩ BAR => BAR
<gilberth> A pity still that the colour is lost.
azimut has quit [Ping timeout: 240 seconds]
attila_lendvai has joined #commonlisp
<lispmacs[work]> okay, thanks. I'll look at that more closely when I get to the part of the code that needs to raise the condition
<lispmacs[work]> I like these examples in the hyperspec
<lispmacs[work]> => ATE-TOO-MUCH-ICE-CREAM
<lispmacs[work]> (make-condition 'ate-too-much-ice-cream
<lispmacs[work]> :flavor 'chocolate)
<lispmacs[work]> :weight 300
<lispmacs[work]> :person 'fred
<lispmacs[work]> => #<ATE-TOO-MUCH-ICE-CREAM 32236101>
<gilberth> Em. (signal 'used-wrong-site :user 'lispmacs[work] :should-follow "https://novaspec.org/cl/f_define-condition")
<lispmacs[work]> I'd have to figure out how to make slime's HYPERSPEC-LOOKUP jump to that instead
<gilberth> Oh, that is perhaps something that I should offer.
<gilberth> There must be some table mapping symbols to URLs.
<lispmacs[work]> I think there is one variable for that, I'll look...
<gilberth> I find some MAPC mapping over a list. But it doesn't include the kind of definition you want. Like e.g. CONS is both a function and a type.
<lispmacs[work]> one can set common-lisp-hyperspec-root, but I don't know if your URL structure is compat or not
<gilberth> I don't have those landing pages that ask you whether you meant CONS, the type, or CONS the function.
<gilberth> But thanks! I keep that in mind and next time round I attend to my Nova Spec, I'll come up with something.
kevingal has quit [Ping timeout: 268 seconds]
Guest92 has quit [Quit: Client closed]
dcb has quit [Ping timeout: 256 seconds]
dcb has joined #commonlisp
waleee has joined #commonlisp
random-nick has quit [Ping timeout: 246 seconds]
Oladon has quit [Quit: Leaving.]
random-nick has joined #commonlisp
jjnkn has quit [Quit: leaving]
tyson2 has joined #commonlisp
bubblegum has quit [Ping timeout: 256 seconds]
kevingal has joined #commonlisp
bubblegum has joined #commonlisp
mgl has quit [Ping timeout: 268 seconds]
Posterdati has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
Posterdati has joined #commonlisp
thuna` has joined #commonlisp
donleo has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
igemnace has quit [Remote host closed the connection]
rainthree has quit [Ping timeout: 252 seconds]
_cymew_ has quit [Ping timeout: 256 seconds]
tyson2 has joined #commonlisp
mgl has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
leungbk has joined #commonlisp
danza has quit [Ping timeout: 246 seconds]
Devon7 has joined #commonlisp
tyson2 has joined #commonlisp
rgherdt_ has joined #commonlisp
rgherdt has quit [Ping timeout: 255 seconds]
pve has quit [Quit: leaving]
<lispmacs[work]> is there some handy built-in function for checking if a number is in a certain range. Other than the obvious "(and (>= ...) (<= ...))"
<gilberth> ,(<= 0 5 10) ,(<= 0 99 10)
<ixelp> (<= 0 5 10) => T, also (<= 0 99 10) => NIL
<thuna`> lispmacs[work]: (<= min val max)?
<lispmacs[work]> oh, okay, I didn't know that took more parameters
<lispmacs[work]> thanks
<moon-child> what's annoying though is there is no way to say (and (<= x y) (< y z))
<moon-child> aside from like (typep y `(real ,x (,z))) or something
<gilberth> Indeed.
<thuna`> How would a range be represented? A cons cell is the obvious choice but then you can't specify closedness
<moon-child> however you want
<thuna`> moon-child: A "sane" representation, I mean. I can't think of any
<thuna`> ((min . closedp) . (max . closedp)) maybe?
cage has quit [Quit: rcirc on GNU Emacs 29.1]
<gilberth> Type specifiers have it (real closed-min closed-max) and (real (open-min) (open-max)).
<gilberth> And * for infinity.
<thuna`> gilberth: Oh, I wasn't aware of the (open-min) syntax
<gilberth> Would I really suffer I'd just define (defun <=< (a x b) (and (<= a x) (< x b)) and be set.
tyson2 has quit [Read error: Connection reset by peer]
rgherdt_ has quit [Ping timeout: 276 seconds]
leungbk has quit [Ping timeout: 276 seconds]
varjag has joined #commonlisp
mgl has quit [Ping timeout: 260 seconds]
leungbk has joined #commonlisp
BrokenCog has joined #commonlisp
<BrokenCog> hellos. I'm trying to figure out how to use dexador, (dex:get *url* :basic-auth '(("uname" . "pass"))) returns the HTML, but, I'm not able to authenticate. The root page has a "username" and "password" input forms.
prokhor has quit [Ping timeout: 252 seconds]
<BrokenCog> I'm not tied to dexador, if a different package works better I'm happy to use it.
leungbk has quit [Ping timeout: 256 seconds]
<gilberth> Then I would assume that HTTP basic authentication isn't used at all. It almost never is. There is no general solution, you would need to reverse engineer what requests go back and forth when the user submits the user name and password.
<BrokenCog> ah. okay. does dex:post work over HTTPS? that shouldn't be related ?
azimut has joined #commonlisp
gilberth has quit [Ping timeout: 276 seconds]
ixelp has quit [Ping timeout: 255 seconds]
ixelp has joined #commonlisp
yitzi has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
sherlock_ has quit [Remote host closed the connection]
mgl has joined #commonlisp
rgherdt has joined #commonlisp
gilberth has joined #commonlisp
bubblegum has quit [Ping timeout: 245 seconds]
mgl has quit [Ping timeout: 256 seconds]
dajole has joined #commonlisp
BrokenCog has quit [Quit: leaving]
szkl has quit [Quit: Connection closed for inactivity]
BrokenCog has joined #commonlisp
dcb has quit [Quit: MSN Messenger 4.1.2]
kevingal has quit [Ping timeout: 245 seconds]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
bubblegum has joined #commonlisp
puke has quit [Quit: puke]
eddof13 has quit [Quit: eddof13]
puke has joined #commonlisp
dra has joined #commonlisp
attila_lendvai has quit [Ping timeout: 268 seconds]
shka has quit [Ping timeout: 276 seconds]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
rtypo has quit [Ping timeout: 260 seconds]
<lispmacs[work]> thuna`: gilberth: I noticed in SBCL that my (<= min val max) function gets translated to a function called SB-KERNEL:RANGE by the compiler
bubblegum has quit [Read error: Connection reset by peer]
Gleefre has quit [Ping timeout: 250 seconds]
bubblegum has joined #commonlisp
hayley has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
bubblegum has quit [Ping timeout: 255 seconds]
Gleefre has joined #commonlisp
Devon7 has quit [Ping timeout: 246 seconds]
<bike> probably cos it can do some hacker's delight trickery to make it one comparison.
traidare has quit [Ping timeout: 240 seconds]