Category: News
3D mandelbrot fractal with nodes that give information
Hello,
I’m building a 3D mandelbrot set with nodes that give information.
For example, if this was the equation:
Tree = Sum(n=1 to infinity) n^3 Sum (n=1 to infinity n^3) [ Integral (t=0 to infinity) TreeSpace^4 dTreeSpace/dt [Integral (t=0 to infinity) Carbon^4 dCarbon/dt + Integral (t=0 to infinity) Oxygen^4 dO/dt + Integral (t=0 to infinity) Nitrogen^4 dN/dt + Integral (t=0 to infinity) P^3 dP/dt]]
Then the mandelbrot set would be
for (C1=1 to infinity)
for (C2=1 to infinity)
for (C3=1 to infiinity)
for (C4 = 1 to infinity)
for (C5=1 to infinity)
for (C6=1 to infinity)
for (C7= 1 to infinity)
zn+1(series)=[zn^3+C1, zn^3+C2]
zn+1(treespace) = [zn^4(Carbon)dC/dt + C4, zn^4(O)dO/dt + C5, zn^4(N)dN/dt + C6, zn^4(P)dP/dt + C7]
End All for
And if the resulted 3D set is a tree I would be able to tell when the leaves fall and turn colors by hovering over the leaves. I would be able to tell when the tree root dies by hovering over the root. it would be color coded by elements.
I’m probably going to use this set: https://github.com/thargor6/mb3d
This is just a mockup, as the original is a trade secret and not a tree. Please advise. Need lots of help. Please walk me through one step at a time in Matlab. I don’t know if I got the zn+1’s right or how to use the github set.
Note, the first and second dimension of the fractal is the two infinite series. The third is the treespace, wrapped up in the elements by mandelbrot sets. it all happens over time.
I have matlab installed, standard Matlab. I can get a github subscription if needed, it’s only $4 a month. Let me know.
Look at these examples: https://idatavisualizationlab.github.io/researchProjects.html
Thank you.Hello,
I’m building a 3D mandelbrot set with nodes that give information.
For example, if this was the equation:
Tree = Sum(n=1 to infinity) n^3 Sum (n=1 to infinity n^3) [ Integral (t=0 to infinity) TreeSpace^4 dTreeSpace/dt [Integral (t=0 to infinity) Carbon^4 dCarbon/dt + Integral (t=0 to infinity) Oxygen^4 dO/dt + Integral (t=0 to infinity) Nitrogen^4 dN/dt + Integral (t=0 to infinity) P^3 dP/dt]]
Then the mandelbrot set would be
for (C1=1 to infinity)
for (C2=1 to infinity)
for (C3=1 to infiinity)
for (C4 = 1 to infinity)
for (C5=1 to infinity)
for (C6=1 to infinity)
for (C7= 1 to infinity)
zn+1(series)=[zn^3+C1, zn^3+C2]
zn+1(treespace) = [zn^4(Carbon)dC/dt + C4, zn^4(O)dO/dt + C5, zn^4(N)dN/dt + C6, zn^4(P)dP/dt + C7]
End All for
And if the resulted 3D set is a tree I would be able to tell when the leaves fall and turn colors by hovering over the leaves. I would be able to tell when the tree root dies by hovering over the root. it would be color coded by elements.
I’m probably going to use this set: https://github.com/thargor6/mb3d
This is just a mockup, as the original is a trade secret and not a tree. Please advise. Need lots of help. Please walk me through one step at a time in Matlab. I don’t know if I got the zn+1’s right or how to use the github set.
Note, the first and second dimension of the fractal is the two infinite series. The third is the treespace, wrapped up in the elements by mandelbrot sets. it all happens over time.
I have matlab installed, standard Matlab. I can get a github subscription if needed, it’s only $4 a month. Let me know.
Look at these examples: https://idatavisualizationlab.github.io/researchProjects.html
Thank you. Hello,
I’m building a 3D mandelbrot set with nodes that give information.
For example, if this was the equation:
Tree = Sum(n=1 to infinity) n^3 Sum (n=1 to infinity n^3) [ Integral (t=0 to infinity) TreeSpace^4 dTreeSpace/dt [Integral (t=0 to infinity) Carbon^4 dCarbon/dt + Integral (t=0 to infinity) Oxygen^4 dO/dt + Integral (t=0 to infinity) Nitrogen^4 dN/dt + Integral (t=0 to infinity) P^3 dP/dt]]
Then the mandelbrot set would be
for (C1=1 to infinity)
for (C2=1 to infinity)
for (C3=1 to infiinity)
for (C4 = 1 to infinity)
for (C5=1 to infinity)
for (C6=1 to infinity)
for (C7= 1 to infinity)
zn+1(series)=[zn^3+C1, zn^3+C2]
zn+1(treespace) = [zn^4(Carbon)dC/dt + C4, zn^4(O)dO/dt + C5, zn^4(N)dN/dt + C6, zn^4(P)dP/dt + C7]
End All for
And if the resulted 3D set is a tree I would be able to tell when the leaves fall and turn colors by hovering over the leaves. I would be able to tell when the tree root dies by hovering over the root. it would be color coded by elements.
I’m probably going to use this set: https://github.com/thargor6/mb3d
This is just a mockup, as the original is a trade secret and not a tree. Please advise. Need lots of help. Please walk me through one step at a time in Matlab. I don’t know if I got the zn+1’s right or how to use the github set.
Note, the first and second dimension of the fractal is the two infinite series. The third is the treespace, wrapped up in the elements by mandelbrot sets. it all happens over time.
I have matlab installed, standard Matlab. I can get a github subscription if needed, it’s only $4 a month. Let me know.
Look at these examples: https://idatavisualizationlab.github.io/researchProjects.html
Thank you. 3d, for, matlab, matlab coder, matlab code MATLAB Answers — New Questions
BeagleBone Support Package Linux Costumization
When I try to connect my BeagleBone to Matlab/Simulink using Matlab’s instructions (https://de.mathworks.com/help/supportpkg/beaglebone/ug/install-target-for-beaglebone-black-hardware.html) I manage to get until step 6 (under "Complete Setup Tasks"). As soon as I hit start to update the firmware, the wait bar reacts for a second before stopping and showing "Retry" on the button.
Has anyone come across the same problem and was able to solve it?When I try to connect my BeagleBone to Matlab/Simulink using Matlab’s instructions (https://de.mathworks.com/help/supportpkg/beaglebone/ug/install-target-for-beaglebone-black-hardware.html) I manage to get until step 6 (under "Complete Setup Tasks"). As soon as I hit start to update the firmware, the wait bar reacts for a second before stopping and showing "Retry" on the button.
Has anyone come across the same problem and was able to solve it? When I try to connect my BeagleBone to Matlab/Simulink using Matlab’s instructions (https://de.mathworks.com/help/supportpkg/beaglebone/ug/install-target-for-beaglebone-black-hardware.html) I manage to get until step 6 (under "Complete Setup Tasks"). As soon as I hit start to update the firmware, the wait bar reacts for a second before stopping and showing "Retry" on the button.
Has anyone come across the same problem and was able to solve it? beaglebone, embedded coder, linux MATLAB Answers — New Questions
Baeglebone Black in Simulink can’t handle sample time of 0.001s.
Beeaglebone black with simulink can’t handle 1kHz. I am trying with just a Led blinking example. When I put 0.001s of sample time in the model configuration panel and StopTime simulation of 10s. Looks like the BBB is taking longer than 10s to finish the code. I am also deploying the code to the hardware, not seeing any signal in "real time".Beeaglebone black with simulink can’t handle 1kHz. I am trying with just a Led blinking example. When I put 0.001s of sample time in the model configuration panel and StopTime simulation of 10s. Looks like the BBB is taking longer than 10s to finish the code. I am also deploying the code to the hardware, not seeing any signal in "real time". Beeaglebone black with simulink can’t handle 1kHz. I am trying with just a Led blinking example. When I put 0.001s of sample time in the model configuration panel and StopTime simulation of 10s. Looks like the BBB is taking longer than 10s to finish the code. I am also deploying the code to the hardware, not seeing any signal in "real time". beaglebone black, simulink MATLAB Answers — New Questions
Narx network in real-time task
Good afternoon,
I understand that the topic of NARX networks has been discussed here for over 10 years, but I would like to revisit it.
I attempted to implement a solution for processing data from a sensor in real-time, but unfortunately, I could not find any examples demonstrating how to do this correctly. Most publications on this topic either conclude with a performance evaluation of the network or focus on discussions of the code generated by the application.
Let me share some code:
% targer timeseries
T = num2cell(lfarr(1:8000));
% input timeseries from sensor
X = num2cell(source(1:8000));
The signals are extremely simple – data from the sensor and its smoothed version.
Next, I followed the standard steps outlined in the documentation and various discussions on this forum:
%create narxnet
sh = 7
d1 = [1:sh];
d2 = [1:sh];
narx_net = narxnet(d1,d2,20);
narx_netnet.divideFcn = ‘divideblock’;
(If Greg suddenly comes, tell him that I remember about autocorrelation and am already carefully studying his code from user group :))
% standard data preparation
[Xs,Xi,Ai,Ts] = preparets(narx_net,X,{},T);
% training
rng( ‘default’ )
[narx_net, tr, Ys, Es, Xf, Af ] = train(narx_net,Xs,Ts,Xi,Ai);
% performance evaluation
[Y,Xf,Af] = narx_net(Xs,Xi,Ai);
perf = perform(narx_net,Ts,Y) % perf = 3.4381e-08. I think it’s not bad.
The regression diagram speaks for itself
Next I close the network and simulate signal processing on the remainder of the data that the network has not seen.
Here, I tried to base my approach on the last two paragraphs of the documentation – Following Closed-Loop Simulation with Open-Loop Simulation.
[narx_netc,Xic,Aic] = closeloop(narx_net, Xf, Af);
% number of prediction steps
k = 5;
% A loop that simulates a real-time data flow
for i = 8001:length(lf_arr)
% getting a new value from the sensor
newSensorValue = num2cell(source(i));
% local variable for indexing the prediction array
ii = 1;
% array of predictions
res = [];
% predictions for k steps
for j=i:i+k
[Yc, Xic, Aic] = narx_netc(newSensorValue, Xic, Aic);
% disp([‘Predicted meaning: ‘, num2str(cell2mat(Yc))]);
res(ii) = cell2mat(Yc);
ii = ii+1;
end
% saving results
res1(i-8000,:) = res’;
% form new input and target arrays with new input value and the predicted result
u = [X(2:end),newSensorValue];
y = [T(2:end), {res(1)}];
% repeating initialization cycle for next simulation step
[X1,Xi,Ai,T1] = preparets(narx_net,u,{},y);
[Y,Xio,Aio] = narx_net(X1,Xi,Ai);
[narx_netc,Xic,Aic] = closeloop(narx_net, Xio, Aio);
end
The network starts working, but after some steps its normal operation stops.
I would be immensely grateful for any insights into where my reasoning or actions might have gone astray.
ThanksGood afternoon,
I understand that the topic of NARX networks has been discussed here for over 10 years, but I would like to revisit it.
I attempted to implement a solution for processing data from a sensor in real-time, but unfortunately, I could not find any examples demonstrating how to do this correctly. Most publications on this topic either conclude with a performance evaluation of the network or focus on discussions of the code generated by the application.
Let me share some code:
% targer timeseries
T = num2cell(lfarr(1:8000));
% input timeseries from sensor
X = num2cell(source(1:8000));
The signals are extremely simple – data from the sensor and its smoothed version.
Next, I followed the standard steps outlined in the documentation and various discussions on this forum:
%create narxnet
sh = 7
d1 = [1:sh];
d2 = [1:sh];
narx_net = narxnet(d1,d2,20);
narx_netnet.divideFcn = ‘divideblock’;
(If Greg suddenly comes, tell him that I remember about autocorrelation and am already carefully studying his code from user group :))
% standard data preparation
[Xs,Xi,Ai,Ts] = preparets(narx_net,X,{},T);
% training
rng( ‘default’ )
[narx_net, tr, Ys, Es, Xf, Af ] = train(narx_net,Xs,Ts,Xi,Ai);
% performance evaluation
[Y,Xf,Af] = narx_net(Xs,Xi,Ai);
perf = perform(narx_net,Ts,Y) % perf = 3.4381e-08. I think it’s not bad.
The regression diagram speaks for itself
Next I close the network and simulate signal processing on the remainder of the data that the network has not seen.
Here, I tried to base my approach on the last two paragraphs of the documentation – Following Closed-Loop Simulation with Open-Loop Simulation.
[narx_netc,Xic,Aic] = closeloop(narx_net, Xf, Af);
% number of prediction steps
k = 5;
% A loop that simulates a real-time data flow
for i = 8001:length(lf_arr)
% getting a new value from the sensor
newSensorValue = num2cell(source(i));
% local variable for indexing the prediction array
ii = 1;
% array of predictions
res = [];
% predictions for k steps
for j=i:i+k
[Yc, Xic, Aic] = narx_netc(newSensorValue, Xic, Aic);
% disp([‘Predicted meaning: ‘, num2str(cell2mat(Yc))]);
res(ii) = cell2mat(Yc);
ii = ii+1;
end
% saving results
res1(i-8000,:) = res’;
% form new input and target arrays with new input value and the predicted result
u = [X(2:end),newSensorValue];
y = [T(2:end), {res(1)}];
% repeating initialization cycle for next simulation step
[X1,Xi,Ai,T1] = preparets(narx_net,u,{},y);
[Y,Xio,Aio] = narx_net(X1,Xi,Ai);
[narx_netc,Xic,Aic] = closeloop(narx_net, Xio, Aio);
end
The network starts working, but after some steps its normal operation stops.
I would be immensely grateful for any insights into where my reasoning or actions might have gone astray.
Thanks Good afternoon,
I understand that the topic of NARX networks has been discussed here for over 10 years, but I would like to revisit it.
I attempted to implement a solution for processing data from a sensor in real-time, but unfortunately, I could not find any examples demonstrating how to do this correctly. Most publications on this topic either conclude with a performance evaluation of the network or focus on discussions of the code generated by the application.
Let me share some code:
% targer timeseries
T = num2cell(lfarr(1:8000));
% input timeseries from sensor
X = num2cell(source(1:8000));
The signals are extremely simple – data from the sensor and its smoothed version.
Next, I followed the standard steps outlined in the documentation and various discussions on this forum:
%create narxnet
sh = 7
d1 = [1:sh];
d2 = [1:sh];
narx_net = narxnet(d1,d2,20);
narx_netnet.divideFcn = ‘divideblock’;
(If Greg suddenly comes, tell him that I remember about autocorrelation and am already carefully studying his code from user group :))
% standard data preparation
[Xs,Xi,Ai,Ts] = preparets(narx_net,X,{},T);
% training
rng( ‘default’ )
[narx_net, tr, Ys, Es, Xf, Af ] = train(narx_net,Xs,Ts,Xi,Ai);
% performance evaluation
[Y,Xf,Af] = narx_net(Xs,Xi,Ai);
perf = perform(narx_net,Ts,Y) % perf = 3.4381e-08. I think it’s not bad.
The regression diagram speaks for itself
Next I close the network and simulate signal processing on the remainder of the data that the network has not seen.
Here, I tried to base my approach on the last two paragraphs of the documentation – Following Closed-Loop Simulation with Open-Loop Simulation.
[narx_netc,Xic,Aic] = closeloop(narx_net, Xf, Af);
% number of prediction steps
k = 5;
% A loop that simulates a real-time data flow
for i = 8001:length(lf_arr)
% getting a new value from the sensor
newSensorValue = num2cell(source(i));
% local variable for indexing the prediction array
ii = 1;
% array of predictions
res = [];
% predictions for k steps
for j=i:i+k
[Yc, Xic, Aic] = narx_netc(newSensorValue, Xic, Aic);
% disp([‘Predicted meaning: ‘, num2str(cell2mat(Yc))]);
res(ii) = cell2mat(Yc);
ii = ii+1;
end
% saving results
res1(i-8000,:) = res’;
% form new input and target arrays with new input value and the predicted result
u = [X(2:end),newSensorValue];
y = [T(2:end), {res(1)}];
% repeating initialization cycle for next simulation step
[X1,Xi,Ai,T1] = preparets(narx_net,u,{},y);
[Y,Xio,Aio] = narx_net(X1,Xi,Ai);
[narx_netc,Xic,Aic] = closeloop(narx_net, Xio, Aio);
end
The network starts working, but after some steps its normal operation stops.
I would be immensely grateful for any insights into where my reasoning or actions might have gone astray.
Thanks narx network MATLAB Answers — New Questions
How to resolve EDO System
Hi,
I need to know how to resolve EDO System with MATLAB. The system has this structure:
A*x̄’ + B*x̄ + C = 0
A, B are square matrix with constant coefficients. Example: A = [a b; c d]; and B = [e f; g h];
C is the constant vector transposed. Example: C = [i j]’;
x̄ is the vector transposed of the variables/functions I need to find. Example: x̄ = [x1 x2]’;
x̄’ is the vector transposed of the derivative of the variables/functions I need to find. Example: x̄’ = [dx1/dt dx2/dt]’;
The example is made for a EDO System of 2 differential equations. But It would be interesting if MATLAB could resolve a n x n matrix.
Any suggestion?Hi,
I need to know how to resolve EDO System with MATLAB. The system has this structure:
A*x̄’ + B*x̄ + C = 0
A, B are square matrix with constant coefficients. Example: A = [a b; c d]; and B = [e f; g h];
C is the constant vector transposed. Example: C = [i j]’;
x̄ is the vector transposed of the variables/functions I need to find. Example: x̄ = [x1 x2]’;
x̄’ is the vector transposed of the derivative of the variables/functions I need to find. Example: x̄’ = [dx1/dt dx2/dt]’;
The example is made for a EDO System of 2 differential equations. But It would be interesting if MATLAB could resolve a n x n matrix.
Any suggestion? Hi,
I need to know how to resolve EDO System with MATLAB. The system has this structure:
A*x̄’ + B*x̄ + C = 0
A, B are square matrix with constant coefficients. Example: A = [a b; c d]; and B = [e f; g h];
C is the constant vector transposed. Example: C = [i j]’;
x̄ is the vector transposed of the variables/functions I need to find. Example: x̄ = [x1 x2]’;
x̄’ is the vector transposed of the derivative of the variables/functions I need to find. Example: x̄’ = [dx1/dt dx2/dt]’;
The example is made for a EDO System of 2 differential equations. But It would be interesting if MATLAB could resolve a n x n matrix.
Any suggestion? second order edo system MATLAB Answers — New Questions
Matlab creates netcdf file but can’t open it later(ERROR: The NetCDF library encountered an error during execution of ‘open’ function – ‘Unknown file format (NC_ENOTNC)’
Hello, I’ve encountered a problem with NetCDF library, I would be very grateful for any tips how to solve it.
I’m trying to create a netcdffile and write variables in it. But for some reason after creating a file I can’t reach it anyhow (nccreate, ncdisp are getting the same error):
ncid = netcdf.create(‘F:GLORYS_dayARCGLORYS_surf.nc’,’NETCDF4′);
nccreate(‘F:GLORYS_dayARCGLORYS_surf.nc’,’Lat’,’Dimensions’,{‘Lat’ 205});
Error using matlab.internal.imagesci.netcdflib
The NetCDF library encountered an error during execution of ‘open’ function – ‘Unknown file format (NC_ENOTNC)’.
Error in netcdf.open (line 77)
[varargout{:}] = matlab.internal.imagesci.netcdflib(‘open’, …
Error in internal.matlab.imagesci.nc/openToAppend (line 1250)
this.ncRootid = netcdf.open(this.Filename,’WRITE’);
Error in internal.matlab.imagesci.nc (line 126)
this.openToAppend();
Error in nccreate (line 159)
ncObj = internal.matlab.imagesci.nc(ncFile,’a’, formatStr);
Error in export_to_netcdf (line 10)
nccreate(‘F:GLORYS_dayARCGLORYS_surf.nc’,’Lat’,’Dimensions’,{‘Lat’ 205});Hello, I’ve encountered a problem with NetCDF library, I would be very grateful for any tips how to solve it.
I’m trying to create a netcdffile and write variables in it. But for some reason after creating a file I can’t reach it anyhow (nccreate, ncdisp are getting the same error):
ncid = netcdf.create(‘F:GLORYS_dayARCGLORYS_surf.nc’,’NETCDF4′);
nccreate(‘F:GLORYS_dayARCGLORYS_surf.nc’,’Lat’,’Dimensions’,{‘Lat’ 205});
Error using matlab.internal.imagesci.netcdflib
The NetCDF library encountered an error during execution of ‘open’ function – ‘Unknown file format (NC_ENOTNC)’.
Error in netcdf.open (line 77)
[varargout{:}] = matlab.internal.imagesci.netcdflib(‘open’, …
Error in internal.matlab.imagesci.nc/openToAppend (line 1250)
this.ncRootid = netcdf.open(this.Filename,’WRITE’);
Error in internal.matlab.imagesci.nc (line 126)
this.openToAppend();
Error in nccreate (line 159)
ncObj = internal.matlab.imagesci.nc(ncFile,’a’, formatStr);
Error in export_to_netcdf (line 10)
nccreate(‘F:GLORYS_dayARCGLORYS_surf.nc’,’Lat’,’Dimensions’,{‘Lat’ 205}); Hello, I’ve encountered a problem with NetCDF library, I would be very grateful for any tips how to solve it.
I’m trying to create a netcdffile and write variables in it. But for some reason after creating a file I can’t reach it anyhow (nccreate, ncdisp are getting the same error):
ncid = netcdf.create(‘F:GLORYS_dayARCGLORYS_surf.nc’,’NETCDF4′);
nccreate(‘F:GLORYS_dayARCGLORYS_surf.nc’,’Lat’,’Dimensions’,{‘Lat’ 205});
Error using matlab.internal.imagesci.netcdflib
The NetCDF library encountered an error during execution of ‘open’ function – ‘Unknown file format (NC_ENOTNC)’.
Error in netcdf.open (line 77)
[varargout{:}] = matlab.internal.imagesci.netcdflib(‘open’, …
Error in internal.matlab.imagesci.nc/openToAppend (line 1250)
this.ncRootid = netcdf.open(this.Filename,’WRITE’);
Error in internal.matlab.imagesci.nc (line 126)
this.openToAppend();
Error in nccreate (line 159)
ncObj = internal.matlab.imagesci.nc(ncFile,’a’, formatStr);
Error in export_to_netcdf (line 10)
nccreate(‘F:GLORYS_dayARCGLORYS_surf.nc’,’Lat’,’Dimensions’,{‘Lat’ 205}); netcdf MATLAB Answers — New Questions
Execution alias for hosted application
I am trying to create a hosted application (i.e. with a HostId attribute) with an execution alias. The hosted application in general works, i.e. I can launch it from the start menu link that is generated. The execution alias is being generated, but when I try to run it I get an error saying
PS> foobarasdf.exe
ResourceUnavailable: Program ‘foobarasdf.exe’ failed to run: An error occurred trying to start process ‘C:UsersdavidAppDataLocalMicrosoftWindowsAppsfoobarasdf.exe’ with working directory ‘C:Usersdavidsourcejuliaup’. The file cann
ot be accessed by the system.At line:1 char:1 + foobarasdf.exe
+ ~~~~~~~~~~~~~~.
The app manifest that I’m using is this
<?xml version=”1.0″ encoding=”utf-8″?>
<Package
xmlns=”http://schemas.microsoft.com/appx/manifest/foundation/windows10″
xmlns:desktop=”http://schemas.microsoft.com/appx/manifest/desktop/windows10″
xmlns:desktop4=”http://schemas.microsoft.com/appx/manifest/desktop/windows10/4″
xmlns:uap=”http://schemas.microsoft.com/appx/manifest/uap/windows10″
xmlns:uap5=”http://schemas.microsoft.com/appx/manifest/uap/windows10/5″
xmlns:uap10=”http://schemas.microsoft.com/appx/manifest/uap/windows10/10″
xmlns:rescap=”http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities”
IgnorableNamespaces=”uap uap10 rescap build”
xmlns:build=”http://schemas.microsoft.com/developer/appx/2015/build”>
<Identity Name=”StringBuildersManifest”
Publisher=”CN=Julialang, OID.2.25.311729368913984317654407730594956997722=1″
Version=”1.0.0.6″ />
<Properties>
<DisplayName>Number Guesser (Manifest)</DisplayName>
<PublisherDisplayName>AppModelSamples</PublisherDisplayName>
<Logo>ImagesStoreLogo.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name=”Windows.Desktop” MinVersion=”10.0.19041.0″ MaxVersionTested=”10.0.19041.0″ />
<uap10:HostRuntimeDependency Name=”JuliaHubInc.JuliaDev” Publisher=”CN="JuliaHub, Inc.", O="JuliaHub, Inc.", L=CAMBRIDGE, S=Massachusetts, C=US” MinVersion=”1.0.0.0″/>
</Dependencies>
<Applications>
<Application Id=”StringBuildersApp”
uap10:HostId=”JuliaHost”
uap10:Parameters=”–project=C:Usersdavid.juliadevStringBuildersapp”>
<uap:VisualElements
DisplayName=”Stringbuilders”
Description=”Stringbuilders is a high-level, high-performance, dynamic programming language”
BackgroundColor=”transparent”
Square150x150Logo=”ImagesSquare150x150Logo.png”
Square44x44Logo=”ImagesSquare44x44Logo.png”>
<uap:DefaultTile
Wide310x150Logo=”ImagesWide310x150Logo.png”
ShortName=”Julia”
Square71x71Logo=”ImagesSmallTile.png”
Square310x310Logo=”ImagesLargeTile.png”>
<uap:ShowNameOnTiles>
<uap:ShowOn Tile=”square150x150Logo”/>
<uap:ShowOn Tile=”wide310x150Logo”/>
<uap:ShowOn Tile=”square310x310Logo”/>
</uap:ShowNameOnTiles>
</uap:DefaultTile >
<uap:SplashScreen Image=”ImagesSplashScreen.png” />
</uap:VisualElements>
<Extensions>
<uap5:Extension Category=”windows.appExecutionAlias”>
<uap5:AppExecutionAlias>
<uap5:ExecutionAlias Alias=”foobarasdf.exe” />
</uap5:AppExecutionAlias>
</uap5:Extension>
</Extensions>
</Application>
</Applications>
<Capabilities>
<rescap:Capability Name=”runFullTrust” />
<rescap:Capability Name=”unvirtualizedResources”/>
</Capabilities>
</Package>
Should this kind of approach in general work? Any hints what I’m doing wrong would be greatly appreciated!
I am trying to create a hosted application (i.e. with a HostId attribute) with an execution alias. The hosted application in general works, i.e. I can launch it from the start menu link that is generated. The execution alias is being generated, but when I try to run it I get an error saying PS> foobarasdf.exe
ResourceUnavailable: Program ‘foobarasdf.exe’ failed to run: An error occurred trying to start process ‘C:UsersdavidAppDataLocalMicrosoftWindowsAppsfoobarasdf.exe’ with working directory ‘C:Usersdavidsourcejuliaup’. The file cann
ot be accessed by the system.At line:1 char:1 + foobarasdf.exe
+ ~~~~~~~~~~~~~~. The app manifest that I’m using is this <?xml version=”1.0″ encoding=”utf-8″?>
<Package
xmlns=”http://schemas.microsoft.com/appx/manifest/foundation/windows10″
xmlns:desktop=”http://schemas.microsoft.com/appx/manifest/desktop/windows10″
xmlns:desktop4=”http://schemas.microsoft.com/appx/manifest/desktop/windows10/4″
xmlns:uap=”http://schemas.microsoft.com/appx/manifest/uap/windows10″
xmlns:uap5=”http://schemas.microsoft.com/appx/manifest/uap/windows10/5″
xmlns:uap10=”http://schemas.microsoft.com/appx/manifest/uap/windows10/10″
xmlns:rescap=”http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities”
IgnorableNamespaces=”uap uap10 rescap build”
xmlns:build=”http://schemas.microsoft.com/developer/appx/2015/build”>
<Identity Name=”StringBuildersManifest”
Publisher=”CN=Julialang, OID.2.25.311729368913984317654407730594956997722=1″
Version=”1.0.0.6″ />
<Properties>
<DisplayName>Number Guesser (Manifest)</DisplayName>
<PublisherDisplayName>AppModelSamples</PublisherDisplayName>
<Logo>ImagesStoreLogo.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name=”Windows.Desktop” MinVersion=”10.0.19041.0″ MaxVersionTested=”10.0.19041.0″ />
<uap10:HostRuntimeDependency Name=”JuliaHubInc.JuliaDev” Publisher=”CN="JuliaHub, Inc.", O="JuliaHub, Inc.", L=CAMBRIDGE, S=Massachusetts, C=US” MinVersion=”1.0.0.0″/>
</Dependencies>
<Applications>
<Application Id=”StringBuildersApp”
uap10:HostId=”JuliaHost”
uap10:Parameters=”–project=C:Usersdavid.juliadevStringBuildersapp”>
<uap:VisualElements
DisplayName=”Stringbuilders”
Description=”Stringbuilders is a high-level, high-performance, dynamic programming language”
BackgroundColor=”transparent”
Square150x150Logo=”ImagesSquare150x150Logo.png”
Square44x44Logo=”ImagesSquare44x44Logo.png”>
<uap:DefaultTile
Wide310x150Logo=”ImagesWide310x150Logo.png”
ShortName=”Julia”
Square71x71Logo=”ImagesSmallTile.png”
Square310x310Logo=”ImagesLargeTile.png”>
<uap:ShowNameOnTiles>
<uap:ShowOn Tile=”square150x150Logo”/>
<uap:ShowOn Tile=”wide310x150Logo”/>
<uap:ShowOn Tile=”square310x310Logo”/>
</uap:ShowNameOnTiles>
</uap:DefaultTile >
<uap:SplashScreen Image=”ImagesSplashScreen.png” />
</uap:VisualElements>
<Extensions>
<uap5:Extension Category=”windows.appExecutionAlias”>
<uap5:AppExecutionAlias>
<uap5:ExecutionAlias Alias=”foobarasdf.exe” />
</uap5:AppExecutionAlias>
</uap5:Extension>
</Extensions>
</Application>
</Applications>
<Capabilities>
<rescap:Capability Name=”runFullTrust” />
<rescap:Capability Name=”unvirtualizedResources”/>
</Capabilities>
</Package> Should this kind of approach in general work? Any hints what I’m doing wrong would be greatly appreciated! Read More
Storage Spaces volume consume all memory and CPU when brought online
I have Windows Storage Spaces in Windows Server 2022 on a physical server set up for use in DPM using a similar procedure as here using parity for the HDDs and mirrors for the SSDs: Add Modern Backup Storage to DPM | Microsoft Learn
It has been running this way for a while without issue. A few days ago, I noticed the DPM server performance was horrible, and the memory consumption and processor use on the system were pegged at 100% and unresponsive. The system had to be hard rebooted to get the system back up. After a short time, the same issue occurred.
I then decided to perform a clean OS and DPM install believing the issue was related to DPM. After installing the OS and before installing anything else, I attempted to bring online the imported Storage Spaces volume in the server. Everything was good until that point. After that, the memory and CPU use both continued to climb until they were both pegged making the system unusable again. It even drops RDP connections because of lack of resources. I’ve tried this same process a few times each with the same behavior. I have disabled the AV software in Windows Security and the same problem still occurs. The tasks consuming the CPU time are OS processes including a small amount by Window Error Reporting. The system has no other software installed—only Windows.
Does anyone have any ideas what could be causing this? I do not believe it is hardware related as nothing is logged in the event viewer or other areas that would indicate hardware.
I have Windows Storage Spaces in Windows Server 2022 on a physical server set up for use in DPM using a similar procedure as here using parity for the HDDs and mirrors for the SSDs: Add Modern Backup Storage to DPM | Microsoft Learn It has been running this way for a while without issue. A few days ago, I noticed the DPM server performance was horrible, and the memory consumption and processor use on the system were pegged at 100% and unresponsive. The system had to be hard rebooted to get the system back up. After a short time, the same issue occurred. I then decided to perform a clean OS and DPM install believing the issue was related to DPM. After installing the OS and before installing anything else, I attempted to bring online the imported Storage Spaces volume in the server. Everything was good until that point. After that, the memory and CPU use both continued to climb until they were both pegged making the system unusable again. It even drops RDP connections because of lack of resources. I’ve tried this same process a few times each with the same behavior. I have disabled the AV software in Windows Security and the same problem still occurs. The tasks consuming the CPU time are OS processes including a small amount by Window Error Reporting. The system has no other software installed—only Windows.Does anyone have any ideas what could be causing this? I do not believe it is hardware related as nothing is logged in the event viewer or other areas that would indicate hardware. Read More
Problem with Fuzzy controller blocks in simulink
I’ve already developed a control model by using fuzzy controller in simulink. there are some problems that seems like bugs. If you just agree with me please let me know how can I report this bugs to _Mathworks_ respondents?
1. When I use a fuzzy controller block with rule viewer, the block output is zero all the time however rule viewer works properly and show true outputs. When I try to show block output signal by using the tool _show value label of the port_ I see that the value is _grounded_ all the time.
2. The aforementioned problem does not exist for the fuzzy controller block without rule viewer. But there is another problem. The fuzzy controller works properly since a point time and after that reports zero in the rest of the simulation. I’m sure that this problem does not come from my fuzzy structure file and rule base because I’ve checked it outside simulink in programming environment. it works properly.
Thanks in advance
PouyaI’ve already developed a control model by using fuzzy controller in simulink. there are some problems that seems like bugs. If you just agree with me please let me know how can I report this bugs to _Mathworks_ respondents?
1. When I use a fuzzy controller block with rule viewer, the block output is zero all the time however rule viewer works properly and show true outputs. When I try to show block output signal by using the tool _show value label of the port_ I see that the value is _grounded_ all the time.
2. The aforementioned problem does not exist for the fuzzy controller block without rule viewer. But there is another problem. The fuzzy controller works properly since a point time and after that reports zero in the rest of the simulation. I’m sure that this problem does not come from my fuzzy structure file and rule base because I’ve checked it outside simulink in programming environment. it works properly.
Thanks in advance
Pouya I’ve already developed a control model by using fuzzy controller in simulink. there are some problems that seems like bugs. If you just agree with me please let me know how can I report this bugs to _Mathworks_ respondents?
1. When I use a fuzzy controller block with rule viewer, the block output is zero all the time however rule viewer works properly and show true outputs. When I try to show block output signal by using the tool _show value label of the port_ I see that the value is _grounded_ all the time.
2. The aforementioned problem does not exist for the fuzzy controller block without rule viewer. But there is another problem. The fuzzy controller works properly since a point time and after that reports zero in the rest of the simulation. I’m sure that this problem does not come from my fuzzy structure file and rule base because I’ve checked it outside simulink in programming environment. it works properly.
Thanks in advance
Pouya bug, fuzzy block with rule viewer, fuzzy control systems MATLAB Answers — New Questions
Este Mês no Azure Static Web Apps | 07/2024
Sejam bem-vindos a primeira edição da Comunidade do Azure Static Web Apps! Todo mês, nós compartilharemos os conteúdos que a Comunidade Técnica criou, seja em formato de artigos, vídeos, podcasts que falam sobre o Azure Static Web Apps.
Quer ter o seu conteúdo compartilhado no TechCommunity no #ThisMonthInAzureStaticWebApps? Veja como!
1 – Crie um artigo, vídeo, podcast ou até mesmo algum projeto Open Source que fale ou tenha relação com o Azure Static Web Apps.
2 – Compartilhe o seu conteúdo no Twitter, LinkedIn ou Instagram com a hashtag #AzureStaticWebApps
3 – Compartilhe também no nosso repositório oficial do Azure Static Web Apps no GitHub, na aba Discussions. Lá você encontrar um tópico chamado: This Month In Azure Static Web Apps. Compartilhe o link do seu conteúdo lá de acordo com o mês que você deseja que ele seja compartilhado.
4 – Pronto! Nós iremos compartilhar o seu conteúdo no TechCommunity da Microsoft no mês seguinte!
Independente do idioma que você escreva, seja em português, inglês, espanhol, francês, alemão, entre outros, nós queremos compartilhar o seu conteúdo!
Também se você estiver o Azure Static Web Apps com algum outro serviço ou Tecnologia, fique à vontade para compartilhar o seu conteúdo. Difere também da linguagem de programação que você está utilizando. Seja JavaScript, TypeScript, Python, Java, C#, Go, Rust, entre outras, nós queremos compartilhar o seu conteúdo!
Outro detalhe: você não precisa ser um especialista no Azure Static Web Apps para compartilhar o seu conteúdo. Se você está aprendendo sobre o serviço e quer compartilhar a sua jornada, fique à vontade para compartilhar o seu conteúdo!
Agora, vamos para os conteúdos do mês de Julho!
Agradecimentos!
Antes de começar a compartilhar os conteúdos, gostaríamos de agradecer a todas as pessoas que compartilharam os seus conteúdos no mês de Julho! Vocês são incríveis!
Conteúdos Compartilhados | Julho 2024
Agora vamos para os conteúdos compartilhados no mês de Julho de 2024!
Adding an API to an Azure hosted React Static Web App
Autor: Janek Fellien
O artigo explica como adicionar uma API a um aplicativo React Static Web App hospedado no Azure, configurando um ambiente de desenvolvimento com SWA CLI e VS Code, criando uma função HTTP em C#, e integrando a API ao app React para exibir dados no site.
Quer aprender a conectar seu aplicativo React a uma API no Azure? Leia o artigo completo e descubra como adicionar funcionalidades dinâmicas ao seu projeto.
Link: Adding an API to an Azure hosted React Static Web App
Hosting Next.JS Static Websites on Azure Static Web App
Autor: Parveen Singh
O artigo explica como hospedar sites estáticos criados com Next.js usando Azure Static Web Apps, abordando desde a configuração do repositório GitHub até a implantação contínua na Azure. É uma solução ideal para desenvolvedores que buscam simplicidade, segurança e escalabilidade em seus sites.
Quer aprender como hospedar seu site Next.js de forma simples e eficiente na Azure? Leia o artigo completo e descubra como aproveitar os recursos do Azure Static Web Apps!
Link: Hosting Next.JS Static Websites on Azure Static Web App
How to Deploy a React PWA to Azure Static Web Apps
Autor: Petkir
Este artigo ensina como implementar e automatizar o processo de deploy de uma aplicação React PWA para o Azure Static Web Apps usando GitHub Actions e Azure DevOps, além de gerar os recursos necessários com Bicep.
Quer aprender a simplificar o deploy de suas aplicações React PWA? Leia o artigo completo e descubra como automatizar tudo usando GitHub Actions e Azure DevOps!
Link: How to Deploy a React PWA to Azure Static Web Apps
Azure Static Web App: Seamless Microsoft Entra (Azure AD) Integration with Angular
Autor: Sparrow Note YouTube Channel | Althaf Moideen Konnola
Este vídeo ensina como integrar Microsoft Entra (Azure AD) com uma Azure Static Web App usando Angular, incluindo configuração de SSO, registro de aplicação e exibição de informações do usuário.
Quer aprender a integrar autenticação com Microsoft Entra em suas aplicações Angular? Assista agora e domine essa integração essencial para uma experiência de login unificada!
Link: Azure Static Web App: Seamless Microsoft Entra (Azure AD) Integration with Angular
Trimble Connect Workspace API 007 – Deployment
Autor: LetsConstructIT YouTube Channel
O vídeo demonstra como implantar uma aplicação local na nuvem usando Azure Static Web Apps, tornando-a acessível na web e integrada ao Trimble Connect, incluindo a configuração de extensões personalizadas.
Quer aprender a implantar suas aplicações na nuvem de forma simples e integrada com Trimble Connect? Assista ao vídeo completo e descubra como!
Link: Trimble Connect Workspace API 007 – Deployment
Blazor WASM Publishing to Azure Static Web Apps
Autor: Abdul Rahman | Regina Sharon
O artigo ensina como publicar aplicações Blazor WebAssembly (WASM) no Azure Static Web Apps, cobrindo desde a configuração inicial do projeto até a resolução de problemas comuns, como o erro 404 em atualizações de página. Ele também explica como personalizar o processo de build e configurar domínios personalizados.
Quer aprender a publicar suas aplicações Blazor WASM no Azure de forma simples e eficaz? Leia o artigo completo e descubra como configurar tudo passo a passo, garantindo que sua aplicação funcione perfeitamente!
Link: Blazor WASM Publishing to Azure Static Web Apps
Azure Static Web Apps Community Standup: Create a RAG App with App Spaces
Autor: Skyler Hartle | Dheeraj Bandaru
O vídeo apresenta o App Spaces, uma nova ferramenta do Azure que simplifica a criação e o gerenciamento de aplicativos inteligentes, especialmente ao integrar Azure Static Web Apps e Azure Container Apps. Durante a sessão, é demonstrado como criar e implantar um aplicativo de Recuperação Aumentada por Geração (RAG), utilizando uma interface simples que conecta repositórios do GitHub e automatiza o processo de CI/CD.
Descubra como simplificar a criação de aplicativos inteligentes com o Azure App Spaces! Assista ao vídeo completo e aprenda a implantar rapidamente um aplicativo RAG em minutos. Não perca essa oportunidade de elevar suas habilidades de desenvolvimento na nuvem!
Link: Azure Static Web Apps Community Standup: Create a RAG App with App Spaces
Serverless Single Page Application (Vue.js) mit Azure Static Web Apps
Autor: Florian Lenz
Idioma: Alemão
Este artigo mostra como criar e implantar uma aplicação de página única (SPA) usando Vue.js e Azure Static Web Apps. Ele guia o leitor desde a criação do projeto até a adição de um backend serverless com Azure Functions, destacando a facilidade de uso e as vantagens do modelo serverless para aplicações full-stack.
Quer aprender a implantar sua aplicação Vue.js na nuvem com Azure Static Web Apps e aproveitar os benefícios do serverless? Leia o artigo completo e descubra como criar e gerenciar uma aplicação full-stack de forma simples e eficiente!
Link: Serverless Single Page Application (Vue.js) mit Azure Static Web Apps
Conclusão
Se você deseja ser destaque no próximo artigo do #ThisMonthInAzureStaticWebApps, compartilhe o seu conteúdo nas redes sociais com a hashtag #AzureStaticWebApps e também no nosso repositório oficial no GitHub. Estamos ansiosos para compartilhar o seu conteúdo no próximo mês!
Lembrando que você não precisa ser um especialista no Azure Static Web Apps para compartilhar o seu conteúdo. Se você está aprendendo sobre o serviço e quer compartilhar a sua jornada, fique à vontade para compartilhar o seu conteúdo!
Até a próxima edição!
Microsoft Tech Community – Latest Blogs –Read More
Make figure without white border
I have a piece of code that plots a surface, and I feel it is ready for being included into the report. The only thing is that the figure has a quite large white border which substantially increases the size of it. I would like to have the unnecessary white space reduced to a minimum.
I did try
set(gca,’LooseInset’,get(gca,’TightInset’))
But this cuts off my z-axis label. Is there an easy way to achieve this? With LaTeX, we can simply use the standalone documentclass with PGFplots/tikz, but I don’t think there’s a simple keyword or option to do this with matlab. I’m using R2016b.I have a piece of code that plots a surface, and I feel it is ready for being included into the report. The only thing is that the figure has a quite large white border which substantially increases the size of it. I would like to have the unnecessary white space reduced to a minimum.
I did try
set(gca,’LooseInset’,get(gca,’TightInset’))
But this cuts off my z-axis label. Is there an easy way to achieve this? With LaTeX, we can simply use the standalone documentclass with PGFplots/tikz, but I don’t think there’s a simple keyword or option to do this with matlab. I’m using R2016b. I have a piece of code that plots a surface, and I feel it is ready for being included into the report. The only thing is that the figure has a quite large white border which substantially increases the size of it. I would like to have the unnecessary white space reduced to a minimum.
I did try
set(gca,’LooseInset’,get(gca,’TightInset’))
But this cuts off my z-axis label. Is there an easy way to achieve this? With LaTeX, we can simply use the standalone documentclass with PGFplots/tikz, but I don’t think there’s a simple keyword or option to do this with matlab. I’m using R2016b. figure MATLAB Answers — New Questions
Why do I get a Microsoft Visual C++ Redistributable error 1935 when installing MATLAB on Windows?
I get the following error when installing MATLAB on Windows:
ERROR: Error 1935. An error occurred during the installation of assembly
‘Microsoft.VC80.ATL.type="win32",version="8.0.50727.762".publicKeyToken="1fc8b3b9a1e18e3b".processorArchitecture="amd64"’.
Please refer to Help and Support for more information.I get the following error when installing MATLAB on Windows:
ERROR: Error 1935. An error occurred during the installation of assembly
‘Microsoft.VC80.ATL.type="win32",version="8.0.50727.762".publicKeyToken="1fc8b3b9a1e18e3b".processorArchitecture="amd64"’.
Please refer to Help and Support for more information. I get the following error when installing MATLAB on Windows:
ERROR: Error 1935. An error occurred during the installation of assembly
‘Microsoft.VC80.ATL.type="win32",version="8.0.50727.762".publicKeyToken="1fc8b3b9a1e18e3b".processorArchitecture="amd64"’.
Please refer to Help and Support for more information. msvc, compiler MATLAB Answers — New Questions
Does MATLAB support quadruple precision – 128-bit floating point arithmetics?
I need more precision than offered by the standard double data type in MATLAB. I am looking for a quadruple precision in MATLAB.I need more precision than offered by the standard double data type in MATLAB. I am looking for a quadruple precision in MATLAB. I need more precision than offered by the standard double data type in MATLAB. I am looking for a quadruple precision in MATLAB. 128-bit, quadruple_precision, float, double MATLAB Answers — New Questions
Why do I get “Code generation information file does not exist” as the “Rebuild Reason” when building my model?
When I successfully build our model I get "Code generation information file does not exist" as "Rebuild Reason".
Build Summary
Top model targets built:
Model | Action |Rebuild Reason
====================================================================
modelName | Code generated | Code generation information file does not exist.
1 of 1 models built (0 models already up to date)
Why is this and how can I remedy it?When I successfully build our model I get "Code generation information file does not exist" as "Rebuild Reason".
Build Summary
Top model targets built:
Model | Action |Rebuild Reason
====================================================================
modelName | Code generated | Code generation information file does not exist.
1 of 1 models built (0 models already up to date)
Why is this and how can I remedy it? When I successfully build our model I get "Code generation information file does not exist" as "Rebuild Reason".
Build Summary
Top model targets built:
Model | Action |Rebuild Reason
====================================================================
modelName | Code generated | Code generation information file does not exist.
1 of 1 models built (0 models already up to date)
Why is this and how can I remedy it? MATLAB Answers — New Questions
Understanding Site Hierarchy and Permissions
If you have ever been confused with site collections and hierarchies for permission levels then this is a great reference page.
https://learn.microsoft.com/en-us/sharepoint/understanding-permission-levels#BKMK_Site_Dependent
If you have ever been confused with site collections and hierarchies for permission levels then this is a great reference page.https://learn.microsoft.com/en-us/sharepoint/understanding-permission-levels#BKMK_Site_Dependent Read More
Recovering publishing account
My company has a app in the Microsoft Teams, but the person who created it is no longer with the company. We’ve lost access to the account that owns the administrative rights to the app. Any suggestions on recovering access to that account?
My company has a app in the Microsoft Teams, but the person who created it is no longer with the company. We’ve lost access to the account that owns the administrative rights to the app. Any suggestions on recovering access to that account? Read More
Error Code 0x8000x4005 HELP?
Simply just trying to delete files of a software I no longer want on my Labtop….. and here we are again with another issue. Ive tryd YouTube and googling it of course but then I start seeing comments saying ” I had to end up resetting my whole pc ” or ” I have more issues with my pc now then I did before “…… I need help thanks.
Simply just trying to delete files of a software I no longer want on my Labtop….. and here we are again with another issue. Ive tryd YouTube and googling it of course but then I start seeing comments saying ” I had to end up resetting my whole pc ” or ” I have more issues with my pc now then I did before “…… I need help thanks. Read More
Partition rows by id and DateColumn or DateColumn + 1
Hello all. I’m trying to partition out data by patient stay and select the stay with the greatest discharge date. The only thing I’m struggling with is, multiple stays where the admit date is the same or 1 day later have to be treated as the same, and again I take the one with the latest discharge date.
SQL server 2016
create table #HospitalStays
(
PatientId int
,AdmitDate date
,DischargeDate date
,DaysToFollowUp int
)
GO
insert into #HospitalStays
Values
(123456, ‘2024-08-01’, ‘2024-08-01’, 14)
,(123456, ‘2024-08-02’, ‘2024-08-05’, 30)
,(123456, ‘2024-08-07’, ‘2024-08-08’, 30)
select
patientId
,AdmitDate
,DischargeDate
,DaysToFollowUp
,row_number() over (partition by patientId, AdmitDate order by DischargeDate desc, DaysToFollowUp) as rownum
from
#HospitalStays
So in the above how do I make Admit date either admitDate or dateadd(dd, 1, admitDate)
I’m doing it with a cursor, but I have a feeling my architect is not going to want a cursor in the proc.
Much appreciated!
Hello all. I’m trying to partition out data by patient stay and select the stay with the greatest discharge date. The only thing I’m struggling with is, multiple stays where the admit date is the same or 1 day later have to be treated as the same, and again I take the one with the latest discharge date.SQL server 2016create table #HospitalStays(PatientId int,AdmitDate date,DischargeDate date,DaysToFollowUp int)GOinsert into #HospitalStaysValues (123456, ‘2024-08-01’, ‘2024-08-01’, 14) ,(123456, ‘2024-08-02’, ‘2024-08-05’, 30) ,(123456, ‘2024-08-07’, ‘2024-08-08’, 30)selectpatientId,AdmitDate,DischargeDate,DaysToFollowUp,row_number() over (partition by patientId, AdmitDate order by DischargeDate desc, DaysToFollowUp) as rownumfrom#HospitalStays So in the above how do I make Admit date either admitDate or dateadd(dd, 1, admitDate)I’m doing it with a cursor, but I have a feeling my architect is not going to want a cursor in the proc.Much appreciated! Read More
RDS on prem future
I know the immediate answer is it will stick around but with RemoteApps specifically, we are recognising:
1) All new development seems to be on Windows/AVD Remote Desktop apps.
2) Traditional Remote Apps do not support WHfB with Kerberos trust whereas every other application does.
I am guessing it is relying on NTLM behind the scenes and heavily relies on storing credentials locally. It isn’t future proof and definitely seems a security risk keeping this 2009 product in production.
Has anyone managed to get RemoteApps working on Entra Joined devices with WHfB? And will we see the new apps support traditional RDS in the future?
Just feels very disjointed at the mo.
I know the immediate answer is it will stick around but with RemoteApps specifically, we are recognising: 1) All new development seems to be on Windows/AVD Remote Desktop apps.2) Traditional Remote Apps do not support WHfB with Kerberos trust whereas every other application does. I am guessing it is relying on NTLM behind the scenes and heavily relies on storing credentials locally. It isn’t future proof and definitely seems a security risk keeping this 2009 product in production. Has anyone managed to get RemoteApps working on Entra Joined devices with WHfB? And will we see the new apps support traditional RDS in the future? Just feels very disjointed at the mo. Read More
Why do I get the error message “#error Must define one of RT, NRT, MATLAB_MEX_FILE, SL_INTERNAL, or FIPXT_SHARED_MODULE” when building a model with an S-function?
I have a Simulink R2018b model which contains an S-function. The S-function is a MEX S-Function. When I try to build the model, I get the following error message:
#error Must define one of RT, NRT, MATLAB_MEX_FILE, SL_INTERNAL, or FIPXT_SHARED_MODULE
I am using Visual Studio 2017 as a compiler.I have a Simulink R2018b model which contains an S-function. The S-function is a MEX S-Function. When I try to build the model, I get the following error message:
#error Must define one of RT, NRT, MATLAB_MEX_FILE, SL_INTERNAL, or FIPXT_SHARED_MODULE
I am using Visual Studio 2017 as a compiler. I have a Simulink R2018b model which contains an S-function. The S-function is a MEX S-Function. When I try to build the model, I get the following error message:
#error Must define one of RT, NRT, MATLAB_MEX_FILE, SL_INTERNAL, or FIPXT_SHARED_MODULE
I am using Visual Studio 2017 as a compiler. external, ide, s-function, error, inlining, tlc, non-lined MATLAB Answers — New Questions