Thursday, September 14, 2006

Inception of a Hack

By some evil twist of fate, Me, Premshree, Gopal and Teemus ended up eating dinner at garuda last night and Teemus ended up paying for it, and if you know teemus, you know that money is one thing that Teemus takes seriously. :)

On our way back we were discussing what everyone was doing for the Hackday. I am going out of the country, and Gopal and Prem, out of the city.Teemus was still cribbing about us not returning his money and Gopal suggested we write a Web to point oh app for it. A intranet application for keeping a track of money borrowed or spent and returned. Debt-o-matic.

Back in the office, it was time to have a couple of coffees and get to the design board. Double entry book keeping isn't as easy as it seems. But, We quicky froze a feature set and came up with a simple Mysql schema. It was around 1:30.

Things were going great, I wrote the sql, Premshree was ajaxing, teemus the API and front end and gopalv was generally jumping around being hyper ... which kept us from dozing off, if it were not for him we all would not be coding.

Three coffee breaks later, around 5 am in the morning we had a working version. We borrowed and loaned money :) Teemus was still applying CSS love.

At home at 6 o' clock we slept like happy hackers.

Comments:
Well, did you try to come up with a more intelligent debt-o-matic? If person A owes money to B who moneys to C who owes money to A, can you up with some simple algo to decide what is the best way to figure who owes whom how much with the least no. of transactions? This would work better for a case like A needs to give B 100, B owes 100 to C and C needs to give 100 to A.

Think of a group of friends/room-mates who hang around together and each one in the group owes money to someone or the other within a group.

And oh yeah, my bad if you already have incorporated this into your hack.
 

@hitesh: %^&* !

Oh, yeah ... great minds think alike. That was the "extra feature", which made us write this tool :)
 

:D Dude! we already thought of it.
 

Gopal and you still owe me 100 rupees, bitches.
 

You guys could have used money share:

http://freshmeat.net/projects/mshare/?branch_id=41380&release_id=166753

No ajax, no mysql ... it just works :)
 

@sharninder

Where's the fun in installing something from somewhere ...
 

@t3rmin4t0r:

I agree. I also wrote my own app the last time I needed a way to keep track of my machines in the lab :)
 

This post has been removed by a blog administrator.
 

inspiring stuff, i like the idea of night long hackthons meself to make my widgets...can be lot of fun... so u guys to y!'s hackday... envy y'all ,hav fun! 8 )

Keep Clicking,
Bhasker Kode
 

where is the demo ?

Kalyan
 

@kalyan

it's on teemus's box inside the corp network.
 

Post a Comment



<< Home
Earlier Stuff:

June 2004   August 2004   September 2004   January 2005   February 2005   April 2005   May 2005   June 2005   July 2005   August 2005   September 2005   October 2005   November 2005   December 2005   January 2006   February 2006   March 2006   April 2006   May 2006   June 2006   July 2006   August 2006   September 2006   October 2006   November 2006   December 2006   January 2007   February 2007   March 2007   


Trichotillomania: Spo0nman