Skype with 3G Phone – with Iphone and Ipad

Now Skype with 3G Phone – with Iphone and Ipad. Skype on Saturday released an upgrade to its iPhone app that allows calls to be made and received under AT&T’s 3G network, but there’s a catch — they won’t be free for very long, even for Skype-to-Skype calls or for people who have all-you-can-eat calling plans with the internet telephony company.

Skype with 3G Phone - with Iphone and Ipad
Skype with 3G Phone – with Iphone and Ipad

No specific pricing or even timeline was announced, but the release notes of version 2.0.0 (to the right) say this feature will be free only “until at least the end of August 2010, after which there will be a small monthly fee.”

All of this became possible only after Apple changed its iPhone SDK in anticipation of the iPad.

Skype pronouced on Feb 3 that 3G calling would happen “soon.” But the additional cost was not trumpeted and does comes as a surprise, though perhaps not a terribly big one given the revenue possibilities and the additional strain on AT&T’s already-vilified 3G network.

Skype calls are generally free or at least much less expensive than those made on minute-counting calling plans. But wireless minutes have become largely commoditized and, from most wireless carriers, available in unlimited plans that eliminate the traditional profit center that used to be overages.

Skype’s migration from the desktop on to mobile devices has created the potential for a dramatic shift in calling behavior. We aren’t quite there yet. But when you can receive calls from an VoIP provider like Skype on a portable device in either an WiFi or 3G network it almost completely blurs the line between an interesting alternative to a telephone and the very definition of a telephone.

Taking that one small step further: In a world with ubiquitous broadband, internet telephony with push notifications and location awareness could make traditional telco and wireless services irrelevant, even for the equivalent of enhanced 911, where the automatically operator knows where you are.

There are still some pieces missing to this puzzle, but the availability of VoIP under 3G — also true of Fring and for international calls on some Android-powered handsets provided by Verizon — is a big step forward.

And, one last thing: iPhone OS 4, expected in weeks, will enable non-core apps like Skype to operate in the background. Which means that you could be online with the internet telephony service all the time on any 3G enabled device like the iPhone and some models of the iPad.

How to take mysql backup from file system

This method or trick is important when your database crash and you are not able connect to database. Still your will be able to take mysql backup from file system. Many times we fail to restore the mysql dump from command line.

How to take mysql backup from file system

If your mysql server crash. Follow my steps to take mysql backup from file system without database connection.

First go to your filesystem.
Here I am using the fedora OS for this example

In linux go to /var/lib/mysql path

In that folder each folder means separate database.

Copy that all folders to your local machine.
again go to your mysql local installation and paste that folder into your mysql folder.

For in each database folder file you will find following types of files in the folder
db.opt
test.frm
test.MYD
test.MYI

just copy and paste in your system

how to install php-pear on centos or redhat

centos is linux based operating system which is used for server purpose. in this article I given the detailed information about, install php-pear on centos or rehat os.

For this example I used the RHEL 5.3 edition. If server is new then use follwoing commands to keep server up to date.
When I tried to install php-pear lib in server I am not able to install all the pear libs. Then I Used following commands for installing the php-pear fully.

install php-pear on centos

# yum update
# up2date -u
# yum install lighttpd-fastcgi php-cli php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-eaccelerator php-magickwand php-magpierss php-mapserver php-mbstring php-mcrypt php-mhash php-mssql php-shout php-snmp php-soap php-tidy php-pear php-devel httpd-devel mysql-server mysql-devel

The 2 RPMs which we need are:
epel-release and remi-release

# wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
# rpm -Uvh epel-release-5-3.noarch.rpm

# wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
# rpm -Uvh remi-release-5.rpm

# yum install php-pear*

# /sbin/service httpd start
# /sbin/service mysqld start

# php -v

install php-pear on centos
install php-pear on centos

joomla vs drupal

When we want to choose any CMS, First two biggest cms we get in mind. That is Joomla and druapl. Both are very best CMS. I personally love both. That is all depending on you what expertise you have and what is your client is demanding.

joomla vs drupal

joomla vs drupal
joomla vs drupal

Here in this article I will help you If you are not choosen any CMS and you are confused about Joomla and Drupal. They both offers similar kind of features in their CMS in different order. If user or client side if we talk then joomla’ admin panel gives you very nice and user-friendly user interface in admin side. Drupal has admin panel with good admin panel but that is complex as compare to joomla.

Here I will first talk about Drupal. Following is a list of drupal features which I like

1. So much flexible for configuration

2. Great Seo features

3. Drupal need some time of R&D for his features and modules

4. great theme  system. Any XHTML or CSS template can be easily converted to Drupal.

5. User groups & user permissions, OpenId compliant in Version 6

6. Drupal is having lots of free addons and modules

7. Community with great support and API

8. Performance and scalability wise good.

9. No Default WYSIWYG editor for editing content- Need to free module

