Month: June 2024
Shifting from Thunderbird to Outlook
I have created a bunch of filters and folders, so that incoming mail is moved to the desired folder as soon as it comes in. But, unlike Thunderbird, the Outlook folder name does not become bold (dark characters) to indicate that there is new/unread email in this folder. Is there something I can set, for Outlook to show which folders have unread email
I have created a bunch of filters and folders, so that incoming mail is moved to the desired folder as soon as it comes in. But, unlike Thunderbird, the Outlook folder name does not become bold (dark characters) to indicate that there is new/unread email in this folder. Is there something I can set, for Outlook to show which folders have unread email Read More
Microsoft CSP – Indirect Reseller Status is Suspended and Can’t Get Fixed
I am in a very bad spot with our indirect reseller Microsoft account and am hoping that maybe someone out there might be able to help me.
In mid May, I placed an order with Pax8 for a new customer and the order was rejected by Microsoft with the error, “Associated partner LegalBusinessProfile NotFound.”
It turns out that when we moved offices and I updated our business’s address at partner.microsoft.com, Microsoft de-authorized our partner status, which I didn’t catch, and then put our Cloud Service Provider (CSP) indirect reseller program into “Suspended” status after some time.
In the partner center, I was able to get our legal business profile fixed easy enough – I just had to open a ticket and send them some legal documentation. Everything under the “Partner” tab in the Partner Portal is now green checkboxes and “Authorized”. Pax8 tried the provisioning again, and got the same error.
It turns out that our “Indirect Reseller status” is now “Suspended” and this wasn’t changed when the “Partner” status was fixed.
Microsoft has a webpage that describes why this can happen and what to do to get it fixed at https://learn.microsoft.com/en-us/partner-center/account-settings/suspended-partner-center-account . It says, “Microsoft suspends Partner Center accounts for Microsoft AI Cloud Partner Program when:
Significant account abuse is detected
Your vetting status is Rejected for more than 30 days”
We haven’t had any account abuse (mercifully, our existing tenants are still operational and being billed for through Pax8), so our vetting status was almost certainly to blame. That same document says, “If you are sure that your account is compliant and should be moved back to Active state, contact Support for help with reactivating your account,” so I opened a ticket with Microsoft.
Actually, 3 tickets so far, because every single one has the same copy-and-paste reply:
Thank you for contacting Microsoft Partner support about the suspension of the CSP account.
In the Microsoft AI Cloud Partner Program Agreement, both Microsoft and our partners reserve the right to walk away from the partner relationship by providing 30 days’ notice to the other. The notice of suspension and termination proceeding was provided April 2024. Neither party is required to offer an explanation for the decision to terminate the partner agreement. As Microsoft is exercising its rights under this section 4.b of the Microsoft AI Cloud Program Agreement, we are unable to share an explanation or further details.
Thanks,
I can’t get anywhere with Microsoft support. We just landed a big customer and need to set up their tenant. I am afraid that if this goes on much longer or if somehow we are unable to add any more customers to our Pax8 account, that we’ll lose this customer, which is large enough to really hurt the business.
Does anyone here have any ideas on how to get through to someone at Microsoft that could help with this situation? Does anyone else have any other ideas on what else we could try?
Some additional notes:
When clicking “Agreements” in the partner portal, we get an error message, “Service unavailable. Something went wrong. Please try reloading the page, if this problem persists please contact Microsoft support.”
Everything in Legal Info/Partner looks good. Our “Microsoft AI Cloud Partner Program status” is “Active”.
Everything in Legal Info/Reseller looks good except that “Indirect Reseller status” shows “Suspended”.
Under Identifiers/Microsoft AI Cloud Partner Program, I have 1 PartnerGlobal ID and 2 PartnerLocation IDs, corresponding to our old and new addresses. Do I need to delete the old PartnerLocation ID? I haven’t done so because it looks like this step is irreversible but I am getting desperate enough to try it.
Our “Company profile” is not filled out, but the “Update” button stays grayed out after I fill in the information and it appears that I am unable to update this.
I thought that maybe I just needed to sign the “Microsoft AI Cloud Partner Program Agreement” again, but I can’t find anywhere on the partner portal where I would do so.
I went through my emails exhaustively and we did not receive a, “notice of suspension and termination proceeding” in April 2024, or any other time for that matter.
I can’t find a copy of the Microsoft AI Cloud Program Agreement to even see what section 4.b says.
I’ve dealt with government bureaucracies a lot in my career, but I’ve never experienced a Kafkaesque situation 10% as bad as this one. This is probably the most stressful thing I’ve dealt with in this business in the last decade. This could destroy our business if I can’t get this sorted out.
Sorry for the wall of text, but I tried to include as much detail as possible and it got long. If you got to this point in my post, thank you for helping or trying to help me.
The latest ticket ID we have from Microsoft is 2406050040012239
I am in a very bad spot with our indirect reseller Microsoft account and am hoping that maybe someone out there might be able to help me.In mid May, I placed an order with Pax8 for a new customer and the order was rejected by Microsoft with the error, “Associated partner LegalBusinessProfile NotFound.”It turns out that when we moved offices and I updated our business’s address at partner.microsoft.com, Microsoft de-authorized our partner status, which I didn’t catch, and then put our Cloud Service Provider (CSP) indirect reseller program into “Suspended” status after some time.In the partner center, I was able to get our legal business profile fixed easy enough – I just had to open a ticket and send them some legal documentation. Everything under the “Partner” tab in the Partner Portal is now green checkboxes and “Authorized”. Pax8 tried the provisioning again, and got the same error.It turns out that our “Indirect Reseller status” is now “Suspended” and this wasn’t changed when the “Partner” status was fixed.Microsoft has a webpage that describes why this can happen and what to do to get it fixed at https://learn.microsoft.com/en-us/partner-center/account-settings/suspended-partner-center-account . It says, “Microsoft suspends Partner Center accounts for Microsoft AI Cloud Partner Program when:Significant account abuse is detectedYour vetting status is Rejected for more than 30 days”We haven’t had any account abuse (mercifully, our existing tenants are still operational and being billed for through Pax8), so our vetting status was almost certainly to blame. That same document says, “If you are sure that your account is compliant and should be moved back to Active state, contact Support for help with reactivating your account,” so I opened a ticket with Microsoft.Actually, 3 tickets so far, because every single one has the same copy-and-paste reply:Thank you for contacting Microsoft Partner support about the suspension of the CSP account. In the Microsoft AI Cloud Partner Program Agreement, both Microsoft and our partners reserve the right to walk away from the partner relationship by providing 30 days’ notice to the other. The notice of suspension and termination proceeding was provided April 2024. Neither party is required to offer an explanation for the decision to terminate the partner agreement. As Microsoft is exercising its rights under this section 4.b of the Microsoft AI Cloud Program Agreement, we are unable to share an explanation or further details. Thanks,I can’t get anywhere with Microsoft support. We just landed a big customer and need to set up their tenant. I am afraid that if this goes on much longer or if somehow we are unable to add any more customers to our Pax8 account, that we’ll lose this customer, which is large enough to really hurt the business.Does anyone here have any ideas on how to get through to someone at Microsoft that could help with this situation? Does anyone else have any other ideas on what else we could try?Some additional notes:When clicking “Agreements” in the partner portal, we get an error message, “Service unavailable. Something went wrong. Please try reloading the page, if this problem persists please contact Microsoft support.”Everything in Legal Info/Partner looks good. Our “Microsoft AI Cloud Partner Program status” is “Active”.Everything in Legal Info/Reseller looks good except that “Indirect Reseller status” shows “Suspended”.Under Identifiers/Microsoft AI Cloud Partner Program, I have 1 PartnerGlobal ID and 2 PartnerLocation IDs, corresponding to our old and new addresses. Do I need to delete the old PartnerLocation ID? I haven’t done so because it looks like this step is irreversible but I am getting desperate enough to try it.Our “Company profile” is not filled out, but the “Update” button stays grayed out after I fill in the information and it appears that I am unable to update this.I thought that maybe I just needed to sign the “Microsoft AI Cloud Partner Program Agreement” again, but I can’t find anywhere on the partner portal where I would do so.I went through my emails exhaustively and we did not receive a, “notice of suspension and termination proceeding” in April 2024, or any other time for that matter.I can’t find a copy of the Microsoft AI Cloud Program Agreement to even see what section 4.b says.I’ve dealt with government bureaucracies a lot in my career, but I’ve never experienced a Kafkaesque situation 10% as bad as this one. This is probably the most stressful thing I’ve dealt with in this business in the last decade. This could destroy our business if I can’t get this sorted out.Sorry for the wall of text, but I tried to include as much detail as possible and it got long. If you got to this point in my post, thank you for helping or trying to help me.The latest ticket ID we have from Microsoft is 2406050040012239 Read More
That should be obvious: get my contacts from outlook.com (OWA) synced Outlook 2016 or Outlook 2019.
Call me stupid; I can’t get my contacts from my outlook.com account to show up in Outlook 2016 for Mac or Outlook2019 for Windows.
All my contacts are on https://outlook.live.com/people/, I can see them in Outlook for Android on my Smartphone but I can’t see them in the desktop apps.
What are the steps to initiate the contacts syncing on desktop apps?
Call me stupid; I can’t get my contacts from my outlook.com account to show up in Outlook 2016 for Mac or Outlook2019 for Windows.All my contacts are on https://outlook.live.com/people/, I can see them in Outlook for Android on my Smartphone but I can’t see them in the desktop apps.What are the steps to initiate the contacts syncing on desktop apps? Read More
Tech Presentations: Key Strategies for Success
Navigating the intricate world of technology requires more than just expertise; it demands the ability to share that knowledge effectively. This article embarks on a journey to uncover the most effective strategies for crafting presentations tailored for the tech-savvy audience. We will dissect the elements that make a presentation not just informative, but memorable and engaging. From leveraging the latest tools to understanding the nuances of audience engagement, we aim to provide a comprehensive guide that empowers tech professionals to deliver their message with precision and impact. We’ll discuss these strategies with U.S. M365 MVP Melissa Marshall.
MVP Melissa Marshall
Share with us your journey into becoming a top-level presenter.
I started my career as a professor at Penn State University, where I taught public speaking courses for engineering students. While I was there, I had the good fortune to give a TED Talk entitled “Talk Nerdy to Me” about the importance of science communication, and that really launched my ideas on scientific presentations into global prominence. I began to receive additional invitations to speak at conferences and provide training workshops at companies and institutions. In 2015, I went full-time into my speaking, training, and consulting business, Present Your Science. I now help the leading tech professionals and companies in the world present their work in a meaningful and compelling way that inspires stakeholders to take action.
Could you please share with us the three main tools to improve presentations?
Be audience-centric. Your ability to be successful as a speaker depends upon your ability to make your audience successful.
TIP: Be an interpreter of your work, not a reporter. Always connect each piece of technical info to a “So what?” point.
Filter and Focus. When you try to share everything, you share nothing.
TIP: Start your planning with the ‘view’ you want your audience to have at the end of the talk. Then ask yourself “What would they need to know in order to get there?”
Show Your Science. Your slides should do something for you that your words cannot. This means make your slides VISUAL not VERBAL.
TIP: Avoid bullet points (seriously!). Have a brief take-away message at the top of each slide and support it with visual evidence.
What are the main challenges that presenters face during a presentation?
Presenters often allow the “status quo” of how slides are typically designed in their industry or at their company to dictate their choices. Unfortunately, this status quo is often rooted in text heavy, bulleted slides which are not successful for an audience. Instead of designing slides how you have always seen it done, I think presenters need to use a more strategic, evidence-based approach for their slide design. That’s why I worked with the MS PowerPoint team to create this slide design template for technical presenters. This template is fully customizable, but it helps to lead the presenter to a design strategy that focuses on take away messages supported by visual evidence. Which is a big step in the right direction for technical slides that are more successful for an audience.
Also, presenters often struggle to filter their details in presentations, and they overwhelm the audience with too much information. This can be improved by beginning your preparation by identifying the most critical single message you must convey. And then focus on including information that relates to that message.
When sharing data, it’s important to be very descriptive about not just what the data is, but why the data is significant. It is easy to get in the habit of simply sharing the information, without providing context for it.
How are you using AI today to help you with presentations?
I love sharing PowerPoint Speaker Coach with my clients. This is an awesome AI-Driven tool that provides the speaker with private feedback on presentation elements like rate of speaking, emphasis, verbal fillers, and inclusive language. It’s a great way to add some structure and purpose to practicing a presentation.
What advice would you have for tech professionals beginning their journey presenting?
Look for more opportunities to present! Most people have some anxiety associated with speaking in front of others, which causes them to avoid those situations as much as possible. However, the answer to becoming more comfortable speaking is to simply DO IT MORE. It’s counterintuitive to what we feel like we want to do, but if you embraced the discomfort of presenting more often, you would find quite quickly that you are all the sudden becoming more comfortable and confident.
In summary, the journey through the landscape of technical presentations is one of continuous learning and adaptation. The strategies discussed here provide a roadmap for creating presentations that not only convey complex information but also engage and inspire the tech community. By weaving together a narrative that resonates with the audience, utilizing visual aids to clarify and emphasize key points, and delivering with confidence and passion, presenters can leave a lasting impact. As technology continues to advance, so must our approach to sharing it. Let this article serve as a catalyst for innovation in your presentation techniques, empowering you to illuminate the path forward in the ever-changing world of technology.
Microsoft Tech Community – Latest Blogs –Read More
Maintain formatting while reading PDF document
Hello, while reading a PDF document, I want to let the formatting as it is – for the bold to be bold, for the italic to be italic. I have tried this with extractFileText, but not successful. How can this be done? Thanks.Hello, while reading a PDF document, I want to let the formatting as it is – for the bold to be bold, for the italic to be italic. I have tried this with extractFileText, but not successful. How can this be done? Thanks. Hello, while reading a PDF document, I want to let the formatting as it is – for the bold to be bold, for the italic to be italic. I have tried this with extractFileText, but not successful. How can this be done? Thanks. pdf, formatting, read file, text analytics MATLAB Answers — New Questions
Unable to display the data from the DHT11 sensor on the channel without Wi Fi using TTGO T-Call (=esp32 + SIM800L) and TCP/IP commands
the files attached contains the code that i used , and when i upload, it shows the results in the screenshots below,
Task : sending dht11 data without Wi Fi to thingspeakthe files attached contains the code that i used , and when i upload, it shows the results in the screenshots below,
Task : sending dht11 data without Wi Fi to thingspeak the files attached contains the code that i used , and when i upload, it shows the results in the screenshots below,
Task : sending dht11 data without Wi Fi to thingspeak sim800l, ttgo t-call, data, dht11, arduino ide, tcp/ip MATLAB Answers — New Questions
Quadratic optimization with quadratic constraints
Hi everyone,
I have an optimization problem with a quadratic objective function and quadratic constraint functions AND the problem is non-convex.
Is there any Matlab function which can do this? QUADPROG and FMINCON only allow linear constraints afaik. I also tried a solver by MOSEK (http://mosek.com/) but this only can deal with convex problems. Is there any tool/function for the non-convex case?
Thanks!
RenéHi everyone,
I have an optimization problem with a quadratic objective function and quadratic constraint functions AND the problem is non-convex.
Is there any Matlab function which can do this? QUADPROG and FMINCON only allow linear constraints afaik. I also tried a solver by MOSEK (http://mosek.com/) but this only can deal with convex problems. Is there any tool/function for the non-convex case?
Thanks!
René Hi everyone,
I have an optimization problem with a quadratic objective function and quadratic constraint functions AND the problem is non-convex.
Is there any Matlab function which can do this? QUADPROG and FMINCON only allow linear constraints afaik. I also tried a solver by MOSEK (http://mosek.com/) but this only can deal with convex problems. Is there any tool/function for the non-convex case?
Thanks!
René optimization, nonlinear, mathematics MATLAB Answers — New Questions
MEX-Function execution time issue in Simulink model
I am working on integrating a MEX function into a Simulink model to protect the source code of an algorithm from direct visibility. To achieve this, I converted the original MATLAB function into a MEX function, which I then call within a MATLAB Function block using the coder.extrinsic command.
During my testing, I’ve observed that the MEX function executes at each simulation step and is significantly slower compared to the original MATLAB function, resulting in a much higher overall simulation time.
I have several questions and would appreciate insights from the community:
Why might the MEX function be performing slower than the MATLAB function within the Simulink environment?
How does Simulink handle MEX functions during simulation and compilation?
What are the best practices or correct methods for integrating a MEX function into a Simulink model to ensure optimal performance?
Any detailed explanations or guidance on troubleshooting and improving the performance of MEX functions in Simulink would be highly appreciated. Thank you!I am working on integrating a MEX function into a Simulink model to protect the source code of an algorithm from direct visibility. To achieve this, I converted the original MATLAB function into a MEX function, which I then call within a MATLAB Function block using the coder.extrinsic command.
During my testing, I’ve observed that the MEX function executes at each simulation step and is significantly slower compared to the original MATLAB function, resulting in a much higher overall simulation time.
I have several questions and would appreciate insights from the community:
Why might the MEX function be performing slower than the MATLAB function within the Simulink environment?
How does Simulink handle MEX functions during simulation and compilation?
What are the best practices or correct methods for integrating a MEX function into a Simulink model to ensure optimal performance?
Any detailed explanations or guidance on troubleshooting and improving the performance of MEX functions in Simulink would be highly appreciated. Thank you! I am working on integrating a MEX function into a Simulink model to protect the source code of an algorithm from direct visibility. To achieve this, I converted the original MATLAB function into a MEX function, which I then call within a MATLAB Function block using the coder.extrinsic command.
During my testing, I’ve observed that the MEX function executes at each simulation step and is significantly slower compared to the original MATLAB function, resulting in a much higher overall simulation time.
I have several questions and would appreciate insights from the community:
Why might the MEX function be performing slower than the MATLAB function within the Simulink environment?
How does Simulink handle MEX functions during simulation and compilation?
What are the best practices or correct methods for integrating a MEX function into a Simulink model to ensure optimal performance?
Any detailed explanations or guidance on troubleshooting and improving the performance of MEX functions in Simulink would be highly appreciated. Thank you! simulink, mex function, coder.extrinsic, simulation speed, mex compiler, execution time, matlab compiler MATLAB Answers — New Questions
Assertion block does not stop simulation if I run the model with “sim” function
Hi, I’m having issues with the Assertion block in Simulink when it comes to pause the current simulation.
Please refer to the following toy-example, which is enough to show the problem. Here, the assertion should be triggered after one second of simulation.
Here is what I’m trying to do:
Run the simulation programmatically, using a Matlab script
When a certain condition is met (here: after one seconds of simulation), pause the simulation in order to trigger the model callback "PauseFcn"
After performing some operations within the callback, resume the simulation
Following the documentation, I configured the Assertion block in order to monitor the desired condition and pause the model. Specifically, I set the Assertion block callback to:
set_param(bdroot,’SimulationCommand’,’pause’)
—————————————
If I run the model using Simulink GUI, everything works fine: the model pauses after one second and the "PauseFcn" callabck is executed.
However, if I run the model programmatically using
MyOut = sim("MyModelName");
Then the following happens:
The Assertion block triggers a warning after one second, as it should; the warning is dispayed in the Command Window
Despite this, the simulation does not pause: it proceeds beyond one second.
As an additional consequence, the model callback "PauseFcn" is not triggered (as confirmed by tracing the callbacks)
Do you have any suggestions?
I’m using Matlab R2024aHi, I’m having issues with the Assertion block in Simulink when it comes to pause the current simulation.
Please refer to the following toy-example, which is enough to show the problem. Here, the assertion should be triggered after one second of simulation.
Here is what I’m trying to do:
Run the simulation programmatically, using a Matlab script
When a certain condition is met (here: after one seconds of simulation), pause the simulation in order to trigger the model callback "PauseFcn"
After performing some operations within the callback, resume the simulation
Following the documentation, I configured the Assertion block in order to monitor the desired condition and pause the model. Specifically, I set the Assertion block callback to:
set_param(bdroot,’SimulationCommand’,’pause’)
—————————————
If I run the model using Simulink GUI, everything works fine: the model pauses after one second and the "PauseFcn" callabck is executed.
However, if I run the model programmatically using
MyOut = sim("MyModelName");
Then the following happens:
The Assertion block triggers a warning after one second, as it should; the warning is dispayed in the Command Window
Despite this, the simulation does not pause: it proceeds beyond one second.
As an additional consequence, the model callback "PauseFcn" is not triggered (as confirmed by tracing the callbacks)
Do you have any suggestions?
I’m using Matlab R2024a Hi, I’m having issues with the Assertion block in Simulink when it comes to pause the current simulation.
Please refer to the following toy-example, which is enough to show the problem. Here, the assertion should be triggered after one second of simulation.
Here is what I’m trying to do:
Run the simulation programmatically, using a Matlab script
When a certain condition is met (here: after one seconds of simulation), pause the simulation in order to trigger the model callback "PauseFcn"
After performing some operations within the callback, resume the simulation
Following the documentation, I configured the Assertion block in order to monitor the desired condition and pause the model. Specifically, I set the Assertion block callback to:
set_param(bdroot,’SimulationCommand’,’pause’)
—————————————
If I run the model using Simulink GUI, everything works fine: the model pauses after one second and the "PauseFcn" callabck is executed.
However, if I run the model programmatically using
MyOut = sim("MyModelName");
Then the following happens:
The Assertion block triggers a warning after one second, as it should; the warning is dispayed in the Command Window
Despite this, the simulation does not pause: it proceeds beyond one second.
As an additional consequence, the model callback "PauseFcn" is not triggered (as confirmed by tracing the callbacks)
Do you have any suggestions?
I’m using Matlab R2024a simulink, simulation, callback MATLAB Answers — New Questions
Copilot Flight Crew: Earn Your Wings?
At the M365 Community Conference in Orlando, we were told that a “Copilot Flight Crew” challenge would be starting on June 1st but I am unable to find any information about it. See image from presentation below:
At the M365 Community Conference in Orlando, we were told that a “Copilot Flight Crew” challenge would be starting on June 1st but I am unable to find any information about it. See image from presentation below: Read More
Excel file opening very slowly
I have moderately complex excel spreadsheet that opens very slowly.
I have moderately complex excel spreadsheet that opens very slowly. Read More
Project Online (PWA) Issue: When a save a project next day all my tasks are gone.
I have a problem with the Project Online (PWA). Every time I create a new project, I open it through Project Desktop, adding all the tasks, save it, and check in, everything looks fine. But the next day, when I open it, all my tasks are gone. I have given my users owner permissions to the SharePoint Site Project Web App to they check off any task in the task list. Also, when I open the project website in SharePoint, all the tasks are there, but when I open it through Project Desktop with different users, all is gone. Do you know why this is happening and how to fix it?
I have a backup to restore my project but frustrating and I don’t know what to do. Please advise.
I have a problem with the Project Online (PWA). Every time I create a new project, I open it through Project Desktop, adding all the tasks, save it, and check in, everything looks fine. But the next day, when I open it, all my tasks are gone. I have given my users owner permissions to the SharePoint Site Project Web App to they check off any task in the task list. Also, when I open the project website in SharePoint, all the tasks are there, but when I open it through Project Desktop with different users, all is gone. Do you know why this is happening and how to fix it? I have a backup to restore my project but frustrating and I don’t know what to do. Please advise. Read More
How can I write this update better?
The query below is to check if a specific date falls on a weekend and if it does update the date to the Monday following the weekend. Ex: date = 6/15/2024. This falls on a Saturday. In this case, the date is set to 6/17/2024.
The query works as expected, however, curious to know if there is a shorter, efficient version.
declare
@day int, @date datetime
set @date = convert(varchar,getdate(),101)
select @day = datepart(dw, @date)
select
case when @day = 7 then @date + 2
when @day = 1 then @date + 1
else @date
end
update table_name set run_date = @date where id = 123
The query below is to check if a specific date falls on a weekend and if it does update the date to the Monday following the weekend. Ex: date = 6/15/2024. This falls on a Saturday. In this case, the date is set to 6/17/2024.The query works as expected, however, curious to know if there is a shorter, efficient version. declare@day int, @date datetimeset @date = convert(varchar,getdate(),101)select @day = datepart(dw, @date)select case when @day = 7 then @date + 2 when @day = 1 then @date + 1 else @date endupdate table_name set run_date = @date where id = 123 Read More
TempDB space in Azure SQL DB appears much less than the published values
Issue
An issue was brought to our attention recently where an azure SQL DB was throwing TempDB related errors although the customer felt that the TempDB usage never came close to the value published in the official Microsoft document. Here’s the error the customer had complained about:
Error
Here is a more detailed error text :
The database ‘tempdb’ has reached its size quota. Partition or delete data, drop indexes, or consult the documentation for possible resolutions.’. Possible failure reasons: Problems with the query, ‘ResultSet’ property not set correctly, parameters not set correctly, or connection not established correctly.
WorkAround/Fix:
The customer wanted to know the TempDB allocated to them. While the official documentation suggested that the SLO had 1.2 TB of Temp DB, In reality they always received a TempDB full error after 64GB.
I asked their technical team to run the following command to check the current Temp DB space allocated:
SELECT FileName = df.name,
current_file_size_MB = df.size*1.0/128,
max_size = CASE df.max_size
WHEN 0 THEN ‘Autogrowth is off.’
WHEN -1 THEN ‘Autogrowth is on.’
ELSE ‘Log file grows to a maximum size of 2 TB.’
END,
growth_value =
CASE
WHEN df.growth = 0 THEN df.growth
WHEN df.growth > 0 AND df.is_percent_growth = 0 THEN df.growth*1.0/128.0
WHEN df.growth > 0 AND df.is_percent_growth = 1 THEN df.growth
END,
growth_increment_unit =
CASE
WHEN df.growth = 0 THEN ‘Size is fixed.’
WHEN df.growth > 0 AND df.is_percent_growth = 0 THEN ‘Growth value is MB.’
WHEN df.growth > 0 AND df.is_percent_growth = 1 THEN ‘Growth value is a percentage.’
END
FROM tempdb.sys.database_files AS df;
GO
The Output that was shared, verified that the TempDB allocated was indeed 1.2TB as described in the public documentation against the DB SLO. Here’s the output:
Now the next step was to check what was the free space available in the TempDB at that point because per the customer, they were not having any heavy-duty jobs/queries running on the DB at that time. I asked them to execute the query below:
— Determining the amount of free space in tempdb
SELECT SUM(unallocated_extent_page_count) AS [free pages],
(SUM(unallocated_extent_page_count)*1.0/128) AS [free space in MB]
FROM tempdb.sys.dm_db_file_space_usage;
— Determining the amount of space used by the version store
SELECT SUM(version_store_reserved_page_count) AS [version store pages used],
(SUM(version_store_reserved_page_count)*1.0/128) AS [version store space in MB]
FROM tempdb.sys.dm_db_file_space_usage;
— Determining the amount of space used by internal objects
SELECT SUM(internal_object_reserved_page_count) AS [internal object pages used],
(SUM(internal_object_reserved_page_count)*1.0/128) AS [internal object space in MB]
FROM tempdb.sys.dm_db_file_space_usage;
— Determining the amount of space used by user objects
SELECT SUM(user_object_reserved_page_count) AS [user object pages used],
(SUM(user_object_reserved_page_count)*1.0/128) AS [user object space in MB]
FROM tempdb.sys.dm_db_file_space_usage;
The output shared by the team below surprised even the customer as they didn’t expect to see this in their DB. Here’s the output:
Now the next question from the team was what was occupying >95% space on their TempDB. While I pointed out a specific section from the official documentation, I had to send them a query to get some material evidence around this. Here’s the public documentation states around User object Pages Used section in the output above:
user_object_reserved_page_count – Total number of pages allocated from uniform extents for user objects in the database. Unused pages from an allocated extent are included in the count.
You can use the total_pages column in the sys.allocation_units catalog view to return the reserved page count of each allocation unit in the user object. However, note that the total_pages column includes IAM pages.
The following objects are included in the user object page counters:
User-defined tables and indexes
System tables and indexes
Global temporary tables and indexes
Local temporary tables and indexes
Table variables
Tables returned in the table-valued functions
After that I shared the query below to help them investigate more into their TempDB:
SELECT
OBJECT_NAME(p.object_id) AS TableName,
au.*
FROM
tempdb.sys.allocation_units au
JOIN
tempdb.sys.partitions p ON au.container_id = p.partition_id
JOIN
tempdb.sys.objects o ON p.object_id = o.object_id
WHERE
au.type_desc = ‘IN_ROW_DATA’; — Optional: Add condition based on allocation unit type
Here is the output that we received and this explained the entire scenario to the customer:
The output above indicated that the 3rd party application that was connecting to the Azure SQL DB, was creating a lot of Global Temp Objects or objects that seem to persist beyond the session lifetime inside the Temp DB. The sum of the space occupied by those objects was a little over 1 TB, thereby explaining the 64 GB Temp DB space left for the rest of the queries. The customer also suspected that a new module of the 3rd party vendor could be either creating permanent objects inside the Temp DB or objects that are different from the usual Temp objects. After the discussion, the customer started a separate conversation with their vendor to address the issue.
They however had a complete understanding of the issue by the end of the troubleshooting session.
References
SORT_IN_TEMPDB Option For Indexes – SQL Server | Microsoft Learn
tempdb database – SQL Server | Microsoft Learn
Index Disk Space Example – SQL Server | Microsoft Learn
Azure SQL DB and TEMPDB usage tracking – Microsoft Community Hub
Microsoft Tech Community – Latest Blogs –Read More
BLDC Motor Control with boost converter
Hi, there is a BLDC Motor Control Simulink model in Matlab and it works perfect. It uses buck converter to regulate the dc voltage. I created a boost converter model to increase my 24V battery instead of constant dc voltage. It works perfect separate from BLDC model but when I add this model to BLDC control model, the duty cycle that is coming out of PID block is always 0 and the desired speed input doesnt change anything. This is BLDC Motor Control Simulink model with Buck converter:
And this is my boost converter and complete model:
And these is duty cycle:
Anyone who can help solving this problem? Thank you!Hi, there is a BLDC Motor Control Simulink model in Matlab and it works perfect. It uses buck converter to regulate the dc voltage. I created a boost converter model to increase my 24V battery instead of constant dc voltage. It works perfect separate from BLDC model but when I add this model to BLDC control model, the duty cycle that is coming out of PID block is always 0 and the desired speed input doesnt change anything. This is BLDC Motor Control Simulink model with Buck converter:
And this is my boost converter and complete model:
And these is duty cycle:
Anyone who can help solving this problem? Thank you! Hi, there is a BLDC Motor Control Simulink model in Matlab and it works perfect. It uses buck converter to regulate the dc voltage. I created a boost converter model to increase my 24V battery instead of constant dc voltage. It works perfect separate from BLDC model but when I add this model to BLDC control model, the duty cycle that is coming out of PID block is always 0 and the desired speed input doesnt change anything. This is BLDC Motor Control Simulink model with Buck converter:
And this is my boost converter and complete model:
And these is duty cycle:
Anyone who can help solving this problem? Thank you! bldc, electric_motor_control, boost converter MATLAB Answers — New Questions
Why is there 100% CPU use by keeping synchronizing certain files in MATLAB Connector?
MATLAB Connector keeps telling me that it’s updating for just two files like main and HEAD, but it doesn’t seem to actually update because those files do not exist in MATLAB Drive folder.
While trying to update those files, my computer is slow because it takes up 100% of CPU utilization. If synchronization is paused, the CPU utilization rate, which was 100%, drops, and if synchronization is not stopped, CPU utilization is continuously used.
I uninstalled and reinstalled MATLAB Connector by following the manual but this issue is not resolved.
https://www.mathworks.com/help/matlab/matlab_env/install-matlab-drive.htmlMATLAB Connector keeps telling me that it’s updating for just two files like main and HEAD, but it doesn’t seem to actually update because those files do not exist in MATLAB Drive folder.
While trying to update those files, my computer is slow because it takes up 100% of CPU utilization. If synchronization is paused, the CPU utilization rate, which was 100%, drops, and if synchronization is not stopped, CPU utilization is continuously used.
I uninstalled and reinstalled MATLAB Connector by following the manual but this issue is not resolved.
https://www.mathworks.com/help/matlab/matlab_env/install-matlab-drive.html MATLAB Connector keeps telling me that it’s updating for just two files like main and HEAD, but it doesn’t seem to actually update because those files do not exist in MATLAB Drive folder.
While trying to update those files, my computer is slow because it takes up 100% of CPU utilization. If synchronization is paused, the CPU utilization rate, which was 100%, drops, and if synchronization is not stopped, CPU utilization is continuously used.
I uninstalled and reinstalled MATLAB Connector by following the manual but this issue is not resolved.
https://www.mathworks.com/help/matlab/matlab_env/install-matlab-drive.html matlabconnector MATLAB Answers — New Questions
how to compute ERGODIC CHANNEL CAPACITY for 8 element mimo antenna
how to compute ERGODIC CHANNEL CAPACITY for 8 element mimo antenna .also plot frequency vs channel capacityhow to compute ERGODIC CHANNEL CAPACITY for 8 element mimo antenna .also plot frequency vs channel capacity how to compute ERGODIC CHANNEL CAPACITY for 8 element mimo antenna .also plot frequency vs channel capacity antenna, mimo MATLAB Answers — New Questions
How to convert displacment data in time series to frequency domain ie (from Amplitude (m) v/s time (s) to Amplitude (m) v/s Frequency (Hz)) using fourier transform
Hi,
I have a excel sheet containing data of heave response in meters v/s time from 1 to 1000seconds. This is the heave response of a structure subjected to regular wave of 3 m wave height. I need to convert it into frequency domain data ie heave response vs frequency in Hz.
File attached contains time series data ( Column A is time and Column B is the response ).
please help me regarding the sameHi,
I have a excel sheet containing data of heave response in meters v/s time from 1 to 1000seconds. This is the heave response of a structure subjected to regular wave of 3 m wave height. I need to convert it into frequency domain data ie heave response vs frequency in Hz.
File attached contains time series data ( Column A is time and Column B is the response ).
please help me regarding the same Hi,
I have a excel sheet containing data of heave response in meters v/s time from 1 to 1000seconds. This is the heave response of a structure subjected to regular wave of 3 m wave height. I need to convert it into frequency domain data ie heave response vs frequency in Hz.
File attached contains time series data ( Column A is time and Column B is the response ).
please help me regarding the same fft conversion MATLAB Answers — New Questions
Better support for Crosstab in Excel
This may be a sweeping statement but most data in Excel is stored as CrossTab, and not as a basic table (unless an export from another system).
It seems all LLMs including CoPilot can only function off Tabular structure and not CrossTabs, so unpivoted is a must before you can leverage CoPilot.
My wish would be that Excel supports the CrossTab structure more formally like it does with Excel Table. This will allow CoPilot to seamlessly read crosstab data without the need of the time intensive task of using Power Query to unpivot the data. This is also radically improve import of spreadsheets into Power BI!
Thoughts folks?
This may be a sweeping statement but most data in Excel is stored as CrossTab, and not as a basic table (unless an export from another system). It seems all LLMs including CoPilot can only function off Tabular structure and not CrossTabs, so unpivoted is a must before you can leverage CoPilot. My wish would be that Excel supports the CrossTab structure more formally like it does with Excel Table. This will allow CoPilot to seamlessly read crosstab data without the need of the time intensive task of using Power Query to unpivot the data. This is also radically improve import of spreadsheets into Power BI!Thoughts folks? Read More
Problems with DNS Replication after upgrade
I created a new A/D Server 2022 to replace my A/D Server 2012. The install completed and the FSMO roles transferred fine. However, I cannot manage the A/D GPO. In looking at the logs, it appears that DNS cannot replicate.
Password hash synchronization failed for domain: mrc.net, domain controller hostname: MIDSRVR01.mrc.net, domain controller IP address: 172.16.1.43. Details:
Microsoft.Online.PasswordSynchronization.SynchronizationManagerException: Unable to open connection to domain: mrc.net. Error: There was an error establishing a connection to the directory replication service. Domain controller hostname: MIDSRVR01.mrc.net, domain controller IP address: 192.168.99.12 —> Microsoft.Online.PasswordSynchronization.DirectoryReplicationServices.DrsCommunicationException: There was an error establishing a connection to the directory replication service. Domain controller hostname: MIDSRVR01.mrc.net, domain controller IP address: 192.168.99.12 —> Microsoft.Online.PasswordSynchronization.DirectoryReplicationServices.DrsException: There was an error creating the connection context. —> Microsoft.Online.PasswordSynchronization.DirectoryReplicationServices.DrsCommunicationException: RPC Error 1722 : The RPC server is unavailable. Error creating the RPC binding handle
The original A/D Server 2012 is multi-honed and it appears DNS is trying to use an IP Address on a private segment 192.168.99.12 which isn’t available to the new Server. The new server is on segment 172.16.1.x.
If I look at DNS, the server IP addresses appears in this order. How an I make the 172.16.1.43 the primary address?
How can I change the IP address to point to the other segment?
I created a new A/D Server 2022 to replace my A/D Server 2012. The install completed and the FSMO roles transferred fine. However, I cannot manage the A/D GPO. In looking at the logs, it appears that DNS cannot replicate. Password hash synchronization failed for domain: mrc.net, domain controller hostname: MIDSRVR01.mrc.net, domain controller IP address: 172.16.1.43. Details: Microsoft.Online.PasswordSynchronization.SynchronizationManagerException: Unable to open connection to domain: mrc.net. Error: There was an error establishing a connection to the directory replication service. Domain controller hostname: MIDSRVR01.mrc.net, domain controller IP address: 192.168.99.12 —> Microsoft.Online.PasswordSynchronization.DirectoryReplicationServices.DrsCommunicationException: There was an error establishing a connection to the directory replication service. Domain controller hostname: MIDSRVR01.mrc.net, domain controller IP address: 192.168.99.12 —> Microsoft.Online.PasswordSynchronization.DirectoryReplicationServices.DrsException: There was an error creating the connection context. —> Microsoft.Online.PasswordSynchronization.DirectoryReplicationServices.DrsCommunicationException: RPC Error 1722 : The RPC server is unavailable. Error creating the RPC binding handle The original A/D Server 2012 is multi-honed and it appears DNS is trying to use an IP Address on a private segment 192.168.99.12 which isn’t available to the new Server. The new server is on segment 172.16.1.x. If I look at DNS, the server IP addresses appears in this order. How an I make the 172.16.1.43 the primary address? How can I change the IP address to point to the other segment? Read More