Search This Blog

Pages

Monday, December 30, 2013

Best websites for electronic, mobile reviews, comparisons and price deals

Compare


Very detailed comparison can be done here: http://www.smartprix.com/mobiles/compare.php?ids=2335%2c3202%2c1101l70o9bl%2c11014p2rete. The highlight of this comparison is that it has a line about significance of each metric being compared and why having lower or upper value is good.

Review


Very detailed reviews can be found here: http://www.gsmarena.com/sony_xperia_m-review-973.php. Especially interesting is page 5 which has detailed performance reviews against its peers.

Search for best deal


Best deal can be found here: http://www.mysmartprice.com/mobile/sony-xperia-m-dual-msp2999?utm_medium=search&utm_source=Sony+Xperia+M+Dual. While this site is a deal aggregator, we can also observe trend. One observation is that things get cheap late evening on Friday every week (probably has something to do with weekly quotas...).

Buy! :)


Sunday, March 10, 2013

Sources of free audiobooks



This is a source of free audiobooks

English language:
Subscribe to newsletter from http://www.learnoutloud.com and they offer about one book for free per week.
http://librivox.org: community donated and copyright expired audio books

Marathi language:
http://boltipustake.blogspot.in/2011/01/blog-post.html : collection of community recorded audio books.

"राज्य मराठी विकास संस्था" :http://rmvs.maharashtra.gov.in/

Blog posts having more information:
http://www.digitaltrends.com/lifestyle/best-websites-for-free-audiobooks/

Wednesday, December 12, 2012

Quotables Quotes on Life

Faith is "Realizing" that you will always get what you need.

Drop things consciously that are low priority

Budget your time, time-box it.

Friday, November 23, 2012

Top 10 Gandhi Inspirational Quotes that Give You Power to Change the World

Are you inspired by Mahatma Gandhi? Gandhi quotes inspired millions of Indians to act in non-violent protest against British oppression. His own wisdom and philosophy can always inspire us. Here are the Gandhi’s Top 10 inspirational quotes that give you power to change the world.
1
First they ignore you. Then they laugh at you. Then they fight you. Then you win.
2
The weak can never forgive. Forgiveness is the attribute of the strong.
3
Happiness is when what you think, what you say, and what you do are in harmony.
4
A 'No' uttered from the deepest conviction is better than a 'Yes' merely uttered to please, or worse, to avoid trouble.
5
A coward is incapable of exhibiting love; it is the prerogative of the brave.
6
A man is but the product of his thoughts what he thinks, he becomes.
7
A nation's culture resides in the hearts and in the soul of its people.
8
Always aim at complete harmony of thought and word and deed. Always aim at purifying your thoughts and everything will be well.
9
An error does not become truth by reason of multiplied propagation, nor does truth become error because nobody sees it.
10
An ounce of practice is worth more than tons of preaching.

Friday, April 20, 2012

Great quotes on medicine

Cure rarely, comfort mostly, but console always - Hippocrates 


“One kind word can warm three winter months”—a Japanese saying


“Art” wrote, Henry David Thoreau, “is that which makes another man’s day”


“Know your patient better than his disease” was the opinion of the father of modern medicine, Hippocrates


“Patient care is caring for the patient!” This is the motto of Massachusetts General Hospital and was coined by Sir Francis Peabody


Platt had written in 1949 that “if one were to listen to the patient long enough, the patient would give away his/her diagnosis.”

The study showed that 80% of the accurate final diagnosis and 100% of the future management strategies could be arrived at, at the end of listening to the patient and reading the referral letter. This could only be refined 4% more by all the physical examinations and only 8% by all the investigations including the PET scanner! 


Courtesy: http://www.moneylife.in/article/bedside-medicine-a-forgotten-art/25067.html

Friday, February 24, 2012

Very good information on various regex special characters for java

http://www.leepoint.net/notes-java/data/strings/40regular_expressions/25sum-regex.html

Tuesday, January 31, 2012

Strange article in moneylife.in

I saw this strange article: http://www.moneylife.in/article/fidelitys-exit-a-slap-on-sebis-face/23340.html in moneylife today: I have always thought moneylife to be small investor's advocate. However this article seems to have confused me. I have given the comment given below to the article
===========================================================
Can moneylife explain why a lot of new AMC's are opening up MF businesses in India and only Fidelity is quitting it?

