freenode/lisp - IRC Chatlog
Search
7:10:20
lukego
I was a good boy and write some unit tests but I'm already deleting them all because they are not worth the effort to maintain.
8:07:43
splittist
lukego: If I'm writing to a spec, or in the last throws of writing (or, at least, working out) a spec, then I find unit(?) tests to be useful. But if I'm 'exploring the design space' (i.e. coding without knowing what I'm doing) then I do find them a boat anchor rather than a sanity check.
8:12:16
lukego
splittist: I think that in this case I wrote some really basic unit tests as scaffolding to get some low-level routines working for the first time. but now I don't need it much because I've written other code that exercises these routines pretty thoroughly and I can just run that to get test coverage.
8:13:12
lukego
so it seems like my test suite will just try to exercise lots of relevant code paths and then I'll need to have enough "design by contract" style instrumentation to be able to catch and debug errors when/where they occur
8:16:25
lukego
(my case might also be special in that these are routines for importing data in a specific file format and it only takes three and a half seconds to import all such data that actually exists... so I don't really need to be prepared for inputs that aren't included in the test suite)
12:59:07
attila_lendvai
is quicklisp automatically hooking into ASDF by default to download any missing systems? if not, is there a simple way to enable that?
13:09:55
attila_lendvai
shka_, i'm changing code (hu.dwim.asdf) and i don't want to regress it, and it's not trivial for me to test it right now.
13:10:49
attila_lendvai
Xach, thank you for clarifying it! do you have any plans of adding/supporting a find system hook ala the discussion under one of the :defsystem-depends-on issue?
13:11:50
attila_lendvai
Xach, the reson is that sometimes it's much more convenient to sideffect the image at one point, and just fire the macinery, as opposed to messing at random different places to (optionally) use quickload when available...
13:13:30
attila_lendvai
Xach, i've written several build.sh scripts now that uses ql (thanks a whole lot BTW!). some of them optionally using ql when available, otherwise relying on the user's config. some others override the user's config and do (quasi-)reproducible builds.
13:13:43
phoe
so makunbound for symbols, fmakunbound for functions, setf find-class nil for classes, ...
13:21:06
phoe
pp: #lisp is a Common Lisp channel, you could possibly try ##lisp for a channel for all dialects
14:11:32
flip214
phoe: why did you kick? Asking about "A minimalistic tiling Window Manager for X11." is that bad?
14:14:17
phoe
maybe you're right though, I've had my own sensitivity levels put to some tests as of late
14:16:56
Bike
also it's written in C. weird. i guess pp could have been serious but talking about something weird.
15:41:21
tychoish
https://github.com/CodyReichert/awesome-cl#graphics I always just check lists like this
15:58:36
Shinmera
There's also https://shinmera.github.io/trivial-thumbnail/ which uses im underneath
16:18:46
contrapunctus
Would a native Lisp library for encoding/decoding media formats (e.g. FLAC, PNG, WebM) be of any help to the community? Or is preferable to wrap C libraries?
16:20:22
Xach
contrapunctus: i don't know how much is in pure lisp. pure lisp code for everything would be nice.
16:27:23
Shinmera
contrapunctus: FLAC and PNG already have native ones. WebM or any video format? Good fuckin' luck.
16:29:12
Shinmera
contrapunctus: I'd like a native decoder for OGG audio, (preferably decoding to UB8 arrays)