Using Pyenv on Mac OSX Big Sur to manage Python 3.6 and Python 3.7
I recently upgraded to Mac OSX Big Sur. After the upgrade, my working Django application stopped working, because Big Sur does not allow me to install Python 3.6 and Python 3.7 successfully. The only Python version I could install is Python 3.9, which also gave me lots of headaches. I eventually made my Django application working with Python 3.9 on Big Sur after some tweaking of the requirements.txt file. There was some package dependency that needs to be updated to work with Python 3.9.
Why I choose AWS Aurora over RDS Postgres?
When we started to build our application 2 years ago, we chose RDS Postgres because RDS is managed by AWS. We have not noticed performance issues until recently when more and more customers start to use our application.
We are using Django framework for the backend Restful endpoints. In order to improve the performance of our application, Newrelic was used to monitor the performance of the backend endpoints. For endpoints that have a high # of database calls for each transaction, we optimized the code to reduce the # of database calls…
Use Google ReCaptcha V3 in China
CAPTCHA, which stands for Completely Automated Public Turing Tests to Tell Computers and Humans Apart, is a type of computer test used to determine whether the user is a human or a robot.
In this article, I am going to discuss Recaptcha v2 and v3, and also how you can deploy Recaptcha globally without being blocked by countries like China.
Google Recaptcha V2 is not human friendly. The best way to annoy your visitors on your website is to install Google Recaptcha V2. …
Back in March 2000, at the peak of the dot-com bubble, I graduated from UCLA with a Master's degree in Computer Science. I started to work as a Software Engineer for a hosting company called SoftAware Inc. in Marina del Rey, California. Unlike my classmates who flocked to Silicon Valley, I stayed in Southern California so I could complete my Ph.D. degree at UCLA while working fulltime.
The year 2000 was an interesting time. After a decade of massive growth in the use and adoption of the Internet, a stock market bubble was formed because of the excessive speculation in…