Tackling a New Workshop Build With AutoCAD Web | AutoCAD Blog


AutoCAD Web is a fantastic tool with time-saving workflows that can make for seamless collaboration and accessibility between office and site, making your DWG files completely mobile. With AutoCAD Web, you have access to both AutoCAD on the web and on mobile. In this article, I’ll share how I put AutoCAD Web to the test for my own personal project.

I’m currently building a small, timber-framed building for a new workshop/office within an older, timber-framed outbuilding on our property in East Yorkshire, UK. While it’s a small project, I decided to apply AutoCAD technology to create simple, annotated drawings for ease of use. It was much easier than scribbling paper notes, sketches, and random notes on my iPad where references to those notes often got forgotten.

With no physical internet installed yet, I used my cell phone bandwidth with AutoCAD on mobile on an iPad Pro to update drawings so that I could work on them later with AutoCAD on my desktop in my temporary office in the house. Take this as you will, but you could (if you squint enough) relate this workflow to an office-based organization (with AutoCAD on desktop) collaborating with their site staff (AutoCAD on mobile) on a much larger project.

Initial Site Survey With AutoCAD Web

Existing dimensions needed to be obtained. This was for two main reasons: one was to get a good idea of the space available, and two was to ascertain (approximately) what quantities of materials were to be used. The outbuilding already had a reinforced concrete floor, so a damp-proof membrane (DPM) was needed for a raised, insulated timber floor. Timber framing with acoustic insulation was needed for the walls, allowing for door and window openings where required.

I started with my iPad Pro with AutoCAD Web, an Apple pencil, and a laser measure. The original outbuilding resembled a farmyard barn: timber framed with a pitched roof and large double barn-style doors to the front. I needed an overall plan to decide on the location of the new office building within the original outbuilding, and this is where my drawing up of the plans began on AutoCAD Web in earnest. It has all the legacy AutoCAD technology I needed, so I could draw full size in the Model tab and start to develop my existing plan drawing from the surveyed information on the go.

Computer and measurement equipment

The drawing excerpt (below) shows a draft plan of the concrete slab and front elevation, tidied up in AutoCAD desktop after saving to the cloud using Microsoft OneDrive. From drawing up the initial survey on my iPad using AutoCAD on mobile, it was then displayed in a layout tab using a simple portrait title block set to an ISO A4 metric sheet size. The viewport was set to 1:50.

AutoCAD drawing

All AutoCAD settings (such as object snaps, etc.) were initially set in AutoCAD Web, and any necessary refinements were completed in AutoCAD on desktop, as already mentioned. This is how easy it is to collaborate with AutoCAD Web when uploading your original DWG files to the cloud. It also gave me the dimensions to plan the new office building within the original outbuilding.

Utilizing the cloud, collaboration is seamless, reduces, time and effort, and removes many of the pain points and translated errors we used to have when drawings were sent via email as attachments and PDFs. You can still collaborate that way, but it is more of an A-B-C workflow. Now you can go directly from A to C.

Starting the New Build

Using the initial site survey information from the cloud on my AutoCAD desktop, I was able to develop the area to be used for the new office space, leaving workshop space around it for all my tools and racking for storage. This was a simple AutoCAD workflow with the floor plan space of the existing RC slab to space out the timber frames for the walls and timber floor frame. This allowed me to calculate the quantities of proprietary timber panels required to floor out the office and calculate the square area of DPM and floor insulation needed.

The drawing below shows the timber frame floor layout with the chipboard floor panels hatched. Each chipboard panel was a rectangular polyline drawn in AutoCAD on mobile, thus providing the total usable floor area, which, when divided by the area of the proprietary floor panels cut to size, allowed for a quantity and cost calculation for the office flooring.

AutoCAD drawing of timber frame floor layout with proprietary chipboard flooring panels hatched.
The proposed timber frame floor layout with proprietary chipboard flooring panels hatched.

NOTE: Take note of the bold outline of the reinforced concrete slab. The new office build sits middle-right, allowing for plenty of space around it for racking and tool storage. The door swing bottom-right is the entrance to the right half of the original outbuilding.

Letting in the Light

The old outbuilding was initially used as a welding workshop for large machinery. The lighting was archaic. The very old, dirty fluorescent light tubes were not only dangerous (especially when hit with a stepladder in error; been there, done that) but had old wiring that left a lot to be desired. A professional electrician was needed, and I prepared a drawing for the spacings of new light fittings and power sockets. Again, the iPad Pro and AutoCAD Web were used to measure and define the boundary of the new office area and the lighting positions, as shown below.

A comprehensive electrical drawing was created with AutoCAD desktop for the electrical refit, which was based on drawing revisions made with AutoCAD Web, using my iPad Pro. This, in turn, made for a much quicker electrical installation, saving time and money as the electrician could utilize the drawing provided and ensuring all electrical fixtures and fittings were placed quickly and accurately.

Electrical plan in AutoCAD
The electrical plan includes all dimensions, fixtures, and fittings, displayed in a layout tab on AutoCAD desktop.

As you can now see, utilizing AutoCAD Web for working on site and uploading edits and changes to the cloud made for quick and effective collaboration to create accurate drawings on the AutoCAD desktop to communicate design intent effectively. Imagine a large remote commercial building site, sending variations and edits via the cloud in real-time to the CAD team in the office for a quick turnaround on the project drawings.

Up in the Clouds

I have mentioned the cloud several times, and AutoCAD Web uses the cloud to the fullest. It is a fantastic way to collaborate with drawings, and AutoCAD Web offers numerous ways to interact with the cloud using several proprietary cloud-based offerings. With your drawings for a project in the cloud, you could use the AutoCAD Web & Mobile folders, OneDrive, or Dropbox. AutoCAD Web has you covered for all eventualities. It supports the following:

And, in its latest 2024 iteration, you can even browse to a local file location.

The various cloud storage provisions available in AutoCAD Web
The various cloud storage provisions available in AutoCAD Web.

On-the-go Access

The pandemic forced us to work differently. We often work from home or on site rather than being traditionally office-based. No matter where the projects we are working on are nowadays, our phones and tablets allow us to organize our calendars and meetings, read PDFs, and check our emails. We can even jump on a Zoom call if we need to.

