Category: News
Secure Access to Your Azure Virtual Machines for Free with Bastion Developer
As Microsoft Azure continues to evolve to accommodate its expanding user community, we are pleased to release a groundbreaking offering in response to developer feedback and demands: the new Bastion Developer SKU of Azure Bastion. Now generally available in 6 public regions this service will revolutionize connectivity for developers by delivering secure and seamless access to Azure Virtual Machines—at no extra cost. In this article, we’ll delve into what Azure Bastion Developer entails, the issues it tackles, and why it represents an essential solution for secure access by default.
What is Azure Bastion Developer?
Azure Bastion Developer is a new free, zero-configuration, always-on SKU of the Azure Bastion service. Its primary mission is to provide secure-by-default Remote Desktop Protocol (RDP) and Secure Shell (SSH) access to Azure Virtual Machines, allowing users to establish secure connections to a single Virtual Machine per Virtual Network at a time without the need for additional network configurations or public IP addresses on Virtual Machines. By connecting through Microsoft-managed Bastion Developer resources rather than directly with a public IP address, your Virtual Machine ports will not be exposed to the public internet. This service is designed to simplify and enhance the process of accessing your Azure Virtual Machines by eliminating the complexities, high costs, and security concerns often associated with alternative methods.
Feature Comparison of Azure Bastion Offerings
Bastion Developer is a lightweight SKU of the Bastion service, allowing a single connection per Virtual Network directly through the Virtual Machines connect experience. Bastion Developer is ideal for Dev/Test users who want to securely connect to their Virtual Machines without the need for additional features or scaling. The feature matrix below outlines the differences between Bastion Developer and Bastion Basic and Standard SKUs.
Features
Developer
Basic
Standard
Private connectivity to Virtual Machines
Yes
Yes
Yes
Dedicated host agent
No
Yes
Yes
Support for multiple connections per user
No
Yes
Yes
Linux Virtual Machine private key in AKV
No
Yes
Yes
Support for Network Security Groups
No
Yes
Yes
Audit logging
No
Yes
Yes
Kerberos support
No
Yes
Yes
VNET peering support
No
Yes
Yes
Host scaling (2-50 instances)
No
No
Yes
Custom port and protocol
No
No
Yes
Native SSH support via Azure CLI
Roadmap
Roadmap
Yes
Native RDP support via Azure CLI
No
No
Yes
Azure Active Directory login for RDP/SSH via native client
No
No
Yes
IP-based connection
No
No
Yes
Shareable links
No
No
Yes
Getting Started with Azure Bastion Developer
Getting started with Azure Bastion Developer is quick and easy.
Navigate to the Azure portal.
Deploy a Windows or Linux Virtual Machine in one of the following supported regions. (Note that Bastion Developer is currently only available in the regions listed, with full regional availability coming soon.)
Central United States EUAP
East United States EUAP
West Central United States
North Central Unites States
West United States
North Europe
Navigate to Bastion tab in the Virtual Machine blade, specify authentication type, enter your credentials, and click Connect to deploy and connect to Bastion Developer with just one click. (Bastion Basic and Standard deployments will be moved under “Dedicated Deployment Options”).
Learn to configure Bastion Developer.
Empower Your Development Workflow with Azure Bastion Developer
Whether you’re a seasoned developer or just getting started with Azure, Azure Bastion Developer empowers you to work more efficiently and securely. With its simple configuration and cost-effective pricing, Azure Bastion Developer is the ultimate solution for accessing your Azure VMs with confidence.
Azure Bastion Developer—Secure, simplified, and free.
Microsoft Tech Community – Latest Blogs –Read More
Copilot in Azure Technical Deep Dive
Written by George Moore and Adam Abdelhamed, Group Principal Program Managers in the Copilot in Azure team
Introduction
Copilot in Azure is an intelligent assistant designed to help you design, operate, optimize and troubleshoot your Azure environment. At Build 2024 this week we are announcing that Copilot in Azure will be opened to all Azure users. In support of these announcements, this article provides a technical deep dive into the Copilot in Azure architecture and data flows.
Copilot in Azure is designed to make IT administrators, developers, data professionals and financial operations more efficient with their interactions across all Azure services. Because Copilot is aware of the live data in the Azure resource graph and real-time service telemetry, it can carefully craft responses which are deeply customized and relevant to you. This can help to automate many common manageability tasks, enabling operators to manage larger collections of cloud or on-prem assets with less effort.
In addition, because there are many different role types in a typical organization, the interactions between different roles are just as important as the specific data available to each role. We are thinking deeply about these role interactions to ensure that team effectiveness is facilitated by Copilot. As an example, the developer role interactions between Copilot for Github (for code generation) and Copilot for Azure (for app deployment and testing):
Architectural Overview
The Copilot in Azure architecture consists of three major components: 1) the Frontend user interface, 2) an Orchestration layer across all Azure services, and 3) the underlying AI infrastructure:
Frontend
The Frontend provides a common, consistent user interface to Copilot in Azure. It implements the conversation window, provides multimodal responses to questions (text, charts, illustrations), and collects user feedback. It also understands the current navigation context so the user can ask questions in a natural manner over the resources displayed on the current portal page.
Orchestration
The Orchestration layer is the heart of Copilot for Azure. Because Azure has hundreds of different services, this layer generates a deep semantic understanding of the user’s question using the Large Language Model, reasons over all Azure resources and resource types, and then dispatches the question to the relevant domain-specific plugins. Those plugins use their service-specific graph or observability data to answer the user’s question. For example, questions relating to YAML editing results in the Orchestrator calling the AKS plugin to invoke the built-in YAML Editor:
The Orchestrator can also reason over highly complex, multistep questions, such as “Please show all VMs running with less than 10% utilization which have been deployed in the last hour in Europe”. Copilot in Azure will then invoke the Azure Resource Graph plugin to query the graph and produce the results:
By pressing the “Run” button in the Copilot, you can then easily run the query in the Graph Explorer:
AI Infrastructure
The AI Infrastructure used by Copilot in Azure is the same Azure OpenAI (AOAI) infrastructure which is commercially available to any developer. The same functions, methodologies and architectural best practices described in this blog can be readily used by anyone to build their own advanced AI applications.
When the user asks a question to the AI, this resulting data flow is used to provide the answer:
Step 1: Metadata about the current navigational context is gathered to assist AOAI in building a semantic understanding of the user’s question. For example, if you are on an Azure Kubernetes deployment page in the portal, metadata about the current resource (version, node pools, node sizes, etc) are gathered by the portal and added as grounding context to the prompt for the AOAI infrastructure.
Step 2: The Frontend calls the Orchestration layer with the full prompt from Step 1. The fully grounded prompt is then pre-processed for Responsible AI. Assuming everything is correct, the prompt is then injected into AOAI, which reasons over the list of domain-specific plugins and returns the best match plugin for this question. If the user’s question is off-topic or semantically malformed, a friendly error message is returned in the conversation window.
Step 3: Orchestration then calls the selected plugin from the Plugin Store.
Step 4: The domain-specific plugin runs. It can fetch and combine data from many sources available within the user’s security context. For example, the “Docs & Learn” plugin performs a RAG-pattern query across the corpus of documentation in docs.microsoft.com, while the Azure Compute plugin can report on your Virtual Machine details from the Azure Graph.
Step 5: The plugin responds with the answer to the user’s question as a result of the queries executed in Step 4. A final Responsible AI pass is then performed over the resulting answer, which is then pushed to the Frontend.
Steps 6-7: The response payload from the plugin is sent to Portal for rendering a nicely formatted response with rich graphics. If the user has made a request for a change to their environment, the Portal will prompt the user for confirmation before proceeding with the requested change to the Azure Graph in Step 7.
On Premises AI Manageability
Copilot in Azure can also provide AI-enhanced manageability over the millions of bare metal Linux, VMWare vSphere, Windows Server and Azure Stack HCI servers running on prem. Each of these servers can be cloud-connected via Azure Arc, which results in their control plane and observability state being replicated to the Azure cloud. This enables Copilot in Azure to assist in the manageability of these remote servers using the same exact orchestration patterns as described above. As an example, an IT admin can easily understand the real-time status of their remote fleet of servers:
Responsible AI
AI fairness, reliability, safety, privacy, security, inclusiveness, transparency and accountability are all key parts of Microsoft’s Responsible AI principles. Copilot in Azure is designed to enforce these principles at multiple levels:
Technical safety controls within the AI model
Copilot in Azure uses Content Safety to prioritize questions about Azure and to not engage in unrelated topics. The following example shows the polite way it declines an off-topic conversation:
Technical safety controls between the AI model and the underlying Azure Graph
No Elevation of Privilege: The portal frontend and orchestration layers run in the user’s current authentication and authorization security context, which means Copilot in Azure can only access data which is available to the currently authenticated user.
Permission is required for changes: Most questions to the AI about the state of your Azure resources, with the AI generating authoritative and contextualized answers. However, if there is a request which would result in changes to your environment, Copilot in Azure always stops and requests permission before proceeding. Under no circumstances would Copilot in Azure make changes to your Azure environment without your knowledge.
Learn more
Azure Build 2024 Infrastructure Blog
Copilot in Azure website
Adaptive Cloud
Copilot in Azure documentation
Microsoft Tech Community – Latest Blogs –Read More
matlab recent versions editor left side white margin
Regarding the issue outlined in the following thread where the poster asks about the white margin on the left of the live editor:
https://in.mathworks.com/matlabcentral/answers/1596289-why-matlab-2021b-livescript-has-large-left-margin-column
The white margin on the left appears in the regular editor as well. See the image below. Not only is this white margin ugly but it is also inconvenient since you expect that you can backspace upto the start of the whitespace only to have the line prematurely deleted. Since it is not part of the editor, why not give a different shade to the margin. Every text editor that I have used has a border before the start of the first character and I think for good reason. If the margin is genuinely not part of the text box, it should be shaded differently.Regarding the issue outlined in the following thread where the poster asks about the white margin on the left of the live editor:
https://in.mathworks.com/matlabcentral/answers/1596289-why-matlab-2021b-livescript-has-large-left-margin-column
The white margin on the left appears in the regular editor as well. See the image below. Not only is this white margin ugly but it is also inconvenient since you expect that you can backspace upto the start of the whitespace only to have the line prematurely deleted. Since it is not part of the editor, why not give a different shade to the margin. Every text editor that I have used has a border before the start of the first character and I think for good reason. If the margin is genuinely not part of the text box, it should be shaded differently. Regarding the issue outlined in the following thread where the poster asks about the white margin on the left of the live editor:
https://in.mathworks.com/matlabcentral/answers/1596289-why-matlab-2021b-livescript-has-large-left-margin-column
The white margin on the left appears in the regular editor as well. See the image below. Not only is this white margin ugly but it is also inconvenient since you expect that you can backspace upto the start of the whitespace only to have the line prematurely deleted. Since it is not part of the editor, why not give a different shade to the margin. Every text editor that I have used has a border before the start of the first character and I think for good reason. If the margin is genuinely not part of the text box, it should be shaded differently. editor, left margin, whitespace MATLAB Answers — New Questions
Index Match – retrieve a value between 2 dates across different rows
Hi all,
I am hoping someone can help me! It’s a very tricky one! In the table below, I need a formula that tells me that for APP-102760 the value was 3 on the 30th January. The edit date shows the date the value changed from ‘Old Value’ to ‘New Value’. As the 30th January is between Edit Dates 11/01/2023 and 21/02/2023, I can see that the value was 3.
Application: Application NameField / EventOld ValueNew ValueEdit DateAPP-102760Probability of Arrival 205/12/2022APP-102760Probability of Arrival2311/01/2023APP-102760Probability of Arrival3421/02/2023APP-102760Probability of Arrival4522/05/2023
Hi all, I am hoping someone can help me! It’s a very tricky one! In the table below, I need a formula that tells me that for APP-102760 the value was 3 on the 30th January. The edit date shows the date the value changed from ‘Old Value’ to ‘New Value’. As the 30th January is between Edit Dates 11/01/2023 and 21/02/2023, I can see that the value was 3. Application: Application NameField / EventOld ValueNew ValueEdit DateAPP-102760Probability of Arrival 205/12/2022APP-102760Probability of Arrival2311/01/2023APP-102760Probability of Arrival3421/02/2023APP-102760Probability of Arrival4522/05/2023 Read More
VBA – Create new Workbooks from a Table using Unique Values
Greetings!
I have a rudimentary understanding of how VBA works but have very little skill/ability in VBA code. I am trying to create a VBA script that will iterate through a Table and create new workbooks with the table contents based on the values in the first column.
CustomerDeliveryDateCustomerItemCode00000145437A00000145437B00000245437A00000245437C00000245437F00004145437A00004145437B
This table is the output of a query titled “Table”. The desired outcome would be if the macro could generate workbooks for each of the Customers with the data from the table associated to their Customer Number and the filename of the output would be the Customer Number and the Date that it is generated.
The current code I’m experimenting with is below but it is creating the same workbook over and over and not depositing any data in the workbook that is getting created.
Sub OrderCopy()
Dim tbl As ListObject
Set tbl = Workbooks(“Order Generator”).Worksheets(“MarketPlace”).ListObjects(“MarketPlace”)
Dim col As Range
Set col = tbl.ListColumns(“StoreNo”).DataBodyRange
Dim oWorkbook As Excel.Workbook
Dim oCell As Excel.Range
Application.DisplayAlerts = False
For Each oCell In col
If oCell.Value = “” Then Exit For
Set oWorkbook = Workbooks.Add
oWorkbook.Sheets(1).Cells(1, 1).Value = col.Offset(0, 1).Value
oWorkbook.Close True, col.Value
Next oCell
Application.DisplayAlert5s = True
End Sub
Greetings! I have a rudimentary understanding of how VBA works but have very little skill/ability in VBA code. I am trying to create a VBA script that will iterate through a Table and create new workbooks with the table contents based on the values in the first column. CustomerDeliveryDateCustomerItemCode00000145437A00000145437B00000245437A00000245437C00000245437F00004145437A00004145437B This table is the output of a query titled “Table”. The desired outcome would be if the macro could generate workbooks for each of the Customers with the data from the table associated to their Customer Number and the filename of the output would be the Customer Number and the Date that it is generated. The current code I’m experimenting with is below but it is creating the same workbook over and over and not depositing any data in the workbook that is getting created. Sub OrderCopy()
Dim tbl As ListObject
Set tbl = Workbooks(“Order Generator”).Worksheets(“MarketPlace”).ListObjects(“MarketPlace”)
Dim col As Range
Set col = tbl.ListColumns(“StoreNo”).DataBodyRange
Dim oWorkbook As Excel.Workbook
Dim oCell As Excel.Range
Application.DisplayAlerts = False
For Each oCell In col
If oCell.Value = “” Then Exit For
Set oWorkbook = Workbooks.Add
oWorkbook.Sheets(1).Cells(1, 1).Value = col.Offset(0, 1).Value
oWorkbook.Close True, col.Value
Next oCell
Application.DisplayAlert5s = True
End Sub Read More
ICYMI: How to become a Partner at Microsoft. The first “how-to” Guide
This is an older post, but most of the information still holds true. Pinning here as a resource.
How to become a Partner at Microsoft. The first “how-to” Guide – Microsoft Community Hub
This is an older post, but most of the information still holds true. Pinning here as a resource.
How to become a Partner at Microsoft. The first “how-to” Guide – Microsoft Community Hub Read More
Ubuntu 18.04 and 22.04, Debian, and Kali Linux – Publish in Company Portal
I would like to publish the Windows subsystem for Linux distros. Ubuntu 18.04 and 22.04, Debian, and Kali Linux through Company Portal. Now, will this automatically update the versions or should I be packaging newer versions and push it again through Intune and Company Portal?
Is there a way that I have one version pushed and it automatically updates to newer versions?
I would like to publish the Windows subsystem for Linux distros. Ubuntu 18.04 and 22.04, Debian, and Kali Linux through Company Portal. Now, will this automatically update the versions or should I be packaging newer versions and push it again through Intune and Company Portal? Is there a way that I have one version pushed and it automatically updates to newer versions? Read More
Mount container for external user
Current setup utilizes a Linux based server that mounts a specific share (blob storage) when a specific user logs in. Server is setup to use SFTP(send and receive with payment provider).
Can this setup be replicated for a window based VM(IaaS)?
Current setup utilizes a Linux based server that mounts a specific share (blob storage) when a specific user logs in. Server is setup to use SFTP(send and receive with payment provider). Can this setup be replicated for a window based VM(IaaS)? Read More
Is GPT-4o coming to Copilot for Microsoft 365 and when?
Any information? Since it’s available in preview for Azure OpenAI, my guess is that it will come but I want to be sure and have a sense of the roadmap.
Any information? Since it’s available in preview for Azure OpenAI, my guess is that it will come but I want to be sure and have a sense of the roadmap. Read More
Migrate Sentinel to new region?
Hey all,
Is it possible to migrate an existing Sentinel instance from East US to West US without rebuilding the whole thing?
TIA
~dgm~
Hey all, Is it possible to migrate an existing Sentinel instance from East US to West US without rebuilding the whole thing? TIA~dgm~ Read More
Flight Log Analyzer Error in extracting GPS and Attitude Data
Hello, I am trying to import a ulog file from a PX4 SITL flight of a UAV performed in Qgrouncontrol. The ulog file works fine and the GPS data and everything else is available when I use the PX4 online flight reviewer (https://review.px4.io/plot_app?log=b0a85256-2690-49bb-8b93-a76311c32c86), however, when I try importing the downloaded ulog file (top right on page you can download it as well), the flight log analyzer app does not display any 2D map. It lists the flight modes and their timestamps, but when I hover over the map view, I get a "Error in extracting GPS and Attitude Data" message.
When importing the ulog from into the workspace using ulogreader there is a long list of topics, and the GPS position seems to be included, but when opening the signal browser after importing the ulog file into the flight log analyzer, many of the topics seem to not have been imported?
Importing the ulog file from the tutorial works, so I am assuming that there is something wrong with my ulog file format/the way the flight analyzer is trying to read the message fields, but I am unsure what exactly the problem is. If anyone has any ideas please let me know
This is the version of Matlab I am running:
MATLAB Version: 24.1.0.2603908 (R2024a) Update 3
Operating System: Microsoft Windows 11 Home Single Language Version 10.0 (Build 22631)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
—————————————————————————————————–
MATLAB Version 24.1 (R2024a)
Simulink Version 24.1 (R2024a)
Mapping Toolbox Version 24.1 (R2024a)
Signal Processing Toolbox Version 24.1 (R2024a)
UAV Toolbox Version 24.1 (R2024a)Hello, I am trying to import a ulog file from a PX4 SITL flight of a UAV performed in Qgrouncontrol. The ulog file works fine and the GPS data and everything else is available when I use the PX4 online flight reviewer (https://review.px4.io/plot_app?log=b0a85256-2690-49bb-8b93-a76311c32c86), however, when I try importing the downloaded ulog file (top right on page you can download it as well), the flight log analyzer app does not display any 2D map. It lists the flight modes and their timestamps, but when I hover over the map view, I get a "Error in extracting GPS and Attitude Data" message.
When importing the ulog from into the workspace using ulogreader there is a long list of topics, and the GPS position seems to be included, but when opening the signal browser after importing the ulog file into the flight log analyzer, many of the topics seem to not have been imported?
Importing the ulog file from the tutorial works, so I am assuming that there is something wrong with my ulog file format/the way the flight analyzer is trying to read the message fields, but I am unsure what exactly the problem is. If anyone has any ideas please let me know
This is the version of Matlab I am running:
MATLAB Version: 24.1.0.2603908 (R2024a) Update 3
Operating System: Microsoft Windows 11 Home Single Language Version 10.0 (Build 22631)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
—————————————————————————————————–
MATLAB Version 24.1 (R2024a)
Simulink Version 24.1 (R2024a)
Mapping Toolbox Version 24.1 (R2024a)
Signal Processing Toolbox Version 24.1 (R2024a)
UAV Toolbox Version 24.1 (R2024a) Hello, I am trying to import a ulog file from a PX4 SITL flight of a UAV performed in Qgrouncontrol. The ulog file works fine and the GPS data and everything else is available when I use the PX4 online flight reviewer (https://review.px4.io/plot_app?log=b0a85256-2690-49bb-8b93-a76311c32c86), however, when I try importing the downloaded ulog file (top right on page you can download it as well), the flight log analyzer app does not display any 2D map. It lists the flight modes and their timestamps, but when I hover over the map view, I get a "Error in extracting GPS and Attitude Data" message.
When importing the ulog from into the workspace using ulogreader there is a long list of topics, and the GPS position seems to be included, but when opening the signal browser after importing the ulog file into the flight log analyzer, many of the topics seem to not have been imported?
Importing the ulog file from the tutorial works, so I am assuming that there is something wrong with my ulog file format/the way the flight analyzer is trying to read the message fields, but I am unsure what exactly the problem is. If anyone has any ideas please let me know
This is the version of Matlab I am running:
MATLAB Version: 24.1.0.2603908 (R2024a) Update 3
Operating System: Microsoft Windows 11 Home Single Language Version 10.0 (Build 22631)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
—————————————————————————————————–
MATLAB Version 24.1 (R2024a)
Simulink Version 24.1 (R2024a)
Mapping Toolbox Version 24.1 (R2024a)
Signal Processing Toolbox Version 24.1 (R2024a)
UAV Toolbox Version 24.1 (R2024a) ulog, px4, qgrouncontrol, flightloganalyzer MATLAB Answers — New Questions
Project publishing crashes Unity
I am unable to publish my scene (suddenly). The build process pauses and then Unity crashes. I get no error message or information about how or why the process fails.
Where can I find logs or is there a Build cache that needs to be deleted?
I am unable to publish my scene (suddenly). The build process pauses and then Unity crashes. I get no error message or information about how or why the process fails. Where can I find logs or is there a Build cache that needs to be deleted? Read More
Matlab function “pyenv”
I need to convert one function from Matlab to Python. My Matlab version is R2022.b. Compatible Python version is 3.10. Both Matlab and Python are now installed on my PC. When I run the function "pyenv" in Matlab, I receive empty fields and message "Python commands require a supported version of CPython."
Regarding Matlab, I have: Matlab, Financial Toolbox, Optimization Toolbox, and Statistics and Machine Learning Toolbox.
Do I need to get some other toolboxes for Matlab to be able to see/work with Python?
Thank you.
StefanI need to convert one function from Matlab to Python. My Matlab version is R2022.b. Compatible Python version is 3.10. Both Matlab and Python are now installed on my PC. When I run the function "pyenv" in Matlab, I receive empty fields and message "Python commands require a supported version of CPython."
Regarding Matlab, I have: Matlab, Financial Toolbox, Optimization Toolbox, and Statistics and Machine Learning Toolbox.
Do I need to get some other toolboxes for Matlab to be able to see/work with Python?
Thank you.
Stefan I need to convert one function from Matlab to Python. My Matlab version is R2022.b. Compatible Python version is 3.10. Both Matlab and Python are now installed on my PC. When I run the function "pyenv" in Matlab, I receive empty fields and message "Python commands require a supported version of CPython."
Regarding Matlab, I have: Matlab, Financial Toolbox, Optimization Toolbox, and Statistics and Machine Learning Toolbox.
Do I need to get some other toolboxes for Matlab to be able to see/work with Python?
Thank you.
Stefan matlab to python, python MATLAB Answers — New Questions
New Teams Catch 22 – Microsoft Calls Teams Phone number. Can’t login to Teams without call From MS
New Teams will not run on my machine. I think I found a way to install it but requires me to create a new profile. I created a new profile. When I do that I have to download Teams. In order to do that Microsoft needs to call me. I don’t have Teams on that new profile so I can’t receive the call. All of my phones are routed through Teams. How do I get access to Teams from another computer or profile that doesn’t have Teams on it?
New Teams will not run on my machine. I think I found a way to install it but requires me to create a new profile. I created a new profile. When I do that I have to download Teams. In order to do that Microsoft needs to call me. I don’t have Teams on that new profile so I can’t receive the call. All of my phones are routed through Teams. How do I get access to Teams from another computer or profile that doesn’t have Teams on it? Read More
syntax error in if else if block
how to write else if condition with multiple inputs
else if condition is throwing an error.how to write else if condition with multiple inputs
else if condition is throwing an error. how to write else if condition with multiple inputs
else if condition is throwing an error. if statement, error MATLAB Answers — New Questions
active sync issue synchronisation mobile :
Hi Teams
we have exchange server 2019 cu 14 with the hotfix avril 2024 with ltm f5 for load balacer,
we noticed that AciveSync users do not receive emails automatically; each time it launches synchronization manualy to see the new emails in gmail or outlook mobile ,
sometime we receive the notification , some time we receive notification late and somtime we d’ont receive
all it’s okay with remote analyser
this phenomenon was not there before.
Do you have any idea about this problem?
Hi Teamswe have exchange server 2019 cu 14 with the hotfix avril 2024 with ltm f5 for load balacer,we noticed that AciveSync users do not receive emails automatically; each time it launches synchronization manualy to see the new emails in gmail or outlook mobile ,sometime we receive the notification , some time we receive notification late and somtime we d’ont receiveall it’s okay with remote analyserthis phenomenon was not there before.Do you have any idea about this problem? Read More
In this work, I am trying to connect two systems by injecting a delayed wave of the first system into the second system. In this system, there are several problems, including:
function [sol1] = two_system
clc
close all
clear all
global z; %%problems
%%1- The indices for the two systems cannot be equal.
%%2- The global function is only valid for one value of (MD) …
%%(the last value), while I need all values from the first system.
z= 0.05;
tau = 0.1;
tspan = linspace(0, 5, 300);
opt = odeset(‘RelTol’,1e-3);
sol1 = dde23(@system1,tau ,[0],tspan, opt);
[x1, y1] = ode23(@system2, tspan, [0], opt);
figure(1)
plot(sol1.x, sol1.y(1,:),’–r’,’LineWidth’,1.5)
hold on
plot(x1, y1(:,1),’b’,’LineWidth’,1.5)
L2=length(x1)
L1=length(sol1.x)
end
function dydt = system1(t,y,D)
global z MD;
M1 = y(1);
MD = D(1);
s1 = MD %for checking
F_M1= 2;
theta1=0*pi/180;
A1 = 0.01;
%%%%%%% equation_system1 %%%%%%%
dMdt=(A1*(2*pi*(F_M1))*cos(2*pi*(F_M1)*(t)+theta1));
dydt = [dMdt];
end
function dydt = system2(t,y)
global z MD;
s2=MD %% for checking
M2 = y(1);
F_M2= 2;
theta2=0*pi/180;
A2 = 0.01;
%%%%%%% equation_system2 %%%%%%%
dMdt=(A2*(2*pi*(F_M2))*cos(2*pi*(F_M2)*(t)+theta2))+MD*z;
dydt = [dMdt];
endfunction [sol1] = two_system
clc
close all
clear all
global z; %%problems
%%1- The indices for the two systems cannot be equal.
%%2- The global function is only valid for one value of (MD) …
%%(the last value), while I need all values from the first system.
z= 0.05;
tau = 0.1;
tspan = linspace(0, 5, 300);
opt = odeset(‘RelTol’,1e-3);
sol1 = dde23(@system1,tau ,[0],tspan, opt);
[x1, y1] = ode23(@system2, tspan, [0], opt);
figure(1)
plot(sol1.x, sol1.y(1,:),’–r’,’LineWidth’,1.5)
hold on
plot(x1, y1(:,1),’b’,’LineWidth’,1.5)
L2=length(x1)
L1=length(sol1.x)
end
function dydt = system1(t,y,D)
global z MD;
M1 = y(1);
MD = D(1);
s1 = MD %for checking
F_M1= 2;
theta1=0*pi/180;
A1 = 0.01;
%%%%%%% equation_system1 %%%%%%%
dMdt=(A1*(2*pi*(F_M1))*cos(2*pi*(F_M1)*(t)+theta1));
dydt = [dMdt];
end
function dydt = system2(t,y)
global z MD;
s2=MD %% for checking
M2 = y(1);
F_M2= 2;
theta2=0*pi/180;
A2 = 0.01;
%%%%%%% equation_system2 %%%%%%%
dMdt=(A2*(2*pi*(F_M2))*cos(2*pi*(F_M2)*(t)+theta2))+MD*z;
dydt = [dMdt];
end function [sol1] = two_system
clc
close all
clear all
global z; %%problems
%%1- The indices for the two systems cannot be equal.
%%2- The global function is only valid for one value of (MD) …
%%(the last value), while I need all values from the first system.
z= 0.05;
tau = 0.1;
tspan = linspace(0, 5, 300);
opt = odeset(‘RelTol’,1e-3);
sol1 = dde23(@system1,tau ,[0],tspan, opt);
[x1, y1] = ode23(@system2, tspan, [0], opt);
figure(1)
plot(sol1.x, sol1.y(1,:),’–r’,’LineWidth’,1.5)
hold on
plot(x1, y1(:,1),’b’,’LineWidth’,1.5)
L2=length(x1)
L1=length(sol1.x)
end
function dydt = system1(t,y,D)
global z MD;
M1 = y(1);
MD = D(1);
s1 = MD %for checking
F_M1= 2;
theta1=0*pi/180;
A1 = 0.01;
%%%%%%% equation_system1 %%%%%%%
dMdt=(A1*(2*pi*(F_M1))*cos(2*pi*(F_M1)*(t)+theta1));
dydt = [dMdt];
end
function dydt = system2(t,y)
global z MD;
s2=MD %% for checking
M2 = y(1);
F_M2= 2;
theta2=0*pi/180;
A2 = 0.01;
%%%%%%% equation_system2 %%%%%%%
dMdt=(A2*(2*pi*(F_M2))*cos(2*pi*(F_M2)*(t)+theta2))+MD*z;
dydt = [dMdt];
end sam chak MATLAB Answers — New Questions
The data area passed to a system call is too small
I have been unable to get Teams to run. I created a brand new profile and installed Teams only. This is what pops up when I try to run it:
I have been unable to get Teams to run. I created a brand new profile and installed Teams only. This is what pops up when I try to run it: Read More
How do I Evaluate my LLM Chatbot?
Earlier posts in this series:
Part 1: Is my Chatbot Ready for Production? – A 10,000 foot overview to LLMOps
After Generative AI burst onto the scene, businesses rushed to learn and leverage the technology. The first wave of adoption has most often materialized as retrieval augmented generation (RAG) chatbot products. When these initial products neared production, product owners, developers, and stakeholders soon began asking…“How do I really know if this thing is any good?”
Of course, common benchmarks for foundational models like MMLU, HellaSwag, or TruthfulQA exist, but after implementing the prompt engineering and RAG pattern needed for a specific use case, a specific testing framework is also required. The challenge is that language model outputs are inherently probabilistic [Nafar et al. 2024]. Simply put – given the same input twice, a model can produce two different outputs – and both outputs can be correct! The new wave of model evaluation and testing for generative models can be distilled into two questions:
Is my model accurate?
Is my model secure?
Is my model accurate?
Consider the following scenario:
Prompt: “Summarize the State of the Union.”
Output 1: “In the 2024 State of the Union, the President addressed key domestic and foreign policy issues. He highlighted economic growth, job creation, and infrastructure development. The President also outlined plans to strengthen healthcare, education, and national security.”
Output 2: “The President emphasized economic growth, healthcare reforms, climate action, and international cooperation in the State of the Union address. He highlighted the importance of economic innovation, education, and unity in addressing national security challenges.
The two outputs are not identical – but in this hypothetical situation they could both be considered ‘accurate’. So, how does one reliably assess accuracy? Natural language evaluation techniques can be buckets into four major categories, ranging from more probabilistic (left side in the picture below) to less probabilistic (right side in the picture below).
LLM Based
LLM Based evaluation methods have become very popular for a wide variety of natural language task assessment [Li et al. 2024]. Common LLM assessed metrics include response Coherence, Fluency, Consistency, and Relevance to a given question or context. Prompts for model assessment LLMs are highly flexible, and they can be quickly changed to improve performance with Chain-of-Thought or few-shot approaches customized to a specific use case. Research indicates that these methods are more performant than other common approaches such as BERTScore, ROGUE-L, and UniEval [Liu et al. 2023] .
Fine-Tuned Models
Fine-tuned evaluators are a natural extension of LLM based approaches. Some of these models already exist, such as Vectara’s Hallucination Evaluation model, or a team can develop their own customized fine-tuned model for a specific use cases given enough training data.
A great example of LLM / Fine-Tuned based approaches is the open source RAGAS framework. RAGAS offers a suite of metrics to users built on top of OpenAI models (by default) or any other model of a user’s choosing.
Encoding + Math
This approach seeks to transform text into a new format that can be analyzed mathematically to determine some metric. This approach can take many forms. The most common is using GPT’s Ada model(s) to embed prompt, context, and response then calculating the cosine similarity between the question-response and context-response to assess response quality. Another variation is using n-grams + BLEU score to compare question, response, and context to achieve the same goal.
Human Analysis
At the end of the day, there is no true replacement for expert human analysis.
Is my model secure?
There are many types of attacks a chatbot may face when released to users. Jailbreaking, prompt injection, data/prompt leaks, or The Waluigi Effect – just to name a few. The good news is there are many strategies to protect against these attacks. To test that your defenses are satisfactory Red Teaming is a critical part of the testing cycle. (Monitoring for attacks in real time is also a critical component – and will be discussed in detail in the next blog in this series!)
Red teaming is when a development or QA team ‘attacks’ their own application to expose and correct weaknesses. In this context, red teaming can be performed by running nefarious prompts simulating adversaries through your model and examining the results. A team can use public datasets, such as RedEval, create their own input dataset for testing specific to their user base, or a combination of both.
Put it all together
The evaluation tactics above can be leveraged to create a comprehensive evaluation framework for your LLM powered chat application. This framework can be used in tandem with normal application testing to provide confidence in a production release. The most effective testing frameworks are broken down into three parts:
Scale testing and red testing can be automated and incorporated into a CI/CD pipeline that ensure model quality and model security are above pre-defined benchmarks before allowing a release to go to production. Check out an example of CI/CD in action using Azure AI Studio. For a more custom approach, Azure PromptFlow can orchestrate many independent evaluation components to build a reliable and flexible evaluation framework. Check out this reference repository to get you started.
Finally, with an established testing framework, the development team is empowered to rapidly prototype different foundational models, prompts, and/or retrieval techniques with clear success criteria. By beginning with the end in mind, a development team can reach their goals as efficiently as possible.
The techniques offered in this blog will not only provide confidence in production deployment, but will also streamline development efforts to confidently prototype and implement state-of-the-art approaches as the field of AI continues its rapid growth!
Microsoft Tech Community – Latest Blogs –Read More
Merge two plots with the same y axis
Hello there,
I have two sets of parameter, x1 and x2 and they both vary with depth. Since the scale span of x1 is different to that of x2, what I want to do is to put the axis of x2 above, as the secondary plot (see fig below). Anyone can help me to fix this?
x1 = 0:0.1:5;
y1 = 0:1:50;
y2 = 0:1:90;
x2 = y2.^0.9;
figure;
subplot(1,2,1)
plot(x1,y1);
ylabel(‘Depth (m)’);
xlabel(‘Length’);
subplot(1,2,2);
plot(x2,y2,’r’);
ylabel(‘Depth (m)’);
xlabel(‘Power’);
Please find attached the data, or please access the code above to generate the data.
ThanksHello there,
I have two sets of parameter, x1 and x2 and they both vary with depth. Since the scale span of x1 is different to that of x2, what I want to do is to put the axis of x2 above, as the secondary plot (see fig below). Anyone can help me to fix this?
x1 = 0:0.1:5;
y1 = 0:1:50;
y2 = 0:1:90;
x2 = y2.^0.9;
figure;
subplot(1,2,1)
plot(x1,y1);
ylabel(‘Depth (m)’);
xlabel(‘Length’);
subplot(1,2,2);
plot(x2,y2,’r’);
ylabel(‘Depth (m)’);
xlabel(‘Power’);
Please find attached the data, or please access the code above to generate the data.
Thanks Hello there,
I have two sets of parameter, x1 and x2 and they both vary with depth. Since the scale span of x1 is different to that of x2, what I want to do is to put the axis of x2 above, as the secondary plot (see fig below). Anyone can help me to fix this?
x1 = 0:0.1:5;
y1 = 0:1:50;
y2 = 0:1:90;
x2 = y2.^0.9;
figure;
subplot(1,2,1)
plot(x1,y1);
ylabel(‘Depth (m)’);
xlabel(‘Length’);
subplot(1,2,2);
plot(x2,y2,’r’);
ylabel(‘Depth (m)’);
xlabel(‘Power’);
Please find attached the data, or please access the code above to generate the data.
Thanks overlay plot, two axis MATLAB Answers — New Questions