14:25:08beachVideos typically take some time before being posted. It is all done by volunteers, after all. And those people tend to be the same ones that are busy with tons of other stuff.
14:25:36beachIf you haven't been to ELS before, you can start with videos from previous conferences.
16:07:54Posterdatifor example (unsigned-byte 8) corresponds to :uint8
16:08:17Posterdatifor example (unsigned-byte 10) corresponds to :uint16
16:10:02Bicyclidinehm, i suppose you could have a fixed ctype->lisptype map (like :uint8 is (unsigned-byte 8)) and then to do the other way, find the smallest mapped type that a given lisp type is a subtype of
16:10:55Bicyclidineassuming you just want the stdint types and not the old variable ones
16:13:16PosterdatiI did a loop over bit word sizes and match the type-p result
16:14:13Bicyclidineoh, you just have a value? typep instead of subtypep then, yeah.
16:15:25pjbPosterdati: you could define the foreign types as lisp types, and then use subtypep to match the lisp types to them.
18:07:16beachIt might do two traversals. If you want to avoid that, I think you have to do it "manually", by traversing the sequence and assigning to an index every time you find a larger element.
18:08:47beach(let ((index 0) (max (aref array 0))) (loop for i from 1 below (length array) when (> (aref array i) max) do (setf index i) (setf max (aref array i)) finally (return index))) something like that.
18:09:47beachThe performance issue is typically not the traversal per se, but the application of the :KEY function which is often non-trivial.
18:11:30beach... as in when (> (length (name (first-child (spouse (father (aref i)))))) max) ...
19:38:58mrottenkolberis changing the element-type of *standard-input/output* a thing?
19:39:51Bicyclidinechanging the element type of a stream is impossible, as far as i know, but you can bind a stream with a different element-type to those variables
19:40:22mrottenkolberwhat if I want my standard input in (unsigned-byte 60) chunks?
19:42:17Bicyclidine(let ((*standard-input* (open wherever :element-type '(unsigned-byte 60)))) ...) is fine
19:45:14mrottenkolberright and wherever can be a stream
19:47:29mrottenkolberhmm no because *standard-input* is not a file-stream
20:00:22pjbmrottenkolber: however, some implementations let you do that, with some implementation specific mean. Otherwise, you may try with flexi-streams.
20:14:15mrottenkolberI think flexi streams is only for character I/O?
23:26:00parjanyawhere can I find functions to find prime numbers and test if it’s a prime number? I’ve searched on quicklisp but I couldn’t find what’s on the maths related packages...
0:30:49antonvparjanya: for example I did "go to definition" natigated to some source code. After reading the definition I want to return where I was before that.
0:32:01parjanyauh, that I don’t know... q? C-<left>?
1:32:06Bicyclidinewell there's no flavors on account of sbcl is newer than when flavors stopped, and sb-clos would be sb-pcl.
1:33:48antonvI'm thinking to use cffi:foreign-funcall and rule-out corman, but first want to ensure the problem is impossible to solve with cffi:defcfun
1:34:30antonvpjb: can you help writing error handler so I will catch error a compile, load or call-time?