Our tablets simply give the same access, with larger touchscreens and even more capability, just as my iPad Pro does. Plus, if you are like me, I love using an Apple Pencil on my iPad Pro when using AutoCAD Web. This level of access to our DWG files is incredibly useful. I mentioned my Apple Pencil. It allows me to draw up my survey information on the iPad and save it to a DWG in the cloud, which I then open on the AutoCAD desktop to refine and create a working CAD drawing.

Summing It Up

On a personal level, I love the technology that AutoCAD Web provides. So much so that I am practicing what I preach and using it for my new office build. I am doing that because it works.

On a commercial level, AutoCAD Web is a superb tool for collaboration between team members and stakeholders on multiple projects. Drawings can be shared quickly with easy dialogue between team members when urgent changes to the DWG files need to be made. That, combined with the new features and tools that Autodesk are working hard to include in the AutoCAD Web, makes for a very capable set of tools for anyone who needs to work on the go and take AutoCAD and their drawings on the road with them.

Astro Bot Preorders Are Live – The PS5 Exclusive Comes With An Adorable Bonus


One of the biggest announcements during last week’s PlayStation State of Play livestream was Astro Bot, the full-fledged sequel to the excellent Astro’s Playroom that comes preinstalled on PS5. Just like Astro’s Playroom, Astro Bot is a 3D puzzle-platformer that pays homage to PlayStation history and makes heavy use of the PS5 DualSense controller’s many unique features like haptic feedback and dynamic triggers. However, this time, we’re getting a full-length game (with no microtransactions) that’s much bigger than Astro’s previous adventures.

Astro Bot is set to launch on September 6 and will be available in standard, digital, and deluxe versions. Preorders are live now for the physical standard edition, and digital preorders will be available on June 7. The physical edition comes with a cool poster, and all editions include early unlocks for in-game content.

Astro Bot Preorder Bonuses

Astro Bot Preorder Bonuses
Astro Bot Preorder Bonuses

If you preorder the physical edition of Astro Bot ahead of its September 6 release date, you’ll get an exclusive double-sided poster. You can see a preview of the very cute poster below.

Preorders also let you immediately unlock the Lovestruck Lyricist in-game outfit for Astro, which is based on Parappa The Rapper, immediately at launch. You’ll receive two PSN avatars–one of Astro in his normal outfit and another of him wearing the Parappa getup–and the Glorious Graffiti skin for Astro’s Dual Speeder vehicle. These items can be unlocked in the game without preordering, but buying one of the physical or digital editions early lets you access them from the jump.

If you go the digital download route, you can grab the game in a digital standard or digital deluxe version. You’ll miss out on the double-sided poster, but still get all the preorder bonuses listed above.

Preview of Astro Bot double-sided poster
Preview of Astro Bot double-sided poster

Astro Bot’s Digital Deluxe edition also has several exclusive items, including 10 more PSN avatars, a digital art gallery, and a digital soundtrack. It also lets you unlock Astro’s Yharnam Tourist outfit, Golden outfit, and two more Dual Speeder paint colors early (all the outfits and paint colors are available in the base game, too).

According to the game’s reveal trailer and details shared on the official PlayStation Blog, Astro Bot will feature over 80 levels spread across six galaxies players will explore. Each planet has its own biome–such as volcanoes, forests, and beaches–and will feature a variety of puzzles, platforming challenges, and enemies that players will overcome using the 15 new special items and abilities Astro unlocks throughout the game. That makes Astro Bot a significantly bigger adventure than Astro’s Playroom and PSVR’s Astro Bot Rescue Mission. We’re eager to see how Team Asobi expands the gameplay this time around.

Astro Bot launches for PS5 on September 6.

Visual Studio Code May 2024


Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap


Welcome to the May 2024 release of Visual Studio Code. There are many updates in this version that we hope you’ll like, some of the key highlights include:

If you’d like to read these release notes online, go to Updates on code.visualstudio.com.
Insiders: Want to try new features as soon as possible? You can download the nightly Insiders build and try the latest updates as soon as they are available.

Accessibility

Set keybindings from the accessibility help dialog

Accessibility help dialogs give you an overview of important commands for a feature or view. When a command lacks a keybinding assignment, you can now configure it from within the accessibility help dialog with ⌥K (Windows, Linux Alt+K).

Experimental: signal delay settings

When the setting Debounce position changes is enabled, you can use the setting Signal options delays to customize the debouncing time for various accessibility signals.

Workbench

Editor tabs multi select

You can now select multiple tabs simultaneously, enabling you to apply actions to multiple editors at once. This new feature enables you to move, pin, or close several tabs with a single action. To add another tab to your selection, use Ctrl + Click (Cmd + Click on macOS). To select a range of tabs, use Shift + Click.

Always show editor actions

We are introducing the Always Show Editor Actions setting. When you enable this setting, the editor title actions of each editor group are always shown, regardless of whether the editor is active or not.

When the setting is not enabled (default value), the editor actions are only shown when the editor is active:

Editor Actions of each group when the setting is disabled

If you enable the setting, the editor actions are always available, even when the editor is not active:

Editor Actions of each group when the setting is enabled

Set disable-lcd-text as a runtime argument

With disable-lcd-text, you can disable RGB subpixel rendering on Windows. The disable-lcd-text setting is now supported as a runtime argument in the argv.json file. Previously, it was only available as an undocumented CLI flag. Use the Preferences: Configure Runtime Arguments command to configure the runtime arguments.

In the following image you can see a side-by-side comparison, where on the left side disable-lcd-text is true, and on the right side it is false.

Comparison showing that disable-lcd-text disables RGB subpixel rendering

Theme: Light Pink (preview on vscode.dev)

Configure custom profile for new window

Previously, when you opened a new VS Code window, it used the profile of the active window or the default profile, if there was no active window. You can now specify which profile should be used when opening a new window by configuring the window.newWindowProfile setting.

Configure custom profile for new window

Source Control

Focus input/resource group commands

This milestone, we have added several workbench commands, so that you can create keyboard shortcuts for them:

  • Focus on the next or previous source control input field: workbench.scm.action.focusNextInput, workbench.scm.action.focusPreviousInput
  • Focus on the next or previous resource group within a repository: workbench.scm.action.focusNextResourceGroup, workbench.scm.action.focusPreviousResourceGroup

Notebooks

Find in cell selection

