Posted on April 25th, 2010 by Yousef Ourabi
# Digg has releases ‘clusto’ their cluster management system written in Python. “Clusto is a cluster management tool. It helps you keep track of your inventory, where it is, how it’s connected, and provides an abstracted interface for interacting with the elements of the infrastructure ”
Clusto on GitHub
# SQLAlchemy 0.6 has been released.
SQLAlchemy 0.6
# stdeb [...]
Filed under: Programming | View Comments
Posted on April 17th, 2010 by Yousef Ourabi
Some useful links from over the week
Armin Ronacher has released a new micro-framework called “Flask” inspired by Ruby’s Sinatra framework
Flask 0.1
Flask on GitHub
Flask Project Page
Paul Bohm released “Tragedy” a high-level Cassandra Object Abstraction for Python.
Tragedy on GitHub
Johann Rocholl gave a presentation to the Seattle Google Technology Users Group (GTUG) on profiling and performance tuning App [...]
Filed under: Programming | View Comments
Posted on March 19th, 2010 by Yousef Ourabi
Jeremy Zawodny has forked Redis on GitHub and pushed an interesting patch that adds support for the “include” directive presumably to make splitting up large configuration files simpler.
Check the redis fork here: Redis include directive fork
Filed under: Programming | View Comments
Posted on March 17th, 2010 by Yousef Ourabi
So I watched a slideshow where an author (name intentionally omitted) had a snippet that iterated over a list. That’s all well and good, but one thing that bugged me was that it checked for the length of the array first, and then iterated.
list_len = len(mylist)
if list_len > 0:
for item in list_len:
…
This just feels wrong [...]
Filed under: Programming | View Comments
Posted on September 8th, 2008 by Yousef Ourabi
The Schema Migration panel by: Simon Willison, Russ Keith-Magee, Andrew Godwin, and moderated by Michael Trier was an interesting sampling of the various methods used in schema migration.
Simon Wilson presented dmigrations . Installing dmigrations is as simple as installing it in INSTALLED_APPS, and it will registers a few custom admin commands:
./manage.py dmigrate app APP_NAME
./manage.py dmigrate [...]
Filed under: Programming | View Comments
Posted on September 7th, 2008 by Yousef Ourabi
A follow up to the “Inside the Django ORM” speak, Malcolm Tredinnick gave his second talk Sunday on Django Code design and patch writing (Aka Code Quality, Patch Quality).
After reading around 6000 bug tickets, certain patterns have emerged in the submitted patches…
Code Quality Matters — funny quote from Leah Culver: “Have you every written a [...]
Filed under: Programming | View Comments
Posted on September 6th, 2008 by Yousef Ourabi
Malcom Tredinnick gave an awesome presentation about the Django ORM.
The code for the ORM is located in django/db with juicy bits in the following locations:
django/db/models/query.py (public queryset API)
django/db/models/sql/* (Public API->SQL conversion. Deep dark internals. Does’t know DB, knows SQL)
django/db/backends/* (Individual DB wrappers, third-party wrappers possible. This is where you actually talk to the DB). See [...]
Filed under: Programming | View Comments
Posted on September 6th, 2008 by Yousef Ourabi
Presented by: Christian Hammon, David Trowbridge
Review-Board is a python/django based code-review application. In 2004 VMware was approx. 600 employee’s and already had a rigorous code-review process in place. At first simple HTML snippets were emailed around. Fast forward to 2007 and the company had grown to 5000 employee’s, and the previous system of email around [...]
Filed under: Programming | View Comments
Posted on September 6th, 2008 by Yousef Ourabi
I’ve been really, really inactive in posting. That is going to change. I’m currently at DjangoCon 2008, and will be posting a few things about some cool new things I’m learning about.
More soon.
Filed under: Programming | View Comments
Posted on August 9th, 2008 by Yousef Ourabi
The Django foundation has pushed out the second alpha release of Django 1.0 , see the blog post here
Earlier in the week I received “Practical Django Projects” in the mail — chomping at the bit for enough time to get into it.
Exciting times.
I wonder if there isn’t some room in the Django ORM back-end [...]
Filed under: Programming | View Comments
Posted on August 1st, 2008 by Yousef Ourabi
Languages that do not have native boolean data-types that let you branch on non-boolean data types evaluate all non zero values as “truthy”, (-1) evaluates to true. You might be wondering, as I did, why that is? After poking around and looking at some x86 assembly instructions, I suspect it is a compiler optimization.
At [...]
Filed under: Programming | View Comments
Posted on July 13th, 2008 by Yousef Ourabi
Robert Lofthouse and Jacob Kaplan-Moss have just announced the first DjangoCon over at the Django Blog
It will be hosted the weekend of September 6th and 7th at the GooglePlex (Mountain View, CA). Since this is the first conference (and hosted at Google) space will be limited to 200 attendees so I suggested putting the Django [...]
Filed under: Programming | View Comments
Posted on July 12th, 2008 by Yousef Ourabi
Django 1.0 is scheduled for release this September and I was surprised to see that one of the upcoming sprints (July 25th) will be in Sausalito — I’m interested in going, but not sure I can get away from work for an entire day.
http://code.djangoproject.com/wiki/SprintSausalitoJuly2008
Filed under: Programming | View Comments
Posted on July 3rd, 2008 by Yousef Ourabi
I’ve been super busy lately barely finding the time for the mediocre updates I have posted. My team-mates and I have been working on a revamp of a major advertising platform and it’s a lot of work.
In the mean time check out GNU Common Lisp (CLISP) which just pushed out version 2.46 today:
http://freshmeat.net/projects/clisp/?branch_id=1341&release_id=280569
Filed under: Programming | View Comments
Posted on June 17th, 2008 by Yousef Ourabi
I just stumbled across HiveDB an open source project that allows horizontal partitioning (sharding) for MySQL…
Check it out: http://www.hivedb.org/
Filed under: Programming | View Comments
Posted on June 16th, 2008 by Yousef Ourabi
it looks like Django 1.0 will be released this september, from the django blog:
We’ve just published a roadmap and schedule that brings us to a 1.0 release on September 2nd, 2008.
The big feature will be merging the newforms-admin work into trunk… awesome, can’t wait.
Filed under: Programming | View Comments
Posted on June 16th, 2008 by Yousef Ourabi
The next release of Hadoop (0.18) will likely have Java6 has a requirement, thus forcing the Hbase project to adpot the same requirement. The current Hbase release is 0.12, and this will probably only affect 0.3, so it’s a ways off — just be ready.
Here is the HBase Jira issue: https://issues.apache.org/jira/browse/HBASE-636
Filed under: Programming | View Comments
Posted on May 22nd, 2008 by Yousef Ourabi
I’m really about to geek out on you — I’m going to (complain) compare the Google App Engine configuration file (app.yaml) to the Django setting.py.
Simon Wilson of OpenID and django-openid fame wrote a post on logging in Django and got me thinking a long these lines.
App.yaml sucks. Why? Because it’s not really “pythonic” and [...]
Filed under: Programming | View Comments
Posted on April 28th, 2008 by Yousef Ourabi
Django Developer (and the man behind djangosnippets.com) posts his view of the “must have” list to work towards for Django 1.0
http://groups.google.com/group/django-developers/msg/c2be209a9f10ff30
Filed under: Programming | View Comments
Posted on April 27th, 2008 by Yousef Ourabi
The Django team has knocked off one of the milestones for the 1.0 release — Changeset 7477 merges the queryset refactoring effort into django-trunk.
The goal of the queryset-refactor branch was to add a layer of special sauce to the Django ORM and make it easier (possible?) to (among other things) have model inheritance.
Here is a [...]
Filed under: Programming | View Comments