Reliance Jio: Free calls for ever, Rs 50 for 1GB data, free to try until Dec 2016

Device for using jio sim without 4g supported phones only for Rs.2000/-

Reliance Industries Limited (RIL) chairman & managing director Mukesh Ambani formally announced the launch of Jio 4G services in India on Thursday. As part of a broader rollout, Jio 4G services will be open to all starting from September 5, up to December 31 under which customers will enjoy free unlimited access to free unlimited data and free voice calls. Reliance Jio 4G services were well until now available in beta – in the name of Jio Preview – to employees and later extended to family and friends, partners, and vendors, and select partner OEMs like Samsung, LG and Micromax.

“Jio stands on five pillars: best quality broadband network with highest capacity (all-IP network), affordable 4G smartphones, compelling applications and content, superior digital service and affordable and simple tariffs,” Mukesh Ambani said while addressing the 42nd Annual General Meeting of RIL at Birla Matushri Sabhagar in Mumbai.


With Jio – which has been dedicated to Prime Minister Narendra Modi’s Digital India vision — RIL aims to offer up to 90 per cent of Indians high-speed mobile Internet as well as voice services by 2017. “Today India is ranked 115th of 230 countries in terms of mobile broadband access. Jio plans to take India to top 10 globally,” said Mukesh Ambani.

“Data is the Oxygen of Digital life and Oxygen cannot be in short supply. Jio is more than just a business for us. Our commitment is to enrich the life of every Indian,” he added.


At the same time, RIL also put forward its tariff plans for Jio wherein, it will charge customers for data only. Voice calls will be free to any network across the country with no roaming charges. Jio will offer data at fraction of its traditional cost, explained Ambani. To ensure every customer gets the best out of Jio, the company will offer a total of 10 tariff plans. Tariff plans start at as little as Rs 149 and will go all the way up to Rs 5,000.

Once it’s up and running, RIL expects usage of around 250 crore GBs per month on its network. It wants 100 million users connected via Jio network in record time. The company will charge consumers for 4G data only. Using Aadhar, a customer will be able to walk out of a store with a working Jio SIM card in 15 minutes. The service will be available initially in Delhi and Mumbai with an all-India roll out expected in 4-6 weeks.

But you get UNLIMITED 4G Data IN NIGHT

Jio Welcome Offer:
Until 31st December 2016, everything – calls, data, Wi-Fi, apps, will be offered for free!
(Starting from 5th September)(NO NEED TO GENERATE BARCODE)

Jio Student Plan:
Any student with a valid Jio ID card will get 25% more data on the same Jio plans that are available for normal subscribers.

In addition, Jio is working to give schools and colleges connectivity through its network Wi-Fi hotspots.

Applications – Apps like JioTV, JioMagazine, JioNews, JioPlay etc. A complete 1-year subscription worth Rs. 15000 is being given for free to Jio users. (till 31st December 2017)



Test driven development in Javascript

