Month: June 2024
readtable csv with one column containing a field with commas
I’m reading a CSV file with the command:
readtable(Logic_file, ‘ReadVariableNames’, true, ‘Format’, ‘%d%d%f%s%s%d%s’,’EmptyValue’,0);
My problem is that the supplier of input file has change the last column from a string to something like this:
{‘string1’, ‘string2’}
readtable() is seeing the commas in this {} field and trying to make more columns. I want readtable to treat whatever is in the {…} as a single field not to be broken up. Any ideas would be welcomeI’m reading a CSV file with the command:
readtable(Logic_file, ‘ReadVariableNames’, true, ‘Format’, ‘%d%d%f%s%s%d%s’,’EmptyValue’,0);
My problem is that the supplier of input file has change the last column from a string to something like this:
{‘string1’, ‘string2’}
readtable() is seeing the commas in this {} field and trying to make more columns. I want readtable to treat whatever is in the {…} as a single field not to be broken up. Any ideas would be welcome I’m reading a CSV file with the command:
readtable(Logic_file, ‘ReadVariableNames’, true, ‘Format’, ‘%d%d%f%s%s%d%s’,’EmptyValue’,0);
My problem is that the supplier of input file has change the last column from a string to something like this:
{‘string1’, ‘string2’}
readtable() is seeing the commas in this {} field and trying to make more columns. I want readtable to treat whatever is in the {…} as a single field not to be broken up. Any ideas would be welcome readtable, csv MATLAB Answers — New Questions
I built a cross-validated SVM model with fitcsvm but I cant seem to use “predict” to predict responses from a new data with the model
Hi there
I built a cross validated and Bayesian Optimised model (CValidated_SVMModel_for_AUC1) with Support Vector Machines (SVM) on MATLAB with the "fitcsvm" syntax
I need to use the cross validated model to predict the responses from a new data (X_test)
I have tried to use this:
[Predicted_label,score] = kfoldPredict(CValidated_SVMModel_for_AUC1, X_test) without sucess
I have also tried to use:
[label,score] = predict(SVMModel_for_AUC1,X_test) without success
I will apprecaite if someone can advise me on how to resolve this
Thank YouHi there
I built a cross validated and Bayesian Optimised model (CValidated_SVMModel_for_AUC1) with Support Vector Machines (SVM) on MATLAB with the "fitcsvm" syntax
I need to use the cross validated model to predict the responses from a new data (X_test)
I have tried to use this:
[Predicted_label,score] = kfoldPredict(CValidated_SVMModel_for_AUC1, X_test) without sucess
I have also tried to use:
[label,score] = predict(SVMModel_for_AUC1,X_test) without success
I will apprecaite if someone can advise me on how to resolve this
Thank You Hi there
I built a cross validated and Bayesian Optimised model (CValidated_SVMModel_for_AUC1) with Support Vector Machines (SVM) on MATLAB with the "fitcsvm" syntax
I need to use the cross validated model to predict the responses from a new data (X_test)
I have tried to use this:
[Predicted_label,score] = kfoldPredict(CValidated_SVMModel_for_AUC1, X_test) without sucess
I have also tried to use:
[label,score] = predict(SVMModel_for_AUC1,X_test) without success
I will apprecaite if someone can advise me on how to resolve this
Thank You predict, crossvalidated, svm, cross-validated MATLAB Answers — New Questions
fitlme different to lmer in R
I am trying to illustrate Simpsons Paradox using fitlme:
dat = [
8.7050 21.0000 1.0000
7.3362 22.0000 1.0000
6.2369 23.0000 1.0000
4.8375 24.0000 1.0000
4.9990 25.0000 1.0000
13.5644 31.0000 2.0000
12.5219 32.0000 2.0000
12.3329 33.0000 2.0000
11.4778 34.0000 2.0000
10.0626 35.0000 2.0000
18.9573 41.0000 3.0000
17.9516 42.0000 3.0000
15.1706 43.0000 3.0000
16.1398 44.0000 3.0000
15.1729 45.0000 3.0000
23.7340 51.0000 4.0000
23.6630 52.0000 4.0000
22.4108 53.0000 4.0000
21.0697 54.0000 4.0000
20.3200 55.0000 4.0000
28.0275 61.0000 5.0000
28.0699 62.0000 5.0000
27.3365 63.0000 5.0000
25.8270 64.0000 5.0000
24.5141 65.0000 5.0000];
tab = array2table(dat,’VariableNames’,{‘y’,’Age’,’Participant’})
figure,plot(tab.Age, tab.y,’o’)
%tab.Participant = nominal(tab.Participant) % doesn’t have any effect
m = fitlme(tab,’y ~ Age + (1|Participant)’,’FitMethod’,’REML’)
but I get a positive coefficient for the fixed effect of Age, when I was expecting a negative one:
Linear mixed-effects model fit by REML
Model information:
Number of observations 25
Fixed effects coefficients 2
Random effects coefficients 5
Covariance parameters 2
Formula:
y ~ 1 + Age + (1 | Participant)
Model fit statistics:
AIC BIC LogLikelihood Deviance
120.67 125.21 -56.334 112.67
Fixed effects coefficients (95% CIs):
Name Estimate SE tStat DF pValue Lower Upper
‘(Intercept)’ -4.4658 1.3833 -3.2283 23 0.0037183 -7.3274 -1.6042
‘Age’ 0.49496 0.030545 16.204 23 4.4887e-14 0.43177 0.55815
Random effects covariance parameters (95% CIs):
Group: Participant (5 Levels)
Name1 Name2 Type Estimate Lower Upper
‘(Intercept)’ ‘(Intercept)’ ‘std’ 2.4099e-16 NaN NaN
Group: Error
Name Estimate Lower Upper
‘Res Std’ 2.1706 1.6259 2.898
If I run what I think is equivalent model using "lmer" in R on exactly the same data, I get a negative coefficient for Age, as expected:
summary(lmer(‘y ~ Age + (1|Participant)’, data = tab)) # "tab" is dataframe version of tab above
Linear mixed model fit by REML [‘lmerMod’]
Formula: y ~ Age + (1 | Participant)
Data: tab
REML criterion at convergence: 88.2
Scaled residuals:
Min 1Q Median 3Q Max
-1.8806 -0.5016 0.1545 0.7367 1.3270
Random effects:
Groups Name Variance Std.Dev.
Participant (Intercept) 673.2727 25.9475
Residual 0.4153 0.6445
Number of obs: 25, groups: Participant, 5
Fixed effects:
Estimate Std. Error t value
(Intercept) 65.94094 12.24102 5.387
Age -1.13831 0.09058 -12.567
Correlation of Fixed Effects:
(Intr)
Age -0.318
What am I doing wrong with fitlme?I am trying to illustrate Simpsons Paradox using fitlme:
dat = [
8.7050 21.0000 1.0000
7.3362 22.0000 1.0000
6.2369 23.0000 1.0000
4.8375 24.0000 1.0000
4.9990 25.0000 1.0000
13.5644 31.0000 2.0000
12.5219 32.0000 2.0000
12.3329 33.0000 2.0000
11.4778 34.0000 2.0000
10.0626 35.0000 2.0000
18.9573 41.0000 3.0000
17.9516 42.0000 3.0000
15.1706 43.0000 3.0000
16.1398 44.0000 3.0000
15.1729 45.0000 3.0000
23.7340 51.0000 4.0000
23.6630 52.0000 4.0000
22.4108 53.0000 4.0000
21.0697 54.0000 4.0000
20.3200 55.0000 4.0000
28.0275 61.0000 5.0000
28.0699 62.0000 5.0000
27.3365 63.0000 5.0000
25.8270 64.0000 5.0000
24.5141 65.0000 5.0000];
tab = array2table(dat,’VariableNames’,{‘y’,’Age’,’Participant’})
figure,plot(tab.Age, tab.y,’o’)
%tab.Participant = nominal(tab.Participant) % doesn’t have any effect
m = fitlme(tab,’y ~ Age + (1|Participant)’,’FitMethod’,’REML’)
but I get a positive coefficient for the fixed effect of Age, when I was expecting a negative one:
Linear mixed-effects model fit by REML
Model information:
Number of observations 25
Fixed effects coefficients 2
Random effects coefficients 5
Covariance parameters 2
Formula:
y ~ 1 + Age + (1 | Participant)
Model fit statistics:
AIC BIC LogLikelihood Deviance
120.67 125.21 -56.334 112.67
Fixed effects coefficients (95% CIs):
Name Estimate SE tStat DF pValue Lower Upper
‘(Intercept)’ -4.4658 1.3833 -3.2283 23 0.0037183 -7.3274 -1.6042
‘Age’ 0.49496 0.030545 16.204 23 4.4887e-14 0.43177 0.55815
Random effects covariance parameters (95% CIs):
Group: Participant (5 Levels)
Name1 Name2 Type Estimate Lower Upper
‘(Intercept)’ ‘(Intercept)’ ‘std’ 2.4099e-16 NaN NaN
Group: Error
Name Estimate Lower Upper
‘Res Std’ 2.1706 1.6259 2.898
If I run what I think is equivalent model using "lmer" in R on exactly the same data, I get a negative coefficient for Age, as expected:
summary(lmer(‘y ~ Age + (1|Participant)’, data = tab)) # "tab" is dataframe version of tab above
Linear mixed model fit by REML [‘lmerMod’]
Formula: y ~ Age + (1 | Participant)
Data: tab
REML criterion at convergence: 88.2
Scaled residuals:
Min 1Q Median 3Q Max
-1.8806 -0.5016 0.1545 0.7367 1.3270
Random effects:
Groups Name Variance Std.Dev.
Participant (Intercept) 673.2727 25.9475
Residual 0.4153 0.6445
Number of obs: 25, groups: Participant, 5
Fixed effects:
Estimate Std. Error t value
(Intercept) 65.94094 12.24102 5.387
Age -1.13831 0.09058 -12.567
Correlation of Fixed Effects:
(Intr)
Age -0.318
What am I doing wrong with fitlme? I am trying to illustrate Simpsons Paradox using fitlme:
dat = [
8.7050 21.0000 1.0000
7.3362 22.0000 1.0000
6.2369 23.0000 1.0000
4.8375 24.0000 1.0000
4.9990 25.0000 1.0000
13.5644 31.0000 2.0000
12.5219 32.0000 2.0000
12.3329 33.0000 2.0000
11.4778 34.0000 2.0000
10.0626 35.0000 2.0000
18.9573 41.0000 3.0000
17.9516 42.0000 3.0000
15.1706 43.0000 3.0000
16.1398 44.0000 3.0000
15.1729 45.0000 3.0000
23.7340 51.0000 4.0000
23.6630 52.0000 4.0000
22.4108 53.0000 4.0000
21.0697 54.0000 4.0000
20.3200 55.0000 4.0000
28.0275 61.0000 5.0000
28.0699 62.0000 5.0000
27.3365 63.0000 5.0000
25.8270 64.0000 5.0000
24.5141 65.0000 5.0000];
tab = array2table(dat,’VariableNames’,{‘y’,’Age’,’Participant’})
figure,plot(tab.Age, tab.y,’o’)
%tab.Participant = nominal(tab.Participant) % doesn’t have any effect
m = fitlme(tab,’y ~ Age + (1|Participant)’,’FitMethod’,’REML’)
but I get a positive coefficient for the fixed effect of Age, when I was expecting a negative one:
Linear mixed-effects model fit by REML
Model information:
Number of observations 25
Fixed effects coefficients 2
Random effects coefficients 5
Covariance parameters 2
Formula:
y ~ 1 + Age + (1 | Participant)
Model fit statistics:
AIC BIC LogLikelihood Deviance
120.67 125.21 -56.334 112.67
Fixed effects coefficients (95% CIs):
Name Estimate SE tStat DF pValue Lower Upper
‘(Intercept)’ -4.4658 1.3833 -3.2283 23 0.0037183 -7.3274 -1.6042
‘Age’ 0.49496 0.030545 16.204 23 4.4887e-14 0.43177 0.55815
Random effects covariance parameters (95% CIs):
Group: Participant (5 Levels)
Name1 Name2 Type Estimate Lower Upper
‘(Intercept)’ ‘(Intercept)’ ‘std’ 2.4099e-16 NaN NaN
Group: Error
Name Estimate Lower Upper
‘Res Std’ 2.1706 1.6259 2.898
If I run what I think is equivalent model using "lmer" in R on exactly the same data, I get a negative coefficient for Age, as expected:
summary(lmer(‘y ~ Age + (1|Participant)’, data = tab)) # "tab" is dataframe version of tab above
Linear mixed model fit by REML [‘lmerMod’]
Formula: y ~ Age + (1 | Participant)
Data: tab
REML criterion at convergence: 88.2
Scaled residuals:
Min 1Q Median 3Q Max
-1.8806 -0.5016 0.1545 0.7367 1.3270
Random effects:
Groups Name Variance Std.Dev.
Participant (Intercept) 673.2727 25.9475
Residual 0.4153 0.6445
Number of obs: 25, groups: Participant, 5
Fixed effects:
Estimate Std. Error t value
(Intercept) 65.94094 12.24102 5.387
Age -1.13831 0.09058 -12.567
Correlation of Fixed Effects:
(Intr)
Age -0.318
What am I doing wrong with fitlme? fitlme lmer simpsons paradox MATLAB Answers — New Questions
Stop replication failed
I have a Azure Migrate: Migration and modernization | Replications where the migration has failed. I tried to stop the replication to create a new migration job but am now getting stop replication failed with the error below. I have checked the vault but cannot see any protected objects.
I have a Azure Migrate: Migration and modernization | Replications where the migration has failed. I tried to stop the replication to create a new migration job but am now getting stop replication failed with the error below. I have checked the vault but cannot see any protected objects. Error messageProtection could not be disabled for the machine ‘MACHINENAME’.Possible causesCheck the failed Disable Protection job for more information.RecommendationResolve the issue, disable protection on the machine again. Read More
How to Migrate Projects from Planner to the new Project & have 1 master planner
Hi,
How to Migrate Projects from Planner to the new Project & have 1 master planner which will include tasks per particular criteria/label or due date. Say I have:
x Project with 6 tasks due date this week
y Project with 5 tasks due date this week
z Project with 4 tasks due date this week
how to show all 15 tasks in m Project?
Thank you!
Hi, How to Migrate Projects from Planner to the new Project & have 1 master planner which will include tasks per particular criteria/label or due date. Say I have:x Project with 6 tasks due date this weeky Project with 5 tasks due date this weekz Project with 4 tasks due date this weekhow to show all 15 tasks in m Project? Thank you! Read More
Linking Tables
Hello,
I am trying to link two excel tables in online excel. This issue is very easy to solve by using power query however I need the dashboards to be used via excel-online for digital display. Unfortunately, excel will not allow power queries to operate in excel-online. Is there a way to simply link the excel table in one file (the source) and relay that same table to a separate file so that it reflects everything being inserted into the source table?
Hello, I am trying to link two excel tables in online excel. This issue is very easy to solve by using power query however I need the dashboards to be used via excel-online for digital display. Unfortunately, excel will not allow power queries to operate in excel-online. Is there a way to simply link the excel table in one file (the source) and relay that same table to a separate file so that it reflects everything being inserted into the source table? Read More
Custom Thumbnail Images on Tile/Gallery View – Sharepoint Online
Hey all,
I have a Sharepoint list/library of images in various file types (png, jpeg, tif, etc.). Most of these images have a thumbnail autogenerated by Sharepoint which is great. There are some however, that do not and I have subsequently uploaded a custom image to be used in the thumbnail column.
When I am in the Tiles view, the thumbnails that Sharepoint autogenerates shows up, but the custom thumbnails don’t and still show as the default no image view. I think part of the issue is that in the View Format tab and Document Card Designer, the autogenerated thumbnails are considered “Show the File/Folder Thumbnail” and the custom thumbnails show up under the “Thumbnail” column. Is there a way to update the JSON so that if there is an autogenerated thumbnail it shows, and if there’s a custom thumbnail to use that?
Thanks!
Hey all, I have a Sharepoint list/library of images in various file types (png, jpeg, tif, etc.). Most of these images have a thumbnail autogenerated by Sharepoint which is great. There are some however, that do not and I have subsequently uploaded a custom image to be used in the thumbnail column. When I am in the Tiles view, the thumbnails that Sharepoint autogenerates shows up, but the custom thumbnails don’t and still show as the default no image view. I think part of the issue is that in the View Format tab and Document Card Designer, the autogenerated thumbnails are considered “Show the File/Folder Thumbnail” and the custom thumbnails show up under the “Thumbnail” column. Is there a way to update the JSON so that if there is an autogenerated thumbnail it shows, and if there’s a custom thumbnail to use that? Thanks! Read More
Remote server returned 550.5.7.705
Since 21/06/2024, I can’t send emails anymore with my domainname ‘adviesopmaat.eu’. It’s works only with ‘outlook.com’. The night before, I received a lot of spam + mails where send to unknown adresses with mine emailadress.
When I want to send an email, I receive back an a email from microsoft:
Undeliverable. Delivery has failed to these recipients or groups.
Your massage wasn’t delivered because the recipient’s email provider rejected it.
Diagnostic information for administrators: Remote server returned ‘550.5.7.705 Access denied, tenant has exceeded threshold.
I posted this issue to Microsoft support on 21/06/2024, but I got no answer back.
What can I do?
Thanks for helping!
Kind regards,
Wim
Since 21/06/2024, I can’t send emails anymore with my domainname ‘adviesopmaat.eu’. It’s works only with ‘outlook.com’. The night before, I received a lot of spam + mails where send to unknown adresses with mine emailadress.When I want to send an email, I receive back an a email from microsoft:Undeliverable. Delivery has failed to these recipients or groups.Your massage wasn’t delivered because the recipient’s email provider rejected it.Diagnostic information for administrators: Remote server returned ‘550.5.7.705 Access denied, tenant has exceeded threshold.I posted this issue to Microsoft support on 21/06/2024, but I got no answer back. What can I do?Thanks for helping!Kind regards,Wim Read More
Unleash the power of generative AI in your marketing strategies
In the recent Boost your marketing with GenAI and Through Partner Marketing webinar, we explored the top trends in marketing powered by generative AI (GenAI) and ways to leverage tools like Microsoft Copilot to accelerate go-to-market strategies. Microsoft Through Partner Marketing managers Diana Rocha and David Rosenstock, sat down with industry expert Jess Lin to uncover exclusive insights and practical advice on how to empower brands and partners to transform their businesses and unlock new opportunities with GenAI.
What was our most inspiring insight from the webinar?
With GenAI, you can create synthetic personas to fast-track market research and test creative ideas during the design process. These data-driven personas can provide instant feedback and help you tailor your marketing strategies to deliver a more personalized experience. Learn how Copilot can empower your marketing team in market research and other processes.
What was our favorite practical advice?
Experimenting with Microsoft Copilot can sharpen or uncover insights in Microsoft Excel. It’s an invaluable resource to get the most out of your data, streamline workflows, and make informed decisions. Start in the Copilot Lab, where you can find prompts and tutorials on how to use Copilot for Excel and other Microsoft 365 products.
From identifying target audiences more efficiently to creating personalized content at scale, GenAI is helping marketers unleash their creativity and enhance their strategies.
Share your impressions with us
We’d love to know more about how you’re using GenAI to improve the effectiveness of your marketing campaigns. Let’s chat and inspire each other.
Microsoft Tech Community – Latest Blogs –Read More
Configurando Azure ARC com Private Link.
O Azure Arc facilita o gerenciamento em ambientes híbridos e multi-cloud por meio de um único painel. Com o Azure Arc, é possivel aplicar os recursos de gerenciamento e segurança do Azure aos seus recursos de outras nuvens, e on-premises, como servidores, clusters Kubernetes e serviços de dados.
Gerenciar recursos do Azure Arc em diferentes redes e firewalls pode apresentar alguns desafios como por exemplo precisar expor pontos de extremidade públicos para seus recursos, o que pode aumentar o risco de acesso não autorizado e ataques maliciosos.
Desta forma, o Azure Arc Private Links é uma solução que facilita e segura a conexão entre seus recursos do Azure Arc e o Azure. Com o Azure Arc Private Links, é possiível criar pontos de extremidade privados para seus recursos do Azure Arc dentro de uma rede virtual do Azure e acessá-los usando endereços IP privados e assim evitar expor pontos de extremidade públicos e proteger seus recursos de riscos de rede. Você também pode diminuir a latência e os custos de largura de banda da rede, direcionando o tráfego pela rede principal do Azure.
Ao utilizar extensões de VM que funcionam com os servidores no Azure Arc, como por exemolo : Gerenciamento de Atualizações, Automação do Azure ou o Azure Monitor, esses recursos se conectam a outros recursos do Azure, como o Workspace do Log Analytics, Conta de Automação do Azure, Cofre de Chave do Azure e o Armazenamento de Blobs que também devem ter seus próprios links privados.
No entanto, até o momento deste artigo, existem algumas restrições em que o tráfego ainda precisa ser realizadas para URLS públicas, como por exemplo, para acesso ao Entra ID, Azure Resource Manager, Windows Admin Center e SSH. A figura abaixo apresenta este fluxo de conexão.
Objetivo
O propósito deste artigo é demostrar em um ambiente de laboratório como configurar o Azure ARC com private link e ajustar o agente do azure arc para acessar as urls públicas por meio de um proxy.
O ambiente de laborátorio consiste em:
On-premises
Servidor Active Directory – Domain Controller (ADDS) : 10.168.101.4
Servidor (para onboard no arc) com Windows Sever 2022 : VM01
Proxy Server ( Pfsense/squid) : 192.168.101.1
VPN Site to Site
Azure
Vnet Hub com :
Servidor Active Directory – Domain Controller (ADDS) : 10.10.0.4
VPN Gateway
Arquitetura do ambiente de laboratório.
Criando o ARC Private Scope
No portal do Azure , pesquise por Azure ARC e selecione “Private link scopes” e depois em “Create”
Insira a subscription , resource goup , região e o nome para o Private link Scope.
Selecione “Create” para criar o Private Endpoint e complete as informações a direita. Utilizarei uma já existente chamada “Vnet-Arc” e Mantenha habilitada a opção de DNS Integration
Valide as informações e depois ir em “create”.
Valide os recursos criados no RG.
Realizando Link do Private DNS Zone.
Ao acessar a zona de DNS privada que foi criada, é possível ver que o link com a Vnet-Arc já foi feito automaticamente. Como meu servidor de DNS (Controlador de Domínio) está em uma vnet diferente, eu também preciso criar o link com ela.
Integração DNS do Private Endpoint
Para integração de dns com private endpoint existem vários modelos : Azure Private Endpoint DNS integration | Microsoft Learn
No meu caso utilizarei o modelo de integração com custom DNS, pois já tenho um Domain Controller no Azure. Assim, vou usar encaminhadores condicionais, conforme descrito em: https://github.com/dmauser/PrivateLink/tree/master/DNS-Integration-Scenarios#42-custom-dns-server.
Para isso irei configurar encaminhadores no meu DC on-premisses e também no Azure.
DNS do Domain Controller on-premises.
No meu Domain Controller on-premises estarei criando o Encaminahdor Condicional : his.arc.azure.com e guestconfiguration.azure.com apontando para meu Domain Controller no Azure (10.10.0.4).
DNS do Domain Controller no Azure
No servidor Domain Controller do Azure eu crios os mesmos Contional Forwarders his.arc.azure.com e guestconfiguration.azure.com , porém apontando para o Ip do Azure DNS (168.63.129.16) .
Validando a Resolução de nomes.
Vou testar com nslookup a resolução dos endereços gbl.his.arc.azure.com e gbl.privatelink.his.arc.azure.com, o resultado esperado é o ip 10.13.0.10 conforme abaixo.
A partir do servidor on-premises, o resultado é conforme esperado.
Conectando no ARC
Para fazer o onboarding no ARC vou gerar um o Script de Configuração.
Pesquisar por ARC , na coluna selecione “Machines” , depois em add/create .
Para este lab criarei o script para somente um servidor.
Selecione o Método de conectividade como Private Endpoint e selecione o Link Scope criado anteriormente e “Download and run”
Será apresentado o script para copiar ou fazer o download.
Instalação do Agente no Servidor on-premises.
Conforme Documentação oficial mesmo com private link algumas URLS, públicas ainda precisam ser liberadas.
Após a liberação das URLs no servidor proxy realizei a configuração de proxy settings na máquina onde irei rodar o script, inclusive inserindo as urls do private endpoint para o não uso de proxy.
Porém ao executar o script de onboarding recebi o erro: “The remote server returned an error: (504) Gateway Timeout”
Devido este cenário de “rede dividida”, em que algumas URLs, como a autenticação para o Entra ID, devem ir pela internet via proxy, mas o tráfego para os endpoints privados do ARC não, será preciso definir para o agente do ARC os serviços que devem usar o proxy e os que devem ignorá-lo.
Para isto pode-se configurador dois parâmetros.
config set proxy.url : Endereço do Proxy.
config set proxy.bypass : Valor conforme tabela abaixo da URls privadas
Desta forma, vou fazer a instalação do agente de forma manual direto pelo link https://aka.ms/AzureConnectedMachineAgent , (em um ambiente Entreprise poderia ser via SCCM, Gpo ,Intune, etc.
Ao realizar um check de conectividade com o comando :
*Altere o parâmetro “location” conforme foi região onde foi criado o private link. No meu caso é EastUS
azcmagent check –location “eastus” –enable-pls-check
É possível observar no resultado que os endpoints privados estão sendo alcançados, porém os públicos não.
No script de onboarding gerado anteriormente vou comentar as linhas que fazem a instalação do agente ( já instalado) e adicionar as linhas a seguir com os parâmetros para o proxy.
& “$env:ProgramW6432AzureConnectedMachineAgentazcmagent.exe” config set proxy.url “http://192.168.101.1:3128”
& “$env:ProgramW6432AzureConnectedMachineAgentazcmagent.exe” config set proxy.bypass “Arc”
Ao executar novamente o script recebo o prompt para logim e insiro as credenciais.
Realizando a verificação de conectividade novamente pelo comando :
azcmagent check –location “eastus” –enable-pls-check
É possível observar que agora todos os endpoints estão alcançáveis. E os endereços públicos estão com o proxy configurado ( set) e realizando o bypass para o endereços privados.
Ao acessar o portal do azure é possível que a máquina está com o status de conectada no ARC.
Referências
Managing the Azure Connected Machine agent – Azure Arc | Microsoft Learn
What is IP address 168.63.129.16? | Microsoft Learn
https://learn.microsoft.com/en-us/azure/azure-arc/network-requirements-consolidated?tabs=azure-cloud#urls
https://github.com/dmauser/PrivateLink/tree/master/DNS-Integration-Scenarios#42-custom-dns-server
Use Azure Private Link to securely connect servers to Azure Arc – Azure Arc | Microsoft Learn
Microsoft Tech Community – Latest Blogs –Read More
Partner Case Study Series | Drizti: Generates leads and conversions with Marketplace Rewards
Drizti delivers ‘personal supercomputing’ wherever and whenever it’s needed
A graduate of the Microsoft BizSpark program and now a Microsoft Silver competency partner, Drizti Inc. is a Toronto startup delivering a fully interactive high-performance computing (HPC) platform for “personal supercomputing” on Microsoft Azure. Drizti’s vision is to make supercomputing technology accessible directly to the PC of every scientist, developer, and engineer wherever they are and whenever they need it. The company’s HPCBOX platform on Azure Marketplace uses Azure big compute capabilities to deliver turnkey solutions for simulation engineering, machine learning, artificial intelligence, and finance. HPCBOX is offered as a fully managed HPC service through a Microsoft Cloud Solution Provider partnership.
Listing HPCBOX on Azure Marketplace qualified Drizti to participate in the Marketplace Rewards program. This enabled Drizti to use Microsoft marketing and amplification channels to showcase HPCBOX. Additionally, opportunities to interact with Microsoft sellers via Marketplace Rewards provided an excellent way for Drizti to get leads on users actively looking for HPC solutions on Azure.
Continue reading here
**Explore all case studies or submit your own**
Microsoft Tech Community – Latest Blogs –Read More
Operation with big files
Hi dear all,
I have made a similar post but I did not get the answer, I think because I did not explain correctly so I will give it another try, I would really appreciate your support!
I have attached 2 files. What I need to do is to take column by column from Amplitudes and reshape them in rows using the numbers from NumberofDofs as size. So for example first number in NumberofDofs is 6, which means I need to extract first 6 values from column 1 from Amplitudes and transpose them in a row. If the size is 2, I extract 2 values from Amplitudes and transpose them in a row and include zeros so I can keep the size for every row as 6.
When the first column is done sizing, I would like to do the same with the second column and so on.
All this will be printed in a txt file.
And why…I have a structure with different degrees of freedom, so if there are 6 Dofs..I need 6 numbers in a row, if there are 2 degrees of freedom, 2 values from Amplitude and 4 extra zeros in a row. Something like this:
%6 Dofs
0.0001 0.0015 0 0.0005 0.0000 0
%2 Dofs
0,00139 0,01788 0 0 0 0Hi dear all,
I have made a similar post but I did not get the answer, I think because I did not explain correctly so I will give it another try, I would really appreciate your support!
I have attached 2 files. What I need to do is to take column by column from Amplitudes and reshape them in rows using the numbers from NumberofDofs as size. So for example first number in NumberofDofs is 6, which means I need to extract first 6 values from column 1 from Amplitudes and transpose them in a row. If the size is 2, I extract 2 values from Amplitudes and transpose them in a row and include zeros so I can keep the size for every row as 6.
When the first column is done sizing, I would like to do the same with the second column and so on.
All this will be printed in a txt file.
And why…I have a structure with different degrees of freedom, so if there are 6 Dofs..I need 6 numbers in a row, if there are 2 degrees of freedom, 2 values from Amplitude and 4 extra zeros in a row. Something like this:
%6 Dofs
0.0001 0.0015 0 0.0005 0.0000 0
%2 Dofs
0,00139 0,01788 0 0 0 0 Hi dear all,
I have made a similar post but I did not get the answer, I think because I did not explain correctly so I will give it another try, I would really appreciate your support!
I have attached 2 files. What I need to do is to take column by column from Amplitudes and reshape them in rows using the numbers from NumberofDofs as size. So for example first number in NumberofDofs is 6, which means I need to extract first 6 values from column 1 from Amplitudes and transpose them in a row. If the size is 2, I extract 2 values from Amplitudes and transpose them in a row and include zeros so I can keep the size for every row as 6.
When the first column is done sizing, I would like to do the same with the second column and so on.
All this will be printed in a txt file.
And why…I have a structure with different degrees of freedom, so if there are 6 Dofs..I need 6 numbers in a row, if there are 2 degrees of freedom, 2 values from Amplitude and 4 extra zeros in a row. Something like this:
%6 Dofs
0.0001 0.0015 0 0.0005 0.0000 0
%2 Dofs
0,00139 0,01788 0 0 0 0 matrix, file, extract MATLAB Answers — New Questions
I keep installing the Matlab MIN GW 5.3 compiler for Matlab 2017b, but it is showing as uninstalled. HELP
SystemRequirements-Release2017b_SupportedCompilers.pdf (mathworks.com)
This compiler.
An installed compiler was not detected. Certain simulation modes, as well as host-based coder builds require that a compiler be installed. Please install one of the supported compilers for this release as listed at:
I have installed this 3 times now and keep running into this error when creating an sfunction.
Please HELP.SystemRequirements-Release2017b_SupportedCompilers.pdf (mathworks.com)
This compiler.
An installed compiler was not detected. Certain simulation modes, as well as host-based coder builds require that a compiler be installed. Please install one of the supported compilers for this release as listed at:
I have installed this 3 times now and keep running into this error when creating an sfunction.
Please HELP. SystemRequirements-Release2017b_SupportedCompilers.pdf (mathworks.com)
This compiler.
An installed compiler was not detected. Certain simulation modes, as well as host-based coder builds require that a compiler be installed. Please install one of the supported compilers for this release as listed at:
I have installed this 3 times now and keep running into this error when creating an sfunction.
Please HELP. mingw compiler uninstalling MATLAB Answers — New Questions
Wondering if my spline is any good
Honestly, I just want to know what people think of some data fitting I’ve been doing. Simply given two sets of points (xc,thiscp) and (xc1,thiscp1), I’ve managed to come up with the following piece of code:
xclip = xc(~isnan(xc));
[vals Iclip]=unique(xclip,’first’);
%
xcnew = unique(xclip);
cs = pchip(xcnew,thiscp(Iclip));
for n = 1:length(cs.coefs(:,1))
fun = @(x) cs.coefs(n,1)*(x-cs.breaks(n)).^3+cs.coefs(n,2)*(x-cs.breaks(n)).^2+cs.coefs(n,3)*(x-cs.breaks(n))+cs.coefs(n,4);
int = integral(fun,cs.breaks(n),cs.breaks(n+1));
int2(n)=int;
end
xclip1 = xc1(~isnan(xc1));
[vals Iclip1]=unique(xclip1,’first’);
xcnew1 = unique(xclip1);
cs2 = pchip(xcnew1,thiscp1(Iclip1));
for n = 1:length(cs2.coefs(:,1))
fun1 = @(x) cs2.coefs(n,1)*(x-cs2.breaks(n)).^3+cs2.coefs(n,2)*(x-cs2.breaks(n)).^2+cs2.coefs(n,3)*(x-cs2.breaks(n))+cs2.coefs(n,4);
int1 = integral(fun1,cs2.breaks(n),cs2.breaks(n+1));
int3(n)=int1;
end
intall = abs(sum(int2,’all’)-sum(int3,’all’))
This is one of the several methods I’ve devised to evaluate the area between two curves drawn by each set of data points. Currently, I am experiencing some inconsistencies when my data points are greatly vertically spaced – I am wondering if there is any way to remedy this. I am also curious as to how accurate this method is, and need some more experienced minds to comment. Thanks!Honestly, I just want to know what people think of some data fitting I’ve been doing. Simply given two sets of points (xc,thiscp) and (xc1,thiscp1), I’ve managed to come up with the following piece of code:
xclip = xc(~isnan(xc));
[vals Iclip]=unique(xclip,’first’);
%
xcnew = unique(xclip);
cs = pchip(xcnew,thiscp(Iclip));
for n = 1:length(cs.coefs(:,1))
fun = @(x) cs.coefs(n,1)*(x-cs.breaks(n)).^3+cs.coefs(n,2)*(x-cs.breaks(n)).^2+cs.coefs(n,3)*(x-cs.breaks(n))+cs.coefs(n,4);
int = integral(fun,cs.breaks(n),cs.breaks(n+1));
int2(n)=int;
end
xclip1 = xc1(~isnan(xc1));
[vals Iclip1]=unique(xclip1,’first’);
xcnew1 = unique(xclip1);
cs2 = pchip(xcnew1,thiscp1(Iclip1));
for n = 1:length(cs2.coefs(:,1))
fun1 = @(x) cs2.coefs(n,1)*(x-cs2.breaks(n)).^3+cs2.coefs(n,2)*(x-cs2.breaks(n)).^2+cs2.coefs(n,3)*(x-cs2.breaks(n))+cs2.coefs(n,4);
int1 = integral(fun1,cs2.breaks(n),cs2.breaks(n+1));
int3(n)=int1;
end
intall = abs(sum(int2,’all’)-sum(int3,’all’))
This is one of the several methods I’ve devised to evaluate the area between two curves drawn by each set of data points. Currently, I am experiencing some inconsistencies when my data points are greatly vertically spaced – I am wondering if there is any way to remedy this. I am also curious as to how accurate this method is, and need some more experienced minds to comment. Thanks! Honestly, I just want to know what people think of some data fitting I’ve been doing. Simply given two sets of points (xc,thiscp) and (xc1,thiscp1), I’ve managed to come up with the following piece of code:
xclip = xc(~isnan(xc));
[vals Iclip]=unique(xclip,’first’);
%
xcnew = unique(xclip);
cs = pchip(xcnew,thiscp(Iclip));
for n = 1:length(cs.coefs(:,1))
fun = @(x) cs.coefs(n,1)*(x-cs.breaks(n)).^3+cs.coefs(n,2)*(x-cs.breaks(n)).^2+cs.coefs(n,3)*(x-cs.breaks(n))+cs.coefs(n,4);
int = integral(fun,cs.breaks(n),cs.breaks(n+1));
int2(n)=int;
end
xclip1 = xc1(~isnan(xc1));
[vals Iclip1]=unique(xclip1,’first’);
xcnew1 = unique(xclip1);
cs2 = pchip(xcnew1,thiscp1(Iclip1));
for n = 1:length(cs2.coefs(:,1))
fun1 = @(x) cs2.coefs(n,1)*(x-cs2.breaks(n)).^3+cs2.coefs(n,2)*(x-cs2.breaks(n)).^2+cs2.coefs(n,3)*(x-cs2.breaks(n))+cs2.coefs(n,4);
int1 = integral(fun1,cs2.breaks(n),cs2.breaks(n+1));
int3(n)=int1;
end
intall = abs(sum(int2,’all’)-sum(int3,’all’))
This is one of the several methods I’ve devised to evaluate the area between two curves drawn by each set of data points. Currently, I am experiencing some inconsistencies when my data points are greatly vertically spaced – I am wondering if there is any way to remedy this. I am also curious as to how accurate this method is, and need some more experienced minds to comment. Thanks! spline, interpolation, raw data, aerospace MATLAB Answers — New Questions
Problem involving drug delivery and ODE
I am trying to model drug delivery over time using ODE45 to simultaneously solve three differential equations, and it is giving me an exponential decay function, which is what I want. However, I am now trying to model extra doses being applied to the system. For example, I want to increase the concentration of the drug by a set amount at a certain time interval while having the exponential decay still apply. Basically, I want it to look like this:
<<http://www.boomer.org/c/p4/c14/Fig2546.gif>>
What can I do to accomplish this?I am trying to model drug delivery over time using ODE45 to simultaneously solve three differential equations, and it is giving me an exponential decay function, which is what I want. However, I am now trying to model extra doses being applied to the system. For example, I want to increase the concentration of the drug by a set amount at a certain time interval while having the exponential decay still apply. Basically, I want it to look like this:
<<http://www.boomer.org/c/p4/c14/Fig2546.gif>>
What can I do to accomplish this? I am trying to model drug delivery over time using ODE45 to simultaneously solve three differential equations, and it is giving me an exponential decay function, which is what I want. However, I am now trying to model extra doses being applied to the system. For example, I want to increase the concentration of the drug by a set amount at a certain time interval while having the exponential decay still apply. Basically, I want it to look like this:
<<http://www.boomer.org/c/p4/c14/Fig2546.gif>>
What can I do to accomplish this? ode45 MATLAB Answers — New Questions
Adding new device on an ongoing Teams meeting now puts the original device on hold
I frequently join a Teams meeting on my phone to be able to use my airpods to listen and speak, then go onto my computer and join the same meeting (from the same account) so I can view shared content full screen (or share my screens). This used to be no problem at all, as when I would join with my computer, it would recognize that I was on the meeting already on my phone and I would choose the option “Add this device.” Recently, as soon as I click “add this device” on my computer, it puts my phone on hold. When I click, “resume” on my phone, it puts my computer on hold.
I frequently join a Teams meeting on my phone to be able to use my airpods to listen and speak, then go onto my computer and join the same meeting (from the same account) so I can view shared content full screen (or share my screens). This used to be no problem at all, as when I would join with my computer, it would recognize that I was on the meeting already on my phone and I would choose the option “Add this device.” Recently, as soon as I click “add this device” on my computer, it puts my phone on hold. When I click, “resume” on my phone, it puts my computer on hold. Read More
Counting weeks after today
I have a project management calendar where I want to count the number of weeks per project scheduled after today:
I can find the week number for today: =WEEKNUM(TODAY(),2) Result: 26
And I can count the number of weeks after any given integer: =COUNTIF(G1:AF1,”>=26″) Result: 14
And I can count the number of scheduled weeks after a given integer: =COUNTIFS(G1:AF1, “>=26″,G4:AF4,”>0″) Result: 2
But when I try to replace the integer in that formula with the formula for the week number, I get zero: =COUNTIFS(G1:AF1, “>=WEEKNUM(TODAY(),2)”,G4:AF4,”>0″)
What am I missing here? Many thanks for any help.
I have a project management calendar where I want to count the number of weeks per project scheduled after today: I can find the week number for today: =WEEKNUM(TODAY(),2) Result: 26And I can count the number of weeks after any given integer: =COUNTIF(G1:AF1,”>=26″) Result: 14And I can count the number of scheduled weeks after a given integer: =COUNTIFS(G1:AF1, “>=26″,G4:AF4,”>0″) Result: 2But when I try to replace the integer in that formula with the formula for the week number, I get zero: =COUNTIFS(G1:AF1, “>=WEEKNUM(TODAY(),2)”,G4:AF4,”>0″) What am I missing here? Many thanks for any help. Read More
SDI hardware-out garbled audio issues in New Teams
3 other users from separate organizations say they are having the same issue. This needs to get fixed soon for upcoming events and Teams Classic sunsetting.
3 other users from separate organizations say they are having the same issue. This needs to get fixed soon for upcoming events and Teams Classic sunsetting. The SDI hardware-out feature works fine in Teams Classic but has garbled audio in the New Teams. In the New Teams the video comes across fine but the audio sounds like a high pitched chipmunk mixed with a skipping record player. We are actually seeing this on two completely separate setups using different equipment. On one setup we are using a Blackmagic Decklink Quad 2 to send audio/video to another computer that is receiving the audio/video with another Blackmagic Decklink Quad 2. We use Wirecast on the receiving computer. On a completely different system, we are using a Blackmagic UltraStudio Monitor 3G from a high performance laptop to a Blackmagic Design HyperDeck Studio HD Plus where I can monitor the audio with headphones. On both setups, SDI hardware-out works fine in Teams Classic but has garbled audio in New Teams. All devices have newest Blackmagic drivers and the New Teams has the newest NDI toolset and Teams NDI updates. Production capabilities are turned on. The Blackmagic devices are recognized and show up under the App Permissions/Video Hardware Out submenu in Teams. I can send an individual’s video feed from a Teams meeting but on the receiving end the audio is distorted. More details can be found in this community thread. I also posted in the feedback forum. Side note, having 3 places to post about Teams features and issues is very confusing. Is there a fix for this? Is this a known issue? Is there an update to fix this before Teams Classic is unavailable (which is really soon)? Read More
Bing pc search rewards points not working
No matter what I do, the counter for pc search points remains at zero. I’ve tried every “solution” prescribed by Microsoft, nothing has worked. Scores of other users report the same issue. Can somebody from Microsoft please directly address this?
No matter what I do, the counter for pc search points remains at zero. I’ve tried every “solution” prescribed by Microsoft, nothing has worked. Scores of other users report the same issue. Can somebody from Microsoft please directly address this? Read More
Are there any alternatives to try/catch statements that are supported by code generation?
I am trying to prepare an application (prepared in App Designer and connected to a Simulink model) to be packaged as a standalone executable.
My Simulink model is fairly simple: using Interpreted MATLAB function blocks as input and output to an s-function block (which is connected to a much larger and complicated external model).
In order to create a standalone executable for an application connected to a Simulink model, I found that I have to use Simulink Compiler, which does not support Interpreted MATLAB functions, so I am trying to convert their functionality to MATLAB function blocks.
As it turns out, MATLAB function blocks are further subject to code generation limitations, which exclude try/catch statements. These try/catch statements are primarily used to catch and pass error code or correct user input with instructions, which is a core functionality of deploying a proprietary application in industry.
Therefore, I was wondering if there are any alternatives to try/catch statements that are supported by code generation? I could not find any simple fix in the documentation. Are there any options besides coding in more input validation?
Thanks!I am trying to prepare an application (prepared in App Designer and connected to a Simulink model) to be packaged as a standalone executable.
My Simulink model is fairly simple: using Interpreted MATLAB function blocks as input and output to an s-function block (which is connected to a much larger and complicated external model).
In order to create a standalone executable for an application connected to a Simulink model, I found that I have to use Simulink Compiler, which does not support Interpreted MATLAB functions, so I am trying to convert their functionality to MATLAB function blocks.
As it turns out, MATLAB function blocks are further subject to code generation limitations, which exclude try/catch statements. These try/catch statements are primarily used to catch and pass error code or correct user input with instructions, which is a core functionality of deploying a proprietary application in industry.
Therefore, I was wondering if there are any alternatives to try/catch statements that are supported by code generation? I could not find any simple fix in the documentation. Are there any options besides coding in more input validation?
Thanks! I am trying to prepare an application (prepared in App Designer and connected to a Simulink model) to be packaged as a standalone executable.
My Simulink model is fairly simple: using Interpreted MATLAB function blocks as input and output to an s-function block (which is connected to a much larger and complicated external model).
In order to create a standalone executable for an application connected to a Simulink model, I found that I have to use Simulink Compiler, which does not support Interpreted MATLAB functions, so I am trying to convert their functionality to MATLAB function blocks.
As it turns out, MATLAB function blocks are further subject to code generation limitations, which exclude try/catch statements. These try/catch statements are primarily used to catch and pass error code or correct user input with instructions, which is a core functionality of deploying a proprietary application in industry.
Therefore, I was wondering if there are any alternatives to try/catch statements that are supported by code generation? I could not find any simple fix in the documentation. Are there any options besides coding in more input validation?
Thanks! code generation, simulink, simulink compiler MATLAB Answers — New Questions