Joseph Turian wrote a post about regarding pickling generator on his blog. In his post, he says: However, generators become problematic when you want to persist your experiment’s state in order...
https://peadrop.com/blog/2009/12/29/why-you-cannot-pickle-generators/
See the plain HTML version. The following is a write-up of the presentation I gave to a group of Python developers at Montreal Python 5 on February 26th. This is basically a HTML-fied copy of the...
https://peadrop.com/blog/2009/04/05/porting-your-code-to-python-3/
Once in a while, I practice to improve my touch typing skills. Most of the time, I just find some online stuff or use KTouch. But today, I wanted to try something different. I always hear good th...
https://peadrop.com/blog/2007/12/30/how-to-not-switch-to-dvorak/
Even with tab completion, typing long commands is tedious. But, there’s something even worst: typing the same long commands again, and again, and again… So how do you solve that? It’s simpl...
https://peadrop.com/blog/2007/10/18/shell-tricks-shorthands/
Update: If you are using Ubuntu 8.04 LTS “Hardy Heron” or Ubuntu 8.10 “Intrepid Ibex”, use the packages in the PPA of the Ubuntu Emacs Lisp team, instead of the packages referenced here. ...
Do you know how to fix Planet or WordPress, so when I edit an old post it does not pop back on Planet? I do edit some of my posts, in particular the Pretty Emacs one, fairly often. I love to have...
https://peadrop.com/blog/2007/07/06/minor-annoyance-with-planet/
All is well for me and my project. I finished the merge of cStringIO and StringIO, and I am now moving to the more challenging cPickle/pickle merge. During the last two weeks, I mostly spend my t...
https://peadrop.com/blog/2007/07/06/summer-of-code-weekly-4/
The pickle module provides a convenient method to add data persistence to your Python programs. How it does that, is pure magic to most people. However, in reality, it is simple. The output of a ...
https://peadrop.com/blog/2007/06/18/pickle-an-interesting-stack-language/
During this third week of the Summer of Code, I found very difficult to concentrate on my work — I been a lightbulb instead of a laser. The result was little code done. On the other hand, I lea...
https://peadrop.com/blog/2007/06/07/summer-of-code-weekly-3/
I can confirm it now, this second week of coding was even better. It was harder on my brain cells, though. I am mostly done with the StringIO merge. I now have working implementations in C of the...
https://peadrop.com/blog/2007/05/31/summer-of-code-weekly-2/