00:01:51  * _sorensenquit (Ping timeout: 251 seconds)
00:07:30  * mikealquit (Quit: Leaving.)
00:08:46  * mikealjoined
00:08:56  <Raynos>tblobaum_: maybe, I feel more comfortable knowing I can do it in node then the command line tools
00:13:07  <tblobaum_>but if its important to know if it dies, and you are using the same process to notify you as the one that crashed but you dont know every way it might crash then you dont know if you'll be notified for sure
00:14:02  <tblobaum_>so you use an external utility, like monit or upstart or something else
00:52:38  * _ritchpart
00:58:53  <rowbit>Hourly usage stats: []
01:00:15  <SubStack>Raynos: seaport connections use upnode so everything repeatedly tries to connect until it comes back
01:00:37  <SubStack>I'll hack up multi-availability at some point
01:10:50  <Raynos>SubStack: multi-availability means multiple seaport servers on different boxes with a load balancer?
01:11:47  <SubStack>just multiple seaport servers that live different places
01:11:47  * ryan_stevensquit (Read error: Connection reset by peer)
01:11:54  <SubStack>load balancer is not part of it
01:12:39  * ryan_stevensjoined
01:26:48  <Raynos>SubStack: Is there any reason to have the seaport server behind a load balancer?
01:29:17  * ryan_stevensquit (Read error: Connection reset by peer)
01:30:09  * tilgoviquit (Remote host closed the connection)
01:30:59  * ryan_stevensjoined
01:41:41  * ryan_stevensquit (Quit: Leaving.)
01:42:33  * ryan_stevensjoined
01:42:37  * ryan_stevensquit (Client Quit)
01:43:17  * ryan_stevensjoined
01:43:25  * ryan_stevensquit (Read error: Connection reset by peer)
01:43:38  * ryan_stevensjoined
01:44:28  * ryan_stevensquit (Read error: Connection reset by peer)
01:45:37  * ryan_stevens1joined
01:45:39  * ryan_stevens1quit (Read error: Connection reset by peer)
01:46:23  * ryan_stevensjoined
01:46:26  * ryan_stevensquit (Read error: Connection reset by peer)
01:46:43  * ryan_stevensjoined
01:46:45  * ryan_stevensquit (Client Quit)
01:47:23  * ryan_stevensjoined
01:47:23  * ryan_stevensquit (Client Quit)
01:54:43  * _sorensenjoined
01:55:36  * captain_morganjoined
01:58:53  <rowbit>Hourly usage stats: []
01:59:19  * _sorensenquit (Client Quit)
02:05:23  * ryan_stevensjoined
02:05:26  * ryan_stevensquit (Client Quit)
02:58:53  <rowbit>Hourly usage stats: []
03:00:44  <Raynos>SubStack: https://gist.github.com/0e75241afcea3ae9b395
03:00:50  <Raynos>fleet falls over when I use it within makefiles
03:00:56  <Raynos>because CWD is set to /usr/bin
03:01:51  <Raynos>well I dont know whether its CWD
03:01:55  <Raynos>but somethign is set to /usr/bin :D
03:02:35  <Raynos>this problem can be solved by rewriting your thing to be node
03:08:05  <SubStack>hmm!
03:11:22  <Raynos>ugh whats the easiest way to fix this?
03:11:30  <Raynos>I can just rewrite your bash into node but thats effort
03:12:06  <tblobaum_>Raynos: put a dash between fleet and hub?
03:13:25  <Raynos>sweet!
03:13:27  <Raynos>so obvouis
03:13:48  <tblobaum_>did it work?
03:14:11  <Raynos>yes
03:15:15  <SubStack>hooray!
03:17:31  <Raynos>SubStack: I'll open an issue for using node instead of shell for that
03:17:36  <Raynos>is that a good or bad thign?
03:17:42  <SubStack>right-o
03:19:25  <SubStack>Raynos: also this lib uses yarnify to pretty great effect I think https://github.com/substack/waiting-around
03:19:58  <Raynos>dinosaurs!
03:20:09  <SubStack>as soon as I get a few more of these I'll add a section to the yarnify readme with example libs to look at
03:20:59  <Raynos>SubStack: the fact that index.js does require("./yarn") is confusing
03:21:31  <Raynos>mainly because the html is in the static folder
03:22:52  <Raynos>https://github.com/substack/waiting-around/blob/master/package.json#L16
03:22:55  <Raynos>there's the magic
03:23:23  <SubStack>this way you can just require() the lib and use browserify normally though
03:23:33  <Raynos>yeah
03:23:40  <Raynos>but this extra build step is annoying
03:23:44  <Raynos>the good thing is that its hidden in npm
03:23:47  <Raynos>which is sweet
03:24:08  <Raynos>maybe require("./static/yarn")
03:24:12  <Raynos>and compile to /static/yarn
03:24:17  <SubStack>oh that would be a good place to put it!
03:24:27  <Raynos>it feels weird that the resources are spread across multiple folders
03:26:15  <SubStack>Raynos: updated
03:26:22  <Raynos>badass
03:26:33  <SubStack>static/yarn.js
03:26:44  <Raynos>GITHUB Y U LAG
03:26:45  <LOUDBOT>HEY TERRY DO A MAGIC
03:27:22  <SubStack>github is lagtastic today
03:27:34  <Raynos>https://github.com/substack/waiting-around/blob/master/lib/spot.js#L1 </3
03:30:33  <Raynos>jquery adds so much noise to bundle.js
03:35:47  <SubStack>I can pretty well remove it now too
03:35:53  <SubStack>it's only used for css and width
03:35:58  <SubStack>was using it for more things previously
03:37:47  <Raynos>o/
03:37:52  <Raynos>I might make that PR for you
03:37:57  <Raynos>because I have a personal vendetta
03:38:05  <Raynos>SubStack: what's your browser reach?
03:38:38  <SubStack>browser reach for this? modernish
03:38:38  <Raynos>SubStack: https://github.com/substack/waiting-around/issues/1
03:38:52  <Raynos>Think of it as an example of how to write proper tests using testling
03:39:02  <SubStack>haha yeah good idea
03:39:04  <Raynos>modernish translates into IE9 + Chrome + Firefox for me
03:39:11  <SubStack>sounds about right
03:39:21  <AvianFlu>BROWSERS, BROWSERS, BROWSERS
03:39:22  <LOUDBOT>JOIN US BITCHES
03:39:32  <Raynos>thankfully isaacs took my PR for making tap work in IE9 o/
03:39:36  <SubStack>hard to test graphical things hmm
03:39:38  <Raynos>thus testling works in IE9
03:39:46  <SubStack>awesome stuff!
03:39:54  <SubStack>open source \p
03:39:57  <SubStack>*\o
03:40:24  <Raynos>SubStack: if you can intercept yarn and throw mock dom interfaces into it you can unit test the hell out of it
03:40:54  <Raynos>which is another bonus because yarn is the only point where it touches the DOM
03:41:15  <Raynos>and any point where it touches the live document tree is abstracted into these appendTo methods
03:41:27  <Raynos>Of course writing mock interfaces for DOM elements is a massive pain in the ass
03:57:15  <Raynos>SubStack: upload the seaport image to substack.net/images
03:58:53  <rowbit>Hourly usage stats: []
04:58:53  <rowbit>Hourly usage stats: []
05:16:19  * AvianFluquit (Quit: Leaving)
05:23:17  * ryan_stevensjoined
05:25:00  <SubStack>was already there: http://substack.net/images/crane.png
05:29:23  <Raynos>I have `SECRET = beep boop` in my Makefile
05:29:31  <Raynos>it's the only thing stopping me from committing this code open source
05:29:46  <Raynos>where do I store secrets savely outside of version control
05:50:59  <Raynos>SubStack: https://gist.github.com/704b77581da93706afd1
05:51:08  <SubStack>config.jsons are a good place
05:51:24  <SubStack>just gitignore them or never git add them in the first place
05:51:52  <guybrush>make one ~/.config.js and use it in all your apps
05:52:21  <guybrush>.js and export it, so it can be dynamically
05:53:05  <Raynos>I see
05:53:16  <Raynos>i went for ENV variables in ~/.bashrc
05:53:41  <SubStack>you could use http://github.com/substack/node-confuse
05:53:46  <SubStack>it's like the node_modules of config files
05:53:59  <SubStack>in that it recursively looks for config.json files and merges their contents
05:54:15  <Raynos>yeah I wrote somethign similar myself
05:54:20  <Raynos>im trying to debug fleet deploy :(
05:54:22  <Raynos>it wont work
05:54:56  <SubStack>yes I've been having some troubles with the unit tests myself
05:54:56  <SubStack>fatal: Couldn't find remote ref HEAD
05:55:37  <Raynos>yeah
05:55:44  <Raynos>the git repos get into my hub
05:55:49  <Raynos>but dont get into my drones
05:55:54  <Raynos>sec. gonna reproduce this
05:57:13  <Raynos>SubStack: https://github.com/Raynos/fleet-local
05:57:38  <Raynos>thats how I spawn my fleet & drones
05:58:53  <rowbit>Hourly usage stats: []
05:59:48  <Raynos>SubStack: any tips on fixing these bugs because I need them fixed >_<
06:00:20  <Raynos>ugh the tests pass
06:04:29  <Raynos>ugh the propagit tests pass too
06:08:45  <SubStack>working on it right now
06:08:50  <SubStack>been working on this off and on the past week
06:09:04  <SubStack>here I'll push the branch with the failing tests
06:09:46  <SubStack>https://github.com/substack/fleet/tree/fixtests
06:11:23  <SubStack>that branch also uses the authentication stuff that landed in propagit
06:14:18  <SubStack>oh odd it's making a .git dir
06:19:00  <Raynos>SubStack: Im tired :( Ill look at it tomorrow
06:20:26  <Raynos>my code is still broken
06:20:29  <Raynos>and yes it makes a .git dir
06:20:54  <Raynos>there is a .git dir in my hub
06:20:59  <Raynos>and a .git dir in my drone
06:21:08  <Raynos>there is also a non .git dir in my hub
06:25:01  <tblobaum_>SubStack: whats the problem thats happening
06:25:09  <tblobaum_>because I think I wrote those tests
06:28:19  <SubStack>tblobaum_: getting this when it tries to fetch: Couldn't find remote ref HEAD
06:28:29  <Raynos>tblobaum_: https://gist.github.com/704b77581da93706afd1
06:28:29  <SubStack>could be related to the stuff I've been doing though
06:28:46  <SubStack>yep!
06:29:28  <tblobaum_>SubStack: the tests in fixtests, is anything different other than the git url?
06:29:59  <Raynos>SubStack: trying to deploy to a fleet hub from a fleet client running fleet@0.0.5 still breaks
06:30:10  <Raynos>so I think the issue is on the hub side rather then the fleet deploy command side
06:31:52  <tblobaum_>Raynos: what verison of propagit?
06:35:25  <tblobaum_>for me, its failing here, with the upgrade to dnode 1.0
06:35:26  <tblobaum_>https://github.com/substack/propagit/commit/2b66a4a6239c9eba281a3c9bf05265553ed7f7cb
06:35:34  <tblobaum_>any propagit before 0.5.5 works
06:36:53  <tblobaum_>oops, here actually https://github.com/substack/propagit/commit/72ca529e713e3a8d8c27dfe9e08c1393a68a2d53
06:39:56  <tblobaum_>oh, thats what it is
06:41:17  <SubStack>I think I found it
06:41:23  <SubStack>in pushover
06:41:48  <SubStack>data is landing in reponame but it tries to git-upload-pack from reponame.git
06:42:26  <SubStack>Raynos: yes this bug is with the hub part
06:42:31  <tblobaum_>SubStack: https://github.com/substack/propagit/blob/72ca529e713e3a8d8c27dfe9e08c1393a68a2d53/index.js#L277-278 is incorrectly matching
06:42:35  <tblobaum_>that line shouldnt exist
06:42:40  <tblobaum_>278
06:43:06  <tblobaum_>maybe its something else too, but that fixes everything for me
06:43:16  <SubStack>yes I got rid of that but I still have issues
06:43:25  <tblobaum_>propagit works, fleet works, etc
06:43:27  <tblobaum_>ok
06:45:31  <SubStack>I am also making a mess >_<
06:46:45  <SubStack>OH WAIT
06:46:46  <LOUDBOT>JUST MAKE A FIRE WITH ALL THE BODIES
06:46:52  <SubStack>tblobaum_: yes that totally fixed it
06:46:56  <SubStack>\o/
06:47:11  <tblobaum_>yay
06:49:15  <SubStack>Raynos: try fleet with propagit@0.6.1
06:50:24  <SubStack>oh wait, just published, now try
06:52:21  <tblobaum_>u/p prompts in my tests
06:52:31  <SubStack>yeah fixing that
06:53:06  <SubStack>backporting the http auth fixes
06:55:04  <tblobaum_>brb
06:58:50  <SubStack>boom
06:58:53  <rowbit>Hourly usage stats: []
06:59:06  <SubStack>tblobaum_, Raynos: npm install fleet@0.1.2
06:59:29  <SubStack>mikeal: also relevant ^^^
07:00:12  <mikeal>werd
07:00:48  <SubStack>it fixes the things
07:01:14  <SubStack>the git part is now authenticated with basic auth by default now too, which landed in propagit@0.6.0
07:09:14  <Raynos>SubStack: ill let you know in the morning
07:09:37  <Raynos>i dont have the shit setup here to test
07:09:48  <Raynos>but woot
07:09:54  <Raynos>I can continue to test it tomorrow :)
07:12:06  <SubStack>open sourcery!
07:16:29  <tblobaum_>bleh, installing fleet 0.1.2 with node v0.8.1 installs propagit 0.5.5
07:17:40  <SubStack>!
07:17:58  <SubStack> "propagit" : "~0.6.1",
07:18:44  <SubStack>try rm -rf node_modules/propagit and try again
07:18:59  <SubStack>npm has some bugs still when packages get upgraded
07:32:40  * ryan_stevensquit (Quit: Leaving.)
07:36:37  <SubStack>up to 32 contributors on browserify now
07:36:42  <SubStack>so many branches, I like it
07:39:07  <tblobaum_>got the install thing, but the port isnt appended to the deploy url
07:40:21  <SubStack>in bin/deploy.js or someplace else?
07:40:25  <tblobaum_>is the intent to handle http auth with the hub, or have some other thing in front that forwards to the hub port locally
07:40:52  <SubStack>handling http auth with the hub right now
07:40:59  <SubStack>it just uses the same secret key
07:41:16  <tblobaum_>yeah, deploy, and actually, its using the ip from my fleet.json remote.default.hub but stripping the port
07:41:29  <SubStack>oh so it's a bug with remote?
07:41:33  <Raynos>SubStack: how fucked am I if you have my fleet hub secret and access to the port?
07:41:41  <Raynos>assuming you are an evil wizard
07:42:01  <SubStack>well I could deploy whatever code I wanted on your servers
07:42:07  <tblobaum_>Raynos: depends how jailed up the user of your machine is that you are running the hub
07:42:09  <SubStack>I'd turn your startup into a paas
07:42:22  <tblobaum_>with
07:42:37  <Raynos>SubStack: you mean steal our code or steal our servers?
07:42:38  <SubStack>yeah putting fleet behind a firewall is probably a good idea
07:43:00  <Raynos>yeah I should go and lock down all the ports bar 80 & 443
07:43:03  <SubStack>Raynos: both of those things are actually possible
07:43:35  <SubStack>you could use an ssh tunnel to patch through to your fleet services internally when you're not on the same LAN
07:44:15  <tblobaum_>well still, if someone has access to that then´┐Ż
07:44:58  * mikealquit (Quit: Leaving.)
07:46:01  <SubStack>maxogden: browserify@1.14.0 now uses the buffer stuff directly from buffer-browserify
07:47:04  * mikealjoined
07:47:49  <tblobaum_>SubStack: https://github.com/substack/fleet/blob/master/bin/deploy.js#L38
07:47:56  <tblobaum_>why split on : ?
07:48:52  <SubStack>oh because the git port is different from the fleet port
07:48:55  <Raynos>that confused me too
07:48:58  <SubStack>but then I don't add in the git port in its place
07:55:29  <tblobaum_>SubStack: ah, port + 1
07:55:35  <tblobaum_>damn you, i was using that port for seaport
07:55:53  <tblobaum_>:)
07:56:02  <SubStack>well there's a way to sort of override it
07:56:03  <SubStack>sort of
07:56:21  <SubStack>there should be a way to specify it in the fleet.json
07:56:47  <tblobaum_>yes, or perhaps use the git port 9418?
07:58:47  <tblobaum_>might be a bad idea
07:58:53  <rowbit>Hourly usage stats: []
08:03:44  <SubStack>I don't want to hard-code any ports
08:58:53  <rowbit>Hourly usage stats: []
09:01:41  <SubStack>tblobaum_: ok working on a fix now
09:12:11  * captain_morganquit (Ping timeout: 248 seconds)
09:12:47  * captain_morganjoined
09:49:05  * captain_morganquit (Read error: Connection reset by peer)
09:56:45  * captain_morganjoined
09:58:53  <rowbit>Hourly usage stats: []
10:48:24  * captain_morganquit (Ping timeout: 264 seconds)
10:53:49  * captain_morganjoined
10:58:53  <rowbit>Hourly usage stats: []
11:04:43  <SubStack>found it
11:09:48  <SubStack>YESS
11:13:45  <SubStack>tblobaum_: I just published 0.1.3, should fix your issues and some other issues too
11:13:57  <SubStack>basically bin/deploy.js was screwy
11:22:36  <SubStack>huzzah everything is working awesomely again
11:22:53  <SubStack>also pushed a fix to propagit to check if the deploy dir already exists
11:23:09  <SubStack>those errors were just getting completely ignored before but now they bubble up to the ui
11:37:10  <tblobaum_>SubStack: awesome
11:49:21  <SubStack>yep, commanding a cluster around without problems now
11:49:55  <SubStack>took an old cluster example of mine and replaced the router with mountie
11:50:26  <SubStack>there does seem to be a lingering bug with fleet stop where it won't stop when the process is in the reconnecting state
11:52:22  <tblobaum_>wiating for my repo to deploy
11:52:39  <SubStack>s/reconnecting/restarting/
11:53:46  <tblobaum_>hmm, that could be bad if it was a process that kept dying
11:54:50  <SubStack>it seems to work the second time you stop it
11:58:53  <rowbit>Hourly usage stats: []
12:54:52  * captain_morganquit (Read error: Connection reset by peer)
12:58:53  <rowbit>Hourly usage stats: []
13:01:57  * captain_morganjoined
13:14:09  * Nexxychanged nick to IRCbot_slave
13:14:29  * IRCbot_slavechanged nick to Nexxy
13:14:44  * Nexxychanged nick to IRCBot_Master
13:14:58  * IRCBot_Masterchanged nick to Nexxy
13:49:59  * timoxleyquit (Quit: Computer has gone to sleep.)
13:51:46  * timoxleyjoined
13:52:54  <rowbit>/!\ ATTENTION: (default-local) elizabethrodriguez@... successfully signed up for developer browserling plan ($20). Cash money! /!\
13:52:54  <rowbit>/!\ ATTENTION: (default-local) paid account successfully upgraded /!\
13:58:53  <rowbit>Hourly usage stats: []
14:07:23  * tblobaum_quit (Ping timeout: 252 seconds)
14:41:42  * AvianFlujoined
14:58:53  <rowbit>Hourly usage stats: []
15:33:33  * paul_irishquit (Quit: ZNC - http://znc.sourceforge.net)
15:35:33  * paul_irishjoined
15:58:53  <rowbit>Hourly usage stats: []
16:06:59  * st_lukejoined
16:51:39  * ryan_stevensjoined
16:58:53  <rowbit>Hourly usage stats: []
17:05:34  <Raynos>SubStack: > took an old cluster example of mine and replaced the router with mountie
17:05:37  <Raynos>github link
17:12:45  * mikealquit (Quit: Leaving.)
17:28:24  * mikealjoined
17:42:53  * _sorensenjoined
17:54:25  <Raynos>SubStack: why does fleet have a port?
17:54:37  <Raynos>Why don't the hub & drones talk over a seaport ?
17:58:53  <rowbit>Hourly usage stats: []
18:19:34  * ryan_stevensquit (Quit: Leaving.)
18:26:52  * mikealquit (Quit: Leaving.)
18:32:40  * mikealjoined
18:33:32  * mikealquit (Client Quit)
18:37:53  * saijanai_joined
18:57:25  <Raynos>When using fleet ( https://gist.github.com/c7a8edbadc203eec8bba ) how do I npm install
18:57:36  * ryan_stevensjoined
18:57:37  <Raynos>Basically what hooks does fleet expose to do installation as part of the deploy process
18:58:53  <rowbit>Hourly usage stats: []
19:00:17  * ryan_stevensquit (Client Quit)
19:02:52  * ryan_stevensjoined
19:03:49  * AvianFluquit (Quit: Leaving)
19:11:04  <guybrush>SubStack: how about supporting tls in seaport with having "cert" and "key" besides "secret"?
19:11:43  <guybrush>i dont want to send the password in cleartext, do you handle that with iptables?
19:12:57  <guybrush>key and cert could be filepaths
19:54:42  * mikealjoined
19:58:53  <rowbit>Hourly usage stats: []
19:58:53  <rowbit>Daily usage stats: []
19:59:50  * tblobaum_joined
20:28:19  <tblobaum_>fleet monitor might be borked
20:40:30  <Raynos>i dont think fleet monitor is borked
20:40:34  <Raynos>I think I dont know what Im doing
20:43:45  <Raynos>SubStack: https://github.com/substack/fleet/pull/29
20:58:43  <Raynos>fleet stop i TAB
20:58:43  <Raynos>doesnt autocomplete the pid
20:58:53  <rowbit>Hourly usage stats: []
21:03:35  * mikealquit (Quit: Leaving.)
21:12:49  <rowbit>/!\ ATTENTION: (default-local) randall@... successfully signed up for developer browserling plan ($20). Cash money! /!\
21:12:49  <rowbit>/!\ ATTENTION: (default-local) paid account successfully upgraded /!\
21:29:39  <Raynos>I feel that fleet should read ~/fleet.json
21:29:46  <Raynos>so that I dont have to configure fleet remotes in every single project
21:29:53  <Raynos>this sounds like a job for confuse
21:36:46  * tilgovijoined
21:42:51  <Raynos>https://github.com/substack/fleet/pull/32
21:47:46  * timoxleyquit (Quit: Computer has gone to sleep.)
21:50:10  <tblobaum_>eh
21:52:06  * timoxleyjoined
21:58:53  <rowbit>Hourly usage stats: []
22:02:22  * ryan_stevensquit (Quit: Leaving.)
22:08:31  <SubStack>wowsy I just go so many pull requests and they all look pretty high-quality
22:11:40  <ik>blind merge all of them
22:16:06  * ryan_stevensjoined
22:23:09  <SubStack>ik: on it
22:49:22  * dominictarrjoined
22:57:09  * mikealjoined
22:58:05  * tilgoviquit (Remote host closed the connection)
22:58:53  <rowbit>Hourly usage stats: []
23:58:53  <rowbit>Hourly usage stats: []