ipython and pip issues

so I am trying to use ipython as my python shell under emacs, since i started using python in emacs, i always encounter different issues, again and again, so i will use this post as a collection of issues and solutions. issue1: ipython shell imports quite some packages/modules/functions and as you may know, import searches current folder as well as the subfolders of the registered module, if there are file with the same name under the current folder, it overrides the file in the registered module, apparently, this causes problems of “import error, could not find …”...

June 9, 2016 · 2 min · Shelper

setup babun on windows for git and ssh

remove %HOME% (you can put it back later) download and install babun setup ssh, if you already have ssh keys in the ~/.ssh, copy to the ~ of babun shell and do eval `ssh-agent -s` ssh-add if not, copy the ssh pub and private keys to ~/.ssh or use ssh-add path/to/keys if you are using proxy behind firewall you need: add proxy for babun and change the user -agent (dont know why, but works) export http_proxy=http://gateway....

June 9, 2016 · 1 min · Shelper

design of a framework for scientific data processing

I have beening thinking of building such a framework for a while, I started a little project called pypeline. The code on github is not up-to-date. And I have some new thoughts on the framework design. So this article serves as a design documents and welcomes any comments or suggestions. Based on my own experience, I often want to process some data or image at multiple stage. Often, I want to change some parameters of certian algorithm to see how the outcomes are changed....

May 29, 2016 · 3 min · Shelper

using emacs for blog post using nikola and github pages

so it is a long story, to make it short, here is how it works step by step: install nikola using pip install nikola markdown webassets init nikola site by nikola init --quiet folder_name change the configurations of the default to your configurations just like below diff file shows: --- default conf.py +++ customized conf.py @@ -17,16 +17,16 @@ import time # Data about this site -BLOG_AUTHOR = "Your Name" # (translatable) -BLOG_TITLE = "Demo Site" # (translatable) +BLOG_AUTHOR = "Shelper" # (translatable) +BLOG_TITLE = "The Way As It Is" # (translatable) # This is the main URL for your site....

May 23, 2016 · 3 min · Shelper