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 »

Continuous integration and delivery with travis-ci and codeship

Travis vs. Codeship

Generally speaking, continuous integration (CI) is the process of running your test suite automatically when you push code to your repo. Continuous delivery / deployment (CD) is the process of deploying the new code to your server whenever you push to specific branches in your repo. There is enough information about …

Continue reading »

Open your eyes

My band, Malinka, released a new video. It's the first release from our live session at Mooki's Raphsoda, so expect more to come... Meanwhile, you can come and here us live:

  • This Monday (16.5) in Hudna bar, Tel-Aviv.
  • Next month (14.6) in Freddi Lemon bar, Jerusalem.

Continue reading »

Video demo of my Sign-language project

This project convert sign-language / gestures to speech. You can read more about it on github or in my site. I just uploaded a video demo of the project. Feel free to comment.

Continue reading »

docker-compose in production

Deployment sucks! I'm not a dev ops / sys admin type of person, and every time I'm into deploying a web project I start to rethink the whole process and get confused. Recently, I decided to restart the work on one of my older django projects, Xteams, and one of the …

Continue reading »

My new portfolio site

I have a new site!

My portfolio header

The site was created to present the different projects I'm working on as a portfolio. I will keep posting ideas and explorations here. But I feel that a site with a proper home page and unique design (compared to this blog, at least) will present …

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 »

Back to music with Malinka

It's been a while, but recently I started playing bass guitar in a band again. The band, "Malinka", is lead by Stav German, and we have our first live show next week in Tel-Aviv. Feel free to hear, comment, and come to the show, it's free.

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 »

Writing a programming book? Don't compose an utility library!

I came across two books recently, in which the authors decided to write an utility library. The first book was Python in Practice, by Mark Summerfield (my opinion about the book can be found here), and the second, which I'm still reading, is Doing Bayesian Data Analysis, Second Edition, by …

Continue reading »