Archive for the ‘Development’ Category.

Introduction to Event-Driven Programming and the Reactor Design Pattern

I gave this 5mn lightning talk to my team:

Presentation on Scribd

I will post more on the subject in the future:

One of my personal project involves PubSubHubbub and EventMachine and I’m becoming curious|excited about Javascript’s Node.JS.

Git

I’ve been kind of working on a git tutorial for a while now.
I’ve recently realized that there are two different work flows ( git+subversion  and github.com) that I use regularly and that trying to describe them both in one tutorial made it quite confusing.

I’m going to remake them in two tutorials instead of one. In the meantime here’s the content of my bash profile with the elements I use to smooth my daily experience of git:

#### start Git #####
alias g='git'
alias gco='git checkout'
alias gma='git checkout master'
alias gst='git status'
alias glo='git log'
alias gca='git commit -a'
alias gsd='git svn dcommit'
alias gcav='git commit -v -a'
alias squash='git merge --squash'
alias gpatch='git format-patch'
alias saw='git branch -D'
alias rollback='git reset --hard git-svn'
alias uncommit='git reset --mixed HEAD'
alias fixlastcommit='git commit --amend'
alias branches='git branch -a'
alias grow='git checkout -b'
alias plant='git svn init'
alias gclone='git clone'
alias hide='git stash'
alias unhide='git stash apply'

export PS1='\w $(git branch &>/dev/null; if [ $? -eq 0 ]; then \
echo "(\[\033[00m\]$(git branch | grep ^*|sed s/\*\ //)) "; fi)\$\[\033[00m\] '

#### end Git #####

Update to the MogileFS setup guide

I’ve done minor changes to  the installaion guide for MogileFS following feedback from Craig.

In addition, he noticed that on some Xen VMs, you may encounter the following error:


ERROR: Need to be root to increase max connections

in which case, you will need to update /etc/security/limits.conf with the values:


mogile soft nofile 65535
mogile hard nofile 65535