Archive for 2014

Google now provides currency conversion for Bitcoin

Google now supports bitcoin currency conversion. You can now simply go to Google and write “1 bitcoin in usd” or “1 btc in usd” and Google will display current exchange rate for Bitcoin.


In fact, it will give you Bitcoin rates for any currency that it is supporting in normal currency conversion.

Oh and you can do USD to BTC too Smile with tongue out


I tried to find out which exchange rate or symbol it is following to get current exchange rate but their disclaimer does not disclose from where they are sourcing bitcoin rates as of now.

When we try to compare the current rate showing in Google with other exchanges it looks like it is more closer to Bitstamp. But it can be just coincidence for the time being and I am sure it is taking in account more than one sources based on their volume.

In case some one wants Let me Google that for you link :



Bitcoin and India, the new needs love.


It was very late night and I was still watching movie on my TV. It was my favorite movie, “Ratatouille”. While watching that movie I heard something which made me realize what Bitcoin needs in India, or for that matter everywhere.

Bitcoin is very new, innovative and complex concept that challenges lot of perception. If you will try to understand it with your prefabricated assumptions of currency or value or laws, I am sure you will have tough time to understand it. It is human behavior that we try to resist changes and if we see Bitcoin as change or replacement to existing currency or monetary system we will not be able to digest or accept what new it is offering.

In my opinion Bitcoin is fresh new start with clean slate in value transfer and distributed consensus system. It is so unique in its underlying concept where you do not need trusted third party to transfer value because the whole network acts as third party. In simple terms you do not need a centralized mediator like bank to send money as network itself works for you as intermediary.

Allow me to quote some awesome lines panned in the movie Ratatouille when a critique named Anton Ego writes about a rat cooking Raratoulie for him.

Anton Ego : In many ways, the work of a critic is easy. We risk very little, yet enjoy a position over those who offer up their work and their selves to our judgment. We thrive on negative criticism, which is fun to write and to read. But the bitter truth we critics must face, is that in the grand scheme of things, the average piece of junk is probably more meaningful than our criticism designating it so. But there are times when a critic truly risks something, and that is in the discovery and defense of the *new*. The world is often unkind to new talent, new creations. The new needs friends. Last night, I experienced something new: an extraordinary meal from a singularly unexpected source. To say that both the meal and its maker have challenged my preconceptions about fine cooking is a gross understatement. They have rocked me to my core. In the past, I have made no secret of my disdain for Chef Gusteau’s famous motto, “Anyone can cook.” But I realize, only now do I truly understand what he meant. Not everyone can become a great artist; but a great artist *can* come from *anywhere*.

Bitcoin is the rat offering most delicious ratatouille ( banking, payments and remittances industry ). All it needs a bit of love from critiques ( Investors, regulators, Governments ) to breath, blossom and nourish, may be in watchful manner (regulations ). May be this innovation can provide you means to achieve at least  banking to unbanked goals.

Payment systems are really one sector that can help themselves with innovation. What innovation we have seen in last few decades in banking and payment industry ? Credit cards ? Online transfers ? Lets compare the innovation in these sectors with Telecommunication, computing, automobile and 700 other sectors. We will see comparatively they are not as innovative as other sectors. Is there any reason behind it ? Regulation. No I am not trying to say that this sector needs relaxed regulation. All I am saying is Bitcoin can be one medium to pump new innovation in these sectors.

Bitcoin does have its own set of issues, but than which system is perfect. Every system evolves to its native market with the time and countries, laws, people adapt it, change it as per their requirement. We all know what happened with Internet Telephony.
For the sake of it, even in a very controlled manner, give this rat a try and may be we all will be able to see an Indian worker sending money to his family from outside of India feeling happy because his family got the money less than 1 minutes with very negligible fees.


git extensions–syntax error near unexpected token

gitExtensions  GitExtensions is a GUI, Visual Studio plugin and shell extensions for Git.

Problem :

Whenever you use newly installed GitExtensions to pull ne repo from remote repo you may face below error.

Syntax error near unexpected token ‘(‘

Below is full error log :

"C:\Program Files (x86)\Git\bin\git.exe" push --recurse-submodules=check 
--progress "origin" refs/heads/master:refs/heads/master
\"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore/git-credential-winstore.exe\" 
get: -c: line 0: syntax error near unexpected token `('
\"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore/git-credential-winstore.exe\" 
get: -c: line 0: `\"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore/git-credential-winstore.exe\" get'
\"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore/git-credential-winstore.exe\" 
erase: -c: line 0: syntax error near unexpected token `('
\"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore/git-credential-winstore.exe\" 
erase: -c: line 0: `\"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore/git-credential-winstore.exe\" erase'
fatal: Authentication failed for 'https://<username><username>/<repo>.git/'

Solution :
The problem is syntax error in default gitconfig file. You can find default config file in C:\Users\<UserName>\gitconfig
Try to find entry below for [credential] section. It looks like below 

     helper = !\\\”C:/Program Files (x86)/GitExtensions/GitCredentialWinStore/git-credential-winstore.exe\\\”

Notice the 3 slashes after ! in the start of entry and 3 slashes at the end of the entry. Remove two unnecessary slashes so it will look like this :

     helper = !\”C:/Program Files (x86)/GitExtensions/GitCredentialWinStore/git-credential-winstore.exe\”

Go and run your command again, it should work.


git–push large commits over http fail

Problem : When you try to commit a large size file or trying to commit huge amount of data in single commit you may face this issue. This issue can also be encountered when you are trying to move your source control from other tools like VFS, SVN to git as you will have to move your existing source files in huge commits. Normally you are greeted with below error codes :

fatal: The remote end hung up unexpectedly error: RPC failed; result=22, HTTP code = 413

$ git push origin master
Username for '<HOST>: <USER_EMAIL>
Password for 'http://<USER_EMAIL>@<HOST>':
Counting objects: 3322, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3010/3010), done.
Writing objects: 100% (3322/3322), 29.87 MiB | 8.07 MiB/s, done.
Total 3322 (delta 2379), reused 371 (delta 249)
error: RPC failed; result=22, HTTP code = 413
fatal: The remote end hung up unexpectedly
fatal: recursion detected in die handler
Everything up-to-date

Solutions : Try below solutions as the problem can be caused by several factors :

1)  Change protocol from http(s) to git/ssh

Try to move your repo’s remote connection url from http(s) to git/ssh. You can add remote for your repository using add remote command.$ git remote add origin [email protected]:username/project.git

2) Increase git http post buffer size

The next place to look is git http buffer size settings. To increase git http post buffer size 
you can use below command in your git command prompt
git config http.postBuffer 524288000

3) Increase server (nginx) buffer size

If above does not work than you should be now looking at web server buffer size. git over http will use some kind of web server to process http requests. For example in GitLab it will be nginx by default. To increase buffer size in nginx you need to change the config parameter client_max_body_sizeAdd it to /etc/nginx/sites-available/gitlab on ( in Ubuntu ). In CentOS it be should in /etc/nginx/nginx.conf.

http {
    # ...
    client_max_body_size 16M;
    ...#  }

Change client_max_body_size to whatever you want.