
Shouldn't timeAtFramePass :: UI -> Event TimeT timeAtFramePass i = snapshot_ time (framePass i) and timeAtFramePass = withTimeE_ . framePass be equivalent? The final output of the first one seems to skip occurrences (I don't think frames are truly skipped). See http://hpaste.org/13746 -- (c) this sig last receiving data processing entity. Inspect headers for copyright history. All rights reserved. Copying, hiring, renting, performance and/or quoting of this signature prohibited.

Hi Achim,
Yes, I'd expect these two defs to be equivalent. Considering the
combination of snapshot and external input, the problem might well be due to
the ghc RTS bug (http://hackage.haskell.org/trac/ghc/ticket/2558) that has
been plaguing unamb. Simon Marlow says they have an RTS fix that fixes the
test cases we'd sent, so I expect to be able to try it out soon.
Meanwhile, I'd like to make sure your symptom below gets captured, so we can
confirm that the RTS fix takes care of it or otherwise dig further. Would
you please make a ticket on http://trac.haskell.org/reactive ?
Thanks! - Conal
On Wed, Jan 7, 2009 at 7:25 PM, Achim Schneider
Shouldn't
timeAtFramePass :: UI -> Event TimeT timeAtFramePass i = snapshot_ time (framePass i)
and
timeAtFramePass = withTimeE_ . framePass
be equivalent? The final output of the first one seems to skip occurrences (I don't think frames are truly skipped).
-- (c) this sig last receiving data processing entity. Inspect headers for copyright history. All rights reserved. Copying, hiring, renting, performance and/or quoting of this signature prohibited.
_______________________________________________ Reactive mailing list Reactive@haskell.org http://www.haskell.org/mailman/listinfo/reactive

Ouch. I played, or rather fooled, around a bit, continually resizing the window. The first thing I noticed was that frames are indeed not updated during stutters, the second that xmonad was quite helpful killing xcompmgr blindly to reclaim at least parts of my X11 display. In other words: Hell just broke loose. -- (c) this sig last receiving data processing entity. Inspect headers for copyright history. All rights reserved. Copying, hiring, renting, performance and/or quoting of this signature prohibited.

Hi Achim,
Could be a multi-threading issue, relating to unamb, which is currently not
gc'ing enough useless threads. I haven't released the fixed unamb, because
it revealed a ghc RTS bug. The RTS bug has been fixed but not pushed. Once
there's an improved GHC, I can fix unamb, and see how reactive is doing. If
there any bugs remaining, I expect they'll be much easier to resolve at that
point.
On Fri, Jan 9, 2009 at 4:01 AM, Achim Schneider
Ouch. I played, or rather fooled, around a bit, continually resizing the window. The first thing I noticed was that frames are indeed not updated during stutters, the second that xmonad was quite helpful killing xcompmgr blindly to reclaim at least parts of my X11 display.
In other words: Hell just broke loose.
participants (2)
-
Achim Schneider
-
Conal Elliott