20:51:17Xachjasom: there was redshank, but i never tried it and i think it was pretty limited in scope.
20:51:26jasomother things that would be nice to automate is: turn this block into a defun, with parameters named the same as all externally-bound values referenced in the block
20:52:22jasom(let (foo) (let (bar) (baz foo bar))) <-- e.g. it would be nice to be able to turn the (let (bar) ...) into (defun _CURSOR_ (foo) (baz foo bar)) at the toplevel somewhere
21:13:19maliceflip214:then I didn't understand you, sorry
21:44:02JuanDaughertyACTION looks for a way to have sbcl gc *only* on thread exit
21:59:39JuanDaughertyhttp://sbcl-internals.cliki.net/ is broken
22:38:10axionmalice: Keyword arguments are slower than regular function arguments. If you are trying to provide type annotations to the compiler for optimization purposes, might just want to use regular arguments if speed is important.
22:38:51basketmalice: You can normally look at things like that by asking Lisp to describe things, eg after (defun f (&key x) (declare (fixnum x)) x), (describe #'f) on SBCL tells me the derived type is (FUNCTION (&KEY (:X FIXNUM)) (VALUES FIXNUM &OPTIONAL))
22:46:29maliceaxion: actually I'm doing it so that I know the expected type
1:36:03leraxPipelines in Python: https://gist.github.com/ryukinix/1e99bac3d49f81f006c620d102675e16 :v
2:52:43eeyyyHey i just started learning this a week ago and i put in the code (defmacro unless (condition &rest body) '(if (not ,condition) (progn ,@body))) and got an error. Anyboody know what i did wrong?
2:53:18axionYou didn't use a quasiquote for starters
3:43:19lokeemaczen: It also depends on what they do. If each thread is using 100% CPU, then obviously there is little benefit of starting more than the number of threads in the CPU (where by "cpu thread" i refer to "virtual" cpu's, = cores*hyperthread)
3:43:54lokeOnce you start nmore than, say, 20Ă—the number of cores in the machine, you'll start to feel it.
3:44:16lokeIf, on the other hand, the threads are mostly idle, you can easily start thousands without any problems.
3:44:59emaczenloke: I think it is stalling pretty bad...
3:45:19emaczenloke: is there a lisp way to check the number of cores?
3:45:21lokeemaczen: "htop" is a useful command to monitor
3:45:33lokeemaczen: No. but use htop in a terminal.