Copilot blocking responses

VS Code Version: 1.84.0 (Universal)
OS Version:  Darwin arm64 23.0.0
Logs:

Steps to Reproduce:

For any prompt, copilot may start responding with- Sorry, the response matched public code so it was blocked. Please rephrase your prompt.

Can you include your output logs CTRL + SHIFT + U -> Copilot Chat

Is there a way to retrieve old logs?

Is there a way to retrieve old logs?

There is not. Are you hitting this filtering often?
Also have you disabled public code matching in your Copilot settings on github.com?

Just ran into the problem once but was stuck with it for a while.
And, I haven't disabled public code matching.

I'm getting this a lot and I have public code matching set to allow.

I'm getting this a lot and I have public code matching set to allow.

What type of questions are you asking. Can you provide the output logs for Copilot Chat?

what is the reason for that ?

I'm also getting it, it must be a bug in Copilot.

same issue

what is the reason for that ?

Do you have public code matching enabled? Can you share your logs?

I have the same problem.

If you are experiencing this please share your public code matching setting found at https://github.com/settings/copilot
as well as your GitHub Copilot Chat output found via CMD / CTRL + SHIFT + U -> GitHub Copilot Chat inside VS Code.

facing same issue ,setting is set to allow , here is the output
2023-11-09T18:51:46.485Z [INFO] [auth] Logged in as akhilesh84
2023-11-09T18:51:47.250Z [INFO] [chat] copilot token chat_enabled: true
2023-11-09T18:51:47.257Z [INFO] [auth] Got Copilot token for akhilesh84
2023-11-09T18:51:47.319Z [INFO] [auth] Logged in as akhilesh84
2023-11-09T18:51:47.321Z [INFO] [chat] copilot token chat_enabled: true
2023-11-09T18:51:47.322Z [INFO] [auth] Got Copilot token for akhilesh84
2023-11-09T18:53:52.666Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-09T18:53:52.666Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-09T18:53:52.666Z [INFO] [chat fetch] chat model gpt-4
2023-11-09T18:53:53.754Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1087 ms
2023-11-09T18:53:53.756Z [INFO] [chat fetch] Request ID for failed request: ,6b880dcb-e55d-4493-b058-e421f87d0b30
2023-11-09T18:53:53.760Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request
2023-11-09T19:03:37.386Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-09T19:03:37.386Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-09T19:03:37.386Z [INFO] [chat fetch] chat model gpt-4
2023-11-09T19:03:38.373Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 986 ms
2023-11-09T19:03:38.375Z [INFO] [chat fetch] Request ID for failed request: ,2e51e24e-d692-44bc-a718-fec8048c15c5
2023-11-09T19:03:38.379Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request
2023-11-09T19:16:47.333Z [INFO] [auth] Logged in as akhilesh84
2023-11-09T19:16:47.875Z [INFO] [chat] copilot token chat_enabled: true
2023-11-09T19:16:47.876Z [INFO] [auth] Got Copilot token for akhilesh84
2023-11-09T19:42:50.126Z [INFO] [auth] Logged in as akhilesh84
2023-11-09T19:42:50.769Z [INFO] [chat] copilot token chat_enabled: true
2023-11-09T19:42:50.780Z [INFO] [auth] Got Copilot token for akhilesh84
2023-11-09T20:07:50.843Z [INFO] [auth] Logged in as akhilesh84
2023-11-09T20:07:51.454Z [INFO] [chat] copilot token chat_enabled: true
2023-11-09T20:07:51.455Z [INFO] [auth] Got Copilot token for akhilesh84
2023-11-09T20:32:51.522Z [INFO] [auth] Logged in as akhilesh84
2023-11-09T20:32:52.068Z [INFO] [chat] copilot token chat_enabled: true
2023-11-09T20:32:52.068Z [INFO] [auth] Got Copilot token for akhilesh84
2023-11-09T20:33:02.631Z [ERROR] [asyncCompute] Failed to compute async parser based result: (TypeError) t is not iterable
2023-11-09T20:33:02.640Z [ERROR] [asyncCompute] Failed to compute async parser based result: (TypeError) t is not iterable
2023-11-09T20:33:04.611Z [ERROR] [extension] (TypeError) e.request.message.startsWith is not a function
2023-11-09T20:33:30.477Z [ERROR] [asyncCompute] Failed to compute async parser based result: (TypeError) t is not iterable
2023-11-09T20:33:30.481Z [ERROR] [asyncCompute] Failed to compute async parser based result: (TypeError) t is not iterable
2023-11-09T20:33:32.426Z [ERROR] [extension] (TypeError) e.request.message.startsWith is not a function
2023-11-09T20:34:17.333Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-09T20:34:17.333Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-09T20:34:17.333Z [INFO] [chat fetch] chat model gpt-4
2023-11-09T20:34:17.827Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 492 ms
2023-11-09T20:34:17.829Z [INFO] [chat fetch] Request ID for failed request: ,560f586c-bd15-4226-812c-87b72e7885c1
2023-11-09T20:34:17.830Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request

BTW tried the vscode insider and chat is working there

@akhilesh84 Your logs indicate you're on an older version of the extension and VS Code. It also appears you're getting off topic filtered so it means chat thinks your question isn't about programming

Here are the logs from mine.
2023-11-09T20:42:50.418Z [INFO] [chat] copilot token chat_enabled: true
2023-11-09T20:42:50.419Z [INFO] [auth] Got Copilot token for cvbrian
2023-11-09T20:42:50.437Z [INFO] [auth] Logged in as cvbrian
2023-11-09T20:42:50.437Z [INFO] [chat] copilot token chat_enabled: true
2023-11-09T20:42:50.437Z [INFO] [auth] Got Copilot token for cvbrian
2023-11-09T20:43:32.779Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-09T20:43:32.779Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-09T20:43:32.779Z [INFO] [chat fetch] chat model gpt-4
2023-11-09T20:43:32.996Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 215 ms
2023-11-09T20:43:32.998Z [INFO] [chat fetch] Request ID for failed request: ,ab46c727-3456-4073-b52c-70e26425174d
2023-11-09T20:43:32.999Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request```

And here is my setting for that.

Here are the logs from mine.
2023-11-09T20:42:50.418Z [INFO] [chat] copilot token chat_enabled: true
2023-11-09T20:42:50.419Z [INFO] [auth] Got Copilot token for cvbrian
2023-11-09T20:42:50.437Z [INFO] [auth] Logged in as cvbrian
2023-11-09T20:42:50.437Z [INFO] [chat] copilot token chat_enabled: true
2023-11-09T20:42:50.437Z [INFO] [auth] Got Copilot token for cvbrian
2023-11-09T20:43:32.779Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-09T20:43:32.779Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-09T20:43:32.779Z [INFO] [chat fetch] chat model gpt-4
2023-11-09T20:43:32.996Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 215 ms
2023-11-09T20:43:32.998Z [INFO] [chat fetch] Request ID for failed request: ,ab46c727-3456-4073-b52c-70e26425174d
2023-11-09T20:43:32.999Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request```

What version of VS Code and the extension are you using?

Also same issue here with "allow" on "suggestion matching public code" in VS Code

Just started hitting this too. Public matching is set to allow. Very frustrating.

@akhilesh84 Your logs indicate you're on an older version of the extension and VS Code. It also appears you're getting off topic filtered so it means chat thinks your question isn't about programming

vscode 1.84.2
copliot is pre-release v1.135.544
copilot chat is pre-release v0.10.1

same situation here:

"Suggestions matching public code" is set to "allow"
Copilot says "Sorry, the response matched public code so it was blocked" after asking about the difference between 2 variables. Then all follow up questions were answered the same way. Even when explicitly asking "can you explain without matching public code?"
Log says

2023-11-13T09:02:08.778Z [INFO] [chat fetch] Request ID for failed request: ,896c7859-0f70-455f-ae4f-68bc98953d48
2023-11-13T09:02:08.779Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request

Version v0.10.1

@lramos15 or anyone from GitHub , i shared the info like others.
Any potential fix?

I have the same problem, i just asked it to generate a login and it cracked. It got quite foolish the bot

What has fixed this issue for me was to disable all of the other extensions I had in place in VS Code.  These included HTML, CSS, PHP and Python syntax highlighters and code prompt extensions.  Clearly, one or more of these were conflicting with CoPilot as it's now working perfectly.

I am similarly getting this issue. Everything is up-to-date and I have the option turned on. I just got this issue. It's definitely a Google copilot issue and you have to realize how much more updates have been made recently it's now got the ability to look through all directories it's effectively Cursor application.

@lramos15
Version: 1.84.2 (Universal)
Commit: 1a5daa3a0231a0fbba4f14db7ec463cf99d7768e
Date: 2023-11-09T10:52:33.687Z
Electron: 25.9.2
ElectronBuildId: 24603566
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.1.0
GitHub Copilot
v1.137.0
GitHub Copilot Chat
v0.10.1

Screenshot 1

Screenshot 2

Same problem here. Just started today, was working fine yesterday.
2023-11-17T22:24:32.213Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-17T22:24:32.213Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-17T22:24:32.213Z [INFO] [chat fetch] chat model gpt-4
2023-11-17T22:24:32.297Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 83 ms
2023-11-17T22:24:32.298Z [INFO] [chat fetch] Request ID for failed request: ,e734c7df-97b8-4bdf-93a0-a8a2b5389307
2023-11-17T22:24:32.299Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request

Same problem here. Just started today, was working fine yesterday.

Are you on the latest version of VS Code + Copilot Chat?

Same problem here. Just started today, was working fine yesterday.

Are you on the latest version of VS Code + Copilot Chat?

I am. I did a fresh install as well and still getting the same error.

Same problem here. Just started today, was working fine yesterday.

Are you on the latest version of VS Code + Copilot Chat?

I am. I did a fresh install as well and still getting the same error.

You should try to type /clear in the chatbox

@lramos15 - this log https://github.com/microsoft/vscode-copilot-release/issues/550#issuecomment-1807196573 seems to indicate
e.request.message.startsWith  is not a function: Indicates a JavaScript TypeError related to the startsWith function - occurring in the "extension" component and seems unrelated to the subsequent log entries about chat fetching.
For those 400s in this issue comment thread, I checked for the ID in the logs, but I don't seem to have any entry into our telemetry as header/apim request IDs. Anything you could dig on your end?

Just started hitting this too. Public matching is set to allow but the log says the finish reason is [content_filter]
2023-11-12T12:42:17.628Z [INFO] [streamChoices] request done: headerRequestId: [d1fc5b3c-9ae0-4d77-b81c-828260346ec1] model deployment ID: [xa38328d4e44c]
2023-11-12T12:44:37.106Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-12T12:44:37.106Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-12T12:44:37.106Z [INFO] [chat fetch] chat model gpt-4
2023-11-12T12:44:40.441Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 3335 ms
2023-11-12T12:44:41.956Z [INFO] [streamMessages] message 0 returned. finish reason: [content_filter]

Extension v0.10.1

