pocmatos
2018-9-14 07:06:56

I can reproduce it with a small-ish example. This looks like a bug - will open an issue on github.


pocmatos
2018-9-14 07:26:18

pocmatos
2018-9-14 07:38:57

Does anybody know if Carl Eastlund from mischief hangs around here? It seems that mischief stopped working on racket HEAD since it started providing stream-take which clashes with mischief stream-take.


samth
2018-9-14 12:58:45

@pocmatos he’s not on slack, I would either email or report a github issue


pocmatos
2018-9-14 12:59:24

@samth thanks, I did report an issue but I got no response. I will wait longer. Maybe he’s on hols.


samth
2018-9-14 12:59:57

@pocmatos he no longer works on racket (he’s at Jane Street) so an email might be necessary


pocmatos
2018-9-14 13:00:30

Will send him an email then. Thanks.


pocmatos
2018-9-14 13:52:13

@samth not sure I understood your comment, do you want me to create a PR based for qemu testing on azure or travis? currently I have some work for this on travis but feels a waste of my time to continue if are moving the CI to azure.


samth
2018-9-14 13:52:50

@pocmatos as I think I’ve said, we’re not “moving” the CI


samth
2018-9-14 13:53:13

I created that PR to explore adding an additional CI, which I’m particularly interested in for Windows


samth
2018-9-14 13:53:46

because AppVeyor is slow enough that we can’t run lots of the tests


pocmatos
2018-9-14 13:53:53

ah… got it. So you would keep the current tests on travis and use azure for windows?


pocmatos
2018-9-14 13:53:55

makes sense.


samth
2018-9-14 13:54:10

but if there’s something that would benefit from Azure on linux then obviously that would be worthwhile too


pocmatos
2018-9-14 13:54:25

ok, let me look into migrating my work from travis to azure then. I will then open a pr.


leif
2018-9-14 18:07:00

Ah, okay, that makes sense. Thanks.


leif
2018-9-14 18:14:01

@mflatt Do you think it would make sense to make racket/private/serialize-structs be a cross phase module?


leif
2018-9-14 18:14:31

(That way the serializable struct property lasts across phases.


samth
2018-9-14 18:16:31

you’d have to manually write all that code in ’#%kernel


leif
2018-9-14 18:17:00

@samth Ya, @michael.ballantyne and I did that. =


leif
2018-9-14 18:22:30

@samth The code for it is actually not that complex, and mostly just requires you do most of the define-struct stuff yourself: https://gist.github.com/LeifAndersen/51aab9801caa5cf76542e32b7b958566


leif
2018-9-14 18:22:31

samth
2018-9-14 18:22:59

note that that misses the static struct info (I don’t know if that’s used though)


leif
2018-9-14 18:23:07

You are correct.


leif
2018-9-14 18:23:21

However, it is not used in the racket/serialize library.


leif
2018-9-14 18:23:32

And raco setup works fine without it.


leif
2018-9-14 18:23:44

(As well as other programs I have that make heavy use of serialize.)


leif
2018-9-14 18:24:06

It does mean though that the racket library couldn’t, say, make a serialize struct match expander.


mflatt
2018-9-14 18:31:02

Sounds ok


david.alkire
2018-9-14 23:04:01

I was hoping to get some help figuring out why I haven’t been able to trigger an on-event callback for my image-snip%. I’m probably missing something simple, but when I drag the snip, “on-event” isn’t printed and the snip still drags behind others. Does anyone know the right pattern for snip events?


alexharsanyi
2018-9-14 23:16:05

@david.alkire, the way you call set-flags removes all existing flags from the snip. You need to do something like:


alexharsanyi
2018-9-14 23:16:24

david.alkire
2018-9-14 23:22:13

@alexharsanyi thanks. it’s printing the message now. getting those flags right is tricky. i’ll keep working on it


alexharsanyi
2018-9-14 23:24:06

You will find that with all these flags, your snip will handle more events that you need, and the editor will miss out on some events. You can fix that by passing back to the editor all events that you don’t handle.