00:31:19  * cybaiquit (Remote host closed the connection)
00:31:31  * AtumTquit (Quit: AtumT)
00:31:49  * cybaijoined
00:36:07  * cybaiquit (Ping timeout: 252 seconds)
00:49:35  * cybaijoined
00:53:47  * cybaiquit (Ping timeout: 248 seconds)
01:08:56  * Jessidhiaquit (Disconnected by services)
01:08:58  * Jessidhiajoined
01:10:21  * cybaijoined
01:43:06  * Jessidhiaquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:53:05  * jmdyckjoined
01:58:15  * Jessidhiajoined
02:45:51  * howdoiquit (Quit: Connection closed for inactivity)
03:19:36  * isiahmeadowsjoined
03:23:55  * Draggor1part
03:24:27  * isiahmeadowsquit
04:07:00  * Jessidhiaquit (Read error: Connection reset by peer)
04:08:27  * Jessidhiajoined
04:35:18  * jmdyckquit (Remote host closed the connection)
04:42:32  <TimothyGu>akirose: is there a way to make http://tc39.es redirect to HTTPS?
04:42:56  <TimothyGu>well, I guess that does redirect, but http://tc39.es/ecma262/ doesn't
05:12:29  <akirose>Something something github pages?
05:12:49  <TimothyGu>akirose: yeah I think there's a switch on tc39/ecma262
05:13:50  <akirose>I’ll take a peek tomorrow!
05:29:27  * gkatsevquit (Ping timeout: 268 seconds)
05:29:43  * gkatsevjoined
06:02:38  * Nimelrianjoined
06:07:26  <ljharb>TimothyGu: akirose fixed
06:07:35  <TimothyGu>ljharb: thx
06:49:27  * mgolquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:02:20  * howdoijoined
07:21:09  * keith_millerjoined
07:21:33  * keith_millerquit (Remote host closed the connection)
07:22:12  * keith_millerjoined
09:37:16  * cybaiquit (Remote host closed the connection)
09:37:56  * cybaijoined
09:42:16  * cybaiquit (Ping timeout: 258 seconds)
10:12:10  * howdoiquit (Quit: Connection closed for inactivity)
10:21:27  * kpattichajoined
10:33:50  * mgoljoined
10:50:05  * cybaijoined
10:54:13  * cybaiquit (Ping timeout: 245 seconds)
10:58:32  * mgolquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:11:09  * jmdyckjoined
11:47:10  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:49:18  * keith_millerjoined
12:41:44  * cybaijoined
13:10:29  * gibson042joined
13:26:31  * Nimelrianquit (Ping timeout: 258 seconds)
13:38:20  <devsnek>wasn't there an arraybuffer realloc proposal at some point
14:03:33  * kpattich_joined
14:04:00  * kpattichaquit (Ping timeout: 272 seconds)
14:14:09  <Domenic>devsnek: yeah, https://github.com/domenic/proposal-arraybuffer-transfer/, which I haven't had time to get back to.
15:13:49  * kpattich_quit (Remote host closed the connection)
15:14:12  * kpattich_joined
15:15:46  * kpattich__joined
15:18:19  * kpattich_quit (Ping timeout: 246 seconds)
16:00:16  * towcjoined
16:01:14  <towc>hey all! Has there already been a proposal on making Math.random reproducible?
16:02:17  <towc>it seems like a pretty crucial part of making tests pass, and as there's more and more data science tools for JS, it might be nice to not need to go to external libraries for seedable randomness
16:03:48  <devsnek>towc: https://github.com/tc39/proposal-seeded-random
16:04:14  <towc>oh neat!
16:04:15  <towc>thanks
16:05:03  <towc>oh, I don't know how much I like the choices from that proposal, but it's something
16:05:31  <devsnek>lol
16:05:37  <devsnek>welcome to language design
16:08:57  <towc>TabAtkins: can we talk about this? I don't see how you couldn't just have something like `Math.seedRandom(<seed>)` once. Sure, this would be global and that might be undesired in many cases, but I think it will cover 95% of all seeding needs. A generator could still be used, as another function
16:10:12  <devsnek>`Math.seededPRNG({ seed }).next().value`?
16:10:51  <towc>I mean that this is fine. A bit clunky, but fine. I'd just love it if there was going to be a simpler solution for simpler cases
16:11:51  <towc>also would be nice to make already existing code (that uses Math.random) be reproducible
16:13:09  <towc>and that might require a lot of restructuring, if the only solution is this definition of `seededPRNG`
16:23:50  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:40:56  * AtumTjoined
17:07:46  <towc>and how about a way to destructure a default import?
17:08:06  <towc>something like `import ({ a, b }) from './exports/default'`
17:20:33  * ghermetojoined
17:29:43  * ghermetoquit (Remote host closed the connection)
17:35:28  * AtumTquit (Ping timeout: 248 seconds)
17:59:52  * ghermetojoined
18:03:08  * AtumTjoined
18:08:06  * laughinghanjoined
18:19:06  <ljharb>towc: that'd be confusing since `import { a, b }` already isn't destructuring
18:20:19  <towc>well, then an additional keyword maybe?
18:21:10  <towc>`import default as { a, b } from './exports/default'`?
18:21:22  <towc>actually, can you use `as` for this already?
18:23:34  <ljharb>you can `import { a as b }` already
18:23:46  <ljharb>what's the benefit of inline destructuring there? just avoiding a second line?
18:25:39  * Nimelrianjoined
18:31:03  <towc>I'd argue that's pretty important actually
18:31:05  * ghermetoquit (Remote host closed the connection)
18:31:17  <towc>imports should be your first statements
18:31:29  <towc>that means that the second line could be quite a ways down
18:31:44  <towc>and I don't see why it should
18:32:29  <towc>plus, there's one more unneeded item in your namespace, which might not be a big deal, but damn, it bothers me :/
18:33:12  <towc>and I meant using `as` to destructure a default import
18:33:52  <towc>if it's possible, I can't get it to work
18:34:19  <towc>intuitively, it would be `import itemWhoseNameMightBeThrownAway as { a, b } from './exports/default'`
18:34:33  <towc>but that's invalid syntax
18:36:35  <towc>or more meaningfully, `import as { a, b } from './exports/default'`
18:36:52  * jwaldenjoined
18:37:09  <ljharb>towc: it always could be, but you can put it immediately afterwards
18:37:13  <ljharb>allowing destructuring inline won't force it
18:39:30  <towc>I'd rather avoid polluting the "import" part of my scripts
18:39:37  <towc>but sure
18:40:46  <devsnek>if your default import commonly needs to be destructured
18:40:52  <devsnek>perhaps it should be multiple named exports
18:41:04  <ljharb>^
18:55:28  * kpattich__quit (Ping timeout: 245 seconds)
19:28:49  * ghermetojoined
20:26:37  * kpattich__joined
20:56:22  <towc>apparently the airbnb styleguide favours default exports
20:56:53  <devsnek>if you only export one thing*
20:57:29  <towc>and when writing tests, if I import named exports at the beginning, and they don't exist, the whole test fails, without going through what could still be tested
20:57:47  <towc>oh, it says that?
20:59:00  <towc>oh, it does
20:59:02  <ljharb>towc: yes, it favors default exports almost always
20:59:14  <towc>well, my linter didn't tell me that
20:59:19  <towc>'^^
20:59:22  <ljharb>towc: the principle is, that a default export is what a module *is*, and a named export is what a module *has*. most every module should *be* something.
20:59:58  <towc>how about a `util` module?
21:01:02  <ljharb>certainly that has many things, but i'd also say, don't have util modules :-)
21:01:28  <towc>where do you put your generic helpers?
21:01:51  <towc>sure, probably someone already wrote something that covers that
21:02:14  <towc>but I also don't want to combine many coding styles
21:02:49  <devsnek>a file for each util https://github.com/engine262/engine262/tree/master/src/static-semantics
21:03:08  <devsnek>oheck the ci failed
21:03:24  <towc>oh my, that's worrying
21:15:18  * kpattich__quit (Ping timeout: 272 seconds)
21:24:57  <ljharb>towc: i use folders, not files, to group modules.
21:34:00  * keith_millerjoined
21:36:59  * Nimelrianquit (Quit: Leaving)
21:40:19  * keith_millerquit (Quit: Textual IRC Client: www.textualapp.com)
22:12:37  * AtumTquit (Quit: AtumT)