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/>
morganw has quit [Remote host closed the connection]
random-nick has quit [Ping timeout: 256 seconds]
dec0d3r has joined #commonlisp
lisp123 has quit [Ping timeout: 260 seconds]
hashfunc has joined #commonlisp
notzmv has quit [Ping timeout: 256 seconds]
pdietz has quit [Ping timeout: 260 seconds]
dec0d3r has quit [Quit: Leaving]
thuna` has quit [Remote host closed the connection]
thuna` has joined #commonlisp
bilegeek has joined #commonlisp
bilegeek has quit [Remote host closed the connection]
bilegeek has joined #commonlisp
azimut has joined #commonlisp
euandreh has quit [Quit: euandreh]
euandreh has joined #commonlisp
lisp123 has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
pranavats has left #commonlisp [Disconnected: Hibernating too long]
karlosz has quit [Quit: karlosz]
azimut has quit [Remote host closed the connection]
azimut has joined #commonlisp
pranavats has joined #commonlisp
bilegeek_ has joined #commonlisp
bilegeek has quit [Ping timeout: 260 seconds]
thuna` has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
pfd has quit [Quit: Client closed]
notzmv has joined #commonlisp
<shunter> Just as a thought experiment (for macroing), a reasonable compiler ought to view (blablabla ....) and (funcall #'blablabla ....) as identical, right?
waleee has quit [Ping timeout: 260 seconds]
akoana has joined #commonlisp
<pjb> shunter: yes, modulo the compiler-macros.
<pjb> I don't think compiler-macros apply to (funcall #'foo).
<shunter> Ah, good point
<shunter> Looks like at least SBCL can expand funcalls to #'blablalba
<pjb> sbcl is not the most conforming implementation…
<pjb> this should be studied from the hyperspec.
hashfunc has quit [Remote host closed the connection]
<jeosol> good morning all!
<jeosol> pjb: for my education, which one is the most conforming implementation?
<shunter> Well, the spec says anyways no compiler is required to ever invoke compiler macros to begin with, so whether the compiler-macro is called sometimes but not all times I assume would also be up to the compiler
<shunter> CLHS 3.2.2.1.3 states where compiler macros *might* be applied, and 2 cases where it *must not*.
lisp123 has quit [Ping timeout: 240 seconds]
<pjb> jeosol: I don't know exactly. Perhaps you could see, by sorting the results of ansi-tests?
<jeosol> pjb: thanks for your response. I thought may be you know which. I only develop with SBCL exclusively.
<pjb> shunter: ok. I would agree that a literal funcall is literally equivalent to the call, so that compiler-macros can be applied too.
<pjb> jeosol: currently, my default implementation is ccl.
<pjb> (I use sbcl only for deployment when needed).
<jeosol> pjb: that's an interesting choice. I never did use ccl apart from the early days when someone told me it results in a much faster build than sbcl - that would have been useful
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #commonlisp
<phileasfogg> good morning people, I'm trying to get slime and looks like my emacs is having trouble finding it from the MELPA. Is this a common issue?
<jeosol> phileasfogg: No this is not common. You can find it when you list-packages?
<pjb> phileasfogg: usually, we get it from quicklisp. have a look at http://cliki.net/Getting+Started
<phileasfogg> I couldn't. I just installed it using the system package manager like 5 seconds ago, but still wondering why that's not possible with melpa
<phileasfogg> I see. So quicklisp is the common method to install packages regarding cl...noted
<pjb> slime contains swank which is a CL package.
<phileasfogg> so it's the package to install another packages lol
<pjb> well, be careful, CL packages are not emacs packages. emacs packages are CL systems. quicklisp downloads and install systems, and uses asdf to compile and load those systems, which will usually define CL packages.
<phileasfogg> oh, yeah. so the asdf is included in cl, right?
<pjb> Yes. quicklisp provides its own copy of asdf if it's not already provided by the implementation, which is most often the case nowadays.
<phileasfogg> I think my bootstrap here is going way better than Haskell
<Nilby> https://github.com/slime/slime says just install it with melpa. It that wrong? quicklisp and an implementation are separate issues right?
<phileasfogg> pjb: env setup was a lot smoother with your advice
<phileasfogg> talking about packages, did anybody try some gui programming in cl? usually I've been never good at gui in any platform and language, and I'm trying give it a try here again
<phileasfogg> Nilby: that was why I tried MELPA in the first place
azimut has quit [Remote host closed the connection]
<pjb> phileasfogg: yes, there are several ways to do GUI. https://cliki.net/GUI
azimut has joined #commonlisp
<phileasfogg> pjb: if you don't mind, could you please give me some advice regarding the easiness/stableness of those options? I have concept I really want to show people with GUI, and I want something almost as simple as Python's simplegui.
<pjb> phileasfogg: using McCLIM you can write applications that will be portable across several GUI environments (there are different backends).
hineios has quit [Ping timeout: 248 seconds]
hineios has joined #commonlisp
<pjb> phileasfogg: but so far I've write more GUI directly with Cocoa and FFI.
<pjb> (hence ccl)
<phileasfogg> I see. Is event loop/customized callback function supported in all three of them?
<pjb> If you want a simple portable GUI, pgl may be interesting https://cliki.net/pgl
<pjb> Yes. There are event loops in all GUI.
<phileasfogg> Good to hear that. Basically, I want to get the stdin through the pipeline, and display them accordingly in the right place of the window. I had an enourmous amount of trouble doing that in Haskell and Scheme.
<pjb> phileasfogg: there may be a difficulty there: most GUI can do drawing only from the main thread. So you will want to read the stdin from a separate thread, while drawing and letting the user interact with the windows in the main thread.
<phileasfogg> multithreading, sweet. I believe I have no problem with that (no experience in cl tho), as long as there's some good method to update the text/label of the exsisting running main app even loop of the gui. Not something that easy to do in FP
<phileasfogg> *event
causal has quit [Quit: WeeChat 3.7.1]
pjb has quit [Read error: Connection reset by peer]
pjb has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 268 seconds]
Lord_of_Life_ is now known as Lord_of_Life
lisp123 has joined #commonlisp
hineios has quit [Ping timeout: 240 seconds]
hineios3 has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
notzmv has quit [Ping timeout: 240 seconds]
lisp123 has quit [Ping timeout: 260 seconds]
goober has joined #commonlisp
dipper has quit [Remote host closed the connection]
dipper has joined #commonlisp
igemnace has joined #commonlisp
<phileasfogg> currently playing with mcclim, the demo is running beautifully, but I think I made a mistake evaluating the example code. https://plaster.tymoon.eu/view/3514#3514 May I get some comments on this?
<phileasfogg> basically, this is what sbcl gave me: "APP also uses the following packages: (COMMON-LISP-USER)"
<pjb> phileasfogg: this is a warning. I don't know why you get it.
<pjb> phileasfogg: you could ask in #clim
<phileasfogg> Oh, so nothing is seriously wrong in my pastebin?
goober has quit [Ping timeout: 268 seconds]
<pjb> phileasfogg: AFAICS, nope.
Alfr has quit [Quit: Leaving]
<phileasfogg> Thank you. I will check on the #clim
dipper has quit [Remote host closed the connection]
dipper has joined #commonlisp
Alfr has joined #commonlisp
goober has joined #commonlisp
igemnace has quit [Remote host closed the connection]
<dipper> may I ask what everybody favorite medium to learning technology, book, video or documents.
<kakuhen> for me: book > documents > ... > video
<dipper> ah video surely is slow
goober has quit [Quit: Leaving]
goober has joined #commonlisp
shka has joined #commonlisp
enzuru has quit [Quit: ZNC 1.8.2 - https://znc.in]
enzuru has joined #commonlisp
<semz> videos also aren't searchable when you want to look up a particular part again
pranavats has left #commonlisp [Error from remote client]
<mfiano> Greetings. A quick question about the topological sorting algorithm for the CPL of a finalized class: If I have class A and its direct child B, a third class, C, with superclasses being A and then B, when invoking a generic function with single arity, whose 2 methods specialize on A and B respectively, what is the behavior that is observed, and can you recall any quotes from the CLHS that will
<mfiano> help me think about a problem in my design. (I haven't started coding yet, just trying to connect some dots on paper.)
<Posterdati> hi
<mfiano> When invoked on an instance of 'C', that is.
igemnace has joined #commonlisp
notzmv has joined #commonlisp
rainthree has joined #commonlisp
sedzcat has joined #commonlisp
<semz> mfiano: Maybe I misunderstand the premise, but afaict ,(progn (defclass a () ()) (defclass b (a) ()) (defclass c (a b) ())) results in an error since the ordering is inconsistent by clhs 4.3.5 as a < b by the definition of c and b < a by the definition of b
<semz> oh, ixelp is down
pranavats has joined #commonlisp
bilegeek_ has quit [Quit: Leaving]
<kakuhen> ,(if t 1 0)
<kakuhen> seems just fine in #lispcafe -- probably got kicked out of #commonlisp
pjb has quit [Remote host closed the connection]
lisp123 has joined #commonlisp
lisp123 has quit [Ping timeout: 256 seconds]
cosimone` has quit [Remote host closed the connection]
cosimone has joined #commonlisp
lisp123 has joined #commonlisp
tibfulv has quit [Remote host closed the connection]
tibfulv has joined #commonlisp
lisp123 has quit [Ping timeout: 260 seconds]
lisp123 has joined #commonlisp
random-nick has joined #commonlisp
sedzcat1 has joined #commonlisp
sedzcat has quit [Ping timeout: 260 seconds]
sedzcat1 is now known as sedzcat
Dynom_ has joined #commonlisp
Dynom_ is now known as Guest1065
cage has joined #commonlisp
yosef` has joined #commonlisp
robin_ has joined #commonlisp
robin has quit [Ping timeout: 255 seconds]
jmdaemon has quit [Ping timeout: 268 seconds]
euandreh has quit [Ping timeout: 260 seconds]
euandreh has joined #commonlisp
euandreh has quit [Remote host closed the connection]
anticomputer has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
euandreh has joined #commonlisp
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
dipper has quit [Remote host closed the connection]
dipper has joined #commonlisp
azimut has quit [Remote host closed the connection]
euandreh has quit [Quit: euandreh]
azimut has joined #commonlisp
euandreh has joined #commonlisp
euandreh has quit [Remote host closed the connection]
euandreh has joined #commonlisp
yosef` has quit [Quit: Client closed]
lisp123 has quit [Ping timeout: 256 seconds]
lisp123 has joined #commonlisp
rainthree has quit [Ping timeout: 240 seconds]
karlosz has joined #commonlisp
pjb has joined #commonlisp
rainthree has joined #commonlisp
nij- has joined #commonlisp
akoana has quit [Quit: leaving]
dipper has quit [Remote host closed the connection]
dipper has joined #commonlisp
ahlk has quit [Read error: Connection reset by peer]
lisp123 has quit [Ping timeout: 256 seconds]
szkl has joined #commonlisp
tyson2 has joined #commonlisp
robin has joined #commonlisp
robin_ has quit [Ping timeout: 260 seconds]
nij- has quit [Ping timeout: 240 seconds]
pranavats has left #commonlisp [Error from remote client]
nosferandu has joined #commonlisp
morganw has joined #commonlisp
Guest1065 has quit [Quit: WeeChat 3.7.1]
karlosz has quit [Quit: karlosz]
Alfr has quit [Remote host closed the connection]
Alfr has joined #commonlisp
dipper has quit [Remote host closed the connection]
Dynom_ has joined #commonlisp
Dynom_ is now known as Guest4016
thuna` has joined #commonlisp
ec_ has quit [Remote host closed the connection]
ec_ has joined #commonlisp
pve has joined #commonlisp
sedzcat has quit [Ping timeout: 256 seconds]
nij- has joined #commonlisp
sedzcat has joined #commonlisp
kaskal- has quit [Ping timeout: 248 seconds]
bitspook[m] has quit [Quit: You have been kicked for being idle]
<mfiano> semz: Thank you
<thuna`> Does READ only accept character streams?
<pjb> thuna`: yes.
<pjb> only read-byte and read-sequence can work on binary streams.
<pjb> read, read-delimited-list, read-char, read-line work only on character streams.
<pjb> read could have a modern name such as parse-lisp-sexp
Bung has joined #commonlisp
<thuna`> Why would sbcl consider LINE's derived type null? https://0x0.st/o66a.txt
<pjb> thuna`: read-line returns (or null string)
<pjb> actually, read-line can return T
<pjb> (read-line stream eof-error-p nil eof-value ANYTHING) -> ANYTHING.
<thuna`> The warning is https://0x0.st/o66u.txt though, so I don't think that's it
<pjb> sorry, keywords: (read-line stream :eof-error-p nil :eof-value ANYTHING) -> ANYTHING.
<pjb> the default value for eof-value is nil, hence (or null string).
<thuna`> Wait, the condition is supposed to be (NOT LINE)
<thuna`> Sigh
<_death> pjb: no keywords for read-line
<pjb> _death: right
bitspook[m] has joined #commonlisp
<pjb> thuna`: indeed, sorry the error was on write-line, not read-line.
sedzcat has quit [Remote host closed the connection]
mister_m has joined #commonlisp
ec_ has quit [Ping timeout: 255 seconds]
ec_ has joined #commonlisp
<beach> thuna`: (NULL LINE) is better than (NOT LINE).
<thuna`> Is it?
<beach> Yes.
<thuna`> Why?
<beach> Because NOT is used when the argument is a Boolean value, whereas NULL is used to test whether some value is NIL.
<thuna`> I guess that makes sense
Inline has joined #commonlisp
Bung has quit [Remote host closed the connection]
waleee has joined #commonlisp
Inline_ has joined #commonlisp
Inline has quit [Ping timeout: 260 seconds]
Inline_ is now known as Inline
Inline_ has joined #commonlisp
ec_ has quit [Remote host closed the connection]
Inline_ has quit [Max SendQ exceeded]
Inline_ has joined #commonlisp
ec_ has joined #commonlisp
Inline has quit [Ping timeout: 240 seconds]
Inline__ has joined #commonlisp
Inline_ has quit [Ping timeout: 268 seconds]
hineios has joined #commonlisp
hineios3 has quit [Ping timeout: 268 seconds]
random-jellyfish has joined #commonlisp
nij- has quit [Ping timeout: 240 seconds]
thuna` has quit [Ping timeout: 260 seconds]
tyson2 has quit [Remote host closed the connection]
Inline_ has joined #commonlisp
Inline_ has quit [Max SendQ exceeded]
Inline_ has joined #commonlisp
Inline__ has quit [Ping timeout: 240 seconds]
thuna` has joined #commonlisp
Inline__ has joined #commonlisp
Inline_ has quit [Ping timeout: 256 seconds]
nij- has joined #commonlisp
nij- has quit [Ping timeout: 240 seconds]
brettgilio has joined #commonlisp
Inline__ is now known as Inline
rainthree3 has joined #commonlisp
nij- has joined #commonlisp
rainthree has quit [Ping timeout: 240 seconds]
anticomputer has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
Oladon has joined #commonlisp
igemnace has quit [Remote host closed the connection]
nij- has quit [Ping timeout: 256 seconds]
lisper29 has joined #commonlisp
tyson2 has joined #commonlisp
pjb has quit [Read error: Connection reset by peer]
mariari has quit [Ping timeout: 248 seconds]
nij- has joined #commonlisp
pranavats has joined #commonlisp
mariari has joined #commonlisp
azimut has quit [Ping timeout: 255 seconds]
perrierjouet has quit [Quit: WeeChat 3.7.1]
anticomputer has quit [Quit: quit]
anticomputer has joined #commonlisp
jello_pudding has quit [Ping timeout: 260 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #commonlisp
nij- has quit [Ping timeout: 240 seconds]
tyson2 has quit [Remote host closed the connection]
rainthree3 has quit [Ping timeout: 268 seconds]
Inline_ has joined #commonlisp
<Josh_2> Good mornin :sunglasses:
jello_pudding has joined #commonlisp
Inline has quit [Ping timeout: 256 seconds]
Inline_ is now known as Inline
<brettgilio> 😎
Inline has quit [Quit: Leaving]
cage has quit [Quit: rcirc on GNU Emacs 27.1]
rgherdt has joined #commonlisp
lisp123 has joined #commonlisp
random-jellyfish has quit [Quit: Client closed]
epony has quit [Ping timeout: 268 seconds]
<Josh_2> Has anyone updated multiple columns using s-sql?
<Josh_2> I can't seem to get the syntax right :(
<Josh_2> Not sure if its even possible, I really dont want to go with the string version. But tbf macros means its no biggie I suppose
cosimone has quit [Remote host closed the connection]
Guest4016 has quit [Quit: WeeChat 3.7.1]
shka has quit [Ping timeout: 256 seconds]
<Josh_2> Hmm maybe I have it now
lagash has quit [Ping timeout: 246 seconds]
ym has joined #commonlisp
lisp123 has quit [Read error: Connection reset by peer]
<Josh_2> Okay got it, I was using s-sql:sql where I should have been using s-sql:sql-compile
<Josh_2> Mapping #'change-class to my database seems like an expensive operation :thinking:
<Josh_2> Might have to completely replace an instance of my class in the db
epony has joined #commonlisp
jmdaemon has joined #commonlisp
ym has quit [Ping timeout: 260 seconds]
luna-is-here has quit [Quit: luna-is-here]
luna-is-here has joined #commonlisp
cosimone has joined #commonlisp
jes1 has joined #commonlisp
luna-is-here has quit [Quit: luna-is-here]
luna-is-here has joined #commonlisp
kaskal has joined #commonlisp
luna-is-here has quit [Quit: luna-is-here]
luna-is-here has joined #commonlisp
Oladon has quit [Quit: Leaving.]
rgherdt has quit [Remote host closed the connection]
lechner has joined #commonlisp
random-nick has quit [Ping timeout: 256 seconds]
lagash has joined #commonlisp
luna-is-here has quit [Quit: luna-is-here]
pve has quit [Quit: leaving]
nij- has joined #commonlisp
luna-is-here has joined #commonlisp
dipper has joined #commonlisp
luna-is-here has quit [Quit: luna-is-here]
kaskal has quit [Ping timeout: 260 seconds]
luna-is-here has joined #commonlisp
kaskal has joined #commonlisp
causal has joined #commonlisp