Thursday, October 13, 2011

Smartphone


A smartphone is a high-end mobile phone[1][2][3] that combines the functions of a personal digital assistant (PDA) and a mobile phone. Today's models typically also serve as portable media players and camera phones with high-resolution touchscreens, web browsers that can access and properly display standard web pages rather than only mobile-optimized sites, GPS navigation, Wi-Fi and mobile broadband access. The term smartphone is usually used to describe phones with more advanced computing ability and connectivity than a contemporary feature phone, although the distinction can be vague and there is no official definition for what constitutes the difference between them. The definitions also shift over time since many phones that are considered feature phones today can have capabilities that exceed those of phones that had been promoted as smartphones in the past.
Smartphones run mobile operating systems such as Apple's iOS, Google's Android, Microsoft's Windows Phone, Nokia's Symbian, RIM's BlackBerry OS, andembedded Linux distributions such as Maemo and MeeGo. Such systems can be installed on many different phone models, and typically each device can receive multiple OS software updates over its lifetime. Smartphones run third-party applications using advanced application programming interfaces (APIs),[4] which can allow those applications to have better integration with the phone's OS and hardware than is typical with feature phones. In comparison, feature phones more commonly run on proprietary firmware, with third-party software support through platforms such as Java ME or BREW.[1]

Saturday, October 8, 2011

Google Fusion Tables


Gather, visualize and share data online

  • Visualize and publish your data as maps, timelines and charts
  • Host your data tables online
  • Combine data from multiple people
data table turns into map
Google Fusion Tables is a modern data management and publishing web application that makes it easy
to host, manage, collaborate on, visualize, and publish data tables online.

What can I do with Google Fusion Tables?

Import your own data
Upload data tables from spreadsheets or CSV files, even KML. Developers can use the Fusion Tables API to insert, update, delete and query data programmatically. You can export your data as CSV or KML too.
Visualize it instantly
See the data on a map or as a chart immediately. Use filters for more selective visualizations.
Publish your visualization on other web properties
Now that you've got that nice map or chart of your data, you can embed it in a web page or blog post. Or send a link by email or IM. It will always display the latest data values from your table and helps you communicate your story more easily.
Look at the Fusion Tables Example Gallery

Mughal Genealogical Table


Taj Mahal


Thursday, October 6, 2011

Bill Gates, Microsoft chairman's words about Steve Jobs

Bill Gates, Microsoft chairman: "The world has lost a visionary. And there may be no greater tribute to Steve's success than the fact that much of the world learned of his passing on a device he invented.
"Steve and I first met nearly 30 years ago, and have been colleagues, competitors and friends over the course of more than half our lives. The world rarely sees someone who has had the profound impact Steve has had, the effects of which will be felt for many generations to come. For those of us lucky enough to get to work with him, it's been an insanely great honor."

Powerplay tweaks and end of runners

West Indies' tour of Bangladesh, which begins with a Twenty20 on October 11, will be the first international series under the ICC's revised playing conditions, which are effective from October 1. The amendments are only applicable to international cricket.
The ICC's cricket committee had made the recommendations after its meeting in London in May and they were passed by the executive board at the annual general meeting in Hong Kong in June.
Powerplays (ODIs only)
In a full ODI, the teams can take the bowling and batting Powerplays (five overs each) at the start of an over after 15 overs of an innings have been bowled. They must complete the Powerplays by the 40th over, which means the last block of fielding restrictions must begin in the 36th over. The first ten overs will comprise the mandatory Powerplay. This condition will not apply to innings reduced to fewer than 40 overs.
Under the previous playing conditions, teams were allowed to take the bowling and batting Powerplays at any time after the completion of the tenth over of the innings.
Runners (All formats)
A batsman will not be allowed a runner under any circumstances. The batsman can retire hurt and return to bat at a later stage in the innings.
Two new balls per innings (ODIs only)
Each fielding team will be given two new balls to be used in alternate overs, one at each end. The mandatory change of the ball after the 34th over of an innings will not take place anymore.
Obstructing the field (All formats)
If a fielding team appeals and the umpire feels the batsman has significantly changed his direction without probable cause, while running between the wickets, and obstructed an attempt to run him out, the umpire can give the batsman out for obstructing the field. It is not relevant whether a run out would have been affected or not. The on-field umpires are allowed to consult the third umpire in making the decision. The other circumstances in which a batsman can be out obstructing the field are still applicable.
Penalty time (All formats)
This amendment refers to the calculation of the time for which a player cannot bat or bowl because he or she was off the field.
If a player, who still has some unexpired penalty time remaining from a previous absence, is on the field when play is interrupted by bad weather, light or other reasons, the duration of the stoppage will be deducted from the remaining penalty time.
Bowler attempting to run out a non-striker before delivery (All formats)
Previously, the bowler could run out a non-striker backing up only if he did so before entering his delivery stride. This meant that as the bowler's back foot landed, the non-striker could move down the pitch before the bowler delivered the ball.
According to a new playing condition, 42.11, "The bowler is permitted, before releasing the ball and provided he has not completed his usual delivery swing, to attempt to run out the non-striker. Whether the attempt is successful or not, the ball shall not count as one of the over. If the bowler fails in an attempt to run out the non-striker, the umpire shall call and signal dead ball as soon as possible."
The umpires shall deem the bowler to have completed his delivery swing once his bowling arm passes the normal point of ball release.
Extra time to complete a match (Tests only)
According to clause 16.2.2 of the Test match playing conditions: "The umpires may decide to play 15 minutes (a minimum of four overs) extra time at the scheduled lunch or tea interval of any day if requested by either captain if, in the umpires' opinion, it would bring about a definite result in that session. If the umpires do not believe a result can be achieved no extra time shall be allowed.
"If it is decided to play such extra time, the whole period shall be played out even though the possibility of finishing the match may have disappeared before the full period has expired.
"Only the actual amount of playing time up to the maximum 15 minutes extra time by which play is extended on any day shall be deducted from the total number of hours of play remaining, and the following session of play shall be reduced by the amount of time by which play was previously extended under this clause."
Delay of lunch interval when nine wickets down (Tests only)
If a team is nine wickets down at the time of the lunch interval, the break will be delayed by a maximum of 30 minutes. Previously, only tea was delay-able, while lunch was taken even if a team was nine down.
Duration of interval between innings (ODIs only)
The minimum interval for an uninterrupted ODI match has been increased from 20 minutes to 30 minutes.

