Posts

[MS] Rotation revisited: Shuffling more than three blocks, and other small notes - devamazonaws.blogspot.com

A few small notes on rotation before you get sick of it. (Too late!) Reducing the number of rotations in the discontiguous swap problem from three to two also shows how the solution can be generalized to shuffling an arbitrary number of variable-sized blocks: Given k blocks, of total size n , you can shuffle them arbitrarily in at most kn swaps in constant space: Take the block that goes first and rotate it to the front, which takes n swaps. Then recurse on what's left. You can reduce the number of swaps by comparing the sizes of the block that goes first and the block that goes last and choose to swap the larger block to the corresponding extreme. I guess you could use this for sorting, but it's probably enough of a hassle that you'll just take the penalty of allocating a second block of memory rather than trying to be clever and doing it in-place. In online discussion of this article, I saw a number of people say, "You can do this with the XOR trick," b...

AWS Lambda Managed Instances expands to additional AWS Regions - devamazonaws.blogspot.com

AWS Lambda Managed Instances (LMI) is now available in all commercial AWS Regions, except Israel (Tel Aviv), Middle East (Bahrain), Middle East (UAE), and Asia Pacific (Auckland).   LMI lets you run Lambda functions on managed Amazon EC2 instances, giving you access to specialized compute configurations and EC2 pricing advantages while maintaining Lambda's operational simplicity. LMI fully manages instance lifecycle, OS and runtime patching, routing, load balancing, and auto-scaling, so you can focus on writing code. You can process parallel requests within each execution environment, maximizing resource utilization and improving price-performance. You can further improve costs by leveraging EC2 pricing models including Compute Savings Plans and Reserved Instances. LMI is ideal for customers requiring specialized hardware configurations, as well as those with steady-state or predictable workloads seeking to optimize costs. You can continue building functions with familiar devel...

Amazon Redshift reduces manual snapshot cost for Serverless and RG instances - devamazonaws.blogspot.com

Amazon Redshift announces a new billing model for manual snapshots on Amazon Redshift Serverless and Amazon Redshift RG instances. With this enhancement, Amazon Redshift now meters manual snapshot storage based on the unique data blocks stored across your snapshots rather than the total size of each individual snapshot. This results in lower manual snapshot costs for customers who maintain multiple snapshots. Customers who maintain multiple manual snapshots for disaster recovery, testing, or long-term retention will see reduced storage costs. With this new billing model, you can take more frequent manual snapshots to achieve a better recovery point objective (RPO) without proportional cost increases, enabling more robust disaster recovery strategies. The new billing model automatically applies to both existing and new manual snapshots. The new manual snapshot billing model is available in all AWS commercial and AWS GovCloud (US) Regions where Amazon Redshift Serverless and Amazo...

[MS] .NET at Microsoft Build 2026: Must watch sessions - devamazonaws.blogspot.com

That's a wrap on Microsoft Build 2026! From union types in C# to agentic web apps and AI on the edge with .NET MAUI, this year's event showed how .NET 11 is built for the AI era. Whether you joined live or are catching up on demand, here are the .NET sessions worth your time. [alert type="tip" heading="Tip"]Want to binge the whole lineup? Watch the .NET at Build 2026 playlist on the .NET YouTube channel. For the full list of announcements across all of Microsoft, check out the Build 2026 Book of News .[/alert] Featured .NET Sessions Union types in C# [iframe width="800" height="450" src="https://ift.tt/mkchfpE" title="Union types in C#" frameborder="0" allowfullscreen] Union types are coming to C#! Unions model closed sets of data shapes, as commonly seen in wire protocols and domain modeling. Mads and Dustin explore the clean expression of intent and the confidence and elegance that unions lend to consu...

[MS] Enterprise Live Migrations: Moving from Azure DevOps Repo to GitHub with minimal disruption - devamazonaws.blogspot.com

Image
Over the last several years, we’ve encouraged customers to move their repositories from Azure Repos to GitHub to take advantage of the latest AI-powered and agentic development experiences. For many enterprise teams, however, migrating at scale comes with real constraints. Traditional approaches can require extended downtime - sometimes days - which isn’t acceptable for teams running critical workloads. To address this, we’re introducing Enterprise Live Migrations (ELM) , in limited public preview. Migrations begin without locking the Azure DevOps repository, with changes continuously synchronized to GitHub while developers keep working. When ready, teams can schedule a cutover to complete the transition - with only a brief downtime window, typically under 30 minutes. This means no extended freeze periods, no multi-day outages - just a controlled, predictable transition that fits into your operations. Teams can migrate at their own pace, without coordinating complex, high-risk “a...

Amazon OpenSearch Serverless now supports Agentic Search - devamazonaws.blogspot.com

Amazon OpenSearch Serverless now offers Agentic Search — a capability that lets users query their data using natural language. Users simply describe what they are looking for, and the system interprets intent, plans the optimal search strategy, generates the appropriate DSL (domain-specific language) query, and returns results with a transparent explanation of its reasoning. Users can ask "Find available flights to Tokyo under $800" or "Show top-selling products in the electronics category this month." Behind the scenes, a built-in QueryPlanningTool powered by large language models (LLMs) translates natural language into DSL queries and orchestrates the right tools to retrieve results. Users can configure and customize behavior through APIs or OpenSearch Dashboards. OpenSearch UI provides a guided experience for creating agents and executing agentic searches, with an application available for each collection accessible from the AWS console. Agentic Search is ava...

Amazon OpenSearch UI is now available in GovCloud regions - devamazonaws.blogspot.com

Amazon OpenSearch Service expands its modernized operational analytics experience to GovCloud regions, including AWS GovCloud (US-East) and AWS GovCloud (US-West), enabling users to gain insights across data spanning managed domains and serverless collections from a single endpoint. The expansion includes Workspaces to enhance collaboration and productivity, allowing teams to create dedicated spaces. Discover is revamped to provide a unified log exploration experience supporting languages such as Piped-Processing-Language (PPL) and SQL, in addition to DQL and Lucene. Discover now features a data selector to support multiple sources, new visual design and query autocomplete for improved usability. This experience ensures users can access the latest UI enhancements, regardless of version of underlying managed cluster or collection. The expanded OpenSearch analytics helps users gain insights from their operational data by providing purpose-built features for observability, security anal...