2021-10-01 [11:29:57.0134] what i want is to use `let` even for bindings i don't re-assign! [12:32:10.0584] yeah, I also hate that rule [12:32:26.0408] I think it predates my maintainership [12:40:14.0044] oh, no, it's because of typescript [12:40:31.0687] typescript, for some reason, has better type inference when using `const` [12:41:06.0418] this seems silly to me, since a whole program analysis should be perfectly capable of noticing that a `let`-bound variable is never reassigned and then treating it exactly like `const` [12:41:09.0238] but that's the justification [12:41:35.0027] that is strange [12:41:39.0879] the TS inference thing, i mean 2021-10-02 [09:15:54.0847] that rule is the best, let sucks, but I agree it’s ridiculous that if affects type inference whatsoever [09:16:05.0811] * that rule is the best, let sucks, but I agree it’s ridiculous that it affects type inference whatsoever 2021-10-04 [08:28:08.0042] let does suck, but so does const! [08:28:09.0670] var forever [10:54:37.0610] should probably say that in comic sans tbh [15:23:47.0803] you use var? I just put everything on Object.prototype [15:51:47.0137] i use var because fast [15:52:08.0813] gonna propose to rename `var` to `vroom` [16:47:02.0007] shu: ecmarkup PR lgtm; do you want me to cut a release now, or do you want to wait until the ecma262 PR is up in case you discover changes you want to make during that process? [16:50:31.0913] nah let's just land it and iterate/bugfix as we work on adding the annotation in ecma262 [16:50:38.0520] wfm [16:50:45.0520] just fingers crossed it doesn't require a new approach! [16:52:31.0373] bakkot: you applied your own suggestion, right? [16:53:26.0976] yup [16:53:30.0804] and pushed up the formatting [16:53:57.0639] great, thanks 2021-10-05 [17:04:11.0194] published in v9.4.0 [13:14:33.0538] I forgot to mention I'm out for a week starting tomorrow [13:14:39.0494] y'all will need to make a different meeting for the editor call [13:42:59.0670] thanks for the heads up i'll edit the meeting [13:45:10.0833] enjoy your vacation 2021-10-06 [14:13:52.0661] shu: you're marked "no" on the event btw [14:15:47.0304] i see that [14:15:52.0849] i also cannot change it for some reason, but i can edit the event [14:16:00.0716] (i am planning on attending, and updated the Meet link) [14:16:07.0724] weird, and cool thanks [14:16:58.0424] i have the same event copied over to my personal calendar for the popup reminder [14:17:10.0856] i wonder if calendar is seeing there's a conflict and then auto-marking me as no [14:17:44.0142] oh yeah probably so [14:17:58.0549] i have that feature turned off [14:18:46.0801] no, that's not it [14:18:50.0025] i have no idea [14:19:01.0787] let me remove myself? [14:19:57.0174] now you're a maybe [14:20:49.0658] i think that worked [14:21:02.0816] LGTM [14:21:10.0850] now the important problems are solved [16:21:16.0101] thoughts on https://github.com/tc39/ecma262/pull/2144#issuecomment-676783183 versus https://github.com/tc39/ecma262/pull/2144#pullrequestreview-471015688 ? [16:21:20.0745] happy to update to whichever yall prefer 2021-10-07 [20:16:28.0279] StringIndexOf should be good enough [21:25:57.0033] ok, meaning richard's comment [21:54:36.0454] k, updated the PR 2021-10-08 [13:30:33.0723] another npm noob question: when i ran `npm install` in ecma262, it basically rewrote package-lock.json from version 1 to version 2 [13:30:47.0040] i'm guessing i shouldn't actually commit that? am i supposed to run it with some flags? am i using the wrong version of npm? [13:37:54.0573] ljharb: ^ [13:47:16.0178] shu: yeah, that means you are npm 7 rather than npm 6 [13:47:19.0117] it doesn't much matter though [13:47:22.0302] that's fine, npm 8 is out now too [14:33:43.0439] thanks [15:00:20.0899] eww, check out https://tc39.es/ecma262/multipage/abstract-operations.html#sec-stringtobigint [15:00:35.0912] why did we ever think it was acceptable to specify things that way? [15:02:42.0980] expediency, probably. [15:02:47.0852] also, it returns a BigInt or NaN, which is very weird [15:03:11.0718] jmdyck: it seems like they wanted to save space or something [15:03:16.0989] expediency and also bigint was a massive spec, so it probably didn't get a thorough enough review. that seems to be a pattern in large proposals - it's easy to miss issues [15:03:23.0181] * expediency and also bigint was a massive spec, so it probably didn't get a thorough enugh review. that seems to be a pattern in large proposals [15:03:27.0443] * expediency and also bigint was a massive spec, so it probably didn't get a thorough enough review. that seems to be a pattern in large proposals [15:03:34.0188] * expediency and also bigint was a massive spec, so it probably didn't get a thorough enough review. that seems to be a pattern in large proposals - it's easy to miss issues [15:03:55.0122] agree ljharb, the bigger the review, the more weird stuff slips in [15:04:33.0856] in big reviews, it's easier to spot little local issues than big oddities [15:06:59.0205] it wouldn't even be that hard to factor out a "string to MV" AO and then use it in both places [15:07:23.0336] we already have such an AO but not over this grammar, I guess [15:08:09.0894] bakkot: PRs welcome [15:09:21.0621] In my notes, I've got some steps. I'd have to check them over. [15:12:08.0444] okay, a first draft of can-call-user-code at https://ci.tc39.es/preview/tc39/ecma262/sha/a5ba1ae3a48e8cffb1e6051bc97dceace591af20/ [15:12:08.0488] I'll probably have time this weekend. [15:12:19.0197] press 'u' to toggle the 'UC' annotation on AO links [15:12:34.0468] play around, it's probably way too conservative and we need a bunch of manual supprsesions [15:13:25.0187] somewhat expectedly and unfortunately, everything can call user code [15:15:23.0018] the "u" stuff is verryyyyyy slow to respond [15:15:35.0545] how are you changing the visibility? [15:15:46.0565] the way i'd assume is fastest is a single css class applied or removed to `html` or `body`, and have that class change something that doesn't case a reflow [15:16:12.0387] * the way i'd assume is fastest is a single css class applied or removed to `html` or `body`, and have that class change something that doesn't case a reflow [15:16:36.0663] so, i don't see an annotation on https://ci.tc39.es/preview/tc39/ecma262/sha/a5ba1ae3a48e8cffb1e6051bc97dceace591af20/#sec-isregexp even tho it contains a step that has one - is that expected? [15:16:54.0203] it'd also be super useful to show the AO-level annotation in the TOC on the left pane, as well [15:17:44.0570] it is a terrible hack [15:17:55.0234] look at the "e-user-code" class [15:18:04.0863] it has a `::before` that has the 'UC' [15:18:39.0026] however, since i can't directly toggle `::before` visibility, i have a big of JS that injects a `