Howdy Friends,
Hope you guys are doing well. I always had question on how to test JavaScript and wanted to learn about it, after learning how to do JS test successfully I created this small example on how to test your JavaScript. Hope you guys like it.
In simple terms it is nothing but writing tests first corresponding to what you need; then writing code to satisfy that test.
Let’s understand how to do this.
A complete code of this tutorial is here.
Create a folder and name it with anything you want to.
Open up your terminal, create a new directory, navigate into that directory and give the below command.
npm init
Fill up the questions as desired and then open up the project in your editor.
Let’s write the tests first
We will be using the mocha, chai framework to write our tests.
Go ahead and install it using the below command.
npm install mocha chai –save-dev
(I would strongly recommend if you install this globally. To install globally run this command
npm install -g mocha chai –save-dev
Now create a file test.js in the same directory and add the below code.
var Name = require(‘./index.js’);
var expect = require(‘chai’).expect;

describe(‘Firsttest’, function(){
it(‘It should return my name’, function(){
var name = new Name();
var result = name.sayname();
expect(result).to.equal(‘Adesh Shah);

If you had written tests before then this would look familiar. It’s nothing but a simple test case which expects the result to be equal to Adesh Shah. As you could see Adesh Shah is the string returned by sayname prototype.
Now let’s go ahead and create a new index.js file in your project directory and add the below code.
function myname() {

myname.prototype.sayname = function() {
return ‘Adesh Shah’;
module.exports = myname;

This does nothing but return a string. As you could see there is a function myname with a prototype sayname which returns the string. This would pass the tests which we wrote above in our test.js file.

Now open up ur terminal, navigate to this project directory and simply enter the below command


Horayy!! You will see screen like this


Congratulations!!! It simply says that our test has passed successfully.
To create a more easier way to run tests open up package.json and in the scripts, test: add mocha.
Your package.json should look as shown below.
“name”: “LearnTest”,
“version”: “1.0.0”,
“description”: “learn testing”,
“main”: “index.js”,
“scripts”: {
“test”: “mocha”
“author”: “Adesh”,
“license”: “”,
“devDependencies”: {
“chai”: “^3.5.0”,
“mocha”: “^2.4.5”
Now just run this command this will would get the tests to run
npm test
Command line is done, but we have to try this in browser too right so let’s begin with testing in browser.
For that we were going to use zuul. Zuul is a program that is used to gate the source code repository of a project so that changes are only merged if they pass tests. The main component of Zuul is the scheduler.
– Google.
To install zuul simply run the below command.
npm install zuul –save-dev
Then create a new file called .zuul.yml in your project directory and add the below code.
ui: mocha-bdd
– name: chrome
version: latest
– name: firefox
version: latest
Now open up package.json and modify the test script as shown below.
“test”: “mocha && zuul –local 1991 –test.js”
So, now you package file will look like this.
“name”: “LearnTest”,
“version”: “1.0.0”,
“description”: “learn testing”,
“main”: “index.js”,
“scripts”: {
“test”: “mocha && zuul –local 1991 –test.js”
“author”: “Adesh”,
“license”: “”,
“devDependencies”: {
“chai”: “^3.5.0”,
“mocha”: “^2.4.5”
Save your files and now run this command in Terminal
npm test
You should screen as below


Copy the url and open it in browser :
You should screen like this on your browser

Whoooaa!! We did it. We have finished testing our application on the browser window as well.
Hope you guys liked it. Cheers!!

Author -Adesh shah

Error Handling with PHP

Error Handling with PHP

Hi Friends,
Hope you are all well. I have been always struggling with PHP session variables or any data when I am passing from one PHP page to other PHP page, so I found this method which is very useful to check if that value is passing or not when you enter in web application.
In simple terms it is nothing but writing logOutput function.
A big thanks to Professor Sebastian Lenczewski who taught me this testing concept.
Let’s understand how to do this.
A complete code can be found here.
To illustrate this methodology let’s consider a simple PHP form application which takes two input field.
Create a new folder and name it anything, I have name mine Error_Handling. Make sure you store it in right place as we are going to right server – side code that is PHP. There are different local server available depending on which OS you are using to name some MAMP, WAMP, LAMP, XAMPP.
Let’s start by creating two php file one with index.php and second with test.php. In the index.php we are going to write a simple Form code I have started my session at a top to store my all input field data in session. Go ahead and copy the below code in index.php .


Before we move to test.php file, let’s understand the main part of this blog which log.php file where I am creating one .txt document.
Create a new file in the PHP project directory and name it log.php and copy the below code.
” . $text . “\n”;
//$logFile = fopen(“serverLog.txt”, “w”) or die(“Unable to open file!”);
$logFile = fopen(“serverLog.txt”, “a”) or die(“Unable to open file!”);
fwrite($logFile, $logFormatedText);
Great, now if you see in the above code all I have done is created a function name logOutput which creates a new serverLog.txt file in the project whenever I call logOutput function in test.php.
Now that we have done this lets go ahead and move to test.php code. Copy this code in test.php file.

In the above code I have used require(log.php) . This will include the log.php in test.php file without wasting lines in test.php. Again it’s good method to use include or require.
If you had written if(isset) before then this would look familiar. It’s nothing but a simple test case which expects the result when i enter Name and Email when I execute index.php.
The main thing to look for here is my logOutput function. It’s pretty straight forward I am just displaying my session variables in text file.
Now we have our backend ready lets go ahead and run this program.


I have run my index.php file and entered Name and Email. After you click on Submit test.php file will run, but it will be blank file, so just go ahead check your folder there will be serverLog.txt file created which will show us the following result.

Boom! Here it goes it shows my Name and Email in serverLog.txt file.
So whenever you are using with passing data from one page to other page with PHP this log file will help you debug the error of passing the data.
Hope this helped you guys.
Thank you

Author- Adesh Shah

Quadcopter Racing

Hello Guys!!!
I have been into this hobby for a long time now,today am gonna write about the drone racing or to call it correct quadcopter racing and not drone racing as these copters arent capable to do what the drone can actually done these are just for fun and adrenaline boost ……… (big boys toys)
Well Quadcopter is a rotor that has 4 motors and 4 propellers there are many principles for the quadcopter to fly as we are to discuss about the racing copters there are some sizes and speeds….

we start with the frames…
#250mm/220mm/180mm/330mm these are the sizes of frames famous for racing well now what does this sizes mean actually….
this is the luminer 250 size quad frame so by the image itself we get to know its motor to motor diagonal distance as 250mm accordingly…

Motors & ESC(electronic speed controllers for brush-less motors )
well now we come to the motors and esc
any hobbyist generally decides these motors and esc from a huge brand and specs system it all depends on how experienced pilot you are and how knowledge full you are to tune your copter.
the general criteria for this size of copter is like 2000kv to 2500kv motors

Note : Always check the technical specs of all the electronics components we buy compare them with few other products…
Now what does that mean???

Kv is the motor velocity constant, measured in RPM per volt (not to be confused with kV, the abbreviation for kilovolt). The Kv rating of a brushless motor is the ratio of the motor’s unloaded RPM to the peak (not RMS) voltage on the wires connected to the coils (the back EMF).
(this is what goggle says 😛 ) well its simply the rotational speed of a motor that defines how many times a propeller will complete its full rotation in a unit time.
so now as we are choosing 2000-2500kv motors as per the specs and recommendation by any seller for prop size is 6045 or smaller props
most common are the 5045 props even here we have a lot of variations to choose from all depends on us as i said earlier experience and troubleshooting for more speeds.
motors usually come in a size diameter of 1804 and 2204 2204 can take much bigger props and more tough and gives much more thrust where as 1804 are decent good for beginners…
esc is a electronic speed controller are the controllers those control the speed variation that we give from our radio here the clock-speed and firmware of esc plays the important role
most common esc have simonk or blheli firmware which work the best and have a huge community support…
check the amperage draw of the motors while buying a esc

how do we choose esc??
well esc are to be taken as the values 10% more than what our motors draws per unit time suppose the motor you choose draws 15amps you can use 15amp rated esc but a 20amp rated esc is much beneficial while fast switching and aggressive flying as motors may over draw at times during crash or so….

now comes the main part flight controller
what is a flight controller (fc)?
naze 32

A flight controller (FC) is a small circuit board of varying complexity. Its function is to direct the RPM of each motor in response to input. A command from the pilot for the multi-rotor to move forward is fed into the flight controller, which determines how to manipulate the motors accordingly.
The majority of flight controllers also employ sensors to supplement their calculations. These range from simple gyroscopes for orientation to barometers for automatically holding altitudes. GPS can also be used for auto-pilot or fail-safe purposes. More on that shortly.

With a proper flight controller setup, a pilot’s control inputs should correspond exactly to the behavior of the craft. Flight controllers are configurable and programmable, allowing for adjustments based on varying multi-rotor configurations. Gains or PIDs are used to tune the controller, yielding snappy, locked-in response. Depending on your choice of flight controller, various software is available to write your own settings.

Many flight controllers allow for different flight modes, selectable using a transmitter switch. An example of a three-position setup might be a GPS lock mode, a self-leveling mode, and a manual mode. Different settings can be applied to each profile, achieving varying flight characteristics.

well the most famous and usually used flight controllers in copter racing are : Cc3d,Naze 32,Flip 32,Sp racing etc they range for about a price of 2000 and above………

Batteries / Lipos
well the lipos are the power unit to both the fpv and the main copter (Fpv-first person view the camera and video tx )

lipos for such setups are ranged frome 1300 mah to 1800 mah rated more than 25c well now to choose lipos you can used many online flight time calculators to calculate the time you would get
on certain lipo with a particular motor now the ‘c’ rating
C rating is the grading that a lipo is given on its capacity to output the power unit time well lets consider a 1000mah 20c lipo it is capable of giving our 20amps a unit time we calculate it as 1000mah = 1amps
so 1ampx20c= total amps per unit time so at once the 1000mah 20c lipo would give 20amps
what is this ‘c’ rating used for ??
so lets consider you choose a 1804 motors and its rated at 7amps at full throttle so we can choose a 12amp esc lets calculate the battery will support the setup or not
now as a motors consumes 7amps ,4 motors will consume 7×4=24amps so total 24amps will be consumed at full throttle by the setup so we need a lipo that can supply 24amps at once continuous
so we need a lipo whos mah x c is more than 25amps usually we dont fly at full throttle bt its good to be always at a higher time you would obviously get some more seconds to fly…

FPV ( First Person View)

First-person view (FPV), also known as remote-person view (RPV), or simply video piloting, is a method used to control a radio-controlled vehicle from the driver or pilot’s view point. Most commonly it is used to pilot a radio-controlled aircraft or other type of unmanned aerial vehicle (UAV). The vehicle is either driven or piloted remotely from a first-person perspective via an onboard camera, fed wirelessly to video fpv goggles[1][2] or a video monitor. More sophisticated setups include a pan-and-tilt gimbaled camera controlled by a gyroscope sensor in the pilot’s goggles and with dual onboard cameras, enabling a true stereoscopic view.(

Its simply a video transmitter with a camera on copter and a receiver on pilots end
there are basically 2 commonly used system one is 2.4ghz and one is 5.8ghz again the radio bandwidth shouldnt be same as the video transmissio frequency as they might interfere.
now comes the power and transmission range more the power longer the range and more directional it gets its like to earn something you have to loose something even if you are spending money on high end gadgets for fpv or range you are losing money eventually…………… back to racer copters fpv normally is rated at 200mw to 600mw and the bandwidth used is 5.8ghz…
most of the hobbyist use a 2.4ghz radio transmitter for control and to avoid interference or also to fly with our friends together we use 5.8ghz system which allows us frequency hopping and parallel use of our gadgets working on same frequency so as our friends….

Fpv can be done with a display lcd or can also be done with the most popular fpv goggles fat shark is a one of the leading company in fpv goggles and are the best as per me i have used all the fatshark series have owned them and now the best one in the market which is light weight and with advance features and larger field of vision dominator v3 well all this depends on our budget we want to get it done in….

Fpv flying needs a basic control over the copter and piloting skills.

My fatshark v3 with TBS rx awesome experience #fasthark #fpv #250racer #droneracing #tbs #teamblacksheep

A post shared by rohit (@rohit_k1501) on

ohh yes of-course you need a radio control based on 2.4ghz the best budget radio is flysky 9ch which can be Modded later on our choice for extra features..

always keep spares as we always crash often !!!

so now you have the basic knowledge of all the stuff you need abou the components in copter racing………….
Happy flying!!!

i have been experimenting different combos and power units….

If you wish to know more about the copters or want to make one contact me
check my instagram for more setups and stuff: rohit_k1501
Thank you
here are some pictures of my builds
the specs are as follows :
1) Zmr 250 cf frame
sunnysky 2204 2300kv
20amp dys opto esc
naze 32

My new racer #fpv #naze #zmr #frsky

A post shared by rohit (@rohit_k1501) on

2)Zmr 250 frame
Sunnysky 1804 2300kv
12amp simonk esc
naze 32

3)zmr 250 frame
dys 1804 2300kv
12amp simonk esc emax

A post shared by rohit (@rohit_k1501) on

250 racers ready for race 🙂 #multirotors #flitetest # fpvracing #naze32 # Fpv racing #zmr

A post shared by rohit (@rohit_k1501) on