November 13, 2009

Something about Google Wave


Q1. What is Google wave?
Ans: - Google wave is a new technology playground by Google where you can do everything just like you do on Orkut, Gmail or any social networking website.
Q2. Why is it called wave?
Ans: - Wave is basically a frequency termed, as Google believes that users can do something with content they post, like you post something on BlogSpot, and you get comments but when you intend to create a blog with more than one user, and then maybe you need to allow multiple people to edit the same blog to add their suggestions, so just to make sure one wave can be edited and posted by multiple people you can share your content with fellow users who will add their suggestions or postings.
Q3. How do I create a wave?
Ans :- Creating a wave is simple just click on the new wave link and a new page opens in editable format, you can start writing anything you interest to write, and add users to view or make changes to that wave.
Q4. What does it means replaying a wave, what is the reply button doing?
Ans :- Replay a way means showing all the states of wave, for example person A creates a wave with content  “can we come to office at 9:30 tomorrow ?”, then this wave which is basically a question is shared among may be 5 people, now the first person answers the wave by replying it as “Yes I am ready to come” and consecutively the other four people do the same thing, now when the user who is viewing the wave clicks on replay or next & previous buttons all the entries are ordered in chronological order of their posting and you can go through an whole flow, that how this wave has come to an end.
Q5. I still don’t understand the replay & next, previous options?
Ans: - OK, let’s do it with simple example like this
I want to explain a power point presentation for making tea so here are the points I can sue by wave
1.       Go to kitchen
2.       Take a bowl of water
3.       Turn on the burner
4.       Put the bowl on the burner
5.       Add 3 spoons of sugar
6.       Add 2  spoons of tea powder
7.       When the water starts boiling with all ingredients in it
8.       Add milk to the bowl
9.       Tea is ready to be served.
If I replay this wave I will get one step at a time, and this will work as a power point slide.
Q6. How do I stop following a wave?
Ans: - by clicking unfollow you can be marked out of that wave.
Q7. How do I archive a wave?
Ans: - By clicking the archive button you can move the wave to particular folder, or archive it from inbox.

Some general information about wave, by clicking the request, link you can see all requests you have received from other wave users. Also the left panel has settings where you can add various add-ons.
Wave can be used to manage events, polling, ask questions, reply as comments, get help with respective people, although you cannot directly log on to wave with your Google account, wave users can invite up to 20 users they like.
I believe that this information must be helpful to people finding it hard to understand wave, any suggestions and comments are always welcome J

November 10, 2009

The Art of Presentation

I believe its an Art of marketing yourself, through you is called presentation skills.

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
  1. Always make sure you reach early enough
  2. Check all the arrangements like Mic, Projector, Lightning of room
  3. Make sure of your position, so that when you speak you are visible to everyone and everyone else can see you
  4. Always keep backup of your important documents on some second location so that last minute call, you can collect it from there
Designing your content
  1. your content according to your audience
  2. if your audience is a newbie plan accordingly
  3. relevant visuals to suit your content
  4. will keep lasting effect on the people, rather than just hearing
  5. (What people hear, they forget, what they see they remember , what they do they never forget)
  6. not put lot of text or complete explanation to your ppt slides , that people can merely read it out.
  7. 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.
  8. 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)
9. Follow an logical flow with designing your content don't just keep on jumping topics

How to start your presentation
  1. Always start with an introduction
  2. make sure you stand in right posture
  3. Do not use (Basically | Actually) it kills the interest
  4. Tell them what you have for them
  5. Mention your targets and boundaries
  6. Keep your laptop or organizer accessible to you, so that you don't keep running around on stage
  7. Always keep a stimulus eye contact with all the audience so that they are notified of you watching them
  8. Keep a small smile on your face
  9. Be gentle with your tone, do not increase the tone with no reason
  10. Always raise your tone, specifically you spell an verb or Noun (Like The Conceptt'tt is implementeddd successfully for more than 200 companiesss)
  11. so when you stress on some words, your gestures must match the words
  12. Speak with opening your mouth, so you speak at average rate and its audiable
  13. Make sure you have covered topics, necessary for the audience
  14. 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

I recently had a situation when my system was formatted, i had to install rails with MySql .
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 :-)




still facing native issues contact me :- raghubetter@gmail.com

Recently one of friend had one more problem, after resolving the issue
Problem:-  Mysql::Error: query: not connected: SELECT version FROM schema_migrations
Solution:- http://stackoverflow.com/questions/1343500/ruby-on-rails-
connection-problem


Get the libmysql.dll from the source above, and replace the dll copied in ruby/bin.

May 9, 2009

Nginx with THIN

Nginx with thin is supposed to be very fast combination basically for RubyOnRails while the most advanced tour towards is making this a production ready environment. While the best affect of this flavour is generating the aspect of speedy web modes.

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 with the name of the configuration file, <rails-app-root-path> with the path to the root of your application, with the number of Thin processes to be started and with the environment in which to run the code. For example:

$ 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

Rails an active framework in today’s web2.0 world, so to stay updated and make coding easy just with very little tricks and tips while you code.
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

  1. Has a 8/16 GB of memory.
  2. Ability to understand the handling is cool feature, rotate's clockwise and anti-clockwise.
  3. Picture quality is quite appreciable.
  4. Music out-put cannot be imagened, as inbuilt ipod is the server to your request.
  5. Internet access is fine, that was 2G so it was good, can check emails and send emails like blackberry.
  6. Battery capability is immense as once you charge completely can sustain upto say 10hrs standby, or 4hrs music.


Con's

  1. Itunes is necessary to sync data.
  2. cannot be used with multiple computers, cannot share your data to any other device.
  3. Camera lacks flash, 2MP.
  4. Speakers in Iphone are very less volumed.
  5. 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.
  6. Bluetooth connectivity is useless, may be after this launch we can use it for (bluetooth)handsfree.
  7. 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 .
  8. For Citi travellers, no Radio.
Friends just brfore the launch, i moved from iphone to HTC diamond. but i Still miss the iphone, may be once it add all these features, i will be saluting it again.

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.