Transition does nothing

The transition does nothing. Am I doing something wrong here? Can't share the code because the sandbox (https://codesandbox.io/s/zrqyz7pr44) works fine, but within my actual application, it doesn't work and I can't share the app code itself. Tried putting a break point on renderPropertyTable function when routeDetails is not null but it appears that render function is never called. Why is that?
using v5.3.17
<Transition native from={{ opacity: 0}} enter={{ opacity: 1}} leave={{ opacity: 0}} routeDetails={this.state.routeDetails} onInfoTableClose={this.onInfoTableClose}>
                {routeDetails && this.renderPropertyTable}
</Transition>

    renderPropertyTable({onInfoTableClose, routeDetails, ...styles}){
        return <animated.div style={styles}>
            <PropertyTable
                columnCount={2}
                properties={routeDetails.responseContent}
                title={routeDetails.name}
                onClose={onInfoTableClose}/>
        </animated.div>;
    }

That looks correct. If it works in csb, some local Babel stuff interfering perhaps?

Actually using Typescript, this is the transpiled output:
React__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
	react_spring__WEBPACK_IMPORTED_MODULE_26__["Transition"],
	{ 	native: true,
		from: { opacity: 0 },
		enter: { opacity: 1 },
		leave: { opacity: 0 },
		routeDetails: routeDetails,
		onInfoTableClose: this.onInfoTableClose
	},
	routeDetails && this.renderPropertyTable)

Package.json:
{
  "name": "ui",
  "version": "1.0.0",
  "description": "front end",
  "scripts": {
    "copyLibs": "node copyLibs.js",
    "dev": "./node_modules/.bin/webpack-cli --config webpack.dev.config --mode development",
    "prod": "./node_modules/.bin/webpack-cli --config webpack.prod.config --mode production",
    "deploy": "npm run copyLibs && npm run prod"
  },
  "private": true,
  "devDependencies": {
    "@types/bluebird": "^3.5.20",
    "@types/immutable": "^3.8.7",
    "@types/jquery": "^3.3.3",
    "@types/lodash": "^4.14.110",
    "@types/react": "^16.4.0",
    "@types/react-dom": "^16.0.6",
    "@types/react-router": "^4.0.26",
    "@types/react-router-dom": "^4.2.7",
    "@types/react-virtualized": "^9.7.13",
    "@types/redux": "^3.6.0",
    "@types/redux-thunk": "^2.1.0",
    "awesome-typescript-loader": "^4.0.1",
    "axios": "^0.18.0",
    "babel-polyfill": "^6.26.0",
    "bluebird": "^3.5.1",
    "bootstrap": "^4.0.0",
    "cldr-data": "^32.0.1",
    "css-loader": "^0.28.10",
    "dom-helpers": "^3.3.1",
    "es6-promise": "^4.2.4",
    "html-loader": "^0.5.5",
    "html-webpack-plugin": "^3.0.6",
    "immutable": "^3.8.2",
    "install": "^0.10.4",
    "jquery": "^3.3.1",
    "lodash": "^4.17.5",
    "oidc-client": "^1.4.1",
    "react": "^16.4.1",
    "react-dom": "^16.4.1",
    "react-redux": "^5.0.7",
    "react-router": "^4.3.1",
    "react-router-dom": "^4.3.1",
    "react-virtualized": "^9.19.1",
    "redux": "^3.7.2",
    "redux-thunk": "^2.3.0",
    "style-loader": "^0.20.3",
    "typescript": "^2.9.2",
    "webpack": "^4.12.0",
    "webpack-cli": "^2.1.5"
  },
  "dependencies": {
    "babel-polyfill": "^6.26.0",
    "cldr": "^4.10.0",
    "moment": "^2.22.1",
    "react-spring": "^5.3.17"
  }
}

This is my webpack:
const path = require('path');
const HtmlWebPackPlugin = require("html-webpack-plugin");

module.exports = {
    watch: true,
    mode: 'development',
    entry: "./src/index.tsx",
    output: {
        filename: "index.js",
        path: path.resolve(__dirname, 'wwwroot')
    },
    devtool: 'source-map',
    resolve: {
        extensions: ['.js', '.json', '.ts', '.tsx'],
    },
    externals: {
        React: 'React',
        'react-dom': 'ReactDOM',
        redux:"Redux",
        'react-redux':"ReactRedux",
        'react-router': "ReactRouter",
        'jquery':'jQuery',
        '$':'jQuery',
        "bluebird": "Bluebird",
        "moment":"moment",
        "axios":"axios"
    },
    module: {
        rules: [
            {
                test: /\.(ts|tsx)$/,
                loader: "awesome-typescript-loader"
            },
            {
                test: /\.css$/,
                use: [
                    {
                        loader: 'style-loader',
                    },
                    {
                        loader: 'css-loader',
                    },
                ],
            },
            {
              test: /\.html$/,
              use: [
                {
                  loader: "html-loader",
                  options: { minimize: false }
                }
              ]
            }
        ]
    },
    plugins: [
      new HtmlWebPackPlugin({
        template: "./src/index.dev.html",
        filename: "./index.html",
        hash: true
      })
    ]
};


1009_Complement_of_base_10_integer.py

IMPORTANT: Please do not create a Pull Request without an issue.
All Submissions:

[x] I have read the CONTRIBUTING document.
[x] My code is written in Python3 and is ending with .py
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] I have checked that my submission does pass the test on LeetCode.com
[x] Does your filename follow the naming Conventions?
[x] Have you linked your PR to an Issue?

Closing issues
Put closes #325  in your comment to auto-close the issue that your PR fixes (if such).

Same code can be used for Problem.


[Enhancement] Add support for Humdifiers

I'm experiencing an issue where the "humidifier" entities are not functioning as expected.
It appears they are not compatible, where can I check the list of compatible devices?

Hi @joaopedros2 ,
what domain are humidifiers using in Home Assistant? Climate? Climates are currently buggy - i am working on it.
In general you can find a list of supported domains in the README of this project.
https://github.com/t0bst4r/home-assistant-matter-hub?tab=readme-ov-file#supported-domains--device-types

I don't know if this is what you intend to see.

Thank you! I didn't know that humdifiers have their own domain in Home Assistant.
So yes, they are currently now supported. I keep this issue here as a feature request.

It's not supported by Matter on current 1.3 specs. new published matter 1.4 neither.

The best way for now would be to make a switch entity from it using a template. With just On Off value, and you keep the device settings exposed on Home Assistant.

Or this can be modelled as a "fan" that comes with a humidity sensor?


When server is unreachable, CancellationToken does not cancel the automatical retries

Describe the bug
I am using a MAUI Blazor application.
This occurs on Windows as well as on Android and I think it is not MAUI specific - it probably happens on any other platform (Console/WinForms, ...)
The issue is that when DB server is unreachable (internet connection is OFF or the connection string is wrong), applying CancellationToken does nothing to stop/cancel connecting to the server.
The CancellationToken is OK - I have tried debugging into the Data Access Layer EF Core function and the original CancellationToken is passed in as expected.
The task itself is cancelled, but in the background, SqlClient is spamming for approximately 20 seconds until it gives up.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll

Code:
async Task RunAsyncDbCall()
    {
        int limitMilliseconds = 3000;
        cts = new CancellationTokenSource(limitMilliseconds /* ms */);
        Loading = true;
        var token = cts.Token;
        var DBCall = DBWarmUpService.TryWarmupDB;
        try
        {
            Trace.WriteLine($"-----[{DateTime.Now:HH:mm:ss.fff}] Trying WarmUp DB call with task cancellation timeout {limitMilliseconds} ms");

            await DBCall(token);
            Print($"---The task was completed [{DateTime.Now:HH:mm:ss.fff}]");
        }
        catch (OperationCanceledException)
        {
            Print($"---The task was cancelled [{DateTime.Now:HH:mm:ss.fff}]");
        }
        catch (Exception ex)
        {
            Trace.WriteLine(ExceptionHelper.GetExAndInnerExInfo(ex));
        }
        Loading = false; //in any case
    }

The code above calls this method in the end, deep in the layered architecture:
public async Task<int> DBWarmUpCall(CancellationToken token = default)
        {
            using (var db = DB)
            {
                var query =
                    from user in db.USER
                    select 1;
                var result = await query.FirstOrDefaultAsync(token);
                return result;
            }
        }