When you’re in a notebook, you can now use the Find control to search within specific ranges of selected cells.

After you set notebook.experimental.find.scope.enabled to true, the Find in Cell Selection toggle will be available in the Find control. You can then select a range of cells and either open the Find control or, if it’s already open, select the “Find in Cell Selection” button.

Notebook Format Code Actions

Notebooks now support a new kind of Code Action, which is defined with the notebook.format Code Action Kind prefix. These Code Actions can be triggered automatically via an explicit formatting request (using the command Notebook: Format Notebook) or a formatting on save request.

These can be used to provide more powerful formatting, through the use of Workspace Edits and Notebook Edits. To get started, check out an example extension in the vscode-extension-samples repository.

Terminal

⚠️ Removal of the canvas renderer

The canvas renderer was deprecated in the VS Code 1.89 release and is now removed completely. This means that on the small number of machines that do not support WebGL2, the terminal now uses the DOM-based renderer. You can read more about GPU acceleration in the terminal documentation.

Rescaling overlapping glyph in the terminal

The setting terminal.integrated.rescaleOverlappingGlyphs, introduced as a preview feature in the VS Code 1.88 release, is now enabled by default. This feature rescales glyphs that overlap following cells that are intended to cover ambiguous-width characters, and which might have font glyphs that don’t match what the backing pty/unicode version thinks it is.

For example, in most fonts the roman numeral unicode characters (U+2160+) typically takes up multiple cells, so they are rescaled horizontally when this setting is enabled.

Without rescaling:

Before the glyphs for Ⅷ and Ⅻ depending on the font would always overlap the following cells

With rescaling:

After the glyphs for Ⅷ and Ⅻ depending on the font are rescaled horizontally to fit a single cell

Contributions to extensions

GitHub Copilot

Attach context to chat

To make your chat prompts more specific, you can add context to your chat messages. You can now attach more types of context to a chat message, such as workspace symbols. Previously, you used the ‘#’ symbol to reference a file, or the current selection. Now, you can attach context to a chat message by selecting the 📎 icon in the Chat view input field, or by typing ⌘/ (Windows, Linux Ctrl+/).

Tip: Use the right arrow key to quickly attach context in the background while you keep the context picker open. When you’re in the editor, you can also right-click on a selection and choose Copilot > Add Selection to Chat.

Ask questions using Bing search and enterprise knowledge bases

GitHub Copilot Enterprise users in VS Code can now ask questions that are enriched with context from web results and your enterprise’s knowledge bases. To try out this functionality, install the latest pre-release of Copilot Chat.

In the Chat view, you can ask questions like @github What is the latest LTS of Node.js? #web to take advantage of web search. Any search results referenced by Copilot are displayed in the Used References section of the chat response.

Web search results in Copilot Chat

You can also ask questions about your enterprise’s knowledge bases, which are collections of Markdown repositories containing documentation, directly from VS Code. Simply type @github #kb to pick from the knowledge bases available to you. Similarly, any knowledge base snippets referenced by Copilot are displayed in the Used References section of the chat response.

This enables Copilot Enterprise users to combine search results and internal documentation with editor context by using existing chat variables, such as #file and #selection. Please try it out and share your feedback with us at https://github.com/microsoft/vscode-copilot-release!

IntelliSense in chat code blocks

We now support basic IntelliSense within Copilot-generated code blocks. This lets you use many of the same IntelliSense tools that you might already use in the editor and can help you better understand the generated code.

Hover IntelliSense in Copilot chat code block

The supported IntelliSense features include:

  • Go to definition by using ctrl click / cmd click or F12
  • Hovers
  • Go to implementation
  • Go to type definition

IntelliSense can even be used with @workspace to learn about any workspace symbols that are used in Copilot responses.

IntelliSense for TypeScript, JavaScript, HTML, and CSS code blocks is available out of the box. For additional language support, try installing an extension for that language, although not every language extension already has support for code block IntelliSense. Please file feature requests for any languages that aren’t yet supporting this.

We improved chat responses by adding links for file names and symbols. By selecting these links, you can navigate to the corresponding file or symbol in the editor.

Clickable links for symbols used with /explain

Clickable file and symbol links for an @workspace question

Roam active chat between inline chat and Chat view

You can now move a chat request that is completed or still active from inline chat to the Chat view. You might use this feature to clean up inline chat and move conversations to a more persistent place. To move a request, select the chat icon next to the chat input box.

Move a chat conversation from inline chat to the Chat view

Automatic rename suggestions

If you use the Copilot Chat extension, the Copilot-powered rename suggestions are now triggered automatically when you rename a symbol. You can turn this feature off by using the setting github.copilot.renameSuggestions.triggerAutomatically.

Python

Testing bug fixes

The experience with pytest when using the Python Testing Rewrite has been improved to offer better support for setting pytest’s cwd when it is adjacent to the VS Code workspace root, and for displaying parameterized tests on the test explorer when function names are repeated across classes.

Additionally, we reduced some test discovery failure scenarios by adding the system configuration script path to PATH to enable shell for test execution.

Experimental: Python Native REPL with Intellisense and Syntax Highlighting

You can now run your Python code in an editor-like REPL environment equipped with features like Intellisense and syntax highlighting to make interactions with the REPL more efficient. To enable this feature, set "python.REPL.sendToNativeREPL": true in your settings.json file. This will execute code in the Python Native REPL on Shift+Enter and Run Selection/Line.

You can opt to use the in-terminal Python REPL ( >>> ) by setting "python.REPL.sendToNativeREPL": false in your settings.json. Moreover, the Python Native REPL will smartly execute on Enter, similar to Python’s original interactive interpreter, if you add the setting "interactiveWindow.executeWithShiftEnter": false, in your settings.json.

GitHub Pull Requests and Issues

There has been more progress on the GitHub Pull Requests extension, which enables you to work on, create, and manage pull requests and issues. Review the changelog for the 0.90.0 release of the extension to learn about the other highlights.

VS Code Speech

We added support for text-to-speech capabilities to the VS Code Speech extension. A new setting accessibility.voice.autoSynthesize can be enabled to automatically read out aloud Copilot Chat responses when voice was also used as input.

Notice how the microphone icon in the input field changes, indicating that text is read out aloud. To interrupt the synthesis, select the icon or press Escape.

