modiho
Re:Images of New MacBook Pro with Magic Toolbar Leaked in MacOS Sierra...
on Wednesday October 26, 2016 @06:22AM (#12795285)
You can have both, so that escape is triggered when you tap caps lock, and ctrl is triggered when you hold caps lock. I followed this article to set it up on my MacBook http://www.economyofeffort.com/2014/08/11/beyond-ctrl-remap-...
Re:Walmart’s Crime Problem
on Wednesday August 17, 2016 @10:20AM (#12304879)
Semi recent discussion: https://news.ycombinator.com/item?id=11676928
Re:Elixir vs. Erlang: a question of momentum
on Thursday April 23, 2015 @12:27PM (#9427823)
Dialyzer works fine for Elixir code since it operates on Erlang bytecode, which Elixir ultimately compiles to.
See also this related thread on the Elixir mailing list https://groups.google.com/forum/#!topic/elixir-lang-talk/ft6...
Re:Callbacks are Pretty Okay
on Saturday August 17, 2013 @05:27AM (#6228626)
Q has some utility functions around wrapping node style callbacks that make the code a bit shorter and arguably more easy to understand.
var Q = require('q');
function getUserFriends(userName) {
return Q.nfcall(db.users.findOne, {name:userName});
}
function foundOne(user) {
return Q.nfcall(db.friends.find, {userId:user.id});
}
function foundFriends(friends) { ... }
getUserFriends.then(foundOne).then(foundFriends);