Showing posts with label Interesting Articles. Show all posts
Showing posts with label Interesting Articles. Show all posts

Thursday, December 28, 2017

Best performing mutual funds for year 2017.

Best performing mutual funds for year 2017.

26th December 2017 is the last trading week of 2017. If we look at the returns given in last 1 years by the mutual fund here are the toppers of 2017 in their respective categories:

1) Large Cap Funds:


2) Small Cap and Mid Cap Funds :




3) Diversified Equity :



4) Equity Linked Saving Scheme :



5) Balanced Funds :





































Note that past one year performance is not the best gauge for analyzing the performance of these funds.
Source : moneycontrol.com

Saturday, December 2, 2017

Why STP is better than SIP?

I am writing this article to explain to you why STP which stands for "systematic transfer plan" is better than SIP (systematic investment plan) for equity mutual fund investment when you have a lumpsum amount in your bank account.

Suppose you have 1 lakh rupees in your account and you want to invest it in equity.
We have understand that investment in equity is subject to market risk and it is having high volatility but at the same time history has proven equity as the best form of investment option for human kind.

Understanding everything we know how SIP can save us from market fluctuation and it is the best means for a layman to invest in equity but what should you do if you have lots of funds in you account from a bonus or sale of property? Should you keep that amount in bank and slowly invest through SIP?

The answer is NO. Bank these days are giving only 3.5% return keeping huge amount in savings banks account will not be the wisest investment approach. Put the lumpsum amount in liquid fund.
These are the funds which invests in government securities with very short expires as a result they never go down and gives a approximate return of ~6%. Then start one or multiple STPs from liquid fund to equity fund.  Simple!!

List of liquid funds to invest : http://www.moneycontrol.com/mutual-funds/performance-tracker/returns/liquid.html




Tez app by Google

I recently used Tez app by google for UPI. UPI is Unified Payments Interface (UPI) it is a system that powers multiple bank accounts into a single mobile application. 

There are mayUPI app currently on play store :

1) BHIM : https://play.google.com/store/apps/details?id=in.org.npci.upiapp
2) Paytm : https://play.google.com/store/apps/details?id=net.one97.paytm (Paytm integrated bhim to its app)
3) All the bank upi apps.
4) TEZ : UPI app by google https://g.co/tez/Sk34J

Good thing about TEZ is that they are offering huge cashbacks. So install the app using the above link and get Rs 51. Plus after every tranfer (> 500 Rs) you get a scratch card which can give you any amount between 0 to 100000.

So install the app and enjoy the cashbacks.
 

Friday, February 10, 2017

Measuring earth gravity using android phone source code

Following is the complete source code for earth gravity measurement app :
activity_main.xml :

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"    
android:layout_width="match_parent"    
android:layout_height="match_parent"    
android:paddingBottom="@dimen/activity_vertical_margin"    
android:paddingLeft="@dimen/activity_horizontal_margin"    
android:paddingRight="@dimen/activity_horizontal_margin"    
android:paddingTop="@dimen/activity_vertical_margin"    
tools:context="com.example.naveenj.sensor.MainActivity">
<TextView        
android:layout_width="wrap_content"        
android:layout_height="wrap_content"        
android:textAppearance="?android:attr/textAppearanceLarge"        
android:text="Large Text"        
android:id="@+id/textView"        
android:layout_marginLeft="75dp"        
android:layout_marginStart="75dp"        
android:layout_marginTop="131dp" />
</RelativeLayout>


This just contains a TextView where we printout the sensor output.

MainActivity.Java :


package com.example.naveenj.sensor;

import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity implements SensorEventListener{

    Sensor acc;
    SensorManager sm;
    TextView t;
    @Override    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        sm = (SensorManager)getSystemService(SENSOR_SERVICE);
        acc = sm.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
        sm.registerListener(this, acc, SensorManager.SENSOR_DELAY_NORMAL);
        t = (TextView)findViewById(R.id.textView);
    }

    @Override    public void onSensorChanged(SensorEvent event) {
        t.setText("X: "+event.values[0]+"Y" + event.values[1]+"z"+
                     event.values[2]+event.toString());
    }

    @Override    public void onAccuracyChanged(Sensor sensor, int accuracy) {

    }
}

MainActivity class implements the interface SensorEventListener. 
This interface has 2 function : 
 1) onSensorChanged
 2) onAccuracyChanged

we then register our main activity class to receive events from sensor 
using SensorManager.

when placed idle phone's z-axis will show earth's gravity.
  

Saturday, February 4, 2017

Using 4G Jio sim on 3G phones

A lot of articles are there on internet which serves as a tutorial to allow 4g Jio sim to be used with 3G handsets.

After doing some research and spending mu half day over it, I can confidently say that it is not possible to use Jio sim with 3G only phone.

I tried all the techniques on my moto E and samsung galaxy S4 but no help.

Finally I read an articled which explains that you need special hardware support to run 4G.

No software can be used as a replacement.

Tuesday, January 31, 2017

Runtime complexity of STL LIST

Runtime complexity of STL LIST

Constructors

list<T> l; Make an empty list. O(1)
list<T> l(begin, end); Make a list and copy the values from begin to end. O(n)

Accessors

l.size(); Return current number of elements. O(1)
l.empty(); Return true if list is empty. O(1)
l.begin(); Return bidirectional iterator to start. O(1)
l.end(); Return bidirectional iterator to end. O(1)
l.front(); Return the first element. O(1)
l.back(); Return the last element. O(1)

