Month: July 2024
How to Use sort to Sort an Array of Custom Class Objects in MATLAB?
I have already overloaded the eq, lt, and gt methods in my class definition, but I am still encountering an issue when trying to sort using the sort function.
error sort
Incorrect number or types of inputs or outputs for function sort.I have already overloaded the eq, lt, and gt methods in my class definition, but I am still encountering an issue when trying to sort using the sort function.
error sort
Incorrect number or types of inputs or outputs for function sort. I have already overloaded the eq, lt, and gt methods in my class definition, but I am still encountering an issue when trying to sort using the sort function.
error sort
Incorrect number or types of inputs or outputs for function sort. sort, class MATLAB Answers — New Questions
Adding Restricted Administrative Units directly to a User
Hi guys, is there any way to add Restricted Administrative Units directly to User? Apparently, after doing some research, I could only add Users in Restricted Administrative Units but not vice versa. Thank you for the support. Read More
Linking data on tables
Hi
I am very new to access, and watching lots of videos at the moment. I wondered though does anyone know how I can get two bits of information onto every table. I need the unique ID that access automatically assigns, as well as a unique code that the service assigns. Is there a way for this to appear on every table if I input it into one or into a form?
Thanks
Ros
Hi I am very new to access, and watching lots of videos at the moment. I wondered though does anyone know how I can get two bits of information onto every table. I need the unique ID that access automatically assigns, as well as a unique code that the service assigns. Is there a way for this to appear on every table if I input it into one or into a form? ThanksRos Read More
How to provide users from another Entra ID tenant access to a SPO site
We need to give users from another Entra tenant access to a Sharepoint online site.
Is it possible to have these users in a Entra ID security group and give access to these users without setting up their guest accounts in our tenant?
We need to give users from another Entra tenant access to a Sharepoint online site.Is it possible to have these users in a Entra ID security group and give access to these users without setting up their guest accounts in our tenant? Read More
Defender for IoT and ServiceNow integration for real-time alerts
Hi,
I know that ServiceNow & MS were working together to send the alerts natively and in real-time from Defender or IoT to ServiceNow application.
Howver, in the documentation: Integrate ServiceNow with Microsoft Defender for IoT – Microsoft Defender for IoT | Microsoft Learn , I cannot see it is really possible. They mention Operational Technology Manager application is required (quite expensive) from ServiceNow.
But today can we send native alerts from Defender for IoT directly to ServiceNow without any application like OTM?
Thanks for feedback.
Hi,I know that ServiceNow & MS were working together to send the alerts natively and in real-time from Defender or IoT to ServiceNow application.Howver, in the documentation: Integrate ServiceNow with Microsoft Defender for IoT – Microsoft Defender for IoT | Microsoft Learn , I cannot see it is really possible. They mention Operational Technology Manager application is required (quite expensive) from ServiceNow.But today can we send native alerts from Defender for IoT directly to ServiceNow without any application like OTM?Thanks for feedback. Read More
Why is my QuickBook Payr0ll Tax table not updating, and how can I fix it?
I’m having trouble with my QuickBook Payr0ll Tax table not updating. I’ve tried several times, but it still doesn’t seem to work. Could you provide some troubleshooting solutions to fix this issue?
I’m having trouble with my QuickBook Payr0ll Tax table not updating. I’ve tried several times, but it still doesn’t seem to work. Could you provide some troubleshooting solutions to fix this issue? Read More
How do I categorize a customer refund in QuickBook?
I’m having trouble categorizing a refund in QuickBook. Can someone guide me on the steps to properly categorize a refund from a vendor or a customer? I’m not sure if I should treat it differently depending on the type of refund. Any detailed instructions or tips would be really helpful. Thanks!
I’m having trouble categorizing a refund in QuickBook. Can someone guide me on the steps to properly categorize a refund from a vendor or a customer? I’m not sure if I should treat it differently depending on the type of refund. Any detailed instructions or tips would be really helpful. Thanks! Read More
Getting Popup bloker issue in ms teams
I have to develop a teams app with react and single sign on, but when running it in ms teams in browser, it is working fine but when running under teams , it is throwing error for popup blocker.
How to resolve this issue?
I have to develop a teams app with react and single sign on, but when running it in ms teams in browser, it is working fine but when running under teams , it is throwing error for popup blocker.How to resolve this issue? Read More
Uploaded custom fonts not applied across the site
Good day
I need assistance.
I uploaded custom fonts via SPO Brand Centre and applied them to one site. The interactive areas still look the same. How can I resolve this?
We do not have custom webparts but now and then we embed stream videos and I see that the title font on the video did not change. Is it normal?
Thanks
Good day I need assistance. I uploaded custom fonts via SPO Brand Centre and applied them to one site. The interactive areas still look the same. How can I resolve this? We do not have custom webparts but now and then we embed stream videos and I see that the title font on the video did not change. Is it normal? Thanks Read More
Automatically email anyone who’s one-drive is over 100gb
I would like to implement an automation process to save time and avoid the need to manually find and email these users individually. The goal is to automatically email anyone who has over 100GB used on their OneDrive, providing them with necessary steps within the email.
Is this possible?
Hi all, I would like to implement an automation process to save time and avoid the need to manually find and email these users individually. The goal is to automatically email anyone who has over 100GB used on their OneDrive, providing them with necessary steps within the email. Is this possible? Read More
Passwords are not being saved on computer, even though they are set to save
All of my passwords have disappeared and although my computer is switched on to save passwords they are not being saved. I’m using Windows 10.
All of my passwords have disappeared and although my computer is switched on to save passwords they are not being saved. I’m using Windows 10. Read More
How to choose between ledger in Azure SQL Database and Azure Confidential Ledger
Ledger technology is a way of storing data that ensures its integrity, immutability, and verifiability. It can be used for scenarios where trust and transparency are essential, such as financial transactions, supply chain tracking, or regulatory compliance. Azure offers two services that leverage ledger technology to provide tamper-proof data storage: ledger in Azure SQL Database and Azure Confidential Ledger. In this blog post, we will compare these two services and help you decide which one is best suited for your needs.
What is ledger in Azure SQL Database?
Ledger is a technology that offers the power of Blockchain in Azure SQL Database. We’re making the data in SQL verifiable using the same cryptographic patterns seen in Blockchain technology, while keeping the flexibility and performance of a traditional database. It is centrally managed while you can cryptographically attest to other parties, such as auditors or other business parties, that your data can be trusted and hasn’t been tampered with.
Each transaction that the database executes is cryptographically hashed (SHA-256). Transactions are then cryptographically linked together, like a Blockchain. Cryptographically hashed database digests represent the state of the database. They’re periodically generated and stored outside Azure SQL Database in a tamper-proof storage location such as Azure immutable Blob storage or Azure Confidential Ledger.
All historical data of ledger tables is transparently maintained in the database system and exposed to users for auditing and forensic purposes. Historical data can be used to analyze the operations executed on and detect unexpected or malicious modifications. However, malicious high privileged users or cloud operators can update the content of ledger tables, using other techniques like writing directly to the data files, and tampering with the data. These “under the covers attacks” will be detected through the cryptographic verification. Database digests can be used by auditors, business partners (in case of a multi-party scenario) or even end users to execute the database verification process that recomputes the hashes in the database and compares them to the input hashes provided by the user. When the verification is successful, you will have cryptographic proof that your data can be fully trusted.
What is Azure Confidential Ledger?
In the era of digital transformation, data integrity is paramount. As businesses increasingly rely on data-driven decisions, the accuracy and security of their data sources become critical. Azure Confidential Ledger (ACL) is a service that epitomizes our commitment to secure, reliable, and immutable data storage.
Azure Confidential Ledger is a managed, decentralized ledger service that leverages the power of blockchain technology to provide tamper-proof storage for sensitive data records. It runs on hardware-backed Trusted Execution Environments (TEEs), ensuring that data is protected not only at rest and in transit but also in use.
ACL offers unique advantages for maintaining data integrity:
Immutability: Once data is written to the ledger, it cannot be altered or deleted, ensuring a permanent record of transactions or changes.
Tamper-proofing: Cryptographic evidence backs every entry, providing verifiable proof against unauthorized modifications.
Confidentiality: Data is shielded from unauthorized access, including from cloud providers and administrators, thanks to the minimalistic Trusted Computing Base (TCB).
Enabling Data Integrity for SQL and Storage
SQL databases and storage systems are foundational to enterprise data architecture. ACL enhances these systems by providing an additional layer of integrity protection. For SQL databases, ACL can act as an external ledger where changes and transactions are recorded and verified, adding a new dimension of security and trust.
For Azure Blob Storage, ACL complements the existing security features by providing an immutable log of storage operations. This is particularly valuable for regulatory compliance and archival purposes, where the integrity of data over time is non-negotiable.
How to choose between ledger in Azure SQL Database and Azure Confidential Ledger?
Both ledger in Azure SQL Database and Azure Confidential Ledger provide tampering protection of data storage, but they have different trade-offs and use cases. Here are some factors to consider when choosing between them:
(De)centralized: Ledger in Azure SQL Database is centrally managed while you can cryptographically attest to other parties, such as auditors or other business parties. Azure Confidential Ledger is a decentralized system that keeps data tamper proof and decentralized.
Data model: Ledger in Azure SQL Database uses a relational data model, which means you can store your data in tables and use T-SQL to query and manipulate the data. Azure Confidential Ledger is used to store unstructured data and uses use REST APIs to access and update the data.
Cost: Ledger in Azure SQL Database doesn’t come with an extra cost. The only extra cost might be extra storage that is needed to store the historical information. Azure Confidential Ledger is charged based per instance of the ledger and competitively priced. Typically, one instance is sufficient to be used across all your data sources and tables.
This diagram summarizes options for ACL and ledger in Azure SQL Database.
Conclusion
Azure’s ledger technologies offer robust solutions for ensuring data integrity and trust. Ledger in Azure SQL Database is ideal for those seeking the performance of a traditional database with the added security of Blockchain’s cryptographic verification. It is suitable for centralized systems that require tamper-proof transaction records. On the other hand, Azure Confidential Ledger caters to decentralized systems, offering a higher level of confidentiality and immutability, leveraging blockchain technology and secure enclaves. It is particularly beneficial for use cases that demand stringent regulatory compliance and long-term data archival. When deciding between the two, you must weigh factors such as centralization, data model, and cost to determine the best fit for their specific needs. Ultimately, both services enhance the trustworthiness of data storage and transactions, reinforcing Azure’s commitment to providing secure and reliable cloud services.
Learn More
Ledger in Azure SQL Database
Explore the Azure SQL Database ledger documentation
Read the whitepaper
GitHub demo/sample
Data Exposed episode (video)
Azure Confidential Ledger
Explore the Azure confidential ledger documentation
Read the blog post on: Verify integrity of data transactions in Azure confidential ledger
View our recent webinar in the Security Community
Recent case studies: HB Antwerp & BeekeeperAI
Microsoft Tech Community – Latest Blogs –Read More
How to get chaos features from a set of signals to build a ML classifier based on it?
I have a set of only two categorise time series signals and my supervisor asked me to get the chaos features from it:
he told me first to get the hilbert huang transform, the get the chaos features from its output, but I coulden’t fined how to do thisI have a set of only two categorise time series signals and my supervisor asked me to get the chaos features from it:
he told me first to get the hilbert huang transform, the get the chaos features from its output, but I coulden’t fined how to do this I have a set of only two categorise time series signals and my supervisor asked me to get the chaos features from it:
he told me first to get the hilbert huang transform, the get the chaos features from its output, but I coulden’t fined how to do this machine learning, deep learning, time series, classification, dsp, digital signal processing MATLAB Answers — New Questions
Generating triangle wave form
Hi everyone!
I was wondering how can i generate a triangle wave form? I don’t want to use the pre-prepared block with simulink for this purpose (I want to generate code from it which is effective). I know if i integrate a square wave form i can get the triangle wave form but at that case i have to generate a square wave.
Any ideas or help would be nice
Thanks for the answers.Hi everyone!
I was wondering how can i generate a triangle wave form? I don’t want to use the pre-prepared block with simulink for this purpose (I want to generate code from it which is effective). I know if i integrate a square wave form i can get the triangle wave form but at that case i have to generate a square wave.
Any ideas or help would be nice
Thanks for the answers. Hi everyone!
I was wondering how can i generate a triangle wave form? I don’t want to use the pre-prepared block with simulink for this purpose (I want to generate code from it which is effective). I know if i integrate a square wave form i can get the triangle wave form but at that case i have to generate a square wave.
Any ideas or help would be nice
Thanks for the answers. triangle wave form, generating wave form, simulink MATLAB Answers — New Questions
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