Posts

Azure Service Bus

Azure Service Bus Legacy was MSMQ. Azure Service Bus is better because: 1) No Memory Locks, 2) Dead-Lettering, 3) Scaling. Namespaces in C#:          Azure.Messaging.ServiceBus (latest)        Microsoft.Azure.ServiceBus (legacy - as of 30 Sep 2026) Basically you will be doing the typical pub/sub that is decoupled. Events should be immutable (so "record" type). Advantages: Loose Coupling, High Scalability, Real-time Responsiveness Challenges: Eventual Consistency, Debugging Is Hard, Payload Overhead Azure Service Bus is primarily a Broker topology (rather than a mediator). Steps:     1) E vent:  public record OrderPlacedEvent(Guid OrderId, string CustomerEmail, decimal TotalAmount);           2) Producer (Publishes to Azure Topic) : using System.Text.Json; using Azure.Messaging.ServiceBus; public class AzureEventPublisher {     private readonly ServiceBusSender _sender;     ...

C# Proposal

 https://github.com/dotnet/csharplang/discussions/10306

What does AI mean for sr. devs?

What does AI mean  for senior developers?    So routine or tactical programming will die. We now have AI which is a multiplier for a senior developer. So senior developers will need to focus on strategic programming. STRATEGIC PROGRAMMING  * Work on wisdom by experience.  * Looking at overall goal.  * Design hard parts up front.  * Tasks well scoped  * Interfaces between modules  * Test seams  * Design code base is clean and where can find what you want. Overall, you need to get good at your domain.

Context Engineering In AI

Image
Context Engineering In AI  * Overall, we need to compact the context to stay in AI's smart zone which is usually under 40% of the official max context.    * Remember that there are always system instructions, Claude.md, Built-In Tools, and MCP Tools that take space in the context. Next there is always the prompt and the subagents that locate and analyze the code base.    * So you need to create research.md for the PR with the remaining space of 300 to 1000 lines.  These lines include your organization's rules, your team rules, which specific repo, which specific products, which specific modules, which specific directories, and which specific code.  * Next need to create plan to fix ( plan.md ) for the PR. This needs to be the combination of the research.md plus the PRD/ticket/bug report. This plan.md ideally will be 300 to 1000 lines.  * You need to have a human review of the research.md and plan.md as the process goe...

Testing AI Coding

Testing AI Coding Testing AI-generated code:  * Shift from a "code review" mindset to an aggressive "runtime verification" strategy.  * Never let the same AI model write both the source code and the unit tests. Checklist: * Property Tests: Run randomized data to verify edge cases. * Input Validation: Check nulls, empty strings, and malformed JSON. * Dependency Audit: Pin explicit versions to flag stale training data. * PR Tagging: Label code as [AI-Generated] to alert reviewers. * Runtime Verification: Spin up ephemeral environments to observe actual execution behavior. Tools:  * Ito:   R uns your app, before reviewing the code. Uses Github PR. Attaches product demo video to PR.  https://www.ito.ai/  * Autonoma:  Self-updating UI testing. https://getautonoma.com/  * Testkube: CI against live infrastructure. Cloud-native. https://testkube.io/

Magnificent 7 vs S&P 500

  The "Magnificent Seven" (Nvidia, Microsoft, Apple, Alphabet, Amazon, Meta, and Tesla)  stocks account for approximately 20% to 22% of the entire global stock market's capitalization. Index Market Scope Approximate Weight Source MSCI ACWI Global (Developed & Emerging) ~20% Man Group MSCI World Global Developed Markets Only ~22% Nationwide Financial S&P 500 United States Large-Cap Only 33.9% The Motley Fool The "Magnificent Seven" as % of S&P 500: Nvidia (NVDA): ~7.4% to 7.6% Apple (AAPL): ~6.7% Amazon (AMZN): ~4.2% to 6.7% (varies dynamically with recent trading) Microsoft (MSFT): ~4.6% to 5.3% Alphabet / Google (GOOGL/GOOG): ~3.5% to 3.9% Meta Platforms (META): ~2.1% to 3.0% Tesla (TSLA): ~2.2% to 2.5 Exact closing prices for each "Magnificent Seven" stock on May 29, 2026, and June 30, 2026:  Company (Ticker) End of May 2026 Close End of June 2026 Close Monthly Return Microsoft ( MSFT ) $450.24 $373.02 -17.15% Amazon ( AMZN ) $...