Each chat response also shows a new speaker icon, so that you can selectively read out a response aloud:

Text to Speech for a Chat Response

You can change the language that is used for text-to-speech via the existing accessibility.voice.speechLanguage setting.

Preview Features

VS Code-native IntelliSense for PowerShell

In addition to several reliability improvements, we made the following changes to PowerShell IntelliSense in the terminal:

  • terminal.integrated.shellIntegration.suggestEnabled has changed to terminal.integrated.suggest.enabled
  • The new terminal.integrated.suggest.quickSuggestions controls whether suggestions are shown when you type after whitespace
  • The new terminal.integrated.suggest.suggestOnTriggerCharacters controls whether suggestions are shown when you type /, \ or -

TypeScript 5.5

We continued improving our support for the upcoming TypeScript 5.5 release. Check out the TypeScript 5.5 beta blog post and iteration plan for details on this release.

To start using the TypeScript 5.5 beta, install the TypeScript Nightly extension. Please share feedback and let us know if you run into any bugs with TypeScript 5.5.

Issue Reporter for Web

We have improved the issue reporting flow in VS Code for the Web to match what users currently have on desktop. Selecting Help: Report Issue opens the issue reporter page in a new window, where users can select a bug type, source, and extension if necessary. Extension information, system information, and more is automatically attached to the issue that is created in GitHub.

This feature is currently disabled by default on this release, but please share feedback on it by turning on the issueReporter.experimental.webReporter setting.

Extension authoring

Use esbuild for extensions

The yo code extension generators for TypeScript and Web now have an option to use esbuild as bundler. When you select esbuild, this creates a esbuild.js build script and adds script entries in package.json and build tasks in .vscode/tasks.json.

To use esbuild in existing extensions, check out the bundling extensions and the web extensions guides.

You can find a sample project at vscode-extension-samples/esbuild-sample.

Chat and Language Model API

We have finalized APIs that enable extensions to participate in chat and to access language models. See the extension sample and the chat extensions doc page for more information, or watch the Enhancing VS Code extensions with GitHub Copilot talk we delivered at the Microsoft Build conference.

Important: These APIs are finalized but are currently only available in VS Code Insiders.

Chat Participants

The Chat Participants API enables extensions to extend GitHub Copilot Chat with a chat participant that can be invoked in the chat input field with @. The participant can reply to user requests with markdown, a file tree, buttons to run VS Code commands, or other types of content.

Chat Participant example in the Chat view

Language Model

The Language Model API enables access to Copilot’s chat models, such as gpt-3.5 and gpt-4. This API can be used for chat participants but also to enrich other features. The API is built around LanguageModelChat objects, which are used for chat requests and for counting tokens.

The only way to access chat objects is the vscode.lm.selectChatModels function. The function accepts a selector to narrow down on different properties of chat models, for example by vendor, family, version, or identifier. The values are relatively free-form and must be looked up in the documentation of the extensions that provide them. Today, only the Copilot Chat extension contributes chat models. It uses the copilot vendor and current families are gpt-3.5-turbo and gpt-4 but are subject to change.

The snippet shows how to select all chat models from the copilot-vendor:

const models = await vscode.lm.selectChatModels({
  vendor: 'copilot'
});

if (models.length === 0) {
  // no models available
  return;
}

Two things are very important when callng selectChatModels

  1. The function returns an empty array if no models are available and extensions must handle this case.
  2. Copilot’s chat models require consent from the user before an extension can use them. Consent is implemented as authentication dialog. Because of that, selectChatModels should be called as part of a user-initiated action like a command, and not “out of the blue”.

With a chat object at hand, extensions can now use it to send chat requests. The following snippet shows how to send a chat request and process the response stream.

// take the first model and say "Hello"
const [chat] = models;
const messages = [vscode.LanguageModelChatMessage.User('Hello')];
const response = await chat.sendRequest(messages);

// the response is always an async iterable that can be consumed with for-await
for await (const part of response.text) {
  console.log(part);
}

This is the gist of the language model API. Head over to https://github.com/microsoft/vscode-extension-samples/tree/main/chat-sample for a more complete example. Stay tuned for more samples, documentation, and further extensions of the API.

The Java extension for VS Code is already using the Language Model API to provide Copilot-based rewrite capabilities for your Java code. Learn more about these updates in the Java in Visual Studio Code May 2024 blog post.

@vscode/prompt-tsx library

To aid with developing GitHub Copilot extensions for VS Code, we’ve developed and published a TSX-based library for declaring complex prompts and converting them to chat messages, subject to your LLM’s context window limits. In developing this, we took inspiration from Anysphere’s priompt library. If you’re an extension author who is planning to use the chat and language model APIs, consider trying out the latest alpha release of this library: https://www.npmjs.com/package/@vscode/prompt-tsx

Extending GitHub Copilot through GitHub Apps

It is also possible to extend GitHub Copilot by contributing a GitHub App. This GitHub App can contribute a chat participant in the Chat view, which you can invoke with @. A GitHub App is backed by a service and works across all GitHub Copilot surfaces, such as github.com, Visual Studio, or VS Code. GitHub Apps do not have full access to the VS Code API. To extend GitHub Copilot through a GitHub App, you should join the Copilot Partner Program. You can learn more by watching the Extending GitHub Copilot talk we delivered at the Microsoft Build conference.

Debug Stack Focus API

VS Code now exposes what stack frame and thread are focused in the Debug view via a new API. vscode.debug.activeStackItem retrieves what stack item (thread or stack frame) is currently focused, and vscode.debug.onDidChangeActiveStackItem is an event that fires when that changes.

This is useful in conjunction with APIs that extend VS Code’s debug capabilities, such as ones that use the DebugAdapterTracker. Learn more about creating a debugger extension.

TestRunRequest.preserveFocus API

Previously, test runs that were triggered by extensions would never move focus into the Test Results view in the same way that UI-initiated runs did. This behavior is now configurable via a preserveFocus flag that can be set when creating a TestRunRequest. This flag defaults to true to maintain backwards compatibility.

Proposed APIs

Attributable test coverage

We’re working on an API that enables attributing test coverage on a per-test basis. This lets users see which tests ran which code, filtering both the coverage shown in the editor and that in the Test Coverage view. Check vscode#212196 for more information and updates.

Hover Verbosity Level

