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/>
occ has joined #commonlisp
renatoathaydes has quit [Ping timeout: 260 seconds]
random-nick has quit [Ping timeout: 250 seconds]
renatoathaydes has joined #commonlisp
renatoathaydes has quit [Ping timeout: 250 seconds]
jeffrey has quit [Ping timeout: 250 seconds]
tojoqk[m] has joined #commonlisp
renatoathaydes has joined #commonlisp
renatoathaydes has quit [Ping timeout: 260 seconds]
renatoathaydes has joined #commonlisp
renatoathaydes has quit [Ping timeout: 250 seconds]
renatoathaydes has joined #commonlisp
akoana has joined #commonlisp
renatoathaydes has quit [Ping timeout: 240 seconds]
jmdaemon has quit [Ping timeout: 250 seconds]
renatoathaydes has joined #commonlisp
renatoathaydes has quit [Ping timeout: 245 seconds]
renatoathaydes has joined #commonlisp
renatoathaydes has quit [Ping timeout: 260 seconds]
perrierjouet has quit [Quit: WeeChat 3.8]
perrierjouet has joined #commonlisp
pieguy128 has quit [Quit: ZNC 1.8.2 - https://znc.in]
pieguy128 has joined #commonlisp
renatoathaydes has joined #commonlisp
euandreh has joined #commonlisp
euandreh has quit [Client Quit]
renatoathaydes has quit [Ping timeout: 250 seconds]
sgmzx has joined #commonlisp
waleee has joined #commonlisp
Gernn has joined #commonlisp
<Gernn> So I'm trying to build some stuff using clog and I can't figure out how to get images (png, jpg, etc) into a website.
renatoathaydes has joined #commonlisp
<Gernn> Totally works if it's an image with a url (from the web) or if I put it in the special 'static-files' folder in the quicklisp install of clog. But how would I put up an image from my project's directory? Like if I have ~/common-lisp/myproj/img.png
dcb has quit [Quit: MSN Messenger 4.0.0]
renatoathaydes has quit [Ping timeout: 240 seconds]
renatoathaydes has joined #commonlisp
renatoathaydes has quit [Ping timeout: 260 seconds]
JaguarKat has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
beach` is now known as beach
<akasha> Has anyone had success loading cl-ctries lately?
<akasha> the readme says it works on SBCL version 1.0.55 but I am on 2.2.3.0 and quicklisp wouldn't find half the dependencies
torbo has left #commonlisp [ERC 5.4 (IRC client for GNU Emacs 28.2)]
<akasha> also there are some symbols in SB-KERNEL used that are not longer exported
<beach> I can't even find it with Google. What does it do?
<edwlan[m]> This library? https://github.com/danlentz/cl-ctrie
<ixelp> GitHub - danlentz/cl-ctrie: lock-free, concurrent, key/value index with efficient memory-mapped persistence and fast tra [...]
<beach> I see. Thanks.
habamax has quit [Ping timeout: 260 seconds]
occ has quit [Ping timeout: 240 seconds]
triffid has joined #commonlisp
waleee has quit [Ping timeout: 240 seconds]
triffid has quit [*.net *.split]
azimut has quit [*.net *.split]
ec has quit [*.net *.split]
gxt__ has quit [*.net *.split]
anticomputer has quit [*.net *.split]
azimut has joined #commonlisp
ec has joined #commonlisp
anticomputer has joined #commonlisp
triffid has joined #commonlisp
gxt__ has joined #commonlisp
mrcom__ has quit [Quit: Leaving]
akoana has quit [Quit: leaving]
hineios1 has joined #commonlisp
hineios has quit [Ping timeout: 258 seconds]
hineios1 is now known as hineios
JaguarKat has quit [Ping timeout: 240 seconds]
occ has joined #commonlisp
renatoathaydes has joined #commonlisp
infra_red[m] has quit [Server closed connection]
infra_red[m] has joined #commonlisp
pieguy128_ has joined #commonlisp
pieguy128 has quit [Ping timeout: 260 seconds]
habamax has joined #commonlisp
Posterdati has quit [Ping timeout: 240 seconds]
rainthree has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Hibernating too long]
sepanko has joined #commonlisp
rgherdt has joined #commonlisp
renatoathaydes has quit [Remote host closed the connection]
renatoathaydes has joined #commonlisp
azimut has quit [Ping timeout: 240 seconds]
dustinm` has joined #commonlisp
shka has joined #commonlisp
renatoathaydes has quit [Ping timeout: 260 seconds]
rainthree has quit [Ping timeout: 264 seconds]
msavoritias has joined #commonlisp
rainthree has joined #commonlisp
igemnace has joined #commonlisp
rainthree has quit [Ping timeout: 246 seconds]
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
thollief has joined #commonlisp
pranavats has joined #commonlisp
pve has joined #commonlisp
LW has joined #commonlisp
LW has quit [Client Quit]
mm007emko has joined #commonlisp
Posterdati has joined #commonlisp
tertek has quit [Quit: %quit%]
tertek has joined #commonlisp
akasha has quit []
habamax has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.2)]
mgl has joined #commonlisp
msavoritias has quit [Ping timeout: 250 seconds]
renatoathaydes has joined #commonlisp
msavoritias has joined #commonlisp
renatoathaydes has quit [Ping timeout: 240 seconds]
attila_lendvai has joined #commonlisp
rainthree has joined #commonlisp
ec has quit [Remote host closed the connection]
ec has joined #commonlisp
dino_tutter has joined #commonlisp
sgmzx has quit [Ping timeout: 240 seconds]
Gleefre has joined #commonlisp
makomo has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Jach has quit [Quit: Leaving.]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 240 seconds]
Lord_of_Life_ is now known as Lord_of_Life
Jach has joined #commonlisp
Grauwolf has quit [Quit: WeeChat 3.8]
Grauwolf has joined #commonlisp
Gleefre has joined #commonlisp
occ has quit [Ping timeout: 264 seconds]
Gleefre has quit [Remote host closed the connection]
gxt__ has quit [Remote host closed the connection]
gxt__ has joined #commonlisp
mingus has quit [Ping timeout: 252 seconds]
Brucio-61 has quit [Ping timeout: 240 seconds]
akasha has joined #commonlisp
renatoathaydes has joined #commonlisp
renatoathaydes has quit [Ping timeout: 252 seconds]
tyson2 has joined #commonlisp
Brucio-61 has joined #commonlisp
waleee has joined #commonlisp
renatoathaydes has joined #commonlisp
morganw has joined #commonlisp
morganw` has joined #commonlisp
morganw` has quit [Client Quit]
graven has joined #commonlisp
IUSR has quit [Quit: Connection closed for inactivity]
Gleefre has joined #commonlisp
<graven> can someon help me on a problem i am facing: i have a function that returns a number, i want to run that function 10 times collect all the values nad add them together
<graven> but the dotimes part returns a nil last and i cannot add the numbers becuase of the nil
<paulapatience> The dotimes is not within the let
<paulapatience> The dotimes also takes a third form for the return value
<paulapatience> Put ini there
<jackdaniel> graven: your indentation is awful and makes the code hard to read
<jackdaniel> please fix it before posting questions
<jackdaniel> other than that what paulapatience is correct
<graven> sorry i dont know how to indent porperly i am just learning it
<jackdaniel> properly configured development environment should make that easier to you, but indenting i.e scoped body inside LET is a common sense I think
<jackdaniel> change your dotimes to (dotimes (n 100 ini) ...) and then that form should return ini when the iteration is finished
<jackdaniel> putting ini as the last form in the body of DOTIMES doesn't have any effect
<jackdaniel> instead of equal use (if (= x 0) ... ...) or even better (if (zerop x) ... ...)
<jackdaniel> instead of setq you may use (decf ini 3.33) and (incf ini 5)
<jackdaniel> i.e this function could look like this: https://turtleware.eu/static/paste/foo.lisp
parjanya has quit [Ping timeout: 246 seconds]
karlosz has quit [Quit: karlosz]
<graven> Ok thank you so much for that
<graven> code is now optimised
<graven> however i still have the problem of adding them up
<graven> i try (+ (dotimes (f 10) (trial))) but this gives an error as nil is still there
<graven> is there a easier way to add all the values up from the dotimes bit at the end?
<Gleefre> with loop: (loop repeat 10 sum (trial))
<graven> * i ment (+ (dotimes (f 10) (print (trial))))
<graven> thanks Gleefre
<graven> its worked
<Gleefre> (+ (dotimes (f 10) (trial))) couldn't possibly work -- you don't store results anywhere at all
<graven> yeah i realised that so i added print to it but that gave me nil at end which i couldnt add to the numbers, thanks everyone for your help
<graven> acps
<Gleefre> print just prints numbers
<Gleefre> (not numbers, any objects actually)
<jackdaniel> graven: dotimes returns the value that is third in its arguments
<jackdaniel> so (dotimes (f 10) ...) will return nil, but (dotimes (f 10 42) ...) will return 42
<graven> i see
<graven> then what i should have been doing was this: (let ((x 0)) (dotimes (f 10 x) (incf x (trial)))
<Gleefre> That's right
<graven> ok learning everyday :D
<graven> can i just ask where can i learn all these function (incf, decf etc) i wasnt aware they existed, i am currently reading ansi common lisp
<jackdaniel> here you can find the standard: http://novaspec.org/
<ixelp> Common Lisp Nova Spec
<jackdaniel> I think that books usually cover these operators
<jackdaniel> I gather you are reading the book "ANSI Common Lisp" by Paul Graham? (because ANSI Common Lisp may very well mean the standard itself)
<jackdaniel> there are other books too (although the book by pg is my personal favourite introductory material)
<graven> yeah the "ANSI Common Lisp" by Paul Grahm, ill probably encounter them soon enough then
<jackdaniel> another (often recommended) is "Practical Common Lisp" by Peter Seibel
<graven> ill have a look at that as well then
kevingal has joined #commonlisp
renatoathaydes has quit [Ping timeout: 240 seconds]
dcb has joined #commonlisp
karlosz has joined #commonlisp
random-nick has joined #commonlisp
graven has quit [Ping timeout: 240 seconds]
habamax has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
pve has quit [Remote host closed the connection]
mm007emko has quit [Quit: Client closed]
Gleefre has joined #commonlisp
pve has joined #commonlisp
mgl has quit [Quit: Client closed]
rainthree has quit [Read error: Connection reset by peer]
rainthree3 has joined #commonlisp
rainthree has joined #commonlisp
jeosol has quit [Quit: Client closed]
rainthree3 has quit [Ping timeout: 260 seconds]
graven has joined #commonlisp
graven has quit [Changing host]
graven has joined #commonlisp
jeffrey has joined #commonlisp
kevingal has quit [Ping timeout: 246 seconds]
pranavats has left #commonlisp [Error from remote client]
graven has quit [Ping timeout: 250 seconds]
overclucker_ has joined #commonlisp
overclucker has quit [Ping timeout: 240 seconds]
azimut has joined #commonlisp
parjanya has joined #commonlisp
renatoathaydes has joined #commonlisp
renatoathaydes has quit [Ping timeout: 250 seconds]
splatt990 has joined #commonlisp
JaguarKat has joined #commonlisp
msavoritias has quit [Remote host closed the connection]
tyson2 has quit [Remote host closed the connection]
kevingal has joined #commonlisp
graven has joined #commonlisp
habamax has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.0.92)]
tyson2 has joined #commonlisp
kevingal has quit [Ping timeout: 264 seconds]
msavoritias has joined #commonlisp
notzmv has quit [Ping timeout: 246 seconds]
waleee has quit [Ping timeout: 245 seconds]
Gernn has left #commonlisp [ERC 5.5 (IRC client for GNU Emacs 29.0.60)]
dino_tutter has quit [Ping timeout: 245 seconds]
cage has joined #commonlisp
rgherdt has quit [Read error: Connection reset by peer]
rgherdt has joined #commonlisp
occ has joined #commonlisp
pjb has quit [Ping timeout: 260 seconds]
coderfrog[m] has quit [Server closed connection]
renatoathaydes has joined #commonlisp
renatoathaydes has quit [Ping timeout: 260 seconds]
renatoathaydes has joined #commonlisp
graven has quit [Read error: Connection reset by peer]
graven has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
pjb has joined #commonlisp
doyougnu has quit [Quit: ZNC 1.8.2 - https://znc.in]
doyougnu has joined #commonlisp
renatoathaydes has quit [Ping timeout: 260 seconds]
pjb has quit [Ping timeout: 240 seconds]
jeffrey has quit [Ping timeout: 240 seconds]
matt` has joined #commonlisp
doyougnu has quit [Quit: ZNC 1.8.2 - https://znc.in]
doyougnu has joined #commonlisp
doyougnu has quit [Quit: ZNC 1.8.2 - https://znc.in]
ldb has joined #commonlisp
notzmv has joined #commonlisp
bjorkintosh has quit [Ping timeout: 246 seconds]
bjorkint0sh has joined #commonlisp
dino_tutter has joined #commonlisp
bjorkintosh has joined #commonlisp
bjorkintosh has joined #commonlisp
bjorkintosh has quit [Changing host]
notzmv has quit [Ping timeout: 246 seconds]
bjorkint0sh has quit [Ping timeout: 240 seconds]
ronald has quit [Ping timeout: 260 seconds]
rainthree has quit [Ping timeout: 260 seconds]
ronald has joined #commonlisp
coderfrog[m] has joined #commonlisp
BrownJenkin has joined #commonlisp
Lycurgus has joined #commonlisp
azimut has quit [Remote host closed the connection]
ronald has quit [Ping timeout: 250 seconds]
azimut has joined #commonlisp
ronald has joined #commonlisp
akoana has joined #commonlisp
ldb has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.1)]
tyson2 has joined #commonlisp
alcor has joined #commonlisp
morganw has quit [Remote host closed the connection]
Lycurgus has quit [Quit: Exeunt: personae.ai-integration.biz]
renatoathaydes has joined #commonlisp
renatoathaydes has quit [Ping timeout: 258 seconds]
renatoathaydes has joined #commonlisp
Inline has joined #commonlisp
renatoathaydes has quit [Ping timeout: 250 seconds]
tyson2 has quit [Remote host closed the connection]
Oladon has joined #commonlisp
Brucio-61 has quit [Ping timeout: 240 seconds]
akoana has quit [Quit: leaving]
graven has quit [Read error: Connection reset by peer]
notzmv has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
renatoathaydes has joined #commonlisp
Brucio-61 has joined #commonlisp
JaguarKat has quit [Ping timeout: 250 seconds]
triffid has quit [Remote host closed the connection]
thollief has quit [Quit: Leaving]
cage has quit [Quit: rcirc on GNU Emacs 28.2]
rogersm has joined #commonlisp
igemnace has quit [Quit: WeeChat 4.0.0]
ec has quit [Remote host closed the connection]
ec has joined #commonlisp
makomo has quit [Quit: WeeChat 3.6]
karlosz has quit [Quit: karlosz]
<paulapatience> Is it weird for a mixin class to expect that the classes it's mixed into have certain slots? I want to avoid shadowing slots when defining a class that inherits from several mixins.
<bike> you could make the mixin a child class of whatever superclass has those slots.
<paulapatience> Oh I see what you mean
triffid has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
tyson2 has joined #commonlisp
shka has quit [Ping timeout: 264 seconds]
igemnace has joined #commonlisp
karlosz has joined #commonlisp
Inline has quit [Ping timeout: 240 seconds]
waleee has joined #commonlisp
Lycurgus has joined #commonlisp
<paulapatience> But if the mixins are meant to be used by users of the hypothetical library that exports them, they would be presumably more flexible if they didn't inherit from the superclass. As long as the classes they're mixed into define the right methods for accessing the slots, then the mixins don't have to actually care if the slots exist, or what names they have.
msavoritias has quit [Remote host closed the connection]
pve has quit [Quit: leaving]
Inline has joined #commonlisp
matt` has quit [Remote host closed the connection]
igemnace has quit [Remote host closed the connection]
igemnace has joined #commonlisp
attila_lendvai_ has joined #commonlisp
attila_lendvai has quit [Ping timeout: 240 seconds]
alcor has quit [Remote host closed the connection]
waleee has quit [Remote host closed the connection]
waleee has joined #commonlisp
pranavats has joined #commonlisp
JaguarKat has joined #commonlisp
waleee has quit [Remote host closed the connection]
waleee has joined #commonlisp
waleee has quit [Ping timeout: 240 seconds]
Lycurgus has quit [Quit: Exeunt: personae.ai-integration.biz]
ec has quit [Quit: ec]
ec has joined #commonlisp
rtypo has joined #commonlisp
ec has quit [Quit: ec]
ec has joined #commonlisp
pjb has joined #commonlisp
ec has quit [Client Quit]
chrcav has quit [Ping timeout: 250 seconds]
dino_tutter has quit [Ping timeout: 264 seconds]
chrcav has joined #commonlisp
renatoathaydes has quit [Ping timeout: 246 seconds]
renatoathaydes has joined #commonlisp
ec has joined #commonlisp
renatoathaydes has quit [Ping timeout: 250 seconds]
attila_lendvai_ has quit [Remote host closed the connection]
attila_lendvai_ has joined #commonlisp
attila_lendvai_ has quit [Read error: Connection reset by peer]
attila_lendvai_ has joined #commonlisp
attila_lendvai_ has quit [Remote host closed the connection]
attila_lendvai_ has joined #commonlisp
renatoathaydes has joined #commonlisp
renatoathaydes has quit [Remote host closed the connection]
renatoathaydes has joined #commonlisp
renatoathaydes has quit [Ping timeout: 258 seconds]
renatoathaydes has joined #commonlisp
Oladon has quit [Quit: Leaving.]
igemnace has quit [Remote host closed the connection]
dra has joined #commonlisp
dra has quit [Changing host]
dra has joined #commonlisp
renatoathaydes has quit [Ping timeout: 264 seconds]
Oladon has joined #commonlisp
attila_lendvai_ has quit [Remote host closed the connection]
attila_lendvai has joined #commonlisp
kevingal has joined #commonlisp
rtypo has quit [Ping timeout: 250 seconds]
renatoathaydes has joined #commonlisp
attila_lendvai has quit [Read error: Connection reset by peer]
attila_lendvai has joined #commonlisp
Gleefre has quit [Ping timeout: 246 seconds]
renatoathaydes has quit [Ping timeout: 260 seconds]
bilegeek has joined #commonlisp
attila_lendvai has quit [Read error: Connection reset by peer]
renatoathaydes has joined #commonlisp
attila_lendvai has joined #commonlisp
kevingal has quit [Ping timeout: 252 seconds]
renatoathaydes has quit [Ping timeout: 250 seconds]
johnjaye has quit [Ping timeout: 260 seconds]
johnjaye has joined #commonlisp
lucasta has joined #commonlisp
renatoathaydes has joined #commonlisp