00:08:15
| * pfrazee | joined |
00:14:09
| * pfrazee_ | joined |
00:14:10
| * pfrazee | quit (Read error: Connection reset by peer) |
00:29:08
| * pfrazee_ | quit (Read error: Connection reset by peer) |
00:32:42
| * yorick | joined |
00:33:58
| * pfrazee | joined |
00:36:28
| * savantgarde_ | joined |
00:39:14
| * savantgarde | quit (Ping timeout: 255 seconds) |
00:41:33
| * pfrazee_ | joined |
00:41:37
| * pfrazee | quit (Read error: Connection reset by peer) |
00:48:18
| * savantgarde_ | quit (Quit: Leaving...) |
00:51:47
| * contrahax | joined |
01:23:52
| * juliangruber | joined |
01:24:24
| * xiplias | joined |
01:24:59
| * emilbayes | joined |
01:47:53
| * emilbayes | quit (Ping timeout: 240 seconds) |
03:22:53
| * contrahax | quit (Read error: Connection reset by peer) |
03:23:03
| * contraha_ | joined |
03:40:10
| * emilbayes | joined |
03:40:28
| * contrahax | joined |
03:43:36
| * contraha_ | quit (Ping timeout: 252 seconds) |
04:26:18
| * contrahax | quit (Read error: Connection reset by peer) |
04:26:24
| * contraha_ | joined |
04:27:14
| * contrahax | joined |
04:30:36
| * contraha_ | quit (Ping timeout: 240 seconds) |
05:28:24
| * phated | quit (Remote host closed the connection) |
05:28:57
| * phated | joined |
05:33:14
| * phated | quit (Ping timeout: 245 seconds) |
06:26:41
| * pfrazee_ | quit (Remote host closed the connection) |
07:07:05
| * pfrazee | joined |
07:11:59
| * pfrazee | quit (Ping timeout: 245 seconds) |
07:14:43
| * phated | joined |
07:19:18
| * phated | quit (Ping timeout: 258 seconds) |
09:02:53
| * phated | joined |
09:07:04
| * phated | quit (Ping timeout: 240 seconds) |
09:29:36
| * phated | joined |
09:33:49
| * phated | quit (Ping timeout: 240 seconds) |
10:43:31
| * pfrazee | joined |
10:48:14
| * pfrazee | quit (Ping timeout: 255 seconds) |
11:25:09
| * mylesborins | quit (Quit: farewell for now) |
11:25:39
| * mylesborins | joined |
13:22:29
| * lmatteis | joined |
14:20:00
| * pfrazee | joined |
14:25:08
| * pfrazee | quit (Ping timeout: 255 seconds) |
15:32:13
| * pfrazee | joined |
18:31:13
| <toddself> | JSON_voorhees: doing down this very road right now |
18:31:32
| <toddself> | i've got some ideas using yoshuawuyts's barracks library that powers choo |
18:31:38
| <toddself> | https://github.com/scriptollc/barracks-react |
18:32:09
| <toddself> | but it works only for simple use-cases and needs some love i hope to supply in the next few days |
18:34:45
| <JSON_voorhees> | thanks toddself this looks promising |
18:36:24
| <toddself> | if you've got any feedback for it i'm wide open for it. |
18:39:45
| <JSON_voorhees> | sure thing, I'll let you know |
18:54:42
| * savantgarde | joined |
19:17:19
| * jjjjohnny | joined |
19:18:30
| * kbegikas | joined |
19:22:14
| <jjjjohnny> | does anybody know if / how using class / extends can fix the constructor.call(this) + Inherits(that, constructor)? |
19:22:38
| * kbegikas | part ("Leaving") |
19:26:21
| <substack> | I think class/extends does all of that for you is how |
19:26:35
| <substack> | BUT you have to use `new` so that's a deal-breaker for me |
19:26:54
| <jjjjohnny> | substack: thats why I am resorting to it |
19:26:54
| <jjjjohnny> | new |
19:28:17
| <jjjjohnny> | cuz module of the old style cant use a module of the NEW style with call(this) |
19:29:41
| <jjjjohnny> | by "use" i mean inherit |
19:30:10
| <jjjjohnny> | ogd: the module Im working with here is websocket-stream, which I would like yo use with module uws |
19:34:40
| <jjjjohnny> | i do class extends etc, then get error my module is not a constructor; i knew es6 would make me a newb all over again |
19:35:07
| <jjjjohnny> | i don't want to go the classical way, so ima forget about this particular use |
19:36:08
| <jjjjohnny> | i dont want it to go that way, baby |
19:37:59
| <jjjjohnny> | i'd gladly use the new keyword tho, to make .call(work) but I cant think of a hack for that |
19:39:27
| <jjjjohnny> | p.s. i am available for hire for crappy bespoke open source home projects hmu I accept bitcoin |
19:41:13
| * lmatteis | quit (Quit: Connection closed for inactivity) |
19:41:54
| <jjjjohnny> | baby needs solar panels |
19:42:11
| * pfrazee | quit (Remote host closed the connection) |
19:43:23
| <jfhbrook> | yeah so you literally can't .call or .apply Class ctors |
19:43:35
| <jfhbrook> | it's the same rule that breaks calling sans-new |
19:43:51
| <jfhbrook> | there have been proposals for adding a "callable constructor" but idk that they've gone anywhere |
19:44:03
| <jfhbrook> | I'll leave that bit as self-directed research :) |
19:44:30
| <jfhbrook> | and, yeah, that means you can't have an old-style ctor inherit from a new-style class |
19:44:37
| <jfhbrook> | which is why I only use classes in app code |
19:46:34
| <jjjjohnny> | fcvk |
19:47:29
| <jjjjohnny> | i dont write app code only glue |
19:48:17
| <jjjjohnny> | and CSS which does classes better than most |
19:49:14
| <jjjjohnny> | you also cant write ctors as expressions it seems :thumbsDownClass: |
19:50:20
| <jfhbrook> | you don't like |
19:50:25
| <jfhbrook> | write apps? only libraries? |
19:50:35
| <jjjjohnny> | "expressive functional glue and interfaces" |
19:50:36
| <jfhbrook> | what do you mean by "as expressions" ? |
19:50:51
| <jjjjohnny> | function name() vs var function |
19:51:10
| <jfhbrook> | by "app code" I mean "things you don't ultimately expose in libraries to other people" |
19:51:18
| <jfhbrook> | oh I see |
19:51:22
| <jjjjohnny> | it means I can put module.exports = Name at the top of the file, which is a good place for it |
19:51:23
| <jfhbrook> | you can actually assign a class to a variable |
19:51:34
| <jfhbrook> | so module.exports = class Thinger { |
19:51:43
| <jfhbrook> | works |
19:52:00
| <jfhbrook> | but if you're talking about taking advantage of hoisting, yeah, the people that specced out the class syntax are boring |
19:52:05
| <jjjjohnny> | what if Thinger inherits (extends) a bunch of others? |
19:52:36
| <jjjjohnny> | can that go after class Thinger? |
19:53:13
| <jjjjohnny> | jfhbrook: I pretty much try not to write code that has me doing prototypes or inheritance |
19:53:27
| <jjjjohnny> | which means using FOSS code that did, I know |
19:54:50
| <jjjjohnny> | i never liked the .call(this) + inherits either, cuz its vague |
20:01:09
| <jfhbrook> | jjjjohnny: class Thinger extends Whatever is a thing you can type, yes |
20:01:53
| <jfhbrook> | jjjjohnny: but I don't think classes hoist the same way functions do |
20:38:32
| * pfrazee | joined |
20:56:58
| <akiva> | Just ran in to a fun little issue using arrow functions for streams, ie. in foo._transform and realised I cannot access this.push() lol *smacks forehead* |
21:08:42
| * savantgarde | quit (Remote host closed the connection) |
21:27:34
| * contrahax | quit (Read error: Connection reset by peer) |
21:27:47
| * contrahax | joined |
21:53:41
| * phated | joined |
21:54:12
| * savantgarde | joined |
23:40:09
| <noffle> | juliangruber: woah, https://github.com/juliangruber/reconnect-core is a really cool module |