Search
12:14:33
Shinmera
I think the basic is using something like (name :initarg :name :accessor name :option (string-option)) as a slot
12:14:54
Shinmera
:option is just (option-type . option-initargs), and for the options look in options.lisp
12:27:57
phoe
OK - I'll skip them for now, then
12:28:02
phoe
and return when I have the rest documented
12:28:22
phoe
I'll then do some examples and showcases and what not
12:36:01
gingerale
Are there any benefits for using Sly instead of Slime?
12:37:55
Shinmera
I don't use it, so I can't tell you
13:55:53
phoe
What are the differences between QDialog and qui:dialog?
14:01:44
Shinmera
is the definition somehow not obvious?
14:03:51
phoe
(qtools:with-main-window (window (make-instance 'qui:simple-input-dialog :value "a")) (qui:show window :modal nil))
14:03:54
phoe
The value NIL is not of type NUMBER when binding SB-KERNEL::X
14:05:29
Shinmera
what did you think that would accomplish
14:06:40
phoe
What values are possible for MODAL then?
14:06:43
Shinmera
the dialog can't just magically infer what you want it to prompt for
14:06:58
phoe
sure, so I pass :modal nil
14:07:05
phoe
if I pass :modal t it pops up
14:07:37
Shinmera
with-main-window already does exec on the dialog
14:08:06
Shinmera
a dialog is not a main entry point, you know
14:08:38
Shinmera
opening a widget twice is probably some forbidden qt voodoo, what do I know.
14:08:54
Shinmera
I really don't understand your confusion, the definition is like five lines
14:09:03
Shinmera
I can't tell you things that the code doesn't show already
14:09:36
phoe
why did (if modal (q+:exec dialog) (q+:open dialog)) return NIL
14:10:15
phoe
it is because q+:open returns void
14:11:08
Shinmera
yea, that show method is bad
14:12:12
Shinmera
on modal nil it should show the window in, well, non modal mode, but still block so we can simplify execution
14:12:16
Shinmera
dunno if Qt allows that
14:13:18
phoe
I don't think so - you'd need to get a closed signal methinks
14:13:31
phoe
open() returns immediately
14:15:24
Shinmera
so you'd have to do a with-* thing to capture the environment and call on completion
14:30:07
phoe
with-what exactly? with-main-window et al?
14:32:12
Shinmera
no with-dialog, so the body can execute when the dialog is done
14:32:57
phoe
I see no external symbol named with-dialog
14:33:07
Shinmera
that's why you'd have to
14:33:25
phoe
I'll leave it for now in that case
15:00:16
Shinmera
once again GraphQl is driving me crazy
15:30:27
Shinmera
I don't think I've ever read a language spec that managed to confuse me as much as GraphQL
15:51:42
Shinmera
What the fuck does this type mean: [Foo!]!
15:52:00
Shinmera
I understand the outer ! means the value cannot be null
15:52:14
Shinmera
but what the hell does it mean for the array element type to be not-null
15:52:22
Shinmera
arrays can't contain nulls to begin with
15:52:33
Shinmera
so does it mean that the array must have at least one element?
15:54:19
Shinmera
https://facebook.github.io/graphql/June2018/#sec-Combining-List-and-Non-Null
15:54:19
Colleen
facebook.github.io/graphql/... Website (HTML), Title: GraphQL
15:54:52
Shinmera
so an array can contain nulls
15:55:11
Shinmera
man this spec is a fucking mess
16:41:39
Shinmera
yet another unproductive day trying to write this library