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/>
Devon has quit [Ping timeout: 246 seconds]
blackshuck has quit [Remote host closed the connection]
eddof13 has joined #commonlisp
eddof13 has quit [Client Quit]
screwtape` has joined #commonlisp
theBlackDragon has quit [Ping timeout: 246 seconds]
thuna` has quit [Remote host closed the connection]
theBlackDragon has joined #commonlisp
jsomedon has joined #commonlisp
paulapatience has quit [Ping timeout: 246 seconds]
fosskers has joined #commonlisp
screwtape` has quit [Remote host closed the connection]
skin has left #commonlisp [#commonlisp]
johnjaye has quit [Ping timeout: 246 seconds]
johnjaye has joined #commonlisp
karlosz has quit [Quit: karlosz]
fosskers has quit [Remote host closed the connection]
fosskers has joined #commonlisp
fosskers has quit [Ping timeout: 256 seconds]
waleee has quit [Ping timeout: 246 seconds]
rtypo has quit [Ping timeout: 246 seconds]
ldb has joined #commonlisp
ldb has quit [Read error: Connection reset by peer]
habamax has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1)]
Lycurgus has joined #commonlisp
jsomedon has quit [Quit: Connection closed for inactivity]
Lycurgus has quit [Quit: Tschüss]
<beach> viaken: You write log entries to a file if you have one of those really dumb current operating systems that don't have automatic persistence.
<beach> viaken: Or just save your entire data structure from time to time.
fosskers has joined #commonlisp
Oladon has joined #commonlisp
amb007 has joined #commonlisp
dinomug has joined #commonlisp
habamax has joined #commonlisp
jsomedon has joined #commonlisp
easye has quit [Remote host closed the connection]
easye has joined #commonlisp
Oladon has quit [Quit: Leaving.]
yvm has joined #commonlisp
yvm has quit [Ping timeout: 260 seconds]
dcb has quit [Quit: MSN Messenger 4.0.2]
fosskers has quit [Remote host closed the connection]
rgherdt has joined #commonlisp
shka has joined #commonlisp
rgherdt has quit [Ping timeout: 240 seconds]
mingus has joined #commonlisp
amb007 has quit [Ping timeout: 260 seconds]
<mfiano> White_Flame: okay, edgar-rft
lottaquestions_ has quit [Remote host closed the connection]
lottaquestions_ has joined #commonlisp
jsomedon has quit [Quit: Connection closed for inactivity]
igemnace has joined #commonlisp
rgherdt has joined #commonlisp
azimut has quit [Ping timeout: 240 seconds]
habamax has quit [Ping timeout: 240 seconds]
pve has joined #commonlisp
resttime has quit [Quit: resttime]
paulapatience has joined #commonlisp
resttime has joined #commonlisp
habamax has joined #commonlisp
mingus1 has joined #commonlisp
mingus has quit [Ping timeout: 258 seconds]
mingus1 is now known as mingus
jmdaemon has quit [Ping timeout: 246 seconds]
dino_tutter has joined #commonlisp
paulapatience has quit [Ping timeout: 246 seconds]
paulapatience has joined #commonlisp
attila_lendvai has joined #commonlisp
Krystof has joined #commonlisp
Gleefre has joined #commonlisp
mgl has joined #commonlisp
jsomedon has joined #commonlisp
avocadoist has quit [Ping timeout: 246 seconds]
avocadoist has joined #commonlisp
paulapatience has quit [Ping timeout: 244 seconds]
Alfr has quit [Remote host closed the connection]
Alfr has joined #commonlisp
attila_lendvai has quit [Ping timeout: 246 seconds]
paulapatience has joined #commonlisp
dinomug has quit [Remote host closed the connection]
habamax has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1)]
paulapatience has quit [Ping timeout: 245 seconds]
paulapatience has joined #commonlisp
Lycurgus has joined #commonlisp
Lycurgus has quit [Quit: Tschüss]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
habamax has joined #commonlisp
resttime has quit [Quit: resttime]
rgherdt_ has joined #commonlisp
mgl has quit [Quit: Client closed]
rgherdt has quit [Remote host closed the connection]
attila_lendvai has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 246 seconds]
Lord_of_Life has joined #commonlisp
attila_lendvai_ has joined #commonlisp
blackshuck has joined #commonlisp
attila_lendvai has quit [Ping timeout: 252 seconds]
mgl has joined #commonlisp
Krystof has quit [Ping timeout: 245 seconds]
alendvai__ has joined #commonlisp
attila_lendvai_ has quit [Ping timeout: 245 seconds]
AetherWind has joined #commonlisp
igemnace has quit [Read error: Connection reset by peer]
igemnace has joined #commonlisp
blackshuck has quit [Quit: Leaving]
tyson2 has joined #commonlisp
paulapatience has quit [Ping timeout: 246 seconds]
resttime has joined #commonlisp
paulapatience has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
alendvai__ has quit [Ping timeout: 240 seconds]
rgherdt_ is now known as rgherdt
amb007 has joined #commonlisp
jsomedon has quit [Quit: Connection closed for inactivity]
paulapatience has quit [Ping timeout: 256 seconds]
paulapatience has joined #commonlisp
jon_atack has quit [Ping timeout: 245 seconds]
jon_atack has joined #commonlisp
kevingal has joined #commonlisp
cage has joined #commonlisp
prxq has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
habamax has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1.50)]
phantomics_ has quit [Ping timeout: 246 seconds]
kevingal has quit [Ping timeout: 246 seconds]
paulapatience has quit [Ping timeout: 246 seconds]
kevingal has joined #commonlisp
nimiux has quit [Ping timeout: 250 seconds]
nimiux has joined #commonlisp
karlosz has joined #commonlisp
szkl has quit [Quit: Connection closed for inactivity]
paulapatience has joined #commonlisp
mgl has quit [Quit: Client closed]
paulapatience has quit [Remote host closed the connection]
paulapatience has joined #commonlisp
ronald__ has quit [Ping timeout: 240 seconds]
mgl has joined #commonlisp
phantomics has joined #commonlisp
ronald__ has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
jmdaemon has joined #commonlisp
shka has joined #commonlisp
jmdaemon has quit [Ping timeout: 252 seconds]
kevingal has quit [Ping timeout: 245 seconds]
jmd_ has joined #commonlisp
skin has joined #commonlisp
azimut has joined #commonlisp
kevingal has joined #commonlisp
thuna` has joined #commonlisp
avocadoist has quit [Remote host closed the connection]
dino_tutter has quit [Ping timeout: 244 seconds]
jmd_ has quit [Ping timeout: 260 seconds]
paulapatience has quit [Ping timeout: 246 seconds]
paulapatience has joined #commonlisp
ldb has joined #commonlisp
<ldb> good morning
<beach> Hello ldb.
jsomedon has joined #commonlisp
ec_ has quit [Ping timeout: 240 seconds]
ec_ has joined #commonlisp
eddof13 has joined #commonlisp
alip is now known as parrhesisastes
parrhesisastes is now known as alip
prxq has joined #commonlisp
yvm has joined #commonlisp
lucasta has joined #commonlisp
ec_ has quit [Remote host closed the connection]
Oladon has joined #commonlisp
Inline has quit [Quit: Leaving]
tyson2 has quit [Remote host closed the connection]
amb007 has quit [Ping timeout: 246 seconds]
rtypo has joined #commonlisp
Demosthenex has quit [Remote host closed the connection]
Demosthenex has joined #commonlisp
AetherWind has quit [Quit: leaving]
Inline has joined #commonlisp
dino_tutter has joined #commonlisp
paulapatience has quit [Ping timeout: 246 seconds]
Demosthenex has quit [Ping timeout: 246 seconds]
cosimone has joined #commonlisp
lucasta has quit [Quit: Leaving]
dcb has joined #commonlisp
mgl has quit [Quit: Client closed]
Demosthenex has joined #commonlisp
<Josh_2> louis77: I had to use (defun timestamp-to-unix-nano (timestamp) (* (local-time:timestamp-to-unix timestamp) 1000000000)) in the end
<Josh_2> Not that this actually gives me the correct time :sob:
<Josh_2> but hey
cosimone has quit [Read error: Connection reset by peer]
<Josh_2> Actually settled on the one you sent by * the result by 1000000
<Josh_2> That didn't work either. I'll shut my mouth until I get it right :joy:
gpiero has quit [Quit: Quitting...]
Oladon has quit [Quit: Leaving.]
gpiero has joined #commonlisp
<Josh_2> Okay now I am pretty sure I have it right :joy:
waleee has joined #commonlisp
gpiero has quit [Quit: Quitting...]
ldb has quit [Ping timeout: 245 seconds]
gpiero has joined #commonlisp
jmd_ has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
gpiero has quit [Read error: Connection reset by peer]
igemnace has quit [Read error: Connection reset by peer]
gpiero has joined #commonlisp
jmd_ has quit [Ping timeout: 246 seconds]
igemnace has joined #commonlisp
dino_tutter has quit [Ping timeout: 240 seconds]
lagash has joined #commonlisp
rgherdt has quit [Ping timeout: 246 seconds]
tyson2 has joined #commonlisp
jsomedon has quit [Quit: Connection closed for inactivity]
mgl has joined #commonlisp
donleo has joined #commonlisp
kevingal has quit [Ping timeout: 246 seconds]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
paulapatience has joined #commonlisp
<Josh_2> Think I'm using dynamic variables appropriately for the first time :thinking:
<Josh_2> Stupid opentelemetry has context based tracing, gotta know a span id wherever you are in the callstack. Primitive version with special variables seems to work alright
<skin> I still have misgivings, I guess because I'm new to this. Still feels like using a global variable, in other languages a big no-no.
<Josh_2> I'll show you the code when its not hot steaming :poo: :joy:
<Josh_2> Also globals are not a no no in CL.
<skin> Right, I get that.
<louis77> Josh_2: 👍
<Josh_2> I could swap to using a global store for the traces but then I'd have to worry about making it thread safe :facepalm:
<Josh_2> I'm just trying to knock together a library to better integrate my lisp program into uptrace
tyson2 has quit [Remote host closed the connection]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
<White_Flame> yeah, that's a totally reasonable and responsible use for dynamic bindings
<White_Flame> I often have threadpools which immediately bind something contextual like that
<White_Flame> and database connections, current transactions, etc, are common to hold in specials
<White_Flame> skin: I guess you could call them scoped globals, and yeah they're threadlocal, too
<White_Flame> just look at the various *print-... specials and imagine if they weren't contextual but rather have to be passed around expicitly
<White_Flame> with a dynamic binding you can set up your own contexts in which your various configurations take effect, one option being global
<White_Flame> s/contexts/scopes/
rgherdt has joined #commonlisp
anticomputer_ has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
anticomputer has quit [Remote host closed the connection]
yvm has quit [Ping timeout: 260 seconds]
paulapatience has quit [Ping timeout: 245 seconds]
anticomputer has joined #commonlisp
<Josh_2> I have a couple macros with the ugliest interfaces :sob:
paulapatience has joined #commonlisp
dino_tutter has joined #commonlisp
<|3b|> globals are about as bad in CL as they are in other languages, but dynamic bindings aren't global.
<|3b|> though "global is bad" is pretty much meaningless, since you can just shuffle names around
<|3b|> is a singleton a "global"? is the default value of an optional argument a "global"? are function bindings "globals"?
mgl has quit [Quit: Client closed]
paulapatience has quit [Remote host closed the connection]
paulapatience has joined #commonlisp
pve has quit [Quit: leaving]
weary has joined #commonlisp
Demosthenex has quit [Ping timeout: 245 seconds]
Demosthenex has joined #commonlisp
donleo has quit [Ping timeout: 245 seconds]
tyson2 has joined #commonlisp
donleo has joined #commonlisp
<Josh_2> Is the priority for initargs from left to right? So if I have (apply #'make-instance :attributes <some custom> :values .. :attributes ..) it'll be the left value that is used?
<Josh_2> I tried to modify the initargs plist but sbcl complained that its a constant :sob:
<White_Flame> beach: probably for WSCL, the defstruct page lists a :type option as (vector <size>), while the section on :type says it's (vector <element-type>)
<Josh_2> it'll actually be more like (apply #'make-instance (list* :attributes <some screwwy> initargs))
<White_Flame> beach: not sure exactly if the scope of WSCL includes stuff like that
<Josh_2> o ffs
<Josh_2> I had my place and indicator arguments the wrong way
paulapatience has quit [Read error: Connection reset by peer]
paulapatience has joined #commonlisp
splatt990 has quit [*.net *.split]
haku has quit [*.net *.split]
semz has quit [*.net *.split]
kagevf has quit [*.net *.split]
gko` has quit [*.net *.split]
sco1_ has quit [*.net *.split]
kaskal has quit [*.net *.split]
Posterdati has quit [*.net *.split]
beach has quit [*.net *.split]
mrcom has quit [*.net *.split]
hineios has quit [*.net *.split]
Lord_Nightmare has quit [*.net *.split]
hayley has quit [*.net *.split]
b3lm0nt has quit [*.net *.split]
mmk2410 has quit [*.net *.split]
beach has joined #commonlisp
kagevf has joined #commonlisp
mmk2410 has joined #commonlisp
hayley has joined #commonlisp
mmk2410 has joined #commonlisp
mmk2410 has quit [Changing host]
sco1 has joined #commonlisp
Posterdati has joined #commonlisp
Lord_Nightmare has joined #commonlisp
hineios has joined #commonlisp
Posterdati has quit [Changing host]
Posterdati has joined #commonlisp
mrcom has joined #commonlisp
haku has joined #commonlisp
mrcom has quit [Remote host closed the connection]
b3lm0nt has joined #commonlisp
mrcom has joined #commonlisp
gko` has joined #commonlisp
notzmv has quit [Ping timeout: 246 seconds]
semz has joined #commonlisp
kaskal has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 28.2]
blackshuck has joined #commonlisp
shka has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
weary has quit [Remote host closed the connection]
Oladon has joined #commonlisp
rgherdt has quit [Remote host closed the connection]
waleee has quit [Ping timeout: 240 seconds]
yitzi has joined #commonlisp
anticomputer has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
<paulapatience> Josh_2: Yes, left to right, just like regular plists with getf
hayley has quit [Changing host]
hayley has joined #commonlisp
dino_tutter has quit [Ping timeout: 244 seconds]
amb007 has quit [Ping timeout: 245 seconds]
zest has joined #commonlisp
<zest> henlo
<zest> how could I set a type for a methodable parameter?
<zest> i.e. how do I (declare (type something-that-my-method-uses val))
<zest> I can do for numbers such as (declare (type number val)) but I dont know how to assure that my value consumes my method...
Inline has quit [Ping timeout: 246 seconds]
Oladon has quit [Quit: Leaving.]
paulapatience has quit [Remote host closed the connection]
habamax has joined #commonlisp
habamax has quit [Remote host closed the connection]
habamax has joined #commonlisp
donleo has quit [Ping timeout: 256 seconds]
Gleefre has quit [Remote host closed the connection]
bjorkintosh has quit [Ping timeout: 240 seconds]
Oladon has joined #commonlisp
paulapatience has joined #commonlisp
notzmv has joined #commonlisp
jobhdez has joined #commonlisp
<jobhdez> do you all think that a common lisp to js compiler is needed in the common lisp community? what do you all think about this? im just curious since haskell and clojure have such compilers
thuna` has quit [Read error: Connection reset by peer]
<|3b|> people apparently thought CL needed parenscript and jscl and ecl compiled to wasm, since they also more or less exist (not sure which sort of "common lisp to js" you mean)
* |3b| doubts /all/ of the 'you' here agree about anything in particular though, particularly things as specific as that
<jobhdez> i guess parenscript is what i had in mind. thats cool. ill try using it in my next project