Hey everyone! Ever been in a situation where you solve a tricky technical problem, celebrate your victory, only to face the exact same problem months later with no memory of your brilliant solution? 😅 That's exactly what happened to me, and it taught me a valuable lesson about documenting those "one-off" solutions. The Genesis of a Python Problem 💡 In our project, we had a unique requirement: efficiently manage feature flags. Our solution involved moving one of our API endpoints to an AWS Lambda Function. My task? Replicate the existing API response using Python and, of course, use the same environment variables. Sounds straightforward, right? Initially, it felt like smooth sailing. I got hold of the existing Python code used for authorization, analyzed how to handle requests and responses, and started writing my own. But then came the pain point: setting up a Python virtual environment (venv). As a Rails developer, Python venvs were a foreign concept to me. I was c...
Fading Animation Now the days the web development is a fast-growing field on the internet. The web page should be attractive and clear to understand what it is. We can make our website interface look good using CSS and feel good using JavaScript. When they both are combined we can do a lot of things on the web page. Animation : Everyone likes the animations. When we implement the animation to our site it helps to attract more users to our site. Need to perform the animation on the site we need to write lots of codes. But here I'm going to show you how to make animations with low code and time. AOS Library:...