Test

Powered by Blogger.

Wednesday, 12 November 2014

Big Data- a changing trend

Big Data

      a big hype topic

      everything is big data

      everyone wants to work with big data

      Wikipedia: "... a collection of data sets so large and complex that it

      becomes di_cult to process using on-hand database management

      tools or traditional data processing applications ..."

 

      Access to many di_erent data sources (Internet)

      storage is cheep - store everything

      today, CIOs get interested in the power of all their data

       a lot of di_erent and complex data have to be stored

       NoSQL

 

NoSQL: databases with less constrained consistency models )

schema-less

 

MongoDB:

I open source, cross-platform document-oriented database system

I most popular NoSQL database system

I supported MongoDB Inc.

I stores structured data as JSON-like documents with dynamic schemas

I MongoDB as a German / European Service

http://www.mongodb.org http://www.mongosoup.de

 

 

Hadoop

open-source software framework designed to support large scale data

processing

Map Reduce: a computational paradigm

I application is divided into many small fragments of work

HDFS: Hadoop Distributed File System

I a distributed _le system that stores data on the compute nodes

the Ecosystem: Hive, Pig, Flume, Mahout, ...

written in Java, opened up to alternatives by its Streaming API

http://hadoop.apache.org

 

HDFS and Hadoop cluster

HDFS is a block-structured _le system

I blocks are stored across a cluster of one or more machines with data

storage capacity: DataNode

I data is accessed in a write once and read many model

HDFS does come with its own utilities for _le management

HDFS _le system stores its metadata reliably: NameNode

 

Example: Rstudio

M

 

Tuesday, 11 November 2014

Interception of HTTPS Traffic between Android Device and External Server

Sometimes it's interesting to see what different Android applications exchange through HTTP and HTTPS protocols. Sometimes, when developing one's own SW it's convenient to see the whole traffic in real time. To solve these tasks many different and good applications have been developed, e.g. Charles or Fiddler2. In fact, they are more numerous, but only the two mentioned allow seeing not only HTTP but also HTTPS.