The article seems to show that moneylife has some grudge against SEBI (and unfortunately small investors)

I completely disagree with moneylife. I feel the statement "Investment advisors are neutral and usually give unbiased information" is about distributors. I do not agree to it. I have frankly never met an eager distributor who was unbiased. They used to keep on asking people to shuffle funds, always recommending selling of a fund bought sometime back and using the proceeds to purchased upcoming IPO's. Removing entry loads stopped misselling to a very large extent. In fact the AUM of good AMC's are increasing with regular investments from SIP (which are mostly long term).

The fact that on removal of entry load the distributors (IFA) moved to misselling of ULIP is ample proof of their intentions.

What proposal does moneylife have  to stop misselling of MF even in presence of entry load?

Friday, November 11, 2011

Best 11 questions Gallup scientists have found to ask customers anywhere in the world


Leaders have yet to learn that relationships trump price in almost all business circumstances, from hair salons to high-tech consulting. He who most deeply understands the customer's needs tends to win and always gets the highest margins. That's why talent and relationships can almost always beat low price -- they inspire customer engagement. To measure customer engagement, these are the best 11 questions Gallup scientists have found to ask customers anywhere in the world:
CE1. Taking into account all the products and services you receive from them, how satisfied are you with (Company) overall?
CE2. How likely are you to continue to do business with (Company)?
CE3. How likely are you to recommend (Company) to a friend or associate?
CE4. (Company) is a name I can always trust.
CE5. (Company) always delivers on what they promise.
CE6. (Company) always treats me fairly.
CE7. If a problem arises, I can always count on (Company) to reach a fair and satisfactory resolution.
CE8. I feel proud to be (a/an) (Company) customer.
CE9. (Company) always treats me with respect.
CE10. (Company) is the perfect company/product for people like me.
CE11. I can't imagine a world without (Company).

I think this is indeed a very good compilation!

Tuesday, November 1, 2011

Quotable Quotes on Money

Sep 29, 2012 - 5 minute wrapup
"Yearly figures, it should be noted, are neither to be ignored nor viewed as all-important. The pace of the earth's movement around the sun is not synchronized with the time required for either investment ideas or operating decisions to bear fruit." - Warren Buffett's 2010 letter to shareholders of Berkshire Hathaway

October 19, 2011 - 5 minute wrapup - 

"It takes character to sit there with all that cash and do nothing. I didn't get to where I am by going after mediocre opportunities." - Charles Munger 

20-Oct-2011 - 5 minute wrapup - 

"As I grow older, I pay less attention to what men say. I just watch what they do." - Andrew Carnegie 

29-Oct-2011 - 5 minute wrapup  - 

"Here's one truth that perhaps your typical investment counselor would disagree with: if you're comfortably rich and someone else is getting richer faster than you by, for example, investing in risky stocks, so what?! Someone will always be getting richer faster than you. This is not a tragedy." - Charlie Munger

29-Oct-2011 - Market Musings (M2) - 

"As I grow older, I pay less attention to what men say. I just watch what they do." - Andrew Carnegie

5-Nov-2011 - 5 minute wrapup - 

"If past history was all there was to the game, the richest people would be librarians." - Warren Buffett 

30-Apr-2011 5 minute wrapup - 
"Investing in stocks is an art, not a science, and people who've been trained to rigidly quantify everything have a big disadvantage. If stock picking could be quantified, you could rent time on the nearest Cray computer and make a fortune. But it doesn't work that way. All the math you need in the stock market you get in the fourth grade." - Peter Lynch

Tuesday, October 25, 2011

A simple counter/timer code in Java

It is a very common requirement to measure time taken by a particular method/function or block of code. The following simple timer can come handy:


long startTime = System.currentTimeMillis();
// Code block or method/function to time.
long endTime = System.currentTimeMillis();
System.out.println("Time taken: " + (endTime - startTime) + " milliseconds");

The accuracy of results can be improved by using System.nanoTime().

Monday, October 10, 2011