10. For e-commerce use Ubercart

Now I will talk about Joomla. Here is a list of features which is in Joomla

1. Very easy to install & setup

2. very user-friendly and easy for using

3. No good seo as like drupal

4. free themes and moduls

5. No User groups & permissions

6. So many modules cost you money

7. Not scalable for bigger sites

8. Default WYSIWYG editor for editing content

9. For ecommerce use Virtuemart

Conclusion: I recommend choose Drupal as CMS. Drupal is litter hard then joomla for work on and user interface side. But performance and if you see future side drupal is good.

SEO is major factor in these days for your any website for ecommerce and marketing or anything. In that scenario choose Drupal. Because Drupal is providing best options and features with SEO.

What You are thinking about Joomla and Drupal, please share with me.

how to install vim on linux

If you are using linux so you are very much familiar with vim editor. Here I will show how install vim editor on linux box using command line.

Some time when you are doing new setup of server like for linux distribution.  There is lot is coming cloud hosting and centos and fedora. My most favorite is fedora.

install vim on linux

how to install vim on linux
how to install vim on linux

If your OS does not have vim then use following command.


[root@siwan]# yum install vim-X11 vim-common vim-enhanced vim-minimal
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: hpc.arc.georgetown.edu
 * base: mirrors.netdna.com
 * extras: mirrors.greenmountainaccess.net
 * updates: mirror.cogentco.com
Setting up Install Process
Package 2:vim-X11-7.0.109-6.el5.i386 already installed and latest version
Package 2:vim-common-7.0.109-6.el5.i386 already installed and latest version
Package 2:vim-minimal-7.0.109-6.el5.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package vim-enhanced.i386 2:7.0.109-6.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================================================================================================
 Package                                             Arch                                        Version                                                 Repository                                   Size
===========================================================================================================================================================================================================
Installing:
 vim-enhanced                                        i386                                        2:7.0.109-6.el5                                         base                                        1.2 M

Transaction Summary
===========================================================================================================================================================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
vim-enhanced-7.0.109-6.el5.i386.rpm                                                                                                                                                 | 1.2 MB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
 Installing     : vim-enhanced                                                                                                                                                                        1/1

Installed:
 vim-enhanced.i386 2:7.0.109-6.el5

Complete!

Following are the common commands for doing editing with vim editor.

#vim somefile

some keys

i – for insert the text

escape – going to back

:18 – for going to line no 18

:w –  write and save the file

:q! –  quit the file, without saving

:wq! –  saving and closing the file

shift +g – going to bottom of file

page up – page up

page down –  page down

WordPress bloggers must install google gears

So many times we saw the turbo link in the upper right corner of the admin area. (Remember when computers used to have a Turbo button?) Behind it is a new feature of WordPress.com, support for Gears.

Wordpress bloggers must install google gears
WordPress bloggers must install google gears

In 2007 Google launched its new product called Google Gears. Google Gears makes it easy to browse the Internet, or sites you have already visited so you can visit them again using an amazing cache technology.

Here I will explain you what is google gears is doing. When we open our worpdpress admin, wordpress will download common images, JavaScript libraries and CSS files.

If we use the google gears then WordPress will store all these ’static’ files on your hard drive and will not download them from the web server. Means each time you are opening the WordPress admin panel that time wordpress will not download the common images and css and javascript. Thus, it should speed up things especially if you are on a slow connection.

Following article which is written by Matt (Founder of WordPress) is really helpful about knowing about wordpress and google gears.

http://en.blog.wordpress.com/2008/07/02/gears/

You can go to following URL and download google gears and install it on your local machine.

Google Gears

The Google gears is available for  Windows, Windows Mobile, Mac OS Tiger/Leopard, Mac OS Snow Leopard, Linux and Android.

So just install it your local computer.

How to remove www from URL with nginx server

Nginx web server is becoming most popular in these year. Best server response time and minimum execution time is the advantages of Nginx server. wordpress.com itself using the nginx server for hosting these sites and blogs.

How to remove www from URL with nginx server

How to remove www from URL with nginx server
How to remove www from URL with nginx server

How to remove www from URL with nginx server

Many people want to remove the www from URL. I will tell you the tip how to remove the www from URL with nginx server.

Open your Ngnix configuration file (nginx.conf). Just use following code in server block.

if ($host ~* ^www\.(.*)) {
    set $remove_www $1;
    rewrite ^(.*)$ http://$remove_www$1 permanent;
}

This code will remove the www from the URL.

Here are some useful article about nginx

How to use hosts file on Mac, Windows and Linux
Solved:trailing slash issue with Nginx server

How to execute linux commands using php

Many times we need to run the linux commands using PHP language. We are going to give you code to, execute linux commands using php. This is my favorite question about PHP when I take an interview of new PHP developer.

execute linux commands using php
execute linux commands using php

In this article I will show you how to execute the linux command using PHP language syntax or script.

