00:09:10
| * _sorensen | quit (Ping timeout: 248 seconds) |
00:18:23
| * tilgovi | joined |
00:22:32
| * xaq | quit (Remote host closed the connection) |
00:24:12
| * intabulas | quit (Remote host closed the connection) |
00:30:44
| <mikeal> | ok |
00:30:55
| <mikeal> | SubStack: let me know when you finish |
00:45:29
| <SubStack> | also writing a seaport replicator right now |
00:45:35
| <SubStack> | I need it to revamp the queueing system |
00:51:04
| <rowbit> | SubStack, pkrumins: These encoders are STILL down: 184.106.99.27(dev-ie7-3) |
00:58:48
| <rowbit> | Hourly usage stats: [] |
01:00:00
| * mikeal | quit (Quit: Leaving.) |
01:01:37
| <SubStack> | pier to pier |
01:02:53
| <dools> | yarrr |
01:03:12
| <dools> | REAL PIRATES LOAD STUFF PIER TO PIER |
01:03:13
| <LOUDBOT> | PKRUMINS! OMG YOU'RE ON SLASHDOT FRONTPAGE! |
01:03:24
| <dools> | haha that is kind of cool |
01:15:29
| <Raynos> | substack: the browserify bundle api is synchronous |
01:15:33
| <Raynos> | how do I get it to cache nicely |
01:15:42
| <Raynos> | I dont want a build step but I dont want sync IO either |
01:16:22
| <SubStack> | subprocess |
01:41:31
| * isaacs_mobile | joined |
01:52:03
| * isaacs_mobile | quit (Remote host closed the connection) |
01:54:00
| <Raynos> | substack: subprocess === copout |
01:56:40
| <SubStack> | spawn('browserify', args) |
01:56:41
| <SubStack> | easy! |
01:57:34
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.174.109(free2) |
01:58:48
| <rowbit> | Hourly usage stats: [] |
01:59:44
| <Raynos> | spawn('browserify', args).stdout.pipe(res) |
01:59:46
| <Raynos> | super easy! |
02:08:04
| <SubStack> | https://github.com/substack/node-pier |
02:08:10
| <SubStack> | that new thing ^ |
02:27:34
| * zz_shykes | changed nick to shykes |
02:37:22
| * tilgovi | quit (Read error: Connection reset by peer) |
02:42:34
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.226.209(free4) |
02:47:41
| * xaq | joined |
02:51:04
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.226.209(free4) |
02:51:36
| <rowbit> | SubStack, pkrumins: These encoders are STILL down: 184.106.99.27(dev-ie7-3) |
02:58:48
| <rowbit> | Hourly usage stats: [] |
03:02:07
| * st_luke_ | joined |
03:02:08
| * st_luke | quit (Disconnected by services) |
03:02:14
| * st_luke_ | changed nick to st_luke |
03:09:09
| * tilgovi | joined |
03:42:19
| * xaq | quit (Remote host closed the connection) |
03:54:38
| * st_luke | quit (Remote host closed the connection) |
03:58:48
| <rowbit> | Hourly usage stats: [] |
04:01:25
| <ik> | DAYCHANGE! |
04:01:25
| <LOUDBOT> | NATURE SUCKS AND IT SHOULD STAY THE FUCK OUT OF MY FOOD |
04:02:27
| <ik> | LOUDBOT: twitlast |
04:02:27
| <LOUDBOT> | ik: http://twitter.com/loudbot/status/222903446104326146 (YTZ/##church-of-loudbot) |
04:07:32
| * st_luke | joined |
04:17:06
| * hij1nx | joined |
04:32:13
| * tilgovi | quit (Ping timeout: 245 seconds) |
04:43:19
| * ryan_stevens | quit (Quit: Leaving.) |
04:44:30
| * st_luke | quit (Remote host closed the connection) |
04:51:36
| <rowbit> | SubStack, pkrumins: These encoders are STILL down: 184.106.99.27(dev-ie7-3) |
04:58:48
| <rowbit> | Hourly usage stats: [] |
05:05:14
| * ryan_stevens | joined |
05:18:47
| * tilgovi | joined |
05:19:12
| * dominictarr | joined |
05:36:37
| <devaholic> | dominictarr: https://gist.github.com/3088191 |
05:36:53
| <devaholic> | pushing the module to github in a few |
05:40:05
| * shykes | changed nick to zz_shykes |
05:42:54
| <dominictarr> | nice |
05:43:28
| <devaholic> | its using event-stream connect, split, and map |
05:44:09
| <dominictarr> | devaholic, so the args are the redis operation and the key name? |
05:44:27
| <devaholic> | yeah and because of that, the whole thing is about 60 loc |
05:44:49
| <dominictarr> | cool! can it do readable streams? |
05:44:56
| <devaholic> | yes |
05:45:17
| <devaholic> | they are all duplex |
05:50:38
| <dominictarr> | devaholic, how does the duplex work, does it just pass through what you wrote? |
05:52:32
| <devaholic> | like this works https://gist.github.com/3088191 |
05:53:02
| <devaholic> | the redis stream just sits inbetween two parsers that transform the protocol |
05:54:36
| <devaholic> | you could read a file into `sadd` line by line or something too of course |
05:58:48
| <rowbit> | Hourly usage stats: [] |
06:06:54
| <dominictarr> | oh, so the output is the responses. got it. |
06:07:55
| <devaholic> | dominictarr: ah, yep |
06:08:19
| <devaholic> | a lot of them in redis arent so useful for piping on to something else |
06:09:15
| * ryan_stevens | quit (Quit: Leaving.) |
06:11:46
| * timoxley | joined |
06:14:10
| <dominictarr> | well, that is a database for you. |
06:14:51
| <dominictarr> | really needs a way you can follow a key and get any updates made to that key. |
06:14:57
| <devaholic> | piping in and out is still useful but yes, not so great for just moving things around in the db |
06:15:03
| <dominictarr> | but as it is, pubsub is kinda tacked on. |
06:24:09
| <devaholic> | dominictarr: you can also just call redis.stream(), and then calls to write have no curried arguments, but you could pipe hgetall => set or something to pop a hash out into normal keys, or depending how data is streaming in, the commands could all be different |
06:27:05
| * tilgovi_ | joined |
06:27:46
| * tilgovi | quit (Ping timeout: 252 seconds) |
06:28:40
| * tilgovi_ | changed nick to tilgovi |
06:38:43
| <jesusabdullah> | Fuck Nuck is back |
06:38:50
| <SubStack> | yeah :/ |
06:52:06
| <rowbit> | SubStack, pkrumins: These encoders are STILL down: 184.106.99.27(dev-ie7-3) |
06:58:48
| <rowbit> | Hourly usage stats: [] |
07:01:49
| * wiwillia | joined |
07:09:06
| * wiwillia | quit (Ping timeout: 265 seconds) |
07:13:04
| <rowbit> | SubStack, pkrumins: Encoders down: 50.56.32.168(dev4) |
07:38:37
| * mikeal | joined |
07:49:11
| <mikeal> | hey SubStack |
07:49:16
| <mikeal> | issues with fleet |
07:49:19
| <mikeal> | all of a sudden |
07:49:21
| <SubStack> | oh noes! |
07:49:22
| <mikeal> | i'm getting this |
07:49:28
| <SubStack> | also this: https://github.com/substack/node-pier |
07:49:58
| <mikeal> | https://gist.github.com/3088816 |
07:50:05
| <mikeal> | that's a valid script |
07:50:10
| <mikeal> | it's worked for months |
07:50:48
| <SubStack> | directory didn't get created? |
07:51:02
| <SubStack> | or maybe it has the wrong basedir |
07:51:03
| <mikeal> | maybe |
07:51:13
| <mikeal> | but, even on a new deploy, it's fucked |
07:51:20
| <SubStack> | ! |
07:52:13
| <mikeal> | actually, new deploys just don't return |
07:53:17
| <SubStack> | I do see a silly thing in the propagit source |
07:53:43
| <SubStack> | the service returns without making sure that mkdirp() finished |
07:53:57
| <SubStack> | when first initializing a drone |
07:54:02
| <mikeal> | how can i fix this right now, cause everything is down |
07:54:54
| <SubStack> | which directories are in the drone deploy dirs? |
07:56:05
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.223.161(dev5) |
07:57:12
| <mikeal> | too many to figure out |
07:57:40
| <SubStack> | do any of those match your current git hash? |
07:57:47
| <SubStack> | also do you have plenty of disk space? |
07:58:17
| <SubStack> | have you tried deploying an older version? |
07:58:31
| <mikeal> | dude, new fuckin git does not work |
07:58:45
| <SubStack> | new git? |
07:58:48
| <rowbit> | Hourly usage stats: [] |
07:59:40
| <mikeal> | ok |
07:59:42
| <mikeal> | no |
07:59:47
| <mikeal> | fleet hub never responds |
07:59:52
| <mikeal> | to ps |
07:59:56
| <mikeal> | it just hangs forever |
08:00:53
| <mikeal> | ok |
08:01:02
| <mikeal> | fleet is just no longer working on 0.8 |
08:01:03
| <SubStack> | all the drones could have fallen off |
08:01:04
| <mikeal> | no idea why |
08:01:12
| <SubStack> | was it working on 0.8 before? |
08:01:18
| <SubStack> | why are you running 0.8 already >_< |
08:01:59
| <mikeal> | already? it's 0.8.2 |
08:02:24
| <SubStack> | this culture of upgrades is reckless |
08:02:44
| <mikeal> | look |
08:02:47
| <mikeal> | everything is running |
08:02:50
| <mikeal> | nothing is not running |
08:02:56
| <mikeal> | the hub and the drones are up |
08:03:00
| <mikeal> | nothing will deploy |
08:03:13
| <mikeal> | i made it work earlier today, but it won't any longer |
08:04:09
| <mikeal> | the actual deploy breaks |
08:04:17
| <mikeal> | pushing code is what breaks |
08:04:22
| <mikeal> | how do i entirely reset the drone |
08:04:29
| <SubStack> | oh |
08:05:14
| <SubStack> | entirely? |
08:05:20
| <mikeal> | rm -rf *in the drone directory, cause that's what i just did |
08:05:28
| <SubStack> | something like that |
08:05:58
| <SubStack> | also clean out the hub directory |
08:06:34
| <SubStack> | the hub stores all the git snapshots in order to propagate the changes to the drones |
08:06:47
| <SubStack> | if resetting the drones doesn't work try clearing out the hub |
08:08:44
| <mikeal> | same shit dude |
08:08:52
| <mikeal> | cleared the hub and all the drones |
08:09:56
| <SubStack> | do any directories get created on the drones? |
08:11:11
| <mikeal> | nope |
08:11:12
| <mikeal> | nothing |
08:12:42
| <mikeal> | SubStack: https://gist.github.com/3088881 |
08:12:50
| <mikeal> | thats a crazy error on deploy |
08:12:58
| <SubStack> | what about previous commit hashes that deployed successfully earlier? |
08:13:08
| <SubStack> | using --commit=... |
08:13:34
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.226.209(free4) |
08:14:02
| <mikeal> | nm |
08:14:05
| <mikeal> | there is no secret |
08:14:13
| <mikeal> | i have the full command |
08:14:16
| <mikeal> | and it just never retursn |
08:14:38
| <mikeal> | dude, i blew away all the old commit hashes that worked |
08:14:49
| <mikeal> | when i was trying to reset the drones |
08:15:13
| <SubStack> | the commit hashes are in `git log` |
08:16:28
| <SubStack> | can you console.dir() the drone list inside propagit? |
08:16:37
| <SubStack> | inside of service.deploy |
08:17:22
| <mikeal> | this is too broken and i can't do this at one in the morning |
08:17:36
| <mikeal> | i'm running a process manually and restarting the router so it'll send shit to it |
08:17:47
| <mikeal> | i'll fuck with this tomorrow |
08:21:25
| <mikeal> | ok, i'm up agian |
08:21:30
| <mikeal> | but i can't deploy |
08:21:36
| <mikeal> | and fleet is entirely broken |
08:21:40
| <mikeal> | i'll debug tomorrow |
08:22:34
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.226.209(free4) |
08:23:19
| * mikeal | quit (Quit: Leaving.) |
08:25:36
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.174.117(dev2) |
08:27:34
| * mikeal | joined |
08:52:37
| <rowbit> | SubStack, pkrumins: These encoders are STILL down: 184.106.99.27(dev-ie7-3) |
08:58:48
| <rowbit> | Hourly usage stats: [] |
09:03:34
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.226.209(free4) |
09:58:20
| * tm604 | quit (Quit: Leaving.) |
09:58:48
| <rowbit> | Hourly usage stats: [] |
10:04:35
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.226.209(free4) |
10:24:18
| * saijanai_ | quit (Read error: Operation timed out) |
10:40:46
| <dominictarr> | maxogden, man... that stream_statistics guy isn't even inheriting from Stream. it's not a stream at all! |
10:41:10
| * saijanai_ | joined |
10:53:06
| <rowbit> | SubStack, pkrumins: These encoders are STILL down: 184.106.99.27(dev-ie7-3) |
10:58:48
| <rowbit> | Hourly usage stats: [] |
11:02:12
| <tanepiper> | dominictarr: yea, i found that with ntwitter - really should be using streams under the hood, but it's just an eventemitter |
11:05:44
| <dominictarr> | yeah, every day I get a little bit more annoyed at twitter and am getting closer and closer to writing my own client. |
11:06:17
| <dominictarr> | one that also stores tweets in localStorage so you can search easy and fast. |
11:06:32
| <dominictarr> | and streams |
11:06:56
| <dominictarr> | I'd want to read by streaming, and also tweet by streaming. |
11:10:21
| * wiwillia | joined |
11:23:18
| <tanepiper> | Time to distupt twitter with AWESOME |
11:23:25
| <tanepiper> | (because twitter, for developers, sucks) |
11:42:50
| <dominictarr> | need some kinda drag and drop visual boxes and wires thing for the internet. |
11:43:03
| <dominictarr> | ifttt * Infinity |
11:45:37
| <dominictarr> | oh, and make it super easy to filter out moronic tweets all in CAPS |
11:45:56
| <dominictarr> | or when people retweet something thats about them |
11:46:03
| <dominictarr> | or instagram |
11:58:48
| <rowbit> | Hourly usage stats: [] |
12:11:41
| <dominictarr> | https://github.com/dominictarr/pause-stream |
12:15:43
| * dominictarr | quit (Read error: Connection reset by peer) |
12:27:48
| * wiwillia | quit |
12:53:37
| <rowbit> | SubStack, pkrumins: These encoders are STILL down: 184.106.99.27(dev-ie7-3) |
12:58:48
| <rowbit> | Hourly usage stats: [] |
13:14:09
| * tilgovi | quit (Remote host closed the connection) |
13:14:23
| <rowbit> | /!\ ATTENTION: (default-local) [email protected] successfully signed up for developer browserling plan ($20). Cash money! /!\ |
13:14:23
| <rowbit> | /!\ ATTENTION: (default-local) paid account successfully upgraded /!\ |
13:14:34
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.226.209(free4) |
13:15:51
| * tilgovi | joined |
13:23:34
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.226.209(free4) |
13:29:12
| * tilgovi | quit (Remote host closed the connection) |
13:31:04
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie8 (Queue length: 1 on 1 servers. Total servers: 3) |
13:38:34
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
13:43:34
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
13:49:06
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
13:54:36
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
13:58:29
| * hij1nx | quit (Ping timeout: 265 seconds) |
13:58:48
| <rowbit> | Hourly usage stats: [] |
14:00:05
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
14:05:07
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
14:10:07
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
14:15:08
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
14:20:34
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
14:24:53
| * Dspriggs | joined |
14:25:36
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
14:29:09
| <Dspriggs> | our ips is blocking traffic from browserling, throwing an invalid http error. Is this due to web sockets? |
14:31:04
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
14:35:06
| * ryan_stevens | joined |
14:36:07
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
14:39:34
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.226.209(free4) |
14:41:34
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
14:47:06
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
14:52:04
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.226.209(free4) |
14:52:34
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
14:53:05
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.174.109(free2) |
14:54:08
| <rowbit> | SubStack, pkrumins: These encoders are STILL down: 184.106.99.27(dev-ie7-3) |
14:58:04
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
14:58:48
| <rowbit> | Hourly usage stats: [] |
15:03:04
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
15:05:12
| * st_luke | joined |
15:08:34
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
15:11:50
| * _sorensen | joined |
15:13:37
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie7 (Queue length: 1 on 1 servers. Total servers: 3) |
15:15:58
| * ryan_stevens | quit (Quit: Leaving.) |
15:17:19
| * ryan_stevens | joined |
15:23:09
| * ryan_stevens | quit (Quit: Leaving.) |
15:26:17
| * ITpro | quit (Ping timeout: 252 seconds) |
15:27:35
| * ITpro | joined |
15:45:06
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.226.209(free4) |
15:46:34
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.226.209(free4) |
15:58:48
| <rowbit> | Hourly usage stats: [] |
16:05:12
| * xaq | joined |
16:11:34
| <isaacs> | maxogden, SubStack, dominictarr: Relevant to your interests: https://github.com/rogerwang/node-webkit and https://github.com/rogerwang/webkit-node |
16:11:41
| <isaacs> | node-webkit depends on webkit-node |
16:44:56
| * tm604 | joined |
16:46:50
| * st_luke_ | joined |
16:47:53
| * st_luke_ | quit (Remote host closed the connection) |
16:54:35
| <rowbit> | SubStack, pkrumins: These encoders are STILL down: 184.106.99.27(dev-ie7-3) |
16:58:48
| <rowbit> | Hourly usage stats: [] |
16:58:51
| * tm604 | part |
17:58:48
| <rowbit> | Hourly usage stats: [] |
18:01:42
| <maxogden> | isaacs: that is sweet im gonna try to write a web scraper with it |
18:02:54
| <rowbit> | /!\ ATTENTION: (default-local) [email protected] successfully signed up for developer browserling plan ($20). Cash money! /!\ |
18:02:54
| <rowbit> | /!\ ATTENTION: (default-local) paid account successfully upgraded /!\ |
18:04:50
| * hij1nx | joined |
18:05:36
| * mikeal | quit (Quit: Leaving.) |
18:08:57
| <SubStack> | hooray! |
18:33:42
| * hij1nx | quit (Ping timeout: 248 seconds) |
18:34:58
| * mikeal | joined |
18:35:32
| * hij1nx | joined |
18:52:22
| <isaacs> | maxogden: i'm still downloading webkit-node |
18:52:25
| <isaacs> | it's HUGE |
18:54:36
| <rowbit> | SubStack, pkrumins: These encoders are STILL down: 184.106.99.27(dev-ie7-3) |
18:58:27
| <pkrumins> | no longer down |
18:58:48
| <rowbit> | Hourly usage stats: [] |
18:59:10
| <SubStack> | hooray! |
19:09:01
| <mikeal> | SubStack: i can't get deployment back up |
19:09:10
| <mikeal> | push never seems to work or complete |
19:10:30
| <mikeal> | i'm on latest propagit |
19:12:31
| <SubStack> | can you dump the list of connected drones? |
19:13:40
| <mikeal> | right now it's only one |
19:13:47
| <mikeal> | so i can debug this easier |
19:14:13
| <SubStack> | what? |
19:14:58
| <mikeal> | there is only one drone |
19:15:01
| <SubStack> | oh ok |
19:15:20
| <SubStack> | start throwing down some console.logs into propagit/index.js in the service.deploy function |
19:15:45
| <mikeal> | the status is "running" |
19:15:47
| <SubStack> | actions.deploy too if you want to see whether the messages are getting sent to the drone |
19:16:13
| <mikeal> | i've seen issues before in deploys that had a lot of code |
19:16:22
| <maxogden> | isaacs: i wonder how long nwebkit.init takes |
19:16:24
| <mikeal> | now that i cleared it all and it has to push the whole repo |
19:16:37
| <mikeal> | that's probably causing some pain |
19:16:39
| <SubStack> | what if you just let it "hang"? |
19:16:46
| <SubStack> | for 15 minutes or something |
19:16:51
| <SubStack> | maybe it's actually doing important things |
19:16:54
| <mikeal> | sure i'll try |
19:17:23
| <mikeal> | first time: [1a52bebc] already at latest |
19:17:26
| <mikeal> | second time: hangs |
19:17:31
| <mikeal> | this is on the same git checkout |
19:17:35
| <mikeal> | er git rev |
19:19:14
| <SubStack> | throw down some console.logs into propagit/index.js service.deploy |
19:19:20
| <SubStack> | to figure out which part it's not getting to |
19:20:13
| <mikeal> | SubStack: in the hub or the drone? |
19:21:00
| <SubStack> | the hub |
19:21:21
| <SubStack> | the drone too if you want but that's in the actions.deploy definition |
19:26:45
| <mikeal> | SubStack: it hits the fetch block and gets a "code" |
19:26:50
| <mikeal> | which is 128 |
19:34:03
| <SubStack> | try logging the stderr and stdout streams from the spawn()s at lines 291 and 294 |
19:34:42
| <ik> | mikeal: link? |
19:35:51
| <mikeal> | tryin |
19:38:36
| <mikeal> | hrm... |
19:38:43
| <mikeal> | nothing gets logged |
19:38:52
| <mikeal> | also, the fleet deploy client on this side gives me |
19:38:53
| <mikeal> | [Error: caught signal null, code 128] |
19:50:09
| <SubStack> | is git in your path? |
19:52:59
| <mikeal> | # which git |
19:52:59
| <mikeal> | /usr/bin/git |
19:55:56
| <mikeal> | i checked a new exec from node and /usr/bin is in the path |
19:58:48
| <rowbit> | Hourly usage stats: [] |
19:58:48
| <rowbit> | Daily usage stats: [] |
20:01:28
| <ik> | c/,,\ |
20:06:16
| <maxogden> | SubStack: hey subbrubb with seaport if i wanna have services listen to a hub for 'jobs' is there a facility in seaport to do that? |
20:06:51
| <maxogden> | SubStack: ideally when a service calls ready() then the hub can start sending it events over dnode, i just dont know what methods to use |
20:33:45
| * Dspriggs | quit (Ping timeout: 245 seconds) |
20:39:49
| <SubStack> | maxogden: there's a .subscribe() in it |
20:39:53
| <SubStack> | not documented though >_< |
20:40:07
| <SubStack> | but check the pier source for how that works |
20:40:18
| <SubStack> | you can listen for allocate and assume events |
20:40:51
| * hij1nx | quit (Ping timeout: 246 seconds) |
20:45:49
| <maxogden> | SubStack: how would a service listen to events on the seaport hub? |
20:46:08
| * timoxley | quit (Quit: Computer has gone to sleep.) |
20:46:39
| <maxogden> | SubStack: can you do event emitter over seaport.connect ? |
20:47:21
| <SubStack> | like this https://github.com/substack/node-pier/blob/master/index.js#L77 |
20:47:34
| <SubStack> | var ports = seaport.connect(...) |
20:47:38
| <SubStack> | ports.on('allocate', fn) |
20:47:43
| <SubStack> | ports.on('assume', fn) |
20:47:48
| <SubStack> | ports.on('free', fn) |
20:47:52
| <maxogden> | yea so on the other end |
20:48:04
| <maxogden> | wait how do you emit |
20:49:40
| <maxogden> | SubStack: what is the difference between subscribe and on? |
20:50:28
| <SubStack> | oh wait I mean subscribe not on |
20:50:34
| <SubStack> | subscribe is for remote events |
20:50:44
| <SubStack> | since it actually goes out to the network to set up the listener |
20:50:53
| <maxogden> | then on the server where do i emit |
20:51:05
| <maxogden> | ports.up.something? |
20:51:59
| <SubStack> | you don't emit |
20:52:29
| <SubStack> | services register themselves with the hub and those trigger the events |
20:52:52
| <maxogden> | i know |
20:53:10
| <maxogden> | but if i have a server that is connected to clients over upnode |
20:53:27
| <maxogden> | is there a way to listen on the clients and emit on the server |
20:53:32
| <maxogden> | and send messages from the server to the clients |
20:54:06
| <SubStack> | not directly |
20:54:11
| <maxogden> | like s = seaport.createServer().listen(9000) and then s.emit('foo', 'bar') and on the client do s = seaport.connect(9000), s.on('foo') |
20:54:34
| <SubStack> | seaport isn't a message bus |
20:54:52
| <maxogden> | it kind of is :) |
20:54:58
| <maxogden> | i dont care about the port stuff for my use case |
20:55:02
| <maxogden> | i just want the service registry api |
20:55:06
| <maxogden> | but your module is too big! |
20:56:15
| <SubStack> | services can have metadata but can't have events |
20:56:33
| <SubStack> | and you can specify the port when you register a service |
20:57:11
| <maxogden> | i dont want services binding to public ports |
20:57:27
| <maxogden> | i just want them to register with the hub and start listenign for events |
20:57:59
| <maxogden> | what would you recommend i use for a simple message bus? i figured there was a way to do it with the existing upnode connection from seaport |
20:58:48
| <rowbit> | Hourly usage stats: [] |
21:03:20
| <SubStack> | you could just write a simple thing to run over http |
21:05:07
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.226.209(free4) |
21:05:07
| <SubStack> | PUT /register and then just let that connection idle |
21:05:17
| <SubStack> | and try to re-establish it when it goes down |
21:05:36
| <SubStack> | and you could use the stream to shuffle messages around |
21:11:08
| <chapel> | or you could just use dnode |
21:11:09
| <chapel> | :P |
21:13:37
| <maxogden> | i dont need rpc, would be better to just require('net') |
21:13:53
| <maxogden> | but the whole idea was to use someone elses module not write my own :P |
21:14:25
| <chapel> | well, you don't need rpc, but you want events |
21:14:34
| <chapel> | you can do events over dnode |
21:16:13
| <maxogden> | remote.emit('foo', 'bar') on server and remote.on('foo') on the client? i'll try it |
21:17:09
| <maxogden> | (events arent documented, just rpc callbacks) |
21:17:30
| <chapel> | http://substack.net/posts/9bac3e |
21:17:40
| <chapel> | old, not sure if works with changes to dnode |
21:17:42
| <chapel> | but fyi |
21:21:04
| <rowbit> | SubStack, pkrumins: Encoders down: 50.57.226.209(free4) |
21:28:34
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie9 (Queue length: 1 on 1 servers. Total servers: 5) |
21:32:57
| <SubStack> | maxogden: maybe you could just use JSONStream over http to broadcast messages in either direction? |
21:33:12
| <SubStack> | just an array with the first element as the event name string? |
21:34:04
| <rowbit> | SubStack, pkrumins: Developers waiting in the queue for ie9 (Queue length: 1 on 1 servers. Total servers: 5) |
21:49:01
| <maxogden> | SubStack: yea thats probably the best way |
21:50:23
| <SubStack> | LOUDBOT: search json |
21:50:24
| <LOUDBOT> | SubStack: <SubStack:##turtles> HOW IS JSON GENERATED? HOW DOCUMENT GET OBJECT LITERAL? |
21:57:27
| * purr | quit (Remote host closed the connection) |
21:57:34
| * purr | joined |
21:58:43
| * tilgovi | joined |
21:58:48
| <rowbit> | Hourly usage stats: [] |
22:00:04
| * zz_shykes | changed nick to shykes |
22:14:27
| <maxogden> | SubStack: awww i cant use http cause i need bidirectional communication |
22:15:12
| <maxogden> | SubStack: i should be able to use the dnode connection that upnode/seaport created |
22:18:16
| <SubStack> | http is full duplex |
22:25:12
| <maxogden> | apparently muxdemux isnt on npm |
22:25:21
| <maxogden> | oh mux-demux |
22:25:23
| <maxogden> | dumb! |
22:25:27
| <maxogden> | and nothing in the readme |
22:36:19
| <SubStack> | http://www.youtube.com/watch?v=mqK63v2Jzks |
22:42:01
| <maxogden> | hahaha golden nanoparticles |
22:43:55
| <maxogden> | i thought this was a joke |
22:43:58
| <maxogden> | but now i cant tell |
22:47:56
| <isaacs> | New names for operating systems: |
22:56:53
| * darshanshankar | joined |
22:58:09
| * xaq | quit (Read error: Connection reset by peer) |
22:58:48
| <rowbit> | Hourly usage stats: [] |
22:59:23
| * xaq | joined |
23:02:02
| * darshanshankar | quit (Quit: darshanshankar) |
23:08:17
| <isaacs> | Moon Magic OS = Windows |
23:08:35
| <isaacs> | Smart = SunOS/Solaris/SmartOS |
23:08:49
| <isaacs> | Stupid = Linux |
23:08:56
| <isaacs> | Religious = GNU/Linux |
23:09:05
| <isaacs> | Fruity Cat = OS X |
23:12:56
| <st_luke> | Moon Magic OS |
23:12:58
| <st_luke> | where do I purchase |
23:27:35
| * tilgovi | quit (Remote host closed the connection) |
23:49:58
| * xaq | quit (Remote host closed the connection) |
23:58:48
| <rowbit> | Hourly usage stats: [] |