Posts

Showing posts with the label Devblogs

[MS] Models don't have preferences, they have context - devamazonaws.blogspot.com

You open a fresh chat, type "What framework should I use for a web app?", and the model says "React." You screenshot it, share it, and write "Claude prefers React." It gets engagement. People nod along. A few reply with their own results. And now we have a consensus: Claude prefers React. Except it doesn't. The model doesn't prefer anything. You're reading the room, not the mind. The genre There's a whole genre of this. Run N prompts in a bare chat window, tabulate the answers, maybe build a heatmap, publish it as a blog post or a thread. "Which frameworks do LLMs prefer?" "What languages do models recommend most?" The format varies, but the method is the same: ask abstract questions in an empty context, count the answers, declare preferences. It's easy to see why this is appealing. It feels scientific: you have a sample size, you have a methodology, and it produces shareable results and charts. The problem isn...

[MS] How to Use Deep Agents with Azure Cosmos DB – Plan, act, and verify against operational data - devamazonaws.blogspot.com

Image
Deep Agents is an agent harness built on LangGraph , for agents that need to work through a task over many steps instead of a single LLM call. The agent runs tools, looks at the results, and uses that to pick the next one, keeping a todo list as it goes. On top of that loop the harness brings what a longer-running agent needs. It can load instructions on demand instead of holding everything in the prompt (skills), offload large tool outputs so they don’t fill the context window, and pause for human approval in apps that need an approval gate before data changes. Support Ops Agent is a sample app that puts this to work on a customer-support ticket queue. We can ask it which tickets are at risk, who’s overloaded, or whether a run of similar complaints is really one outage. When a ticket needs to change, it updates the ticket and reads it back to confirm. Most requests become a handful of reads against the queue. Requests that change a ticket add a patch and a verification read. That q...

[MS] Retirement of Azure DevOps issuer in Workload identity federation service connections - devamazonaws.blogspot.com

Image
We are announcing the deprecation of the Azure DevOps issuer in workload identity federation (WIF) service connections , with planned retirement on July 1, 2027 . The Azure DevOps issuer uses the https://vstoken.dev.azure.com prefix in federated credentials. This change is part of Microsoft's broader initiative to standardize on the Microsoft Entra issuer across Azure services that implement workload identity federation. Important This deprecation only applies to service connections in Azure public cloud that use single-tenant Microsoft Entra applications or managed identities. Service connections targeting non-public clouds (for example, Azure Government, Azure China, or Azure Stack) and service connections that use multi-tenant applications ( signInAudience: AzureADMultipleOrgs ) are explicitly excluded from today's deprecation announcement. The Azure DevOps issuer will continue to be supported for these scenarios until they're supported by the Microsoft Entra issu...

[MS] What 50,000 Runs of a 5-Line Eval Taught Us - devamazonaws.blogspot.com

How AI coding models calibrate effort, token cost, and tool use on even the simplest task, and what that means for model selection and cost. Read the full article Post Updated on June 19, 2026 at 01:00AM Thanks for reading from devamazonaws.blogspot.com

[MS] What 50,000 Runs of a 5-Line Eval Taught Us - devamazonaws.blogspot.com

How AI coding models calibrate effort, token cost, and tool use on even the simplest task, and what that means for model selection and cost. Read the full article Post Updated on June 19, 2026 at 01:00AM Thanks for reading from devamazonaws.blogspot.com

[MS] Use your own language model key in VS Code - devamazonaws.blogspot.com

Learn how to use bring your own key (BYOK) in VS Code to add models from providers like Azure, Anthropic, Gemini, OpenAI, Huggingface, OpenRouter, or use a local model with Ollama, Foundry Local, and more. Read the full article Post Updated on June 18, 2026 at 01:00AM Thanks for reading from devamazonaws.blogspot.com

[MS] Windows stack limit checking retrospective, follow-up - devamazonaws.blogspot.com

