Bonjour,
Le Wed, 14 Dec 2016 21:49:13 +0100
dumblob <dumblob@gmail.com> a écrit:
> Hi Albert,
>
> I am far from convinced that all of this is sensitive to whether one
> > keyboard was plugged or unplugged from the system. Why would icons
> > in the tray be affected by the number of keyboards connected to the
> > computer, for instance?
>
> because it's an unwritten expectation in HIGs (Human Interface
> Guidelines), that tray icons show and react to events happening close
> to user (physically, theoretically). Hence (un)plugging devices
> inclusive. Unwanted interruptions are then interpreted as unexpected
> (un)plugging.
Can you provide support for these statements please?
> I am having a hard time trying to make sense of what you're saying,
> > which is frustrating, as I've been doing embedded development for
> > more that 20 years. For instance:
> >
> > - I am surprised that all of a sudden, all SW in a computer has to
> > handle interruptions. In my time (which extends to just about a
> > few days ago), only drivers did. "Driver" is basically the name we
> > give to thoses pieces of SW which handle interrupts (and talk to HW
> > and do DMA requests and...)
> >
> > - Nor did any of the systems I worked, and still work on, require
> > that the full system state be saved and restored on interrupts; in
> > fact, if they did completely save and restore their state, they
> > interrupts would have no effect whatsoever, which would be a pity.
> > Granted, interrupt handlers must save whatever CPU resources they
> > use, and schedulers must do the same with task states; but that's
> > hardly a concern outside of these two cases.
> >
> > - Finally, the daemons in my time /did/ expect their state to
> > change all the time. They actually were /intended/ to change state,
> > in carefully designed ways; a daemon executing in an immutable
> > environment would have little utility.
> >
>
> It's irrelevant who we are and what we do. The fact is, that in case
> of unwanted interruptions, the state shall be 100% preserved. Which is
> currently not implemented in any layer of the common Linux and BSD
> systems except sometimes for the driver.
Sorry, that makes absolutely zero sense.
> I don't know what is the setup on which you encounter these issues; on
> > mine, I can connect and disconnect keyboards at will, with nothing
> > even so much as flipping a bit when I do, and my keyboards don't
> > even lose their French layout :) -- same goes for USB devices which
> > need to get their firmware uploaded through USB; granted, every
> > time I unplug and replug them, thy take time to get their
> > firmware /again/, and yes, trying to use a video capture device
> > won't work if you unplug it right in the middle of it, but you can
> > hardly expect otherwise, and it's only logical that plugging it
> > back won't fix the overall problem.
>
> The whole thread is about unwanted interruptions, not user-initiated.
Actually, the whole thread is about disconnectable keyboards.
> Refer to the the groups of issues and several specific program names
> affected by unwanted interruptions as mentioned in my previous email
> to get an idea what for a mainstream setup it might be.
You are trying to prove your point by stating your point. This, a
tautology, amounts to no proof at all.
> > > An extreme case are security modules (e.g. YubiKey)
> > > or security SW demanding uninterrupted connection of a certain
> > > device (due to possible MiM attacks etc.).
> >
> > As you say, this is an extreme example. In fact, it is precisely an
> > example of a setup where continuous connection is laid out a priori
> > as a /requirement/; no wonder, then, that discontinuity of
> > connection is not supported.
> >
>
> And therefore we need to make absolutely sure, that all detachable
> "hubs" will prevent unwanted interruptions.
Only in scenarios which lay out continuity as a requirement, which is
rarely if ever a valid requirement, and certainly not one envisioned
here -- as you actually have acknowledged to Luke, BTW.
> > Just my 2 cents from real world.
> >
> > You should be careful with the way you express yourself: one could
> > be led to believe that here you are implying I would not know of
> > the real world whereas you do, and that this implied difference
> > would make my opinion less worthy than yours. But of course you are
> > not implying that, since you do no know me at all, right ?
> >
> > So let's avoid anyone getting false ideas, and to that effect, let's
> > stay away from hypothetically real vs hypothetically unreal worlds,
> > and let's just keep to technical discussion with technical and
> > precise arguments. Shall we?
>
> Maybe English is really still not the language of the world as the
> meaning of "real world" is being undeniably confused with "real world
> without everything Albert ARIBAUD came across".
Oh, look, you're doing ad hominems as well as projecting your own
shortcoming on your contradictor!
OK, joke has lasted enough for me (and, more important, for the rest of
the list I suspect). Let me know when you decide to switch from
counter-productive rhetorics to actually productive technical
discussion.
> Kind regards,
>
> -- Jan
Amicalement,
--
Albert.