You are what you code!

Normally, when you get motivated about contributing to an open-source project, or even get the courage to roll your own, the reasons traditionally announced are that open-source is fun and contributing back to the community is part of what the good guys should do. While this is true most of…

Solving your Arabic problems using the new HTML bdi element

Let's assume that you are getting a list of book titles out of a database and you want to print them in a nice <ul>. Every book's title and number of reviews it has received. You will be doing something roughly similar to the following: <html>…

Introducing Redique

I've been working on a very simple project that allow processes or computers to communicate seamlessly using Redis as a backend. I love Redis because it's very powerful, yet very simple to configure and use. Let's first understand the motivation behind redique The motivation is the need for a small,…

Use Virtualenv with IPython 0.11

If you are a Python hacker, most likely you will be using a virtualenv for your development environment, you are probably an iPython user. Unluckily, IPython doesn't pick the virtualenv paths by default and you will have to tweak it a little bit to make it work. Basically, this a…

My Startup Weekend Alex 2011 Experience

"An extraordinary experience with the top-notch geeks in the city and nearby cities" - That was my definition to this event "Startup Weekend" after participating a few months ago in SWCairo, I was pleased to launch Fakkarny and very excited to meet the top-notch geeks. That experience changed a lot…

Auto restarting python application

This is a cool sample on how to write an automatic self-restarting python application after a timeout, of course you can modify this application to be much more sophisticated so it can close all open files before restarting or restarting based on a signal (SIGHUP maybe?) or whatever you like…