January 2012
1 post
Compass & Asset Pipeline Rant
<rant> Compass has moved into the area of asset management, stylesheet generation a long time ago. Yet asset pipeline is sort of interfering  with Goodness that compass is. New compass 0.12 promises to integrate more fully into asset pipeline engine, but it isn’t fair for many of the compass crowd to be writing suboptimal code for older versions of rails while they evolve at ever...
Jan 29th
May 2011
3 posts
Integrate nginx with upload , mogilefs and...
At the end of the post there is Portfile bit that you find on your system like so: find /opt -iname ‘Portfile’|grep nginx This allows to install 3 modules at once via variants option in macports. Install command would be: sudo port install nginx +passenger +mogilefs +upload You may place this file however in your home directory: /Users/jondoe/macports/www/nginx/Portfile and it...
May 18th
C2Go @ stanford
C has been the workhorse language for writing native code for projects likes of scripted language extensions, binding those to various libraries or just plain writing simple high performance systems utilities. Go is the new kid on the block and I did come across an article that sort of makes clear how to transition (at least for me) from C to Go programming. A quick skim might give you an idea...
May 11th
Not great error messages
Sometimes developers need to be a bit kinder to other developers. Such as telling them more about what is going on, if behaviour deviates from generally intended path of execution. Such as, when I have installed thinking-sphinx  in rails 3 app, i have gotten a message: found version: and that was it. Having this plugin used in the past and knowing that I had done fresh system reinstall...
May 8th
April 2011
2 posts
Great weather
The spring finally came, and the summer seems to step on springs toes. People are out, and the office is empty.some went to usa some tuo europe. Traffic volume has dropped three fold…
Apr 27th
nginx + upload + paperclip
Just recently I have tasked myself with supplementing image uploading mechanism with nginx’s upload module. Rails is written in pure ruby, so naturally uploading which implies decoding hundreds if not thousands kilobytes from a multi-part text stream into binary form on the disk. As if image manipulation wasn’t taxing enough - so decision was made to accelerate it with a well known...
Apr 12th
October 2010
1 post
Rails 3 & Railties
Rails 3 introduced a new package and a set of new conventions for plugin integration. You will need to be familiar with writing a GEM and Api that Railtie GEM provides. There is a number of excellent articles out there, I can recommend two of them one is GEM railscast and other is explaining Railties by example.
Oct 10th
July 2010
1 post
Django vs Rails Shootout
It is being delayed by one week, as real work takes precedence over software tomfoolery :)
Jul 4th
June 2010
2 posts
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...
Jun 25th
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.
Jun 25th
February 2010
1 post
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...
Feb 17th