Troubles appear in the interception of traffic between an Android device and an external server. With encoded (HTTP) traffic all is rather obvious (here's a guide) — external links are allowed with Fiddler2, in Android the address of our machine with Fiddler2 is set as a server — and voila, all is up and running. But it took me a bit longer to set up HTTPS traffic interception.

Theory

So, what's the trouble? The trouble is that using HTTPS the client verifies by default whether the server it connects to is the right one. For this purpose certificates are used. So, the real server has, of course, a real certificate that matches the open URL, while our proxy does not have one. To deal with the problem in desktop OS, Fiddler2 offers a possibility to generate a fake certificate and import it to the trusted ones — now the client will always believe that connection to Fiddler2 is quite safe. Unfortunately, mobile devices did not buy this dummy.

Primarily, it is impossible to import certificates in Androids older than v.4.0. There are some doubtful options with routed devices but they don't suit us. Secondly, it is impossible to import a Fiddler2 certificate even in Android 4.0. The thing is the certificate generated by default fails to meet some security criteria of Android and can't be installed. It should be generated in a special way. Finally, we can't take it for granted that all applications will trust a fake certificate. There are some niceties.

Usage

  1. Take an Android 4.0 or higher device. No, a 2.3 device won't suit. Yes, a 4.0 emulator will suit.
  2. Install the latest version of Fiddler2 on your PC.
  3. Install special libraries to generate Android-compatible safety certificates (here).
  4. Export the security certificate from Fiddler2 («Tools > Fiddler Options > HTTPS > Export root certificate to Desktop»). Save it on your flash drive, into the root directory (or in your emulator, if you're using one).
  5. Add the security certificate to the trusted ones in Android («Settings > Security > Install from SD card»)

  6. Start Fiddler2, allow remote connections in Options.

  7. Enter the address of the PC with Fiddler2 as the proxy in network settings of Android.

  8. Open browser on Android, enter google.com and observe the request and response in the Fiddler2 window.

So, it worked with the browser, but, unfortunately, not all applications are as trustful as the browser. E.g. my soft, where I use Apache HTTP Client, didn't buy it the Apache client couldn't care less about the OS trusted certificates. In this case I had to disable this verification manually as follows:

Protocol.registerProtocol("https", new Protocol("https", new EasySSLProtocolSocketFactory(), 443));  

where EasySSLProtocolSocketFactory comes from here and allows trusting any certificates

Registry tweak for changing logon on windowd

Registry tweak

The process begins with a very minor Registry tweak. Even for those who would not normally feel comfortable editing the Registry, this one's a piece of cake. To begin, click the Start button and type Regedit in the Search box. Then, select the appropriate result and press [Enter]. When you do, you'll see the User Account Control, shown inFigure A, and will need to click the Yes button.Note: Editing the Windows Registry file is not without its risks, so be sure you have a verified backup before making any changes.

Figure A

You will encounter a UAC when you launch the Registry Editor.

Once the Registry Editor launches, locate and right-click on HKEY_LOCAL_MACHINE key and select the Find command. When you see the Find dialog box, type OEMBackground in the text box and make sure that only the Values check box is selected, as shown in Figure B.

Figure B

Type OEMBackground in the Find dialog box.

When the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background key opens, locate and double-click the OEMBackground value. When you see the Edit DWORD dialog box, change the value data from 0 to 1, as shown in Figure C. (If the OEMBackground value doesn't exist in the Background key, you'll need to pull down the Edit menu from that key and select New | DWORD (32-bit) Value).

Figure C

Change the value data from 0 to 1.

To complete this part of the operation, click OK to close the Edit DWORD dialog box and then close the Registry Editor.

Creating folders

In the second part of the operation, you'll need to create a couple of folders. To begin, launch Windows Explorer. Then navigate to the C:\Windows\System32\Oobe folder. Once you access the Oobe folder, click the New Folder button in the Windows Explorer toolbar. You'll see a confirmation dialog box, like the one shown inFigure D. When you click Continue, the new folder will be created and you can name it info.

Figure D

When you click the New Folder button, you'll encounter a confirmation dialog box.

Then, open the info folder, click the New Folder button again, work through the confirmation dialog box, and then name the second new folderbackgrounds.

Configuring the wallpaper

You can use any image that you want for your new Logon screen wallpaper. However, the image has to be in JPG format and you need to name it backgroundDefault.jpg. When you copy your file to the Windows\System32\Oobe\info\backgrounds folder, you'll encounter and will need to work through a confirmation dialog box similar to the one shown in Figure D.

Two other things to keep in mind: First, the actual file size of backgroundDefault.jpg cannot exceed 256 KB. Second, you'll want to use an image whose dimensions match the screen resolution that you are using. If you use a file whose dimensions are smaller, the image will be stretched and may appear distorted.

Rooting micromax in 3 Steps

How To Root Micromax Unite 2 A106 Without PC [With KingRoot App]

Get KingRoot application fromDev Host.Install KingRoot application like a normal application.Open the application and on the main UI, tap on the big green circle with a circle of lock in which you can read some Chinese text withRoot button.
Tap on the big button to root next to the arrow.

It will take some time to root the phone.As soon as you see a tick mark in the circle which means your phone has successfully rooted, you can tap the blue button below which will appear after the rooting has been done.
Tap on the button next to the arrow.

Reboot your phone!

The application will install KingUser application which is better than SuperSU and works perfect with MTK devices especially with Micromax Unite 2. In case if you want to install SuperSU, just install SuperSU from Google Play Store and update the binaries using normal way.

Rooting With Baidu Root App [May Not Work With All The Phones]

Open Settings and then move to Security and enableUnknown Sources. Just tick unkown sources and accept the warning.Get Baidu Rooting Application from it's official website: Clickhere to visit Baidu Root. Don't open the website from Google Chrome (using a phone), because it appeared wired there. Try opening it with Opera Mini.
Download Baidu App to Root MT6582 on KitKat/Micromax Unite 2

You will see a blue box with Chinese language written in it. I haven't translated it so I don't know what's written there. Just click on this and you will be prompted to downloadBaiduRoot_2001.apk. SelectSave and download the application.Open any File Explorer application if you have and open SDCard>Download.Now tap on BaiduRoot_2001.apk and select on Install to install this application in your phone.Open the application from app drawer.Now select Root button with some words written in Chinese language. Wait for some minutes and let the application download some binaries required to root the phone.You will see a popup. Press back to close the popup.Finally you will have a rooted phone. Now reboot for changes to take effect.Now you can uninstall this application.Further more you can installSuperSU application after rooting your phone and can uninstall Kinguser application if you want, but uninstall only if you have alternative Superuser application, else your phone will not have root access.

Saturday, 14 September 2013

How to Root Samsung Galaxy Y S5360 – 100% Working


What is Rooting – Is it Safe or Dangerous ?

Rooting is basically a Process of Gaining Full Access to Android System Files and thus Modifying Them according to Your Needs.By Rooting Your Android Smartphone You can Easily Install any Android App that Requires Android System File access for its Functioning.Generally Rooting of Android Smartphone is done in order to Install Custom ROM’s in order to Get Better and Faster Performance as compared to the Default Company Provided Stock.


  • Make Sure that Your Phone is Charged at-least 70% I would Recommend You should Full Charge Your Phone Before Rooting.
  • Never Disconnect Your Samsung Galaxy Y S5360 From Computer while the Rooting Process is Going On.
  • Make Sure to Backup all Your Data like Apps,Contacts,Gallery etc. Before Rooting.You can Use Astro Manager to Create a Backup of Installed Apps.
  • Close all Background Applications even Disable Your Antivirus or Firewall.
  • Please Read Below Disclaimer Before Rooting Your Samsung Galaxy Y S5360.

Disclaimer : Must Read

Rooting Process is Dangerous as already discussed above it can void Your Smartphone Warranty Period Though it can be Recovered after Unrooting but we don’t Guarantee about this.Also We are Not Responsible For Any Harm that Comes to Your Samsung Galaxy Y S5360 After trying the Given Procedure.This is Intended to be Used For Information Purposes Only.TRY AT YOUR OWN RISK.

How to Root Samsung Galaxy Y S5360 – Steps to Follow :

You will Find Different Methods For Rooting Samsung Galaxy Y S5360 Using Different Tools.Here I am Providing You with a Very Simple Solution to Root Your Samsung Galaxy S5360.You First Need to Download the Prerequisite Tools or Updates to Root Your Samsung Galaxy S5360.Follow the Below Guide on How to Root Samsung Galaxy Y S5360.
  • Download the Required Files i.e Rooting Package – Download Link
  • It is a ZIP File You don’t need to Extract it.
  • Now Connect Your Samsung Galaxy Y S3560 to Your PC Using USB Cable.
  • Enable USB Debugging Mode By Going Through Phone Settings -> Applications -> Development-> Enable USB Debugging Mode.
  • Just Move the Download ZIP File to Your Samsung Galaxy Y S5360 SD Card or Memory Card.
  • Now Switch off Your Samsung Galaxy Y S5360 Using the Power Button.
  • Now You Need to Boot Your Samsung Galaxy YS5360 in Recovery Mode.To Boot in Recovery Mode Press Volume UP Button,Home Button and Power Button Together For at least 15-20 Seconds.
  • After Entering into Recovery Mode Select “Update from SD Card”.
  • Here Just Select the Downloaded Update ZIP File and Run it by Pressing the Home Key Button.
  • Now Your Rooting Process will Start and will take about 15-20 Minutes.
Note - Don’t Plug Your Samsung Galaxy Y S5360 From Your PC while Rooting.
  • After the Rooting Process is Done Your Phone will be Restarted Automatically.
Note - It will Take some time to Restart so be calm and Patient.
  • That’s all and You are all Done.You have Successfully Rooted Your Samsung Galaxy Y S5360.
Incoming Searches :
  • How To Root Samsung Galaxy Y GT-S5360
  • Rooting Samsung Galaxy Y S5360

Monday, 26 August 2013

C++0x: The future of C++

What is C++0x?

C++0x was the working name for the new standard for C++, adding many language features that I’ll cover in this series on C++11. In September 2011, C++0x was officially published as the new C++11 standard, and many compilers now provide support for some of the core C++11 features.
C++11 includes a wide range of features: major new features like lambda support and “move semantics”, usability improvements like type inference through the auto keyword, simplified looping over containers, and many improvements that will make templates easier to write and easier to use. This series on C++11 will cover all of these features and many more.

Should you care about C++11?

Most definitely. C++11 adds many new language features to C++. C++11 should fix many annoyances and reduce the overall verbosity of C++ as well as provide new tools, such as lambda expressions, that increase its overall expressiveness and clarity. Fetaures like move semantics improve the basic efficiency of the language, allowing you to write faster code, and the improvements to the template system make it much easier to write generic code.
The new standard library will also include many new features, including adding multithreading support directly into C++ and improved smart pointers that will simplify memory management for those who aren’t already using features likeboost::shared_ptr.
I’ve started using several new C++11 features professionally and I’m loving it. Some of the new features I’m fond of include the new meaning of the auto keyword, simplifications like better handling of right angle brackets in templates, lambda expressions and the new function declaration syntax.

How was C++11 developed?

I can’t go on further about C++11 without acknowledging the hard work done by the C++ standards committee–a group of experts from academia and industry who have met many times to work through all the edge cases and design a programming language that can be implemented across multiple platforms by multiple compilers, producing efficient and reasonably maintainable code. The next standard, C++11, looks to be a fantastic addition to the flexibility and power of C++.

What is C++11 about?

Language usability

Having started to use C++11, I’d say that the most fundamental way of looking at it is that it makes C++ a much more usable language. This isn’t to say that it makes it a simpler language–there are lots of new features–but it provides a lot of functionality that makes it easier to program. Let’s look at one example, the auto keyword.
In C++11, if the compiler is able to determine the type of a variable from its initialization, you don’t need to provide the type. For example, you can write code such as
int x = 3;
auto y = x;
and the compiler will deduce that y is an int. This, of course, isn’t a shining example of where auto is really useful. Auto really comes into its own when working with templates and especially the STL. Why is that? Imagine working with an iterator:
map<string, string> address_book;
address_book[ "Alex" ] = "webmaster@cprogramming.com";
// add a bunch of people to address_book
Now you want to iterate over the elements of the address_book. To do it, you need an iterator:
map<string, string>::iterator itr = address_book.begin();
That’s an awfully long type declaration for something that you already know the type of! Wouldn’t it be nice to simply write:
auto itr = address_book.begin();
The code is much shorter, and frankly, I think it’s more readable, not less, because the template syntax obscures everything else on that line. This is one of my favorite new features, and I find it eliminates a lot of headaches and hard-to-track-down compiler errors, and just generally saves time without losing expressiveness.

Ranged For Loops

Now, the iterator example is one where C++11 has come up with an even better way of handling this–something called a range-based for loop (which almost every language has nowadays). The idea is so elegant, an example should suffice:
vector<int> vec;
vec.push_back( 10 );
vec.push_back( 20 );

for (int &i : vec ) 
{
        cout << i;
}
All you need to do is give your variable and the range to iterate over (defined as something with iterators available via calls to begin and end–so all STL containers) and you’re set! This is a pretty new feature, available as far as I know only in GCC 4.6.
But what if you want to iterate over a map? How do you put in the type for a value stored in a map? With a vector, you know the value is an int. With a map, it’s essentially a pair, with .first and .second giving you the key and value. But with auto, we don’t need to worry about getting the exact type right, you can simply do this:
for ( auto address_entry : address_book )
{
        cout  << address_entry.first << " < " << address_entry.second << ">" <<endl;
}
Which prints out as:
Alex <webmaster@cprogramming.com>
Isn’t that a nice combination of new features in C++11? It feels like it was designed that way :)

Right angle brackets

And I have one more usability improvement for you–in previous versions of the C++ standard, if you wrote a template that had another template:
vector<vector<int> > vector_of_int_vectors;
You had to write a space between the two closing angle brackets. This was not only annoying, but if you did write >> without a space, you’d get obtuse and confusing compiler error messages. The reason for this behavior had to do with an obscure C++ lexer trait called the maximal munch rule. The good news is, you no longer need to worry about it! Say hello to
vector<vector<int>> vector_of_int_vectors;
True, this seems like a small thing, but it’s a victory of human code writers over machine tools. Plus it’s much less ugly. Compiler support for right-angle brackets is great: GCC since 4.3, MSVC since version 8 (!) and the Intel compiler since version 11.


Compiler Support for C++11

Of course, no language feature matters if it’s not available to use, and the good news is that many compilers now support the new C++11 features. The Apache foundation has compiled a very useful list of C++11 language features and the compilers that support them: Compiler Support for C++11. If you’re interested in GCC, this page describes the GCC 4.7 support for C++11.
Some compilers, such as GCC, do not automatically enable support for these features–for example, to enable C++11 features, you must compile with -std=c++0x. Nonetheless, they are still valuable if you’re working on a project where you can control the choice of compiler and set of language features.

RSS

Categories

Followers

Blog Archive

rTechIndia

RtechIndia->technology ahead

rtech

rtechindia

RtechIndia

Go rtechindia

Go rtechindia

RtechIndia

Wednesday, 12 November 2014

Big Data- a changing trend

Big Data

      a big hype topic

      everything is big data

      everyone wants to work with big data

      Wikipedia: "... a collection of data sets so large and complex that it

      becomes di_cult to process using on-hand database management

      tools or traditional data processing applications ..."

 

      Access to many di_erent data sources (Internet)

      storage is cheep - store everything

      today, CIOs get interested in the power of all their data

       a lot of di_erent and complex data have to be stored

       NoSQL

 

NoSQL: databases with less constrained consistency models )

