Category: News
What troubleshooting steps can QuickBook data migration services solve?
I’m having trouble with QuickBook data migration services. When attempting to transfer data, I encounter errors and some information seems to be missing after the migration. How can I ensure a smooth and complete data migration from one QuickBook version to another or to a different accounting software?
I’m having trouble with QuickBook data migration services. When attempting to transfer data, I encounter errors and some information seems to be missing after the migration. How can I ensure a smooth and complete data migration from one QuickBook version to another or to a different accounting software? Read More
Getting conflict error in outlook calendar
Hello all,
I am getting the below error when opening the invite from my outlook calendar. I am not able to update the invite because of this error which keeps coming.
I need to cancel this meeting. When I open the conflicting invite I keep getting the above error. Can anyone please support here.
Hello all, I am getting the below error when opening the invite from my outlook calendar. I am not able to update the invite because of this error which keeps coming. I need to cancel this meeting. When I open the conflicting invite I keep getting the above error. Can anyone please support here. Read More
How do you apply vendor credit in QuickBook Online?
I’m having trouble applying vendor credit in QuickBook Online. How do I properly apply vendor credits to invoices?
I’m having trouble applying vendor credit in QuickBook Online. How do I properly apply vendor credits to invoices? Read More
Introducing Learn Cloud: A VS Code Extension to simplify your First Deployment to the Cloud.
Have you ever wanted to deploy your code to the cloud, but felt overwhelmed by the complexity and options? Do you wish there was a way to learn the basics of cloud computing while working on your own project? If so, you’re not alone. Many developers struggle with the learning curve and the decision fatigue of choosing the right cloud service for their needs.
That’s why we created Learn Cloud, a VS Code extension that guides you through the process of deploying your code to the cloud, with easy-to-follow steps, interactive explanations, and customized recommendations. Whether you have an existing codebase or you want to start from a beginner friendly starter project, Learn Cloud will help you get your app up and running in the cloud in minutes.
With Learn Cloud, you can:
Use a ready-made template to create a simple web app or use your own code.
Choose the best cloud service for your app.
Follow a step-by-step tutorial that walks you through the deployment process, based on your operating system and language stack.
Learn the key concepts and terms of cloud computing.
Access your app from any browser or use vscode.dev and github.dev to edit your code online.
Learn Cloud is more than just a tool. It’s a learning experience that will help you master the fundamentals of cloud computing and make your first deployment a breeze. Ready to get started? Read on to find out how to install and use Learn Cloud and see some examples of what you can build with it.
Pre-requisites
Visual Code 1.83.0 or above. Install Visual Studio Code for FREE
To get started, you need to install the Learn Cloud extension on Visual Studio Code. On your VS Code side bar, click the extensions icon and type ‘Learn Cloud’ in the search bar.
Select the extension from the search results and click install.
Once the extension is successfully installed, an extra icon will appear on your side bar as shown in the image below. Click it to open Learn Cloud, and this will open 2 sections
Roadmap – Contains a general content outline.
Instructions – Contains the step-by-step guided learning materials, with resources for each milestone in the roadmap.
Learn Cloud walks you through 5 key milestones, and we’ll briefly look at each:
[0] Introduction
Cloud computing is a powerful and flexible way to access computing resources over the internet. It allows you to scale up or down your applications, store and process large amounts of data, and use various services and tools without having to manage the infrastructure yourself. In this part of the roadmap, you will learn the basics of cloud computing and how it can benefit you as a developer or a learner. This is a short and easy introduction that will prepare you for the next steps.
[1] Setup Azure Account
Now that you know what cloud computing is and why it matters, you are ready to take the next step: creating your own Azure account. This will give you access to a world of cloud services and resources that you can use to build, deploy, and manage your applications. You can create a free Azure account and you will get $ 200 Azure credits to explore and experiment with Azure for 30 days, at no cost to you.
Note: If you are a student, you can get even more benefits from Azure. You can sign up for a free Azure for Students subscription, which gives you $100 Azure credits every year while you are a student, as well as access to over 25 free Azure services.
After you create your Azure account, you will learn some key cloud concepts that will help you understand how Azure works and what it can do for you.
[2] What is Azure PaaS
In this section, you will learn how to deploy your web app, explore the different Platform as a Service (PaaS) options that Azure offers and learn how to choose the best one for your app. You will also discover the difference between static and dynamic web apps and how they affect your deployment strategy.
But that’s not all. You will also see how you can enhance your web app with other Azure resources that add more functionality and features to your app. By the end of this milestone, you will have a clear understanding of the deployment services and resources that Azure provides and how to use them effectively.
[3] Deploy to Azure
Get ready to launch your first web app to Azure in Milestone 3! Whether you are a beginner or an expert, this roadmap will guide you through the steps and choices you need to make to deploy your app successfully.
This step gives you 2 deployment options:-
Deploy from a starter sample, by selecting your programming language of choice
If you don’t have your own code yet, no problem! Learn Cloud gives you access to a variety of sample projects created by Microsoft and the community. You can choose a project based on your favorite programming language, framework, tools, and more.
After you pick a project, the extension will show you how to set up azd on your local machine and deploy the project to your Azure account with one click. You can also explore the code and the Azure resources to learn how the project works and what you can do with it.
2. The other option is to deploy from your own code on GitHub.
Imagine deploying your code to Azure with just a few clicks. That’s what you can do with App Spaces, a powerful Azure service that scans your GitHub repository and automatically picks the best Azure service for your web application. Based on your code structure, App spaces will deploy your web application to either a Static Web App or Azure Container App handling the deployment for you and letting you focus on your code.
[4] Azure Tools
Are you ready for more? The final module of this course will blow your mind with the amazing tools that Azure offers to take your code to cloud journey to the next level. You’ll learn how to use other relevant services on Azure that can supercharge your web application’s performance, security, scalability, and functionality.
But don’t stop there! You can share your ideas, feature requests and report bugs by contributing to the project on GitHub.
You have seen how easy it is to create, deploy, and manage web applications on Azure using various tools and frameworks. You have also gained hands-on experience with the code to cloud workflow and best practices shared on Learn Cloud. Now you have the skills and knowledge to build your own web applications on the cloud and take advantage of the benefits that Azure offers. Whether you want to develop a personal project, a professional portfolio, or a business solution, Azure has the right tools and services for you.
Don’t miss this opportunity to explore the endless possibilities that cloud computing can offer you. You’ll be amazed by how much you can achieve with Azure.
Resources
Install the Learn Cloud VS Code extension – https://marketplace.visualstudio.com/items?itemName=azurepaas-tools.vscode-learncloud
Learn Cloud on GitHub – https://github.com/microsoft/vscode-learncloud
Learn cloud, share cloud, and build cloud.
Microsoft Tech Community – Latest Blogs –Read More
Learn how to build Python Web Apps from our 6-part series!
Know a little Python and want to build web applications with Python backends? We’ve got you covered! We put on a 6-part series in June walking through the basics of web apps, the most popular Python frameworks (Flask, Django, FastAPI), containerization with Docker, deployment to Azure, and testing tools (Playwright, pytest). Follow the links below to watch those recordings and follow along at your own pace with our open-source sample projects!
If you’re a teacher, you can adapt the slides and projects for your students. You can get the editable versions from the slides repository.
Python Web Apps 101
An overview of the world of backend web development. Review the basics of HTTP and then learn how to make a Flask web application with routes, parameters, and templating. Discover how to turn that Flask application into an asynchronous application with Quart, for better concurrency.
:link: Helpful links:
Databases & ORMs
Discover how to add relational databases to a Python web app, using PostgreSQL and the popular SQLAlchemy ORM. Learn how to do migrations and use VS Code to explore the databases locally.
:link: Helpful links:
Slides
PostgreSQL playground
Flask + PostgreSQL project
RAG with PostgreSQL project
PostgreSQL + Azure project
Flask + PostgreSQL + Azure project
Django
Dive into the Django framework, a highly opinionated and very popular framework for Python web apps. Explore how the Django ORM and built-in admin makes it easy to build database-driven websites, using PostgreSQL as an example database.
:link: Helpful links:
Slides
Django + PostgreSQL project
Django + PostgreSQL + Azure project
FastAPI
Learn all about making HTTP APIs using FastAPI, the hottest new framework for Python web apps. Explore what makes FastAPI apps so “fast” and see the amazing auto-generated documentation.
:link: Helpful links:
Slides
Simple FastAPI project
FastAPI + PostgreSQL
FastAPI + Azure Functions
FastAPI + Azure Functions + APIM
Containerization with Docker
An introduction to Docker, a standard way to make your web application environments replicable and portable. Learn how to containerize Flask, Django, and FastAPI apps, and how to deploy containerized apps to clouds like Azure.
:link: Helpful links:
Slides
Simple Flask container project
Flask + DB container project
Testing with Pytest and Playwright
Learn how to use the popular pytest framework to write tests, plus bring in Playwright for browser based testing. Find out how to set up a CI on GitHub actions to automate tests and test coverage checks.
:link: Helpful links:
Slides
Pytest exercise
FastAPI + pytest project
FastAPI + DB + pytest project
Microsoft Tech Community – Latest Blogs –Read More
Unable to run rtwmakecfg file. Insufficient number of outputs
When building a model using a speedgoat blockset with Simulink Real Time, I receive the following error. "Insufficient number of outputs from right hand side of equal sign to satisfy assignment"
I am unsure what causes this or how to resolve it.When building a model using a speedgoat blockset with Simulink Real Time, I receive the following error. "Insufficient number of outputs from right hand side of equal sign to satisfy assignment"
I am unsure what causes this or how to resolve it. When building a model using a speedgoat blockset with Simulink Real Time, I receive the following error. "Insufficient number of outputs from right hand side of equal sign to satisfy assignment"
I am unsure what causes this or how to resolve it. speedgoat, matlab, coder, simulink, realtime MATLAB Answers — New Questions
inaccessible input in Test Harness (Simulink Test)
I am getting ‘inaccessible’ for some of the inputs when performing MIL testing in Testsequence.I am getting ‘inaccessible’ for some of the inputs when performing MIL testing in Testsequence. I am getting ‘inaccessible’ for some of the inputs when performing MIL testing in Testsequence. inaccessible inputs MATLAB Answers — New Questions
In MATLAB I get the following python error: AttributeError: ‘module’ object has no attribute ‘fmi’
When I call my custom python function py.linFMI.run() in MATLAB R2016a I get the following error:
Error using fmi_algorithm_drivers><module> (line 28)
Python Error: AttributeError: ‘module’ object has no attribute ‘fmi’
Error in fmi>pyfmi.fmi.ModelBase._default_options (srcpyfmifmi.c:6394) (line 338)
Error in fmi>pyfmi.fmi.FMUModelME2.simulate_options (srcpyfmifmi.c:65521) (line 6515)
Error in linFMI>run (line 313)
opts=model.simulate_options()
The same function works fine in a windows or IPython console. Any ideas what is going wrong?When I call my custom python function py.linFMI.run() in MATLAB R2016a I get the following error:
Error using fmi_algorithm_drivers><module> (line 28)
Python Error: AttributeError: ‘module’ object has no attribute ‘fmi’
Error in fmi>pyfmi.fmi.ModelBase._default_options (srcpyfmifmi.c:6394) (line 338)
Error in fmi>pyfmi.fmi.FMUModelME2.simulate_options (srcpyfmifmi.c:65521) (line 6515)
Error in linFMI>run (line 313)
opts=model.simulate_options()
The same function works fine in a windows or IPython console. Any ideas what is going wrong? When I call my custom python function py.linFMI.run() in MATLAB R2016a I get the following error:
Error using fmi_algorithm_drivers><module> (line 28)
Python Error: AttributeError: ‘module’ object has no attribute ‘fmi’
Error in fmi>pyfmi.fmi.ModelBase._default_options (srcpyfmifmi.c:6394) (line 338)
Error in fmi>pyfmi.fmi.FMUModelME2.simulate_options (srcpyfmifmi.c:65521) (line 6515)
Error in linFMI>run (line 313)
opts=model.simulate_options()
The same function works fine in a windows or IPython console. Any ideas what is going wrong? python-2.7, pyfmi, interface, python MATLAB Answers — New Questions
Project for the Web start and end times
We have a business requirement to set start and end times (or could be start time and duration) for tasks. During a go-live, we plan tasks to the 15 minute increment. For example, we need to specify that Task1 starts at 9:00, Task 2 at 9:15, Task 3 at 9:30, task 4 at 10:15, etc. I feel like there should be Start/End DateTime field types, but cannot find such a thing.
Thoughts?
We have a business requirement to set start and end times (or could be start time and duration) for tasks. During a go-live, we plan tasks to the 15 minute increment. For example, we need to specify that Task1 starts at 9:00, Task 2 at 9:15, Task 3 at 9:30, task 4 at 10:15, etc. I feel like there should be Start/End DateTime field types, but cannot find such a thing. Thoughts? Read More
When Navigating Away and Returning to My Teams Static Tab Extension, It Reloads—How to stop reload?
I have developed a static tab extension for Microsoft Teams using ReactJS. The tab functions as expected; however, when I navigate to other Teams features such as Chat or Calendar and then return to my tab, it reloads from the beginning. This results in a poor user experience since the tab does not retain its previous state or position.
I want my static tab to behave like the native Teams tabs, where it retains its state and loads instantly when navigated back to. How can I achieve this in a ReactJS-based Teams tab? Are there any specific ways or methods to achieve native behavior? Additionally, are there any changes in the manifest that could fix this reload issue?
Any guidance or recommendations on how to effectively implement state persistence to achieve a seamless user experience would be greatly appreciated. Thank you in advance for your assistance.
I have developed a static tab extension for Microsoft Teams using ReactJS. The tab functions as expected; however, when I navigate to other Teams features such as Chat or Calendar and then return to my tab, it reloads from the beginning. This results in a poor user experience since the tab does not retain its previous state or position.I want my static tab to behave like the native Teams tabs, where it retains its state and loads instantly when navigated back to. How can I achieve this in a ReactJS-based Teams tab? Are there any specific ways or methods to achieve native behavior? Additionally, are there any changes in the manifest that could fix this reload issue?Any guidance or recommendations on how to effectively implement state persistence to achieve a seamless user experience would be greatly appreciated. Thank you in advance for your assistance. Read More
Row number creation
Hi,
I have a table like below
create table ##Test (Inv nvarchar(5), InvDate date)
insert into ##Test values (‘1001′,’2024-01-01’)
insert into ##Test values (‘1001′,’2024-01-01’)
insert into ##Test values (‘1001′,’2024-01-01’)
insert into ##Test values (‘1001′,’2024-01-02’)
insert into ##Test values (‘1001′,’2024-01-02’)
insert into ##Test values (‘1001′,’2024-01-03’)
select * from ##Test
drop table ##Test
I need a result set like below. how to achieve that
create table ##Result (RowNo int,Inv nvarchar(5), InvDate date)
insert into ##Result values (1, ‘1001’,’2024-01-01′)
insert into ##Result values (1, ‘1001’,’2024-01-01′)
insert into ##Result values (1, ‘1001’,’2024-01-01′)
insert into ##Result values (2, ‘1001’,’2024-01-02′)
insert into ##Result values (2, ‘1001’,’2024-01-02′)
insert into ##Result values (3, ‘1001’,’2024-01-03′)
select * from ##Result
drop table ##Result
Thanks
Hi, I have a table like below create table ##Test (Inv nvarchar(5), InvDate date)insert into ##Test values (‘1001′,’2024-01-01’)insert into ##Test values (‘1001′,’2024-01-01’)insert into ##Test values (‘1001′,’2024-01-01’)insert into ##Test values (‘1001′,’2024-01-02’)insert into ##Test values (‘1001′,’2024-01-02’)insert into ##Test values (‘1001′,’2024-01-03’)select * from ##Testdrop table ##Test I need a result set like below. how to achieve thatcreate table ##Result (RowNo int,Inv nvarchar(5), InvDate date)insert into ##Result values (1, ‘1001’,’2024-01-01′)insert into ##Result values (1, ‘1001’,’2024-01-01′)insert into ##Result values (1, ‘1001’,’2024-01-01′)insert into ##Result values (2, ‘1001’,’2024-01-02′)insert into ##Result values (2, ‘1001’,’2024-01-02′)insert into ##Result values (3, ‘1001’,’2024-01-03′)select * from ##Resultdrop table ##Result Thanks Read More
Unable to start copilot using customization and open it after some delay
Unable to start copilot using customization and open it after some delay
I am customizing the copilot in power pages web template with given instruction https://learn.microsoft.com/en-us/microsoft-copilot-studio/customize-default-canvas?tabs=web/ and want to start conversation automatically with some delay. but it is not getting call.
below is my code
<!DOCTYPE html>
{% assign botconsumer = entities.adx_botconsumer[bot_consumer_id] %}
{% assign env = environment %}
{% assign languageCode = website.selected_language.code %}
{% assign botConfig = botconsumer.adx_configjson %}
{% assign delay = settings[‘pvaDelayTime’] %} //30 seconds delay for PVA to load on the form
<html lang=”{{languageCode}}”>
<head>
<meta charset=”UTF-8″>
<meta http-equiv=”X-UA-Compatible” content=”IE=edge”>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<title>Hub Virtual Assistant</title>
<style>
html, body {
height: 90%;
margin: 0;
}
#webchat-container {
position: fixed;
bottom: 0;
right: 0;
margin: 10px;
border-radius: 4px;
background-color: rgba(255, 255, 255, 0.85);
width: 500px;
height: 500px;
overflow: hidden;
z-index: 9999;
}
#webchat {
height: 89%; /* Adjust the height as needed */
overflow: auto;
}
#heading {
background-color: #5D025F;
padding: 13px 20px 0 20px;
margin-bottom: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
#heading h2 {
font-size: 16px;
font-family: Segoe UI;
line-height: 20px;
color: white;
margin: 0;
}
#toggle-button {
background: none;
border: none;
cursor: pointer;
color: white;
font-size: 24px;
}
.chat-icon {
width: 55px;
height: 50px;
background-color: #5D025F;
position: fixed;
bottom: 10px;
right: 5px;
border-radius: 50%;
background-image: url(‘{{ portal.context.baseUrl }}/Global/pva_chatbot.png’);
background-repeat: no-repeat;
background-position: center;
background-size: 50%;
z-index: 9999;
}
</style>
</head>
<body>
<div id=”webchat-container” class=”pva-floating-style”>
<div id=”heading”>
<h2>Hub Virtual Assistant</h2>
<button id=”toggle-button” onclick=”toggleWebChat()”>-</button>
</div>
<div id=”webchat” role=”main”></div>
</div>
<script src=”https://cdn.botframework.com/botframework-webchat/latest/webchat.js“></script>
<script>
//Initially hide the chatbot container
document.getElementById(‘webchat-container’).style.display = ‘none’;
const styleOptions = {
hideUploadButton: true,
backgroundColor: ‘#ffffff’,
bubbleBackground: ‘#F2F2F2’,
bubbleTextColor: ‘#262626’,
botAvatarInitials: ‘BOT’,
userAvatarInitials:’YOU’
};
//retrive the bot environment id
const env_ID = “{{env.Id}}”;
const envId = env_ID.replace(/-/g, ”).slice(0, -2) + ‘.’ + env_ID.slice(-2);
const theURL = “https://”+ envId +”.environment.api.powerplatform.com/powervirtualagents/botsbyschema/{{ botconsumer.adx_botschemaname }}/directline/token?api-version=2022-03-01-preview”;
let isWebChatMinimized = false;
//create store to get the build directline functionality to start bot automatically
const store = window.WebChat.createStore(
{},
({ dispatch }) => next => action => {
if (action.type === “DIRECT_LINE/CONNECT_FULFILLED”) {
dispatch({
meta: {
method: “keyboard”,
},
payload: {
activity: {
channelData: {
postBack: true,
},
name: ‘startConversation’,
type: “event”
},
},
type: “DIRECT_LINE/POST_ACTIVITY”,
});
}
return next(action);
}
);
function toggleWebChat() {
const webChatContainer = document.getElementById(‘webchat-container’);
const webChatHeading = document.getElementById(‘heading’);
isWebChatMinimized = !isWebChatMinimized;
const toggleButton = document.getElementById(‘toggle-button’);
if (isWebChatMinimized) {
webChatContainer.style.height = ’50px’;
webChatContainer.style.width = ’50px’;
webChatContainer.style.borderRadius = ‘50%’;
//added image as bot icon
webChatHeading.innerHTML ='<div class=”chat-icon” onclick=”toggleWebChat()”></div>’;
} else {
webChatContainer.style.height = ‘500px’; // Adjust the height as needed
webChatContainer.style.width = ‘500px’;
webChatContainer.style.borderRadius = ‘0%’;
webChatHeading.innerHTML ='<h2>Hub Virtual Assistant</h2><button id=”toggle-button” onclick=”toggleWebChat()”>-</button>’;
}
}
//set the delay for chatbot
setTimeout(() => {
// Show the chatbot container
document.getElementById(‘webchat-container’).style.display = ‘block’;
//to start the conversation automatically
fetch(theURL)
.then(response => response.json())
.then(conversationInfo => {
window.WebChat.renderWebChat(
{
directLine: window.WebChat.createDirectLine({
token: conversationInfo.token,
}),
store: store,
styleOptions
},
document.getElementById(‘webchat’)
);
})
.catch(err => console.error(“An error occurred: ” + err));
}, {{delay}}); //added the 30sec delay in opening of PVA chatbot
</script>
</body>
</html>
Unable to start copilot using customization and open it after some delayI am customizing the copilot in power pages web template with given instruction https://learn.microsoft.com/en-us/microsoft-copilot-studio/customize-default-canvas?tabs=web/ and want to start conversation automatically with some delay. but it is not getting call.below is my code<!DOCTYPE html>{% assign botconsumer = entities.adx_botconsumer[bot_consumer_id] %}{% assign env = environment %}{% assign languageCode = website.selected_language.code %}{% assign botConfig = botconsumer.adx_configjson %}{% assign delay = settings[‘pvaDelayTime’] %} //30 seconds delay for PVA to load on the form<html lang=”{{languageCode}}”><head><meta charset=”UTF-8″><meta http-equiv=”X-UA-Compatible” content=”IE=edge”><meta name=”viewport” content=”width=device-width, initial-scale=1.0″><title>Hub Virtual Assistant</title><style>html, body {height: 90%;margin: 0;}#webchat-container {position: fixed;bottom: 0;right: 0;margin: 10px;border-radius: 4px;background-color: rgba(255, 255, 255, 0.85);width: 500px;height: 500px;overflow: hidden;z-index: 9999;}#webchat {height: 89%; /* Adjust the height as needed */overflow: auto;}#heading {background-color: #5D025F;padding: 13px 20px 0 20px;margin-bottom: 10px;display: flex;justify-content: space-between;align-items: center;}#heading h2 {font-size: 16px;font-family: Segoe UI;line-height: 20px;color: white;margin: 0;}#toggle-button {background: none;border: none;cursor: pointer;color: white;font-size: 24px;}.chat-icon {width: 55px;height: 50px;background-color: #5D025F;position: fixed;bottom: 10px;right: 5px;border-radius: 50%;background-image: url(‘{{ portal.context.baseUrl }}/Global/pva_chatbot.png’);background-repeat: no-repeat;background-position: center;background-size: 50%;z-index: 9999;}</style></head><body><div id=”webchat-container” class=”pva-floating-style”><div id=”heading”><h2>Hub Virtual Assistant</h2><button id=”toggle-button” onclick=”toggleWebChat()”>-</button></div><div id=”webchat” role=”main”></div></div><script src=”https://cdn.botframework.com/botframework-webchat/latest/webchat.js”></script><script>//Initially hide the chatbot containerdocument.getElementById(‘webchat-container’).style.display = ‘none’;const styleOptions = {hideUploadButton: true,backgroundColor: ‘#ffffff’,bubbleBackground: ‘#F2F2F2’,bubbleTextColor: ‘#262626’,botAvatarInitials: ‘BOT’,userAvatarInitials:’YOU’};//retrive the bot environment idconst env_ID = “{{env.Id}}”;const envId = env_ID.replace(/-/g, ”).slice(0, -2) + ‘.’ + env_ID.slice(-2);const theURL = “https://”+ envId +”.environment.api.powerplatform.com/powervirtualagents/botsbyschema/{{ botconsumer.adx_botschemaname }}/directline/token?api-version=2022-03-01-preview”;let isWebChatMinimized = false;//create store to get the build directline functionality to start bot automaticallyconst store = window.WebChat.createStore({},({ dispatch }) => next => action => {if (action.type === “DIRECT_LINE/CONNECT_FULFILLED”) {dispatch({meta: {method: “keyboard”,},payload: {activity: {channelData: {postBack: true,},name: ‘startConversation’,type: “event”},},type: “DIRECT_LINE/POST_ACTIVITY”,});}return next(action);});function toggleWebChat() {const webChatContainer = document.getElementById(‘webchat-container’);const webChatHeading = document.getElementById(‘heading’);isWebChatMinimized = !isWebChatMinimized;const toggleButton = document.getElementById(‘toggle-button’);if (isWebChatMinimized) {webChatContainer.style.height = ’50px’;webChatContainer.style.width = ’50px’;webChatContainer.style.borderRadius = ‘50%’;//added image as bot iconwebChatHeading.innerHTML ='<div class=”chat-icon” onclick=”toggleWebChat()”></div>’;} else {webChatContainer.style.height = ‘500px’; // Adjust the height as neededwebChatContainer.style.width = ‘500px’;webChatContainer.style.borderRadius = ‘0%’;webChatHeading.innerHTML ='<h2>Hub Virtual Assistant</h2><button id=”toggle-button” onclick=”toggleWebChat()”>-</button>’;}}//set the delay for chatbotsetTimeout(() => {// Show the chatbot containerdocument.getElementById(‘webchat-container’).style.display = ‘block’;//to start the conversation automaticallyfetch(theURL).then(response => response.json()).then(conversationInfo => {window.WebChat.renderWebChat({directLine: window.WebChat.createDirectLine({token: conversationInfo.token,}),store: store,styleOptions},document.getElementById(‘webchat’));}).catch(err => console.error(“An error occurred: ” + err));}, {{delay}}); //added the 30sec delay in opening of PVA chatbot</script></body></html> Read More
How to make bold font for axis labe with latex interpreter
Hey i try to make my axis label that contain latex interpreter in bold style. I have try some suggestion befor but none of them seems to works. Anybody have a clue?
This is my line
ylabel(‘$|frac{ddot{X}(iomega)_{2}}{F(iomega)_{4}}|$ ($frac{mm/s^2}{N}$)’, ‘Interpreter’,’Latex’)Hey i try to make my axis label that contain latex interpreter in bold style. I have try some suggestion befor but none of them seems to works. Anybody have a clue?
This is my line
ylabel(‘$|frac{ddot{X}(iomega)_{2}}{F(iomega)_{4}}|$ ($frac{mm/s^2}{N}$)’, ‘Interpreter’,’Latex’) Hey i try to make my axis label that contain latex interpreter in bold style. I have try some suggestion befor but none of them seems to works. Anybody have a clue?
This is my line
ylabel(‘$|frac{ddot{X}(iomega)_{2}}{F(iomega)_{4}}|$ ($frac{mm/s^2}{N}$)’, ‘Interpreter’,’Latex’) latex interpreter, bold MATLAB Answers — New Questions
Import and Read data with several sheets
Hello Everyone,
I am trying to use the line of code below to read my matrix data from an excel file. However, I get stuck from the the 2nd line of code, which takes forever to run and not complete. I am wondering if I am doing something wrong. Can some help with advice?
[~,sheet_name]=xlsfinfo(‘Gas.xlsx’);
for k=1:numel(sheet_name)
data{k}=readmatrix(‘Gas.xlsx’,’Sheet’,sheet_name{k},’Range’,’A2:IP176′);
endHello Everyone,
I am trying to use the line of code below to read my matrix data from an excel file. However, I get stuck from the the 2nd line of code, which takes forever to run and not complete. I am wondering if I am doing something wrong. Can some help with advice?
[~,sheet_name]=xlsfinfo(‘Gas.xlsx’);
for k=1:numel(sheet_name)
data{k}=readmatrix(‘Gas.xlsx’,’Sheet’,sheet_name{k},’Range’,’A2:IP176′);
end Hello Everyone,
I am trying to use the line of code below to read my matrix data from an excel file. However, I get stuck from the the 2nd line of code, which takes forever to run and not complete. I am wondering if I am doing something wrong. Can some help with advice?
[~,sheet_name]=xlsfinfo(‘Gas.xlsx’);
for k=1:numel(sheet_name)
data{k}=readmatrix(‘Gas.xlsx’,’Sheet’,sheet_name{k},’Range’,’A2:IP176′);
end matrix excel, 3d plot MATLAB Answers — New Questions
Help with auto logging in.
At User Accounts there wasn’t a check box for ‘Users must enter a user name and password to use this computer’ so in the registry editor I had gone to
ComputerHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPasswordLessDeviceto modify DevicePasswordlessBuildVersion by changing it’s Value Data to 0. I then unchecked that check box in the User Accounts. I reset Windows and was surprised to find two names. There is only one name in User Accounts. I had tried rechecking that check box, resetting, and unchecking again, but that didn’t help
At User Accounts there wasn’t a check box for ‘Users must enter a user name and password to use this computer’ so in the registry editor I had gone toComputerHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPasswordLessDeviceto modify DevicePasswordlessBuildVersion by changing it’s Value Data to 0. I then unchecked that check box in the User Accounts. I reset Windows and was surprised to find two names. There is only one name in User Accounts. I had tried rechecking that check box, resetting, and unchecking again, but that didn’t help Read More
folder desktop keep pop-up
Hello everyone,
I had a problem since yesterday, it’s making me crazy (
Whenever i click on a folder (documents, dowload, movie, pictures,… or any others folders), desktop page open (in a new page everytime
I tried many things, clean cache, watch for a virus,…
PS : i have two accounts on my laptop, one private and one for work, the one for work is fine, i don’t have this problem, but in my private i cant access to my photo or others folders.
Hello everyone,I had a problem since yesterday, it’s making me crazy (Whenever i click on a folder (documents, dowload, movie, pictures,… or any others folders), desktop page open (in a new page everytimeI tried many things, clean cache, watch for a virus,… PS : i have two accounts on my laptop, one private and one for work, the one for work is fine, i don’t have this problem, but in my private i cant access to my photo or others folders. Read More
determine optimal p for AR model
hi i wanna determine AR model p using PACF
in this plot how can i determine optimal p? it seems not convergedhi i wanna determine AR model p using PACF
in this plot how can i determine optimal p? it seems not converged hi i wanna determine AR model p using PACF
in this plot how can i determine optimal p? it seems not converged pacf, ar model, optimal p MATLAB Answers — New Questions
How to create a dialog box in the plot window.
As a personal project, I have been writing a game engine in Matlab. It will be a sort of text-based RPG, where you input your command into a text box and then the game interprets that. Right now, this is the state of my getCommand function:
function GetCommand(n)
sprintf("GetCommand %d", n)
pause(0.1)
String = input(‘Input n’, ‘s’);
String = split(String);
Command = String{1,1};
Subject = String{2,1};
switch command
case ‘go’
go(subject)
end
The idea is to run Command through a switch function to find that command, and run the command using Subject as its argument.
It currently works well enough. However, the input function requests input directly from Matlab’s command line. I would like to request input from the plot window, which is where I’m rendering the game. I found inputdlg(), but that creates an entirely new window, which is not what I want either.
I hope I made myself clear. Is there any way to create a dialog box within the plot window?As a personal project, I have been writing a game engine in Matlab. It will be a sort of text-based RPG, where you input your command into a text box and then the game interprets that. Right now, this is the state of my getCommand function:
function GetCommand(n)
sprintf("GetCommand %d", n)
pause(0.1)
String = input(‘Input n’, ‘s’);
String = split(String);
Command = String{1,1};
Subject = String{2,1};
switch command
case ‘go’
go(subject)
end
The idea is to run Command through a switch function to find that command, and run the command using Subject as its argument.
It currently works well enough. However, the input function requests input directly from Matlab’s command line. I would like to request input from the plot window, which is where I’m rendering the game. I found inputdlg(), but that creates an entirely new window, which is not what I want either.
I hope I made myself clear. Is there any way to create a dialog box within the plot window? As a personal project, I have been writing a game engine in Matlab. It will be a sort of text-based RPG, where you input your command into a text box and then the game interprets that. Right now, this is the state of my getCommand function:
function GetCommand(n)
sprintf("GetCommand %d", n)
pause(0.1)
String = input(‘Input n’, ‘s’);
String = split(String);
Command = String{1,1};
Subject = String{2,1};
switch command
case ‘go’
go(subject)
end
The idea is to run Command through a switch function to find that command, and run the command using Subject as its argument.
It currently works well enough. However, the input function requests input directly from Matlab’s command line. I would like to request input from the plot window, which is where I’m rendering the game. I found inputdlg(), but that creates an entirely new window, which is not what I want either.
I hope I made myself clear. Is there any way to create a dialog box within the plot window? user input, string, plot window, plotting, dialog box MATLAB Answers — New Questions
Extract Data from Table by Data Values
Hi all,
I am trying to extract rows matching one of multiple values but I am not sure which functions to use. I have a 9,857,445 x 3 table. The headers are in the 3 columns, and all 3 columns A,B, C, contain numerical data.
I am trying to extract based on data for the first column A. For example, I want to extract the rows that have the following values for A; A= 1, A=6, A=4 or A =12. Based on all the rows that match any of the possible listed values for A, I would like to create a new table Final Data, that only lists rows that match the given values for A. I am using 2015a.
Thanks for your help.Hi all,
I am trying to extract rows matching one of multiple values but I am not sure which functions to use. I have a 9,857,445 x 3 table. The headers are in the 3 columns, and all 3 columns A,B, C, contain numerical data.
I am trying to extract based on data for the first column A. For example, I want to extract the rows that have the following values for A; A= 1, A=6, A=4 or A =12. Based on all the rows that match any of the possible listed values for A, I would like to create a new table Final Data, that only lists rows that match the given values for A. I am using 2015a.
Thanks for your help. Hi all,
I am trying to extract rows matching one of multiple values but I am not sure which functions to use. I have a 9,857,445 x 3 table. The headers are in the 3 columns, and all 3 columns A,B, C, contain numerical data.
I am trying to extract based on data for the first column A. For example, I want to extract the rows that have the following values for A; A= 1, A=6, A=4 or A =12. Based on all the rows that match any of the possible listed values for A, I would like to create a new table Final Data, that only lists rows that match the given values for A. I am using 2015a.
Thanks for your help. table, data MATLAB Answers — New Questions
insight – PowerShell proper setup
Hello, been using Windows 11 for few months since MS will be ending support next year windows 10 by far is better. Anyways I was wondering why there are different versions of Power shell windows 11 came with 5.1 or 5.2 i downloaded power shell 7.1 now it seems that power shell has two different versions installed is this true? what is the proper way to have power shell setup / updated and ready to use? I know there are new features and what not but just want to make sure it is setup correctly on my system for example updating Power shell 5.1 with latest command updates does not install power shell 7.1 why is this , is it a entire new module? Read More