Search This Blog

Thursday, July 28, 2016

created the sql user but able to login without password.


answer the following yes and next time you login with sql user, it won't allow empty password.

Reload privilege tables now? [Y/n] Y
 ... Success!

Wednesday, July 20, 2016

Solved : Qt Creator Welcome Mode not work in VM

As mentioned here, the solution is to do the following:
  1. In Qt Creator, go to Help -> About Plugins...
  2. Uncheck Qt Creator --> Welcome
  3. Restart Qt Creator
Worked for me.

Friday, July 15, 2016

Solved : symbols: DSO missing from command line

I was compiling program with boost library and got this. ( i was using boost_thread only)


Add boost_system to the linker and you shall be fine.

Solved : Failed to deploy OVF package: The task was canceled by a user

  1. deleted the .mf
  2. open the *.OVF file and change following from



Now retry the deployment of OVF.

- Mihir

Tuesday, May 31, 2016

log4cxx: No appender could be found for logger

Put a log4cxx configuration file named under the same directory as your executable.

Tuesday, May 10, 2016

solved : Failed to create OpenGL context for format QSurfaceFormat


  1. In Qt Creator, go to "Help" -> "About Plugins..."
  2. Uncheck "Qt Creator" -> "Welcome"
  3. Restart Qt Creator

Wednesday, April 27, 2016

Maildrop: avoid Spam emails

mail, maildrop, e-mail, spam, disposable email address, free email address
Get free, disposable email address 
When you visit a website and it insists that you enter your email address first, before proceeding, what is your reaction? For a large number of people, there is a feeling of unease and distrust and they may just move away. Email, a very effective way of communication, is today plagued by spams and unwanted mails which waste a lot of your time. Hence, we are scared to give our email ID to an unknown site.
At such times, just head to It helps you with a free, disposable email address. There are no sign-ins, no passwords to remember, no security and no privacy. It just gives you a valid email address which you can enter without fear of spam. Use that address on any site and visit to receive replies. If you get too much spam there, create another maildrop address and move on!
The next time a web form or app asks you to ‘please enter your e-mail address’, you’ll be ready. No problem, it’s “” When that site sells your e-mail address, you can shrug, move on to another disposable MailDrop address, and your real e-mail won’t get filled with junk mail. Just try it!


Android mobile (enable encryption)

Also, almost every Android-based handset has an encryption feature, but not many know or use it.

How to Enable Encryption in Android

Before you get started, there are a few things worth noting:
  • Encrypting the device can take an hour or longer.
  • Your device’s battery must be at least 80% charged. Android won’t even start the process otherwise.
  • Your device must be plugged in throughout the entire process.
  • Again, if you’re rooted, be sure to unroot your phone before continuing!
Basically, make sure you’ve got plenty of time and battery before you start the process. If you interfere with the process or end it before it’s finished, you will likely lose all your data. Once the process is started, it’s best to just leave the device alone and let it do its thing.
With all the caveats out of the way, you’re ready to encrypt your device.
Start by heading into the Settings menu and tapping on “Security,” again keeping in mind that the wording may be slightly different. If your device is already encrypted, it will show up here. Some devices will also allow SD card contents to be encrypted, but by default Android just encrypts on-board storage.
If the device isn’t encrypted, you can start the process by tapping the “Encrypt phone” option.
The next screen will present a warning to let you know what to expect once the process is finished, most of which we’ve already talked about in this article. If you’re ready to proceed, hit the “Encrypt phone” button.
One more warning will present itself (seriously, they want to make sure you know what’s happening here), which tells you not to interrupt the process. If you’re still not scared away, one more tap of the “Encrypt phone” button will do the trick.
The phone will then reboot and start the encryption process. A progress bar and estimated time till completion will show up, which should at least provide an idea of how long you’ll be without your beloved handset. Just wait, it’ll all be okay soon. You can do this. You’re strong.
Once it’s finished, the phone will reboot and you’re back in business. If you set up a lock screen password, PIN, or pattern, you’ll have to put it in now so the device will finish the boot process.
If you haven’t set up a PIN or password, now is a good time to do so. Head into your device’s Settings > Security menu. From there, select the “Screen Lock” option (keep in mind that the wording may be slightly different for non-stock Android handsets, like Samsung Galaxy devices).
Choose Pattern, PIN, or Password to set your security.
You’ll be asked if you want to require the PIN, password, or pattern at startup. This is up to you, but we recommend choosing yes, since this increases the security of your device.
Note that even with a fingerprint reader, you can’t use a fingerprint to unlock a device on first boot—you’ll have to put in the password, PIN, or pattern. After the device has been decrypted with the correct security unlocking method, the fingerprint reader can be used to unlock the screen moving forward.
From now on, your device will be encrypted, but if you ever want to disable it, you can do so by performing a factory reset. If you have a newer device that has encryption enabled out of the box, there’s no way to remove said encryption—not even with a factory reset.

Thursday, March 3, 2016

ASX Caltex Share Buy back $270 million. Shall you tender your shares ?

The way the buy back is going to happen for Caltex [As show in the image bellow from ref]. It does not make sense for retail investor.

Caltex is going to take the volume weighted average price of 5 days[4th to 8th April] on asx. Then that will be kept as the base buy back price, and they expect the investor to give them shares at a discount !! Rubbish..

Caltex is providing institutional invest to exit, for small investor it’s no brainer. ( you can sell your share in market at $36 and company want to buy back from you at 30, what ! why would you not go to market and sell)

There is usually premium, if company want to do buy back, which is good as you get premium to market price. 

Except big guys who can’t exit ( if one have 10 million share, and if he try selling, the stock price would crash), thus this is good opportunity for them.. that's it.