Modifiers

l.push_front(value); Add value to front. O(1)
l.push_back(value); Add value to end. O(1)
l.insert(iterator, value); Insert value after position indexed by iterator. O(1)
l.pop_front(); Remove value from front. O(1)
l.pop_back(); Remove value from end. O(1)
l.erase(iterator); Erase value indexed by iterator. O(1)
l.erase(begin, end); Erase the elements from begin to end. O(1)
l.remove(value); Remove all occurrences of value. O(n)
l.remove_if(test); Remove all element that satisfy test. O(n)
l.reverse(); Reverse the list. O(n)
l.sort(); Sort the list. O(n log n)
l.sort(comparison); Sort with comparison function. O(n logn)
l.merge(l2); Merge sorted lists. O(n)

List of all the websites a programmer or a codes or a techie must visit in his lifetime.


Blogs
Coding Style Guides
General Advice and Tips
Github
Interview Preparation
News
Online Courses
Programming Contests
Programming Practice
Reddit
Resources
Tutorials
Social Interaction
Wikipedia

Wednesday, January 25, 2017

Interesting android codes

Dial these codes from android phone to see the results.

Following are the secret codes for you. Please read the subsequent result before trying them out, since a few codes are meant to wipe your entire system, pressing which you can lose your valuable data.
*#*#4636#*#* Display information about Phone, Battery and Usage statistics
*#*#7780#*#* Resetting your phone to factory state-Only deletes application data and applications
*2767*3855# It's a complete wiping of your mobile also it reinstalls the phones firmware
*#*#34971539#*#* Shows completes information about the camera
*#*#7594#*#* Changing the power button behavior-Enables direct poweroff once the code enabled
*#*#273283*255*663282*#*#* For a quick backup to all your media files
*#*#197328640#*#* Enabling test mode for service activity*#*#232339#*#* OR *#*#526#*#* Wireless Lan Tests
 *#*#232338#*#* Displays Wi-Fi Mac-address
*#*#1472365#*#* For a quick GPS test
*#*#1575#*#* A Different type GPS test
*#*#0283#*#* Packet Loopback test
*#*#0*#*#* LCD display test
*#*#0673#*#* OR *#*#0289#*#* Audio test
*#*#0842#*#* Vibration and Backlight test
*#*#2663#*#* Displays touch-screen version
*#*#2664#*#* Touch-Screen test
*#*#0588#*#* Proximity sensor test
*#*#3264#*#* Ram version
*#*#232331#*#* Bluetooth test
*#*#232337#*#* Displays bluetooth device address
*#*#8255#*#* For Google Talk service monitoring
*#*#4986*2650468#*#* PDA, Phone, Hardware, RF Call Date firmware info
*#*#1234#*#* PDA and Phone firmware info
*#*#1111#*#* FTA Software version
*#*#2222#*#* FTA Hardware version
*#*#44336#*#* Displays Build time and change list number
*#06#Displsys IMEI number
*#*#8351#*#* Enables voice dialing logging mode
*#*#8350#*#*Disables voice dialing logging mode

Saturday, June 1, 2013

Cheated by Naukri.com

My experience with Naukri.com  :

After 6 months in my first job I learned some new skills and I thought I should update them on linkedin or Naukri.com, not because I was looking to change my job just because I fuc***g acquired some new skills.

After a few days of my update my manager calls me to his office and asks me why do I want to change job? I was shocked at first I did not understand why he was saying that. I just assured him that I was very much satisfied with my job and have no reason to look for another,which was 100% truth at that point of time .

Thinking about the incident later it became very clear that the only reason for him to think that I am looking for a change is my naukri profile.

Later when I talked with some of my senior colleagues things became crystal clear. HR of my company takes employee attrition very seriously and they have premium consultant accounts at all major job search websites and continuously monitor employee activities. 

This can happen to you too, so do not post anything on these fu****g sites unless you are very sure of leaving the company.

Anyways these site are pretty much useless and only shows useless job openings.

Tuesday, May 14, 2013

Six Interesting Facebook Tricks That You Might Not Know

Almost everyone of us have now been using Facebook since years, but there are a lot of things that we still are unaware of. Here are 6 interesting tricks that you might not know about Facebook. 

1.Trick to update blank status:

Simply enter @[3:3: ] in your status update box. To update your blank status as a long statement, paste the code one below another as showed below:
@[3:3: ]
@[3:3: ]
@[3:3: ]

2. Download Full Facebook Album in a single click:

Now you can download a full Facebook album in a single click. Just visit this app called Facebook2zip. Facebook2zip.com

3. Go offline for a particular person:

Instead of going offline for all of your friends, now you can go OFFLINE for a particular person. Just open that person's chat pane and click on the settings button. You'll find a button saying 'Turn off chat for xyz', just click and you are done.

4. Facebook status update from Desired Device (via iPhone without an iPhone):

Login to your Facebook account and update your status, just visit and search for your desired device on top right corner of the page: http://statusvia.org/apps/Facebook/

5. Update Facebook status with symbols:

Facebook status symbols do not have to use the inbuilt facility. But we're cool with the status message through the use of symbols is a Facebook trick. Just visit: http://fsymbols.com/all/
Then double click copy and paste the desired symbol in your status.

6. Post Facebook update in blue

Paste the below mentioned code in your status update box and write your text in place of 'your text':
@@[1:[0:1: your text]]  


Source -  http://www.efytimes.com/e1/fullnews.asp?edid=106004&ntype=mor&edate=5/14/2013