Renan Moura – Software Engineering
Renan Moura – Software Engineering delves into the intricacies of AI applications, emphasizing the importance of maintaining conversation history for seamless interactions. The document showcases the significance of short-term memory in AI systems, particularly in preserving context for ongoing conversations. It highlights the utilization of tools like Langchain to facilitate this process efficiently. Additionally, the document provides practical examples, such as setting up PostgreSQL containers and running Python scripts, to demonstrate the implementation of short-term memory in real-world scenarios. Overall, Renan Moura – Software Engineering offers insights into enhancing AI applications through effective memory management techniques.
Subtracting years from a date in Python
The easiest way to subtract years from a date in Python is to use the dateutil extension. Install it with pip: pip install python-dateutil The relativedelta object from the dateutil.relativedelta modu...
📚 Read more at Renan Moura – Software Engineering🔎 Find similar documents
Adding years to a date in Python
The easiest way to add years to a date in Python is to use the dateutil extension. Install it with pip: pip install python-dateutil The relativedelta object from the dateutil.relativedelta module allo...
📚 Read more at Renan Moura – Software Engineering🔎 Find similar documents
How to subtract months from a date in Python
The easiest way to subtract months from a date in Python is to use the dateutil extension. Install it with pip: pip install python-dateutil The relativedelta object from the dateutil.relativedelta mod...
📚 Read more at Renan Moura – Software Engineering🔎 Find similar documents
Adding months to a date in Python
The easiest way to add months to a date in Python is to use the dateutil extension. Install it with pip: pip install python-dateutil The relativedelta object from the dateutil.relativedelta module all...
📚 Read more at Renan Moura – Software Engineering🔎 Find similar documents
Beware of excess of “best practices”
Unlike other disciplines that are more rigid and regulated like Civil Engineering, Software Engineering doesn’t have a set of rules to follow by law enforcement. You won’t go to jail if you don’t do T...
📚 Read more at Renan Moura – Software Engineering🔎 Find similar documents
The hard part is to continue
Starting out is easy, the hard part is to continue. Anything for a while is easy: Work out for a while Study for a while Diet for a while Work right for a while Take good care of the family for a whil...
📚 Read more at Renan Moura – Software Engineering🔎 Find similar documents
Python list drop duplicates
Removing duplicates from a list is a task that might happen more often than you think. Maybe you are importing a bunch of rows from a CSV file and want to make sure you only have unique values. Or you...
📚 Read more at Renan Moura – Software Engineering🔎 Find similar documents
Learning Programming is Non-Linear
Learning is by no means a linear process, even in hard sciences like Math. It is very common to see people asking in groups, Reddit, and other forum-like places "What path should I take to become a So...
📚 Read more at Renan Moura – Software Engineering🔎 Find similar documents
Python for loop increment by 2
A regular for loop will increase its iteration counter by one in each iteration. But there are situations where you want to increment the iteration counter by 2. For some reason you might want to work...
📚 Read more at Renan Moura – Software Engineering🔎 Find similar documents
The Top Skill for a Software Developer
The 1 skill for a Software Developer is Adaptability or Learn to Learn (fast). If your career is long enough, after the frustration of seeing your favorite framework become "uncool" a few times, you w...
📚 Read more at Renan Moura – Software Engineering🔎 Find similar documents
The side project myth is getting out of control
I was reading this thread on Hackernews about Recruiters want people who do side projects, yet contracts forbid them?. The discussion is very interesting and boils down to "Does it even make sense to ...
📚 Read more at Renan Moura – Software Engineering🔎 Find similar documents
Do you want to be a Developer?
Maybe you are trying to enter the tech field with the thought of "Hey, I want to work in tech, I want to be a Developer". Tech is all the hype these days and the first career option that pops up when ...
📚 Read more at Renan Moura – Software Engineering🔎 Find similar documents