Last milestone, a new API was proposed to provide hovers for which the verbosity can be increased or decreased. This milestone, the API has changed so that the HoverVerbosityRequest uses a verbosityDelta to signal the relative increase or decrease in the hover verbosity level. Previously, the HoverVerbosityRequest used an enum HoverVerbosityAction to signal if the verbosity should be increased or decreased.

Engineering

Tracking memory efficiency on startup

We measure startup performance of VS Code insiders every day across Windows, macOS and Linux. Our main interest is how fast startup is until a text file is opened.

This month we added another metric that we plan to improve to make startup even faster: how much memory do we consume and how much of that memory ends up being garbage collected by V8. If we can bring that number down, startup time will be less affected by V8 garbage collection runs.

Memory consumption statistics for VS Code

Electron 29 update

In this milestone, we are promoting the Electron 29 update to users on our stable release. This update comes with Chromium 122.0.6261.156 and Node.js 20.9.0. We want to thank everyone who self-hosted on Insiders builds and provided early feedback.

Notable fixes

  • 212386 Local history: does not preserve entries from previously deleted file
  • 213645 Aux window does not work in Firefox
  • vscode-js-debug#2000/2002 the JavaScript debugger is faster, especially dealing with source map renames

Thank you

Last but certainly not least, a big Thank You to the contributors of VS Code.

Issue tracking

Contributions to our issue tracking:

Pull requests

Contributions to vscode:

Contributions to vscode-eslint:

Contributions to vscode-extension-samples:

Contributions to vscode-generator-code:

Contributions to vscode-hexeditor:

Contributions to vscode-languageserver-node:

Contributions to vscode-mypy:

Contributions to vscode-remote-try-dotnet:

Contributions to language-server-protocol:

Contributions to monaco-editor:

GOG Will Start Deleting Cloud Saves This Summer


Losing an important saved game can be painful and disheartening, but today’s gaming platforms make that much harder than it used to be. The cloud save feature of services like Steam and GOG can keep your saves safe and sync them between machines—unless they get deleted for taking up too much space. That’s what GOG has planned, so you might want to take a look at your beefy saves.

GOG, a subsidiary of Poland-based CD Projekt, offers a wide array of games from publishers like Bethesda, Ubisoft, Larian Studios, and, of course, CD Projekt Red (CDPR). Many of those titles are configured to back up their saves in the GOG cloud, which means you can reinstall an old game or play on multiple machines without worrying about managing those save files manually. Well, as long as they don’t exceed 200MB.

The company has recently announced a culling of old save files stored in its cloud. GOG has had a limit on save files for some time, but it has not been enforced. The limit is 200MB per game, which doesn’t seem like very much for a company that has traditionally been very gamer-friendly. In Cyberpunk 2077 (a CDPR game), my 75% playthrough takes up 298MB. It’s not uncommon for the save folder for open-world games to balloon to multiple gigabytes.

On one hand, it’s understandable that GOG wouldn’t want to store an unlimited amount of save data, but the 200MB cap is aggressive. It’s going to require more careful storage management for gamers who like to retain all their progress. If you can cope with only having your most recent save files available in the cloud, GOG’s new policy might not bother you.

GOG save files

The GOG website lets you manually remove save files.
Credit: GOG

The good news is you’ve got some time to clean up your saved games in GOG. The company will begin deleting game saves that exceed the limit on Aug 31. When the deadline rolls around, GOG will delete saves for each game, beginning with the oldest until it’s below the 200MB threshold. That means your newest saves will survive.

You can get ahead of the culling and remove the saves of your choice with surprising ease. GOG has a web interface for managing your saved games. It lists the total storage used for each title, allowing you to select individual saves to delete from the cloud. There is still some hope for digital hoarders. GOG won’t delete save files that are currently synced to your PC, so you can back those files up however you like outside of GOG’s cloud. You can also use the GOG desktop client to download cloud save files even if you don’t have the game installed.

Best Phone to Buy for 2024


We test every phone in real-world scenarios, focusing on its features, design, performance, cameras, battery life and overall value. We document our findings in an initial review that is periodically updated when there are new software updates, or to compare it against new phones from competitors such as Apple, Samsung, Google and OnePlus.

A man holding an iPhone 14 Pro outdoors on a remote hillside A man holding an iPhone 14 Pro outdoors on a remote hillside

Emergency SOS debuted on the iPhone 14 series and we got to test the feature out to see how it works.

Kevin Heinz/CNET

Photography

Photography is a major focus for most phones these days, so we take pictures and videos of various subjects in a variety of settings and lighting scenarios. We try out any new camera modes, such as ProRes Log video that debuted with the iPhone 15 Pro and 15 Pro Max, or the Magic Editor photo tool that launched with the Google Pixel 8 series.

Battery life

Battery testing is conducted in a variety of ways. We assess how long a phone lasts during a typical day of use and note how it performs during more focused sessions of video calls, media streaming and gaming. We also conduct a video playback test, as a simple, replicable measure of pure battery life, which isn’t always included in the initial review but sometimes added later in an update.

Performance measuring

We use benchmarking apps to measure each phone’s performance, alongside our own anecdotal experiences using the phone for our review. Most noteworthy is how graphics and animations look. Are they smooth? Do they lag or stutter? We also look at how quickly the phone switches between horizontal and vertical orientations, and how fast the camera app opens and is ready to take a photo.

alpine-green-iphone-13-pro alpine-green-iphone-13-pro

We also test every phone we review for the basics like making a phone call.

Kevin Heinz/CNET

We perform processor-heavy tasks like editing photos, exporting videos and playing games. We evaluate whether a newer version of a particular phone includes enough features to make it worth upgrading from older models.

Read more: How We Test Phones



Google Is Now Reducing AI in Search Results, According to New Research


BrightEdge, a leading AI-powered SEO platform for enterprises, has some new exclusive research on how Google’s AI Overviews—and AI in general—are impacting search.

I sat down with BrightEdge founder and executive chairman Jim Yu to learn more about how AI is shaking up search. Continue reading “Google Is Now Reducing AI in Search Results, According to New Research”

Where to unlock all custom deliveries in FFXIV


If you’re looking to level up your crafters and gatherers in Final Fantasy 14, completing weekly custom deliveries to eager clients is a great way to amass both EXP and scrips (the crafting/gathering currency).

