freenode/#lisp - IRC Chatlog
Search
8:05:37
decent-username
QUESTION: The following picture shows my current situation https://i.postimg.cc/Nf5QBFJ0/printing-2d-array.png
8:07:33
shka__
decent-username: like that https://github.com/sirherrbatka/cl-data-frames/blob/b8f1b32103d3cbcddeb0db3c13ce44156442ec28/src/api/functions.lisp#L32
8:34:09
Shinmera
Format has no way of tabular arrangement because you need to know the cell sizes ahead of time.
8:35:16
phadthai
FORMAT used to display columns of nicknames when entring an irc channel (indeed, size is calculated first): http://git.pulsar-zone.net/?p=mmondor.git;a=blob;f=mmsoftware/cl/test/irclog.lisp;hb=HEAD#l745:
12:40:19
alandipert
anyone know how to interpret this type specifier? https://github.com/s-expressionists/Eclector/blob/master/code/reader/quasiquote-macro.lisp#L35
12:41:42
jackdaniel
alandipert: cons where car is of anytype and cdr is either an atom or a cons which car is unquote
12:42:58
jackdaniel
i.e (42 . 52) ((1 2 3) . foobar) and ("bam" . (unquote foo)), but not (42 15) aka (42 . (15 . nil))
12:46:57
alandipert
jackdaniel actually does (not cons) really mean atom? wondering if could mea array too
12:51:20
Xach
chanl added an unconditional (warn ...) at compile-time and now it has busted a bunch of dependencies (and itself)
13:06:29
bumblingMonkey
Has anybody here used clx and the render extension to draw semi-transparent triangles? All I get are solids.
13:09:45
beach
bumblingMonkey: Check in #clim. More people there have used the render extension in CLX.
13:11:13
jackdaniel
bumblingMonkey: this code branch is currently disabled for unrelated reason, but please take a look at https://github.com/McCLIM/McCLIM/blob/master/Backends/CLX/medium-xrender.lisp#L71
13:13:46
bumblingMonkey
I check that, but there's nothing about triangles. Filled rects work fine alpha.
13:16:27
bumblingMonkey
tried triangle-strip with all ops, no go. I could try fan, but not sure if it would be different. Do you have any working code?
13:18:54
bumblingMonkey
which works differently since fill-rectangles takes a color array, while the triangle functions take pictures, which I think might be part of the problem. I can't even located C code using triangles.
13:20:09
bumblingMonkey
well, any code written in any language, using the triangle rendering functions. So I can't even tell if it is supposed to work.
14:04:41
jackdaniel
I suppose you can call fill-rectangle on a picture and pass that picture as a design for the triangle-fan
16:05:36
decent-username
I've asked a question a few hours ago. Unfortunatley I didn't have proper internet until now. Did anyone answer it?
16:13:44
decent-username
I have another question: How could I override the name of a classes :initarg and :accessor for a slot that was inherited?
16:13:48
decent-username
Inside #'make-sprite-sheet-sprite I'd like to initialize the `resource-keyword' slot from the `sprite' class.
16:13:54
decent-username
I actually don't want a new `sprite-sheet' slot for `sprite-sheet-sprite', just different names for the accessor and initarg of `resource-keyword'