Update Composer dependencies (2021-01-25-00-06)

Visual regression test passed!
View the visual regression test report

Visual regression test passed!
View the visual regression test report


Add get_budget implementation

Closes https://github.com/getAlby/hub/issues/703

@jklein24 thanks for the PR. Awesome!

@jklein24 I have added some changes in a feedback PR here https://github.com/jklein24/alby-hub/pull/1
I've tested the flow, and everything looks good to me. Please let me know if you have any concerns with the changes!

JS SDK implementation: https://github.com/getAlby/js-sdk/pull/264

@jklein24 I have added some changes in a feedback PR here jklein24#1
I've tested the flow, and everything looks good to me. Please let me know if you have any concerns with the changes!

LGTM, thanks!


Least-squares minimization fails silently when x and y data are different types

Hello, I have some data where inadvertently the x and y data were of different types, eventually after much troubleshooting I discovered that one was np.float32 and the other was np.float64. When trying to use least-squares minimization to fit to the data, either scipy.optimize.curve_fit or scipy.optimize.leastsq failed in a weird quasi-silent way. The failure mode is that the parameters are barely changed from the initial guess and the optimization returns even though the result is clearly not good. Below is a minimum example demonstrating the bug (from a jupyter notebook):
Reproducing code example:
%pylab inline
import numpy as np
from scipy.optimize import curve_fit

def gauss(x, A, mu, sigma):
    return A/(sigma*np.sqrt(2*np.pi))*np.exp(-(np.power(x-mu,2)/(2*np.power(sigma,2))))

xdata = np.linspace(-1, 1, 20)
p_act = [1.4, 0.2, 0.2]
ydata = gauss(xdata, *p_act) + np.random.normal(loc=0, scale=0.05, size=len(xdata))
p0 = [1, 0, 0.1]

xdata = xdata.astype(dtype=np.float32)
ydata = ydata.astype(dtype=np.float64)
fit1, pcov1 = curve_fit(gauss, xdata, ydata, p0=p0)

xdata = xdata.astype(dtype=np.float32)
ydata = ydata.astype(dtype=np.float32)
fit2, pcov2 = curve_fit(gauss, xdata, ydata, p0=p0)

print(fit1)
print(fit2)

plot(xdata, ydata, 'bo')
x2 = np.linspace(xdata[0], xdata[-1], 100)
plot(x2, gauss(x2, *fit1), 'r--')
plot(x2, gauss(x2, *fit2), 'm--')

The output of the print statements are:
[1.         0.05021768 0.10987875]
[1.37911003 0.19699727 0.19586094]

Error message:

The only signature is that there is a covariance warning when fitting with the different data types:
/usr/local/lib/python3.7/site-packages/scipy/optimize/minpack.py:794: OptimizeWarning: Covariance of the parameters could not be estimated
  category=OptimizeWarning)

Scipy/Numpy/Python version information:

1.1.0 1.15.1 sys.version_info(major=3, minor=7, micro=1, releaselevel='final', serial=0)

Here's another example, using the current master branch of scipy:
In [1]: import numpy as np

In [2]: import scipy

In [3]: scipy.__version__
Out[3]: '1.3.0.dev0+7405dfb'

In [4]: from scipy.optimize import curve_fit

In [5]: x = np.arange(-3, 5, dtype=np.float32)

In [6]: y = 1.5*x + 3.0 + 0.5*np.sin(x)

In [7]: def func(x, a, b):
   ...:     return a*x + b
   ...:
   ...:

Both x and y are float32; curve_fit works:
In [8]: p, cov = curve_fit(func, x, y)

In [9]: p
Out[9]: array([1.54187871, 2.93174817])

Try again with y converted to float64:
In [10]: y64 = y.astype(np.float64)

In [11]: p, cov = curve_fit(func, x, y64)
/Users/warren/miniconda36/lib/python3.6/site-packages/scipy-1.3.0.dev0+7405dfb-py3.6-macosx-10.7-x86_64.egg/scipy/optimize/minpack.py:787: OptimizeWarning: Covariance of the parameters could not be estimated
  category=OptimizeWarning)

In [12]: p
Out[12]: array([1., 1.])

In [13]: cov
Out[13]:
array([[inf, inf],
       [inf, inf]])


[Doc Improvement][Anon user support for apps][3030295]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
98
5
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/build-apps-for-anonymous-user.md
91
14
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/build-apps-for-teams-meeting-stage.md
92
12
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/build-extensible-conversation-for-meeting-chat.md
94
4
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/build-tabs-for-meeting.md
95
13
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/in-meeting-notification-for-meeting.md
94
3
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/teams-apps-in-meetings.md
91
11
link
:white_check_mark:

msteams-platform/mstdd-landing.yml
100
0
link
:white_check_mark:

msteams-platform/resources/schema/manifest-schema.md
93
26
link
:white_check_mark:

msteams-platform/tabs/how-to/authentication/tab-sso-overview.md
91
16
link
:white_check_mark:

msteams-platform/whats-new.md
94
28
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
99
6
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/build-apps-for-anonymous-user.md
85
20
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/build-apps-for-teams-meeting-stage.md
91
13
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/build-extensible-conversation-for-meeting-chat.md
95
3
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/build-tabs-for-meeting.md
93
15
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/in-meeting-notification-for-meeting.md
94
3
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/teams-apps-in-meetings.md
91
11
link
:white_check_mark:

msteams-platform/mstdd-landing.yml
89
1
link
:white_check_mark:

msteams-platform/resources/schema/manifest-schema.md
90
34
link
:white_check_mark:

msteams-platform/tabs/how-to/authentication/tab-sso-overview.md
89
19
link
:white_check_mark:

msteams-platform/whats-new.md
93
34
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/TOC.yml
99
6
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/build-apps-for-anonymous-user.md
88
17
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/build-apps-for-teams-meeting-stage.md
90
14
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/build-extensible-conversation-for-meeting-chat.md
95
3
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/build-tabs-for-meeting.md
92
19
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/in-meeting-notification-for-meeting.md
94
3
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/teams-apps-in-meetings.md
91
10
link
:white_check_mark:

msteams-platform/mstdd-landing.yml
89
1
link
:white_check_mark:

msteams-platform/resources/schema/manifest-schema.md
92
27
link
:white_check_mark:

msteams-platform/tabs/how-to/authentication/tab-sso-overview.md
89
19
link
:white_check_mark:

msteams-platform/whats-new.md
93
35
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Reverted the docs for Anon user support for apps feature. Feature crew informed not to remove the content but add a note. Raised a PR #8783 to update the note.


Migration to Swift 5; updated .swift-version

Hi @philzet, thank you for your PR! Looks like this repository is no longer supported. I've created a fork of XMLParsing recently that's called XMLCoder, it adds support for Swift 5 and a few other advanced features. Please check it out, all feedback and contributions are very welcome!


Add disclaimer to README about (lack of) endorsement

We should be saying something like this since day 1, and now with discussion of newer devices even more prudent.

ACK

ACK 3016d4a8616b042bae82bca64c2253ea2d128a19


Axis Title and Offset

Is it possible to set an axis title and also to make the axis start a bit before and after the min and max values in a line chart? In addition, can you use strings for axis values on line charts and to place a dot at each of the data points?
I couldn't find any info in the wiki about this or the issues.

