Month: September 2024
Engage with Intune at Tech Community Live
We’re back! As we enter the third year of the Intune Tech Community Live series, we remain committed to supporting your organization and offering fresh opportunities to connect with our product teams. Our quarterly series, now a staple in endpoint management discussions, will continue to feature the latest from Microsoft Intune. From Ask Microsoft Anything (AMAs) covering a broad spectrum of topics to live demos showcasing the latest capabilities, we tailor our sessions to enhance your experience and knowledge.
Up next: Join us live October 1, 2024
Our series continues this October with a focus on empowering IT professionals with unified and AI driven endpoint management solutions for better efficiency, more visibility and security. Each AMA will kick off with a live demo including scenario-based guidance, new capabilities, and troubleshooting tips. Join experts from our product engineering teams to cover the latest enhancements in the Intune Suite, Intune device inventory and analytics, Copilot in Intune, and, finally, a dedicated session on improving security posture.
View session details, RSVP, and post your questions now by visiting aka.ms/TCL/Intune/RSVP.
We will continue to keep this page updated with the latest information and dates for this ongoing series. If you would like to request a specific topic for an upcoming session, please add a comment below.
Now on demand
There is still much to learn from previous AMAs in this series. Get started here:
Microsoft Cloud PKI in Intune Suite (March 2024)
Enterprise App Management, Advanced Analytics in Intune Suite (March 2024)
Windows management with Intune (March 2024)
Securely manage macOS with Intune (March 2024)
Securely manage iOS/iPadOS and macOS endpoints with Intune (June 2023)
Endpoint Privilege Management and Intune Suite (June 2023)
Android and Linux management with Intune (June 2023)
Device reporting and analytics in Intune (September 2023)
Troubleshoot device issues with Intune (September 2023)
Powerful Apple device management with Intune (September 2023)
Your guide to adopting Microsoft Intune (September 2023)
Resources
Looking for other opportunities to engage with our product team? Join the Microsoft Management Customer Connection Program (MM CCP) community. Additional useful links:
Device hardware inventory coming soon to Microsoft Intune
How to configure and deploy remote help for Windows
How to cloud attach your Configuration Manager environment
Windows IT Pro on YouTube
Microsoft Endpoint Manager evaluation lab kit
Unpacking Endpoint Management (monthly series)
Return to the Microsoft Intune blog home. Join the conversation at @MSIntune and on LinkedIn.
Microsoft Tech Community – Latest Blogs –Read More
Hadooken Malware Targets Weblogic Applications
Aqua Nautilus researchers identified a new Linux malware targeting Weblogic servers. he main payload calls itself Hadooken which we think is referring to the attack “surge fist” in the Street Fighter series. When Hadooken is executed, it drops a Tsunami malware and deploys a cryptominer. In this blog, we explain the malware, its components, and how we detected
Aqua Nautilus researchers identified a new Linux malware targeting Weblogic servers. he main payload calls itself Hadooken which we think is referring to the attack “surge fist” in the Street Fighter series. When Hadooken is executed, it drops a Tsunami malware and deploys a cryptominer. In this blog, we explain the malware, its components, and how we detectedRead More
Multiplication of a Sparse Matrix With Diagonal Matrices
I have a sparse m x m square matrix L (which is actually a Laplacian matrix of a large graph) and an m x1 vector d. I want to create a diaognal matrix D whose diagonal is populated with the entries in d and then generate
normL = D * L * D
Currently, I am creating a sparse diaognal matrix as
D = spdiags(d, 0, m, m)
and then I use D * L * D.
I wonder whether there is a more efficient way to do this given that the (i, j)-th elements of normL and L are related by
normL(i, j) = D(i) * D(j) * L(i, j).
Thank you very much.I have a sparse m x m square matrix L (which is actually a Laplacian matrix of a large graph) and an m x1 vector d. I want to create a diaognal matrix D whose diagonal is populated with the entries in d and then generate
normL = D * L * D
Currently, I am creating a sparse diaognal matrix as
D = spdiags(d, 0, m, m)
and then I use D * L * D.
I wonder whether there is a more efficient way to do this given that the (i, j)-th elements of normL and L are related by
normL(i, j) = D(i) * D(j) * L(i, j).
Thank you very much. I have a sparse m x m square matrix L (which is actually a Laplacian matrix of a large graph) and an m x1 vector d. I want to create a diaognal matrix D whose diagonal is populated with the entries in d and then generate
normL = D * L * D
Currently, I am creating a sparse diaognal matrix as
D = spdiags(d, 0, m, m)
and then I use D * L * D.
I wonder whether there is a more efficient way to do this given that the (i, j)-th elements of normL and L are related by
normL(i, j) = D(i) * D(j) * L(i, j).
Thank you very much. sparse diagonal matrix, sparse matrix multiplication MATLAB Answers — New Questions
Match Cell Value with File Name in Folder Directory and get it’s Path
I have a table with two columns (A:B), column A cells contain the names of PDF files that are in a folder directory “C:UsersTaylorDesktopFolder” and in the image I have in column B the file path of the values (1000, 1001, 1002, 1003) How can I loop through a folder and match the names of pdf files with cells in column A values and extract their path URL, and you see in the picture that number 1004 and 1005 in col B are black and don’t have hyperlink because they don’t exist in the folder.
In this folder path I have pdf files 1000.pdf, 1001.pdf, 1002.pdf, 1003.pdf
IMAGE: https://ibb.co/5rN4xdg
The code works well, I’m getting error in this line:
Sheet1.Hyperlinks.Add Anchor:=cel.Offset(, 1).Value, Address:=fso.GetFile(strFilepath), TextToDisplay:=cel.Value
MISMATCH ERROR
Code:
‘ GO TO TOOLS THEN REFERENCES THEN ADD MICROSOFT SCRIPTING RUNTIME
Sub SearchFiles()
Dim ws As Worksheet
Dim tbl As ListObject
Dim cel As Range
Dim rootFolder As String
Dim strNameNewSubFolder As String
Dim fso As FileSystemObject
Dim newFolder As Folder
Dim fil As File
Dim strFilepath As String
Dim newFilePath As String
Set fso = New FileSystemObject
Set ws = Worksheets(“Data”)
Set tbl = ws.ListObjects(1)
‘Path of the Source folder with files
rootFolder = “C:UsersTaylorDesktopNew folder”
If Not fso.FolderExists(rootFolder) Then
MsgBox rootFolder & ” doesn’t exist.”, vbExclamation, “Source Folder Not Found!”
Exit Sub
End If
‘files that are found in the Source Folder would be copied to this New Sub-Folder
‘Change the name of the Sub-Folder as per your requirement
strNameNewSubFolder = “Found Files”
If Right(rootFolder, 1) <> “/” Then rootFolder = rootFolder & “/”
If Not fso.FolderExists(rootFolder & strNameNewSubFolder) Then
fso.CreateFolder rootFolder & strNameNewSubFolder
End If
Set newFolder = fso.GetFolder(rootFolder & strNameNewSubFolder)
tbl.DataBodyRange.Columns(1).Interior.ColorIndex = xlNone
For Each cel In tbl.DataBodyRange.Columns(1).Cells
strFilepath = rootFolder & cel.Value & “.pdf”
newFilePath = newFolder.Path & “” & cel.Value
If fso.FileExists(strFilepath) Then
cel.Interior.Color = vbYellow
Sheet1.Hyperlinks.Add Anchor:=cel.Offset(, 1).Value, Address:=fso.GetFile(strFilepath), TextToDisplay:=cel.Value
Set fil = fso.GetFile(strFilepath)
‘The following line will copy the file found to the newly created Sub-Folder
fil.Copy newFilePath
End If
Next cel
Set fso = Nothing
End Sub
I have a table with two columns (A:B), column A cells contain the names of PDF files that are in a folder directory “C:UsersTaylorDesktopFolder” and in the image I have in column B the file path of the values (1000, 1001, 1002, 1003) How can I loop through a folder and match the names of pdf files with cells in column A values and extract their path URL, and you see in the picture that number 1004 and 1005 in col B are black and don’t have hyperlink because they don’t exist in the folder.In this folder path I have pdf files 1000.pdf, 1001.pdf, 1002.pdf, 1003.pdfIMAGE: https://ibb.co/5rN4xdgThe code works well, I’m getting error in this line: Sheet1.Hyperlinks.Add Anchor:=cel.Offset(, 1).Value, Address:=fso.GetFile(strFilepath), TextToDisplay:=cel.Value MISMATCH ERROR Code:’ GO TO TOOLS THEN REFERENCES THEN ADD MICROSOFT SCRIPTING RUNTIME
Sub SearchFiles()
Dim ws As Worksheet
Dim tbl As ListObject
Dim cel As Range
Dim rootFolder As String
Dim strNameNewSubFolder As String
Dim fso As FileSystemObject
Dim newFolder As Folder
Dim fil As File
Dim strFilepath As String
Dim newFilePath As String
Set fso = New FileSystemObject
Set ws = Worksheets(“Data”)
Set tbl = ws.ListObjects(1)
‘Path of the Source folder with files
rootFolder = “C:UsersTaylorDesktopNew folder”
If Not fso.FolderExists(rootFolder) Then
MsgBox rootFolder & ” doesn’t exist.”, vbExclamation, “Source Folder Not Found!”
Exit Sub
End If
‘files that are found in the Source Folder would be copied to this New Sub-Folder
‘Change the name of the Sub-Folder as per your requirement
strNameNewSubFolder = “Found Files”
If Right(rootFolder, 1) <> “/” Then rootFolder = rootFolder & “/”
If Not fso.FolderExists(rootFolder & strNameNewSubFolder) Then
fso.CreateFolder rootFolder & strNameNewSubFolder
End If
Set newFolder = fso.GetFolder(rootFolder & strNameNewSubFolder)
tbl.DataBodyRange.Columns(1).Interior.ColorIndex = xlNone
For Each cel In tbl.DataBodyRange.Columns(1).Cells
strFilepath = rootFolder & cel.Value & “.pdf”
newFilePath = newFolder.Path & “” & cel.Value
If fso.FileExists(strFilepath) Then
cel.Interior.Color = vbYellow
Sheet1.Hyperlinks.Add Anchor:=cel.Offset(, 1).Value, Address:=fso.GetFile(strFilepath), TextToDisplay:=cel.Value
Set fil = fso.GetFile(strFilepath)
‘The following line will copy the file found to the newly created Sub-Folder
fil.Copy newFilePath
End If
Next cel
Set fso = Nothing
End Sub Read More
window hello
the problem is window hello is not compatible with fingerprint recognition
the problem is window hello is not compatible with fingerprint recognition Read More
The site is not indexed
Hi!
All pages on my site are gone (pages have been in search for years). There are no messages in the Bing console. This happened on September 7th
What could have happened?
Site: https://pluggedin.ru/
Regars,
Linar
Hi!All pages on my site are gone (pages have been in search for years). There are no messages in the Bing console. This happened on September 7thWhat could have happened?Site: https://pluggedin.ru/Regars,Linar Read More
Triggering another pipeline after pipeline, that triggers when PR is opened, completes
Hi,
I have a situation in which when a PR is opened (code is still on a feature branch at this point), a pipeline (‘Source pipeline)’ runs which does a build and triggers a seperate test pipeline (‘Triggered’ pipeline) if the build is successful. The yaml files for both the Triggered pipeline and Source pipeline are on the same branch (‘Integration’)
resources:
pipelines:
– pipeline: ‘Triggered pipeline’
source: ‘Source pipeline’
trigger:
branches:
include:
– ‘*’
exclude:
– ‘Integration’
I tried to do this initially on the triggered pipeline, through the Triggers GUI (Add the Build completion option, set the triggering build (which in this case would be the Source pipeline) and set the branch filters to exclude ‘Integration’ branch. This didn’t work. (I would have assumed that as long as the Source pipeline finished running successfully for any branch other than Integration, that my triggered pipeline would then run). The behaviour it currently exhibits is only after the PR was reviewed and approved, and the code, from the feature branch, merged into Integration, the test pipeline would trigger successfully after the Source pipeline had been manually triggered which is not what I want.
I added the above code into my Triggered pipeline yaml code thinking that this would overwrite the settings of the GUI and trigger the test pipeline correctly however that didn’t work either.
How do I configure my test pipeline to run once the source pipeline has successfully built the code in a feature branch for a PR ?
I’m using the Azure Pipelines component of Azure DevOps.
Many thanks
Hi, I have a situation in which when a PR is opened (code is still on a feature branch at this point), a pipeline (‘Source pipeline)’ runs which does a build and triggers a seperate test pipeline (‘Triggered’ pipeline) if the build is successful. The yaml files for both the Triggered pipeline and Source pipeline are on the same branch (‘Integration’) resources:
pipelines:
– pipeline: ‘Triggered pipeline’
source: ‘Source pipeline’
trigger:
branches:
include:
– ‘*’
exclude:
– ‘Integration’ I tried to do this initially on the triggered pipeline, through the Triggers GUI (Add the Build completion option, set the triggering build (which in this case would be the Source pipeline) and set the branch filters to exclude ‘Integration’ branch. This didn’t work. (I would have assumed that as long as the Source pipeline finished running successfully for any branch other than Integration, that my triggered pipeline would then run). The behaviour it currently exhibits is only after the PR was reviewed and approved, and the code, from the feature branch, merged into Integration, the test pipeline would trigger successfully after the Source pipeline had been manually triggered which is not what I want. I added the above code into my Triggered pipeline yaml code thinking that this would overwrite the settings of the GUI and trigger the test pipeline correctly however that didn’t work either. How do I configure my test pipeline to run once the source pipeline has successfully built the code in a feature branch for a PR ? I’m using the Azure Pipelines component of Azure DevOps. Many thanks Read More
Hii sir good morning I hope you had a great day and
Hi and thanks for the information contained herein is prohibited and then I will send it to you too
Hi and thanks for the information contained herein is prohibited and then I will send it to you too Read More
Exam Scoring
Hello. I have a sheet with two tabs that we are using to score an examination. The Summary tab has all the examinations (Column A) and then Columns F – T are the scores based on the # of points missed, which vary by examination type.
On the Scoring tab, i would like to be able to enter the # of points missed, 2 for example in Scoring/B3 and then have a formula in Scoring C3 return the correct % from the Summary/Row 5. Summary/Row 5 because in Scoring B1 i am working on scoring the Daily Pump Check.
Here is a link to download the spreadsheet: https://www.dropbox.com/t/YMuw04L2qtlpTBCb
Thank you!
Hello. I have a sheet with two tabs that we are using to score an examination. The Summary tab has all the examinations (Column A) and then Columns F – T are the scores based on the # of points missed, which vary by examination type. On the Scoring tab, i would like to be able to enter the # of points missed, 2 for example in Scoring/B3 and then have a formula in Scoring C3 return the correct % from the Summary/Row 5. Summary/Row 5 because in Scoring B1 i am working on scoring the Daily Pump Check. Here is a link to download the spreadsheet: https://www.dropbox.com/t/YMuw04L2qtlpTBCb Thank you! Read More
Using hNRReferenceWaveformGenerator with TDD actual pattern
Hi Matlab,
3GPP UL waveforms when generated from 5G Toolboxes, fill only slots which is defined from 3GPP. we also need special subframe with 4 symbols UL enabled. Let me know if we can fill special subrame when exact UL symbols.
// Matlab outputs :
hNRReferenceWaveformGenerator(ulnrref,bw,scs,dm,ncellid);
G-FR1-A1-5, 100MHz, 30kHz, TDD, 1
ulrefwaveformgen.Config.PUSCH{1, 1}.SymbolAllocation = [0,14]
ulrefwaveformgen.Config.PUSCH{1, 1}.SlotAllocation = [8,9,18,19]
// 3GPP defined TDD pattern.
38.141 : Table 4.9.2.2-1: Configurations of TDD for BS type 1-C and BS type 1-H test models
Field name Value
referenceSubcarrierSpacing (kHz) 15 30 60
Periodicity (ms) for dl-UL-TransmissionPeriodicity 5 5 5
nrofDownlinkSlots 3 7 14
nrofDownlinkSymbols 10 6 12
nrofUplinkSlots 1 2 4
nrofUplinkSymbols 2 4 8Hi Matlab,
3GPP UL waveforms when generated from 5G Toolboxes, fill only slots which is defined from 3GPP. we also need special subframe with 4 symbols UL enabled. Let me know if we can fill special subrame when exact UL symbols.
// Matlab outputs :
hNRReferenceWaveformGenerator(ulnrref,bw,scs,dm,ncellid);
G-FR1-A1-5, 100MHz, 30kHz, TDD, 1
ulrefwaveformgen.Config.PUSCH{1, 1}.SymbolAllocation = [0,14]
ulrefwaveformgen.Config.PUSCH{1, 1}.SlotAllocation = [8,9,18,19]
// 3GPP defined TDD pattern.
38.141 : Table 4.9.2.2-1: Configurations of TDD for BS type 1-C and BS type 1-H test models
Field name Value
referenceSubcarrierSpacing (kHz) 15 30 60
Periodicity (ms) for dl-UL-TransmissionPeriodicity 5 5 5
nrofDownlinkSlots 3 7 14
nrofDownlinkSymbols 10 6 12
nrofUplinkSlots 1 2 4
nrofUplinkSymbols 2 4 8 Hi Matlab,
3GPP UL waveforms when generated from 5G Toolboxes, fill only slots which is defined from 3GPP. we also need special subframe with 4 symbols UL enabled. Let me know if we can fill special subrame when exact UL symbols.
// Matlab outputs :
hNRReferenceWaveformGenerator(ulnrref,bw,scs,dm,ncellid);
G-FR1-A1-5, 100MHz, 30kHz, TDD, 1
ulrefwaveformgen.Config.PUSCH{1, 1}.SymbolAllocation = [0,14]
ulrefwaveformgen.Config.PUSCH{1, 1}.SlotAllocation = [8,9,18,19]
// 3GPP defined TDD pattern.
38.141 : Table 4.9.2.2-1: Configurations of TDD for BS type 1-C and BS type 1-H test models
Field name Value
referenceSubcarrierSpacing (kHz) 15 30 60
Periodicity (ms) for dl-UL-TransmissionPeriodicity 5 5 5
nrofDownlinkSlots 3 7 14
nrofDownlinkSymbols 10 6 12
nrofUplinkSlots 1 2 4
nrofUplinkSymbols 2 4 8 hnrreferencewaveformgenerator MATLAB Answers — New Questions
Import geopolyshape from gdb fails
Hi,
I’m completly new to Matlabs.
I’m trying to load my buildings into the siteviewer, to create a rf propagation in the end.
But I just can’t get my buildings to load. My features are in a esri .gdb an in the coordinate system is WGS_1984.
The features are 3d buildings and are of the type esrie multipatch. The level of detail is only 1, so LOD1 (building blocks without roof).
Code to load:
geo = readgeotable("D:Arbeit3D_Ausleuchtung3D_AusleuchtungDatenDaten_1.gdb", CoordinateSystemType="geographic");
viewer = siteviewer(Buildings=geo, Basemap="topographic");
If I try to load these into the siteviewer I get the following error:
"Error using siteviewer
The coordinates of the input points must be finite values; Inf and NaN are not permitted."
I tried converting the features to kmz an import them, but the error is still the same.
I managed to load the sideviewer with only one feature out of my buildings. So some features are OK, some not to import into sideviewer.
All my features are fine in other gis, like arcgis pro or qgis.
But the one building I can load is floating, I don’t know if this is beacause no terrain moddel is loaded or if there is a property to map them to the ground.
Can anyone help me or give me a hint in the right direction?
thanks, sebastianHi,
I’m completly new to Matlabs.
I’m trying to load my buildings into the siteviewer, to create a rf propagation in the end.
But I just can’t get my buildings to load. My features are in a esri .gdb an in the coordinate system is WGS_1984.
The features are 3d buildings and are of the type esrie multipatch. The level of detail is only 1, so LOD1 (building blocks without roof).
Code to load:
geo = readgeotable("D:Arbeit3D_Ausleuchtung3D_AusleuchtungDatenDaten_1.gdb", CoordinateSystemType="geographic");
viewer = siteviewer(Buildings=geo, Basemap="topographic");
If I try to load these into the siteviewer I get the following error:
"Error using siteviewer
The coordinates of the input points must be finite values; Inf and NaN are not permitted."
I tried converting the features to kmz an import them, but the error is still the same.
I managed to load the sideviewer with only one feature out of my buildings. So some features are OK, some not to import into sideviewer.
All my features are fine in other gis, like arcgis pro or qgis.
But the one building I can load is floating, I don’t know if this is beacause no terrain moddel is loaded or if there is a property to map them to the ground.
Can anyone help me or give me a hint in the right direction?
thanks, sebastian Hi,
I’m completly new to Matlabs.
I’m trying to load my buildings into the siteviewer, to create a rf propagation in the end.
But I just can’t get my buildings to load. My features are in a esri .gdb an in the coordinate system is WGS_1984.
The features are 3d buildings and are of the type esrie multipatch. The level of detail is only 1, so LOD1 (building blocks without roof).
Code to load:
geo = readgeotable("D:Arbeit3D_Ausleuchtung3D_AusleuchtungDatenDaten_1.gdb", CoordinateSystemType="geographic");
viewer = siteviewer(Buildings=geo, Basemap="topographic");
If I try to load these into the siteviewer I get the following error:
"Error using siteviewer
The coordinates of the input points must be finite values; Inf and NaN are not permitted."
I tried converting the features to kmz an import them, but the error is still the same.
I managed to load the sideviewer with only one feature out of my buildings. So some features are OK, some not to import into sideviewer.
All my features are fine in other gis, like arcgis pro or qgis.
But the one building I can load is floating, I don’t know if this is beacause no terrain moddel is loaded or if there is a property to map them to the ground.
Can anyone help me or give me a hint in the right direction?
thanks, sebastian geo, geopolyshape, antenna, gdb, readgeotable MATLAB Answers — New Questions
atan2 does not accept complex numbers as input
Good Morning
If I’m not mistaken I think that there is a definition of the atan2() function also in the complex field.
If so , It is possible to implement a complex version of the atan2() function ?
i mean in a way that i can compute atan2(a+i*b , c+i*d) , where a,b,c,d are real and i =sqrt(-1) ,
this both numerically and symbolically
thankyou 🙂
Kind regards
Manu1965@wail.chGood Morning
If I’m not mistaken I think that there is a definition of the atan2() function also in the complex field.
If so , It is possible to implement a complex version of the atan2() function ?
i mean in a way that i can compute atan2(a+i*b , c+i*d) , where a,b,c,d are real and i =sqrt(-1) ,
this both numerically and symbolically
thankyou 🙂
Kind regards
Manu1965@wail.ch Good Morning
If I’m not mistaken I think that there is a definition of the atan2() function also in the complex field.
If so , It is possible to implement a complex version of the atan2() function ?
i mean in a way that i can compute atan2(a+i*b , c+i*d) , where a,b,c,d are real and i =sqrt(-1) ,
this both numerically and symbolically
thankyou 🙂
Kind regards
Manu1965@wail.ch atan2() complex version MATLAB Answers — New Questions
Sending information to MATLAB from Python via TCP
I want to send data from Python to MATLAB every 10 seconds via TCP. The code I have works for the first iteration of the loop, but on the second iteration we reestablish the connection, yet the data fails to send.
The relevant Python code is:
import socket
import sys
import time
%Create a TCP/IP socket
i = 0 %loop counter
j=45.395 %data to be sent to MATLAB
while i < 1000:
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.bind((‘localhost’, 51001))
s.listen(1)
conn, addr = s.accept()
print(f"Connected by {addr}")
conn.sendall(bytes(str(j), ‘ASCII’))
conn.close()
i+=1
j+=0.6
time.sleep(10)
The MATLAB code is
i=0;
while i < 1000
t = tcpclient(‘localhost’, 51001);
output = read(t);
data = char(output(1:4));
pwrcmd = str2double(data);
fprintf(‘%f’, pwrcmd);
clear t;
i = i+1;
pause(10)
end
and finally the output on the terminal is:
>python matlab_connect_test.py
Connected by (‘127.0.0.1’, 56010)
Connected by (‘127.0.0.1’, 56012)
The first thing I tried was to establish just one server-client connection, and send data every 10 seconds through that one connection, rather than reconnecting every 10 seconds. That was unsuccessful. For some reason even though the second connection is established, MATLAB never receives the second value of j, or any subsequent values. Any help would be very much appreciated.I want to send data from Python to MATLAB every 10 seconds via TCP. The code I have works for the first iteration of the loop, but on the second iteration we reestablish the connection, yet the data fails to send.
The relevant Python code is:
import socket
import sys
import time
%Create a TCP/IP socket
i = 0 %loop counter
j=45.395 %data to be sent to MATLAB
while i < 1000:
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.bind((‘localhost’, 51001))
s.listen(1)
conn, addr = s.accept()
print(f"Connected by {addr}")
conn.sendall(bytes(str(j), ‘ASCII’))
conn.close()
i+=1
j+=0.6
time.sleep(10)
The MATLAB code is
i=0;
while i < 1000
t = tcpclient(‘localhost’, 51001);
output = read(t);
data = char(output(1:4));
pwrcmd = str2double(data);
fprintf(‘%f’, pwrcmd);
clear t;
i = i+1;
pause(10)
end
and finally the output on the terminal is:
>python matlab_connect_test.py
Connected by (‘127.0.0.1’, 56010)
Connected by (‘127.0.0.1’, 56012)
The first thing I tried was to establish just one server-client connection, and send data every 10 seconds through that one connection, rather than reconnecting every 10 seconds. That was unsuccessful. For some reason even though the second connection is established, MATLAB never receives the second value of j, or any subsequent values. Any help would be very much appreciated. I want to send data from Python to MATLAB every 10 seconds via TCP. The code I have works for the first iteration of the loop, but on the second iteration we reestablish the connection, yet the data fails to send.
The relevant Python code is:
import socket
import sys
import time
%Create a TCP/IP socket
i = 0 %loop counter
j=45.395 %data to be sent to MATLAB
while i < 1000:
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.bind((‘localhost’, 51001))
s.listen(1)
conn, addr = s.accept()
print(f"Connected by {addr}")
conn.sendall(bytes(str(j), ‘ASCII’))
conn.close()
i+=1
j+=0.6
time.sleep(10)
The MATLAB code is
i=0;
while i < 1000
t = tcpclient(‘localhost’, 51001);
output = read(t);
data = char(output(1:4));
pwrcmd = str2double(data);
fprintf(‘%f’, pwrcmd);
clear t;
i = i+1;
pause(10)
end
and finally the output on the terminal is:
>python matlab_connect_test.py
Connected by (‘127.0.0.1’, 56010)
Connected by (‘127.0.0.1’, 56012)
The first thing I tried was to establish just one server-client connection, and send data every 10 seconds through that one connection, rather than reconnecting every 10 seconds. That was unsuccessful. For some reason even though the second connection is established, MATLAB never receives the second value of j, or any subsequent values. Any help would be very much appreciated. python, matlab, tcp, tcpclient, server MATLAB Answers — New Questions
Dear all, may I know how can we enter the extinction coefficient value in Stk?
I’m using STK system tool kit with matlab and in the laser environment we can use Beer-Lambert law by adding the extinction coefficient so suppose we have a cloud causing attenuation equals 1.2dB/km,how can I enter this value in the extinction field field in Stk, it has to be in m-1 and I have to identify the layer top.I’m using STK system tool kit with matlab and in the laser environment we can use Beer-Lambert law by adding the extinction coefficient so suppose we have a cloud causing attenuation equals 1.2dB/km,how can I enter this value in the extinction field field in Stk, it has to be in m-1 and I have to identify the layer top. I’m using STK system tool kit with matlab and in the laser environment we can use Beer-Lambert law by adding the extinction coefficient so suppose we have a cloud causing attenuation equals 1.2dB/km,how can I enter this value in the extinction field field in Stk, it has to be in m-1 and I have to identify the layer top. attenuation, cloud MATLAB Answers — New Questions
Sync issues in 3rd party account in New Outlook for Windows
I created some new folders and sub folders in a 3rd party account on New Outlook for Windows and moved items from my inbox into them. Since then the 3rd party account is not downloading emails. before then it was downloading perfectly well.
However the same 3rd party account on the mobile Outlook app on my phone is still downloading emails but does not show the folders for that account that I created in New Outlook for windows.
I created some new folders and sub folders in a 3rd party account on New Outlook for Windows and moved items from my inbox into them. Since then the 3rd party account is not downloading emails. before then it was downloading perfectly well. However the same 3rd party account on the mobile Outlook app on my phone is still downloading emails but does not show the folders for that account that I created in New Outlook for windows. Read More
Outlook Ribbon Customisations Not Permanent Issue
Hello,
I have an issue with the Outlook Ribbon and Customisation in Outlook 365 (Not the new version) on my desktop PC.
I have created specific customisations for almost every type of view, email inbox list, email read/create, calendar view, new meeting creation, contacts listing etc.
I started using customisation of the Ribbon in an attempt to get rid of some of the default items which are put in the Ribbon by the system. Namely, OneNote, Groups and Share to Teams.
At first, I tried just removing the unwanted items but found that although the customisation would work for a few minutes, or even hours, the offending items would return.
I then tried completely customising almost every item in my Ribbon by removing all of the system generated menu groups, with the exception of the “Quick Steps” item, and creating my own custom groups and adding menu items to those groups.
Unfortunately, even this approach does not work as my customisations are not honoured and the unwanted items keep reappearing in the Ribbon.
I have more than one Microsoft email account registered in my Outlook application. The first is an Exchange type email account and the other two Inboxes are for an outlook.com account and a Gmail account.
If I customise the Ribbon while viewing the Inbox for the Exchange type email account and then click on the Inbox for one of the other email accounts the customisations are honoured in the view of those email account Inboxes and the unwanted items are not displayed.
If I then click back on the Exchange email account Inbox view the three unwanted Ribbon Groups, OneNote, Share to Teams and Groups, will have been returned to the Ribbon alongside my custom groups.
The following screenshots show my customisation of the Ribbon using the “Customise the Ribbon” right mouse click option and the Ribbon display after that customisation;
The next two images show the Ribbon display, with the unwanted items which reappear in the Ribbon, after I have changed my view from the Exchange email account Inbox to one of my other email account inboxes and then back again to the Exchange email account Inbox view;
I experience the same behaviour with other folders in the Exchange email account where the customisations are not honoured whereas when viewing other folders in either of the other two email accounts, the customisations are honoured and display the way I want them to.
I do not use OneNote or Groups and I do not want or need to share anything to Teams and the presence of these items in my customised Ribbon takes up precious screen real estate.
Has anyone else encountered this behaviour with the Ribbon?
In my scouring of the internet to try to find a solution, I have seen numerous posts in which the person posting is looking for a way to remove OneNote from the Ribbon but apart from those people being pointed towards the stock standard online help topic for Ribbon customisation, I have not found any reference to the problem with one’s customisations not being honoured by Outlook.
I am now at the point where I am considering brushing off my somewhat rusty VBA for Office and creating a macro which generates a customised Ribbon and which runs every time I change from one email account Inbox to another.
Hello, I have an issue with the Outlook Ribbon and Customisation in Outlook 365 (Not the new version) on my desktop PC. I have created specific customisations for almost every type of view, email inbox list, email read/create, calendar view, new meeting creation, contacts listing etc. I started using customisation of the Ribbon in an attempt to get rid of some of the default items which are put in the Ribbon by the system. Namely, OneNote, Groups and Share to Teams. At first, I tried just removing the unwanted items but found that although the customisation would work for a few minutes, or even hours, the offending items would return. I then tried completely customising almost every item in my Ribbon by removing all of the system generated menu groups, with the exception of the “Quick Steps” item, and creating my own custom groups and adding menu items to those groups. Unfortunately, even this approach does not work as my customisations are not honoured and the unwanted items keep reappearing in the Ribbon. I have more than one Microsoft email account registered in my Outlook application. The first is an Exchange type email account and the other two Inboxes are for an outlook.com account and a Gmail account. If I customise the Ribbon while viewing the Inbox for the Exchange type email account and then click on the Inbox for one of the other email accounts the customisations are honoured in the view of those email account Inboxes and the unwanted items are not displayed. If I then click back on the Exchange email account Inbox view the three unwanted Ribbon Groups, OneNote, Share to Teams and Groups, will have been returned to the Ribbon alongside my custom groups. The following screenshots show my customisation of the Ribbon using the “Customise the Ribbon” right mouse click option and the Ribbon display after that customisation; The next two images show the Ribbon display, with the unwanted items which reappear in the Ribbon, after I have changed my view from the Exchange email account Inbox to one of my other email account inboxes and then back again to the Exchange email account Inbox view; I experience the same behaviour with other folders in the Exchange email account where the customisations are not honoured whereas when viewing other folders in either of the other two email accounts, the customisations are honoured and display the way I want them to. I do not use OneNote or Groups and I do not want or need to share anything to Teams and the presence of these items in my customised Ribbon takes up precious screen real estate. Has anyone else encountered this behaviour with the Ribbon? In my scouring of the internet to try to find a solution, I have seen numerous posts in which the person posting is looking for a way to remove OneNote from the Ribbon but apart from those people being pointed towards the stock standard online help topic for Ribbon customisation, I have not found any reference to the problem with one’s customisations not being honoured by Outlook. I am now at the point where I am considering brushing off my somewhat rusty VBA for Office and creating a macro which generates a customised Ribbon and which runs every time I change from one email account Inbox to another. Read More
Disable tls
Under the OS (w2022) using IISCrypto and verifying with the registry, TLS1.0 and TLS1.1 appears disabled.
Is there anything under the IIS application that would try to use the older TLS? How can I find it?
Under the OS (w2022) using IISCrypto and verifying with the registry, TLS1.0 and TLS1.1 appears disabled. Is there anything under the IIS application that would try to use the older TLS? How can I find it? Read More
Troubleshooting Connectivity Issues between a Virtual Machine (VM) and an Azure Container App
In today’s cloud-centric world, ensuring seamless connectivity between various components is crucial for maintaining efficient workflows and minimizing downtime. One common scenario involves troubleshooting connectivity issues between a Virtual Machine (VM) and an Azure Container App. This guide aims to provide a fundamental approach to identifying and resolving connectivity issues, covering key aspects such as ingress configurations, troubleshooting tools, and networking components. By following these steps, you can ensure that your VM and Azure Container App communicate effectively.
Troubleshooting connectivity issues between a Virtual Machine (VM) and an Azure Container App can involve several steps.
Here are some key steps to perform or check:
Review ingress configuration
Scenario
Description
Actions
Requests to endpoints fail
The container app endpoint doesn’t respond to requests.
Review ingress configuration
Troubleshooting in Azure Container Apps | Microsoft Learn
Ensure that the DNS name UNIQUE_IDENTIFIER>.<REGION_NAME>.azurecontainerapps.io or *.<Custom domain DNS suffix> is correctly resolving to the Container Apps Environment Static IP address 10.0.8.209
Networking in Azure Container Apps environment | Microsoft Learn
Custom environment DNS suffix in Azure Container Apps | Microsoft Learn
Test connectivity between your VM and the container app using Psping or Test-NetConnections.
Results should show TcpTestSucceeded = True or PSping <Container Apps Environment Static IP>:<Port>
https://learn.microsoft.com/en-us/sysinternals/downloads/psping
Note: Tracert returns Timedout due to no option to set the listening port (Avoid using the command)
You can also use curl -v <Container Apps Environment Static IP> for connectivity. This command should return HTTP 404.
If connectivity test fails,
Confirm Target port is correct and ingress settings for your Azure Container App are configured to allow traffic from within the Virtual Network.
Check NSGs associated with your VM and the container app allow traffic on the necessary ports (e.g., HTTP/HTTPS).
Check for Route table forcetunneling traffic to NVA and check any firewall rules that might be blocking traffic to or from the container app.
Microsoft Tech Community – Latest Blogs –Read More
Remote Desktop self signed certificates
We have deployed CA signed certificates to be used for RDP. The RDP self signed certificate in the Remote Desktop folder in the Certificate console was deleted. However the self signed certificate under the Remote Desktop folder keeps coming back even after deleting it. How to permanently delete the RDP self signed certificate so that it does not keep coming back again and again.
We have deployed CA signed certificates to be used for RDP. The RDP self signed certificate in the Remote Desktop folder in the Certificate console was deleted. However the self signed certificate under the Remote Desktop folder keeps coming back even after deleting it. How to permanently delete the RDP self signed certificate so that it does not keep coming back again and again. Read More
Introducing the new SharePoint start experience
We are excited to introduce the new SharePoint start experience to make it easy for authors to create personal pages or publish ones to target SharePoint sites.
This feature is in a preview phase to collect initial feedback and enhance the final product.
The new SharePoint start experience is designed to motivate content creators to utilize the platform. By prioritizing a streamlined and user-friendly interface that reduces the number of clicks, it has become simpler to create SharePoint sites and pages. Creators can revisit the start experience hub to polish drafts, review previous work, and track engagement metrics.
Creating SharePoint pages is now significantly simpler:
The updated SharePoint start experience simplifies creating pages. Authors can begin with a blank page or use OOTB templates without selecting a target SharePoint site initially. These pages are saved in the SharePoint pages library in OneDrive for Business. Once drafts are ready, authors can choose to publish them as personal pages or to the intended SharePoint site(s).
Gone are the days when authors couldn’t locate their drafts:
The updated SharePoint start experience serves as a one-stop service for authors to find and manage their drafts or already published pages. From this view, authors can monitor view counts and view a list of individuals who have recently made changes.
Features and capabilities mentioned in this blog post, are demonstrated in the following video with Belle Podeanu (Microsoft) and Vesa Juvonen (Microsoft).
Frequently asked questions
When will this happen?
The feature started rolling out to customers in late July 2024 and will be available gradually worldwide by end of September 2024.
This message is associated with Microsoft 365 Roadmap ID 124824.
How will this affect your organization:
Creators can now reach the new SharePoint start experience via the top banner on the current SharePoint home.
What do you need to prepare?
You do not need to do anything to prepare for this update, but you may want to let your users know about this improvement.
What is next?
A left-hand navigation bar to help authors locate recently accessed SharePoint sites where they have created, edited, or published pages.
More email-ready web parts for personal pages.
Create SharePoint pages from custom templates right from the SharePoint start experience.
and more…
Thanks for reading. Please enjoy making beautiful pages with new SharePoint start experience and let us know any feedback or questions in the comments.
Microsoft Tech Community – Latest Blogs –Read More