// This is used in the local environment. comment this when deploying to Unix box
// File propertyFile = new File("Some.properties");
// This is used when deploying in Unix this is used.
File propertyFile = new File("/home/mr.x/secrtet/prod.path/some.properties");
Above code is self explanatory. Too good code and superb documentation ;) .
If someone asks me what is the best practice to finish a software project successfully, I say “Keep it simple”. Well you heard it many times. But actually did you follow it. In fact its quite simple to keep things once you leave your ego and selfish thoughts away. If you think I am just bullshitting I can make you agree by the end of this blog. Continue reading
Today Google has announced beta release of “Google web designer” – “Create engaging, interactive HTML5-based designs and motion graphics that can run on any device.” Like any other google product, webdesigner is quick to download and install. Quite amazed with the ease of installation and I have immediately started building small web page with it. But after just 10 mins I realized that this tool is not a web design tool but “Ad Designer” or you can call it as “Ad Studio”. This is not at all for developers. This is a tool for advertisement agencies to design animated ads to publish on google ads.
Google continued to be the master of simple and most user friendly design. Tool UI looks awesome and it has a light weight feel. But my excitement ended here :(. I was expecting a good tool to quickly build html pages. But its timeline , 3D drawing and color palette features are clearly suggest this is not for creating a web page which is more of contents than animating things around.
Except some simple animations, most of the animations are nothing but a match (geometrical) function. Not sure how much this tool can help developers to create animations even. Lets see what google would add to make it more web designer tool.
I have started my journey with Ruby last week with a new shiny mac book :) . This is the first time I am using mac and I am new to Ruby ecosystem as well. So I have deployed RVM (Ruby Version manager) to upgrade the default ruby from 1.8.3 to 2.0.0. That is when I got this error “Error synchronizing MacPorts sources: command execution failed”. Spent almost 2 hours trying to find the issue. So sharing it so that I can save your 2 hours :).
Building prototypes is one of the common trick to win projects in IT industry. One of the common prototypes we build are set of html files with navigation and some AJAX way of loading components. Because of the browser security, its not possible to do it via Ajax. Also its not correct to ask client to deploy these files on a server and check. Especially when you are trying to win the project this is not the option. Our prototype should be up and running with one click and ready to be to be explored with out any extra installation. Following are the two tricks you can use.