Month: June 2024
signature choice for message does not appear in Outlook setup for editing, deleting, etc
When I am composing a message, I have three signature options for a message. One is no longer needed, but it is not listed in the Outlook/options/signatures editing area. Please advise – where is this unneeded signature stored?
When I am composing a message, I have three signature options for a message. One is no longer needed, but it is not listed in the Outlook/options/signatures editing area. Please advise – where is this unneeded signature stored? Read More
calculate dunn index matrix?
Hi
I have a big matrix and woulk like to calculate dunn index for that. I have seen dunn index function in Matworks but unfortunatly it did not work on my matrix. Please let me know your comments and also if you have any exampleHi
I have a big matrix and woulk like to calculate dunn index for that. I have seen dunn index function in Matworks but unfortunatly it did not work on my matrix. Please let me know your comments and also if you have any example Hi
I have a big matrix and woulk like to calculate dunn index for that. I have seen dunn index function in Matworks but unfortunatly it did not work on my matrix. Please let me know your comments and also if you have any example calculate dunn index cluster? MATLAB Answers — New Questions
How to setup a Simscape solution to deploy on a microcontroller running periodic loops
Would like to implement a simple thermal model on a target microcontroller. Simulink is setup to exectute various loops based on function calls at periodic rates. Is there a way to embed a Simscape model inside a 20ms function call? Can’t seem to find a way to set the sample time to inherited in the solver configuration without error. Using Matlab 2021b.Would like to implement a simple thermal model on a target microcontroller. Simulink is setup to exectute various loops based on function calls at periodic rates. Is there a way to embed a Simscape model inside a 20ms function call? Can’t seem to find a way to set the sample time to inherited in the solver configuration without error. Using Matlab 2021b. Would like to implement a simple thermal model on a target microcontroller. Simulink is setup to exectute various loops based on function calls at periodic rates. Is there a way to embed a Simscape model inside a 20ms function call? Can’t seem to find a way to set the sample time to inherited in the solver configuration without error. Using Matlab 2021b. simscape on microcontroller MATLAB Answers — New Questions
Image labeller cannot save sessions
Hello,
Image labeller is not saving sessions correctly. I discovered the problem after I had spent several hours annotating images and saved the session. When I tried reloading the session the next day it would not load.
Image labeller used to work because I used it to label 8000 images over several weeks and I was able to save the session.
I tried opening an old image labelling session and it worked.
When I save the previously working session with a new name and try and reopen the new session it gets this error:
Warning: While loading an object of class ‘vision.internal.imageLabeler.tool.Session’:
Too many input arguments.
> In vision.internal.imageLabeler.tool/ImageLabelerSessionManager/loadSession
In vision.internal.imageLabeler.tool/ImageLabelerTool/doLoadSession
In vision.internal.labeler.tool/LabelerTool/loadSession
In vision.internal.imageLabeler.tool.LabelTab
In vision.internal.uitools/NewAbstractTab2/protectOnDelete (line 112)
In vision.internal.imageLabeler.tool.LabelTab
In internal/Callback/execute (line 128)
In matlab.ui.internal.toolstrip.base/Action/PeerEventCallback (line 846)
In matlab.ui.internal.toolstrip.base.ActionInterface>@(event,data)PeerEventCallback(this,event,data) (line 57)
In hgfeval (line 62)
In javaaddlistener>cbBridge (line 52)
In javaaddlistener>@(o,e)cbBridge(o,e,response) (line 47)
Error using vision.internal.imageLabeler.tool.Session/importPixelLabelData
Undefined function ‘resetIsPixelLabelChangedAll’ for input arguments of type ‘double’.
Warning: Error occurred while evaluating listener callback.
Nothing has changed with my installation. Why would this happen, and how can I fix it?
I have tried to uninstall and reinstall MATLAB with no effect.
Thanks.Hello,
Image labeller is not saving sessions correctly. I discovered the problem after I had spent several hours annotating images and saved the session. When I tried reloading the session the next day it would not load.
Image labeller used to work because I used it to label 8000 images over several weeks and I was able to save the session.
I tried opening an old image labelling session and it worked.
When I save the previously working session with a new name and try and reopen the new session it gets this error:
Warning: While loading an object of class ‘vision.internal.imageLabeler.tool.Session’:
Too many input arguments.
> In vision.internal.imageLabeler.tool/ImageLabelerSessionManager/loadSession
In vision.internal.imageLabeler.tool/ImageLabelerTool/doLoadSession
In vision.internal.labeler.tool/LabelerTool/loadSession
In vision.internal.imageLabeler.tool.LabelTab
In vision.internal.uitools/NewAbstractTab2/protectOnDelete (line 112)
In vision.internal.imageLabeler.tool.LabelTab
In internal/Callback/execute (line 128)
In matlab.ui.internal.toolstrip.base/Action/PeerEventCallback (line 846)
In matlab.ui.internal.toolstrip.base.ActionInterface>@(event,data)PeerEventCallback(this,event,data) (line 57)
In hgfeval (line 62)
In javaaddlistener>cbBridge (line 52)
In javaaddlistener>@(o,e)cbBridge(o,e,response) (line 47)
Error using vision.internal.imageLabeler.tool.Session/importPixelLabelData
Undefined function ‘resetIsPixelLabelChangedAll’ for input arguments of type ‘double’.
Warning: Error occurred while evaluating listener callback.
Nothing has changed with my installation. Why would this happen, and how can I fix it?
I have tried to uninstall and reinstall MATLAB with no effect.
Thanks. Hello,
Image labeller is not saving sessions correctly. I discovered the problem after I had spent several hours annotating images and saved the session. When I tried reloading the session the next day it would not load.
Image labeller used to work because I used it to label 8000 images over several weeks and I was able to save the session.
I tried opening an old image labelling session and it worked.
When I save the previously working session with a new name and try and reopen the new session it gets this error:
Warning: While loading an object of class ‘vision.internal.imageLabeler.tool.Session’:
Too many input arguments.
> In vision.internal.imageLabeler.tool/ImageLabelerSessionManager/loadSession
In vision.internal.imageLabeler.tool/ImageLabelerTool/doLoadSession
In vision.internal.labeler.tool/LabelerTool/loadSession
In vision.internal.imageLabeler.tool.LabelTab
In vision.internal.uitools/NewAbstractTab2/protectOnDelete (line 112)
In vision.internal.imageLabeler.tool.LabelTab
In internal/Callback/execute (line 128)
In matlab.ui.internal.toolstrip.base/Action/PeerEventCallback (line 846)
In matlab.ui.internal.toolstrip.base.ActionInterface>@(event,data)PeerEventCallback(this,event,data) (line 57)
In hgfeval (line 62)
In javaaddlistener>cbBridge (line 52)
In javaaddlistener>@(o,e)cbBridge(o,e,response) (line 47)
Error using vision.internal.imageLabeler.tool.Session/importPixelLabelData
Undefined function ‘resetIsPixelLabelChangedAll’ for input arguments of type ‘double’.
Warning: Error occurred while evaluating listener callback.
Nothing has changed with my installation. Why would this happen, and how can I fix it?
I have tried to uninstall and reinstall MATLAB with no effect.
Thanks. image processing, image labeller MATLAB Answers — New Questions
Microsoft Cloud and Hosting Partner Online Meeting e154 | Highlights from Build, News, Webinars ..
Join us in 20 minutes for Episode 154 in the Microsoft Cloud and Hosting Partner Online Meeting series. This month we summarize recent news and announcements around CSP, Incentives and Partner Center; look at Highlights from Build; Summarize some of the recent industry news and webinars; and consider some of the forthcoming Sales, Pre-sales and Technical Training.
Content for the Online Meeting is pre-published here.
See you online soon.
Regards, Phil
Join us in 20 minutes for Episode 154 in the Microsoft Cloud and Hosting Partner Online Meeting series. This month we summarize recent news and announcements around CSP, Incentives and Partner Center; look at Highlights from Build; Summarize some of the recent industry news and webinars; and consider some of the forthcoming Sales, Pre-sales and Technical Training.
Content for the Online Meeting is pre-published here.
See you online soon.
Regards, Phil
Read More
Form to Excel Filter function for dental procedure log
Hi everyone! First time user here that can’t figure out a complex problem in my mind:
I am in a dental residency with other coresidents where we have to create a log of all the dental procedures that we have completed. We would like to create a Microsoft Form that we can input the information for our procedures (ie: which location, patient age, how many of X procedure…). That data would show up on an excel sheet under one tab that has all of our aggregate inputs but then there are individual tabs for each of the residents that filters out our procedures that we have completed. That way, we can individually see our progress under my own tab while the program director can see the aggregate in tab 1. I was given a step by step in the past but it’s not working for me as to how to complete this. I’m very stuck!
Hoping someone can understand what I am trying to do and help out please! We would really appreciate it! Happy to describe more if there is some confusion.
Thank you so much!
Hi everyone! First time user here that can’t figure out a complex problem in my mind:I am in a dental residency with other coresidents where we have to create a log of all the dental procedures that we have completed. We would like to create a Microsoft Form that we can input the information for our procedures (ie: which location, patient age, how many of X procedure…). That data would show up on an excel sheet under one tab that has all of our aggregate inputs but then there are individual tabs for each of the residents that filters out our procedures that we have completed. That way, we can individually see our progress under my own tab while the program director can see the aggregate in tab 1. I was given a step by step in the past but it’s not working for me as to how to complete this. I’m very stuck! Hoping someone can understand what I am trying to do and help out please! We would really appreciate it! Happy to describe more if there is some confusion. Thank you so much! Read More
Copilot has been experiencing severe cognitive decline in the past few days
Copilot has been experiencing severe cognitive decline in the past few days. Did you make a mistake in the configuration during the upgrade? Not only does Copilot’s GPT-4 responses look similar to GPT-4 Turbo, but it also frequently goes off-topic and fails to understand the prompts I provide. The context it analyzes is often limited to a small portion. I hope you can fix this promptly and restore the previous, more reliable GPT-4 version.
Copilot has been experiencing severe cognitive decline in the past few days. Did you make a mistake in the configuration during the upgrade? Not only does Copilot’s GPT-4 responses look similar to GPT-4 Turbo, but it also frequently goes off-topic and fails to understand the prompts I provide. The context it analyzes is often limited to a small portion. I hope you can fix this promptly and restore the previous, more reliable GPT-4 version. Read More
Solution To Disable the MS List Experience in SharePoint?
Has anyone identified a way to disable the Microsoft List UI that is now rolling out in SharePoint Lists directly? To clarify, SharePoint Lists hosted on SharePoint sites and accessed from SharePoint in my tenant have recently changed to the MS List UI. I am wondering if anyone has found a solution to revert the UI to the old “modern” UI (and not the classic UI). TYIA
Has anyone identified a way to disable the Microsoft List UI that is now rolling out in SharePoint Lists directly? To clarify, SharePoint Lists hosted on SharePoint sites and accessed from SharePoint in my tenant have recently changed to the MS List UI. I am wondering if anyone has found a solution to revert the UI to the old “modern” UI (and not the classic UI). TYIA Read More
MTR- Share content on Two Displays in Teams Meeting Room
Hi Team,
We recently upgraded one of our meeting rooms to Teams with the Neat Bar and Neat Pad. This room is equipped with two screens, and we want to display the same content on both screens, rather than having content on one and participants on the other. Our goal is to achieve this wirelessly to eliminate the need for a long HDMI cable running across the table. Could you provide some insights on how we can achieve this using Teams Room?
Hi Team, We recently upgraded one of our meeting rooms to Teams with the Neat Bar and Neat Pad. This room is equipped with two screens, and we want to display the same content on both screens, rather than having content on one and participants on the other. Our goal is to achieve this wirelessly to eliminate the need for a long HDMI cable running across the table. Could you provide some insights on how we can achieve this using Teams Room? Read More
Match data from another tab
Hi there, I am looking for an index and/or match formula. The first shot is tab1 and I want to enter a formula in column E that matched column D to column A in Tab 2 and returns the same GL code from tab 2 to column E. So for example the first one meals & entertainment would return code 6701 in column E. TIA
Hi there, I am looking for an index and/or match formula. The first shot is tab1 and I want to enter a formula in column E that matched column D to column A in Tab 2 and returns the same GL code from tab 2 to column E. So for example the first one meals & entertainment would return code 6701 in column E. TIA Read More
Can’t send data from ChirpStack to TS
Good evening!
Im trying to setup an integration from ChirpStack (a TTN clone for raspberry) to TS and I get a "Last Entry 1 minute ago" but with no data and when I export the data I find that it has succesfully posted data into the channel but the fields are not there.
2024-06-11T01:30:48+02:00,28,,,,,,
2024-06-11T01:31:03+02:00,29,,,,,,
2024-06-11T01:31:42+02:00,30,,,,,,
2024-06-11T01:31:58+02:00,31,,,,,,
Last commas should show the fields among other things
This is how I built the integration:
Payload Encoding: JSON
Event Endpoint URL: https://api.thingspeak.com/update.json
HEADERS:
THINGSPEAKAPIKEY : xxxxxx(hidden but correct)
content-type: application/json
And in the payload decoder functions;
function decodeUplink(input) {
return {
data: {
field1: ((input.bytes[0]<<8 | input.bytes[1]) & 0x3FFF)/1000,
field2: input.bytes[2]<<8 | input.bytes[3]
},
warnings: [],
errors: []
};
}
What may I have missed so the payload fields are not posted?
ThanksGood evening!
Im trying to setup an integration from ChirpStack (a TTN clone for raspberry) to TS and I get a "Last Entry 1 minute ago" but with no data and when I export the data I find that it has succesfully posted data into the channel but the fields are not there.
2024-06-11T01:30:48+02:00,28,,,,,,
2024-06-11T01:31:03+02:00,29,,,,,,
2024-06-11T01:31:42+02:00,30,,,,,,
2024-06-11T01:31:58+02:00,31,,,,,,
Last commas should show the fields among other things
This is how I built the integration:
Payload Encoding: JSON
Event Endpoint URL: https://api.thingspeak.com/update.json
HEADERS:
THINGSPEAKAPIKEY : xxxxxx(hidden but correct)
content-type: application/json
And in the payload decoder functions;
function decodeUplink(input) {
return {
data: {
field1: ((input.bytes[0]<<8 | input.bytes[1]) & 0x3FFF)/1000,
field2: input.bytes[2]<<8 | input.bytes[3]
},
warnings: [],
errors: []
};
}
What may I have missed so the payload fields are not posted?
Thanks Good evening!
Im trying to setup an integration from ChirpStack (a TTN clone for raspberry) to TS and I get a "Last Entry 1 minute ago" but with no data and when I export the data I find that it has succesfully posted data into the channel but the fields are not there.
2024-06-11T01:30:48+02:00,28,,,,,,
2024-06-11T01:31:03+02:00,29,,,,,,
2024-06-11T01:31:42+02:00,30,,,,,,
2024-06-11T01:31:58+02:00,31,,,,,,
Last commas should show the fields among other things
This is how I built the integration:
Payload Encoding: JSON
Event Endpoint URL: https://api.thingspeak.com/update.json
HEADERS:
THINGSPEAKAPIKEY : xxxxxx(hidden but correct)
content-type: application/json
And in the payload decoder functions;
function decodeUplink(input) {
return {
data: {
field1: ((input.bytes[0]<<8 | input.bytes[1]) & 0x3FFF)/1000,
field2: input.bytes[2]<<8 | input.bytes[3]
},
warnings: [],
errors: []
};
}
What may I have missed so the payload fields are not posted?
Thanks integration, webhook MATLAB Answers — New Questions
How to use previous answer in new calculation n times
Hi all
I am pretty new to Matlab and have been struggling with loops and arrays.
My issue is I am attempting to calculate yn where x in the original calculation becomes y1 in caclulation for y2 and so on.
ie:
x = [1;2] %orginal value
it then is multiplied by A= [0.3 -0.2; -0.6 -0.8]
and B=[-14;2] is added to it to become y1, then calculation is repeated and rather than using x, y1 used to calculate y2 and so on.
Any help would be greatly appreciated.
clear; clc; close all;
A=[0.3 -0.2; -0.6 0.8];
B=[-14;2];
x=[1;2];
y1=A*x+B
y2=A*y1+B
y3=A*y2+B
y4=A*y3+B
y5=A*y4+B
y6=A*y5+B
y7=A*y6+B
y8=A*y7+B
y9=A*y8+B
y10=A*y9+BHi all
I am pretty new to Matlab and have been struggling with loops and arrays.
My issue is I am attempting to calculate yn where x in the original calculation becomes y1 in caclulation for y2 and so on.
ie:
x = [1;2] %orginal value
it then is multiplied by A= [0.3 -0.2; -0.6 -0.8]
and B=[-14;2] is added to it to become y1, then calculation is repeated and rather than using x, y1 used to calculate y2 and so on.
Any help would be greatly appreciated.
clear; clc; close all;
A=[0.3 -0.2; -0.6 0.8];
B=[-14;2];
x=[1;2];
y1=A*x+B
y2=A*y1+B
y3=A*y2+B
y4=A*y3+B
y5=A*y4+B
y6=A*y5+B
y7=A*y6+B
y8=A*y7+B
y9=A*y8+B
y10=A*y9+B Hi all
I am pretty new to Matlab and have been struggling with loops and arrays.
My issue is I am attempting to calculate yn where x in the original calculation becomes y1 in caclulation for y2 and so on.
ie:
x = [1;2] %orginal value
it then is multiplied by A= [0.3 -0.2; -0.6 -0.8]
and B=[-14;2] is added to it to become y1, then calculation is repeated and rather than using x, y1 used to calculate y2 and so on.
Any help would be greatly appreciated.
clear; clc; close all;
A=[0.3 -0.2; -0.6 0.8];
B=[-14;2];
x=[1;2];
y1=A*x+B
y2=A*y1+B
y3=A*y2+B
y4=A*y3+B
y5=A*y4+B
y6=A*y5+B
y7=A*y6+B
y8=A*y7+B
y9=A*y8+B
y10=A*y9+B previous iteration MATLAB Answers — New Questions
Why don’t my stem graph vertical lines appear?
Hello!
I’m currently facing a problem using Matlab r2015a. When I draw a stem graph, the lines that are supposed to connect the points and the horizontal axis, do not appear. How can I make them appear? Thank you for your time.Hello!
I’m currently facing a problem using Matlab r2015a. When I draw a stem graph, the lines that are supposed to connect the points and the horizontal axis, do not appear. How can I make them appear? Thank you for your time. Hello!
I’m currently facing a problem using Matlab r2015a. When I draw a stem graph, the lines that are supposed to connect the points and the horizontal axis, do not appear. How can I make them appear? Thank you for your time. graphics, graph, line, stem MATLAB Answers — New Questions
Excel check box not inserting into cells
I am simply trying to insert a functional checkbox into a cell. The checkboxes under the Developers tab requires that you draw it.
A video I watched showed a checkbox option under the Insert group. I do not have not that option.
I am simply trying to insert a functional checkbox into a cell. The checkboxes under the Developers tab requires that you draw it. A video I watched showed a checkbox option under the Insert group. I do not have not that option. Read More
Google Federation with Entra ID – doesn’t support MultipleAuthN SAML claim
Entra ID has a new Microsoft-managed conditional access policy that will be enabled from October 2024. However, Google doesn’t support the MultipleAuthN claim that ADFS (and other IdPs) do.
Is there a work-around for this, or we just need to ensure that the new Microsoft-managed conditional access policy is disabled for all users? Otherwise, we somehow need to enable double MFA (MFA at both Google and Microsoft).
I imagine this might be an issue for any other federated IdPs that don’t support this specific SAML claim.
There is a new alternative to the `SupportsMFA` setting in the `Set-MsolDomainFederationSettings` powershell command, but it doesn’t allow you to ‘always assume MFA is utilised in the federation’ – https://learn.microsoft.com/en-us/graph/api/internaldomainfederation-update?view=graph-rest-1.0&tabs=http#federatedidpmfabehavior-values
Thanks in advance,
Nigel
Entra ID has a new Microsoft-managed conditional access policy that will be enabled from October 2024. However, Google doesn’t support the MultipleAuthN claim that ADFS (and other IdPs) do. Is there a work-around for this, or we just need to ensure that the new Microsoft-managed conditional access policy is disabled for all users? Otherwise, we somehow need to enable double MFA (MFA at both Google and Microsoft). I imagine this might be an issue for any other federated IdPs that don’t support this specific SAML claim. There is a new alternative to the `SupportsMFA` setting in the `Set-MsolDomainFederationSettings` powershell command, but it doesn’t allow you to ‘always assume MFA is utilised in the federation’ – https://learn.microsoft.com/en-us/graph/api/internaldomainfederation-update?view=graph-rest-1.0&tabs=http#federatedidpmfabehavior-values Thanks in advance,Nigel Read More
WS2025 Preview (26100.1) fails to boot after joining WS2016 forest
I installed WS2025 Preview (Datacenter, 26100.1) in a virtual machine and after joining the domain, the box is rendered unbootable (boot loops). I can reinstall and do other tasks as a standalone server with no problem but joining the domain immediately bricks the VM, 100% of the time.
The forest is running at functional level WS2016. I disabled all GPs and verified with gpresult they are not applied.
Safe mode boots if you need me to poke around. Am working to get a kernel debugger attached.
No memory dump is generated and disabling reboot on errors yields nothing.
I installed WS2025 Preview (Datacenter, 26100.1) in a virtual machine and after joining the domain, the box is rendered unbootable (boot loops). I can reinstall and do other tasks as a standalone server with no problem but joining the domain immediately bricks the VM, 100% of the time. The forest is running at functional level WS2016. I disabled all GPs and verified with gpresult they are not applied. Safe mode boots if you need me to poke around. Am working to get a kernel debugger attached. No memory dump is generated and disabling reboot on errors yields nothing. Read More
Our latest work to improve Azure Functions cold starts
We continually work to improve performance and mitigate Azure Functions cold starts – the extra time it takes for a function that hasn’t been used recently to respond to an event. We understand that no matter when your functions were last called, you want fast executions and little lag time.
In this article:
How we measure cold start and the work done to improve it in the Azure Functions platform.
What you can do to optimize your functions to improve your app’s cold start performance.
Provide your feedback on Azure Functions cold start.
How we measure Azure Functions cold start
In measuring Azure Functions performance, we prioritize the cold start of synchronous HTTP triggers in the Consumption and Flex Consumption hosting plans. That means looking at what our platform and Azure Functions host need to do to execute the first HTTP trigger function on a new instance. Then we improve it. We are also working to improve cold start for asynchronous scenarios.
To assess our progress, we run sample HTTP trigger function apps that measure cold start latencies for all supported versions of Azure Functions, in all languages, for both Windows and Linux Consumption. These sample apps are deployed in all Azure regions and subregions where Azure Functions runs. Our test function calls these sample apps every few hours to trigger a true cold start and currently generates nearly 85,000 daily cold start samples. Through this testing infrastructure we observed in past 18 months a reduction on cold start latency by approximately 53 percent across all regions and for all supported languages and platforms.
If any of the tracked metrics start to regress, we’re immediately notified and start investigating. Daily emails, alerts, and historical dashboards tell us the end-to-end cold start latencies across various percentiles. We also perform specific analyses and trigger alerts if our fiftieth percentile, ninety-ninth percentile, or maximum latency numbers regress.
In addition, we collect detailed PerfView profiles of the sample apps deployed in select regions. The breakdown includes full call stacks (user mode and kernel mode) for every millisecond spent during cold start. The profiles reveal CPU usage and call stacks, context switches, disk reads, HTTP calls, memory hard faults, common language runtime (CLR) just-in-time (JIT) compiler, garbage collector (GC), type loads, and many more details about .NET internals. We report all these details in our logging pipelines and receive alerts if metrics regress. And we’re always looking for ways to make improvements based on these profiles.
Performance improvements in the platform
Since launching Azure Functions, we’ve improved performance across the Azure platform that it runs on, in order to achieve the observed reduction in cold starts. These enhancements extended to the shared platform with Azure App Service and the new Legion platform, the operating system, storage, .NET Core, and communication channels.
We aim to optimize for the ninety-ninth–percentile latency. We delve into cold start scenarios at the millisecond level and continually fine-tune the algorithms that allocate capacity. In short, we’re always working to improve Azure Functions cold start. The following areas are our current our focus:
Function app pools. In the internal architecture, we must ensure that the right number of Function app pools are warmed up and ready to handle a cold start for all supported platforms and languages. These pools serve as placeholders in effect. Exactly how many depends on the usage per region—plus enough extra capacity to meet unexpected bursts. We’re always refining our algorithms to balance the pools without increasing costs. Placeholder processes and dependencies stay hot in memory to prevent paging out.
Ninety-ninth–percentile latencies. Although it’s relatively straightforward to optimize cold start scenarios for the fiftieth percentile, we are digging deeper to address ninety-ninth–percentile latencies, particularly when multiple VMs are involved. Each runs different processes and components and is configured with unique disk, network, and memory characteristics. It’s even harder to trace the root causes of potential ninety-ninth–percentile regressions.
Profilers. We use a multitude of specialized profiling tools capable of dissecting cold start scenarios at the millisecond level. We examine detailed call stacks and tracking activities at both the application and operating system levels. The PerfView and Event Tracing for Windows (ETW) providers are great at addressing issues with Windows and .NET-based apps, but we also investigate issues across platforms and languages. We also use Profile Guided Optimization (PGO) to ensure that Functions Host and dependent libraries are fully JIT compiled and ready to minimize the impact of platform code JIT compilation during actual cold start requests.
Histograms. If our platform detects cold starts occurring at regular intervals, we fully prewarm the instance where the function app will run to avoid cold start delays during actual execution.
6 things you can do now to improve cold start in Azure Functions
Here are a few strategies you can follow to further improve cold starts for your apps:
Deploy your function as a .zip (compressed) package. Minimize its size by removing unneeded files and dependencies, such as debug symbols (.pdb files) and unnecessary image files.
For Windows deployment, run your functions from a package file. To do this, set the WEBSITE_RUN_FROM_PACKAGE=1 app setting. If your app uses storage for storing content, deploy Azure Storage in the same region as your Azure Functions app and consider using premium storage for a faster cold start.
When deploying .NET apps, publish with ReadyToRun to avoid additional costs from the JIT compiler.
In the Azure portal, navigate to your function app. Go to Diagnose and solve problems, and review any messages that appear under Risk alerts. Look for issues that may impact cold starts.
If your app uses a Premium or App Service plan, invoke warmup triggers to preload dependencies or to add any custom logic required to connect to external endpoints. This option isn’t supported for apps on Consumption plans.
To help mitigate cold starts, try the always ready instances feature of our newest hosting option for event-driven serverless functions, Flex Consumption.
Final Thoughts
If your Azure Functions app still doesn’t perform as well as you’d like, consider the following:
Share your feedback on Azure Functions cold start to get in touch with the team.
try the always ready instances feature of our newest hosting option for event-driven serverless functions, Flex Consumption.
Note: This article is a modified version of the article originally published on Newsstack.
Microsoft Tech Community – Latest Blogs –Read More
average between cell arrays of doubles
Hello, I’m working with a nested cell array in which each original cell contains a nested cell array of doubles.
For simplicity, the original nested array could have 10 cell arrays within it. For each of those cell arrays, there are 100 doubles that are 30×50 in length. I would like to get the mean/average of all of those doubles such that they go from 100 instances of 30×50 doubles to just 1 single instance of 30×50 double.
This would result with the average value found in each element of the double across the instances. This would mean that the original cell array is now 10 cells, with each having only one instance of 30×50 double as their individual averages.
Please let me know if you need more information to help me with calculating the average. Thank you!Hello, I’m working with a nested cell array in which each original cell contains a nested cell array of doubles.
For simplicity, the original nested array could have 10 cell arrays within it. For each of those cell arrays, there are 100 doubles that are 30×50 in length. I would like to get the mean/average of all of those doubles such that they go from 100 instances of 30×50 doubles to just 1 single instance of 30×50 double.
This would result with the average value found in each element of the double across the instances. This would mean that the original cell array is now 10 cells, with each having only one instance of 30×50 double as their individual averages.
Please let me know if you need more information to help me with calculating the average. Thank you! Hello, I’m working with a nested cell array in which each original cell contains a nested cell array of doubles.
For simplicity, the original nested array could have 10 cell arrays within it. For each of those cell arrays, there are 100 doubles that are 30×50 in length. I would like to get the mean/average of all of those doubles such that they go from 100 instances of 30×50 doubles to just 1 single instance of 30×50 double.
This would result with the average value found in each element of the double across the instances. This would mean that the original cell array is now 10 cells, with each having only one instance of 30×50 double as their individual averages.
Please let me know if you need more information to help me with calculating the average. Thank you! nested cell array, average MATLAB Answers — New Questions
Finding accurate inverse of binary circulant matrix
I would like to find the inverse of a binary circulant matrix using MATLAB. I have the 24×24 binary circulant matrix stored in BCM and use the function inv(BCM) and I get a lot of garbage values. I have the inverse matrix that I am expecting to get, which is the multiplicative inverse of BCM. When I multiply them in MATLAB, I get the identity matrix which is correct. However, I’m going to need to calculate new inverses of new matrices and would like to do so with MATLAB instead of guessing over and over. How can I do this?
Both BCM and it’s inverse are stored in the attached Excel spreadsheet. Thank you!
Garbage Values:I would like to find the inverse of a binary circulant matrix using MATLAB. I have the 24×24 binary circulant matrix stored in BCM and use the function inv(BCM) and I get a lot of garbage values. I have the inverse matrix that I am expecting to get, which is the multiplicative inverse of BCM. When I multiply them in MATLAB, I get the identity matrix which is correct. However, I’m going to need to calculate new inverses of new matrices and would like to do so with MATLAB instead of guessing over and over. How can I do this?
Both BCM and it’s inverse are stored in the attached Excel spreadsheet. Thank you!
Garbage Values: I would like to find the inverse of a binary circulant matrix using MATLAB. I have the 24×24 binary circulant matrix stored in BCM and use the function inv(BCM) and I get a lot of garbage values. I have the inverse matrix that I am expecting to get, which is the multiplicative inverse of BCM. When I multiply them in MATLAB, I get the identity matrix which is correct. However, I’m going to need to calculate new inverses of new matrices and would like to do so with MATLAB instead of guessing over and over. How can I do this?
Both BCM and it’s inverse are stored in the attached Excel spreadsheet. Thank you!
Garbage Values: matrix, matrices, binary, circulant matrix, inverse MATLAB Answers — New Questions
I want to calculate distances in 3D space. How do I apply my code to all tables in all cells?
Hi,
I want to use the formula d = sqrt((x2 – x1)^2 + (y2 – y1)^2 + (z2 – z1)^2) to calculate two distances. Each distance is between two points in 3D space twice. Once from point A to point B, and one is from point A to point C. I have a data set with cell array where each cell contains tables.
he tables in the cells are built up so that the x, y and z positional coordinates of point A are in column 1, 2 and 3. The x, y, and z positional coordinates of point B are in columns 4, 5, and 6. And the x, y, and z positional coordinates of point C are in columns 7, 8 and 9.
I have the code below:
results_distances = cell(size(results_nooutliers));
% Initialize a cell array to store the distances
results_distances = cell(size(results_nooutliers));
% Loop through each cell in the results_no_outliers array
for i = 1:numel(results_nooutliers)
% Get the current table for the participant
this_cell = results_nooutliers{i};
% Check for empty cells
if isempty(this_cell)
continue; % Skip empty cells
end
% Initialize arrays to store distances for right hand and left hand
distances_A_B = zeros(size(this_cell, 1), 1);
distances_A_C = zeros(size(this_cell, 1), 1);
% Calculate distances for each row in the table
for row = 1:size(this_cell, 1)
% Calculate distance for left hand
distances_A_B(row) = sqrt((this_cell{row, 4} – this_cell{row, 1})^2 + …
(this_cell{row, 5} – this_cell{row, 2})^2 + …
(this_cell{row, 6} – this_cell{row, 3})^2);
% Calculate distance for right hand
distances_A_C(row) = sqrt((this_cell{row, 7} – this_cell{row, 1})^2 + …
(this_cell{row, 8} – this_cell{row, 2})^2 + …
(this_cell{row, 9} – this_cell{row, 3})^2);
end
% Store distances for the current participant in a table
results_distances{i} = table(distances_A_B, distances_A_C, ‘VariableNames’, {‘A_B_Distance’, ‘A_C_Distance’});
end
When running I get the error:
Undefined function ‘minus’ for input arguments of type ‘table’.
Can anybody tell me what I am doing incorrectly?
I have attached a small sample of my data set (it is much longer in actuality).
Thanks for the help!Hi,
I want to use the formula d = sqrt((x2 – x1)^2 + (y2 – y1)^2 + (z2 – z1)^2) to calculate two distances. Each distance is between two points in 3D space twice. Once from point A to point B, and one is from point A to point C. I have a data set with cell array where each cell contains tables.
he tables in the cells are built up so that the x, y and z positional coordinates of point A are in column 1, 2 and 3. The x, y, and z positional coordinates of point B are in columns 4, 5, and 6. And the x, y, and z positional coordinates of point C are in columns 7, 8 and 9.
I have the code below:
results_distances = cell(size(results_nooutliers));
% Initialize a cell array to store the distances
results_distances = cell(size(results_nooutliers));
% Loop through each cell in the results_no_outliers array
for i = 1:numel(results_nooutliers)
% Get the current table for the participant
this_cell = results_nooutliers{i};
% Check for empty cells
if isempty(this_cell)
continue; % Skip empty cells
end
% Initialize arrays to store distances for right hand and left hand
distances_A_B = zeros(size(this_cell, 1), 1);
distances_A_C = zeros(size(this_cell, 1), 1);
% Calculate distances for each row in the table
for row = 1:size(this_cell, 1)
% Calculate distance for left hand
distances_A_B(row) = sqrt((this_cell{row, 4} – this_cell{row, 1})^2 + …
(this_cell{row, 5} – this_cell{row, 2})^2 + …
(this_cell{row, 6} – this_cell{row, 3})^2);
% Calculate distance for right hand
distances_A_C(row) = sqrt((this_cell{row, 7} – this_cell{row, 1})^2 + …
(this_cell{row, 8} – this_cell{row, 2})^2 + …
(this_cell{row, 9} – this_cell{row, 3})^2);
end
% Store distances for the current participant in a table
results_distances{i} = table(distances_A_B, distances_A_C, ‘VariableNames’, {‘A_B_Distance’, ‘A_C_Distance’});
end
When running I get the error:
Undefined function ‘minus’ for input arguments of type ‘table’.
Can anybody tell me what I am doing incorrectly?
I have attached a small sample of my data set (it is much longer in actuality).
Thanks for the help! Hi,
I want to use the formula d = sqrt((x2 – x1)^2 + (y2 – y1)^2 + (z2 – z1)^2) to calculate two distances. Each distance is between two points in 3D space twice. Once from point A to point B, and one is from point A to point C. I have a data set with cell array where each cell contains tables.
he tables in the cells are built up so that the x, y and z positional coordinates of point A are in column 1, 2 and 3. The x, y, and z positional coordinates of point B are in columns 4, 5, and 6. And the x, y, and z positional coordinates of point C are in columns 7, 8 and 9.
I have the code below:
results_distances = cell(size(results_nooutliers));
% Initialize a cell array to store the distances
results_distances = cell(size(results_nooutliers));
% Loop through each cell in the results_no_outliers array
for i = 1:numel(results_nooutliers)
% Get the current table for the participant
this_cell = results_nooutliers{i};
% Check for empty cells
if isempty(this_cell)
continue; % Skip empty cells
end
% Initialize arrays to store distances for right hand and left hand
distances_A_B = zeros(size(this_cell, 1), 1);
distances_A_C = zeros(size(this_cell, 1), 1);
% Calculate distances for each row in the table
for row = 1:size(this_cell, 1)
% Calculate distance for left hand
distances_A_B(row) = sqrt((this_cell{row, 4} – this_cell{row, 1})^2 + …
(this_cell{row, 5} – this_cell{row, 2})^2 + …
(this_cell{row, 6} – this_cell{row, 3})^2);
% Calculate distance for right hand
distances_A_C(row) = sqrt((this_cell{row, 7} – this_cell{row, 1})^2 + …
(this_cell{row, 8} – this_cell{row, 2})^2 + …
(this_cell{row, 9} – this_cell{row, 3})^2);
end
% Store distances for the current participant in a table
results_distances{i} = table(distances_A_B, distances_A_C, ‘VariableNames’, {‘A_B_Distance’, ‘A_C_Distance’});
end
When running I get the error:
Undefined function ‘minus’ for input arguments of type ‘table’.
Can anybody tell me what I am doing incorrectly?
I have attached a small sample of my data set (it is much longer in actuality).
Thanks for the help! tables, rows, cell array, error, function, distances MATLAB Answers — New Questions