schema-less

 

MongoDB:

I open source, cross-platform document-oriented database system

I most popular NoSQL database system

I supported MongoDB Inc.

I stores structured data as JSON-like documents with dynamic schemas

I MongoDB as a German / European Service

http://www.mongodb.org http://www.mongosoup.de

 

 

Hadoop

open-source software framework designed to support large scale data

processing

Map Reduce: a computational paradigm

I application is divided into many small fragments of work

HDFS: Hadoop Distributed File System

I a distributed _le system that stores data on the compute nodes

the Ecosystem: Hive, Pig, Flume, Mahout, ...

written in Java, opened up to alternatives by its Streaming API

http://hadoop.apache.org

 

HDFS and Hadoop cluster

HDFS is a block-structured _le system

I blocks are stored across a cluster of one or more machines with data

storage capacity: DataNode

I data is accessed in a write once and read many model

HDFS does come with its own utilities for _le management

HDFS _le system stores its metadata reliably: NameNode

 

Example: Rstudio

M

 

Tuesday, 11 November 2014

Interception of HTTPS Traffic between Android Device and External Server

Sometimes it's interesting to see what different Android applications exchange through HTTP and HTTPS protocols. Sometimes, when developing one's own SW it's convenient to see the whole traffic in real time. To solve these tasks many different and good applications have been developed, e.g. Charles or Fiddler2. In fact, they are more numerous, but only the two mentioned allow seeing not only HTTP but also HTTPS.

