Xach 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>
taiju has quit [Ping timeout: 244 seconds]
robin has quit [Quit: Leaving]
robin has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 244 seconds]
Lord_of_Life_ is now known as Lord_of_Life
euandreh has quit [Ping timeout: 260 seconds]
taiju has joined #commonlisp
Guest-liao has joined #commonlisp
Guest-liao has quit [Client Quit]
Guest-liao has joined #commonlisp
Josh_2 has quit [Ping timeout: 260 seconds]
ahlk has quit [Ping timeout: 252 seconds]
ahlk has joined #commonlisp
Oladon has quit [Quit: Leaving.]
tyson2 has joined #commonlisp
etiago has joined #commonlisp
igemnace has quit [Remote host closed the connection]
igemnace has joined #commonlisp
<jcowan> a function that returns the max and min of a sequence as two values might well be called `extrema`
johnjay has quit [Ping timeout: 260 seconds]
jeko has quit [Read error: Connection reset by peer]
jeko has joined #commonlisp
johnjay has joined #commonlisp
<jcowan> paip ch 23
<White_Flame> also, the most direct standard function to build it around would likely be REDUCE
<White_Flame> (having not looked up if that's how PAIP implemented it)
jeko has quit [Ping timeout: 265 seconds]
light has joined #commonlisp
asarch has joined #commonlisp
fitzsim has quit [Remote host closed the connection]
<jcowan> Not on lists, though
fitzsim has joined #commonlisp
euandreh has joined #commonlisp
jealousmonk has quit [Quit: ERC (IRC client for Emacs 27.1)]
<Bike> not on lists?
<jcowan> reduce on lists is inherently O(n), I think
waleee has quit [Quit: WeeChat 3.3]
<Bike> but how you could you compute the extrema of an unsorted sequence in sublinear time?
johnjay has quit [Ping timeout: 260 seconds]
jeko has joined #commonlisp
<White_Flame> Bike: just have it guess really luckily? :-P
<Bike> probably some quantum nonsense
<Bike> after grover's algorithm i believe in nothing
<beach> Good morning everyone!
Guest-liao has quit [Quit: Client closed]
waleee has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
jeko has quit [Remote host closed the connection]
Guest-liao has joined #commonlisp
asarch has quit [Quit: Leaving]
raeda has joined #commonlisp
Bike has quit [Quit: Lost terminal]
waleee has quit [Ping timeout: 245 seconds]
vats has quit [Ping timeout: 265 seconds]
vats has joined #commonlisp
semz has quit [Ping timeout: 258 seconds]
johnjay has joined #commonlisp
semz has joined #commonlisp
cjb has quit []
holycow has joined #commonlisp
Qwnavery has joined #commonlisp
shka has joined #commonlisp
Guest-liao has quit [Quit: Client closed]
zacque has joined #commonlisp
Guest-liao has joined #commonlisp
vats has quit [Ping timeout: 264 seconds]
vats has joined #commonlisp
akoana has left #commonlisp [#commonlisp]
Guest78 has joined #commonlisp
Guest78 has quit [Client Quit]
vats has quit [Read error: Connection reset by peer]
Guest7 has joined #commonlisp
vats has joined #commonlisp
Guest7 has quit [Client Quit]
Cymew has joined #commonlisp
silasfox has joined #commonlisp
aartaka has joined #commonlisp
silasfox has quit [Client Quit]
varjag has joined #commonlisp
varjag has quit [Ping timeout: 260 seconds]
vats has quit [Ping timeout: 260 seconds]
vats has joined #commonlisp
vats has quit [Remote host closed the connection]
pve has joined #commonlisp
shka has quit [Ping timeout: 264 seconds]
shka has joined #commonlisp
makomo has joined #commonlisp
makomo has quit [Ping timeout: 260 seconds]
Qwnavery has quit [Ping timeout: 265 seconds]
Guest-liao has quit [Quit: Client closed]
gaqwas has joined #commonlisp
john__ has joined #commonlisp
silasfox has joined #commonlisp
frgo has quit [Ping timeout: 258 seconds]
makomo has joined #commonlisp
srhm has quit [Read error: Connection reset by peer]
srhm has joined #commonlisp
<pve> Shinmera: Very interesting talk! I can well imagine people in the audience being intrigued by your examples. How do you feel it was received? Did the audience understand?
<pve> Man, now I feel like making a game :)
pillton has quit [Quit: ERC (IRC client for Emacs 27.2)]
Jach has joined #commonlisp
frgo has joined #commonlisp
edgar-rft has quit [Quit: Leaving]
frgo has quit [Remote host closed the connection]
frgo has joined #commonlisp
cosimone has joined #commonlisp
hendursa1 has joined #commonlisp
<Shinmera> I have no clue
<Shinmera> There was only one question, so I feel like it went by too fast for most people :v
hendursaga has quit [Ping timeout: 276 seconds]
<jdz> Shinmera: My guess is that all of those features went well over everybody's heads without a demo.
<jdz> Shinmera: Did you get a chance to show how it all works in practice to somebody in your "booth"?
<Shinmera> No, nobody came by :(
<Shinmera> But yeah, I considered doing a live version of the talk instead, but then didn't have any time to properly test and prepare something like that.
<Shinmera> Plus, when I *did* do a live version of this during my ELS talks I still felt like most people didn't even get what was happening
<Shinmera> so I'm not sure how much it really helps
<jdz> What do you mean "prepare for an on-line demo"?
<jdz> As if anything went wrong with those, ever.
prxq has joined #commonlisp
makomo has quit [Ping timeout: 260 seconds]
Guest-liao has joined #commonlisp
Cymew has quit [Ping timeout: 260 seconds]
Cymew has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
amb007 has joined #commonlisp
Qwnavery has joined #commonlisp
kevingal has joined #commonlisp
kevingal has quit [Remote host closed the connection]
Cymew has quit [Ping timeout: 260 seconds]
paule32 has joined #commonlisp
attila_lendvai has joined #commonlisp
hendursa1 has quit [Remote host closed the connection]
hendursa1 has joined #commonlisp
makomo has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Replaced by new connection]
pranavats has joined #commonlisp
Qwnavery has quit [Quit: WeeChat 3.3]
random-nick has joined #commonlisp
raeda has quit [Read error: Connection reset by peer]
raeda has joined #commonlisp
dec0d3r has quit [Remote host closed the connection]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
gin has left #commonlisp [#commonlisp]
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
Guest-liao has quit [Quit: Ping timeout (120 seconds)]
Guest-liao has joined #commonlisp
jealousmonk has joined #commonlisp
<xaltsc> Hey, is it possible to use dolist with a list of functions ? doing (dolist (fun funlist) (fun arg)) doesn't work.
<jackdaniel> xaltsc: (dolist (fun (funlist)) (funcall fun arg))
<jackdaniel> functions and variables doesn't share the same namespace, so you need to pass the variable to this operator
<jackdaniel> there is also apply for applying lists to the function
<xaltsc> jackdaniel: do I need the surrounding parentheses around funlist ? I didn't know about funcall, I tried #'fun, but it didn't work either...
<jackdaniel> no, that's my braino
<jackdaniel> (dolist (fun funlist) (funcall fun arg))
igemnace has quit [Remote host closed the connection]
<xaltsc> thanks :)
<jackdaniel> sure
dec0d3r has joined #commonlisp
aartaka has quit [Ping timeout: 260 seconds]
kevingal has joined #commonlisp
casionaut has joined #commonlisp
heisig has joined #commonlisp
azimut_ has joined #commonlisp
azimut has quit [Quit: ZNC - https://znc.in]
amb007 has quit [Ping timeout: 260 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
nature has joined #commonlisp
tyson2 has joined #commonlisp
amb007 has joined #commonlisp
cosimone` has joined #commonlisp
cosimone has quit [Ping timeout: 260 seconds]
Guest-liao has quit [Quit: Client closed]
gaqwas has quit [Remote host closed the connection]
john__ has quit [Remote host closed the connection]
Mandus has quit [Ping timeout: 260 seconds]
holycow has quit [Quit: Lost terminal]
Mandus has joined #commonlisp
Bike has joined #commonlisp
raeda has quit [Remote host closed the connection]
Cymew has joined #commonlisp
raeda has joined #commonlisp
Mandus has quit [Ping timeout: 260 seconds]
igemnace has joined #commonlisp
Mandus has joined #commonlisp
waleee has joined #commonlisp
Guest-liao has joined #commonlisp
heisig has quit [Quit: Leaving]
dec0d3r has quit [Remote host closed the connection]
Krystof has joined #commonlisp
rodentrabies[m] has joined #commonlisp
mrcom has quit [Read error: Connection reset by peer]
Mandus has quit [Ping timeout: 265 seconds]
Mandus has joined #commonlisp
zacque has quit [Quit: Goodbye :D]
frgo has quit [Remote host closed the connection]
frgo has joined #commonlisp
molson has joined #commonlisp
Guest-liao has quit [Quit: Client closed]
makomo has quit [Ping timeout: 260 seconds]
Guest30 has joined #commonlisp
frgo has quit [Remote host closed the connection]
Yehowshua has joined #commonlisp
mrcom has joined #commonlisp
Guest30 has quit [Quit: Client closed]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
cosimone` has quit [Quit: ERC (IRC client for Emacs 27.1)]
cosimone has joined #commonlisp
lance has quit [Ping timeout: 244 seconds]
tyson2 has quit [Remote host closed the connection]
amb007 has quit [Ping timeout: 260 seconds]
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #commonlisp
Cymew has quit [Ping timeout: 265 seconds]
Psybur has joined #commonlisp
edgar-rft has joined #commonlisp
hobo has joined #commonlisp
ym has joined #commonlisp
casionaut has quit [Remote host closed the connection]
frgo has joined #commonlisp
frgo has quit [Ping timeout: 265 seconds]
kevingal has quit [Remote host closed the connection]
Oladon has joined #commonlisp
X-Scale` has joined #commonlisp
X-Scale has quit [Ping timeout: 260 seconds]
X-Scale` is now known as X-Scale
cage has joined #commonlisp
Yehowshua has quit [Ping timeout: 256 seconds]
lisp123 has joined #commonlisp
amb007 has joined #commonlisp
Psybur has quit [Ping timeout: 260 seconds]
amb007 has quit [Ping timeout: 265 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 258 seconds]
amb007 has joined #commonlisp
varjag has joined #commonlisp
khrbt has quit [Ping timeout: 264 seconds]
khrbt has joined #commonlisp
tyson2 has joined #commonlisp
raeda has quit [Quit: Leaving]
nature has quit [Ping timeout: 260 seconds]
Yehowshua has joined #commonlisp
Oladon has quit [Quit: Leaving.]
bcasiello has joined #commonlisp
<hobo> anyone working on anything fun these days with CL?
<mfiano> gamedev on and off as usual
<varjag> yes
<edgar-rft> yes, ask anyone for details :-)
fitzsim has quit [Read error: Connection reset by peer]
Yehowshua has quit [Ping timeout: 256 seconds]
asarch has joined #commonlisp
<asarch> How could I collect '("tacos" "pizza" "tamales" "beer") into "tacos, pizza, tamales, beer"?
<loke[m]> You can use FORMAT for that.
<Bike> (format nil "~{~a~^, ~}" listgoeshere)
<asarch> Thank you! Thank you very much!
frgo has joined #commonlisp
asarch has quit [Quit: alice.]
<akater[m]> asarch left but some might still appreciate (folio2:join ", " '("wow" "cool"))
Yehowshua has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
nature has joined #commonlisp
pranavats has left #commonlisp [#commonlisp]
rogersm has quit [Quit: Leaving...]
Yehowshua has quit [Ping timeout: 256 seconds]
pranavats has joined #commonlisp
Inline has quit [Ping timeout: 245 seconds]
Oladon has joined #commonlisp
tyson2 has joined #commonlisp
Nilby has joined #commonlisp
mrcom_ has quit [Read error: Connection reset by peer]
<jackdaniel> behold :) (clim:format-textual-list '("bam" "sam" "wow") #'princ :separator ", " :conjunction " and" :suppress-separator-before-conjunction t)
<jackdaniel> bam, sam and wow
X-Scale` has joined #commonlisp
X-Scale has quit [Ping timeout: 245 seconds]
X-Scale` is now known as X-Scale
Yehowshua has joined #commonlisp
fitzsim has joined #commonlisp
srhm has quit [Read error: Connection reset by peer]
srhm has joined #commonlisp
silasfox has quit [Ping timeout: 245 seconds]
Yehowshua has quit [Ping timeout: 256 seconds]
cage has quit [Quit: rcirc on GNU Emacs 27.1]
tyson2 has quit [Remote host closed the connection]
Kabriel is now known as skempf
waleee has quit [Quit: WeeChat 3.3]
skempf is now known as Kabriel
Yehowshua has joined #commonlisp
<pl> jackdaniel: is there "oxford comma" option?
<edgar-rft> ...and what about diatonic commas?
<jackdaniel> I'm sure they are pretty educated them commas :)
<CodeBitCookie[m]> Why is the GUI situation in common lisp so annoying? I have tried GTK (cl-cffi-gtk3/2), QT (CommonQT and QTools), Nuklear (bodge-ui-window) and quite a few more. One problem they all have is documentation, I can live without docs on a small library but an entire GUI Framework! QT was by far the most annoying... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/efe508be33c31a7774aab0490b20cb2c8f95ac70)
<jackdaniel> pl: if you don't add :suppress-separator-… then comma will be added before the conjunction
<jackdaniel> i.e "bam, sam, and wow
waleee has joined #commonlisp
<jackdaniel> CodeBitCookie[m]: probably because writing documentaiton is a very tedious task
OlCe has quit [Ping timeout: 265 seconds]
<pl> jackdaniel: ahhh, great
<CodeBitCookie[m]> jackdaniel: True but can anyone suggested even in the ones I listed?
<CodeBitCookie[m]> s/jackdaniel: True but can anyone suggested even in the ones I listed?/jackdaniel: True but can anyone suggest any GUI solution, even in the ones I listed?/
<edgar-rft> CodeBitCookie[m]: Common Lisp GUI usually means using CAPI (Lispworks) or CLIM (Franz Inc.), and there is McClim, a free CLIM implementation.
tyson2 has joined #commonlisp
<CodeBitCookie[m]> edgar-rft: So do you know how to theme it, even slightly?
tyson2 has quit [Remote host closed the connection]
<jackdaniel> CodeBitCookie[m]: I can't recommend anything given problems you have encountered. I had a pleasent experience with ltk
<CodeBitCookie[m]> Since this is aimed at newbies, which can only stand pretty GUIs. I don't think that McCLIM is ugly, others do.
<jackdaniel> but its documentation is lacking (i.e it has numerous widgets that are not present in the documentation)
<CodeBitCookie[m]> jackdaniel: I have tried LTK but have heard and understood that it is not that viable for a bigger application. Maybe I am wrong?
<jackdaniel> you can tell them that it is retro, not ugly ;)
<edgar-rft> Newbies write bigger apps?
<pl> CodeBitCookie[m]: is it really? A lot of stuff got done in Tcl/Tk
<jackdaniel> or wave you hand and say: if you find it ugly you may easily theme it ,p
<pl> I feel like "not viable for larger application" is C++ meme
<CodeBitCookie[m]> Oh and another one was IUP. This one looked (and still looks?) interesting to me. That is actually pretty cool. I only encountered some problems with it. It has good docs too.
<CodeBitCookie[m]> pl: Hmmm, Okay I am now looking into Tcl/Tk
<pl> Ltk is essentially a thin wrapper around Tcl/Tk
<CodeBitCookie[m]> pl: What about FLTK?
<pl> I seem to recall it being C++
<CodeBitCookie[m]> pl: Can you give me any examples for Tk being used?
<pl> not on hand, used to be bigger, including various tools on linux that are now dead :(
<pl> I haven't done much GUI programming in last decade
dra has joined #commonlisp
Yehowshua has quit [Ping timeout: 256 seconds]
shka has quit [Ping timeout: 260 seconds]
mrcom_ has joined #commonlisp
<pl> there was for example a pretty popular Jabber client in Tcl/Tk
<CodeBitCookie[m]> pl: Woowwwww, it works right of the bat, I just created it and it immediately ran just like nuklear! Except, this is much more popular ANDDD https://tkdocs.com/tutorial/styles.html
<CodeBitCookie[m]> It might just be the GUI Framework I use.
<pl> personally I was going to investigate Tcl/Tk sometime soon again, with possibly writing GUI completely in Tcl while having "business logic" in CL, linked with CORBA
<CodeBitCookie[m]> The live coding part is also settled with `(start-wish)`
<CodeBitCookie[m]> pl: CORBA? Except for the long accronym that flew over my head, what is it?
OlCe` has joined #commonlisp
<pl> CodeBitCookie[m]: RPC system, used to be more popular but still there in niche applications, with pretty wide support between languages, so I think linking CL, Tcl, and other languages together should be somewhat simpler
<borodust> CodeBitCookie[m]: it's too much work for zero return :)
<borodust> answering your question why
<CodeBitCookie[m]> borodust: I follow with you question too.
<CodeBitCookie[m]> s/you/your/
mrcom_ has quit [Read error: Connection reset by peer]
<borodust> CodeBitCookie[m]: btw, you can get nice UI with good documentation from LispWorks
mrcom has quit [Read error: Connection reset by peer]
Yehowshua has joined #commonlisp
<borodust> ah, i see, edgar-rft already suggested it
asarch has joined #commonlisp
<asarch> Is there a short way to test zero string other than (= (length "") 0)?
nature has quit [Quit: Lost terminal]
<borodust> alexandria:emptyp
<varjag> string-equal
<hayley> (zerop (length "")) is just more specific.
<Catie> I usually just wrap it into an inlined function, empty-string-p
<asarch> Thank you! Thank you very much! :-)
<CodeBitCookie[m]> <edgar-rft> "Newbies write bigger apps?" <- I meant normies.
<CodeBitCookie[m]> pl: One thing I see is that the linux version doesn't look native at all. It looks more native to Windows on Linux.
<Odin-> ... that's ironic.
asarch has quit [Quit: alice.]
<CodeBitCookie[m]> hmmmmm
<pl> CodeBitCookie[m]: because there's no native look on linux
<Catie> One of the downsides of not being a monolith
<pl> well, unless one considers Motif look to be native X11, then old-style Tk looks native ;)
<CodeBitCookie[m]> pl: You are right but most people call "native" just the GTK theme.
dra has quit [Quit: Leaving]
<pl> ¯\_(ツ)_/¯
<pl> I find motif style to be pretty nice
<pl> just like standard Windows style works pretty well.
<CodeBitCookie[m]> True, and most linux users won't care much, if they do care I will maybe add an option for theming?
<CodeBitCookie[m]> Anyways I have to go sleep. Hopefully LTK or nodgui works for me since this is my last hope, after this I either ditch Common Lisp for GUI Programming or create a GUI framework from scratch in OpenGL. This is very darastic I know.
<CodeBitCookie[m]> Hopefully I won't have to make that choice.
attila_lendvai has quit [Ping timeout: 260 seconds]
<CodeBitCookie[m]> How many times have I typed hope again?
<CodeBitCookie[m]> lol
<Catie> Hope springs eternal
<CodeBitCookie[m]> Catie: Atleast I learnt a new idiom today. ;)
<Catie> I'm glad! It's one of the more uplifting ones, I think
<Catie> Get some good rest!
waleee has quit [Ping timeout: 245 seconds]
pve has quit [Quit: leaving]
waleee has joined #commonlisp
akoana has joined #commonlisp
dec0d3r has joined #commonlisp
Oladon has quit [Quit: Leaving.]
mrcom has joined #commonlisp
mrcom has quit [Read error: Connection reset by peer]
dre has joined #commonlisp
varjag has quit [Ping timeout: 260 seconds]
taiju has quit [Ping timeout: 260 seconds]
taiju has joined #commonlisp
OlCe` has quit [Remote host closed the connection]
mrcom has joined #commonlisp
Yehowshua has quit [Quit: Client closed]
makomo has joined #commonlisp
tyson2 has joined #commonlisp
cosimone has quit [Quit: ERC (IRC client for Emacs 27.1)]
mrcom_ has joined #commonlisp
makomo has quit [Ping timeout: 260 seconds]
Oladon has joined #commonlisp
pillton has joined #commonlisp
taiju has quit [Ping timeout: 265 seconds]