* mfiano
has decided that his new favorite testing framework is 1am but would have tried one hour later if jackdaniel put it in the QL dist.
<Shinmera>
Any actionable complaints with Parachute?
<mfiano>
Not minimal enough, nor as fast, but Parachute's goal is full-featured and extensible, so probably runs things through a bunch of generic protocols, so it's not a complaint, just a preference. I also wanted something faster for tens of thousands of tests that I would have expected to take less time in one project that uses Parachute and previously prove, and it did much better. I was tempted to
<mfiano>
write my own light macro around assert, but 1am does it just fine.
<Shinmera>
I use parachute with uax-* and those have tens of thousands of tests that run fast enough.
<Shinmera>
The slow part is printing, which goes away if you use the quiet report (or the new largescale report)
<mfiano>
Nice to know for the future. I think I'll stick with this ~60loc code that is permissive enough to just inline in my tests.
<ebrasca>
Morning!
varjag has joined #commonlisp
<jackdaniel>
mfiano: 1am is made by lmj, not me
<jackdaniel>
I've hacked 2am for ecl, but I take my pride in not publishing it in ql - we have too many testing frameworks so it'd be more loke littering
<jackdaniel>
like*
<loke[m]>
jackdaniel: haha, that typo notified me :-)
<jackdaniel>
sorry! :)
<hayley>
Yes, you want to be sure you don't leave lokes lying around.
<mfiano>
jackdaniel: That's why I said one hour later :)
lottaquestions has joined #commonlisp
lottaquestions has quit [Read error: Connection reset by peer]
lottaquestions has joined #commonlisp
<mfiano>
But not a big deal. I didn't have much interest in the few added features. The minimalism of 1am is just the right opinionated selection of features I need, most of the time.
<jackdaniel>
cool
MajorBiscuit has quit [Ping timeout: 252 seconds]
lottaquestions_ has quit [Ping timeout: 268 seconds]
lisp123 has joined #commonlisp
Inline has quit [Quit: Leaving]
mason has quit [Ping timeout: 252 seconds]
mason has joined #commonlisp
<Josh_2>
Have you tried lisp-unit mfiano ?
mingus has quit [Ping timeout: 265 seconds]
dilated_dinosaur has quit [Remote host closed the connection]
<mfiano>
I've pretty much tried them all over the years, and none of them are what I want in all circumstances. I have been tempted to write my own for my own use-cases, but I'm lazy and don't really enjoy that type of meta-programming.
<mfiano>
In this particular case, 1am fits perfectly though.
lisp123 has quit [Read error: Connection reset by peer]
sedzcat has joined #commonlisp
nij- has joined #commonlisp
nij- has quit [Killed (NickServ (GHOST command used by nij_))]
nij_ has joined #commonlisp
nij_ is now known as nij-
nij_ has joined #commonlisp
nij- has quit [Killed (NickServ (GHOST command used by nij_))]
nij_ is now known as nij-
nij- has quit [Killed (NickServ (GHOST command used by nij_))]
nij_ has joined #commonlisp
nij- has joined #commonlisp
Brucio-61 has quit [Ping timeout: 260 seconds]
Brucio-61 has joined #commonlisp
MajorBiscuit has joined #commonlisp
pjb has joined #commonlisp
dilated_dinosaur has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 252 seconds]
son0p has joined #commonlisp
morganw has joined #commonlisp
Brucio-61 has quit [Ping timeout: 260 seconds]
nij- has quit [Ping timeout: 260 seconds]
nij_ has quit [Ping timeout: 260 seconds]
ec_ has quit [Remote host closed the connection]
ec_ has joined #commonlisp
MajorBiscuit has joined #commonlisp
Brucio-61 has joined #commonlisp
scymtym has joined #commonlisp
scymtym has quit [Remote host closed the connection]
scymtym has joined #commonlisp
ec_ has quit [Remote host closed the connection]
ec_ has joined #commonlisp
irc_user has joined #commonlisp
lisp123 has joined #commonlisp
lisp1234 has joined #commonlisp
pranavats has left #commonlisp [Error from remote client]
Josh_2 has quit [Ping timeout: 264 seconds]
perrierjouet has quit [Quit: WeeChat 3.7.1]
ym has joined #commonlisp
thuna` has joined #commonlisp
perrierjouet has joined #commonlisp
pranavats has joined #commonlisp
lisp1234 has quit [Remote host closed the connection]
lisp123 has quit [Remote host closed the connection]
Brucio-61 has quit [Ping timeout: 260 seconds]
Brucio-61 has joined #commonlisp
White_Flame has quit [Remote host closed the connection]
White_Flame has joined #commonlisp
jmdaemon has quit [Ping timeout: 264 seconds]
dipper has joined #commonlisp
dipper_ has quit [Ping timeout: 256 seconds]
Josh_2 has joined #commonlisp
azimut has joined #commonlisp
dipper has quit [Remote host closed the connection]
dipper has joined #commonlisp
ym has quit [Ping timeout: 256 seconds]
MajorBiscuit has quit [Ping timeout: 268 seconds]
_cymew_ has joined #commonlisp
jeosol has quit [Quit: Client closed]
chrcav_ is now known as chrcav
ym has joined #commonlisp
dipper has quit [Remote host closed the connection]
pranavats has left #commonlisp [Error from remote client]
Inline has joined #commonlisp
Inline has quit [Max SendQ exceeded]
Inline has joined #commonlisp
nij- has joined #commonlisp
nij- has quit [Killed (NickServ (GHOST command used by nij_))]
nij_ has joined #commonlisp
nij- has joined #commonlisp
tyson2 has joined #commonlisp
Lycurgus has joined #commonlisp
rangahy has quit [Ping timeout: 260 seconds]
nij-- has joined #commonlisp
nij- has quit [Killed (NickServ (GHOST command used by nij--))]
nij-- has quit [Remote host closed the connection]
nij_ has left #commonlisp [Using Circe, the loveliest of all IRC clients]
nij- has joined #commonlisp
<nij->
Any de facto memoizing library? I may use it on local functions (those defined with flet, say), so I don't want the table be stored globally.
<nij->
Hopefully, GC is automatic when the original function is GC'd.
<kakuhen>
you can just make your own memoize function that returns a closure checking inputs against a hash table... it becomes a bit complicated once you deal with functions taking more than one argument
<kakuhen>
but it does not require a global hash table
<kakuhen>
use the so-called "let over lambda" pattern when writing your memoize function
<jackdaniel>
(let ((foo (load-time-value …)))))) is another way to have a local static value
mingus has joined #commonlisp
anticomputer has quit [Ping timeout: 255 seconds]
nij- has quit [Ping timeout: 256 seconds]
anticomputer has joined #commonlisp
azimut_ has joined #commonlisp
azimut has quit [Ping timeout: 255 seconds]
nij- has joined #commonlisp
anticomputer has quit [Ping timeout: 255 seconds]
anticomputer has joined #commonlisp
pranavats has joined #commonlisp
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
causal has quit [Quit: WeeChat 3.7.1]
nij- has quit [Remote host closed the connection]
nij- has joined #commonlisp
Cymew has quit [Ping timeout: 256 seconds]
irc_user has quit [Quit: Connection closed for inactivity]
sedzcat has quit [Quit: sedzcat]
azimut_ has quit [Remote host closed the connection]
Lycurgus has joined #commonlisp
azimut has joined #commonlisp
seletz has quit [Ping timeout: 252 seconds]
eddof13 has joined #commonlisp
son0p has quit [Ping timeout: 255 seconds]
eddof13 has quit [Client Quit]
rangahy has joined #commonlisp
pranavats has left #commonlisp [Error from remote client]
azimut has quit [Remote host closed the connection]
azimut has joined #commonlisp
shka has joined #commonlisp
nij- has quit [Ping timeout: 252 seconds]
jolby has joined #commonlisp
thuna` has quit [Remote host closed the connection]
ebrasca has quit [Ping timeout: 260 seconds]
sedzcat has joined #commonlisp
jolby has quit [Quit: Client closed]
sedzcat has quit [Quit: sedzcat]
cage has joined #commonlisp
seletz has joined #commonlisp
Lycurgus has quit [Ping timeout: 252 seconds]
seletz has quit [Ping timeout: 268 seconds]
tyson2 has quit [Remote host closed the connection]
thuna` has joined #commonlisp
dnaeon has joined #commonlisp
justache- is now known as justache
pranavats has joined #commonlisp
Oladon has joined #commonlisp
cosimone has joined #commonlisp
son0p has joined #commonlisp
dnaeon has quit []
sedzcat has joined #commonlisp
son0p has quit [Remote host closed the connection]
irc_user has joined #commonlisp
beach` has joined #commonlisp
beach has quit [Ping timeout: 265 seconds]
cosimone has quit [Remote host closed the connection]
Lycurgus has joined #commonlisp
Lycurgus has quit [Changing host]
Lycurgus has joined #commonlisp
azimut has quit [Remote host closed the connection]
azimut has joined #commonlisp
Oladon has quit [Quit: Leaving.]
jdz has quit [Quit: I'm done]
_cymew_ has quit [Ping timeout: 256 seconds]
jdz has joined #commonlisp
_cymew_ has joined #commonlisp
Inline has quit [Quit: Leaving]
Inline has joined #commonlisp
karlosz has joined #commonlisp
azimut has quit [Remote host closed the connection]