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/>
Lord_of_Life has quit [*.net *.split]
Brucio-61 has quit [*.net *.split]
alip has quit [*.net *.split]
notzmv has quit [*.net *.split]
avocadoist has quit [*.net *.split]
iska has quit [*.net *.split]
cmack` has quit [*.net *.split]
zups has quit [*.net *.split]
mathrick has quit [*.net *.split]
hrberg has quit [*.net *.split]
light has quit [*.net *.split]
dirtcastle has quit [*.net *.split]
ioa has quit [*.net *.split]
kurfen has quit [*.net *.split]
even4void has quit [*.net *.split]
mht-wtf has quit [*.net *.split]
pkal has quit [*.net *.split]
ecraven has quit [*.net *.split]
Spawns_Carpeting has quit [*.net *.split]
semz has quit [*.net *.split]
hrberg has joined #commonlisp
ioa has joined #commonlisp
light has joined #commonlisp
even4void has joined #commonlisp
alip has joined #commonlisp
light has quit [Changing host]
light has joined #commonlisp
alip has quit [Changing host]
alip has joined #commonlisp
cmack` has joined #commonlisp
mht-wtf has joined #commonlisp
Brucio-61 has joined #commonlisp
zups has joined #commonlisp
avocadoist has joined #commonlisp
ecraven has joined #commonlisp
mathrick has joined #commonlisp
Spawns_Carpeting has joined #commonlisp
Lord_of_Life has joined #commonlisp
kurfen has joined #commonlisp
pkal has joined #commonlisp
semz has joined #commonlisp
dirtcastle has joined #commonlisp
igemnace has quit [Remote host closed the connection]
NicknameJohn has joined #commonlisp
habamax has quit [Remote host closed the connection]
habamax has joined #commonlisp
mehbark has joined #commonlisp
NicknameJohn has quit [Ping timeout: 246 seconds]
yosef` has joined #commonlisp
yosef` has quit [Client Quit]
dnhester26 has quit [Remote host closed the connection]
<jcowan> There's nothing JSON-specific about REST.
NotThatRPG has joined #commonlisp
yosef` has joined #commonlisp
yitzi has quit [Remote host closed the connection]
yosef` has quit [Client Quit]
lucasta_ has quit [Quit: Quit]
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waleee has quit [Ping timeout: 246 seconds]
yosef` has joined #commonlisp
yosef` has quit [Quit: Ping timeout (120 seconds)]
triffid has joined #commonlisp
xmachina has quit [Quit: WeeChat 4.0.4]
xmachina has joined #commonlisp
akoana has joined #commonlisp
fe[nl]ix has quit [Quit: Valete!]
notzmv has joined #commonlisp
chrcav has quit [Quit: leaving]
fe[nl]ix has joined #commonlisp
pyook has joined #commonlisp
pyook has quit [Read error: Connection reset by peer]
yosef` has joined #commonlisp
azimut has quit [Ping timeout: 246 seconds]
avocadoist has quit [Ping timeout: 245 seconds]
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
anticrisis has quit [Read error: Connection reset by peer]
anticrisis has joined #commonlisp
yosef` has quit [Ping timeout: 245 seconds]
mehbark has quit [Remote host closed the connection]
dtman34 has quit [Server closed connection]
dtman34 has joined #commonlisp
hirez has quit [Server closed connection]
hirez has joined #commonlisp
Pixel_Outlaw has quit [Quit: Leaving]
nyx_land has quit [Server closed connection]
nyx_land has joined #commonlisp
akoana has quit [Ping timeout: 245 seconds]
wonko-the-sane has quit [Ping timeout: 246 seconds]
NicknameJohn has joined #commonlisp
blop_ has quit [Remote host closed the connection]
blop_ has joined #commonlisp
Patternmaster has quit [Server closed connection]
Patternmaster has joined #commonlisp
habamax has quit [Remote host closed the connection]
wonko-the-sane has joined #commonlisp
pve has joined #commonlisp
chomwitt has joined #commonlisp
Cymew has joined #commonlisp
rgherdt has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
Inline has quit [Read error: Connection reset by peer]
rgherdt_ has joined #commonlisp
Inline has joined #commonlisp
rgherdt has quit [Ping timeout: 264 seconds]
wonko-the-sane has quit [Ping timeout: 246 seconds]
Inline has quit [Quit: Leaving]
Inline has joined #commonlisp
prokhor has quit [Remote host closed the connection]
shka has joined #commonlisp
igemnace has joined #commonlisp
LW has joined #commonlisp
LW has quit [Client Quit]
thuna` has joined #commonlisp
Pixel_Outlaw has quit [Quit: Leaving]
rtypo has joined #commonlisp
lottaquestions_ has joined #commonlisp
bendersteed has joined #commonlisp
lottaquestions has quit [Ping timeout: 252 seconds]
overclucker has quit [Ping timeout: 246 seconds]
overclucker has joined #commonlisp
varjag has joined #commonlisp
mgl has joined #commonlisp
nimiux has quit [Remote host closed the connection]
dcb has quit [Quit: MSN Messenger 4.0.4]
notzmv has quit [Ping timeout: 264 seconds]
copec has quit [Server closed connection]
copec has joined #commonlisp
igemnace has quit [Write error: Connection reset by peer]
habamax has joined #commonlisp
attila_lendvai_ has joined #commonlisp
yosef` has joined #commonlisp
igemnace has joined #commonlisp
dino_tutter has joined #commonlisp
mgl has quit [Quit: Client closed]
jeffrey has joined #commonlisp
jeffrey has quit [Read error: Connection reset by peer]
jeffrey has joined #commonlisp
jeffrey has quit [Client Quit]
yitzi has joined #commonlisp
mgl has joined #commonlisp
kamafam has joined #commonlisp
Inline has quit [Quit: Leaving]
kamafam has quit [Ping timeout: 240 seconds]
msavoritias has joined #commonlisp
yosef` has quit [Ping timeout: 245 seconds]
Inline has joined #commonlisp
msavoritias has quit [Quit: Konversation terminated!]
msavoritias has joined #commonlisp
akoana has joined #commonlisp
wonko-the-sane has joined #commonlisp
attila_lendvai_ has quit [Remote host closed the connection]
attila_lendvai_ has joined #commonlisp
random-nick has joined #commonlisp
blop_ has quit [Remote host closed the connection]
blop_ has joined #commonlisp
notzmv has joined #commonlisp
anticrisis has quit [Read error: Connection reset by peer]
dino_tutter has quit [Ping timeout: 240 seconds]
yitzi has quit [Remote host closed the connection]
rgherdt__ has joined #commonlisp
rgherdt_ has quit [Ping timeout: 264 seconds]
thuna` has quit [Remote host closed the connection]
azimut has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
rgherdt_ has joined #commonlisp
rgherdt__ has quit [Read error: Connection reset by peer]
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
mehbark has joined #commonlisp
amb007 has quit [Ping timeout: 240 seconds]
amb007 has joined #commonlisp
yitzi has joined #commonlisp
thuna` has joined #commonlisp
kamafam has joined #commonlisp
leo_song has quit [Server closed connection]
avocadoist has joined #commonlisp
leo_song has joined #commonlisp
mgl has quit [Quit: Client closed]
dino_tutter has joined #commonlisp
mgl has joined #commonlisp
wonko-the-sane has quit [Remote host closed the connection]
wonko-the-sane has joined #commonlisp
kamafam has quit [Read error: Connection reset by peer]
thollief has joined #commonlisp
tyson2 has joined #commonlisp
rogersm has joined #commonlisp
jon_atack has quit [Ping timeout: 246 seconds]
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
pyooque has joined #commonlisp
pyooque is now known as puke
jonatack has joined #commonlisp
habamax has quit [Remote host closed the connection]
lieven has quit [Server closed connection]
lieven has joined #commonlisp
dcb has joined #commonlisp
dino_tutter has quit [Ping timeout: 240 seconds]
Josh_2 has joined #commonlisp
<Josh_2> Hi :sunglasses:
attila_lendvai_ has quit [Ping timeout: 264 seconds]
kamafam has joined #commonlisp
prokhor has joined #commonlisp
chrcav has joined #commonlisp
mauricioc has joined #commonlisp
_dcb has joined #commonlisp
kamafam has quit [Quit: kamafam]
dcb has quit [Ping timeout: 240 seconds]
mgl has quit [Quit: Client closed]
jmdaemon has quit [Ping timeout: 248 seconds]
cage has joined #commonlisp
akoana has quit [Ping timeout: 240 seconds]
NotThatRPG has joined #commonlisp
nyx_land has quit [Ping timeout: 240 seconds]
nyx_land_ has joined #commonlisp
nyx_land_ is now known as nyx_land
yitzi has quit [Read error: Connection reset by peer]
mgl has joined #commonlisp
_dcb has quit [Quit: MSN Messenger 4.0.4]
dcb has joined #commonlisp
Cymew has quit [Ping timeout: 240 seconds]
tyson2 has quit [Remote host closed the connection]
rgherdt has joined #commonlisp
rgherdt_ has quit [Remote host closed the connection]
jello_pudding has quit [Ping timeout: 246 seconds]
tyson2 has joined #commonlisp
jello_pudding has joined #commonlisp
igemnace has quit [Remote host closed the connection]
rgherdt has quit [Ping timeout: 240 seconds]
bendersteed has quit [Quit: bye]
<jmercouris> Can someone please explain this?
<ixelp> dpaste: 2WMU2EQ93
<jmercouris> I don't understand why it is showing me just 1 on the first invokation and then 1 and 2
<jmercouris> the plot thickens even more: http://dpaste.com/DDA7SKJXP
<ixelp> dpaste: DDA7SKJXP
<jmercouris> :linux is *NOT* in the list of features, and *YET*, it is part of the list
<jmercouris> how do you explain that?
<Josh_2> Magic
<jmercouris> seriously, what is going on?
<jmercouris> is there something I am strongly misunderstanding about these macros?
<beach> jmercouris: The #+ is interpreted by the reader.
<beach> In the first case, the entire form is read before anything is evaluated.
<jmercouris> and why is not being re-read?
<jmercouris> that's why I don't understand I am in the REPL
<gilberth> Would you expect that .(let ((*read-base* 8)) 10) evaluates to 8?
<jmercouris> should it not be REREADING?
<jmercouris> oh I am being a silly tomato
<jmercouris> I see it now
<gilberth> The form is first read and then evaluated. It's not evaluated as it is read.
<jmercouris> yes, I was being a huge dumb dumb
<edgar-rft> the R (read) in REPL comes *before* the E (evaluation)
notzmv has quit [Ping timeout: 240 seconds]
robin has quit [Read error: Connection reset by peer]
robin has joined #commonlisp
azimut has quit [Ping timeout: 246 seconds]
NicknameJohn has quit [Ping timeout: 252 seconds]
<jmercouris> Is there a way to recursively list the dependencies of a ASDF system?
<jmercouris> like for example, if I have a project which depends on A, which depends on B, which depends on C
<jmercouris> and I am looking at A, can I get it to tell me B, C?
yitzi has joined #commonlisp
NicknameJohn has joined #commonlisp
<bike> i think that gets a bit complicated because asdf has a complicated notion of dependencies; e.g. you can have loading a system have different dependencies than compiling it
<bike> however it looks like you might be able to rig something up for the usual case
<jmercouris> bike: how does QL figure out what it needs to fetch?
<bike> if I do (asdf:component-depends-on 'asdf:prepare-op system-name-here) i get a fairly normal list of dependent systems in the result. then you could recurse through that.
<jmercouris> let me try that
<jmercouris> thanks bike
<bike> what quicklisp actually does is it tries to load a system, and then if asdf complains that it can't find something, quicklisp intercepts the error and tries quickloading the missing system.
<bike> asdf is... very complicated.
<jmercouris> that is an interesting strategy
<jmercouris> I bet it is
dcb has quit [Quit: MSN Messenger 4.0.4]
<jmercouris> what were people using before ASDF?
<bike> mk-defsystem, i think
<bike> it doesn't seem great.
<jmercouris> well, this is a hard problem
<jmercouris> and I don't think a lot of people are really interested in it
<bike> i am seeing that some of the dependent systems can be a little complex, e.g. for the system i tried it on there's a dependency on PARSER.COMMON-RULES, but also one on (:VERSION ESRAP "0.15")
<bike> there are a few asdf... alternative? things? but i haven't checked them out enough to say anything coherent. library dependency resolution is too hard for a simple country compiler dev like myself
mgl has quit [Quit: Client closed]
<jmercouris> lmao
NicknameJohn has quit [Ping timeout: 264 seconds]
tyson2 has quit [Remote host closed the connection]
<jmercouris> I always have such a difficult time with recursion
<jmercouris> probably because I avoid it
<jmercouris> I ended up creating several infinite loops trying to solve this simple problem...
<jmercouris> this is my best attempt so far: http://dpaste.com/9469RTK9U
<ixelp> dpaste: 9469RTK9U
<jmercouris> what am I missing?
<jmercouris> I think I have a base case, when there are no more components, don't recurse again
<bike> this function calls itself on the same system
<bike> like, you do (components :foo) or whatever, and then on line 3 it calls (components :foo)
<jmercouris> bike: what do you mean?
<jmercouris> Ah I see
<jmercouris> the when clause...
<jmercouris> I have to check withanother function
amb007 has quit [Ping timeout: 264 seconds]
<jmercouris> I've updated
<ixelp> dpaste: 2CPVTKS4U
<jmercouris> still seems to infinite loop
amb007 has joined #commonlisp
<jmercouris> there is so much wrong with my function
<jmercouris> I can see it by stepping through it mentally
<jmercouris> I just don't know how to think of it correctly
<jmercouris> for example, consider Alexandria which has no dependencies
<bike> well, you're still having it call itself again
<jmercouris> Alexandria would not be added to the list...
<jmercouris> bike: how so? isn't a recursive function supposed to call itself?
<bike> what is this supposed to return, exactly? are you trying to accumulate to a list to return, or are you trying to change a slot in the system?
<jmercouris> I am trying to basically implement a DFS on a tree
<jmercouris> I am trying to accumulate a list to return
<bike> i mean, again, you have (components system) calling (components system)
<jmercouris> well, I was trying to do it recursively to get all of the recursive dependencies of a system
<bike> yeah but then you should be calling it on the dependency
<bike> not the same system you came in with.
<jmercouris> ah...
<jmercouris> components component
ryanbw has joined #commonlisp
<bike> if you just call it on the same system repeatedly you just have an infinite loop
<bike> maybe instead of the collect line you just want "append (components component)"
<bike> and the when line shouldn't be needed, since if (rest etc) is empty the loop will just terminate immediately and return nil, like you want
<ixelp> dpaste: 257XNNXJD
<jmercouris> doesn't return anything now
<jmercouris> don't we need to collect?
dino_tutter has joined #commonlisp
<jmercouris> I finally figured it out
<jmercouris> that was both trivial for most people, but complex for me :-(
<ixelp> dpaste: DWUY36QLB
<jmercouris> for those curious
<jmercouris> and it makes a nice little tree
attila_lendvai_ has joined #commonlisp
Inline has quit [Quit: Leaving]
tevo has quit [Quit: Leaving.]
wonko-the-sane has quit [Quit: leaving]
tevo has joined #commonlisp
tevo has quit [Client Quit]
mgl has joined #commonlisp
thuna` has quit [Quit: nuking session, brb]
Inline has joined #commonlisp
thuna` has joined #commonlisp
tevo has joined #commonlisp
notzmv has joined #commonlisp
tevo has quit [Quit: Leaving.]
tevo has joined #commonlisp
dcb has joined #commonlisp
tevo has quit [Client Quit]
tevo has joined #commonlisp
mgl has quit [Quit: Client closed]
tyson2 has joined #commonlisp
savoritiasm has joined #commonlisp
amb007 has quit [Ping timeout: 264 seconds]
amb007 has joined #commonlisp
d4ryus has quit [Quit: WeeChat 4.0.4]
akoana has joined #commonlisp
d4ryus has joined #commonlisp
tevo has quit [Quit: Leaving.]
Pixel_Outlaw has joined #commonlisp
akoana_ has joined #commonlisp
akoana has quit [Quit: leaving]
akoana_ has quit [Client Quit]
akoana has joined #commonlisp
msavoritias has quit [Remote host closed the connection]
savoritiasm has quit [Remote host closed the connection]
tyson2 has quit [Remote host closed the connection]
mauricioc has quit [Remote host closed the connection]
<Josh_2> I have an odd problem
<Josh_2> I load my lisp image, and until I go back and manually compile a certain file, I run into a no applicable method error
<Josh_2> So I (ql:quickload <my project>) -> run a test -> test fails -> go to file X -> highlight all and C-c C-c compile -> run a test -> test doesn't fail
<Josh_2> I tried wrapping areas of that file in eval-when
<Josh_2> The file in question is listed in my asd file :thinking:
pve has quit [Quit: leaving]
<Josh_2> :skull:
anticrisis has joined #commonlisp
<Josh_2> I hate my code :man: :gun:
<Josh_2> I spent ages writing this code and I hate it
<Josh_2> A dsl would be better
thollief has quit [Quit: Leaving]
<Josh_2> I want to write a mini programming language to solve the primary problem in my system, but I dont know where to start
<Josh_2> or even how to do that :skull:
lagash has quit [Remote host closed the connection]
lagash has joined #commonlisp
attila_lendvai_ has quit [Ping timeout: 264 seconds]
dinomug has joined #commonlisp
<Josh_2> Okay I think I fixed that problem
<Josh_2> :skull:
<Josh_2> Better macrology was the solution
shka has quit [Read error: Connection reset by peer]
shka has joined #commonlisp
son0p has quit [Ping timeout: 255 seconds]
<NotThatRPG> Josh_2: Were you generating methods from your macros?
<Josh_2> Yes but that wasn't the problem
<Josh_2> It was to do with symbols
<Josh_2> I'm still confused but it seems to be working
akoana has quit [Quit: leaving]
cage has quit [Quit: rcirc on GNU Emacs 29.1]
jmdaemon has joined #commonlisp
rgherdt has joined #commonlisp
tevo has joined #commonlisp
habamax has joined #commonlisp
deriamis has joined #commonlisp
xantoz has joined #commonlisp
cdegroot has quit [Ping timeout: 255 seconds]
fitzsim has quit [Ping timeout: 255 seconds]
attila_lendvai_ has joined #commonlisp
rgherdt has quit [Quit: Leaving]
fitzsim has joined #commonlisp
mrvdb has quit [Server closed connection]
mrvdb has joined #commonlisp
overclucker has quit [Ping timeout: 240 seconds]
shka has quit [Ping timeout: 244 seconds]
habamax has quit [Remote host closed the connection]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
tyson2 has joined #commonlisp
attila_lendvai_ has quit [Ping timeout: 264 seconds]
sock has joined #commonlisp
sock has left #commonlisp [Killed buffer]
sock has joined #commonlisp
dino_tutter has quit [Ping timeout: 264 seconds]
Lycurgus has joined #commonlisp
cdegroot has joined #commonlisp
waleee has joined #commonlisp
defaultxr has quit [Ping timeout: 245 seconds]
modula has joined #commonlisp
Lycurgus has quit [Quit: Tschüss]
puke has quit [Ping timeout: 264 seconds]
overclucker has joined #commonlisp
mauricioc has joined #commonlisp
rtypo has quit [Ping timeout: 258 seconds]
alexsotodev has quit [Quit: Leaving.]
Psybur has joined #commonlisp
jello_pudding has quit [Ping timeout: 264 seconds]
thuna` has quit [Remote host closed the connection]
jello_pudding has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 252 seconds]
mauricioc has quit [Remote host closed the connection]
mauricioc has joined #commonlisp
Lord_of_Life has joined #commonlisp
random-nick has quit [Ping timeout: 240 seconds]