Max Blachman
Max Blachman
> Are we sure XCB library is included on major Linux distributions I looked in to this, and Xlib depends on XCB, so wherever there is Xlib (what we're using...
> For now we can't modify the event (it could be done, so that's why this type of return is used instead of just boolean). If you want to simulate...
Why would we ever block? Based on the original issue, I thought this was basically an event filter, and that you planned to make it an event filter+map in the...
> Do you think there is a bad tradeoff in the general case for returning Option instead of boolean? No, and I think the issue of sizes is negligible. I...
I've been messing with the PR to make grabbing work in Linux/X server and I'm having difficulty. One option I'm considering is using uinput, not X. Grabbing with uinput would...
> I really don't understand why grabbing is SO hard on X, is it by design ? At this point, I'd say almost nothing in the X server is by...
Libevdev is lower than X, as it operates on "device files" in `/dev/input/`, just above the kernel level. It is possible to mess with device files more directly with ioctl...
> std::string is not quite standard in Arduino land. People use String instead Yeah, I misspoke above. I meant `String`. > the Java Duration class... doesn't deal with the ambiguous...
After some investigation, most `TimeSpan` constructors can be made constexpr, but most `DateTime` constructors can't without C++14 constexpr features (Arduino currently uses C++11 by default).
If Arduino ever makes C++14 the default, [This stack overflow question](https://stackoverflow.com/questions/7960318/math-to-convert-seconds-since-1970-into-date-and-vice-versa) has some code that might be worth borrowing from.