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/>
jello_pudding has joined #commonlisp
gxt has quit [Ping timeout: 258 seconds]
livoreno has joined #commonlisp
gxt has joined #commonlisp
bc4m has quit [Ping timeout: 252 seconds]
bc4m has joined #commonlisp
asarch has joined #commonlisp
bc4m has quit [Ping timeout: 252 seconds]
karlosz has joined #commonlisp
Oladon has quit [Quit: Leaving.]
sjl has quit [Quit: WeeChat 3.6]
bc4m has joined #commonlisp
eddof13 has joined #commonlisp
karlosz has quit [Ping timeout: 240 seconds]
eddof13 has quit [Client Quit]
razetime has joined #commonlisp
Josh_2 has joined #commonlisp
<Josh_2> Good evening
<Josh_2> My application keeps freezing for a few seconds at a time, could this be garbage collection?
<Josh_2> The application has been running for a long time now
<hayley> A few seconds would be surprisingly slow. What hardware does it run on?
<Josh_2> i7 6700k with 2 threads
<aeth> (room)?
<hayley> Should be in the same ballpark as my "old" processor, for which the worst pause I saw was about one second. Which is bad, but not that bad.
<Josh_2> Hmm
<Josh_2> (room) shows a rapid increase just before the app freezes, then followed by a large decrease and it then continues
<Josh_2> hmm
<Josh_2> Is there a way to time the gc?
<Josh_2> Okay I am pretty certain it is not gc causing the freezing
<Josh_2> onto the next thing then :)
asarch has quit [Quit: Leaving]
dre has joined #commonlisp
Oladon has joined #commonlisp
bendersteed has quit [Remote host closed the connection]
akoana has quit [Quit: leaving]
waleee has quit [Ping timeout: 260 seconds]
sjl has joined #commonlisp
[deleted] has joined #commonlisp
comatory has quit [Ping timeout: 252 seconds]
livoreno has quit [Ping timeout: 248 seconds]
comatory has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
igemnace has joined #commonlisp
azimut has joined #commonlisp
bc4m has quit [Quit: Client closed]
bilegeek has joined #commonlisp
igemnace has quit [Remote host closed the connection]
razetime has quit [Ping timeout: 240 seconds]
razetime has joined #commonlisp
igemnace has joined #commonlisp
paule32__ has joined #commonlisp
paule32__ has quit [Changing host]
paule32__ has joined #commonlisp
paule32_ has quit [Ping timeout: 240 seconds]
hineios5 has joined #commonlisp
hineios has quit [Ping timeout: 268 seconds]
hineios5 is now known as hineios
razetime has quit [Ping timeout: 244 seconds]
razetime has joined #commonlisp
shka has joined #commonlisp
paddymahoney2 has joined #commonlisp
notzmv has quit [Ping timeout: 268 seconds]
paddymahoney2 has quit [Remote host closed the connection]
bc4m has joined #commonlisp
Cymew has joined #commonlisp
Oladon has quit [Quit: Leaving.]
pve has joined #commonlisp
razetime has quit [Ping timeout: 260 seconds]
razetime_ has joined #commonlisp
SR-71 has joined #commonlisp
azimut has quit [Read error: Connection reset by peer]
azimut has joined #commonlisp
frgo has quit [Ping timeout: 252 seconds]
Algernon69 has joined #commonlisp
karlosz has joined #commonlisp
SR-71 has quit [Ping timeout: 244 seconds]
makomo_ has joined #commonlisp
pjb has joined #commonlisp
paule32__ has quit [Read error: Connection reset by peer]
minion has quit [Remote host closed the connection]
specbot has quit [Killed (NickServ (GHOST command used by specbot1))]
paule32__ has joined #commonlisp
paule32__ has joined #commonlisp
paule32__ has quit [Changing host]
specbot has joined #commonlisp
paule32__ has quit [Read error: Connection reset by peer]
minion has joined #commonlisp
SR-71 has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
Colleen has quit [Ping timeout: 248 seconds]
aartaka has joined #commonlisp
Colleen has joined #commonlisp
Brucio-61 has quit [Ping timeout: 244 seconds]
scymtym has quit [Ping timeout: 268 seconds]
karlosz has quit [Ping timeout: 264 seconds]
karlosz_ has joined #commonlisp
Brucio-61 has joined #commonlisp
karlosz_ has quit [Ping timeout: 268 seconds]
pjb has quit [Ping timeout: 268 seconds]
scymtym has joined #commonlisp
razetime_ has quit [Ping timeout: 244 seconds]
razetime has joined #commonlisp
bilegeek has quit [Quit: Leaving]
OlCe has joined #commonlisp
notzmv has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
dre has quit [Quit: Leaving]
Algernon69 has quit [Quit: Leaving]
ttree_ has quit [Read error: Connection reset by peer]
[deleted] has quit [Ping timeout: 260 seconds]
livoreno has joined #commonlisp
<phoe> Josh_2: (let ((before (get-internal-run-time))) (tg:gc :full t) (let* ((after (get-internal-run-time)) (diff (- after before))) (/ diff internal-time-units-per-second)))
<phoe> that's gonna be some real dirty solution
<phoe> where tg == (ql:quickload :trivial-garbage)
pranavats has joined #commonlisp
bc4m has quit [Quit: Client closed]
<jackdaniel> (time (gc)) ; is another
totoro has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
pranavats has left #commonlisp [Disconnected: Received SIGTERM]
<phoe> hm, right - for some reason I didn't realize that TIME would work when calling the GC
makomo has quit [Ping timeout: 244 seconds]
makomo_ has quit [Ping timeout: 244 seconds]
pranavats has joined #commonlisp
totoro has joined #commonlisp
makomo_ has joined #commonlisp
random-nick has joined #commonlisp
livoreno has quit [Ping timeout: 268 seconds]
frgo has joined #commonlisp
livoreno has joined #commonlisp
karlosz has joined #commonlisp
OlCe has quit [Ping timeout: 268 seconds]
livoreno has quit [Ping timeout: 268 seconds]
livoreno has joined #commonlisp
karlosz has quit [Ping timeout: 248 seconds]
beach` has joined #commonlisp
gko` has joined #commonlisp
even4voi- has joined #commonlisp
AndrewYu has joined #commonlisp
jmdaemon has quit [Ping timeout: 260 seconds]
SR-71 has quit [Ping timeout: 268 seconds]
makomo_ has quit [*.net *.split]
shka has quit [*.net *.split]
ecocode[m] has quit [*.net *.split]
yitzi has quit [*.net *.split]
Mrtn[m] has quit [*.net *.split]
EsoAlgo has quit [*.net *.split]
hayley has quit [*.net *.split]
zachel_ has quit [*.net *.split]
rdrg109_ has quit [*.net *.split]
Noisytoot has quit [*.net *.split]
mariari has quit [*.net *.split]
nullsh has quit [*.net *.split]
hirez has quit [*.net *.split]
hrberg has quit [*.net *.split]
mzan has quit [*.net *.split]
Andrew has quit [*.net *.split]
dtman34 has quit [*.net *.split]
beach has quit [*.net *.split]
gko has quit [*.net *.split]
m5zs7k has quit [*.net *.split]
deadmarshal has quit [*.net *.split]
lieven has quit [*.net *.split]
even4void has quit [*.net *.split]
AndrewYu is now known as Andrew
karlosz has joined #commonlisp
mzan has joined #commonlisp
makomo_ has joined #commonlisp
yitzi has joined #commonlisp
ecocode[m] has joined #commonlisp
EsoAlgo has joined #commonlisp
zachel_ has joined #commonlisp
rdrg109_ has joined #commonlisp
hayley has joined #commonlisp
shka has joined #commonlisp
Mrtn[m] has joined #commonlisp
nullsh has joined #commonlisp
Noisytoot has joined #commonlisp
mariari has joined #commonlisp
hirez has joined #commonlisp
m5zs7k has joined #commonlisp
dtman34 has joined #commonlisp
hrberg has joined #commonlisp
deadmarshal has joined #commonlisp
lieven has joined #commonlisp
Noisytoot has quit [Max SendQ exceeded]
m5zs7k has quit [Max SendQ exceeded]
Noisytoot_ has joined #commonlisp
m5zs7k_ has joined #commonlisp
cosimone has quit [Ping timeout: 252 seconds]
tyson2 has joined #commonlisp
comatory has quit [Ping timeout: 260 seconds]
m5zs7k_ is now known as m5zs7k
paule32__ has joined #commonlisp
paule32__ is now known as paule32
<paule32> hello
<paule32> i have the following script: https://dpaste.com/346TKDJPJ
<paule32> the question is: how can i "error" out the message from the onDivisionByZero ?
<paule32> currently, the output is:
<paule32> huhu Condition COMMON-LISP-USER::ONDIVISIONBYZERO was signalled.
comatory has joined #commonlisp
<_death> if I understand you correctly, you want to print the message in the conditon.. you can do that by printing the value of (message ex) .. you could also inherit from simple-error, which takes a format control string and arguments
aartaka has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Received SIGTERM]
<_death> if you want to write a custom printer for your condition, you can add a :report option in define-condition
<Josh_2> phoe: good to see you back
even4voi- is now known as even4void
aartaka has quit [Ping timeout: 252 seconds]
aartaka has joined #commonlisp
<contrapunctus> ^ indeed
pranavats has joined #commonlisp
karlosz has quit [Ping timeout: 268 seconds]
razetime has quit [Ping timeout: 252 seconds]
razetime has joined #commonlisp
karlosz has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Received SIGTERM]
causal has quit [Quit: WeeChat 3.6]
OlCe has joined #commonlisp
pranavats has joined #commonlisp
aartaka has quit [Ping timeout: 260 seconds]
aartaka has joined #commonlisp
<paule32> _death: (message ex) works perfectly
<paule32> thank you
<paule32> sorry for idle, but i am on work, lisp is my hobby, hehe, yes hobby, and work does not pass twice, okay, but i have a job with peoples of disadvantages, so its okay
beach` is now known as beach
Noisytoot_ is now known as Noisytoot
titan has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Received SIGTERM]
pranavats has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Received SIGTERM]
pranavats has joined #commonlisp
karlosz has quit [Ping timeout: 268 seconds]
aartaka has quit [Ping timeout: 252 seconds]
aartaka has joined #commonlisp
mfiano has quit [Quit: WeeChat 3.5]
mfiano has joined #commonlisp
Josh_2 has quit [Remote host closed the connection]
scymtym has quit [Ping timeout: 264 seconds]
Brucio-61 has quit [Ping timeout: 268 seconds]
dec0d3r has joined #commonlisp
waleee has joined #commonlisp
Brucio-61 has joined #commonlisp
<paule32> for what do i need, (make-condition 'onCondition :message "bar")
<paule32> when i can do:
<paule32> (define-condition ...
<paule32> like you can see it in my paste: https://dpaste.com/346TKDJPJ
<paule32> lines: 4, ...
<paule32> the same
<paule32> in context of the last line: 28 => (message ex)
Brucio-61 has quit [Remote host closed the connection]
anticomputer has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
comatory has quit [Ping timeout: 252 seconds]
dec0d3r has quit [Quit: Leaving]
scymtym has joined #commonlisp
comatory has joined #commonlisp
Brucio-61 has joined #commonlisp
comatory has quit [Ping timeout: 244 seconds]
makomo_ has quit [Ping timeout: 244 seconds]
comatory has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
aartaka has joined #commonlisp
eddof13 has joined #commonlisp
makomo has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
makomo_ has joined #commonlisp
orestarod has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
Oladon has joined #commonlisp
shinohai[m] has quit [Quit: You have been kicked for being idle]
OlCe has quit [Remote host closed the connection]
comatory has quit [Ping timeout: 248 seconds]
enzuru has quit [Ping timeout: 264 seconds]
comatory has joined #commonlisp
mzan has quit [Ping timeout: 268 seconds]
mzan has joined #commonlisp
Guest5246 has joined #commonlisp
justache- has joined #commonlisp
justache has quit [Ping timeout: 252 seconds]
cage has joined #commonlisp
tyson2 has joined #commonlisp
enzuru has joined #commonlisp
Dynom_ has joined #commonlisp
Dynom_ is now known as Guest3074
Guest5246 has quit [Quit: Client closed]
aartaka has quit [Ping timeout: 252 seconds]
[deleted] has joined #commonlisp
livoreno has quit [Ping timeout: 240 seconds]
enzuru has quit [Ping timeout: 248 seconds]
jmdaemon has joined #commonlisp
thuna` has joined #commonlisp
razetime has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
nij_ has joined #commonlisp
[deleted] has quit [Read error: Connection reset by peer]
livoreno has joined #commonlisp
Cymew has quit [Ping timeout: 248 seconds]
igemnace has quit [Remote host closed the connection]
eddof13 has joined #commonlisp
epony has quit [Ping timeout: 252 seconds]
tyson2 has quit [Remote host closed the connection]
epony has joined #commonlisp
n1to has joined #commonlisp
treflip has joined #commonlisp
ttree has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
enzuru has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 252 seconds]
shka has quit [Ping timeout: 244 seconds]
Lord_of_Life_ is now known as Lord_of_Life
enzuru has quit [Quit: ZNC 1.8.2 - https://znc.in]
ebrasca has joined #commonlisp
tane has joined #commonlisp
tane has quit [Changing host]
tane has joined #commonlisp
enzuru has joined #commonlisp
Josh_2 has joined #commonlisp
treflip has quit [Quit: I slep]
<paule32> hello
<Josh_2> Hello :sunglasses:
<paule32> how can i disable the "load" messages, when i load quicklisp packages
<Josh_2> :silent t ?
<paule32> as argument ?
<Josh_2> Ye
<paule32> (qt:quickload "asdf" :silent t)
<paule32> okay
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eddof13 has joined #commonlisp
comatory has quit [Ping timeout: 268 seconds]
comatory has joined #commonlisp
nij_ has quit [Ping timeout: 252 seconds]
enzuru has quit [Quit: ZNC 1.8.2 - https://znc.in]
pjb has joined #commonlisp
comatory has quit [Ping timeout: 268 seconds]
comatory has joined #commonlisp
paule32_ has joined #commonlisp
paule32_ has quit [Changing host]
paule32_ has joined #commonlisp
karlosz has joined #commonlisp
paule32 has quit [Ping timeout: 252 seconds]
tane has quit [Quit: Leaving]
cage has quit [Quit: rcirc on GNU Emacs 27.1]
attila_lendvai_ has joined #commonlisp
attila_lendvai_ has quit [Read error: Connection reset by peer]
<mathrick> <paule32> for what do i need, (make-condition 'onCondition :message "bar") <-- camelCase is not used in CL, division-by-zero or division-by-zero-error would be a more idiomatic name
<mathrick> you don't need to MAKE-CONDITION in your code, ERROR will already do it for you
<mathrick> (error 'division-by-zero :message "dddd") is equivalent to (error (make-condition 'division-by-zero :message "dddd") )
<mathrick> oh bummer, they left
<mathrick> paule32_: ^
<mathrick> pcl conditions
<mathrick> give this a read
enzuru has joined #commonlisp
gpiero has quit [Quit: No Ping reply in 180 seconds.]
gpiero has joined #commonlisp
karlosz has quit [Remote host closed the connection]
livoreno has quit [Ping timeout: 264 seconds]
Guest3074 has quit [Quit: WeeChat 3.6]
<Josh_2> mathrick: those are not equiv
<Josh_2> Oh right
<Josh_2> yes sorry they are! I missed the (error ..) in the latter :)
enzuru has quit [Ping timeout: 252 seconds]
Oladon has quit [Quit: Leaving.]
karlosz has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
comatory has quit [Ping timeout: 244 seconds]
karlosz has quit [Quit: karlosz]
justache- is now known as justache
karlosz has joined #commonlisp
comatory has joined #commonlisp
eddof13 has joined #commonlisp
Oladon has joined #commonlisp
enzuru has joined #commonlisp
enzuru has quit [Quit: ZNC 1.8.2 - https://znc.in]
enzuru has joined #commonlisp
enzuru has quit [Remote host closed the connection]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nij- has quit [Remote host closed the connection]
pjb has quit [Ping timeout: 268 seconds]
enzuru has joined #commonlisp
livoreno has joined #commonlisp
pve has quit [Quit: leaving]
eddof13 has joined #commonlisp
morganw has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
makomo has quit [Ping timeout: 244 seconds]
eddof13 has joined #commonlisp
eddof13 has quit [Client Quit]
random-nick has quit [Ping timeout: 252 seconds]
pjb has joined #commonlisp
akoana has joined #commonlisp
n1to has quit [Quit: Leaving]
pjb has quit [Ping timeout: 264 seconds]
livoreno has quit [Read error: Connection reset by peer]
livoreno has joined #commonlisp
titan has quit [Remote host closed the connection]
nij- has joined #commonlisp
karlosz has quit [Ping timeout: 244 seconds]
orestarod has quit [Ping timeout: 244 seconds]
<paule32_> hello, next thing:
paule32_ is now known as paule32
<paule32> thanks for your info mathrick
<paule32> in this script (for cl): https://dpaste.com/2TPTV9GQG
<paule32> i get error at line: 54
<paule32> i am a little bit confused, because i thought, that cl compiles the defun functions, and evel/execute them later on calling
<paule32> or did i miss something ?
nij- has left #commonlisp [#commonlisp]
<mathrick> paule32: there are multiple issues with your code, and instead of trying to explain all of them and going through this multiple times, I really recommend you just read PCL: https://gigamonkeys.com/book/
<mathrick> it will be *much* easier for everyone, especially for you
<mathrick> trying things out is fine if you have a general idea of what you're doing, otherwise a proper book works better :)
<Bike> paule has been hanging around this channel and previously the freenode channel for several years, and has yet to learn anything in that time, as far as i can tell
<mathrick> oh
<mathrick> well, then my PCL recommendation still holds!
<Bike> sure, just don't expect it to be acted on.
<mathrick> noted
cognemo has quit [Ping timeout: 268 seconds]
<aeth> yeah, most people just ignore at this point until the style gets fixed; we've tried
<aeth> the style is better though
jmdaemon has quit [Quit: ZNC 1.8.2 - https://znc.in]
causal has joined #commonlisp
morganw has quit [Remote host closed the connection]
P1RATEZ has joined #commonlisp
dre has joined #commonlisp
azimut_ has joined #commonlisp
azimut has quit [Ping timeout: 258 seconds]
paule32_ has joined #commonlisp
paule32_ has quit [Changing host]
paule32_ has joined #commonlisp
paule32 has quit [Ping timeout: 268 seconds]
jolby has joined #commonlisp
jmdaemon has joined #commonlisp
eddof13 has joined #commonlisp
agrosant has joined #commonlisp
agrosant has quit [Read error: Connection reset by peer]
livoreno has quit [Ping timeout: 260 seconds]