bibo, the command line reference manager, is in beta now!

bibo beta release banner

bibo is a command line reference manager with a single source of truth: the .bib file. It is inspired by beets. After 3 years in the making I believe it's ready for other people to use.

What are the advantages over mendeley / zotero / etc. you ask …

Continue reading »

Getting started with Python for data analysis

Python books covers

A few days ago another friend asked me to recommend reading materials to get started with python. Yesterday, I saw this tweet.

"When you’ve written the same code 3 times, write a function. When you’ve given the same in-person advice 3 times, write a blog post" - David Robinson‏

So here I am, writing this blog post.

A short disclaimer: I like learning from books, but I know that it doesn't work for everybody. So my recommendations …

Continue reading »

Python vs. elixir for a web-app wrapper for a script

Python vs. elixir

I'm a facing a project with the following requirements:

  • An existing script should be wrapped with a web server.
  • The script takes 10-30 seconds to run, so just let the user wait for it to complete.
  • Multiple users should be able to call the script concurrently.
  • Make sure to protect …

Continue reading »

An Even Better Pip Worflow™

The 9th major version of pip, the recommended tool for installing python packages, was released two days ago. I took a short look on the changelog to see what's new. At first, I couldn't notice anything that will change my current workflows. Usually, the important changes are listed first, but …

Continue reading »

Migrating to python3

I was recently asked, by my boss, about the possible benefits of migrating our code base at work from python 2.6 to python 3. Instead of sending an email back to my boss with my answer, I decided that it worth a blog post. Why? because the internet is …

Continue reading »

Poor man's trick to add and remove conda from $PATH

Conda is great for managing dependencies as matplotlib and scipy: try to install these with pip, in a virtualenv, and you will be convinced that conda is better in that regard. But! Somehow, the folks at continuum analytics decided that using conda should override the default python environment (the system-wide …

Continue reading »

My Jupyter (tmpnb) server and Thebe

Notice: code execution in the browser is currently broken

%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
from IPython.html.widgets import interact

def plot_sine(frequency=1.0, amplitude=1.0):
    plt.ylim(-1.0, 1.0)
    x = np.linspace(0, 10, 1000)
    plt.plot(x, amplitude …

Continue reading »

Python readings

I usually learn anything new by reading books. In fact, I got almost all of my python knowledge (which is not a lot, I'm just an apprentice programmer) by reading python books. A year ago I've started to learn web development from Udi Oron in Hackita (my impressions here), and …

Continue reading »

Create teams easily with Xteams!

Playing volleyball

I've been playing volleyball recently with a group of amateur players. In the last two months the size of our group has increased so much that it became very hard to create teams. And if you think that size is the only issue I can assure you that there are …

Continue reading »

Some experiments with SimpleCV - object detection by color

Computer vision is way far from my daily interest. But last weekend I participated in a semi-hackathon, developing code that aims to detect and track cards by their color.

Credits deserve to this guy. I've used his code as a reference and a starting point.

It is my first experience …

Continue reading »