Wednesday, October 5, 2011

SQL Server Date Formats


Standard Date Formats
Date FormatStandardSQL StatementSample Output
Mon DD YYYY 1
HH:MIAM (or PM)
DefaultSELECT CONVERT(VARCHAR(20), GETDATE(), 100)Jan 1 2005 1:29PM 1
MM/DD/YYUSASELECT CONVERT(VARCHAR(8), GETDATE(), 1) AS [MM/DD/YY]11/23/98
MM/DD/YYYYUSASELECT CONVERT(VARCHAR(10), GETDATE(), 101) AS [MM/DD/YYYY]11/23/1998
YY.MM.DDANSISELECT CONVERT(VARCHAR(8), GETDATE(), 2) AS [YY.MM.DD]72.01.01
YYYY.MM.DDANSISELECT CONVERT(VARCHAR(10), GETDATE(), 102) AS [YYYY.MM.DD]1972.01.01
DD/MM/YYBritish/FrenchSELECT CONVERT(VARCHAR(8), GETDATE(), 3) AS [DD/MM/YY]19/02/72
DD/MM/YYYYBritish/FrenchSELECT CONVERT(VARCHAR(10), GETDATE(), 103) AS [DD/MM/YYYY]19/02/1972
DD.MM.YYGermanSELECT CONVERT(VARCHAR(8), GETDATE(), 4) AS [DD.MM.YY]25.12.05
DD.MM.YYYYGermanSELECT CONVERT(VARCHAR(10), GETDATE(), 104) AS [DD.MM.YYYY]25.12.2005
DD-MM-YYItalianSELECT CONVERT(VARCHAR(8), GETDATE(), 5) AS [DD-MM-YY]24-01-98
DD-MM-YYYYItalianSELECT CONVERT(VARCHAR(10), GETDATE(), 105) AS [DD-MM-YYYY]24-01-1998
DD Mon YY 1-SELECT CONVERT(VARCHAR(9), GETDATE(), 6) AS [DD MON YY]04 Jul 06 1
DD Mon YYYY 1-SELECT CONVERT(VARCHAR(11), GETDATE(), 106) AS [DD MON YYYY]04 Jul 2006 1
Mon DD, YY 1-SELECT CONVERT(VARCHAR(10), GETDATE(), 7) AS [Mon DD, YY]Jan 24, 98 1
Mon DD, YYYY 1-SELECT CONVERT(VARCHAR(12), GETDATE(), 107) AS [Mon DD, YYYY]Jan 24, 1998 1
HH:MM:SS-SELECT CONVERT(VARCHAR(8), GETDATE(), 108)03:24:53
Mon DD YYYY HH:MI:SS:MMMAM (or PM) 1Default +
milliseconds
SELECT CONVERT(VARCHAR(26), GETDATE(), 109)Apr 28 2006 12:32:29:253PM 1
MM-DD-YYUSASELECT CONVERT(VARCHAR(8), GETDATE(), 10) AS [MM-DD-YY]01-01-06
MM-DD-YYYYUSASELECT CONVERT(VARCHAR(10), GETDATE(), 110) AS [MM-DD-YYYY]01-01-2006
YY/MM/DD-SELECT CONVERT(VARCHAR(8), GETDATE(), 11) AS [YY/MM/DD]98/11/23
YYYY/MM/DD-SELECT CONVERT(VARCHAR(10), GETDATE(), 111) AS [YYYY/MM/DD]1998/11/23
YYMMDDISOSELECT CONVERT(VARCHAR(6), GETDATE(), 12) AS [YYMMDD]980124
YYYYMMDDISOSELECT CONVERT(VARCHAR(8), GETDATE(), 112) AS [YYYYMMDD]19980124
DD Mon YYYY HH:MM:SS:MMM(24h) 1Europe default + millisecondsSELECT CONVERT(VARCHAR(24), GETDATE(), 113)28 Apr 2006 00:34:55:190 1
HH:MI:SS:MMM(24H)-SELECT CONVERT(VARCHAR(12), GETDATE(), 114) AS [HH:MI:SS:MMM(24H)]11:34:23:013
YYYY-MM-DD HH:MI:SS(24h)ODBC CanonicalSELECT CONVERT(VARCHAR(19), GETDATE(), 120)1972-01-01 13:42:24
YYYY-MM-DD HH:MI:SS.MMM(24h)ODBC Canonical
(with milliseconds)
SELECT CONVERT(VARCHAR(23), GETDATE(), 121)1972-02-19 06:35:24.489
YYYY-MM-DDTHH:MM:SS:MMMISO8601SELECT CONVERT(VARCHAR(23), GETDATE(), 126)1998-11-23T11:25:43:250
DD Mon YYYY HH:MI:SS:MMMAM 1KuwaitiSELECT CONVERT(VARCHAR(26), GETDATE(), 130)28 Apr 2006 12:39:32:429AM 1
DD/MM/YYYY HH:MI:SS:MMMAMKuwaitiSELECT CONVERT(VARCHAR(25), GETDATE(), 131)28/04/2006 12:39:32:429AM

