Shane F. Carr

Results 1888 comments of Shane F. Carr

Discuss with: - @robertbastian - @sffc Optional: - @Manishearth

We now have a document explaining how to do locale serializations via zerovec. https://icu4x.unicode.org/doc/icu_locid/zerovec/index.html

Not sure it's a full duplicate; #3935 is for the specific case of `provider::Baked` whereas this is for the more general case of `ForkByKeyProvider`.

Thought: can something like this work? ```rust struct ForkProvider { a: A, b: B, } impl DataProvider for ForkProvider where A: DataProvider, B: DataProvider { fn load() { match type_id::...

CC @robertbastian -- please triage this.

@bdarcus Until https://github.com/rust-lang/rust/issues/70564 lands, you need to create a mutable components bag and then set your fields on it. ```rust let mut components_bag = components::Bag::default(); components_bag.year = components::Numeric::TwoDigit; components_bag.month =...

- @sffc - How can we change the encoding to flatten PatternPlurals into this index lookup? - @zbraniecki ``` [12][K][V][K2][V2] * K - Plural/Declension/Etc * V - 0, 1, 2,...

https://github.com/unicode-org/icu4x/issues/1317#issuecomment-1623963015 is a design for how to store skeletons in the data file, but it doesn't directly address the question of knowing ahead of time which names and name lengths...

My understanding from @eggrobin on the above questions is: 1. Including Day-of-Month _could_ imply including Weekday, because they are both ways of representing specific dates 2. Including Month does _not_...

Notes from this topic in the ICU4X-TC meeting on 2024-07-11: https://docs.google.com/presentation/d/1qXxBv4DVnqfBSpGt9ikVQLk9M0LX65O9lWvDo0pH9SU/edit#slide=id.p - @zbraniecki - Is this a way to get weekday display names? - @sffc - LDML defines `LLLL`, and...