How reliable is Amazon ELB vs. HAProxy and other self-hosted solutions?


Question on @Quora: How reliable is Amazon ELB vs. HAProxy and other self-hosted solutions?

The context is a high-traffic (>10M requests/day) HTTPS API endpoint. Would especially like to hear from folks who have compared both in a production context.

How reliable is Amazon ELB vs. HAProxy and other self-hosted solutions?


blind in love but not in relationship


Haven’t it occurred to you? that you saw someone and started to like at the first time you saw, or maybe it never happened.

You just met , met again, again and again and you find you are in overwhelmed with the feeling of love, you want to live in those moments as if you want time should freeze. Even without knowing much you have accepted your intimate partner and in your mind you think you have found have found that person with you want to spend your entire life.

Often this may not be the case with everyone, some people often know the good and bad of the person they are in love with. Experiences may differ. Some people continue to be in love even if they know how bad/dark/ or ugly by nature their partner have been or is no matter what. Well, that’s love. In my opinion to be in situation like that is better than being in love blindly. I feel it that way as the individual has not accepted to be fool of himself and at least he/she would have a good idea of what might come in future, good or bad.


But my second opinion to be fair with all sorts, I think it is still ok to be blindly fall in love, to fall in love depends on individual person strength how much he can control his feelings. The first thing to accept is nobody is perfect and we should respect the differences.

Speaking of strength, in most cases I would guess its infatuated mind that engulfs thinking. People who get mature over time, they give a second thought when they decide whether to move on or not. This is their strength. Ultimately if it’s love it’s followed by a relationship if it’s not it’s followed by an affair. And the later one can turn ugly.

However, being blindly in love also reflect individual’s tolerance to what might come of what was never deliberately shown or kept hidden by seeker(who attempted the first approach)

But I also think it doesn’t have to stay it in this way always or forever, once in relationship married or not, you should not continue to love blindly because future relies on mutual understanding and caring for each other and neither of the each one should lie or be disloyal.

If one of them from partner is lying, making fool of his partner or is disloyal then that relationship has lost its value.

So if the value of relationship is lost relationship is either gone or if the partner chooses to live by compromising accepting bitter truth of his/her partner then relationship becomes a burden or much like a jail.

 But there is a very strong contradiction to this fact that:

“it’s love when all that you want is that person to be happy even if you are not part of their happiness”

true but believe this is when you fall in love because it will decide whether or not you enter to a relationship.

I am looking forward to what you opinion is, and open for suggestions. My post is inspired by ⁠⁠⁠⁠⁠observation and experience in life , what you can say wisdom that comes with age.

Fix clang: error: unknown argument: ‘-mno-fused-madd’ after updating Xcode 5.1 or above


Story: How it all began.

I am a python programmer, and for a very long time I was getting segmentation fault error on my macbook running mavericks, every time I tried importing any module in shell, so which mean I can code and run the program but if I launch python shell and try to import something may it be sys or os package python will crash with a segmentation fault error.So recently I decided to do a new clean install of python by completely removing the old python2.7 installation. Then following instruction from this page But I didn’t had Xcode installed and not even command line tools for OSx mavericks. So I installed command line tools then installed python followed by virtualenv. This did fixed the segmentation fault error but thats where things got f**ked up !!! while I was removing python from my system I forgot that I am also learning in kivy and removed kivy too while removing python.  And now after so many days I thought to some coding in kivy realised I don’t have it. All this time I had installed fish shell when I first got the error I had first doubt on fish shell but that wasn’t it,  So now when I tried installing kivy using pip or easy_install i kept on getting error: clang: error: unknown argument: ‘-mno-fused-madd’ 


After lots of research on web and googling, I found many people had faced this issue after updating the Xcode  to 5.1 or above mine is 6.1 You can find your Xcode version using pkgutil –
install-time: 1423670043

$ gcc –version
Configured with: –prefix=/Library/Developer/CommandLineTools/usr –with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix

 cc -fno-strict-aliasing -fno-common
 -g -Os -pipe
 -fno-strict-aliasing -fwrapv -mno-fused-madd
 -Os -Wall
 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c /private/tmp/pip-build-UDRH26/kivy/kivy/graphics/texture.c -o build/temp.macosx-10.9-intel-2.7/private/tmp/pip-build-UDRH26/kivy/kivy/graphics/texture.o -F/Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks -arch x86_64      clang: error: unknown argument: '-mno-fused-madd'       error: command 'cc' failed with exit status 1 
To fix the error I added the line
 export ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future"
 in my ~/.bashrc file and restarted the shell, went to location where I had cloned the kivy from github and ran python install and now the above error appeared as warning and installation worked. So far so good everything is working now. I now have segregated every project using virtualenv as well as also took away doubt from fish shell 🙂

started using vim for coding


 Starting to use vi for coding, tiny shell based ansi powerful text editor, this post is more of a bookmark of what I learn about using it.

Few of tips for beginners like me:
To start coding in vim
press <i> key and you are in insert mode to start writing

To exit text insert mode press Esc key and press colon key for :
to save
: w 
to enable line number
:set number
if line number don’t show up for already open text or any file. type
you will enter ex mode then type
you will return in visual mode and you will see line number of previously typed set number command, to hide line number type
:set nonumber

to be able to have python syntax highlighting you must have the following content in your ~/.vimrc file.

filetype plugin indent on
set term=builtin_ansi
syntax on

Python Script: Eyeon Fusion 6.x Multi Clip Loader

Here I am !!!
with another python script that helps Eyeon Fusion Artist load multiple sequence with a single click.


Eyeoon Fusion 6.x

  1. copy the downloaded file to Fusion root directory[“C:\Program Files (x86)\eyeon\Fusion 6.2\”]
  2. open Eyeon Fusion Console(next to flow view)
  3. Select Python(by default Lua is selected)
  4. import multiloader

Step 1. after import multiloader
You can load maximum 10 still image or image sequence, if you want to change the maximum limit open the in notepad and change the value of mx to a desired number. By default, I have set it to 10 to avoid processing delay which can occur on slow machine or if sequence you are importing on network instead of local machine.Its always good idea to copy image sequence to local machine.


Step 2
In step 2. you are prompted to browse sequences depending upon the number you  selected in previous prompt, since i selected 10, I have image sequence loader being displayed.Note that I have left few of them empty (just for demonstration) that if I miss some sequence only the one’s with not empty will have the loader made for you in the composition. So in our case we will have Sequence0, Sequence1, Sequence2,Sequence5, Sequence7. A total of 5 loaders.

Here it is see for yourself in the image below.



Its a basic version and only supports Fusion with Python 3.x,I will be looking forward for your feedback, leave your comments/suggestions below:

Browser not compatible.