Get date of all Sundays in a given year - sql server


declare @d datetimeselect @d = '20100101'  --'20090101'  if you want 2009 etc etc
select dateadd(dd,number,@d) from master..spt_valueswhere type = 'p'
and year(dateadd(dd,number,@d))=year(@d)
and DATEPART(dw,dateadd(dd,number,@d)) = 1

Monday, October 3, 2011

Umar Akmal dropped from Test squad


Umer Akmal has been dropped from the Pakistan Test squad for their series against Sri Lanka in the UAE starting later this month. Shoaib Malik, who was on Pakistan's tour of Zimbabwe after gaining clearance from the PCB, finds a place in the 15-man squad.
Umar Gul and Wahab Riaz return to the squad after being rested from the Zimbabwe tour, and are joined by Aizaz Cheema and Junaid Khan in the fast-bowling department, with no place for Sohail Tanvir or Tanvir Ahmed.
Imran Farhat, who returned to the Pakistan squad for the Zimbabwe tour, has been picked as a third opener along with Mohammad Hafeez and Taufeeq Umar. Abdur Rehman returns after being rested for the Zimbabwe tour, and joins Saeed Ajmal in the spin attack.
Umar Akmal has not scored a Test century since his debut in 2009. After a poor year in 2010, when he averaged just 24.33, he was left out of the XI for the two Tests in New Zealand. He returned to the side for the Tests in the West Indies, but after scoring just one Test half-century this year, and struggling to play long innings in ODIs as well, he has been left out of the Test squad.
"Umar is a talented cricketer but he was not justifying his place in Test cricket," Mohsin Khan, Pakistan's chief selector, said in explanation of the decision. "This was the reason our middle order was facing problems during the recent tour [of Zimbabwe]. He may be good in limited-over cricket but Tests and ODIs are contrasting games.
"In Tests, Umar is required to play long innings so we have advised him to play domestic cricket and learn to bat for long."
Umar Akmal's exclusion means Asad Shafiq and Shoaib Malik will be fighting for a middle-order spot. After a year out of the Pakistan setup, Malik gained clearance from the PCB's integrity committee just in time to go to Zimbabwe. He did not play the Test there and did not make an impact in the ODIs and Twenty20 internationals. He has been consistently performing on the domestic circuit, finishing as the second-highest run-getter in the Quaid-e-Azam Trophy Division One last season, with 799 runs at an average of 73.57. Shafiq, meanwhile, has struggled in Tests since getting half-centuries in each of his first two innings.
Malik's inclusion in the squad comes on the same day he led Sialkot to a win in the final of the Faysal Bank T20 Cup, after getting them there with an unbeaten 88 in the semi-final. Mohsin, though, said his Twenty20 performances were not a factor when deciding the Test squad. "Shoaib is not selected on the basis of the ongoing Twenty20 Cup but what inspired us was his fitness and the form he is currently in."
The other notable exclusion from the squad is Tanvir Ahmed, who has taken 16 wickets in the four Tests he has played since debuting against South Africa in November last year. He was not on the tour of Zimbabwe, though, and Cheema, who took eight wickets on debut in the Bulawayo Test and another eight wickets in the three-match one-day series, keeps his place.
Cheema was one of several fringe players given a chance on the Zimbabwe tour, but not all have retained their places in the squad. "There might be players dropped following the recent Zimbabwe tour but that was a chance taken on youngsters," Mohsin said. "We actually had to try new players and now we have a picture of who stands where."
Junaid Khan also made his Test debut in Bulawayo, and though he was not as successful as Cheema, he was selected, Mohsin said, because of his ability to bowl fast. "If Junaid was retained despite his unimpressive form it is because we need to have a genuine fast bowler."
The first of three Tests starts on October 18 in Abu Dhabi.
Squad: Mohammad Hafeez, Taufeeq Umar, Imran Farhat, Azhar Ali, Younis Khan, Misbah-ul-haq (capt), Asad Shafiq, Adnan Akmal (wk), Shoaib Malik, Saeed Ajmal, Abdur Rehman, Aizaz Cheema, Wahab Raiz, Umar Gul, Junaid Khan
Standby players: Tanvir Ahmed, Mohammad Talha, Sarfraz Ahmed (wk), Yasir Shah