Troubles appear in the interception of traffic between an Android device and an external server. With encoded (HTTP) traffic all is rather obvious (here's a guide) — external links are allowed with Fiddler2, in Android the address of our machine with Fiddler2 is set as a server — and voila, all is up and running. But it took me a bit longer to set up HTTPS traffic interception.

Theory

So, what's the trouble? The trouble is that using HTTPS the client verifies by default whether the server it connects to is the right one. For this purpose certificates are used. So, the real server has, of course, a real certificate that matches the open URL, while our proxy does not have one. To deal with the problem in desktop OS, Fiddler2 offers a possibility to generate a fake certificate and import it to the trusted ones — now the client will always believe that connection to Fiddler2 is quite safe. Unfortunately, mobile devices did not buy this dummy.

Primarily, it is impossible to import certificates in Androids older than v.4.0. There are some doubtful options with routed devices but they don't suit us. Secondly, it is impossible to import a Fiddler2 certificate even in Android 4.0. The thing is the certificate generated by default fails to meet some security criteria of Android and can't be installed. It should be generated in a special way. Finally, we can't take it for granted that all applications will trust a fake certificate. There are some niceties.

Usage

  1. Take an Android 4.0 or higher device. No, a 2.3 device won't suit. Yes, a 4.0 emulator will suit.
  2. Install the latest version of Fiddler2 on your PC.
  3. Install special libraries to generate Android-compatible safety certificates (here).
  4. Export the security certificate from Fiddler2 («Tools > Fiddler Options > HTTPS > Export root certificate to Desktop»). Save it on your flash drive, into the root directory (or in your emulator, if you're using one).
  5. Add the security certificate to the trusted ones in Android («Settings > Security > Install from SD card»)

  6. Start Fiddler2, allow remote connections in Options.

  7. Enter the address of the PC with Fiddler2 as the proxy in network settings of Android.

  8. Open browser on Android, enter google.com and observe the request and response in the Fiddler2 window.

So, it worked with the browser, but, unfortunately, not all applications are as trustful as the browser. E.g. my soft, where I use Apache HTTP Client, didn't buy it the Apache client couldn't care less about the OS trusted certificates. In this case I had to disable this verification manually as follows:

Protocol.registerProtocol("https", new Protocol("https", new EasySSLProtocolSocketFactory(), 443));  

where EasySSLProtocolSocketFactory comes from here and allows trusting any certificates

Registry tweak for changing logon on windowd

Registry tweak

The process begins with a very minor Registry tweak. Even for those who would not normally feel comfortable editing the Registry, this one's a piece of cake. To begin, click the Start button and type Regedit in the Search box. Then, select the appropriate result and press [Enter]. When you do, you'll see the User Account Control, shown inFigure A, and will need to click the Yes button.Note: Editing the Windows Registry file is not without its risks, so be sure you have a verified backup before making any changes.

Figure A

You will encounter a UAC when you launch the Registry Editor.

Once the Registry Editor launches, locate and right-click on HKEY_LOCAL_MACHINE key and select the Find command. When you see the Find dialog box, type OEMBackground in the text box and make sure that only the Values check box is selected, as shown in Figure B.

Figure B

Type OEMBackground in the Find dialog box.

When the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background key opens, locate and double-click the OEMBackground value. When you see the Edit DWORD dialog box, change the value data from 0 to 1, as shown in Figure C. (If the OEMBackground value doesn't exist in the Background key, you'll need to pull down the Edit menu from that key and select New | DWORD (32-bit) Value).

Figure C

Change the value data from 0 to 1.

To complete this part of the operation, click OK to close the Edit DWORD dialog box and then close the Registry Editor.

Creating folders

In the second part of the operation, you'll need to create a couple of folders. To begin, launch Windows Explorer. Then navigate to the C:\Windows\System32\Oobe folder. Once you access the Oobe folder, click the New Folder button in the Windows Explorer toolbar. You'll see a confirmation dialog box, like the one shown inFigure D. When you click Continue, the new folder will be created and you can name it info.

Figure D

When you click the New Folder button, you'll encounter a confirmation dialog box.

Then, open the info folder, click the New Folder button again, work through the confirmation dialog box, and then name the second new folderbackgrounds.

Configuring the wallpaper

You can use any image that you want for your new Logon screen wallpaper. However, the image has to be in JPG format and you need to name it backgroundDefault.jpg. When you copy your file to the Windows\System32\Oobe\info\backgrounds folder, you'll encounter and will need to work through a confirmation dialog box similar to the one shown in Figure D.

Two other things to keep in mind: First, the actual file size of backgroundDefault.jpg cannot exceed 256 KB. Second, you'll want to use an image whose dimensions match the screen resolution that you are using. If you use a file whose dimensions are smaller, the image will be stretched and may appear distorted.

Rooting micromax in 3 Steps

How To Root Micromax Unite 2 A106 Without PC [With KingRoot App]

Get KingRoot application fromDev Host.Install KingRoot application like a normal application.Open the application and on the main UI, tap on the big green circle with a circle of lock in which you can read some Chinese text withRoot button.
Tap on the big button to root next to the arrow.

It will take some time to root the phone.As soon as you see a tick mark in the circle which means your phone has successfully rooted, you can tap the blue button below which will appear after the rooting has been done.
Tap on the button next to the arrow.

Reboot your phone!

The application will install KingUser application which is better than SuperSU and works perfect with MTK devices especially with Micromax Unite 2. In case if you want to install SuperSU, just install SuperSU from Google Play Store and update the binaries using normal way.

Rooting With Baidu Root App [May Not Work With All The Phones]

Open Settings and then move to Security and enableUnknown Sources. Just tick unkown sources and accept the warning.Get Baidu Rooting Application from it's official website: Clickhere to visit Baidu Root. Don't open the website from Google Chrome (using a phone), because it appeared wired there. Try opening it with Opera Mini.
Download Baidu App to Root MT6582 on KitKat/Micromax Unite 2

You will see a blue box with Chinese language written in it. I haven't translated it so I don't know what's written there. Just click on this and you will be prompted to downloadBaiduRoot_2001.apk. SelectSave and download the application.Open any File Explorer application if you have and open SDCard>Download.Now tap on BaiduRoot_2001.apk and select on Install to install this application in your phone.Open the application from app drawer.Now select Root button with some words written in Chinese language. Wait for some minutes and let the application download some binaries required to root the phone.You will see a popup. Press back to close the popup.Finally you will have a rooted phone. Now reboot for changes to take effect.Now you can uninstall this application.Further more you can installSuperSU application after rooting your phone and can uninstall Kinguser application if you want, but uninstall only if you have alternative Superuser application, else your phone will not have root access.

Saturday, 14 September 2013

How to Root Samsung Galaxy Y S5360 – 100% Working


What is Rooting – Is it Safe or Dangerous ?

Rooting is basically a Process of Gaining Full Access to Android System Files and thus Modifying Them according to Your Needs.By Rooting Your Android Smartphone You can Easily Install any Android App that Requires Android System File access for its Functioning.Generally Rooting of Android Smartphone is done in order to Install Custom ROM’s in order to Get Better and Faster Performance as compared to the Default Company Provided Stock.


  • Make Sure that Your Phone is Charged at-least 70% I would Recommend You should Full Charge Your Phone Before Rooting.
  • Never Disconnect Your Samsung Galaxy Y S5360 From Computer while the Rooting Process is Going On.
  • Make Sure to Backup all Your Data like Apps,Contacts,Gallery etc. Before Rooting.You can Use Astro Manager to Create a Backup of Installed Apps.
  • Close all Background Applications even Disable Your Antivirus or Firewall.
  • Please Read Below Disclaimer Before Rooting Your Samsung Galaxy Y S5360.

Disclaimer : Must Read

Rooting Process is Dangerous as already discussed above it can void Your Smartphone Warranty Period Though it can be Recovered after Unrooting but we don’t Guarantee about this.Also We are Not Responsible For Any Harm that Comes to Your Samsung Galaxy Y S5360 After trying the Given Procedure.This is Intended to be Used For Information Purposes Only.TRY AT YOUR OWN RISK.

How to Root Samsung Galaxy Y S5360 – Steps to Follow :

You will Find Different Methods For Rooting Samsung Galaxy Y S5360 Using Different Tools.Here I am Providing You with a Very Simple Solution to Root Your Samsung Galaxy S5360.You First Need to Download the Prerequisite Tools or Updates to Root Your Samsung Galaxy S5360.Follow the Below Guide on How to Root Samsung Galaxy Y S5360.
  • Download the Required Files i.e Rooting Package – Download Link
  • It is a ZIP File You don’t need to Extract it.
  • Now Connect Your Samsung Galaxy Y S3560 to Your PC Using USB Cable.
  • Enable USB Debugging Mode By Going Through Phone Settings -> Applications -> Development-> Enable USB Debugging Mode.
  • Just Move the Download ZIP File to Your Samsung Galaxy Y S5360 SD Card or Memory Card.
  • Now Switch off Your Samsung Galaxy Y S5360 Using the Power Button.
  • Now You Need to Boot Your Samsung Galaxy YS5360 in Recovery Mode.To Boot in Recovery Mode Press Volume UP Button,Home Button and Power Button Together For at least 15-20 Seconds.
  • After Entering into Recovery Mode Select “Update from SD Card”.
  • Here Just Select the Downloaded Update ZIP File and Run it by Pressing the Home Key Button.
  • Now Your Rooting Process will Start and will take about 15-20 Minutes.
Note - Don’t Plug Your Samsung Galaxy Y S5360 From Your PC while Rooting.
  • After the Rooting Process is Done Your Phone will be Restarted Automatically.
Note - It will Take some time to Restart so be calm and Patient.
  • That’s all and You are all Done.You have Successfully Rooted Your Samsung Galaxy Y S5360.
Incoming Searches :
  • How To Root Samsung Galaxy Y GT-S5360
  • Rooting Samsung Galaxy Y S5360

Monday, 26 August 2013

C++0x: The future of C++

What is C++0x?

C++0x was the working name for the new standard for C++, adding many language features that I’ll cover in this series on C++11. In September 2011, C++0x was officially published as the new C++11 standard, and many compilers now provide support for some of the core C++11 features.
C++11 includes a wide range of features: major new features like lambda support and “move semantics”, usability improvements like type inference through the auto keyword, simplified looping over containers, and many improvements that will make templates easier to write and easier to use. This series on C++11 will cover all of these features and many more.

Should you care about C++11?

Most definitely. C++11 adds many new language features to C++. C++11 should fix many annoyances and reduce the overall verbosity of C++ as well as provide new tools, such as lambda expressions, that increase its overall expressiveness and clarity. Fetaures like move semantics improve the basic efficiency of the language, allowing you to write faster code, and the improvements to the template system make it much easier to write generic code.
The new standard library will also include many new features, including adding multithreading support directly into C++ and improved smart pointers that will simplify memory management for those who aren’t already using features likeboost::shared_ptr.
I’ve started using several new C++11 features professionally and I’m loving it. Some of the new features I’m fond of include the new meaning of the auto keyword, simplifications like better handling of right angle brackets in templates, lambda expressions and the new function declaration syntax.

How was C++11 developed?

I can’t go on further about C++11 without acknowledging the hard work done by the C++ standards committee–a group of experts from academia and industry who have met many times to work through all the edge cases and design a programming language that can be implemented across multiple platforms by multiple compilers, producing efficient and reasonably maintainable code. The next standard, C++11, looks to be a fantastic addition to the flexibility and power of C++.

What is C++11 about?

Language usability

Having started to use C++11, I’d say that the most fundamental way of looking at it is that it makes C++ a much more usable language. This isn’t to say that it makes it a simpler language–there are lots of new features–but it provides a lot of functionality that makes it easier to program. Let’s look at one example, the auto keyword.
In C++11, if the compiler is able to determine the type of a variable from its initialization, you don’t need to provide the type. For example, you can write code such as
int x = 3;
auto y = x;
and the compiler will deduce that y is an int. This, of course, isn’t a shining example of where auto is really useful. Auto really comes into its own when working with templates and especially the STL. Why is that? Imagine working with an iterator:
map<string, string> address_book;
address_book[ "Alex" ] = "webmaster@cprogramming.com";
// add a bunch of people to address_book
Now you want to iterate over the elements of the address_book. To do it, you need an iterator:
map<string, string>::iterator itr = address_book.begin();
That’s an awfully long type declaration for something that you already know the type of! Wouldn’t it be nice to simply write:
auto itr = address_book.begin();
The code is much shorter, and frankly, I think it’s more readable, not less, because the template syntax obscures everything else on that line. This is one of my favorite new features, and I find it eliminates a lot of headaches and hard-to-track-down compiler errors, and just generally saves time without losing expressiveness.

Ranged For Loops

Now, the iterator example is one where C++11 has come up with an even better way of handling this–something called a range-based for loop (which almost every language has nowadays). The idea is so elegant, an example should suffice:
vector<int> vec;
vec.push_back( 10 );
vec.push_back( 20 );

for (int &i : vec ) 
{
        cout << i;
}
All you need to do is give your variable and the range to iterate over (defined as something with iterators available via calls to begin and end–so all STL containers) and you’re set! This is a pretty new feature, available as far as I know only in GCC 4.6.
But what if you want to iterate over a map? How do you put in the type for a value stored in a map? With a vector, you know the value is an int. With a map, it’s essentially a pair, with .first and .second giving you the key and value. But with auto, we don’t need to worry about getting the exact type right, you can simply do this:
for ( auto address_entry : address_book )
{
        cout  << address_entry.first << " < " << address_entry.second << ">" <<endl;
}
Which prints out as:
Alex <webmaster@cprogramming.com>
Isn’t that a nice combination of new features in C++11? It feels like it was designed that way :)

Right angle brackets

And I have one more usability improvement for you–in previous versions of the C++ standard, if you wrote a template that had another template:
vector<vector<int> > vector_of_int_vectors;
You had to write a space between the two closing angle brackets. This was not only annoying, but if you did write >> without a space, you’d get obtuse and confusing compiler error messages. The reason for this behavior had to do with an obscure C++ lexer trait called the maximal munch rule. The good news is, you no longer need to worry about it! Say hello to
vector<vector<int>> vector_of_int_vectors;
True, this seems like a small thing, but it’s a victory of human code writers over machine tools. Plus it’s much less ugly. Compiler support for right-angle brackets is great: GCC since 4.3, MSVC since version 8 (!) and the Intel compiler since version 11.


Compiler Support for C++11

Of course, no language feature matters if it’s not available to use, and the good news is that many compilers now support the new C++11 features. The Apache foundation has compiled a very useful list of C++11 language features and the compilers that support them: Compiler Support for C++11. If you’re interested in GCC, this page describes the GCC 4.7 support for C++11.
Some compilers, such as GCC, do not automatically enable support for these features–for example, to enable C++11 features, you must compile with -std=c++0x. Nonetheless, they are still valuable if you’re working on a project where you can control the choice of compiler and set of language features.