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?
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 –pkg-info=com.apple.pkg.CLTools_Executablespackage-id: com.apple.pkg.CLTools_Executables
groups: com.apple.FindSystemFiles.pkg-group com.apple.DevToolsBoth.pkg-group com.apple.DevToolsNonRelocatableShared.pkg-group
$ 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)
Thread model: posix
cc -fno-strict-aliasing -fno-common
-g -Os -pipe
-fno-strict-aliasing -fwrapv -mno-fused-madd
-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
in my ~/.bashrc file and restarted the shell, went to location where I had cloned the kivy from github and ran python setup.py 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 🙂
Here I am !!!
with another python script that helps Eyeon Fusion Artist load multiple sequence with a single click.
Eyeoon Fusion 6.x
- copy the downloaded multiloader.py file to Fusion root directory[“C:\Program Files (x86)\eyeon\Fusion 6.2\”]
- open Eyeon Fusion Console(next to flow view)
- Select Python(by default Lua is selected)
- 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 multiloader.py 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.
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: