<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" version="2.0">

<channel>
	<title>WindowsVJ Feed</title>
	<atom:link href="http://windowsvj.com/wpblog/feed/" rel="self" type="application/rss+xml"/>
	<link>http://windowsvj.com/wpblog</link>
	<description></description>
	<lastBuildDate>Tue, 22 May 2018 23:46:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>http://windowsvj.com/wpblog/wp-content/uploads/2018/05/300x300_transparent_logo_hq1-150x150.png</url>
	<title/>
	<link>http://windowsvj.com/wpblog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<itunes:explicit>no</itunes:explicit><itunes:subtitle>Programming, Web Services, Windows, Tips and Tricks, Tutorials, Tech articles &amp; more.</itunes:subtitle><xhtml:meta content="noindex" name="robots" xmlns:xhtml="http://www.w3.org/1999/xhtml"/><item>
		<title>Deploying a Web Application on AWS Elastic Beanstalk</title>
		<link>http://windowsvj.com/wpblog/2018/05/deploying-a-web-application-on-aws-elastic-beanstalk/</link>
					<comments>http://windowsvj.com/wpblog/2018/05/deploying-a-web-application-on-aws-elastic-beanstalk/#respond</comments>
		
		<dc:creator><![CDATA[Vasu]]></dc:creator>
		<pubDate>Sun, 20 May 2018 08:00:33 +0000</pubDate>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[Elastic Beanstalk]]></category>
		<guid isPermaLink="false">http://windowsvj.com/wpblog/?p=3894</guid>

					<description><![CDATA[While working on a side project, I had a need to deploy a web app for a POC. Realized my existing GoDaddy hosting won&#8217;t be a good idea this time as I kind of hit the files threshold during migration of a WordPress repo to GoDaddy instance. A few months ago [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>While working on a side project, I had a need to deploy a web app for a POC. Realized my existing GoDaddy hosting won&#8217;t be a good idea this time as I kind of hit the files threshold during migration of a WordPress repo to GoDaddy instance. A few months ago when working on the first iteration of <a href="https://twitter.com/vasujain/status/719376377745510400">Jarvis</a>, I deployed it on Elastic Beanstalk, and this time again, Elastic Beanstalk came to rescue.</p>
<p>Elastic Beanstalk is a cloud deployment and provisioning service that automates the process of getting applications set up on the Amazon Web Services Elastic Beanstalk is one layer of abstraction away from the EC2 layer. It sets up an environment for you that can contain Amazon Elastic Compute Cloud (EC2) instances, Amazon Simple Storage Service (S3) buckets, and load balancers to manage the application architecture for you.</p>
<p>Found a pretty neat workflow diagram on <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/Welcome.html">AWS Elastic Beanstalk page</a></p>
<p><img fetchpriority="high" decoding="async" class="alignleft wp-image-3897 size-full" src="http://windowsvj.com/wpblog/wp-content/uploads/2018/05/clearbox-flow-00-1.png" alt="" width="634" height="172" srcset="http://windowsvj.com/wpblog/wp-content/uploads/2018/05/clearbox-flow-00-1.png 634w, http://windowsvj.com/wpblog/wp-content/uploads/2018/05/clearbox-flow-00-1-300x81.png 300w" sizes="(max-width: 634px) 100vw, 634px" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Here is how to you can deploy and run a web app on Elastic Beanstalk.</p>
<ul>
<li>If you don&#8217;t have an AWS account, you may need to <a href="https://portal.aws.amazon.com/gp/aws/developer/registration/index.html">create one</a>. From the AWS homepage, select<strong> Elastic Beanstalk </strong>from <strong>Services</strong> menu in the top left corner.<br />
<a href="http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-9.35.01-PM.png"><img decoding="async" class="alignleft size-large wp-image-3908" src="http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-9.35.01-PM-1024x812.png" alt="" width="640" height="508" srcset="http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-9.35.01-PM-1024x812.png 1024w, http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-9.35.01-PM-300x238.png 300w, http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-9.35.01-PM-768x609.png 768w, http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-9.35.01-PM.png 1322w" sizes="(max-width: 640px) 100vw, 640px" /></a></li>
<li>From the <strong>Elastic Beanstalk </strong>console, select <strong>Create Application</strong> with an Application name and details (optional) or choose an existing Application</li>
<li>Once Application is created (selected), select <b>Create environment </b>from the Actions menu in the upper right corner.</li>
<li>You can either choose <strong>Web server environment</strong> or Worker environment. For creating a web application, choose former one. Environment tier configures and provisions the resources to support an application that handles HTTP requests or an application that pulls tasks from a queue.<br />
<a href="http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.17.43-PM.png"><img decoding="async" class="alignleft size-full wp-image-3932" src="http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.17.43-PM.png" alt="" width="731" height="621" srcset="http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.17.43-PM.png 731w, http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.17.43-PM-300x255.png 300w" sizes="(max-width: 731px) 100vw, 731px" /></a></li>
<li>On the next page, you can choose a Platform that matches the language used by your application. You can either choose <strong>PreConfigured platform</strong> or <strong>Custom platform</strong>.<br />
<a href="http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.18.27-PM.png"><img loading="lazy" decoding="async" class="alignleft size-large wp-image-3933" src="http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.18.27-PM-960x1024.png" alt="" width="640" height="683" srcset="http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.18.27-PM-960x1024.png 960w, http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.18.27-PM-281x300.png 281w, http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.18.27-PM-768x819.png 768w, http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.18.27-PM.png 1205w" sizes="auto, (max-width: 640px) 100vw, 640px" /></a></li>
<li>Once a platform is chosen in step above, for <strong>Application code</strong>, you may choose Sample application. It may take a couple of minutes for Elastic Beanstalk to create the environment with above configuration. Once done, you can click on the URL next to the environment name to view the running application which is can be accessed publicly.
<p><a href="http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.24.18-PM.png"><img loading="lazy" decoding="async" class="alignleft size-large wp-image-3935" src="http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.24.18-PM-1024x852.png" alt="" width="640" height="533" srcset="http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.24.18-PM-1024x852.png 1024w, http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.24.18-PM-300x250.png 300w, http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.24.18-PM-768x639.png 768w, http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.24.18-PM.png 1189w" sizes="auto, (max-width: 640px) 100vw, 640px" /></a></li>
<li>From this point, you can continue making changes to your code. However, make sure when you deploy your code on Elastic Beanstalk, you upload properly by selecting all the contents <strong>inside</strong> the folder and then compressing the contents and not the folder itself.  If you have a nested folder inside the zip, you may run into 403&#8217;s like I did.
<p><a href="http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.24.44-PM.png"><img loading="lazy" decoding="async" class="alignleft size-full wp-image-3934" src="http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.24.44-PM.png" alt="" width="953" height="569" srcset="http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.24.44-PM.png 953w, http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.24.44-PM-300x179.png 300w, http://windowsvj.com/wpblog/wp-content/uploads/2018/05/Screen-Shot-2018-05-19-at-10.24.44-PM-768x459.png 768w" sizes="auto, (max-width: 953px) 100vw, 953px" /></a></li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>AWS Elastic Beanstalk supports the following languages and development stacks:</p>
<ul>
<li>Apache Tomcat for Java applications</li>
<li>Apache HTTP Server for PHP applications</li>
<li>Apache HTTP Server for Python applications</li>
<li>Nginx or Apache HTTP Server for Node.js applications</li>
<li>Passenger or Puma for Ruby applications</li>
<li>Microsoft IIS 7.5, 8.0, and 8.5 for .NET applications</li>
<li>Java SE</li>
<li>Docker</li>
<li>Go</li>
</ul>
<p>Although there is a bit of learning curve here with AWS, once done it makes super easy to connect with other AWS services and build a modern web app.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://windowsvj.com/wpblog/2018/05/deploying-a-web-application-on-aws-elastic-beanstalk/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Get Current URL using PHP</title>
		<link>http://windowsvj.com/wpblog/2013/02/get-current-url-using-php/</link>
					<comments>http://windowsvj.com/wpblog/2013/02/get-current-url-using-php/#respond</comments>
		
		<dc:creator/>
		<pubDate>Sun, 10 Feb 2013 06:59:14 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<guid isPermaLink="false">http://windowsvj.com/wpblog/?p=3884</guid>

					<description><![CDATA[The other day I was writing a script where I was required to consume the current webpage url for in the services I was writing. PHP Server variable is quiet handy for such scenarios as it provide all the parameters passed through the server. Though direct information about the current [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>The other day I was writing a script where I was required to consume the current webpage url for in the services I was writing. PHP Server variable is quiet handy for such scenarios as it provide all the parameters passed through the server. Though direct information about the current URL is not provided, it can be formed using the following script:</p>
<p>Add the following code to a page:</p>
<pre class="lang:default decode:true ">&lt;?php
function getCurrentWebpageURL() {
 $pageURL = 'http';
 if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
 $pageURL .= "://";
 if ($_SERVER["SERVER_PORT"] != "80") {
  $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
 } else {
  $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
 }
 return $pageURL;
}
?&gt;</pre>
<p>You can now get the current page URL using echo/var_dump or can consume the same directly by assigning to a variable:</p>
<pre class="lang:default decode:true ">&lt;?php
  echo getCurrentWebpageURL();
?&gt;</pre>
<p>&nbsp;</p>
<p>More details about PHP server variables can be find at <a title="http://php.net/manual/en/reserved.variables.server.php" href="http://php.net/manual/en/reserved.variables.server.php">http://php.net/manual/en/reserved.variables.server.php</a></p>
<p>To check out the current values of Server variables, var_dump ($SERVER) can be a handy trick as well.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://windowsvj.com/wpblog/2013/02/get-current-url-using-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Life without Facebook</title>
		<link>http://windowsvj.com/wpblog/2012/10/life-without-facebook/</link>
					<comments>http://windowsvj.com/wpblog/2012/10/life-without-facebook/#comments</comments>
		
		<dc:creator><![CDATA[Vasu]]></dc:creator>
		<pubDate>Mon, 29 Oct 2012 10:16:33 +0000</pubDate>
				<category><![CDATA[Internet]]></category>
		<guid isPermaLink="false">http://windowsvj.com/wpblog/?p=3873</guid>

					<description><![CDATA[Recently I deactivated my Facebook account for some personal reasons. It was something which was really hard and the addiction to check or spend time surfing Facebook was too compelling, yet I managed to do that somehow. (Did I hear someone patting my back…J ) Life without Facebook, this post [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Recently I deactivated my Facebook account for some personal reasons. It was something which was really hard and the addiction to check or spend time surfing Facebook was too compelling, yet I managed to do that somehow. (Did I hear someone patting my back…<span style="font-family:Wingdings">J</span> )
</p>
<p>Life without Facebook, this post summarizes my experiences without Facebook in last couple of days and how I see the future with/without Facebook.
</p>
<p>1. <strong>Free music is kind of dead</strong>: Unless you are a guy with a cap with skulls and bones (typical pirate-wear), you must be using free music providers like Spotify or Saavan (There are some rich people who purchase music quiet often too, but for this case we are considering the others). Spotify/Saavan both use Facebook sign in, where Spotify had made it compulsory to have Facebook account to access Spotify. And here I go stumped, suddenly I lost all the music I had accumulated at Spotify. And though Saavan can be used without Facebook, it is yet to grow to the heights of Spotify and there is no doubt if Facebook wants to partner with Saavan with some funding to enable single sign in using Facebook only, Saavan being a startup would definitely like to embrace the offer.
</p>
<p>2. <strong>Social networking for Job Search</strong>: I am fond of LinkedIn, Glassdoor and Bullhorn for maintaining my professional network and updates regarding new opportunities in my field. One of the days while browsing Glassdoor, I got a message &#8220;Sign in with Facebook account&#8221; to read more. Fortunately, Glassdoor had login via your credentials apart from Facebook login.
</p>
<p>3.  <strong>Event Invite</strong>: This was not the first party/event I missed in last few days. Facebook has evolved as the RSVP de-facto. Organizing a party, create an event and voila you are done.
</p>
<p>4.  <strong>Facebook Applications: </strong>developed by you, you lose them as well. Probably it&#8217;s a good idea to create a Facebook developers account separately from your personal account.
</p>
<p>I believe there is lot more to experience, but one thing is for sure, Facebook has secured a strong place over the web. I still love Facebook and admire the scalable system design they have to handle over 1 Billion accounts. It is undoubtedly one of the best social network that have been around. But I am scared about the path leading the dependency with Facebook, and hope alternates shall be used by web services for consumers who does not want to use Facebook services.
</p>
<p><strong>Note</strong>: This Post is still under construction might be adding, editing the post with my experiences. </p>
]]></content:encoded>
					
					<wfw:commentRss>http://windowsvj.com/wpblog/2012/10/life-without-facebook/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Windows 8 Surface RT vs Pro</title>
		<link>http://windowsvj.com/wpblog/2012/10/windows-8-surface-rt-vs-pro/</link>
					<comments>http://windowsvj.com/wpblog/2012/10/windows-8-surface-rt-vs-pro/#respond</comments>
		
		<dc:creator><![CDATA[Vasu]]></dc:creator>
		<pubDate>Fri, 26 Oct 2012 22:02:07 +0000</pubDate>
				<category><![CDATA[Windows 8]]></category>
		<guid isPermaLink="false">http://windowsvj.com/wpblog/?p=3870</guid>

					<description><![CDATA[Past few days have been very exciting for Microsoft fan boys, I admit I am being one of them. With the availability of Surface tablet, Windows 8 RTM (General Availability), Office 2013 (for MSDN/Technet), Windows Phone 8 event in pipeline next week, things have never been exciting and bright for [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Past few days have been very exciting for Microsoft fan boys, I admit I am being one of them. With the availability of Surface tablet, Windows 8 RTM (General Availability), Office 2013 (for MSDN/Technet), Windows Phone 8 event in pipeline next week, things have never been exciting and bright for Microsoft. I personally admire how Microsoft has come through the &#8220;Vista Phase&#8221; where tech-pundits were predicting death of OS to the current phase.
</p>
<p>The recent announcement of Microsoft Surface Tablet RT version was one which everyone was looking for due to rumors like pricing to be as low as $200 to compete with tablets in the same segment. The price rage though affordable than Apple&#8217;s iPad, were not cheap enough to suddenly turn the market share in favor of Microsoft, probable reason being Microsoft had to make sure not to displease tablet manufacturers for Windows 8.
</p>
<p>Though the announcement for Surface RT was appreciated, there were some doubts regarding Surface RT vs Pro. This post shall clear the doubts before you buy Surface.
</p>
<p>
 </p>
<p><img decoding="async" src="http://windowsvj.com/wpblog/wp-content/uploads/2012/10/102612_2202_Windows8Sur1.jpg" alt=""/><img decoding="async" src="http://windowsvj.com/wpblog/wp-content/uploads/2012/10/102612_2202_Windows8Sur2.jpg" alt=""/>
	</p>
<table style="border-collapse:collapse" border="0">
<colgroup>
<col style="width:208px"/>
<col style="width:296px"/>
<col style="width:270px"/></colgroup>
<tbody valign="top">
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  solid 0.5pt; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"> </td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  solid 0.5pt; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:14pt"><strong>Surface RT</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  solid 0.5pt; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:14pt"><strong>Surface Pro</strong></span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>Operating system</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">Windows RT (32-bit)</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">Windows 8 Pro (64-bit)</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>Software compatibility</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">Metro-style apps, bundled desktop applications only with Office RT<a href="http://www.winsupersite.com/article/office-2013-beta2/office-2013-home-student-2013-rt-preview-144542"/></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">Metro-style apps, <strong>all desktop applications</strong></span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>Size</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">10.81 x 6.77 x 0.37 inches</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">10.81 x 6.81 x 0.53 inches</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>Weight</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">1.5 pounds</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">2 pounds</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>Storage</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">32 GB or 64 GB of eMMC storage</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">64 GB or 128 GB of eMMC/SSD storage</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>Display<br />
</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">10.6 inch Clear Type display running at 1366 x 768 with 5 point multi-touch</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">10.6 inch Clear Type display running at 1920 x 1080 with 10 point multi-touch</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>CPU</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">NVIDIA Tegra 3 T30</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">Intel Core i5 (third-generation, &#8220;Ivy Bridge&#8221;)</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>GPU</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">Not available</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">Intel HD graphics 4000</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>RAM</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">2 GB</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">4 GB</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>Pen support</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">Capacitive pen supported (not included in bundle)</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">Includes pen</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>Wireless</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">802.11a/b/g/n Wi-Fi and Bluetooth 4.0</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">802.11a/b/g/n Wi-Fi and Bluetooth 4.0</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>Cameras</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">Two 720p HD cameras, front-and rear-facing</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">Two 720p HD cameras, front-and rear-facing</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>Sensors</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">Ambient light sensor, accelerometer, gyroscope, and compass</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">Ambient light sensor, accelerometer, gyroscope, and compass</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>Ports</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">USB 2.0, micro SDXC card slot, headset jack, HD video out port (proprietary), cover port</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">USB 3.0, micro SDXC card slot, headset jack, mini Display Port (proprietary), cover port</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>Battery</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">31.5 Wh</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">42 Wh</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>Power Supply</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">24 W</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">48 W</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>Battery Life</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">~ 8 Hours (as claimed)</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">Not Available</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>Price</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">$499 (starting)</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">Not Available</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><strong>Availability</strong></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">Oct 26, 2012</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt">
<p><span style="color:#333333; font-size:10pt">Jan, 2013 (Exact date not announced)</span></p>
</td>
</tr>
</tbody>
</table>
<p style="background: white">
 </p>
<p>My verdict, wait for Surface Pro to be available in Jan 2013. Buy Surface RT only if you are an early adapter and you require tablet for non- commercial / business purposes. If you are a developer/programmer/ someone who crunches a lot with numbers or one who relies heavily on third party software&#8217;s like IDE&#8217;s (different from Visual Studio), you must probably wait just like I am doing. I would be buying the tablet in early January and would try to replace my laptop with this tablet. With the promises Surface has made it is quite sure this tablet will thin the lines or possibly eradicate the lines between tablet and laptop.
</p>
<p>You can <a href="http://surface.microsoftstore.com/store/msstore/Content/pbpage.Surface?ESICaching=off&amp;WT.mc_id=FY13WinHH">Buy Surface Tablet</a> starting $499 for RT version from today. </p></p>
]]></content:encoded>
					
					<wfw:commentRss>http://windowsvj.com/wpblog/2012/10/windows-8-surface-rt-vs-pro/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Resolve Cisco AnyConnect VPN Client error on Windows 8</title>
		<link>http://windowsvj.com/wpblog/2012/07/resolve-cisco-anyconnect-vpn-client-error-on-windows-8/</link>
					<comments>http://windowsvj.com/wpblog/2012/07/resolve-cisco-anyconnect-vpn-client-error-on-windows-8/#comments</comments>
		
		<dc:creator><![CDATA[Vasu]]></dc:creator>
		<pubDate>Fri, 06 Jul 2012 09:40:29 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<guid isPermaLink="false">http://windowsvj.com/wpblog/?p=3854</guid>

					<description><![CDATA[I have been early adapter of Windows 8. since the dev preview in Sept 2011. close to 9 months and we still have not seen the RTM which would probably be out in October for general public. So apart from bragging my geekiness i try to earn my bread n [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I have been early adapter of Windows 8. since the dev preview in Sept 2011. close to 9 months and we still have not seen the RTM which would probably be out in October for general public. So apart from bragging my geekiness i try to earn my bread n coffee using coding. One of days i brought some work to home to leverage Work from Home advantage but was disappointed to see Cisco VPN client was not working with Windows 8. It displayed an error while i was trying to connect to my corporate network: </p>
<p><strong>“The VPN Client driver has encountered an error.” or “Cannot initiate VPN.”</strong></p>
<p><a href="http://windowsvj.com/wpblog/wp-content/uploads/2012/07/cscovpn.png"><img loading="lazy" decoding="async" src="http://windowsvj.com/wpblog/wp-content/uploads/2012/07/cscovpn-213x300.png" alt="" title="cscovpn" width="213" height="300" class="aligncenter size-medium wp-image-3857" srcset="http://windowsvj.com/wpblog/wp-content/uploads/2012/07/cscovpn-213x300.png 213w, http://windowsvj.com/wpblog/wp-content/uploads/2012/07/cscovpn.png 328w" sizes="auto, (max-width: 213px) 100vw, 213px" /></a></p>
<p>Some forums misguided me VPNClient does not works on Windows 8. Also to make sure i tried to dog the old dieing OS on my machine that was Windows 7 and found out VPN Client working there. This narrowed down my problem to Windows 8 vs Cisco VPNClient compatibility. After a lot of searching digging mining turned out there is a quick and easy fix for this.</p>
<p>1. From the Start screen type “regedit” or Windows Key+R shortcut and type “regedit” to launch the Registry Editor.</p>
<p>2. Give it admin rights when UAC prompts. </p>
<p>3. In the registry editor, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vpnva</p>
<p><a href="http://windowsvj.com/wpblog/wp-content/uploads/2012/07/image3.png"><img loading="lazy" decoding="async" src="http://windowsvj.com/wpblog/wp-content/uploads/2012/07/image3-300x153.png" alt="" title="image3" width="300" height="153" class="aligncenter size-medium wp-image-3855" srcset="http://windowsvj.com/wpblog/wp-content/uploads/2012/07/image3-300x153.png 300w, http://windowsvj.com/wpblog/wp-content/uploads/2012/07/image3.png 1024w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p>4. Double-click on the DisplayName key, and remove the INF information from the display name so the modified version appears as <strong>Cisco AnyConnect VPN Virtual Miniport Adapter for Windows x64. (or the 32-bit / x86 equivalent)</strong></p>
<p><a href="http://windowsvj.com/wpblog/wp-content/uploads/2012/07/image4.png"><img loading="lazy" decoding="async" src="http://windowsvj.com/wpblog/wp-content/uploads/2012/07/image4-300x134.png" alt="" title="image4" width="300" height="134" class="aligncenter size-medium wp-image-3856" srcset="http://windowsvj.com/wpblog/wp-content/uploads/2012/07/image4-300x134.png 300w, http://windowsvj.com/wpblog/wp-content/uploads/2012/07/image4.png 394w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p>5. Click OK. Close Registry Editor and launch the AnyConnect client. The connection should work normally.</p>
<p>No reboot required and i am connected to my corporate Network. Thanks <a href="http://www.tomontech.com/2012/03/pro-tip-cisco-anyconnect-vpn-client-and-windows-8-consumer-preview/">Tom</a> for the tip. </p>
]]></content:encoded>
					
					<wfw:commentRss>http://windowsvj.com/wpblog/2012/07/resolve-cisco-anyconnect-vpn-client-error-on-windows-8/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>How to use Smarty variables in Javascript Code</title>
		<link>http://windowsvj.com/wpblog/2012/07/using-smarty-in-javascript-code-and-removing-syntax-errors/</link>
					<comments>http://windowsvj.com/wpblog/2012/07/using-smarty-in-javascript-code-and-removing-syntax-errors/#respond</comments>
		
		<dc:creator><![CDATA[Vasu]]></dc:creator>
		<pubDate>Fri, 06 Jul 2012 09:20:55 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<guid isPermaLink="false">http://windowsvj.com/wpblog/?p=3848</guid>

					<description><![CDATA[Smarty is a template engine for PHP that facilitates a managable way to separate application logic and content from its presentation. This is mostly used in industrial architecture following MVC (Model View Controller) architecture. The application data that contain no information about how they will be presented. They are passed [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><center><img decoding="async" src="http://smarty.incutio.com/smarty.gif" alt="Smarty " /></center></p>
<p>Smarty is a template engine for PHP that facilitates a managable way to separate application logic and content from its presentation. This is mostly used in industrial architecture following MVC (Model View Controller) architecture. The application data that contain no information about how they will be presented. They are passed into Smarty by the application, then the template designer edits the templates and uses a combination of HTML tags and template tags to format the presentation of these elements. Smarty ensures programmer can make changes to the application logic without the need to restructure templates, and the template designer can make changes to templates without breaking application logic.</p>
<p>Smarty is used in *.tpl files. These tpl files can use web presentation technologies like HTML and Javascript. While working recently in a web page rendered by Smarty while using the code , It threw the following error</p>
<p>The specific message was: Syntax Error in template &#8220;/websites/site.local/views/manager/index.tpl&#8221; on line 564 &#8220;onclick : function() {&#8221; &#8211; Unexpected &#8221; : &#8220;, expected one of: &#8220;}&#8221; </p>
<p>Now this error might look a bit weird, since you can easily access variables passed from PHP code using {variableName} </p>
<p>However, while using smarty variables inside a javascript, the Javascript code should be enclosed using the {literal}{/literal} tag if you haven&#8217;t. This prevents Smarty from parsing what&#8217;s in between so that the Javascript code is not being mistaken for PHP code.</p>
<p>So the code can look like : </p>
<p><code><head><br />
{literal}<br />
<script type="text/javascript" src="source.js">
   //Javascript code
   {/literal}{smartyVariable}{literal}
   //More Javascript Code
</script><br />
{/literal}<br />
</code></p>
<p>Smarty is a neat way to separate your code. I am still learning it and enjoying working over it. If you have nay questions regarding SMARTY you can ask by commenting here&#8230; More about Smarty: http://smarty.incutio.com/?page=SmartyFrequentlyAskedQuestions#basics-1</p>
]]></content:encoded>
					
					<wfw:commentRss>http://windowsvj.com/wpblog/2012/07/using-smarty-in-javascript-code-and-removing-syntax-errors/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Difference between INT(1) vs TINYINT(1) in MySQL</title>
		<link>http://windowsvj.com/wpblog/2012/07/difference-between-int1-vs-tinyint1-in-mysql/</link>
					<comments>http://windowsvj.com/wpblog/2012/07/difference-between-int1-vs-tinyint1-in-mysql/#respond</comments>
		
		<dc:creator><![CDATA[Vasu]]></dc:creator>
		<pubDate>Fri, 06 Jul 2012 09:06:31 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<guid isPermaLink="false">http://windowsvj.com/wpblog/?p=3845</guid>

					<description><![CDATA[The other day while designing a database schema i was suggested to use Tinyint instead of int. Tinyint, never ever used in SQL. So i digged a bit about this datatype. Later i thought probably i can use INT(1) for declaring the database field rather than TINYINT(1) as both might [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>The other day while designing a database schema i was suggested to use Tinyint instead of int. Tinyint, never ever used in SQL. So i digged a bit about this datatype. Later i thought probably i can use INT(1) for declaring the database field rather than TINYINT(1) as both might be restricted to a single digit only. Yes they would. But representation of TINYINT(1) is not exactly this. I&#8217;ve always just used INT(1) to say it&#8217;s an integer and it will only be one digit, which I assume means it could only be a value 0 through 9. </p>
<p>So, is there any difference between the various integer types INT, TINYINT, SMALLINT, MEDIUMINT, and BIGINT if you define a length of 1 for each type? And the answer is Yes there is a big diffeence between these data types though they belong to same class. </p>
<p>The number in parentheses for integer column types is the &#8220;display width&#8221;. This does not effect the storage requirements as they are pre-defined. INT(1) does not allow only one character, infact it sets the display width for that column in result sets. The display width is a number from 1 to 255. You can set the display width if you want all of your integer values to &#8220;appear&#8221; similarly. So INT(5) will not hold maximum value as 99999 but it will set the width of number as 5 for display and will truncate more or pad with space if less. </p>
<p>As an example quoted from <a href="http://matthom.com/archive/2006/11/28/mysql-integer-columns-and-display-width" title="Matthom">Matthom</a></p>
<p>INT(6) sets the display as: </p>
<p>    55<br />
   643<br />
  1098<br />
 81153</p>
<p>where the left side are padded with spaces.</p>
<p>To help visualize it easier, try this:</p>
<p>_ _ _ _ 5 5<br />
_ _ _ 6 4 3<br />
_ _ 1 0 9 8<br />
_ 8 1 1 5 3</p>
<p>Notice how they all have a display width of 6.</p>
<p>Also, notice the datatype range and size would be different for int and tinyint. While int takes 4 bytes, tinyint takes just a single byte.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://windowsvj.com/wpblog/2012/07/difference-between-int1-vs-tinyint1-in-mysql/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Windows 8 Tablet Preview</title>
		<link>http://windowsvj.com/wpblog/2012/04/windows-8-tablet-preview/</link>
					<comments>http://windowsvj.com/wpblog/2012/04/windows-8-tablet-preview/#comments</comments>
		
		<dc:creator><![CDATA[Vasu]]></dc:creator>
		<pubDate>Mon, 30 Apr 2012 08:00:38 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://windowsvj.com/wpblog/?p=3838</guid>

					<description><![CDATA[Windows 8 has mixed opinions at the moment. While many appreciate the new look, others find the double interface system a drag. Yet, Windows 8 is pretty much about touchscreen devices from start to finish. Microsoft has taken time to create something that’s amazing. Although it’s not out as yet, [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Windows 8 has mixed opinions at the moment. While many appreciate the new look, others find the double interface system a drag. Yet, Windows 8 is pretty much about touchscreen devices from start to finish. Microsoft has taken time to create something that’s amazing. Although it’s not out as yet, it’s still the main talk in town. There’s a lot to look forward to on Windows 8 tablets.</p>
<p>Running On ARM, Intel and AMD Chips<br />
Windows 8 runs on x86 based Intel and AMD machines and also has the capacity to run on ARM-based hardware. Apple and Android tablets run on the same kind of hardware. Plenty of interesting kits can be expected after the release of Windows 8. If things go according to the plan, Windows 8 for ARM tablets and Windows 8 for x86 PCs should be launched together. One of the test beds for the new ARM-based tablets is the Tegra 3 chip by Nvidia. Microsoft has partnered with Nvidia to bring in high performance to Windows 8. The only issue here is that the ARM-based Windows 8 won’t really have any desktop apps except Metro apps, thus, rumors suggest that only a few tablets will be launched.</p>
<p>The New Metro Interface<br />
Windows 8 tablets will have a brilliant interface called Metro. This interface is just like the Windows Phone 7. Advanced, smooth, vibrant, the whole experience has been totally transformed, while the power, elasticity and connectivity stay perfect. Even thought Metro is mainly designed and optimized keeping touch in mind, it works remarkably with a mouse and keyboard as well. This gives users the ability to use the device they prefer, the peripherals they opt to use and run the different apps their crazy about. This in-turn, will lead to a new generation of hardware and software. When it comes to portrait orientation, the Windows 8 tablets demonstrated so far have been in landscape.</p>
<p>Tablet Desktop<br />
The new ARM version Windows 8 tablets have the Metro interface and the traditional desktop. However, only third-party Metro apps are allowed. The windows desktop and known apps like Internet Explorer, Windows Explorer, Windows Live and Office. All the other apps will be Metro.</p>
<p>Start Menu<br />
Windows 8 doesn’t have a Start button or Start Orb as it’s known. The start button is replaced with the new Metro Interface. Microsoft might face a small repercussion with this, yet, Microsoft stand by the Start Menu decision made in Windows 8.</p>
<p>Windows App Store<br />
The web will be moved with different app development and Microsoft is sure about that. So much so, that a Windows Store has been created with entrances that are manufacturer specific. In-fact, apps play in huge role in Windows 8. Several Metro apps will be pre-installed on Windows 8, which deal with elements like messaging, calendar, SkyDrive, mail, photos, videos, people, music and a camera. The apps will be in the Windows Phone Metro style, while some apps like messaging may include mobile aspects like SMS support.</p>
<p>Tablet Display<br />
Windows 8 happily supports a 10.1-inch tablet display along with a 291dpi. The new iPad has 265 dpi. Thus, tablet display with HD resolution will be a standard feature offered by Windows 8 tablets. Everything displayed by this OS will be totally awesome.</p>
<p>High End Support<br />
Windows 8 is a high end operating system. Nvidia has joined hands with Microsoft knowing the fact that Windows 8 has a lot to offer and a long way to go. This new Microsoft creation is completely trusted by Nvidia and several others for that matter. Motorola is ready to use Windows 8 as its main platform. There are vendors who don’t mind moving away from Android and opting for Windows 8. Windows 8 has many supporters and that stand by it, knowing that it an amazing innovation that will change many things.</p>
<p>Tablet Manufacturers<br />
At Microsoft’s Build conference, a Samsung tablet with Windows 8 OS was shown. HP also intends to make Windows 8 tablets. Windows 8 has a lot of potential and that’s something Dell agrees to, after checking out the amazing capabilities in Windows 8 Beta. Dell has opted to use Windows 8 in its new tablets that will be launched during the second or third half of this year. Nokia has also planned to release a Widows 8 tablet towards the end of this year, or the start of 2013, as it considers it to be an incredible opportunity.<br />
Nokia intends to create a tablet that can fight head to head with the iPad. Asus will sell its Windows 8 tablets in the third quarter of 2012. There are many manufacturers that will design window 8 tablets for business proposes.</p>
<p>Price Tag<br />
It is obvious that Windows 8 and iPads, Android tablets along with Chrome OS netbooks will fight to be the strongest. They have to be priced in the best way possible in-order to sell, as the options of style and features and performance will come head to head.</p>
<p>Windows 8 is definitely the new buzz that consumers as well as manufacturers are waiting for. It does have a lot to offer and a Windows 8 tablets will probably overtake all their rivals. However, too much shouldn’t be expected at the moment, as when Windows 8 tablets are finally out, they won’t be appreciated that much. One thing’s for sure, Windows 8 is here to stay and Windows 8 tablets are going to be totally remarkable and extreme.<br />
About the author: Brianne Walter is a blogger who also happens to be a tech freak. She loves spending on tech stuff and is a gadget freak who like to write articles on latest gadgets like  <a href="http://www.cellphonebeat.com/samsung-omnia.html">Samsung Omnia W</a> smartphone, <a href="http://www.gizmowatch.com/hp-envy-17-3d-series.html">hp envy 17</a> etc.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://windowsvj.com/wpblog/2012/04/windows-8-tablet-preview/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>Indexing documents in Solr with custom fields</title>
		<link>http://windowsvj.com/wpblog/2012/04/indexing-documents-in-solr-with-custom-fields/</link>
					<comments>http://windowsvj.com/wpblog/2012/04/indexing-documents-in-solr-with-custom-fields/#respond</comments>
		
		<dc:creator><![CDATA[Vasu]]></dc:creator>
		<pubDate>Mon, 23 Apr 2012 03:21:43 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://windowsvj.com/wpblog/?p=3831</guid>

					<description><![CDATA[A lot of time i spent this weekend for indexing documents into Solr. And i was really unhappy with the community support provided by Apache mailing list. I believe Apache has some really nice software packages and frameworks that are very useful for developers and enterprises, but it all boils [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>A lot of time i spent this weekend for indexing documents into Solr. And i was really unhappy with the community support provided by Apache mailing list. I believe Apache has some really nice software packages and frameworks that are very useful for developers and enterprises, but it all boils down to community support if a product is being preferred in the developer world.</p>
<p>Solr, is a search platform by Apache Lucene project. It is used for full-text search and indexing. All those familiar with search engines must be knowing, how a search engine like Google provides us results.</p>
<p>Initially, fed with a seed file containing URLs, the search engine keeps on parsing these files (webpages) and putting all URLs into a stack. After reading each file it pops another webpage from stack and parses its URL and this goes on. During this crawling phase, all URLs interlinked to a page can be crawled. Apache Nutch is a software which can be useful for such purposes. Spider or Bots for Search engines are sued for crawling the web.</p>
<p>The next step for a search engine, is indexing those documents the functionality which can be provided by Solr. After indexing webpages, which are stored using an inverted index data structure, Search engine&#8217;s next step is displaying query results. These results are displayed on basis of propriety algorithms of search engines like page rank or some biasing of the results (for which Google has been recently criticized a lot).</p>
<p>So indexing is a very important steps in Web search engines, and often documents are indexed using tags. For indexing in Solr using custom fields, one may need to follow these steps:</p>
<p>1. Navigate to Solr installation folder, in my case it was inside xampp\solr\conf\ . Here in the schema.xml file the field to be indexed is added. with its properties. The schema.xml file contains all of the details about which fields your documents can contain, and how those fields should be dealt with when adding documents to the index, or when querying those fields.</p>
<p>Thesection inside shema.xml file is where you list the customdeclarations you wish to use in your documents along with various field options that apply to a field.</p>
<p>Common options that fields that can be customized are&#8230;</p>
<p>&nbsp;</p>
<p>1. <strong>default</strong></p>
<p>The default value for this field if none is provided while adding documents</p>
<p>2. <strong>indexed=true|false</strong></p>
<p>True if this field should be &#8220;indexed&#8221;. If a field is indexed, then it is searchable, sortable, and facetable.</p>
<p>3. <strong>stored=true|false</strong></p>
<p>True if the value of the field should be retrievable during a search</p>
<p>4. <strong>compressed=true|false</strong></p>
<p>True if this field should be stored using gzip compression.</p>
<p>5. <strong>compressThreshold=</strong></p>
<p>6. <strong>multiValued=true|false</strong></p>
<p>True if this field may contain multiple values per document, i.e. if it can appear multiple times in a document</p>
<p>7. <strong>omitNorms=true|false</strong></p>
<p>Set to true to omit the norms associated with this field (this disables length normalization and index-time boosting for the field, and saves some memory). Only full-text fields or fields that need an index-time boost need norms.</p>
<p>8. <strong>termVectors=false|true</strong></p>
<p>If set, include full term vector info.</p>
<p>If enabled, often also used with termPositions=&#8221;true&#8221; and termOffsets=&#8221;true&#8221;.</p>
<p>9. <strong>omitTermFreqAndPositions=true|false</strong></p>
<p>If set, omit term freq, positions and payloads from postings for this field. This can be a performance boost for fields that don&#8217;t require that information and reduces storage space required for the index. Queries that rely on position that are issued on a field with this option will silently fail to find documents.</p>
<p>10. <strong>omitPositions=true|false</strong></p>
<p>If set, omits positions, but keeps term frequencies</p>
<p>To include two fields in the document which i am reading, i wanted them to index using their Author Name/ Maximum frequency term. To add these fields i simply added the code in the schema.xml under the</p>
<p><code>&lt;field name="AuthorName" type="string" indexed="true" stored="true" required="true" omitNorms="false" default="defAuthor"/&gt;<br />
    &lt;field name="MaximumFrequencyTerm" type="string" indexed="true" stored="true" required="true"  omitNorms="false" default="testLong"/&gt; </code></p>
<p><a href="http://windowsvj.com/wpblog/wp-content/uploads/2012/04/Screenshot-62.png"><img loading="lazy" decoding="async" src="http://windowsvj.com/wpblog/wp-content/uploads/2012/04/Screenshot-62-300x168.png" alt="" title="Screenshot (62)" width="300" height="168" class="aligncenter size-medium wp-image-3835" srcset="http://windowsvj.com/wpblog/wp-content/uploads/2012/04/Screenshot-62-300x168.png 300w, http://windowsvj.com/wpblog/wp-content/uploads/2012/04/Screenshot-62-1024x575.png 1024w, http://windowsvj.com/wpblog/wp-content/uploads/2012/04/Screenshot-62.png 1366w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><br />
Once done with editing, schema.xml, the necessary code to index files using SolrJ API for Solr is : </p>
<p><code><br />
SolrServer server = new CommonsHttpSolrServer("http://localhost:8080/solr/");<br />
ContentStreamUpdateRequest up = new ContentStreamUpdateRequest("/update/extract");<br />
SolrInputDocument doc = new SolrInputDocument();<br />
doc.addField("MaximumFrequencyTerm", MaximumFrequencyTerm,35);<br />
doc.addField("AuthorName", AuthorName,35);<br />
Collection<SolrInputDocument> docs = new ArrayList<SolrInputDocument>();<br />
docs.add( doc );<br />
server.add( docs );<br />
server.commit();<br />
</code></p>
<p>Make sure to add any unique keys along with to add in the document before you commit. Once you run the code all files are indexed with the custom field and can be seen in the Solr search at http://localhost:8080/solr/admin using the search query as &#8220;*:*&#8221; . </p>
]]></content:encoded>
					
					<wfw:commentRss>http://windowsvj.com/wpblog/2012/04/indexing-documents-in-solr-with-custom-fields/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Installing Solr over Windows</title>
		<link>http://windowsvj.com/wpblog/2012/04/installing-solr-over-windows/</link>
					<comments>http://windowsvj.com/wpblog/2012/04/installing-solr-over-windows/#comments</comments>
		
		<dc:creator><![CDATA[Vasu]]></dc:creator>
		<pubDate>Mon, 16 Apr 2012 10:49:40 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<guid isPermaLink="false">http://windowsvj.com/wpblog/?p=3823</guid>

					<description><![CDATA[In the last post, i covered how to troubleshoot Xampp port error for configuring Tomcat Apche Server on Windows. In this post i would be covering on How to install Solr on Windows. Solr is an open source enterprise search platform from the Apache Lucene project written in Java. Its [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>In the last post, i covered how to troubleshoot Xampp port error for configuring Tomcat Apche Server on Windows. In this post i would be covering on How to install Solr on Windows.<br />
<a href="http://windowsvj.com/wpblog/wp-content/uploads/2012/04/solr.jpg"><img loading="lazy" decoding="async" src="http://windowsvj.com/wpblog/wp-content/uploads/2012/04/solr.jpg" alt="" title="solr" width="380" height="283" class="aligncenter size-full wp-image-3824" srcset="http://windowsvj.com/wpblog/wp-content/uploads/2012/04/solr.jpg 380w, http://windowsvj.com/wpblog/wp-content/uploads/2012/04/solr-300x223.jpg 300w" sizes="auto, (max-width: 380px) 100vw, 380px" /></a><br />
Solr is an open source enterprise search platform from the Apache Lucene project written in Java. Its major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering, database integration, and rich document (e.g., Word, PDF) handling. Providing distributed search and index replication, Solr is highly scalable. Solr runs as a standalone full-text search server within a servlet container such as Apache Tomcat. Solr uses the Lucene Java search library at its core for full-text indexing and search, and has REST-like HTTP/XML and JSON APIs that make it easy to use from virtually any programming language. <a href="http://en.wikipedia.org/wiki/Apache_Solr" title="Wiki">(Wiki)</a></p>
<p>Steps to install Solr on windows: </p>
<p>1. If you have successfully installed Tomcat Server (using Xampp probably), try opening <a href="http://localhost:8080">localhost:8080</a>. If this shows a page with message &#8220;If you&#8217;re seeing this page via a web browser, it means you&#8217;ve setup Tomcat successfully. Congratulations!&#8221; , you are good to go to second step. We assume tomcat has been installed under D:\xampp\tomcat</p>
<p>2. Download and unzip the Solr distribution zip file into a temp folder at D:\temp\solrZip\<br />
Latest build (As of Apr 16, 2012) can be downloaded from here : <a href="http://mirrors.axint.net/apache/lucene/solr/3.6.0/apache-solr-3.6.0.zip">http://mirrors.axint.net/apache/lucene/solr/3.6.0/apache-solr-3.6.0.zip</a></p>
<p>3. Create a directory as &#8220;solr home&#8221; directory called, where you intend the application server to function, You may create it inside xampp installation directory itself at<br />
D:\xampp\solr</p>
<p>4. Copy the contents of the example\solr directory D:\temp\solrZip\example\solr\ to D:\xampp\solr\</p>
<p>5. Stop the Tomcat service</p>
<p>6. Copy the *solr*.war file from D:\temp\solrZip\dist\ to the Tomcat webapps directory D:\xampp\tomcat\webapps\ and rename the *solr*.war file solr.war</p>
<p>7. Configure Tomcat to recognize the solr home directory you created, by adding the Java Options -Dsolr.solr.home=D:\xampp\solr\ and -Dsolr.velocity.enabled=false<br />
either use the system tray icon to add the java option<br />
or manually edit the environment script D:\xampp\tomcat\bin\setenv.bat and add it to JAVA_OPTS</p>
<p>* Note: For Tomcat 7 and Solr3.6, the above option on setenv.bat may not work, so you could not use it and put this code fragment<br />
on $CATALINA_HOME/conf/Catalina/localhost/solr.xml</p>
<p><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
&lt;Context docBase="D:\xampp\tomcat\webapps\solr.war" debug="0" crossContext="true" &gt;<br />
    &lt;Environment name="solr/home" type="java.lang.String" value="D:\xampp\solr\" override="true" /&gt;<br />
&lt;/Context&gt;</code></p>
<p>8. Start the Tomcat service</p>
<p>9. Go to the solr admin page to verify that the installation is working. It will be at <strong><a href="http://localhost:8080/solr/admin">http://localhost:8080/solr/admin</a></strong></p>
<p><a href="http://windowsvj.com/wpblog/wp-content/uploads/2012/04/Screenshot-61.png"><img loading="lazy" decoding="async" src="http://windowsvj.com/wpblog/wp-content/uploads/2012/04/Screenshot-61-300x168.png" alt="" title="Screenshot (61)" width="450" height="244" class="aligncenter size-medium wp-image-3825" /></a></p>
<p>You are good to go with Solr over Tomcat now.. .</p>
<p>Sources: <a href="http://wiki.apache.org/solr/SolrTomcat#Tomcat_on_Windows">http://wiki.apache.org/solr/SolrTomcat#Tomcat_on_Windows</a></p>
]]></content:encoded>
					
					<wfw:commentRss>http://windowsvj.com/wpblog/2012/04/installing-solr-over-windows/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
	</channel>
</rss>