November 13, 2009
Something about Google Wave
November 10, 2009
The Art of Presentation
I recently had a chance to entitle myself for one of presentation skills enhancement training, and to my surprise the outcome was awesome.
Although possibly its just because my trainer was an expert guy with nearly five years of experience in brushing IT heads to the limit.
I saw a variety of people there, some were good tech geeks but they really lacked the art of presentation. I am highly impressed with the way he helped us overcome the notational fear of standing on stage.
The purpose of this post is to express my gratitude and resemble certain details which can be useful for any human being who is social and lives in society
Points to do before any meeting of presentation
- Always make sure you reach early enough
- Check all the arrangements like Mic, Projector, Lightning of room
- Make sure of your position, so that when you speak you are visible to everyone and everyone else can see you
- Always keep backup of your important documents on some second location so that last minute call, you can collect it from there
- your content according to your audience
- if your audience is a newbie plan accordingly
- relevant visuals to suit your content
- will keep lasting effect on the people, rather than just hearing
- (What people hear, they forget, what they see they remember , what they do they never forget)
- not put lot of text or complete explanation to your ppt slides , that people can merely read it out.
- sure you have enough time for questions, because if you end without giving a chance to ask questions it can be a closed ended presentation.
- Every time and in every presentation there are three forms of demonstrating or displaying information
- Must Know (necessary or must be provided)
- Should Know (statistics or relevant helping info)
- Could Know (can be shared with the audience but not a part of presentation)
How to start your presentation
- Always start with an introduction
- make sure you stand in right posture
- Do not use (Basically | Actually) it kills the interest
- Tell them what you have for them
- Mention your targets and boundaries
- Keep your laptop or organizer accessible to you, so that you don't keep running around on stage
- Always keep a stimulus eye contact with all the audience so that they are notified of you watching them
- Keep a small smile on your face
- Be gentle with your tone, do not increase the tone with no reason
- Always raise your tone, specifically you spell an verb or Noun (Like The Conceptt'tt is implementeddd successfully for more than 200 companiesss)
- so when you stress on some words, your gestures must match the words
- Speak with opening your mouth, so you speak at average rate and its audiable
- Make sure you have covered topics, necessary for the audience
- If you forget something, just don't try to remember it, as your audience never knew what you were suppose to say
Finally I end this post, with a small and useful proverb I was shared by my Trainer
"Great presenters aren't Born, They are trained "
by Kevin Kuri
Best Of luck..
Thank-You
August 16, 2009
libmysql.dll error with rails 2.2.2 and mysql gem
so i started with installation of ruby as always, got all gems with it, downloaded the MySql gem as they have removed the bundled gem of MySql with rails 2.2.2.
Now when i run gem install MySql-1.7.3 mswin32, i used to get an error saying cannot install Rdoc as # character found on line 71.
agreed i don't need Rdoc, so i thought may be the gem is successfully installed, but to my surprises, i saw the gem has [extconf.rb] file and no dll found in bundled installation.
after 29 hrs of struggle and some good experiences in past i was able to recognize that i had to add the [libmysql.dll] file from MySql bin folder, to this place where the gem is installed.
i figured this out and got my problems resolved.
now i have certain questions to David,
I agree mysql is moving out of the open source community so may be he removed the gem from rails bundled resource, agreed but why there exists no proper documentation which can guide the naive user with this change.
Neither the guys who developed MySql adapter have taken care of copying the [libmysql.dll] file from MySql root folder to gem installation folder.
I also searched the internet for some help, but I was not sure of the posts telling me to do lot of re-installations and get this issue cured.
so expect with rails being so popular and dynamic, how hard it would be to find the mysql installed on system and copy the dll to required location.
I don't know if this knocks the right doors, least it can help may developers like me who are stuck with installation process pose them right way.
so guys if anyone faces a similar problem then please copy your [libmysql.dll] file from MySql root location to gems/mysql/lib/ folder... restart system and you are set to go :-)
May 9, 2009
Nginx with THIN
Just to ensure that this combination works fine, you need to have an upstream server configured provided by various web domains.
Configure Thin for your System
Each application will have a configuration file - this is similar to having a mongrel_cluster.yml in a Mongrel setup.
There are a number of options for how you configure your applications to be started/stopped - we prefer creating a directory for all Thin instances and then using the init script to control them. This is baked right in - to create the /etc/thin directory and install the init script simply run:
$ sudo thin install
Then, to configure thin to start at system boot:
on RedHat-like systems:
$ sudo /sbin/chkconfig --level 345 thin on
on Debian-like systems (Ubuntu):
$ sudo /usr/sbin/update-rc.d -f thin defaults
on Gentoo:
$ sudo rc-update add thin default
Configure Thin for your Application
To generate the config file you can run the following from within the root of your application:
$ sudo thin config -C /etc/thin/.yml -c <rails-app-root-path> --servers -e
Replace
$ sudo thin config -C /etc/thin/myapp.yml -c /var/rails/myapp --servers 5 -e production
This will generate a configuration file in the /etc/thin directory we created earlier. This file will contain something similar to:
---
pid: tmp/pids/thin.pid
timeout: 30
log: log/thin.log
max_conns: 1024
require: []
environment: production
max_persistent_conns: 512
servers: 5
daemonize: true
socket: /tmp/thin.sock
chdir: /var/rails/myapp
You are now ready to start the thin service (which will start all of the Thin's configured in the /etc/thin directory):
on RedHat-like systems (you will need to substitute the relevant command to start the service on other distros):
$ sudo service thin start
Setup Nginx
If you already have Nginx installed (perhaps if you're moving over from Mongrel) then you can skip this step.
Installing From a Binary
Some operating systems have binary versions of Nginx available.
Windows
http://www.kevinworthington.com/nginx-for-windows/ (0.6.35 at the time of writing) is compiled currently for 32-bit Windows systems only and has been tested for Vista, XP, and 2000.
Ubuntu/Debian (Linux)
The version available for your setup can be determined by using
$ apt-cache showpkg nginx
Then, to install, run
$ sudo apt-get install nginx
Installing From Source
To install Nginx from source, grab the latest stable version of Nginx (0.6.35 at the time of writing) and build it:
$ curl -O http://sysoev.ru/nginx/nginx-0.6.35.tar.gz
$ tar xzvf nginx-0.6.35.tar.gz
$ cd nginx-0.6.35
$ ./configure --sbin-path=/usr/local/sbin --with-http_ssl_module
$ make
$ sudo make install
$ sudo chmod +x /usr/local/sbin/nginx
This will put the binary at /usr/local/sbin/nginx (otherwise it will live under /usr/local/nginx/bin)
The configuration file will, by default, live at /usr/local/nginx/conf/nginx.conf - you can change this when building if desired.
We also use an init script to start and stop Nginx - courtesy of Geoffrey Grosenbach and Ryan Norbauer.
Grab the init script and install on your system as a service as before.
Configure Nginx to talk to Thin
The next step is to configure Nginx. The sample configuration will setup a single site using a cluster of Thin's over the unix socket interface. To use this config, ensure the paths are correct for your system and change the hostname and you should be good to go!
September 24, 2008
Coding Guideliness in Rails
The best part of rails is its truly flexible in terms of various programming paradigms. So for better coding standards we can use the below given styles and make our life easy, the best part is rails make code in human readable form.
Use the below given guidelines:-
Use Active record finders.http://weblog.jamisbuck.org/2006/10/7/helping-activerecord-finders-help-you
Use named_scope for finding nested models.http://ryandaigle.com/articles/2008/3/24/what-s-new-in-edge-rails-has-finder-functionality
Pass params as params not @params.
@params is deprecated, in rails 2.x versions.
Only have instance variables which are needed in views.
Create local variables which are needed within methods.
Keep all initializers in config/initializers file.
Keep simple routes by using namespaces & resources.
Use proper rdoc commenting for documentation purposes.
Use understandable naming convention for methods, variables & other definitions.
Generalize structure before you start, like have certain flow diagrams which will help in better coding.
September 9, 2008
Sony Erricsson P1i
P1i is basically a good phone lets have look at this Phone This phone has good abilities like
1. Good Sturdy Looks
2. Color scheme used for Body is Immpressive
3. Number keys are too short and lots in number, as they could have implemented nokia fancy styles.
4. 3.2 Megapixel Camera
5. Pcture quality is fine, but not very good.
6. Internet connectivity is achieved upto 408 kbps.
7. Good charging pad, looks highly dynamic with LEd insight to show charging.
8. Sound clarity is good even in crowd you can have better hearing advancements.
9. Storing contacts is Simple.
10. screen is Large enough to make visibility superior.
11. Touch screen enabled, lacks immense flowness like Iphone.
12. Easy navigation is acheived.
Cost's upto 17000/- INR .
Overall Ratings from me after using for a month, i believe this can have 6 star out of 10.new file
People have reviewed it well.
For more informtion Visit:-
http://www.sonyericsson.com/cws/products/mobilephones/overview/p1i
August 24, 2008
iphone launches in India

Hello friends,
I am here on this post to tell you some truths i have experienced with Apple Iphone.
I was basically using an iphone from april 2008, uf course unlocked. nothing went wrong this was fine peice of technology and art. After consecutive months i started understanding the pro's and con's of Iphone.
Pro's
- Has a 8/16 GB of memory.
- Ability to understand the handling is cool feature, rotate's clockwise and anti-clockwise.
- Picture quality is quite appreciable.
- Music out-put cannot be imagened, as inbuilt ipod is the server to your request.
- Internet access is fine, that was 2G so it was good, can check emails and send emails like blackberry.
- Battery capability is immense as once you charge completely can sustain upto say 10hrs standby, or 4hrs music.
Con's
- Itunes is necessary to sync data.
- cannot be used with multiple computers, cannot share your data to any other device.
- Camera lacks flash, 2MP.
- Speakers in Iphone are very less volumed.
- No video recording, also if you wish to have recording of videos you can always go to Installers section download software which emmulate the iphone camera as video recorder, but you may need to register or pay for that software.
- Bluetooth connectivity is useless, may be after this launch we can use it for (bluetooth)handsfree.
- SMS(Short Messaging Service) is the heart of indian mobilization, we usually have the process of forwarding SMS to group or individual, but not possible with Iphone, neither you cannot copy them or do anything. but yes you can have a loop of all messages sent to each memeber .
- For Citi travellers, no Radio.
Cost:- the present costing for Iphone is too much suggested is get it from US, and get it unlocked from some genuine dealer, pay 500 bucks, and save money.