Month: September 2024
Reading confirmation in Sharepoint documents
Hi,
i want to implement a reading confirmation for external users in Sharepoint.
I configured an “I’ve read it”” button which trigger a power automate flow. Now i want to change the value of the “Reading confirmation” field from “pending confirmation” to “accepted”…at the end the button should disappear for the user who triggers it.
Is anything like this possible?
Slavko
Hi,i want to implement a reading confirmation for external users in Sharepoint.I configured an “I’ve read it”” button which trigger a power automate flow. Now i want to change the value of the “Reading confirmation” field from “pending confirmation” to “accepted”…at the end the button should disappear for the user who triggers it.Is anything like this possible?RegardsSlavko Read More
Outlook Issue
Hi guys, I’m new here and not 100% sure if this is the right place to post this question. If not, please point me in the right direction.
I have a user experiencing an old known bug in Outlook. Error message below:
“The properties of the message have been changed” prompt when forwarding/replying in Outlook
I have updated outlook, recreated the profile, ran an online repair, .olded the reg value and even checked the mail settings to see if there was a cause there. None of this has fixed the issue unfortunately.
Any ideas?
Hi guys, I’m new here and not 100% sure if this is the right place to post this question. If not, please point me in the right direction. I have a user experiencing an old known bug in Outlook. Error message below: “The properties of the message have been changed” prompt when forwarding/replying in OutlookI have updated outlook, recreated the profile, ran an online repair, .olded the reg value and even checked the mail settings to see if there was a cause there. None of this has fixed the issue unfortunately. Any ideas? Read More
Visibility of Site
Hi Everyone,
I was trying to search some sites in my Microsoft edge but they are not visible i thing they are not indexed what could be the reason.
here are sites:
https://betinfo.pro/
can anybody help.
Thanks
Hi Everyone,I was trying to search some sites in my Microsoft edge but they are not visible i thing they are not indexed what could be the reason.here are sites:https://sheraz.website/https://urduinbox.pro/https://betinfo.pro/can anybody help.Thanks Read More
Microsoft 365 Licensing Report Script V1.94
Adding Detailed License Assignment Reporting
The Microsoft 365 licensing report script is possibly the most popular PowerShell project I’ve published. Given the amount of money that organizations can lay out on Microsoft 365 licenses, I guess people like keeping an eye on where the pennies get spent.
Over the past few months, I’ve responded to several requests for enhancements, such as highlighting license costs for disabled accounts, adding support for a cost center analysis, and so on. More requests keep on coming in, the latest being the desire to be able to report license costs per company within a tenant that supports several operating companies.
Previously, I’d been asked to include a line-by-line (or rather license-by-license) report per user. At the time, I didn’t see much point in doing this, but further reflection made me think that it would be good to output a list of individual license assignments that administrators could slice and dice to meet their needs.
Detailed License Assignment Report
V1.94 of the Microsoft 365 licensing report script does just that. Each license assignment, direct or via group-based licensing, is captured in an array called $DetailedLicenseReport. The report script creates the array automatically. To illustrate how the information can be used, if the $DetailedCompanyAnalyis variable is $true (the variable is set to $true in the script), the report script generates a detailed report about license assignments for each company found in the tenant (Figure 1). Each license is listed along with its assignees and the monthly cost of the licenses.
Obviously, creating such a report depends on accurate values in the company property of user accounts. If you didn’t want to report by company, it would be easy to change the code to create a detailed report of license assignments by department or cost center.
Removing Expired Licenses
The new version of the Microsoft 365 Licensing Report script also addresses expired licenses. When a subscription for a license comes to an end, it’s possible that some accounts have assignments for expired licenses. Eventually, Microsoft 365 removes the expired subscription and the expired licenses, but until this happens it’s possible that the report would include detailed of expired licenses, which is not what anyone would want.
I discovered this possibility when my tenant replaced some Office 365 E5 licenses with Office 365 with Office 365 E5 EEA (No Teams) licenses. This is one of the licenses created without a Teams service plan in an attempt to satisfy anti-competition concerns of the European Union. Microsoft subsequently decided to decouple Teams from all Office 365 and Microsoft 365 products, and new customers can no longer buy licenses that include Teams.
In any case, my tenant has some of the Office 365 E5 EEA (No Teams) licenses and separate Microsoft Teams EEA licenses, but some of the licenses from the older Office 365 E5 subscription still turned up on the report. This doesn’t happen anymore because the script now checks licenses against current subscriptions to remove any trace of expired subscriptions.
Downloading and Using the Microsoft 365 Licensing Report Script
V1.94 of the Microsoft 365 licensing report script is available from GitHub. If you haven’t used the script before, I encourage you to read the original article that launched me on this path and another article describing how the script learns about the costs of individual licenses. Things will become much clearer when you understand the basics of Microsoft 365 licensing, SKUs, products, service plans, and how to generate the CSV files used by the script.
Remember, this is all done with PowerShell and some calls to the Microsoft Graph to find information about the licenses assigned to users. No black magic is used. A script that’s over 700 lines long might seem intimidating, but many of the lines are blank or comments. Like any other PowerShell script, have fun amending the code to meet your needs!
Support the work of the Office 365 for IT Pros team by subscribing to the Office 365 for IT Pros eBook. Your support pays for the time we need to track, analyze, and document the changing world of Microsoft 365 and Office 365 (and write scripts like the Microsoft 365 Licensing report).
Graphics Incompatibilities in Control System Toolbox between R2024a and R2024b
A1 = 1; wp1 = 10;
A2 = -2; wp2 = 20;
s = tf(‘s’);
H1 = A1 / (1 + s/wp1); H2 = A2 / (1 + s/wp2);
H = H1 + H2;
figure;
bp = bodeplot(H, H1, H2);
hLines = findobj(gcf, Type=’line’);
set(hLines, LineWidth=2); % not working in R2024b?
set(hLines(6), LineWidth=6, DisplayName=’H2′); % not working in R2024b?
set(hLines(3), LineWidth=6, DisplayName=’H2′); % not working in R2024b?
set(findall(gcf, ‘Type’, ‘axes’), LineWidth=1.5, Box="off", fontsize=12); % not working in R2024b?
% Any correct/equivalent/recommended practice in R2024b?
figure;
pzmap(H, H1, H2);
set(gca, YTick=[], Box="off", LineWidth=1.5, XAxisLocation=’origin’, YAxisLocation=’origin’);
% get an R2024b Error using controllib.chart.PZPlot/set Unrecognized property YTick for class PZPlot.
% Any correct/equivalent/recommended practice in R2024b?
R2024a:
R2024b:
The "Version History" of "BodePlot" and "PZPlot" does point out changes in "gca", but for the "Chart Object" mentioned in it, I Googled it and couldn’t find the relevant documentation, so I don’t know how to get axes from Chart Object. Since the R2024b version is too new, I don’t know where to find the information.A1 = 1; wp1 = 10;
A2 = -2; wp2 = 20;
s = tf(‘s’);
H1 = A1 / (1 + s/wp1); H2 = A2 / (1 + s/wp2);
H = H1 + H2;
figure;
bp = bodeplot(H, H1, H2);
hLines = findobj(gcf, Type=’line’);
set(hLines, LineWidth=2); % not working in R2024b?
set(hLines(6), LineWidth=6, DisplayName=’H2′); % not working in R2024b?
set(hLines(3), LineWidth=6, DisplayName=’H2′); % not working in R2024b?
set(findall(gcf, ‘Type’, ‘axes’), LineWidth=1.5, Box="off", fontsize=12); % not working in R2024b?
% Any correct/equivalent/recommended practice in R2024b?
figure;
pzmap(H, H1, H2);
set(gca, YTick=[], Box="off", LineWidth=1.5, XAxisLocation=’origin’, YAxisLocation=’origin’);
% get an R2024b Error using controllib.chart.PZPlot/set Unrecognized property YTick for class PZPlot.
% Any correct/equivalent/recommended practice in R2024b?
R2024a:
R2024b:
The "Version History" of "BodePlot" and "PZPlot" does point out changes in "gca", but for the "Chart Object" mentioned in it, I Googled it and couldn’t find the relevant documentation, so I don’t know how to get axes from Chart Object. Since the R2024b version is too new, I don’t know where to find the information. A1 = 1; wp1 = 10;
A2 = -2; wp2 = 20;
s = tf(‘s’);
H1 = A1 / (1 + s/wp1); H2 = A2 / (1 + s/wp2);
H = H1 + H2;
figure;
bp = bodeplot(H, H1, H2);
hLines = findobj(gcf, Type=’line’);
set(hLines, LineWidth=2); % not working in R2024b?
set(hLines(6), LineWidth=6, DisplayName=’H2′); % not working in R2024b?
set(hLines(3), LineWidth=6, DisplayName=’H2′); % not working in R2024b?
set(findall(gcf, ‘Type’, ‘axes’), LineWidth=1.5, Box="off", fontsize=12); % not working in R2024b?
% Any correct/equivalent/recommended practice in R2024b?
figure;
pzmap(H, H1, H2);
set(gca, YTick=[], Box="off", LineWidth=1.5, XAxisLocation=’origin’, YAxisLocation=’origin’);
% get an R2024b Error using controllib.chart.PZPlot/set Unrecognized property YTick for class PZPlot.
% Any correct/equivalent/recommended practice in R2024b?
R2024a:
R2024b:
The "Version History" of "BodePlot" and "PZPlot" does point out changes in "gca", but for the "Chart Object" mentioned in it, I Googled it and couldn’t find the relevant documentation, so I don’t know how to get axes from Chart Object. Since the R2024b version is too new, I don’t know where to find the information. graphics, figure, axis, handles MATLAB Answers — New Questions
Why does the signal become thicker after noise reduction and the dots on both sides diverge?
I want to apply a voice noise reduction program similar to the one below to my own 1D signal, but I found that after noise reduction, the 1D signal becomes thicker and the points at both ends of the signal become divergent, and I can’t find the cause of this phenomenon and how to fix it. Hope to get your help. Have a great day!
the program is that:
Dereverberate Speech Using Deep Learning Networks – MATLAB & Simulink – MathWorks 中国
my result is as follow:
the red is clean signal, the yellow is signal with noise, and the green is signal after denoisng.I want to apply a voice noise reduction program similar to the one below to my own 1D signal, but I found that after noise reduction, the 1D signal becomes thicker and the points at both ends of the signal become divergent, and I can’t find the cause of this phenomenon and how to fix it. Hope to get your help. Have a great day!
the program is that:
Dereverberate Speech Using Deep Learning Networks – MATLAB & Simulink – MathWorks 中国
my result is as follow:
the red is clean signal, the yellow is signal with noise, and the green is signal after denoisng. I want to apply a voice noise reduction program similar to the one below to my own 1D signal, but I found that after noise reduction, the 1D signal becomes thicker and the points at both ends of the signal become divergent, and I can’t find the cause of this phenomenon and how to fix it. Hope to get your help. Have a great day!
the program is that:
Dereverberate Speech Using Deep Learning Networks – MATLAB & Simulink – MathWorks 中国
my result is as follow:
the red is clean signal, the yellow is signal with noise, and the green is signal after denoisng. neural network, audio, cnn, signal denoise MATLAB Answers — New Questions
How do I solve this Python error message “No module named ‘numpy’ ” in MATLAB Online ?
I tried this block "CustomPythonModelPredict" by Statistics and Machine Learning Toolbox.
See below link.
Predict Responses Using Custom Python Model in Simulink
I opened slexCustomPythonModelPredictExample.slx as this documentation.
I executed PredictResponsesUsingCustomPythonModelExample.mlx but
I got this error.
I looked into MATLAB Answer community and found similar posts but I couldn’t figure out the solution.
Also I did this command
system(‘python -m pip install numpy’)
but
/usr/bin/python: No module named pip
shows up. I’m not sure….
In the case of MATLAB Online, how do you solve this issue?
It’d be nice if you could give me any advice.
Here is the result I did pyversion command.
>>pyversion
version: ‘3.10’
executable: ‘/usr/bin/python3’
library: ‘libpython3.10.so.1.0’
home: ‘/usr’
isloaded: 1I tried this block "CustomPythonModelPredict" by Statistics and Machine Learning Toolbox.
See below link.
Predict Responses Using Custom Python Model in Simulink
I opened slexCustomPythonModelPredictExample.slx as this documentation.
I executed PredictResponsesUsingCustomPythonModelExample.mlx but
I got this error.
I looked into MATLAB Answer community and found similar posts but I couldn’t figure out the solution.
Also I did this command
system(‘python -m pip install numpy’)
but
/usr/bin/python: No module named pip
shows up. I’m not sure….
In the case of MATLAB Online, how do you solve this issue?
It’d be nice if you could give me any advice.
Here is the result I did pyversion command.
>>pyversion
version: ‘3.10’
executable: ‘/usr/bin/python3’
library: ‘libpython3.10.so.1.0’
home: ‘/usr’
isloaded: 1 I tried this block "CustomPythonModelPredict" by Statistics and Machine Learning Toolbox.
See below link.
Predict Responses Using Custom Python Model in Simulink
I opened slexCustomPythonModelPredictExample.slx as this documentation.
I executed PredictResponsesUsingCustomPythonModelExample.mlx but
I got this error.
I looked into MATLAB Answer community and found similar posts but I couldn’t figure out the solution.
Also I did this command
system(‘python -m pip install numpy’)
but
/usr/bin/python: No module named pip
shows up. I’m not sure….
In the case of MATLAB Online, how do you solve this issue?
It’d be nice if you could give me any advice.
Here is the result I did pyversion command.
>>pyversion
version: ‘3.10’
executable: ‘/usr/bin/python3’
library: ‘libpython3.10.so.1.0’
home: ‘/usr’
isloaded: 1 python, simulink, machine learning, toolbox MATLAB Answers — New Questions
Conditional formatting not working in my calendar – Excel
Hello,
I am new to the forum today and am wondering how I share a spreadsheet for others to look at and assist. The tickbox selection and source data covers 4 tabs then the conditional formatting as well so do not know how to make it work.
Should I put multiple pics up of all the formulas and conditional formatting to compare the two to see where I am going wrong.
Any help on how I can resolve this greatly appreciated.
Hello,I am new to the forum today and am wondering how I share a spreadsheet for others to look at and assist. The tickbox selection and source data covers 4 tabs then the conditional formatting as well so do not know how to make it work. Should I put multiple pics up of all the formulas and conditional formatting to compare the two to see where I am going wrong. Any help on how I can resolve this greatly appreciated. Read More
Custom Compliance Policy Error 65009 in Microsoft Intune
I created a custom compliance policy that searches for a specific registry key to check device compliance however, I am getting the following error 65009 (Invalid Json for the discovered setting). I checked the Json script in JSON Lint but there is no syntax error. I will add the PowerShell script and Json file below.
PowerShell script:
# Define the registry path and value name
$registryPath = “HKCU:SOFTWARETestCompliance”
$registryValueName = “TestValue”
# Check if the registry value exists
$registryValue = Get-ItemProperty -Path $registryPath -Name $registryValueName -ErrorAction SilentlyContinue
# Determine compliance status based on the registry value
$isCompliant = $null -ne $registryValue.$registryValueName
# Create a hash table with compliance details
$hash = @{
RegistryPath = $registryPath
ValueName = $registryValueName
IsCompliant = $isCompliant
}
# Return the hash table as a compact JSON string
return $hash | ConvertTo-Json -Compress
Json File:
{
“rules”: [
{
“settingName”: “IsCompliant”,
“operator”: “IsEquals”,
“dataType”: “boolean”,
“operand”: true,
“moreInfoUrl”: “https://learn.microsoft.com/en-us/mem/intune/fundamentals/deployment-plan-compliance-policies“,
“remediationStrings”: [
{
“language”: “en_US”,
“title”: “Compliance check failed”,
“description”: “The device is non-compliant.”
}
]
}
]
}
I created a custom compliance policy that searches for a specific registry key to check device compliance however, I am getting the following error 65009 (Invalid Json for the discovered setting). I checked the Json script in JSON Lint but there is no syntax error. I will add the PowerShell script and Json file below. PowerShell script: # Define the registry path and value name$registryPath = “HKCU:SOFTWARETestCompliance”$registryValueName = “TestValue”# Check if the registry value exists$registryValue = Get-ItemProperty -Path $registryPath -Name $registryValueName -ErrorAction SilentlyContinue# Determine compliance status based on the registry value$isCompliant = $null -ne $registryValue.$registryValueName# Create a hash table with compliance details$hash = @{ RegistryPath = $registryPath ValueName = $registryValueName IsCompliant = $isCompliant}# Return the hash table as a compact JSON stringreturn $hash | ConvertTo-Json -Compress Json File: { “rules”: [ { “settingName”: “IsCompliant”, “operator”: “IsEquals”, “dataType”: “boolean”, “operand”: true, “moreInfoUrl”: “https://learn.microsoft.com/en-us/mem/intune/fundamentals/deployment-plan-compliance-policies”, “remediationStrings”: [ { “language”: “en_US”, “title”: “Compliance check failed”, “description”: “The device is non-compliant.” } ] } ]} Read More
Losing my email 16th september
Hi all,
I’ve just received an email that I don’t understand that says this~
The safety and security of your information is top priority for Microsoft. To help keep your account secure, Microsoft will no longer support the use of third-party email and calendar apps which ask you to sign in with only your Microsoft Account username and password. To keep you safe you will need to use a mail or calendar app which supports Microsoft’s modern authentication methods. If you do not act, your third-party email apps will no longer be able to access your Outlook.com, Hotmail or Live.com email address on September 16th.
I have a Hotmail account that I have had for years. I have downloaded the Microsoft authentication app that asks for permission to sign in but other than that I have no idea!
I have a brain tumour so I struggle can some explain what I need to do in an idiot proof form please!
Hi all,I’ve just received an email that I don’t understand that says this~The safety and security of your information is top priority for Microsoft. To help keep your account secure, Microsoft will no longer support the use of third-party email and calendar apps which ask you to sign in with only your Microsoft Account username and password. To keep you safe you will need to use a mail or calendar app which supports Microsoft’s modern authentication methods. If you do not act, your third-party email apps will no longer be able to access your Outlook.com, Hotmail or Live.com email address on September 16th.I have a Hotmail account that I have had for years. I have downloaded the Microsoft authentication app that asks for permission to sign in but other than that I have no idea!I have a brain tumour so I struggle can some explain what I need to do in an idiot proof form please! Read More
Access Policies not blocking existing Office app connections
I’m testing blocking the Office apps on unmanaged devices so users cannot use them to download sensitive data. While I have had success with preventing users from licensing their Office apps or setting up OneDrive syncing, unfortunately it isn’t blocking apps that are already setup. So licensed Office apps can still browse to Sharepoint, and open a file, email is still delivered in Outlook and file changes in OneDrive still sync in both directions. I want to stop all existing connections in their tracks with this policy.
The Access policy is setup with the following:
Device not equal to Hybrid Entra Joined…User account equal to mineApp equals Microsoft 365Client app equals Mobile and desktopDevice equals PCBlock and display a customised message
I have a separate Session policy that is blocking cut,copy,print,& download activities in a web browser.
Can anyone explain why it isnt working as I would expect?
Thanks for any help.
I’m testing blocking the Office apps on unmanaged devices so users cannot use them to download sensitive data. While I have had success with preventing users from licensing their Office apps or setting up OneDrive syncing, unfortunately it isn’t blocking apps that are already setup. So licensed Office apps can still browse to Sharepoint, and open a file, email is still delivered in Outlook and file changes in OneDrive still sync in both directions. I want to stop all existing connections in their tracks with this policy. The Access policy is setup with the following:Device not equal to Hybrid Entra Joined…User account equal to mineApp equals Microsoft 365Client app equals Mobile and desktopDevice equals PCBlock and display a customised messageI have a separate Session policy that is blocking cut,copy,print,& download activities in a web browser. Can anyone explain why it isnt working as I would expect? Thanks for any help. Read More
word and excel
hello,
who can help me how to do this:
I have an excel file with cells like :
first name cell A 2
family name cell A3
birth date cell A4
start lease cell A5
rentamount cell A6
In a standard contract form I want to fill in the lines in the word document from these specific cells
hello,who can help me how to do this:I have an excel file with cells like :first name cell A 2family name cell A3birth date cell A4start lease cell A5rentamount cell A6In a standard contract form I want to fill in the lines in the word document from these specific cells Read More
Forgot Android password? How to unlock Android without losing data
Hello,
This is Aubrey and I need some help from the expert team. I have a backup phone (Samsung Galaxy S23) running Android 12. It has been weeks since the device is not powered on. Unfortunately, I forgot Android phone password when I was trying to unlock it today. Try a few password combinations but did not work.
I heard there are a couple of ways to unlock Android phone without losing data when you forgot Android password? Is this true? If yes, what is the correct way to do this on a Windows PC?
Thanks
Hello, This is Aubrey and I need some help from the expert team. I have a backup phone (Samsung Galaxy S23) running Android 12. It has been weeks since the device is not powered on. Unfortunately, I forgot Android phone password when I was trying to unlock it today. Try a few password combinations but did not work. I heard there are a couple of ways to unlock Android phone without losing data when you forgot Android password? Is this true? If yes, what is the correct way to do this on a Windows PC? Thanks Read More
Word Mail Merge of multi page document to a multi function printer to make 500 ea 8 page magazine.
whenever i try to merge the 8 page document with 500 addresses to the printer directly, it spools everything into a single print queue and tried to print all 4000 pages at once.
When i try to make an editable merge, i get the same thing.. 4000 pages.
Any way to create 500 8 page individual pdf’s???
Thanks.
Paul – up late at night
whenever i try to merge the 8 page document with 500 addresses to the printer directly, it spools everything into a single print queue and tried to print all 4000 pages at once. When i try to make an editable merge, i get the same thing.. 4000 pages. Any way to create 500 8 page individual pdf’s??? Thanks. Paul – up late at night Read More
ROS with Simulink : Exception in thread “ROS Executor Thread”: java.lang.OutOfMemoryError: Direct buffer memory
I use simulink connect with ROS. However, it always report error after a while ( about 2400 seconds)
Exception in thread "ROS Executor Thread": java.lang.OutOfMemoryError: Direct buffer memory
at java.nio.Bits.reserveMemory(Bits.java:694)
at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)
at org.jboss.netty.channel.socket.nio.SocketSendBufferPool$Preallocation.<init>(SocketSendBufferPool.java:158)
at org.jboss.netty.channel.socket.nio.SocketSendBufferPool.<init>(SocketSendBufferPool.java:40)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.<init>(AbstractNioWorker.java:123)
at org.jboss.netty.channel.socket.nio.NioWorker.<init>(NioWorker.java:44)
at org.jboss.netty.channel.socket.nio.NioWorkerPool.createWorker(NioWorkerPool.java:34)
at org.jboss.netty.channel.socket.nio.NioWorkerPool.createWorker(NioWorkerPool.java:26)
at org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool.<init>(AbstractNioWorkerPool.java:58)
at org.jboss.netty.channel.socket.nio.NioWorkerPool.<init>(NioWorkerPool.java:29)
at org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory.<init>(NioClientSocketChannelFactory.java:149)
at org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory.<init>(NioClientSocketChannelFactory.java:114)
at org.ros.internal.transport.tcp.TcpClient.<init>(TcpClient.java:71)
at org.ros.internal.transport.tcp.TcpClientManager.connect(TcpClientManager.java:67)
at org.ros.internal.node.topic.DefaultSubscriber.addPublisher(DefaultSubscriber.java:158)
at org.ros.internal.node.topic.UpdatePublisherRunnable.run(UpdatePublisherRunnable.java:73)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
The simulink model is shown as below ,include one rospublisher(geomeory_msg/Point) and two rossubsribers(geomeory_msg/PointStamped, geomeory_msg/PoseStamped):I use simulink connect with ROS. However, it always report error after a while ( about 2400 seconds)
Exception in thread "ROS Executor Thread": java.lang.OutOfMemoryError: Direct buffer memory
at java.nio.Bits.reserveMemory(Bits.java:694)
at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)
at org.jboss.netty.channel.socket.nio.SocketSendBufferPool$Preallocation.<init>(SocketSendBufferPool.java:158)
at org.jboss.netty.channel.socket.nio.SocketSendBufferPool.<init>(SocketSendBufferPool.java:40)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.<init>(AbstractNioWorker.java:123)
at org.jboss.netty.channel.socket.nio.NioWorker.<init>(NioWorker.java:44)
at org.jboss.netty.channel.socket.nio.NioWorkerPool.createWorker(NioWorkerPool.java:34)
at org.jboss.netty.channel.socket.nio.NioWorkerPool.createWorker(NioWorkerPool.java:26)
at org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool.<init>(AbstractNioWorkerPool.java:58)
at org.jboss.netty.channel.socket.nio.NioWorkerPool.<init>(NioWorkerPool.java:29)
at org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory.<init>(NioClientSocketChannelFactory.java:149)
at org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory.<init>(NioClientSocketChannelFactory.java:114)
at org.ros.internal.transport.tcp.TcpClient.<init>(TcpClient.java:71)
at org.ros.internal.transport.tcp.TcpClientManager.connect(TcpClientManager.java:67)
at org.ros.internal.node.topic.DefaultSubscriber.addPublisher(DefaultSubscriber.java:158)
at org.ros.internal.node.topic.UpdatePublisherRunnable.run(UpdatePublisherRunnable.java:73)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
The simulink model is shown as below ,include one rospublisher(geomeory_msg/Point) and two rossubsribers(geomeory_msg/PointStamped, geomeory_msg/PoseStamped): I use simulink connect with ROS. However, it always report error after a while ( about 2400 seconds)
Exception in thread "ROS Executor Thread": java.lang.OutOfMemoryError: Direct buffer memory
at java.nio.Bits.reserveMemory(Bits.java:694)
at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)
at org.jboss.netty.channel.socket.nio.SocketSendBufferPool$Preallocation.<init>(SocketSendBufferPool.java:158)
at org.jboss.netty.channel.socket.nio.SocketSendBufferPool.<init>(SocketSendBufferPool.java:40)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.<init>(AbstractNioWorker.java:123)
at org.jboss.netty.channel.socket.nio.NioWorker.<init>(NioWorker.java:44)
at org.jboss.netty.channel.socket.nio.NioWorkerPool.createWorker(NioWorkerPool.java:34)
at org.jboss.netty.channel.socket.nio.NioWorkerPool.createWorker(NioWorkerPool.java:26)
at org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool.<init>(AbstractNioWorkerPool.java:58)
at org.jboss.netty.channel.socket.nio.NioWorkerPool.<init>(NioWorkerPool.java:29)
at org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory.<init>(NioClientSocketChannelFactory.java:149)
at org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory.<init>(NioClientSocketChannelFactory.java:114)
at org.ros.internal.transport.tcp.TcpClient.<init>(TcpClient.java:71)
at org.ros.internal.transport.tcp.TcpClientManager.connect(TcpClientManager.java:67)
at org.ros.internal.node.topic.DefaultSubscriber.addPublisher(DefaultSubscriber.java:158)
at org.ros.internal.node.topic.UpdatePublisherRunnable.run(UpdatePublisherRunnable.java:73)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
The simulink model is shown as below ,include one rospublisher(geomeory_msg/Point) and two rossubsribers(geomeory_msg/PointStamped, geomeory_msg/PoseStamped): ros, simunlink, direct buffer memory MATLAB Answers — New Questions
how to calculate magnitude and phase angle of a complex number
for example -7+13i
how do i calculate and display the magnitude and phase angle of thisfor example -7+13i
how do i calculate and display the magnitude and phase angle of this for example -7+13i
how do i calculate and display the magnitude and phase angle of this complex, number, phase angle, magnitude MATLAB Answers — New Questions
reagrding implementation of meta learning algorithm selection
Hello,
could someone answer?
Can we apply meta learning algorithm selection(a model with can select a better image processing technique for a given image) in MATLAB.
Is it possible?Hello,
could someone answer?
Can we apply meta learning algorithm selection(a model with can select a better image processing technique for a given image) in MATLAB.
Is it possible? Hello,
could someone answer?
Can we apply meta learning algorithm selection(a model with can select a better image processing technique for a given image) in MATLAB.
Is it possible? meta learning, image processing MATLAB Answers — New Questions
Error in index returned by max() in the second dimension in obscure case
Attaced is AAA.mat which contains the matrix that generates the issue, as well as a code that reproduces the problem.
Following, copied from code, shows what the issue is, essentially, if I do max in the first dimension of permute(AAA,[2,1,3,4]) then everything works fine. But if I do max in the second dimension of AAA —which should give exact same answer— then the max-values are reported correctly but the max-indexes are incorrect.
%% The problematic example
load AAA.mat
[vv1,ii1]=max(AAA,[],2);
[vv2,ii2]=max(permute(AAA,[2,1,3,4]),[],1);
squeeze(vv1)-squeeze(vv2) % all zeros as expected
squeeze(ii1)-squeeze(ii2) % many non-zeros, which should not happen
% Note: vv1 is correct, but ii1 is incorrect
% E.g., vv1(1,1,1,2)=-2.6733
% Which is correct, and the same as vv2(1,1,1,2)=-2.6733
% By comparison, ii1(1,1,1,2)=3081
% But the correct answer is ii2(1,1,1,2)=1
% We can see this because AAA(1,3081,1,2)=-5.1175, which is not vv1
% By comparison, AAA(1,1,1,2)=-2.6733, which is exactly what we expect it to be
% Unless I am missing something, [vv1,ii1]=max(AAA,[],2); is returning the incorrect index for the max.
% Note: (:,:,1,1) gets the indexes correct, but the indexes corresponding to most other 3rd and 4th
% dimension points, like (:,:,1,5) and (:,:,5,1) are wrong.
I don’t know what about AAA causes this error to occur. The "max2derror.m" tries a bunch of things I thought of but they all work correctly.
Pretty sure I am getting this right 😐
I ran this in R2023b.Attaced is AAA.mat which contains the matrix that generates the issue, as well as a code that reproduces the problem.
Following, copied from code, shows what the issue is, essentially, if I do max in the first dimension of permute(AAA,[2,1,3,4]) then everything works fine. But if I do max in the second dimension of AAA —which should give exact same answer— then the max-values are reported correctly but the max-indexes are incorrect.
%% The problematic example
load AAA.mat
[vv1,ii1]=max(AAA,[],2);
[vv2,ii2]=max(permute(AAA,[2,1,3,4]),[],1);
squeeze(vv1)-squeeze(vv2) % all zeros as expected
squeeze(ii1)-squeeze(ii2) % many non-zeros, which should not happen
% Note: vv1 is correct, but ii1 is incorrect
% E.g., vv1(1,1,1,2)=-2.6733
% Which is correct, and the same as vv2(1,1,1,2)=-2.6733
% By comparison, ii1(1,1,1,2)=3081
% But the correct answer is ii2(1,1,1,2)=1
% We can see this because AAA(1,3081,1,2)=-5.1175, which is not vv1
% By comparison, AAA(1,1,1,2)=-2.6733, which is exactly what we expect it to be
% Unless I am missing something, [vv1,ii1]=max(AAA,[],2); is returning the incorrect index for the max.
% Note: (:,:,1,1) gets the indexes correct, but the indexes corresponding to most other 3rd and 4th
% dimension points, like (:,:,1,5) and (:,:,5,1) are wrong.
I don’t know what about AAA causes this error to occur. The "max2derror.m" tries a bunch of things I thought of but they all work correctly.
Pretty sure I am getting this right 😐
I ran this in R2023b. Attaced is AAA.mat which contains the matrix that generates the issue, as well as a code that reproduces the problem.
Following, copied from code, shows what the issue is, essentially, if I do max in the first dimension of permute(AAA,[2,1,3,4]) then everything works fine. But if I do max in the second dimension of AAA —which should give exact same answer— then the max-values are reported correctly but the max-indexes are incorrect.
%% The problematic example
load AAA.mat
[vv1,ii1]=max(AAA,[],2);
[vv2,ii2]=max(permute(AAA,[2,1,3,4]),[],1);
squeeze(vv1)-squeeze(vv2) % all zeros as expected
squeeze(ii1)-squeeze(ii2) % many non-zeros, which should not happen
% Note: vv1 is correct, but ii1 is incorrect
% E.g., vv1(1,1,1,2)=-2.6733
% Which is correct, and the same as vv2(1,1,1,2)=-2.6733
% By comparison, ii1(1,1,1,2)=3081
% But the correct answer is ii2(1,1,1,2)=1
% We can see this because AAA(1,3081,1,2)=-5.1175, which is not vv1
% By comparison, AAA(1,1,1,2)=-2.6733, which is exactly what we expect it to be
% Unless I am missing something, [vv1,ii1]=max(AAA,[],2); is returning the incorrect index for the max.
% Note: (:,:,1,1) gets the indexes correct, but the indexes corresponding to most other 3rd and 4th
% dimension points, like (:,:,1,5) and (:,:,5,1) are wrong.
I don’t know what about AAA causes this error to occur. The "max2derror.m" tries a bunch of things I thought of but they all work correctly.
Pretty sure I am getting this right 😐
I ran this in R2023b. max MATLAB Answers — New Questions
VM creation keeps failing while deploying AVD in host pool.
I am trying to deploy AVD, but it keeps failing when it comes to creating the VM.
The error message is:
“Deployment to resource group ‘AVD-RG’ failed.
Additional details from the underlying API that might be helpful: At least one resource deployment operation failed. Please list deployment operations for details. See https://aka.ms/arm-deployment-operations for usage details.”
I am using a Free Subscription with $200 in credits and a global account to deploy the AVD. Has anyone faced this issue recently?
Hello,I am trying to deploy AVD, but it keeps failing when it comes to creating the VM. The error message is: “Deployment to resource group ‘AVD-RG’ failed.Additional details from the underlying API that might be helpful: At least one resource deployment operation failed. Please list deployment operations for details. See https://aka.ms/arm-deployment-operations for usage details.” I am using a Free Subscription with $200 in credits and a global account to deploy the AVD. Has anyone faced this issue recently? Read More
SQL Server がインストールされていないAzure VM において、「Failed to find SQL instance to target」を含むメッセージが記録される
こんにちは。SQL Server サポート チームです。
事象
SQL Server がインストールされていないAzure VM において、Windows イベントログのアプリケーションログに以下のメッセージが記録される場合があります。
– ソース
Microsoft SQL Server IaaS Agent Setup
– メッセージ
Failed to find SQL instance to target. Skipping ‘NT Service\SQLIaaSExtensionQuery’ removal from sql logins.
メッセージの原因
SQL IaaS Agent 拡張機能への自動登録機能を有効化しているサブスクリプションにおいては、Azure VM に対して SQL Server がインストールされているかどうかを検出するジョブが毎月実行されます。
また、自動登録機能が有効化されているかどうかに関わらず、弊社の計画メンテナンスによって、SQL Server がインストールされているかどうかを検出するジョブが実行されます。
したがって、上述のジョブによりAzure VMにSQL Serverがインストールされていないことを検出したことが発生原因となります。
※計画メンテナンスのタイミングは不定期です。
SQL IaaS Agent 拡張機能への自動登録の有効化状況については、Azure Portal から以下の手順で確認が可能です。
1.Azure portal にサインインします。
2.[SQL 仮想マシン] リソース ページに移動します。
3.[SQL Server VM の自動登録](Automatic SQL Server VM registration) を選択して、 [SQL Server VM の自動登録](Automatic SQL Server VM registration) ページを開きます。
4.登録済みの場合は以下のように表示されます。
SQL IaaS Agent 拡張機能への自動登録の詳細につきましては、下記の公開情報をご確認ください。
SQL IaaS Agent 拡張機能への自動登録
影響
SQL ServerがインストールされていないAzure VMにて記録されたものであれば、本メッセージによる影響はありません。
対処策
本メッセージはジョブの出力結果として記録されるため、出力を止めることはできません。
監視ツールなどで監視されている場合は、必要に応じて監視対象から除外してください。
Microsoft Tech Community – Latest Blogs –Read More