00:02:27  * jwaldenquit (Quit: back in a bit)
00:32:26  * DTGjoined
00:36:45  * DTGquit (Ping timeout: 252 seconds)
01:04:08  * jwaldenjoined
01:06:49  * douglasgordonjoined
01:06:49  * DTGjoined
01:20:31  <mathiasbynens>the community members who wrote the initial Promise.allSettled spec had some spec questions. I’ve collected them here; feel free to help answer them! https://github.com/tc39/proposal-promise-allSettled/issues/18
01:20:37  * douglasgordonquit (Remote host closed the connection)
01:25:03  * DTGquit (Ping timeout: 245 seconds)
01:38:44  * DTGjoined
01:38:44  * douglasgordonjoined
01:43:39  * cloudshuquit (Quit: Connection closed for inactivity)
02:14:02  * douglasgordonquit (Remote host closed the connection)
02:18:48  * DTGquit (Ping timeout: 272 seconds)
02:39:52  * DTGjoined
02:39:52  * douglasgordonjoined
03:10:10  * jwaldenquit (Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805])
03:15:21  * jmdyck1joined
03:17:42  * jmdyckquit (Ping timeout: 272 seconds)
03:19:01  * douglasgordonquit (Remote host closed the connection)
03:23:40  * DTGquit (Ping timeout: 268 seconds)
03:24:53  * DTGjoined
03:24:58  * douglasgordonjoined
03:25:47  * douglasgordonquit (Remote host closed the connection)
03:30:08  * DTGquit (Ping timeout: 244 seconds)
03:34:16  * douglasgordonjoined
03:35:55  * DTGjoined
04:03:19  * douglasgordonquit (Remote host closed the connection)
04:07:24  * DTGquit (Ping timeout: 252 seconds)
04:28:25  * TechQueryjoined
04:41:56  * jmdyck1quit (Remote host closed the connection)
04:42:16  <TechQuery>Is anyone interested in Array deduplication?
04:42:35  <ljharb>TechQuery: like `new Set(...arr)`?
04:42:57  <ljharb>or sorry, `[...new Set(arr)]`
04:44:28  <TechQuery>I mean to add a new method just like `Array.prototype.unique(keyOrCallback)`.
04:45:24  <ljharb>imo "key or callback" isn't a great api, it'd be better to only accept a callback
04:45:33  <ljharb>i'd be interested to read a full proposal toh
04:45:35  <ljharb>*tho
04:47:37  <devsnek>what does callback do
04:47:48  <devsnek>determine the equality?
04:48:02  <TechQuery>Yes
04:48:17  <devsnek>needsmoredetail
04:48:30  <devsnek>i wouldn't expect there to be any arguments to unique() tbh
04:49:26  <ljharb>i'd only expect nothing (ie, using ===), or a predicate
04:49:38  * douglasgordonjoined
04:49:48  <ljharb>by "key" is something in lodash etc, but it would preclude primitives
04:49:58  <ljharb>so i don't think it really makes sense in the language
04:50:37  * DTGjoined
04:51:33  <devsnek>why not just use a Set at this point tbh
04:53:18  <ljharb>for ===, yes
04:53:30  <TechQuery>A Key or Callback is needed if we process a Object[]
04:53:33  <ljharb>to be fair to, sets don't provide the ability to customize the comparison
04:53:45  <devsnek>bradley had a thing for that
04:53:49  <ljharb>TechQuery: right but it might be an array of both objects and primitives
04:54:23  <devsnek>objects are unique anyway
04:54:36  <devsnek>its just the javascript way
04:54:47  * douglasgordonquit (Ping timeout: 240 seconds)
04:55:33  * DTGquit (Ping timeout: 268 seconds)
04:56:58  <TechQuery>Many people needs to deduplicate Array with some custom condition, just like `Array.prototype.sort()`
04:57:17  <ljharb>that's certainly an argument for a callback
04:57:59  <devsnek>sounds like filter
04:58:17  <TechQuery>Yes, No parameter or a callback at least
04:58:39  <ljharb>filter with a set in a closure, or something
05:02:05  <TechQuery>But Callback of `.unique()` needs 2 parameters like `.sort()`, it's different to `.filter()`
05:03:38  <devsnek>is this the makings of the spaceship operator
05:37:08  <TechQuery>I'm sorry, I don't understand "the makings of the spaceship operator" in the current context.
05:39:31  <TechQuery>Do you mean `<=>` operator? https://www.wikiwand.com/en/Three-way_comparison
05:47:27  <devsnek>yeah was just a joke
06:39:28  * DTGjoined
06:39:28  * douglasgordonjoined
06:43:46  * DTGquit (Ping timeout: 250 seconds)
06:43:46  * douglasgordonquit (Ping timeout: 250 seconds)
06:57:51  * akoserwa|wfhjoined
07:21:31  * isHavvyquit (Ping timeout: 250 seconds)
07:21:51  * Havvyjoined
09:03:49  * TechQueryquit (Ping timeout: 256 seconds)
09:20:25  * DTGjoined
09:20:25  * douglasgordonjoined
09:25:02  * DTGquit (Ping timeout: 272 seconds)
09:25:02  * douglasgordonquit (Ping timeout: 272 seconds)
09:38:14  * TechQueryjoined
09:40:45  * TechQueryquit (Client Quit)
09:41:29  * TechQueryjoined
09:44:13  * TechQueryquit (Client Quit)
09:44:54  * TechQueryjoined
09:55:47  * howdoijoined
10:09:41  * TechQueryquit (Quit: Page closed)
10:37:10  * akoserwa_joined
10:39:39  * akoserwa|wfhquit (Ping timeout: 268 seconds)
11:07:33  * akoserwa__joined
11:08:48  * douglasgordonjoined
11:08:49  * DTGjoined
11:10:29  * akoserwa_quit (Ping timeout: 268 seconds)
11:13:15  * douglasgordonquit (Ping timeout: 264 seconds)
11:13:16  * DTGquit (Ping timeout: 264 seconds)
12:38:12  * jmdyckjoined
13:34:20  * douglasgordonjoined
13:34:55  * DTGjoined
13:38:28  * akoserwa__quit (Ping timeout: 264 seconds)
13:39:16  * DTGquit (Ping timeout: 244 seconds)
13:39:47  * douglasgordonquit (Ping timeout: 244 seconds)
14:07:57  * DTGjoined
14:08:52  * douglasgordonjoined
14:26:58  * douglasgordonquit (Remote host closed the connection)
14:31:24  * DTGquit (Ping timeout: 252 seconds)
14:35:08  * DTGjoined
14:35:08  * douglasgordonjoined
15:31:34  * douglasgordonquit (Remote host closed the connection)
15:35:54  * DTGquit (Ping timeout: 264 seconds)
16:24:31  * DTGjoined
16:24:31  * douglasgordonjoined
16:28:44  * DTGquit (Ping timeout: 244 seconds)
16:28:44  * douglasgordonquit (Ping timeout: 244 seconds)
16:47:37  * howdoiquit (Quit: Connection closed for inactivity)
18:26:09  * gibson042quit (Quit: Leaving.)
20:09:04  * Draggorquit (Ping timeout: 264 seconds)
20:14:02  * Fishrock123joined
20:23:02  * Draggorjoined
22:02:18  * Fishrock123quit (Remote host closed the connection)
23:02:11  * Fishrock123joined
23:06:34  * Fishrock123quit (Ping timeout: 250 seconds)