Saturday, October 1, 2011

Step by Step SharePoint Server 2010 Installation Guide


Introduction

This article provides a step by step Installation and Prerequisites Software requirement for SharePoint server 2010beta installation.
Finally! My long awaited SharePoint Server 2010 beta is ready for download… (http://technet.microsoft.com/en-us/evalcenter/ee391660.aspx) I installed it successfully on VMWARE Workstation, alternatively you can use VirtualBox.
Given below is a step by step Installation guide.

List of Prerequisites Software

  1. Windows server 2008 with SP 2 / Windows 7 / Vista (All OS must be 64bit)
  2. Windows 2008 R2 and Windows Server 2008 KB971831
  3. WCF Fix article for Windows 2008 R2 and Windows 7 KB976462
  4. Microsoft SQL Server 2008 Native Client
  5. Microsoft "Geneva" Framework Runtime
  6. Microsoft Sync Framework Runtime v1.0 (x64)
  7. Microsoft Chart Controls for Microsoft .NET Framework 3.5
  8. Microsoft SQL Server 2008 Analysis Services ADOMD.NET
  9. PowerShell V2 RTM
  10. SQL Server 2008 SP1
  11. .NET Framework 3.5 Service Pack 1 (Full Package) KB959209 KB967190

Installing OS on VMWARE Workstation 7.0

Installing Windows Server 2008 with SP2 on VMWARE Workstation 7.0 may prompt the following error:
“You have configured this virtual machine as a 64-bit guest operating system…”
image
By default, Lenovo T61 laptop’s ship with virtualization technology and set VT is disabled.
In order to enable VT on laptop, please shut down your laptop and go to BIOS setup > CPU > Virtualization technology > Enable and Press F10 to Save and Exit.
Install Windows server 2008 with SP 2.
Windows 2008 x64 Install
Download prerequisites software (if you need to share your PC folder to access from VMWARE) enable Share folder option:
image
Go to VM > Setting > Options > Shared Folder > Enable and Select your Pre-request software download folder.
image
Run > SharePoint Server 2010 Application file, system will extract files and show the above screen, under Install > click Install Software prerequisites…
image
image
System will run for few minutes and display the following error message:
image
Install your prerequisites software that you downloaded one by one (if possible, follow the above order as shown in the error message).
Note: If you try to install Hotfixes from your Share Folder system may prompt “error code 0x80070003” please copy your hotfix files to Windows server and click Install.
image
Once you get the above screen “Installation Complete”, click "Install SharePoint Server” link:
image
SharePoint 2010 Installation screen prompts for Product Key get beta key from here.  
image
Read your License terms and click I accept and start Installation:
image
Select Standalone option, if you are installing with SQL Express 2008 server. If you are installing SQL Server 2008 and SharePoint 2010 farm servers, then select Server Farm option. Since I am using VMWARE installation, I select Standalone option.
image
System will start the Installation progress…
image
System would take several minutes to complete installation and prompt for Configuration Wizard.
image
Run your Configuration wizard and click next >
image
Step 2 on Configuration wizard click “Yes” to start IIS and SharePoint Admin, Timer service.
image
Configuration wizard continue 2 of 10 tasks and if everything is ok, the system will display the following screen. (Please note that it will take several minutes to complete. It's not as fast as SharePoint 2007 configuration wizard)
image (
Congratulations… you successfully Installed SharePoint 2010.
System will launch SharePoint 2010 Central Administration screen…
SharePoint CA
Enjoy… and provide me your feedback…