Posts

The Red Queen

The Red Queen    It is amazing what one character from a writer has inspired.  The Red Queen from Lewis Carroll’s Through the Looking-Glass talks about the paradox of constant change (as seen in the discussions of the chess promotion from pawn to queen).    In business, "Red Queen marketing" is launching new products to replace past failed launches while the overall brand sales is static or minimal.    Matt Ridley in his book, The Red Queen: Sex and the Evolution of Human Nature, says, "One of the peculiar features of history is that time always erodes advantage. Every invention sooner or later leads to a counterinvention. Every success contains the seeds of its overthrow. Every hegemony comes to an end. Evolutionary history is no different…The faster you run, the more the world moves with you and the less progress you make. Life is a chess tournament in which if you win a game, you start the next game with the handicap of a missing pawn."   ...

EmDash (WordPress successor)

EmDash  (WordPress successor) Free. Built by CloudFlare to be WordPress successor.  Applies sandboxing to plugins. https://github.com/emdash-cms/emdash Uses Astro that is a JS web framework for content-driven websites.  https://astro.build/ Interesting that EmDash is so automated in its submission process: https://github.com/emdash-cms/emdash/pull/1312 They use Vite: https://vite.dev/ They built Vinext on top of Vite to replace Next.js.  Its main advantage is traffic-aware pre-rerendering via CloudFlare web page statistics.    https://blog.cloudflare.com/vinext/

AWS Lightsail Managed DB for MySql

 AWS Lightsail Managed Database  for MySql Limitations  Lightsail Managed DB only supports MySQL and PostgreSQL, not MS SQL Server. Steps 1) Create the Lightsail DB (I assume MySql) via: https://us-east-2.console.aws.amazon.com/lightsail/webapp/us-east-2/databases/   2) After creation, you will be told the endpoint and port number with public mode and data migration mode both disabled.  The public mode will need to temporarily be turned on so we can connect via our local box.  The keep the data migration mode off unless doing massive data sets. 3) Download the MySql Database Workbench (so we have a UI to connect) from: https://dev.mysql.com/downloads/workbench/   4) Make sure you use Powershell instead of Cmd since cmd.exe's console does not correctly forward raw keystrokes through Docker's TTY allocation for a prompt that suppresses echo (which is exactly what a password prompt does). PowerShell and Windows Terminal use the newer C...

MySql for .NET 10

MySql for .NET 10    The official Pomelo.EntityFrameworkCore.MySql provider does not natively support .NET 10 in its stable branch due to recent maintenance stagnation.  However, there is a Community Drop-in Fork by Microting. Its URL is at:  https://www.nuget.org/packages/Microting.EntityFrameworkCore.MySql/

AWS Lightsail

AWS Lightsail Main console: https://us-east-2.console.aws.amazon.com/lightsail/webapp/home/instances Docker containers: You purchase a Lightsail container service (serverless option) (that can hold up to 10 containers simultaneously). This is an additional and different purchase from the Lightsail server. Next Steps: You create the Docker containers on your box.   Then install AWS CLI (purpose is to push containers to the proper spot) using commands from AWS in your Powershell. Restart your Powershell (since only really loads things on startup) aws update   aws --version   (to check all happy. I saw aws-cli/2.36.31 Python/3.14.6 Windows/11 script-exe/AMD64 ) docker images   (to get REPOSITORY names and IMAGE names for all the docker images you want to push) download and install the AWS Lightsail EXE  from https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-install-software.html  aws configure ...

Postman API testing against Docker container

Image
Postman API testing against Docker container For an API Docker container on host port 5000.  Tip: 5000 maps to container's internal port 8080. You set the environment variables (without double braces): You set the actual exposed endpoint method for it. Tip: type the double braces twice and you will see all the environment variables and pick the one you want.  Tip:  this response is empty because no movies with Alpha in the title. You can also see it in Docker.  Tip: the question mark symbol is because EF Core redacts actual parameter values in its command logs by default (you'd need EnableSensitiveDataLogging() on the DbContext to see real values there) — it still shows the parameter names, types, and sizes, just masks the value for safety.

ASP.NET Docker containers in AWS

  ASP.NET Docker containers in AWS     Integrating AI into a containerized .NET app on AWS creates a highly scalable, modern architecture. By leveraging AWS managed AI services (like Bedrock, SageMaker, Rekognition, or Polly) via the AWS SDK for .NET, you offload heavy ML compute to AWS while keeping your Docker containers lightweight. However, moving this architecture into a production-grade Docker and AWS environment introduces specific engineering challenges. Architecture Overview [ Frontend / Client ] │ (HTTPS) ▼ [ AWS ECS / EKS (Fargate) ] ──(VPC Endpoint)──► [ AWS AI Services ] └─► Docker Container (Bedrock, Rekognition, etc.) └─► ASP.NET Core API Application : ASP.NET Core Web API running the official .NET 8 or .NET 9 runtime. Container : Docker images deployed to ECS (Elastic Container Service) or EKS (Elastic Kubernetes Service) using Fargate (serverless containers). AI Layer : The .NET application interac...