From: "Fco. J. Ballesteros" <nemo@lsub.org>
To: 9fans@9fans.net
Subject: Re: [9fans] Raw Input Driver
Date: Fri, 20 Mar 2009 12:39:03 +0100 [thread overview]
Message-ID: <6c41ef4c92791aa306e71d4be15901b1@lsub.org> (raw)
In-Reply-To: <df49a7370903200428i1f8aeb10j549646097c32c0f@mail.gmail.com>
If connection is slow (as the one I'm using now) increasing the
abstraction level is a good thing to do. Merging low level input
streams may patch up things for a while, but won't be enough
if the connection is slower.
Separating the viewer form the application reduces coupling a
lot and makes kbd/mouse events a non issue. For example, in
the o/live I'm using to type this all of mouse/kbd/draw interaction
happens at the terminal. The editor, running at the cpu server,
gets only high-level events like "this was inserted" or "the user
is looking for this" or "the user wants to run that".
> From: rogpeppe@gmail.com
> To: 9fans@9fans.net
> Reply-To: 9fans@9fans.net
> Date: Fri Mar 20 12:31:54 CET 2009
> Subject: Re: [9fans] Raw Input Driver
>
> 2009/3/20 Charles Forsyth <forsyth@terzarima.net>:
> > the ordering problem is misleading: you need timely response for
> > interactive applications; it's a reasonably straightforward application
> > of real-time programming. (by the way, if you're passing low-level
> > things like that across lossy wireless networks, you're possibly
> > not addressing the most relevant problem first.) the effects you're trying to synchronise
> > are typically changes to data structures inside a program (including effects on the display),
> > so that's where the synchronisation and interlocking should be.
>
> does that mean we shouldn't do graphics over cpu over a slowish
> connection? because as things stand, ordering can easily get
> mucked up in that case, and in acme that leads to situations where typed text
> you expect to go in one window actually goes into another.
>
> i don't think there's a solution to this at the client side (key presses
> don't arrive with timestamps, and even if they did, how long would we
> wait?), so i can understand people thinking about a server-side
> solution.
>
> one possibility would be to have a server that did a general
> "merge event files" operation, and have the importing client do the
> de-multiplexing
> operation - that way at least you'd get the same file interface.
> but there's still no guarantee.
>
> yes, the streams are separate at the originating source,
> but they actually originate from the same
> person, who has a pretty good idea of which event they generated
> first. when that information can get lost in transit,
> giving unexpected results, there's something wrong.
next prev parent reply other threads:[~2009-03-20 11:39 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-20 7:00 James Tomaschke
2009-03-20 7:07 ` lucio
2009-03-20 7:57 ` James Tomaschke
2009-03-20 9:12 ` erik quanstrom
2009-03-20 11:05 ` Charles Forsyth
2009-03-20 10:54 ` Francisco J Ballesteros
2009-03-20 11:07 ` cinap_lenrek
2009-03-20 11:28 ` roger peppe
2009-03-20 11:39 ` Fco. J. Ballesteros [this message]
2009-03-20 12:04 ` erik quanstrom
2009-03-20 11:32 ` erik quanstrom
2009-03-20 12:23 ` Charles Forsyth
2009-03-20 12:16 ` erik quanstrom
2009-03-20 13:03 ` roger peppe
2009-03-20 13:37 ` tlaronde
2009-03-20 14:26 ` roger peppe
2009-03-20 15:02 ` tlaronde
2009-03-20 15:14 ` tlaronde
2009-03-20 12:52 ` maht
2009-03-20 22:23 ` James Tomaschke
2009-03-20 9:13 ` lucio
2009-03-20 14:18 Francisco J Ballesteros
2009-03-20 14:29 ` roger peppe
2009-03-20 14:22 Francisco J Ballesteros
2009-03-20 14:32 ` roger peppe
2009-03-20 15:17 ` lucio
2009-03-20 14:35 Francisco J Ballesteros
2009-03-20 14:46 Francisco J Ballesteros
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6c41ef4c92791aa306e71d4be15901b1@lsub.org \
--to=nemo@lsub.org \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).