"Possible to set an axis title?" - no, not right now but that is a very reasonable enhancement request.
"Make the axis start a bit before and after the min and max values in a line chart?" - I'm not sure I understand. Could you provide a screenshot example of what you see know and the data and options you are using for your chart and what you'd like to see instead? (Also is it a SmoothLine or StockLine?). The tailLength option may address what you want (although I suspect not) but I would need to understand your situation better.
"can you use strings for axis values?" - yes, supply a function in the labelFunction option - see the "StockLineChartDynamicTickLabels" example in the example app (regrettably, the wiki docs haven't kept up at this moment with changes like this option in the library)
"to place a dot at each of the data points?" - yes, use set the showTicks: option on axisX/axisY to true

Thanks @marzolfb

I see, that would be a nice feature to have.

I'll check if tailLength fixes it but to try clarify. If I have a graph with two data points one at x=1 and x=2, I'd like the graph to show the axis from x=0 and x=4 so that the graph doesn't abruptly start and end. I can't send a screenshot as not at my laptop at the moment. It's also SmoothLine but not sure which of the two I'll use yet.

Great, thanks.

That just places dots along the axis, I meant dots along the line itself at each data point.

Ahh, I think you want to use the min and max options on the chart. However, these unfortunately only apply to the y-axis and not the x-axis (see my discussion with Cody-G-G on this topic - #80)

Unfortunately, no, that ability isn't there. Thats's a duplicate of #40 which, like your Axis title suggestion, is also a very reasonable enhancement request

Okay - great thanks. Those would be some nice additional features but apart from that it's a really great library. Thank you!

@marzolfb Two other enhancement features that would be useful would be to be able to set the axis 'steps'. For example, tell it so that each y axis line is 5 apart. So the axis Y shows 0 then 5 then 10 then 15 and so on.

@DVassilev I believe that use case is supported via the tickValues option. See the StockLineChartStaticTickLabels chart in the example app for reference - you should be able to substitute numbers for values instead of the strings shown in the example.


[BUG] Concurrency errors when accessing same files as parallel test

Current Behavior
When testing 2 projects targeting the same file, we get a CS1202 The process cannot access the file '' because it is being used by another process. These are caused by 3 items:

a runtimeconfig.json'
a .deps.json
a .dll file

All the .net standard and .net 6 projects have  RestorePackagesWithLockFile on them
 <PropertyGroup>
    <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
  </PropertyGroup>

this is the dependency graph

Expected Behavior
That the nx affected --target test runs and does not lock the file, therefore running the dotnet projects parallel
Github Repo
No response
Steps to Reproduce

Have 3 dotnet items(projects/libs) with test projects, where 1 project is being used by 2 test projects
(don't know if this is affecting it) Have package restore on them
run the tests

Nx Report
>  NX   Report complete - copy this into the issue template

   Node   : 20.3.0
   OS     : win32 x64
   npm    : 9.6.4
   Hasher : Native

   nx                 : 16.0.3
   @nx/js             : 16.0.3
   @nx/jest           : 16.0.3
   @nx/linter         : 16.0.3
   @nx/workspace      : 16.0.3
   @nx/angular        : 16.0.3
   @nx/cypress        : 16.0.3
   @nx/devkit         : 16.0.3
   @nx/eslint-plugin  : 16.0.3
   @nx/plugin         : 16.0.3
   @nrwl/tao          : 16.0.3
   @nx/webpack        : 16.0.3
   nx-cloud           : 16.0.5
   typescript         : 4.9.5
   ---------------------------------------
   Community plugins:
   @fortawesome/angular-fontawesome : 0.12.1
   @ngrx/component-store            : 15.4.0
   @ngrx/component                  : 15.4.0
   @ngrx/effects                    : 15.4.0
   @ngrx/entity                     : 15.4.0
   @ngrx/router-store               : 15.4.0
   @ngrx/store-devtools             : 15.4.0
   @ngrx/store                      : 15.4.0
   @ngrx/schematics                 : 15.4.0
   @nx-dotnet/core                  : 1.22.0
   ---------------------------------------
   Local workspace plugins:
         @meteninbim/workspace-plugin

nx.json
{
	"npmScope": "meteninbim",
	"affected": {
		"defaultBase": "master"
	},
	"tasksRunnerOptions": {
		"default": {
			"runner": "nx-cloud",
			"options": {
				"cacheableOperations": ["build", "lint", "test", "e2e"],
				"parallel": 3
			}
		}
	},
	"plugins": ["@nx-dotnet/core"],
	"generators": {
		"@nx/angular:application": {
			"style": "scss",
			"linter": "eslint",
			"unitTestRunner": "jest",
			"e2eTestRunner": "cypress"
		},
		"@nx/angular:library": {
			"linter": "eslint",
			"unitTestRunner": "jest"
		},
		"@schematics/angular:component": {
			"style": "scss",
			"changeDetection": "OnPush",
			"project": "client",
			"path": "apps/client/src/app"
		},
		"@nx/angular:component": {
			"style": "scss",
			"changeDetection": "OnPush",
			"project": "client",
			"path": "apps/client/src/app"
		}
	},
	"$schema": "./node_modules/nx/schemas/nx-schema.json",
	"cli": {
		"cache": {
			"enabled": true
		}
	},
	"targetDefaults": {
		"build": {
			"dependsOn": ["^build"],
			"inputs": ["production", "^production"]
		},
		"test": {
			"inputs": [
				"default",
				"^production",
				"{workspaceRoot}/jest.preset.js"
			]
		},
		"lint": {
			"inputs": ["default", "{workspaceRoot}/.eslintrc.json"]
		},
		"lint-fix": {
			"inputs": ["default", "{workspaceRoot}/.eslintrc.json"]
		},
		"serve": {
			"dependsOn": ["^build"]
		}
	},
	"namedInputs": {
		"default": ["{projectRoot}/**/*", "sharedGlobals"],
		"sharedGlobals": [],
		"production": [
			"default",
			"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
			"!{projectRoot}/tsconfig.spec.json",
			"!{projectRoot}/jest.config.[jt]s",
			"!{projectRoot}/.eslintrc.json"
		]
	}
}

Failure Logs
Executing Command: dotnet "test" "C:\Source\repos\DigitaalMeten\3d\meteninbim\apps\api-integration-test\Meteninbim.Api.IntegrationTest.csproj" "--settings" "../../csharp.runsettings" "--results-directory" "../../coverage/apps/api-integration-test"
  Determining projects to restore...
         Restored C:\Source\repos\DigitaalMeten\3d\meteninbim\apps\api\Meteninbim.Api.csproj (in 724 ms).
         7 of 8 projects are up-to-date for restore.
         Meteninbim.Bimsync -> C:\Source\repos\DigitaalMeten\3d\meteninbim\dist\libs\bimsync\netstandard2.0\Meteninbim.Bimsync.dll
         Meteninbim.Common -> C:\Source\repos\DigitaalMeten\3d\meteninbim\dist\libs\shared\MeteninBim.Common\netstandard2.0\Meteninbim.Common.dll
       CSC : error CS2012: Cannot open 'C:\Source\repos\DigitaalMeten\3d\meteninbim\libs\business\obj\Debug\net6.0\Meteninbim.Business.dll' for writing -- 'The process cannot access the file 'C:\Source\repos\DigitaalMeten\3d\meteninbim\libs\business\obj\Debug\net6.0\Meteninbim.Business.dll' because it is being used by another process.' [C:\Source\repos\DigitaalMeten\3d\meteninbim\libs\business\Meteninbim.Business.csproj]
         Meteninbim.Shared.Startup -> C:\Source\repos\DigitaalMeten\3d\meteninbim\dist\libs\shared\startup\net6.0\Meteninbim.Shared.Startup.dll
       Error: dotnet execution returned status code 1
    at DotNetClient.logAndExecute (C:\Source\repos\DigitaalMeten\3d\meteninbim\node_modules\@nx-dotnet\dotnet\src\lib\core\dotnet.client.js:171:19)
    at DotNetClient.test (C:\Source\repos\DigitaalMeten\3d\meteninbim\node_modules\@nx-dotnet\dotnet\src\lib\core\dotnet.client.js:78:25)
    at C:\Source\repos\DigitaalMeten\3d\meteninbim\node_modules\@nx-dotnet\core\src\executors\test\executor.js:17:41
    at Generator.next (<anonymous>)
    at fulfilled (C:\Source\repos\DigitaalMeten\3d\meteninbim\node_modules\tslib\tslib.js:164:62)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Additional Information
i tried removing RestorePackagesWithLockFile, but this still showed the same error

Same issue here but when nx affected --target publishing

I think I'm encountering a similar issue when running nx affected:test with a .NET project that has a testing project attached:
Executing Command: dotnet "test" "/root/project/apps/navigatem-pze-api-test/Datenlotse.NavigatemPzeApi.Test.csproj"
  Determining projects to restore...
  All projects are up-to-date for restore.
/root/project/apps/navigatem-pze-api/Services/Urlaubsanspruch/UrlaubsantragService.cs(105,52): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/root/project/apps/navigatem-pze-api/Datenlotse.NavigatemPzeApi.csproj]
/usr/share/dotnet/sdk/7.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(292,5): error MSB4018: The "GenerateRuntimeConfigurationFiles" task failed unexpectedly. [/root/project/apps/navigatem-pze-api/Datenlotse.NavigatemPzeApi.csproj]
/usr/share/dotnet/sdk/7.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(292,5): error MSB4018: System.IO.IOException: The process cannot access the file '/root/project/dist/apps/navigatem-pze-api/net7.0/Datenlotse.NavigatemPzeApi.runtimeconfig.json' because it is being used by another process. [/root/project/apps/navigatem-pze-api/Datenlotse.NavigatemPzeApi.csproj]
/usr/share/dotnet/sdk/7.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(292,5): error MSB4018:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Init(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Int64& fileLength, UnixFileMode& filePermissions) [/root/project/apps/navigatem-pze-api/Datenlotse.NavigatemPzeApi.csproj]
/usr/share/dotnet/sdk/7.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(292,5): error MSB4018:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Func`4 createOpenException) [/root/project/apps/navigatem-pze-api/Datenlotse.NavigatemPzeApi.csproj]
/usr/share/dotnet/sdk/7.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(292,5): error MSB4018:    at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode) [/root/project/apps/navigatem-pze-api/Datenlotse.NavigatemPzeApi.csproj]
/usr/share/dotnet/sdk/7.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(292,5): error MSB4018:    at System.IO.File.Create(String path) [/root/project/apps/navigatem-pze-api/Datenlotse.NavigatemPzeApi.csproj]
/usr/share/dotnet/sdk/7.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(292,5): error MSB4018:    at Microsoft.NET.Build.Tasks.GenerateRuntimeConfigurationFiles.WriteToJsonFile(String fileName, Object value) [/root/project/apps/navigatem-pze-api/Datenlotse.NavigatemPzeApi.csproj]
/usr/share/dotnet/sdk/7.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(292,5): error MSB4018:    at Microsoft.NET.Build.Tasks.GenerateRuntimeConfigurationFiles.WriteRuntimeConfig(RuntimeFramework[] runtimeFrameworks, LockFileTargetLibrary platformLibrary, Boolean isFrameworkDependent, IList`1 packageFolders) [/root/project/apps/navigatem-pze-api/Datenlotse.NavigatemPzeApi.csproj]
/usr/share/dotnet/sdk/7.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(292,5): error MSB4018:    at Microsoft.NET.Build.Tasks.GenerateRuntimeConfigurationFiles.ExecuteCore() [/root/project/apps/navigatem-pze-api/Datenlotse.NavigatemPzeApi.csproj]
/usr/share/dotnet/sdk/7.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(292,5): error MSB4018:    at Microsoft.NET.Build.Tasks.TaskBase.Execute() [/root/project/apps/navigatem-pze-api/Datenlotse.NavigatemPzeApi.csproj]
/usr/share/dotnet/sdk/7.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(292,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/root/project/apps/navigatem-pze-api/Datenlotse.NavigatemPzeApi.csproj]
/usr/share/dotnet/sdk/7.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(292,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/root/project/apps/navigatem-pze-api/Datenlotse.NavigatemPzeApi.csproj]
Error: dotnet execution returned status code 1
    at DotNetClient.logAndExecute (/root/project/node_modules/@nx-dotnet/dotnet/src/lib/core/dotnet.client.js:171:19)
    at DotNetClient.test (/root/project/node_modules/@nx-dotnet/dotnet/src/lib/core/dotnet.client.js:78:25)
    at /root/project/node_modules/@nx-dotnet/core/src/executors/test/executor.js:17:41
    at Generator.next (<anonymous>)
    at fulfilled (/root/project/node_modules/tslib/tslib.js:166:62)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    ```

Any updates? Our CI is being very flaky do to this issue.

Any updates? Our CI is being very flaky do to this issue.

as a workaround, you can set parallel to false. It at least stabilizes your CI, so you can deploy steadily

Also experiencing this issue very frequently (CS2012 and GenerateDepsFile failures) probably due to parallelism. Might be an issue with the dotnet sdk since there are quite a few issues on their repo as well, e.g. https://github.com/dotnet/sdk/issues/2902
I tried disabling parallelism via a dotnet param
"options": {
    "extraParameters": "/maxcpucount:1"
}

and by limiting nx parallelism
"tasksRunnerOptions": {
        "default": {
            "runner": "nx/tasks-runners/default",
            "options": {
                "cacheableOperations": ["build", "lint", "test", "e2e"],
                "parallel": 1
            }
        }
    }

but so far this also didn't help. In my case it looks like a shared library is being built twice, where the first build is failing due to concurrency issues but the second build works.

@georgechond94 What version of nx are you using? We are on v16 and according to the current schema, boolean isn't an option for that anymore: https://github.com/nrwl/nx/blob/master/packages/nx/schemas/nx-schema.json#L230
But either way to give an update, it seems like for us this happened when two different shells tried to run build commands in parallel, this was a part in our code though. For now, limiting parallel  and/or setting /maxcpucount:1 should be enough.

I think i have fixed this issue by putting this in the nx.json:
{
  "targetDefaults": {
    "@nx-dotnet/core:test": {
      "dependsOn": ["build"],
      "options": {
        "noBuild": true
      }
    }
  }
}

This works for the same reasons as layed out in https://www.nx-dotnet.com/docs/core/guides/incremental-builds.
This makes sure the build is done before running tests and importantly all dependant builds are done also. Then when two tests run at the same time with the same dependency, they don't rebuild the dependency at the same time and hit this error.
Should also make testing faster because it can use nx's build cache.
I'm not certain this has fixed it, because the issue is intermittent and maybe I am just lucky.

We are currently on 16.2.1 and setting the parallel to false works fine, e.g.
nx run-many --parallel=false --targets=release --projects=tag:scope:service,tag:scope:web,tag:scope:migration

Alternatively, I think you could solve the parallel builds through msbuild, but that would probably invalidate the whole point of using the nx cache.

How would you do it differently with msbuild? My understanding is dotnet
build should be equivalent and that's all the plugin does under the hood
On Thu, Sep 7, 2023, 11:49 PM Vedran Zakanj @.***>
wrote:

We are currently on 16.2.1 and setting the parallel to false works fine,
e.g.
nx run-many --parallel=false --targets=release --projects=tag:scope:service,tag:scope:web,tag:scope:migration
Alternatively, I think you could solve the parallel builds through
msbuild, but that would probably invalidate the whole point of using the nx
cache.
—
Reply to this email directly, view it on GitHub
https://github.com/nx-dotnet/nx-dotnet/issues/731#issuecomment-1711035729,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABU43KFUGLGLYRNIX5ZOWCDXZKIWBANCNFSM6AAAAAAZEZSJ34
.
You are receiving this because you commented.Message ID:
@.***>

@AgentEnder it is equivalent, but if you really want to, what you could do is create an msbuild file which builds multiple projects in parallel and then do a single dotnet build/release command.
But that's why I said that would invalidate the whole point of using the nx cache since it would end up as a single nx target.
What I'm personally doing now is using parallel=false for local builds and am in the process of moving to containerized builds in CI.

I think i have fixed this issue by putting this in the nx.json:
{
  "targetDefaults": {
    "@nx-dotnet/core:test": {
      "dependsOn": ["build"],
      "options": {
        "noBuild": true
      }
    }
  }
}

This works for the same reasons as layed out in https://www.nx-dotnet.com/docs/core/guides/incremental-builds. This makes sure the build is done before running tests and importantly all dependant builds are done also. Then when two tests run at the same time with the same dependency, they don't rebuild the dependency at the same time and hit this error.
Should also make testing faster because it can use nx's build cache.
I'm not certain this has fixed it, because the issue is intermittent and maybe I am just lucky.

I can confirm this, but don't forget to do a nx -t build of the test project(s) first and then nx -t test:

A depends on config would handle this :thinking_face:

https://github.com/nx-dotnet/nx-dotnet/issues/731#issuecomment-1700295028
I'm not certain this has fixed it, because the issue is intermittent and maybe I am just lucky.

Months later I have not seen this issue reappear. I no longer think I might be lucky, I think I have solved it.

Yes, this is likely the correct solution. I'll likely work on an update to nx-dotnet to better support this in the near future.

Just wanted to follow up here too.  We're seeing the same locally when running builds with parallelization.  It takes 1-2 tries to get past the errors and get everything to go green. As previously mentioned by others, we need to disable parallelization in CI in order to avoid the aforementioned, but it makes things pretty slow.  Here's some log output confirm what others have also describe:
dotnet-billing:        (GenerateBuildDependencyFile target) ->
dotnet-billing:          /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018: The "GenerateDepsFile" task failed unexpectedly. [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018: System.IO.IOException: The process cannot access the file '/Users/wojtek/src/Acme/redacted/dist/libs/dotnet/shared/util/Acme.Util/net6.0/Acme.Util.deps.json' because it is being used by another process. [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Init(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Int64& fileLength, UnixFileMode& filePermissions) [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Func`4 createOpenException) [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018:    at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode) [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018:    at System.IO.File.Create(String path) [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018:    at Microsoft.NET.Build.Tasks.GenerateDepsFile.WriteDepsFile(String depsFilePath) [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018:    at Microsoft.NET.Build.Tasks.TaskBase.Execute() [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:     14 Warning(s)
dotnet-billing:     1 Error(s)
dotnet-billing: Time Elapsed 00:00:31.50
dotnet-billing:  >  NX   dotnet execution returned status code 1
dotnet-billing:    Pass --verbose to see the stacktrace.

Just wanted to follow up here too.  We're seeing the same locally when running builds with parallelization.  It takes 1-2 tries to get past the errors and get everything to go green. As previously mentioned by others, we need to disable parallelization in CI in order to avoid the aforementioned, but it makes things pretty slow.  Here's some log output confirm what others have also describe:
dotnet-billing:        (GenerateBuildDependencyFile target) ->
dotnet-billing:          /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018: The "GenerateDepsFile" task failed unexpectedly. [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018: System.IO.IOException: The process cannot access the file '/Users/wojtek/src/Acme/redacted/dist/libs/dotnet/shared/util/Acme.Util/net6.0/Acme.Util.deps.json' because it is being used by another process. [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Init(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Int64& fileLength, UnixFileMode& filePermissions) [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Func`4 createOpenException) [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018:    at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode) [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018:    at System.IO.File.Create(String path) [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018:    at Microsoft.NET.Build.Tasks.GenerateDepsFile.WriteDepsFile(String depsFilePath) [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018:    at Microsoft.NET.Build.Tasks.TaskBase.Execute() [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:        /usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(197,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/Users/wojtek/src/Acme/redacted/libs/dotnet/shared/util/Acme.Util/Acme.Util.csproj]
dotnet-billing:     14 Warning(s)
dotnet-billing:     1 Error(s)
dotnet-billing: Time Elapsed 00:00:31.50
dotnet-billing:  >  NX   dotnet execution returned status code 1
dotnet-billing:    Pass --verbose to see the stacktrace.

Set noBuild true for the test target, no dependencies true for the build target, and test to depend on build, and build to depend on dependant project builds

@AgentEnder - could you please give an example on the following recommended configuration (and some explanation would be great as well, specially with the no dependencies true for the build target... since in my case the build target does have dependencies setting it to false makes me scratch my head) : "Set noBuild true for the test target, no dependencies true for the build target, and test to depend on build, and build to depend on dependant project builds"

No dependencies tells the dotnet CLI not to build dependencies automatically. This is what we want, since we are setting Nx up to build the dependencies first on its side. Otherwise we would be building dependencies twice


translation for Demo Model Page

Summary:
Now Our [Select Demo Model] Page is integrated with i18n and its content is available for other languages also as shown below.

Description for the changelog:
translation for Demo Model Page
Other info:
Fixes : #902

@jgadsden what do  you say about this?

@jgadsden can i get you review on this ?

@itsdheerajdp could you consider this patch that will provide consistent attribute names and translate the strings only if we are fluent in the language (otherwise it could go wrong with Google translate):
pr912.patch

@itsdheerajdp could you consider this patch that will provide consistent attribute names and translate the strings only if we are fluent in the language (otherwise it could go wrong with Google translate):
pr912.patch

Sure I'll do it


ord 0.16.0 -- wallet commands require ord server, other commands won't work with ord server running

Do I have this right that wallet commands require ord server running, but some other commands like ord list for example can't run while ord server is running, as the index will be locked. What's the recommended way to be able to run both types of commands? Stop and start ord server as needed? Multiple index files? Seems kludgy, either way. Shouldn't all commands communicate with the index by way of ord server now?

That's a great point! Yes, they probably should at this point. Will add this to the backlog

is there a way to launch server on different port and get the rune list on another one ?

@fabienghr the issue doesn't appear to be related to the ports, it's that the database is locked.
@casey is this something you think is a non-issue or could I look into this so we could run the server (and keep index up to date) while also issuing commands? Maybe we need an ord-cli?

hi, this would be a great  if this command was part of the server, any reason why not?


Update: Surface placements

Description: This PR updates Surface placements sample. It adds a slider and a switch toggle for different surface placement modes, as well as refactor the code to adapt these changes.
Branch: https://github.com/Esri/arcgis-runtime-samples-ios/tree/Ting/Update-SurfacePlacement-vNext/arcgis-ios-sdk-samples/Scenes/Surface placements
Note: The warning below can be ignored. It is an Apple issue. ref: https://developer.apple.com/forums/thread/132035
ArcGIS Runtime SDK Samples[82431:3910227] invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.

Ref:

/common-samples/issues/1846
/common-samples/issues/2088

Demo

After the Friday review, I decide to make a few small changes to the sample

text label offset
color for text label should be other than blue, not to blend with the sky
change switch to segmented control

Ready for another review.

@saratchandrakarumuri Please take a look at this update. Thanks! 🙂

OK, let me give a try...

Aha it seems changing back to blue dismissed approvals...

Sorry my bad... always forget this! 😅


[wip] rebase

works overall. Need to check tests

The project works overall, just need to make sure tests work.  It could use a lot of cleanup/love, but working is good.


test removing RP_CLIENT_ID and secret

Which issue this PR addresses:

Fixes
What this PR does / why we need it:

Test plan for issue:

Is there any documentation that needs to be updated for this PR?

How do you know this will function as expected in production?

/azp run e2e


Fix kibana helm release upgrade

This is a fix proposal to https://github.com/elastic/helm-charts/issues/1780

[*] Chart version not bumped (the versions are all bumped and released at the same time)
[*] README.md updated with any new values or changes

no new values / changes that affect usage.

[ ] Updated template tests in ${CHART}/tests/*.py
[ ] Updated integration tests in ${CHART}/examples/*/test/goss.yaml

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@mdnfiras  I Installed Elasticsearch and tried to install Kibana with your proposed changes. But kibana pre-install job fails with below error.
kubectl get pod -A
NAMESPACE            NAME                                       READY   STATUS    RESTARTS       AGE
kube-system          calico-kube-controllers-7664cb57bd-cxhxw   1/1     Running   0              11h
kube-system          calico-node-bgtpq                          1/1     Running   0              11h
kube-system          coredns-7796b77cd4-bn4qb                   1/1     Running   0              11h
kube-system          local-path-provisioner-84bb864455-fqbth    1/1     Running   0              11h
kube-system          metrics-server-ff9dbcb6c-8k2qx             1/1     Running   0              11h
metallb-system       controller-86f5dc75b9-s4j42                1/1     Running   0              11h
metallb-system       speaker-68g9f                              1/1     Running   0              11h
log             elasticsearch-master-0                     1/1     Running   0              11m
log               pre-install-kibana-kibana-2q5xf            0/1     Error     0              6m54s
log               pre-install-kibana-kibana-5qz4c            0/1     Error     0              6m18s
log              pre-install-kibana-kibana-7vkpn            0/1     Error     0              6m6s
log               pre-install-kibana-kibana-bvhdh            0/1     Error     0              6m2s
log               pre-install-kibana-kibana-d9n8v            0/1     Error     0              7m14s
log               pre-install-kibana-kibana-dfkjs            0/1     Error     0              7m21s
log               pre-install-kibana-kibana-dqgzx            0/1     Error     0              6m34s
log               pre-install-kibana-kibana-g82rs            0/1     Error     0              6m14s
log               pre-install-kibana-kibana-jgd8g            0/1     Error     0              7m17s
log               pre-install-kibana-kibana-jqp58            0/1     Error     0              6m58s
log               pre-install-kibana-kibana-lf6qj            0/1     Error     0              6m42s
log               pre-install-kibana-kibana-mj4lb            0/1     Error     0              6m50s
log               pre-install-kibana-kibana-nw4zf            0/1     Error     0              6m46s
When i describe pod , I am getting below error.
kubectl logs pre-install-kibana-kibana-swb6v -n log
Creating a new Elasticsearch token for Kibana
Cleaning previous token
DELETE undefined failed:  certificate is not yet valid
Error: certificate is not yet valid
at TLSSocket.onConnectSecure (node:_tls_wrap:1539:34)
at TLSSocket.emit (node:events:513:28)
at TLSSocket._finishInit (node:_tls_wrap:953:8)
at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:734:12) {
code: 'CERT_NOT_YET_VALID'
}
Please advice if i miss anything.


No output files processed

Hello,
the last couple of days PowerDocu stopped creating output files for me. Even with the new release, it doesnt work. Here is how it looks:

No folder or documentation is created afterwards.
Would you please advise me if I am doing something wrong? it did work until recently.
Thanks

@IlinaIv  - I'm experiencing the same issue with both Power Apps and Power Automate. I haven't been able to figure out how to correct it.

No output either with self-contained Version 1.2.4 downloaded today. Just sits at processing like the screenshot above.

Mines doing the same. v. 1.2.4. I tried updating to the newest version of dotnet and after a few failed tries, running as administrator as well. No luck.
Updating Connectors list, please wait.
Update complete. A total of 752 connectors were found.
Preparing to parse file C:\Users\my.name\Downloads\Onlineappsprocessor(non-parallel)_20230802173204.zip, please wait.
Trying to process Solution, Apps, and Flows

Processing C:\Users\my.name\Downloads\Onlineappsprocessor(non-parallel)_20230802173204.zip
Processing workflow definition Microsoft.Flow/flows/4eab9565-6089-4fd3-96fe-85e472862299/definition.json
Created Graph C:\Users\my.name\Downloads\FlowDoc - Online applications (non-parallel)\flow.png
Created Graph C:\Users\my.name\Downloads\FlowDoc - Online applications (non-parallel)\flow-detailed.png
Preparing documentation content for Online applications (non-parallel)
Creating Word documentation
Created Word documentation for Online applications (non-parallel)
Creating Markdown documentation
Created Markdown documentation for Online applications (non-parallel)
FlowDocumenter: Created documentation for C:\Users\my.name\Downloads\Onlineappsprocessor(non-parallel)_20230802173204.zip. A total of 1 files were processed in 10.150801 seconds.
Processing C:\Users\my.name\Downloads\Onlineappsprocessor(non-parallel)_20230802173204.zip
AppDocumenter: Created Word documentation for C:\Users\my.name\Downloads\Onlineappsprocessor(non-parallel)_20230802173204.zip. A total of 0 files were processed in 0.0064091 seconds.
Processing C:\Users\my.name\Downloads\Onlineappsprocessor(non-parallel)_20230802173204.zip

Hey guys,
I thought I had the same issues as well but after some digging, the app does actually complete the documentation process - it just doesn't state that it's completed in the output log.
It creates the documentation in a separate folder within the directory that you ran PowerDocu from. (e.g. C:\Users\Downloads)
Hopefully this helps!

hello,
I found out the reason for my issue. Documents we indeed not created. it turned out that the company had run some restrictions in the environment, that stop the creation of the documents. I tried in another environments with the same version and it worked.


difference between GO:0042175 and GO:1990578

Hi,
I just wondered what the difference between these two terms is (if there is one):
GO:0042175 nuclear outer membrane-endoplasmic reticulum membrane network
GO:1990578 perinuclear endoplasmic reticulum membrane
thanks
Antonia.

If I'm reading the defs correctly, GO:0042175 is all of the ER membrane plus the outer nuclear membrane, whereas GO:1990578 is the membrane around the part of the ER that's close to the nucleus. And if that's right, it seems like it would also make sense for GO:1990578 to be part_of GO:0042175.
m

:------------------------------------------------------------------------
r30415 | mcourtot | 2015-12-16 14:58:52 +0000 (Wed, 16 Dec 2015) | 3 lines
added perinuclear endoplasmic reticulum membrane part of some nuclear outer membrane-endoplasmic reticulum membrane network as per https://github.com/geneontology/go-ontology/issues/12179


Carousel Events are incorrect

The carousel emits two events: slide and slid.
The official bootstrap docs state that the slide event should fire first: http://getbootstrap.com/javascript/#carousel-events. (This makes sense, since slid is the past tense of slide.)
In bootstrap.native, the slid event fires first. This is incorrect.
Here are JSBins demonstrating the problem:

jQuery bootstrap: http://jsbin.com/tapekeyata/edit?js,console,output
bootstrap.native: http://jsbin.com/hutibawuyi/1/edit?js,console,output

Notice the order that the events fire. This is a bug.
@thednp Urgent :exclamation:

I'm working on a PR.

OK, looking at it.

@thednp Done, #74.


TATB - 30 :[ BUG ] - When click skip button , pop up will remain even after question change

…domly in the quiz.
-Change the JSON file with Proper Format

-Change path everywhere to get data from JSON file. -Get Options in the quiz randomly

Wrong Changes


Alamofire 2.0 Compiler Issues - Swift 2 / Xcode 7

I am having trouble converting my project to Xcode 7 Beta related to the Alamofire 2.0 as shown on the screenshot below. Even created a test project with the following podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'Alamofire', '~> 2.0'
I also reinstalled cocoapods. Still same problem. Anyone have some idea how to fix this?

You need to update to the official Xcode 7.0 release.


convert js file to ts -- does not recognize tab indentation

i accidentally created a file as a .js file, and then renamed it to .ts.   When i did this, the tslint INSISTED that i was not using tabs to indent, even though i was.  The only way I could fix it was by making a keyboard binding for "indent using tabs" and apply it by doing that keyboard combination.
Later, a colleague and I were converting .js files to .ts that already existed, and we have the same problem

@egamma assigning to you since the problems come from TSLINT.

I cannot reproduce this given the information provided:

What is the tslint.json
what was the contents of the  .js file when you renamed it,
what was the exact error message from tslint?

I´ve tried to reproduce it with tslint.json
        "indent": [
            true,
            "tabs"
        ],

and a .js file that has a tab indent, but I could not reproduce the error.


Update go dependencies

This should fix the missing consumer errors:

https://github.com/go-openapi/runtime/issues/106
https://github.com/go-openapi/runtime/commit/17da9adfdb3ac94433ae7ca9e974d8ee7dc73265

Remove the modification to the write test.
Removing the retriable transport (and just using httptransport "github.com/go-openapi/runtime/client") the test passes again.
The actual error http: ContentLength=14 with Body length 28 comes from deep inside go's http package, it almost seems like the body is getting written twice somewhere? (28=14*2).
Anyway, it seems like there is something wrong with our retirableTransport now that we update dependencies.

Reverting https://github.com/netlify/open-api/commit/65ae820d952004f218069358259e2693df321aaa, but keeping the test makes the test pass again.

Closing in favor of https://github.com/netlify/open-api/pull/149

Closing in favor of https://github.com/netlify/open-api/pull/149


fix: handle keys which have uncommon url paths, such as /entries/{id}/data)

Fixes the issue when a OpenAPI specification file has a url such as /entries/{id}/data) the findMapMatch-function
throws a invalid regular expresison error.
Elements Default PR Template
In general, make sure you have: (check the boxes to acknowledge you've followed this template)

[x] Read CONTRIBUTING.md

Other Available PR Templates:

Release: https://github.com/stoplightio/elements/compare?template=release.md

[ ] Read the release section of CONTRIBUTING.md

Added test case

Could you also bump version in package.json? This way the change will get automatically released. Example commit: b769cf5

Done 👍

Can I also bring to your attention my issue I raised for your json-schema-viewer-package? I have a branch locally to add vendor extensions and wanted to discuss my change before raising the PR: https://github.com/stoplightio/json-schema-viewer/issues/236

That's more of a question for @mnaumanali94. For me it looks fine, you'd only need to filter out some properties we already consume in some way like x-internal or x-deprecated, and most likely x-stoplight which doesn't contain anything relevant.


Is the azureappconfiguration.kubernetesprovider already usable with ServicePrincipals?

Hey guys,
last week I spotted the release of the azureappconfiguration.kubernetesprovider.
https://learn.microsoft.com/en-us/azure/azure-app-configuration/quickstart-azure-kubernetes-service
Is it already possible to configure this provider to use a service principal to connect to an App Configuration? We are running some kubernetes clusters on prem and would like to integrate Azure AppConfiguration Services via the new provider. For the KeyVault CSI Provider, we are using the service principal connection method and it works like a charm!
I hope we can connect our containers to AppConfiguration soon.
With best regards,
Bjego

Hello @Bjego Thank you for reaching out.
This provider supports service principal authentication similar to how KeyVault CSI provider does.
You can create a secret with the service principal credential in the same namespace of your AzureAppConfigurationProvider resource:
kubectl create secret generic app-config-creds \
      --from-literal azure_client_id=<AZURE_CLIENT_ID> \
      --from-literal azure_client_secret=<AZURE_CLIENT_SECRET> \
      --from-literal azure_tenant_id=<AZURE_TENANT_ID>

Then you just need to refer to this secret in spec.auth.servicePrinicipalReference in your AzureAppConfigurationProvider yaml like:
apiVersion: azconfig.io/v1beta1
kind: AzureAppConfigurationProvider
metadata:
  name: appconfigurationprovider-sample
  namespace: appconfig-sample
spec:
  endpoint: https://<yourappconfig>.azconfig.io
  target:
    configMapName: configmap-name-to-create
  auth:
    servicePrincipalReference: app-config-creds

Let me know if you have more questions.

HI @zhenlan ,
thanks for the hints. Finally I am going to install the driver in kubernetes these days.
Do you have some more insights?
Do have to enable automatically reloading (like in the keyvault csi driver) ?
Is the a documentation about the AzureAppConfigurationProvider yaml config? Can I filter for e.g. labels and stuff like that?
Kind regards!

And could you please explain how the keyvault - pull through works?

Okay I got that working with the following yaml:
apiVersion: azconfig.io/v1beta1
kind: AzureAppConfigurationProvider
metadata:
  name: appconfigurationprovider-sample
spec:
  endpoint: https://XXXX.azconfig.io
  target:
    configMapName: appconfig-configmap
  auth:
    servicePrincipalReference: app-config-creds
  keyValues:
    keyVaults:
      auth:
        servicePrincipalReference: app-config-creds
      target:
        secretName: appconfig-secret
    selectors:
      - keyFilter: "*"
        labelFilter: mylabel
    trimKeyPrefixes:
      - "someprefix."

We are working on the auto refresh feature, it would be available soon in the upcoming new version.
It would polling a sentinel key ( a key that can be specified by user) periodically, that is similar to how key values be refreshed in the .Net provider.  Once the provider detects the sentinel key is changed, it will update the configmap and secret with the present data from your AppConfigruation store.

We are working on the auto refresh feature, it would be available soon in the upcoming new version.
It would poll a sentinel key ( a key that be specified by user) periodically, which is similar to how key values be refreshed in the .Net provider. Once the provider detects the sentinel key is changed, it will update the configmap and secret with the present data from your AppConfigruation store.

Just looked up the sentinel key docs. Could you considder using a simple cron pulling way as well?
In the keyvault csi provider - I can simply define a polling / sync intervall for all values - without the  need of a manual changed key.
And I think from the implementation perspective it's also even easier to implement.
https://azure.github.io/secrets-store-csi-driver-provider-azure/docs/configurations/enable-auto-rotation-secrets/
Not sure how you plan to implement the sync. But I could imagine something like the following yaml. And then the users of the provider can choose - do I want to have:

a simple time based rotation
a sentinal key based rotation, with maybe a labelfilter

I'm not quite sure about the sential key - as it is a manual process and people may forget to update it
apiVersion: azconfig.io/v1beta1
kind: AzureAppConfigurationProvider
metadata:
  name: appconfigurationprovider-sample
spec:
  refresh:
    intervall: 2m
    sentinalKey: my.sentinal.key
    sentinalLabelFilter: mylabel
  endpoint: https://XXXX.azconfig.io
  target:
    configMapName: appconfig-configmap
  auth:
    servicePrincipalReference: app-config-creds
  keyValues:
    keyVaults:
      auth:
        servicePrincipalReference: app-config-creds
      target:
        secretName: appconfig-secret
    selectors:
      - keyFilter: "*"
        labelFilter: mylabel
    trimKeyPrefixes:
      - "someprefix."

@Bjego the auto-refresh feature is available in the lastest preview3 release, would you like to give it a try?
You can find the yaml scheme here
The preview3 release here

Hi Richard, we've decided to go for normal config maps and keyvaults for now. Azure Appconfig is way too expensive compared with keyvault and other secret stores and we where only interested in storing our configs in several vaults. Having only a few appconfigs due to the costs makes the Appconfig very confusing due too many configs from several apps. But thank you for coming back with the release info! So maybe it's getting interesting again if we would use more features, or could have more of them like one per app (for a less price 😉).
Best regards!


Mdx timeout + pipenv update

Status
Ready
Related Issues
fixes: link to the issue
Description
Increase timeout on mdx verification to be on the safe side.
Screenshots
Paste here any images that will help the reviewer

@Itay4 MS ATP preview: https://deploy-preview-216--demisto-content-docs.netlify.app/docs/reference/integrations/microsoft-defender-advanced-threat-protection


Codecov check should fail if jacoco does not create a report instead of hanging

As we realized in PR #25 , if for any reason the jacoco plugin is not able to generate a report, the codecov check hangs forever.
A more consistent behavior would be that this check fails, making the developers aware that some changes in their PR caused the problem.

Feature request
Expected Behavior - What where you expecting to happen?

If any change prevents the jacoco plugin to generate the report the codecov check fails instead of hanging forever.
Current Behavior - What happens?

If  the jacoco plugin to generate the report the codecov check hangs forever.
Possible Solution

Adapt the travis.yml build configuration file to fail if the jacoco report is not generated.
Context

Notes and further information

closed by #78 . thanks a lot for your contribution @davu-all & @pfistererm


WIP - PandasExcelReader and Writer initial implementations and tests

[Short description explaining the high-level reason for the pull request]
Changes

pandas_extensions.py: wrote the pandas excel reader and writer files, based off the pandas IO docs
test_pandas_extensions.py: tests for both of the functions

How I tested this
Created a mock df which was written into an Excel file and then read back.
Notes

The Pandas Excel docs specify a bunch of other classes in addition to the read_excel and to_excel that don't deal only with data frames. Should I include these classes in the wrappers?
converting to Excel and then back to Pandas has some issues with data type conversion. I have had to add a dtype_dict to specify the inputs needed but I'm not sure how feasible this will be in practice. Please advise.
The extensions and test files are getting a little messy with all the new contributions. Would it be too far out of scope to do a little cleanup? Also on the refactoring note, there are now two plugin packages under tests.
The tests for pandas plugins are fairly dissimilar. Should I write the tests the way I have done here where I tested the reader and writer in one function? Or should I use the style that was employed for the JSON and SQL readers with a dummy file in the resources package?

Lot's of questions and notes, sorry about that. Hopefully, we can try solve them sequentially.
Checklist

[ ] PR has an informative and human-readable title (this will be pulled into the release notes)
[ x] Changes are limited to a single goal (no scope creep)
[ x] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
[ x] Any change in functionality is tested
[ x] New functions are documented (with a description, list of inputs, and expected output)
[ x] Placeholder code is flagged / future TODOs are captured in comments
[ ] Project documentation has been updated if adding/changing functionality.

The Pandas Excel docs specify a bunch of other classes in addition to the read_excel and to_excel that don't deal only with data frames. Should I include these classes in the wrappers?

read_excel and to_excel are fine for now.

converting to Excel and then back to Pandas has some issues with data type conversion. I have had to add a dtype_dict to specify the inputs needed but I'm not sure how feasible this will be in practice. Please advise.

If people need to think about this usually, then in the tests/examples putting in something that works wouldn't be unreasonable either. I assume it's only required for reading from excel ?

The extensions and test files are getting a little messy with all the new contributions. Would it be too far out of scope to do a little cleanup? Also on the refactoring note, there are now two plugin packages under tests.

What sort of clean up did you have in mind? Alphabetically grouping them? or?

The tests for pandas plugins are fairly dissimilar. Should I write the tests the way I have done here where I tested the reader and writer in one function? Or should I use the style that was employed for the JSON and SQL readers with a dummy file in the resources package?

Yeah I was mulling over this myself. I'm fine with both. But I think we should standardize. I am inclined to say, not adding a resource file is probably simpler. So writing and then reading in one test. That way it'll exercise that what we write can be read, and we won't have to worry about "versions" of those formats (since that's not something we control).

You have some python3.7 incompatibility to fix, and need to add openpyxl to requirements-test.txt to fix the tests I think.

read_excel and to_excel are fine for now.

Okay perfect, will leave them as is.

If people need to think about this usually, then in the tests/examples putting in something that works wouldn't be unreasonable either. I assume it's only required for reading from excel ?

Yeah, it saves fine into an excel file. Regarding the examples, I'm trying to write the my_script.py but am getting a ModuleNotFound error for hamilton, same as with the Jupyter Notebook from #303 . I tried installing sf-hamilton but it hasn't worked. Do you have any advice?

What sort of clean up did you have in mind? Alphabetically grouping them? or? Otherwise there's plugin_tests which is different from tests/plugins. The former is more for integration testing graph adapters, the latter is for unit tests. We want to keep them separate because they test different things. But I should document that to make that clearer.

Ah, I see the difference now.

Yeah I was mulling over this myself. I'm fine with both. But I think we should standardize. I am inclined to say, not adding a resource file is probably simpler. So writing and then reading in one test. That way it'll exercise that what we write can be read, and we won't have to worry about "versions" of those formats (since that's not something we control).

Okay, I've written the test as you suggest and will leave it that way.

Hey @skrawcz. I've put in the logic to the my_script.py file but I am getting the following error:

I have registered the loader in pandas_extentions.py so I'm not sure how to resolve this error.

@benhhack yeah I think you had a rebase issue? You've reverted a few things.
Note: you have also replaced the XML reader and writer with the Excel one. The excel one should be a new addition.
So there's a litte bit of work here to fix up this PR. It might be simpler to create a new branch. That is, ensure your main is up to date, and create a new branch and port your changes across. Then open a new PR using that branch.
If you need help, happy to point you towards some git resources to help.

Yup it seems I've made a mess of this. Am going to cut my losses and refork because I was working from my main branch. Expect a new PR soon.


Instance Overview.json error message when importing

When I import the Instance Overview.json I receive the following message:
Templating init failed
Datasource named was not found.
I can enter InfluxDB at the top left of the Dashboard and it functions correctly but it does not save the variable setting so I have to repeat this each time I open the Dashboard

The template really looks for the name of the data source to be InfluxDB-01, so I would rename to that if isn't named that and see if that fixes your issue.

Thanks for the response. I actually resolved it by changing the definition of the Datasource variable to remove the Instance name filter and it then showed InfluxDB in the preview of values


feat: add config and dash effect

Codecov Report
Attention: 22 lines in your changes are missing coverage. Please review.

Comparison is base (127d600) 5.77% compared to head (14b8436) 5.78%.
Report is 42 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@          Coverage Diff          @@
##            main    #228   +/-   ##
=====================================
  Coverage   5.77%   5.78%
=====================================
  Files         65      66    +1
  Lines       3357    3372   +15
  Branches     681     685    +4
=====================================
+ Hits         194     195    +1
- Misses      2499    2509   +10
- Partials     664     668    +4

Flag
Coverage Δ

unittests
5.78% <8.33%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

packages/util/src/lib/context2d.ts
53.84% <100.00%> (+0.51%)
:arrow_up:

packages/util/src/lib/config.ts
0.00% <0.00%> (ø)

packages/renderer/src/draw/elements.ts
0.00% <0.00%> (ø)

packages/renderer/src/draw/base.ts
0.00% <0.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Make nearbyhint generic implementation compatible with -ffast-math

Fix #515

@JohanMabille  That was a tricky one to nail down!

Good catch!


Octopod not able to cancel/pause prints

Hello there,
For a while now I can start prints from octopod but the buttons to cancel/pause the prints are all greyed out.
What can I do the re-enable the buttons?
Cheers from Germany

Hi @Drakurius , there is a security setting that will disable actions that may compromise the running print. In OctoPod, go to Settings -> Security and disable "Auto-lock while printing". If that check is disabled then make sure that "Lock read-only mode" is also disabled.


feat(frontend): Add actions to send feedback to backend

Partially addresses #1802
Summary

Extends the Session class to store event history from both agent and user.
Introduces two buttons (thumbs up and thumbs down) that sends back session history up to that point to backend created by @neubig
Conditionally renders these buttons when message length (agent + user) is > 3
Hides buttons after clicking on either button
Removes LLM_API_KEY before sending data

Notes
The data that is sent is of type Record<string, unknown> (Dict[str, Any]) and includes an email key according to @neubig API request definition. We currently do not store any user email, therefore the value is hardcoded to 'NOT_PROVIDED'
This was a quick PR, so the chat interface component tests were not extended to reflect this feature

Introduces two buttons (thumbs up and thumbs down)

Why not share button?
It misleads that these buttons provide feedback to the LLM itself.

Yeah, we're working on making it more clear what this does by popping up an explanation the first time a user provides feedback. Sorry this is taking a while, I'll try to finish it ASAP.

Would be better to disable that backend for a while. Some people may consider it as a privacy issue.

Good point, I disabled the backend now and will delete the existing ones until we can fix it. Thanks for flagging!


initial_setup not passing DOT_REPO to clone_dotrepo

Describe the bug
initial_setup not passing DOT_REPO to clone_dotrepo, missing the $.
To Reproduce
Use initial_setup flow
Expected behavior
Repo is cloned
Actual
Getting:
fatal: repository 'DOT_REPO' does not exist
[❌] DOT_REPO Unavailable. Exiting
PD: Really nice, dotfiles manager :raised_hands: Thanks!

@all-contributors please add @fpitters  for bug

@all-contributors please add @fpitters  for bug


Page link broken

Problem description

The link from https://docs.docker.com/engine/reference/commandline/export/ to https://docs.docker.com/v17.03/engine/tutorials/dockervolumes/#backup-restore-or-migrate-data-volumes results in "page not found"
Problem location

I saw a problem on the following URL:
https://docs.docker.com/v17.03/engine/tutorials/dockervolumes/#backup-restore-or-migrate-data-volumes

I couldn't find the information I wanted. I expected to find it near the following URL:

Other:

Project version(s) affected

Suggestions for a fix

@ibeauser Thank you for your feedback. This issue has now been fixed.


[Feature] Trace more language

Is your feature request related to a problem? Please describe.
Tracing python is cool, tracing more language is super cool :+1:
Describe the solution you'd like

Auto detect the language behind a PID, so we do not need to specify the language of a process
Attach probes to the right functions in order to collect latency and rate

fixed in 6d6a6c4a7da4ddfa4633459b48acc0d5fcf92c04


Add rest.Config to fake context

When we use testing.SetupFakeContext, we create a rest.Config, but don't add this to the context. Some reconcilers might need this config in the context.
This PR adds the rest.Config to the context (as it is created anyhow).
Changes

:broom: Add rest.Config to fake context from SetupFaceContextWithCancel

/cc @pierDipi


Feature/421 settings description

Closes #421

:tada: This PR is included in version 2.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Is there a support for --build-arg?

Add support for --build-arg:
I would expect to have a option to define something like this under configuration:

<RELEASE_DATE>${today}</RELEASE_DATE>
${my_license}

Thanks

This was added in #184 and should be available in the most recent version of the plugin


We should consider averaging distance values

I'd like to discuss why we are using this formulation to compare distances. It would seem to me that a mean or median would be ideal, since it doesn't bias larger sample sets.
https://github.com/sgosline/proteomicsTumorDeconv/blob/c6f149e2b2cc607e53bd7589101bef4a3fe76f3d/perfEval/figures/combine_results.R#L151

Solved by #158  now it is calculated with mean


update dependencies

fixes #188
I have read all release notes, no breaking changes detected
funny fact:
fork-ts-checker-webpack-plugin should have breaking change, but in the commit history I see, all of them was reverted by community

Thanks


41 Customized verify tests

Fixes #42 and #41 .
Description
This PR is used to:

add a verify function to check "version" and "changelog" in the metadata file of a bundle.
let contributors be able to select which verification tests that are necessary for submitted bundle.
modify the format of model_info.json, where a key is consistent with the compressed file name in release. Otherwise, the json file will only contain the latest version of each bundle.

Status
Work in progress
Please ensure all the checkboxes:

[x] Codeformat tests passed locally by running ./runtests.sh --codeformat.

/build

Test 1: If changing an existing bundle but does not update the version in metadata, error will be raised (see: https://github.com/Project-MONAI/model-zoo/pull/45/commits/2c1f29dc1d7de9afd83f62efa144d0fbdfe066d6)

/build

Hi @yiheng-wang-nv ,
models/model.pt and models/model.ts are not "must-have" for a bundle. A bundle can only have the workflow configs.
Thanks.

/build


Design NEW OSS Repo structure 4 Unified Data-Engines

Design the structure of the new  OpenEBS OSS project that contains 4 Data-Engines in 1 product.

LocalPV-Hostpath
LocalPV-LVM
LocalPV-ZFS
Mayastor

Take into account the Helm installation process and user experience for net-new installs as well as migrations from old versions and upgrades..

Outstanding decisions for @avishnu

What are we doing with Rawfile-LocalPV repo ?

@orville-wright  and @tiagolobocastro believe that it has great value and should be included in the new OpenEBS OSS repo

How do be prove that this work is complete ?

do we have a document or visual diagram of some kind that we can attach to comments here?

With the release 4.0.0, OpenEBS now has a simplified and unified installer for installing the local (Local PV Hostpath, Local PV LVM, Local PV ZFS) and replicated storage (Replicated PV Mayastor).
Refer the documentation.


config update for mindpx-v2.

@LorenzMeier  Please help to merge this PR.
User could not calibrate sensors on MindPX, due to not having enough file descriptors. #5070
Thank you in advance.

Jenkins test this please

rebased & applied

Thank you! @bkueng


fixed issue #2189 - [merged]

In GitLab by @liyanq528 on Dec 24, 2019, 08:00
Merges issue#2189 -> dev

In GitLab by @liyanq528 on Dec 25, 2019, 02:40
added 1 commit

eed085ca - test gitlab ci

Compare with previous version

In GitLab by @liyanq528 on Dec 25, 2019, 05:52
added 39 commits

eed085ca...8590fead - 30 commits from branch TechnologyCenter:dev
7b779db0 - debug gitlab ci
a213c979 - debug gitlab ci
f18ad738 - debug gitlab ci
5d76e8b1 - debug gitlab ci
3050662e - debug gitlab ci
535423b9 - debug gitlab ci
fbc18444 - Merge remote-tracking branch 'upstream/dev' into dev
0831d9c2 - Merge branch 'dev' into issue#2189
14e9d2f7 - for gitlab ci

Compare with previous version

In GitLab by @liyanq528 on Dec 25, 2019, 06:01
closed

In GitLab by @liyanq528 on Dec 25, 2019, 06:01
reopened

In GitLab by @liyanq528 on Dec 26, 2019, 02:12
added 17 commits

14e9d2f7...0cb7fcc2 - 12 commits from branch TechnologyCenter:dev
ecb2c5ee - Merge branch 'dev' of open.inspur.com:TechnologyCenter/board into dev
5c58bc54 - debug git lab ci
827c0782 - debug gitlab ci
d64c7d10 - debug gitlab ci
e8990c29 - merge dev

Compare with previous version

In GitLab by @liyanq528 on Dec 26, 2019, 02:13
added 1 commit

10a3ad6a - merge dev

Compare with previous version

In GitLab by @liyanq528 on Dec 27, 2019, 05:55
changed title from fixed issue#2189 to fixed issue{+ +}#2189

In GitLab by @wknet123 on Dec 27, 2019, 08:03
mentioned in commit e5148d5f61b278b2897a234e562c754d3b4113ef

In GitLab by @wknet123 on Dec 27, 2019, 08:03
merged


[Mx4PC] - new release for Mendix Operator, planned for release on Monday, March 11

We've prepared a new bugfix release of the Private Cloud Operator and are planning to release it on Monday, March 11.
This MR includes release notes.

Release confirmed over Slack.


Small booboo fix/update README.md

The still images of the apps were backward. I also failed to mention Typescript. Copy/pasting into the nsc-events repo helped me spot the mistakes. I fixed both.

Good eye Taylor. No, it is spelled Kotlin. Thanks for catching that. I requested a re-review from both you and BC.


[WSL1] LeakSanitizer always encounters fatal error on exit with any cpp compiled with g++.

Environment
Windows build number: Microsoft Windows [Version 10.0.18363.1198]
Distribution version: Ubuntu 20.10
g++: (Ubuntu 10.2.0-13ubuntu1) 10.2.0
clang++: Ubuntu clang version 11.0.0-2
Running on WSL 1

Steps to reproduce
Compile & execute main.cpp with contents int main() {return 0;} with -fsanitize=leak using the following commands:
echo "int main() {return 0;}" > main.cpp
g++ -fsanitize=leak main.cpp -o main.out
LSAN_OPTIONS=verbosity=1:log_threads=1 ./main.out

Expected behavior
No errors are expected since this is the simplest possible empty cpp file.
Actual behavior
LeakSanitizer encounters a fatal error on every .cpp I have tried when compiling with -fsanitize=leak.
The command exits with non-zero status and has the following output:
==10034==Installed the sigaction for signal 11
==10034==Installed the sigaction for signal 7
==10034==Installed the sigaction for signal 8
==10035==Processing thread 10034.
==10035==Stack at 0x7fffe601a000-0x7fffe681a000 (SP = 0x7fffe6817ea8).
==10035==TLS at 0x7fbb15b0ff40-0x7fbb15b1ebc0.
Tracer caught signal 11: addr=0x7fbb15b0ff40 pc=0x7fbb15d788a0 sp=0x7fbb149f0ce0
==10034==LeakSanitizer has encountered a fatal error.
==10034==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
==10034==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)

I believe signal 11 stands for segmentation fault. Trying to debug with gdb and LSAN_OPTIONS=verbosity=1:log_threads=1:abort_on_error=1 results in an abort with the following call stack:
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1  0x00007ffffecd6864 in __GI_abort () at abort.c:79
#2  0x00007ffffeebfd32 in ?? () from /lib/x86_64-linux-gnu/liblsan.so.0
#3  0x00007ffffeecb3ec in ?? () from /lib/x86_64-linux-gnu/liblsan.so.0
#4  0x00007ffffeeaa2bc in ?? () from /lib/x86_64-linux-gnu/liblsan.so.0
#5  0x00007ffffeeaa2f9 in ?? () from /lib/x86_64-linux-gnu/liblsan.so.0
#6  0x00007ffffecf518e in __cxa_finalize (d=0x7ffffeefb320) at cxa_finalize.c:83
#7  0x00007ffffeea6e87 in ?? () from /lib/x86_64-linux-gnu/liblsan.so.0
#8  0x00007ffffffed850 in ?? ()

The error seems to happen after main() is finished and the program is doing final cleanup.
Compiling with clang++ 11.0.0-2 on my machine on WSL1 results in the exact same output.
However, compiling with g++ 10.2 on ubuntu 20.10 on an actual linux machine does not result in this issue. That is why I suspect this might have something to do with WSL.
The strace can be found here:
https://gist.github.com/hbirler/37f84102cbd1dbfa519a98c9bcf9cadf
Compiling and running without -fsanitize results in no errors and the program exits with code 0.

Version 10.0.18363.1198

Thank-you for the concise report and strace log. Cannot reproduce on WSL1 20270:

There were improvements with respect to the sanitizer in #3589 that were assumed to make 1903 (aka 18363) but maybe it didn't. Call this fixed in WSL2 out of an abundance of caution. If it is fixed in WSL1 19042, so much the better ("that too").

On my machine, test it with g++9.3.0 on both ubuntu18.04 and ubuntu20.04 on WSL1 with no error
windows Version 10.0.19042.662

Hi. I upgraded my machine to Windows 20.10 (Build 19042.685), did a clean install of Ubuntu 20.10 from https://cloud-images.ubuntu.com/groovy/current/groovy-server-cloudimg-arm64-wsl.rootfs.tar.gz with WSL 1 and retried with both g++-10 and g++-9 and the problem seems to persist.
LSAN_OPTIONS=verbosity=1:log_threads=1 ./main.out
==9070==Installed the sigaction for signal 11
==9070==Installed the sigaction for signal 7
==9070==Installed the sigaction for signal 8
==9071==Processing thread 9070.
==9071==Stack at 0x7fffc5cbb000-0x7fffc64bb000 (SP = 0x7fffc64b8588).
==9071==TLS at 0x7febfce5ff40-0x7febfce6ebc0.
Tracer caught signal 11: addr=0x7febfce5ff40 pc=0x7febfd0c88a0 sp=0x7febfbdf0ce0
==9070==LeakSanitizer has encountered a fatal error.
==9070==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
==9070==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)

A signal 11 is still caught.
Here is the strace:
https://gist.github.com/hbirler/1b43ffe24a6a102f9daeec15ed4a1684
Some additional info:
> cat /proc/version
Linux version 4.4.0-19041-Microsoft<EMAIL_ADDRESS>(gcc version 5.4.0 (GCC) ) #488-Microsoft Mon Sep 01 13:43:00 PST 2020
> g++ --version
g++ (Ubuntu 10.2.0-13ubuntu1) 10.2.0
> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.10
Release:        20.10
Codename:       groovy

Cpu Model: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
I would be happy to dive deeper into debugging the issue myself, however, I am at a loss when it comes to how LSAN works, how WSL might cause an issue with LSAN and what in general could be the cause of such a problem. Any resources which I could learn from in order to debug this issue would also be appreciated.
Switching my Ubuntu installation to WSL2 solves the issue. So this is a WSL1 issue somehow. (I currently prefer to stay with WSL1 due to faster Windows FS performance.)
Switching to WSL1 once again results, as one would expect, in a signal 11 being caught.


#5930 reimplement table index column menu

Thanks, this fixes the truncation but it introduces a problem.
As you know the old table menu item "Show Column" had some special behavior that we need to keep.
When the user clicks on the items for the columns, the old menu stayed open.
The new menu closes on click.
It should stay open until the mouse leaves the menu.
Possible?


[Issue]

[x] Make sure you've installed the latest version using instructions in the wiki

Output from azd version
Run azd version and copy and paste the output here:1.0.1
Describe the bug
Description of issue you're seeing...
To Reproduce
Steps to reproduce the behavior...
Expected behavior
A clear and concise description of what you expected to happen.
Environment
Information on your environment:
* Language name and version
* IDE and version : [e.g. Visual Studio 16.3]
Additional context
Add any other context about the problem here.

@mokwenak not sure if it was accidentally filed. Couldn't find much details on the issue. Can you add more details?

@mokwenak - Feel free to re-open this with more content


Getting Slicer-Liver to work on Windows

Current status Windows build issues

Building Slicer in release mode with Visual Studio Community 2022 don't work. See https://discourse.slicer.org/t/problem-with-slicer-built-in-release-mode-on-windows/23534/2
Building Slicer in debug mode with Visual Studio Community 2022 seems to work, but an installed VMTK extension won't work (Error: VMTK library is not found)

This is the same error I get on Windows when trying to build the VMTK extension myself

Building Slicer in release mode with Visual Studio Professional 2019 works, after updating VS to the latest version (16.11.15). Not using the latest version cause the release build to fail, at least the 16.8 version I used.

Installing the VMTK extension from the extension manager works
Slicer-Liver works in this build configuration!
Building the VMTK extension still don't work (Error: VMTK library is not found)

Probably a configuration issue, but I can't get it to work

Debug build in VS 2019 is still under way...

Summary:
The only option that currently works on Windows is to build in release mode on VS 2019, and installing VMTK from the extension manager. VS 2019 need to be updated to the latest version.

Thanks @olevs, for the thorough review! It is good that release + VMTK from EM works, that would be the most likely distribuition of the binaries. I suggest that we live with this until we include it in the extension manager. If it fails there, we will have the opportunity to fix things with the help of the Slicer developers.


Existential operator doesn't bind scope as expected when used with functions

Take the following code:
global.install-win??.focus??()

An over-simplified version of the assignments/executions in JS might be:
tmp$0 = global.installWin;
tmp$1 = tmp$0.focus;
tmp$1();

This doesn't retain the correct function scope and may cause bugs/errors. I would suggest:
tmp$0 = global.installWin;
tmp$1 = tmp$0.focus;
tmp$1.bind(tmp$0)(); // or perhaps `func.apply()` is better (more performant)?

Might be cool to soak up 'x is not a function' errors too:
if (typeof(tmp$1) === 'function') {
   tmp$1.bind(tmp$0)();
}

Thinking about it, might be easier to not bind at all and just call the function in the context of the parent scope:
tmp$0.focus();


[New app]: Proton VPN

What is the new application?
Browse privately with a secure VPN. Protect yourself online with a fast and reliable VPN
Downloads: https://protonvpn.com/download/windows-releases.json
Vendor site
https://protonvpn.com/
Does the vendor require a sign-in to download the app?
No
Does the application include an updater?
Yes
Have you reviewed the list of supported applications?

[X] Supported apps at: https://stealthpuppy.com/evergreen/apps/

Is this a new version?  What makes proton vpn new?

I have just created the Manifest and App scripts to do this - I hope these help @aaronparker ?:
Manifest: ProtonVPN.json:
{
	"Name": "ProtonVPN",
	"Source": "https://protonvpn.com/",
	"Get": {
		"Uri": "https://api.github.com/repos/ProtonVPN/win-app/releases/latest",
        "MatchVersion": "(\\d+(\\.\\d+){1,4}).*",
        "MatchFileTypes": "\\.exe$"
	},
	"Install": {
		"Setup": "ProtonVPN*.exe",
		"Physical": {
			"Arguments": "/VERYSILENT /NORESTART /NOCANCEL /SP- /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS /COMPONENTS=\"icons,ext\\reg\\shellhere,assoc,assoc_sh\"",
			"PostInstall": []
		},
		"Virtual": {
			"Arguments": "/VERYSILENT /NORESTART /NOCANCEL /SP- /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS /COMPONENTS=\"icons,ext\\reg\\shellhere,assoc,assoc_sh\"",
			"PostInstall": []
		}
	}
}

Apps script: Get-ProtonVPN.ps1:
Function Get-ProtonVPN {
    <#
        .SYNOPSIS
            Returns the latest ProtonVPN version number and download.

        .NOTES
            Author: Adrian Scott
    #>
    [OutputType([System.Management.Automation.PSObject])]
    [CmdletBinding(SupportsShouldProcess = $False)]
    param (
        [Parameter(Mandatory = $False, Position = 0)]
        [ValidateNotNull()]
        [System.Management.Automation.PSObject]
        $res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1])
    )

    # Pass the repo releases API URL and return a formatted object
    $params = @{
        Uri          = $res.Get.Uri
        MatchVersion = $res.Get.MatchVersion
        Filter       = $res.Get.MatchFileTypes
    }
    $object = Get-GitHubRepoRelease @params
    Write-Output -InputObject $object
}


Split up the main heat network into three separate networks

For the heat project the main heat network should be split up into three separate ones, one for each temperature level: HT, MT and LT. They should all work exactly the same, but should only target nodes that have their heat_network.temperature attribute set to one of these levels.

[x] Create three networks
[x] Calculate them in order: HT, MT, LT
[x] Make each of them user sortable
[x] Make a download available through API for each of them

Done on branch heat-2023, will be merged on completion of full project


Important: Install this App for All repos in the Org

I understand that we can include/exclude repos via deployment-settings.yml but that means adding/removing repos from management requires a change to our k8s cluster. Is it possible to limit repositories via files in the admin repo, or via the GitHub App Installation?
We tried installing the app on only a handful of repos for testing, but we are getting HttpError: Integration not found on some of our webhook events. Is this because we did not follow the advice in the deploy guide to install on ALL repos? Why is that a requirement and what is expected to break if only some repos are installed?

Disregard the HttpError: Integration not found errors, we found an issue with our PRIVATE_KEY value.
The original question stands though, does the GitHub app need to be installed on all repos to operate on only a select few for testing?

In testing it seems that installing on all repos is NOT required, just the admin repo and the repos you intend to configure.


add label

/cib

:tada: This issue has been resolved in version 1.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


ajax call not working after button click

My confirmation has yes and no buttons.  I want to execute an ajax response for Yes and do nothing on No.  Currently nothing happens with the Yes button.  I've confirmed that it's executing the code in the Yes function through alerts.  I also tried using onAction with no success.
My jquery code is in a separate .js file and I'm using MVC.  The url calls an action in the controller.
function Audit() {
    event.preventDefault();

    $.confirm({
        title: 'Audit',
        content: 'Do you want to give all items the same note?',
        buttons: {
            Yes: function () {
               return $.ajax({
                    url: '/Application/Audit',
                    data: {
                        'envId': environment,
                        'servTypeId': serverType,
                        'servId': server
                    }
                });
            },
            No: function () {
                return false;}
        },
        onAction: function (Yes) {
            $.ajax({
                url: '/Application/Audit',
                data: {
                    'envId': environment,
                    'servTypeId': serverType,
                    'servId': server
                }
            });
        }
    })
}

How can I get the confirm to execute the ajax call?

You're firing the ajax call twice here,
The first one inside the button object should work,
please create a jsfiddle for the issue


Template containing text "null" causes error if templateSettings has evaluate undefined

The following code differs from an example in the documentation only in the content of the template string, but it results in a TypeError.
_.templateSettings = {
  interpolate : /\{\{(.+?)\}\}/g
};

var template = _.template("Hello null {{ name }}!");
template({name : "Mustache"});

A TypeError also occurs if the template string contains the text "undefined", probably due to the lack of templateSettings.escape regex.

Thanks for reporting this.


Simulation with dirvenable human model

Hi author,
Thx for your great work on cloth simulation. Since there are many ways to reconstruct dynamic human geometry along with cloth parsing masks. I wonder can this work simulate cloth given a sequence of dynamic human 3D models?

Hi,
Not yet as the collision detection algorithm implemented in the codebase only supports simple geometry primitives (sphere, plane, capsules etc.). Once a collision detection algorithm for arbitrary meshes are implemented I think supporting  human models will be trivial ( See https://github.com/omegaiota/DiffCloth/issues/10 ).


Typing for multiple PathTypes (and support Traversable) for SettingsConfigDict json_file, toml_file, yaml_file, etc

There are issues with the typing for the file options for SettingsConfigDict:

They are typed as PathType | None despite documentation indicating they accept lists (which indeed they do).

https://github.com/pydantic/pydantic-settings/blob/bcbfd17affa5a90663c9afc5a7dc67b281a728dc/pydantic_settings/main.py#L43-L46
The documentation indicates this at: https://docs.pydantic.dev/latest/concepts/pydantic_settings/#other-settings-source

PathType could, but does not not include importlib.resources.abc.Traversable:

https://github.com/pydantic/pydantic-settings/blob/bcbfd17affa5a90663c9afc5a7dc67b281a728dc/pydantic_settings/sources.py#L87
I should note that if one provides a Traversable, it does currently work, indicating the subset of Path functionality used by pydantic-settings is within the Traversable subset of Path.
In the example below, I pass a Traversable, and I have verified in a test that it does indeed load the packaged resource file just fine.

Motivation
A somewhat useful pattern is to package a default configuration file inside a Python package. For example:
class FoobarSettings(BaseSettings):
    data_dir: Path

    model_config = SettingsConfigDict(
        env_prefix="foobar_",
        toml_file=[
            resources.files("foobar").joinpath("foobar.defaults.toml"),
            "foobar.toml"
        ],
    )

    @classmethod
    def settings_customise_sources(
            cls,
            settings_cls: type[BaseSettings],
            init_settings: PydanticBaseSettingsSource,
            env_settings: PydanticBaseSettingsSource,
            dotenv_settings: PydanticBaseSettingsSource,
            file_secret_settings: PydanticBaseSettingsSource,
    ) -> tuple[PydanticBaseSettingsSource, ...]:
        default_sources = super().settings_customise_sources(
            settings_cls, init_settings, env_settings, dotenv_settings, file_secret_settings
        )
        return *default_sources, TomlConfigSettingsSource(settings_cls)

And then have in src/foobar/foobar.defaults.toml:
data_dir = ".foobar/data"

This currently works. However, it will not type-check.

Currently I bypass this by simply using typing.cast to cast Traversable into Path. This is a bit brittle as there's no guarantee pydantic_settings won't eventually start using something Traversable doesn't support, but at least today it does indeed work.

Thanks @DylanLukes for bringing this up.
Would you be interested in working on fixing and creating a PR?


optional silent parameter to not output the license key

Hi!
Thank you for the quandl api!
please consider merging this - if you want to use Quandl.lj in a jupyter notebook and then publish it on Github you probably do not want to print your Quandl Api Key :)
Best wishes,
Vladimir

Thanks!


Added *_wpftmp.csproj to VisualStudio.gitignore

Reasons for making this change:
The temp proj file generated by msbuild for wpf projects was renamed from *.tmp_proj to *_wpftmp.csproj
Links to documentation supporting these rule changes:
https://github.com/Microsoft/msbuild/blob/master/documentation/wiki/MSBuild-Tips-%26-Tricks.md#diagnose-wpf-temporary-assembly-compilation-issues

Also the name of the project was renamed from *.tmp_proj to *_wpftmp.csproj so the file extension is now C#: WpfApp1_jzmidb3d_wpftmp.csproj

@JeffCyr thanks!


Can't send Massage to Offline User

can you please add functionality to send messages to users even when they are offline. Offline messages should received when the users come back online. same as the function is BeeBeep Massenger

I am not the developer, but as there is no central server who could store the message and deliver it when the target is available again it might be hard to implement.
If so - the sending client would need to keep trying to send until the target returns (but what happens when sender goes offline and sender goes online after that?)

Hello,
Each local user can store a "pending" message list per user they want to have receiving. Each time the local client gets the "user X online" notification, that can trigger a "send pending" event that will try a couple of times as in the normal course if you sent it yourself at that delayed point in time. if you want to limit how much is pending per user, that could be set and a message "please waiting for existing pending to send" so they know things are in the queue. You could either make all messages start in the queue and save to the list if  not responding, or all a toggle for "immediate only" if you don't want things waiting around to send. Thank you. Good day.


Remove the pages to be updated

Purpose
This PR is to remove the following pages from the site nav and add redirections for them.

Connectors > Microsoft Azure Storage Example 1.x
Create Artifacts > Create an Inbound Endpoint

Note: Once the pages are updated remove the redirections.

Create an issue to track the task.


Bug in Video Search - when choosing 'none of those'

When you choose "none of those" you should be taken back to the main page.
That used to happen.
But now, it takes the user to the sign NONE !!

I went to test this, but the sign search does not seem to be working.  I got this far,

but no further:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /dai/s/videosearch.
Reason: Error reading from remote server

Now when I choose "None of those" the window closes completely and the search quits.
It may be because the server is down; thumbnails are not showing, and the source video also does not play.  Will need to check again when everything is functioning.


updated kubernetes to Kubernetes in docs and README.md

Capitalized Kubernetes in documentation, design.md and README.md.

Can we merge this @bcle , @chinmaykolhatkar ? I don't have permissions to merge. And /lgtm is symbolic only. :-)


Enhances example of Observer implementation, with actual change. Fixes #470

Thanks for the fix @luke-navitas!


Update redis4cats-effects, ... to 1.7.0

About this PR
📦 Updates

dev.profunktor:redis4cats-effects
dev.profunktor:redis4cats-log4cats

from 1.1.1 to 1.7.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.profunktor" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.profunktor" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #296.