Posts

[MS] What’s New in vcpkg (November 2024) - devamazonaws.blogspot.com

Image
This blog post summarizes changes to the vcpkg package manager as part of the 2024.11.16 registry release, 2024-11-12 tool release, as well as changes to vcpkg documentation throughout November. This release includes a command line option to force vcpkg to use classic mode even if a manifest file is found along with bug fixes. Some stats for this period: There are now 2,508 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. 20 new ports were added to the curated registry. 185 updates were made to existing ports. 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 13 main triplets . 88 contributors made commits (not counting the vcpkg maintainers). The main vcpkg repo has over 6,400 forks and 23,300 stars on GitHub. vcpkg changelog (2024.11.16 release) The following changes were ...

[MS] In C++, how can I make a default parameter be the this pointer of the caller?, revisited - devamazonaws.blogspot.com

Some time ago, we looked at making the default parameter of a method be the this pointer of the caller . The scenario was something like this: struct Property { Property(char const* name, int initial, Object* owner) : m_name(name), m_value(initial), m_owner(owner) {} ⟦ other methods elided - use your imagination ⟧ char const* m_name; Object* m_owner; int m_value; }; struct Widget : Object { Property Height{ "Height", 10, this }; Property Width{ "Width", 10, this }; }; and we didn't want to have to type this as the last parameter to all the Property constructors. We came up with this: template<typename D> struct PropertyHelper { Property Prop(char const* name, int initial) { return Property(name, initial, static_cast<D*>(this)); } }; struct Widget : Object, PropertyHelper<Widget> { Property Height = Prop("Height", 10); Property Width = Prop("Width", 10); }; Or, if...

[MS] Top 5 GitHub Copilot Features in Visual Studio from Microsoft Ignite 2024 - devamazonaws.blogspot.com

Image
At this year’s Microsoft Ignite, it was truly exciting to see Scott, Dalia, and Jessie demo some of the most innovative features of GitHub Copilot that are transforming the developer experience in Visual Studio. From the breakout session, we highlighted five standout features that are pushing productivity to the next level. Whether you're working on complex edits or crafting custom workflows, these tools showcase how AI can elevate your coding game in ways you never thought possible. [cta-button text="Watch the Ignite Session Here" url="https://ift.tt/LEmz5Tr" color="btn-primary"] *Note: It will take 24-48 hours after the session for the recording to be uploaded. 1. Copilot Edits: Collaborative Iterations It was amazing to see Copilot Edits in action. This new editing surface is designed for seamless multi-file changes, making large-scale updates across your project feel effortless. Imagine needing to redesign your UI or implement logic that spans m...

Amazon S3 Express One Zone is now available in three additional AWS Regions - devamazonaws.blogspot.com

The Amazon S3 Express One Zone storage class is now available in three additional AWS Regions: Asia Pacific (Mumbai), Europe (Ireland), and US East (Ohio). S3 Express One Zone is a high-performance, single-Availability Zone storage class purpose-built to deliver consistent single-digit millisecond data access for your most frequently accessed data and latency-sensitive applications. S3 Express One Zone delivers data access speed up to 10x faster and request costs up to 50% lower than S3 Standard. It enables workloads such as machine learning training, interactive analytics, and media content creation to achieve single-digit millisecond data access speed with high durability and availability. S3 Express One Zone is now generally available in seven AWS Regions . For information on AWS service and AWS Partner integrations with S3 Express One Zone, visit the S3 Express One Zone integrations page.  To learn more about S3 Express One Zone, visit the S3 User Guide . Post Updated on N...

Announcing AWS CloudFormation support for Recycle Bin rules - devamazonaws.blogspot.com

Today, AWS announces AWS CloudFormation support for Recycle Bin, a data recovery feature that enables restoration of accidentally deleted Amazon EBS Snapshots and EBS-backed AMIs. You can now use Recycle Bin rules as a resource in your AWS CloudFormation templates, stacks, and stack sets. Using AWS CloudFormation, you can now create, edit, and delete Recycle Bin rules as part of your CloudFormation templates and incorporate Recycle Bin rules into your automated infrastructure deployments. For example, region-level Recycle Bin rules protects all resources of the specified type in the AWS Region in which the rule is created. If you have a template that automates the provisioning of new accounts, you can now add a region-level Recycle Bin rule to it. This ensures that all EBS Snapshots and/or EBS-backed AMIs in those accounts are automatically protected from accidental deletions and stored in the Recycle Bin according to the region-level rule. This feature is now available in all AWS ...

AWS announces Block Public Access for Amazon Virtual Private Cloud - devamazonaws.blogspot.com

Today, AWS announced Virtual Private Cloud (VPC) Block Public Access (BPA), a new centralized declarative control that enables network and security administrators to authoritatively block Internet traffic for their VPCs. VPC BPA supersedes any other setting and ensures your VPC resources are protected from unfettered Internet access in compliance with your organizations security and governance policy. Amazon VPC allows customers to launch AWS resources in a logically isolated virtual network. Often times customers have thousands of AWS accounts and VPCs that are owned by multiple business units or application developer teams. Central administrators have the critical responsibility to ensure that resources in their VPCs are accessible to the public Internet in a highly controlled fashion. VPC BPA offers a single declarative control that allows admins to easily block Internet access to VPCs via the Internet Gateway or the Egress-only Internet Gateway and ensures that there is no uninte...

Amazon VPC Lattice now supports Amazon Elastic Container Service (Amazon ECS) - devamazonaws.blogspot.com

Amazon VPC Lattice now provides native integration with Amazon ECS , Amazon's fully managed container orchestration service that makes it easy for you to deploy, manage, and scale containerized applications. This launch enables VPC Lattice to offer comprehensive support across all major AWS compute services, including Amazon Elastic Compute Cloud (Amazon EC2), Amazon Elastic Kubernetes Service (Amazon EKS), AWS Lambda, Amazon ECS, and AWS Fargate. VPC Lattice is a managed application networking service that simplifies the process of connecting, securing, and monitoring applications across AWS compute services, allowing developers to focus on building applications that matter to their business while reducing time and resources spent on network setup and maintenance. With native ECS integration, you can now directly associate your ECS services with VPC Lattice target groups, eliminating the need for an intermediate Application Load Balancer (ALB). This streamlined integration redu...