Andrew Shaffer ashaffer

  • Joined on

Organizations

@immodel
ashaffer commented on issue ramda/ramda#1087
@ashaffer

An equivalent of splice would also be nice. I know you can achieve it with insert and remove, but the concision of Array.splice is pretty sweet.

ashaffer opened issue ramda/ramda#1087
@ashaffer
Remove from list by value
ashaffer commented on issue ashaffer/gulp-inline#19
@ashaffer

I just merged in something that might fix this ( #20 ). Can you try reinstalling and let me know if the issue is resolved?

@ashaffer
ashaffer commented on pull request ashaffer/gulp-inline#20
@ashaffer

Cool thanks

@ashaffer
ashaffer merged pull request ashaffer/gulp-inline#20
@ashaffer
Include inlining sources relative to file being processed
1 commit with 26 additions and 7 deletions
ashaffer closed issue babel/babel#1463
@ashaffer
destructuring bug
ashaffer commented on issue babel/babel#1463
@ashaffer

Impressive response time :). Ya you're right, misread. Apologies.

ashaffer opened issue babel/babel#1463
@ashaffer
destructuring bug
@ashaffer
ashaffer created repository ashaffer/docker-test
ashaffer commented on issue weo-edu/store#2
@ashaffer

How about: var on = {}; var store = module.exports = require('./dispatch)(on); on.profileChanged = profileChanged; on.accountChanged = accountChan…

ashaffer commented on issue weo-edu/store#3
@ashaffer

So, for wiring purposes, a store is a single function which accepts an event, and either throws or returns generator-synchronously. xxx_to_lambda u…

ashaffer commented on issue weo-edu/store#1
@ashaffer

You mean deal with request id's for logging? If we're really committing to generators, the best way might actually be to do the crazy generator thing.

ashaffer commented on issue weo-edu/store#4
@ashaffer

I don't think we want to do RPC for gets. The reason we're doing it for writes is so that we can persist events in a canonical way, and distribute …

ashaffer opened issue bitly/nsq#574
@ashaffer
nsq_to utility
ashaffer commented on issue weo-edu/store#6
@ashaffer

We'll probably have to do this as well: http://unix.stackexchange.com/questions/25372/turn-off-buffering-in-pipe We'll also probably want to run so…

ashaffer commented on issue weo-edu/store#6
@ashaffer

In regards to tj's example, that seems good. So json_to_store abstracts the streaming json from text and dispatch stuff? So the full command would …

ashaffer commented on issue weo-edu/store#6
@ashaffer

It seems by default errors are taken out of the primary stream and redirected to the console, http://en.wikipedia.org/wiki/Pipeline_%28Unix%29#Erro…

ashaffer commented on issue iojs/io.js#947
@ashaffer

+1 for this issue. Just ran into it as well. Makes it impossible to create command line utilities that compose in the unix style.

ashaffer opened issue weo-edu/store#6
@ashaffer
Crazy idea: unix piping
ashaffer commented on issue weo-edu/store#3
@ashaffer

Idea: stores/index.js exports.user = dispatch(require('./user')) exports.share = dispatch(require('./share')) // ... nsq binding: each(require('./s…

ashaffer commented on issue ashaffer/gulp-inline#18
@ashaffer

You want it not to close your tags?

ashaffer commented on issue weo-edu/store#3
@ashaffer

Ya, it is unfortunate that the channel abstraction is hard to decouple, but sources that don't care about it don't need to implement it (e.g. file …

ashaffer commented on issue weo-edu/store#3
@ashaffer

require('./stores')(nsq) module.exports = function(source) { source('user').pipe() ... } Seems much more general.

ashaffer commented on issue weo-edu/store#3
@ashaffer

But in order to do that we'd have to actually edit the stores file, as opposed to simply requiring it differently.

ashaffer commented on issue weo-edu/store#4
@ashaffer

We also have to make each koa server it's own channel, I just realized. Every koa server has to process every message from the stores, because we d…

ashaffer commented on issue weo-edu/store#4
@ashaffer

Hmm...i'm not sure why we would actually want to do this for RPC. It seems like koa can simply require and call the store's exported methods direct…