Skip to content

Commit 0e177d1

Browse files
authored
Fix formatting
1 parent 04d05d4 commit 0e177d1

File tree

1 file changed

+60
-1
lines changed

1 file changed

+60
-1
lines changed

meetings/2023/notes-2023-12-11.md

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,35 +44,57 @@ EAO - look at PR, gist link as to how it applies to CLDR data
4444
#557
4545

4646
APP - Design doc on beautify contest, name for default selector. Issue open for a while
47+
4748
APP - Temperature check on options?
4849

4950
EAO - if dealing with numbers, we have an option comping up. For Date comparison, treating as a string, this could work if we don’t have a date specific option.
5051

5152
ECH - string comparison is lowest common denominator of comparison. Can always stringify and compare.
53+
5254
APP - String is the chosen option with lack of objection
55+
5356
EAO - calling it default is a bit misleading, Should we allow “string” to be a formatter as well as a selector. We explicitly do a format to string formatter.
5457

5558
#545
5659

5760
APP - some disagreement in comments. Do we want to do this?
61+
5862
STA - 2 reasons to open PR - 1) some implementation would choose to have a unresolved type. 2) original reason for adding this line no longer holds up.
63+
5964
EAO - would undefined be an acceptable value to use for this?
65+
6066
STA - maybe, depending if undefined has a fallback option.
67+
6168
EAO - how would MF logic detect if it is not defined
69+
6270
STA - why would functions not see all the options passed to them?
71+
6372
APP - removing this might be OK, take any options that fail to resolve a value, remove them. This takes away the need for that preprocessing step. Do we need to specify with happens, or let implementations deal with it?
73+
6474
EAO, in javascript makes custom functions harder to define. Prefer keeping language as it is. But won’t push back harder.
75+
6576
STA - testing custom functions across implementations may not be possible anyway. Should have access to options that user intended to pass, but didn’t resolve correctly.
77+
6678
RGN - can’t support options that are impossible to specify.
79+
6780
EAO - doen’t we get into a situation where the fallback value is what we end up specifying.
81+
6882
APP - propose permitting implementation to do what it wants, remove requirement that undefined options are removed from map. Not sure how we test it.
83+
6984
EAO - current option with removal can be tested.
85+
7086
RGN - original point was for the collection of steps to be coherent when parsing message
87+
7188
EAO - previous versions of spec was different wording but same effect, unspecified values would not be in map. Point was for both unspecified value and duplicate value errors get thrown. About clearly defining custom function interfaces, by assuming options would be unwrapped primitives.
89+
7290
STA - sounds like original spec was about order, remove invalid options, check for duplicates. Now we check for duplicates, then remove invalid options. What behavior do we want. Do we want to replicate javascript - not passing value, and passing undefined value is the same?
91+
7392
RGN - need to be distinct from anything specifiable in message. Algorithm doesn’t make sense if there is not a way to resolve an unspecified option. Just removing step 4 doesn’t work. We need to specify expectations of implementations.
93+
7494
APP - try to ensure we detect duplicate options, and detect when required value is not provided. Specify case when there is a duplicate, but one value is not defined.
95+
7596
EAO - request to STA - add a description to PR of user story arguing for use case to show value of proposal - realish scenario where leaving the value out makes sense.
97+
7698
STA - possible use case: function requires option foo. Someone passes foo = $var. Fails to resolve. Error says foo not passed because of runtime failure.
7799
EAO as long a language allows js to use undefined as sentinel value, then can support
78100

@@ -92,55 +114,92 @@ Merged with consensus
92114
#502
93115

94116
APP for a while. May be controversial. Discussion now.
117+
95118
EAO discuss later
96119

97120
#471
98121

99122
APP MIH had some comments. Any discussion?
123+
100124
APP change “exact” to “string”?
125+
101126
EAO - objects to changing to “string”, numbers are better defined from other types.
127+
102128
APP - additional to plural.
103129
Merge, and if strong feelings, create a new PR
104130
Merged
105131

106132
#438
107133

108134
Have a missing selector annotation error already. This adds additional verbiage
135+
109136
APP please have a look
137+
110138
EAO if anyone is interested in championing this PR, put a comment on it by next week. If not we close it.
111139