Below, we explain how custom deliveries work in FFXIV and how to unlock them all.


Custom deliveries in FFXIV, explained

Custom deliveries are weekly quests you can complete to earn lots of crafting and gathering EXP and scrips. You’ll also gain satisfaction for each character you do deliveries for and their satisfaction levels will rise, teaching you more about the character. You can only complete a total of 12 custom deliveries per week and six per specific NPC. Deliveries reset every Tuesday morning.

Every week the clients will ask for a list of items that you can either craft or gather. You can check what items they want without even talking to them via opening the “duty” menu, selecting “timers,” and then selecting “custom deliveries.” (It’ll only show you the clients if you have them unlocked, though.)

The custom delivery menu in-game, showing what Ameliance wants this week in FFXIV

Image: Square Enix via Polygon

You can buy all the materials needed for crafting from nearby merchants. For example, Zhloe and Adkiragh’s materials are bought from the Scrap Salvager in Idyllshire and Kurenai’s materials can be purchased from the Blue Merchant across from her in Tamamizu.

For gathering, you can check where the gathering nodes are by opening the custom delivery menu for that client, selecting the fish or gatherable, and selecting “display location” or “search for item by gathering method” respectively.

The higher collectability your crafted or gathered turn-in has, the more EXP and scrips you’ll get in return. Scrips can be used to purchase important crafting materials, materia, décor, and other useful loot from Scrip Exchange NPCs. Notably, you can use scrips to get some of the materials you need for your Heavensward Anima relic weapon.

Also, once you max out the client’s satisfaction, you can glamour them, dressing them up in whatever outfit you want. You can do this for all the clients except M’naago and Ehll Tou.


Rewards from custom deliveries

While EXP and scrips is a bountiful enough reward, some of the custom deliveries give out special rewards that are worth grabbing:

To get the above rewards, you’ll need to reach max satisfaction with these clients and complete a quest (given by the client) after doing so.

You’ll also get two titles from each client after reaching max satisfaction with them and after delivering 150 collectables to them.


Where to unlock all custom deliveries in FFXIV

Before you unlock custom deliveries, you need to unlock collectables, if you haven’t already. You can do this by completing the quest “Inscrutable Tastes” from Morgayne in the Foundation (Ishgard). You will also need to be at least level 50 in a crafting or gathering job to unlock collectables, but the first custom delivery client is available starting at level 55.

You will also have to complete these short conversation quests to unlock scrip exchanges and vendors for each expansion:

  • Heavensward: “Go West, Craftsman” from Lydirlona in Mor Dhona
  • Stormblood: “Reach Long and Prosper” from Galiena in Rhalgr’s Reach
  • Shadowbringers: “The Boutique Always Wins” from Mowen in Eulmore
  • Endwalker: “Expanding House of Splendors” from Ofpilona in Radz-at-Han

Two of the clients require you to unlock The Firmament, the hub for Ishgard Restoration. You can do this by completing the quest “Towards the Firmament” via the Recruitment Notice flyer near the Ishgard Aetheryte. You’ll need to complete most of this questline to unlock Ehll Tou and you’ll actually need all of it to unlock Charlemend, so you might as well do it all (unless you hate Charlemend for some reason).

a blue quest marker on a “Recruitment Notice” NPC flyer on a wall in FFXIV

Image: Square Enix via Polygon

As usual, these quests (and the ones to unlock the actual deliveries) are marked with a blue quest marker with a plus sign, so you should be able to find it just by opening your map and seeking out that icon.

Below, you can see where to unlock all of the custom deliveries in FFXIV.

FFXIV custom delivery quests and requirements

NPC name NPC location Level Unlock quest Quest NPC Quest location Other requirements
NPC name NPC location Level Unlock quest Quest NPC Quest location Other requirements
Zhloe Aliapoh Idyllshire 55 Arms Wide Open Geimlona Idyllshire (5.7, 6.9) Requires Heavensward expansion
M’naago Rhalgr’s Reach 60 None Forgotten, None Forsaken Galiena Rhalgr’s Reach (9.8, 12.5) Requires Stormblood expansion, “Return of the Bull” MSQ completed
Kurenai The Ruby Sea 62 The Seaweed is Always Greener Kojin Hireling Kugane (10.1, 9.9) Requires Stormblood expansion, M’naago’s deliveries unlocked, side quest line for “The Palace of Lost Souls” completed
Adkiragh Idyllshire 66 Between a Rock and the Hard Place Geimlona Idyllshire (5.7, 6.9) Requires Stormblood expansion, Zhloe’s deliveries unlocked, “Stormblood” MSQ completed, “Purbol Rain” side quest completed
Kai-Shirr Eulmore 70 Oh, Beehive Yourself Kai-Shirr Eulmore (11.7, 11.7) Requires Shadowbringers expansion, “Moving Forward” MSQ completed
Ehll Tou The Firmament 70 O Crafter, My Crafter Ehll Tou The Firmament (13.5, 11.2) Requires Stormblood expansion, The Firmament unlocked via “Towards the Firmament” side quest, side quest line for Ishgard Restoration completed up until at least Ehll Tou appears, Ehll Tou side quest “If Songs had Wings” completed
Charlemend The Firmament 70 You Can Count on It Francel The Firmament (11, 14.5) Requires Stormblood expansion, side quest line for Ishgard Restoration completed, Charlemend side quest “The Brume Lifts” completed
Ameliance Old Sharlayan 80 Of Mothers and Merchants Well-dressed Attendant Old Sharlayan (12.6, 9.7) Requires Endwalker expansion, “Endwalker” MSQ completed
Anden Il Mheg 80 That’s So Anden Supplicant Sheep The Crystarium (9.3, 11.3) Requires Endwalker expansion, “Endwalker” MSQ completed
Margrat Labryinthos 80 A Request of One’s Own Theopauldin Old Sharlayan (13.8, 15) Requires Endwalker expansion, “Going Haam” MSQ completed

If you’re just starting out in the massive world of Final Fantasy 14, we have tons of guides to help you. We have a beginner’s guide to get you started, along with guides detailing when you’ll get your mount and which Grand Company you should join.

If you’re starting but are feeling overwhelmed, we have guides to help with picking a job and a guide that explains how long it may take to catch up to current content in FFXIV.

