React Native start not working in windows

I have followed react native official document and using React Native CLI Quickstart
https://facebook.github.io/react-native/docs/getting-started
npm --version
6.13.0
react-native --version
react-native-cli:2.0.1
react-native : 0.61.4
package.json
{
"name": "bg",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"lint": "eslint ."
},
"dependencies": {
"react": "16.9.0",
"react-native": "0.61.4"
},
"devDependencies": {
"@babel/core": "^7.7.2",
"@babel/runtime": "^7.7.2",
"@react-native-community/eslint-config": "^0.0.5",
"babel-jest": "^24.9.0",
"eslint": "^6.6.0",
"jest": "^24.9.0",
"metro-react-native-babel-preset": "^0.57.0",
"react-test-renderer": "16.9.0"
},
"jest": {
"preset": "react-native"
}
}
when i run react-native start getting error
error Invalid regular expression: /(._fixtures_.|node_modules[]react[ ]dist[].|website\node_modules.|heapCapture\bundle.js|._tests_\ .)$/: Unterminated character class. Run CLI with --verbose flag for more detai ls. SyntaxError: Invalid regular expression: /(._fixtures_.|node_modules[\ ]react[]dist[].|website\node_modules.|heapCapture\bundle.js|._t ests_.)$/: Unterminated character class at new RegExp () at blacklist (C:\Users\prakash lobo\bg\node_modules\metro-config\src\default s\blacklist.js:34:10) at getBlacklistRE (C:\Users\prakash lobo\bg\node_modules@react-native-commu nity\cli\build\tools\loadMetroConfig.js:66:59) at getDefaultConfig (C:\Users\prakash lobo\bg\node_modules@react-native-com munity\cli\build\tools\loadMetroConfig.js:82:20) at load (C:\Users\prakash lobo\bg\node_modules@react-native-community\cli\b uild\tools\loadMetroConfig.js:118:25) at Object.runServer [as func] (C:\Users\prakash lobo\bg\node_modules@react- native-community\cli\build\commands\server\runServer.js:82:58) at Command.handleAction (C:\Users\prakash lobo\bg\node_modules@react-native -community\cli\build\index.js:164:23) at Command.listener (C:\Users\prakash lobo\bg\node_modules\commander\index.j s:315:8) at Command.emit (events.js:210:5) at Command.parseArgs (C:\Users\prakash lobo\bg\node_modules\commander\index. js:651:12)
I have googled many solution but doesn't work at all . i am trying to fix this from last one month

C:\Users\vision\bg>react-native --version
react-native-cli: 2.0.1
react-native: 0.61.4
C:\Users\vision\bg>react-native info
info Fetching system and libraries information...
System:
OS: Windows 8.1
CPU: (4) x64 Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
Memory: 2.57 GB / 11.91 GB
Binaries:
Node: 13.0.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.17.3 - C:\Users\vision\AppData\Roaming\npm\yarn.CMD
npm: 6.13.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version  <IP_ADDRESS> AI-191.8<IP_ADDRESS>91312
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.4 => 0.61.4
C:\Users\vision\bg>

As per stackoverflow comment i have uninstalled node js and installed with version
'
react-native info
info Fetching system and libraries information...
System:
OS: Windows 8.1
CPU: (4) x64 Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
Memory: 5.87 GB / 11.91 GB
Binaries:
Node: 12.13.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.17.3 - C:\Users\prakash lobo\AppData\Roaming\npm\yarn.CMD
npm: 6.13.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version  <IP_ADDRESS> AI-191.8<IP_ADDRESS>91312
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.4 => 0.61.4
error still same

I have fixed this issue using following sollution

I was using 13.1.0 node js version .uninstalled that version and installed Windows (x64)
12.13.0 LTS.

2.Even after changing node js .i was getting same error after that i have changed following code.
node_modules\metro-config\src\defaults\blacklist.js
var sharedBlacklist = [
/node_modules[/\]react[/\]dist[/\]./,
/website/node_modules/./,
/heapCapture/bundle.js/,
/./tests/./
];
replaced with this
var sharedBlacklist = [
/node_modules[/\]react[/\]dist[/\]./,
/website/node_modules/./,
/heapCapture/bundle.js/,
/./tests/./
];
I am not closing this issue .since i need to know any other better solution since now i am changing code inside node modules.

i have this problem too!
please help
System:     OS: Windows 10     CPU: (4) x64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz     Memory: 7.27 GB / 15.92 GB   Binaries:     Node: 12.13.0 - C:\Program Files\nodejs\node.EXE     Yarn: 1.19.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD     npm: 6.12.0 - C:\Program Files\nodejs\npm.CMD   SDKs:     Android SDK:       API Levels: 28, 29       Build Tools: 28.0.3, 29.0.2       System Images: android-28 | Google APIs Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom_64   IDEs:     Android Studio: Version  <IP_ADDRESS> AI-191.8<IP_ADDRESS>77832   npmPackages:     react: 16.8.6 => 16.8.6     react-native: 0.60.5 => 0.60.5

i did fixed this issue by downgrading node js to version 12.10.0 in windows
https://nodejs.org/dist/v12.10.0/node-v12.10.0-x64.msi

Downgrading Node.js to version 12.10.0 in windows also fixed the problem for me.
https://nodejs.org/dist/v12.10.0/node-v12.10.0-x64.msi


Update openapi specs

Updated license and added URL in openapi specs

Can one of the admins verify this patch?

ok to test


EURO-CORDEX to the cloud ☁

Description
To make research reproducible, easy access to input data under FAIR conditions is critical. For EURO-CORDEX (ca. 75TB), it's not trivial if you want to work with the whole ensemble if you have no direct access to the EURO-CORDEX ensemble dataset. Bringing EURO-CORDEX data to a cloud provider would solve lots problems concerning:

reproducibility
reusability
exchange of hands on tutorials with real input data
avoid selection bias if you have to decide on datasets at download time
promote the datasets more easily and democratically (low-threshold)

Possible cloud providers

Pangeo Forge (under development)

https://github.com/pangeo-forge/staged-recipes/issues/96

Amazon Open Data Sponsorhip

e.g., NA-CORDEX

This is also interesting for the Topic 4 in Pilot Lab Exascale Earth System Modelling.

Information about individual model restrictions can be found in the CORDEX register:

https://is-enes-data.github.io/CORDEX_RCMs_ToU.txt
https://github.com/IS-ENES-Data/cordex/blob/master/CORDEX_register.xlsx

License issues:

CMIP6 license

https://gitlab.dkrz.de/data-infrastructure-services/zarr-in-swift-objectstorage

moved to https://github.com/WCRP-CORDEX/discuss/issues/1


⚠ Bofrost.de has degraded performance

In ece82bd, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1480 ms

Resolved: Bofrost.de performance has improved in acb11da after 6 minutes.


Basic Authentication - Response status code does not indicate success: 401 (Unauthorized)

Hello,
We use the following systems:

Azure DevOps Pipelines