112140
## Spannables
141+
113142
We are together of #/ for spannables
143+
114144
\# is for both standalone and open.
145+
115146
STA design doc does not specify what we are trying to resolve. Should we specify that translations should include markup. Does not focus on tooling and protection. Important use cases
147+
116148
APP spent a fair time on use-case doc. This is a compromise syntax, where we do not accept operand on …
117-
APP Implementation is allowed to disintegrate these, could be used for markup, XLIF tags. Distinct from true functions. Are we close to done? How do we solve standalone problem?
149+
Implementation is allowed to disintegrate these, could be used for markup, XLIF tags. Distinct from true functions. Are we close to done? How do we solve standalone problem?
150+
118151
STA - a lot of this could be left to custom functions. Function to default to empty string makes ignorable, eg. Did we focus on a solution without understanding reasons?
152+
119153
STA standalone is key to puzzle. Do regular placeholders like $username count as standalone?
154+
120155
APP regular functions are not default ignorable. Different from “can be filtered” ABNF is inconsistent, has + and -
156+
121157
APP what is the feature we are building?
158+
122159
EAO - core use case for having proposed expression of markup is to be able to represent messages that have structure, contain spans with properties. Make sure we accurately present messages, can be formatted to parts without starting from scratch . Well served by current design? Come to consensus about standalone so we can merge this.
160+
123161
APP have a bunch of interesting use cases in doc, not wrong. Namespaces for markup and templating languages . goal is to write things as naturally as possible. Wants to get to closure to at least fix plus and minus in ABNF. Need a sigil for functions, or is two enough.
162+
124163
STA - avoids double parsing, not mentioned in doc? Concerned we are not fixing the right problem. If we say solution has to be better than just using functions.
164+
125165
MIH document why we decided to not use functions.
166+
126167
STA if we document why decision was made, even if it is “we ran out of time”.
168+
127169
APP concerns about why not use functions is valid. Nothing in spec prevents it. This gives a way to plug in support for spannable markup structure in a message without polluting function registry. Allows spannables in self contained non-function registry way.
170+
128171
MIH - why do we not have standalones now?
172+
129173
APP - opener can do the work of standalone, at least for html. Need syntactically distinct standalone. Do we want 2 sigils than three.
174+
130175
STA- would rather pollute the registry than the syntax stack. Don’t need a separate sigil. Can use #/
176+
131177
EAO - can we explicitly conclude standalone discussion? STA review use cases, and argue if further work needed?
178+
132179
STA can look at use cases after christmas
180+
133181
APP - proposal - APP goes through use cases, make summary of supported and unsupported use cases. EAO is concern that we have an open and close state for placeholders? Possible to melt spannables back into functions with sigils for open and close
182+
134183
EAO - would rather not go back to drawing board. No convincing story for why placeholder would need an operand. Makes it significantly more difficult to tell difference between markup and non-markup condition.
184+
135185
STA concerned that we say we forbid operands without saying why. Why decide to go away from plus and minus? Not well documented.
186+
136187
EAO approach from direction of starting having nothing, then having markup. Why should we have a sigil. Close to being able to complete discussion. Update use cases, agree on standalone, then lock this discussion down
188+
137189
ECH - appreciate effort to say we need to document, then document rationale.
190+
138191
EAO - resolved a way to proceed with open/close syntax. Only remaining ? is if we allow different syntax for standalone vs open/close.
192+
139193
STA - backwards. Open/close , standalone are too connected to decide one then the other. Wants to get feedback on #foo/ model. Also :html: namespace function call. Match with #html … / function call. Not sure what is better. Likes idea that regular placeholders and standalone.
194+
140195
EAO - observation, no matter what we decide, it will remain possible for a custom implementation/function to support {:html image}. Is sufficient to provide support for rarer use case for standalone content?
196+
141197
STA concerned about micro ? of syntaxes.
198+
142199
APP call out usecase satisfied by #/. Open question is # insufficient to meet standalone requirements?
200+
143201
EAO is we do have specific spannable syntax, would prefer that they are required to pair.
202+
144203
APP will have to have ballot in new year.
145204

146205
## Topic: AOB?

0 commit comments

Comments
 (0)