Configure tmux

  • Install the latest tmux
  • Modify .tmux.conf.local

# — user customizations ——————————————————-
# this is the place to override or undo settings

# increase history size
set -g history-limit 10000

# start with mouse mode enabled
set -g mouse on

# force Vi mode
# really you should export VISUAL or EDITOR environment variable, see manual
#set -g status-keys vi
#set -g mode-keys vi

# replace C-b by C-a instead of using both prefixes
set -gu prefix2
unbind C-a
unbind C-b
set -g prefix C-a
bind C-a send-prefix

# move status line to top
# set -g status-position top

bind | split-window -h
bind – split-window -v


Minimal configuration:

# Make mouse useful in copy mode
setw -g mode-mouse on

# Allow mouse to select which pane to use
set -g mouse-select-pane on

# Allow xterm titles in terminal window, terminal scrolling with scrollbar, and setting overrides of C-Up, C-Down, C-Left, C-Right
set -g terminal-overrides “xterm*:XT:smcup@:rmcup@:kUP5=\eOA:kDN5=\eOB:kLFT5=\eOD:kRIT5=\eOC”

# Scroll History
set -g history-limit 30000

# Set ability to capture on start and restore on exit window data when running an application
setw -g alternate-screen on

# Lower escape timing from 500ms to 50ms for quicker response to scroll-buffer access.
set -s escape-time 50

unbind C-b
set -g prefix C-a
bind r source-file ~/.tmux.conf ; display-message “Config reloaded..”

bind | split-window -h
bind – split-window -v

set -g base-index 1
set -g pane-base-index 1

set -g @plugin ‘tmux-plugins/tpm’
set -g @plugin ‘tmux-plugins/tmux-sensible’
set -g @plugin ‘tmux-plugins/tmux-prefix-highlight’

set -g @plugin ‘tmux-plugins/tmux-resurrect’
set -g @plugin ‘tmux-plugins/tmux-continuum’
set -g @plugin ‘tmux-plugins/tmux-sidebar’
set -g @plugin ‘tmux-plugins/tmux-logging’
set -g @plugin ‘tmux-plugins/tmux-pain-control’
set -g @plugin ‘tmux-plugins/tmux-online-status’

run ‘~/.tmux/plugins/tpm/tpm’

install allennlp

# use gcc 4.8 to install thinc (compatible with cuda-8)

CC=/usr/bin/gcc pip install thinc==6.10.1

# cytoolz needs scl enable devtoolset-6

scl enable devtoolset-6 rh-python36 bash

pip install allennlp

python -m spacy download en



ACL-16 @ ProbModels

  • Tutorial
  • LSTM has been a standard (and strong) baseline in the NLP toolbox
  • Question generation
    • Generating Factoid Questions With Recurrent Neural Networks
    • Generating Natural Questions About an Image
  • Reading comprehension
    •  matching -> inference
    • A Thorough Examination of the CNN/Daily Mail Reading Comprehension Task
    • WIKIREADING: A Novel Large-scale Language Understanding Task over Wikipedia
  • Involve human during learning
    • On-line Active Reward Learning for Policy Optimisation in Spoken Dialogue Systems
    • Learning Language Games through Interaction
  • Using natural language as an representation layer
    • Using Sentence-Level LSTM Language Models for Script Inference
    • Deep Reinforcement Learning with a Natural Language Action Space
    • Natural Logic

How to Build SyntaxNet

The missing zlib.BUILD file can be found in

Follow the steps in


  • download jpeg.BUILD.txt, png.BUILD.txt, and WORKSPACE.txt from @srsaharoy ‘s message #623 (comment) . (the 2nd post with attachments) and place these files in the tensorflow lib without the .txt extension instead of the existing files (in my case ~/git/tensorflow/tensorflow).
  • create folder with external source files: ~/git/tensorflow/fix/files/re2 ~/git/tensorflow/fix/files/jpeg-9a/jpeg-9a ~/git/tensorflow/fix/files/gemmlowp ~/git/tensorflow/fix/files/libpng-1.2.53/libpng-1.2.53 ~/git/tensorflow/fix/files/six-1.10.0 Note the dir-in-dir for jpeg-9a and libpng-1.2.53. This is necessary.
  • change paths in WORKSPACE file to match the location of the aux source files
  • bazel shutdown
  • bazel build -c opt //tensorflow/cc:tutorials_example_trainer

EDIT: the path for ‘six’ in WORKSPACE needs to point to the folder that contains six-1.10.0, e.g.:
path = “/home/…/git/tensorflow/fix/files”
This is because six.BUILD searches the sources in “six-1.10.0/”.

EDIT: (for commit a108da2 16-DEC-2015) download & extract ; change eigen_archive to new_local_repository with path = “/home/…/git/tensorflow/fix/files”

This may be also true for other modules.

openafs on Ubuntu 16.04

Error message:

aklog: a pioctl failed while obtaining tokens for cell


  • rollback your kernel to 4.2
    • check your current kernel version: uname -r
    • remove it: sudo apt-get purge linux-image-x.x.x.x-generic
    • reboot
$ sudo -i
# apt-get remove openafs-client openafs-krb5 openafs-modules-dkms krb5-config krb5-user ntp
# apt-get install krb5-config krb5-user ntp openafs-client openafs-krb5 openafs-modules-dkms
# echo "" > /etc/openafs/ThisCell
# /etc/init.d/openafs-client start
# exit
$ kinit [DICE username]
$ aklog
$ /etc/init.d/openafs-client stop
$ /etc/init.d/openafs-client start