How to execute HTTP command in Linux on command line

curl is a command line utility to execute commands in protocols like HTTP, FTP, etc on Linux.

Example: curl -k --user admin@abc.xyz.com:password "https://abc.xyz.com:8080/api/data"

where:

-k : disable SSL (when server doesn't enforce SSL authentication)
--user: authentication credentials of format "username:password"


How to print time taken in milli seconds by a command on UNIX

Just replace "" in one line script below with your command and it will output the time taken by the command in milli seconds

You can also manipulate the dividing factor (1000000 in command below) to get output with varying degrees of precision

START=$(date +%s%N); ; END=$(date +%s%N); DIFF=$(( $END - $START )); echo "It took $(( $DIFF / 1000000)) milli seconds"

Monday, September 26, 2011

How to type in "Marathi" (devanagari) in Windows?

There are various ways of doing it and I have listed them below:
Option 1: Unicode (using transliteration software/websites)
You will have to type in Unicode format (more details if interested: http://en.wikipedia.org/wiki/Unicode).  Unicode being an international standard makes it usable without requiring to install any fonts. All browsers support Unicode, which may at most need to be enabled. Currently Gmail offers typing and reading mails in Marathi this way. Other way is to use Google transliteration that is available here: http://www.google.com/transliterate/indic/MARATHI. The only disadvantage of this is that you need an active internet connection.


Option 2: IME (Input method editor)
Google also gives an interesting tool called Google IMEI (http://www.google.com/ime/transliteration/) which allows you to type Marathi characters represented in Unicode in any application on Windows (notepad, directory names, file names, practically anything...).  How to install and use Google IMEI is given here: http://www.youtube.com/watch?v=XRy3_Gmt5ak&feature=mh_lolz&list=FL_5qtqa6_rBw. Installation of it requires interenet connection. However, the biggest advantage is that once installed it can be used without active internet connection. If you want to install on a PC that does not have internet connection, please check this link: http://shashigokhale.blogspot.com/2011/09/how-to-install-google-ime-without.html

Option 3: Font files
You will have to install the specific font on the computer. This basically means copying the font file (typically of extension of ttf or fon) into C:\Windows\Fonts.
 
My choice: Option 2!

Saturday, September 24, 2011

How to install Google IME without internet connection

This is a very common problem faced by Google IME users in India (where internet penetration is still growing). I found these links, where people have find various ways of getting the offline installer to solve the problem. The links are given below:

http://hi.fi.vc/2010/07/google-transliteration-ime-offline.html
http://www.trishtech.com/internet/google_transliteration_ime_offline_installer.php

So, go ahead and enjoy typing in your mother tongue.

Friday, March 25, 2011

10 calcuations for calculating worth of investments

Very good information about such 10 formulae is available at: http://specials.rediff.com/money/2008/jul/22slde01.htm

SIP returns calculator: http://www.indiainfoline.com/personalfinance/calculators/mutualfunds/systematic-investment-plan-returns

Numerous calculators: http://www.indiainfoline.com/personalfinance/calculators/

Sunday, March 13, 2011

XML parsing

Below is a list of very helpful links that I found related to XML parsing.

How to convert Document to String (source:  http://www.theserverside.com/discussions/thread.tss?thread_id=26060)

import java.io.*;
import javax.xml.transform.*;
import javax.xml.transform.dom.*;
import javax.xml.transform.stream.*;

//method to convert Document to String
public String getStringFromDocument(Document doc)
{
    try
    {
       DOMSource domSource = new DOMSource(doc);
       StringWriter writer = new StringWriter();
       StreamResult result = new StreamResult(writer);
       TransformerFactory tf = TransformerFactory.newInstance();
       Transformer transformer = tf.newTransformer();
       transformer.transform(domSource, result);
       return writer.toString();
    }
    catch(TransformerException ex)
    {
       ex.printStackTrace();
       return null;
    }
}

How To Pretty Print Xml With Java   (source: http://www.coderanch.com/how-to/java/HowToPrettyPrintXmlWithJava)

Examples of XML Transformer OutputKeys (source: http://www.javadocexamples.com/javax/xml/transform/javax.xml.transform.OutputKeys.html#STANDALONE)

Thursday, February 24, 2011

How to change hostname in Linux

  1. Edit file /etc/sysconfig/network using your favourite editor. For vi enter vi /etc/sysconfig/network
  2. Look for HOSTNAME=xxxxxx
  3. Change the xxxx to the name you wish to set for your computer. (ex: HOSTNAME=hula.com)
  4. Save the file and restart the xinetd service. (ex: type service xinetd restart in your shell)
Reference: http://www.techiecorner.com/99/how-to-change-hostname-in-linux/

Wednesday, January 12, 2011

Mumbai suburban local train time table

is available here: http://www.go4mumbai.com/

Fixing Master Boot Record (MBR) in Windows XP without the recovery console (equivalent of fdisk /mbr on XP)

The solution to this problem is given here: http://eivind.dataweb.no/?p=13. In essence the solution is to use a utility named MBRFix available here: http://www.sysint.no/products/Download/tabid/536/language/nb-NO/Default.aspx

Howto for CPPUNIT

Good information about using CPPUNIT is available at:

http://blog.csdn.net/snowphy/archive/2004/10/22/146766.aspx
http://www.uow.edu.au/~nabg/222/Lectures/P3UnittestingforC++.pdf

An important point is to using macros with which you can specify custom message for describing the error. In the following example, use the second macro instead of the first and so on:
  • CPPUNIT_ASSERT(condition)
    Assertions that a condition is true.
  • CPPUNIT_ASSERT_MESSAGE(message, condition)
    Assertion with a user specified message.

I deleted Linux partition and now Windows XP does not boots

I am just getting a grub prompt. Tried to use Windows setup disk, but it went forward and gave blue screen. The following steps found at: http://www.linuxquestions.org/questions/linux-software-2/booting-windows-from-the-grub-prompt-275446 fixed the problem.

root (hd0,0)
makeactive
chainloader --force +1
boot

Tuesday, November 23, 2010

Solution to how to write/print String to file in Java

http://www.daniweb.com/forums/thread94567.html

### characters in a cell in Excel

I have been seeing the problem when ### characters are shown in a cell in Excel since a long time. I found a solution to this problem here:

http://blog.contextures.com/archives/2009/03/31/show-more-characters-in-an-excel-cell/

Saturday, November 13, 2010

wikipedia

I donated to wikipedia foundation today. The message I put on their message board for the question: what does wikipedia means to you was the following:


Dear wikipedia (Jimmy Wales),

I have tremendous curiosity for things happening around the world. I know that I can get information about all these things on wikipedia for sure. Hence, I visit your site everyday without fail.

My father laid down the tradition of buying books that help build personality of children. He bought "World Book Encyclopedia" for me and my sister back in 1986 when we were 6 and 3 years respectively for about INR. 10,000 when we purchased our house costing about INR. 1,25,000 i.e. about 8% of cost of residence. This set an excellent example of importance of knowledge in human life.

I have a three year old son. I plan to expose him to wikipedia as soon as he learns to read. I am confident that he will be a learned and sophisticated person if he starts gaining knowledge available in wikipedia from his early childhood. wikipedia is far more than any printed encyclopedia available in market. The strength of wikipedia is its liveliness. It is just hours before information of any event is available. And the cream on the cake is that it is FREE! I had never imagined in my life that such a plethora of knowledge could be available for the whole mankind for free.

Jimmy, you have the blessings of the mankind. God bless you!

Thanks a ton.

Yours,
Shashibhushan Gokhale

PS: I request you to please forward this mail to Mr. Jimmy Wales. I very heartily want to convey my thanks to him.

I am posting their information below:
Support Wikipedia

Friday, May 14, 2010

Friday, April 16, 2010

Using Rational Purify to memory profile Java code

Following environment variable must be set to use Rational Purify for memory profiling of Java code

set _JAVA_OPTIONS=-XrunPureJVMPI:Purify -Xbootclasspath/a:c:\PROGRA~1\rational\PURIFY~1\Rational.jar;D:\workspace\stdlib\activation.jar;D:\workspace\stdlib\axis-ant.jar;

The above command should contain all dependency jars for the Java code separated by semi colon.

Tuesday, April 13, 2010

A welcome customer friendly step by SEBI: SEBI bans ULIP


This is a very very positive step taken by SEBI with common investor's interest in mind. I would like to thank SEBI for the initiative.

I would also like to register my protest against IRDA for taking the side of insurance companies promoting ULIP which is completely against customer interest.

Very good articles have been posted on this on valueresearchonline.com. They are:


(Alert Investors Already Know the Truth About ULIPs) http://new.valueresearchonline.com/story/h2_storyview.asp?str=101348

I have posted comment on a one-sided article published by Sakal on the issue: http://www.esakal.com/eSakal/20100411/5641531933567981687.htm

I have also communicated by concerns to editor of Sakal since I could not post my message in "vachakancha patravyawhar" due to technical snag in website of Sakal.

Thursday, April 8, 2010

How to configure Alias and Directory on Apache web server

Add Alias tag in conf/httpd.conf as given below:

    Alias /webpath /full/filesystem/path
    Alias /repo "Repository"

and then add directory tag for the above alias as given below:


    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all




    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all

 

Friday, April 2, 2010

Understanding the MF Hussain controversy : Explained by Sri Sri Ravishankar in 3 minutes

Understanding the MF Hussain controversy : Explained by Sri Sri Ravishankar in 3 minutes on youtube:

http://bit.ly/b8ea9C

Thursday, April 1, 2010

How to disable startup of netmeeting at startup

The solution is:

Go to control panel --> Administrative tools> Services> scroll down to Netmeeting remote desktop sharing

Stop the service, go to properties for that service --> another window pops up, use the startup type pulldown window to change it from automatic to manual or disable. Ok, OK.

Might have to reboot.

Tuesday, March 30, 2010

Rentals in Mumbai

I was shocked to read about the rentals in Mumbai. I am simply numb!!!

The news is located athttp://www.99acres.com/do/Company/propertyheadline?lstAcn=&lstAcnId=&src=PROPRES#144412. Search for "Rentals In Mumbai Rise 30 Pc In A Year" on the webpage. I have quoted the paragraph below for reference:


"Rentals In Mumbai Rise 30 Pc In A Year
With real estate prices reaching the sky, even rentals across Mumbai have been looking skywards, causing heavy strain on those looking for homes. In the last one-year, rentals have increased in the range of 10-30 per cent in Mumbai, directly affecting almost one fourth of city's population that lives in rented houses, mostly in the suburbs. The reason for this hike is large-scale demand along with a huge shortage of rental homes. Presently, the rent of a one-bedroom hall (1BHK) flat measuring 550 square feet at Powai is being quoted in the range of Rs 20,000 and Rs 25,000 for a month. A year back, rent for the same apartment was Rs 16,000-20,000 a month. In the same way, monthly rent for a 1BHK flat at Malad is now Rs 18,000, while the same flat was being rented at Rs 15,000 last year. In the Bandra-Santacruz belt, rents being collected are in the range of Rs 30,000 and Rs 45,000 for a 1 BHK, which was previously between Rs 25,000 and Rs 35,000. Mr Ram Prasad Padhi, CEO, Mumbai Propertys, a leading real estate brokerage firm, said that rents correspond inversely to the limited supply. "Many buyers deferred their decision to buy due to the rising property prices. But their number is very large while the houses are limited which led to the hike," said Mr Padhi. 24 March 2010 Hindustan Times"

Friday, March 19, 2010

Can Promises of Highest NAV Guarantee Deliver?


Can Promises of Highest NAV Guarantee Deliver?

Insurance companies have launched a spate of funds promising investors a guarantee of the highest NAV achieved. Can these schemes deliver what they are promising?
Over the last few months, one after another, a number of insurance companies have launched ULIPs which promise to repay the investor on the basis of the highest NAV that the fund has achieved. The pitch is that these funds' NAV effectively does not drop. Once a level is achieved, then the investor is assured of getting at least as much, no matter what happens to the market. It's certainly a very attractive idea. From the way insurance companies are stampeding into launching such products, I'm sure investors must be putting down their money in good numbers-in just a couple of months, six insurance companies have launched such products. Any investor who is told of this concept will immediately start salivating at the thought. Imagine how rich you could have been had you been invested over the last ten years and had been able to lock your investments at the magical value that the markets achieved on the day when the Sensex touched 20,873! more...

Disclaimer: The above article has been referenced from website of www.valueresearchonline.com

Sunday, March 14, 2010

Capital Protection (Guarantee) oriented funds - Maximum Gain with Minimum Risk

This article at link below discusses about this fund type, how do they ensure protection and how an individual investor could create their own equivalent of the about fund.

http://new.valueresearchonline.com/story/h2_storyView.asp?str=101298

Tuesday, March 2, 2010

Great tool for sending large attachments and also not blocked by many corporate firewalls

This is a great service for sending large attachments. Many file sharing sites like megaupload, rapidshare are blocked by corporate internet firewalls. This site allows you to upload files without any problem.

http://www.uploadmirrors.com

Wednesday, February 24, 2010

Simple timer class in C++

Copied from http://www.dreamincode.net/code/snippet344.htm

/*
  Simple timer class
  ==================
  History:

  Created - Sarah "Voodoo Doll" White (2006/01/26)
  ==================
  Description:

  A quick and easy timer class to save people
  from using ad hoc timers. The constructor
  begins the timer and the end() member function
  stops it, as well as returns the result.
  Before starting the timer again with begin(),
  users can see the last result with last()...

  So unintuitive. ;)
  ==================
  Bugs:

  The timing method used is neither strictly
  portable, though it only uses standard
  functions, nor is it guaranteed to support
  timing resolution less than a second.
*/
#include

class Timer {
public:
  typedef double diff_type;

  // Same as Timer t; t.begin();
  Timer(): start(std::clock()), elapsed(0) {}
  // Last result before a call to begin()
  diff_type last() const { return elapsed; }
  // Reset the timer
  void begin() { start = std::clock(); elapsed = 0; }
  // Save the result
  diff_type end();
private:
  std::clock_t start;
  diff_type    elapsed;
};

Timer::diff_type Timer::end()
{
  elapsed = (diff_type)std::clock() - start;
  elapsed /= CLOCKS_PER_SEC;
  return elapsed;
}

Piping Commands - Find, Grep, Sed

I wanted to perform sed on output of grep. Found that the webpage: http://www.liamdelahunty.com/tips/piping_commands_find_grep_sed.php matches my requirement.

The following command worked:
$ grep SHASHI rscd.log  | sed 's/.*SHASHI/SHASHI/g'

Time to invest in floating rate funds

Now that inflation has risen to record levels, RBI is sure to take measures to curb it by reducing availability of money in the market. That will be done by hiking various mandatory ratios. This leads to hike in interest rates (benchmark prime lending rates) of banks.

Floating rate debt funds are the funds to purchase in this rising interest rate regime to earn maximum returns. More about floating rate funds can be read at:

http://www.financialexpress.com/printer/news/113055/ 
http://www.fourstocks.com/blog/200912/analyzing_floating_rate_funds/426 
http://valueinvestorindia.blogspot.com/2009/12/analysing-floating-rate-funds.html

Higher returns can be expected from Long term floating rate funds over short term. A snapshot of list of long term floating rate funds is available at:
http://new.valueresearchonline.com/funds/h2_typecomp.asp?type=1&objective=34

An important point to keep in mind is that floating rate funds are good only when you are ready to invest for at least more than 1 year. Otherwise the exit loads on these funds are very big. Examples:


Fund                                                                               Exit load
====                                                                             =======
BSL Floating Rate LT Ret-G                           2% for redemption within 365 days
HDFC Floating Rate Income LT-G                  3% for redemption within 540 days
ICICI Pru LT Floating Rate A-G                      4% for redemption within 390 days



Information about all fund categories in debt is available at:
http://wealth.moneycontrol.com/printpage.php?id=13992

Update: Sunday 14th March 2010
========================
My thoughts proved to be correct as seen from the article at link below which discusses the returns of all debt fund categories in the month of February 2010. The essence is that floating rate long term funds was the best performing category of the month.

http://new.valueresearchonline.com/story/h2_storyView.asp?str=101297

Tuesday, February 23, 2010