There's some tech news to discuss, and I want to start translating DayFrame for other locales
There's some tech news to discuss, and I want to start translating DayFrame for other locales
An AI agent is an LLM that is given a goal, a set of tools, and the autonomy to decide which tools to use in a loop until the goal is complete. The agent built in this course researches each new sales lead on the live web, scores it against an ideal customer profile, and drafts a personalized outreach email.
We just published a course on the freeCodeCamp.org YouTube channel that will teach you how AI agents work and how to build a sales and lead enrichment agent from scratch. I created this course, and Oxylabs provided a grant to make it possible.
You'll build the workflow visually in n8n, then see the same agent loop in Python, using the Oxylabs Web API for web search and scraping.
In this course, you will learn:
Watch the full course on the freeCodeCamp.org YouTube channel (43-minute watch).
Last week, at VSLive! in Orlando, I spoke with dozens of Visual Studio subscribers who are working to more effectively position themselves and their learning investments in the midst of a rapidly changing industry.
I heard one thing that particularly stood out while I was there: Prioritizing which skills to improve next can be an overwhelming challenge. There’s so much to tackle and time is limited. And let’s face it: sometimes we don’t know what we don’t know.
Consider a developer who wants to strengthen their Azure skills.
They could explore identity and access management, application architecture, networking, or monitoring. If they’re considering implementing secure access to Azure services, they may benefit from strengthening their knowledge of managed identities and role-based access control. A developer working to improve application availability might have more immediate reasons to focus on monitoring and resiliency over other skills.
With all the relevant learning areas, if you could make the time to improve one technical skill over the next few months, how would you decide which skill to focus on?
Understanding your current proficiency level can help you make an informed decision about what to learn next. While you probably have a good sense of the technologies you work with regularly, a structured evaluation can introduce technical questions and scenarios that go beyond what you encounter in your everyday development work.
That’s where Skill IQ Discovery assessments can help. For example, the Managing Microsoft Azure Identity and Security assessment offered by Pluralsight covers subjects such as multi-factor authentication, role-based access control, managed identities, and hybrid identity. Completing the assessment gives participants a way to evaluate their knowledge across these areas.
After completing the assessment, they can review their proficiency results against those of other assessment takers, examine the answers to each question, and consider recommended learning resources based on their assessment results.
Let’s consider a developer working on an application that uses several Azure services. After completing an assessment, the developer reviews their answers and recognizes opportunities to strengthen their understanding of both hybrid identity and Azure role-based access control (RBAC).
Hybrid identity is less familiar to them, making it a tempting place to start. But their team has been troubleshooting access problems involving role assignments across several Azure resources.
A stronger understanding of RBAC could help the developer investigate how permissions are assigned, determine whether access is scoped appropriately, and recognize when permissions are broader than necessary.
Although hybrid identity represents a less familiar area, strengthening their understanding of RBAC could have a more immediate impact on their work.
Instead of treating every knowledge gap as a new learning assignment, the developer can use their assessment findings to identify a priority, explore the relevant Pluralsight learning resources, and apply what they’ve learned to the team’s current challenges.
Eligible Visual Studio subscribers can access Skill IQ Discovery assessments, learning paths, labs and curated learning content through Pluralsight. These resources can support the different stages of your learning process.
You might begin with a Skill IQ Discovery assessment to establish a baseline. After reviewing your results, you can browse Pluralsight’s recommended content and select courses or learning paths that align with your assessment results for targeted learning. And there are plenty of opportunities to apply new concepts through hands-on learning.
If you’re an eligible Visual Studio subscriber and haven’t explored your Pluralsight benefit, visit the Visual Studio Subscriber Benefits portal, find Pluralsight under Professional Development, and activate your benefit. Benefit duration varies by subscription level, with eligible Enterprise subscribers receiving 12 months and Professional subscribers receiving 6 months of access.
Once you’ve signed in to Pluralsight, explore Skill IQ Discovery and consider which recommended resources could help you strengthen the capabilities that matter most to your work.
Thanks for being part of the Visual Studio community, and happy learning!
The post Make your next learning decision count with Pluralsight appeared first on Visual Studio Blog.
Part 2 of 5: The Agentic Software Factory
In Part 1 I laid out the premise: humans own intent and design, agents own throughput, and the factory is the set of stations and checks that connects the two. That is a nice paragraph. Nice paragraphs have never once shipped software. This post is the part where we pour the concrete.
The steps below are in the order I actually do them, and the order matters. Every team I have watched try this out of order ends up with fast agents producing fast inconsistency, because they automated the line before the line existed. Automating chaos just gets you chaos with better uptime.
Do not start with the whole organization. I know. The slide deck says “enterprise-wide transformation.” Ignore the slide deck.
Pick one repository that matters, has a reasonable test suite, and has a team that actually wants this. Then pick one class of work to run through the factory first. Bug fixes with a reproduction are a great start. So are small, well-understood features like “add a field end to end” or “add an endpoint that follows the existing pattern.”
The goal of the first few weeks is not throughput. It is finding out where your line leaks.
An agent cannot verify anything it cannot run. Before anything else, the repository needs a single, documented, boring way to install, build, test, and run the application locally. If a new human hire needs a Slack thread and a senior engineer’s afternoon to get a passing test run, an agent is going to burn an hour of tokens rediscovering the same tribal knowledge, and then guess. Confidently.
I wrote a whole post on agent-ready local environments, so the short version here:
make setup # dependencies, local services, seed data
make test # the fast suite, under a couple of minutes
make check # lint, types, format, the stuff CI will yell about
make run # the app, on a port you can configure
Whatever your stack calls these, they need to exist, work from a clean checkout, and be the same commands CI runs. If they are not the same commands CI runs, the agent will pass locally and fail in CI, and you will spend your review time on the difference. Ask me how I know.
This is the step people skip, and it is the one that makes the biggest difference to consistency. Agents start every session with no memory of your team. None. Whatever they need to know about how you build software has to live in files they will read.
I have been on about this for a while: AI is forcing docs to finally grow up, and the teams that treat documentation as a product are the ones whose agents behave. Turns out writing things down was a good idea all along. Who knew. (Everyone. Everyone knew.)
I keep four kinds of context:
AGENTS.md, CLAUDE.md, or whatever your tooling picks up automatically. Keep it short. What the system is, how to run it, the five or six rules that get broken most, and pointers to everything else. If it is longer than a couple of screens, agents and humans both stop reading it carefully. Humans just stop sooner.src/orders/OrderRepository.ts, including how errors are mapped and how tests are structured” is strong. Point at real code. Agents copy examples far more reliably than they follow prose.I like keeping the cross-repo parts of this in a notes repo for shared project context and the repo-specific parts right next to the code.
Every task that enters the factory needs the same shape. I use an issue template along these lines:
## Goal
One or two sentences. What is true when this is done?
## Acceptance criteria
- Observable behaviors, each one testable.
## Scope
- Paths, modules, or contracts this task may change.
## Out of scope
- Things that look related and must not change.
## Decisions that apply
- Links to ADRs and conventions.
## Stop condition
- When to stop and ask instead of continuing.
This is the input spec for the build station. It is also a gift to the human reviewer, who now knows exactly what they are checking the diff against instead of reverse-engineering intent from the code. Most of the time an agent can draft this from a rough request and a human tightens it. That draft-then-approve pattern is the ask, plan, confirm loop applied at intake, and a close cousin of the chat-first spec method I wrote up last year.
If a task cannot be written in this shape, it is not ready for the factory. Send it to a human for design, or split it. “Make checkout better” is a wish, not a task.
Each implementer agent gets its own workspace: its own worktree or clone, its own branch, its own ports, and ideally its own database or schema. Shared mutable state between parallel writers is where most of the confusing failures come from. Two agents pointing tests at the same local database will each conclude the other one’s data is a bug, and then they’ll both “fix” it. Delightful.
Isolation also means scoping. The task’s “Scope” section in Step 3 is not decoration. In Part 3 we will have the harness enforce it, but even before that, it tells the reviewer what a suspicious diff looks like.
Gates are the checks a change must pass to move to the next station. They need two properties: they run automatically, and they cannot be talked past. Not by the agent, not by a deadline, not by “it’s just a one-liner.”
I split them into two tiers:
Then add the checks that encode design, not just correctness. These are the ones that hold consistency at scale:
A test an agent wrote and then quietly deleted is not a gate. The gates live in the repository and in CI, and changes to them get the same human approval as changes to a contract.
This is where it starts feeling like a factory. Each station gets a definition: what it receives, what it does, what it produces, which tools it may use, and when it stops. I keep these in the repository so they are versioned and reviewed like code, because they are code. Just written in English.
.factory/
stations/
intake.md # turn a request into a scoped task
planner.md # turn a task into an approved plan
implementer.md # build one slice in an isolated workspace
reviewer.md # read a diff against plan + conventions
gates/
fast.sh
full.sh
register.md # who is working on what, right now
AGENTS.md
docs/adr/
docs/conventions/
A station definition is short. Here is roughly what my reviewer looks like:
# Reviewer station
Input: a branch, the task issue, the approved plan.
Read: AGENTS.md, the ADRs linked in the plan, docs/conventions/.
Do:
- Compare the diff to the plan. Flag anything outside Scope.
- Check new code against the reference implementations.
- Check tests cover each acceptance criterion.
- Report findings with file and line, severity, and the rule broken.
Do not:
- Edit code. A fix is a new implementer task.
- Approve. A human integrates.
Output: a review report on the pull request.
Notice the reviewer does not fix things. Keeping the writer and the checker separate is the whole point of a second station. If the reviewer fixes things, you have one agent with extra steps and a fancier name.
The planner needs to read the code and the docs. It does not need to write files or run migrations. The reviewer needs to read a diff and maybe run the tests. The implementer needs to write inside its workspace and run the gates. Nobody in the line needs production credentials. Nobody. Not even “just for this one debugging session.”
Write these permissions down per station. Right now they are policy. In Part 3 the harness turns them into enforcement, which is a much stronger guarantee than “the prompt said not to.”
The last piece is a visible list of what is in flight: task, station, owner, workspace, the paths and contracts it owns, state, and the next decision. I described this in the post on keeping long-running agents on track. A markdown table in the repository works to start. A label scheme on your issue tracker works too. The point is that anyone, human or agent, can answer “is somebody already changing the orders contract?” before starting, not after the merge conflict.
Here is the step that feels slow and saves the most time. Before automating anything, run the line manually. A human picks a task, starts a planner session with the station definition, approves the plan, starts an implementer, runs the gates, starts a reviewer, and integrates. Like an animal.
You will find out fast where it leaks. The conventions doc is missing the thing every agent gets wrong. The fast gate takes eleven minutes. The issue template has no place for “this endpoint is called by the mobile app, which we cannot redeploy for two weeks.” Fix the line each time. That is the Learn station doing its job before the factory even has a conveyor belt.
At this point you have a factory floor: a bootable repo, written context, a standard unit of work, isolated workspaces, gates that cannot be skipped, station definitions, permissions on paper, and a register. Agents can run in it. Humans are still turning every crank.
Tomorrow in Part 3 we add the piece that turns stations on paper into stations that actually behave: the agentic harness. Then on Monday, in Part 4, we make the whole thing start up on its own.
Windows added a new way of deleting files, known as “posix-style delete”. You do it by opening the file with DELETE access and then calling SetFileInformationByHandle with FileDispositionInfoEx and a FILE_DISPOSITION_INFO_EX structure that specifies FILE_DISPOSITION_FLAG_POSIX_SEMANTICS in addition to FILE_DISPOSITION_FLAG_DELETE.
#include <wil/result_macros.h>
#include <wil/resource.h>
HRESULT DeleteWithPosixSemantics(PCWSTR path)
{
wil::unique_file h(CreateFileW(path,
DELETE, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
nullptr, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, nullptr));
RETURN_LAST_ERROR_IF(!h);
FILE_DISPOSITION_INFO_EX info{};
info.Flags = FILE_DISPOSITION_FLAG_DELETE | FILE_DISPOSITION_FLAG_POSIX_SEMANTICS;
RETURN_IF_WIN32_BOOL_FALSE(SetFileInformationByHandle(h.get(), FileDispositionInfoEx,
&info, sizeof(info)));
return S_OK;
}
Okay, that’s great, but what does Posix semantics mean?
Deleting a file consists of multiple steps. The most visible part is removing the directory entry. The less visible part is freeing up the disk space. And the invisible part is the various other internal bookkeeping that has to happen.
In a normal deletion, all three of the those steps happen when the last open handle is closed. This results in the situation where a file has been deleted, but there are still open handles to it, so the file remains visible in the directory even after you deleted it.
A file in this “I’ve already been deleted but am waiting for the last handle to be closed so I can start doing the deletion stuff” state will return STATUS_DELETE_PENDING if you try to open it. “Don’t open me. I’m a dead file walking.”
Deletion with Posix semantics separates out one of the steps: Removing the directory entry.
When you specify Posix semantics on deletion, closing the handle on which the deletion was issued causes the directory entry to be removed immediately. The rest of the work is then deferred until the last open handle to the file is closed.
What this means in the case where there is still an open handle to the file is that the directory entry disappears immediately, but the disk space is not scheduled for reclamation until the last handle is closed.
Note that I wrote “scheduled for reclamation”. When the last handle is closed, the system doesn’t reclaim the disk space as part of the handle-close operation. Rather, it puts “reclaim the disk space and clean up the metadata” on a work queue that it processes in the background.
This means that if you delete a file with Posix semantics, then the disk space will definitely not be reclaimed until the last handle is closed, and even after you close it, it may take a little while longer. How much longer depends on how busy the system is.
This delayed reclamation is an annoyance if the purpose of deleting the file was to free up disk space.
Deletion with Posix semantics does not change any of the other rules about file deletion, such as requiring DELETE access, and that all other open handles be opened with FILE_SHARE_DELETE sharing mode. All it affects is when the work of deletion happens.
| Normal delete | Delete with Posix semantics |
|
|---|---|---|
| Requires DELETE access | Yes | Yes |
| Requires all other handles to be FILE_SHARE_DELETE |
Yes | Yes |
| Filename disappears when… | All handles are closed | Deleting handle is closed |
| Disk space reclaimed… | When all handles are closed | After all handles are closed |
Bonus chatter: If you try to unmount a volume before the system can work through all of the deferred deletions, the unmount still occurs immediately, because we don’t want to slow down volume unmount. The deferred deletions will resume processing when the volume is remounted.
Bonus bonus chatter: If you ask for the final path name for a handle to a file that has been posix-style deleted, it returns you something like \\?\C:\$Extend\$Deleted\005200000007D9D9412284ED. This probably gives you a clue as to how posix-style delete works: The file is moved to a secret directory with a unique name. So the file still has a name; it’s just not the same that it was opened with.
The post What does Windows “posix-style delete” mean, and how do I get it? appeared first on The Old New Thing.
Flock is laying off 28 percent of its employees as its automated license plate readers (ALPRs) face backlash across the US. In an email to staff, Flock CEO Garrett Langley and chief people officer Paige Todd say the past year "has been the most challenging we've faced," as reported earlier by 404 Media and Axios. The layoffs could affect around 350 employees, according to Axios.
Dozens of cities have canceled their contracts with Flock after nationwide protests erupted over concerns about surveillance. Lawmakers have also taken notice, while numerous reports indicate that police officers have abused Flock's license plate reader systems to s …