We also have guides on side content, like ocean fishing, relic weapons, and Island Sanctuary, for those who want to take a break from it all.

visual studio – Outlook COM based C++ Addin to Capture Sent Items


I am trying to add a record to log file when Email is sent from outlook using com addins. I intialized an interface and registered for Outlook::ApplicationEvents using DispEventAdvise method. The program fails to execute the Onsend Method. I build the addin and tried to load in Outlook. I am unable to trigger the sent email function.

// Connect.h : Declaration of the CConnect

#pragma once    
#include "TestAddin2_i.h"
#include "resource.h"
#include <iostream>
#include <fstream>
#include <atlbase.h>
#include <atlcom.h>
#include <atlctl.h> 
#include <Ole2.h>
#import "C:\Program Files\Microsoft Office\root\Office16\MSOUTL.OLB" raw_interfaces_only, raw_native_types, named_guids, auto_rename

_ATL_FUNC_INFO fiMailItemEvents = { CC_STDCALL, VT_EMPTY, 1, {VT_DISPATCH | VT_BYREF} };

#if defined(_WIN32_WCE) && !defined(_CE_DCOM) && !defined(_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA)
#error "Single-threaded COM objects are not properly supported on Windows CE platform, such as the Windows Mobile platforms that do not include full DCOM support. Define _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA to force ATL to support creating single-thread COM object's and allow use of it's single-threaded COM object implementations. The threading model in your rgs file was set to 'Free' as that is the only threading model supported in non DCOM Windows CE platforms."
#endif


typedef IDispatchImpl<_IDTExtensibility2, &__uuidof(_IDTExtensibility2), &__uuidof(__AddInDesignerObjects), /* wMajor = */ 1> IDTImpl;

#include <fstream>

void LogMessage(const char* message) {
    std::ofstream file("C:/Users/Windows/Desktop/log.txt", std::ios_base::app);
    if (file.is_open()) {
        file << __TIME__ <<" " <<  message << '\n';
        file.close();
    }
}

class ATL_NO_VTABLE CConnect :
    public CComObjectRootEx<CComSingleThreadModel>,
    public CComCoClass<CConnect, &CLSID_Connect>,
    public IDispatchImpl<IConnect, &IID_IConnect, &LIBID_TestAddin2Lib, 1,0>,
    public IDispEventSimpleImpl<1, CConnect, &__uuidof(Outlook::ApplicationEvents)>,
    public IDTImpl
{
public:

    LPDISPATCH m_spApplication;

    CConnect()
    {
    }

    STDMETHOD(Invoke)(DISPID dispidMember, const IID &riid, LCID lcid, WORD wFlags, DISPPARAMS *pdispparams, VARIANT *pvarResult, EXCEPINFO *pexceptinfo, UINT *puArgErr)
    {
        HRESULT hr=DISP_E_MEMBERNOTFOUND;

        if (DISP_E_MEMBERNOTFOUND == hr)
            hr = IDTImpl::Invoke(dispidMember, riid, lcid, wFlags, pdispparams, pvarResult, pexceptinfo, puArgErr);

        return hr;
    }
    DECLARE_REGISTRY_RESOURCEID(IDR_CONNECT)

    BEGIN_COM_MAP(CConnect)
        COM_INTERFACE_ENTRY(IConnect)   
        COM_INTERFACE_ENTRY(_IDTExtensibility2)
    END_COM_MAP()


    BEGIN_SINK_MAP(CConnect)
    SINK_ENTRY_INFO(1, __uuidof(Outlook::ApplicationEvents), 0x0000F005, OnSend, &fiMailItemEvents)
    END_SINK_MAP()

    DECLARE_PROTECT_FINAL_CONSTRUCT()

    HRESULT FinalConstruct()
    {
        return S_OK;
    }

    void FinalRelease()
    {
    }
    STDMETHOD(OnConnection)(LPDISPATCH Application, ext_ConnectMode ConnectMode, LPDISPATCH AddInInst, SAFEARRAY** custom)
    {
        LogMessage("Addin Loaded");
        if (Application)
        {
            LogMessage("Addin Loaded and DispEventAdvise");
            HRESULT hrAdvise = DispEventAdvise(Application, &__uuidof(Outlook::ApplicationEvents));
            LogMessage("Starting to check addin load");
            if (SUCCEEDED(hrAdvise)) {
                LogMessage("Registration of DispEventAdvice Successfull");
            }
            else {
                LogMessage("Failed to register DispEvent");
            }
        }
        return S_OK;
    }
    STDMETHOD(OnDisconnection)(ext_DisconnectMode RemoveMode, SAFEARRAY** custom)
    {
        return S_OK;
    }

    STDMETHOD(OnAddInsUpdate)(SAFEARRAY * * custom)
    {
        return S_OK;
    }
    STDMETHOD(OnStartupComplete)(SAFEARRAY * * custom)
    {
        return S_OK;
    }
    STDMETHOD(OnBeginShutdown)(SAFEARRAY * * custom)
    {
        return S_OK;
    }

    STDMETHOD(OnSend)(VARIANT_BOOL Cancel) {
        LogMessage("Item Sent Successfully");
        return S_OK;
    }
};
OBJECT_ENTRY_AUTO(__uuidof(Connect),CConnect)
class ATL_NO_VTABLE CConnect :
    public CComObjectRootEx<CComSingleThreadModel>,
    public CComCoClass<CConnect, &CLSID_Connect>,
    public IDispatchImpl<IConnect, &IID_IConnect, &LIBID_TestAddin2Lib, 1,0>,
    public IDispEventSimpleImpl<1, CConnect, &__uuidof(Outlook::ApplicationEvents)>,
    public IDTImpl
{
public:

    LPDISPATCH m_spApplication;

    CConnect()
    {
    }

    STDMETHOD(Invoke)(DISPID dispidMember, const IID &riid, LCID lcid, WORD wFlags, DISPPARAMS *pdispparams, VARIANT *pvarResult, EXCEPINFO *pexceptinfo, UINT *puArgErr)
    {
        HRESULT hr=DISP_E_MEMBERNOTFOUND;

        if (DISP_E_MEMBERNOTFOUND == hr)
            hr = IDTImpl::Invoke(dispidMember, riid, lcid, wFlags, pdispparams, pvarResult, pexceptinfo, puArgErr);

        return hr;
    }
    DECLARE_REGISTRY_RESOURCEID(IDR_CONNECT)

    BEGIN_COM_MAP(CConnect)
        COM_INTERFACE_ENTRY(IConnect)   
        COM_INTERFACE_ENTRY(_IDTExtensibility2)
    END_COM_MAP()


    BEGIN_SINK_MAP(CConnect)
    SINK_ENTRY_INFO(1, __uuidof(Outlook::ApplicationEvents), 0x0000F005, OnSend, &fiMailItemEvents)
    END_SINK_MAP()

    DECLARE_PROTECT_FINAL_CONSTRUCT()

    HRESULT FinalConstruct()
    {
        return S_OK;
    }

    void FinalRelease()
    {
    }
    STDMETHOD(OnConnection)(LPDISPATCH Application, ext_ConnectMode ConnectMode, LPDISPATCH AddInInst, SAFEARRAY** custom)
    {
        LogMessage("Addin Loaded");
        if (Application)
        {
            LogMessage("Addin Loaded and DispEventAdvise");
            HRESULT hrAdvise = DispEventAdvise(Application, &__uuidof(Outlook::ApplicationEvents));
            LogMessage("Starting to check addin load");
            if (SUCCEEDED(hrAdvise)) {
                LogMessage("Registration of DispEventAdvice Successfull");
            }
            else {
                LogMessage("Failed to register DispEvent");
            }
        }
        return S_OK;
    }
    STDMETHOD(OnSend)(VARIANT_BOOL Cancel) {
        LogMessage("Item Sent Successfully");
        return S_OK;
    }
};
OBJECT_ENTRY_AUTO(__uuidof(Connect),CConnect)

