tag:blogger.com,1999:blog-10475689706739623772024-02-07T13:24:11.265+05:30Techie Anish's BlogCoding, Big Data, Tech Q&A, Hadoop and moreAnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.comBlogger51125tag:blogger.com,1999:blog-1047568970673962377.post-11854202091257589072014-12-20T15:35:00.001+05:302014-12-20T15:35:22.705+05:30Running the webapp2 framework on Heroku<div dir="ltr" style="text-align: left;" trbidi="on">
<h3 style="text-align: left;">
What is Heroku?</h3>
<div>
<a href="http://heroku.com/" target="_blank">Heroku</a> is a cloud platform that helps in developing and deploying apps written in several programming languages. What I like in Heroku is that it creates a Virtual Environment for every app you publish. So, you can have your own packages and frameworks from the language of your choice. </div>
<h3 style="text-align: left;">
What is webapp2?</h3>
<div>
<a href="https://webapp-improved.appspot.com/" target="_blank">webapp2</a> is a lightweight web development framework for Python by Google. It is one of the easiest frameworks to work with in Python. In fact, I started by journey of web development by learning this framework via the <a href="https://cloud.google.com/appengine/docs" target="_blank">Google App Engine</a>. </div>
<div>
<br /></div>
<h3 style="text-align: left;">
Lets begin!</h3>
<h4 style="text-align: left;">
1) Set up Heroku on your system</h4>
<div>
I am not going to write much about this, as Heroku has given an awesome Getting Started tutorial for Python <a href="https://devcenter.heroku.com/articles/getting-started-with-python" target="_blank">here</a>. Follow that link and you will get the basics of the platform and be up and running with a Hello World application in Heroku in about 15 minutes. Yes, just 15 minutes. The tutorial will also talk about something called a <a href="https://devcenter.heroku.com/articles/procfile" target="_blank">Procfile</a>, its a very important part of this project so, just have an idea about what it exactly does. I highly recommend you to follow that tutorial now, if you are new to Heroku. This tutorial follows a unix shell command line interface. </div>
<h4 style="text-align: left;">
2) Now, comes the fun part</h4>
<div>
By this time, you must have installed the Heroku tool belt. </div>
<div>
<ol style="text-align: left;">
<li>Create a new folder called <b>hellowebapp. </b>This will be the project folder. All files must reside here.</li>
<li>Now login to heroku.
<pre class="prettyprint lang-sh">$ heroku login</pre>
</li>
<li>cd to the project directory
<pre class="prettyprint lang-sh">$ cd hellowebapp</pre>
</li>
<li>Create a virtual environment. If you don't know what this is, <a href="https://webapp-improved.appspot.com/tutorials/virtualenv.html#tutorials-virtualenv" target="_blank">follow this link</a>.
<pre class="prettyprint lang-sh">$ virtualenv venv</pre>
</li>
<li>Activate the virtual environment</li>
<pre class="prettyprint lang-sh">$ source venv/bin/activate</pre>
<li>Install WebOp, Paste and webapp2 using python's setup tools. We are going to use pip for this tutorial.</li>
<pre class="prettyprint lang-sh">$ pip install WebOp
$ pip install Paste
$ pip install webapp2
</pre>
<li>Now, create a python file which defines your app. For the sake of the tutorial, we are going to run a simple hello world! example.:
<pre class="prettyprint lang-py">import webapp2
class HelloWebapp2(webapp2.RequestHandler):
def get(self):
self.response.write('Hello, webapp2!')
app = webapp2.WSGIApplication([
('/', HelloWebapp2),
], debug=True)
def main():
from paste import httpserver
httpserver.serve(app, host='127.0.0.1', port='8080')
if __name__ == '__main__':
main()
</pre>
</li>
<li>Create a file called Procfile.txt
<pre class="prettyprint lang-sh">touch Procfile.txt
nano Procfile.txt
</pre>
</li>
<li>Add the following contents to that file and <b>Save it</b>
<pre class="prettyprint lang-sh">web: gunicorn hello:app --log-file=-</pre>
</li>
<li>Test your app, locally. After the execution of this command, the app will mostly run at http://localhost:5000
<pre class="prettyprint lang-sh">$ foreman start</pre>
</li>
<li>Copy the list of packages to a file called requirements.txt so that when you deploy, the web server installs the packages automatically. The pip freeze command will come to help.
<pre class="prettyprint lang-sh">$ pip freeze > requirements.txt</pre>
</li>
<li>Create a git repository and save changes</li>
<pre class="prettyprint lang-sh">$ git init
$ git add .
$ git commit -m "First!"
</pre>
<li>Create a Heroku app
<pre class="prettyprint lang-sh">$ heroku create</pre>
</li>
<li>Push contents to cloud
<pre class="prettyprint lang-sh">$ git push heroku master</pre>
</li>
<li>Lets just run one <a href="https://devcenter.heroku.com/articles/dynos" target="_blank">dyano</a> of the app
<pre class="prettyprint lang-sh"> heroku ps:scale web=1 </pre>
</li>
</ol>
<div>
Ta-da! Your webapp2 powered app is now running on heroku! Now start exploring the framework and continue with the work. Any problems? Just comment below. I will reply asap. If you have problems in setting up Heroku, you can ask that too.<br />
<br />
Happy web developing!</div>
</div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com2tag:blogger.com,1999:blog-1047568970673962377.post-23500604641656417472014-06-16T16:55:00.000+05:302014-06-20T16:06:57.134+05:30Developing a Naive Bayes Classifier for Spam Detection in Python<div dir="ltr" style="text-align: left;" trbidi="on">
<h2>
The Naive Bayes Classifier</h2>
Classifiers based on Bayesian methods utilize training data to calculate an observed<br />
probability of each class based on feature values. When the classifier is used later on<br />
unlabeled data, it uses the observed probabilities to predict the most likely class for the<br />
new features. It's a simple idea, but it results in a method that often has results on par<br />
with more sophisticated algorithms.<br />
<div>
<br /></div>
<div>
<h2 style="text-align: left;">
Begin Exercise.</h2>
<h3 style="text-align: left;">
Getting the required packages:</h3>
First, down the required packages for the classifier. The NLTK package is widely used for the purposes of Natural Language Processing in Python. You can read more about NLTK here. TextBlob allows simpler interface for the same. We are going to use both of them to achieve our goal. You can download them from your Linux Shell using <i>pip. </i><br />
<br />
<pre class="prettyprint lang-sh">sudo pip install nltk</pre>
<pre class="prettyprint lang-sh">sudo pip install textblob </pre>
<br />
After your installation of these packages is done, we are now ready to code.<br />
<h3 style="text-align: left;">
Start coding!</h3>
</div>
<div>
<h4>
1. Collect training data set</h4>
</div>
<div>
All machine learning algorithms require training. We all know that Naive Bayes classifies the unclassified text by learning from past. Luckily there is a well shaped data set which actually contains a messages tagged with spam vs ham. You can get it from <a href="http://www.dt.fee.unicamp.br/~tiago/smsspamcollection/" target="_blank">here</a>. This is how the first few lines of the data set look like:</div>
<div>
<blockquote class="tr_bq">
ham Even my brother is not like to speak with me. They treat me like aids patent.<br />
ham As per your request 'Melle Melle (Oru Minnaminunginte Nurungu Vettam)' has been set as your callertune for all Callers. Press *9 to copy your friends Callertune<br />
spam WINNER!! As a valued network customer you have been selected to receivea 900<br />
spam Had your mobile 11 months or more? U R entitled to Update to the latest colour Free! Call The Mobile Update Co FREE on 08002986030<br />
ham I'm gonna be home soon and i don't want to talk about this stuff anymore tonight, k? I've cried enough today.</blockquote>
</div>
<div>
As you can see, there is the type on the left side and separated by a tab, there is a message. This is going to be o<br />
<div>
<h4>
2. Import the libraries</h4>
There are the libraries that we need to import. These include few from the two we have downloaded and some more to perform some debugging tasks on our Python code.</div>
<pre class="prettyprint lang-py">import random #to shuffle the training set
import time #to time learning and and classification
from textblob import TextBlob #to tokenize our sentences into words
from nltk.corpus import stopwords #to remove unwanted stop words </pre>
from text.classifiers import NaiveBayesClassifierur training data set.</div>
<div>
<br />
<h4 style="text-align: left;">
3. Creating training tuples for the classifier</h4>
</div>
<div>
The NaiveBayesClassifier function accepts tuples in the order, (body, class). Where <i>body</i> is the text that is to be classified and <i>class </i> referes to the class of text. For this experiment, we are going to classify each word of the message with respect to its class. Making our text of tuples look like:</div>
<pre class="prettyprint lang-py">list_of_tuples = [
('call','ham')
('free', 'spam')
('word','ham'
]
</pre>
<div>
To achieve this, I have written a function that reads all lines of the tab separated file and generated list of tuples. The algorithm that I have followed to achieve this is:<br />
<br />
<blockquote class="tr_bq">
initialize an empty list of tuples<br />
for each line in file:<br />
split the line using the tab delimiter<br />
extract the second part of the split as sentence<br />
split sentence into words<br />
for each word in sentence:<br />
if word is not a stop word or a number:<br />
create tuple (word,type)<br />
append tuple to the list<br />
return the list </blockquote>
</div>
<div>
To work with sentences and words, we are going to use the NLTK corpus and TextBlob APIs. Here is how the function is going to look like:</div>
<pre class="prettyprint lang-py">def get_list_tuples(read_file):
list_tuples = []
with open(read_file,"r") as r:
c=0
for line in r:
tabsep = line.strip().split('\t')
msg = TextBlob(tabsep[1])
try:
words=msg.words
except:
continue
for word in words:
if word not in stopwords.words() and not word.isdigit():
list_tuples.append((word.lower(),tabsep[0]))
c+=1 #limiting factor begins
if c==500:
break #limiting factor ends
return list_tuples
</pre>
<div>
<br /></div>
<div>
For the sake of simplicity, we have created a TextBlob for every sentence that makes it easier to extract words and save few lines of code to remove punctuation and all. Also, if we encounter some words that cannot be rendered by the TextBlob, we just skip the line, and continue scanning our data set. You might have also observed that I have introduced a variable <i>c</i> that actually limits the number of lines that we are going to import from our data set. All these modifications are made just for simplicity and so that the code be executed faster. You can increase this counter or remove that part of code to let the classifier train over all the 5700+ lines present in the data set.<br />
<br />
Now, we will have to call the function with the parameter being the path to file where our data set resides. For me, I have called the function like this:<br />
<pre class="prettyprint lang-py">a = time.time()
entire_data = get_list_tuples("~/Documents/DataSci/DataSets/sms/SMSSpamCollection")
print "It took "+str(time.time()-a)+" seconds to import data" #10.031548
</pre>
As you might have seen I have also calculated the amount of time required to import data from the file and create our entire_data structure. This is helpful is measuring the performance of our program. For me, it took around 10 seconds to import 500 lines from the data set. You can also omit those lines if you are not bothered about it.<br />
<br /></div>
<div>
<h4 style="text-align: left;">
4. Some shuffling required</h4>
</div>
<div>
Before beginning our training, if we look at the tuples we generated, most of them are partly sequentially arranged. For example, many 'ham' classified text are contiguous. We will now simply shuffle our array using the <i>random.shuffle() </i>function in Python. This will enable us to create the train and test data sets for our classifiers to be created from the same list.</div>
<pre class="prettyprint lang-py">random.seed(1)
random.shuffle(entire_data) #shuffling the data
train = entire_data[:250] #list of training tuples for classifier
test = entire_data[251:500] #list of tuples for testing the accuracy of the classifier
</pre>
<div>
<br />
<h4 style="text-align: left;">
5. Train the classifier!</h4>
</div>
<div>
Now that everything is ready, we can train the classifier using <i>NaiveBayesClassifier </i>present in the <i>text.classifiers </i>package. Yet again, I have introduced timers to check how much time was required for the training to be completed.</div>
<pre class="prettyprint lang-py">a = time.time()
cl = NaiveBayesClassifier(train)
print "It took "+str(time.time()-a)+" seconds to train data" #7.003
</pre>
<div>
<br />
<h4 style="text-align: left;">
Testing the classifier!</h4>
</div>
<div>
Now, we will test the classifier using the testing set that we have created earlier.</div>
<pre class="prettyprint lang-py">accuracy = cl.accuracy(test)
print "accuracy: "+str(accuracy)
</pre>
<div>
Well, when I tried it, I got an accuracy of around 78%.</div>
<div>
You can also play around with the classifier by typing in your favorite messages and see how they are classified. All you have to do is to create the tuple of (<i>message,class)</i> as I have told you people before.<br />
To classify individual sentences and getting the result, you can use this one line of code:<br />
<br /></div>
<pre class="prettyprint lang-py" style="text-align: left;">print cl.classify("Hey bud, what's up") #ham
print cl.classify("Get a brand new mobile phone by being an agent of The Mob! Plus loads more goodies! For more info just text MAT to 87021") #spam
</pre>
<div>
<h4>
The entire python file:</h4>
</div>
<div>
</div>
<script src="https://gist.github.com/anishmashankar/d0550790f4df9ec11867.js"></script>
<div>
<h3 style="text-align: left;">
Conclusion:</h3>
</div>
<div>
We have designed a simple SPAM vs HAM classifier using Naive Bayes Classification algorithm. You can use this tutorial to develop various other systems of classifications. There are many data sets present on <a href="http://archive.ics.uci.edu/ml/datasets.html" target="_blank">this website</a> which can be used for classification purposes. Using similar algorithm that we have used here, you can also use various sentiment analysis databases to classify a given sentence to be positive or negative. It is just that as our classes here were <i>spam</i> and <i>ham, </i>for that experiment, they would be <i>positive</i> or <i>negative</i>. Do you have something more to add to this? Please let me know your suggestions and comments below. Thank you.</div>
<div>
More coding tutorials at <a href="http://techieanish.blogspot.in/search/label/Let's%20Code" target="_blank">Let's Code</a>
<br />
You can also connect me on various social networks, links are on top of the page. Also, if you like it, share it :)</div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com2tag:blogger.com,1999:blog-1047568970673962377.post-80571711491176531182014-06-07T14:57:00.000+05:302014-06-07T15:53:09.195+05:30Installing and Running Apache Pig on Hadoop 2.x versions<div dir="ltr" style="text-align: left;" trbidi="on">
<blockquote class="tr_bq">
<span style="color: #252525; font-family: sans-serif;"><span style="background-color: white; font-size: 14px; line-height: 22.399999618530273px;">Pig is a high-level platform for creating MapReduce programs used with Hadoop. The language for this platform is called Pig Latin. Pig Latin abstracts the programming from the Java MapReduce idiom into a notation which makes MapReduce programming high level, similar to that of SQL for RDBMS systems. Pig Latin can be extended using UDF (User Defined Functions) which the user can write in Java, Python, JavaScript, Ruby or Groovy and then call directly from the language.</span></span></blockquote>
Installing Pig is just as simple. What you will have to do is:<br />
<ol style="text-align: left;">
<li><b>Download</b> the desired pig distribution from any one of the <a href="http://www.apache.org/dyn/closer.cgi/pig" target="_blank">Apache Mirrors</a>. It is best if you choose the latest version of Pig. Also, download the file whose name is like <i>pig-0.12.1.tar.gz</i>, where "0.12.1"is the version number. </li>
<li><b>Extract Pig to a desired directory</b>.</li>
<ol>
<li> Simple way is to copy the tar.gz to the root directory where you want your installation to reside.</li>
<li>Now, execute the following code in Linux bash at the directory<br />
<pre class="prettyprint lang-sh">tar -xzf pig-0.12.1.tar.gz</pre>
</li>
<li>You will have the installation ready.</li>
</ol>
<li><b>Editing Path</b></li>
<ol>
<li>To access the pig installation easily and run your scripts from anywhere, make sure to add the pig's <i>bin </i>in your path.</li>
<li>To do this, open the file <i>/home/user/.bashrc</i> in your favorite editor and copy the following line at the end of the file.
<br />
<pre class="prettyprint lang-sh">export PATH=/<my path to pig>/pig-n.n.n/bin:$PATH
</pre>
</li>
<li>After doing all this, your Pig installation is ready for further configuration.</li>
</ol>
</ol>
You might get the following error when running Pig scripts with Apache Hadoop 2.x. Here is a highlight of the error:<br />
<pre class="prettyprint lang-sh">Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected</pre>
<br />
Now, that's a problem. Don't worry, solving it is unbelievably simple. This is what you will have to do:<br />
<ul style="text-align: left;">
<li><i>cd </i> to your pig installation directory. Yes, inside the Pig directory.</li>
<li>And run this code:<br />
<pre class="prettyprint lang-sh">ant clean jar-withouthadoop -Dhadoopversion=23
</pre>
</li>
</ul>
<br />
After that, try running your Pig script again. You will find that everything is alright now.<br />
Any problems working this around or have any suggestions? Just comment it below :)<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheAzSh7uSN4YSIonFa6jxbYmjm6PEVoafh6IVB-R2kNy_duw3ZvK3sjhWRd9_78CwWNV6YLn08FHvyIc7jy3qq7wiih2Ekxx6ynPli77fypxmCDmfF1kUO_Fr21oyqUujabt06h43epQ/s1600/pig.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheAzSh7uSN4YSIonFa6jxbYmjm6PEVoafh6IVB-R2kNy_duw3ZvK3sjhWRd9_78CwWNV6YLn08FHvyIc7jy3qq7wiih2Ekxx6ynPli77fypxmCDmfF1kUO_Fr21oyqUujabt06h43epQ/s1600/pig.png" /></a></div>
<br />
<br /></div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com2tag:blogger.com,1999:blog-1047568970673962377.post-79839352255391539512013-12-25T19:36:00.000+05:302014-06-12T13:27:48.610+05:30Application of Hashtags in Python<div dir="ltr" style="text-align: left;" trbidi="on">
#hastags, seen almost all over the web. We see them on twitter, g+, facebook and lots of other websites around the world. After learning something about Regular Expressions, I thought to just develop a simple example showing the use of hashtags in python.<br />
<div>
<br /></div>
<div>
In this example, we are going to use a dictionary to map our Texts, or messages to various hashtags. But for this I recommend you to know about regular expressions. These might seem difficult when you first look at them. Well, at least I find them quite difficult myself. Through regular expressions, we are going to find the hashtag(s) in our message, make it(them) a key(s) in the dictionary and map it to the list of messages.</div>
<div>
<br /></div>
<div>
So, here is the code for doing the same:</div>
<div>
<br />
<?prettify lang=py?>
<pre class="prettyprint">import re
from collections import defaultdict
dic = defaultdict(list) #this is going to be our list
hatag = r'#\w+' #the RegEx we will match with
def addtext(string): #this functions adds messages to our dictionary
hashtags = re.findall(hatag,string) #finds the hashtags
for x in hashtags:
dic[x[1:]].append(string) #makes key-value pairs of hashtags and messages
def search(hashtag): #searches messages given on hashtags.
return dic[hashtag]
</pre>
</div>
<div>
<br />
You can download this module here: <a href="http://www.mediafire.com/view/kgzdk5t2l7co9wl/hashtags.py" target="_blank">Mediafire Link</a><br />
<br />
See also:<br />
<a href="https://www.udacity.com/course/cs262" target="_blank">Programming Languages, Udacity</a>: The first chapter of this course intros Python Regex really great<br />
<br /></div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-30115186053517438912013-07-21T16:07:00.000+05:302013-07-21T16:32:11.138+05:30Tech Projects that can redefine our daily life<div dir="ltr" style="text-align: left;" trbidi="on">
Kickstarter, one of the biggest project funding websites in the WWW always introduce awesome projects that make us say "WOW! Wish I had it now!" Here are some projects that have gone live recently<br />
<br />
<h2 style="text-align: left;">
<a href="http://www.kickstarter.com/projects/764467377/solepower-power-by-walking-0?ref=card" target="_blank">SolePower</a>:</h2>
<div>
Generate power while walking! It often happens that we forget to charge our phone and leave for the awesome stuff to do outside(not for me, I am computer addicted geek. Its not that I don't go out or something, I do, but, well, you know..).. Coming back to the point, the phone I had was draining battery like hell(yea, I have mid budget smartphone). Now, I need a power source. Well, SolePower comes to be an exciting point here. You generate power while walking. Just walk a few miles and your phone is charged. Awesome isn't it?</div>
<div>
<iframe frameborder="0" height="360" src="http://www.kickstarter.com/projects/764467377/solepower-power-by-walking-0/widget/video.html" width="480"> </iframe><br />
<br />
<h2 style="text-align: left;">
<a href="http://lifx.co/" target="_blank">LIFX</a>:</h2>
<div>
A bulb that we can control over Wi-Fi with an iPhone or an Android smartphone. Its multicolored, energy efficient and basically, really, an awesome idea. The inventors say that it will last for 25 years. Well, its cool enough that I get my hands on it only once.</div>
</div>
<div>
<br /></div>
<div>
<iframe allowfullscreen="" frameborder="0" height="315" src="//www.youtube.com/embed/EeKFffvy44A" width="560"></iframe>
<br />
<br />
<h2 style="text-align: left;">
<a href="http://www.kickstarter.com/projects/ivee/ivee-sleek-wi-fi-voice-activated-assistant" target="_blank">ivee Sleek:</a></h2>
</div>
<div>
An actual personal assistant. There are lot of personal assistant apps that are on Android and the leader Siri on iPhone. But, ivee Sleek is actually a wifi enabled assistant that can set alarms and reminders, tune into radio and also read you a bed time story!</div>
<div>
<iframe frameborder="0" height="360" src="http://www.kickstarter.com/projects/ivee/ivee-sleek-wi-fi-voice-activated-assistant/widget/video.html" width="480"> </iframe>
<br />
Whats more? If you have any more projects, share them with me in the comments section!</div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-16367742711279183382013-07-18T18:59:00.001+05:302013-07-19T22:39:30.672+05:30Developing an eMail validation system using PHP and MySQL<div dir="ltr" style="text-align: left;" trbidi="on">
Well, its great that we do create websites that require sign up from users. To prevent random sign ups and span, developers have developed an email verification system. This system can be seen in almost every website throughout the WWW. In this article, I am going to show you how you can develop a simple script that validates email address.<br />
Firstly, let me explain the <b>database structure</b>:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG4_bdhk4380GB8zJJwGadE83UivuAFWLvkZ36gJFD-wJz2qHkvniyJmKSY0MRYcm2yt-_04wMrc0KlWsG_B-rlwaZYEmFRAMG4DnWUkb3dY1QN73lPvL-mZbw6IRkEjrZEJLXJ3ywnw/s1600/databaseemail.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG4_bdhk4380GB8zJJwGadE83UivuAFWLvkZ36gJFD-wJz2qHkvniyJmKSY0MRYcm2yt-_04wMrc0KlWsG_B-rlwaZYEmFRAMG4DnWUkb3dY1QN73lPvL-mZbw6IRkEjrZEJLXJ3ywnw/s1600/databaseemail.png" /></a></div>
The name of the database is <b>test</b>, and the name of the table is email. The field <b>email </b>is considered unique. The <b>activatecode </b>contains the corresponding activation code for email generated while the user was signing up. The field <b>activatestatus </b>is self explanatory. It contains one character either Y or N to denote the activation status.<br />
<br />
Now, recipe that we are going to use to cook this script is the HTTP GET. PHP can read the GET instruction from URL and convert it into an associative array. The same thing we are going to use in this tutorial.<br />
Let's Code!<br />
<pre>//Initializing database connection starts
$host = 'localhost';
$user = 'test';
$password = 'test';
$database = 'test';
$con = mysqli_connect($host, $user, $password, $database);
if(!$con)
{
echo mysqli_error ($con);
}
//connected to the database
//you can check if URL is in the correct format or not before whatever we are going to do here
$key = $_GET['key']; //key will be the URL parameter
$email = $_GET['email'];//for security, we will also consider email as the paramaeter
$query = "Select * from email where email='$email'";
$result = mysqli_query($con, $query);
$assoc = mysqli_fetch_assoc($result);//an associative array is fetched for better understanding
//as email is a unique field it will only fetch one 1D array
if($key = $assoc['activatecode']){
$query = "update email set activatestatus='Y'";
$update = mysqli_query($con, $query);
if(!$update) echo mysqli_error ($con);
else echo 'activation successful';
}
else echo 'Either the Email is wrong or the associated key is not with the email';
mysqli_close($con);
</pre>
<br />
Now that we have coded, here's how to change the <b>activatestatus</b> of a given email. Just point your URL to<br />
http://---path-to-your-activation-script--.php?email=john@example.com&key=564186451684865<br />
<br />
You email will be activated.<br />
<a href="http://www.mediafire.com/?ysp756gk043k2i2" target="_blank">Download this script!</a><br />
More coding at <a href="http://techieanish.blogspot.in/search/label/Let%27s%20Code">Let's Code</a><br />
<b>Warning: </b>This is for testing purposes only. I am giving you this tutorial as an advanced example on how to use several functions in PHP and running appropriate querys in MySQL using PHP. Do not publish!</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-70273920856032630452013-07-14T18:11:00.002+05:302013-07-14T18:11:35.996+05:30Creating own URL Shortner<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
Well, we have seen many websites like bit.ly, goo.gl, and also the $$ earning adfoc.us and adf.ly. Ever wondered how these systems work?<br />
Well, I don't know how exactly do they work, but I can show you how to create something like those websites.<br />
The concepts that we will be using to create own URL shortner are: MySQL access functions in PHP, and the header function in also, PHP.<br />
<br />
First we need to set up a MySQL database containing two columns more importantly. Here is the SQL query for the same<br />
<span style="background-color: #f6f4f0; color: #444444; font-family: 'courier new'; font-size: 13px;">CREATE TABLE <i>shorturls</i></span><br />
<span style="background-color: #f6f4f0; color: #444444; font-family: 'courier new'; font-size: 13px;">(</span><br />
<em style="background-color: #f6f4f0; color: #444444; font-family: 'courier new'; font-size: 13px;">short_url varchar(6)</em><span style="background-color: #f6f4f0; color: #444444; font-family: 'courier new'; font-size: 13px;">,</span><br />
<em style="background-color: #f6f4f0; color: #444444; font-family: 'courier new'; font-size: 13px;">long_url varchar</em><span style="background-color: #f6f4f0; color: #444444; font-family: 'courier new'; font-size: 13px;">(<i>256</i></span><span style="background-color: #f6f4f0; color: #444444; font-family: 'courier new'; font-size: 13px;">),</span><br />
<span style="background-color: #f6f4f0; color: #444444; font-family: 'courier new'; font-size: 13px;">);</span></div>
<br />
Now, we have a table with two columns with the list of the short URL codes and the corresponding long URL. For this instance, I will be using the URL code "tekish" and it will point to http://techieanish.blogspot.com. Don't worry, we will be talking about generalizing the data. That is every time a URL code is gonna fire, it will redirect to corresponding long URL. So, now as we are done with creating tables, we are now gonna set up the PHP script that will fire when you visit the code. For this, first we will need to do some nice good setting. As we are just dealing with the basic concepts, the sweetness of this desert will be the 404 redirect. To do this, follow these steps:<br />
<ol style="text-align: left;">
<li>If you are using Apache as your server, save a file called ".htaccess" in the main directory of your website. The directory in which your index.php lies.</li>
<li>Now, in this directory, enter the following: <span style="background-color: #f9b954; font-family: 'Courier New', Courier, monospace; font-size: 14px; line-height: 21px;">ErrorDocument 404 /redirect.php</span></li>
</ol>
<div>
<span style="line-height: 21px;"><span style="font-family: inherit;">Now we are going are going to write the code for redirect.php. Well, we did the htaccess thing so that whenever some random piece of string goes behind your web domain name, a 404 error occurs. Now, to show that 404 error, we fire up the redirect.php, that is basically a redirecting PHP script.</span></span><br />
<span style="line-height: 21px;"><span style="font-family: inherit;">Now lets do the real thing. <b>Code redirect.php</b></span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm5i5GHYCnE3RWorhRuSH7BP5MewMO_ZVZnV6wDL_ZqNtDEu6bYrjzag9bsjUAMMrYQMCsFBql9xpI6wbs8eWTdbtYHWWwc2htVhYY9w53k1iqwuf3QZhBx0OnPqLw2f1h48r7zSXDcQ/s1600/redirect.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="356" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm5i5GHYCnE3RWorhRuSH7BP5MewMO_ZVZnV6wDL_ZqNtDEu6bYrjzag9bsjUAMMrYQMCsFBql9xpI6wbs8eWTdbtYHWWwc2htVhYY9w53k1iqwuf3QZhBx0OnPqLw2f1h48r7zSXDcQ/s640/redirect.png" width="640" /></a></div>
<blockquote class="tr_bq">
<br /></blockquote>
<h3 style="text-align: left;">
<b>Basic notes and additional tips:</b></h3>
<div style="text-align: left;">
</div>
<ul style="text-align: left;">
<li> In handling the .htaccess file, make sure your correctly enter the address of the location of your redirection script. Make sure you enter the path as on server, not as your local domain.</li>
<li>There are lot of things I haven't included in the script, which include analytics, form to create new URLs, and an error page if the code is not found. Explore them on your own! </li>
<li>Well, when you are starting a service, you will obviously need to set up a random code generator for new URLs. <a href="http://techieanish.blogspot.in/2013/07/php-code-snippets-generate-random-string.html">Here is a small example</a> on how you can create random alphanumeric codes that can be used as your short URLs.</li>
<li>Also, trim the URL you get to alphanumeric code for security</li>
<li>Got more tips? Share them in comments.</li>
</ul>
<div>
<a href="http://www.mediafire.com/?1y78ca6nyhkhjz6">Download the script</a></div>
<div>
More coding at <a href="http://techieanish.blogspot.in/search/label/Let%27s%20Code">Let's Code!</a></div>
<br />
<br />
</div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-29275040959358207172013-07-06T11:41:00.001+05:302013-07-19T22:41:24.883+05:30PHP Code Snippets: Generate a random string<div dir="ltr" style="text-align: left;" trbidi="on">
Generating random strings might be very useful when developing a website. You can use random strings for various purposes:<br />
<div>
1) <a href="http://techieanish.blogspot.in/2013/07/creating-own-url-shortner.html" target="_blank">Generate a short URL</a> Something like <a href="http://goo.gl/fNJ5Z" style="background-color: #ffffd3; border: 0px; color: #1155cc; font-family: arial, sans-serif; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" tabindex="-1">goo.gl/fNJ5Z</a></div>
<div>
2) Generating Coupon codes for a shopping website</div>
<div>
3) <a href="http://techieanish.blogspot.in/2013/07/developing-email-validation-system.html" target="_blank">Creating a confirm email address script</a></div>
<div>
And lots more! </div>
<div>
Soon, I will add tutorials to create all the examples that I have mentioned above. But for now, just take a look at the function I have given below:</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9s1JaB_RzD0A9m7fxrbuE3v2GDe7gsaLpcHeh04glBsvgVllPjwfqYXc3Tm6NDk6ACczz5vCmKY5TzsASeei5DzXxaYvjvvtEcdnxWHiRywbLqzhA9WMAPL_QYAJse_9nMjSVqpEFFQ/s1600/random.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9s1JaB_RzD0A9m7fxrbuE3v2GDe7gsaLpcHeh04glBsvgVllPjwfqYXc3Tm6NDk6ACczz5vCmKY5TzsASeei5DzXxaYvjvvtEcdnxWHiRywbLqzhA9WMAPL_QYAJse_9nMjSVqpEFFQ/s1600/random.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The variable $length can be set to the length of string that you want to have.</div>
<h4 style="text-align: left;">
How to use the function?</h4>
<div class="separator" style="clear: both; text-align: left;">
Just call it whenever you want the random string to interact with the PHP script you are designing.</div>
<div class="separator" style="clear: both; text-align: left;">
Ex: <b>$myrand = generatestring(8)</b> // Generates 8 character random string</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<h4 style="text-align: left;">
Explore!</h4>
<div>
Add more type of characters you wanna include in your PHP script to the variable in the function<b> $charset</b></div>
<div>
<b><br /></b></div>
<div>
<a href="http://www.mediafire.com/?r73jk30oc7zsb31" target="_blank">Download PHP File!</a></div>
<div>
More coding at <a href="http://techieanish.blogspot.in/search/label/Let%27s%20Code" target="_blank">Let's Code</a>.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
<br /></div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com2tag:blogger.com,1999:blog-1047568970673962377.post-4344363243811091622013-07-03T03:28:00.002+05:302013-07-03T03:28:49.563+05:30Get iOS style gestures on Android<div dir="ltr" style="text-align: left;" trbidi="on">
One thing that seriously makes an Android user like me jealous of iOS device owners, is the gestures. I mean, the way to manage a iOS device using gestures is seriously awesome. My favorite is the five-finger pinch to minimize the app. Well, I just got a hunch that there must be something for Android users too. May be an app, well at least made for rooted users.<br />
Hence I found the app called GMD Gesture Control. It features the four-finger pinch to minimize the app, five finger counter clockwise rotation to switch the screen off, three finger slide to open dock and lots more. The app is for rooted users only. You need to <a href="http://techieanish.blogspot.in/2013/06/questions-about-rooting-and-android.html" target="_blank">root your android phone</a> in order to get this app to work.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><span style="margin-left: auto; margin-right: auto;"><a href="https://play.google.com/store/apps/details?id=com.goodmooddroid.gesturecontroldemo" target="_blank"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAep_5LP_Ra1fS2otWjQVsriQImfNURFJY_69z63bphw05T2rQXucquPIZ6uLcchW2UMzygAfrPweWF4xP3HfhNDBAa7tQpmby0wiguz5feKu6SuWAM2uW6giyVFuLf7Q0YYD0FhYlZQ/s172/android_app_on_play_large.png" /></a></span></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><a href="https://play.google.com/store/apps/details?id=com.goodmooddroid.gesturecontroldemo" target="_blank">Get the app here!</a> Available as a free trial or a paid premium.</td></tr>
</tbody></table>
<br />
<br /></div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-33805974668407556802013-06-28T12:23:00.001+05:302013-06-28T12:23:17.235+05:30How to set your Laptop up as a WiFi range extender?<div dir="ltr" style="text-align: left;" trbidi="on">
<b>Cost of project</b>: around Rs. 800 ($13.3 approx)<br />
<div>
<b>Materials Required:</b> A WiFi Adapter: <a href="http://goo.gl/TH8VC" target="_blank">Click here to buy one</a>. << My Suggestion. You can get more by searching. I will be using the same throughout the tutorial.<br />
<b>Operating System: Windows 7/8</b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix_y3ZEGMuLknrIseDOIdTbZ6pXy3q1S2cIA-LS0hsN8A82PQXxgMIpkXDjFtgnxgtNH9LVlctxjVk8DLiMX0DieePBXZ5dWJEVcJXtu4Wgql1REnmPONUahyOo-_I94lCyVP6lxaxtw/s800/wifi.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix_y3ZEGMuLknrIseDOIdTbZ6pXy3q1S2cIA-LS0hsN8A82PQXxgMIpkXDjFtgnxgtNH9LVlctxjVk8DLiMX0DieePBXZ5dWJEVcJXtu4Wgql1REnmPONUahyOo-_I94lCyVP6lxaxtw/s640/wifi.png" width="640" /></a></div>
<b><br /></b>
<b><br /></b>
Lets extend the WiFi range of our router so that other devices receive a proper connection through our laptop.</div>
<div>
<br /></div>
<div>
<h2 style="text-align: left;">
Step 1: Install MyPublicWiFi</h2>
</div>
<div>
Download and Install MyPublicWifi from this website: <a href="http://www.mypublicwifi.com/publicwifi/en/index.html">http://www.mypublicwifi.com/publicwifi/en/index.html</a></div>
<div>
Yes, you will HAVE TO restart your computer after installation completes</div>
<div>
<br /></div>
<h2 style="text-align: left;">
Step 2: Connect your Wifi Adapter</h2>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ903xwOufZ9U2UShYcOtc22G6JmjzuNmRngOHQMGrwr4RriXeRM_QxHADIxDgABuj8f4fI-RV0E9M0DDit005xhzREnDIjhS5zrioi-N1aaijXeoSLfLv6klBGR4jUve3ns6313dejA/s1600/WP_20130628_002%5B1%5D.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="179" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ903xwOufZ9U2UShYcOtc22G6JmjzuNmRngOHQMGrwr4RriXeRM_QxHADIxDgABuj8f4fI-RV0E9M0DDit005xhzREnDIjhS5zrioi-N1aaijXeoSLfLv6klBGR4jUve3ns6313dejA/s320/WP_20130628_002%5B1%5D.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
Let the drivers install themselves, it might take time depending upon availability of updates, computer config, and may be internet speed.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<h2 style="text-align: left;">
Step 3: Start MyPublicWiFi in Administrator mode</h2>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKsqoljHJGPT7kL8zFw-cvOR9WZQykqMe3x2jFksZN-hgcLKr3Y8qd78RAApdMHmQbkO32eKPWuHznzyGm3Z2K3Wvx9jG3gyiBzBWAQL8mQlpWjEC6MIFWTltHoZ8pzxHnDGw-q1RSfA/s606/mypublicwifi.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKsqoljHJGPT7kL8zFw-cvOR9WZQykqMe3x2jFksZN-hgcLKr3Y8qd78RAApdMHmQbkO32eKPWuHznzyGm3Z2K3Wvx9jG3gyiBzBWAQL8mQlpWjEC6MIFWTltHoZ8pzxHnDGw-q1RSfA/s640/mypublicwifi.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
You have to choose a network name and password. And in the Enable Internet Sharing dropdown menu, select the network you want to share. In this case, choose the WiFi connection which is made to the main router connected to internet.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Then hit Set Up and Start Hotspot.</div>
<div class="separator" style="clear: both; text-align: left;">
On your device, connect to the network which is named by you in connectify.</div>
<div class="separator" style="clear: both; text-align: left;">
Thats done! You have extended WiFi range for other devices to connect!</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Check out more tutorials @ <a href="http://techieanish.blogspot.in/search/label/The%20Tutor" target="_blank">The Tutor</a></div>
<div class="separator" style="clear: both; text-align: left;">
Got any problems or questions setting up? <a href="http://techieanish.blogspot.in/p/ask-me-tech.html" target="_blank">Ask me here on this link</a>!</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-369900233711687172013-06-26T08:42:00.000+05:302013-06-26T08:42:44.877+05:30Make yourself secure online: Password Techniques and more..<div dir="ltr" style="text-align: left;" trbidi="on">
So, basically to make your house secure, you need well, may be a gun, a security locker for valuable stuff and lots more. When you are on the internet, the only thing you can have is a password. And well, following some guidelines that can help you not getting into trouble and becoming a victim of a cyber crime. Well, you might as not well lose your life, but you know dignity and money are on the line.<br />
<br />
<h2 style="text-align: left;">
Keyloggers:</h2>
<div>
Place of use: Cyber Cafe</div>
<div>
Well, you might think these are outdated and old fashioned, but there are places where keyloggers are used. What keylogger does is that it logs all the keypresses and with a advanced software running in the background, passwords can be known to the person who installed it. Always check for such a thing, this is cuz no law forbids their use.</div>
<div>
Solution: Get out of the place if you find something like this</div>
<div>
<br /></div>
<h2 style="text-align: left;">
Ctrl+Shift+Delete:</h2>
<div>
Place of use: All public computers</div>
<div>
Always remember to clear all your data, ALL OF IT when work on a public computer is done. Sometimes, logging out does not only do the job. Here how you see the clear browsing data option:</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9TlR498_PBKPIpnp4VLCFhwPbiyhzihkhsmWF17Cti7Mdm7RSinKi-HQ7bzm7nz04UU7suHSll6RA2zsJF5SJFVF94Fbq0WHR8hNNa3i4kiiEhxHqqRMowL3uuXpyN78YxRKViXgfOQ/s1600/clear.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="270" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9TlR498_PBKPIpnp4VLCFhwPbiyhzihkhsmWF17Cti7Mdm7RSinKi-HQ7bzm7nz04UU7suHSll6RA2zsJF5SJFVF94Fbq0WHR8hNNa3i4kiiEhxHqqRMowL3uuXpyN78YxRKViXgfOQ/s320/clear.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
Using Incognito Mode on computers is also an option, but if you even accidently close the windows, all your logins will go. Though more secure, it can sometimes make work complicated. Also change the "Obliterate the following items from" option to your desired one. My choice: "the past day".</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<h2 style="text-align: left;">
Choose a secure password:</h2>
<div>
<b>Problem</b>: Mostly, passwords on websites are first hashed and then stored on the computer. A specific string(group of characters) has always the same hash code. For example, if your password is "securepassword", and someone else's password is also "securepassword", the same hash will be stored as passwords for your user ID. Hash code is basically conversion of normal English language to a complicated code(of base 16,32 or whatever).</div>
<div>
<b>Solution: </b>Choose a password as unique as possible. Don't use phrases like 'iloveyou', 'thisismypassword', 'pass123', etc. etc. Think of something completely unique and then store your password.</div>
<div>
<br /></div>
<div>
If security cracking algorithms are run, the longer your password is more time it will take to finally reveal your password. Use of multi words password is more secure than using single word. Its always better to do so. In fact, using the password 'my password is one that is secret' is more secure than '!@JN#$%J(&%HJDDS'. </div>
<div>
<br /></div>
<div>
Always devise algorithms to remember your passwords by yourself. This algorithm should also be a secret. I advise to do this because using a secure password algorithm, will help you remember them easily. Algorithm is basically a step by step guide that you remember to store your passwords in your brain.</div>
<div>
<br /></div>
<h2 style="text-align: left;">
Check if the website's security is certified:</h2>
<div>
Any website, just about any website unless the one you trust wholeheartedly, always check for a security certificate. How to do so?</div>
<div>
Follow this:</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgazE0BQf5o-pq1Wph_37AYJPn6xXc_KJNKoLuCBr8WLk0XoGScHOBHe2oSEwB90Cj7WDDOhBie1QyRlCBR-KjyVTXz87CgXFpycgYAzKiNdLrCOq9449F9I9wPtJt1jKvaY2Smj1PFrg/s1600/security.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="358" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgazE0BQf5o-pq1Wph_37AYJPn6xXc_KJNKoLuCBr8WLk0XoGScHOBHe2oSEwB90Cj7WDDOhBie1QyRlCBR-KjyVTXz87CgXFpycgYAzKiNdLrCOq9449F9I9wPtJt1jKvaY2Smj1PFrg/s640/security.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
If no verification, just don't submit it at all..</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Well, did I miss something, comment it!</div>
<div class="separator" style="clear: both; text-align: left;">
Do let me know view on this article, comment!</div>
<div class="separator" style="clear: both; text-align: left;">
Ask me something! <a href="http://techieanish.blogspot.in/p/ask-me-tech.html" target="_blank">Ask me tech</a></div>
<div class="separator" style="clear: both; text-align: left;">
Check more on <a href="http://techieanish.blogspot.in/search/label/The%20Tutor" target="_blank">The Tutor</a></div>
<div>
<br /></div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-24412244593903673582013-06-24T08:58:00.000+05:302013-06-24T09:25:21.731+05:30Samsung Galaxy Grand Review<div dir="ltr" style="text-align: left;" trbidi="on">
<h2 style="text-align: left;">
Pros:</h2>
<div>
<ul style="text-align: left;">
<li>Great camera - both front and back</li>
<li>Fast processor</li>
<li>Awesome screen</li>
<li>Native JellyBean support - Android 4.1.2</li>
<li>Looks: slim and tall</li>
<li>Good value for money - totally worth it!</li>
</ul>
<h2>
Cons:</h2>
</div>
<div>
<ul style="text-align: left;">
<li>Battery life</li>
</ul>
<h2 style="text-align: left;">
Photos</h2>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBurVC4hrLj4qdJdkNpnWboR6V2kwrWS0ct9OZvRGjZHH7rIeuWF8nWlLTA-SL6gKFo4f-zPQbv-z0Oh2vQrKS5-Sch335GqZg6rw_BhsrYg13ro0HMCZYdHfAUbkrLsMbTXNF3CVcTw/s1600/front.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBurVC4hrLj4qdJdkNpnWboR6V2kwrWS0ct9OZvRGjZHH7rIeuWF8nWlLTA-SL6gKFo4f-zPQbv-z0Oh2vQrKS5-Sch335GqZg6rw_BhsrYg13ro0HMCZYdHfAUbkrLsMbTXNF3CVcTw/s1600/front.jpeg" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
<div style="text-align: center;">
<a href="http://www.flipkart.com/samsung-galaxy-grand-duos-i9082/p/itmdhdvtaf5uqaaf?pid=MOBDHDVRPR8V85KS&affid=techieanis"><img src="http://img8a.flixcart.com/www/prod/images/buy_btn_3-8274fe91.png" /></a>
<br />
<span style="background-color: #fcffe8; color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; line-height: 16px; text-align: left;">3NZZJ2DS36UJ</span></div>
</div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-87962973505631932342013-06-24T08:49:00.000+05:302013-06-25T09:10:15.301+05:30Let your Android and PC interact with each other<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeMGU21xhtgT312-uW6cPY0-DEBfUU81gpKizycKm3sSjlSdDPqtBJHh49j7OmOItMH6WkURfPEaT6qPQQWu3Us3Wq9mUo_xJ5XNraOQC7WrOR2KZWqwl8OY4mQ0BwfrJfBxtei8KeSA/s1600/interact.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeMGU21xhtgT312-uW6cPY0-DEBfUU81gpKizycKm3sSjlSdDPqtBJHh49j7OmOItMH6WkURfPEaT6qPQQWu3Us3Wq9mUo_xJ5XNraOQC7WrOR2KZWqwl8OY4mQ0BwfrJfBxtei8KeSA/s640/interact.jpg" width="640" /></a></div>
<br />
We often think of handling over the air connections between our devices. For example, controlling PC using an Android phone as remote control or pushing files to the phone without wires, sharing the same clipboard between the two devices for better copy-paste stuff. Well, there are two apps on the market that do the job.<br />
<h2 style="text-align: left;">
1. Airdroid - Control your android via PC without wires</h2>
<div>
<ul style="text-align: left;">
<li>Wonderful PC interface to manage and copy your files</li>
<li>Vast scope: Contacts, Music, Pictures, Videos and lots more can be shared and exchanged between PC and any android phone</li>
<li>Not so memory hungry, though I suggest you to leave your phone alone when any operation is going on.</li>
<li>Send or receive SMS on your computer, and also install APKs directly from your PC to your phone</li>
<li><a href="https://play.google.com/store/apps/details?id=com.sand.airdroid&hl=en" target="_blank">Get it on Google Play now!</a></li>
<li>Connect it over WiFi for a more secure connection, though they have an option for 3G also available</li>
</ul>
<h2 style="text-align: left;">
2. Unified Remote - The ultimate remote control for your PC</h2>
</div>
<div>
<ul style="text-align: left;">
<li>Various kinds of remotes available from Media Player controllers like VLC, Windows Media Player, etc.</li>
<li>Custom Remotes, a part of paid app, extends possibilities to highest</li>
<li>Responsive input and results, did not encounter any bugs yet</li>
<li>Great for giving presentations</li>
<li>Yep, APK for the paid version is available, but am not gonna give the link. Find it on Google!</li>
<li><a href="https://play.google.com/store/apps/details?id=com.Relmtech.Remote" target="_blank">Get it on Google Play</a></li>
<li>Also available on <a href="http://www.windowsphone.com/en-in/store/app/unified-remote/bf53969d-8078-4de5-9322-adda5cba4f87" target="_blank">Windows Phone</a></li>
</ul>
</div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-65731895378276341672013-06-23T10:22:00.000+05:302013-06-23T10:22:19.242+05:30Nokia Lumia 620 Review<div dir="ltr" style="text-align: left;" trbidi="on">
<h2 style="text-align: left;">
Pros:</h2>
<div>
<ul style="text-align: left;">
<li>Windows Phone 8! - well, so far the best one in low budget range</li>
<li>Nokia features - Navigation, Tips, Apps Compatibility, and lots more</li>
<li>Light-weight</li>
<li>Various back colors for great customization</li>
<li>Awesome internet surfing experience</li>
<li>Runs on going apps without any lag</li>
</ul>
<h2 style="text-align: left;">
Cons:</h2>
</div>
<div>
<ul style="text-align: left;">
<li>Low battery life</li>
<li>Bad memory management</li>
<li>Switching apps sometimes takes time</li>
<li>Sucky low light photography, I mean - Not. Expected. From. Nokia</li>
<li>VGA Front camera. Though exists, not suitable for video calling</li>
</ul>
<h2 style="text-align: left;">
Photos:</h2>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRaHbh5meML7KYBw42BOoahp5NEScagsH_cHPRePJ4QKqx5-NevfxyKLAqdPP0jn9KdsaiH7NSekb9WJqAiexmABgIihb0WgJ_uXrosIm8GMm3CMC2uwOgB_WgZHRi6w6pYyH_kLElaQ/s1600/front.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRaHbh5meML7KYBw42BOoahp5NEScagsH_cHPRePJ4QKqx5-NevfxyKLAqdPP0jn9KdsaiH7NSekb9WJqAiexmABgIihb0WgJ_uXrosIm8GMm3CMC2uwOgB_WgZHRi6w6pYyH_kLElaQ/s1600/front.jpeg" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://www.flipkart.com/nokia-lumia-620/p/itmdgkwywkmaa2w4?pid=MOBDGH6AKH9ERJAF&affid=techieanis" style="margin-left: auto; margin-right: auto;"><img src="http://img7a.flixcart.com/www/prod/images/buy_btn_2-49016012.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">At Lowest Price!</td></tr>
</tbody></table>
<div style="text-align: center;">
</div>
</div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-18997802859394812062013-06-23T10:07:00.001+05:302013-07-03T03:29:01.377+05:30Questions about rooting and Android phone<div dir="ltr" style="text-align: left;" trbidi="on">
When using Windows, you find you get different Administrative and System level setting such as Managing Services, Configuring Hardware properties and lots more. When you are using a smartphone, you don't get all these previliges. I know, sideloading the apps(installing apps from different sources eg: SD Card) is an in built feature in android, but sometimes only this is not enough. Rooting allows you to gain system level privileges(permissions to modify system files).<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp7Ahz7QHPOEAgmI3-ixFHtwK4ycPi-T4goLVO3RYB4Vj7rcVx9sC_uUpFMwdgWxJfgJohjftt6I6SRHXtI25lbCC-A4MVoOMzk2R82xxTwbXBBnv6jU9XcqegBzOY58EBqQuXHqowlg/s1600/Android-ADT-Mechanic-Development-Tool1.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp7Ahz7QHPOEAgmI3-ixFHtwK4ycPi-T4goLVO3RYB4Vj7rcVx9sC_uUpFMwdgWxJfgJohjftt6I6SRHXtI25lbCC-A4MVoOMzk2R82xxTwbXBBnv6jU9XcqegBzOY58EBqQuXHqowlg/s320/Android-ADT-Mechanic-Development-Tool1.png" width="281" /></a></div>
<div>
Unlocking the bootloader lets you change kernels in an android phone. This is much much higher way of completely customizing your phone and bringing in all kinds of hardware level changes- which also includes overclocking your CPU!</div>
<div>
Now, there's more to it. In recent past, rooting was considered illegal and the phone manufacturers did not support it. They even warned customers about high service charges once you brick your phone using those hardware tweaks. In fact, Amazon pushed over-the-air updates which banned the customers from sideloading apps onto Nook. However, companies like HTC and Google allow their bootloaders to be unlocked and OS also to be change completely. Though you lose warranty, but something enthusiasm is the key to take a risk. Though if you handle your phone carefully and load the apps and roms(different community made android distributions for your phone) verified by the community, you won't have any problems.</div>
<div>
<br /></div>
<div>
</div>
<div>
<br /></div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-29636889579882282162013-06-22T15:56:00.005+05:302013-06-22T15:56:57.488+05:30How is hardware benchmarking done?<div dir="ltr" style="text-align: left;" trbidi="on">
Benchmark is basically a statistical data about a <strike>computer's</strike> any device's hardware performance.<div>
<br /></div>
<h3 style="text-align: left;">
How a benchmark is done?</h3>
<div>
To perform a benchmark, a software(app) is run on the device which pushes the hardware usage to its extent. That means, when you run a benchmark app on your device, it will carry out hefty processor hungry memory digesting and excreting operations. After that it checks how those operations were carried out, the speed and quality. Finally, you get a benchmark score.</div>
<div>
<div>
<br /></div>
</div>
<div>
Antutu Benchmark is one of the most popular benchmarking apps that will let you asses the hardware performance of your android device. <a href="https://play.google.com/store/apps/details?id=com.antutu.ABenchMark&hl=en" target="_blank">Get it now at Google Play!</a> This app also compares the user's benchmark on an 'international leaderboard'</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: 1em; margin-right: 1em; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp8ykcXFzM3zdNllqcyXOawJp9hwlXzXxKjUCgTUFPurfoVjebsmHGLdVt9QWi4iSkRiC_hLUq4RfGPxjdfukq-h13HpOGZVFjpnjOxE4sgjxUACejjF2z3qu3FnwCY71e5n9ho5xrSg/s1600/Barrett_BR-Benchmarks.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp8ykcXFzM3zdNllqcyXOawJp9hwlXzXxKjUCgTUFPurfoVjebsmHGLdVt9QWi4iSkRiC_hLUq4RfGPxjdfukq-h13HpOGZVFjpnjOxE4sgjxUACejjF2z3qu3FnwCY71e5n9ho5xrSg/s640/Barrett_BR-Benchmarks.jpg" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Image source: <a href="http://thefizzbackblog.blogspot.in/2012/07/a-benchmark-story-of-my-own.html" target="_blank">FizzBack blog</a></td></tr>
</tbody></table>
</div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com1tag:blogger.com,1999:blog-1047568970673962377.post-63810340631881098862013-06-22T15:45:00.001+05:302013-06-22T15:45:24.484+05:30Samsung Galaxy S Duos Review<div dir="ltr" style="text-align: left;" trbidi="on">
<h2 style="text-align: left;">
Pros:</h2>
<div>
<ul style="text-align: left;">
<li>Dual Sim</li>
<li>Good enough picture quality on primary camera</li>
<li>1Ghz Processor</li>
<li>32GB Expandable microSD card slot</li>
<li>768MB RAM</li>
</ul>
<h2>
Cons:</h2>
</div>
<div>
<ul style="text-align: left;">
<li>Ice Cream Sandwich - v4.0, not so latest version of Android</li>
<li>Not so good low light photography</li>
<li>7.2MBPS 3G speed, could have been better</li>
</ul>
<h2 style="text-align: left;">
Photos:</h2>
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7x4JC4k1ltt4RH3DHBTiuWOzH_IpI3nXMImO_zwEgpTzs78chaLzWkm6Zzxa0EplszqtOCSisUnLqxFlazv_kK9468pr_rUC2_-idLykWTRXGVeLSnRCISXxImg9-AC6zpFLeJP5QeA/s1600/back.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7x4JC4k1ltt4RH3DHBTiuWOzH_IpI3nXMImO_zwEgpTzs78chaLzWkm6Zzxa0EplszqtOCSisUnLqxFlazv_kK9468pr_rUC2_-idLykWTRXGVeLSnRCISXxImg9-AC6zpFLeJP5QeA/s1600/back.jpeg" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<h2 style="text-align: center;">
<a href="http://goo.gl/XV64f" target="_blank">BUY NOW AT LOWEST PRICE ONLINE!</a></h2>
<div>
More no-nonsense reviews of different products here: <a href="http://techieanish.blogspot.in/search/label/Pros%20and%20Cons" target="_blank">Pros and Cons</a></div>
<div>
<br /></div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-4521894516405542732013-06-22T15:20:00.000+05:302013-06-28T13:51:30.606+05:30How to run a MySQL query using PHP<div dir="ltr" style="text-align: left;" trbidi="on">
Simple tutorial!<br />
Prerequisite Knowledge: Basic PHP, and MySQL<br />
Prerequisite Stuff: A server that can run both PHP and MySQL(<a href="http://techieanish.blogspot.in/2013/06/set-up-best-web-development-environment.html" target="_blank">here is a simple way to set up the same on your system</a>)<br />
<br />
<h3 style="text-align: left;">
Step 1: Create a MySQL conenction!</h3>
<div>
<ol style="text-align: left;">
<li>Define 3 string variables to define, the database host name, username and password</li>
<ul>
<li>$dbhost = 'localhost'; //enter your hostname under quotes;</li>
<li>$dbuser='myuser'; //enter your database user name in the quotes;</li>
<li>$dbpass='mypassword; //enter your database user password;</li>
</ul>
<li>Create a MySQL connection using mysql_connect() function</li>
<ul>
<li>$connection = mysqli_connect($dbhost,$dbuser,$dbpass);</li>
<li>if(!$connection) echo 'cannot connect to database'; //Checks whether connection is made</li>
</ul>
</ol>
<h3 style="text-align: left;">
Step 2: Select the required database</h3>
<div style="text-align: left;">
<ol style="text-align: left;">
<li>Define a string variable with database name:</li>
<ul>
<li>$dbname='mydatabse' // Enter your name of database under quotes</li>
</ul>
<li>Select the databse using mysql_select_db() function</li>
<ul>
<li>$select = mysqli_select_db($connection,$dbname) or die('cannot select database');</li>
<ul>
<li>The die function checks whether the database could be selected or not</li>
</ul>
</ul>
</ol>
<h3 style="text-align: left;">
Step 3: Lets run the query</h3>
<div>
<ol style="text-align: left;">
<li>Define a string variable for query.</li>
<ul>
<li>$query = 'SELECT * FROM table'; //put your MySQL query in quotes</li>
</ul>
<li>Run the query using mysql_query() function.</li>
<ul>
<li>$query = mysql_query($query)</li>
<li>We define the variable to get the result from MySQL.</li>
</ul>
</ol>
<div>
Enjoy! Happy coding. Practice the code by understanding it. Yup, I did not include a sum up, understand and code it yourself! You can do it, trust me!</div>
</div>
<div>
<br /></div>
<div>
More coding at <a href="http://techieanish.blogspot.in/search/label/Let%27s%20Code" target="_blank">Let's Code!</a></div>
</div>
<div>
Edit: Modified with mysqli extension. </div>
</div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-84925421351411722062013-06-22T14:13:00.004+05:302013-06-22T14:57:16.146+05:30Real Steel Friends<div dir="ltr" style="text-align: left;" trbidi="on">
Robot Boxing, something that Real Steel drove people crazy about. I didn't like the movie so much but thought that having a game of such awesomeness would be fun. Making gigantic robots fight using a remote controller. Well, here is the next best thing.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdHHAMWffwLGfkI2iG6NraG2KgNVklvLtjQiASFyUjiWVaUWukaxhdfuecSCLqZVUCRVC7IVHn4Xi9nF5x635KexjkiQ-iftjWN6_AANiXvLKlNlVqm3Gnxi-yWka0rPWk-OjEBe809w/s1600/cover.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="312" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdHHAMWffwLGfkI2iG6NraG2KgNVklvLtjQiASFyUjiWVaUWukaxhdfuecSCLqZVUCRVC7IVHn4Xi9nF5x635KexjkiQ-iftjWN6_AANiXvLKlNlVqm3Gnxi-yWka0rPWk-OjEBe809w/s640/cover.jpg" width="640" /></a></div>
<br />
Real Steel friends is a social multiplayer platform that letes you control fighting robots in an arena. Various different challenges on Single Player level and gives you awesome Robot Fighting Experience<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0JHgETTCxNJbGasfqId9ZndUNqVzaFrvgTLqt9FuJTU5XitNMGgS1JbxZkdOjPaIfcCBx-DTIJAgHUm5aapTkkz43vYwHbilTeDjn0vI3Yi2i6ZnfH1MzSjiwY0q1aH6xM1EdINeG9A/s1600/frnds.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="426" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0JHgETTCxNJbGasfqId9ZndUNqVzaFrvgTLqt9FuJTU5XitNMGgS1JbxZkdOjPaIfcCBx-DTIJAgHUm5aapTkkz43vYwHbilTeDjn0vI3Yi2i6ZnfH1MzSjiwY0q1aH6xM1EdINeG9A/s640/frnds.jpg" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4mV67EjBEWhD19Axj2YqlKfgz7913hyOHV2kbijqzgKmadio-HBW69CFMamC2omrgJ4tgJ_VRfS8iNREG_vNbFx_w8qcjlS5RQUmBPRM0_QqSHoGsNSt7HeWw3YFxGDEGEdPjj0BCNw/s1600/shot.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4mV67EjBEWhD19Axj2YqlKfgz7913hyOHV2kbijqzgKmadio-HBW69CFMamC2omrgJ4tgJ_VRfS8iNREG_vNbFx_w8qcjlS5RQUmBPRM0_QqSHoGsNSt7HeWw3YFxGDEGEdPjj0BCNw/s640/shot.jpg" width="640" /></a></div>
<br />
The bad part is that there are a lot of things you need to buy in order to upgrade your robot, soemtimes. But playing it is quite awesome and enjoyable!<br />
Get it on<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://play.google.com/store/apps/details?id=com.jumpgames.RealSteelFreeEdtion&hl=en" target="_blank"><img border="0" height="111" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXlAYb86WJjEOL_KuK27gg3bB6AekRilPk-JB4rASrO216gYsjukgapKgFgdvqrkW9hmIBrRiOCcqPxMgtRFkg13t8fudkFMQcH_jo48kvTJWnjTNToq4M6XIBvtYXERaOo9l2tuT76g/s320/android.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://itunes.apple.com/en/app/real-steel/id455650341?mt=8" target="_blank"><img border="0" height="104" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifjAuFg5x12ZOAi72-wGQM6PspWiSa7NdVlxoPpfTYU4moLlBek0tQmeToSUkCPkJ1SoI4AH05cgGLUFy1xNhEyeZuRPW-OYBDMYsTcQVI6EWY2ZWWbrYTSc_IFvVZs45gdNX4TNCbmw/s320/iphone.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Enjoy!</div>
More in the <a href="http://techieanish.blogspot.in/search/label/App%20Mania" target="_blank">App Mania</a>!</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-76548803868747813972013-06-22T11:52:00.001+05:302013-06-25T08:18:45.304+05:30Bringing all your clouds together: Facebook, Drive, Box, Dropbox and more!<div dir="ltr" style="text-align: left;" trbidi="on">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0oyJx_VLJ4osJ0aFLj9P0oRErSTJxqV9eVxLapw0FIP0hb8ljJ-z6BkA1NtB4LJpi91v3FES_VhE7by_UEZ_4rL2-5VTNuOEhtHw-ymef4wiuIIXN7Xn_8eAiimPM5zuUMT1RQMVmDg/s1600/cloudstogether.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0oyJx_VLJ4osJ0aFLj9P0oRErSTJxqV9eVxLapw0FIP0hb8ljJ-z6BkA1NtB4LJpi91v3FES_VhE7by_UEZ_4rL2-5VTNuOEhtHw-ymef4wiuIIXN7Xn_8eAiimPM5zuUMT1RQMVmDg/s640/cloudstogether.png" width="640" /></a>Well, Dropbox provides you 2GB, Box 5GB, Google Drive 5Gb, SkyDrive 5GB, Youtube is where you upload all your videos, Evernote is where you take notes. All these are located in different web addresses and you obviously need several tabs. And there is nothing unifying all these things under one roof and you need to keep switching tabs everytime.<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
What if all these services that we use regularly come under one hood! Well, Jolidrive does that work. In this tutorial, I will show you how you can set up a Jolidrive account and bring all your clouds together!<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZcq1s4yH6sM1PrQOaLvSR_LZj4lueQqBiVlWyEZzhzV3mrAyPfFNDA6K-leu7Kx1CjmKLlq2KmBkSKJMaB4AawTQx26HEWtcsGdPHFYHNlLiSCSGVOCqi1nwSTQyI0U3XFEymevQ38w/s1600/jolilogo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZcq1s4yH6sM1PrQOaLvSR_LZj4lueQqBiVlWyEZzhzV3mrAyPfFNDA6K-leu7Kx1CjmKLlq2KmBkSKJMaB4AawTQx26HEWtcsGdPHFYHNlLiSCSGVOCqi1nwSTQyI0U3XFEymevQ38w/s1600/jolilogo.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Now, the following is a step by step guide on how to connect all your cloud services using Jolidrive, a product of Jolicloud.</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid46dX7KDHMJzi0zo9GQifkS8J9JuSFQCBALFDYsuqen4wcYmSkZ30u5CUsvO9M0e8h4sNTgUpJvczlNwLT9rz-hqSetXxZ1WZPKBzfk1_i7A6AmWFDVl47KAwK_1vJUGqhIU3_rUxyQ/s1600/step1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="260" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid46dX7KDHMJzi0zo9GQifkS8J9JuSFQCBALFDYsuqen4wcYmSkZ30u5CUsvO9M0e8h4sNTgUpJvczlNwLT9rz-hqSetXxZ1WZPKBzfk1_i7A6AmWFDVl47KAwK_1vJUGqhIU3_rUxyQ/s640/step1.png" width="640" /></a></td></tr>
<tr><td style="text-align: center;">Step 1: In the website of <a href="http://jolidrive.com/" target="_blank">Jolidrive</a>, click the method by which you wanna Login. For this purpose, I chose Signing in with Google, as I wanna connect just about my entire world. You can also choose Facebook</td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7ydscIM7IWFWdImv3yefZL9cR8-gaYehAbYgKQygNCKzIm8PgS-nffnn1Th2vE4i1u7El20Qh8ZwHF3OnLLBTfdXQ1wbPw9nQHy07vTH1MnwUFfVK3AdmdR50VfGNeTbvzmB9BK2doQ/s1600/step2.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="462" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7ydscIM7IWFWdImv3yefZL9cR8-gaYehAbYgKQygNCKzIm8PgS-nffnn1Th2vE4i1u7El20Qh8ZwHF3OnLLBTfdXQ1wbPw9nQHy07vTH1MnwUFfVK3AdmdR50VfGNeTbvzmB9BK2doQ/s640/step2.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">In this Step, I chose to select all the Service I can use of Google's, but you can customize them for your own needs/</td></tr>
</tbody></table>
<h3 style="text-align: left;">
Buiding your Jolidrive</h3>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfMKNeCU-Ni6jFa44ZNieB3r7iOUaYnrMsDujPTnXVLWYzeQqvtW3GwENYFdPLQVOJdAEU6cir_DAKYSf431ARVGigmqPm43NrJlJq2uLN0B_LXjiApht7v5VIJgrb5XCxaajRP9m1XQ/s1600/step4.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="428" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfMKNeCU-Ni6jFa44ZNieB3r7iOUaYnrMsDujPTnXVLWYzeQqvtW3GwENYFdPLQVOJdAEU6cir_DAKYSf431ARVGigmqPm43NrJlJq2uLN0B_LXjiApht7v5VIJgrb5XCxaajRP9m1XQ/s640/step4.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
<h3>
<span style="text-align: center;">Add different Phot sharing websites. Just click on the app icon, log in to your provider and authorize Jolidrive to access your photos. Similarly, add Music and Video sharing websites as shown in the pic below</span></h3>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixE6f46hh0GIKDl2FEVeBCS5ztH04sxhlUmeoVGSI_NGijYgPii21dwixzay1f2bRq86XsFmTChRIQN1GvGVERZMdeab58Mike4N3j-e8ZoQRoaynSZhugi_KQap9ixOzmvCL3j6hqHw/s1600/step5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="418" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixE6f46hh0GIKDl2FEVeBCS5ztH04sxhlUmeoVGSI_NGijYgPii21dwixzay1f2bRq86XsFmTChRIQN1GvGVERZMdeab58Mike4N3j-e8ZoQRoaynSZhugi_KQap9ixOzmvCL3j6hqHw/s640/step5.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZ_7LeFqhCKWHnzO-EVT04Rc3tXHCiG6m_krO3zqfq_WjmnGhQFsfN91gLd2BQEETdsh62sJJc0M71a3o5TRga5ZkIqn9WozN3us6l16rc5NgcFrV0Lv6R836StH7bHV2f0FlrV6JfSA/s1600/step6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="420" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZ_7LeFqhCKWHnzO-EVT04Rc3tXHCiG6m_krO3zqfq_WjmnGhQFsfN91gLd2BQEETdsh62sJJc0M71a3o5TRga5ZkIqn9WozN3us6l16rc5NgcFrV0Lv6R836StH7bHV2f0FlrV6JfSA/s640/step6.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
Finally keep adding your services Soundcloud, Mediafire, and whatever else you own and wanna bring it under your hood and on your Jolidrive!<br />
<br />
Lets Go! Happy Clouding: <a href="http://jolidrive.com/" target="_blank">Jolidrive</a><br />
<br />
Hear more from The Tutor! <a href="http://techieanish.blogspot.in/search/label/The%20Tutor" target="_blank">Click here</a><br />
<br /></div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-49896934743581475932013-06-20T09:59:00.000+05:302013-06-21T19:25:31.682+05:30Best books to kickstart learning web development<div dir="ltr" style="text-align: left;" trbidi="on">
A complete beginner to programming and web development? Need something to kick start your learning of the languages that will let you convert your ideas into full featured web apps? Here are three books I recommend that you should start with. Sure you can find PDFs for the same, but I highly recommend you to buy these books, as they have lot of pencil-driven exercises as a part of their course. Also, they incorporate funny methods to keep you interested all time long. In fact, all of us thought that learning programming was just about reading texts and texts, I sure did, but this is certainly something new! They have lots of graphics and hilarious methods of understanding the cores of any language they publish a book about.<br />
<div>
Learning PHP:</div>
<div>
<a href="http://goo.gl/qUDO4" target="_blank">Head First PHP and MySQL.</a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8WsuEaJOVqqDGTVoLkNh40R_kVH0_WOi6cF62cdTd6YBIYWOAVTJL7_uw7KefFu82CvHKw1qoAzQfqtbdtJZLuvqANXRRO-ryJrS4W1SwoyjV0CtnQXtZ1nu1tKsZbaQAUo6-qEReoA/s1600/head_first_php__mysql.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8WsuEaJOVqqDGTVoLkNh40R_kVH0_WOi6cF62cdTd6YBIYWOAVTJL7_uw7KefFu82CvHKw1qoAzQfqtbdtJZLuvqANXRRO-ryJrS4W1SwoyjV0CtnQXtZ1nu1tKsZbaQAUo6-qEReoA/s1600/head_first_php__mysql.jpg" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.flipkart.com/head-first-jquery/p/itmd3zvcadgvythb?pid=9789350235164&affid=techieanis" style="text-align: left;" target="_blank">Head First jQuery</a></div>
<br />
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-IT9I0UjeF8py-D5oSnsVCNSFtbw4jvaLSTLVXWCjRXWjt7TOy1ugXEPHL4En7ZVbreUu4zk4SW-D40FhK-EORkvYsNkuPPQ4Mak8vhXqvCAR-qWKIcLdvNmWdlVpUy_jm7NGQuUM7w/s1600/head_first_jquery.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-IT9I0UjeF8py-D5oSnsVCNSFtbw4jvaLSTLVXWCjRXWjt7TOy1ugXEPHL4En7ZVbreUu4zk4SW-D40FhK-EORkvYsNkuPPQ4Mak8vhXqvCAR-qWKIcLdvNmWdlVpUy_jm7NGQuUM7w/s1600/head_first_jquery.jpg" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
Both links above have the lowest price that you are gonna ever find on the market. Enjoy!</div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-56056489710537010582013-06-20T09:47:00.001+05:302013-06-25T08:35:02.121+05:30Set up the best web development environment - Netbeans + Apache + PHP + MySQL + jQuery and lots more!<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuQB5tfnjm4aUMPRYQj6wgEmyIVsySFCh8wIW4aNGRpNXTLpk-jbcGBr9V2GS2K8tECFOjYvxKo5jXEXvj0ejCh1HtlKNLNwQd38pL1DjQZ0yTEcxkHSAYxXiPnOQniB4De6jKjhXIBA/s1600/webdev.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuQB5tfnjm4aUMPRYQj6wgEmyIVsySFCh8wIW4aNGRpNXTLpk-jbcGBr9V2GS2K8tECFOjYvxKo5jXEXvj0ejCh1HtlKNLNwQd38pL1DjQZ0yTEcxkHSAYxXiPnOQniB4De6jKjhXIBA/s640/webdev.jpg" width="640" /></a></div>
<br />
Well, PHP, MySQL, jQuery - the three most essential tools we need to create the next gen websites or develop interactive content in the world of HTML5.<br />
<div>
jQuery will run client side, but PHP and MySQL require server side programming. Hence we need to set up a similar environment on PC, and also we need something to code our thoughts and ideas using our knowledge. Netbeans is one of the best IDE(Integrated Development Environment) that can let you do this with much ease, and basically its free. Everything that you will need to complete this tutorial will be free.</div>
<div>
<br /></div>
<h3 style="text-align: left;">
Step 1: Set up a server</h3>
<div>
There are various apps that let you create an Apache+PHP+MySQL environment of your Windows PC. My favorites are:</div>
<div>
<table>
<tbody>
<tr>
<td><b><u>Software</u></b></td>
<td><b><u>Download Link</u></b></td>
<td><b><u>Extra notes</u></b></td>
</tr>
<tr>
<td>Zend Server</td>
<td><a href="http://www.zend.com/en/products/server/" target="_blank">Click here</a></td>
<td>More secure, High level server administration, might not have the latest version of PHP, MySQL and other modules</td>
</tr>
<tr>
<td>EasyPHP</td>
<td><a href="http://www.easyphp.org/" target="_blank">Click here</a></td>
<td>Less Secure, Easy administration and installation of modules. Fast updates to PHP and MySQL<b> << Recommended </b></td>
</tr>
<tr>
<td>WampServer</td>
<td><a href="http://www.wampserver.com/en/" target="_blank">Click here</a></td>
<td>Less secure,option to convert to web server, might not have the latest version of technologies(Apache, PHP, MySQL)</td>
</tr>
</tbody></table>
<br />
Well, just install these apps like you install any other Windows Software and your server will be up and running in no time.<br />
This was easy, wasn't it?<br />
Now comes the coding part..<br />
<br />
<h3 style="text-align: left;">
Step 2: Install Netbeans</h3>
<div>
Why Netbeans?</div>
<div>
Well, its fully featured, easy to use and has support for lots of languages and is FREE! You will also need JDK(Java SE) latest version. <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html" target="_blank">Here is the link.</a></div>
<div>
<a href="http://netbeans.org/" target="_blank">Download and install Netbeans from this link</a></div>
<div>
<br /></div>
<h3 style="text-align: left;">
Step 3: To create projects using NetBeans</h3>
<div>
Well, creating projects is easy. Now what you need is a simple selection to make when you are kick starting your development. In the New Project Wizard, choose PHP>PHP Application.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrdQMdSdz7XQXbwOYeILeg9FHJlGokvPYTQWHvMwczB34sbXywMccToN1V3oV_Cvm7eBzFyANNKG955zh37jwrwcuSGJfunpqWKXIFPSPP79fvMh18Ix8chDDAaf4As9edl6fHO-vvnA/s1600/start.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="358" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrdQMdSdz7XQXbwOYeILeg9FHJlGokvPYTQWHvMwczB34sbXywMccToN1V3oV_Cvm7eBzFyANNKG955zh37jwrwcuSGJfunpqWKXIFPSPP79fvMh18Ix8chDDAaf4As9edl6fHO-vvnA/s640/start.png" width="640" /></a></div>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIUt9hWhMXLMTXWbvfWtJqx1y9sqZ3JOwc1FdRibmMnaKFsySIfIOtvQ5y7v9YNvIEoasMxESZvPw9dgh3LWkcZT4Ov2AXwlW0obABZdqlBYOPBwUQEZvWdKOtlemEME7PHWOFgTK-bg/s1600/firsttime.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="358" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIUt9hWhMXLMTXWbvfWtJqx1y9sqZ3JOwc1FdRibmMnaKFsySIfIOtvQ5y7v9YNvIEoasMxESZvPw9dgh3LWkcZT4Ov2AXwlW0obABZdqlBYOPBwUQEZvWdKOtlemEME7PHWOFgTK-bg/s640/firsttime.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">If you are creating a PHP project for the first time, Netbeans will take few seconds to activate the PHP Module.</td></tr>
</tbody></table>
When you are in this screen when going through the New Project wizard, make sure you check the box copy files to a folder option as mentioned below. </div>
<div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfle28_XjEiYPZG03VlaiU6RMLXDsdOfTI-_vddnLVRiOyyxSH_iGfgWq-jcfjn8A2Wst6YU4Nk0gHWlW7tkF209hyphenhyphenEdMK-TT9ziX2QRrbmhrTnRicVrgNv5Z5FviGFBuEryatUyKZeA/s1600/important.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="356" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfle28_XjEiYPZG03VlaiU6RMLXDsdOfTI-_vddnLVRiOyyxSH_iGfgWq-jcfjn8A2Wst6YU4Nk0gHWlW7tkF209hyphenhyphenEdMK-TT9ziX2QRrbmhrTnRicVrgNv5Z5FviGFBuEryatUyKZeA/s640/important.png" width="640" /></a></div>
Now, select the path according to the location of your public www folder(also called document root). If you have downloaded any of the above softwares that I have mentioned, here is a guide to those folders:</div>
<div>
ZendServer - <path to Zend Server installation directory>\Apache2.2\htdocs</div>
<div>
EasyPHP - <path to EasyPHP installation directory>\data\localweb</div>
<div>
WampServer - <path to WampServer installation directory>\www<br />
<br />
Thats it! You are done!</div>
<h3 style="text-align: left;">
Additional Notes:</h3>
<div>
<ol style="text-align: left;">
<li>I prefer EasyPHP as they have latest technologies, so less or no bugs will be encountered when developing.</li>
<li>Do set up root password for your MySQL databases. This makes your server quite secure, in case you decide to make the same server live.</li>
<li>Copy the jQuery script into the folder where you can use it properly. For less amount of code, I prefer to save the .js file into the same directory as the main web page is.</li>
<li>It is always better to choose a proper web host, rather than hosting the scripts yourself. Sure this is a DIY package for creating a web server, but its not secure enough.</li>
<li>WAMPServer comes with phpMyAdmin by default, to access it use localhost\phpmyadmin. For ZendServer and EasyPHP you will have to install the modules.For tutorial on Zend Server, visit <a href="http://files.zend.com/help/Zend-Server-6/content/installing_phpmyadmin.htm%E2%80%8E" target="_blank">this link</a> and for EasyPHP, just activate the phpMyAdmin module in the server administration GUI.</li>
</ol>
<div>
Now that you have set up a complete web Development server, how about kickstarting to learn web development? <a href="http://techieanish.blogspot.com/2013/06/best-books-to-kickstart-learning-web.html" target="_blank">Check out one of the best books I recommend for beginners to start learning web development by clicking here!</a></div>
</div>
<br /></div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com2tag:blogger.com,1999:blog-1047568970673962377.post-36802155559121243462013-06-15T09:17:00.002+05:302013-06-15T09:17:52.173+05:30Best 2 Smartphones Under ₹10,000 at Best price in India<div dir="ltr" style="text-align: left;" trbidi="on">
<h3 style="text-align: left;">
<br /></h3>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><span style="margin-left: auto; margin-right: auto;"><a href="http://goo.gl/XPn5V" target="_blank"><img border="0" height="274" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzaw7ss6Hmqs_-1y86Mac4qmzJ0oJalgnkIurB_HeTtdd-r3oIBS6BTD9GzRJrbufgV6nPJo3ul_XGuS7sX2_BMnxvxRfDBxpm9CC9Iwbk-Z4ItwU0k23TLSy9G4N9o3LiZbXCzdK9zA/s320/nokia-lumia-520-2.jpg" width="320" /></a></span></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: left;"><a href="http://goo.gl/XPn5V" target="_blank">1. Nokia Lumia 520: Windows Phone 8, 5MP Camera, 4" touchscreen<br />Best price: Rs. 9,899 (or lower)</a></span><br />
<div class="MsoNormal">
<a href="http://goo.gl/XPn5V" target="_blank"><o:p></o:p></a></div>
<a href="http://goo.gl/XPn5V" target="_blank"><br /></a></td></tr>
</tbody></table>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><img border="0" height="237" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL_1bvgdSMmOaJ6teV64WTHPMMeOY4RAf8Ls5K31IYo_vJQUrrbH9M_tm4dIfnreTcV2ygshG5EEwr3UbDzZbGru8E53HLLNRec5JemK0dN7r3uCOUpgGYdIo90nl_RJoal0cPJblh4w/s320/samsung+galaxy+young.png" style="margin-left: auto; margin-right: auto;" width="320" /></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: left;"><a href="http://goo.gl/uUMY1" target="_blank">2. Samsung Galaxy Young: Android 4.1, 3MP Camera, 3.2" touchscreen<br />Best Price: Rs. 7,799</a> (Offer: Free 8GB SanDisk SD Card on that link)</span></td></tr>
</tbody></table>
<div>
<br /></div>
<div>
<br /></div>
<div class="MsoNormal">
<o:p></o:p></div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-1152670200897469842013-06-14T18:33:00.000+05:302013-06-21T18:59:30.136+05:30Top questions regarding Processor, GPU, Display and Memory of a Smart Phone - The Backend<div dir="ltr" style="text-align: left;" trbidi="on">
This article is a part of the series <a href="http://techieanish.blogspot.in/2013/06/top-questions-regarding-tech-specs.html" target="_blank">Top questions regarding the tech specs about a smart phone</a>.<br />
<br />
The questions in this article are:<br />
<a href="http://techieanish.blogspot.in/2013/06/top-questions-regarding-processor-gpu.html#id1">1. Do number of cores really matter?</a><br />
<a href="http://techieanish.blogspot.in/2013/06/top-questions-regarding-processor-gpu.html#id2">2. Is 512MB enough for a smart phone?</a><br />
<a href="http://techieanish.blogspot.in/2013/06/top-questions-regarding-processor-gpu.html#id3">3. PowerVR vs Adreno 320?</a><br />
<a href="http://techieanish.blogspot.in/2013/06/top-questions-regarding-processor-gpu.html#id4">4. Sony Bravia Engine vs Samsung Super AMOLED</a><br />
<br />
<a href="http://www.blogger.com/blogger.g?blogID=1047568970673962377" name="id1"></a>
<br />
<h3 style="text-align: left;">
Q. Do the number of cores really matter?</h3>
A. Yes, and they make significant difference. For example, the dual core 1Ghz processor of <a href="http://goo.gl/41cLg" target="_blank">Samsung Galaxy S Advance does tasks </a>far more better than the <a href="http://goo.gl/4kL3i" target="_blank">HTC One V</a>. Basically, consider this example: In a company called smartphone, a job was given to a staff member. He was able to finish that job in two days. The company was sad, they thought as work load would increase, having one person do the job isn't enough. Hence, they appointed one more person. Now, both people together did whatever job was appointed to them by distributing the bigger job into smaller ones. Hence, the work was finished in a matter of hours. Same is the case with processor cores. As we know that processor does all the job of thinking in a smartphone. Hence, if the processor has one core, it will take time. But, if has more, the job will be done quickly(yeah, it doesn't take days or hours to process data on smartphone, the example was just a metaphor). So, whenever you buy a mid range smart phone, make sure that it at least has two cores or if you are ready to compromise speed for something else. Yes, how can we forget the giant <a href="http://goo.gl/fNJ5Z" target="_blank">Samsung Galaxy S4</a> which has got massive 8 cores!<br />
<div>
<br /></div>
<a href="http://www.blogger.com/blogger.g?blogID=1047568970673962377" name="id2"></a>
<br />
<h3 style="text-align: left;">
Q. Is 512MB RAM enough for a smart phone?</h3>
<div>
A. Well, in most cases 512MB RAM is just enough to run apps that are mid-weight. I mean the apps which don't require high 3D graphics processing, or involved in doing many tasks at the same time. For Windows Phones, like the <a href="http://goo.gl/SAaHn" target="_blank">Nokia Lumia 620</a> Microsoft has done excellent job. They "pause" the inactive apps and give most resources to the app which the user is actually using. Just like you Hibernate your PC and get back its previous state when switched on, the same thing happens with background apps if your device runs in low memory. So, if you have a Windows Phone with 512MB RAM, you might just get everything you need in enough quantity.</div>
<div>
<br /></div>
<a href="http://www.blogger.com/blogger.g?blogID=1047568970673962377" name="id3"></a>
<br />
<h3 style="text-align: left;">
Q. Which GPU is better PowerVR or Adreno 320?</h3>
<div>
A. PowerVR has given the best performance when it comes to graphic processing than the Adreno. PowerVR comes with Samsung Exynos chips, while we see Adreno coming up with Snapdragon processors. Though Adreno is more common, PowerVR is the best among the Android phones that I have seen so far. We have seen many questions regarding PowerVR vs Adreno on the WWW, and I guess you have got your answer. Yes, Adreno can be overclocked(Forceful increase in processing speed by firmware modifications) to get processing rate more than PowerVR, but performance wise, it so far was not able to cross the Samsung's creation. Just for info, the Areno 320 GPU is present in <a href="http://goo.gl/h8qVQ" target="_blank">Sony Xperia Z</a> and <a href="http://goo.gl/L4evh" target="_blank">HTC One</a></div>
<div>
<br /></div>
<div>
<a href="" name="id4"></a>
<h3 style="text-align: left;">
Q. Bravia Engine vs Super AMOLED, which one is better?</h3>
<div>
A. Bravia Engine has longer lifespan, greater number of colours, way more clarity and better viewing pleasure. This display engine also provides better eyesight protection. S-AMOLED, found mostly in Samsung phones, has better brightness. But in fact, if you want brightness, you can check LCD3, the technology with HTC uses for display. </div>
<div>
<br /></div>
<div>
<br /></div>
Got more? Ask me using <a href="http://techieanish.blogspot.in/p/ask-me-tech.html" target="_blank">this form</a> << Click there</div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0tag:blogger.com,1999:blog-1047568970673962377.post-22441968290729872022013-06-14T09:32:00.000+05:302013-06-21T18:59:45.161+05:30Top questions regarding CAMERA of a smartphone<div dir="ltr" style="text-align: left;" trbidi="on">
A part of series "<a href="http://techieanish.blogspot.in/2013/06/top-questions-regarding-tech-specs.html" target="_blank">Top questions regarding tech specs of a smart phone</a>"<br />
The questions in this article are:<br />
<a href="http://techieanish.blogspot.in/2013/06/top-questions-regarding-camera-of.html#id1">1. Do megapixels really matter?</a><br />
<a href="http://techieanish.blogspot.in/2013/06/top-questions-regarding-camera-of.html#id2">2. Do megapixels affect low light photography?</a><br />
<a href="http://techieanish.blogspot.in/2013/06/top-questions-regarding-camera-of.html#id3">3. What is Nokia Pureview</a><br />
<br />
Got more? <a href="http://techieanish.blogspot.in/p/ask-me-tech.html" target="_blank">Ask me here</a> << Click there<br />
<a href="http://www.blogger.com/blogger.g?blogID=1047568970673962377" name="id1"></a>
<br />
<h3 style="text-align: left;">
Q. Do megapixels really matter?</h3>
<div>
A: Yes, they do. In fact, all your images are written in tiny small dots called pixels. Like cells are building blocks of life, these little pixels are the smallest indivisible part of a digital image. The more dots per inch, the clearer the picture. Hence, higher the megapixels, clearer the picture you get. For utter sharp images, you need more than 8 megapixels. <a href="http://goo.gl/fNJ5Z" target="_blank">Galaxy S4</a> gives a 13MP camera, so does <a href="http://goo.gl/h8qVQ" target="_blank">Sony Xperia Z</a>. </div>
<div>
<br /></div>
<a href="http://www.blogger.com/blogger.g?blogID=1047568970673962377" name="id2"></a>
<br />
<h3 style="text-align: left;">
Q. Does megapixels affect low light photography?</h3>
<div>
A: No. Basically, the amount of light captured by a camera depends upon how sensitive the camera sensor is. It is the minimum intensity of light required to activate the camera sensor. <a href="http://goo.gl/cPw05" target="_blank">Nokia Lumia 720</a> is a really good budget phone with just right amount of Pixels and excellent low light photography.</div>
<a href="http://www.blogger.com/blogger.g?blogID=1047568970673962377" name="id3"></a>
<br />
<h3 style="text-align: left;">
Q. What is Nokia Pureview?</h3>
<div>
A. First unveiled in 2010 with the Nokia Pureview 808, the mind blowing 41MP camera phone running Nokia Belle OS. Nokia has made an awesome breakthrough which talks about an innovative way of handling images. All it does is combine many small pixels into one superpixel! This leads to superior noise reduction(Noise is basically the tiny little dots you see on the image when taking a photo). The best part of this technological innovation is the Zoom. I mean when you combine tiny little pixels to form one huge pixel, its well controlled how many tiny pixels you want to combine into one superpixel. Hence, the you get losless zoom. And seriously the quality is pretty awesome.</div>
<div>
<br /></div>
<div>
Got more, ask me using the form <a href="http://techieanish.blogspot.in/p/ask-me-tech.html" target="_blank">Ask Me Tech</a>. I will reply you with the answer and it will be posted here too.</div>
</div>
AnishMhttp://www.blogger.com/profile/04539348410767252866noreply@blogger.com0