Jay Oster

Results 366 comments of Jay Oster

It should also allow an "all" selection for the track, allowing setups to be compared across all tracks for the selected car.

[`cartunes`](https://github.com/parasyte/cartunes) is a setup comparison tool for the iRacing simulator. It has a simple interface and follows the system theme. Windows is the primary target, since iRacing only runs on...

> I recognize the challenges immediate-mode GUIs pose. I think, though, that there does need to be some sort of central registry of widgets independent from the GUI code, queryable...

The error is from `glutin`. This is what they have to say about it: https://github.com/rust-windowing/glutin/blob/master/ISSUES.md I don't know how useful this information is. Many of the `glutin` issues referencing the...

AFAIK, the only cross-platform way to do this is creating the window without decorations and drawing client-side decorations, handling drag and double-click events in platform-specific ways, etc. And doing nothing...

It might be ok to impl `Drop` on structs returned by parents. The only catch is that Rust doesn't guarantee destructors are always called. This is why e.g. [`crossbeam::scope`](https://docs.rs/crossbeam/latest/crossbeam/fn.scope.html) takes...

For a little more context and a theoretical basis, thinking of a "widget" as its individual components (image, text, shapes, etc.) is probably not the right level of abstraction. A...

My current workaround is defining language-specific indentations. E.g. in the package settings for `language-yaml` and `language-json`, I've set Tab Length to 2.

`"hello".to_owned()` and `vec![1,2,3]` have the same lifetime (they are stack-allocated). `&'static T` is special because it is valid for every lifetime.

They both happen to point to the heap, but the structs themselves are stack-allocated when used in the argument position like that. Or when assigned to a variable with a...