Search
Thursday, 20th of September 2018, 14:23:43 UTC
14:23:52
beach
But there were problems with that solution.
14:24:07
beach
But I can't remember what the problems were.
14:24:27
beach
Can anybody either remember, or imagine what they would be?
14:25:03
beach
Also, is that technique still used in the listener?
14:25:20
djeis[m]
Well, if that evaluation tried to write to the listener pane you might’ve hit threading weirdness.
14:26:27
beach
In the listener thread, there are bindings of special variables in place, and those are lost by default when a new thread is spawned.
14:26:54
beach
So to make that work, the new thread had to be initialized with the same values of those special variables.
14:27:08
djeis[m]
Oh, yeah, that’d be another issue. But you can kinda manage that.
14:27:56
beach
If you can be sure that you know all of them, sure.
14:32:57
beach
I thought for a while I had a better solution, but now I think mine has the same problem.
14:36:01
jackdaniel
no, the problem is a race for reading from bound streams
14:36:11
jackdaniel
i.e when you call read
14:36:22
jackdaniel
then keyboard is wanted by both listener pane and the expression
14:36:59
jackdaniel
correct solution would be binding separate streams for this thread and passing keyboard input to the process
14:37:16
jackdaniel
s/process/evaluation thread/
14:38:38
jackdaniel
we have a bounty on that afaik
15:16:46
scymtym
can anybody confirm that (defclass foo () ((bar :initform (make-hash-table)))) (clouseau:inspector (make-instance 'foo)) shows the "Hash table" string with a vertical offset and also misaligned with respect to the presentation highlight?
15:24:14
beach
Here, it shows the text upside-down, but not misaligned.
15:24:41
beach
I haven't updated McCLIM for a while though.
15:25:18
scymtym
beach: thanks, but don't waste too much time on this
15:26:37
beach
The pink rectangle surrounding the text is bigger than the text.
15:26:54
beach
And the extra space is on the right of the text.
15:27:13
beach
But when I move the mouse to the text, the surrounding box fits perfectly.
15:27:55
beach
The text is upside-down in the sense that it is a mirror image with respect to a horizontal line.
15:28:09
beach
Do you want me to make a screen shot?
15:28:45
scymtym
beach: i guess i can make an issue and you can attach your screenshot to that
15:29:11
beach
I guess so, if I can figure out how to attach images.
15:29:18
beach
But you don't get the same result then?
15:29:34
scymtym
right, i will have a screenshot up in a second
15:31:16
beach
http://metamodular.com/clouseau.png
15:33:17
scymtym
https://github.com/McCLIM/McCLIM/issues/552
15:34:00
beach
Your text is misaligned, but not a mirror image.
15:34:13
scymtym
maybe one of us is using the freetype renderer (if i am, it happened accidentally)
15:35:49
beach
As predicted, I can't figure out how to upload an image.
15:36:26
scymtym
i dragged it into the text box used for commenting
15:36:45
beach
That means I have to figure out how to get a GUI of my files.
15:36:54
beach
Let me see. I think I did that by accident once.
15:40:09
jackdaniel
http://i.imgur.com/suNEWHp.png (software monitor hack in clim)
15:41:32
jackdaniel
why would it be reverted along x axis? do I miss something?
15:42:12
jackdaniel
looking at screenshots it looks as if beach is using freetype (ffi-based) renderer loke wrote, while scymtym is using ttf, which performs only text translation
15:42:18
jackdaniel
in both cases baseline is the same
15:48:21
scymtym
jackdaniel: looks nice. if can make a suggestions: use a more subtle color palette like #0072bd #d95319 #edb120 #7e2f8e #77ac30 #4dbeee #a2142f (which is gnuplot's default, i think) - it makes a big difference
15:49:12
jackdaniel
I've used (clim:make-contrasting-inks 8 x) where x increments
15:49:35
jackdaniel
we should make contrasting inks return better values. thank you for a suggestion, I'll change it locally to said colors
15:49:41
jackdaniel
especially cyan and yellow are invisible
15:50:05
scymtym
cool, i didn't know that existed. and i agree improving its defaults would make it super useful
15:50:36
scymtym
(don't forget to show a screenshot of the result :)
15:51:08
beach
What would I have done to get freetype rendering?
15:51:34
jackdaniel
edit ~/.sbclrc to test it
15:51:46
jackdaniel
there is probably some push to features
16:05:43
jackdaniel
scymtym: http://i.imgur.com/PERomjB.png
16:06:02
jackdaniel
indeed looks much nicer
16:11:44
jackdaniel
OK, I've pushed this new colorset
16:11:56
jackdaniel
I've added one of my own (because 8 is a minimal requirement)
16:12:21
jackdaniel
0.53529414 0.378431375 0.38431373 (essentially brown)
Friday, 21st of September 2018, 2:23:43 UTC