Some online learning codes