Skip to content

Team Collaboration and Pair Programming

Fuhu Xia edited this page Jul 9, 2020 · 5 revisions

Video conference

Google Meeting and Slack Call are both great conferencing tools for collaboration. Announce your meeting in the slack thread or give the call the short title. It will help other team members to decide whether it is an interesting topic to them and join the meeting.

TMUX

In addition to keep your session live even after being accidentally disconnected, TMUX is also a great tool for collaboration and pair programming. Here is some common practice we have doing on Sandbox and BSP environments that I found useful.

  1. There should always be one common TMUX session for Ubuntu user. So after a user login in jumpbox and assume Ubuntu role, always run tmux a command to attach to the common session. If for some reason there is no existing session, create a new one by running tmux. Sticking to one common TMUX session will let users aware of each other's presence, and prevent any potential conflicts and surprises.

  2. After connecting to an existing TMUX session, if you see the terminal is idling, check other users's presence by running shell command who and TMUX command ctrl-b D. It will give the info about which user is connecting to the session and how long since last activity. Communicate with the other user on slack if you have any doubt about whether you should take control of the session.

  3. For pair programming, TMUX allows multiple users type in the same session. So start a conference call and let us pair.

Clone this wiki locally