February 2012
2 posts
4 tags
Bravura - First Look
My latest project on GitHub.
Bravura - A Visualization tool for Time-series data.
It requires mongodb, numpy, and web2py. I plan on removing web2py dependency and ship it with some sort of self contained web server.
Apart from that, it uses Flotr, isotope, jquery and protoype on the front end.
I have committed the first draft. Its a shitty piece of code right now, but I mean to improve it...
To Shalu
var b = document.body;var c = document.getElementsByTagName('canvas')[0]; var a = c.getContext('2d'); document.body.clientWidth; with(m=Math)C=cos,S=sin,P=pow,R=random;c.width=c.height=f=500;h=-250;function...
July 2011
3 posts
2 tags
Shivling : Avoiding boilerplate in views in Django
I have been unable to find time to continue my Shiv series, however, a chat with a
friend(@arihersh) who has just started learning django reminded me of a small piece of code I had written sometime back. The chat went something like this
Ari Hershowitz:
I’d like to have html “widgets” that have certain actions, without having to create an artificial url + view to...
2 tags
Shiv The Third - Return of Tutorial
Continuing from my previous posts on Shiv, Shiv - A wrapper over Django and Shiv - Part Deux, I will now try to explain about various components involved in Shiv. In this post we will talk about Media and Element. In later parts, we will explore Tabs, Boxes, Widgets, Pages, and Caching.
An app using Shiv should have the following files
1. page.py: This will contain the definition for all Page...
2 tags
Shiv - Part Deux
After debating whether to release early or release well, I have settled for the former. I hope that once the code is out in the open and I get ridiculed for the lousy code quality, it will motivate me to find time more aggressively to correct and refine the framework.
I will try to find some time to continue my little tutorial of Shiv with sample applications in the next installment. In the...
June 2011
1 post
2 tags
Shiv - A wrapper over Django
I joined LazyZach as the first hire back in 2009. I was already in love with Python by then and when it came to deciding which technology to use, the answer was quite obviously, Django.
While Django does speed up development, I wanted something a bit more streamlined to my thought process. Having my “views” all over the place was definitely not the way I wanted to go. Plus, there was...