always display "GitHub Copilot 正在生成..."

always display "GitHub Copilot 正在生成..."/一直显示 "GitHub Copilot 正在生成..."

LOG
GitHub Copilot
2024-11-17 09:58:39.319 [info] [certificates] Removed 86 expired certificates
2024-11-17 09:58:39.986 [info] [fetcher] Using Helix fetcher.
2024-11-17 09:58:39.987 [info] [code-referencing] Public code references are enabled.
2024-11-17 09:58:39.987 [info] [auth] Successfully authenticated
2024-11-17 10:08:48.902 [info] [fetchCompletions] request.response: [https://proxy.individual.githubcopilot.com/v1/engines/copilot-codex/completions] took 433 ms
2024-11-17 10:08:48.905 [info] [streamChoices] solution 0 returned. finish reason: [stop]
2024-11-17 10:08:48.907 [info] [streamChoices] request done: headerRequestId: [6241e9e7-369a-4447-8060-9318db4bcaf7] model deployment ID: [d031-20241014223512]
2024-11-17 10:08:55.518 [info] [fetchCompletions] request.response: [https://proxy.individual.githubcopilot.com/v1/engines/copilot-codex/completions] took 220 ms
2024-11-17 10:08:55.519 [info] [streamChoices] solution 0 returned. finish reason: [stop]
2024-11-17 10:08:55.519 [info] [streamChoices] request done: headerRequestId: [5d05ea4c-645d-4308-af5c-7edfec35d864] model deployment ID: [d031-20241014223512]
2024-11-17 10:08:55.910 [info] [code-referencing] Calling Match
2024-11-17 10:08:56.810 [info] [code-referencing] No match found
2024-11-17 10:08:59.486 [info] [fetchCompletions] request.response: [https://proxy.individual.githubcopilot.com/v1/engines/copilot-codex/completions] took 196 ms
2024-11-17 10:08:59.487 [info] [streamChoices] solution 0 returned. finish reason: [stop]
2024-11-17 10:08:59.487 [info] [streamChoices] request done: headerRequestId: [cff5961e-dff3-42e8-b768-9d8e4f7a70d4] model deployment ID: [d031-20241014223512]
2024-11-17 10:09:02.231 [info] [code-referencing] Calling Match
2024-11-17 10:09:02.539 [info] [code-referencing] No match found
2024-11-17 10:09:05.250 [info] [fetchCompletions] request.response: [https://proxy.individual.githubcopilot.com/v1/engines/copilot-codex/completions] took 410 ms
2024-11-17 10:09:05.251 [info] [streamChoices] solution 0 returned. finish reason: [stop]
2024-11-17 10:09:05.252 [info] [streamChoices] request done: headerRequestId: [61bc372e-5a2b-4a28-9888-2220d6b94027] model deployment ID: [d031-20241014223512]
2024-11-17 10:09:06.751 [info] [code-referencing] Calling Match
2024-11-17 10:09:07.055 [info] [code-referencing] No match found
2024-11-17 10:09:07.078 [info] [fetchCompletions] request.response: [https://proxy.individual.githubcopilot.com/v1/engines/copilot-codex/completions] took 187 ms
2024-11-17 10:09:07.079 [info] [streamChoices] solution 0 returned. finish reason: [stop]
2024-11-17 10:09:07.079 [info] [streamChoices] request done: headerRequestId: [d01f269f-a9ad-456d-8ccc-0367e1001843] model deployment ID: [d031-20241014223512]
2024-11-17 10:09:07.450 [info] [fetchCompletions] request.response: [https://proxy.individual.githubcopilot.com/v1/engines/copilot-codex/completions] took 201 ms
2024-11-17 10:09:07.451 [info] [streamChoices] solution 0 returned. finish reason: [stop]
2024-11-17 10:09:07.451 [info] [streamChoices] request done: headerRequestId: [935ee554-dfd2-4aed-be10-15b9ec1fc9fc] model deployment ID: [d031-20241014223512]
2024-11-17 10:09:08.236 [info] [fetchCompletions] request.response: [https://proxy.individual.githubcopilot.com/v1/engines/copilot-codex/completions] took 163 ms
2024-11-17 10:09:08.237 [info] [streamChoices] solution 0 returned. finish reason: [stop]
2024-11-17 10:09:08.237 [info] [streamChoices] request done: headerRequestId: [15a53232-4e6d-4f08-9928-abe7c956dd81] model deployment ID: [d031-20241014223512]
2024-11-17 10:09:08.604 [info] [fetchCompletions] request.response: [https://proxy.individual.githubcopilot.com/v1/engines/copilot-codex/completions] took 171 ms
2024-11-17 10:09:08.605 [info] [streamChoices] solution 0 returned. finish reason: [stop]
2024-11-17 10:09:08.605 [info] [streamChoices] request done: headerRequestId: [1e484c76-8880-448c-95e9-61c7ceb91d12] model deployment ID: [d031-20241014223512]
2024-11-17 10:09:09.182 [info] [fetchCompletions] request.response: [https://proxy.individual.githubcopilot.com/v1/engines/copilot-codex/completions] took 217 ms
2024-11-17 10:09:09.190 [info] [streamChoices] solution 0 returned. finish reason: [stop]
2024-11-17 10:09:09.190 [info] [streamChoices] request done: headerRequestId: [1b83af0b-6be4-48b9-bdf6-9a9969e1b3aa] model deployment ID: [d031-20241014223512]
2024-11-17 10:09:17.397 [info] [fetchCompletions] request.response: [https://proxy.individual.githubcopilot.com/v1/engines/copilot-codex/completions] took 253 ms
2024-11-17 10:09:17.399 [info] [streamChoices] solution 0 returned. finish reason: [stop]
2024-11-17 10:09:17.402 [info] [streamChoices] request done: headerRequestId: [5810793a-b143-402e-a8b5-c0ef74ff8fbd] model deployment ID: [d031-20241014223512]
2024-11-17 10:09:18.120 [info] [code-referencing] Calling Match
2024-11-17 10:09:18.426 [info] [code-referencing] No match found
2024-11-17 10:09:22.078 [info] [fetchCompletions] request.response: [https://proxy.individual.githubcopilot.com/v1/engines/copilot-codex/completions] took 185 ms
2024-11-17 10:09:22.079 [info] [streamChoices] solution 0 returned. finish reason: [stop]
2024-11-17 10:09:22.080 [info] [streamChoices] request done: headerRequestId: [abfa0aa6-2d58-41a9-9a32-5fc043eac0da] model deployment ID: [d031-20241014223512]
2024-11-17 10:09:24.450 [info] [fetchCompletions] request.response: [https://proxy.individual.githubcopilot.com/v1/engines/copilot-codex/completions] took 224 ms
2024-11-17 10:09:24.451 [info] [streamChoices] solution 0 returned. finish reason: [stop]
2024-11-17 10:09:24.452 [info] [streamChoices] request done: headerRequestId: [93685c18-7c45-4482-9a85-a2ba465df91e] model deployment ID: [d031-20241014223512]
2024-11-17 10:09:27.474 [info] [code-referencing] Calling Match
2024-11-17 10:09:27.782 [info] [code-referencing] No match found
2024-11-17 10:21:23.958 [info] [certificates] Removed 86 expired certificates
2024-11-17 10:21:35.035 [info] [fetcher] Using Helix fetcher.
2024-11-17 10:21:35.035 [info] [code-referencing] Public code references are enabled.
2024-11-17 10:21:38.922 [info] [fetcher] Using Helix fetcher.
2024-11-17 10:21:38.922 [info] [code-referencing] Public code references are enabled.
2024-11-17 10:21:38.923 [info] [auth] Successfully authenticated
GitHub Copilot Chat
2024-11-17 09:58:39.317 [info] Using the Electron fetcher.
2024-11-17 09:58:39.317 [info] Initializing Git extension service.
2024-11-17 09:58:39.317 [info] Successfully activated the vscode.git extension.
2024-11-17 09:58:39.317 [info] Enablement state of the vscode.git extension: true.
2024-11-17 09:58:39.318 [info] Successfully registered Git commit message provider.
2024-11-17 09:58:39.321 [info] Logged in as xiaolitongxue5
2024-11-17 09:58:52.600 [info] Got Copilot token for xiaolitongxue5
2024-11-17 09:58:52.724 [info] copilot token chat_enabled: true, sku: free_educational
2024-11-17 09:58:52.724 [info] GitHub.vscode-pull-request-github extension is not yet activated.
2024-11-17 09:58:52.736 [info] Registering default platform agent...
2024-11-17 09:58:53.905 [info] Fetched model metadata in 1295ms 01a622af-2524-4969-b801-52650e29f7dc
2024-11-17 09:58:54.202 [info] activationBlocker from 'languageModelAccess' took for 15645ms
2024-11-17 10:09:42.268 [info] Fetched model metadata in 1189ms 0fb06c17-bf26-4b67-baa5-49d223f08ba2
2024-11-17 10:21:23.874 [info] Using the Electron fetcher.
2024-11-17 10:21:23.874 [info] Initializing Git extension service.
2024-11-17 10:21:23.874 [info] Successfully activated the vscode.git extension.
2024-11-17 10:21:23.874 [info] Enablement state of the vscode.git extension: true.
2024-11-17 10:21:23.874 [info] Successfully registered Git commit message provider.
2024-11-17 10:21:24.035 [warning] GitHub login failed
2024-11-17 10:21:24.037 [error] Error: GitHubLoginFailed
at iE._authShowWarnings (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:613:3586)
at iE.getCopilotToken (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:613:2135)
at jk.getCopilotToken (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:282:37843)
at EN.waitForChatEnabled (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:611:3181)
at EN.run (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:611:2900)
at eE.askToUpgradeAuthPermissions (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:611:2338): Failed to get copilot token
2024-11-17 10:21:24.037 [error] You are not signed in to GitHub. Please sign in to use Copilot.
2024-11-17 10:21:24.037 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without auth token
2024-11-17 10:21:24.037 [error] Error: GitHubLoginFailed
at iE._authShowWarnings (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:613:3586)
at iE.getCopilotToken (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:613:2135)
at jk.getCopilotToken (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:282:37843)
at fE._getAuthSession (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:628:2597)
at t (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:628:631)
at fE._registerLanguageModels (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:628:1810)
at async Promise.all (index 0)
at async Promise.allSettled (index 0)
at Ev.waitForActivationBlockers (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:282:25616)
at c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:1817:4068
at qPt (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:1817:3881)
at B0.n (file:///c:/Users/25319/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:4447)
at B0.m (file:///c:/Users/25319/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:4410)
at B0.l (file:///c:/Users/25319/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:3866)
2024-11-17 10:21:24.037 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without auth token
2024-11-17 10:21:24.037 [error] Error: GitHubLoginFailed
at iE._authShowWarnings (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:613:3586)
at iE.getCopilotToken (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:613:2135)
at jk.getCopilotToken (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:282:37843)
at fE._getAuthSession (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:628:2597)
at t (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:628:2060)
at fE._registerEmbeddings (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:628:2559)
at async Promise.all (index 1)
at async Promise.allSettled (index 0)
at Ev.waitForActivationBlockers (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:282:25616)
at c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:1817:4068
at qPt (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:1817:3881)
at B0.n (file:///c:/Users/25319/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:4447)
at B0.m (file:///c:/Users/25319/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:4410)
at B0.l (file:///c:/Users/25319/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:3866)
2024-11-17 10:21:24.037 [info] activationBlocker from 'languageModelAccess' took for 205ms
2024-11-17 10:21:24.043 [warning] GitHub login failed
2024-11-17 10:21:24.044 [info] copilot token chat_enabled: undefined, sku:
2024-11-17 10:21:24.048 [warning] GitHub login failed
2024-11-17 10:21:24.049 [error] You are not signed in to GitHub. Please sign in to use Copilot.
2024-11-17 10:21:24.049 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without auth token
2024-11-17 10:21:24.049 [error] Error: GitHubLoginFailed
at iE._authShowWarnings (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:613:3586)
at iE.getCopilotToken (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:613:2135)
at jk.getCopilotToken (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:282:37843)
at fE._getAuthSession (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:628:2597)
at t (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:628:2060)
2024-11-17 10:21:24.049 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without auth token
2024-11-17 10:21:24.049 [error] Error: GitHubLoginFailed
at iE._authShowWarnings (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:613:3586)
at iE.getCopilotToken (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:613:2135)
at jk.getCopilotToken (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:282:37843)
at fE._getAuthSession (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:628:2597)
at t (c:\Users\25319.vscode\extensions\github.copilot-chat-0.22.2\dist\extension.js:628:631)
2024-11-17 10:21:34.404 [info] Logged in as xiaolitongxue5
2024-11-17 10:21:35.515 [info] Got Copilot token for xiaolitongxue5
2024-11-17 10:21:35.568 [info] copilot token chat_enabled: true, sku: free_educational
2024-11-17 10:21:35.568 [info] GitHub.vscode-pull-request-github extension is not yet activated.
2024-11-17 10:21:35.575 [info] Registering default platform agent...
2024-11-17 10:21:36.554 [info] Fetched model metadata in 945ms 5f62824a-73af-4788-91aa-b65c976a5454
2024-11-17 10:31:49.370 [info] Fetched model metadata in 1039ms d318906d-9c39-4fc5-b265-82a134547403
2024-11-17 10:35:26.874 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: false.
2024-11-17 10:35:37.792 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: true.
2024-11-17 10:35:46.060 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: false.
2024-11-17 10:35:48.122 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: true.
2024-11-17 10:35:56.280 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: false.
2024-11-17 10:36:14.074 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: true.
2024-11-17 10:36:17.153 [trace] Resolving embedding model
2024-11-17 10:36:17.153 [trace] Resolved embedding model
2024-11-17 10:36:22.163 [info] Removed 86 expired certificates
2024-11-17 10:36:24.053 [debug] [LanguageModelAccess] UPDATING language models
2024-11-17 10:36:24.053 [debug] [LanguageModelAccess] UPDATING language models
2024-11-17 10:36:24.054 [trace] Resolving chat model
2024-11-17 10:36:24.054 [trace] Resolving chat model
2024-11-17 10:36:24.054 [trace] Resolved chat model
2024-11-17 10:36:24.054 [trace] Resolved chat model
2024-11-17 10:36:36.813 [debug] [LanguageModelAccess] UPDATING language models
2024-11-17 10:36:36.813 [trace] Resolving chat model
2024-11-17 10:36:36.813 [trace] Resolved chat model
2024-11-17 10:37:21.972 [trace] Resolving chat model
2024-11-17 10:37:21.972 [trace] Resolved chat model
2024-11-17 10:37:21.974 [trace] [inline] chat request received from extension host
2024-11-17 10:37:21.974 [trace] Building intent detector
2024-11-17 10:37:21.975 [trace] Resolving chat model
2024-11-17 10:37:21.975 [trace] Resolved chat model
2024-11-17 10:37:21.979 [trace] Built intent detector
2024-11-17 10:37:42.362 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: false.
2024-11-17 10:37:49.627 [trace] Resolving chat model
2024-11-17 10:37:49.627 [trace] Resolved chat model
2024-11-17 10:37:49.731 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: true.
2024-11-17 10:38:01.078 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: false.
2024-11-17 10:38:28.885 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: true.
2024-11-17 10:38:33.302 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: false.
2024-11-17 10:38:37.771 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: true.
2024-11-17 10:38:50.664 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: false.
2024-11-17 10:38:50.740 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: true.
2024-11-17 10:39:36.541 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: false.
2024-11-17 10:39:36.602 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: true.
2024-11-17 10:40:02.219 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: false.
2024-11-17 10:40:02.293 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: true.
2024-11-17 10:41:02.946 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: false.
2024-11-17 10:41:02.973 [debug] [context keys] Window state change. Needs offline check: false, active: true, focused: true.
2024-11-17 10:42:02.488 [trace] Resolving embedding model
2024-11-17 10:42:03.507 [info] Fetched model metadata in 1019ms 818d6d92-ef51-4d5d-8db2-9e6450f8e2fb
2024-11-17 10:42:03.507 [trace] Resolved embedding model

Does it look like you are logged in to your github account in vscode? Can you try logging out and logging back in to your github account in vscode?

 Can you try logging out and logging back in to your github account in vscode?

Sorry, I forget close the issue, this problem has been resolved.
Yes,I have try loginng out and loginng back twice. But this problem still happened.
Finally, I found it is because the plugin “Fitten Code” and "github copilot" are conflict. After I unable  the “Fitten Code” ,"github copilot" is working.  : )


Network error: Unexpected token < in JSON at position 0

Bug summary
Write a short description of the bug here ↓
I've followed the tutorial and got to "Build a resource list from a query" and I selected the three products as told by the tutorial. Unfortunately, it seems that ResourceListWithProducts fails to load and causes the error Network error: Unexpected token < in JSON at position 0. I then cloned this completed version and redid the setup steps and I got the same issue.
Expected behavior
What do you think should happen?
ResourceListWithProducts loads without an error and the products are displayed correctly
Actual behavior
What actually happens?
Tip: include an error message (in a <details></details> tag) if your issue is related to an error
an error at the bottom of the appeats that states:
 Network error: Unexpected token < in JSON at position 0
This has happened on "incomplete" and a fresh "complete" version of this tutorial
Steps to reproduce the problem
For me, it was

A fresh clone of this project
Setting up ngrok, creating a new app and getting the API keys.
Installing the new app
npm install
npm run dev

Specifications

Browser: Chrome
Device: Desktop
Operating System: Windows

Hi - was this ever solved?
Running into a similar issue where my code works on ngrok, but not on a domain.
I believe it's because next.js or KOA can not read the route for /auth - but haven't a clue why.

@keiraarts issue was resolved but @AlecMartin3 are you still experiencing this? I've checkout all the branches today and updated master with a few unrelated changes but let me know if you're still seeing this.
Do you have any console errors using the resource picker? Or is it just loading the list or products after selection?

I'm going to go ahead and close this issue as I haven't heard back in sometime.

I am getting the same error. It was working fine yesterday and today it says this on index page:

Unexpected token < in JSON at position 0

Last thing I did was adding this
<ResourceListWithProducts />
And it worked. But now when server was reset I can't make it work again.
I added new ngrok URLs like before. And the Annotated layout page is working fine, as well as Index page when nothing is selected via Resource Picker


Downgrade write lock to read lock before translog upload to remote store

Description
#10117
Related Issues
Resolves #10117 and #10133

Check List

[ ] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Apologies in advance, but I will need to force push to keep the commits to two for the ease in reviewing. The first PR is just a revert of an old PR and the second commit is the change compared to the pre-PR merge code state.

Gradle Check (Jenkins) Run Completed with:

RESULT: FAILURE ❌
URL: https://build.ci.opensearch.org/job/gradle-check/25920/
CommitID: 8e9a158
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green.
Is the failure a flaky test unrelated to your change?

Flay test - https://github.com/opensearch-project/OpenSearch/issues/10046

Gradle Check (Jenkins) Run Completed with:

RESULT: UNSTABLE ❕
TEST FAILURES:

      1 org.opensearch.search.SearchWeightedRoutingIT.testMultiGetWithNetworkDisruption_FailOpenEnabled
      1 org.opensearch.remotestore.RemoteStoreStatsIT.testDownloadStatsCorrectnessSinglePrimaryMultipleReplicaShards

URL: https://build.ci.opensearch.org/job/gradle-check/25991/
CommitID: 98eb4b2
Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

Flaky test - https://github.com/opensearch-project/OpenSearch/issues/10152

Gradle Check (Jenkins) Run Completed with:

RESULT: FAILURE ❌
URL: https://build.ci.opensearch.org/job/gradle-check/25992/
CommitID: 1bec919
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green.
Is the failure a flaky test unrelated to your change?

Other sets of flaky tests - https://github.com/opensearch-project/OpenSearch/issues/10154, https://github.com/opensearch-project/OpenSearch/issues/10155


from sklearn.ensemble.forest import RandomForestClassifier ModuleNotFoundError: No module named 'sklearn.ensemble.forest'

I am  getting error like this, can any body plz help

Try:
from sklearn.ensemble import RandomForestClassifier

Is this supposed to be a bug in scikit-optimize? We don't import from sklearn.ensemble.forest anywhere.

Brother it is again showing "in RanFor = pickle.load(f) ModuleNotFoundError: No module named 'sklearn.ensemble.forest'"
like this

@kernc :please help bro

Without seeing any code, you seem to be trying to unpickle a model from a prior, over a year old version of scikit-learn, which defined RandomForestClassifier still in sklearn/ensemble/forest.py.
Unfortunately, scikit-learn's position on the matter is:

we don't support pickling/unpickling across different scikit-learn version

meaning you'll have to re-fit the model.


enable-bar-scroll: only switch workspaces with the mouse wheel if over the background or workspaces module

waybar is great! One little nitpick that I have is that I like to enable the scroll wheel to change workspace AND ALSO to change the volume. Both options are available for waybar!
"enable-bar-scroll": true is available for the workspace switching, and the pulseaudio module does it out of the box.
However that means that if we enable the bar-scroll feature then when we're over the pulseaudio module, we'll do both: switch workspace AND change the volume. In effect we can't anymore change the volume using the mouse wheel, because of the side-effect of switching the workspace.
What this PR does is modify enable-bar-scroll to only have an effect on the "background" of waybar: so enable-bar-scroll doesn't have any effect on top of waybar modules (which obviously includes the pulseaudio module). The workspaces module is handled specially so that the effect works there too.
I tried a little to make the scroll wheel work everywhere except on modules that actually use the scroll wheel (like pulseaudio), but I didn't manage to make it work. I think this is good enough and pretty intuitive.
Thank you again for waybar!

Sorry for the delay 😢
Can you try to fix conflict?
Then i'll merge the PR 🎉

great, i'll fix the conflicts tonight!

It should be OK now!

I thought scroll bubbling was finally fixed in GTK 3.24.13 a year ago. The described issue is not reproducible for me with the latest GTK3 and the changes here would make 'enable-bar-scroll' less usable for other people who don't have this bug. Would it make sense to make the changed behavior conditional?
On the code itself: since I don't have this bug I can't really test, but is it possible to use Gtk::Widget::intersect with rectangle { x, y, 1, 1 } to check if the pointer coordinates belong to the module area?

the issue is still reproducable for me with the waybar shipped by fedora 33, meaning 3.24.23-1.
I'm surprised things work OK for you.
I don't know if intersects brings much. There are three boxes, left, center and right. We check if the cursor if within any of these. Seems to be as simple as it's going to be with the current code.

the issue is still reproducible for me with the waybar shipped by fedora 33, meaning GTK 3.24.23-1 and waybar 0.9.4.

Then it's really surprising. I'm also on Fedora 33 and I just checked that scrolling over pulseaudio module does not trigger workspace change. I wonder what's the difference.

I don't know if intersects brings much. There are three boxes, left, center and right. We check if the cursor if within any of these. Seems to be as simple as it's going to be with the current code.

Center box requires more careful handling, because it's not really in the center. It's constrained between left and right which could have different widths. Intersect could let you avoid calculating the real position of center box.

my config is there: https://github.com/emmanueltouzery/dotfiles/tree/master/.config/waybar
nothing much special i guess.

Center box requires more careful handling, because it's not really in the center. It's constrained between left and right which could have different widths. Intersect could let you avoid calculating the real position of center box.

good point, I didn't realize that. Let's see what you find out maybe, how come I have the problem and not you, and if we decide this change still makes sense, then I can change that.

Oh... TIL that GTK handles mouse and touchpad scroll differently :scream:
Mouse wheel generates both smooth scroll and regular scroll events. EventBox (pulseaudio module) receives only events with direction GDK_SCROLL_SMOOTH and windows receives both (or only regular if smooth is handled by module).
Ignoring events with e->direction != GDK_SCROLL_SMOOTH in Workspace::handleScroll seems to solve the issue, but I'm not sure what are downsides of this. Need to look deeper into Gdk wayland backend to check if smooth events are always generated for mouse wheel.

I believe #935 is a superior fix for this issue, closing this PR.


Duplicate results

Not sure if this is to be expected somehow, but I noticed nothing in the Issues about this: I'm getting lots of duplicate results displayed, the same lines with the same values. When exported to csv, it is the same.
For example, the file useful-forks-https\ __github.com_zyedidia_micro_.csv has 104 lines (including the header), while with duplicate lines removed, it only has 59.

Good catch. For posterity, here's the result that this user is talking about: https://justpaste.it/8evui
I do see a bunch of duplicates. I'll look into it.

The simplest fix to this is to keep a HashSet of all entries added in the table, and to only append new rows if the repo isn't in the HashSet.

The even better fix is to change TABLE_DATA into a set instead of an array.

to change TABLE_DATA into a set instead of an array.

Theoretically, a set has no ordering. Thus, the operation of sorting would make no sense against that data structure.
Also, it seems like JavaScript has no built-in set (and thus I regret saying "The simplest fix to this is to keep a HashSet"). We'd have to make one, and at that point it might become not worth it: the extra code increases complexity and reduces maintainability, while not providing much performance gains because we are talking about relatively small tables.
The simplest approach would be to simply scan the entire table array to check for a duplicate: that's an acceptable O(n).

Update: I have the fix ready. I'm simply waiting on #58 to get merged in as it'll build on it.

Odd. This issue is still happening, but it's not consistent.

There's most probably a race-condition happening. Could be in the Octokit library, or straight in my code. I'll have to try to manually bisect.
Or maybe my JavaScript knowledge is too narrow for me to even find the source of this bug.  ¯_(ツ)_/¯

https://github.com/useful-forks/useful-forks.github.io/commit/229d0ce308dc47795d7323af9b0a128a0ef7f4ec
This was what I thought would fix it.

It's this the set you want?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set

Yes, although technically given I have done an implementation with a list which should have solved this issue, it is clear that the problem is not what I thought it was.

There's most probably a race-condition happening. Could be in the Octokit library, or straight in my code

Feel free to investigate as I do not have much free time these days.


rotated pole data plots incorrectly for a grid_north_pole_longitude = 0

🐛 Bug Report
Rotated pole data with grid_north_pole_longitude=0 and a grid_north_pole_latitude=90 do not plot correctly
How To Reproduce
Steps to reproduce the behaviour:

load the file at /data/users/fris/rpole_0_issue/failing.nc
plot data with pcolormesh
appears over New Zeland when the data is in fact for Africa
edit the file so that grid_north_pole_longitude=180 /data/users/fris/rpole_0_issue/ok.nc
plot data again - appears in the correct location

Expected behaviour
I would expect that as the north pole latitude is 90N the pole longitude should be irrelevant. ncview get this correct
Screenshots
3 plots:

ncview of failing.nc

iris quckplot.pcolormesh for failing,nc

iris quckplot.pcolormesh for ok.nc

Environment

VDI
reprducable for iris 2.4.0 and 3.2.1 (default/current)

Additional context

Click to expand this section...
import iris
import iris.quickplot as qplt
import matplotlib.pyplot as plt

for file in ['failing.nc', 'ok.nc']:
    data = iris.load_cube(file)
    qplt.pcolormesh(data[0,...],cmap='Blues')
    plt.gca().coastlines()
    plt.title(file)
    plt.show()

this looks to be a similar issue in a different tool https://code.mpimet.mpg.de/boards/1/topics/8564
the explanation for panoply is "The data are on a rotated-pole projected grid, as defined by the attributes of the "rotated_pole" variable. That var indicates that the rotated north pole is at -180°E 90°N. This might look to the casual observer as if it means that there is no rotation of the pole at all. However, Panoply understands this to mean that the primary meridian is to be rotated 180° of longitude. "
I have to say I am confused by the CF definition here:
http://cfconventions.org/Data/cf-conventions/cf-conventions-1.9/cf-conventions.html#_rotated_pole
Rotated pole

grid_mapping_name = rotated_latitude_longitude

Map parameters:
        grid_north_pole_latitude
        grid_north_pole_longitude
        north_pole_grid_longitude - This parameter is optional (default is 0).

it does not explain what the difference between grid_north_pole_longitude and north_pole_grid_longitude  is...

I have to say I am confused by the CF definition here:
http://cfconventions.org/Data/cf-conventions/cf-conventions-1.9/cf-conventions.html#_rotated_pole

I was confused too, but then discovered that the definitions for all grid mapping attributes are grouped together in a table, after the mappings themselves. The table doesn't have a header, so it isn't in the contents, and I can't even get a direct link to it!
Anyway, from an initial look, it seems like this may have something to do with CF having parameters for "true latitude/longitude of the north pole of the rotated grid", but proj only having parameters for "latitude/longitude of the north pole of the unrotated source CRS, expressed in the rotated geographic CRS.
So cartopy has to translate these in some way, and it's possible that the current solution may fall down in this edge case. I'm struggling to think it through though.
However... if you plt.show() those examples and mouse-over the map, to see the projected and unprojected coordinates, cartopy actually believes that your data covers exactly the same range in both cases. So it is somehow incorrectly projecting the coastlines, but correctly projecting the mouse position (?)

Possibly same issue? https://github.com/SciTools/cartopy/issues/2091

Possibly same issue? SciTools/cartopy#2091

looks like it. I assumed it was probably a cartopy issue not an Iris one as such, but I wanted to record this issue and didn't have time to dig into cartopy. If that can be fixed, it might close this.

Looking at the thread on SciTools/cartopy#2091 it seems like that this is about the definition used in these files not actually matching the CF conventions. If that is the case, this is a not a bug. I'd welcome a chance to discuss further. But if we can agree this is the case, this ticket could be closed, and for ESMValTool where we have this problem, we should add a fixer into the pre-processors.

@SciTools/peloton Thanks @nhsavage for the update.
How did you want to proceed and who should be involved in the conversation?

I think that the first thing we need to do is close cartopy issue above by
a. adding the promised extensions to the documentation in cartopy
b. contacting the CORDEX community to make them aware of these differences and implications for how they make netCDF files for the southern hemisphere domains
I also need to review those documents and then convince myself that this CORDEX file is wrong. If that is the case, then when using ESMValTool we should write a fixer for this specific dataset (and others with this problem)

I also need to review those documents and then convince myself that this CORDEX file is wrong. If that is the case, then when using ESMValTool we should write a fixer for this specific dataset (and others with this problem)

@nhsavage Have you managed to find time to follow this though and understand if this is a CORDEX issue? Thanks 👍

I didn't have time to check. I find the CF definitions here very confusing. I also note thatjust make things even more interesting there is a difference between the defintition used in Grib files by WMO and CF.

Just a couple of quick comments:
@vsherratt wrote:

I was confused too, but then discovered that the definitions for all grid mapping attributes are grouped together in a table, after the mappings themselves. The table doesn't have a header, so it isn't in the contents, and I can't even get a direct link to it!

In recent versions of the conventions there is a List of Tables (after the TOC) and here you can find a direct link to Table F.1. Grid Mapping Attributes.
Yes, I agree that the difference between the grib and CF way of representing the rotated pole easily cause confusion. But that is how things are (and have been since forever) . The way forward is to be specific in documentations and always specify whether it is the North or the South Pole. {ping @gnikulin and @larsbuntemeyer re. CORDEX domain specs.). As was noted earlier in this issue the problem was noted in the Cartopy issue.
I think that with rather small changes to documentation this confusion can easily be substantially reduced.
I leave the possible need to improve the CF text on the subject for another time.

This is not really related to https://github.com/SciTools/cartopy/issues/2091 as such - although exploring those issues has helped me better understand what is happening here.
It also has nothing to do with the Grib issue
The correct definition for The Africa CORDEX rotated pole is RotPole (180.0; 90.0) https://cordex.org/domains/region-5-africa/ which is consistent with the pacthed /data/users/fris/rpole_0_issue/ok.nc
The original data file has
char rotated_pole ;
rotated_pole:long_name = "coordinates of the rotated North Pole" ;
rotated_pole:grid_mapping_name = "rotated_latitude_longitude" ;
rotated_pole:grid_north_pole_latitude = 90. ;
rotated_pole:grid_north_pole_longitude = 0. ;
which is not consistent with the CORDEX Africa definition.
My expectation that the value of the longitude of the rotated pole when when the latitude is zero is wrong, it controls where the meridian of the rotated pole grid is.
The third optional piece of CF metadata: north_pole_grid_longitude adds more confusion here as it is effectively redundant in this case, but can be useful in some circumstances (although rarely used and defaults to zero if not set).
I conclude that the problem is indeed with the metadata in the original file and I should now be able to close this issue but I will do some last tests first:

check that the fixed files'  2D lat and lon match the ones generated by cartopy from the grid information
see what happens in ncview if those 2D lat and lon are removed from the original file (I expect it will not be able to plot a map and it is in fact using the 2D lat and lon to do the plotting)
do plots of this domain with grid_north_pole_longitude  set to 0, 90, 180 and 270 to show the importance of this parameter

Plots of Africa domain with all 4 values of grid_north_pole_longitude which shows the importance of this and that the correct value is 180

Images showing importance of grid_north_pole_longitude

testing the lat and lon from cartopy in the two files - failing.nc
>>> glat = cube.coord('grid_latitude').points
>>> glon = cube.coord('grid_longitude').points
>>> x, y = np.meshgrid(glon, glat)
>>> cs = cube.coord_system()
>>> lons, lats = iris.analysis.cartography.unrotate_pole(x, y, cs.grid_north_pole_longitude, cs.grid_north_pole_latitude)
>>> lons[0,0]
155.25
>>> cube.coord('longitude').points[0,0]
-24.75

so the metadata and the 2D lons are inconsistent. Repeating for ok.nc:
>>> lons[0,0]
-24.75000000000004
>>> cube.coord('longitude').points[0,0]
-24.75
>>> cube.coord('longitude').points[-1,-1]
60.38999938964844
>>> lons[-1,-1]
60.38999938964846
>>>

so close enough.
The problem is clearly with the metadata in the source file so closing this ticket

Thanks so much for your hard work on this, @nhsavage 👍


Debugger: Stepping over at the last statement ends the debugging session abruptly

Description:
I don't know if I'm the only one experienced this one.
But it seem if I keep stepping over statements in  a function and If I step over last line (e.g. return statement in the function) instead of returning/continuing to the function which invoked current function; debugger will resume the program.
This is not consistent with common behaviour (which we enjoy in other languages/debuggers) and is really annoying if you are in middle of a debugging session.
Steps to reproduce:
This happens intermittently for a simple code fragment things seems to work as expected.
OS, DB, other environment details and versions:
MacOS, Visual Code Plugin, Ballerina 1.2.8
Related Issues (optional):
Suggested Labels (optional):
Suggested Assignees (optional):

Hi @ramith can you share the code a snippet to reproduce.

@ramith This seems to be already discussed in the ballerina google group mail thread "Fixing stepping over async call lines issue in ballerina debugger" as well as https://github.com/ballerina-platform/ballerina-lang/issues/18427, as an effect of dynamic breakpoints used by the debugger to handle stepping over codes lines with asynchronous calls.
This is already added in our debugger road map for the swan lake release (https://github.com/ballerina-platform/ballerina-lang/issues/24971) and we'll try to provide a fix in a coming milestone release.

what are the chances of seeing this in ballerina 1.2.X series? ( that is if we are shipping a new version in 1.2.x)


Document online location of, as well as offline canonical versions of, every CC legal tool

CC promises to maintain always canonical versions of every legal tool it has ever published, including deprecated licenses and tools.
Sometimes links to online versions break. Sometimes it is difficult to find the exact version, port or translation of all such licenses.
For purposes of documentation, CC ought have a page on its website that documents every license and legal tool, where it can be found online, and where a static and canonical version can be found offline if the link is broken for any reason. It might even be nice to have a simple tool that a member of the public could use to find, e.g., "Swedish 2.0 port", and the search returns both the online version and the static and canonical version in offline form.
This may involve creating and indexing the legal code for every single tool, if that does not already exist.

This exists for the machines already and can be found on http://creativecommons.org/licenses/index.rdf
My suggestion is to add content negotiation to http://creativecommons.org/licenses/ and use the RDF as its base.


Run WandbLogger with no internet.

❓ Questions and Help
Before asking:

search the issues.
search the docs.

What is your question?
Is there any way to run wandb logger offline without the internet? I was trying to use it for a competition with the rule of no internet access. Or any other online logger that can do the same without the internet? I am using it in Kaggle kernels. So if there is any trick or a hacky way to do that with no internet access, please share.:grin:
Code

What have you tried?
I tried the offline parameter but still needs wandb authentication using the wandb key.
What's your environment?

Linux: [e.g. iOS, Linux, Win]
Pip [e.g. pip, conda]
Version [e.g. <IP_ADDRESS>]

WandB can be installed and used locally as a docker: https://docs.wandb.com/self-hosted
Other loggers that I know (can) run locally are TensorBoard and MLFlow.

Resolved: https://github.com/wandb/client/issues/960#issuecomment-612149459


fix - graceful shutdown

This PR fixes #1226 by calling frankenphp.Shutdown() on Caddy's Shutdown().
I also went ahead and replaced the CaddyUsagePool by a global boolean. It's probably simpler to just have Shutdown() do nothing if FrankenPHP is not running (unless I'm missing something).

Could you please rebase?

Thanks!


Improve documentation versioning

Documentations of previous versions are no longer stored on master branch, so the repo and website will become lighter. Instead, it links to previous Netlify deployments. Furthermore, they were built using master, which may cause discrepancies. The documentation of the latest version will be built using 'katex' from npm, so the proper version will be used. Fixes #1780.

version
old
new

latest
Stored on master.Built using master.
Stored on master.Built using the latest KaTeX.

master (next)
Stored on master.Built using master.
Stored on master.Built using master.

previous
Stored on the master.Built using master.
Not stored on master and uses previous deploy from xxx--katex.netlify.app.Had been built using previous version.

Closed in favor of #2321.


Even though I tried ever possible solution, there is always an error

Challenge Change the Font Size of an Element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
 If you get stuck with a challenge, please ask questions to the Help Room. Happy coding!

This was original one.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.


Can't fetch /api/v2/institutions/ with JAVASCRIPT (no CORS support)

Providing a javascript library is great but the API can't really be used with javascript.
If you try to fetch() with CORS enabled, the API refuses the connection (no cors support)
if you try to fetch() with {method: 'no-cors'} you can't set the ContentType to 'application/json' and the API refuses the connection with an ERROR 415
NORDIGEN should enable CORS

Hello!
We don't have enabled CORS on the server-side for security reasons, we are not planning to enable them in a near future.
If you would like to use our API, you should do it on the server-side, for that purpose we have created nordige-node package to easily interact with our API, then you could make requests from the client to your local node server.

Just encountered this myself. I was trying to create a serverless application that used Nordigen and it would have been good to be able to call from the browser directly.

The solution to this issue is to create a local proxy and call the API via proxy.
Example from my Nuxt3/vite project:
file: nuxt.config.ts
vite: {
    server: {
      proxy: {
        "/nord": {
          target: "https://ob.nordigen.com/",
          changeOrigin: true,
          rewrite: (path) => path.replace(/^\/nord/, ""),
        },
      },
      cors: {
        origin: ["https://ob.nordigen.com"],
        methods: ["GET", "PUT", "POST"],
        allowedHeaders: ["Content-Type", "Authorization"],
      },
    },
  },

file: MyPage.vue
<script setup>
const { data: accessData, refresh: refreshData } = await useFetch(
  "/nord/api/v2/token/new/",
  requestOptions
);
</script>


Have a question about email cc?

All replies under the same discussion will be cc'ed to everyone who has messaged here。

This is a feedback from one of my users. He once left a message on one of my articles, and every time others leave a message and my reply will be copied to his mailbox. I think this is unreasonable. Is there any way to improve this? What about the situation? Or where is giscus configured, and I didn't find it.

Notifications/emails are from GitHub, not something configurable

Notifications/emails are from GitHub, not something configurable

Thanks for the reply, I see, this is the mechanism of GitHub.


Can't install v. 0.2

My pod file:
pod 'GDCoreDataConcurrencyDebugging', '~> 0.2'
After pod install:
[!] Unable to satisfy the following requirements:

GDCoreDataConcurrencyDebugging (~> 0.2) required by Podfile

I believe that the maintainer needs to push the latest podspec to the canonical specs repo.
In the meantime, you can modify your Podfile to use the tag from this repo:
pod "GDCoreDataConcurrencyDebugging", :git => 'git@github.com:GrahamDennis/GDCoreDataConcurrencyDebugging.git', :tag => '0.2', :configurations => ['Debug']

I also had to use :submodules => true, per:
http://www.geero.net/2014/06/using-submodules-in-cocoapods-sourced-from-git/

You could also fork the repo and add it to your private specs repo if you need to use it as a subspec dependency in a local dev pod that's a framework in your app...

I've now pushed 0.4.  Let me know if there are any problems.


Add a custom rejection handler for malformed requests

Overview
This PR transforms the messages associated with MalformedRequestContentRejections from ugly and not user-friendly to pretty and user-friendly.
Checklist

[x] ~Styleguide updated, if necessary~
[x] ~Swagger specification updated, if necessary~
[x] ~Symlinks from new migrations present or corrected for any new migrations~

Demo
If you're a cool kid with httpie, set an RF_TOKEN env variable, and:
http :9000/api/scenes/ Authorization: $RF_TOKEN foo=bar
http :9000/api/projects/ Authorization: $RF_TOKEN foo=bar
http :9000/api/thumbnails/ Authorization: $RF_TOKEN foo=bar

Notes
1
Setting up an implicit RejectionHandler where bindAndHandle is called is the recommended way to implement custom rejection handling. I'm pretty sure we could do the same thing with the UserErrorHandler and not have to extend it in every FooRoutes trait.
If we do that, I think we throw both custom handlers into an RfClientErrorHandler as implicits and just import RfClientErrorHandler._ in Main.scala. We'll get to delete more code! :smile:
2
I'm not sure how to list all of the fields that are missing. Presumably people will be using our fancy and very informative docs site, so they should only make a few mistakes, but I can imagine going a little insane trying to brute force my way to a legal request, and we don't list all the fields right now anyway.
Testing Instructions

./scripts/server (or ./scripts/console api-server ./sbt, then api/run if you're impatient)
Send some bad json to any endpoint you choose
Verify that the error message tells you what's wrong instead of mysteriously complaining about decoding and DownField(something-or-other)s

Closes #1398

More info on the UUID parsing behavior for later diagnosis.
POSTING to /api/uploads/
Correct, should work if you have this organization and datasource in your DB:
{
"organizationId": "dfac6307-b5ef-43f7-beda-b9f208bb7726",
  "uploadStatus": "UPLOADING",
  "fileType": "GEOTIFF",
  "uploadType": "LOCAL",
  "files": [],
  "datasource": "697a0b91-b7a8-446e-842c-97cda155554d",
  "metadata": {},
  "visibility":"PRIVATE"
}

Incorrect (truncated the three middle fields of the datasource UUID by one character):
{
"organizationId": "dfac6307-b5ef-43f7-beda-b9f208bb7726",
  "uploadStatus": "UPLOADING",
  "fileType": "GEOTIFF",
  "uploadType": "LOCAL",
  "files": [],
  "datasource": "697a0b91-7a8-46e-42c-97cda155554d",
  "metadata": {},
  "visibility":"PRIVATE"
}

Returns a 501 and results in this console error:
postgres_1     | ERROR:  insert or update on table "uploads" violates foreign key constraint "uploads_datasource_fkey"
postgres_1     | DETAIL:  Key (datasource)=(697a0b91-07a8-046e-042c-97cda155554d) is not present in table "datasources".

Note that each of the truncated UUID fields has been left-padded with a 0.

Bad types do have a slightly different format -- you don't get the "Attempt to decode value..." before the cursor error. I added parsing for that and cleaned up the pattern match to use extractors with my compiled regex instead of matching over findFirstMatchIn, so each compiled regex now fully describes its string.

:+1: Tested the changes, they work great!


added hook for chain links

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Support arbitrary package types

This makes sure not only packages of "type": "library" are supported but any type.

hello @mbrodala  sorry for the late reply,
but won't this make all packages, no matter what type they are, go throw LibraryInstaller and would cause faulty behavior?

Faulty behavior can be caused by packages which heavily rely on the default vendor-dir setup of Composer. But if one uses this package, he should know what he does anyways.
My usecase was pulling in piwik/piwik as dependency but still install it into a web directory. But since the Composer support of that package isn't that well anyways, I had to go the Git clone route for now.

I think the main problem is people out there are using wrong typed in their composer.json, piwik/piwik is using "type":"application", which is a not supported type by composer.
This, my, package's purpose is to provide flexibility for consumers with also preserving the default behavior of the composer installer.
Let me do some investigations and tests, because I'm curious how will this behave with pear packages or tarred, as from previous experience, they were downloaded but never untarred and I don't want to break the functionality to fix other people miss-using composer properties.
NB
I'm going for vacations for 1 month starting from next week and will be back on 14th of October, so please be patience, if I didn't reply before.
thanks

piwik should be supported by composer/installers ..

@drAlberT But only Piwik plugins are handled by composer/installers. (Package type piwik-plugin.)

@mbrodala you are right ...

Overriding the support function for the LibraryInstaller and always returning true will cause everything and every package no-matter the type of it, be handled by the LibraryInstaller and that shouldn't be the case.
For me, that is altering the entire composer behavior, may be implementing another installer or actually making a pull request to piwik/piwik to put the correct composer type.
what do you think?

@mnsami I agree with your observation that this would have a grave impact. I'll abandon this.


Issue with wording on Bonfire: Falsy Bouncer

Challenge Bonfire: Falsy Bouncer has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
The instructions state to "remove" falsey values from an array. As my solution only returns a modified static state of arr, is it possible to add a test that makes sure arr no longer contains the falsey values?
My code:
function bouncer(arr) {
  return arr.filter(function(object){
    return Boolean(object);
  });
}

We don't distinguish between returning an array without the missing values and actually altering the underlying array.  If, for example, we had said "Modify arr in-place", that would be another issue entirely.
Closing as this will not be changed.


Fixed logging of java.sql.Date

Fixed logging of java.sql.Date objects by appending it before Log4J tries to call java.util.Date.toInstant() on it (see #1366).
Checklist

Base your changes on 2.x branch if you are targeting Log4j 2; use main otherwise
./mvnw verify succeeds (if it fails due to code formatting issues reported by Spotless, simply run spotless:apply and retry)
Changes contain an entry file in the src/changelog/.2.x.x directory
Tests for the changes are provided
Commits are signed (optional, but highly recommended)

@Hikarikun92,
Thank You for your contribution. Can you add some unit tests to prevent regressions?

-1: this PR is missing a unit test.

@ppkarwasz @garydgregory done, tested failing before & working after change. Could you please review it?

@ppkarwasz Thanks for the merge! Just one question, the commit with the unit test is gone... is that normal?

@Hikarikun92, Ooops,
thanks for noticing, I must have lost them while locally rebasing. If you can push the tests on the 2.x branch of your fork, I'll pick them up later.

@Hikarikun92,
Thanks, I merged it: https://github.com/apache/logging-log4j2/commit/134f4d5b16216b440e25895087d44e9aa105f02b


Update cats-effect, cats-effect-std to 3.3.12

Updates

org.typelevel:cats-effect
org.typelevel:cats-effect-std

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

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

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.typelevel" }
}]

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

Superseded by #134.


can you send me a NEKit_demo.yaml demo file?

when I ran the demo target in the NEKit which called NEKitDemo,  Xcode told me the config is nil, and I find there no NEKit_demo.yaml in the project. Can you add a demo file in the project? I just want to run the project without crash.

https://github.com/zhuhaow/SpechtLite

3Q so much

@zkhCreator can u share the yaml files u got ? thank u.

@sseen I copy the file in the SpechtLite's readme file, and modified someplace.But finally I didn't run the framework in my app correctly, so I delete all the files.Sorry

@zkhCreator ok, thanks agian.


Fix docsy example

I previously added the docsy-example site in this repository under the docsy-example directory.
This PR moves that content to the root of this repository and updates the theme.
Closes #226

/approve cancel

/kind cleanup

/assign @feloy

/lgtm

I could remove most of the "content" from the example site.
/cc @tengqm

Let's kick this in and iterate over.
/approve


Crash Report<PHONE_NUMBER>

Link:
https://wowsims.github.io/sod/warlock/#eJzjkuRgEmCSYDRgtGB0YPRgTGDMYGxgOsE4gYnRSUCCUQEsfIGRcQOjWwajEIPUJFYutoCcxMrUIgFmCQ0FDq0ORi4OgeMTeDUO9EpxsQg8bOIFklvB5Jo5vFzcAhcn8UqcZ9PYfkECyOmdyShxmVXjKFAtu8BiP421QFEOgaa5jBpnmqSArMuTeDV+/JYEsi4BWXtmSHIxC+zhB5q1GGziYzC5dzYvUPeiZl6J9exA+ZYyoFjXMx4jTgGuCMYK1g5GJqu5zFwvmBhGAV2AkAGpOl4xMTjxApMdkwYw4TkwdjAyegmZmhoYGBkYGxgaGRkY6uqaGpgGsERwJzFkAVNnwQnGimmMnYwQ3ZYOsxgZFjFxCLFxMAowKrAqnWLmhMj4OQhCGCIOkrNmgsBJe0uIyAV7xTQwuGZvNIuZ41oTrxCHT2pZao6CiYGElgK71iBLLx8aHahiDtcCiswRkPpPHXcgAUMw6dDvYJmZ/6H1ZMhVe0eojEMEIwDI3F8x
RNG Seed:<PHONE_NUMBER>
Aura Improved Shadow Bolt already registered!
Stack Trace:
goroutine 11 [running]:
runtime/debug.Stack()
/opt/hostedtoolcache/go/1.21.7/x64/src/runtime/debug/stack.go:24 +0x6
github.com/wowsims/sod/sim/core.runSim.func1()
/home/runner/work/sod/sod/sim/core/sim.go:123 +0x10
panic({0x859c0, 0x2276650})
/opt/hostedtoolcache/go/1.21.7/x64/src/runtime/panic.go:914 +0x2c
github.com/wowsims/sod/sim/core.(*auraTracker).registerAura(0x23d2588, 0x23d2000, {{0x17cbb4, 0x14}, {0x0, 0x0}, {0x4588, 0x0, 0x0, 0x0}, ...})
/home/runner/work/sod/sod/sim/core/aura.go:372 +0x3a
github.com/wowsims/sod/sim/core.(*Unit).RegisterAura(...)
/home/runner/work/sod/sod/sim/core/aura.go:403
github.com/wowsims/sod/sim/core.ImprovedShadowBoltAura(0x23d2000, 0x5)
/home/runner/work/sod/sod/sim/core/debuffs.go:194 +0x9
github.com/wowsims/sod/sim/warlock.(*Warlock).applyImprovedShadowBolt.func1(0x23d2000, 0x28)
/home/runner/work/sod/sod/sim/warlock/talents.go:216 +0x6
github.com/wowsims/sod...

Seeing the same

Happens when you have talents in Improved Shadow Bolt and you have it also selected in the External Debuffs. I will fix it to not error but untill I do that you can just disable the ISB from external debuffs (It's not properly configured right now anyway and is very inflated so better have it off until we fix it)

The crashes should be resolved now


Update proposed API for Notebooks

I'm assuming these tests only run in Insiders version of VSCode (based on the file extension).

The insiders test suite is disabled rn, do we want to re-enable it with this PR?

Probably separate pr, not sure why it was disabled


neutron.img flashes but I cannot see magisk stub or full installed??

Should I be expecting magisk to install with the boot image in your wiki? I followed the instructions as shown but something isn't working right - also no errors to speak of.
Unlock worked, flashing boot returned OK but cannot install apks and cannot find magisk. Any tips from anyone that has used this guide?

OK So I think I fixed this by also flashing the vbameta files from apps4flip

Likely just rebooting fix this. There seems to be a timing issue when starting magisk.

Thanks for the response! I was reading through apps4flip and that does indeed seem to be the case as other users have seen as well. Flashing vbmeta is probably still not a bad idea if you're running certain modules, but not needed for root so case closed!
Thanks again!


Transaction Sample update

An example that shows queue add w/ transactions should actually use
the transaction.

LGTM - due to likely unrelated failure of build.


Support for Alias Records in Azure DNS

Is your feature request related to a problem? Please describe.
Need support for alias records in Azure CLI
Describe the solution you'd like
Alias records is a new feature in Azure DNS launching in Ignite. It is primarily related to adding an azure resource as a target for a record set. Also, TTL is optional for alias records. Please contact vladrai,karravi for any additional details
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Fraft swagger can be seen in https://github.com/karravi-msft/azure-rest-api-specs/tree/master/specification/dns/resource-manager/Microsoft.Network/stable/2018-05-01 . This will be pushed to main line azure fork in the week of 8/28

Merged.


feat: display actual ruleset version with --version option

Before this commit, the --version option would print the version of the validator tool and the version of the IBM Cloud OpenAPI Ruleset that is run by default if the user doesn't provide their own ruleset.
However, if the user did use their own, locally installed version of our ruleset, the version included in the output of the tool would not actually reflect the version being used. Additionally, users could install new versions of the validator tool but if they didn't update their locally installed instance of the ruleset, they would not get the updated behavior of the rules (which are often the reasons for bumping the version of the tool).
This commit adds logic to print the actually used (whether the default or locally installed) ruleset version and additionally will print a warning if the user has upgraded the version of their tool without upgrading the version of their locally installed ruleset.
This all required a little bit of re-organizing of some of the code.

:tada: This PR is included in version 1.15.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.15.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.3.1 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


Update README.md

A more specipic way to register plugin in android

The plugin has been updated to Capacitor 4.
Since Capacitor 3 there is automatic plugin registration, so no init nor registerPlugin calls are needed for registering plugins, they auto register.


Could not find method implementation() for arguments [com.github.BoardiesITSolutions:Android-MySQL-Connector:5.7.22]

Hi, when i Adding Dependency, i take in build log in Android Studio:
Could not find method implementation() for arguments [com.github.BoardiesITSolutions:Android-MySQL-Connector:5.7.22] on project ':app'.
it is my build.gradle file:
`apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion "24.0.0"
defaultConfig {
    applicationId "com.android.example.wordlistsqlsearchable"
    minSdkVersion 23
    targetSdkVersion 24
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:recyclerview-v7:24.1.1'
compile 'com.android.support:design:24.1.1'

compile 'com.android.support:appcompat-v7:24.2.0'
compile 'com.android.support:design:24.2.0'

compile ('com.amazonaws:aws-android-sdk-mobile-client:2.6.+@aar') { transitive = true }

compile 'com.facebook.android:facebook-android-sdk:4.20.0'
compile 'com.google.android.gms:play-services-auth:9.8.0'
compile('com.amazonaws:aws-android-sdk-auth-core:2.6.0@aar')
compile('com.amazonaws:aws-android-sdk-auth-ui:2.6.0@aar')
compile('com.amazonaws:aws-android-sdk-auth-facebook:2.6.0@aar') { transitive = true; }
compile('com.amazonaws:aws-android-sdk-auth-google:2.6.0@aar') { transitive = true; }

compile ('com.amazonaws:aws-android-sdk-mobile-client:2.6.+@aar') { transitive = true }

// Cognito UserPools for SignIn
compile 'com.android.support:support-v4:24.+'
compile ('com.amazonaws:aws-android-sdk-auth-userpools:2.6.+@aar') { transitive = true }

// Sign in UI Library
compile 'com.android.support:appcompat-v7:24.+'
compile ('com.amazonaws:aws-android-sdk-auth-ui:2.6.+@aar') { transitive = true }

compile 'com.google.android.gms:play-services-auth:8.3.0'

//        fact actually Engine

//        MariaDB 10.1.31
implementation 'com.github.BoardiesITSolutions:Android-MySQL-Connector:5.7.22'
//    include 'com.github.BoardiesITSolutions:Android-MySQL-Connector:10.1.31'
//    compile 'com.github.BoardiesITSolutions:Android-MySQL-Connector:10.1.31'
}`

Hi kopevgale,
The tagged version number on the MySQL connector implementation is the tag of our latest release of the library, not your MySQL Server Version.
Our latest tag is 0.23 so if you change your implementation to be as follows it should be OK:
implementation 'com.github.BoardiesITSolutions:Android-MySQL-Connector:0.23'.
Let me know how you get on and if you have any questions or issues then please let me know.

I just thought of something else. Although the tagged version number is wrong so my previous comment still applies but I think the error you are getting might be to do with your gradle version. Implementation is a fairly new thing in gradle, I think it was gradle 3 and it deprecated compile so it might be that you are using an older gradle version.
You can either upgrade your gradle version which would mean all of your imports would need to be changed from compile to implementation or change the import for the mysql connector to compile if you want to keep the current gradle version.

Hi boardy, how i can change the import for the mysql connector to compile if I want to keep the current gradle version?

Hi kopevgale, just changing the keyword implementation to compile should do the tick. So your gradle import line will be
compile 'com.github.BoardiesITSolutions:Android-MySQL-Connector:0.23

ok, now i doing this and take:
`Failed to resolve: com.github.BoardiesITSolutions:Android-MySQL-Connector:0.23```

becoase mavenCentral () not adding?

Don't need mavenCentral, at least not for the connector library, so not sure why that would be the problem.  Have you added the below to your gradle file, can't see it in your output. If so, can you let me know which gradle version you are using and I'll see if I can replicate the problem.
repositories {
        maven { url 'https://jitpack.io' }
    }

2.10 my gradle version

Cheers. I'll see if I can replicate your problem using that gradle version.

I've not hit your exact problem but I've got to compile and run an app OK with your gradle version.
Below is my build.gradle (within your app/module folder)
apply plugin: 'android'

android {
    compileSdkVersion 27
    defaultConfig {
        applicationId "com.BoardiesITSolutions.ConnectorPreGradleDebug"
        minSdkVersion 19
        targetSdkVersion 27
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        buildToolsVersion "27.0.1"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

repositories {
    maven { url 'https://jitpack.io' }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:27.1.1'
    compile 'com.android.support.constraint:constraint-layout:1.1.2'
    compile 'com.github.BoardiesITSolutions:Android-MySQL-Connector:0.23'
}

Below is the build.gradle in the top level directory of the project
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {

    repositories {
        jcenter()
        maven {
            url 'https://maven.google.com/'
            name 'Google'
        }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.5.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
        maven {
            url 'https://maven.google.com/'
            name 'Google'
        }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

The above isn't guaranteed to the best settings or versions. Android Studio really doesn't like downgrading gradle but the above gradle files sucessfully compiles and includes the MySQL connector library.
If possible I would recommend upgrading your gradle version though, version 2.x is quite old (currently on version 4.x) and it has a large number of improvements especially when it comes to performance and build times.
Let me know how you get on.

thank you very much, I will raise a gradle, as soon as I figure out how to do it. In the near future I'll let you know about the results

No worries.
If you want to upgrade gradle there's a gradle-wrapper.properties in the top level directory of your project /gradle/wrapper. You update the URL of the distribution URL to the latest version (currently 4.4). e.g. distributionURL will be distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip.
You'll then need to change all of your compile to implementation in your build.gradle dependencies and Android Studio usually sorts out the rest. Make sure you have a backup of your project though as it can go a little screwy at times.

Hi Kopevgale, Just wanted to check in to see if you managed to include and use the library OK. If so I'll close this issue, but please don't hesitate to get in touch if there's anything else I can help with.

Hey. Sorry for the impudence, but do you have any java code samples that mysql expressions are wrapped in.
I mean, do you have a skeleton or a template, how to wrap in a java code such expressions from mysql, as, for example,
CREATE DATABASE or
USE DATABASE or
CREATE  TABLE TableName

You will perfectly explain, in the following days I will test and configure your solution. Thank you very much!

No problem glad to help, I've also added the examples above in the README file in the master branch.


Share logger attributes between registry tool and server

Registry tool commands have a unique ID attached to their logs. This change allows that ID (and potentially other information) to be passed to the server. For example, here's a command that makes an API call.
$ registry get projects/p
  DEBUG[0000] Failed to get resource    error=rpc error: code = NotFound desc = project "projects/p" not found in database uid=5434deea

The server logs associated with this command can be found by searching for the matching uid.

Could we get a brief note explaining how this works? Specifically I'd like to have an explanation of the following:

How request IDs are being added to the request metadata sent by the registry tool (is apex doing that?)
What that request metadata looks like
How the interceptor is being used in the server to get this metadata
What are the requirements for writing logging code in the registry tool and server (we could say "copy the existing pattern", but I'd like for us to have more explanation of how this works, especially since there's an external dependency involved)

I'll address these comments and add some documentation on the logger.


InputLayer has no outbound_nodes when yolo is run on keras docker

I'm trying to run keras-yolo3's train.py (https://github.com/qqwweee/keras-yolo3) on the keras docker (https://github.com/keras-team/keras/tree/master/docker), but it yields the following error:
AttributeError: 'InputLayer' object has no attribute 'outbound_nodes'
Full error: https://pastebin.com/34tJ8q4A
Everything is up to date (docker and keras-yolo3) as of yesterday.
Any leads on this? I set this question up on the keras github -page, but they closed it and asked me to first ask the question here.

I was writing a custom layer, got the same error, the problem was in the class which I was subclassing,
try this
from Keras import layers
class layerName(layers.Layer):
    #impelementation


fix(ci): update default branch to main

:tada: This PR is included in version 1.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Agents deployed to ALB subnet?

On line 30 of jenkins_image.tf this lne:
 subnets                   = join(",", var.alb_subnet_ids)
appears to configure agents to deploy into the public subnet of the ALB.  The diagram here: https://aws.amazon.com/blogs/devops/building-a-serverless-jenkins-environment-on-aws-fargate/ shows agents deploying into private subnets.
Should this line use var.jenkins_controller_subnet_ids or am I misunderstanding the purpose of this section?

Hi @joshuaganger, thank you for the hint! We have pushed the fix for this issue.


Shear and Bending Moment Diagram Does not show

import planesections as ps
Define node locations, and support conditions
L = 5
beam = ps.newEulerBeam(L)
Define beam and fixities
pinned = [1,1,0]
beam.setFixity(L0.1, pinned, label = '1')
beam.setFixity(L0.9, pinned)
Define loads
Pz = -1
beam.addVerticalLoad(0, Pz, label = 'A')
beam.addVerticalLoad(L0.5, 2Pz, label = 'B')
beam.addVerticalLoad(L, Pz, label = 'C')
beam.addDistLoadVertical(0, L, Pz)
beam.addDistLoadVertical(1, L0.3, 5Pz)
Plot the beam diagram
ps.plotBeamDiagram(beam)
Run the analysis
analysis = ps.PyNiteAnalyzer2D(beam)
analysis.runAnalysis()
Plot the SFD and BMD
ps.plotShear(beam)
ps.plotMoment(beam)

Help me

Hi, how are you running python? Can you show a copy of the error message you received?

Okay, that's definitely an import error - something has gone wrong in instantiation.
Most likely you have several python environments on your computer and you are running on a different environment than the one you installed python on.
How are you running python? Are you running through command line? A IDE like VScode or Spyder?

Have you solved your problems? I'm going to close this issue soon.

Closing due to inactivity.


API version mismatch!

Hello everybody! Few month ego i was successfully compiled realsense d435 sdk for linux and all my programs worked fine but now when i try compile my code again i got fault and its says:
RealSense error calling rs2_create_context(api_version:21400):
API version mismatch: librealsense.so was compiled with API version 2.15.0 but the application was compiled with 2.14.0! Make sure correct version of the library is installed (make install)
Press  to close this window...
I am using Linux Mint 19 with 4.15.0-32-generic kernel, but when i compile sdk at every first time there was 4.15.0-29 kernel version. Also use QTcreator with gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3).
By the way native realsense viewer stay works fine! Where is the problem?

Hi @Serjey2017,
You seem to have librealsense 2.15.0 already installed, most likely as a result of sudo make install. If you have previously built the library from source, navigate to build folder and run sudo make uninstall. Alternatively, you can look under /usr/local/bin, /usr/local/lib and /usr/local/include and remove any remains of version 2.15.0.
Make sure to compile your code and run your app with the matched librealsense version.

Yes i have done that: in source directory run make uninstall and for now all works fine. Thank you!


Improve and refactor logic for standard wallet checking

Codecov Report
Patch coverage has no change and project coverage change: +0.52 :tada:

Comparison is base (dbf79fa) 83.97% compared to head (be5ed71) 84.50%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #182      +/-   ##
===========================================
+ Coverage    83.97%   84.50%   +0.52%
===========================================
  Files           17       17
  Lines         2191     2162      -29
===========================================
- Hits          1840     1827      -13
+ Misses         351      335      -16

Flag
Coverage Δ

unittests
84.50% <ø> (+0.52%)
:arrow_up:

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

Impacted Files
Coverage Δ

src/common/bip32.c
88.52% <ø> (+14.08%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Graphic Limitations

Leaning more towards OpenGL and whatever networking library it has to offer.

But since its an io game its not suppose to be anything super special graphics wise, suppose to be something small like agar and moomoo.


firefox: discord tab crashes, but not in firefox-bin

Describe the bug
A clear and concise description of what the bug is.
Steps To Reproduce
Steps to reproduce the behavior:

Open discord in Firefox
Join a voice call, private message or server
Allow microphone access
Have somebody else join
UI does not react to clicks anymore, on hover effects are triggered however, no audio plays, after a while the tab crashes

Expected behavior
Discord to work as normal, as it does in firefox-bin
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Looked for duplicates with is:issue discord label:"0.kind: bug" crash firefox is:open
Notify maintainers
@lovesegfault
@Hexadecimaaal
@taku0

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.43, NixOS, 24.11 (Vicuna), 24.11.20240728.52ec9ac`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"nixos-24.05"`
 - nixpkgs: `/nix/store/bcghcr9qwqmanpds017w75mcqda4fgab-source`

Add a :+1: reaction to issues you find important.

I am experiencing this same issue

Same, firefox-bin works, firefox crashes the discord tab and logs me out, nixpkgs rev 9a96f23c491c081b38eab96d22fa958043c9fa

happens for me too. I can provide a backtrace: https://paste.rs/K1870.txt

I have this issue on firefox-esr 128.1.0. There's no bin version for ESR. I created a request for it here https://github.com/NixOS/nixpkgs/issues/339217

Happens too for me

Hope this gets fixed before 24.11, seems kinda important.

Hope this gets fixed before 24.11, seems kinda important.

would be great to at least get an acknowledgment by the maintainers

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/ungoogled-chromium-bus-error-core-dumped/54117/1

The crash does not happen for me anymore...
Firefox: 131.0.3
nixpkgs: 2768c7d042a37de65bb1b5b3268fc987e534c49d

The crash does not happen for me anymore...
Firefox: 131.0.3 nixpkgs: 2768c7d

I can still reproduce this crash on firefox 131.0.3 and nixpkgs 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0.
Repro:

Click "User settings" iron on left-bottom side.
Click "Voice & Video" on the left menu, and it should get access to your microphone and display the volume at real time in "Input sensitivity". It's working well yet.
Under "MIC TEST" and click "Let's check" (should play the voice back to me), it will immediately trigger a tab crash.

I'm using KDE wayland and pipewire. Sound recording and playing work in other programs (eg. Telegram voice chat). According to the repro, it may be related to audio playback which other programs usually do not?
{
  security.rtkit.enable = true;
  services.pipewire = {
    enable = true;
    alsa.enable = true;
    pulse.enable = true;
  };
}

The crash does not happen for me anymore...
Firefox: 131.0.3 nixpkgs: 2768c7d

I can still reproduce this crash on firefox 131.0.3 and nixpkgs 4c2fcb0.
Repro:
1. Click "User settings" iron on left-bottom side.

2. Click "Voice & Video" on the left menu, and it should get access to your microphone and display the volume at real time in "Input sensitivity". It's working well yet.

3. Under "MIC TEST" and click "Let's check" (should play the voice back to me), it will immediately trigger a tab crash.

I'm using KDE wayland and pipewire. Sound recording and playing work in other programs (eg. Telegram voice chat). According to the repro, it may be related to audio playback which other programs usually do not?
{
  security.rtkit.enable = true;
  services.pipewire = {
    enable = true;
    alsa.enable = true;
    pulse.enable = true;
  };
}

Now the tab is crashing. I think I've only tested if others can hear me, but not if I can hear them. Seems to be related to audio playback.
Sorry for the noise :)

well it's half fixed for now at least

I've encountered the same issue with librewolf (131.0.3) on unstable:
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.58, NixOS, 24.11 (Vicuna), 24.11pre698755.807e9154dcb1`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.9`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

@lovesegfault
@Hexadecimaaal
@taku0

I have encountered the same issue, whenever discord tries to use microphone, the tab freezes and crashes
Firefox: 132.0.1
https://crash-stats.mozilla.org/report/index/313384cb-a70b-42ed-a831-2a6730241113#tab-details
 - system: `"x86_64-linux"`
 - host os: `Linux 6.11.7, NixOS, 24.11 (Vicuna), 24.11.20241109.76612b1`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.10`
 - nixpkgs: `/nix/store/0sxsfzswhjck7f4sbsvznz285s4i7y64-source`

This is not exclusive to discord: teams also crashes when it tries to use the microphone (joining a call muted is fine). Interesting enough, the crash does not occur with jitsi calls.

This is not exclusive to discord: teams also crashes when it tries to use the microphone (joining a call with the mic disabled is fine). Interesting enough, the crash does not occur with jitsi calls.

Yandex Telemost also works fine for some reason.

I have this exact same issue (100% crash when trying the mic test from Discord):
Firefox 132.0.1: https://crash-stats.mozilla.org/report/index/ffcaeb8e-c5ef-4f48-8087-b69db0241205
coredumpinfo: https://dpaste.com/8D258T34T
System is KDE Plasma, Nvidia, can repro the issue on X11 or Wayland
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.60, NixOS, 24.11 (Vicuna), 24.11pre-git`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.10`
 - channels(root): `"agenix, nixos-24.05"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Flake.lock:
{
  "nodes": {
    "agenix": {
      "inputs": {
        "darwin": "darwin",
        "home-manager": "home-manager",
        "nixpkgs": "nixpkgs",
        "systems": "systems"
      },
      "locked": {
        "lastModified":<PHONE_NUMBER>,
        "narHash": "sha256-b+uqzj+Wa6xgMS9aNbX4I+sXeb5biPDi39VgvSFqFvU=",
        "owner": "ryantm",
        "repo": "agenix",
        "rev": "f6291c5935fdc4e0bef208cfc0dcab7e3f7a1c41",
        "type": "github"
      },
      "original": {
        "owner": "ryantm",
        "repo": "agenix",
        "type": "github"
      }
    },
    "darwin": {
      "inputs": {
        "nixpkgs": [
          "agenix",
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified":<PHONE_NUMBER>,
        "narHash": "sha256-gzGLZSiOhf155FW7262kdHo2YDeugp3VuIFb4/GGng0=",
        "owner": "lnl7",
        "repo": "nix-darwin",
        "rev": "4b9b83d5a92e8c1fbfd8eb27eda375908c11ec4d",
        "type": "github"
      },
      "original": {
        "owner": "lnl7",
        "ref": "master",
        "repo": "nix-darwin",
        "type": "github"
      }
    },
    "home-manager": {
      "inputs": {
        "nixpkgs": [
          "agenix",
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified":<PHONE_NUMBER>,
        "narHash": "sha256-7ulcXOk63TIT2lVDSExj7XzFx09LpdSAPtvgtM7yQPE=",
        "owner": "nix-community",
        "repo": "home-manager",
        "rev": "3bfaacf46133c037bb356193bd2f1765d9dc82c1",
        "type": "github"
      },
      "original": {
        "owner": "nix-community",
        "repo": "home-manager",
        "type": "github"
      }
    },
    "nixpkgs": {
      "locked": {
        "lastModified":<PHONE_NUMBER>,
        "narHash": "sha256-+tFNwMvlXLbJZXiMHqYq77z/RfmpfpiI3yjL6o/Zo9M=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "54aac082a4d9bb5bbc5c4e899603abfb76a3f6d6",
        "type": "github"
      },
      "original": {
        "owner": "NixOS",
        "ref": "nixos-unstable",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "nixpkgs_2": {
      "locked": {
        "lastModified":<PHONE_NUMBER>,
        "narHash": "sha256-IigrKK3vYRpUu+HEjPL/phrfh7Ox881er1UEsZvw9Q4=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "76612b17c0ce71689921ca12d9ffdc9c23ce40b2",
        "type": "github"
      },
      "original": {
        "owner": "NixOS",
        "ref": "nixos-unstable",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "root": {
      "inputs": {
        "agenix": "agenix",
        "nixpkgs": "nixpkgs_2"
      }
    },
    "systems": {
      "locked": {
        "lastModified":<PHONE_NUMBER>,
        "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
        "owner": "nix-systems",
        "repo": "default",
        "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
        "type": "github"
      },
      "original": {
        "owner": "nix-systems",
        "repo": "default",
        "type": "github"
      }
    }
  },
  "root": "root",
  "version": 7
}

same, happens 100% of the time. Possibly a coincidence but the problem started as soon as I upgraded to 24.11.
firefox-bin doesn't crash for me. It shows the microphone but discord doesn't pick up any audio from it while testing

This is not nixos exclusive:
https://github.com/zen-browser/desktop/issues/1800
https://github.com/zen-browser/desktop/issues/394
https://github.com/NixOS/nixpkgs/issues/332540
https://www.reddit.com/r/firefox/comments/1hd6dwr/discord_voice_call_crashes_my_tab/
I made a bugzilla report: https://bugzilla.mozilla.org/show_bug.cgi?id=1937456


IPA Resource Model edits

[ ] IPA Project Type - Proposed Activity needs to be marked as mandatory - Arches bug (#745)

[x] Project Documents need an instruction for user as a subtitle "Upload EAO Application Information Requirements (AIR) or Land Act project description document

[x] Rename Project Documents to “Project Description Document”

[x] Initial Project Review - Ground Disturbance should be marked mandatory

[x] Underneath Approval Status header, create additional header called “Fossil Repository Agreement” – Add three tickbox options called “in place” and “in progress” and “not required” (@LeannePyle  is this in the PSR section? Can only one be selected?) - this is under Fossil Impact Assessment - FMO Assessment - not needed under PSR

[x] On CFP page – “Acccepted” has 3 c’s

[ ] On CFP page – CF Collection Events LOV is not letting new event addition be added (@LeannePyle - I was able to add one, however there is no place to add the embedded location information - is that what you're referring to?) - if we can only choose an existing event, then we need to include a help descriptor for this

[ ] SAP should move to very bottom rather than within the flow of FIA because it is more of a stand-alone process (@LeannePyle - please specify where in the list - guessing it shouldn't be at the very end) - Move to be under Communications Log

[x] On SAP page - Underneath Approval Status header, create additional header called “Fossil Repository Agreement” – Add three tickbox options called “in place” and “in progress” and “not required”

[ ] Add another header called SAP Collection Events (@LeannePyle - where?) - as a fourth header after SAP FMO Assessment

[x] On IMP page  – create additional header called “Fossil Repository Agreement” – Add three tickbox options called “in place” and “in progress” and “not required”

[ ] Add another header called IMP Collection Events  (@LeannePyle - where?) - as a third header after IMP FMO Assessment

@LeannePyle - I'm seeing Approval Status in the following places. Should we be adding the "Fossil Repository Agreement" after all of them?

PSR -> FMO Assessment
SAP -> FMO Assessment (as above)
Fossil Impact Assessment Process -> Fossil Impact Assessment Plan -> FMO Plan Assessment
Fossil Impact Assessment Process -> Fossil Impact Assessment -> FMO Assessment
CFP
IMP -> FMO Assessment (as above)

Not for all, just in three spots: SAP, IMP, and Fossil Impact Assessment -> FMO Assessment
Not for PSR, FIA Plan, nor CFP

@LeannePyle - re: Collection event. I was able to add a new one, however some of the nested cards didn't seem to be available.

As agreed upon in todays meeting:

Removed Collection Events from all sub nodes and moved to a new top-level node before Communications Logs
Moved Communications Log to the end
Refactored Chance Find Protocol to match other Processes - 2 sub-cards, 1st for industry, 2nd for FMO assessment
Added Paleo Company and Paleo Consultant to CFP Document section

All done except Fossil Repository Agreement was implemented as a pick list not radio buttons. This has been resolved in DEV and will happen in the next refresh.


Add Schema Definitions for Ad Cloud DSP Advertising Feed related MetaData

What are the schemas that are affected by the issue
We add 3 new classes for the AdCloud DSP Metadata , related to an advertising Feed:
Feed
Ad Server
Media Property
What are examples of products that are impacted by the issue
Adobe Advertising Cloud

Closing - Feed schema is no longer needed.


Install Fails

When I try to install the extension, I get the following error:
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/usr/share/atom/resources/app/apm/.apmrc" "--userconfig" "/home/gigavinyl/.atom/.apmrc" "install" "/tmp/d-115118-9897-m3xvxa/package.tgz" "--target=0.21.0" "--arch=x64"
npm ERR! node v0.10.35
npm ERR! npm  v2.3.0
npm ERR! code EBADPLATFORM

npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture<EMAIL_ADDRESS>npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   linux
npm ERR! notsup Actual Arch: x64

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/apm-install-dir-115118-9897-17p2j59/npm-debug.log

It appears as thought the error is due to my computer using Linux instead of MacOS. Is there a workaround for this or will you be implementing Linux support soon?

+1

+1

+1

+1

Implementing Linux support basically required an entire rewrite due to the different APIs for Mac and Linux, so I did that and published it as https://atom.io/packages/spotify-linux.
I'll look into merging the two packages when I have the time, but that was more difficult than writing a new package.

(I'm aware that is a old topic, but I don't feel correct to create another thread for the same issue)
I guess that it's the same situation for a windows machine?
thanks in advance.

Yes, atom-spotify only works on a Mac, there's been a closed issue for windows at #18.

+1


Interest in Contributing to Your Project

Hi Soham,
I hope you're well. My name is Ritesh, and I found your project "vibes" really good. I really like what you've done so far and would like to contribute.
Are you open to contributions?

Hello Ritesh,
Yes Off course you can contribute to it. It basically is getting its data from youtube and youtube music. The backend is present in my another repo named ytmusic-api. The repo ytmusic-api is my backend part of the app. It is a basically a nodejs express app. It uses many youtube api to fetch data as most of them are buggy. This app's state management is done with zustand. Feel free to explore and contribute to it. Its far from complete and it has lot of issues right now.

I’ve reviewed the frontend and backend of the music streaming app. To ensure stability, the API needs to fetch multiple song URLs efficiently. The React Native track player seems kind of slow for streaming in my view.
What’s the current status of the backend? How are you getting the track URLs—individually or in bulk?

i am streaming songs from backend using ytdl-core by using the videoId or youtubeId.
Are there any alternatives for React Native track player as i only found it the best and it also handles so much work automatically.

I've reviewed both the frontend and backend, and you've done a great job. However, I have a different approach in mind.
Instead of using Express.js for the API, we could integrate the functions directly into the frontend. This way, we don't have to worry about hosting the API. We can use react-native-ytdl to fetch the stream URLs and the YouTube Music API directly in React Native. This will make things easier and less complicated.
For music streaming, consider using react-native-sound-player. It's faster than Track Player but lacks notification controls. You can try react-native-music-control for notifications, even though it's deprecated. If it doesn't work, use Track Player just for notification controls and react-native-sound-player for streaming.
I can also help with the UI work.

Ironically, I also have a project named "Vibes." It's not fully functional yet, but you can check it out to see the UI design.

I looked into react-native-ytdl although it is deprecated. React native sound player looks good and i will look into that. I also saw your project its ui is very good. If you want to make changes in this project's you are happy to do it. I am using native-wind for styling right now

I also looked into your YoutubeMusic.js . Is it fully functional ? As i have tried few apis and they were fine a few days before but recently cannot fetch artists and albums data.

Although react-native-ytdl is deprecated, it is still working perfectly fine.
There are many alternatives to ytdl, such as native ytdl or rn ytdl core. You can find more information on npmjs.com.
My package, Youtubemusic.js, is not fully functioning. I am not handling it anymore (as of now) because of other work.
I will definitely style the UI of the app, but before that, it would be better if you implement all the functionalities into the app.
I am on macOS, so I can handle the work for iOS part styling and functionality. If you're on Windows, I'll give you the entire structure; just implement that on Android. Also, we need to make sure that the app is responsive.

I will surely look into it and try to migrate to it as soon i get time.

I just now tried react-native-ytdl and rn ytdl core both are either  giving outdated urls or giving m3u8 errors . So both of them not working.


Make nick presentation configurable.

I prefer this one to #12

Looks good, but could you add documentation to the README.md too ?
I'd like a better (same) name for MMNickFormat and IRCNickFormat. Maybe RemoteNickFormat ? or MessageNickFormat ? or something else ?

Updated commit.


Add user follow button support.

Preview:

And my settings:
  "plugins": [
     "github-buttons"
   ],
   "pluginsConfig": {
     "github-buttons": {
       "buttons": [{
         "user": "kxxoling",
         "type": "follow",
         "size": "large",
         "width": "234"
       }]
     }
  }

Since this would break the former config, it's better to publish with a higher version, which is 3.0.0.

Fixed and updated.

@kxxoling Thanks!


#26708 Hide .project and .settings folder only in standalone app

Please check

[x] the issue by steps to reproduce
[ ] this issue on eclipse plugin https://github.com/dbeaver/dbeaver/issues/20759

Will, unfortunately still bring back the unwanted behavior with search/replace but ok

verified


Add j2j branch distance to image stats

Partially addresses #13.

Coverage increased (+0.002%) to 99.317% when pulling f431723a16b0a8754f86420a881fa8f3ba1ab112 on mean-j2j-distance into 676568d172a84afeb376b6ca80225af8aae6af96 on master.