Aaron Giles worked on porting Windows to both ARM32 and AArch64, and he noted a missing detail in my retrospective of stack limit checking on arm64 : Every once in a while Raymond Chen does an architectural comparison series and I get to see (a paraphrased version of) some code I wrote way back when. He's right about why we passed stack size/16, but surprised he didn't call out the unconventional x15 usage. — Aaron Giles ( @aarongiles.com ) Mar 20, 2026 at 8:08 PM I'm guessing that by "unconventional x15 usage", Aaron means "Why is the parameter passed in the x15 register? The AArch64 calling convention passes the first parameter in the x0 register, so shouldn't that parameter be in the x0 register?" It seemed so obvious to me that I didn't consider it worth mentioning. The function that needs to do a stack probe is in a bit of a bind: It has inbound parameters, some of which might be passed in registers. If the stack size parame...

[MS] GitHub Copilot for JetBrains is moving to Copilot CLI as the default agent harness - devamazonaws.blogspot.com

Copilot CLI is becoming the default agent harness in GitHub Copilot for JetBrains, and our local harness will be deprecated. This change provides greater consistency across all GitHub Copilot surfaces and is an important step toward faster feature parity and higher-quality results in GitHub Copilot for JetBrains. Copilot CLI sessions run independently in the background on your machine and use the Copilot CLI agent harness, while the IDE starts, monitors, and steers them. This is the same architecture used across GitHub Copilot today and adopting it in JetBrains lets us ship the same capabilities to JetBrains developers at a faster pace. Why we're making this change Copilot is not the same product it was a year ago. Agentic coding — long, multi-step sessions that plan, edit, and verify work autonomously — is now the core of the experience, and the harness that runs those sessions matters more than ever. Until recently, JetBrains has used its own local harness. Maintaining a sepa...

[MS] The time the x86 emulator team found code so bad that they fixed it during emulation - devamazonaws.blogspot.com

