Deployment tech for the hobbyist, again

TL;DR: Try Dokku if you want to run multiple toy web apps on a single server and keep the cost at minimum.

Dokku logo with name

Let's talk, yet again, about deploying toy web apps. I wrote about this topic many moons ago (see docker-compose in production part 1 and part 2), but …

Continue reading »

Phoenix, templates, and active navbar items

We build a web-app, and want the items on the navigation bar to be active when the user visits the corresponding page, like this:

An animated example of active navigation bar items.

I'm not saying that this is a complicated task in other frameworks, but it often feels "hacky". Here is a phoenix solution that feels pretty elegant …

Continue reading »

docker-compose in production - part 2

Few months ago I shared my experiences with docker-compose in production. Recently I faced another deployment and decided to use the same technique. This time I used it somewhat differently. In this blog post I would like to share the new experiences.

I started by following the process that went …

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 »

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 »

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 »

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 »

Web Audio API - some thoughts and experiments

For me, being able to use advance audio programming on the web looks like a dream just a couple of weeks ago, and I'm not the only one for sure. Doing audio programming, I've mainly experienced with Max/MSP and Pd but my interest in shared music creation / consumption and …

Continue reading »

"Hackita"

In the last few weeks I was participating in the first session of "Hackita", which means "The classroom" in Hebrew. This project aims to bring people from different backgrounds to learn and develop open source web applications together. Furthermore, the project is part of The Public Knowledge Workshop, and as …

Continue reading »