start new:
tmux
start new with session name:
tmux new -s myname
{ | |
".123" : "application/vnd.lotus-1-2-3", | |
".3dml" : "text/vnd.in3d.3dml", | |
".3g2" : "video/3gpp2", | |
".3gp" : "video/3gpp", | |
".a" : "application/octet-stream", | |
".aab" : "application/x-authorware-bin", | |
".aac" : "audio/x-aac", | |
".aam" : "application/x-authorware-map", | |
".aas" : "application/x-authorware-seg", |
[ 2 of 17] Compiling Settings ( Settings.hs, dist\dist-sandbox-401bdab4\ | |
build\Settings.o ) | |
... | |
Loading package wai-handler-launch-3.0.0 ... linking ... ghc.exe: unable to load | |
package `wai-handler-launch-3.0.0' | |
ghc.exe: warning: inet_ntoa from ws2_32 is linked instead of __imp_inet_ntoa | |
ghc.exe: warning: getnameinfo from ws2_32 is linked instead of __imp_getnameinfo | |
ghc.exe: warning: getaddrinfo from ws2_32 is linked instead of __imp_getaddrinfo |
This describes how I setup Atom for an ideal Clojure development workflow. This fixes indentation on newlines, handles parentheses, etc. The keybinding settings for enter (in keymap.cson) are important to get proper newlines with indentation at the right level. There are other helpers in init.coffee and keymap.cson that are useful for cutting, copying, pasting, deleting, and indenting Lisp expressions.
The Atom documentation is excellent. It's highly worth reading the flight manual.
CertSimple just wrote a blog post arguing ES2017's async/await was the best thing to happen with JavaScript. I wholeheartedly agree.
In short, one of the (few?) good things about JavaScript used to be how well it handled asynchronous requests. This was mostly thanks to its Scheme-inherited implementation of functions and closures. That, though, was also one of its worst faults, because it led to the "callback hell", an seemingly unavoidable pattern that made highly asynchronous JS code almost unreadable. Many solutions attempted to solve that, but most failed. Promises almost did it, but failed too. Finally, async/await is here and, combined with Promises, it solves the problem for good. On this post, I'll explain why that is the case and trace a link between promises, async/await, the do-notation and monads.
First, let's illustrate the 3 styles by implementing