3 ms·
I think people do sometimes want to "communicate directly with the machine", but they don't want to deal with the huge and often crufty layers of abstraction th
by pjc50 7y ago
I think people do sometimes want to "communicate directly with the machine", but they don't want to deal with the huge and often crufty layers of abstraction that are currently in the way.
In the AT era, reading a byte from the keyboard could be done with a single IN instruction. In the present PC era, the bare minimum for doing that is a multitasking operating system capable of enumerating USB. Or indirecting it through something huge and opaque like UEFI.
I see this occasionally on electronics.stackexchange: "how do I attach a light to the end of a USB cable and turn it on and off from the computer". The answer to that is astonishingly complicated.
- bittercynic 7y ago> The answer to that is astonishingly complicated. It is, and I think we've lost something valuable by having USB, which is pretty complicated, as the dominant interface. However, the Raspberry Pi makes it pretty easy to blink an LED, and it's pretty accessible. Certainly more accessible that a computer was in the era where it was easy to toggle a parallel port pin.
- spookthesunset 7y agoRight this instant you can talk to the bare metal of a computer with more power than anything you had way back when C64's roamed the planet. Get yourself an ESP32 and you can talk directly to the metal with no OS to get in your way. Get two, they only cost a few bucks each. > I see this occasionally on electronics.stackexchange: "how do I attach a light to the end of a USB cable and turn it on and off from the computer". The answer to that is astonishingly complicated. It is astonishingly complicated because what they are asking the wrong question.
- pjc50 7y ago> It is astonishingly complicated because what they are asking the wrong question. No, I see this argument a lot on electronics.stackexchange and I think it's over-used. That's their question. They have some larger objective in mind, which it may be useful to know; if they want to control the light from UI on the PC then that's a natural way of phrasing the question. If you want to do this over the ESP, sure, then you've got to get networking involved, and that's how you end up with all the usual IOT disasters. How do you "securely pair" an ESP32 with a PC? Again it involves a huge amount of software. Whereas if you just had a wire you wouldn't have to worry about security. Answers of the form "buy a different computer" or "install a different OS" serve to make the answerer feel smug without usually helping the questioner at all.