external Feed (ProGet from Inedo https://inedo.com/proget)

self hosted build agents (Windows Server 2022)

We have the following issue:
I can't get the credential provider running with the external feed. It does not work in the pipeline and it does not work manually.
I try the following:
dotnet new classlib --name proget_experimental
cd proget_experimental
dotnet new nugetconfig
dotnet nuget disable source nuget
dotnet nuget add source "https://internalproget.server.com/nuget/Experimental/v3/index.json" --name "ProGet Experimental (Basic Auth)"
dotnet add package MsgPack.Cli

And I'm getting:
Response status code does not indicate success: 401 (Unauthorized).

I prepared the system with the following:
$env:VSS_NUGET_EXTERNAL_FEED_ENDPOINTS = '{"endpointCredentials": [{"endpoint":"https://internalproget.server.com/nuget/Experimental/v3/index.json", "username":"username", "password":"password"}]}'
$env:NUGET_PLUGIN_HANDSHAKE_TIMEOUT_IN_SECONDS=30
$env:NUGET_PLUGIN_REQUEST_TIMEOUT_IN_SECONDS=30
iex "& { $(irm https://aka.ms/install-artifacts-credprovider.ps1) }"

When I manually add the dependcy to the *.csproj file
<Project Sdk="Microsoft.NET.Sdk">
    <PropertyGroup>
        <TargetFramework>net6.0</TargetFramework>
        <ImplicitUsings>enable</ImplicitUsings>
        <Nullable>enable</Nullable>
    </PropertyGroup>
    <ItemGroup>
        <PackageReference Include="MsgPack.Cli" Version="1.0.1" />
    </ItemGroup>
</Project>

and run dotnet restore -v d, I get the following output:
Task "RestoreTask"
  (in) RestoreGraphItems Count '5'
  (in) RestoreDisableParallel 'False'
  (in) RestoreNoCache 'False'
  (in) RestoreIgnoreFailedSources 'False'
  (in) RestoreRecursive 'True'
  (in) RestoreForce 'False'
  (in) HideWarningsAndErrors 'False'
  (in) RestoreForceEvaluate 'False'
  (in) RestorePackagesConfig 'False'
  X.509 certificate chain validation will use the default trust store selected by .NET.
  Running non-parallel restore.
  Reading project file C:\Users\<USER>\proget_experimental\proget_experimental.csproj.
  The restore inputs for 'proget_experimental' have changed. Continuing restore.
  Restoring packages for C:\Users\<USER>\proget_experimental\proget_experimental.csproj...
  Restoring packages for .NETCoreApp,Version=v6.0...
  Using C:\Users\<USER>\.nuget\plugins\netcore\CredentialProvider.Microsoft\CredentialProvider.Microsoft.dll as a credential provider plugin.
      [CredentialProvider.073911]Running in plug-in mode
      [CredentialProvider.073911]Command-line v1.0.2+c2bc059db245a21f09d4e9afa92bba813c567488: C:\Users\<USER>\.nuget\plugins\netcore\CredentialProvider.Microsoft\CredentialProvider.Microsoft.dll -Plugin
      [CredentialProvider.073911]Handling 'Request' 'Initialize'. Time elapsed in ms: 4 - Payload: {"ClientVersion":"6.3.2","Culture":"en-US","RequestTimeout":"00:00:30"}
      [CredentialProvider.073911]Sending response: 'Request' 'Initialize'. Time elapsed in ms: 4
      [CredentialProvider.073911]Time elapsed in milliseconds after sending response 'Request' 'Initialize': 6
      [CredentialProvider.073911]Handling 'Request' 'GetOperationClaims'. Time elapsed in ms: 0 - Payload: {}
      [CredentialProvider.073911]Sending response: 'Request' 'GetOperationClaims'. Time elapsed in ms: 6
      [CredentialProvider.073911]Time elapsed in milliseconds after sending response 'Request' 'GetOperationClaims': 20
      [CredentialProvider.073911]Handling 'Request' 'SetLogLevel'. Time elapsed in ms: 5 - Payload: {"LogLevel":"Debug"}
      [CredentialProvider]Sending response: 'Request' 'SetLogLevel'. Time elapsed in ms: 6
      [CredentialProvider]Time elapsed in milliseconds after sending response 'Request' 'SetLogLevel': 18
      [CredentialProvider]Handling 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 3 - Payload: {"Uri":"https://internalproget.server.com/nuget/Experimental/v3/index.json","IsRetry":false,"IsNonInteractive":true,"CanShowDialog":false}
      [CredentialProvider]Creating a progress reporter with interval: 00:00:02
      [CredentialProvider]Handling auth request, Uri: https://internalproget.server.com/nuget/Experimental/v3/index.json, IsRetry: False, IsNonInteractive: True, CanShowDialog: False
      [CredentialProvider]URI: https://internalproget.server.com/nuget/Experimental/v3/index.json
      [CredentialProvider]Using NuGetCredentialProvider.CredentialProviders.VstsBuildTaskServiceEndpoint.VstsBuildTaskServiceEndpointCredentialProvider to try to get credentials for https://internalproget.server.com/nuget/Experimental/v3/index.json.
      [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - IsRetry: False
      [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - Parsing json
      [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - Found credentials for endpoint https://internalproget.server.com/nuget/Experimental/v3/index.json
      [CredentialProvider]Sending response: 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 40
      [CredentialProvider]Time elapsed in milliseconds after sending response 'Request' 'GetAuthenticationCredentials': 43
      [CredentialProvider]Handling 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 0 - Payload: {"Uri":"https://internalproget.server.com/nuget/Experimental/v3/index.json","IsRetry":true,"IsNonInteractive":true,"CanShowDialog":false}
      [CredentialProvider]Creating a progress reporter with interval: 00:00:02
      [CredentialProvider]Handling auth request, Uri: https://internalproget.server.com/nuget/Experimental/v3/index.json, IsRetry: True, IsNonInteractive: True, CanShowDialog: False
      [CredentialProvider]URI: https://internalproget.server.com/nuget/Experimental/v3/index.json
      [CredentialProvider]Using NuGetCredentialProvider.CredentialProviders.VstsBuildTaskServiceEndpoint.VstsBuildTaskServiceEndpointCredentialProvider to try to get credentials for https://internalproget.server.com/nuget/Experimental/v3/index.json.
      [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - IsRetry: True
      [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - Found credentials for endpoint https://internalproget.server.com/nuget/Experimental/v3/index.json
      [CredentialProvider]Sending response: 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 1
      [CredentialProvider]Time elapsed in milliseconds after sending response 'Request' 'GetAuthenticationCredentials': 2
      [CredentialProvider]Handling 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 0 - Payload: {"Uri":"https://internalproget.server.com/nuget/Experimental/v3/index.json","IsRetry":true,"IsNonInteractive":true,"CanShowDialog":false}
      [CredentialProvider]Creating a progress reporter with interval: 00:00:02
      [CredentialProvider]Handling auth request, Uri: https://internalproget.server.com/nuget/Experimental/v3/index.json, IsRetry: True, IsNonInteractive: True, CanShowDialog: False
      [CredentialProvider]URI: https://internalproget.server.com/nuget/Experimental/v3/index.json
      [CredentialProvider]Using NuGetCredentialProvider.CredentialProviders.VstsBuildTaskServiceEndpoint.VstsBuildTaskServiceEndpointCredentialProvider to try to get credentials for https://internalproget.server.com/nuget/Experimental/v3/index.json.
      [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - IsRetry: True
      [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - Found credentials for endpoint https://internalproget.server.com/nuget/Experimental/v3/index.json
      [CredentialProvider]Sending response: 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 1
      [CredentialProvider]Time elapsed in milliseconds after sending response 'Request' 'GetAuthenticationCredentials': 1
      [CredentialProvider]Handling 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 0 - Payload: {"Uri":"https://internalproget.server.com/nuget/Experimental/v3/index.json","IsRetry":true,"IsNonInteractive":true,"CanShowDialog":false}
      [CredentialProvider]Creating a progress reporter with interval: 00:00:02
      [CredentialProvider]Handling auth request, Uri: https://internalproget.server.com/nuget/Experimental/v3/index.json, IsRetry: True, IsNonInteractive: True, CanShowDialog: False
      [CredentialProvider]URI: https://internalproget.server.com/nuget/Experimental/v3/index.json
      [CredentialProvider]Using NuGetCredentialProvider.CredentialProviders.VstsBuildTaskServiceEndpoint.VstsBuildTaskServiceEndpointCredentialProvider to try to get credentials for https://internalproget.server.com/nuget/Experimental/v3/index.json.
      [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - IsRetry: True
      [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - Found credentials for endpoint https://internalproget.server.com/nuget/Experimental/v3/index.json
      [CredentialProvider]Sending response: 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 1
      [CredentialProvider]Time elapsed in milliseconds after sending response 'Request' 'GetAuthenticationCredentials': 1
C:\Users\<USER>\proget_experimental\proget_experimental.csproj : error NU1301: Unable to load the service index for source https://internalproget.server.com/nuget/Experimental/v3/index.json.

When I add username and password everything is working:
dotnet new classlib --name proget_experimental
cd proget_experimental
dotnet new nugetconfig
dotnet nuget disable source nuget
dotnet nuget add source "https://internalproget.server.com/nuget/Experimental/v3/index.json" --name "ProGet Experimental (Basic Auth)" --username "username" --password "password"
dotnet add package MsgPack.Cli

When I execute the following, I also have a positive response:
C:\Users\<USER>\.nuget\plugins\netcore\CredentialProvider.Microsoft\CredentialProvider.Microsoft.exe  -I -V Verbose -U "https://internalproget.server.com/nuget/Experimental/v3/index.json"

[Verbose] [CredentialProvider]Running in stand-alone mode
[Verbose] [CredentialProvider]Command-line v1.0.2+c2bc059db245a21f09d4e9afa92bba813c567488: C:\Users\<USER>\.nuget\plugins\netcore\CredentialProvider.Microsoft\CredentialProvider.Microsoft.dll -I -V Verbose -U https://internalproget.server.com/nuget/Experimental/v3/index.json
[Verbose] [CredentialProvider]Handling auth request, Uri: https://internalproget.server.com/nuget/Experimental/v3/index.json, IsRetry: True, IsNonInteractive: False, CanShowDialog: False
[Verbose] [CredentialProvider]URI: https://internalproget.server.com/nuget/Experimental/v3/index.json
[Verbose] [CredentialProvider]Using NuGetCredentialProvider.CredentialProviders.VstsBuildTaskServiceEndpoint.VstsBuildTaskServiceEndpointCredentialProvider to try to get credentials for https://internalproget.server.com/nuget/Experimental/v3/index.json.
[Verbose] [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - IsRetry: True
[Verbose] [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - Parsing json
[Verbose] [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - Found credentials for endpoint https://internalproget.server.com/nuget/Experimental/v3/index.json
[Information] [CredentialProvider]Username: username
[Information] [CredentialProvider]Password: password

Maybe I'm doing something wrong or maybe it's not possible to use basic authentication. Can you maybe help me 😄 ?
Thank you

It's possible, ultimately that's what is used with PATs. From your experiments it seems clear the credential provider is working as expected if your username and password are correctly returned from the tool (the last log), so the issue is likely on the nuget client side. The first log where you're getting multiple attempts that's nuget client trying the credentials, getting 401, then requesting a new one (to which the same credential is returned). You can see that IsRetry is initially false, but then flips to True as the credentials aren't working.
Since this doesn't seem like a credential provider issue, have you hooked up fiddler or wireshark to capture the outgoing call from nuget client to the private repository? That would indicate if the same credentials are being used on those calls, or highlight the different between using the credential provider to pass credentials vs nuget passing credentials.

@JohnSchmeichel Thank you for your quick response.
I tried to read something from the Wireshark output, but as everything is encrypted, and I'm not that familiar with Wireshark it was a dead end for me.
As you mentioned nuget as client, I tried directly using nuget to restore, but with the same response:
nuget restore proget_experimental.csproj -Verbosity detailed

    [CredentialProvider.115133]Running in plug-in mode
    [CredentialProvider.115133]Command-line v1.0.2+c2bc059db245a21f09d4e9afa92bba813c567488: "C:\Users\<USER>\.nuget\plugins\netfx\CredentialProvider.Microsoft\CredentialProvider.Microsoft.exe" -Plugin
    [CredentialProvider.115133]Handling 'Request' 'Initialize'. Time elapsed in ms: 6 - Payload: {"ClientVersion":"6.5.0","Culture":"en-US","RequestTimeout":"00:00:30"}
    [CredentialProvider.115133]Sending response: 'Request' 'Initialize'. Time elapsed in ms: 7
    [CredentialProvider.115133]Time elapsed in milliseconds after sending response 'Request' 'Initialize': 10
    [CredentialProvider.115133]Handling 'Request' 'GetOperationClaims'. Time elapsed in ms: 0 - Payload: {}
    [CredentialProvider.115133]Sending response: 'Request' 'GetOperationClaims'. Time elapsed in ms: 10
    [CredentialProvider.115134]Time elapsed in milliseconds after sending response 'Request' 'GetOperationClaims': 37
    [CredentialProvider.115134]Handling 'Request' 'SetLogLevel'. Time elapsed in ms: 1 - Payload: {"LogLevel":"Debug"}
    [CredentialProvider]Sending response: 'Request' 'SetLogLevel'. Time elapsed in ms: 3
    [CredentialProvider]Time elapsed in milliseconds after sending response 'Request' 'SetLogLevel': 10
    [CredentialProvider]Handling 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 4 - Payload: {"Uri":"https://internalproget.server.com/nuget/Experimental/v3/index.json","IsRetry":false,"IsNonInteractive":false,"CanShowDialog":true}
    [CredentialProvider]Creating a progress reporter with interval: 00:00:02
    [CredentialProvider]Handling auth request, Uri: https://internalproget.server.com/nuget/Experimental/v3/index.json, IsRetry: False, IsNonInteractive: False, CanShowDialog: True
    [CredentialProvider]URI: https://internalproget.server.com/nuget/Experimental/v3/index.json
    [CredentialProvider]Using NuGetCredentialProvider.CredentialProviders.VstsBuildTaskServiceEndpoint.VstsBuildTaskServiceEndpointCredentialProvider to try to get credentials for https://internalproget.server.com/nuget/Experimental/v3/index.json.
    [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - IsRetry: False
    [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - Parsing json
    [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - Found credentials for endpoint https://internalproget.server.com/nuget/Experimental/v3/index.json
    [CredentialProvider]Sending response: 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 92
    [CredentialProvider]Time elapsed in milliseconds after sending response 'Request' 'GetAuthenticationCredentials': 104
    [CredentialProvider]Handling 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 0 - Payload: {"Uri":"https://internalproget.server.com/nuget/Experimental/v3/index.json","IsRetry":true,"IsNonInteractive":false,"CanShowDialog":true}
    [CredentialProvider]Creating a progress reporter with interval: 00:00:02
    [CredentialProvider]Handling auth request, Uri: https://internalproget.server.com/nuget/Experimental/v3/index.json, IsRetry: True, IsNonInteractive: False, CanShowDialog: True
    [CredentialProvider]URI: https://internalproget.server.com/nuget/Experimental/v3/index.json
    [CredentialProvider]Using NuGetCredentialProvider.CredentialProviders.VstsBuildTaskServiceEndpoint.VstsBuildTaskServiceEndpointCredentialProvider to try to get credentials for https://internalproget.server.com/nuget/Experimental/v3/index.json.
    [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - IsRetry: True
    [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - Found credentials for endpoint https://internalproget.server.com/nuget/Experimental/v3/index.json
    [CredentialProvider]Sending response: 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 0
    [CredentialProvider]Time elapsed in milliseconds after sending response 'Request' 'GetAuthenticationCredentials': 0
    [CredentialProvider]Handling 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 0 - Payload: {"Uri":"https://internalproget.server.com/nuget/Experimental/v3/index.json","IsRetry":true,"IsNonInteractive":false,"CanShowDialog":true}
    [CredentialProvider]Creating a progress reporter with interval: 00:00:02
    [CredentialProvider]Handling auth request, Uri: https://internalproget.server.com/nuget/Experimental/v3/index.json, IsRetry: True, IsNonInteractive: False, CanShowDialog: True
    [CredentialProvider]URI: https://internalproget.server.com/nuget/Experimental/v3/index.json
    [CredentialProvider]Using NuGetCredentialProvider.CredentialProviders.VstsBuildTaskServiceEndpoint.VstsBuildTaskServiceEndpointCredentialProvider to try to get credentials for https://internalproget.server.com/nuget/Experimental/v3/index.json.
    [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - IsRetry: True
    [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - Found credentials for endpoint https://internalproget.server.com/nuget/Experimental/v3/index.json
    [CredentialProvider]Sending response: 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 0
    [CredentialProvider]Time elapsed in milliseconds after sending response 'Request' 'GetAuthenticationCredentials': 1
    [CredentialProvider]Handling 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 0 - Payload: {"Uri":"https://internalproget.server.com/nuget/Experimental/v3/index.json","IsRetry":true,"IsNonInteractive":false,"CanShowDialog":true}
    [CredentialProvider]Creating a progress reporter with interval: 00:00:02
    [CredentialProvider]Handling auth request, Uri: https://internalproget.server.com/nuget/Experimental/v3/index.json, IsRetry: True, IsNonInteractive: False, CanShowDialog: True
    [CredentialProvider]URI: https://internalproget.server.com/nuget/Experimental/v3/index.json
    [CredentialProvider]Using NuGetCredentialProvider.CredentialProviders.VstsBuildTaskServiceEndpoint.VstsBuildTaskServiceEndpointCredentialProvider to try to get credentials for https://internalproget.server.com/nuget/Experimental/v3/index.json.
    [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - IsRetry: True
    [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - Found credentials for endpoint https://internalproget.server.com/nuget/Experimental/v3/index.json
    [CredentialProvider]Sending response: 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 0
    [CredentialProvider]Time elapsed in milliseconds after sending response 'Request' 'GetAuthenticationCredentials': 1

What still works is nuget without CredentialProvider, when I've to insert the credentials manually.
I'll try to get access now to our internal server and hope I can find something in the logs there.
Is there a possibility to somehow see the difference between with and without CredentialProvider without Wireshark?

i'm not sure it's fully related but looks like we also have similar issue. we use .NET Core 3.1 in linux under docker for following image mcr.microsoft.com/dotnet/sdk:3.1-alpine. and we have a step there that installs the latest installcredprovider.sh like this and it started to throw a sh error
Step 9/20 : RUN wget -qO- https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.sh | sh
 ---> Running in d77b2f6b60bb
sh: v0.*: unknown operand
INFO: Creating the nuget plugin directory (i.e. /root/.nuget/plugins).
Downloading from https://github.com/Microsoft/artifacts-credprovider/releases/latest/download/Microsoft.Net6.NuGet.CredentialProvider.tar.gz
INFO: credential provider netcore plugin extracted to /root/.nuget/
Removing intermediate container d77b2f6b60bb
 ---> ae45770ae9d6

The last time we used it was March 16 and it worked fine and output was
Step 9/20 : RUN wget -qO- https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.sh | sh
 ---> Running in 26cc8735d3a6
INFO: Creating the nuget plugin directory (i.e. /root/.nuget/plugins).
Downloading from https://github.com/Microsoft/artifacts-credprovider/releases/latest/download/Microsoft.NuGet.CredentialProvider.tar.gz
INFO: credential provider netcore plugin extracted to /root/.nuget/
Removing intermediate container 26cc8735d3a6
 ---> edfe802ca579

and then it fails on restore step
Step 13/20 : RUN dotnet build --source "${ARTIFACTS_ENDPOINT}" SomeUnit.Tests.csproj
 ---> Running in c70b4c6e232c
Microsoft (R) Build Engine version 16.7.3+2f374e28e for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '6.0.0' was not found.
  - The following frameworks were found:
      3.1.32 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

The specified framework can be found at:
  - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=6.0.0&arch=x64&rid=alpine.3.16-x64
/usr/share/dotnet/sdk/3.1.426/NuGet.targets(128,5): error : Problem starting the plugin '/root/.nuget/plugins/netcore/CredentialProvider.Microsoft/CredentialProvider.Microsoft.dll'. Broken pipe [/src/Some.Tests/SomeUnit.Tests.csproj]
/usr/share/dotnet/sdk/3.1.426/NuGet.targets(128,5): error : Unable to load the service index for source https://some.pkgs.visualstudio.com/_packaging/some-Nuget/nuget/v3/index.json. [/src/SomeUnit.Tests/SomeUnit.Tests.csproj]
/usr/share/dotnet/sdk/3.1.426/NuGet.targets(128,5): error :   Response status code does not indicate success: 401 (Unauthorized). [/src/SomeUnit.Tests/SomeUnit.Tests.csproj]

Build FAILED.

@sergey-litvinov-work I think your issue is different as it's failing to successfully install the credential provider, can you open a new issue on this?

@chrisdecker1201 try using fiddler if you can, you should be able to see the requests sent from NuGet to the remote server and inspect the headers and payload.

@JohnSchmeichel should i still create an issue? we just added ENV USE_NET6_ARTIFACTS_CREDENTIAL_PROVIDER false so it fallbacks to older version and works for us.
If you think that it's good to create a defect - i can create it, but it's a question what should be default version - older .NET so it won't require any changes for older project, or new one and then older project need to force to use older version. And if the answer is newer should be default, then i guess we don't need a ticket

Glad it's working for you (will still look at the script error though). Newer should be the default, the .NET Core 3.1 is out of support and we'll be removing it from the code base in the coming weeks.

Thank you for the tip with fiddler. Sadly I'm still confused. I'm not an expert in authentication but the main difference I see is that, when I try to use the credential provider it's using the NTLM and get a 401 response:
No Proxy-Authenticate Header is present.

WWW-Authenticate Header is present: Negotiate

WWW-Authenticate Header is present: NTLM

And when I use direct authentication with
dotnet nuget add source "https://internalproget.server.com/nuget/Experimental/v3/index.json" --name "ProGet Experimental (Basic Auth)" --username "username" --password "password"

it's using Kerberos and get a 200 response:
No Proxy-Authenticate Header is present.

WWW-Authenticate Header (Negotiate) appears to be a Kerberos reply:
...

I will try to disable NTLM on the server tomorrow and try again. Maybe that's the solution.

I'm not sure anymore if the issue is related to the CredentialProvider or more an issue of the server configuration I have.
I set Network security: Restrict NTLM: Outgoing NTLM traffic to remote servers via Group Policy, but after that dotnet restore --verbosity detailed does not output a single CredentialProvider log
  X.509 certificate chain validation will use the default trust store selected by .NET.
  Running non-parallel restore.
  Reading project file C:\Users\<USER>\proget_experimental\proget_experimental.csproj.
  The restore inputs for 'proget_experimental' have changed. Continuing restore.
  Restoring packages for C:\Users\<USER>\proget_experimental\proget_experimental.csproj...
  Restoring packages for .NETCoreApp,Version=v6.0...
C:\Users\<USER>\proget_experimental\proget_experimental.csproj : error NU1301: Unable to load the service index for so
urce https://internalproget.server.com/nuget/Experimental/v3/index.json.
  Checking compatibility of packages on net6.0.
  All packages and projects are compatible with net6.0.
  Committing restore...

With Network security: Restrict NTLM: Outgoing NTLM traffic to remote servers set to Allow all:
  X.509 certificate chain validation will use the default trust store selected by .NET.
  Running non-parallel restore.
  Reading project file C:\Users\<USER>\proget_experimental\proget_experimental.csproj.
  The restore inputs for 'proget_experimental' have changed. Continuing restore.
  Restoring packages for C:\Users\<USER>\proget_experimental\proget_experimental.csproj...
  Restoring packages for .NETCoreApp,Version=v6.0...
  Using C:\Users\<USER>\.nuget\plugins\netcore\CredentialProvider.Microsoft\CredentialProvider.Microsoft.dll as a credential provider plugin.
      [CredentialProvider.070138]Running in plug-in mode
...

Recommend you follow up with the NuGet team at https://github.com/NuGet/Home if you're still experiencing issues with it authenticating with the external endpoint. Closing out this issue as the Artifacts credential provider is properly returning the provided credentials.

@JohnSchmeichel I've get a response https://github.com/NuGet/Home/issues/12546#issuecomment-1519639494, but I'm not sure what to do.
If I understand the reponse correct the credentialprovider has an issue. At least I don't know what to do, to fix my issue with this response.

The credential provider only supports Basic, that's hard-coded in and always has been. So likely your external server needs to enable this option then if NuGet will only use Basic if the server indicates that's supported. I thought NuGet will use the credentials in the same manner as if it was given them via nuget.exe sources add but unfortunately that's not the case, the authorization type is filtered.

@JohnSchmeichel  Wouldn't it be the correct solution, that I can configure the auth type in the credential provider? In my case kerberos.

Then basic auth and this credential provider isn't going to work for you here. Removing the Basic auth filter is not an option, that's required for the tokens the credential provider provides. Would recommend you use the dotnet add source ... version with username + password that you said works for you, or you can look at creating a custom credential provider that supports the semantics your endpoint requires.


[PROPOSAL]:  PR template

Issue #204

History is not always clean, and way of working not always linear. I like to add a part to explain how to start the review, by linking usefull commits or explaining how I build the feature. It gives some keys reading all the files, and maybe go through the review a little faster.

I'll add that section into the template as well @michelguerin


Alpaca REST API does not outright reject requests with 'NaN' as coordinates.

Describe the bug
Not setting Focal length in Nina can cause a SlewToCoordinates command with 'NaN' co-ordinates.
To Reproduce
Slew and Center NaN is showing in focal length with a Sony DSLR using the Sony Plugin. But I’ve tore down for the night. I’ll try to back up later and make more notes. But if you see that it’s referring to NaN, the focal length has not been set.
Expected behavior
Alpaca should detect the invalid request and report clearly why it rejects it
Platform (please complete the following information):
Mini-pc

Verified Complete


[Question] Upload large image error: Websocket Disconnected

When I upload large image, harvester ui appear websocket disconnected. As follow:
Websocket Disconnected
The connection to wss://harvester.iluvatar.com.cn/v1/subscribe closed unexpectedly at Fri, Dec 2 2022 8:14:55 pm. Disconnected after 4 reconnect attempts. Check your network connection and reload the page
Harvester server error:
Error during subscribe write tcp <IP_ADDRESS>:8080-><IP_ADDRESS>:47108: write: broken pipe

Which Harvester version are you using ?
In version v1.0.0 or v0.3.0, there is an known issue: https://github.com/harvester/harvester/issues/1904 , it is fixed from v1.0.1.

I use harvester v1.1.0.


Added image-to-image task for ORT Pipeline

What does this PR do?

Fixes #2030
Image To Image task consist lot more than Diffusion and there are transformer based model such as Swin.
This PR adds the support for pielining image-to-image task with ORTModelForImage2Image.
e.g.
from transformers import AutoImageProcessor
from optimum.pipelines import pipeline
from optimum.onnxruntime import ORTModelForImageToImage
from PIL import Image

model = ORTModelForImageToImage.from_pretrained("swin2sr-2x-onnx", use_io_binding=True)
processor = AutoImageProcessor.from_pretrained("caidas/swin2SR-classical-sr-x2-64")
onnx = pipeline("image-to-image", model=model, feature_extractor=processor, device="cuda")
image_path = "image.png"
image = Image.open(image_path)
output = onnx(image)

Before submitting

[x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[x] Did you make sure to update the documentation with your changes?
[x] Did you write any new necessary tests?

Who can review?
@fxmarty, @echarlaix, @JingyaHuang, @michaelbenayoun

awesome ! don't hesitate to ping me for review when it's ready !

awesome ! don't hesitate to ping me for review when it's ready !

Sure. Writing some tests. Will update you soon.

Suggest Changes if Any.

LGTM ! did you test io binding locally ?

Yes.

Should I add a test for that?

we won't be able to test it until #2024 is re-enabled. will merge this now.


[SPARK-11313][SQL] implement cogroup on DataSets (support 2 datasets)

A simpler version of https://github.com/apache/spark/pull/9279, only support 2 datasets.

Merged build triggered.

cc @marmbrus

Merged build started.

Test build #44505 has started for PR 9324 at commit 499454d.

Test build #44505 has finished for PR 9324 at commit 499454d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44505/
Test PASSed.

Thanks!  Merging to master.


CUDA simulator mode does not recognize customized numpy dtype array

Reporting a bug

[x] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[x] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

I cannot access structure names in cuda simulator mode.
The following is the code that can demonstrate this problem:
from numba import cuda
from numpy import float32, int32
import numpy as np

DTYPE = [('f1', float32), ('i1', int32)]

@cuda.jit
def naive_kernel(arr):
    arr[cuda.threadIdx.x].f1 = 3.0
    arr[cuda.threadIdx.x].i1 = cuda.threadIdx.x

if __name__ == '__main__':
    print(cuda.gpus)
    host_arr = np.zeros(32, dtype=np.dtype(DTYPE))
    device_arr = cuda.to_device(host_arr)
    naive_kernel[1, 32](device_arr)

It runs fine with my GPUs. But if I switch over to simulation mode, I got the following error:
# It runs fine in non-simulation mode
$ python3 numba_dtype_sim.py
<Managed Device 0>
# Switch to simulation mode
$ export NUMBA_ENABLE_CUDASIM=1
$ python3 numba_dtype_sim.py
<Managed Device 0>
Traceback (most recent call last):
  File "numba_dtype_sim.py", line 17, in <module>
    naive_kernel[1, 32](device_arr)
  File "/home/.../.local/lib/python3.6/site-packages/numba/cuda/simulator/kernel.py", line 95, in __call__
    bm.run(grid_point, *fake_args)
  File "/home/.../.local/lib/python3.6/site-packages/numba/cuda/simulator/kernel.py", line 258, in run
    reraise(*(t.exception))
  File "/home/....local/lib/python3.6/site-packages/numba/six.py", line 658, in reraise
    raise value.with_traceback(tb)
  File "/home/.../.local/lib/python3.6/site-packages/numba/cuda/simulator/kernel.py", line 157, in run
    super(BlockThread, self).run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/.../.local/lib/python3.6/site-packages/numba/cuda/simulator/kernel.py", line 236, in target
    self._f(*args)
  File "numba_dtype_sim.py", line 10, in naive_kernel
    arr[cuda.threadIdx.x].f1 = 3.0
AttributeError: tid=[18, 0, 0] ctaid=[0, 0, 0]: 'numpy.void' object has no attribute 'f1'

I am on python 3.6.7, numba 0.44 (pretty sure same behavior in 0.45).

Thanks for the report, I can reproduce, this is a bug.

Related: https://github.com/numba/numba/issues/4413. Think there needs to be a stronger differentiation between record array and array of structured dtype.

Cosigned

I believe https://github.com/numba/numba/pull/5343 fixes


Parameter from path result in compilation error if of type integer

Maybe I'm missing something but the following parameter definition in my swagger document will result in a compilation error when compiling the generated powershell module.
{
   "/api/v2/hardwareModel/{id}":{
      "get":{
         "tags":[
            "HardwareModel"
         ],
         "operationId":"HardwareModel_Get",
         "consumes":[

         ],
         "produces":[
            "application/json"
         ],
         "parameters":[
            {
               "name":"id",
               "in":"path",
               "description":"The Id of the model to fetch",
               "required":true,
               "type":"integer",
               "format":"int64"
            }
         ],
         "responses":{
            "200":{
               "description":"OK",
               "schema":{
                  "$ref":"#/definitions/HardwareModel"
               }
            }
         }
      }
   }
}

When compiling the generate .cs files the following error is generated:

generated\cmdlets\GetHardwareModel_GetViaIdentity.cs(188,56): error CS1503: Argument 1: cannot convert from "<null>" to "long"

If the parameter is of type string everything compiles just fine.

Any thoughts around this? This issue is a blocker for us, if there are no plans to include this in the near future maybe I can help implement it. Will need some pointers for where to start though.

I think this is fixed in autorest.powershell 2.0.440. -- autorest --reset and try it now.
If not , add --disable-via-identity and it won't make those.

@fearthecowboy It does not seem to be fixed. Same error. I can work around this error by adding the flag you mentioned.
Encountered another compilation error which also has to do with non nullable parameters. Registering new issue for that.

The issue has been fixed.


Help wanted

I'm new here and not sure if there is a community where I can use some help. I just need some help and this is not really an issue with the program. Can anyone please guide me on how to configure the Pre-phish HTML template on Evilginx2. I have the index file and saved in a template folder. So how do I run the template?

@coderb118
Man can we chat on telegram
Iono if we could share knowledge cuz I also need some guidance

@George152-max add me on telegram @happyd0b3r

@Support-1535 You Bastard!!!


Support automate model git repositories without domain directory

A user could build the Automate Git Repository with or without the top level domain directory.
This PR allows for a Git Repository to work with or without the top level directory.
Links [Optional]

https://bugzilla.redhat.com/show_bug.cgi?id=1389823

Steps for Testing/QA [Optional]
Create a git repo without the top level directory

@Fryguy Please review

@Fryguy Please review this is a blocker bug

@mkanoor
I recreated the error and then applied the fix and it worked. looks good 👍

@Fryguy We discussed this PR last week.  Are you ok with this in it's current form?  If so can it be merged?

Euwe Backport details:
$ git log -1
commit c8afb5a5f5f49750bf23feef0b2a0be999754dc2
Author: Jason Frey<EMAIL_ADDRESS>Date:   Wed Nov 9 14:55:30 2016 -0500

    Merge pull request #12282 from mkanoor/use_domain_name_from_yaml

    Support automate model git repositories without domain directory
    (cherry picked from commit d373743a9e9c91a52c2078a5287ccaddce658f0c)

    https://bugzilla.redhat.com/show_bug.cgi?id=1389823


[verilator] IRQs do not work since the latest update

This issue was discovered whilst working on the #1429 . The issue manifested itself when I have rebuilt the verilator today with the following command:
fusesoc --cores-root . run --target=sim --setup --build lowrisc:systems:top_earlgrey_verilator
I have noticed that my test in #1429 started failing (previously passed). I have then checked out 74a39e3e and built the verilator again, and my test then passed.
Steps to reproduce:
cd $REPO_TOP
git checkout master
git pull upstream master
git checkout -b verilator-test
fusesoc --cores-root . run --target=sim --setup --build lowrisc:systems:top_earlgrey_verilator
cherry-pick: [sw, tests] Introduce a test to handle two different consecutive IRQs from #1429
./meson_init.sh -f
ninja -C build-out/sw/sim-verilator/

build/lowrisc_systems_top_earlgrey_verilator_0.1/sim-verilator/Vtop_earlgrey_verilator   --meminit=rom,build-bin/sw/device/sim-verilator/boot_rom/boot_rom.elf   --meminit=flash,build-bin/sw/device/sim-verilator/tests/consecutive_irqs/consecutive_irqs_test.elf

cat /dev/pts/x

This should fail with something like:
TEST RX overflow IRQ has not been handled
FAIL!

For the test to pass you would require verilator built from the commit 74a39e3e. Build the verilator from 74a39e3e using the fusesoc --cores-root . run --target=sim --setup --build lowrisc:systems:top_earlgrey_verilator command, then git checkout verilator-test and run the simulation again. The result should be PASS!.

Something's gone wrong with the IRQ numbers, in master the RX overflow IRQ is IRQ 35, in this test IRQ's 32 & 33 get their priority registers written. The RX overflow interrupt is raised but as its priority is 0 it never reaches the core.

So the issue was actually in my DIF PLIC, as to this point all of the PLIC register offsets, etc. were hardcoded defines in dif_plic.{h,c}, changes to PLIC RTL would affect these offsets, and break the implementation.
At the time of writing DIF PLIC I didn't realise that autogenerating rv_plic_regs.h is as simple as to just add a line to top level meson.build. I will create a PR shortly to generate the PLIC register defines, and will add a dependency in DIF PLIC.
Another useful thing that I will look into, is to generate defines for things such intr_vector in top_earlgrey.sv.

I am updating the title of this issue, as it is not representative of the problem.


User not Sync with Active Directory

Gitea version (or commit ref):
Git version:
Operating system:
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
...
Screenshots

I use above configuration to fetch AD users.
And I also update the app.ini to sync user on every hour
[cron.sync_external_users]
RUN_AT_START = true
SCHEDULE = @every 1h
UPDATE_EXISTING = true
It's run every hour and not display any error in log. But did not fetch any user.

Please see docs page on what enter on each fields. User filter seems incorrect, same as email attribute. Also it is recommended that first and last name attributes are provided

@lafriks after apply as you mention fields I getting these log
2018/09/09 23:39:10 [T] Doing: SyncExternalUsers
2018/09/09 23:39:10 [T] Doing: SyncExternalUsers[New AD]
2018/09/09 23:39:10 [T] Dialing LDAP with security protocol (0) without verifying: false
2018/09/09 23:39:10 [T] Bound as BindDN CN=Vishwajeet Bose,OU=xxx,DC=CCSI,DC=local
2018/09/09 23:39:10 [T] Fetching attributes 'sAMAccountName', 'name', 'name', 'proxyAddresses', '' with filter (&(objectCategory=Person)(sAMAccountName=)) and base CN=,OU=xxx,DC=CCSI,DC=local
2018/09/09 23:39:10 [...gitea/models/user.go:1536 SyncExternalUsers()] [E] LDAP Search failed unexpectedly! (LDAP Result Code 32 "No Such Object": 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of:
'OU=xxx,DC=CCSI,DC=local'
)
still not getting users from AD

Please screenshot again your values


fix(sec): upgrade org.eclipse.jetty:jetty-server to 9.4.41

What happened？
There are 3 security vulnerabilities found in org.eclipse.jetty:jetty-server 9.4.34.v20201102

CVE-2021-34428
CVE-2020-27218
CVE-2020-27223

What did I do？
Upgrade org.eclipse.jetty:jetty-server from 9.4.34.v20201102 to 9.4.41 for vulnerability fix
What did you expect to happen？
Ideally, no insecure libs should be used.
The specification of the pull request
PR Specification from OSCS

@claire9910 this PR doesn't contain a valid version, are you working on a bot?

@claire9910 this PR doesn't contain a valid version, are you working on a bot?


Clean up the work experience menu

I'd like to do some things that I think would make it easier to navigate the work experience pane in the menu

Move some (or all) of the work details for a specific work experience into its own menu. Leave the "Work Experience" menu as a list of clickable menu options that point to a specific work menu

should I also move the highlights into its own submenu too?

Change Highlight text from "New Highlight X" to just "Highlight X"

fixed by #48


[flutter_tool] Ensure dependency constraint for templates created with a driver test are correct

Description
Because of the accidentally skipped tool tests, we missed updates to these tests when we bumped the test version and removed the facade classes from the module

Going to land on red to kick build


Online Responder ('OCSP') Deployment

A script to deploy the Online Responder Role (OCSP) would be good against Enterprise and Standalone CAs would be useful.
Some resources:

https://github.com/PKISolutions/PSPKI/tree/master/PSPKI/Server [Microsoft Public License (Ms-PL)]
https://techcommunity.microsoft.com/t5/ask-the-directory-services-team/bg-p/AskDS/label-name/ocsp

Hello, and thanks for the suggestion. Maybe this could already work for your requirement. It could need some refactoring but already works perfectly well.


Incorrect error with missing manifest.json

Expected behavior
If gauge cannot find the manifest.json file then the error should point to this file as being missing.
Actual behavior
The current error is:
Failed to find project directory

Steps to reproduce

Install gauge
gauge --init java
mv manifest.json manifest.json_old
gauge specs/

Gauge version
Gauge version: 0.7.0

Plugins
-------
html-report (3.0.1)
java (0.5.1)

Closing this as an old issue. This may be fixed in the newer releases.
Will reopen if it still needs fixing.

@zabil, please could you reopen this ticket? I am still seeing the issue with the latest version of gauge:
Gauge version: 1.0.7
Commit Hash: ed7b4fd6

Plugins
-------
html-report (4.0.9)
java (0.7.4)
screenshot (0.0.1)

Steps to reproduce
gauge init java
mv manifest.json manifest.json.old
gauge run specs/

Output
Failed to find project directory
Usage:
  gauge run [flags] [args]

Examples:
  gauge run specs/
  gauge run --tags "login" -s -p specs/

Flags:
  -e, --env string              Specifies the environment to use (default "default")
      --fail-safe               Force return 0 exit code, even in case of failures.
  -f, --failed                  Run only the scenarios failed in previous run. This cannot be used in conjunction with any other argument
<snip>

It would be much better if the error specifically mentioned manifest.json


Cache pan/zoom per topology

remembers canvas position/zoom per topology
makes it easy to go back to the last position in a prev topology

Fixes #1238

Nice! Works really well, might be nice to have a reset button too but I'm not sure where to put that.
LGTM


The type 'dbo.varchar' already exists, or you do not have permission to create it.

Hi
I am trying to launch our SQL pad using Azure SQL database as the backend and getting the following error.
"The type 'dbo.varchar' already exists, or you do not have permission to create it.","stack":"Error\n    at Query.run (D:\\Projects\\sqlpad\\server\\node_modules\\sequelize\\lib\\dialects\\mssql\\query.js:99:25)\n    at D:\\Projects\\sqlpad\\server\\node_modules\\sequelize\\lib\\sequelize.js:311:28\n    at async Object.up (D:\\Projects\\sqlpad\\server\\migrations\\04-00100-query-acl-schema.js:20:5)","name":"SequelizeDatabaseError","parent":{"type":"RequestError","message":"The type 'dbo.varchar' already exists, or you do not have permission to create it.","stack":"Error: The type 'dbo.varchar' already exists, or you do not have permission to create it.\n    at RequestTokenHandler.onErrorMessage (D:\\Projects\\sqlpad\\server\\node_modules\\tedious\\lib\\token\\handler.js:368:21)\n    at Readable.<anonymous> (D:\\Projects\\sqlpad\\server\\node_modules\\tedious\\lib\\token\\token-stream-parser.js:26:33)\n    at Readable.emit (node:events:390:28)\n    at Readable.emit (node:domain:475:12)\n    at addChunk (node:internal/streams/readable:315:12)\n    at readableAddChunk (node:internal/streams/readable:289:9)\n    at Readable.push (node:internal/streams/readable:228:10)\n    at next (node:internal/streams/from:98:31)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)","code":"EREQUEST","number":219,"state":1,"class":16,"serverName":"omnisient-sqlpad","procName":"","lineNumber":3,"sql":"IF TYPE_ID('JSON') IS NULL\n        BEGIN\n          CREATE TYPE [dbo].[JSON] FROM [NVARCHAR](MAX) NULL;\n        END"},"original":{"type":"RequestError","message":"The type 'dbo.varchar' already exists, or you do not have permission to create it.","stack":"Error: The type 'dbo.varchar' already exists, or you do not have permission to create it.\n    at RequestTokenHandler.onErrorMessage (D:\\Projects\\sqlpad\\server\\node_modules\\tedious\\lib\\token\\handler.js:368:21)\n    at Readable.<anonymous> (D:\\Projects\\sqlpad\\server\\node_modules\\tedious\\lib\\token\\token-stream-parser.js:26:33)\n    at Readable.emit (node:events:390:28)\n    at Readable.emit (node:domain:475:12)\n    at addChunk (node:internal/streams/readable:315:12)\n    at readableAddChunk (node:internal/streams/readable:289:9)\n    at Readable.push (node:internal/streams/readable:228:10)\n    at next (node:internal/streams/from:98:31)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)","code":"EREQUEST","number":219,"state":1,"class":16,"serverName":"omnisient-sqlpad","procName":"","lineNumber":3,"sql":"IF TYPE_ID('JSON') IS NULL\n        BEGIN\n          CREATE TYPE [dbo].[JSON] FROM [NVARCHAR](MAX) NULL;\n        END"},"sql":"IF TYPE_ID('JSON') IS NULL\n        BEGIN\n          CREATE TYPE [dbo].[JSON] FROM [NVARCHAR](MAX) NULL;\n        END","parameters":{}},"msg":"Error starting SQLPad"}
Please advise, if this is a configuration or SQL Server issue?
Regards

The dbo.schema_version does get created.

@rudolphk-om this is likely a SQL Server issue with the SQL used for migration. This project uses Sequelize, an ORM for Node.js, and has some code to add a JSON type if JSON does not exist.
IF TYPE_ID('JSON') IS NULL
BEGIN
  CREATE TYPE [dbo].[JSON] FROM [NVARCHAR](MAX) NULL;
END

If I were to guess, this SQL is not supported on Azure SQL and would need some customizing to work properly.


d3.timer.replace and d3.timer.reschedule

Transitions currently use the internal d3_timer_active variable to reschedule the active timer and replace its callback function. It’d be nice if we made these methods public so that you can easily stub out the d3.timer API or use similar functionality when implementing complex custom animations.

Have you also considered d3.timer maintaining a timers by name array? Or timers by id maybe.  It would be good if d3.timer returned an id and maintained a list, this would round out the proposed api nicely. It would also allow better management of the timer in the force layout for example. Currently, if you .stop() a force layout and restart it before force.tick() is called, you end up with two timers hitting the call-back and the animation runs at double speed.

In 4.0, I’m planning on having d3.timer return a handle so that you can modify and cancel timers outside of the callback; see d3/d3-timer#5.

Closing as fixed in d3-timer for 4.0.


Disable tab change when a video is long pressed in recent tab

JIRA: https://openedx.atlassian.net/browse/MOB-1134
This replaces click event on Recent Tab video adapter to Touch event and disables Tab Change when a video is being clicked. Click event still works as expected but it is touch event actually.
Also, the list row selection is managed to show pressed, selected and default background for the row.
cc @aleffert @shahidtamboli

:+1:

:+1:


Compatible with emoji-toolkit?

As mentioned on their GitHub, Emojione is archived and moved to a new repo:
https://github.com/joypixels/emoji-toolkit
Is this lib still compatible with this new version?

It does not compatible with new version yet.

@mervick are there any plans?

Yes, but it is not in first line.
Currently I am making redesign of code and fixing many bugs

Is there any temporary workaround to make this load images from JoyPixels/emoji-toolkit other than downgrading to EmojiOne 3.x?
For instance, I use joypixels with a custom path to the emoji, and when emojiOneArea loads it ends up pulling in an old emojiOne library (from a CDN I presume) and setting the image sources for all the emoji to broken CDN links.

Try this:
load joypixels on your page, and then
window.emojione = window.joypixels;

$("#emojionearea").emojioneArea({
  useInternalCDN: false
});

Unfortunately it still tries to load them from https://cdn.jsdelivr.net/emojione/assets/3.1/png/
`
$(document).ready(function () {
joypixels.imagePathPNG = "https://static.metis.company/emoji/32/";
window.emojione = window.joypixels;
$("#txtMsg").emojioneArea({
    useInternalCDN: false,
    pickerPosition: "bottom",
    recentEmojis: false,
    search: false,
    tones: false,
    autocomplete: false
});

});
`

Change this line
https://github.com/mervick/emojionearea/blob/dc73dc556fdc6e82c5d26847533b893ece255ce1/dist/emojionearea.js#L31
to
var emojione = window.joypixels;

and make sure you don't call $.fn.emojioneArea() before joypixels is loaded

Thanks! I changed that, and then I also had to change this line:
https://github.com/mervick/emojionearea/blob/dc73dc556fdc6e82c5d26847533b893ece255ce1/dist/emojionearea.js#L82
to
unicode = unicode.uc_full.toUpperCase();

Now it works fine with joypixels 5.0

Only other oddity is that this line no longer works in joypixels:
https://github.com/mervick/emojionearea/blob/dc73dc556fdc6e82c5d26847533b893ece255ce1/dist/emojionearea.js#L680
Not sure what the equivalent of it is. Seems like its just trying to convert the unicode emoji into the text representation like "1f60b" and its failing because "jsEscapeMap" no longer exists

They removed unicode hash, so it require a lot of changes.

When will the new version be released?

@AlexanderKat, I am the only one active developer and I have many tasks to do at my primary work, so I have no time to update this plugin any time soon


Add icons to device card

esphome-svg-icon is a copy of svg icon from HA Frontend, so that part was easy :)
Below are icons propositions:

Validate - mdiCheck
Install - mdiAppleKeyboardCaps
Show API Key - mdiKey
Download YAML - mdiCodeBraces
Rename - mdiRenameBox
Clean Build Files - mdiLayersOff
Delete - mdiDelete
Clean MQTT - mdiLayersOff
I'm open to suggestions for more suitable icons

The icon colors are a bit off. It makes it look like the option is disabled. In HA we use secondary-text color, can you adopt that?

Suggestion for validate:

Suggestion for install

(we should avoid using outline icons unless we do all outline icons)

Suggestion for install
(we should avoid using outline icons unless we do all outline icons)

any thinking for a down arrow? It feels like retrieving stuff not pushing stuff
May be if you are pushing firmware from cloud (esphome.web) to a node locally that makes more sense but from my desktop (or even local running HA instance) to my iot thing in the ceiling not so much

for clean build files maybe?

Suggestion for install
(we should avoid using outline icons unless we do all outline icons)

any thinking for a down arrow? It feels like retrieving stuff not pushing stuff
May be if you are pushing firmware from cloud (esphome.web) to a node locally that makes more sense but from my desktop (or even local running HA instance) to my iot thing in the ceiling not so much

Agree, upload is better:

I've updated the icons.

I thought down arrow because it's going into the device connected to the network. But up works too.

@Misiu don't forget to push your commit 👍

@balloob sorry for that :) I've pushed the changes.
Not.sure about the menu items and icon colors, I didn't change them. I can tweak them in future PR (I want to align them with HA and try to add a dark theme)


Question about Confident Learning

According to your paper, sample weight should be Var(y)
In sampleer.py line 76:
for label in range(num_classes):
      # .....
       w_s.extend(y_var_[indices][:,0])

Why there always take class0's confidence?
Does this line should be:
w_s.extend(y_var_[indices][:, label]

I have set up the environment as requirement.txt, follow all steps in README but this error keeps happening, please help me
Traceback (most recent call last):
File "UST/run_ust.py", line 147, in
train_model(max_seq_length, X_train, y_train, X_test, y_test, X_unlabeled, model_dir, tokenizer, sup_batch_size=sup_batch_size, unsup_batch_size=unsup_batch_size, unsup_size=unsup_size, sample_size=sample_size, TFModel=TFModel, Config=Config, pt_teacher_checkpoint=pt_teacher_checkpoint, sample_scheme=sample_scheme, T=T, alpha=alpha, valid_split=valid_split, sup_epochs=sup_epochs, unsup_epochs=unsup_epochs, N_base=N_base, dense_dropout=dense_dropout, attention_probs_dropout_prob=attention_probs_dropout_prob, hidden_dropout_prob=hidden_dropout_prob)`

File "/content/UST/ust.py", line 180, in train_model
y_mean, y_var, y_pred, y_T = mc_dropout_evaluate(model, gpus, len(labels), X_unlabeled_sample, T=T)

File "/content/UST/ust.py", line 61, in mc_dropout_evaluate
y_pred.extend(pred.values[gpu])

AttributeError: 'numpy.ndarray' object has no attribute 'values'

I am experiencing the same issue. Could it be connected to running the code on a single GPU? Replacing pred.values[gpu] with pred seems to work.

Thank you for your help.
Vào CN, 7 thg 3, 2021 vào lúc 20:24 Leandro von Werra <
<EMAIL_ADDRESS>đã viết:

I am experiencing the same issue. Could it be connected to running the
code on a single GPU? Replacing pred.values[gpu] with pred seems to work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/UST/issues/1#issuecomment-792278884, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKVGXO2LKD4EOV6SFSA2JVLTCN47HANCNFSM4UFT7DRQ
.

According to your paper, sample weight should be Var(y)
In sampleer.py line 76:
for label in range(num_classes):
      # .....
       w_s.extend(y_var_[indices][:,0])

Why there always take class0's confidence?
Does this line should be:
w_s.extend(y_var_[indices][:, label]

The same problem occurs with other sampling functions., for example
def sample_by_bald_easiness(tokenizer, X, y_mean, y_var, y, num_samples, num_classes, y_T):
...
	w_s = y_var[indices][:,0]
	return X_s, y_s, w_s

I also don't understand here, why the variance of category 0 is always used?

According to your paper, sample weight should be Var(y)
In sampleer.py line 76:
for label in range(num_classes):
      # .....
       w_s.extend(y_var_[indices][:,0])

Why there always take class0's confidence?
Does this line should be:
w_s.extend(y_var_[indices][:, label]

The same problem occurs with other sampling functions., for example
def sample_by_bald_easiness(tokenizer, X, y_mean, y_var, y, num_samples, num_classes, y_T):
...
	w_s = y_var[indices][:,0]
	return X_s, y_s, w_s

I also don't understand here, why the variance of category 0 is always used?

Another thing that confuses me is that the variance in the paper uses log(1/ var(y)),   However, in the code it is directly calculated using     y_var = np.var(y_T, axis=0).


[FormRecognizer] Remove IgnoreServiceError attribute for "Generic error during training"

Error information
Error code: 3014
Error message: Generic error during training.
When: after a model-training LRO finishes.
API version: v2.0 (confirmed) and possibly v2.1 (needs further investigation).
apim-request-id: bdefd7ca-7b2b-4fc6-aca0-b168ba6f9a43
Example: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1575344&view=logs&j=01d5a77e-6e85-5280-0e9f-af5629bd443f&t=1e514895-521a-57d8-4030-b9d8f4f46b20&l=85060
Additional details
This is a flaky service error that doesn't happen often, but it's frequent enough to happen on every test pipeline run. The service team has already been notified about it (discussion here).
This error won't make our pipeline fail anymore since it's been suppressed with the IgnoreServiceError attribute in our test project. The attribute is set on the class level (instead of single method) because it can happen on any test that trains a model, which includes most of our tests.
Action items
Once the service has fixed this issue on their side, we must remove the IgnoreServiceError attribute from the following classes:

FormRecognizerSamples
FormTrainingClientLiveTests
RecognizeCustomFormsLiveTests

Merged into https://github.com/Azure/azure-sdk-for-net/issues/28913.


core(radio): Radio Group label is wrapping in vertical layout

Describe the bug
In a vertical form group, the label for a radio group is 192px instead of stretching and is causing long label text to wrap.
Also, putting a vertical-inline RadioGroup inside of a vertical FormGroup seems to be making the radio inputs stack instead of display inline
How to reproduce
https://codesandbox.io/s/headless-moon-4801o?file=/src/App.tsx
Expected behavior
The RadioGroup label stretches like the input label.
Vertical inline radio group should render as vertical inline inside of a FormGroup
Versions
Clarity project:

[x] Clarity Core
[ ] Clarity Angular/UI

Clarity version:

[ ] v3.x
[ ] v4.x
[x] v5.x

Framework:

[ ] Angular
[x] React
[ ] Vue
[ ] Other:

Additional notes
Jeremy on slack said: "Looks like a bug in the private-host not having align:stretch."
Looking into the CSS in devtools, the following CSS applies to the input label, but not the radio group label:
:host([layout*="vertical"]) cds-internal-control-label {
  --label-width: 100%;
}

Setting --label-width: 100% on the RadioGroup is a workaround for the label issue in the interim.

Thanks for the reproduction, @ashleyryan! It helped me track down the cause of the issue.
That max width is getting set here.
It doesn't seem like it would be a big change to set it to 100% in vertical layout. But I'm not sure what else that might break. Do you have any insight, @coryrylan ?
For now, I say stick with the workaround. Once we understand the implications of making this change, we will get it sorted.
Thanks again.

Looked into this and got a fix. The control groups were missing a similar line that standard controls have when in vertical layouts https://github.com/vmware/clarity/blob/0b5b5605e99359a73bc84c3503a7611b235b3764/packages/core/src/forms/control/control.element.scss#L28


Feat: self-estimate reward values when posting or upgrading requests

This has been approved for 20 days :thinking:


Minor Fix: code quality gocardless_settings.json

Update field_order and updated date/time stamp in gocardless_settings.json
This was not done in https://github.com/frappe/payments/pull/66

This does not look complete, the field json is missing 🤔

Hi @NagariaHussain, If I'm understanding your comment correctly, I added the header_img field to the JSON in https://github.com/frappe/payments/pull/66
But in that PR I neglected to add that new field, to the field_order section of the JSON file. So this PR is just fixing that mistake I made in the already merged PR. Did I mis-understand your comment or does that clear it up?

You are manually editing JSON?

Yes, JSON is where the fix is needed.


Tests leak TestRestorationManager when some tests in group use RestorationManager

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

In this example, the leak is reported because a TestRestorationManager instance is created when the Scrollable in Test1 saves the scroll offset in a RestorationManager. I believe it's then only disposed when the next test starts and TestWidgetsFlutterBinding.reset() is called.
Steps to reproduce

Run flutter create test_leaks
Replace widget_test.dart with the provided sample
Add leak_tracker_flutter_testing: any under dev_dependencies in pubspec.yaml
Run: flutter test

Expected results
No leaks
Actual results
Leaks found:
% flutter test
00:01 +2 -1: Group (tearDownAll) [E]
  Expected: leak free
    Actual: <Instance of 'Leaks'>
     Which: contains leaks:
            # The text is generated by leak_tracker.
            # For leak troubleshooting tips open:
            # https://github.com/dart-lang/leak_tracker/blob/main/doc/TROUBLESHOOT.md
            notGCed:
              total: 1
              objects:
                TestRestorationManager:
                  test: Test1
                  identityHashCode: 431075132

  package:matcher                                                  expect
  package:flutter_test/src/widget_tester.dart 458:18               expect
  package:leak_tracker_flutter_testing/src/test_widgets.dart 82:5  _tearDownTestingWithLeakTracking
  ===== asynchronous gap ===========================
  dart:async                                                       _CustomZone.registerBinaryCallback
  package:leak_tracker_flutter_testing/src/test_widgets.dart 59:9  configureLeakTrackingTearDown.<fn>

To run this test again: /Users/tgucio/Library/Frameworks/flutter/bin/cache/dart-sdk/bin/dart test /Users/tgucio/wrk/flutter_test/leak_test/test/widget_test.dart -p vm --plain-name 'Group (tearDownAll)'
00:01 +2 -1: Some tests failed.

Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart';

void main() {
  Widget boilerplate({required Widget child}) {
    return MaterialApp(
      theme: ThemeData(useMaterial3: true),
      home: Material(
        child: child,
      ),
    );
  }

  Widget buildScrollable() {
    return const Scrollbar(
      child: SingleChildScrollView(
        child: SizedBox(height: 10000.0),
      ),
    );
  }

  group('Group', () {
    testWidgetsWithLeakTracking('Test1', (WidgetTester tester) async {
      await tester.pumpWidget(
        boilerplate(child: buildScrollable())
      );

      await tester.dragFrom(const Offset(400.0, 300.0), const Offset(0.0, 100.0));
      await tester.pumpAndSettle();
    });

    testWidgetsWithLeakTracking('Test2', (WidgetTester tester) async {
      await tester.pumpWidget(
        boilerplate(child: buildScrollable())
      );

      await tester.pumpAndSettle();
    });
  });
}

Screenshots or Video
No response
Logs
No response
Flutter Doctor output
Doctor output
% flutter doctor -v
[✓] Flutter (Channel master, 3.16.0-10.0.pre.72, on macOS 13.6 22G120 darwin-arm64, locale en-ES)
    • Flutter version 3.16.0-10.0.pre.72 on channel master at /Users/tgucio/Library/Frameworks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d479b5e2c6 (3 hours ago), 2023-10-13 03:35:07 -0400
    • Engine revision b59d779d4f
    • Dart version 3.3.0 (build 3.3.0-20.0.dev)
    • DevTools version 2.28.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/tgucio/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.83.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.74.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.6 22G120 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 118.0.5993.70

[✓] Network resources
    • All expected network resources are available.

• No issues found!

/cc @polina-c

Thanks for the report.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.13.6, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.13.6 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ead455963c (5 days ago), 2023-09-26 18:28:17 -0700
    • Engine revision a794cf2681
    • Dart version 3.1.3
    • DevTools version 2.25.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.16.0-10.0.pre.68, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.16.0-10.0.pre.68 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7d79472531 (2 hours ago), 2023-10-13 04:35:46 +0200
    • Engine revision ffb3b5b67f
    • Dart version 3.3.0 (build 3.3.0-19.0.dev)
    • DevTools version 2.28.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

@tgucio, is there concrete place in Flutter Framework where this issue happens?

@polina-c I think we haven't stumbled upon it yet in the framework. I hit this when working on a customised _CalendarDateRangePicker so I thought I'd try and create a much simpler repro example.

@tgucio, thank you!
We need subject area expert to fix the issue. Who it could be?

@polina-c isn't this related to https://github.com/flutter/flutter/pull/133999? I guess the remaining problem could be because TestWidgetsFlutterBinding.reset() is called at the beginning of tests.

It may be. Can you suggest a fix?

Looks like this got fixed last week or so :).


customCardProps degrading performance on page

Hi all,
I hope this is the appropriate place to raise this.
Has anyone else noticed huge performance issues with customCardProps (CCP) JSON formatting recently? I'm not sure what has changed as this feature hasn't caused me issues in the past and seems to have occured within the last few days.
From opening/refreshing page showing a SharePoint list, performance degrades each time a CCP is displayed, to the point of completely hanging the page - entire page is unresponsive, browser presents "wait or exit page" prompt.
I originally noticed this issue in a large list with a lot of columns, several rows, and a lot of complex JSON formatting. I thought it might have just simply been the complexity of the list, so spun up a new, blank list on a different site, with 1 column, 1 row, and 1 div element with a CCP that presents a simple string inside it, and experienced the same problem.
Column formatting for my simple, repeatable test below. It takes 10-15 times of hovering and moving the mouse away, but gradually, each presentation of the CCP gets slower and slower, and at some point the whole page just hangs.
{   "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",   "elmType": "div",   "children": [     {       "elmType": "div",       "txtContent": "Hover over me!",       "customCardProps": {         "openOnEvent": "hover",         "formatter": {           "elmType": "div",           "txtContent": "hover text"         }       }     }   ] }
Additionally, I've had colleagues test on their machine against the same list, tried in different browsers, cleared my browser data, tried in incognito windows, etc.

Sorry for the delay in commenting.
I think I had the same phenomenon last year. It seems to be fixed now.

If you are still experiencing the same problem, I am sorry, but I believe it is a bug in SharePoint (Microsoft Lists), please create a new issue at the following link.
https://github.com/SharePoint/sp-dev-docs


Omolumeter: i18n needs at least Spanish

Zika is in Central and South America...
This should be an options in the Setttings.
It should also be in the local config file if deployer wants to set default language.

https://github.com/JohnTigue/outbreak_time_series/wiki/Internationalization


JSX/TSX: Tags of React components are styled as classes

This PR implements #1518 but it uses class-name in favor of the proposed tag-class. Like this, we don't have to change the themes.
The PR adds a class-name alias to all the tags of React components. Tags which start with an uppercase letter are considered React components.
HTML tags remain unchanged.
The new styling is similar to VS Code's.
Example: (taken from the React tutorial)

VS Code:

Hey @RunDevelopment – Just wanted to say I appreciate the reviews & PRs you've made to Prism. I haven't had a lot of time to dig into all of them, and a lot of the regex changes I'm unfortunately not really qualified to review, but I just wanted to let you know we see the work you've done and thank you for it.

@RunDevelopment Thanks for writing this so quickly, exactly what I needed. The code/results looks good to me. 😃

Could this be changed to tag-component or tag-class instead of class-name. The reason is to desire as much granularity with the highlighting as possible, if we don't want the JavaScript class color to match the component tag color.

@atomiks The theme will just use a more specific CSS selector.
.token.tag.class-name {
    color: red;
}

Ah ok, looks good then!

Can we get tests for this?

Unfortunately, it is not possible to test this feature with our usual tests.
Because this PR only adds an alias to a token, the alias will not show up in the JSON (see jsx/tag_feature.test which I did not have to change, but is styled like a class in the test page.).

But you could confirm that <Button /> styles Button as a class-name?

But you could confirm that  styles Button as a class-name?
Depends:
With the current implementation of this PR and the test suite, definitely no.

But, we could change the implementation of this PR so that it will replace the string Button with a new token with the type class-name. instead of adding an alias to the tag token. That will be testable.

I dig this, much closer to what I was thinking.


Updates AKS default version to 1.29

Updates AKS default version to 1.29
Fixes issues in template scripts

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: azd-starter-bicep
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/azd-starter-bicep -b pr/4279

View Changes | Compare Changes

Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/4279

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/4279

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/4279

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/4279

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/4279

View Changes | Compare Changes

Project: todo-java-postgresql-terraform
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-java-postgresql-terraform -b pr/4279

View Changes | Compare Changes

Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/4279

View Changes | Compare Changes

Project: todo-nodejs-mongo-aks
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aks -b pr/4279

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/4279

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/4279

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/4279

View Changes | Compare Changes

Project: todo-python-mongo-aca
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-aca -b pr/4279

View Changes | Compare Changes

Project: todo-python-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/4279

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo -b pr/4279

View Changes | Compare Changes

Project: todo-python-mongo-terraform
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-terraform -b pr/4279

View Changes | Compare Changes

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: azd-starter-bicep
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/azd-starter-bicep -b pr/4279

View Changes | Compare Changes

Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/4279

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/4279

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/4279

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/4279

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/4279

View Changes | Compare Changes

Project: todo-java-postgresql-terraform
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-java-postgresql-terraform -b pr/4279

View Changes | Compare Changes

Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/4279

View Changes | Compare Changes

Project: todo-nodejs-mongo-aks
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aks -b pr/4279

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/4279

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/4279

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/4279

View Changes | Compare Changes

Project: todo-python-mongo-aca
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-aca -b pr/4279

View Changes | Compare Changes

Project: todo-python-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/4279

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo -b pr/4279

View Changes | Compare Changes

Project: todo-python-mongo-terraform
Remote: azure-samples-staging
Branch: pr/4279
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-terraform -b pr/4279

View Changes | Compare Changes


Transliteration not showing in new version

Salamoualikoem,
I found a new bug, the Transliteration is not showing in the menu of translation in the new version. I went to the legacy version and there it still is viewing.
Not viewing here:

Viewing here:

Shokran

should be fixed in staging.quran.com

Thnx Mohamed, i't is indeed fixed in staging.quran.com
Shokran

it was fixed in the staging.quran.com but it is not fixed in the root website.


Automatic Builds

Hi @tananaev ,
Just wanted to ask a quick question , if you have looked into automated builds? A lot of commits go into the code base specially with the new protocols , it would be really nice to have a nightly build available.
Thanks,

I've been thinking about continuous build integration for a while now, but haven't got time to implement it yet.

hahaha - i was just added it to travis ci :-)

Yes, I've integrated it with Travis CI and added build status to the GitHub description.

Can you add push back to github releases as well please ? http://docs.travis-ci.com/user/deployment/releases/

Thanks for the info, I'll think about it.


Test doubles (assignment: readingProgress) code checks do not recognize verification

As seen on the image, I verified for a specific action, and then also verified that no other methods were called for the mocks, including the emailService. The code checks say that there need to be verifications for all of the possible methods in the emailService, which was done. The answer provided does this by checking each method individually with times(1) or never().
My answer should also be a valid way to check methods called.

As we spoke via email, this isn't a bug in Andy! The rubrics are expecting three calls to this verify, which doesn't happen in the solution code!


Spec order causes failure

Randomly specs return
Failures:

  1) Gaffe ClassMethods enable! should #<RSpec::Mocks::Matchers::Receive:0x007fde1dd72d70>
     Failure/Error: expect(Gaffe::ErrorsController).to receive(:action).with(:show).and_return(action_double)
     NameError:
       uninitialized constant Gaffe::ErrorsController
     # ./spec/gaffe/gaffe_spec.rb:25:in `block (4 levels) in <top (required)>'

Finished in 0.05393 seconds (files took 0.38013 seconds to load)
13 examples, 1 failure

Failed examples:

rspec ./spec/gaffe/gaffe_spec.rb:23 # Gaffe ClassMethods enable! should #<RSpec::Mocks::Matchers::Receive:0x007fde1dd72d70>

Randomized with seed 54725

Not reproducible with same seed.

reproducible with bundle exec rspec spec/gaffe/gaffe_spec.rb

So, here is solution


VS Code Issue

from ptvsd.pydevd_hooks import install
File "/Users/missionimpossible/.vscode/extensions/geecode.geecode-python-2019.5.10/pythonFiles/lib/python/ptvsd/pydevd_hooks.py", line 15, in
from ptvsd.daemon import Daemon, DaemonStoppedError, DaemonClosedError
File "/Users/missionimpossible/.vscode/extensions/geecode.geecode-python-2019.5.10/pythonFiles/lib/python/ptvsd/daemon.py", line 212
SyntaxError: Non-ASCII character '\xe6' in file /Users/missionimpossible/.vscode/extensions/geecode.geecode-python-2019.5.10/pythonFiles/lib/python/ptvsd/daemon.py on line 212, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Internal error detected. Please copy the above traceback and report at
https://github.com/Microsoft/vscode-python/issues/new

@farr1617 From that path it does not look like Microsoft python extension. Please install this https://marketplace.visualstudio.com/items?itemName=ms-python.python. Note the name and version number of the extension.


Cannot read properties of undefined (reading 'hrtime')

Issue workflow progress
Progress of the issue based on the
Contributor Workflow

[ ] 1. The issue provides a
minimal reproduction available on
Stackblitz.

Please install the latest @envelop/* packages that you are using.
Please make sure the reproduction is as small as possible.

[ ] 2. A failing test has been provided
[ ] 3. A local solution has been provided
[ ] 4. A pull request is pending review

Describe the bug
I get following error when I include apollo-tracing: Cannot read properties of undefined (reading 'hrtime')
Here's the more complete stack trace:
TypeError: Cannot read properties of undefined (reading 'hrtime')
    at file:///Users/user/Documents/work/projects/some_project/node_modules/@envelop/apollo-tracing/esm/index.js:31:53
    at field.resolve (file:///Users/user/Documents/work/projects/some_project/node_modules/@envelop/on-resolve/esm/index.js:18:56)
    at resolveField (/Users/user/Documents/work/projects/some_project/node_modules/graphql/execution/execute.js:464:18)
    at executeFields (/Users/user/Documents/work/projects/some_project/node_modules/graphql/execution/execute.js:292:18)
    at executeOperation (/Users/user/Documents/work/projects/some_project/node_modules/graphql/execution/execute.js:236:122)
    at executeImpl (/Users/user/Documents/work/projects/some_project/node_modules/graphql/execution/execute.js:116:14)
    at execute (/Users/user/Documents/work/projects/some_project/node_modules/graphql/execution/execute.js:60:35)
    at graphqlMiddleware (/Users/user/Documents/work/projects/some_project/node_modules/express-graphql/index.js:125:32)
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  locations: [ { line: 4, column: 3 } ],
  path: [ 'deals' ]
}

It seems to be failling here, with ctx being undefined for some reason.

This is an ESM nodejs project, in case it matters.
Environment:

OS: macOS
NodeJS: v16/v18
"@envelop/apollo-tracing": "^4.0.6",
"@envelop/core": "^3.0.6",

I'm encountering this issue for our graphql subscriptions. It seems onExecute isnt called when executing a graphql subscription, but the onResolve function is still being called for the subscription field.

Yes, it seems that this plugin was not made with subscriptions in mind.
Th fix would be to replicate the logic of the onExecute hook in the onSubscribe hook.
Since subscriptions and simple queries are not using the same executor in graphql-js, Envelop offers 2 seperated hooks for the tow kind of operations.


Tests fail due to computable submodule being out of sync

After following the directions in the README, npm run test fails because it can't find EIP20.json. This is due to the the recent move from the EIP20 to ERC20 token in the computable repo.
https://github.com/computablelabs/computable.js/pull/86 fixes this temporary problem but looking forward, might it be better to keep the computable submodule pinned to a separate, special branch within the computable repo which specifically exists to keep in sync with computable.js master and remove the git submodule update --remote line from the README instructions? This might avert this problem in the future. Let me know if I've misunderstood anything.

Accidentally filed this in the wrong repo...