You can execute linux commands within a php script – all you have to do is put the command line in backticks (”) ,exec() , and shell_exec().

$command = exec('linux command');
echo $command;
echo shell_exec('ll');

Ruby performance improvement of 63% in 1.9.1

Ruby is very powerful object-oriented language. new Ruby performance improvement. Working with pure Ruby is really fun and interesting to me. I am the real fan of Ruby language.

Ruby performance improvement

I am working Ruby on Rails for around last four years. There is always I am thinking and all ROR developers are thinking about performance of application.

We always compare Ruby on Rails with PHP, Java, Python, dot net. We came to know that where we are lacking in ROR. Just one issue performance and memory issue.

When we got news about Ruby 1.9 is comming with performance improvement of 63%. Yes, It is not a joke. This is really great news for every ROR developers. Ruby 1.9 and Rails 3.0 is the future of internet.

Now I will talk about Ruby Software engineer who developed and worked on the Ruby 1.9.

Masahiro Kanai, who improved the performance of several methods in Ruby 1.9. He is the age of high school, just 17.

This year, Ruby 1.9 by the Fibonacci sequence of operations (multiple-precision addition) is,
Ruby 1.8 is slower than I realized Mr. Kanai is a challenge to freedom of choice camp Ruby faster.

In front of all the participants had a similar problem occurring, Ruby of type String, Array types (structures that may have an embedded data structure type object itself) and some of the faster method, attention collection. Oden’s is known to be well-covered tongue teachers. Ruby continued even after the camp’s efforts to speed up to approximately some methods to remove the macro in a constant loop of 63 percent to about 8 percent of success in speeding. This patch has been adopted by the community of developers Ruby, Ruby has been incorporated into the trunk (October 5, 2009).

many professional engineers and developers, with patience to hold out that the problem is resolved, probably as a programmer in one or two talents.

Ketai that builds skills and career tips for the professional engineer. Interviewers are already familiar with this series, the Mr. Ikuo Takeuchi, Professor Department of Creative Informatics, Graduate School of Information Science and Engineering, University of Tokyo. This time, who undertook the voluntary and discover if training for a talented programmer.

His mentor was Koichi Sasada (ko1). The performances of the methods he worked have been bumped up 63% in maximum, 8% in average. His patches were applied to Ruby trunk in Oct. 5 this year.

What he did for Ruby Performance tuning?

He took unnecessary macro references out from a loop. Masahiro spotted macros below in array.c, string.c, and struct.c were referred every time Ruby checked whether data was hold in a structure or not. Even though data were constants, Ruby saw the macros to judge data’s presence in every loop.

What I say now more… I am really happy and I can say this is the biggest news of 2010 in IT world.

One thing I want to mention here about Ruby on Rails. This thing is in mind of all ROR developers.

“Thank God, No need to look Jruby”

He took unnecessary macro references out from a loop. Masahiro spotted macros below in array.c, string.c, and struct.c were referred every time Ruby checked whether data was hold in a structure or not. Even though data were constants, Ruby saw the macros to judge data’s presence in every loop.

Ruby on Rails 3.0 released with new features

I am working on Ruby on Rails for past three and half year. It is really great to working with Ruby on Rails. Because working on Ruby on Rails is a really great feeling daily inventing new things, trying new things and contributing to ROR community. Discussing new things with ROR developers is really great.

Ruby on Rails 3.0 released with new features
Ruby on Rails 3.0 released with new features

On 5th Feb we got news about release of Rails 3.0 beta. We all developers are really waiting for that day. We checked the new version of Rails but what is more interesting.

The interesting part is what is new in Rails 3.0. So many developers contributed in Rails 3.0. They really worked and planned so hard.

Here I am making list what Rails 3.0  has, means new features:

  • Brand new router with an emphasis on RESTful declarations
  • New Action Mailer API modelled after Action Controller (now without the agonizing pain of sending multipart messages!)
  • New Active Record chainable query language built on top of relational algebra
  • Unobtrusive JavaScript helpers with drivers for Prototype, jQuery, and more coming (end of inline JS)
  • Explicit dependency management with Bundler

If you want to use the Rails 3.0 then you should install first following gems.

#gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler i18n
#gem install rails --pre

Or you can use following command to install whole Rails 3.0 with dependencies

gem uninstall rubygems-update
gem update --system
#gem install rails3b

Important Note: Rails 3 requires Ruby 1.8.7+ , you should install latest Ruby version. You can download latest Ruby version from here.

Ruby 1.9.1

Here I am giving the list of gems and plugins which are compilable of Rails 3.0. you should check the following URL:

http://wiki.rubyonrails.org/rails/version3/plugins_and_gems

Now I am started working on Rails 3.0 and I am searching for the issues with Rails 3.0 because Rails 3.0 is in Beta so all ROR developer need to come up with issues of Rails 3.0 and try to fix that or submit that issue to community.