Posts

The Secret Life of AWS: Event-Driven Architecture (Amazon EventBridge)

Image
  The Secret Life of AWS: Event-Driven Architecture (Amazon EventBridge) (Part 60 of The Secret Life of AWS) How to decouple your microservices and scale seamlessly using an event bus #AWS   #EventBridge   #CloudArchitecture   #Serverless Margaret is a senior software engineer. Timothy is her junior colleague. They work in a grand Victorian library in London — the kind of place where code quality is the unspoken objective, and craftsmanship is the only thing that matters. Episode 60 Timothy was reviewing the X-Ray trace map for his newly released checkout feature. The business logic was working flawlessly thanks to the AppConfig feature flag, but the performance metrics were alarming. "The checkout microservice is taking almost four seconds to execute," Timothy explained to Margaret, pointing at the latency graph. "When a customer clicks 'Buy', the Lambda function charges the credit card. Then, it makes a synchronous API call to the Inventory Service to reserve t...

The Secret Life of Claude Code: Why Small Tasks Are the Key to Working with AI

Image
  The Secret Life of Claude Code: Why Small Tasks Are the Key to Working with AI How to break down complex work so Claude Code helps you build it right, piece by piece #ClaudeCode   #CodingWithAI   #SoftwareEngineering   #SmallTasks Margaret is a senior software engineer. Timothy is her junior colleague. They work in a grand Victorian library in London — the kind of place where code quality is the unspoken objective, and craftsmanship is the only thing that matters. Episode 10 The rain had been falling since midmorning, and by evening it had settled into the kind of steady, unhurried rhythm. It made the library feel like the only solid place in the city. Timothy arrived shaking water from his coat, his notebook already open in his hand, a page flagged with a folded corner. Margaret was at her usual table, a fresh pot of tea steaming beside her. She glanced at the flagged page as he sat down. "You came with something specific," she said. "I came with a disaster," he ...

The Secret Life of JavaScript: Parallel Processing with Web Workers

Image
The Secret Life of JavaScript: Parallel Processing with Web Workers How to stop freezing your UI when parsing massive JSON #JavaScript   #Coding   #Frontend   #WebDev Margaret is a senior software engineer. Timothy is her junior colleague. They work in a grand Victorian library in London — the kind of place where code quality is the unspoken objective, and craftsmanship is the only thing that matters. Episode 26 The Freeze Timothy watched the sleek CSS loading spinner twirl smoothly on his dashboard. It was a perfect sixty frames per second. But the moment the network request for the historical analytics data completed, the spinner violently froze mid-rotation. The entire browser tab locked up. For three agonizing seconds, Timothy couldn't scroll, couldn't click, and couldn't even highlight text. Then, just as suddenly, the data populated the grid and the UI snapped back to life. "I don't understand," Timothy muttered, aggressively clicking the refresh button ...

The Secret Life of Python: deepcopy

Image
  The Secret Life of Python: deepcopy Taking control of Python's  __deepcopy__ #Python   #Coding   #Programming   #SoftwareDevelopment Margaret is a senior software engineer. Timothy is her junior colleague. They work in a grand Victorian library in London — the kind of place where code quality is the unspoken objective, and craftsmanship is the only thing that matters. Episode 27 Timothy was looking at a new class he had built for the Chess Club—a  TournamentSession  object. It was a complex piece of data that tracked the start time of a match and a unique "Session ID." "Margaret," Timothy said, "I'm using  deepcopy  to create a backup of a match in progress. It works perfectly now, but I have a weird problem. The 'copy' has the exact same  start_time  and  session_id  as the original. If I'm making a new version of the match, shouldn't it have its own unique ID and a new timestamp?" Margaret smiled. "You've discovered th...

The Secret Life of AI: Patience and Flexibility

Image
  The Secret Life of AI: Patience and Flexibility How to prompt, think, and get results from any AI tool #WorkingWithAI   #Prompting   #AIConfidence Margaret is a senior software engineer. Timothy is her junior colleague. They work in a grand Victorian library in London — and in every episode, they'll show you exactly how to get what you want from AI. Episode 1 The fog had settled early over the city, pressing itself against the library windows as though curious about what lay inside. Timothy arrived at his usual hour, unwound his scarf with the mechanical patience of a man performing a habit he no longer noticed, and sat down across from Margaret without a word of greeting. She did not look up from her book immediately. She never needed to. "Tell me," she said, turning a page. Timothy stared at the grain of the oak table. "I've been using it for three weeks now. The AI. For work." He paused. "I don't think it's working." Margaret closed he...