August 10, 2010
Glucose & Other supplements for mental activity

Software development is very mentally demanding activity - yet physically we developers tend to move around very little. Some of us are enrolled in sports programs some do DIY running and what not. It is known that mental activity drains levels  of glucose in the blood. Low glucose prompts us to get something to eat - imbalance of insulin and glucose is the way body knows it is the time to get something to eat. Therein lies a trap - people who utilize the brain, more then anything else consume mostly glucose from the blood stream. But when we go out to eat we get “balanced” meals - carbohydrates, proteins and some sugars. When we get back to our place of work - we keep on using up the glucose but little of the rest of our meal goes anywhere but into fat.

I believe that body is just a machine and although wholesome nutrition is great for people who work in non-office jobs, rest of us office desk & keyboard jockeys have look into tweaking diets. For example taking glucose supplement pills with our coffee - so that we can let our insulin work on breaking down healthy complex carbohydrates that we took in the morning(likes of oatmeal).

Next time you go to your department store I recommend getting glucose supplements and drinking your coffee black with a few pills of glucose.

July 3, 2010
Django vs Rails Shootout

It is being delayed by one week, as real work takes precedence over software tomfoolery :)

June 25, 2010
scrollWidth & jQuery missing it

With animating certain parts UI, one comes to appreciate el.getScrollSize() in mooTools pretty fast.

jQuery is missing this function. How it looks in mooTools.

2432     getScrollSize: function(){

2433         var doc = getCompatElement(this), min = this.getSize();

2434         return {x: Math.max(doc.scrollWidth, min.x), y: Math.max(doc.scrollHeight, min.y)};

2435     },

There is a plugin for jQuery that does enable different sizing patterns. I would think it to be essential since javascript is enabling transition active web apps from Flash to HTML5.

June 25, 2010
Rails & Django

Over next week I will be picking up bits of Django. And writing comparing ORM, Template Engine, Url routing and other components of two of these popular frameworks.

February 17, 2010
node.js is pure awesome

node.js is catching attention of many web developers. It seems that it will primetime sometime this summer when market demand for Web 3.0 apps will materialize. Key selling point of node.js is brutal efficency in terms of small bits of data, short requests.

Alot of people seem to have varying ways of defining Web 3.0, node.js I think will be the kind of backing technology for such a beast. Plurk sort of showed us how it will all be, even though its a bit quirky. 3.0 with be defined by javascript heavy client side apps (utilizing HTML5 when it comes) or using crutches like JQuery & MooTools to provide crossbrowser platform. node.js couples wonderfully to with Javascript on client side, and can provide realtime data, by the time WebSockets will come around.

Because node.js is javascript and much of active pseudo-application like content (AJAX & more) is backed by javascript, it will allow to reduce costs & complexities as Java promised and JavaScript (dare I say ECMA Script ? ) has delivered. JSON is already the most popular format for many people, as XML is highly complex. Most just hate it. JSON format is essentially Javascript.

Node.js follows a paradigm change in web request processing, initiated with nginx a project written to replace Apache. Node.js uses event driven processing and non-blocking IO/Database access to achieve efficency that we could only dream of. V8 JIT technology boosts performance quite a bit as well. And performance is improved by an order of magnitude. Yes, that it is around 10 times faster then comparable solutions with Ruby or Java.

Check out http://nodejs.org/

Liked posts on Tumblr: More liked posts »