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>
raeda has quit [Read error: Connection reset by peer]
raeda has joined #commonlisp
terrorjack has quit [Quit: Ping timeout (120 seconds)]
Guest-liao has joined #commonlisp
terrorjack has joined #commonlisp
madnificent has quit [Quit: ZNC 1.8.2 - https://znc.in]
madnificent has joined #commonlisp
vats has quit [Ping timeout: 264 seconds]
vats has joined #commonlisp
Oladon has joined #commonlisp
taiju has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 264 seconds]
rogersm has quit [Read error: Connection reset by peer]
rogersm has joined #commonlisp
Lord_of_Life_ is now known as Lord_of_Life
raeda has quit [Read error: Connection reset by peer]
raeda has joined #commonlisp
raeda has quit [Read error: Connection reset by peer]
raeda has joined #commonlisp
domovod has joined #commonlisp
igemnace has joined #commonlisp
raeda has quit [Ping timeout: 260 seconds]
jeosol has joined #commonlisp
euandreh has joined #commonlisp
domovod has quit [Ping timeout: 260 seconds]
raeda has joined #commonlisp
Nilby has quit [Ping timeout: 258 seconds]
ahlk has joined #commonlisp
<jmercouris> I am having a classic problem with a macro
<jmercouris> and I can't remember what the solution
<jmercouris> consider the following (defmacro tomato (x) (if (eq ,x 5) (print "1") (print 2"))
<jmercouris> obviously I don't want it to emit (if (eq 3 5) (print "1") (print "2")))
<jmercouris> I want it to emit either (print "1") or (print "2")
<jmercouris> and I can't remember
<jmercouris> also yes, I know I wrote the macro wrong
<ahlk> jmercouris: You want to evaluate the if in the macro then only quote the prints that you return, e.g. (defmacro tomato (x) (if (eq x 5) `(print "1") `(print "2")))
<jmercouris> right ahlk
<jmercouris> here is the little pickle of the tomato though
<jmercouris> I am already within a backquote
<jmercouris> form
<jmercouris> let me just post the full macor
<jmercouris> s/macor/macro
<jmercouris> that is my problem
<jmercouris> and I cannot for the life of me remember what I need to do
<jmercouris> I am not a double backtick programmer it seems :-(
<jmercouris> the if statement in question is of course (if run-in-new-thread-p ...)
<jmercouris> AH
<ahlk> Should you unquote the full if statement there, and keep the then & else clauses quoted?
<jmercouris> I just figured it out
<jmercouris> ahlk: not exactly
<jmercouris> here is the answer: http://dpaste.com/ERJG4N8NK
<jmercouris> sure, there is some code duplication, I could have used a LET or something, but whatever, it's fine
<jmercouris> I use the , to emit a single form, and then do the original suggestion
<jmercouris> shit, maybe I am a double backtick programmer
<jmercouris> where is Fare when you need him
LoopMacro has joined #commonlisp
attila_lendvai has quit [Ping timeout: 268 seconds]
mrcom_ has quit [Quit: This computer has gone to sleep]
mrcom has quit [Quit: This computer has gone to sleep]
Oladon has quit [Quit: Leaving.]
molson_ has quit [Ping timeout: 260 seconds]
ec_ has quit [Ping timeout: 276 seconds]
jealousmonk has quit [Quit: ERC (IRC client for Emacs 27.1)]
prxq has joined #commonlisp
prxq_ has quit [Ping timeout: 264 seconds]
Oladon has joined #commonlisp
abrantesasf has quit [Remote host closed the connection]
Bike has quit [Quit: Lost terminal]
bcasiello has joined #commonlisp
mrcom has joined #commonlisp
mrcom_ has joined #commonlisp
<jeosol> jmercouris: Agree with the comment about Fare
mrcom_ has quit [Read error: Connection reset by peer]
mrcom has quit [Read error: Connection reset by peer]
<jeosol> btw, how is your Nyxt project going?
mrcom_ has joined #commonlisp
waleee has quit [Ping timeout: 260 seconds]
mrcom has joined #commonlisp
mrcom_ has quit [Read error: Connection reset by peer]
mrcom has quit [Read error: Connection reset by peer]
ahc has joined #commonlisp
<beach> Good morning everyone!
vats has quit [Ping timeout: 260 seconds]
prxq has quit [Ping timeout: 260 seconds]
prxq has joined #commonlisp
vats has joined #commonlisp
mrcom has joined #commonlisp
<ahc> hi beach
mrcom has quit [Read error: Connection reset by peer]
mrcom_ has joined #commonlisp
<beach> ahc: Are you new here? I don't recognize your nick.
lisp123 has joined #commonlisp
lisp123 has quit [Client Quit]
<Qwnavery> last I've seen, Fare's caught the crypto bug.
mrcom_ has quit [Read error: Connection reset by peer]
tyson2 has quit [Remote host closed the connection]
mrcom has joined #commonlisp
nature has quit [Ping timeout: 260 seconds]
mrcom has quit [Read error: Connection reset by peer]
nature has joined #commonlisp
vats has quit [Ping timeout: 260 seconds]
vats has joined #commonlisp
mrcom_ has joined #commonlisp
<jeosol> Qwnavery: yeah, I had a chat with him, he is into blockchain and related technology now
<jeosol> beach: good morning
<beach> I see the USB specification is a 650 page PDF document. Implementing that specification in Common Lisp would be an interesting project for someone. Not as complicated as a Common Lisp system, but not trivial either.
<hayley> Thinking about CLOSOS already?
<hayley> I think Mezzano has some parts of the USB specification implemented...
<beach> Oh, nice!
bcasiello has quit [Ping timeout: 260 seconds]
<beach> Wow, froggey's productivity is impressive.
semz has quit [Ping timeout: 268 seconds]
Oladon has quit [Quit: Leaving.]
<hayley> The files are attributed to Philip Mueller (fittestbits), but still true.
<beach> Ah, OK.
<beach> Stuff like that should be extracted to separate libraries when possible.
<hayley> I imagine it's very non-trivial to come up with a portable interface for such drivers, so a separate library might or might not be too useful.
semz has joined #commonlisp
vats has quit [Read error: Connection reset by peer]
vats has joined #commonlisp
<beach> Maybe so.
nature has quit [Remote host closed the connection]
mrcom_ has quit [Read error: Connection reset by peer]
Inline_ has quit [Quit: Leaving]
mrcom has joined #commonlisp
mrcom_ has joined #commonlisp
mrcom_ has quit [Read error: Connection reset by peer]
mrcom has quit [Read error: Connection reset by peer]
dre has quit [Quit: Leaving]
mrcom_ has joined #commonlisp
vats has quit [Ping timeout: 260 seconds]
domovod has joined #commonlisp
vats has joined #commonlisp
mrcom has joined #commonlisp
Nilby has joined #commonlisp
<jmercouris> jeosol: it is going well, the work is of course infinite in nature... an unfinishable project
mrcom has quit [Read error: Connection reset by peer]
gko has quit [Remote host closed the connection]
gko has joined #commonlisp
drmeister has quit [Ping timeout: 264 seconds]
pl has quit [Ping timeout: 264 seconds]
ullbeking has quit [Ping timeout: 264 seconds]
pl has joined #commonlisp
drmeister has joined #commonlisp
aartaka has joined #commonlisp
ullbeking has joined #commonlisp
domovod has quit [Ping timeout: 245 seconds]
domovod has joined #commonlisp
aartaka has quit [Ping timeout: 260 seconds]
mrcom has joined #commonlisp
mrcom_ has quit [Read error: Connection reset by peer]
aartaka has joined #commonlisp
mrcom has quit [Read error: Connection reset by peer]
mrcom_ has joined #commonlisp
<jeosol> jmercouris: I see, always things to add and improve. Congratulations on the work so far. I see the post about the releases
molson has joined #commonlisp
aartaka has quit [Ping timeout: 258 seconds]
aartaka has joined #commonlisp
mrcom_ has quit [Read error: Connection reset by peer]
shka has joined #commonlisp
vats has quit [Ping timeout: 245 seconds]
Cymew has joined #commonlisp
rotateq has joined #commonlisp
srhm has quit [Read error: Connection reset by peer]
srhm has joined #commonlisp
mallkrampus has joined #commonlisp
042AAD9D5 has joined #commonlisp
077AADJN5 has joined #commonlisp
pve has joined #commonlisp
pranavats has left #commonlisp [#commonlisp]
mallkrampus has quit [Ping timeout: 258 seconds]
Qwnavery has quit [Quit: WeeChat 3.3]
mallkrampus has joined #commonlisp
hendursaga has quit [Remote host closed the connection]
hendursaga has joined #commonlisp
042AAD9D5 has quit [Read error: Connection reset by peer]
077AADJN5 has quit [Read error: Connection reset by peer]
mrcom_ has joined #commonlisp
mrcom__ has joined #commonlisp
prxq has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<froggey> beach: yes, the USB stack was written by fittestbits, not me
<froggey> I'm not quite that productive
<beach> I see. I am still impressed, though.
<beach> froggey: So how hard would it be to turn this "module" into a library, obviously requiring a certain amount of configuration depending on the Common Lisp implementation and such.
<froggey> I'll get back to you, bit busy today
<beach> Sure. No rush.
<beach> I am not planning to use it any time soon.
mrcom__ has quit [Read error: Connection reset by peer]
mrcom_ has quit [Read error: Connection reset by peer]
mrcom__ has joined #commonlisp
hendursa1 has joined #commonlisp
mrcom_ has joined #commonlisp
hendursaga has quit [Ping timeout: 276 seconds]
edgar-rft has quit [Quit: Leaving]
shka has quit [Ping timeout: 264 seconds]
casionaut has joined #commonlisp
frgo has quit [Ping timeout: 260 seconds]
McParen has joined #commonlisp
Guest-liao has quit [Quit: Client closed]
Guest-liao has joined #commonlisp
pranavats has joined #commonlisp
heisig has joined #commonlisp
casionaut has quit [Quit: o7]
casionaut has joined #commonlisp
dec0d3r has joined #commonlisp
peterhil has joined #commonlisp
ahc has quit [Quit: Client closed]
kevingal has joined #commonlisp
dec0d3r has quit [Remote host closed the connection]
cage has joined #commonlisp
peterhil has quit [Ping timeout: 264 seconds]
amb007 has quit [Ping timeout: 260 seconds]
peterhil has joined #commonlisp
mfiano has quit [Quit: WeeChat 3.2]
mfiano has joined #commonlisp
mfiano has quit [Client Quit]
mfiano has joined #commonlisp
amb007 has joined #commonlisp
cosimone has joined #commonlisp
peterhil has quit [Ping timeout: 264 seconds]
Cymew has quit [Ping timeout: 246 seconds]
attila_lendvai has joined #commonlisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #commonlisp
<froggey> Most drivers need three things: A way to allocate and access physical memory, a way to receive IRQs, and on x86 access to IO ports
<froggey> So that at minimum
<froggey> The USB stack also uses multiple threads, along with mutexes, condition variables, etc
<froggey> Timers too
waleee has joined #commonlisp
domovod has quit [Ping timeout: 260 seconds]
mrcom_ has quit [Read error: Connection reset by peer]
mrcom__ has quit [Read error: Connection reset by peer]
McParen has left #commonlisp [#commonlisp]
random-nick has joined #commonlisp
Guest-liao has quit [Quit: Client closed]
johnjay has quit [Ping timeout: 260 seconds]
igemnace has quit [Remote host closed the connection]
frgo has joined #commonlisp
waleee has quit [Ping timeout: 264 seconds]
edgar-rft has joined #commonlisp
Guest-liao has joined #commonlisp
kevingal has quit [Ping timeout: 246 seconds]
Cymew has joined #commonlisp
kevingal has joined #commonlisp
Guest-liao has quit [Quit: Client closed]
tyson2 has joined #commonlisp
Guest-liao has joined #commonlisp
<cage> Hi! Is there an existing wrapper for libudev (https://www.freedesktop.org/software/systemd/man/libudev.html)?
<edgar-rft> CLiki says "no" but maybe somewhere on github -> https://www.cliki.net/site/search?query=udev
<cage> edgar-rft: thanks! I was not able to find anything on internet, unfortunately :(
Guest-liao has quit [Ping timeout: 256 seconds]
Nilby has quit [Ping timeout: 260 seconds]
attila_lendvai has quit [Quit: Leaving]
lisp123 has joined #commonlisp
<lisp123> good afternoon
<lisp123> how's everybody doing
johnjay has joined #commonlisp
mrcom__ has joined #commonlisp
mrcom_ has joined #commonlisp
pve has quit [Ping timeout: 268 seconds]
paule32_ is now known as paule32
scymtym has quit [Ping timeout: 260 seconds]
peterhil has joined #commonlisp
aartaka has quit [Ping timeout: 264 seconds]
<cage> fine, thanks!
* edgar-rft does it exactly like this
aartaka has joined #commonlisp
aartaka has quit [Read error: Connection reset by peer]
aartaka has joined #commonlisp
attila_lendvai has joined #commonlisp
McParen has joined #commonlisp
frgo has quit []
peterhil has quit [Ping timeout: 264 seconds]
attila_lendvai has quit [Ping timeout: 260 seconds]
Posterdati has quit [Ping timeout: 264 seconds]
scymtym has joined #commonlisp
edgar-rft has quit [Quit: Leaving]
Posterdati has joined #commonlisp
peterhil has joined #commonlisp
<beach> froggey: It sounds like those things could be made configurable without too much work.
varjag has joined #commonlisp
igemnace has joined #commonlisp
Guest-liao has joined #commonlisp
peterhil has quit [Ping timeout: 264 seconds]
domovod has joined #commonlisp
Inline has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
peterhil has joined #commonlisp
mrcom_ has quit [Read error: Connection reset by peer]
mrcom__ has quit [Read error: Connection reset by peer]
azimut has quit [Ping timeout: 276 seconds]
azimut has joined #commonlisp
hendursa1 has quit [Ping timeout: 276 seconds]
hendursa1 has joined #commonlisp
fanimo has joined #commonlisp
domovod has quit [Ping timeout: 260 seconds]
domovod has joined #commonlisp
mrcom__ has joined #commonlisp
random-nickname has joined #commonlisp
fanimo has quit [Remote host closed the connection]
fanimo has joined #commonlisp
random-nick has quit [Ping timeout: 245 seconds]
Inline has quit [Quit: Leaving]
Inline has joined #commonlisp
Guest-liao has quit [Quit: Ping timeout (120 seconds)]
Guest-liao has joined #commonlisp
fanimo has quit [Read error: Connection reset by peer]
fanimo has joined #commonlisp
Bike has joined #commonlisp
peterhil has quit [Ping timeout: 264 seconds]
peterhil has joined #commonlisp
Guest-liao has quit [Quit: Client closed]
random-nickname is now known as random-nick
rotateq has quit [Remote host closed the connection]
Guest-liao has joined #commonlisp
fanimo has quit [Remote host closed the connection]
fanimo has joined #commonlisp
Guest-liao has quit [Client Quit]
amb007 has quit [Ping timeout: 245 seconds]
amb007 has joined #commonlisp
mrcom has joined #commonlisp
tyson2 has joined #commonlisp
mfiano has quit [Quit: WeeChat 3.3]
amb007 has quit [Read error: Connection reset by peer]
fanimo has quit [Remote host closed the connection]
amb007 has joined #commonlisp
mfiano has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
shka has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
domovod has quit [Ping timeout: 260 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
domovod has joined #commonlisp
tyson2 has quit [Ping timeout: 245 seconds]
amb007 has quit [Ping timeout: 264 seconds]
tyson2 has joined #commonlisp
amb007 has joined #commonlisp
peterhil has quit [Ping timeout: 260 seconds]
mrcom has quit [Read error: Connection reset by peer]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
srhm has quit [Read error: Connection reset by peer]
amb007 has quit [Read error: Connection reset by peer]
peterhil has joined #commonlisp
peterhil has quit [Read error: Connection reset by peer]
peterhil has joined #commonlisp
srhm has joined #commonlisp
amb007 has joined #commonlisp
Guest74 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
charro has joined #commonlisp
<Guest74> any stumpwm connoisseurs here who knows how stumpwm deals with dnd windows set to type normal and not dnd? my wm keeps managing them.
<hexology> keywords are interned right? that means it's safe to use EQ to compare them?
<Bike> eq is fine, yes
<hexology> thanks
<copec> What about safewords?
<Guest74> anybody actively using cl-irc? I see it barfing on things like listing channels on libera and wondering which side is non-conforming.
<Guest74> or is anybody even seeing these messages?
<hexology> i see your messages, but the answer might be "idk" from most people here. i am not using cl-irc although i have looked into it
<hexology> same with stumpwm, i've poked at it but never really set it up
<hexology> maybe there's a stumpwm users group somewhere
Cymew has quit [Ping timeout: 260 seconds]
heisig has quit [Remote host closed the connection]
heisig has joined #commonlisp
<Guest74> ok, just checking. Not familiar with these web clients and having trouble getting cl-irc to work again.
<beach> I wish someone would write a good CLIM-based (or McCLIM-based) IRC client.
heisig has quit [Client Quit]
<Guest74> I'd suggest having a working backend that could be used for any frontend would be a good place to start.
<beach> Definitely.
<Guest74> whcih I'm hoping somebody else will do so I can focus on my frontend. Doesn't the existing clim irc client use cl-irc?
<beach> You mean beirc? I don't know.
<Guest74> that's the name. cliki says it does. I'm guessing nobody uses it or they would have noticed where it's not behaving properly.
<Guest74> or they have an updated repo to deal with it, which I'm hoping is the case.
<etimmons> Guest74: I'm pretty sure minion uses cl-irc. ehuelsmann is the one that got it connected to Libera, but I doubt that listing channels is something that minion needs. You can pop over to #common-lisp.net and ask him there.
<Guest74> thanks, that sounds promising.
Cymew has joined #commonlisp
<Guest74> on an unrelated note, i have a question about api design.
<Guest74> I've got a surface protocol for getting surfaces to draw on, x11 windows, framebuffer regions, rasters, etc... and have kind of stuck in things that maybe don't belong there.
<Guest74> like resizing or moving, which doesn't seem to really pertain to memory regions. Wondering if I should separate that out into a canvas protocol.
peterhil has quit [Ping timeout: 264 seconds]
<Guest74> but it seems like would add another layer that would still need to be surface specific. Not seeing how to make it so that something like the drawing protocol can specialize on surface type unless canvases are all separate.
peterhil has joined #commonlisp
mrcom has joined #commonlisp
mfiano has quit [Remote host closed the connection]
mfiano has joined #commonlisp
varjag has quit [Ping timeout: 258 seconds]
Cymew has quit [Ping timeout: 264 seconds]
frgo has joined #commonlisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #commonlisp
Bi[m] has quit [Quit: You have been kicked for being idle]
mfiano has quit [Remote host closed the connection]
tyson2 has quit [Ping timeout: 268 seconds]
Inline has quit [Quit: Leaving]
cosimone has quit [Remote host closed the connection]
cosimone has joined #commonlisp
lotuseater has joined #commonlisp
igemnace has quit [Remote host closed the connection]
Yehowshua has joined #commonlisp
lisp123 has quit [Remote host closed the connection]
anothersame has joined #commonlisp
srhm has quit [Read error: Connection reset by peer]
srhm has joined #commonlisp
<hexology> beach: i have thought about doing some kind of lisp irc client. i have other projects going on so i figured i would wait for ircv3 to stabilize
Krystof has quit [Ping timeout: 258 seconds]
gxt_ has quit [Ping timeout: 276 seconds]
<beach> Sounds like a good plan.
gxt_ has joined #commonlisp
<hexology> a matrix client library might be a good idea too, but apparently it's a complicated and under-documented protocol, and you'd need to also writ bindings to their olm crypto library
<Guest74> hexology: are you thinking of writing a completely new library? As far as I see v3 is just extensions building ontop of everything else and wouldn't prevent starting anything.
<hexology> i would probably want to just contribute the changes back to cl-irc
<beach> hexology: I think loke[m] is working on that.
<hexology> but mostly i need an excuse to postpone starting something big :)
<hexology> too many other things happening
<beach> What's the big one you are postponing?
<loke[m]> hexology: The thing I work on right now is targeting Matrix.
<Guest74> procrastination is why I'm here! It's somehow easier to wait here hoping someone else will deal with it than reading through rfcs and fixing someone elses code.
<loke[m]> However, I would like to build a layer in between so more than one protocol could be supported.
<loke[m]> But right now it's Matrix only.
<hexology> beach: learning the details of the irc protocol and making material contributions to an old established library is a big project
<beach> Ah, OK, I see.
<loke[m]> I think out of the protocols one could do that with, IRC is probably one of the easiest, given how simple the protocol is.
<hexology> are you building some kind of chat protocol abstraction layer?
<loke[m]> hexology: Not right now. But I'm trying to build the application in such a way that it will be possible to break it out into an abstraction layer.
<hexology> ah nice
<hexology> you might want to look into https://shirakumo.github.io/maiden/ which i found on cliki
<loke[m]> If you wanted to help build such an abstraction layer, I'd be happy to use it.
<Guest74> i'd happily use a standard chat protocol.
<hexology> i don't like attempting to design "abstraction" without understanding what i'm abstracting over. but if i do end up getting my hands dirty w/ irc and matrix i would be happy to contribute whatever i learn
<Guest74> come to think of it, hasn't shinmera already got such a thing for his own chat?
<Guest74> though I have a hard time understanding his stuff.
<hexology> that is what i just linked
varjag has joined #commonlisp
<hexology> it supports irc, something i never heard of called lichat, and a relay system
<hexology> also supports a kind of bot framework
tyson2 has joined #commonlisp
<Guest74> I'm not sure that's what he uses with his own chat system though.
<Guest74> but i could be wrong
<Guest74> just remember something along the lines of him not being happy with it.
<hexology> ah
Inline has joined #commonlisp
<Guest74> welp, here's a question that just requires an opinion so maybe I can get some answers.
kevingal has quit [Remote host closed the connection]
<Guest74> Has to do with app/widget layouts. I'm currently have it so that you can specify different layouts at different sizes. which can ballon quite a bit.
lisp123 has joined #commonlisp
<Shinmera> maiden is what runs Colleen
<Guest74> maybe you want some of the layouts to be resolution independent. So wondering if I should just scrap keeping layouts stored under resolutions? Though then I'm not sure how to handle css conversions of resolution dependent layouts.
<Shinmera> and lichat is my chat system. https://shirakumo.github.io/lichat
<Guest74> but maybe nobody even cares about resolution dependent layouts.
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #commonlisp
bcasiello has joined #commonlisp
qhong_ has joined #commonlisp
mrcom__ has quit [Read error: Connection reset by peer]
mrcom has quit [Read error: Connection reset by peer]
danieli4 has joined #commonlisp
Spawns_Carpet has joined #commonlisp
cross_ has joined #commonlisp
aeth_ has joined #commonlisp
spacebat3 has joined #commonlisp
peterhil has quit [Ping timeout: 265 seconds]
<lotuseater> ah nice also with an elixir server
Catie has quit [*.net *.split]
aeth has quit [*.net *.split]
spacebat2 has quit [*.net *.split]
danieli has quit [*.net *.split]
Spawns_Carpeting has quit [*.net *.split]
cross has quit [*.net *.split]
qhong has quit [*.net *.split]
danieli4 is now known as danieli
<fitzsim> Mezzano has an IRC client
<opcode> If I write a binary search on a list, given that they're linked cons cells under the hood, will a binary search be O(n) instead of O(log n)?
<fitzsim> but I have to write a network driver for my hardware before I can start using it
mrcom__ has joined #commonlisp
<Bike> opcode: it's certainly at least O(n) worst case since you might have to traverse to the end of the list.
<opcode> That was my fear. But for a 1D list I can just coerce to a vector and get log n complexity, correct?
mrcom__ has quit [Read error: Connection reset by peer]
<Bike> yes, vectors are random access. of course coercing to a vector will be O(n).
<opcode> No prob, happy to pay that cost once. Thanks Bike
tyson2 has quit [Ping timeout: 258 seconds]
srhm has quit [Read error: Connection reset by peer]
Oladon has joined #commonlisp
<Guest74> fitzim: that's interesting. I wonder what the reasoning was behind writing another irc backend and not using cl-irc?
srhm has joined #commonlisp
<Guest74> welp, any thoughts on UI, ui definition, themes, theme compatability, wants/needs in a window/desktop manager?etc... before I go back to writing a UI/wm/task/desktop manager nobody will use?
varjag has quit [Ping timeout: 252 seconds]
<pjb> opcode: if you do binary search on a list, you need O(nlogn) accesses to the nodes, but since you need O(n) to access a node, that's O(n²logn) !
<opcode> Oof
<pjb> opcode: that's why to do binary search, we use a tree instead. Then we get O(nlogn).
<pjb> opcode: the tree can be stored using cons cells, or using vector, it doesn't matter, as long as accessing a child is O(1).
domovod has quit [Ping timeout: 258 seconds]
<opcode> Okay thanks
<pjb> note that to insert a node in a tree, it's better to use cons cells (or other independent node structures) than a (sorted) vector, since inserting a node in a tree is O(1) (+ O(nlogn) to find where it must be inserted), while inserting an element in a sorted vector is O(n) (+ O(nlogn) to find where to insert it).
mrcom has joined #commonlisp
<anothersame> What do you people use as a package manager?
<anothersame> I was using quicklisp, but now that I'm interested in using some
<anothersame> libraries not in the repos, I feel like adding qlot would be convenient,
<anothersame> especially to share the code with others. But there is also clpm which might be good...
<fitzsim> Guest74: it's small and has many dependencies on Mezzano, so it would probably have been more work to integrate cl-irc
<fitzsim> Guest74: might be worth you trying it out in VM though
mfiano has joined #commonlisp
<fitzsim> not sure it'd connect to Libera though, since I don't think it does TLS
mfiano has quit [Client Quit]
<johnjay> fitzsim: i like virtualbox's branched snapshop feature
<Guest74> Only the gui client part uses mez stuff. The rest just duplicates most of the work from cl-irc, though seems less complete. I'm mainly wondering if they found other deficiencies in cl-irc that I haven't encountered yet.
<random-nick> I don't think there's a TLS implementation available on mezzano at all
<johnjay> it means i can have a base install then a snapshot for different types of lisps
<random-nick> anothersame: there's ultralisp, which is an automatically updating dist for the quicklisp client https://ultralisp.org/
<Guest74> and apparently you can connect to libera without tls on 6667 even though it's not mentionned anywhere on their site.
<fitzsim> ah, OK then
<Guest74> that was the first issue I encountered when I started work on a gui for it.
<etimmons> anothersame: I use CLPM. But I also develop it, soo....
<random-nick> anothersame: it's important to distinguish package manager and package repository, though
<random-nick> distinguish between, I meant
<anothersame> I understand that both quicklisp and clpm are package managers
<anothersame> ultralisp is a repo, and qlot is a utility which integrates with quicklisp to have project local dependencies (and allows to download from other places)
<anothersame> etimmons: given that you had a "rely on existing libraries" approach, why didn't you make clpm integrate with qlot?
<etimmons> It was a combination of bugs in qlot, disagreeing with some fundamental qlot choices, and my desired future directions.
<anothersame> I see
<etimmons> A major bug I remember is that qlot reached way too far into ASDF internals and broke on ASDF upgrades for me.
MichaelRaskin has joined #commonlisp
<etimmons> I also really don't like the snapshot based approach to QL-based distributions. So the biggest future direction issue for me is that I really want to have some project index that respects and advertises ASDF system version numbers (and some other features), and easily makes all versions available for download
<etimmons> qlot is so closely tied to Quicklisp (and uses the QL client under the hood) that I didn't think that was possible to do with qlot
<johnjay> etimmons: i don't really understand why packaging is hard on common lisp
<johnjay> but i barely understand how to use quicklisp
<lotuseater> it's hard? :)
<lotuseater> and don't throw at each other package and system definitions, that are two different things
<Guest74> I'd think version dependencies are hard in any package manager, regardless of language.
<Guest74> Hence why lots of people threw up their hands and developed snaps.
<lotuseater> even on NixOS the Python packaging is a pain
<etimmons> johnjay: My personal suspicion is it's largely down to CL existing well before "modern" packaging approaches and the CL community being pretty small. QL works for most people, most of the time and that's great! But it also means there's not a lot of people clamoring for something new.
<etimmons> There are some technical challenges as well, especially given how extensible ASDF is, but those are solvable.
<etimmons> Guest74: Versioned dependencies are fairly easy (to specify at least). Where it gets complicated is if people keep breaking compatibility. The more that happens, the smaller and smaller the set of releases that satisfy all constraints becomes.
<etimmons> So I think snaps are largely down to devs not caring about things like backward compatibility
<semz> That seems to be significantly less of a problem in CL than in other languages. Maybe it's the stability of the language that causes devs to care about it more.
<etimmons> Yeah, it's one of the things I love about the CL ecosystem.
<Guest74> well if anybody has any thoughts on the UI stuff I asked about, or thoughts on dividing up clx into a buffer protocol, wm stuff, and reducing it to just the x11 protocol, and maybe making it more asynchronous, I'll check the logs. (makes it easier to implement some extensions)
Guest74 has quit [Quit: Connection closed]
<lotuseater> etimmons: real legacy is great
<johnjay> hrm i tried getting sdl stuff to work by doing (ql:quickload "cl-tetris3d")
<johnjay> i got an error but went into the lispbuilder folder for cocoahelper and typed make. now the error is gone. but no graphics when i start it lol.
<lotuseater> so you're on mac?
<johnjay> on wait it did work it just hides the window lol
<johnjay> yes
<johnjay> i had to search for it in the taskbar
<lotuseater> there should be fractal tetris, in a dimension between 1 and 2 or 2 and 3 ^^
<johnjay> i'm just amazed i can have CL doing graphical things on mac
<johnjay> although i had to enter quicklisp and type make though. got some compiler error
<lotuseater> apple just doesn't like things that can change themselves while they run
<lotuseater> and of course, with CCL the cocoa interface and ffi is good as i heard
edgar-rft has joined #commonlisp
<lotuseater> so you don't have to get too "SWIFTy" or objective about it ;)
aeth_ is now known as aeth
<lotuseater> and CCL was originally (1984-1987) Coral Common Lisp, then renamed MACL (Macintosh Allegro Common Lisp) and so on
<edgar-rft> Coral Common Lisp sounds as if it was used by SpongeBob
<lotuseater> hehe
<lotuseater> iirc there was one episode where they used the adjective "coral" as a modern youth slang for "cool"
Bike has quit [Ping timeout: 258 seconds]
mrcom has quit [Read error: Connection reset by peer]
Yehowshua has quit [Ping timeout: 256 seconds]
igemnace has joined #commonlisp
tyson2 has joined #commonlisp
Bike has joined #commonlisp
Bike has quit [Ping timeout: 260 seconds]
attila_lendvai has joined #commonlisp
<johnjay> apparently clozure-cl is available in brew. amazing
<johnjay> this is probably a tedious question but what's the main difference between CCL and SBCL?
<johnjay> do they have different features
Bike has joined #commonlisp
<lotuseater> also in the App Store
mrcom has joined #commonlisp
<lotuseater> yes they differ in some things which are let open to the implementation by the ANSI standard
<johnjay> there's also MyLisp for $3.99
<johnjay> and "LispPad"
<lotuseater> Apple had the language Dylan in the past and this also had some ideas from CLOS
<hexology> johnjay: i personally like using roswell (which is also available in brew)
<johnjay> yeah i was messing around iwth it but i couldn't tell if it was managing common lisp installs separately or if it was a package manager/selector
<hexology> johnjay: the former, it doesn't attempt to integrate w/ your package manager
<hexology> however it also supports "scripts", so you can distribute your application as a roswell script in addition to quicklisp or whatever else
<hexology> it's like pyenv or rbenv/rvm if you're familiar with those
<hexology> or rustup
mrcom_ has joined #commonlisp
scymtym has quit [Ping timeout: 260 seconds]
<lotuseater> and alienships are made of metamaterial so they don't rust ;)
ahc has joined #commonlisp
<White_Flame> *facebookmaterial
<lotuseater> ∘.○
scymtym has joined #commonlisp
Qwnavery has joined #commonlisp
mrcom has quit [Read error: Connection reset by peer]
tyson2 has quit [Remote host closed the connection]
mrcom has joined #commonlisp
McParen has left #commonlisp [#commonlisp]
mrcom_ has quit [Read error: Connection reset by peer]
mrcom has quit [Read error: Connection reset by peer]
mrcom has joined #commonlisp
mrcom has quit [Read error: Connection reset by peer]
mrcom_ has joined #commonlisp
X-Scale has quit [Ping timeout: 260 seconds]
mrcom has joined #commonlisp
anothersame has quit [Quit: Connection closed]
waleee has joined #commonlisp
X-Scale has joined #commonlisp
tyson2 has joined #commonlisp
dre has joined #commonlisp
srhm has quit [Read error: Connection reset by peer]
srhm has joined #commonlisp
Inline has quit [Ping timeout: 260 seconds]
casionaut has quit [Quit: o7]
paule32 has quit [Quit: Leaving]
dre_ has joined #commonlisp
charro has quit [Ping timeout: 264 seconds]
dre has quit [Ping timeout: 268 seconds]
akoana has joined #commonlisp
pranavats has left #commonlisp [#commonlisp]
pranavats has joined #commonlisp
shka has quit [Ping timeout: 258 seconds]
lisp123 has quit [Ping timeout: 264 seconds]
Qwnavery has quit [Quit: WeeChat 3.3]
theBlackDragon has quit [Ping timeout: 246 seconds]
theBlackDragon has joined #commonlisp
aartaka has quit [Ping timeout: 260 seconds]
attila_lendvai has quit [Ping timeout: 268 seconds]
cage has quit [Quit: rcirc on GNU Emacs 27.1]
LoopMacro has quit [Ping timeout: 264 seconds]
Inline has joined #commonlisp
CrashTestDummy3 has joined #commonlisp
Inline has quit [Quit: Leaving]
CrashTestDummy2 has quit [Ping timeout: 260 seconds]
Inline has joined #commonlisp
Yehowshua has joined #commonlisp
lottaquestions_ has quit [Quit: Konversation terminated!]
lotuseater has quit [Ping timeout: 268 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #commonlisp
igemnace has quit [Ping timeout: 260 seconds]
Qwnavery has joined #commonlisp
cosimone has quit [Quit: ERC (IRC client for Emacs 27.1)]
X-Scale` has joined #commonlisp
random-nick has quit [Ping timeout: 268 seconds]
X-Scale has quit [Ping timeout: 268 seconds]
X-Scale` is now known as X-Scale
Inline has quit [Ping timeout: 264 seconds]
srhm has quit [Read error: Connection reset by peer]
srhm has joined #commonlisp
charro has joined #commonlisp
taiju has quit [Ping timeout: 264 seconds]
igemnace has joined #commonlisp
Guest-liao has joined #commonlisp