Archive for the ‘Technology’ Category

Simple MapReduce with Javascript

The best way to understand MapReduce is to actually see & feel it in action. Following is the simplest possible example I could cook… (Gist link)   var Job = {     data : [           "We are glad to see you here. This site is dedicated to",     [...]

Why jQuery.proxy rocks my world!

Its been very recent that I’m seriously looking into Javascript – and trust me, there is no dearth of stuff that can be achieved with purely client side code (HTML/CSS/JS). With the modern browsers churning out best of the breed in JS environments (both headed & headless), everything is going to come to a browser [...]

Faster HTML and CSS – My Learnings!

Faster HTML and CSS: Layout Engine Internals for Web Developers (@GoogleTechTalks) I think I never cared about these – but the way David Baron from Mozilla describes these, I think I will now. The points he was making started seeming so crucial that I jotted them down as if taking notes – something I never [...]

An IDE which suggests best code practices, shows a diff and lets you selectively apply…

Speed up firefox, vacuum your firefox sqlite3 db

Firefox is agreeably slower than most other browsers (specially Google Chrome) – even on my Ubuntu. Here is a great tip – after deploying which, I did felt the response time for cold startup and the UrlBar get better. And here are the results… for file in `ls *.sqlite` do  ls -lh $file  sqlite3 $file [...]

Startup Lunch – This Friday!

Ever experienced Speed Dating? As finding friends/partners is to Speed Dating, finding investors/future-employees is to Startup Lunch. Startup Lunch is an initiative on the lines of (and by) Proto.in and in concept, is very similar to speed dating. The startup founders are seated on one side and the candidates get to say hello and have [...]

Issues, issues and bugs – squashed!

This weekend, I was bogged down with concurrency related problems with ApnaBill.com – all of which were solved with the 62nd svn commit. Different scenarios which we thought could have been possible User A and User B both attack the same coupon at same time User B tries to lock a coupon which was previously [...]

How to effectively deal with a redirecting Payment Gateway and prevent a possible DoS

I am at a position where I have to think in advance that how should I be coding the interactions with our (redirecting, not API based) payment gateway. What can be the best design practice – for us (as a coder), for our website (as a product) and for the end user (usability). Keeping everything [...]

Opera Mini 4 – Early morning review :)

Its 6:33 AM now & I was about to go to bed before mom offered to make me some tea so I decided to pick up bro’s laptop & was checking out J2ME design patterns when I saw Opera Mini 4 Beta release news on Airlan San Juan’s Blog. I decided to give it a [...]

JavaFX in action…

JavaFX running on my Ubuntu desktop JavaFX from Sun – what makes it more interesting is that there’s also a Mobile version. To try running the examples – head over to the OpenJFX website. You’ll need the javaws (Java Web Start) to run the examples.