I finally got around to learning tmux this morning.
Tmux is basically a beefed up version of GNU Screen. It hosts virtual terminal sessions and it allows you to split up a single terminal window into multiple ones.
My co-founder, Sam, was the one to suggest using tmux. He suggested using it about a week ago or so.
However, I put off learning it until I discovered this crash course in the O'Reilly programming newsletter.
Tmux is pretty simple and the article did a great job teaching me. Tmux commands start with Ctrl + b followed by an additional key (e.g., Ctrl + b, % will create a new vertically split pane).
It's really cool because I can run our django dev server in one pane and have bash running unit tests in another, all in the same terminal window.
My favorite feature has to be the copy paste feature.
I can copy anything in the terminal window without my hands ever leaving the keyboard.
Ctrl + b, [ to enter in copy selection mode. With vim keybindings on,
use h, j, k, l to move around, Space to enter into selection, Enter to capture the selection and finally Ctrl + b, ] to paste the selection.
I went to Jad Abumrad's excellent talk on creativity at Benroya hall tonight and I was really interested when he talked about Pot Odds and applying the concept to every day life.
Pot odds are what poker players use to determine if they should make a bet or not.
For example, consider a player with a 25% chance of having the best hand. A probability of 25% is not very good.
Most people probably won't make a bet with a 25% chance of winning.
However, when there is a $300 pot and a $100 bet, the player should bet!
Because if the player places the bet and wins, they'll get $400. If they place the bet and lose, they'll lose $100.
If the player repeated this scenario indefinitely, they would get $400 every fourth time, which would be greater than the $300 they lost from the previous three bets.
Jad says he uses this strategy when creating his shows and his every day life.
It also helps remind him that he does not always need to create a success. As long as his pot odds are good enough. I'm now curious how I can apply it to my own life and what my pot odds are.
I changed the site this week to be generated with Jekyll and I couldn’t be happier.
A friend of mine told me about it a few months ago.
It wasn’t until I started growing this site did I see how awesome and useful it is.
It was very easy for me.
It took me about an hour to learn and move everything over.
I’m very excited and I am looking forward to using it more.