Output:
thread handling the ConnectivityChanged event: 1
Internet connection profiles:
Network Access: Unknown
-----[01:55:55.162] Trying WarmUp DB call with task cancellation timeout 3000 ms
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\System.Linq.Queryable.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.EntityFrameworkCore.SqlServer.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\System.Collections.Immutable.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.EntityFrameworkCore.Relational.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.EntityFrameworkCore.Abstractions.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\System.ComponentModel.Primitives.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Extensions.Caching.Abstractions.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\System.Diagnostics.DiagnosticSource.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\System.Transactions.Local.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'Anonymously Hosted DynamicMethods Assembly'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Extensions.Caching.Memory.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\System.ComponentModel.Annotations.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\System.Net.NetworkInformation.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\System.Runtime.Extensions.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\System.Threading.Tasks.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\System.Threading.Timer.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\System.Resources.ResourceManager.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\System.Configuration.ConfigurationManager.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\System.Collections.Specialized.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\System.Net.WebClient.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\System.ComponentModel.EventBasedAsync.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Identity.Client.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\System.Text.Encoding.CodePages.dll'.
'Tempus.GUI.Mobile.MAUIBlazor.exe' (CoreCLR: clrhost): Loaded 'C:\Tempus.GUI.Mobile\Tempus.GUI.Mobile.Blazor\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Win32.Primitives.dll'.
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
A task was canceled.
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
A task was canceled.
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
A task was canceled.
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
A task was canceled.
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
A task was canceled.
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
A task was canceled.
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
A task was canceled.
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in Microsoft.EntityFrameworkCore.Relational.dll
A task was canceled.
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
A task was canceled.
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
A task was canceled.
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
A task was canceled.
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
A task was canceled.
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
A task was canceled.
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
A task was canceled.
---The task was cancelled [01:55:59.130]
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
The thread 0xdcc has exited with code 0 (0x0).
The thread 0x4118 has exited with code 0 (0x0).
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception thrown: 'Microsoft.Data.SqlClient.SqlException' in Microsoft.Data.SqlClient.dll
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)```

To reproduce
Call FirstOrDefaultAsync on DbContext with CancellationToken.
Expected behavior
CancellationToken cancels the database connection attempts.
Further technical details
latest previews
Additional context
Add any other context about the problem here.

@JRahnama Hi, has the time come now? Thanks

I just checked with the team.  This is a bug, and will need to do some investigation to see why the CancellationToken is not passed into the correct context where it can stop the execution.  Once we have a fix, we'll get back to you soon.

@janseris Can you provide more details on scenario what are you doing when warmup DB? do you stop SQL Server service to make it unreachable in between?
Can you provide repro with console app?

@janseris Can you provide more details on scenario what are you doing when warmup DB? do you stop SQL Server service to make it unreachable in between?
Can you provide repro with console app and connection string that you are using?

Database warmup call is actually Entity Framework warmup call.
It calls select * from a dummy table for Entity Framework initialization.
It is used to be able to measure the calls without the initial penalty of 3 to 4 seconds of Entity Framework initialization on the very first call in the app.

Can you provide repro with console app and connection string that you are using?

Can you provide repro with console app and connection string that you are using?

I am sorry it's been almost a year and I do not have that test app anymore.

@janseris I tried this with MAUI App with sqlclient directly against cloud server by turning internet OFF on client side as you mentioned. I am not seeing this happening. My code is attached. I tried the step as you specified, a warmup call and following call with token cancel request and I am only seeing expected exceptions depending when internet goes off on second call.
Rollback Exception Type: Microsoft.Data.SqlClient.SqlException
[DOTNET]   Message: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 35 - An internal exception was caught)
Thread finished:  #13
Or
Operation cancelled by user.
Retriesoncancellation-client.zip


Update MAINTAINERS.MD

Adding myself as a maintainer
What type of PR is this?
Add one of the following kinds:
Addition
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for reviewers:
Changelog input
 release-note

Additional documentation
This section can be blank.
docs

@maheshc01 Please be aware that Brett Hill still hasn't subscribed to the mailing list of your sub project and therefore is also still no member of the sub project.


The Cancel option does not discard the name change.

Steps to Reproduce

Switch to Macro
RNA builder >> Press Duplicate and Edit >> Cancel >> see Name
Press Duplicate and Edit >> Cancel >> see name

Actual behavior
The Cancel option does not discard the name change.

Expected behavior
'Cancel' option should discard all the changes.
Versions:
Windows 10
Chrome Version 123.0.6312.106 (Official Build) (64-bit)
Version 2.20.0-rc.2
Indigo Toolkit
Version 1.19.0-rc.2.0-g6c0e3fecf-wasm32-wasm-clang-12.0.0
Issue found in the context of testing - https://github.com/epam/ketcher/issues/3824

Moved to Refined Backlog since not fixed over 1 release

Macro: RNA builder: Cancel button doesn't work · Issue #4487 · epam/ketcher (github.com) was fixed and should be verified for release 21.rc2 with that issue.


Notable-inventories-related event additions

on player clicks in notable inventory
on player opens notable inventory
on player closes notable inventory
Using the standard inventory events would mean firing them when players interact with any inventory; even if its only for a queue clear, the check's still there.

added in latest dev, use on player clicks in notable: (like if the inventory were just named "notable")


Bezier handles are too long on short animations

Tested versions
4.3.beta2
System information
Godot v4.3.beta2 - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4070 Laptop GPU (NVIDIA; <IP_ADDRESS>33) - AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16 Threads)
Issue description
Handles on Bezier keys are always 0.25 seconds long. This causes problems when working with short animations where the bezier curve will end up with an unwanted shape and you won't be able to get at the handles since they might be outside the view.
https://github.com/godotengine/godot/assets/4955051/415fa752-b176-42ed-869d-e56e1543c6e7
New key Handle length should at least be clamp to animation length, but something like half or quarter of animation length might be better. This would also be somewhat improved if the default handle type of new keys could be specified. It might make sense to have a default bezier handle type in editor settings.
Steps to reproduce
See video above
OR

Create an animation and set the length to 0.2 seconds.
Create a bezier anaimation with a key at the beginning and end of the animation and observe the curve and handles.

Minimal reproduction project (MRP)
NA

Since there is already an autobegier function that depends on key spacing, it would be fine to have an option to enable it by default.

Since there is already an auto bezier function that depends on key spacing, it would be fine to have an option to enable it by default.

How does the Auto Bezier function work? I don't know about it and can't easily find it in the docs or UI.

By right-click:


HBASE-26450 Server configuration will overwrite HStore configuration …

…After using shell command 'updateConfiguration'

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 26s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
3m 49s
master passed

+1 :green_heart:
compile
3m 14s
master passed

+1 :green_heart:
checkstyle
1m  3s
master passed

+1 :green_heart:
spotbugs
2m  3s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 48s
the patch passed

+1 :green_heart:
compile
3m 11s
the patch passed

+1 :green_heart:
javac
3m 11s
the patch passed

+1 :green_heart:
checkstyle
1m  3s
hbase-server: The patch generated 0 new + 29 unchanged - 2 fixed = 29 total (was 31)

-0 :warning:
whitespace
0m  0s
The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>.


Refactor file generation

This PR aims to (a) refactor the generation of different files (.gapic.h, .gapic.cc, etc.) for a service into separate implementation files, while also (b) not introducing any unnecessary abstraction, i.e. we want to keep generation as close as possible to just a simple procedure that makes calls to print functions.
This will prevent the generator/gapic_generator.h file from becoming monstrously large as we implement generation.


Pip install torpeewee packages from pypi failed

$ pip install torpeewee
Could not find a version that satisfies the requirement torpeewee (from versions: )
No matching distribution found for torpeewee
$ pip search torpeewee
torpeewee (0.0.1)  - Tornado asynchronous ORM by peewee
But if I install this packages from source, the versions is 0.0.3

sorry, I forget to upload the package file.
Fixed, you can retry.
Thanks.


upd(minecraft-pi-reborn-app): 2.3.13 -> 2.4.2

CI fails

Still fails. Can you try installing this locally?

when running podman in the official container I get:
pacstall@50080408e512:~$ pacstall --disable-prompts -Il minecraft-pi-reborn-app.pacscript
[*] WARNING: Prompts are disabled
Do you want to view/edit the pacscript [y/N] N
[+] INFO: Sourcing pacscript
[+] INFO: Creating dummy package
[+] INFO: Installing dependencies
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'minecraft-pi-reborn-app' instead of '/tmp/pacstall/minecraft-pi-reborn-app-pacstall.deb'
minecraft-pi-reborn-app is already the newest version (2.4.2-1).
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
[+] INFO: Retrieving packages
Initializing download: https://jenkins.thebrokenrail.com/job/minecraft-pi-reborn/job/master/237/artifact/out/minecraft-pi-reborn-client-2.4.2-amd64.AppImage
File size: 7.27069 Megabyte(s) (7623872 bytes)
Opening output file minecraft-pi-reborn-client-2.4.2-amd64.AppImage
Error opening local file
[!] ERROR: Failed to download package
[+] INFO: Cleaning up

?

And yes network does work on it too as I downloaded the pacscript inside the container.

Yeah I can download the file both by cURL and Wget:
pacstall@50080408e512:~$ curl https://jenkins.thebrokenrail.com/job/minecraft-pi-reborn/job/master/237/artifact/out/minecraft-pi-reborn-client-2.4.2-amd64.AppImage -o ./pi.AppImage
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
pacstall@50080408e512:~$ ls ./
log.txt  minecraft-pi-reborn-app.pacscript  pi.AppImage
pacstall@50080408e512:~$

Hmm, run source minecraft-pi-reborn-app.pacscript && wget $url

hmm.

I found the issue:

The last url (https://gitea.thebrokenrail.com/TheBrokenRail/minecraft-pi-reborn/raw/tag/2.4.2/launcher/data/client/share/applications/com.thebrokenrail.MCPIRebornClient.desktop) doesn't exit


shaping functions don't handle union correctly

Both of these should work but don't currently:

Casting a union to one of its members:

$ echo '{b: 1.0 (0=((float64,bool)))}' | zq -i zson -t - | zq -i zson -t 'put . = cast(., "({b: float64})")' -
# no output

Casting a non-union type to a union that contains it

$ echo '{"a": false}' | zq -i ndjson -f zson 'put . = cast(., "({a:(float64,bool)})")' -
{
    a: false
} (=0)

Has this been fixed?  Moving to backlog and assigning to Noah

Ok, this one works...
echo '{b: 1.0 ((float64,bool))}' | zq -i zson -f zson - | zq -i zson 'yield cast(this, <{b: float64}>)' -
{b:1.}

Ok, this one works...
echo '{b: 1.0 ((float64,bool))}' | zq -i zson -f zson - | zq -i zson 'yield cast(this, <{b: float64}>)' -
{b:1.}

So does casting a non-union type to a union that contains it.
$ echo {a:false} | zq 'yield cast(this, <{a:(float64,bool)}>)' -
{a:false((float64,bool))}

Since both behaviors work now, I'm closing this as done.


Expedited Access Request Llama2 (HF)

System Info

Information

[ ] The official example scripts
[ ] My own modified scripts

🐛 Describe the bug
Would be great to get expedited access to the Llama2 model family, my request has been sitting for a few hours now
https://huggingface.co/meta-llama/Llama-2-7b-hf
Error logs

Expected behavior

Thank you for your interest in the Llama2 model family and for reaching out. We appreciate your enthusiasm and your request for expedited access.
However, it seems that this issue is not aligned with our Contributing Guidelines. Specifically, issues should be used to track public bugs or feature requests that are directly related to the llama-recipes project.
For access requests or other inquiries not related to contributing code or documentation, please refer to https://www.llama.com/llama-downloads/
I would encourage to explore newer more capable models at https://huggingface.co/meta-llama specifically Llama3.2-3B-Instruct, Llama-3.1-8B-Instruct and Llama-3.2-11B-Vision-Instruct


Discovery: Test whether Azcopy works with lakeFS

AzCopy is a command-line utility that you can use to copy blobs or files to or from a storage account.
This issue is a discovery task to test whether it works with lakeFS. it uses the following configuration variables that we probably try to tune first:

AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AZCOPY_ACTIVE_DIRECTORY_ENDPOINT

Unfortunately, Azcopy has no way to set AWS S3 endpoints.
Azcopy has an open issue for this https://github.com/Azure/azure-storage-azcopy/issues/832


Fix reading point triple real

There is an issue with reading RealTriple.
internal static DxfXDataItem FromBuffer(DxfCodePairBufferReader buffer) method does buffer.Advance() before reading 3 real values, then the Advance() method is called 3 times in private static DxfPoint ReadPoint(DxfCodePair xCoord, DxfCodePairBufferReader buffer, int expectedFirstCode). It may cause 2 issues: either wrong data is read or casting string to double occurs.
For example:
(...)
1010
3.1
1020
4.2
1030
5.3
1002
}

1010 starts real triple, but as buffer is advanced theReadPoint method tries to set:
X=4.2
Y=5.3
Z=}

The fix in this pull request fixes the issue by passing to ReadPoint method already read DxfCodePair from buffer and only 2 items are read inside ReadPoint from buffer.
I've splitted the fix into 2 commits. Firs commit contains new test for reading RealTriple (it fails, as the production code is not fixed here) while the second introduces the fix.

Good find and thank you for fixing it!

Is it possible to release 0.5.1 version to NuGet with the fix?

Sure thing.  I've just uploaded the 0.5.1 package to NuGet, but I'm not sure how fast their cache updates.

Awesome, thank you!


api: sync using package statement

Signed-off-by: Lizan Zhou<EMAIL_ADDRESS>Description:
This makes proto_sync.py less aware of handling version upgrade. Also helps package moving (coming next).
Risk Level: Low
Testing:
Docs Changes:
Release Notes:

@lizan see format fail on CI.

Closed in favor of #9382


[Bug]: wrong AWS privilleage escalation through glue service

Steps to Reproduce
Hi
Prowler alert for only glue:GetDevEndpoint action that allows performing PE.
I think need to check the combination of glue:UpdateDevEndpoint together glue:GetDevEndpoint.
today prowler alert wrong PE alert for only GetDevEndpoint action
Can you fix that, please?
Expected behavior
Alert of glue:UpdateDevEndpoint
Actual Result with Screenshots or Logs
.
How did you install Prowler?
From brew (brew install prowler)
Environment Resource
EC2
OS used
MacOS
Prowler version
3.5.1
Pip version
19
Context
No response

Hi @roisec, this issue is related with this one https://github.com/prowler-cloud/prowler/issues/2220
I'm going to close this issue and include it in that one.
Thanks for using Prowler 🚀


Bug: Memory leak

There looks to be memory leak in case when container which is constantly crashing is deployed.

Fixed in ollijanatuinen/docker-bgp-lb:v1.3


cni: expose error messages to client

  Warning  FailedCreatePodSandBox  2m28s              kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "5971b5502d010075b13fa87ad7fce07e164dbba7fada3c9e498ebf1a55693c8e": plugin type="istio-cni" name="istio-cni" failed (add): unable to push CNI event, error was 500
  Warning  FailedCreatePodSandBox  2m17s              kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "6738e4113866d42813aeb65a90e87a3ae40a18cc2cc5e93ee86d4332db5d783e": plugin type="istio-cni" name="istio-cni" failed (add): unable to push CNI event, error was 500
  Warning  FailedCreatePodSandBox  2m3s               kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "d19b382a3aa067ad7be02526bbfef9fb5425e9120cac28aaae38fc69c5206808": plugin type="istio-cni" name="istio-cni" failed (add): unable to push CNI event (status code 500): failed, sorry
  Warning  FailedCreatePodSandBox  5s (x9 over 112s)  kubelet            (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "219c60bc7257d0ee3e130df905b8a6670f26f36ebf99dab31957d3d5cf3dcac3": plugin type="istio-cni" name="istio-cni" failed (add): unable to push CNI event (status code 500): failed, sorry

First two logs are before my change, second 2 are after.
Note "failed, sorry" is an error I synthetically returned for testing; usually it would be more helpful :slightly_smiling_face:

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
a0864f4a410937de4457af9fdf8d0c1c4ed4cbd6
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
a0864f4a410937de4457af9fdf8d0c1c4ed4cbd6
link
true
/test gencheck

unit-tests-arm64_istio
a0864f4a410937de4457af9fdf8d0c1c4ed4cbd6
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
a0864f4a410937de4457af9fdf8d0c1c4ed4cbd6
link
true
/test gencheck

unit-tests-arm64_istio
a0864f4a410937de4457af9fdf8d0c1c4ed4cbd6
link
true
/test unit-tests-arm64

unit-tests_istio
a0864f4a410937de4457af9fdf8d0c1c4ed4cbd6
link
true
/test unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-basic-arm64_istio
f860553d1a29fb839aa4166fb6ddaa1eec84e074
link
true
/test integ-basic-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

/retest

/cherrypick release-1.22

@howardjohn: new pull request created: #51860

In response to this:

/cherrypick release-1.22

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.


Lightning providers update

Added a note, changed the ms.date

Docs Build status updates of commit b9792aa:
:warning: Validation status: warnings

File
Status
Preview URL
Details

windows-iotcore/develop-your-app/LightningProviders.md
:warning:Warning

Details

windows-iotcore/develop-your-app/LightningProviders.md

Line 15, Column 1: [Warning-h1-not-first] Markdown content is not allowed before H1 'Working with lightning providers'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 1c0e9e0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/develop-your-app/LightningProviders.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Update parser gem

Resolve #20 by updating parser gem to version 3.2.1

Sorry I'm only wanted to send the last commit I suppose I merged all my commits in this branch.


Program downloads macos-x86_64 on macos-aarch64 then crashes #28

~ ❯❯❯ zvm i master
Install master
→ Version master is not installed. Beginning download...
→ Downloading Zig version master for platform macos-x86_64...
Illegal instruction at address 0x1050bde4b
???:?:?: 0x1050bde4b in ___lttf2 (???)
Unwind error at address `zvm:0x1050bde4b` (error.InvalidUnwindInfo), trace may be incomplete

fish: Job 1, 'zvm i master' terminated by signal SIGABRT (Abort)

Using homebrew binary.

Thank you for reporting this issue. It appears to be a bug. It will be addressed and aim to have it fixed in the next release.


Updating SP Ad Groups to Version 3

Updating the SP Ad Groups to Version 3 by adding the ad_groups_v3 file.
New Endpoints :
create_ad_groups()
edit_ad_groups()
delete_ad_groups()
list_ad_groups()
Also adding the changes to the docs files.

I am working to try to generate the class and methods documentation with a python script, not sure if it worths or not, how do you think?
        Creates one or more ad groups.

        Request body: (required) An array of ad groups
            | **name** (*string*) : A name for the ad group
            | **campaignId**: (*string*) : An existing campaign to which the ad group is associated.
            | **defaultBid**: (*float*) A bid value for use when no bid is specified for keywords in the ad group
            | **state**: *string* A name for the ad group, Enum: [ enabled, paused, archived ]

        Returns:
            ApiResponse


Dynamic Styling in Cards with Numbers

Current Behavior

When Developing anything its important to keep in mind that it must be user friendly UI. In Numbers Says it all section there are cards with numbers , I think those style could be dynamic means. For particular time when web is loaded those numbers will be seen as adding up from 0 to that particular number. It is standard and user friendly UI which attracts users. Experienced this with old projects
Desired Behavior

Screenshots / Mockups

Hey @Harshu467 , in our project too, those numbers will be counted from 0 to particular no. Please check once, and did u meant the same?

@akshathar-navada I did not meant that , I can add animation in which when user come to that section those number will be animated  from  0 to that particular number for particular amount of time , Lets say when user come to that section from 0 to 20 numbers will be shown animatedly for lets say 6 seconds of time

This is not required. If there is anything else, u would like to work on, pls go ahead @Harshu467


error: NU1100: Unable to resolve 'System.CommandLine (>= 2.0.0-beta4.22272.1)' for 'net6.0'.

When following this Tutorial in the section "Installing System.CommandLine package"
the following is the error results of running the command:
C:\Users\me\GitHub\SCL>dotnet add package System.CommandLine --version 2.0.0-beta4.22272.1   Determining projects to restore...   Writing C:\Users\me\AppData\Local\Temp\tmp91D.tmp info : X.509 certificate chain validation will use the default trust store selected by .NET. info : Adding PackageReference for package 'System.CommandLine' into project 'C:\Users\me\GitHub\SCL\SCL.csproj'. info : Restoring packages for C:\Users\PASCOA\GitHub\SCL\SCL.csproj... error: NU1100: Unable to resolve 'System.CommandLine (>= 2.0.0-beta4.22272.1)' for 'net6.0'. error: Package 'System.CommandLine' is incompatible with 'all' frameworks in project 'C:\Users\me\GitHub\SCL\SCL.csproj'.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 7705dc41-7297-0807-7e9c-2e6548c26b84
Version Independent ID: fa160b1d-66ed-8c5d-37cd-b7e02443e9f1
Content: Tutorial: Get started with System.CommandLine
Content Source: docs/standard/commandline/get-started-tutorial.md
Product: dotnet-fundamentals
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

Package 'System.CommandLine' is incompatible with 'all' frameworks in project

What is in your .csproj file?

created using the previous step in the tutorial,
Create the app
Create a .NET 6 console app project named "scl".

Create a folder named scl for the project, and then open a command prompt in the new folder.

Run the following command:

dotnet new console --framework net6.0
contents of .csproj file

Exe
net6.0
enable
enable

Andrew Pasco
Security Consultant
CISO Security Operations|  Department of Customer Service
Tel: 0410 533 009    E-Mail<EMAIL_ADDRESS>Mckell Building, 2-24 Rawson Pl, Sydney, NSW 2000
Please consider the environment before printing this email.

From: Tom Dykstra @.>
Sent: Saturday, 8 October 2022 7:16 AM
To: dotnet/docs @.>
Cc: Andrew Pasco @.>; Author @.>
Subject: Re: [dotnet/docs] error: NU1100: Unable to resolve 'System.CommandLine (>= 2.0.0-beta4.22272.1)' for 'net6.0'. (Issue #31652)
Package 'System.CommandLine' is incompatible with 'all' frameworks in project
What is in your .csproj file?
—
Reply to this email directly, view it on GitHubhttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdotnet%2Fdocs%2Fissues%2F31652%23issuecomment-1272053365&data=05|01|Andrew.Pasco%40customerservice.nsw.gov.au|5aac5cc11dc7436df00408daa8a0cd3f|1ef97a68e8ab44eda16db579fe2d7cd8|0|0|638007705849231571|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=lOu2aoz875JQ8laafrbtNPnDkeUBnemTTJdavodAdh8%3D&reserved=0, or unsubscribehttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANGQGWM5KE4TRGRSTWJLGITWCCAJHANCNFSM6AAAAAAQ72FMUA&data=05|01|Andrew.Pasco%40customerservice.nsw.gov.au|5aac5cc11dc7436df00408daa8a0cd3f|1ef97a68e8ab44eda16db579fe2d7cd8|0|0|638007705849231571|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=QDVwrJAHhRzD4t1jTRd8mJWcrhtwquE9VAzaYMmPTRI%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>

This can happen when the package isn't available in any of your package sources, maybe due to a setting in a local or user-level nuget.config.
If you run dotnet nuget list source in that directory, do you see nuget.org in the list?

PS C:\Users\xxxxxx\GitHub\TrustedInstaller> dotnet nuget list source
No sources found.
So I tried adding the --source nuget.org but still no success
PS C:\Users\xxxxxx\GitHub\TrustedInstaller> dotnet add package System.CommandLine --prerelease  --source nuget.org
Determining projects to restore...
Writing C:\Users\xxxxxx\AppData\Local\Temp\tmpE54A.tmp
info : X.509 certificate chain validation will use the default trust store selected by .NET.
info : Adding PackageReference for package 'System.CommandLine' into project 'C:\Users\xxxxxx\GitHub\TrustedInstaller\TrustedInstaller.csproj'.
error: There are no versions available for the package 'System.CommandLine'.

It appears there is a missing step if using VScode only which is to add the nuget sources:
could you consider updating the docs to help other hitting this issue in your getting started docs.
dotnet nuget add source --name nuget.org https://api.nuget.org/v3/index.json

The NuGet source is there by default unless it is explicitly removed. I wrote an issue to make this solution clearer in the article that has troubleshooting info for the NU1100 error.


Nandhini/performance analysis table additional change

Resolve #
Description:

Added "desc" icon to Utterance Count to enable desc by default.

Added the tooltip for custom metric columns and ECE.

When there is only one pipeline configured...

The "Compare Pipelines" button on the dashboard is instead called "View details" and is still linking to the standalone page.
The "Compare Baseline with" select menu is hidden.
The "Compare Baseline with" select menu has a default value of the first available pipeline.
Checklist:
You should check all boxes before the PR is ready. If a box does not apply, check it to acknowledge it.

[ ] ISSUE NUMBER. You linked the issue number (Ex: Resolve #XXX).
[x] PRE-COMMIT. You ran pre-commit on all commits, or else, you
ran pre-commit run --all-files at the end.
[x] USER CHANGES. The changes are added to CHANGELOG.md and the documentation, if they impact
our users.
[x] DEV CHANGES.

Update the documentation if this PR changes how to develop/launch on the app.
Update the README files and our wiki for any big design decisions, if relevant.
Add unit tests, docstrings, typing and comments for complex sections.

If more than 1 pipeline available:

If there is only 1 pipeline exists:

Hey @JosephMarinier, there is one thing I noticed while adding "desc" enabled for the utterance count column on both the base pipeline and compare pipeline comparison scenario, currently, we can only enable 1 column sort option so, to add desc by default for basePipelineUtteranceCount and comparedPipelineUtteranceCount, I need to add some custom logic. But need some thoughts from the team before proceeding with it.

What could be the issue number for this PR here? Please suggest here @JosephMarinier


Using different column instead of id for taggable_id or Using the Id column as UUID in MySQL

I want to tag a model that does not have any field called id instead I am going to use another field that is used as id in my table called customerNumber. I want to know if there is any way to override the id with another field to store it in the tagging table.

I have decided to use the table's id instead and I have another issue in front. UUID does not work for me since it returns 0 for id instead of the intended UUID. I am using MySQL and using uuid as the type also did not help os I changed it to:
      t.references :taggable, polymorphic: true, type: :string
      t.references :tagger, polymorphic: true, type: :string

I have the same problem. is it possible to make the taggable_id a string and have the model id work for both bigint and UUID?

I try this code.
 User.joins("INNER JOIN taggings ON taggings.taggable_id = CAST(posts.id AS VARCHAR) AND taggings.taggable_type = 'User'")
                .joins("INNER JOIN tags ON tags.id = taggings.tag_id")
                .where(taggings: { context: "tags" })
                .where(tags: { name: "test_tag_name" })

I would like to know how to move but cleanly solve the problem.

My team currently has this overall issue - we are building some new data models which will use uuid as a primary key, however our existing acts-as-taggable-on implementation has millions of rows of data for the historical models which all used bigint.


[AMQP Python] close unclosed transport during connection error

Currently, when a connection is created but cannot be opened due to an auth/connection error, we do not correctly close the underlying transport + session objects. This results in an aiohttp ClientSession unclosed error log + potential other object deletion issues.
PR to fix this issue: https://github.com/Azure/azure-sdk-for-python/pull/30064/files
TODO:

[ ] apply fix to sync

not seeing this currently, a new issue should be opened if still seeing it


[Plan] Plugin System

It would be great to have some kind of plugin system (similar to https://github.com/inorichi/tachiyomi-extensions) so that users can write and contribute their own parser/downloader for manga sites other than MangaDex.
Ideally a plugin should be easy to develop. The plugins should use a simple language (perhaps JS using https://github.com/jessedoyle/duktape.cr), and we should provide some commonly used functions.

Added in v0.9.0.


Use placeholder in phenotype region endpoint documentation

Related to ENSEMBL-4883.

travis failure is unrelated, looks good to me

yay non-hardcoded identifiers!


docs: fix typo in oauth.md

fix typo
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

@googlebot I signed it!

On Oct 6, 2020, at 6:44 PM, google-cla[bot]<EMAIL_ADDRESS>wrote:
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.
What to do if you already signed the CLA
Individual signers
It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data https://cla.developers.google.com/clas and verify that your email is set on your git commits https://help.github.com/articles/setting-your-email-in-git/.
Corporate signers
Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot http://go/cla#troubleshoot (Public version https://opensource.google/docs/cla/#troubleshoot).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data https://cla.developers.google.com/clas and verify that your email is set on your git commits https://help.github.com/articles/setting-your-email-in-git/.
The email used to register you as an authorized contributor must also be attached to your GitHub account https://github.com/settings/emails.
ℹ Googlers: Go here https://goto.google.com/prinfo/https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-api-python-client%2Fpull%2F1058 for more info.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/googleapis/google-api-python-client/pull/1058#issuecomment-704592051, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABD3JBCS43RZM5IBSEE6GATSJOMWNANCNFSM4SGUI4PQ.

@jakehadar Thanks for the fix!


Allow both jpg and jpeg as possible file formats

I initially intended to simply correct the README, pointing out that the correct option is 'jpeg' and not 'jpg', but allowing both seems friendlier
I understand if y'all don't want ambiguity

Ohh it Fixes #53

Thanks for the catch!
I would prefer only accepting jpeg an erroring on jpg.

Yeah, that's what I expected. No problems. I'll send an update later today.

There ya go :)

Thanks!


Don't show scene group progress for 1 scene

The new progress bar for updating scene groups (#89739) appears too often. It shows when you open project and every time you save a scene (in which case 2 progress bards appear).

This PR makes it appear only when updating more than 1 scene, so it's less annoying.

Thanks!


Review

@zjb0807 If you can take another look, that would be great! thanks.

For the calculation part, I need to refer to the curve contract and review it later.

It's not using the curve contract: there are some modifications. The actual contract I am referring is: https://github.com/nutsfinance/acBTC/blob/master/contracts/acoconut/ACoconutSwap.sol


chore: add blake2b test

may i know the purpose of this unit test? it looks like unrelated to ckb.

It seem that a unit test file is needed here. 😀
Anyway feel free to close it, just look through.


Execute release drafter on main branch change

Fix #1223
This pull request moves the release-drafter from the release GitHub action to a specific one that runs each time a pull request land on the main branch.
The goal is to see at any moment what the release changelog would like to look for the next release.

Does this change the release process? I mean, we still need to trigger the release pipeline in order to build binaries, build and push images, open a PR on the helm-charts repo etc. What happends to the draft PRs then?

Does this change the release process? I mean, we still need to trigger the release pipeline in order to build binaries, build and push images, open a PR on the helm-charts repo etc. What happens to the draft PRs then?

Well, they are subtle changes depending on the way we trigger the release between manual tag creation from the command line or via the GitHub interface.
Via the GitHub interface, Release drafter creates a draft release and detects the next version depending on pull request labels. When we publish the release, GitHub automatically creates the tag associated with the release which triggers the release work flow as usual.
The risk is if we push a tag different than the one from the draft release.
So I would suggest slightly modifying the release process by using the GitHub interface instead of manually pushing the tag.
I can demo how I do the release on a different project
By changing the workflow, we would have access  in advance to the coming release changelog and also reducing the risk of using the wrong version

I am also adding a new Github workflow in this PR that tests releasing Epinio but without anything.
The purpose is to identify early breaking change in the release process

@jimmykarily  I am looking for another review :)


Adding wildboottest to statsmodels

In trying to figure out how to this into statsmodels, I opened this pull request so you can see my approach. For now, there's not much here, but I forked statsmodels and added support for linear models:
https://github.com/amichuda/statsmodels/pull/1
What I foresee us doing now is basically making the summary table be something like this:
                                 OLS Regression Results
=======================================================================================
Dep. Variable:                      y   R-squared (uncentered):                   0.737
Model:                            OLS   Adj. R-squared (uncentered):              0.735
Method:                 Least Squares   F-statistic:                              278.0
Date:                Mon, 17 Oct 2022   Prob (F-statistic):                   2.58e-279
Time:                        18:35:01   Log-Likelihood:                         -1769.6
No. Observations:                1000   AIC:                                      3559.
Df Residuals:                     990   BIC:                                      3608.
Df Model:                          10
Covariance Type:            nonrobust
==============================================================================
                 coef    std err          t      P>|t|      [0.025      0.975]
------------------------------------------------------------------------------
x1            -0.0457      NaN    -1.016      0.310      -0.134       0.043
x2            -1.1441      NaN    -24.947      0.000      -1.234      -1.054
x3             0.3851      NaN      8.243      0.000       0.293       0.477
x4            -0.6970      NaN    -15.284      0.000      -0.786      -0.607
x5            -0.5754      NaN    -12.380      0.000      -0.667      -0.484
x6             0.0367      NaN      0.790      0.430      -0.054       0.128
x7             0.2766      NaN      5.957      0.000       0.185       0.368
x8            -1.1516      NaN    -25.925      0.000      -1.239      -1.064
x9             0.5564      NaN     12.022      0.000       0.466       0.647
x10           -1.2981      NaN    -28.412      0.000      -1.388      -1.208
==============================================================================
Omnibus:                        0.445   Durbin-Watson:                   0.955
Prob(Omnibus):                  0.800   Jarque-Bera (JB):                0.327
Skew:                          -0.007   Prob(JB):                        0.849
Kurtosis:                       3.087   Cond. No.                         1.18
==============================================================================

Notes:
[1] R² is computed without centering (uncentered) since the model does not contain a constant.
[2] Standard Errors assume that the covariance matrix of the errors is correctly specified.
[3] Standard errors not available for wildclusterbootstrap

We can do the same for confidence intervals while they're not available either. How does that look for you? The call for this would be something like this:
    model = sm.OLS(Y, X)

    model.fit(cov_type='wildclusterbootstrap',
              cov_kwds = {'cluster' : cluster,
                          'B' : 9999,
                          'weights_type' : 'rademacher',
                          'impose_null' : True,
                          'bootstrap_type' : '11',
                          'seed' : None,
                          'param' : 'X1'}).summary()

If you're into that, then I will merge my branch into statsmodels-api and,
Question:
In order to get a list of p-values (and then later conf. int.) I need to do a wald test of all parameters. My impression is that that would mean that R: kxk identity matrix, right? So a test of beta=0 for each parameter? But specifying R as the identity matrix leads to an error; it seems that may pre-computed matrices need R and they need it to be a vector? Can you let me know how to implement R and I can get to work on that.

@s3alfisc

Hi @amichuda - sorry for not replying quicker - I am back to work and a little time constraint until the weekend. This looks all good to meed! What you need to do get p-values for all coefficients is to loop over all coefficients, i.e. run wildboottest() for each coef separately. Over the weekend (or maybe even earlier) I should be able to implement the bootstrapped vcov, which should facilitate your life quite a bit!


add feature to be able to sort multiple buckets, using multiple sorti…

…ng heads

this approach didn't work, found a better way with https://github.com/lucidrains/sinkhorn-transformer/commit/661c2edf85ed877510c714a024b5332299a4ee00


Add support for latest cordova-ios

This PR removes unused icon & adds support for all the missing ones. My dev environment:

cordova 7.1.0 (latest)
cordova-ios 4.5.2 (latest)
Mac OS X 10.12.6
XCode 9.0.1 (latest)

See picture below for side by side comparison between stock cordova, current cordova-icon & my PR:

Source of icon sizes:
https://github.com/apache/cordova-ios/pull/341
https://issues.apache.org/jira/browse/CB-12896

Thank you

Happy to contribute! Are you planning an npm release any time soon?

Yeah, released to npm


[HTTP][Caching] Decouple the HTTP caching layer from the underlying storage cache

Currently the HTTP caching implementation is hard coded to use the caching solution available in the ballerina/cache package as its backing storage cache. If we decouple the storage from the HTTP caching layer so that we can easily plug in different types of general purpose caches (e.g., Redis) it'd be easier to adapt the caching implementation to various usage scenarios. e.g., implementing an intermediary caching server

Closing this as this is not high priority task.


[l10n] Add Kurdish Sorani (ckb) localizations for Material, Cupertino, and Widgets

This PR adds Kurdish Sorani (ckb) localization support for Material, Cupertino, and Widgets frameworks. It implements:

Complete translations for Material, Cupertino, and Widgets
Custom number formatter for Eastern Arabic digits (٠-٩)
RTL text direction support
Comprehensive test coverage for all frameworks

No visual changes except for proper RTL layout and Eastern Arabic digits when Kurdish Sorani locale is selected.
Because flutter didn't have Kurdish Sorani we had to use Arabic or Farsi for our apps, this PR adds support for the Kurdish Sorani language (12M+ speakers), improving Flutter's internationalization coverage. This follows the same pattern as other RTL languages like Arabic and Persian.
No changes were required in the [flutter/tests] repo.
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed the motivation for this PR in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests for Material, Cupertino, and Widgets localizations.
[x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported.
[x] All existing and new tests are passing.

The Mac Engine Drone failure is an infrastructure issue rather than a problem with the code changes. The CI log shows that the failure is occurring during Xcode installation:
Infra Failure: Step('install xcode Failed to install Xcode (2)') (retcode: 0)
I've verified that the Kurdish Sorani localization tests pass locally on macOS:

The tests pass when run with flutter test
The localization delegates are properly registered
All translations are working as expected

This seems to be a CI infrastructure issue with Xcode installation rather than an issue with the localization changes. Could someone from the team help investigate the CI failure or re-run the checks once the infrastructure issue is resolved?


Subprocess leak during RL train using shmem or subproc env type

🐛 Bug Description
I notice after each iteration, new subprocess will be spawned and old subprocess is not shutdown, this only happen for subproc or shmem env type. This is causing subprocess leak and memory leak.
I have a sample trainer using the example to reproduce this issue, but not sure where is the subprocess is spawning from and where to shut it down.
To Reproduce
Steps to reproduce the behavior:

Install qlib
Run following script and use ps -ef to check process:

from collections import namedtuple
from typing import Any
from qlib.rl.simulator import Simulator

from typing import Tuple
import numpy as np
from gym import spaces
from qlib.rl.interpreter import StateInterpreter

State = namedtuple("State", ["value", "last_action"])

class SimpleSimulator(Simulator[float, State, float]):
    def __init__(self, initial: float, nsteps: int, **kwargs: Any) -> None:
        super().__init__(initial)

        self.value = initial
        self.last_action = 0.0
        self.remain_steps = nsteps

    def step(self, action: float) -> None:
        assert 0.0 <= action <= self.value
        self.last_action = action
        self.remain_steps -= 1

    def get_state(self) -> State:
        return State(self.value, self.last_action)

    def done(self) -> bool:
        return self.remain_steps == 0

class SimpleStateInterpreter(StateInterpreter[Tuple[float, float], np.ndarray]):
    def interpret(self, state: State) -> np.ndarray:
        # Convert state.value to a 1D Numpy array
        # last_action is not used by agents.
        return np.array([state.value], dtype=np.float32)

    @property
    def observation_space(self) -> spaces.Box:
        return spaces.Box(0, np.inf, shape=(1,), dtype=np.float32)

from qlib.rl.interpreter import ActionInterpreter

class SimpleActionInterpreter(ActionInterpreter[State, int, float]):
    def __init__(self, n_value: int) -> None:
        self.n_value = n_value

    @property
    def action_space(self) -> spaces.Discrete:
        return spaces.Discrete(self.n_value + 1)

    def interpret(self, simulator_state: State, action: int) -> float:
        assert 0 <= action <= self.n_value
        # simulator_state.value is used as the denominator
        return simulator_state.value * (action / self.n_value)

from qlib.rl.reward import Reward

class SimpleReward(Reward[State]):
    def reward(self, simulator_state: State) -> float:
        # Use last_action to calculate reward. This is why it should be in the state.
        rew = simulator_state.last_action / simulator_state.value
        return rew

from typing import List
import torch
from torch import nn
from qlib.rl.order_execution import PPO

class SimpleFullyConnect(nn.Module):
    def __init__(self, dims: List[int]) -> None:
        super().__init__()

        self.dims = [1] + dims
        self.output_dim = dims[-1]

        layers = []
        for in_dim, out_dim in zip(self.dims[:-1], self.dims[1:]):
            layers.append(nn.Linear(in_dim, out_dim))
            layers.append(nn.ReLU())
        self.fc = nn.Sequential(*layers)

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        return self.fc(x)

from torch.utils.data import Dataset

class SimpleDataset(Dataset):
    def __init__(self, positions: List[float]) -> None:
        self.positions = positions

    def __len__(self) -> int:
        return len(self.positions)

    def __getitem__(self, index: int) -> float:
        return self.positions[index]

if __name__ == "__main__":
  reward = SimpleReward()
  state_interpreter = SimpleStateInterpreter()
  action_interpreter = SimpleActionInterpreter(n_value=10)
  policy = PPO(
      network=SimpleFullyConnect(dims=[16, 8]),
      obs_space=state_interpreter.observation_space,
      action_space=action_interpreter.action_space,
      lr=0.01,
  )
  dataset = SimpleDataset(positions=[10.0, 50.0, 100.0])

  from pathlib import Path
  from typing import cast
  from qlib.rl.trainer import Checkpoint, train

  NSTEPS = 10

  trainer_kwargs = {
    "max_iters": 100000,
    "finite_env_type": "shmem",
    "concurrency": 2,
    "callbacks": [Checkpoint(
        dirpath=Path("./test_checkpoints"),
        every_n_iters=1,
        save_latest="copy",
    )],
  }
  vessel_kwargs = {
    "update_kwargs": {"batch_size": 1000, "repeat": 1},
    "episode_per_iter": 1,
  }

  print("Training started")
  train(
      simulator_fn=lambda position: SimpleSimulator(position, NSTEPS),
      state_interpreter=state_interpreter,
      action_interpreter=action_interpreter,
      policy=policy,
      reward=reward,
      initial_states=cast(List[float], SimpleDataset([10.0, 50.0, 100.0])),
      trainer_kwargs=trainer_kwargs,
      vessel_kwargs=vessel_kwargs,
  )
  print("Training finished")

Expected Behavior
The process number should be close to "concurrency"
Screenshot

Environment
Note: User could run cd scripts && python collect_info.py all under project directory to get system information
and paste them here directly.

Qlib version: <IP_ADDRESS>
Python version: 3.9.15
OS (Windows, Linux, MacOS): Linux - Ubuntu 22.04
Commit number (optional, please provide it if you are using the dev version): d8764660dcd870c9288e27e5ea507b0118fed012

Linux
x86_64
Linux-5.15.0-58-generic-x86_64-with-glibc2.35
#64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023
Python version: 3.9.15 (main, Nov 24 2022, 14:31:59)  [GCC 11.2.0]
Qlib version: <IP_ADDRESS>
numpy==1.23.5
pandas==1.5.2
scipy==1.10.0
requests==2.28.2
sacred==0.8.2
python-socketio==5.7.2
redis==4.4.2
python-redis-lock==4.0.0
schedule==1.1.0
cvxpy==1.3.0
hyperopt==0.1.2
fire==0.5.0
statsmodels==0.13.5
xlrd==2.0.1
plotly==5.12.0
matplotlib==3.6.3
tables==3.8.0
pyyaml==6.0
mlflow==1.30.0
tqdm==4.64.1
loguru==0.6.0
lightgbm==3.3.4
tornado==6.2
joblib==1.2.0
fire==0.5.0
ruamel.yaml==0.17.21
Additional Notes

Hi, thanks for reporting this issue. We fixed this bug in PR 1415. Could you please try to install the latest version and try again?

Confirmed it's fixed now. Thanks.


Clojars release 1.1.4 might be broken - completable-future is missing in my jar

Hello,
I added this library to my project to test it out.
I'm using com.climate/claypoole {:mvn/version "1.1.4"} with deps.edn.
I copied the examples and I got an error when I tried to run the piece of code with:
(def cfut (cp/completable-future pool (my-fn ["b" :a :d])))

I got this in Calva:
; Syntax error compiling at (src/ro/ieugen/training/parallel/claypool.clj:23:11).
; No such var: cp/completable-future
; Evaluation of file claypool.clj failed: class clojure.lang.Compiler$CompilerException

Checked the jar file locally and found out the macro is missing.
File looks kind of old (July 2016) so maybe the build might be broken?
Perhaps some other fixes are also missing from latest release.

I saw that 1.1.4 is quite old and completable-future is quite new code.
Would be nice to have a new release that supports them.

Yeah, the issue is basically that I no longer have rights to that repo in Clojars after I left the company, so I tried to deploy it, and I failed. I probably need to fork the repo and set up a new Claypoole package (maybe just claypoole), but I haven't done so yet; I was unsure if anyone needed it. Sounds like you do.

Yes we use it.
I think others use it too.
It pops up on Clojurians Slack channel.
Too bad it needs compiled java classes. otherwise it could have been migrated to deps.edn and use git branch  dependency .

If the java code does not change that often, it could be published as a separate library from the Clojure parts and use deps.edn (with git dependencies) for the clojure parts.

@leon-barrett Do you have plans to fork the project and do that part?
IF you don't have time to maintain it maybe we can try to see if we can push it towards clj-commons or some other org where more people can get involved.
https://github.com/clj-commons
I am not affiliated with them but I would contribute some patches.

If the java code does not change that often, it could be published as a separate library from the Clojure parts and use deps.edn (with git dependencies) for the clojure parts.

deps.edn also supports preparation of a lib with Java sources in it now:
https://clojure.org/reference/deps_and_cli#prep

Yeah, I wrote Clojure professionally from 2012-2017, but I haven't touched it in a while now. I'd love to hand this project off. clj-commons sounds like a great idea. I'll see about getting it transferred there.
(I contacted people at Climate to see about getting updated versions pushed, but I wouldn't hold my breath.)

Okay, I filed issue https://github.com/clj-commons/meta/issues/66

If they are not interested in maintaining it (and it seems this is the case) maybe they would like to transfer it so that other people can maintain it.
Thanks for being open to the idea and active in contacting your former employees.
Let's hope they agree.

Just let me know where and how to transfer and I'll move it.

@jmelching Thanks! I think you'll transfer it to https://github.com/slipset , and then then they can transfer it on to the organization https://github.com/clj-commons/ . Discussion at https://github.com/clj-commons/meta/issues/65#issuecomment-1020274707
When slipset is ready, you can transfer it via instructions available at https://docs.github.com/en/repositories/creating-and-managing-repositories/transferring-a-repository .
Thanks again!

@jmelching You should have gotten an invite. To transfer the repo, you need to the repo's "settings" tab and all the way down at the bottom, in the "Danger zone" there is a button "Transfer". Click that, and follow instructions.

This is complete.  https://github.com/clj-commons/claypoole

I think this should be closed after the new release is done that includes the changes in the examples (completable-future).
Let me know if you think otherwise.

Should be fixed in release 1.2.2 on clojars (pending announcement) and available o latest branch.


Fix broken url in python package metadata

🤔 What's changed?
url in python package metadata.
⚡ What's your motivation?
It's currently broken and returning 404 on PyPI.
What kind of change is this?

:bug: Bug fix (non-breaking change which fixes a defect)

📋 Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] My change needed additional tests

[ ] I have added tests to cover my changes.

[ ] My change requires a change to the documentation.

[ ] I have updated the documentation accordingly.

[ ] Users should know about my change

[ ] I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

(Note: I didn't check I have read the CONTRIBUTING document because it's also returning 404.)

@mattwynne ☝

@felixonmars
Thanks for your contribution.
HINT: I stumbled over the same problem when I looked over setup.py (but did not see this PR).
The same fix is already contained as part in the larger  PR #45 that fixed also other stuff related to the CI build problems (and that is already merged). Therefore, I think this PR is obsolete (by now).

Hi @felixonmars,
Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾
In return for this generous offer we hope you will:

✅ Continue to use branches and pull requests. When someone on the core team approves a pull request (yours or someone else's), you're welcome to merge it yourself.
💚 Commit to setting a good example by following and upholding our code of conduct in your interactions with other collaborators and users.
💬 Join the community Slack channel to meet the rest of the team and make yourself at home.
ℹ Don't feel obliged to help, just do what you can if you have the time and the energy.
🙋 Ask if you need anything. We're looking for feedback about how to make the project more welcoming, so please tell us!

On behalf of the Cucumber core team,
Aslak Hellesøy
Creator of Cucumber


PP-6186: Updating charge with gateway status for charge cancellation

WHAT YOU DID
A brief description of the pull request:
How to test

How should it be reviewed?
What feedback do you need?
If manual testing is needed, give suggested testing steps.

Code review checklist
Logging

[ ] only emit log lines at ERROR level which require immediate attention from a support engineer. These will trigger a zendesk alert.

Documentation

[ ] Updated README.md for any of the following ?

Introduced any new environment variables / removed existing environment variable
Added new API / updated existing API definition

Marking this as ready for review, but it should not be merged until there have been changes to frontend code to accommodate any 409 responses when cancelling charges.


Added Queues in C language

Added Queue.c  in \Stacks & Queues\C folder
Let me know if you need some changes!

This is my second PR of the second day.
Please merge this under Hacktoberfest Label!

pull request merged, now please close the issue, you can also contribute to other repo's-https://github.com/avinash201199/Hacktoberfest-Guide
Note- only 2 pr per day on a single repo is accepted.


Widescreen + Widescreen Hitbox Controls

What is your question?
Im wondering about support for more widescreen aspect ratios such as 21:9, 20:9, 19.5:9 and others. If I might have missed and it is already there, that maybe an extra setting ingame for auto-resolution/auto-aspect-ratio and manually configuring it.
Another part of this feature im particularly interested about is being able to use the further edges of the screen for hitbox controls. I tend to use middlescroll most often, so if I could be able to keep my fingers just a little bit more away from the area where you see notes coming from it makes it more playable in my experience.
Thanks in advance!

CycloKid

FNF is a game that runs in a 1280x720 resolution
making it run any resolution higher than that will result in breaking the game visuals and making everything smaller
if it was possible or easy to make only the hitbox support a resolution higher than 1280x720 it would've been done long ago
so our answer is simply no, we're unable to make the game run a resolution higher than 1280x720


Mobile Provisioning Profile not found

Thanks for making this awesome plugin happen! :)
Does anybody know where exactly should the mobile provisioning be placed in order to avoid this error when building iOS via terminal?
"/Users/mircea/Documents/readmatrix-client-xamarin/PressMatrix.sln" (Build target) (1) ->
"/Users/mircea/Documents/readmatrix-client-xamarin/PressMatrix.UI.TestHarness.iOS/PressMatrix.UI.TestHarness.iOS.csproj" (default target) (15) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(646,3): error : Could not find any available provisioning profiles for iOS. [/Users/mircea/Documents/readmatrix-client-xamarin/PressMatrix.UI.TestHarness.iOS/PressMatrix.UI.TestHarness.iOS.csproj]

Hey @MirceaStroe,
sounds like you are having trouble with code signing. This is not part of what souyuz is involved in. Code signing for iOS is done with a build step as a msbuild target. Therefore you have to setup code signing to work with VS for Mac first. I guess you solved the problem already, if not check out the docs below. Strange enough I did not get notified on new issues on this project. I am sorry for not responding.
See the MS docs here https://docs.microsoft.com/en-us/xamarin/ios/deploy-test/provisioning/


Operational FAQs Doc Update  - 10 days vs. 90 days

Re: Operational FAQs
Issue Description
The doc says

By default, CockroachDB stores timeseries data for the last 90 days for display in the DB Console

However, the preceding paragraph says:

The timeseries data used to power the graphs in the DB Console is stored within the cluster and accumulates for 10 days before it starts getting truncated. As a result, for the first 10 days or so of a cluster's life, you will see a steady increase in disk usage and the number of ranges even if you aren't writing data to the cluster yourself.

Suggested Resolution
Perhaps this should say 10 days instead of 90 days, e.g.

By default, CockroachDB stores timeseries data for the last 10 days for display in the DB Console

Good point, @hand-crdb. I'm not sure which is correct. @taroface, do you know if this changed recently and we just didn't catch all the places to make updates?

Hmm, I don't think I have worked on either section. cc @ianjevans in case you're aware of any recent time-series changes from SQL Observability.

I don't think SQL Observability changed timeseries.storage.resolution_10s.ttl. There's a separate cluster setting for SQL metrics collection.

I see that @rimadeodhar changed that part of the FAQ in this PR: https://github.com/cockroachdb/docs/pull/10528. I think we need to work together to figure out what still needs clarification. That PR was reviewed just by @thtruo. In the future, we probably want to make sure the relevant docs writer is also involved.
@taroface, can you please triage and prioritize this with @thtruo? Not sure of the urgency.


Get the target marker without change of colors at the rest of the bar.

Hi everyone,
I'm trying to customize the CSS to get a bar with the target-marker but without shift in color of the the rest of the bar. Just like if the only difference between the regular one and the one with target option enabled was the line of the marker itself and nothing more.
I'm playing with bar-card-targetbar and bar-card-targetmarker CSS options but I can't see any changes at all, no matter what I do to them.
Can someone help me out here? Or, if I'm using the wrong approach, what else could I try?
Many thanks for every little help!
PS: My card looks like this...
style: |-
  bar-card-targetbar {
    # bla bla
  }
  bar-card-targetmarker {
    # bla bla
  }

This should work:
style: |-
  bar-card-targetbar {
    visibility: hidden;
  }

Didn't do the job unfortunately....
This is the default:

This is with your style option:

Are you sure you have card-mod installed? These options aren't default.

Oh shoot.
Let me see...
On Tue, Apr 7, 2020, 7:38 PM Lucas Bramlage<EMAIL_ADDRESS>wrote:

Are you sure you have card-mod installed? These options aren't default.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/custom-cards/bar-card/issues/44#issuecomment-610553546,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABD4PLCXFVW2ABWPU3QOOR3RLNXKNANCNFSM4MDDVKAQ
.

Oh shoot.
Let me see...
Update: That was it! I was still missing that piece of the puzzle.
Mega thanks to you sir @Gluwc !

No worries! It looks great, I like your theme even though I'm a dark mode andy. Always nice to see your hard work put to good use.

Oh, right, now that you make me notice I have to test the style mod in the dark theme to...
I've got the automation set to switch between light/dark theme based on the sun. 😉

You actually made me notice I fucked up the positions on the direction up mode. I would actually like to fix it but that might change your layout a bit. You'll still be able to get this exact layout back with a little bit more CSS styles though.


empty string results in object names being assigned

test = CommonRegex('')
test.dates
<function regex.call..regex_method at 0x000000000389F048>
test.dates()
[]
test = CommonRegex('asdasd')
test.dates
[]
test.dates()
Traceback (most recent call last):
File "", line 1, in
TypeError: 'list' object is not callable

This is on python 3.3.3 on Win 7 x64bit
I won't be surprised if this if my failure to understand a concept :)
Obvious workaround to detect empty strings before passing to CommonRegex is obvious.

You want to use test.dates not test.dates()

I think a better option is to ensure a string is input, rather than checking the truthiness of the input text to decide whether to continue.


"Fundulea" is listed in the drop-down menu

Description:
"Fundulea" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Fundulea" in the search bar.

Expected results
The location is listed in the drop-down menu as "Oraș FUNDULEA, CĂLĂRAȘI (FUNDULEA)".


Listnav specs

Add some specs checking that listnavs actually render.

@kbrock : magical button? Lift this burden from my shoulders, please.


How to clipping multiple planes on the Cesium3DTileset?

I want to clipping multiple planes on Cesium3DTileset, but now I can only clipping one plane.

You can find an example of multiple clipping planes here:
https://github.com/CesiumGS/cesium/blob/master/Apps/Sandcastle/gallery/development/Many Clipping Planes.html
If you're still having issues, I encourage you to search through the Cesium forum (https://groups.google.com/forum/#!forum/cesium-dev) or open a new thread there if you don't find the answer you're looking for.


ZodError in preprocess should wrap with path

having a schema definition like :
 z.object({
	port: z.preprocess(
		(a) => parseInt(z.string().parse(a), 10),
		z.number().positive()
	),
})

if the preprocessor throws an exception (for example if the value is undefined) the error looks like this:
ZodError: [
  {
    "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": [],
    "message": "Required"
  }
]

with no indication which property the error originated from
generally i think all errors thrown in preprocess should be wrapped and their field added to the path

The ZodError thrown inside your preprocess function isn't magically caught and merged into the higher-level context. I think that's too magical. It's similar to refine and transform in that way — they should never throw ideally. This might change in the future, though this usecase will be better solved with a future "pipeline" API: https://github.com/colinhacks/zod/issues/1316#issuecomment-1208735246

Tracked at https://github.com/colinhacks/zod/issues/1309


Revise Visual C++ Redistributable files distribution strategy.

Summary of the new feature/enhancement
As per #3070, Merge Modules were removed in favor of copying the Visual C++ Redistributable CRT dlls on various project folders. In order to avoid having to keep various copies of the same things in the installation folder, it might be a good idea to follow the Microsoft recommendations and bundle the VCRedist_x64 in our installer. https://docs.microsoft.com/en-us/cpp/windows/determining-which-dlls-to-redistribute?view=vs-2019
Proposed technical implementation details (optional)
The options are:

Keep bundling the DLLs manually. This means having multiple copies of the dlls in the app directory, and also new Power Toys modules that require any of the \MD compiled dlls would need even more copies in their respective folders (this already led to a bug https://github.com/microsoft/PowerToys/commit/468b9b0e6632786bdde22a25f08b762f61a2e58b).
Bundle Merge Modules. This is what we used to do, but led to an issue were Firefox started crashing due to missing dlls after uninstalling Power Toys. We should look into the root cause of the issue more closely, and try to reproduce what was happening exactly.
Bundle VCRedist.exe. This is the recommended MSDN way and would involve adding a new step in the installation process, similar to what we do with the .NET Core Runtime installer.

@traies do you remember how much savings this brings us for space?

Looks like we currently ship ~5MBs of C++ runtimes.

Regarding the three option listed by @traies:
1 - this is far from ideal, so we should fix it
2 - we simply don't have the resources to spend time investigating issues that are not "code" related
3 - seems the correct option to implement

@enricogior take a few and discuss, i'm inclined to say we don't fix this.

@yuyoyuppe can't we call this done with the hard links?

@crutkas It's done for C# projects, and for C++ projects we've been linking VC runtime .dlls statically since forever, so we can consider it done.


Documentation: document that the graphiql playground is disabled by default in production

The problem
The fact that the graphiql playground is disabled based on the NODE_ENV variable is not mentionned in the documentation
Proposed solution
Add a Callout in src/pages/docs/features/graphiql.mdx in the Disable GraphiQL section to explain that behavior.
Something like: Not specifying how GraphiQL option will default to the GraphiQL playground being disabled if NODE_ENV is set to "production"

Hi,
I have the same problem, can you tell me how did you bypass it ?
Thanks

Hi,
What do you want to achieve?
Do you want to keep the graphiql enabled in production?
in all environments?


Switching jurisdiction whilst editing a certificate causes a 404

Started editing new certificate
Noticed questions about US jurisdiction and wanted to switch to UK
Used option at the top of page to change jurisdiction and selected UK
On hitting the button I got a 404

This should be fixed by #1174


hide hypothes.is on site info :: manage tools

don't hide it. make it look selected and disabled.

Not sure hiding is relevant still, need to check with Chris.
Can we add a visual 'tag' to hypothes.is throughout the UI so folks know it's a pilot?


feat(certs-management): generate a certificate per data plane cluster

Description

implement vault storage based on AWS Secret Manager
Closes https://issues.redhat.com/browse/MGDSTRM-10444 and https://issues.redhat.com/browse/MGDSTRM-10443
This is highly based on https://github.com/bf2fc6cc711aee1a0c2a/architecture/tree/main/_adr/89
Verification Steps

For the manual mode, integrations tests should pass
For the automatic mode, sync up with me and I'll guide you through the verification steps

Checklist (Definition of Done)

[ ] All acceptance criteria specified in JIRA have been completed
[ ] Unit and integration tests added that prove the fix is effective or the feature works (tested against emulated and non-emulated OCM environment)
[ ] Documentation added for the feature
[ ] CI and all relevant tests are passing
[ ] Code Review completed
[ ] Verified independently by reviewer
[ ] All PR comments are resolved either by addressing them or creating follow up tasks
[ ] Required metrics/dashboards/alerts have been added (or PR created).
[ ] Required Standard Operating Procedure (SOP) is added.
[ ] JIRA has been created for changes required on the client side

the changes look reasonable to me. I wonder if it would make sense to let other team members have a look as well, as this is a completely new feature that could have an impact on the kfm?

Thanks @pawelpaszki
Yes, sounds great.

Superseded by https://github.com/bf2fc6cc711aee1a0c2a/kas-fleet-manager/pull/1531


Add support for Docbook

Adding Docbook Procedure Support

[ ] How do procedures look once converted to asciidoc? We may need to improve this syntax, and check how  they are converted back to xml procedures for publishing.  see:
1.) Extension: https://github.com/asciidoctor/asciidoctor-extensions-lab/tree/master/lib/steps-postprocessor
2.) Custom template: https://github.com/asciidoctor/asciidoctor-backends/blob/master/slim/docbook45/block_olist.xml.slim
3.) Community Proposal: https://github.com/asciidoctor/asciidoctor/issues/192#issuecomment-15321665

procedure
titleA Title/title
step
paraStep one/para
/step
/procedure

Hmm, <procedure> works for testsuite/xml/chapter.xml. Not sure what's missing.
Closing for now.