Better HN
topnewbestaskshowjobs
Log inSign up

modiho

9 karma · joined Jan 22, 2013 (13y ago) · 5 submissions

Submissions

comment 10y ago · link · parent

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-...

comment 10y ago · link · parent

Semi recent discussion: https://news.ycombinator.com/item?id=11676928

3.

Introducing JASP: A free and intuitive statistics software(blog.efpsa.org ↗)

1 points · by modiho · 11y ago · discuss

comment 11y ago · link · parent

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...

comment 13y ago · link · parent

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);