Oddly, I noticed that the actual engine value is different in our recorded CAPI telemetry than what is emitted in the logs 🤔
	"model": "GitHubCopilotChat/0.10.1",
	"client_country_region_iso_code": "AU",
	...
},
"aip_engine": gpt-3.5,

I am still having issues... I have attempted to resolve them by reinstalling the software, using the pre-release version, removing all extensions, and using the /clear command, but none of these solutions have worked. I have made sure that public coding is allowed, yet the problem persists. It looks like it's an issue with either the extension or Copilot itself.

@GPARKchristian Do you hit this on every message? Or just occasionally?

I would say 4 out of 5 times.

I would say 4 out of 5 times.

Can you share your logs and public code matching setting?

2023-11-21T09:17:22.705Z [INFO] [auth] Logged in as GPARKchristian
2023-11-21T09:17:23.033Z [INFO] [chat] copilot token chat_enabled: true
2023-11-21T09:17:23.035Z [INFO] [auth] Got Copilot token for GPARKchristian
2023-11-21T09:17:23.044Z [INFO] [auth] Logged in as GPARKchristian
2023-11-21T09:17:23.045Z [INFO] [chat] copilot token chat_enabled: true
2023-11-21T09:17:23.045Z [INFO] [auth] Got Copilot token for GPARKchristian
2023-11-21T09:18:23.546Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-21T09:18:23.546Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-21T09:18:23.546Z [INFO] [chat fetch] chat model gpt-4
2023-11-21T09:18:26.694Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 3148 ms
2023-11-21T09:18:36.944Z [INFO] [streamMessages] message 0 returned. finish reason: [content_filter]
2023-11-21T09:18:36.945Z [INFO] [streamChoices] request done: headerRequestId: [2684576b-8d31-4fd6-8853-fe9ebb56ceb7] model deployment ID: [xfbad2a5f462a]

I am receiving this problem as well.  Here are my logs and settings:
2023-11-21T20:01:24.104Z [INFO] [auth] Logged in as altearius
2023-11-21T20:01:24.411Z [INFO] [chat] copilot token chat_enabled: true
2023-11-21T20:01:24.411Z [INFO] [auth] Got Copilot token for altearius
2023-11-21T20:01:49.043Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-21T20:01:49.043Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-21T20:01:49.043Z [INFO] [chat fetch] chat model gpt-4
2023-11-21T20:01:49.482Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 439 ms
2023-11-21T20:01:49.485Z [INFO] [chat fetch] Request ID for failed request: ,5753e9f8-ba5f-465d-8ab1-4dcd858624d7
2023-11-21T20:01:49.487Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request

2023-11-21T20:02:15.510Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-21T20:02:15.510Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-21T20:02:15.510Z [INFO] [chat fetch] chat model gpt-4
2023-11-21T20:02:16.360Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 850 ms
2023-11-21T20:02:16.361Z [INFO] [chat fetch] Request ID for failed request: ,94efb4b1-8fd3-4636-bb82-03c3079c218e
2023-11-21T20:02:16.362Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request

2023-11-21T20:04:49.851Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-21T20:04:49.851Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-21T20:04:49.851Z [INFO] [chat fetch] chat model gpt-4
2023-11-21T20:04:50.276Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 425 ms
2023-11-21T20:04:50.278Z [INFO] [chat fetch] Request ID for failed request: ,1296a44d-180e-4ec3-a7d0-8183f779e369
2023-11-21T20:04:50.280Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request

2023-11-21T20:04:00.689Z [INFO] [auth] Logged in as Andrew-Branum1
2023-11-21T20:04:00.693Z [INFO] [chat] copilot token chat_enabled: true
2023-11-21T20:04:00.694Z [INFO] [auth] Got Copilot token for Andrew-Branum1
2023-11-21T20:04:28.484Z [ERROR] [asyncCompute] Failed to compute async parser based result: (TypeError) t is not iterable
2023-11-21T20:04:28.496Z [ERROR] [asyncCompute] Failed to compute async parser based result: (TypeError) t is not iterable
2023-11-21T20:04:29.082Z [INFO] [asyncCompute] Computing async parser based result took longer than 600ms
2023-11-21T20:04:30.092Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-21T20:04:30.092Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-21T20:04:30.092Z [INFO] [chat fetch] chat model gpt-4
2023-11-21T20:04:30.313Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 219 ms
2023-11-21T20:04:30.315Z [INFO] [chat fetch] Request ID for failed request: ,40ea3696-1426-4028-9085-221112249e18
2023-11-21T20:04:30.318Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request

I am receiving this problem as well. Here are my logs and settings:
2023-11-21T20:01:24.104Z [INFO] [auth] Logged in as altearius
2023-11-21T20:01:24.411Z [INFO] [chat] copilot token chat_enabled: true
2023-11-21T20:01:24.411Z [INFO] [auth] Got Copilot token for altearius
2023-11-21T20:01:49.043Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-21T20:01:49.043Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-21T20:01:49.043Z [INFO] [chat fetch] chat model gpt-4
2023-11-21T20:01:49.482Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 439 ms
2023-11-21T20:01:49.485Z [INFO] [chat fetch] Request ID for failed request: ,5753e9f8-ba5f-465d-8ab1-4dcd858624d7
2023-11-21T20:01:49.487Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request

2023-11-21T20:02:15.510Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-21T20:02:15.510Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-21T20:02:15.510Z [INFO] [chat fetch] chat model gpt-4
2023-11-21T20:02:16.360Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 850 ms
2023-11-21T20:02:16.361Z [INFO] [chat fetch] Request ID for failed request: ,94efb4b1-8fd3-4636-bb82-03c3079c218e
2023-11-21T20:02:16.362Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request

2023-11-21T20:04:49.851Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-21T20:04:49.851Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-21T20:04:49.851Z [INFO] [chat fetch] chat model gpt-4
2023-11-21T20:04:50.276Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 425 ms
2023-11-21T20:04:50.278Z [INFO] [chat fetch] Request ID for failed request: ,1296a44d-180e-4ec3-a7d0-8183f779e369
2023-11-21T20:04:50.280Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request

might just be bad timing or the server is under heavy load considering we are both here at the same time