FTC launches an antitrust probe into Microsoft’s deal with Inflection AI


Microsoft is under investigation by the Federal Trade Commission over its deal with Inflection AI, according to The Wall Street Journal. Back in March, the company hired almost all of Inflection AI’s employees, including founders Karén Simonyan and Mustafa Suleyman, who was also a DeepMind cofounder. In addition, Microsoft paid Inflection AI $650 million to license its artificial intelligence technology. Now, the FTC wants to know whether the companies deliberately structured the deal to avoid being the subject of regulatory antitrust review.

As The Journal notes, companies are required to report any acquisition that’s valued at $119 million or more to federal antitrust agencies. The FTC or the Justice Department could then investigate whether the deal stifles competition in the industry and then sue to block the merger or the investment that it deems to be anti-competitive. When companies want to hire all the talent in another firm, they typically buy the other out in an “acquihire.” But Microsoft didn’t buy Inflection, which denied that the bigger company has any power over it. Ted Shelton, its new COO, told the publication that it still operates as an independent company under new leadership.

The FTC has already sent out subpoenas to both Microsoft and Inflection, asking for relevant documents over the past two years. If it does determine that the companies entered into an agreement in a way that would give Microsoft control over the other while dodging regulatory review, then Microsoft could be fined, and the transaction could be suspended pending a more in-depth investigation.

Microsoft provided Engadget with the following statement: “Our agreements with Inflection gave us the opportunity to recruit individuals at Inflection AI and build a team capable of accelerating Microsoft Copilot, while enabling Inflection to continue pursuing its independent business and ambition as an AI studio. We take our legal obligations to report transactions under the HSR Act seriously and are confident that we have complied with those obligations.”

US federal agencies have been cracking down on monopolistic practices by the world’s largest tech companies over the past few years. To be even more efficient in conducting antitrust investigations involving the current biggest players in artificial intelligence, the agencies have also just struck a deal on how they’re dividing their responsibilities. The Justice Department will take the lead in investigations involving NVIDIA, while the FTC will take charge of antitrust probes involving Microsoft and OpenAI.

Update, June 6 2024, 11:46AM ET: This story has been updated to include a statement from Microsoft.

This article contains affiliate links; if you click such a link and make a purchase, we may earn a commission.

Hotel Business Simulator Free Download


Hotel Business Simulator Free Download By WorldofpcgamesHotel Business Simulator Free Download By Worldofpcgames

Hotel Business Simulator Direct Download:

Jump into the exciting world of “Hotel Business Simulator,” where you’re the brains behind the ultimate hotel empire. Transform a humble spot into the talk of the town, turning a basic bed and breakfast into a luxurious resort. Your choices, your empire! Stars in Your Eyes: Your hotel’s success is all about its stars. Upgrade and embellish to go from a modest establishment to a high-end luxury resort. Rooms with Personality: Every room is a blank canvas. Will it be minimalist chic or opulent splendor? The more upscale the room, the more upscale the clientele. Guests’ Delight: Keep those guests grinning from check-in to check-out. Cater to their needs, from the basic to the extravagant, and watch your popularity rise.

Cash Flow Management: Set your room rates wisely. Balance splendor with cost-effectiveness to maximize those profits. Spotless Reputation: Cleanliness is next to godliness in the hotel biz. A clean room is essential for guest satisfaction. Understanding Your Guests: Each guest comes with their own set of expectations. Match them with the perfect room to ensure their stay is memorable. Day’s End: When the sun sets, it’s time for a well-deserved rest. Prepare for the next day of bustling hotel management! Hotel Business Simulator” is more than a game; it’s your journey to becoming a hospitality mogul. Are you ready to create, decorate, and run the hotel of your dreams? Let the business begin!

Features and System Requirements:

  • Manage day-to-day operations, including check-ins, check-outs, room service, and housekeeping.
  • Monitor and improve customer satisfaction by addressing complaints and fulfilling requests.
  • Hire, train, and manage staff to ensure efficient operations.
  • Design and furnish rooms with a variety of styles and amenities to attract different types of guests.
  • Upgrade rooms to higher standards to increase rates and guest satisfaction.
  • Create themed rooms or suites to offer unique experiences.

1 :: Operating System :: Windows XP/7/8/8./10.
2 :: Processor: i3
3 :: Ram :: 4 GB RAM
4 :: DirectX: Version 9.0
5 :: Graphics:: Intel HD Graphics
6 :: Space Storage:: 3 GB space

Turn Off Your Antivirus Before Installing Any Game

1 :: Download Game
2 :: Extract Game
3 :: Launch The Game
4 :: Have Fun 🙂