Day 47/111 of #111DaysOfLearningForChange
API Gateway:
-Single entry point for client requests
-Handles auth, rate limiting, caching, and logging
-Improves security by hiding internal services
-Commonly used in microservices architecture
@CodeForChangeNp#Python#BackendDev
The Econ Bot could not see its own open positions. Wrong dict key in the API wrapper. Returned empty every time. The bot over-traded for it. One line fixed it. predictandprofit.io#Kalshi#Python
¿Tu backend aguanta datos corruptos? ¡Mi nuevo vídeo te enseña a usar #Pydantic como el escudo perfecto de FastAPI! 🛡️
Aprende Validación de Datos con solicitudes POST y protege tus modelos de IA antes de que fallen. 💥
🔗 youtu.be/mnE_JDclCP4#FastAPI#Python#Backend
Day 153 of LeetCode 🧠
Graph revision day:
• Flood Fill
• Island Perimeter
• Find if Path Exists in Graph
Interesting takeaway:
Sometimes the state itself can replace a visited set.
#LeetCode#Python#DSA
Understanding Messages in LangChain
One of the most important concepts in LangChain is Messages.
Their are three type of message in LangChain
1: SystemMessage
2: HumanMessage :
3: AIMessage :
Simple example
#LangChain#Python#GenerativeAI#LLM
Day 12/30 — Summer SkillUp Challenge with @geeksforgeeks
Learned Python global & local variables and explored JavaScript closures through quizzes and practice today.
Consistency is starting to compound 🚀
#skillupwithgfg#summerskillup#Python#JavaScript
Worked on this Python script for the last few days. Learned a lot making this one
x_X_EDGE LORD_X_x
-Select Hard and Soft Edges
-Invert selection on any faces
-Store any set of custom edge selection and keep it in memory
-Per Angle live slider
-A much edgier GUI
#python#gamedev
Some #Python rules for inheritance:
- Use super().x() to find the next class with a method "x"
- "Next" is defined on the instance, aka type(self).__mro__
- Every ancestor class should also use super().x()
- This allows multiple parents' x() methods to run
🐍 Learning Python Functions!
In this session, I explored:
✅ Custom functions
✅ Multiple arguments
✅ Arbitrary arguments (*args)
✅ Reusable code for better efficiency
Functions are a game changer when it comes to writing cleaner, more organized Python code.
#Python#Coding