I have the exact same problem as everyone else.  Public code settings = allowed, every single chat request results in "Oops, your response got filtered. Vote down if you think this shouldn't have happened."
Transcript:
2023-11-21T20:07:08.186Z [INFO] [chat fetch] engine https://copilot-proxy.githubusercontent.com/v1/chat
2023-11-21T20:07:08.186Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-21T20:07:08.186Z [INFO] [chat fetch] chat model copilot-chat
2023-11-21T20:07:08.351Z [INFO] [chat fetch] request.response: [https://copilot-proxy.githubusercontent.com/v1/chat/completions], took 165 ms
2023-11-21T20:07:08.352Z [INFO] [chat fetch] Request ID for failed request: ,79fbbea4-ee3a-4b92-a16f-6b1c0baefac6
2023-11-21T20:07:08.355Z [ERROR] [chat fetch] Unhandled status from server:,400,{"error":{"message":"Bad Request\n"}}

2023-11-21T20:09:03.464Z [INFO] [chat fetch] engine https://copilot-proxy.githubusercontent.com/v1/chat
2023-11-21T20:09:03.464Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-21T20:09:03.464Z [INFO] [chat fetch] chat model copilot-chat
2023-11-21T20:09:03.755Z [INFO] [chat fetch] request.response: [https://copilot-proxy.githubusercontent.com/v1/chat/completions], took 289 ms
2023-11-21T20:09:03.756Z [INFO] [chat fetch] Request ID for failed request: ,3b2baf0f-6228-41d2-a53f-8b7323c7b5f3
2023-11-21T20:09:03.759Z [ERROR] [chat fetch] Unhandled status from server:,400,{"error":{"message":"Bad Request\n"}}

2023-11-21T20:09:03.774Z [INFO] [chat fetch] engine https://copilot-proxy.githubusercontent.com/v1/chat
2023-11-21T20:09:03.774Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-21T20:09:03.774Z [INFO] [chat fetch] chat model copilot-chat
2023-11-21T20:09:03.949Z [INFO] [chat fetch] request.response: [https://copilot-proxy.githubusercontent.com/v1/chat/completions], took 173 ms
2023-11-21T20:09:03.953Z [INFO] [chat fetch] Request ID for failed request: ,5d7a9bc2-9ef0-47f2-aa41-3e6677eae028
2023-11-21T20:09:03.957Z [ERROR] [chat fetch] Unhandled status from server:,400,{"error":{"message":"Bad Request\n"}}

Any request ends with same result no matter context, seems the copilot chat feature is down completely.
2023-11-21T20:08:14.875Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-21T20:08:14.876Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-21T20:08:14.876Z [INFO] [chat fetch] chat model gpt-4
2023-11-21T20:08:15.519Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 643 ms
2023-11-21T20:08:15.520Z [INFO] [chat fetch] Request ID for failed request: ,69aae927-4a52-424f-a891-cce42769ba29
2023-11-21T20:08:15.522Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request

Same here.

I just signed up for the trial an hour ago.  It worked for about a half an hour and now I get the "Sorry...." response as well.  Tried uninstalling/reinstalling, typing /clear and rebooting.  I have Public repositories set to Allow.

same issue

same issue
2023-11-21T20:27:28.013Z [INFO] [auth] Logged in as shaneholloman
2023-11-21T20:27:28.688Z [INFO] [chat] copilot token chat_enabled: true
2023-11-21T20:27:28.690Z [INFO] [auth] Got Copilot token for shaneholloman
2023-11-21T20:27:28.710Z [INFO] [auth] Logged in as shaneholloman
2023-11-21T20:27:28.711Z [INFO] [chat] copilot token chat_enabled: true
2023-11-21T20:27:28.711Z [INFO] [auth] Got Copilot token for shaneholloman
2023-11-21T20:28:13.459Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-21T20:28:13.460Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-21T20:28:13.460Z [INFO] [chat fetch] chat model gpt-4
2023-11-21T20:28:14.655Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1193 ms
2023-11-21T20:28:14.656Z [INFO] [chat fetch] Request ID for failed request: ,b961376d-151f-4c5b-aa69-d4e48e242dc2
2023-11-21T20:28:14.659Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request

2023-11-21T20:30:32.888Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-21T20:30:32.888Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-21T20:30:32.888Z [INFO] [chat fetch] chat model gpt-4
2023-11-21T20:30:34.142Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1252 ms
2023-11-21T20:30:34.144Z [INFO] [chat fetch] Request ID for failed request: ,57877f14-129a-4e6d-9236-f5ae57eb5805
2023-11-21T20:30:34.147Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request

2023-11-21T20:31:20.367Z [INFO] [auth] Logged in as Andrewske 2023-11-21T20:31:20.779Z [INFO] [chat] copilot token chat_enabled: true 2023-11-21T20:31:20.787Z [INFO] [auth] Got Copilot token for Andrewske 2023-11-21T20:31:20.944Z [INFO] [auth] Logged in as Andrewske 2023-11-21T20:31:20.948Z [INFO] [chat] copilot token chat_enabled: true 2023-11-21T20:31:20.948Z [INFO] [auth] Got Copilot token for Andrewske 2023-11-21T20:31:35.306Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat 2023-11-21T20:31:35.306Z [INFO] [chat fetch] modelMaxTokenWindow 4096 2023-11-21T20:31:35.306Z [INFO] [chat fetch] chat model gpt-4 2023-11-21T20:31:35.669Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 361 ms 2023-11-21T20:31:35.670Z [INFO] [chat fetch] Request ID for failed request: ,bf6f1c7d-19a8-4265-ac70-29858792475f 2023-11-21T20:31:35.671Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request

I use Copilot Chat every day and had not seen the error until today, now it's every single request.
Versions:

VSCode: 1.84.2
Github Copilot Chat: v0.10.1

I tried /clear, and reinstalled.

I am having the same issue, just started occurring in the past hour approximately

guess everyone is getting the same issue, is this just what it does when it hits some kind of limit?

same. Every prompt now and just started today.

Yep, same here just started for me in the last 30 minutes or so.

Same here. Seem the GitHub server side issue

2023-11-21T20:45:10.361Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-21T20:45:10.362Z [INFO] [chat fetch] chat model gpt-4
2023-11-21T20:45:10.653Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 290 ms
2023-11-21T20:45:10.655Z [INFO] [chat fetch] Request ID for failed request: ,6e3f15bb-f60a-493f-8c7c-05048051e6ce
2023-11-21T20:45:10.658Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request```

Getting the same error from multiple GH accounts (work and personal). Verified that I am not blocking public code. Seems to be an issue with Copilot.

Same here, started today:
2023-11-21T20:46:30.601Z [ERROR] [asyncCompute] Failed to compute async parser based result: (Error) Unrecognized language: sql
2023-11-21T20:46:31.118Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-21T20:46:31.118Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-21T20:46:31.118Z [INFO] [chat fetch] chat model gpt-4
2023-11-21T20:46:31.468Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 349 ms
2023-11-21T20:46:31.468Z [INFO] [chat fetch] Request ID for failed request: ,5d106bbd-7614-4876-9c52-fedcf2c1a53e
2023-11-21T20:46:31.469Z [ERROR] [chat fetch] Unhandled status from server:,400,Bad Request

Working for me now!

Just wanted to let you know that this was happening, hence my visit here. I saw the suggestion to /clear and it's working well again. Thank you.

I am still having problems...
2023-11-22T08:22:48.690Z [INFO] [auth] Logged in as GPARKchristian
2023-11-22T08:22:49.029Z [INFO] [chat] copilot token chat_enabled: true
2023-11-22T08:22:49.032Z [INFO] [auth] Got Copilot token for GPARKchristian
2023-11-22T08:22:49.038Z [INFO] [auth] Logged in as GPARKchristian
2023-11-22T08:22:49.039Z [INFO] [chat] copilot token chat_enabled: true
2023-11-22T08:22:49.039Z [INFO] [auth] Got Copilot token for GPARKchristian
2023-11-22T08:23:44.077Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-22T08:23:44.077Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-22T08:23:44.077Z [INFO] [chat fetch] chat model gpt-4
2023-11-22T08:23:47.891Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 3813 ms
2023-11-22T08:23:57.881Z [INFO] [streamMessages] message 0 returned. finish reason: [content_filter]
2023-11-22T08:23:57.882Z [INFO] [streamChoices] request done: headerRequestId: [4b162a0f-0ad8-4ba4-b46d-8fb41ea6f715] model deployment ID: [xfbad2a5f462a]
2023-11-22T08:24:10.425Z [INFO] [chat fetch] engine https://api.githubcopilot.com/chat
2023-11-22T08:24:10.425Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2023-11-22T08:24:10.425Z [INFO] [chat fetch] chat model gpt-4
2023-11-22T08:24:13.310Z [INFO] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 2884 ms
2023-11-22T08:24:25.808Z [INFO] [streamMessages] message 0 returned. finish reason: [content_filter]
2023-11-22T08:24:25.808Z [INFO] [streamChoices] request done: headerRequestId: [2296762a-a63d-4204-8b8d-ea8e66011625] model deployment ID: [xfbad2a5f462a]

There was a server side incident that was causing an increase in filtering that has since been resolved.
@GPARKchristian it just seems like you're seeing normal filtering. Do you have allow public code matching

Yes, look at my previous post.

@lramos15 Looks like it is working for me now.

I'm having this issue right now.

do  /clear in the chat extension, it worked for me

Yep, /clear works for me

Consolidating to https://github.com/microsoft/vscode-copilot-release/issues/583

I've got the same issue of Request ID for failed request.
Really, I'm tired of copilot errors and mistakes in answers, maybe I leave it.

@hesamim31 What version of VS Code and the extension?


feat(*): retrieve balances in parallel

This will resolve #13.

Or something like #14, using the native Promise.all()

Yes I like that. thx


[Package Signing] Fail fast on cert mismatch upon upload/push – make the SHA1 hash check synchronous upon upload/push

a.	When the package cert does not match with registered/required (for MSFT) certs
b.	When no cert is registered and signed package is pushed
*For a & b, if it’s an upload, show the error message upon upload even before submit

Duplicate of https://github.com/NuGet/NuGetGallery/issues/6181.


Fortunac/path printing

Handles #135.

Paths in the original binary will only include registers found in the original binary, and paths in the modified binary will only include registers in the modified binary.
Clearly print out which path belongs to which binary.
I did remove ITE creation at an unconditional jump in favor or just passing in the precondition of the jump's target, although this was out of scope of the issue. It had a marginal improvement in performance, and helped print the paths in order. If this was a bad idea, I can remove it.

I think this looks good to me.
@codyroux should give a glance at the changes to precondition.ml, but they seem reasonable

I approve of this PR, as soon as the merge conflicts are resolved.


mib2dev.py: nice-to-have: "file not found error message"

It would nice to get a shorter error message when a MIB file is not found.
Something like:" File not found: RFC-1213.py[co]".
Actually we get a difficult to read stack trace.
Thanks for this project,

Commit 3e4b2ee90fac8cbce7c1675480a72a74a67fafbc (now in master) should improve this.


Sort projects by update/add comparator

Adds comparator, tests and sorting of projects (their summaries) by the timepoint of last change

 Implement a Comparator for ProjectSummaries that orders them by their latest modification date


Update footer.html

Added Contribute menu to footer which helps newbies to findout repository easily

I have read all contributing guidelines

i hope this comment finds yuh better sir

Hi! Thank you for your contributions.
However the website is already linked on the top of the footer. And it is also more visible and clear then just "Contribute".
What is your opinion @jeffwilcox @emmairwin

Thank you for your input, and I appreciate your perspective.
I understand that the website link is already present in the footer and is
quite visible. However, there are some valid reasons to consider adding a
"Contribute" option to the footer:

Clarity of Intent: While the website link is clear, the "Contribute"
option explicitly communicates that visitors have an opportunity to take
action. It's a more direct way to invite users to engage with your content
or cause.

Call to Action: "Contribute" serves as a strong call to action. It
encourages visitors to actively participate, whether it's by donating,
volunteering, or contributing in some other meaningful way. It can help
drive user engagement.

Accessibility: Some users may have specific accessibility needs or
preferences that make a text link like "Contribute" more accessible and
easier to understand than other design elements.

Consistency: Having a consistent and clear call to action, like
"Contribute," across different parts of your website can reinforce the
message and make it more memorable for users.

Mobile Experience: On mobile devices, it's common for users to scroll
through the footer as they explore a website. Including a "Contribute"
option there ensures that this important call to action is always within
easy reach.

On Thu, Sep 28, 2023 at 2:52 PM Aaron Junker @.***>
wrote:
Hi! Thank you for your contributions.
However the website is already linked on the top of the footer. And it is
also more visible and clear then just "Contribute".
What is your opinion @jeffwilcox @emmairwin
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
On Thu, Sep 28, 2023 at 2:52 PM Aaron Junker @.***>
wrote:

Hi! Thank you for your contributions.
However the website is already linked on the top of the footer. And it is
also more visible and clear then just "Contribute".
What is your opinion @jeffwilcox https://github.com/jeffwilcox
@emmairwin https://github.com/emmairwin
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/opensource.microsoft.com/pull/338#issuecomment-1738792523,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXFPHSRYRB3IR3D35U3K2YDX4U6W5ANCNFSM6AAAAAA5KTEZYE
.
You are receiving this because you authored the thread.Message ID:
@.***>

I hope this reply finds yuh better sir 😄

Hi folks: at this time we'd like to not change the footer. Thanks.


Added native app build capability

So far, this can compile a Mac .app file.
Haven't tested it with Windows or Linux.

Build with mvn jfx:native in IntelliJ's Terminal


type definition over async results

TypeScript Version: 2.1.5
type VoidAsync = Promise<void>;

class Class1 {
    async func(): VoidAsync {

    }
}

Expected behavior:
No error.
Actual behavior:
error TS1055: Type 'VoidAsync' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.

Seems like this is a dupe of https://github.com/Microsoft/TypeScript/issues/12776 which is 'working as intended' albeit with a confusing error message.

In ES5/ES3 the compiler uses the annotation to generate code, e.g. async function f(): Bluebird.Promise<void> { ... } this will call new Bluebird.Promise at runtime.

https://github.com/Microsoft/TypeScript/issues/12776#issuecomment-265885846 should have a workaround here.

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.


Assertions to ignore additions

Added code to allow additional options for Assertions to Ignore via config profile.
Added basic Profile Manifest additions, this specifically will need to be checked as I have never done Profile Manifest work before!

This looks great, thank you.


Xunit tests aren't running again

neonKUBE Xunit tests aren't running again.  The test platform seems to discover the tests alright but then when you run them in the UX, we briefly see the clock icon for the selected tests but then that reverts and no tests are actually executed.
Looking closely, it appears that the the test runner is barfing on our test extension libraries like Neon.Xunit, **Neon.Xunit.Cadence",...
I've also seen some new build warning for these projects as well.  I believe the problem is that we're including the xunit package in these libraries which is confusing the test runner into thinking that these libraries actually include test cases.  We shouldn't be referencing xunit and should be referencing these packages instead:
xunit.extensibility.core
xunit.extensibility.execution

We'll have to tweak some of the methods in our test extension libraries because we'll no longer be able to call the runtime Assert.XXX() methods within our extensions.

FIXED


Cannot preview archive due to Lua error

Hello,
First I'd like to thank you for the great work. I'll need some little help because I'm getting the following problem when trying to preview an archive:
Preload task failed:
error converting Lua nil to function
Failed to work on this task: error converting Lua nil to function

Any idea how to fix this?
I have the following versions:

yazi 0.2.5 (VERGEN_IDEMPOTENT_OUTPUT 2024-07-15)
ouch 0.5.1
ouch.yazi 0.2.1

Thanks for the help in advance.

Hello again,
Thanks for the quick reply. I realized that I put the code for yazi.toml in the wrong section. Now I fixed it and it works. Sorry for wasting your time. You can close the ticket.
Thank you,
Hristo.


Timeouts while using sandbox via JCloud

https://github.com/jina-ai/jina/issues/4843

@zac-li Can you please uncomment this test & check if the behaviour is as expected now?


Linux SIG image version - read from config (package vars)

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

For testing


Add prompt masking in sft

It seems like an important step to set up labels for sft, or at least add a link to a third-party guide and a hint that in the hard part this is also worth doing (especially for a small model).

Thanks for your feedback. The SFTTrainer handles prompt masking so we elected to omit it. But it should definitely be referenced. Would you like to collaborate on this in a PR?

@burtenshaw It seemed to me that by default the prompt is not masked, so I always masked it through labels. If this is relevant, then I will gladly create a PR.

If you found it relevant, then it's worth improving. We're kind of using PRs as a study tool.
Could you open a PR with a small change or reference that mentions prompt masking, and we can go from there.

@burtenshaw ok, no problem


Squiggly line for flake8 linting errors show too much information

When there is a flake8 linting error in my code, I get a whole bunch of documentation about the python feature I've highlighted, and then the actual error at the very bottom of the error box (error not shown in image, you have to scroll all the way down):

Version: 1.67.2
Commit: c3511e6c69bb39013c4a4b7b9566e

c1ca73fc4d5
Date: 2022-05-20T07:44:59.452Z
Electron: 17.4.3
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.10.121-1-MANJARO
vscode-python extension version: v2022.8.0
flake8 version: 4.0.1

@themanifold If you use Jedi as a language server, then you will see this text. This has nothing to do with flake8. You can hover over any keyword and you will see the documentation for that keyword. To see the issue reported by flake8 you will need to scroll down in the hover window.

OK, so you're saying that if I switch the language server to something else, this would help? Point is, I don't want to see all that documentation @karthiknadig

Yes. Switch to Pylance.


BUG: Sign UP and Sign In functionality Not working

I am not able to Sign Up and Sign in in MediHub.
After Sign Up it is showing Form Submitted in frontend but their are errors coming in backend.
Sign In page is not responding

Please assign me this issue under GSSOC'24

Hello Sir,
My name is Shivam Kanchole, and I am a fourth-year student at IIT Roorkee. I find this issue both interesting and challenging. Additionally, I have worked on similar projects in the past. Could you please assign this issue to me?
Thank you.
Best regards,
Shivam Kanchole


chore: bump CRT version to 0.5.5

Issue #
https://github.com/awslabs/aws-sdk-swift/issues/823
Description of changes
Bump to latest CRT version in prep for smithy-swift release.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Closing since there are breaking changes between aws-crt-swift 0.5.4 and 0.5.5.  SDK Release 0.9.0 will stick with 0.5.4.


Remove workaround for Sin

Sine function workaround was added in rocm-5.3 as it was broken for some reason. #1508
In rocm-5.4.2 it seems to be working again. Removing the workaround to avoid dealing with hip_math_constant.h or HIP_PI_O2 definiton.

This might break for anyone still using rocm 5.3(which I am using on my system).

Can you add a half sin test?

It is already present test_sin_half and was added in #1508


Support interoperability with Tiled

Tiled is a well-known map editor (mapeditor.org). I think it would be great to have WorldEngine to be interopable with Tiled so that users can manually refine their generate worlds.
To do so we should:

[x] find out which format to support
[ ] implement an operation to export generated worlds to that format
[ ] describe in the manual a scenario usage

The format which is best to support is TMX and we can use a python library for that: http://pytmxlib.readthedocs.org/en/latest/

First experiments

Nice!
I can see this as being useful for game development. :)

Indeed: the format is used by so many libraries for all sort of languages so many games would be able to use our maps out of the box. In addition to that users get an editor to customize the map we generate. For example they could add cities and change the shape of a forest or add their own touch to the generated world.
I really think we should push on interoperability and finding tools and scenarios which can leverage WorldEngine.

Is this issue dead?  I would love to see it completed.

Me too! :)

This issue was implemented, but it was not published, I should dig that old code... it would help if someone volunteer to help me polishing :)

If you have time to mentor me over the weekend, I can.  I'm a lowly web developer by trade, though, so I may be a little slow to start.

I would be happy to, you can reach me at any time at federico at tomassetti.me or in this issue

Happy you find it useful!

Regarding the exporter, I do have question about the generated world.
Ocean have boolean, but plates, water have numbers from 0 to 1 and elevation have integer from 0 to 12 (??).
I can not find in the doc any explanations. Can you point me somewhere so I can understand which array I should take into account to generate the map.
Any clues will be appreciated ^^

I am sorry but I have not touched the project in years, so I am afraid I cannot help. The project is unmaintained


How to get the cluster id

Guys, I need a way to get the clusterid, but out of service fabric application, I mean, I have a SF stateless service which installs a windows service on every node, so I need to get the cluster id, from that service, I was thinking to get the clusterManifest.xml or FabricHostSettings.xml from D:\SvcFab but I'm not sure if SF ALWAYS uses that path. Any suggestions?
Thanks in advance!

Is this an Azure deployment of Service Fabric? Generally speaking we will try to use D:\SvcFab but it is configurable in the Extension settings and may change in the future.
We can consider adding an API to get this programatically from Service Fabric in the future.

Yes it is.

So there should always be a file called ClusterManfiest in the folder defined by the FabricDataRoot variable. This is configurable by the user when you deploy the cluster, but you can determine it by looking at the registry key under HKLM\SOFTWARE\Microsoft\Service Fabric. This defaults to D:\SvcFab.

Accidental reopen? @craftyhouse is there a reason this was assigned to me?

Accidental reopen? @craftyhouse is there a reason this was assigned to me?

Closing issue as workaround was provided. There is no plan to add support for getting the cluster ID programmatically.

Closing issue as workaround was provided. There is no plan to add support for getting the cluster ID programmatically.


Get more details for a place

By fixing/adding the "addressdetails" flag of Nominatim, the details for a place can be gathered.

Hi @FireLizard, thanks for that. It looks good, and it's cool that you've updated the docblocks.
It'd be nice to have some additional unit tests to cover your additions but I can take care of that myself ;-)

You're welcome!
I see you've just added the unit tests :+1:

I've released a new version - v0.5.0 in the last hour or so - updated on packagist and on pear.php.net as well.


How to load?

How does one load the development version, which seems to have been updated?
I wonder if that could be added to the documentation for those that aren't familiar with this?

Figured this out:
Pkg.add(url="https://github.com/trthatcher/DiscriminantAnalysis.jl",rev="dev")

This loads OK, and the following does not give error
using DiscriminantAnalysis

but when I try to run
> lda(X,y)

UndefVarError: lda not defined

Any suggestions would be appreciated (thanks in advance!)

Hello again!
If you're running Julia 1.0, you should be able to install the package without specifying the revision:
Pkg.add(url="https://github.com/trthatcher/DiscriminantAnalysis.jl"

I've also updated the README to demonstrate how to use the low-level interface for the LDA solver. Presently, there is no public-facing interface (ie no lda function at this point in time). However, it should be simple to implement an interface so I will do that for this weekend so there's a more user-friendly way to run everything.

Hello again!
If you're running Julia 1.0, you should be able to install the package without specifying the revision:
Pkg.add(url="https://github.com/trthatcher/DiscriminantAnalysis.jl"

I've also updated the README to demonstrate how to use the low-level interface for the LDA solver. Presently, there is no public-facing interface (ie no lda function at this point in time). However, it should be simple to implement an interface so I will do that for this weekend so there's a more user-friendly way to run everything.

I've updated the package and added an lda function and a classify function.
You will need to call DiscriminantAnalysis.lda, DiscriminantAnalysis.classify and DiscriminantAnalysis.posteriors to use them or manually import them via using DiscriminantAnalysis: lda, posteriors, classify.

I've updated the package and added an lda function and a classify function.
You will need to call DiscriminantAnalysis.lda, DiscriminantAnalysis.classify and DiscriminantAnalysis.posteriors to use them or manually import them via using DiscriminantAnalysis: lda, posteriors, classify.


use TypedDict for return type of legacy detect()

Problem to solve
when I write something like:
x = charset_normalizer.detect(...)["encoding"]

x is inferred as str | float | None instead of actual str | None.
Change
use custom TypedDict type as the return type of detect method if Python version >= 3.8.
(TypedDict is not available in Python 3.7)

There's a stunt we can put in place to avoid the Python 3.7 blocker. Look at my draft suggestion for more.

that makes sense. committed.

CI action "MypyC Tests (3.7, macos-latest) (pull_request)" failing due to https://github.com/actions/runner-images/issues/9770
should I create separate PR to use 'macos-13' image for Python 3.7 instead of 'macos-latest'?

should I create separate PR to use 'macos-13' image for Python 3.7 instead of 'macos-latest'?

no need, I will reorganize the whole thing anyway.


Route problem after sign up failure

When invalid data are entered in the sign up form GET users/sign_up, the form posts to user_registration route which is POST /users.
This changes the URL to /users so if you refreshed the page it will send a request to GET /users which doesn't exist.

@hossamk I don't think this is issue with devise. If you see here respond_with method of rails is used. Which will render action new. I created another controller and used respond_with method and got same behavior on error. So I think we need to check how rails handle this. Thoughts?

@Shwetakale Right! I got the same issue with a new controller as well.
The problem is that when we make a POST request, the URL changes to the create action's route, and rendering another view in respond_with wont affect the URL.
so I think routes should be modified?
For example, in the sign in, the new action is GET /users/sign_in and the create action is the POST /users/sign_in.
as a result the URL wont change. So, If we used GET /users/sign_up, and POST /users/sign_up, we wont have this problem. What do you think?

@hossamk hmm for sign_in and PasswordController devise is doing that

@Shwetakale So why doesn't Devise use the same approach with sign_up actions to avoid this?

@hossamk hey, you can easily change routes if you need some custom behaviour. See examples here https://github.com/plataformatec/devise/wiki/How-To:-Change-Default-Sign_up---Registration-Path-with-Custom-Path


The value set by Filesystem Overhead does not take effect

What happened:

What you expected to happen:
I think the virtual size of this img file should be less than 200G;
In addition, I verified that this overhead parameter will only take effect during resize, and will not take effect for the initial creation.
How to reproduce it (as minimally and precisely as possible):
Steps to reproduce the behavior.
Additional context:
Add any other context about the problem here.
Environment:

KubeVirt version (use virtctl version): 1.1.1
Kubernetes version (use kubectl version): 1.24
VM or VMI specifications: N/A
Cloud provider or hardware configuration: N/A
OS (e.g. from /etc/os-release): N/A
Kernel (e.g. uname -a): N/A
Install tools: N/A
Others: N/A

@akalenyu can you have a look?

Please confirm whether this is a bug or a design flaw; if it is confirmed to be a bug, I can submit a PR to fix it.
@xpivarc @akalenyu

Hey! How are you populating the PVC with a disk image?
If created through the DataVolume resource, CDI will orchestrate the overhead reservation

@akalenyu Some empty data disks are not generated through DataVolume

@akalenyu Some empty data disks are not generated through DataVolume

Interesting, I see the name for this disk is "datavolumedisk1"

@akalenyu  It's just a name, because he is an ordinary pvc

@akalenyu It's just a name, because he is an ordinary pvc

Right so Filesystem overhead is a CDI feature and thus will not take effect without usage
of CDI. What's on this PVC? Have you considered creating a blank disk?
https://github.com/kubevirt/containerized-data-importer/blob/main/doc/datavolumes.md#blank-data-volume


Missed a test case (facepalm)

Current coverage is 99.57%

Merging #31 into master will increase coverage by +0.85% as of f8f3ac9

@@            master     #31   diff @@
======================================
  Files            3       3
  Stmts          235     235
  Branches         0       0
  Methods
======================================
+ Hit            232     234     +2
  Partial          0       0
+ Missed           3       1     -2

Review entire Coverage Diff as of f8f3ac9

Powered by Codecov. Updated on successful CI builds.


Fails to Add Assets

Trying to call "addasset" results in the following exception: "Octokit.ApiException: Invalid name for request"
I'm running the latest version installed using chocolatey.
A bit of digging found that this is in fact a bug in Octokit Oktokit Issue which has now been addressed.
GitReleaseManager should be updated to use the latest version of Oktokit to resolve this.

@ckpearson I was actually aware of this issue, but hadn't created an issue for it.  I need to pull in the latest version of Octokit, and refactor method calls to use it.
Thanks for raising this!

No worries! :+1:

@ckpearson can you take a look at version 0.4.0-unstable0016 which you should be able to get from our MyGet Feed?  I believe this now correctly adds assets to the Releases that are being created.
Let me know if this works for you, and we can get this issue closed out.  Thanks!

@ckpearson just wondering if you have had a chance to try out the latest version?  Does adding assets to GitHub release now work for you?  Thanks!

Hi Gary,
I’ve not yet been able to test this! I ended up just bashing the latest Octokit into it myself in a really hacky way as I needed a solution, it works though, so I’m sure yours does!
From: Gary Ewan Park<EMAIL_ADDRESS>Sent: 07 January 2016 20:30
To: GitTools/GitReleaseManager
Cc: Pearson, Clint
Subject: Re: [GitReleaseManager] Fails to Add Assets (#64)
@ckpearsonhttps://github.com/ckpearson just wondering if you have had a chance to try out the latest version? Does adding assets to GitHub release now work for you? Thanks!
—
Reply to this email directly or view it on GitHubhttps://github.com/GitTools/GitReleaseManager/issues/64#issuecomment-169796367.
This email has been sent by and on behalf of one or more of KPMG LLP, KPMG Audit plc, KPMG Resource Centre Private Limited or a company under the control of KPMG LLP, including KPMG United Kingdom plc and KPMG UK Limited (together, "KPMG").
This email, and any attachments, is confidential and may be privileged or otherwise protected from disclosure. It is intended solely for the stated addressee(s) and access to it by any other person is unauthorised. If you are not the intended recipient, you must not disclose, copy, circulate or in any other way use or rely on the information contained herein. If you have received this email in error, please inform us immediately and delete all copies of it.
Any communications made with KPMG may be monitored and a record may be kept of any communication.
Any opinion or advice contained herein is subject to the terms and conditions set out in your KPMG LLP client engagement letter.
A list of members of KPMG LLP is open for inspection at KPMG's registered office.
KPMG LLP (registered no. OC301540) is a limited liability partnership registered in England and Wales. Each of KPMG Audit plc (registered no. 03110745), KPMG United Kingdom plc (registered no. 03513178) and KPMG UK Limited (registered no. 03580549) are companies registered in England and Wales. Each entity's registered office is at 15 Canada Square, London, E14 5GL.
For full details of our professional regulation please refer to https://www.kpmg.com/uk/en/about/aboutkpmg/pages/regulatory-information.aspx.

Okay, for now, I will close this issue.


bitrise-step-xcode-project-info 2.1.0

New Pull Request Checklist
Please mark the points which you did / accept.

[x] I will not move an already shared step version's tag to another commit
[x] I read the Step Development Guideline
[x] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[x] I read and accept the Abandoned Step policy

New Step
Thank you for the new Step share! The CI check might will fail due to our extended validation engine. Nothing to worry about yet, we will get back to you shortly.

I can't see the "details" about why this check has failed? what's the check?

(3/4) Running: Ensure all type_tags and project_type_tags are supported

Failed, error:

invalid type_tag: xcode
invalid type_tag: versioning

Thanks @Szabadember, I fixed type_tags in the last commit. Previous versions of this step were located in "xcode-project-info" directory but the initial commit placed it at "bitrise-step-xcode-project-info" (automatically made by stepman). This is now also fixed.

@tadija I will close this PR as re-share will be required.
Please do the changes I mentioned and open a new PR with the new share.
Thanks!

Hi @trapacska, ok I will add those missing fields and make a new share. Can you please tell me what will happen if the stepman puts this step into a different directory like it already did (bitrise-step-xcode-project-info instead of xcode-project-info)? Will the step update be available normally or users would have to replace the existing step with a new one? Can I fix that directory name for stepman somehow?


unpack permissions incorrect

I have run across an issue in another project that uses image-tools, sylabs/singularity#3880, that looks to be caused by image-tools failing to unpack files with the correct permissions. The issue appears when building from a Dockerfile when a file is created in one layer and then in a subsequent layer the permissions are modified. In this case it looks like the unpacked image has the original file permissions and the updated permissions are ignored.
Dockerfile
FROM ubuntu
RUN mkdir -m 700 /foobar
RUN chmod 755 /foobar

Building the image and verifying the permissions
$ docker build -t permission:test .
$ docker run permission:test ls -ld /foobar
drwxr-xr-x 1 root root 4096 Jul  7 02:43 /foobar

Copy the image with skopeo
$ skopeo copy docker-daemon:permission:test oci:permission:test

Verify permissions are correct with umoci
$ sudo umoci unpack --image permission:test permission_umoci
$ sudo ls -ld permission_umoci/rootfs/foobar
drwxr-xr-x 2 root root 4096 Jul  6 19:43 permission_umoci/rootfs/foobar

Permissions are incorrect with image-tools
$ oci-image-tool unpack --ref name=test permission permission_oit
$ ls -ld permission_oit/foobar
drwx------ 2 asimpson asimpson 4096 Jul  6 19:43 permission_oit/foobar

I would suggest using https://github.com/openSUSE/umoci instead -- image-tools has historically had many problems with unpacking things correctly and is the main reason I ended up writing umoci. It's used by quite a few other projects as well (within openSUSE we use it to build our container images, it's used by LXC as a method of getting OCI support, and there are tools built on-top of umoci like CISCO's stacker).

Oh sorry, I didn't notice you already mentioned you tested against umoci. :wink:
I could look into porting image-tools to umoci (the underlying libraries should be fairly reusable -- I know a few folks that are reusing it).

Thanks @cyphar, it looks like the Singularity devs are looking into integrating umoci. From what I could see this should be relatively straight forward.

This project is no longer actively maintained. However, umoci is a much more full-featured tool for manipulating OCI images, and is now an OCI project as a reference implementation of the OCI image-spec. I would strongly suggest people move to using umoci.


Next.js with reactStrictMode the useDocumentOnce snapshot is never retrived

with reactStrictMode=true in the next.config.js during development the useDocumentOnce never retrieves the snapshot data with  useDocumentOnce , the loading remains true
If i set reactStrictMode=false  useDocumentOnce retrieves the data correctly.
my currect hack is the following:
	const [snapshot, loading, error] =
	  process && process.env.NODE_ENV === 'development'
		? useDocument(doc(getFirestore(firebaseApp), 'collection', 'documentId'))
		: useDocumentOnce(doc(getFirestore(firebaseApp), 'collection', 'documentId'))

Hello guys ! I also had the same issue !

Hi everybody, apologies for the delay in investigating this properly. I've just given this a try and it appears that some of the changes I've made in the newly released v5.1.0 may have inadvertently resolved this issue.
Could I ask you to try v5.1.0 and check whether this has been fixed?

I am closing this issue as it has been confirmed working in #252, but if anybody else is still struggling, please let me know and I can look into it further!


Update CODE_OF_CONDUCT.md

Thank you for the pull request. However, the code of conduct is a standard one from https://www.contributor-covenant.org, therefore I a keen to not make changes.


[DRAFT} Batch convert RP25519 to u64

Builds on top of #1391 and local testing shows some significant improvements in latency. Will do some Draft runs before making it ready for review.

in-memory runs showed better performance, but with real io, I am only seeing 1.5 min lower latency with this change (~1.7% improvement.
The comparison is done against #1391

Mode
Before this change
After this change

Semi-honest/50M
1h 28m](https://draft-mpc.vercel.app/query/view/lazy-duty2024-10-30T2146)
1h 27 mins


Use PublishDate rather than Date in rss's pubDate

Currently, the default embedded template for the rss feed uses the date the page was created at instead of the date of publication. Since the .PublishDate falls back to .Date when it is not defined, would it make sense to use that variable instead? People who define that variable probably expect it to be used, and there won't be any changes for those that do not use it.
https://github.com/gohugoio/hugo/blob/97934779ededfcfef0ee2621e7dacad0127ef4b5/tpl/tplimpl/embedded/templates/_default/rss.xml#L32

Duplicate of https://github.com/gohugoio/hugo/issues/3918.


ValueError: Input X contains NaN. PCA does not accept missing values encoded as NaN natively.

ValueError: Input X contains NaN.
PCA does not accept missing values encoded as NaN natively. For supervised learning, you might want to consider sklearn.ensemble.HistGradientBoostingClassifier and Regressor which accept missing values encoded as NaNs natively. Alternatively, it is possible to preprocess the data, for instance by using an imputer transformer in a pipeline or drop samples with missing values. See https://scikit-learn.org/stable/modules/impute.html You can find a list of all estimators that handle NaN values at the following page: https://scikit-learn.org/stable/modules/impute.html#estimators-that-handle-nan-values

this is my setup:
bvh file: custom_hik.bvh (export from rokoko)
my export settings:

motion config: custom.yaml
retarget config: custom_retarget.yaml
custom.zip
Thank you in advance

I got the same err before , try to edit  the  motion yaml , the last line ,  if  it is  up: +z  ,  change to  up: +y    .( if it is  y  try to z :)  )

I got the same err before , try to edit the motion yaml , the last line , if it is up: +z , change to up: +y .( if it is y try to z :) )

thank u, it worked for me


Test using Winium webdriver

@tomasserravento sorry bother you with this request, but I noted you use Windows OS. This issue and the https://github.com/douglasdcm/caqui/issues/6 are tests related to webdrivers for Windows. It is basically start these webdrivers and run the test suite. For example, winium can be downloaded from here Winium.Desktop.Driver.zip
I didn't tested it yet because I use Linux and didn't finished to setup my Virtualbox with windows
If it works, update the table in Readme file
Fell free to ignore it if you don't have time to test :)

Hey mate, Ill try to see if I can setup that (Im not really pro with this stuff haha)..
Also, for your information, Im using Chromedriver v114 and it works fine (so it can be updated in the table)
(venv) PS C:\Users\Usuario\Desktop\Prueba> ./chromedriver --port=9999 Starting ChromeDriver 114.0.5735.90 (xxxxxx-refs/branch-heads/5735@{#1052}) on port 9999 Only local connections are allowed. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe. ChromeDriver was started successfully.

I'm glad to know it works for chrome 114. I'll update the table.
About the winium, no worries. As far as I remember, it is possible to start it with ./winium --port=9999 like done for chrome, but I used it a long time ago. I need to confirm it. Maybe it has a -h parameter

Fixed in MR #49 . Readme file updated


Docs should have a page on how to install/use the foxglove_msgs ros package

This is already documented on https://foxglove.dev/docs/studio/messages/introduction#ros. This repo's readme links to that page.


Displaying issue with tablechart

A clear and concise description of what the bug is.
I have a table chart with 2 rows. But the height is not enough to show both rows.
when displayed on a 1920x1080 it displays the vertical scroll bar, but in the 2560 x 1440,  I get the attached image
Expected results
There are 2 options either resize the table to include everything.  There is space as you can see from the image.
what you expected to happen.
Actual results

Screenshots
If applicable, add screenshots to help explain your problem.
How to reproduce the bug

Go to '...'
Click on '....'
Scroll down to '....'
See error

Environment
(please complete the following information):

docker image
REPOSITORY        TAG       IMAGE ID       CREATED       SIZE
apache/superset   latest    2ec670d63104   2 weeks ago   1.44GB
superset version: superset version
python version: python --version
node.js version: node -v
any feature flags active:

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[*] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[*] I have reproduced the issue with at least the latest released version of superset.
[* ] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

Closing since this has gone well over a year without any other reports corroborating the issue.


4.4.1 installation doesn't result in working build (IDFGH-7371)

Environment

Development Kit:      [none]
Kit version (for WroverKit/PicoKit/DevKitC): [v1|v2|v3|v4]
Module or chip used:  [ESP32-WROOM-32U]
IDF version (run git describe --tags to find it): 4.4.1
// v3.2-dev-1148-g96cd3b75c
Build System:         [CMake]
Compiler version (run xtensa-esp32-elf-gcc --version to find it): xtensa-esp32-elf-gcc (crosstool-NG esp-2021r2-patch3) 8.4.0
Operating System:     [Windows]
(Windows only) environment type: ESP Command Prompt].
Using an IDE?: [No] (please give details)]
Power Supply:         [USB|external 5V|external 3.3V|Battery] N/A

Problem Description
Installed IDF and toolchain using esp-idf-tools-setup-online-2.15. Installation appears good, but when I try to run "idf.py build," I get this error:
C:\Users\Michael.Zimmers\GitHub\iQPump-ESP32\fw>idf.py build Executing action: all (aliases: build) Running ninja in directory c:\users\michael.zimmers\github\iqpump-esp32\fw\build Executing "ninja all"... [0/1] Re-running CMake... FAILED: build.ninja C:\.espressif\tools\xtensa-esp32-elf\esp-2021r2-patch3-8.4.0\xtensa-esp32-elf\bin\tools\cmake\3.20.3\bin\cmake.exe --regenerate-during-build -SC:\Users\Michael.Zimmers\GitHub\iQPump-ESP32\fw -BC:\Users\Michael.Zimmers\GitHub\iQPump-ESP32\fw\build CreateProcess failed: The system cannot find the file specified. ninja: error: rebuilding 'build.ninja': subcommand failed ninja failed with exit code 1

Can you try without the dot in the path?
Michael.Zimmers

Hi Jason -
That's the username IT assigned me. I can ask to have it changed, but I'm not sure that can happen.

Do you have only in this path rights to place stuff?

Yes, but IT will install in other locations on my behalf. Would you prefer that the IDF and the toolchain directly under the C: drive?

C: is a good choice, since it avoids the next problem of windows (max path len...)

Hi @mzimmersfluidra. Please let us know if the installation to a different path succeeded? Thanks!

Hi Roland - of course. My IT department isn't available until 8:00 AM PDT, and it'll take a few minutes to make sure everything's working, but I should have an answer for you by noon PDT today.
Thanks...

OK, I got it working. Evidently, the "." in the working folder is also a no-no. I moved my repo to a top-level folder, and I can now build.
Thanks for the help with this.

Thank you for the feedback and sorry for the inconvenience. We need to keep this open and find a proper fix.

The dot is red herring in my opinion. The error message contains several strange things:

ESP-IDF tools are deployed in C:\.espressif, the installer deploys tools by default to C:\Espressif, this looks like remains of some older installation, please check environment variable, whether it points to correct location of tools
the error message contains upper case and lower case path, this is strange, the case should be same and it can cause a problem when Windows filesystem is configured as Case sensitive

Check Windows Long path configuration by running the installer. On the second screen you should see check for Windows long path. If it's disabled, click Apply Fixes to fix the system config.
I would recommend whole new installation. Clean environment variables IDF_PATH and IDF_TOOLS_PATH from environment variables. Run the installer and deploy tools to C:\Espressif and ESP-IDF to C:\Espressif\frameworks\esp-idf-v4.4 The installer should display these values.
Test the setup by launching PowerShell from icon deployed on Desktop and type:
cd examples\get-started\blink
idf.py build

When build passes, change to directory with your project and enter:
idf.py fullclean
idf.py build


moving updatePosData to GVRViewManager

GearVRf-DCO-1.0-Signed-off-by: Roshan Chaudhari<EMAIL_ADDRESS>

i think putting it on back-end side would be better. But there might be better place for it. @liaxim what do you think about it.

I believe there should be a generic facility to query a backend adapter (backend_oculus, backend_daydream) for a specific model asset so the appropriate model can be shown if you use Oculus or Daydream. The actual assets will be bundled with the backend adapter (backend_oculus, backend_daydream).
So the backend_oculus adapter will bundle assets for the Oculus controller and the backend_daydream adapter for the Daydream controller. In that sense your pull request looks good to me.

It means gear_vr_controller.obj and associated assets will have to move to the backend_oculus adapter.

We should test it with a model coming from the back end. I am not sure if it will work.

i have requested models from Mike. I will update PR once I get them.

Looks good. Planning to merge on Thursday.
We can add the models in a subsequent pull request. Btw, I am not sure updatePosData is really needed. Will look into it as part of another pull request that is in progress.


Rendering issue and Pyodide support

Hi,
sorry to bother you. I have tried to use it too, which seems to work. However, no updates, the lateX formulas stay in their lateX form, and the python file using pyodide do not appear, after the password is entered.
For instance

https://tquantx.gitlab.io/nsi_en_ligne/maths.html > pwd : maths  for the maths formula
https://tquantx.gitlab.io/nsi_en_ligne/nsi_terms/chpKNN/KNN.html > pwd : KNN where python code should appear in the last box
my configurations files are
https://gitlab.com/TQuantX/nsi_en_ligne/-/blob/master/mkdocs.yml
https://gitlab.com/TQuantX/nsi_en_ligne/-/blob/master/.gitlab-ci.yml

Could you help me ? I tried to do as you say in the readme.md file
Originally posted by @TQuantX in https://github.com/CoinK0in/mkdocs-encryptcontent-plugin/issues/12#issuecomment-881935641

No problem, ur welcome.
I need to know the versions of the packages you are using.
Mainly those related to mkdocs pip3 list | grep mkdocs to verify that it doesn't have a version incompatibility.
For the rendering Arithmatex issue when I clone your repo I reproduce the problem of formatting lateX formulas.
However when I don't use your "override" configuration files and I put those of the theme material back by default, I no longer have the problem of rendering on the mathematical functions. I think something is wrong with your current "override" setup.
For the 'pyodide' part, I will be looking at the beginning of the week how it works and what is needed / lacking on my plugin to make it work.

Hi, thanks !
For the rendering, indeed, I was looking at the documentation, and it's specified to put them in the "docs" folder. Thanks for this point !
For the pyodide part :
For the packages :

mkdocs                       1.2.1
mkdocs-encryptcontent-plugin       1.1.0
mkdocs-enumerate-headings-plugin   0.4.4
mkdocs-macros-plugin               0.5.12
mkdocs-material                    7.1.10
mkdocs-material-extensions         1.0.1
mkdocs-windmill                    1.0.4

If it may help, in your setup, when the decryption is done, for Arithmatex, you unlock the line

{% if arithmatex %}MathJax.typesetPromise(){% endif %}

In this case, the python terminal is in the tag "ide_classe" and similarly in interpreter.js , Pyodide seems to be launched by

async function main() {
await loadPyodide({ indexURL : 'https://cdn.jsdelivr.net/pyodide/v0.17.0/full/' });
}
let pyodideReadyPromise = main();
...

maybe a

{% if ide_classe %} pyodideReadyPromise {%endif%} ?

I took what was done in https://gitlab.com/bouillotvincent/pyodide-mkdocs
Thanks again for your help !

I finally took the time to do something about the problem. I don't really like the way I did it, but it's functional ..
So the problem of loading the python files is related to the loading of the JS functions present in the ide.js file. This ide.js file contains code executed directly on loading, which it is no longer possible to recall after loading the lib.
So I added a feature that allows you to force the reloading some scripts after the decryption process. Reload scripts
I let you try with this new feature. Tell me if you have any troubles.


Non-XML coderef fails on outer context

When generate.copy.outer=3 is used and coderef targets a non-XML resource, the coderef is not resolved.

Fixed in 773dd24


Custom CP spend in Perks and Skills

Add a "Custom" option to Perks and Skills. Let the user enter the CP cost and what it is for.
This would allow someone to enter the CP spent on a Power for a role, or some other custom thing that truly doesn't need to be in the cored database of the CMA.

Roles already exist in the CMA, including private team roles and other custom shenanigans.


JsonRpcClient isn't reusable

The call method of JsonRpcClient consumes self. Because of that if I want to make a chain of RPC calls, I have to keep creating new clients for each call.
Use case: get block info and then fetch info for 1-4 chunks. Every request needs to have a new client.

Yeah, artifacts of earlier design iterations, I'll clean this up.
Caused by the observation of what happens in this case with ::call(&self, ..):
let later_response = JsonRpcClient::connect("http://localhost:3030")
    .call(methods::status::RpcStatusRequest);
let response = later_response.await;

error[E0716]: temporary value dropped while borrowed
  --> src/main.rs:1:22
   |
49 | let later_response = JsonRpcClient::connect("http://localhost:3030")
   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary which is freed while still in use
50 |     .call(methods::status::RpcStatusRequest);
   |                                             - temporary value is freed at the end of this statement
51 | let response = later_response.await;
   |                -------------- borrow later used here
   |
   = note: consider using a `let` binding to create a longer lived value

However, this is a fairly trivial issue that shouldn't have required ::call() taking ownership of the client. The caller just would just have to ensure that the client lives longer than its response future. So;
let client = JsonRpcClient::connect("http://localhost:3030");
let later_status1 = client.call(methods::status::RpcStatusRequest);
let later_status2 = client.call(methods::status::RpcStatusRequest);
let (status1, status1) = join!(later_status1, later_status2);

However, here's a temporary fix for your case: since .clone()-ing the client isn't necessarily expensive, both clones would just reference the same internal client data.
let client = JsonRpcClient::connect("https://localhost:3030");
let later_status1 = client.clone().call(methods::status::RpcStatusRequest);
let later_status2 = client.call(methods::status::RpcStatusRequest);

Fixed in 471a53be062e0880c6bc5c2721d123da2a9e0c2e, expect this to land in the next crates.io release.
In the meantime, you can, if you choose to, patch the dependency in your manifest to use this revision.
[patch.crates-io.near-jsonrpc-client]
git = "https://github.com/near/near-jsonrpc-client-rs"
rev = "471a53be062e0880c6bc5c2721d123da2a9e0c2e"


Problem of 'tsv' file

Thanks for your interesting work! I have a question when I want to evaluate the model (e.g , flickr),
should I first translate the dataset or caption into the type of 'tsv'？

@hanguniverse
If you want to evaluate vision-language or audio tasks, then you should indeed prepare the dataset in the 'tsv' format.
If you want to evaluate vision tasks like instance segmentation, you can prepare the data according to this Readme.

@logicwong thanks for your quickly reply! By the way,  for answer1, should I translate both image and annoations to 'tsv' or just annotations? thank you !

@hanguniverse You can follow this dataset Flickr30k to prepare your data. It contains 3 columns, image_id,image,caption. image represents the path of the image, caption represents the annotation.

@logicwong sorry to bother you again, the attached hyperlink of 'Flickr30k' cannot be opened, do you mean to download this dataset from its homepage?

@hanguniverse Sorry, there seems to be something wrong with this link. try to use the following link:
http://one-peace-shanghai.oss-cn-shanghai.aliyuncs.com/one_peace_datasets/flickr30k.zip

@logicwong sorry， I downloaded the data,  but couldn't extract it, indicating that the file is corrupt，
I have try it twice.

@hanguniverse Emmm, I downloaded and extracted it again, and there was no problem... Can you try using this link? https://one-peace-shanghai.oss-accelerate.aliyuncs.com/one_peace_datasets/flickr30k.zip

@logicwong thanks! I have download the datatset succesfully, and I have another question that what is the differences between val and val_new?

val is the full validation set, each image contains 5 captions. val_new is the selected val set, each image only contains 1 caption.

I see, thanks for your pacient reply


Filter out null boundary results before calling nested child step

The Problem
When executing a plan with a child step who's parent is itself a child step, there is a unique code path that manipulates the parent step's data and insertion point to make sense to the child.
Anything relying on data from here on actually need the non-null boundary results. This error in particular will be triggered if the first entry in data is null.
Reproducing
You need a plan with two levels of child steps, for example:
{
  "RootSteps": [
    {
      "ServiceURL": "http://<IP_ADDRESS>:61895",
      "ParentType": "Query",
      "SelectionSet": "{ tastyGizmos { id _bramble_id: id } }",
      "InsertionPoint": null,
      "Then": [
        {
          "ServiceURL": "http://<IP_ADDRESS>:61896",
          "ParentType": "Gizmo",
          "SelectionSet": "{ wizzle { id _bramble_id: id } _bramble_id: id }",
          "InsertionPoint": [
            "tastyGizmos"
          ],
          "Then": [
            {
              "ServiceURL": "http://<IP_ADDRESS>:61897",
              "ParentType": "Wizzle",
              "SelectionSet": "{ bazingaFactor _bramble_id: id }",
              "InsertionPoint": [
                "tastyGizmos",
                "wizzle"
              ],
              "Then": null
            }
          ]
        }
      ]
    }
  ]
}

The service http://<IP_ADDRESS>:61896 then needs to return nulls for some or all of its results. The code will then fail when trying to prepare the data for http://<IP_ADDRESS>:61897. The new test cases cover reproducing.
The Fix
Simply filter out any null boundary results, they're of no use in the context of executing the child step.
Thanks to @suessflorian for finding the bug and writing the test cases.

Codecov Report

Merging #117 (3b87eac) into main (6d3f91c) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #117      +/-   ##
==========================================
- Coverage   68.75%   68.72%   -0.04%
==========================================
  Files          24       24
  Lines        2612     2619       +7
==========================================
+ Hits         1796     1800       +4
- Misses        681      684       +3
  Partials      135      135

Impacted Files
Coverage Δ

query_execution.go
70.14% <100.00%> (+0.30%)
:arrow_up:

auth.go
86.79% <0.00%> (-0.63%)
:arrow_down:

config.go
6.97% <0.00%> (-0.11%)
:arrow_down:

schema.go
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6d3f91c...3b87eac. Read the comment docs.


Add exceptions from click

Hello, @tiangolo,
Just a thought here that adding these exceptions from click helps give users more flexibility in terms of what exceptions they can raise.
[FEATURE] Add Extra Exception Handling #195

Hey! Thanks for the interest and effort!
I replied to your issue here: https://github.com/tiangolo/typer/issues/195#issuecomment-1186444136 but I'll copy the message here as well for completeness.

Checking the docs, it seems like most of these exceptions are handled by Click internally, they handle the data validation, and if they are raised, they are raised before your code is executed.
The only one I see that seems to be useful in the app's code would be the BadParameter that can be raised from a callback, that's why that one is exported there and documented https://typer.tiangolo.com/tutorial/options/callback-and-context/#validate-cli-parameters
Is there a specific use case that is not covered by the default handling, where you would need to raise an exception, and that needs to be one of the Click internal exceptions?


Custom base

Description
Basis PR to fork from for additional programming.
Will be merged to master after finishing.
Todos

[x] folder for custom_kinfraglib_notebooks
[x] rename notebooks to kinfraglib_notebooks
[ ] create "/custom_kinfraglib_notebooks/1_1_custom_filters_unwanted_substructures"
[ ] create  "/custom_kinfraglib_notebooks/1_2_custom_filters_drug_likeness"
[ ] create "/custom_kinfraglib_notebooks/1_3_custom_filters_synthesizability"
[ ] create "/custom_kinfraglib_notebooks/1_4_custom_filters_user_defined_fragment"
[ ] create "/custom_kinfraglib_notebooks/1_5_custom_filters_pairwise_retrosynthesizability"
[ ] create "/custom_kinfraglib_notebooks/1_6_custom_filters_pipeline"
[ ] create "/custom_kinfraglib_notebooks/2_1_custom_filters_analysis_enumerated_library
[ ] @dominiquesydow: Apply formatter/linter to original notebooks and package https://github.com/NonaR/KinFragLib/issues/4
[ ] @dominiquesydow: Add back CI for original notebooks before merging into volkamerlab/kinfraglib https://github.com/NonaR/KinFragLib/issues/6

Questions

[ ] Question1

Status

[ ] Ready to go

Hi @NonaR, I had a quick look at parts of your code and it looks really nice :)
If you are interested, we could have a call where we set up together some formatting (black) and linting (pylint or flake8) functionalities which help you to standardize code formatting and detect PEP8 violations automatically.

Hi @NonaR, I had a quick look at parts of your code and it looks really nice :)
If you are interested, we could have a call where we set up together some formatting (black) and linting (pylint or flake8) functionalities which help you to standardize code formatting and detect PEP8 violations automatically.

Hi @dominiquesydow,
yes I would love to do this together :)
If you want we can do this before the workshop I have today at 4pm

CI fails because it cannot find kinfraglib.filters because we currently install from kinfraglib from https://github.com/volkamerlab/kinfraglib/archive/master.tar.gz see here
Two options to fix this:

Update environment.yaml with current branch: https://github.com/nonaR/kinfraglib/archive/custom-base.tar.gz - but that would mean we need to do this for every new branch
For the time being add a pip install -e kinfraglib before running the CI tests   - name: Run tests
     shell: bash -l {0}
     run: |
       pip install -e kinfraglib
       PYTEST_ARGS="--nbval-lax --current-env --nbval-cell-timeout=900"
       pytest $PYTEST_ARGS

Yaaaaay, passing CI!!!! :tada:

Open questions on CI fail:

2_4: Why does rdkit upgrade to 2020.09.1 not work? CI
4_1: Why JSONError for PATH_COMBINATORIAL_LIBRARY (combinatorial library downloaded from zenodo)? CI

@NonaR, the CI runs now on your notebooks (in notebooks/custom_kinfraglib) only; hope this will make your workflow faster and less error prone.


Can't record audio on rpi

Hi there Uberi.
I'm currently investigating an issue with sr on the PI, and I'm quite lost.
Problem:
It seems like I can't get it to get sound, it gets stuck on Recogniser 's listen method (It seems like pyaudio's read_stream is not returning anything).
And... well. I'm kinda lost on where to follow. Any idea?
Right now I've:

Tried to update to pyaudio 0.2.9 and latest speech_recognition.
Checked that I CAN record sound with pyaudio
Checked that my usb card is index 0
Tried with older pyaudio and speech_recognition (lightly patched)
Debugged to see where it gets stuck (read_stream, and, acording to strace, it's getting EAGAIN from the driver, not getting any audio data maybe? but recording works.)

I would normally not open this as a bug, but as I've encountered #62 and may be related (but may be not)...
Anything I can do, here I'm.

write(2, "return pa.is_stream_stopped(self"..., 42return pa.is_stream_stopped(self._stream)
) = 42
close(3)                                = 0
munmap(0x76f11000, 4096)                = 0
write(2, "IOError", 7IOError)                  = 7
write(2, ": ", 2: )                       = 2
write(2, "[Errno -9988] Stream closed", 27[Errno -9988] Stream closed) = 27
write(2, "\n", 1
)                       = 1
(Pyaudio 0.2.9 speech_recognition 3.1.3)

Hmm, how are you doing recording? Is this using arecord (ALSA) or using PyAudio/Python? Which Raspberry Pi are you using?

I can confirm this same issue, both on rpi and ubuntu desktop. after recording a few times, listen will block on portaudio.read_stream (underneath pyaudio.Stream.read) will block for arbitrary amounts of time; sometimes a second, sometimes it does not return for several minutes.
You asked if the original reporter was using arecord or pyaudio; It's likely that arecord would provide better consistent recordings, but I feel like it would be a real hassle to reimplement on top of arecord. Impossible? No. Hassle? So much so.
thanks!

I'm sorry, I forgot to reply to this ticket and I've been quite busy,_ but as stated in the main comment:
"Checked that I CAN record sound with pyaudio"
I'll try with latest versions as soon as I can and report back here.
Thanks

Hi guys,
Ran into the same issue. After some debugging I found that the following worked on my Rpi:

import speech_recognition as sr

# Settings
mic_name = "Blue Snowball: USB Audio (hw:1,0)"
sample_rate = 48000
chunk_size = 2048

# obtain audio from the microphone
r = sr.Recognizer()
r.energy_threshold = 50

mic_list = sr.Microphone.list_microphone_names()

for i, microphone_name in enumerate(mic_list):
    if microphone_name == mic_name:
        device_id = i
        print('Your Mic has Device id: {}'.format(device_id))
    else:
        print('Your Mic name is incorrect. It should be one of these: {}'.format(mic_list))

with sr.Microphone(device_index=device_id, sample_rate = sample_rate, chunk_size=chunk_size) as source:
    print("Say something!")
    audio = r.listen(source)

Thanks @hassanmian, I've added this information in 271f7e9394c7bf7199d3948e055ded2b1bffa314.
@XayOn, I'm guessing it should probably work if you try the new instructions. I'm going to close this for now, but if it still happens please feel free to re-open.

Ir works perfectly, Thanatermesis!


Preserve input type in math functions

The docs of add tell us

If one of the numbers is a float, the result is a float.

which is not true if two zeros are added because internally != 0 is used as implicit type check.
So add (0 | float) (0 | float) returns an int zero.
This PR remembers the input types and uses the correct type for the return value.

 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.


When uri option is a parsed url object, other options don't work

The jar and qs properties will not work in this example:
request({
  uri: {
    protocol: ‘http:’,
    hostname: ‘prolificinteractive.com’,
    pathname: ‘/company’
  },
  jar: jar,
  qs: {
    foo: ‘bar’
  }
}, function (err, response, body) {
  // etc.
});

@prolificeric most probably your parsed object is malformed. This option is intended for cases where you have your url parsed. If you have properties missing from that object it may fails to work.

Closing @prolificeric us know if you have any other issues with this.


datapath: Add auth_type to policy verdict message

Add auth type to datapath policy verdict message as well as to Hubble flow message.
policy.AuthType.String() is fixed to return an empty string rather than "none" when authentication is not required to match the strings accepted for auth type in CNP.

/test

Rebased to fix conflicts.

rebased for main breakage


Remove unmaintained setup-ninja action

Description
The setup-ninja action is unmaintained. Given that it just installs ninja we should manage ourselves its setup in CI workflows.
Questions/Ideas

In windows it is already installed
In linux ?
In mac ?

To be solved in #130


BUG: asfarray is removed from numpy

Describe your issue.
We at pandas are using numpy nightlies and also scipy nightlies in our tests, and it seems that the removal of asfarray is causing an import error in scipy.
However, usage of asfarray hasn't been removed in scipy yet.
See e.g. these lines
https://github.com/scipy/scipy/blame/8bb5e31784573f56a8de8362c15e61d66225f15b/scipy/optimize/_optimize.py#L44-L46
Reproducing Code Example
N/A

Error message
N/A

SciPy/NumPy/Python version and system information
python 3.11
numpy and scipy from latest nightly wheels

This is being addressed in #19143.


Increase size limits of RFC values

CLA: trivial
Leading edge technologies are using long names to define for example a fully qualified domain name. Thus, it is of utmost importance  to replace those old limits and adapt them to the current needs.
Also max values have been defined in openssl.cnf file to prevent the binary of openssl from exiting and to provide the user with proper feedback in order to fix their input without the need of restarting the execution of the binary.
Checklist

[X] documentation is added or updated

Do we have an authoritative source for new values?

I have not found out an authoritative source, thus values should be discussed prior of this PR's possible merge.
However, current limits can not support examples of values such as ' console-openshift-console.randomuser-cluster-0c576f1a70d454f092d8591887631748-0000.eu-de.containers.appdomain.cloud ' and similar lengthy FQDNs.

One might just as well ask if we have an authoritative source for the current values ... which is seems that we may.
E.g., RFC 5280's appendix A.1, that lists:
--  specifications of Upper Bounds MUST be regarded as mandatory
--  from Annex B of ITU-T X.411 Reference Definition of MTS Parameter
--  Upper Bounds

-- Upper Bounds
ub-name INTEGER ::= 32768
ub-common-name INTEGER ::= 64
ub-locality-name INTEGER ::= 128
ub-state-name INTEGER ::= 128
ub-organization-name INTEGER ::= 64
ub-organizational-unit-name INTEGER ::= 64
[...]
ub-emailaddress-length INTEGER ::= 255
ub-common-name-length INTEGER ::= 64
ub-country-name-alpha-length INTEGER ::= 2
ub-country-name-numeric-length INTEGER ::= 3
[...]
ub-given-name-length INTEGER ::= 16
[...]
ub-organization-name-length INTEGER ::= 64
ub-organizational-unit-name-length INTEGER ::= 32

OTC: Should we ignore limits from RFC 5280's appendix A.1?

In my opinion this is wrong and we should not ignore the limits from RFC. The FQDN does NOT have to be in CN as the FQDN should be in Subject Alt Names as DNS name instead - there should be no limit for that.

OTC: Should we ignore limits from RFC 5280's appendix A.1?

No

OTC: Should we ignore limits from RFC 5280's appendix A.1?

No until there is any other authority established new widely used limits.

In my opinion this is wrong and we should not ignore the limits from RFC. The FQDN does NOT have to be in CN as the FQDN should be in Subject Alt Names as DNS name instead - there should be no limit for that.

Actually, RFC 5280 uses stronger words on the subject.  From RFC 5280, <IP_ADDRESS>.  Subject Alternative Name (italics mine, for emphasis):

Defined options include an Internet electronic mail address, a DNS name, an IP address, and a Uniform Resource Identifier (URI).  Other options exist, including completely local definitions.  Multiple name forms, and multiple instances of each name form, MAY be included.  Whenever such identities are to be bound into a certificate, the subject alternative name (or issuer alternative name) extension MUST be used; however, a DNS name MAY also be represented in the subject field using the domainComponent attribute as described in Section <IP_ADDRESS>.

OTC: Unless there is a relevant authoritative source that overrides the RFC 5280 limits we aren't going to change the limits.


:recycle: refactor(navbar)

Summary
There are currently several applications within different projects around baloise.
We have to choose one and adjust to the technical ds.

Reproduce what's visible here in Figma
https://design-system-next.vercel.app/?path=/story/components-app--basic

[ ] Check technical requirments
[ ] Decide where to store / adapt it (UI Kit or Components)
[ ] Design the component in Figma

Additional Information
@clastzoo checkout our component navbar
https://baloise-design-system.vercel.app/?path=/docs/components-navbar--basic
Code of Conduct

[X] I agree to follow this project's Code of Conduct

We close this issue due to inactivity


Could you include a license file?

We are trying to integrate into emscripten and it seems it would be easier if you could include a full license:L https://github.com/emscripten-core/emscripten/pull/13833#discussion_r608758123

The license has been added!
https://github.com/mohanson/leb128/blob/master/LICENSE


Adding github actions to automate releases

The CI will trigger whenever a stable or pre-release release is published. It'll build the EXE for that specific release and add it to the release artifacts.

@nkitsaini I think the trigger can be something else, so that it eliminates the manual effort of pushing the release.
My automating releases I dont mean that the release itself gets triggered on its own, I mean that whenever I make a release, it builds the updated exe file and embeds it into the release itself

@Mayank0255 I see. let me make the changes.

@Mayank0255 I've made the changes. See Pull request description detail.

@Mayank0255  Yes, it is working. I've invited you to my fork. You can create manual releases and the .exe file will be attached to release artifacts once the github action is executed.

@Mayank0255 Yes, it is working. I've invited you to my fork. You can create manual releases and the .exe file will be attached to release artifacts once the github action is executed.

Ya, I saw that, but the game is crashing on launch itself, pls check that

@Mayank0255 Which version of python are you using?

@nkitsaini
I am using 3.10.1

@Mayank0255 Can you try the newer build from here: https://github.com/nkitsaini/Galaxy-Attack/releases/tag/manual-11 ?


filter is case sensitive

Following minimal testcase:
const ldap = require( 'ldapjs' );
const attr = {};
attr.cn = 'axel';
attr.gidNumber = '1001';
attr.uidNumber = '1001'
attr.uid = 'axel';
attr.displayName = 'axel';
attr.loginShell = '/bin/bash';
attr.homeDirectory = '/home/axel';
attr.objectclass = [ 'posixAccount', 'top' ];
const f = ldap.parseFilter('(objectClass=*)');
console.log( f.matches( attr ) );

The result with node-ldapjs 2.3.3 is true, in node-ldapjs 3.0.1 it is false.
Note the uppercase C, writing it lowercase gives the IMO correct true (or changing the attribute to match the same case)
AFAIK LDAP is supposed to be case insensitive on attributes by default, as 2.3.3 did, no?

LDAP filter strings are defined by https://www.rfc-editor.org/rfc/rfc4515
LDAP attributes (<attributedescription> = <attributevalue>) are defined by https://www.rfc-editor.org/rfc/rfc4512#section-2.5 and https://www.rfc-editor.org/rfc/rfc4512#section-2.5.1. Specific to this issue:

Both  and
productions are case insensitive.  The order in which s
appear is irrelevant.  That is, any two s that
consist of the same  and same set of s are
equivalent.

So it can be correct to say that objectclass === objectClass when comparing two attributes.
Scattered throughout the ldapjs <= 2 code were blocks that looked like:
if (prop.toLowerCase() === 'objectclass') {
  // do some check or something
}

Such blocks would have a comment attached like:
// Comparing case insensitive since most implementations do that for objectClass

To be clear: the ldapjs <= 2 code made an explicit exception for objectClass. For all other attribute types it defaulted to case sensitive comparisons.
In general, the spec is muddy on what to do in regard to attribute type comparisons. The closest we get is the discussion around the compare operation and the ensuing descriptions of various filters -- https://www.rfc-editor.org/rfc/rfc4511#section-4.10.
However, we retained the original case insensitive comparison feature:
const ldap = require( 'ldapjs' );
const attr = {};
attr.cn = 'axel';
attr.gidNumber = '1001';
attr.uidNumber = '1001'
attr.uid = 'axel';
attr.displayName = 'axel';
attr.loginShell = '/bin/bash';
attr.homeDirectory = '/home/axel';
attr.objectclass = [ 'posixAccount', 'top' ];
const f = ldap.parseFilter('(objectClass=*)');
console.log(
  f.matches( attr, false )
);

Note the inclusion of a second parameter being passed to f.matches. See the following declaration in the AND filter as an example:
https://github.com/ldapjs/filter/blob/e70a7cba6c17310956e87a9b28e6bea61db48d93/lib/filters/and.js#L54-L73

Thanks for your detailed explanation.
I searched if I rather should set "objectclass" or "objectClass" and it seems the internet is all over the place. Basically as workaround other than ,false as second parameter I can also set both attributes.