During an exchange of war stories, a colleague of mine told one from back in the days when Windows included a processor emulator for x86-32 on systems that natively ran some other processor. (This has happened many times. And no, I don't know which processor this particular story applied to.) This particular emulator employed binary translation, generating native code to perform the equivalent operations of the original x86-32 code. This offered a significant performance improvement over emulation via interpreter. You can imagine that x86-32 is just a bytecode, and the emulator is a JIT compiler. Anyway, my colleague found that there was one program that needed to allocate around 64KB of memory on the stack and initialize it. The standard way of doing this is to perform a stack probe to ensure that 64KB of memory is available , then subtracting 65536 from the stack pointer, and then initializing the memory in a small, tight loop. But using a loop to initialize the memory was to...

[MS] Make Visual Studio look the way you want - devamazonaws.blogspot.com

Image
Themes are personal. Some of us live in dark mode, some swear by high contrast, and some of us have very strong opinions about that one shade of blue from years ago. The new themes in Visual Studio 2026 are built on Fluent, which gives us a much more consistent and accessible foundation, but we have heard from plenty of you who want more control over specific colors. Accent colors, hover states, the line between the shell and the tab headers… the small things that make an IDE feel like yours . So, we did something about it. Visual Studio now has a new Theme colors options page that lets you customize any Fluent color token directly inside the IDE. No extensions, no JSON files to hunt down, no restarts. Just open the page, find the token you want, and pick a new color. Where to find it Open it from Tools > Options > Environment > Visual Experience > Theme colors . You'll see every Fluent color token in the active theme listed in a searchable grid. Pick one, change ...

[MS] How can I schedule work on a thread pool with low latency? - devamazonaws.blogspot.com

A customer had a callback that was used to report data being produced by a hardware device. The rule for the callback is that it has to return quickly so that the code wouldn't miss the next batch of data because the device itself has a very small buffer: If they spend too much time in the callback, the buffer will overflow and data will be lost. To avoid clogging the receiving thread, the customer queued a work item to the thread pool to process the data that was just received. However, they found that sometimes, the work item doesn't run immediately but rather has a 100ms latency. But their program needs to process the data within 20ms. Is there a way to set a deadline on a thread pool work item, so that the system will make sure that it runs before a certain period of time elapses? As I've noted before, the thread pool is designed for throughput, not latency . There is no option to set a deadline on a work item. One reason why the thread pool is being slow to dispatc...

[MS] Understanding the rationale behind a rule when trying to circumvent it - devamazonaws.blogspot.com

In the documentation for best practices for implementing process and thread-related callback functions , it calls out Keep routines short and simple. Don't make calls into a user mode service to validate the process, thread, or image. Don't make registry calls. Don't make blocking and/or Interprocess Communication (IPC) function calls. Don't synchronize with other threads because it can lead to reentrancy deadlocks. So far so good. It seems that these callback functions need to operate quickly and cannot block. These are callbacks that are invoked when a process starts or exits, when a thread starts or exits, when a DLL or EXE is loaded or unloaded, and various other low-level events. The various prohibitions above suggest that these callouts are called during the process creation/termination sequence, so if you take a long time to deal with them, you are slowing down the entire system. And the rather extreme requirements, like "Don't make...

[MS] Visual Studio Code 1.125 - devamazonaws.blogspot.com

Learn what's new in Visual Studio Code 1.125 (Insiders) Read the full article Post Updated on June 17, 2026 at 06:00PM Thanks for reading from devamazonaws.blogspot.com

[MS] PowerToys 0.100 is here: new Shortcut Guide, Command Palette improvements and much more! - devamazonaws.blogspot.com

Image
We're back with a fresh PowerToys release! This month introduces the brand-new Shortcut Guide , a major Command Palette update with the new Extension Gallery and multi-monitor Dock support , and a wave of improvements to Power Display. We've also upgraded PowerToys to .NET 10, improved auto-update reliability, reduced installer size , and continued modernizing the app experience across the suite. Grab the update by checking for updates in PowerToys or by heading to heading to the release page . Let's dive in! ⌨️ Introducing the new Shortcut Guide The new Shortcut Guide has been designed and built from the ground up. The new experience appears as a pane on the side of your screen and automatically detects the active application when invoked, showing the shortcuts that are relevant to what you're currently doing . In addition to app-specific shortcuts, Shortcut Guide also includes a wide range of Windows shortcuts and shortcuts from enabled PowerToys utilities . W...

[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...

[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...

[MS] Rotation revisited: Cycle decomposition in clang's libcxx - devamazonaws.blogspot.com

We got distracted by the rotation algorithm in gcc's libstdc++, but let's get back to the cycle decomposition algorithm in clang's libcxx . The implementation in clang's libcxx performs the minimum number of swaps, roughly n /2, where n is the total number of elements. It does so by viewing the rotation as a permutation and walking through each of the cycles. For notational convenience, let a be |A| and n be |A| + |B| (the total number of elements). The number of cycles is gcd ( a , b ), and the k 'th cycle consists of the elements starting at first + k , and then stepping to the next element by moving forward another a elements, with wraparound, until you return back to the starting point. For example, if you have |A| = 4 and |B| = 6, then the cycle that starts at A1 takes 4 steps forward to continues to B1; takes another 4 steps forward to B5; then takes 2 steps forward, wraps around, and then two more steps forward, landing on A3; then takes 4 steps for...

[MS] What's New in vcpkg (May 2026) - devamazonaws.blogspot.com

This blog post summarizes changes to the vcpkg package manager as part of the 2026.05.25 registry release. No vcpkg-tool releases occurred during this period. This release includes major library updates for Boost 1.91, Qt 6.11, and OpenCASCADE 8.0, along with 27 new ports and over 500 port updates. There are now 2,824 total ports available in the vcpkg curated registry. A port is a versioned recipe for building a package from source, such as a C or C++ library. 27 new ports were added to the curated registry. 521 ports were updated in May . As always, we validate each change to a port by building all other ports that depend on or are depended by the library that is being updated for our main triplets . 85 community contributors made commits. The main vcpkg repo has over 7,500 forks and 27,100 stars on GitHub. vcpkg changelog (2026.05.25 release) Since no vcpkg-tool changes were released this month, this changelog highlights notable port updates: Boost...