December 2011
2 posts
The browser script tags
I recently saw the announcement of Google Dart being part of Webkit as patch. Lots of people really started yelling. This post is just an opinion and a wish-list.
I would love to see dart as plug-in to browsers rather than a patch to Webkit!
If Google is really looking forward to have Dart as next language for webpages; I think its time to open the Pandora box and again start using the long...
8 tags
The key value store everyone ignored (Postgresql)
Yes I know you are really happy with your “persistent” Key Value store. But did anybody notice hstore that comes along Postgresql. I find Postgresql to be a really great RDBMS that has been ignored all the time. It even has some great publisher/subscriber system as well (or LISTEN/NOTIFY in terms of Postgresql) that a lot of people may have implement using Redis, RabbitMQ etc. For...
November 2011
2 posts
4 tags
Oracle NoSQL simplicity and benchmarks
Today I will be doing the long awaited initial benchmarks of Oracle’s NoSQL. Before I jump in I would like to mention that I had a previous post on Oracle’s NoSQL that examines the philosophy and design of Oracle NoSQL store. It’s been few days I’ve been playing around with system. I found it pretty simple due to its major and minor key system; some great multi-get,...
4 tags
Oracle NoSQL First Impression
Today I finally downloaded a community version copy of Oracle NoSQL, I am pretty happy to see a market giant like Oracle in the NoSQL era (Now waiting for DB2 guys to come in too). I’ve used Oracle 9i way back in my history and have been using MySQL for like decades (almost daily basis) and I know how feature rich these platforms are. Now since Oracle has landed with their NoSQL...
October 2011
2 posts
RVM+Ruby 1.9.2+Thrift 0.7.0 = RRT = Really Really...
OK, so I am writing this post after a whole day spent in effort to get Thrift working on Ruby 1.9.2, so that I can run the Cassandra gem. Now what I always expected out of Gem system is breezy a experience. But today it was really rough. Now some people and Google results suggest that its due to my Ubuntu 11.10 distribution, but if its due to Ubuntu guys why ain’t anybody reported on Ubuntu...
I know you never wanted to die; neither did I want you to die. But I feel left...
– For Steve Jobs from Zohaib Sibt-e-Hassan
September 2011
3 posts
7 tags
A journey to center of Redis
I’ve been using Redis lately and I really love the work they have done. In one of my recent projects I had a typical scenario of having users on different channels, and since the old front-end (Javascript) was doing a JSONP through jQuery, I had to take in account for people who were not able to get back to channel due to some disconnection. Yes, its a typical scenario of...
The Node Redumption!
In my previous post I did some benchmarks for NodeJS vs Java’s NIO. For benchmarking I wrote my custom event driven loop handling, and parsing HTTP connections; and what else you can expect! Hell broke loose when the NodeJS fans read that. They had sort of weird comments and objections. From those all the weirdness I learned a few things. Things that were pretty simple and straight forward....
3 tags
Node on nails!
Before I start this post let me be very clear and precise “I am not advising you to leave NodeJS or shift to Java [PERIOD!!!]”.
I’ve been in this debate and there is a misunderstanding among my geek friends that NodeJS is the future and blah blah blah… I totally love Javascript (No bragging I have a history of being Javascript expert and I’ve been writing some love for JS too); there is no...
July 2011
1 post
5 tags
LevelDB vs Kyoto Cabinet my findings
I’ve been pretty excited about Google’s LevelDB, not to mention there are some really old tanks already in the battle field like BDB, Tokyo Cabinet (Kyoto Cabinet as new one), HamsterDB etc. Fortunately I’ve already worked with Kyoto Cabinet and when I looked at the benchmarks I was totally blown away. I have a strong prejudice to name Google, but the benchmark results were way...
JRuby vs Ruby the 2011 shodown
Well its been long time and I’ve been sitting quite in a corner waiting for this loud fight between the two Rubies to end. I once had a debate with one of ruby pro (when 1.9.1 was newly out) that JRuby can always stay ahead in speed (There are a-lot details available on how it does that for example this one). I had to start a project recently and choose a platform; ruby was obvious choice,...
April 2011
1 post
5 tags
Yet NOSQL dogma
Recently I posted some benchmarks on how can you tame MySQL to get the Key-Value behavior, (You can do almost same to get that column family behavior its all about your imagination *grinnn*) lets bullet down exactly what I meant when I used MySQL with HandlerSocket:
First and foremost whatever you write or read is on disk (persistent)! Its not living in volatile memory (until you really make your...
February 2011
2 posts
Compiling TokyoCabinet with Java API under Ubuntu
Duhh… It may waste a little time (Java part only) so I thought better make it a blog post; so that everybody can save some time.
Get your copy of TokyoCabinet and Java API ( both are available on same page ) and extract them; First you will have to compile TokyoCabinet and that I think is pretty simple; I compiled my copy disabling bzip and enabling 64 bit offset like this
./configure...
The NoSQL Dogma
Every dogma has its day — Anthony Burgess
And yes I’ve been living the NoSQL dogma! The technologies like HBase, Voldermort, CouchDB, and a huge list of others (each designed for a particular scenario) made me believe; that my favorite RDBMS MySQL has grown old and it can’t handle my data anymore. When ever I encountered the API’s of these noSQL tools, I realized...
January 2011
1 post
Puny standalone JavaScript custom PubSub events...
I’ve been always fascinated by the power of JavaScript. Recently I had a tour to Ruby and the event machine. I’ve got to say Ruby stands no where near the power and flexibility of JS (Gosh I am in love again). There is a list of custom event system available including ones from famous giants like jQuery, Mootools, YUI. The whole idea of having an event published, and subscribers...
December 2010
1 post
3 tags
FITBJS template engine - Ultra thin
Theory:
Last few days I’ve been looking a template engines and came across some really fine and sleek solutions including PURE, EJS, Jhon Resig’s Micro Templates, jsTemplates, YAJET and a list of on going ones. I was constantly in pursuit of simplicity, minimality! To sum up engines claiming micro were just and overkill for my scenario. Templating at times is pretty trivial a simple...
November 2010
1 post
Flash or HTML5 the digibats!
Flash is no longer necessary to watch video or consume any kind of web content
Apple CEO - Steve Jobs
When you’re displaying content, any technology will use more power to display, versus not displaying content. If you used HTML5, for example, to display advertisements, that would use as much or more processing power than what Flash uses.
Adobe CTO - Kevin Lynch
After the dog fight there...
October 2010
2 posts
Playing around for javascript classes
Closures is a well known methodology to have public and private variables under JavaScript objects(in my opinion I think we exploit the closure technology). After spending some long time Mootools class module (I simply love it), PrototypeJS, JS.Class , and Dojo I asked myself; why can’t I have same JSON styled public, private structure? The exquisite way I used to do...
Bluraity →
Library emulating the blur effect on your HTML elements. I consider it to be the step into future of HTML, that will eventually lead to a CSS property may be something like:
blur-radius: 3px;
Use cases can be many ranging from gallery scripts to HTML forms.
September 2010
1 post
IE 9 b5 vs FF 4 b5 vs Chrome 6 vs Opera 10.61
Ok since last night I have been listening and watching that IE 9 beating Firefox and microsoft doing some really unfair comparison on there site. So I thought why not give it a shot my self and give Firefox a fair chance to compete with other browsers (excluding Chrome since its already fast chrome 7 is even more faster on GPU) and have the so called SunSpider benchmark quoted by engadget myself...
August 2010
1 post
1 tag
Sympathy… save it for others not for yourself!
Moousture in future
It has been months since the release of Moousture; and its time I should speak-up about the library itself and the future it may have. Honestly speaking, after the release there has been a good as well as some bad feedback; but the good feedback and the “WOW Factor” was always dominating yet the bad feedback included fear and people not ready to accept a new way to interact with...
July 2009
2 posts
About Dynamic JS Loading
While loading Javascript from an external sources and hand embedding the script tags I came across the browser’s behaviour when they are asked to load a .js file. Studying the famous Steve Souder’s book “Even faster websites” I came across some of the main concepts on how browsers load stuff up and the optimizations. Although modern browsers are improving at a great deal...
7 tags
Mootools Cross Domain Ajax Requests
Recently I came across the issue of Cross-Domain ajax requests. Since I am a mootools lover I started looking over for some adapter that can help me do that. I came across many solutions which apperantly seemed to work. The flXHR, Fjax they all seemed to be there but I was already using mootools in my project right? Why should I write the boiler plate onreadystatus change when its already done! Ok...