purr changed the topic of #elliottcable to: a
gq has quit [Read error: Connection reset by peer]
Sorella has joined #elliottcable
gq_ has joined #elliottcable
gq_ is now known as gq
<eligrey> i need help naming a p2p website cdn tool
<eligrey> basically change your dns to cname to my site and do some other stuff and magically your site gets served by peers visiting your site
<eligrey> if there are peers currently connected
<eligrey> currently calling it peercloud but thats kinda meh
<eligrey> peerify is taken
<eligrey> peerboost is some dumb marketing firm
<eligrey> anypeer isn't taken but its also meh
fujisan has joined #elliottcable
thealphanerd has quit [Quit: farewell for now]
thealphanerd has joined #elliottcable
Sorella has quit [Quit: Connection closed for inactivity]
danpalmer has joined #elliottcable
eligrey has quit [Quit: Leaving]
fujisan has quit [Quit: Connection closed for inactivity]
Sorella has joined #elliottcable
<pikajude> ljharb: would I be correct in saying the reason my program silently exits before it's actually Done is because I am missing a catch() somewhere
<pikajude> since I'm using Promises
<pikajude> ec: i'm gonna start using flow
eligrey has joined #elliottcable
<ljharb> pikajude: no, that's not correct
<ljharb> pikajude: well, maybe. if your program only continues via a `.then` path, and you're missing a `.catch` somewhere, then sure, there'll be no more code to execute
danpalmer has quit [Quit: Connection closed for inactivity]
trolling has quit [Ping timeout: 276 seconds]
prophile has joined #elliottcable
<pikajude> ljharb: ok, any idea why it silently exits before it's done
<ljharb> what is "it"
<pikajude> my program
<ljharb> lol right but what does it do? gist?
<purr> loling
<pikajude> k hang on
<pikajude> just ignore all the flowtype shit
<pikajude> babel preprocesses it out
<ljharb> wow, top-level switch statements
<ljharb> ah also harmony flags
<ljharb> turn those off
<ljharb> harmony flags are all for broken/unstable things, and definitely can cause crashes.
<pikajude> what's a top-level switch statement
<ljharb> use babel, or stick with whatever's native :-)
<ljharb> just a switch that's not inside a function (i hate switches anyways, ofc)
<pikajude> interesting, i can't find it
<ljharb> man even separate from the flow stuff, the indentation makes this hard to read :-/
<pikajude> just the one on 94 and the one on 378
<ljharb> maybe it's not top-level, but it's indented at Ω´ro
<ljharb> *zero
<ljharb> ohhhh nvm
<ljharb> it was just github effing up
<ljharb> sorry, client-side JS apps suck, and github's a big one :-)
<ljharb> so what's the last line of code you know executed?
<pikajude> i'm not sure
<pikajude> it exits after it has printed out all of the npm registry fetching stuff
<pikajude> which happens in getDependencies
<ljharb> can you add some console.logs so you know which args to `getPackage` are failing?
<pikajude> i don't know how to tell which one is failing exactly
<pikajude> it prints out a whole bunch of packages/specs
<pikajude> the last one is jsbn
<pikajude> but it changes each time i run it
<pikajude> ljharb: lol
<purr> loling