Month: October 2024
Why I get a 3 dimensional array using to workspace block?
Hello everybody. I have a for loop which its output is 2 by N. N can be 1000 for example. And I define this for loop inside matlab function block in simulink. When I want to get output from it, it is defined as 2 by 1000 by 51. I mean it becomes 3 Dimensional! Why this happens and how to solve it? I also saw this problem when I wanted to integrate a matlab function. I need the output be M by N, but not M by N by D.Hello everybody. I have a for loop which its output is 2 by N. N can be 1000 for example. And I define this for loop inside matlab function block in simulink. When I want to get output from it, it is defined as 2 by 1000 by 51. I mean it becomes 3 Dimensional! Why this happens and how to solve it? I also saw this problem when I wanted to integrate a matlab function. I need the output be M by N, but not M by N by D. Hello everybody. I have a for loop which its output is 2 by N. N can be 1000 for example. And I define this for loop inside matlab function block in simulink. When I want to get output from it, it is defined as 2 by 1000 by 51. I mean it becomes 3 Dimensional! Why this happens and how to solve it? I also saw this problem when I wanted to integrate a matlab function. I need the output be M by N, but not M by N by D. matlab function simulink arrays MATLAB Answers — New Questions
Delete a timer object in it’s callback
I have short timer callbacks to change a color from a button press or other action back to it’s original color. This gives a nice flash of color when that action happens. Since the names given to a timer when it is declared don’t really exist e.g."timer-1" and you don’t get to know which one it is anyway, I tagged them like this:
Example: Set color then start timer
app.LickRight.Color=’green’;
tR = timer;
tR.Tag = "tR"; % Tag it with it’s own name
tR.StartDelay = 0.1;
tR.TimerFcn = @(~,~)app.RightBlack;
start(tR);
The callback looks like this:
function RightBlack(app,~)
app.LickRight.Color=’black’;
stop(timerfind(‘Tag’,’tR’));
delete(timerfind(‘Tag’,’tR’));
end
break at the start of the callback after color change:
1042 stop(timerfind(‘Tag’,’tR’));
K>> timerfind(‘Tag’,’tR’)
ans =
Timer Object: timer-2
Timer Settings
ExecutionMode: singleShot
Period: 1
BusyMode: drop
Running: on
Callbacks
TimerFcn: @(~,~)app.RightBlack
ErrorFcn: ”
StartFcn: ”
StopFcn: ”
First question: Since it’s a singleShot and I timed out into the callback why is it still Running On
OK, I can handle it with
stop(timerfind(‘Tag’,’tR’));
Step into that and check
K>> timerfind(‘Tag’,’tR’)
ans =
Timer Object: timer-2
Timer Settings
ExecutionMode: singleShot
Period: 1
BusyMode: drop
Running: off
Callbacks
TimerFcn: @(~,~)app.RightBlack
ErrorFcn: ”
StartFcn: ”
StopFcn: ”
OK, that worked, now it’s off at least. Next line executed:
delete(timerfind(‘Tag’,’tR’));
Check again for this one:
K>> timerfind(‘Tag’,’tR’)
ans =
Empty timer object: 0-by-0
That’s interesting, not sure what it means. Let’s check all timer objects
K>> timerfind
ans =
Timer Object: timer-2
Timer Settings
ExecutionMode: singleShot
Period: 1
BusyMode: drop
Running: off
Callbacks
TimerFcn: @(~,~)app.RightBlack
ErrorFcn: ”
StartFcn: ”
StopFcn: ”
Wait what!? Is it there or not:
Let’s delete everything for now (Can’t do this in the real program, multiple timers could be running at once)
K>> delete(timerfind)
K>> timerfind
ans =
[]
Yeah, that’s what I’m looking for. Why didn’t I get it the first time?
Here’s what’s weird: When I try it again it does delete and I don’t get what’s above. How did that happen the first time? (retorical question)
Is this clear simple way to find a timer so you can delete it in the callback? Is it OK to put lessons learned here inMatlabCentral for others to find?
I’m asking any way because the HELP for this kind of thing is archaic (GUIDE) and a very long solution from IDK how long ago whith all kinds of handle manipulation. Let’s show how timer cleanup can be done easily, because if you don’t delete them after they run they pile up eating memory, even outlasting stopping and rerunning the program, because they are separate process threads.
Oh, one more thing. Good practice when using timers in an App Designed program to do this when app closes in the built in function?
% Close request function: MouseOdor
function MouseOdorCloseRequest(app, event)
fclose(‘all’); % closes all open files. This probably happens anyway?
% Clear all timers
stop(timerfindall);
delete(timerfindall);
delete(app);
end
Anyone else notice that you can’t add text after a code section unless you leave some blank lines below where you are typing?I have short timer callbacks to change a color from a button press or other action back to it’s original color. This gives a nice flash of color when that action happens. Since the names given to a timer when it is declared don’t really exist e.g."timer-1" and you don’t get to know which one it is anyway, I tagged them like this:
Example: Set color then start timer
app.LickRight.Color=’green’;
tR = timer;
tR.Tag = "tR"; % Tag it with it’s own name
tR.StartDelay = 0.1;
tR.TimerFcn = @(~,~)app.RightBlack;
start(tR);
The callback looks like this:
function RightBlack(app,~)
app.LickRight.Color=’black’;
stop(timerfind(‘Tag’,’tR’));
delete(timerfind(‘Tag’,’tR’));
end
break at the start of the callback after color change:
1042 stop(timerfind(‘Tag’,’tR’));
K>> timerfind(‘Tag’,’tR’)
ans =
Timer Object: timer-2
Timer Settings
ExecutionMode: singleShot
Period: 1
BusyMode: drop
Running: on
Callbacks
TimerFcn: @(~,~)app.RightBlack
ErrorFcn: ”
StartFcn: ”
StopFcn: ”
First question: Since it’s a singleShot and I timed out into the callback why is it still Running On
OK, I can handle it with
stop(timerfind(‘Tag’,’tR’));
Step into that and check
K>> timerfind(‘Tag’,’tR’)
ans =
Timer Object: timer-2
Timer Settings
ExecutionMode: singleShot
Period: 1
BusyMode: drop
Running: off
Callbacks
TimerFcn: @(~,~)app.RightBlack
ErrorFcn: ”
StartFcn: ”
StopFcn: ”
OK, that worked, now it’s off at least. Next line executed:
delete(timerfind(‘Tag’,’tR’));
Check again for this one:
K>> timerfind(‘Tag’,’tR’)
ans =
Empty timer object: 0-by-0
That’s interesting, not sure what it means. Let’s check all timer objects
K>> timerfind
ans =
Timer Object: timer-2
Timer Settings
ExecutionMode: singleShot
Period: 1
BusyMode: drop
Running: off
Callbacks
TimerFcn: @(~,~)app.RightBlack
ErrorFcn: ”
StartFcn: ”
StopFcn: ”
Wait what!? Is it there or not:
Let’s delete everything for now (Can’t do this in the real program, multiple timers could be running at once)
K>> delete(timerfind)
K>> timerfind
ans =
[]
Yeah, that’s what I’m looking for. Why didn’t I get it the first time?
Here’s what’s weird: When I try it again it does delete and I don’t get what’s above. How did that happen the first time? (retorical question)
Is this clear simple way to find a timer so you can delete it in the callback? Is it OK to put lessons learned here inMatlabCentral for others to find?
I’m asking any way because the HELP for this kind of thing is archaic (GUIDE) and a very long solution from IDK how long ago whith all kinds of handle manipulation. Let’s show how timer cleanup can be done easily, because if you don’t delete them after they run they pile up eating memory, even outlasting stopping and rerunning the program, because they are separate process threads.
Oh, one more thing. Good practice when using timers in an App Designed program to do this when app closes in the built in function?
% Close request function: MouseOdor
function MouseOdorCloseRequest(app, event)
fclose(‘all’); % closes all open files. This probably happens anyway?
% Clear all timers
stop(timerfindall);
delete(timerfindall);
delete(app);
end
Anyone else notice that you can’t add text after a code section unless you leave some blank lines below where you are typing? I have short timer callbacks to change a color from a button press or other action back to it’s original color. This gives a nice flash of color when that action happens. Since the names given to a timer when it is declared don’t really exist e.g."timer-1" and you don’t get to know which one it is anyway, I tagged them like this:
Example: Set color then start timer
app.LickRight.Color=’green’;
tR = timer;
tR.Tag = "tR"; % Tag it with it’s own name
tR.StartDelay = 0.1;
tR.TimerFcn = @(~,~)app.RightBlack;
start(tR);
The callback looks like this:
function RightBlack(app,~)
app.LickRight.Color=’black’;
stop(timerfind(‘Tag’,’tR’));
delete(timerfind(‘Tag’,’tR’));
end
break at the start of the callback after color change:
1042 stop(timerfind(‘Tag’,’tR’));
K>> timerfind(‘Tag’,’tR’)
ans =
Timer Object: timer-2
Timer Settings
ExecutionMode: singleShot
Period: 1
BusyMode: drop
Running: on
Callbacks
TimerFcn: @(~,~)app.RightBlack
ErrorFcn: ”
StartFcn: ”
StopFcn: ”
First question: Since it’s a singleShot and I timed out into the callback why is it still Running On
OK, I can handle it with
stop(timerfind(‘Tag’,’tR’));
Step into that and check
K>> timerfind(‘Tag’,’tR’)
ans =
Timer Object: timer-2
Timer Settings
ExecutionMode: singleShot
Period: 1
BusyMode: drop
Running: off
Callbacks
TimerFcn: @(~,~)app.RightBlack
ErrorFcn: ”
StartFcn: ”
StopFcn: ”
OK, that worked, now it’s off at least. Next line executed:
delete(timerfind(‘Tag’,’tR’));
Check again for this one:
K>> timerfind(‘Tag’,’tR’)
ans =
Empty timer object: 0-by-0
That’s interesting, not sure what it means. Let’s check all timer objects
K>> timerfind
ans =
Timer Object: timer-2
Timer Settings
ExecutionMode: singleShot
Period: 1
BusyMode: drop
Running: off
Callbacks
TimerFcn: @(~,~)app.RightBlack
ErrorFcn: ”
StartFcn: ”
StopFcn: ”
Wait what!? Is it there or not:
Let’s delete everything for now (Can’t do this in the real program, multiple timers could be running at once)
K>> delete(timerfind)
K>> timerfind
ans =
[]
Yeah, that’s what I’m looking for. Why didn’t I get it the first time?
Here’s what’s weird: When I try it again it does delete and I don’t get what’s above. How did that happen the first time? (retorical question)
Is this clear simple way to find a timer so you can delete it in the callback? Is it OK to put lessons learned here inMatlabCentral for others to find?
I’m asking any way because the HELP for this kind of thing is archaic (GUIDE) and a very long solution from IDK how long ago whith all kinds of handle manipulation. Let’s show how timer cleanup can be done easily, because if you don’t delete them after they run they pile up eating memory, even outlasting stopping and rerunning the program, because they are separate process threads.
Oh, one more thing. Good practice when using timers in an App Designed program to do this when app closes in the built in function?
% Close request function: MouseOdor
function MouseOdorCloseRequest(app, event)
fclose(‘all’); % closes all open files. This probably happens anyway?
% Clear all timers
stop(timerfindall);
delete(timerfindall);
delete(app);
end
Anyone else notice that you can’t add text after a code section unless you leave some blank lines below where you are typing? delete timer MATLAB Answers — New Questions
Extract or copy rows of data from one sheet to another based on multiple criteria.
Hello I am not sure which excel function would be best to resolve this. A little background I work in a school setting where students are taking multiple classes and the data given to me is one excel worksheet containing every student, class, and their progress in said classes.
I have a workbook with a “rawdata” sheet that contains multiple rows where the unique ID is the student name (I know this is not practical since names can be redundant), and the following columns show their progress in various classes. I have a second sheet “mystudents” which contains only the students under my purview whos data I want to see. I would like to pull all the rows of data from “rawdata” to a new sheet based on matching the students listed in “mystudents” sheet.
I have tried using the advanced filter and selecting the “Copy to another location” button then setting the List Range: rawdata, Criteria range: mystudents but this is not working. Am I using the correct function to accomplish this? Any ideas?
Here is an example of what the “rawdata” sheet looks like:
Here is an example of “mystudents” sheet:
So Ideally it would pull every Subject, Grade, and Progress for each one of my students John Doe and Yesenia Gutierrez.
This is what I have attempted:
Am I missing something?
Hello I am not sure which excel function would be best to resolve this. A little background I work in a school setting where students are taking multiple classes and the data given to me is one excel worksheet containing every student, class, and their progress in said classes.I have a workbook with a “rawdata” sheet that contains multiple rows where the unique ID is the student name (I know this is not practical since names can be redundant), and the following columns show their progress in various classes. I have a second sheet “mystudents” which contains only the students under my purview whos data I want to see. I would like to pull all the rows of data from “rawdata” to a new sheet based on matching the students listed in “mystudents” sheet. I have tried using the advanced filter and selecting the “Copy to another location” button then setting the List Range: rawdata, Criteria range: mystudents but this is not working. Am I using the correct function to accomplish this? Any ideas? Here is an example of what the “rawdata” sheet looks like:Here is an example of “mystudents” sheet: So Ideally it would pull every Subject, Grade, and Progress for each one of my students John Doe and Yesenia Gutierrez. This is what I have attempted: Am I missing something? Read More
Project Management Access Fix?
Hi I have just begun using the template by Microsoft access that is for project management. I have posted below a screen shot of what I’m encountering. My access is showing a completed job under my project task tab. I only want this to show jobs that are active. Is there a way to fix this or filter it?
Hi I have just begun using the template by Microsoft access that is for project management. I have posted below a screen shot of what I’m encountering. My access is showing a completed job under my project task tab. I only want this to show jobs that are active. Is there a way to fix this or filter it? Read More
Ms project server 2013 .mpp file over 80Mb
Hello! Many big picture files were put in notes. After found that issue it were deleted, but the size of the file remains the same.
We meet a lot of problems with queue and “work in progress” may stuck for days. Cleaning queue is not a good solution.
How can we reduce the file? It have about 5-6k jobs.
Thank you!
Hello! Many big picture files were put in notes. After found that issue it were deleted, but the size of the file remains the same. We meet a lot of problems with queue and “work in progress” may stuck for days. Cleaning queue is not a good solution. How can we reduce the file? It have about 5-6k jobs. Thank you! Read More
COPILOT for Excel 2003
We understand ☺️ copilot is newly launched and majorly focusing on office 365 and the business user can access it as office 365 personal user don’t have access for copilot I wish if there is way to create API or Chance to add COPILOT in office 365 personal and Excel Users of 2023 open AI is rapidly increasing we want COPILOT to reach
We understand ☺️ copilot is newly launched and majorly focusing on office 365 and the business user can access it as office 365 personal user don’t have access for copilot I wish if there is way to create API or Chance to add COPILOT in office 365 personal and Excel Users of 2023 open AI is rapidly increasing we want COPILOT to reach Read More
Designing and Implementing a Data Science Solution on Azure BP Survey Opportunity
Greetings!
Microsoft is updating a certification for Designing and Implementing a Data Science Solution on Azure, and we need your input through our exam blueprinting survey.
The blueprint determines how many questions each skill in the exam will be assigned. Please complete the online survey by October 15th, 2024. Please also feel free to forward the survey to any colleagues you consider subject matter experts for this certification.
If you have any questions, feel free to contact John Sowles at josowles@microsoft.com or Rohan Mahadevan at rmahadevan@microsoft.com.
Designing and Implementing a Data Science Solution on Azure blueprint survey link:
https://microsoftlearning.co1.qualtrics.com/jfe/form/SV_0PMmqbbNIRx2sWa
Greetings!
Microsoft is updating a certification for Designing and Implementing a Data Science Solution on Azure, and we need your input through our exam blueprinting survey.
The blueprint determines how many questions each skill in the exam will be assigned. Please complete the online survey by October 15th, 2024. Please also feel free to forward the survey to any colleagues you consider subject matter experts for this certification.
If you have any questions, feel free to contact John Sowles at josowles@microsoft.com or Rohan Mahadevan at rmahadevan@microsoft.com.
Designing and Implementing a Data Science Solution on Azure blueprint survey link:
https://microsoftlearning.co1.qualtrics.com/jfe/form/SV_0PMmqbbNIRx2sWa Read More
Getting server error adding XDR
When I try and add the data connector Microsoft Defender XDR to my sentinel I’m getting the following error:
Categories AdvancedHunting-UrlClickEvents, AdvancedHunting-EmailAttachmentInfo, AdvancedHunting-EmailEvents, AdvancedHunting-EmailUrlInfo, AdvancedHunting-EmailPostDeliveryEvents are not supported.
I’ve reached out to Microsoft for assistance and have not had any luck so far. If someone can help resolve the issue I would appreciate it.
When I try and add the data connector Microsoft Defender XDR to my sentinel I’m getting the following error: Categories AdvancedHunting-UrlClickEvents, AdvancedHunting-EmailAttachmentInfo, AdvancedHunting-EmailEvents, AdvancedHunting-EmailUrlInfo, AdvancedHunting-EmailPostDeliveryEvents are not supported. I’ve reached out to Microsoft for assistance and have not had any luck so far. If someone can help resolve the issue I would appreciate it. Read More
Is it possible to connect a UE to a nrGNB in both download and upload links at the same time?
Hello all.
Is it possible to connect a UE to a nrGNB in both download and upload links at the same time?
In my scenario, I have to simulate UE connecting in both links at the same gNB or in different ones simultaneously, depending on some current evaluations.
In "NR Intercell Interference Modeling" and "Connect UEs to gNB" examples, I could see how to do this separately. But couldn’t understand if and, if possible, how to do it.
Any clue?
[]’s.Hello all.
Is it possible to connect a UE to a nrGNB in both download and upload links at the same time?
In my scenario, I have to simulate UE connecting in both links at the same gNB or in different ones simultaneously, depending on some current evaluations.
In "NR Intercell Interference Modeling" and "Connect UEs to gNB" examples, I could see how to do this separately. But couldn’t understand if and, if possible, how to do it.
Any clue?
[]’s. Hello all.
Is it possible to connect a UE to a nrGNB in both download and upload links at the same time?
In my scenario, I have to simulate UE connecting in both links at the same gNB or in different ones simultaneously, depending on some current evaluations.
In "NR Intercell Interference Modeling" and "Connect UEs to gNB" examples, I could see how to do this separately. But couldn’t understand if and, if possible, how to do it.
Any clue?
[]’s. 5g, sub-6 ghz, nrgnb, ue, connection MATLAB Answers — New Questions
New Blog | Monthly News – October 2024
By Yura Lee
Microsoft Defender for Cloud
Monthly news
October 2024 Edition
Read the full post here: Monthly News – October 2024
By Yura Lee
Microsoft Defender for Cloud
Monthly news
October 2024 Edition
Read the full post here: Monthly News – October 2024 Read More
New Blog | Introducing Microsoft Purview Data Security pay-as-you-go pricing for your non-Microsoft
Microsoft Purview is an extensive set of solutions that can help organizations secure and govern their data, wherever it lives. The unification of data security and governance capabilities in Microsoft Purview reflects our belief that our customers need a simpler approach to data.
Microsoft Purview Data Security helps customers dynamically secure their data across its lifecycle by combining data context with user context.
The data security capabilities, including Microsoft Purview Information Protection and Insider Risk Management are already loved and leveraged by customers around the world for their Microsoft 365 data, and we announced back in November 2023 that we were extending those capabilities to non-Microsoft 365 data sources like cloud storage apps (Box, Dropbox, Google Drive), cloud services (AWS, Azure), and Microsoft Fabric (Power BI). This month at the Fabric Conference, we announced additional capabilities for Microsoft Fabric customers, enhancing the Microsoft Purview Data Security capabilities already available for Fabric released in March 2024.
Read the full post here: Introducing Microsoft Purview Data Security pay-as-you-go pricing for your non-Microsoft
By Andrew Abishek
Microsoft Purview is an extensive set of solutions that can help organizations secure and govern their data, wherever it lives. The unification of data security and governance capabilities in Microsoft Purview reflects our belief that our customers need a simpler approach to data.
Microsoft Purview Data Security helps customers dynamically secure their data across its lifecycle by combining data context with user context.The data security capabilities, including Microsoft Purview Information Protection and Insider Risk Management are already loved and leveraged by customers around the world for their Microsoft 365 data, and we announced back in November 2023 that we were extending those capabilities to non-Microsoft 365 data sources like cloud storage apps (Box, Dropbox, Google Drive), cloud services (AWS, Azure), and Microsoft Fabric (Power BI). This month at the Fabric Conference, we announced additional capabilities for Microsoft Fabric customers, enhancing the Microsoft Purview Data Security capabilities already available for Fabric released in March 2024.
Read the full post here: Introducing Microsoft Purview Data Security pay-as-you-go pricing for your non-Microsoft Read More
Explore GPT-4o Audio with Copilot – AMA (Gov Cloud Questions Welcome!)
Public sector professionals, get ready to transform your AI applications! Join our upcoming AMA to explore the new GPT-4o-realtime API with Audio, now available on Azure, and learn how it can revolutionize your use of Copilot Voice. From natural, multilingual conversations to streamlined workflows, this model offers a host of capabilities designed to enhance your operations.
What to Expect:
Deep Technical Insights: Our experts will dive into how the GPT-4o Audio model integrates with Copilot Voice, and share real-world use cases tailored to the public sector.
Gov Cloud Focus: Have questions about using these tools in government clouds? We’ve got you covered! Our team will be ready to answer all your questions related to Azure Government and other cloud solutions.
Connect Directly with Experts: Get your most pressing questions answered by Microsoft product experts and receive best practices for deploying these tools in public sector environments.
Don’t miss this opportunity! RSVP here to secure your spot and be part of the conversation shaping the future of AI in government.
Public sector professionals, get ready to transform your AI applications! Join our upcoming AMA to explore the new GPT-4o-realtime API with Audio, now available on Azure, and learn how it can revolutionize your use of Copilot Voice. From natural, multilingual conversations to streamlined workflows, this model offers a host of capabilities designed to enhance your operations.
What to Expect:
Deep Technical Insights: Our experts will dive into how the GPT-4o Audio model integrates with Copilot Voice, and share real-world use cases tailored to the public sector.
Gov Cloud Focus: Have questions about using these tools in government clouds? We’ve got you covered! Our team will be ready to answer all your questions related to Azure Government and other cloud solutions.
Connect Directly with Experts: Get your most pressing questions answered by Microsoft product experts and receive best practices for deploying these tools in public sector environments.
Don’t miss this opportunity! RSVP here to secure your spot and be part of the conversation shaping the future of AI in government. Read More
What is Expedia’s Cancellation policy? Get~Info
Yes, Expedia has a 24-hour <1″(860)”483″50.89) > flight cancellation policy that applies to all tickets booked directly through their website or mobile app. This policy states that if you cancel your flight within 24 hours <1″(860)”483″50.89) > of booking and the flight is at least seven days away, you can receive a full refund.
Does Expedia have a cancellation policy?
Is Expedia fare refundable?
Does Expedia 24-hour cancellation apply to Basic Economy?
How can I tell if my Expedia flight is fully refundable?
Yes, Expedia has a 24-hour <1″(860)”483″50.89) > flight cancellation policy that applies to all tickets booked directly through their website or mobile app. This policy states that if you cancel your flight within 24 hours <1″(860)”483″50.89) > of booking and the flight is at least seven days away, you can receive a full refund.Does Expedia have a cancellation policy?Is Expedia fare refundable?Does Expedia 24-hour cancellation apply to Basic Economy?How can I tell if my Expedia flight is fully refundable? Read More
Can’t trigger a pipeline hosted in RepoA when a commit is pushed to RepoB
I’m using Version Dev17.M153.5 (TFS), and I have two repositories: my source code is hosted in Repo B, and my pipelines are hosted in Repo A to keep responsibilities separated.
My goal is for the pipeline in Repo A to automatically run whenever a commit is pushed to Repo B. Below is my current setup:
# MY MAIN PIPELINE IN REPO A:
trigger: none
resources:
repositories:
– repository: RepoB
type: git
name: Project/RepoB
ref: develop
trigger:
branches:
include:
– develop
– master
pool:
name: ‘Test’
variables:
REPO_URL: ‘https://tfs.company.com/company/Project/_git/RepoB’
steps:
– task: PowerShell@2
displayName: ‘Configurar encabezado GIT_AUTH_HEADER con PAT’
inputs:
targetType: ‘inline’
script: |
$headerValue = “Authorization: Basic ” + [Convert]::ToBase64String([System.Text.Encoding]::UTF8. GetBytes(“:” + $env:PAT))
git -c http.extraheader=”$headerValue” clone $(REPO_URL)
env:
PAT: $(PAT)
#Templates
– ${{ if eq(variables[‘Build.SourceBranch’], ‘refs/heads/master’) }}:
– template: pipeline-master.yml
– ${{ if eq(variables[‘Build.SourceBranch’], ‘refs/heads/develop’) }}:
– template: pipeline-develop.yml
The Issue:
This pipeline does not trigger automatically when a commit is pushed to Repo B on either develop or master. I cannot use checkout because it only accepts self or none. However, Repo B is successfully cloned, and the pipeline runs fine if I trigger it manually
Additional Considerations:
– Build services have “Read and Contribute” permissions set to “Allow” in both repositories.
– Both Repo A and Repo B are part of the same project in Azure DevOps
– The Personal Access Token (PAT) is correctly configured, and the pipeline passes when executed manually.
– The YAML is hosted in the default branch (master) of Repo B
Question: Why is the pipeline not triggering automatically, and how can I ensure it runs whenever a commit is pushed to Repo B?
Many thanks in advance!
I’m using Version Dev17.M153.5 (TFS), and I have two repositories: my source code is hosted in Repo B, and my pipelines are hosted in Repo A to keep responsibilities separated.My goal is for the pipeline in Repo A to automatically run whenever a commit is pushed to Repo B. Below is my current setup: # MY MAIN PIPELINE IN REPO A:
trigger: none
resources:
repositories:
– repository: RepoB
type: git
name: Project/RepoB
ref: develop
trigger:
branches:
include:
– develop
– master
pool:
name: ‘Test’
variables:
REPO_URL: ‘https://tfs.company.com/company/Project/_git/RepoB’
steps:
– task: PowerShell@2
displayName: ‘Configurar encabezado GIT_AUTH_HEADER con PAT’
inputs:
targetType: ‘inline’
script: |
$headerValue = “Authorization: Basic ” + [Convert]::ToBase64String([System.Text.Encoding]::UTF8. GetBytes(“:” + $env:PAT))
git -c http.extraheader=”$headerValue” clone $(REPO_URL)
env:
PAT: $(PAT)
#Templates
– ${{ if eq(variables[‘Build.SourceBranch’], ‘refs/heads/master’) }}:
– template: pipeline-master.yml
– ${{ if eq(variables[‘Build.SourceBranch’], ‘refs/heads/develop’) }}:
– template: pipeline-develop.yml The Issue:This pipeline does not trigger automatically when a commit is pushed to Repo B on either develop or master. I cannot use checkout because it only accepts self or none. However, Repo B is successfully cloned, and the pipeline runs fine if I trigger it manually Additional Considerations:- Build services have “Read and Contribute” permissions set to “Allow” in both repositories.- Both Repo A and Repo B are part of the same project in Azure DevOps- The Personal Access Token (PAT) is correctly configured, and the pipeline passes when executed manually.- The YAML is hosted in the default branch (master) of Repo B Question: Why is the pipeline not triggering automatically, and how can I ensure it runs whenever a commit is pushed to Repo B? Many thanks in advance! Read More
Optimize Azure Landing Zone with Azure Virtual Network Manager IP Address Management
Optimize Azure Landing Zone with Azure Virtual Network Manager IP Address Management
What you will learn from this blog
This blog explores how Azure Landing Zones and IP Address Management (IPAM) in Azure Virtual Network Manager work together to streamline IP address management. Azure Landing Zones provide a scalable environment for deploying applications, while IPAM automates and simplifies IP planning and allocation across Azure, on-premises, and other clouds. By combining them, organizations can ensure efficient, conflict-free IP address usage, enhance security, and accelerate application deployments. The blog offers practical steps and examples for implementing this integrated solution, helping you optimize your Azure network infrastructure.
IP Address Management (IPAM) in Azure Virtual Network Manager (AVNM)
Azure IP Address Management (IPAM) is a feature in Azure Virtual Network Manager that simplifies managing IP addresses across your Azure environments, on-premises setups, and even other cloud providers. It helps you organize your IP addresses and Classless Inter-Domain Routings (CIDRs) efficiently and set clear rules for assigning them. With IPAM, you can automate the process of assigning IP addresses to virtual networks (VNets), which eliminates the need for cumbersome spreadsheets or custom tools.
This automation speeds up the process of launching new applications or expanding existing ones by allowing quick requests, registrations, and assignments of IP address spaces from your organization’s pools to your VNets within seconds. This removes the need for manual requests or tickets to the network team, improving overall provisioning times.
VNets are the foundation of private networking in Azure, enabling services like Virtual Machines to communicate securely with each other, the internet, or on-premises networks. When setting up a VNet, you’ll define an IP address space that can include both public and private ranges (such as those defined by RFC 1918 and RFC 6598).
Azure IPAM supports network administrators by ensuring non-overlapping IP prefixes and automating the assignment of IP addresses to Azure resources within these subnets.
Key Components and Functionalities
IP Address Pools
IP Address Pools are central to IPAM, serving as logical containers that group IP address ranges. They enable efficient and organized management of IP address spaces across Azure resources.
Creation and Organization: Network admins can create pools with defined address spaces and sizes, allowing for planned and organized IP address usage.
Hierarchy: Pools can be structured in a hierarchy, enabling the division of larger pools into smaller, more manageable units for granular control.
IPv4 and IPv6 Support: IPAM can handle both IPv4 and IPv6 addresses, accommodating diverse networking needs.
Allocation
Resource Assignment: CIDRs from specific pools can be assigned to Azure resources like virtual networks, making it easier to track address usage.
Static CIDR Allocation: Admins can allocate static CIDRs for IPs not currently in use within Azure or for resources not yet supported by IPAM, which is helpful for managing IP spaces in on-premises or other cloud environments.
CIDR Release: When associated resources are deleted, allocated CIDRs are automatically released back to the pool, ensuring efficient utilization of the IP space.
Delegation
Permission Management: Administrators can delegate permissions to other users for utilizing IPAM pools, allowing controlled access and management while democratizing pool allocation.
Visibility and Tracking: Delegated permissions provide access to view usage statistics and resource lists for specific pools, improving transparency and collaborative management.
By leveraging these features, AVNM’s IPAM helps organizations maintain a clear overview of their IP address utilization, streamline address allocation processes, and ensure efficient use of available IP spaces across their Azure network infrastructure.
Azure Landing zone and IPAM
Azure Landing Zone is Azure’s recommended framework and facilitates s, allowing efficient management and scaling for application migrations and new development. This framework grants application teams (DevOps) the appropriate Role-Based Access Control (RBAC) permission that meet their application requirements while ensuring compliance and security, as set by the Platform (Sec/NetOps) team.
Azure network architectures often follow a “hub and spoke” model, featuring a central hub VNet for shared network services and multiple spoke VNets where workloads are deployed. Within an application landing zone subscription, typically one, but sometimes multiple, VNets are created, with assigned IP address spaces to support application deployment. Proper planning for IP address allocation across these VNets is crucial to avoid overlap between on-premises locations and Azure regions, as overlapping IP spaces can lead to conflicts. This process can be simplified using AVNM.
IPAM offers multiple use cases, and here’s how you can manage your organization’s IP planning. Start by creating a Virtual Network Manager instance with the scope set to the intermediate root management group, like Contoso in the example below. This setup allows you to define address pools across all virtual networks and subnets within your Azure Landing Zone hierarchy, enabling subscription democratization for application landing zone owners and teams.
As a network admin, you can efficiently plan and organize IP address usage by defining pools with specific address spaces and sizes. These pools group CIDRs logically for different networking purposes. In our example with Contoso, the Platform and Application teams have distinct responsibilities, maintaining separation of duties. While these teams may vary by organization, they often share the same network infrastructure. IPAM is ideal for allowing both teams to manage their parts of the network while providing visibility to authorized members and preventing IP overlapping. These teams can use IPAM to simplify allocating larger, contiguous IP blocks for specific workloads. It also makes it easy to identify where IP ranges are deployed, aiding troubleshooting and planning.
We’ll guide you on how to set up your Azure Landing Zone within a single Azure region and across multiple regions using IPAM below.
Single-region scenario
To demonstrate how IPAM can be used for creating an Azure Landing Zone in a single-region setup, start by creating a root pool with a /16 address space. From this root pool, allocate a /22 to the Platform Pool and a /18 to the Application Pool, and assign each team the necessary RBAC permissions, like the “IPAM user” role. The NetOps/Platform team can then allocate a /24 for the Identity VNet and a /23 for the Connectivity VNet, while the application team sets up VNets for their applications and specialized workloads (such as Databricks and AKS) from their assigned pool.
Multi-region scenario
In a more advanced scenario, you can use a multi-region setup to help prevent disruptions and data loss from events affecting an entire region, such as natural disasters, by providing a secondary region for backup and recovery, ensuring higher SLAs.
By using a super net (which combines multiple contiguous CIDRs into a single, larger network represented by one CIDR), IPAM allows you to allocate consistent IP address ranges across regions, offering a clear and efficient addressing scheme for the Platform team to manage and troubleshoot.
For instance, you can use IPAM to create a Root Pool with a /12 address space as a super net, from which two regional pools are established, each with a /16 allocation. From each regional pool, Platform and Application pools are then created, just like in the previous example, enabling respective teams to set up their VNets as shown in the diagram.
How to create IPAM via Azure portal
Here’s how to use IPAM through the Azure portal:
Create an AVNM Instance: Start by creating an Azure Virtual Network Manager instance at the intermediate root management group level, as mentioned earlier. Once the AVNM resource is created, go to the “IP address pools” blade.
Create an IP Address Pool: On the IP address pools page, click “Create” to set up a new pool.
Select a Parent Pool: When choosing a parent pool, selecting “None” indicates that this will be a new root pool. Otherwise, the pool will be a child of the selected parent pool.
Assign IP Address Space: Define the IP address space(s) for the pool. If it’s a child pool, its address space must be within the range of the parent pool. You can assign multiple IP address spaces to a pool.
Manage Allocations: Navigate to the pool’s page and select the “Allocations” section. Here, you can:
Create child pools
Associate resources with the pool
Allocate static CIDRs
In our example of Azure Landing Zone creation, we assigned a child pool per Azure Landing Zone application, as shown in the figure below.
We previously created a hub and spoke as recommended in the CAF (Cloud Adoption Framework) documentation and associate the resources to the parent pool as shown in the figure below.
You can reserve static CIDRs for on-premises resources or other cloud IPs to ensure these IPs remain unused in Azure, keeping Contoso’s on-premises environment safe.
It is advisable to verify the remaining IP address allocations, as illustrated in the image below.
Automatic CIDR Assignment: Instead of specifying a CIDR manually, you can let IPAM automatically assign a non-overlapping CIDR by selecting an IPAM pool and specifying the size for the VNet.
To learn more about how to use build your Azure Landing Zone using Azure Virtual Network Manager, please refer to Azure Virtual Network Manager in Azure Landing Zone.
Microsoft Tech Community – Latest Blogs –Read More
Read the dates in the excel sheet
In the attached excel sheet, how to read the dates of the first and latest occurence 15 days before the CP (checkpoint) and 15 days after CP. The output sheet should be an excel sheet. It should again contain multiple sheets categorising the error status. Inside the excel sheet, sheet1 should contain only enabled states, sheet 2 should contain only disabled states and sheet three should contain locked states. Consider the date 10/15/2024 12:45, from checkpoint first it should read the dates 15 days before CP and 15 days after CP. First enable error states dates should be categorised. If enabled state is not there it should search for locked error state, if it is available it should categorise 15 days before and after CP. Also highlight the checkpoint.
How to proceed with this? as there is date inconsistency.
How to create a model and execute? When it is executed Excel sheet should be the output.In the attached excel sheet, how to read the dates of the first and latest occurence 15 days before the CP (checkpoint) and 15 days after CP. The output sheet should be an excel sheet. It should again contain multiple sheets categorising the error status. Inside the excel sheet, sheet1 should contain only enabled states, sheet 2 should contain only disabled states and sheet three should contain locked states. Consider the date 10/15/2024 12:45, from checkpoint first it should read the dates 15 days before CP and 15 days after CP. First enable error states dates should be categorised. If enabled state is not there it should search for locked error state, if it is available it should categorise 15 days before and after CP. Also highlight the checkpoint.
How to proceed with this? as there is date inconsistency.
How to create a model and execute? When it is executed Excel sheet should be the output. In the attached excel sheet, how to read the dates of the first and latest occurence 15 days before the CP (checkpoint) and 15 days after CP. The output sheet should be an excel sheet. It should again contain multiple sheets categorising the error status. Inside the excel sheet, sheet1 should contain only enabled states, sheet 2 should contain only disabled states and sheet three should contain locked states. Consider the date 10/15/2024 12:45, from checkpoint first it should read the dates 15 days before CP and 15 days after CP. First enable error states dates should be categorised. If enabled state is not there it should search for locked error state, if it is available it should categorise 15 days before and after CP. Also highlight the checkpoint.
How to proceed with this? as there is date inconsistency.
How to create a model and execute? When it is executed Excel sheet should be the output. reading inconsistent date formats. MATLAB Answers — New Questions
How to open help doc in a Window rather than browser?
Matlab 2024b。
I have installed help doc and rebooted Matlab.
However, whether I choose to open in a small window or in the help browser, it will only open in the browser.
Like this:Matlab 2024b。
I have installed help doc and rebooted Matlab.
However, whether I choose to open in a small window or in the help browser, it will only open in the browser.
Like this: Matlab 2024b。
I have installed help doc and rebooted Matlab.
However, whether I choose to open in a small window or in the help browser, it will only open in the browser.
Like this: help doc MATLAB Answers — New Questions
Please help me to solve this problem!. I have to design four images flickering at different frequencies and spacing between images are 2.5cm.
S = imread(‘rose.jpeg’); % read the image from files
A = imresize(S,[183,275]); % resize image
subplot(221); % to make 2 by 2 matrix of pictures
imshow(A); % display the image
B = imread(‘lotus.jpeg’);
subplot(222);
imshow(B);
T = imread(‘lily.jpeg’) ;
C = imresize(T,[183,275]);
subplot(223);
imshow(C);
D = imread(‘orchid.jpeg’);
subplot(224);
imshow(D);
% imfinfo("Lily.jpeg")
% imfinfo("rose.jpeg")
% imfinfo("lotus.jpeg")
% imfinfo("orchid.jpeg")S = imread(‘rose.jpeg’); % read the image from files
A = imresize(S,[183,275]); % resize image
subplot(221); % to make 2 by 2 matrix of pictures
imshow(A); % display the image
B = imread(‘lotus.jpeg’);
subplot(222);
imshow(B);
T = imread(‘lily.jpeg’) ;
C = imresize(T,[183,275]);
subplot(223);
imshow(C);
D = imread(‘orchid.jpeg’);
subplot(224);
imshow(D);
% imfinfo("Lily.jpeg")
% imfinfo("rose.jpeg")
% imfinfo("lotus.jpeg")
% imfinfo("orchid.jpeg") S = imread(‘rose.jpeg’); % read the image from files
A = imresize(S,[183,275]); % resize image
subplot(221); % to make 2 by 2 matrix of pictures
imshow(A); % display the image
B = imread(‘lotus.jpeg’);
subplot(222);
imshow(B);
T = imread(‘lily.jpeg’) ;
C = imresize(T,[183,275]);
subplot(223);
imshow(C);
D = imread(‘orchid.jpeg’);
subplot(224);
imshow(D);
% imfinfo("Lily.jpeg")
% imfinfo("rose.jpeg")
% imfinfo("lotus.jpeg")
% imfinfo("orchid.jpeg") image processing, frequency MATLAB Answers — New Questions
Excel Copy All Columns Even When Table Is Filtered
I have a table (Parts Library) with a couple of hidden columns (so that columns match the BOM sheet), when I have no filters applied to this table I can copy and paste from it, and it copies the hidden cells as well. When I DO filter the table, excel seems to skip over these columns.
Is there a way to avoid skipping over these columns?
Is there a work around for filtering which WOULD let me copy those columns?
Thanks!
I have a table (Parts Library) with a couple of hidden columns (so that columns match the BOM sheet), when I have no filters applied to this table I can copy and paste from it, and it copies the hidden cells as well. When I DO filter the table, excel seems to skip over these columns. Is there a way to avoid skipping over these columns? Is there a work around for filtering which WOULD let me copy those columns? Thanks! Read More
September V2 Title Plan: Now available in our ILT Communications Blog!
The September V2 Title Plan has been posted on our new ILT Communications Blog. Ensure to head over there for all your ILT Communications going forward! Please see blog post linked below:
September V2 Title Plan now available! – Microsoft Community Hub
Or you can always use the AKA link for the Title Plan, for the most accurate/updated version:
http://aka.ms/Courseware_Title_Plan
Thank you!
The September V2 Title Plan has been posted on our new ILT Communications Blog. Ensure to head over there for all your ILT Communications going forward! Please see blog post linked below:
September V2 Title Plan now available! – Microsoft Community Hub
Or you can always use the AKA link for the Title Plan, for the most accurate/updated version:
http://aka.ms/Courseware_Title_Plan
Thank you!
Read More