EC2 & IP, python 2 -> 3, programming advice, problem driven development

By Prajwal Haniya

Techletter #104 | December 21, 2024

This week I did go through several interesting articles, here is the brief info about it.


How does an EC2 instance get an IP address?

When an Amazon EC2 (Elastic Compute Cloud) instance is launched, it is assigned an IP address, but how?

Amazon uses DHCP(Dynamic Host Configuration Protocol) to assign the IP address to the instance within the subnet’s IP range.

When the instance boots up, it sends a DHCP request message seeking an IP address and other network configuration details.

The DHCP servers in Amazon’s infrastructure receive the request and assign an IP address based on the subnet’s address range, a default gateway, DNS server details, and other necessary configurations.

🔗 Original Article


Migrating over one million lines of code from Python 2 to Python 3

🔗 Original Article


Programming Advice

TL;DR; I finally have the feeling that I’m a decent programmer, so I thought it would be fun to write some advice with the idea of “What would have gotten me to this point faster?” I’m not claiming this is great advice for everyone, just that it would have been good advice for me.

🔗 Origin Article


Problem driven development

An easy playbook for technical roadmap development is Problem-driven Development. In short, it means you develop your technical roadmap based on fixing things that are going wrong. It sounds simple, but it can be very empowering.

🔗 Original Article


Behind the platform: the journey to create the LinkedIn GenAI application tech stack

LinkedIn’s journey of building a GenAI application tech stack began in early 2023. It initially used a Java-based midtier but transitioned to a Python-based framework using LangChain for both offline development and online serving. Prompt management evolved from simple string interpolation to a standardized system using Jinja templates and a prompt source of truth.

🔗 Original Article