GitHub Copilot Chat unable to generate commit messages due to content exclusion rules

I have been using GitHub Copilot Chat for generating commit messages, but recently, this feature has stopped working. Regardless of the file changes, I receive the following message: "Cannot generate a commit message because the changes were excluded from the context due to content exclusion rules."

VS Code Version: 1.89.1
Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
Date: 2024-05-07T05:14:24.611Z (1 week ago)
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin x64 22.5.0
GitHub Copilot Chat Version: v0.15.2024043005 (pre-release)

Steps to Reproduce:

Open any project in VS Code.
Make some changes to the files.
Attempt to generate a commit message using GitHub Copilot Chat.
Observe the error message: "Cannot generate a commit message because the changes were excluded from the context due to content exclusion rules."

@liby - does it work if you highlight the files under changes and select "stage"?

@liby - does it work if you highlight the files under changes and select "stage"?

Can you share your log file please. Via CMD/CTRL + SHIFT+ U -> GitHub Copilot Chat

Same issue here, I can type a commit message and commit and then commits after work fine

Can you share your log file please. Via CMD/CTRL + SHIFT+ U -> GitHub Copilot Chat

2024-05-30 13:10:47.440 [info] [FetcherService] Using Helix fetcher
2024-05-30 13:10:47.440 [info] [gitExtensionService] Initializing Git extension service.
2024-05-30 13:10:47.440 [info] [gitExtensionService] Successfully activated the vscode.git extension.
2024-05-30 13:10:47.440 [info] [gitExtensionService] Enablement state of the vscode.git extension: true.
2024-05-30 13:10:47.440 [info] [gitExtensionService] Successfully registered Git commit message provider.
2024-05-30 13:10:47.967 [info] [auth] Logged in as liby
2024-05-30 13:10:48.651 [info] [chat] copilot token chat_enabled: true
2024-05-30 13:10:48.651 [info] [chat] Registration of interactive providers failed:,Error: Extension 'GitHub.copilot-chat' CANNOT use API proposal: aiTextSearchProvider.
Its package.json#enabledApiProposals-property declares: interactive, terminalDataWriteEvent, terminalExecuteCommandEvent, terminalSelection, terminalQuickFixProvider, chatParticipant, chatParticipantAdditions, defaultChatParticipant, chatVariableResolver, chatProvider, mappedEditsProvider, aiRelatedInformation, codeActionAI, findTextInFiles, textSearchProvider, contribSourceControlInputBoxMenu, newSymbolNamesProvider, findFiles2, extensionsAny, authLearnMore, testObserver but NOT aiTextSearchProvider.
 The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api GitHub.copilot-chat
2024-05-30 13:10:48.651 [info] [githubTitleAndDescriptionProvider] Initializing GitHub PR title and description provider provider.
2024-05-30 13:10:48.651 [info] [githubTitleAndDescriptionProvider] GitHub.vscode-pull-request-github extension is not yet activated.
2024-05-30 13:10:48.655 [info] [auth] Got Copilot token for liby
2024-05-30 13:10:50.181 [info] [RemoteAgents] Invalid remote agent response: 404 page not found
 (SyntaxError: Unexpected non-whitespace character after JSON at position 4 (line 1 column 5))

@liby Can you ask a question in the panel chat about this file? Like typing /explain does that answer or also give issues regarding content exclusions

Same issue here. Just started happening today.

@liby Can you ask a question in the panel chat about this file? Like typing /explain does that answer or also give issues regarding content exclusions

Do you see the same issue if you try VS Code insiders + pre-release https://code.visualstudio.com/insiders/
Sory for all the questions, we're just having issues attempting to repro this

Do you see the same issue if you try VS Code insiders + pre-release code.visualstudio.com/insiders
Sory for all the questions, we're just having issues attempting to repro this

By installing the VS Code insiders(without any personal configuration) and only installing 2 extensions (GitHub Copilot and GitHub Copilot Chat), I still encounter the same issue.

I have the exact same issue. It started in march/april. Here's my reproduction with the latest insiders and only the copilot extensions installed.

Version: 1.90.0-insider
Commit: ca688da9fb6dad00996cee7d5342490daa7bb1fb
Date: 2024-05-31T01:18:07.094Z
Electron: 29.4.0
ElectronBuildId: 9593362
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.5.0

I don't have any exclusion rules at the repo or org level. My account is eligible for the free "Copilot Individual subscription" b/c of opensource contributions though. After scanning through tickets here and the copilot community discussions, there are some mentions of similar issues, like the one that was caused by not having any changes staged (I don't have the issue number but it might be what @canuckjacq was referring to above).
I mention the free subscription b/c I'm just wondering if there's some kind of logic that's preventing accounts with acknowledged opensource contributions from auto-generating commit messages. For example as a way to avoid poisoning the well of organic, human written content. I don't know. It's a shot in the dark but it's been a real stick my craw so I've spent a lot of cycles thinking about it.

Same issue here

The latest VS Code Insiders + Copilot Chat pre-release contains some additional logging that should hopefully help us track down the root cause of the problem. Could you please install the latest VS Code Insiders + Copilot Chat pre-release extension, try to generate a commit message and share the logs as described here: https://github.com/microsoft/vscode-copilot-release/issues/1229#issuecomment-2135210792

The latest VS Code Insiders + Copilot Chat pre-release contains some additional logging that should hopefully help us track down the root cause of the problem. Could you please install the latest VS Code Insiders + Copilot Chat pre-release extension, try to generate a commit message and share the logs as described here: #1229 (comment)

The following logs are what I saw when I opened VS Code Insiders, and there were no new logs generated when using the sub-navigation to Generate Commit Message with Copilot.
2024-06-08 01:18:07.376 [info] [gitExtensionService] Initializing Git extension service.
2024-06-08 01:18:07.376 [info] [gitExtensionService] Successfully activated the vscode.git extension.
2024-06-08 01:18:07.376 [info] [gitExtensionService] Enablement state of the vscode.git extension: true.
2024-06-08 01:18:07.376 [info] [gitExtensionService] Successfully registered Git commit message provider.
2024-06-08 01:18:07.376 [info] [FetcherService] Using the Helix fetcher.
2024-06-08 01:18:07.409 [info] [auth] Logged in as liby
2024-06-08 01:18:08.189 [info] [chat] copilot token chat_enabled: true
2024-06-08 01:18:08.189 [info] [githubTitleAndDescriptionProvider] Initializing GitHub PR title and description provider provider.
2024-06-08 01:18:08.189 [info] [githubTitleAndDescriptionProvider] GitHub.vscode-pull-request-github extension is not yet activated.
2024-06-08 01:18:08.197 [info] [auth] Got Copilot token for liby
2024-06-08 01:18:09.552 [info] [RemoteAgents] Invalid remote agent response: 404 page not found
 (SyntaxError: Unexpected non-whitespace character after JSON at position 4 (line 1 column 5))
2024-06-08 01:18:31.082 [info] [gitExtensionService] Initializing Git extension service.
2024-06-08 01:18:31.082 [info] [FetcherService] Using the Helix fetcher.
2024-06-08 01:18:31.082 [info] [auth] Logged in as liby
2024-06-08 01:18:31.082 [info] [gitExtensionService] Successfully activated the vscode.git extension.
2024-06-08 01:18:31.082 [info] [gitExtensionService] Enablement state of the vscode.git extension: true.
2024-06-08 01:18:31.082 [info] [gitExtensionService] Successfully registered Git commit message provider.
2024-06-08 01:18:31.799 [info] [chat] copilot token chat_enabled: true
2024-06-08 01:18:31.799 [info] [githubTitleAndDescriptionProvider] Initializing GitHub PR title and description provider provider.
2024-06-08 01:18:31.799 [info] [githubTitleAndDescriptionProvider] GitHub.vscode-pull-request-github extension is not yet activated.
2024-06-08 01:18:31.809 [info] [auth] Got Copilot token for liby
2024-06-08 01:18:32.948 [info] [RemoteAgents] Invalid remote agent response: 404 page not found
 (SyntaxError: Unexpected non-whitespace character after JSON at position 4 (line 1 column 5))

I see the same agent response error in my logs:
2024-06-08 01:18:32.948 [info] [RemoteAgents] Invalid remote agent response: 404 page not found
 (SyntaxError: Unexpected non-whitespace character after JSON at position 4 (line 1 column 5))

I captured the HTTP traffic with mitmproxy and believe this is the request (reproduced as a curl command):
$ curl -v \
     -H 'authorization: Bearer REDACTED' \
     -H 'editor-version: vscode/1.91.0-insider' \
     -H 'editor-plugin-version: copilot-chat/0.17.2024060701' \
     -H 'user-agent: GitHubCopilotChat/0.17.2024060701' \
     -H 'accept: */*' --compressed https://api.githubcopilot.com/agents

< HTTP/2 404
< content-security-policy: default-src 'none'; sandbox
< content-type: text/plain; charset=utf-8
< strict-transport-security: max-age=31536000
< x-content-type-options: nosniff
< date: Fri, 07 Jun 2024 18:16:53 GMT
< content-length: 19
< x-github-backend: Kubernetes
< x-github-request-id: D20A:16B6FF:10A1CD0:1601CED:66634E95

Version: 1.91.0-insider
Commit: 6facfe23b300eb448c35d07291cad7ad98625302
Date: 2024-06-07T08:38:32.379Z
Electron: 29.4.0
ElectronBuildId: 9593362
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.5.0

Output - GitHub Copilot Chat
2024-06-07 11:02:14.176 [info] [gitExtensionService] Initializing Git extension service.
2024-06-07 11:02:14.177 [info] [gitExtensionService] Successfully activated the vscode.git extension.
2024-06-07 11:02:14.177 [info] [gitExtensionService] Enablement state of the vscode.git extension: true.
2024-06-07 11:02:14.177 [info] [gitExtensionService] Successfully registered Git commit message provider.
2024-06-07 11:02:14.177 [info] [FetcherService] Using the Helix fetcher.
2024-06-07 11:02:14.246 [info] [auth] Logged in as delano
2024-06-07 11:02:14.713 [info] [chat] copilot token chat_enabled: true
2024-06-07 11:02:14.713 [info] [githubTitleAndDescriptionProvider] Initializing GitHub PR title and description provider provider.
2024-06-07 11:02:14.713 [info] [githubTitleAndDescriptionProvider] GitHub.vscode-pull-request-github extension is not yet activated.
2024-06-07 11:02:14.725 [info] [auth] Got Copilot token for delano
2024-06-07 11:02:15.395 [info] [RemoteAgents] Invalid remote agent response: 404 page not found
 (SyntaxError: Unexpected non-whitespace character after JSON at position 4 (line 1 column 5))
2024-06-07 11:02:56.670 [info] [gitExtensionService] Initializing Git extension service.
2024-06-07 11:02:56.670 [info] [gitExtensionService] Successfully activated the vscode.git extension.
2024-06-07 11:02:56.670 [info] [gitExtensionService] Enablement state of the vscode.git extension: true.
2024-06-07 11:02:56.670 [info] [gitExtensionService] Successfully registered Git commit message provider.
2024-06-07 11:02:56.670 [info] [FetcherService] Using the Helix fetcher.
2024-06-07 11:02:56.707 [info] [auth] Logged in as delano
2024-06-07 11:02:57.216 [info] [chat] copilot token chat_enabled: true
2024-06-07 11:02:57.217 [info] [githubTitleAndDescriptionProvider] Initializing GitHub PR title and description provider provider.
2024-06-07 11:02:57.217 [info] [githubTitleAndDescriptionProvider] GitHub.vscode-pull-request-github extension is not yet activated.
2024-06-07 11:02:57.223 [info] [auth] Got Copilot token for delano
2024-06-07 11:02:57.732 [info] [RemoteAgents] Invalid remote agent response: 404 page not found
 (SyntaxError: Unexpected non-whitespace character after JSON at position 4 (line 1 column 5))

What is the version of the GitHub Copilot Chat extension? Could you please double check to make sure that you are running v0.17.2024060701 (pre-release) or later? You should see logs similar to this, and logs for each resource that is skipped due to content exclusion:
2024-06-09 14:20:28.410 [info] [extension] [GitCommitMessageService] Changes (before context exclusion): 1 file(s)
2024-06-09 14:20:28.414 [info] [extension] [GitCommitMessageService] Changes (after context exclusion): 1 file(s)

What is the version of the GitHub Copilot Chat extension? Could you please double check to make sure that you are running v0.17.2024060701 (pre-release) or later? You should see logs similar to this, and logs for each resource that is skipped due to content exclusion:
2024-06-09 14:20:28.410 [info] [extension] [GitCommitMessageService] Changes (before context exclusion): 1 file(s)
2024-06-09 14:20:28.414 [info] [extension] [GitCommitMessageService] Changes (after context exclusion): 1 file(s)

I am using this version, but I did not see similar logs appear.

Check your identity set-up on Git
More: Your Identity

I was running Github Copilot Chat v0.17.2024060701 (pre-release) as well (this screenshot is from Friday). And also didn't see those additional log lines.

I noticed that it 100% fails to generate commit messages for entirely new files

The issue started with GitHub Copilot Chat v16.0. The only option is to downgrade to v0.15.2 until the developers fix the problem.

Hmm, the earliest version of "GitHub Copilot Chat" I'm able to install is 0.16.0. I tried installing similarly aged "GitHub Copilot" as well but no dice, same error: "Chat failed to load. Please ensure that the GitHub Copilot Chat extension is up to date.". Maybe there's a minimum viable VS Code version?

Even if it is able to generate a commit message, the commit message makes no sense at all, brings in unrelated stuff and is just overal really dumb.

The latest Copilot Chat pre-release extension (v0.17.2024061702 (pre-release)) contains some changes to logging so I was wondering if you can install it, attempt to generate a new commit message and share the logs from the "GitHub Copilot Chat" output channel. Thanks!

I have only this when I click the generate message button, latest insiders and pre-release version of extension:
2024-06-19 13:12:56.053 [info] [GitCommitMessageService] Changes (before context exclusion): 1 file(s)
2024-06-19 13:12:56.053 [info] [GitCommitMessageService] Ignoring change due to missing originalUri and modifiedUri.
2024-06-19 13:12:56.053 [info] [GitCommitMessageService] Changes (after context exclusion): 0 file(s)

@filipac, awesome, thank you! We are getting there. Based on the logs it seems that there is a bug in parsing the git diff output and extracting the resource Uri(s). Could you please open the integrated terminal, and run the following commands and share the output if possible:

git diff --cached
git diff

When I click the generate message button, I see a similar log
024-06-19 23:58:42.946 [info] [GitCommitMessageService] Changes (before context exclusion): 1 file(s)
2024-06-19 23:58:42.946 [info] [GitCommitMessageService] Ignoring change due to missing originalUri and modifiedUri.
2024-06-19 23:58:42.946 [info] [GitCommitMessageService] Changes (after context exclusion): 0 file(s)

The output of the git diff command is as follows:

Same for me.
2024-06-19 10:42:17.326 [info] [GitCommitMessageService] Changes (before context exclusion): 1 file(s)
2024-06-19 10:42:17.326 [info] [GitCommitMessageService] Ignoring change due to missing originalUri and modifiedUri.
2024-06-19 10:42:17.326 [info] [GitCommitMessageService] Changes (after context exclusion): 0 file(s)

@liby, @delano, thanks for sharing the information.  Thank you!

@liby, @delano, thanks for sharing the information.  Thank you!

I think I've located the root cause. The diff tool I am currently using is Difftastic, not the built-in diff in Git.
My .gitconfig is here. The relevant configuration items are:
[diff]
    tool = difftastic

[difftool]
    prompt = false

[difftool "difftastic"]
    cmd = difft "$LOCAL" "$REMOTE"

[pager]
    difftool = true

I found that when I switched to Git's built-in diff, the automatic generate commit messages worked fine.
But I have been using Difftastic instead of Git's built-in diff for about 2 years. Before I discovered this issue, it had been working well with automatic generate commit messages feature, and I don't know what happened during that time.
For the same code changes, this is the output of Git's built-in diff:
diff --git a/scripts/git-sync.sh b/scripts/git-sync.sh
index 51f78f8..8bbdc0b 100755
--- a/scripts/git-sync.sh
+++ b/scripts/git-sync.sh
@@ -14,5 +14,5 @@ elif [ -n "$(git status)" ]; then
   git remote -v | grep fetch | awk '{print $2}' | git pull --rebase origin master
   git push
 else
-  echo ${MESSAGE}
+  echo "${MESSAGE}"
 fi

This is the output of command Difftastic:
scripts/git-sync.sh --- Bash
14   git remote -v | grep fetch | awk '{pr 14   git remote -v | grep fetch | awk '{pr
.. int $2}' | git pull --rebase origin mas .. int $2}' | git pull --rebase origin mas
.. ter                                     .. ter
15   git push                              15   git push
16 else                                    16 else
17   echo ${MESSAGE}                       17   echo "${MESSAGE}"
18 fi                                      18 fi

I'm still experiencing this issue, and I've never used a custom diff tool.

I also don't use a custom diff tool and still reliably see this message every time I create a new file

@liby, thank you very much for getting back to me. Indeed, the presence of the custom diff tool is the root cause of the problem. Let me try to provide more context. With the last stable release of the Copilot Chat extension we have introduced content exclusion to make sure that sensitive information is not being sent to the large language model.
In order to apply content exclusion we have to understand the URI of each file. The Copilot Chat extension is running git diff in order to get the complete diff (containing the changes for all modified  files). To get the URIs of the modified files, we parse the output but since the output is not in the format that we are expecting, the parsing fails.
Now that we understand the root cause I will look at fixing this next week.

The error message can also be caused by other stuff in gitconfig. I cant remember why or if I set it, but commit message generation started working again after I removed this:
[color]
    ui = always

So if anyone else (@joeybab3, @JamesDBartlett3) still having this error message, maybe consider clearing the whole file and see if it solves anything?

The error message can also be caused by other stuff in gitconfig. I cant remember why or if I set it, but commit message generation started working again after I removed this:
[color]
    ui = always

So if anyone else (@joeybab3, @JamesDBartlett3) still having this error message, maybe consider clearing the whole file and see if it solves anything?

I've never modified the gitconfig on either my work or personal machine, but this issue started happening on both machines on the same day, right after an update of the GitHub Copilot extension.

@liby, @delano, thanks for sharing the information.  Thank you!

I think I've located the root cause. The diff tool I am currently using is Difftastic, not the built-in diff in Git.
My .gitconfig is here. The relevant configuration items are:
[diff]
    tool = difftastic

[difftool]
    prompt = false

[difftool "difftastic"]
    cmd = difft "$LOCAL" "$REMOTE"

[pager]
    difftool = true

I found that when I switched to Git's built-in diff, the automatic generate commit messages worked fine.
But I have been using Difftastic instead of Git's built-in diff for about 2 years. Before I discovered this issue, it had been working well with automatic generate commit messages feature, and I don't know what happened during that time.
For the same code changes, this is the output of Git's built-in diff:
diff --git a/scripts/git-sync.sh b/scripts/git-sync.sh
index 51f78f8..8bbdc0b 100755
--- a/scripts/git-sync.sh
+++ b/scripts/git-sync.sh
@@ -14,5 +14,5 @@ elif [ -n "$(git status)" ]; then
   git remote -v | grep fetch | awk '{print $2}' | git pull --rebase origin master
   git push
 else
-  echo ${MESSAGE}
+  echo "${MESSAGE}"
 fi

This is the output of command Difftastic:
scripts/git-sync.sh --- Bash
14   git remote -v | grep fetch | awk '{pr 14   git remote -v | grep fetch | awk '{pr
.. int $2}' | git pull --rebase origin mas .. int $2}' | git pull --rebase origin mas
.. ter                                     .. ter
15   git push                              15   git push
16 else                                    16 else
17   echo ${MESSAGE}                       17   echo "${MESSAGE}"
18 fi                                      18 fi

Inspired by this post, I modified my .gitconfig file:
[diff]
	tool = Kaleidoscope
	external = difft
	algorithm = histogram

In my case, I removed the external = difft line, and it was fixed.

Thank you all for your updates. It does look like there are multiple git config settings that can effect the format of the output of git diff. Today is the last development day of the milestone so I will work on a fix for this next month.

The error message can also be caused by other stuff in gitconfig. I cant remember why or if I set it, but commit message generation started working again after I removed this:
[color]
    ui = always

So if anyone else (@joeybab3, @JamesDBartlett3) still having this error message, maybe consider clearing the whole file and see if it solves anything?

What?!
I have same issue and it solved just after remove it!
Thank you very much! ❤

I Was experiencing the same issue, after the summer break and a new macbook. UI = Always did not fix it, was using vimdiff, removed that line, did not help, however removing the .gitconfig all together worked. so there is some incompability issue in there somewhere, i guess manual debugging is in my near future.

None of that helped me so far. I still experience that issue from time to time at certain commits.

I just discovered something interesting yesterday:
If I type generate a commit message for all staged changes into the GitHub Copilot Chat sidebar, it generates a perfectly coherent commit message for the staged changes, just like the "Generate Commit Message with Copilot" button in the Source Control sidebar used to do.
This raises three questions:

Does anyone know what is actually happening behind the scenes when I press the "Generate Commit Message with Copilot" button in the Source Control sidebar?
Instead of the current behavior, could it just send a pre-defined prompt to the GitHub Copilot Chat API, and then drop the response directly into the commit message field?
If so, would it then be possible to let the user define a list of prompt snippets (e.g. instructions to follow specific rules regarding structure, formatting, concision, grammar, punctuation, and abbreviations; instructions to find and link any issues that may be resolved by the proposed changes, etc.) from which they could select/combine one or more snippets into a complete prompt for the GitHub Copilot Chat API? I think that would be pretty cool. 😎

I just discovered something interesting yesterday:
If I type generate a commit message for all staged changes into the GitHub Copilot Chat sidebar, it generates a perfectly coherent commit message for the staged changes, just like the "Generate Commit Message with Copilot" button in the Source Control sidebar used to do.

The output is better than what the button does deliver. For me, the button rarely gives me such a detailed response.

In case it helps anyone else -- keep in mind there are likely multiple layers of git config for you to check through.  My main ~/.gitconfig didn't have color attributes set, but a specific repository I was working in had it set in <repo>/.git/config, which was the root cause of this issue for me.


Rename left menu

[OO-MISC] Rename navigation menu workflow
https://github.com/open-orchestra/open-orchestra-cms-bundle/pull/1589
https://github.com/open-orchestra/open-orchestra-workflow-function-bundle/pull/102

:+1:


Make relative imports

Fixes https://github.com/TorchJD/torchjd/issues/75

Change within-package imports from absolute to relative
Minor import improvements

A drawback is that in PyCharm, Ctrl+Enter imports automatically with absolute path. We will have to manually make these imports instead, to keep using the relative style, whenever the import is from within the same package.
Also, for the strategy package, using relative imports leads to double dot:
from ..tensor_dict import EmptyTensorDict, GradientVectors

This is because strategy depends on its parent package (_transform), which is weird and which will be fixed by #74 anyway.

A drawback is that in PyCharm, Ctrl+Enter imports automatically with absolute path. We will have to manually make these imports instead, to keep using the relative style, whenever the import is from within the same package.
Also, for the strategy package, using relative imports leads to double dot:
from ..tensor_dict import EmptyTensorDict, GradientVectors

This is because strategy depends on its parent package (_transform), which is weird and which will be fixed by #74 anyway.

That is fine I think, maybe we can configure PyCharm a bit differently. The second is fine too, we will remove strategy anyways.

I took a look and LGTM but I don't really know how to make sure it is fine. I'm trusting you did it exhaustively.

I took a look and LGTM but I don't really know how to make sure it is fine. I'm trusting you did it exhaustively.

I double-checked every file, and I missed one (in tests/plots). I fixed this.


Siamese graph MNIST example "get_item" error in Keras 0.3.3

Hi,
I was testing the graph models and could not get to run the "mnist_siamese_graph.py" file in the examples folder. I did not get the same error when I used Keras 0.3.2.
Using Theano backend.
Traceback (most recent call last):
File "../mnist_siamese_graph.py", line 111, in
g.compile(loss={'output': contrastive_loss}, optimizer=rms)
File "/usr/local/lib/python2.7/dist-packages/keras/models.py", line 1265, in compile
if self.outputs[self.output_order[0]].output_shape[-1] == 1:
TypeError: 'NoneType' object has no attribute 'getitem'

Any update? I can't run this either, but I get a different error:
Traceback (most recent call last):
File "model3.py", line 103, in
distance = Lambda(euclidean_distance)([processed_a, processed_b])
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 485, in call
self.add_inbound_node(inbound_layers, node_indices, tensor_indices)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 543, in add_inbound_node
Node.create_node(self, inbound_layers, node_indices, tensor_indices)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 167, in create_node
str(output_shapes))
Exception: The get_output_shape_for method of layer "lambda_1"" should return one shape tuple per output tensor of the layer. Found: [(None, 128), (None, 128)]


Remove date separators immediately followed by a recipient bar

As discussed on CZO, date separators are not necessary when immediately followed by a message recipient bar, which also has the new date. We should not show them in that situation.

This should also solve #15998.

@zulipbot claim

Working on this in parallel with #22967 but can't claim two issues yet.


error navigating markdown

Describe the bug
Error when trying to navigate markdown file using text objects
To Reproduce
markdown file like this
# Heading

Text

configuration like this:
      ...
      goto_previous_end = {
        ['[]'] =<EMAIL_ADDRESS>      },

Hit [], error out:
E5108: Error executing lua ...r/start/nvim-treesitter/lua/nvim-treesitter/ts_utils.lua:389: Column value outside range
stack traceback:
        [C]: in function 'nvim_win_set_cursor'
        ...r/start/nvim-treesitter/lua/nvim-treesitter/ts_utils.lua:389: in function 'goto_node'
        ...ter-textobjects/lua/nvim-treesitter/textobjects/move.lua:47: in function 'move'
        ...ter-textobjects/lua/nvim-treesitter/textobjects/move.lua:60: in function 'goto_previous_end'
        [string ":lua"]:1: in main chunk

Expected behavior
Cursor is moved, no error.
Output of :checkhealth nvim_treesitter

nvim_treesitter: health#nvim_treesitter#check
========================================================================
## Installation
  - OK: `tree-sitter` found  0.20.1 (062421dece3315bd6f228ad6d468cba083d0a2d5) (parser generator, only needed for :TSInstallFromGrammar)
  - OK: `node` found v15.14.0 (only needed for :TSInstallFromGrammar)
  - OK: `git` executable found.
  - OK: `cc` executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
    Version: cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
  - OK: Neovim was compiled with tree-sitter runtime ABI version 13 (required >=13). Parsers must be compatible with runtime ABI.
 I'll try with an older version of neovim.

Nope, it doesn't work on 5.0, so we need to pass the actual position.


Use plain code instead of a macro in the txpool discard_worst method

          > I think we can make the discard_worst loop nicer and get rid of the ugly macros if we basically do the same loop in the truncate functions anyway

yep definitely
Originally posted by @Rjected in https://github.com/paradigmxyz/reth/issues/6368#issuecomment-1924919770

I want to try this one, please assign it to me, thanks


Add icon for location lock "not_fixed" state

Fixes #1378

Switch location lock icon based on lock state.

@gino-m  PTAL?

Codecov Report

Merging #1384 (f853c53) into master (86af147) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1384      +/-   ##
============================================
- Coverage     31.31%   31.28%   -0.04%
  Complexity      927      927
============================================
  Files           313      313
  Lines          7546     7554       +8
  Branches        475      475
============================================
  Hits           2363     2363
- Misses         5026     5034       +8
  Partials        157      157

Impacted Files
Coverage Δ

...e/android/ground/ui/common/AbstractMapViewModel.kt
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Capture the requirements for a fully integrated table widget in nunaliit core

"Table widget should dynamically populate column headings based on documents, resize properly, allow sorting, allow column reordering, allow cell editing, etc. with settings saved across sessions by default" Requested by Amos Hayes.

Have a look at https://www.datatables.net/
It is available under MIT license, runs on JQuery, and seems to have a rich API.


can you provide you model which you have trained?

can you provide you model which you have trained, is there any possible to register two point clouds which have differet size and have some part can be overlapped?

The model is available from here.
This is a feature based method, so it works on point clouds of different sizes and extent.

@yewzijian Thanks, i would try it later.


Product is in GA and steps doesn't work for files as source

Hi All,
I was trying to follow this doc to move json file content(in Azure Storage) to azure cosmosdb mongo api and it is empty in map to target databases stage and cannot move forward.
https://docs.microsoft.com/en-us/azure/dms/tutorial-mongodb-cosmos-db-online#map-to-target-databases

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

ID: 4242e43b-0003-2e4e-cd1e-fd4578b0baea
Version Independent ID: d70b9ce9-91ab-e0f6-69ad-7ed7fafbac23
Content: Tutorial: Use the Azure Database Migration Service to migrate MongoDB to Azure Cosmos DB's API for MongoDB online
Content Source: articles/dms/tutorial-mongodb-cosmos-db-online.md
Service: dms
GitHub Login: @pochiraju
Microsoft Alias: rajpo

@prashanthmadi Thanks for the feedback. We are actively investigating and will get back to you soon.

@prashanthmadi Can you please review the steps for connecting to Azure Blob Storage: Specify source details

Data from Azure storage, which accepts a blob container SAS URL. Select Blob contains BSON dumps if the blob container has BSON dumps produced by the MongoDB bsondump tool, and de-select it if the container contains JSON files.

@prashanthmadi We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

Thanks @Mike-Ubezzi-MSFT . Looks like Doc has been updated to provide better steps. it works fine now.


Capture image from Landscape

Hi @mbppower
It's me again. I've tried to capture image from landscape and it crops a little bit weird?
Was it suppose to be like that?
Or am I missing something?

Hi leouze, is this still happening with the latest version? if so please send me a screenshot, thanks.


Ember Simple Auth & Mirage for API stub

Hi, I'm using mirage as an API stub whilst our proper API is being built.
However, we do have a working local OAuth server.
It seems that mirage is intercepting Ajax calls to /oauth/token, but I need these to be sent over the network to my actual auth server.
Is there anyway to tell mirage to ignore a specific route/url or to have mirage just pass the request through?
I've had a look through the past issues, but it seems most auth questions have been about name spacing...

I believe you're looking for the passthrough API. It should do what you want!
Let me know if you have any more questions :)


add go example

This PR adds an example to build go applications.
It adds:

the input for gomod2nix
the output with the example app

feel free to update anything needed or let me know what needs to be changed.

Can you run pre-commit run -a

is this error expected?
✦2 ❯ devenv shell
• Building shell ...
• Using Cachix: devenv
warning: creating lock file '/Users/seba/projetos/github.com/sebastianwebber/devenv/examples/go/devenv.lock'
✔ Building shell in 6.7s.
• Entering shell
✨ devenv 1.1.0 is newer than devenv input in devenv.lock. Run `devenv update` to sync.
(devenv) bash-5.2$ pre-commit -a
usage: pre-commit [-h] [-V] {autoupdate,clean,gc,init-templatedir,install,install-hooks,migrate-config,run,sample-config,try-repo,uninstall,validate-config,validate-manifest,help,hook-impl} ...
pre-commit: error: unrecognized arguments: -a

without the -a, it works:
(devenv) bash-5.2$ pre-commit
[WARNING] Unstaged files detected.
[INFO] Stashing unstaged files to /Users/seba/.cache/pre-commit/patch1726164631-49152.
golangci-lint........................................(no files to check)Skipped
gotest...............................................(no files to check)Skipped
govet................................................(no files to check)Skipped
[INFO] Restored changes from /Users/seba/.cache/pre-commit/patch1726164631-49152.

same for devenv test:
(devenv) bash-5.2$ devenv test
• Overriding .devenv to .devenv.NYFQiooY7g6D
• Building tests ...
• Using Cachix: devenv
warning: creating lock file '/Users/seba/projetos/github.com/sebastianwebber/devenv/examples/go/devenv.lock'
✔ Building tests in 7.9s.
warning: creating lock file '/Users/seba/projetos/github.com/sebastianwebber/devenv/examples/go/devenv.lock'
• Running tests ...
• Building shell ...
warning: creating lock file '/Users/seba/projetos/github.com/sebastianwebber/devenv/examples/go/devenv.lock'
✔ Building shell in 3.4s.
✨ devenv 1.1.0 is newer than devenv input in devenv.lock. Run `devenv update` to sync.
• Setting up shell environment ...
✨ devenv 1.1.0 is newer than devenv input in devenv.lock. Run `devenv update` to sync.
• Testing ...
golangci-lint........................................(no files to check)Skipped
gotest...............................................(no files to check)Skipped
govet................................................(no files to check)Skipped
✔ Running tests in 6.1s.
• Tests passed :)

(devenv) bash-5.2$ pre-commit -a
You need to run pre-commit run -a.

@sebastianwebber did you run that in examples/go env?

hey @domenkozar , yes, i did:
❯ pwd
/Users/seba/projetos/github.com/sebastianwebber/devenv/examples/go

❯ devenv shell
• Building shell ...
• Using Cachix: devenv
warning: creating lock file '/Users/seba/projetos/github.com/sebastianwebber/devenv/examples/go/devenv.lock'
✔ Building shell in 68.9s.
• Entering shell
(devenv) bash-5.2$ pre-commit run -a
golangci-lint........................................(no files to check)Skipped
gotest...............................................(no files to check)Skipped
govet................................................(no files to check)Skipped

Should I run the command in another folder?
please let me know how to proceed.


Unable to change the Aspect Ratio.

I'm trying to set the aspect ratio and it works whatever I set initially. But I didn't find any way to change that aspect ratio when the media is playing. is it any kind of bug or any workaround exist to make it possible?

Thanks a lot. It worked perfectly!!


spo listitem list help mismatch

Priority
(Low) Something is a little off
Description
m365 spo listitem list -h shows:
 -l, --listId [listId]
    ID of the list. Specify either listTitle, listId, or listUrl but not multiple.

 -l, --filter [filter]
    OData filter to use to query the list of items with. Specify camlQuery or filter but not both.

Both --listId and --filter have -l as short option in the help.
--listId is -i in the code
Steps to reproduce
m365 spo listitem list -h
Expected results
-i, --listId [listId]
Actual results
-l, --listId [listId]
Diagnostics
No response
CLI for Microsoft 365 version
v7.4.0
nodejs version
v19.4.0
Operating system (environment)
Linux
Shell
bash
cli doctor
{
"os": {
"platform": "linux",
"version": "#15-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan  9 17:03:36 UTC 2024",
"release": "6.5.0-15-generic"
},
"cliVersion": "7.4.0",
"nodeVersion": "v19.4.0",
"cliAadAppId": "31359c7f-bd7e-475c-86db-fdb8c937548e",
"cliAadAppTenant": "common",
"authMode": "Browser",
"cliEnvironment": "",
"cliConfig": {},
"roles": [],
"scopes": {
"https://graph.microsoft.com": [
"AllSites.FullControl",
"AppCatalog.ReadWrite.All",
"ChannelMember.ReadWrite.All",
"ChannelMessage.Read.All",
"ChannelMessage.Send",
"ChannelSettings.ReadWrite.All",
"Chat.Read",
"Chat.ReadWrite",
"Directory.AccessAsUser.All",
"Directory.ReadWrite.All",
"Group.ReadWrite.All",
"IdentityProvider.ReadWrite.All",
"Mail.ReadWrite",
"Mail.Send",
"Place.Read.All",
"Policy.Read.All",
"Reports.Read.All",
"ServiceHealth.Read.All",
"ServiceMessage.Read.All",
"ServiceMessageViewpoint.Write",
"Tasks.ReadWrite",
"Team.Create",
"TeamMember.ReadWrite.All",
"TeamsApp.ReadWrite.All",
"TeamsAppInstallation.ReadWriteForUser",
"TeamSettings.ReadWrite.All",
"TeamsTab.ReadWrite.All",
"TermStore.ReadWrite.All",
"User.Invite.All",
"User.ReadWrite.All",
"profile",
"openid",
"email"
],
"https://bbraun.sharepoint.com": [
"AllSites.FullControl",
"AppCatalog.ReadWrite.All",
"ChannelMember.ReadWrite.All",
"ChannelMessage.Read.All",
"ChannelMessage.Send",
"ChannelSettings.ReadWrite.All",
"Chat.Read",
"Chat.ReadWrite",
"Directory.AccessAsUser.All",
"Directory.ReadWrite.All",
"Group.ReadWrite.All",
"IdentityProvider.ReadWrite.All",
"Mail.ReadWrite",
"Mail.Send",
"Place.Read.All",
"Policy.Read.All",
"Reports.Read.All",
"ServiceHealth.Read.All",
"ServiceMessage.Read.All",
"ServiceMessageViewpoint.Write",
"Tasks.ReadWrite",
"Team.Create",
"TeamMember.ReadWrite.All",
"TeamsApp.ReadWrite.All",
"TeamsAppInstallation.ReadWriteForUser",
"TeamSettings.ReadWrite.All",
"TeamsTab.ReadWrite.All",
"TermStore.ReadWrite.All",
"User.Invite.All",
"User.ReadWrite.All"
]
}
}
Additional Info
No response

Great catch @dojcsakj, that doesn't seem right indeed. Are you willing to fix this in the docs or should we open it up for the community?

I'll do that.


x/pkgsite: remove pkg.go.dev/github.com/Ormissia/ormissia_go

What is the URL of the page with the issue?
As per instructions at https://go.dev/about for removing a package: please remove
https://pkg.go.dev/github.com/Ormissia/ormissia_go
Thank you.

Done.

Done.


Proposal: Destroying containers should make them explode

Because explosions are way cooler than the container disappearing!

If we can contain the explosion I agree. It should not destroy neighbor containers... :)
And it should not kill the player also! :D

:boom: ... I think I'll start working on a prototype :)
If the implementation of #32, moves controls outside of the container this might be a lot safer for the player :)

Put the player in creative mode, and make the floor out of obsidian
Not sure about protecting the other containers


Display transactions

This is almost 100% bottlenecked by the way AWS provisions SSD IOPS. I avoid AWS or any service that restricts IOPS when it comes to databases.
Here's a good article with comparisons and a good explainer of the issue at the end of.
https://dzone.com/articles/iops-benchmarking-disk-io-aws-vs-digitalocean
To summarise, AWS allocates about IOPS based on how much GB you use. So to get the most performance, you need to pay a lot to provision enough IOPS.

It seems to be the problem, my VPS only have 300 IOPS

My suggestion would be to try DigitalOcean, Vultr or Hetzner. They have typically high IOPS. Vultr and DigitalOcean both have High Frequency (Vultr) and Premium (DO) servers that have IOPS averaging between 100,000 and 150,000.
Vultr also has very decent Bare Metal servers which I was using with ADATools.io for some time.

I increased IOPS to 10,000 and it worked, thank you for your suggestion, I will try it


Add support for itless base layout dashboard type

We recently updated chrome-service backend to remove widgets from the widget mapping based on feature flag (see: https://github.com/RedHatInsights/chrome-service-backend/pull/716). However, those widgets still appear in the forked base template. The widgets are not rendered by the UI - however there are large chunks of whitespace in the grid (where those widgets would have been).
There are a few options to resolve this:

Have the UI immediately turn around and patch the layout to remove these items. IMO this could cause undesirable bugs however (how do we know when a widget should actually be removed or there is a configuration issue?)
Use the existing base template but remove each widget from the base template when the feature flag is enabled. This will cause us to make a second round trip to the server (unless cached) for the flags, and also requires us to iterate over every template variant (sm, md, etc) for the widgets (unless we add a new item to the schema).
(This PR) add a new forkable landing page layout specific to itless

This change is meant to support a custom base layout for widgets within the itless environment. If the environment is itless, we should load a different base template.
We use the platform.widget-layout.itless flag to validate we need to load the other template, and then set the targetLayout to match. This sends the dashboardParam to the chrome-service-backend so we fork the correct layout.
This requires that an accompanying PR for chrome-service-backend to be merged.


crds: Bump cilium version for cec v2

This commit is to bump cilium version to get stable v2 version for CEC
and CCEC.
Signed-off-by: Tam Mach<EMAIL_ADDRESS>

aks and external workload failures are unrelated to this pr. i'm shipping this.


Failed to run in Windows Server 2016

Describe the bug
f3d 1.2.1 crashes every time, with or without input file.
To Reproduce
after install f3d, run these command to see the error:
user@EC2AMAZ-9D73J1O MINGW64 ~/Downloads
$ f3d --input WaterBottle.glb --output w.png --dry-run > f3d.log 2>&1
Segmentation fault

user@EC2AMAZ-9D73J1O MINGW64 ~/Downloads
$ cat f3d.log
ERROR: In D:\a\f3d\f3d\dependencies\vtk\Rendering\OpenGL2\vtkWin32OpenGLRenderWindow.cxx, line 680
vtkWin32OpenGLRenderWindow (000002D045EA90D0): failed to get wglChoosePixelFormatARB

ERROR: In D:\a\f3d\f3d\dependencies\vtk\Rendering\OpenGL2\vtkWin32OpenGLRenderWindow.cxx, line 758
vtkWin32OpenGLRenderWindow (000002D045EA90D0): failed to get valid pixel format.

ERROR: In D:\a\f3d\f3d\dependencies\vtk\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 511
vtkWin32OpenGLRenderWindow (000002D045EA90D0): GLEW could not be initialized: Missing GL version

System Information:

OS: Windows Server 2016
GPU and GPU driver: NVIDIA T4 GPUs

F3D Information
Paste the content of f3d --version:
1.2.1

Windows Server is running headless and F3D needs a graphical server to render anything. You need to run a graphical server or to build VTK with OSMesa and build F3D against this VTK. This is not something that F3D dev team will fix imo. We would basically needs to provided a OSMesa specific binary, and this is outside of the scope of F3D I believe.
Wdyt @Meakk ?

You have to find how to support OpenGL in Windows Server. It looks like it's possible: https://social.technet.microsoft.com/wiki/contents/articles/31771.server-2016-experience-guide-enabling-opengl-support-for-vgpu.aspx
Alternatively, you have to build VTK with OSMesa or EGL (I'm not sure it's possible on Windows though). But I agree with @mwestphal, I don't think we will provide headless binaries anytime soon.

Closing this then.

I just read through the post of https://social.technet.microsoft.com/wiki/contents/articles/31771.server-2016-experience-guide-enabling-opengl-support-for-vgpu.aspx, but I couldn't find "Physical GPUs" under "HyperV Settings" of  "HyperV Manager".
I am using Amazon EC2 gd4n instance, which has a TESLA GPU driver and I am using the remote desktop, so this is not a headless server.
I understand it's not an easy task to get it up and run. I'll spend a little more time here, in case I can get it up and run I'll update it here.

Have you tried the recommendation from the troubleshooting section?

OpenGL applications like F3D can have issues when launched from a guest Windows because the access to the GPU is restricted. You can try to use a software implementation of OpenGL, called Mesa.

Download the latest release-msvc.
copy x64/OpenGL32.dll and x64/libglapi.dll in the same folder as f3d.exe.
set the environment variable MESA_GL_VERSION_OVERRIDE to 4.5.
run f3d.exe.

@Meakk in this AWS g4dn ec2 server, most of the desktop software can use the TESLA GPU without any issue. So I think there should be no restriction of using the GPU card. Also if I install Mesa, does it mean I can only use CPU for rendering? The speed should be very slow considering I am trying to rendering every angle of the model then generate a video of the model.

I'd like to report that after using Mesa, f3d runs without any problem. However, besides the two mentioned DLL file, I have to copy another one libgallium_wgl.dll as well to make f3d run. So according to my experience, these 3 are required:
x64/OpenGL32.dll
x64/libglapi.dll
x64/libgallium_wgl.dll

Yes, indeed, the rendering will be slower, so consider it's only a workaround.
If you manage to use hardware rendering in the future, please document it in this issue page. Thanks!


Add README section for common problems

Fixes #169

Current coverage is 88.08% (diff: 100%)

Merging #198 into master will not change coverage

@@             master       #198   diff @@
==========================================
  Files             4          4
  Lines           596        596
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            525        525
  Misses           71         71
  Partials          0          0

Powered by Codecov. Last update 5f63476...80c5f0c


Boolean Operations [WIP]

I needed to port these operations from RAC 2.x to RAC 4 in a project I'm currently working and thought it might be nice to have them "back" in the framework. I'm not sure right now how's the current state in Reactive Cocoa in regards to adding new features ( https://github.com/ReactiveCocoa/ReactiveCocoa/issues/2075#issuecomment-109792304 - still valid vor 4.0 I guess?) thats why I've opened this PR here.
If you think thats cool, I would also add all the necessary overloads for and and or for

extension SignalType where T == (Bool, Bool, Bool)
extension SignalType where T == (Bool, Bool, Bool, Bool)
...

up to tuples of 10 Bools to match up the combineLatest overloads in RAC.

IMO this is too specific for RAC proper and I'm hesitant about adding it here too. I'm worried this may obscure code where a simple map will work just fine. This will also increase the number of signals in a chain which has lead to perf issues in the past.
Ideally, I'd like to keep this library to things that are hard to get "right" or have other obvious benefits. I'm not sure these operators fit the bill. Maybe if you have a real-world example showcasing the benefit I could be convinced.

Maybe if you have a real-world example showcasing the benefit I could be convinced.

I'm currently using these operators a lot in my viewModels and views e.g.:
input.valid <~ combineLatest(usernameValid.producer, passwordValid.producer).and()
instead of
input.valid <~ combineLatest(usernameValid.producer, passwordValid.producer).map{$0 && $1}
or
imageViewHiddenProperty <~ viewModel.hasImage.producer.not()
instead of
imageViewHiddenProperty <~ viewModel.hasImage.producer.map{ !$0 }
I prefer these operators over using map because its just a little bit more concise for common (at least for me) cases.

This will also increase the number of signals in a chain which has lead to perf issues in the past.

Hm, isn't it the same when using map instead?
Anyway, if you don't think these should be included here because they are simple anyway thats fine for me, I just thought it might be appropriate to include them since they have been in RAC 2 as well.

This will also increase the number of signals in a chain which has lead to perf issues in the past.
Hm, isn't it the same when using map instead?
You still had to use combineLatest to tuple-ize the values. Usually, there will be a map already in the chain that you can leverage.

Your example has given me an idea about how we could do something interesting for PropertyType. I'm going to experiment and open a new PR.

My idea above is to essentially create a PredicateProperty. Basically NSCompoundPredicate to start offering and, or, and not for PropertyType where Value: Boolean. This would retain the laziness of properties. You wouldn't have to extract the producer to operate on it just to repack into another property.

Cool,

This would retain the laziness of properties. You wouldn't have to extract the producer to operate on it just to repack into another property.

This sounds like a big win :+1:
So I'm closing this and I'm excited to see what you come up with!


[Transaction] Add transaction log key and transaction log value

Motivation
Transaction log key and value are the preconditions of the transaction log.
The transaction log key will be encoded to bytes and set in message key bytes.
The transaction log value will be encoded to bytes and set in message value bytes.

Could you explain where will the transaction log key/value be used?

Could you explain where will the transaction log key/value be used?

The transaction log key is used to store the transactional id, the transaction log value is used to store the transaction metadata, such as state, topic partitions, start time, etc. If the broker stopped or crashed, we could recover the transaction metadata from the transaction log.
I'll add the store&recover logic in another PR.


Feature/robot  automation cleanup

Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata

Looks like Add Existing Contact to Existing Household through Manage Household Page is still failing sometimes. Can we at least mark it unstable for now?

@davisagli want to give 1 last try before i mark it as unstable


Fix check for new title

(class name change)

Please don't waste others' time by asking for reviews of trivial PRs like this. Just accept them yourself.


feat: add github app auth to git-sync api

This change adds support for a new git-sync auth type named githubapp. The auth type maps GitHub App configuration from the Secret referenced by secretRef to environment variables in the git-sync container. The git-sync version is upgraded to a new version that supports these new environment variables and GitHub app based authentication.

/test all

/test all

/test all

/assign @nan-yu

/hold
Wait until 1.19 release branch is cut.


can this model be used for image classification tasks?

like training the times series data, then inference the classification result.

For image classification and vision-based application, i like to share a relevant paper:

Paper: https://arxiv.org/abs/2406.04303
Codebase: https://github.com/nx-ai/vision-lstm

I'm currently short on time due to some prior commitments, but you are welcome to share any relevant PR based on your experiments.

ok, thank you!

For image classification and vision-based application, i like to share a relevant paper:

Paper: https://arxiv.org/abs/2406.04303
Codebase: https://github.com/nx-ai/vision-lstm

I'm currently short on time due to some prior commitments, but you are welcome to share any relevant PR based on your experiments.

ok,thank you!

So is this model not applicable to feature processing of images?I have two models and would like to use this model for a second stage model to further process the features obtained from the first model.


pushnotificationRegistration

What is the issue?
i am registering pushnotification everytime application open like below.
var regListener: PushNotificationRegistrationListener = object : PushNotificationRegistrationListener {
    override fun onSuccessfulRegistration() {
        Log.e("MainMenu","REGISTRATION SUCCESSFUL!!! YEEEEEHAWWWWW!")

    }

    override fun onFailedRegistration(statusCode: Int, response: String) {
        Log.e("MainMenu","REGISTRATION Failed ")
    }
}

should i register everytime or not.?
...
Is it a crash report? Submit stack traces or anything that you think would help
...
Any improvements you suggest
...

CC @pusher/mobile

That's correct, yes.


[BUG] Import workflow

I want to copy the workflow from project a to b，when i import the json profile , display success ,but not found the workflow
and i have found this question
in the json profile ,'projectname'  limit the project name, need to modify the value

which ds version ?

Versions below 1.2.1 only support importing workflows in the same project

哪个ds版本？

1.2.0
And it can be imported ,just need to modify the value in the download *.json 'projectname'

Yes, this is a solution, the import workflow between different projects will be optimized later

Yes, this is a solution, the import workflow between different projects will be optimized later

ok , should i close the issue?

You can close it, it will be resolved in the next version


[Improvement] Fix Copyright year to be dynamic in Contacts card [GSSoC'23]

Issue Description
The copyright year is hardcoded
Expected Behavior
The Year should dynamically update to the current year in the contacts section.
Current Behavior
The copyright section still has the year 2021 in it.

I would like to work on this issue. So please assign me this under GSSoC'23.
Thanks in advance.
Regards,
Jeyavishnu @vishnu9865

okay you can work on it. assigned

@varun-singhh Thank you for assigning me.
😊👍


fix(quote): added hang to component

Related Ticket(s)
#5433
Description
I've updated the styles for DDSQuote so the component matches the design specs with the hang in the quote mark and line.
Before:

After:

Almost! Need to move to the right 1 more column:
Current quote start on column 5:

Expecting quote to start on column 6:

@shixiedesign I've updated the story, so the Quote component starts on column 6 now.

Also noticed Callout component could need some update to maintain the changing quote.

@RaphaelAmadeu Did you maybe create this PR off the wrong branch? There are a lot of offline tarballs included.


Fix more avatar live-update stuff.

Automated message from Dropbox CLA bot
@showell, it looks like you've already signed the Dropbox CLA. Thanks!

This looks great, merged, thanks @showell!


⚠ Secret Website 2 has degraded performance

In 4621716, Secret Website 2 ($SECRET_WEBSITE_2) experienced degraded performance:

HTTP code: 200
Response time: 8681 ms

Resolved: Secret Website 2 performance has improved in 4427762.


pletFields should take type-level list of fields to bind

https://github.com/Plutonomicon/plutarch/pull/181#discussion_r791637577
This would make it the interface efficient as it can be AFAICT.

I think I have an idea of how to do this, let me give it a go

@t1lde One (perhaps unfortunate) thing to take into account is that exposing the fields with HasField doesn't give warnings for when you don't use the fields. It's perhaps best to give the user the HRec and have them pattern match on it completely as Labeled @"field" field, which albeit unfortunate, AFAICT is the only way to give proper warnings for unused fields.

That doesn't seem worth it to me, As long as the docs make it clear how to use it efficiently IMO convenience overrules

Sure.

It would be amazing if GHC could somehow infer the type level list from how we use it, but I don't think that's possible.


improve Unittests

This will add missing unittests and exclude dynamic generated type classes from code coverage.
If #65 is merged I will add the test for __toString - if not done already in mentioned PR.

Thanks!

@freekmurze can you pls stop https://scrutinizer-ci.com/g/spatie/schema-org/inspections/5bc46fad-3b60-483a-8b84-30d98d19ca8a - it will never finish by itself and blocks the new PR.


Dependencies conflict

Already installed in my env pip, torch-2.1.0+cu118
CUDA_HOME exists, and nvcc is 11.8.
However, I'm getting this error when running pip install -r requirements.txt
...
Collecting deepspeed==0.14.1 (from -r requirements.txt (line 11))
Using cached deepspeed-0.14.1.tar.gz (1.3 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
C:\Users\User\anaconda3\envs\imag\lib\site-packages\torch\nn\modules\transformer.py:20: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:84.)
device: torch.device = torch.device(torch._C._get_default_device()),  # torch.device('cpu'),
test.c
LINK : fatal error LNK1181: no se puede abrir el archivo de entrada 'aio.lib'
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\User\AppData\Local\Temp\pip-install-z97g9w67\deepspeed_c6daba0ee84e4b7a8ea423e02b7a709f\setup.py", line 180, in
abort(f"Unable to pre-compile {op_name}")
File "C:\Users\User\AppData\Local\Temp\pip-install-z97g9w67\deepspeed_c6daba0ee84e4b7a8ea423e02b7a709f\setup.py", line 52, in abort
assert False, msg
AssertionError: Unable to pre-compile async_io
DS_BUILD_OPS=1
[WARNING]  async_io requires the dev libaio .so object and headers but these were not found.
[WARNING]  If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
[WARNING]  One can disable async_io with DS_BUILD_AIO=0
[ERROR]  Unable to pre-compile async_io
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

I tried to manually install deepspeed==0.14.1., but still get a lot of dependencies conflicts.

If you just want to try our model, you don't need to install deepseed, and installing deepseed on Unbuntu may be the preferred option.


Test error with Python3.10

Bug
There is a bug report against the Debian packaged version which is about the distutils usage.  I simply removed that test in a patch.  Unfortunately when I try to build the package now there are some new errors arising.
In case you can not reproduce this with Python3.10 I can sent a full build log.
Kind regards, Andreas.

This was fixed in #2885 and will be released in v1.9 (which should be released today).
These warnings are also muted by setup.cfg.


da.interp() does not allow extrapolation

I used da.interp() to interpolate from one vertical coordinate to another. The target coordinate has points that lie outside the source coordinate. scipy.interpolate.interp1d() extrapolates such points if fill_value=None.
However, da.interp() sets such points to NaN even if fill_value=None. After some source code digging I found the following behavior in ScipyInterpolator(BaseInterpolator):
...
        if fill_value is None and method == 'linear':
            fill_value = np.nan, np.nan
        elif fill_value is None:
            fill_value = np.nan

        self.f = interp1d(xi, yi, kind=self.method, fill_value=fill_value,
                          bounds_error=False, assume_sorted=assume_sorted,
                          copy=copy, **self.cons_kwargs)

Why does xarray not allow the user to extrapolate?

According to https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.interp1d.html you need to set fill_value='extrapolate'?

Thanks, I looked at an old scipy version. This solved the problem.


Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

[image: Screen Shot 2021-01-06 at 11.51.32 AM.png]
On Wed, 6 Jan 2021 at 11:38, Muhammed Nazil<EMAIL_ADDRESS>wrote:

I just need to store 2 models and retrieve the data from it when there is
no internet. If you dont mind pls help me i am stuck on it for a couple of
days.
On Wed, 6 Jan 2021 at 11:30, Muhammed Nazil<EMAIL_ADDRESS>wrote:

import 'package:mytableqatar/data/model/completed_history_model.dart';
import 'package:mytableqatar/data/model/upcoming_history_model.dart';
import 'package:hive/hive.dart';
part 'history.g.dart';
@HiveType(typeId: 2)
class History extends HiveObject{
@HiveField(0)
final List<Map<String, dynamic>> _upComingHistoryRecord;
@HiveField(1)
final List<Map<String, dynamic>> _completedHistoryRecord;
History(
this._upComingHistoryRecord,
this._completedHistoryRecord,
) : assert(_upComingHistoryRecord != null, '_upComingHistoryRecord cannot be null.'),
assert(_completedHistoryRecord != null, '_completedHistoryRecord cannot be null.');
List get upComingHistoryRecord {
return _upComingHistoryRecord.map((value) => UpComingHistoryRecord.fromJson(value)).toList();
}
List get completedHistoryRecord {
return _completedHistoryRecord.map((value) => CompletedHistoryRecord.fromJson(value)).toList();
}
}
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'history.dart';
// **************************************************************************
// TypeAdapterGenerator
// **************************************************************************
class HistoryAdapter extends TypeAdapter {
@override
final int typeId = 2;
@override
History read(BinaryReader reader) {
final numOfFields = reader.readByte();
final fields = <int, dynamic>{
for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
};
return History(
(fields[0] as List)?.cast<Map<String, dynamic>>(),
(fields[1] as List)?.cast<Map<String, dynamic>>(),
);
}
@override
void write(BinaryWriter writer, History obj) {
writer
..writeByte(2)
..writeByte(0)
..write(obj._upComingHistoryRecord)
..writeByte(1)
..write(obj._completedHistoryRecord);
}
@override
int get hashCode => typeId.hashCode;
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is HistoryAdapter &&
runtimeType == other.runtimeType &&
typeId == other.typeId;
}
Can metion the changes
On Wed, 6 Jan 2021 at 09:26, Misir Jafarov<EMAIL_ADDRESS>wrote:

Unfortunately dart is not good at handling generic types like List<Map<String,
dynamic>>. It's not related to hive itself but dart.
You can store List then cast it to Map<dynamic, dynamic> then
cast items into <String, dynamic>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hivedb/hive/issues/530#issuecomment-755110043, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJOPUFFNNNCSQBFRY3E7BSTSYP7C3ANCNFSM4VPOAP2A
.

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

the values are there is box
On Wed, 6 Jan 2021 at 11:51, Muhammed Nazil<EMAIL_ADDRESS>wrote:

[image: Screen Shot 2021-01-06 at 11.51.32 AM.png]
On Wed, 6 Jan 2021 at 11:38, Muhammed Nazil<EMAIL_ADDRESS>wrote:

I just need to store 2 models and retrieve the data from it when there is
no internet. If you dont mind pls help me i am stuck on it for a couple of
days.
On Wed, 6 Jan 2021 at 11:30, Muhammed Nazil<EMAIL_ADDRESS>wrote:

import 'package:mytableqatar/data/model/completed_history_model.dart';
import 'package:mytableqatar/data/model/upcoming_history_model.dart';
import 'package:hive/hive.dart';
part 'history.g.dart';
@HiveType(typeId: 2)
class History extends HiveObject{
@HiveField(0)
final List<Map<String, dynamic>> _upComingHistoryRecord;
@HiveField(1)
final List<Map<String, dynamic>> _completedHistoryRecord;
History(
this._upComingHistoryRecord,
this._completedHistoryRecord,
) : assert(_upComingHistoryRecord != null, '_upComingHistoryRecord cannot be null.'),
assert(_completedHistoryRecord != null, '_completedHistoryRecord cannot be null.');
List get upComingHistoryRecord {
return _upComingHistoryRecord.map((value) => UpComingHistoryRecord.fromJson(value)).toList();
}
List get completedHistoryRecord {
return _completedHistoryRecord.map((value) => CompletedHistoryRecord.fromJson(value)).toList();
}
}
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'history.dart';
// **************************************************************************
// TypeAdapterGenerator
// **************************************************************************
class HistoryAdapter extends TypeAdapter {
@override
final int typeId = 2;
@override
History read(BinaryReader reader) {
final numOfFields = reader.readByte();
final fields = <int, dynamic>{
for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
};
return History(
(fields[0] as List)?.cast<Map<String, dynamic>>(),
(fields[1] as List)?.cast<Map<String, dynamic>>(),
);
}
@override
void write(BinaryWriter writer, History obj) {
writer
..writeByte(2)
..writeByte(0)
..write(obj._upComingHistoryRecord)
..writeByte(1)
..write(obj._completedHistoryRecord);
}
@override
int get hashCode => typeId.hashCode;
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is HistoryAdapter &&
runtimeType == other.runtimeType &&
typeId == other.typeId;
}
Can metion the changes
On Wed, 6 Jan 2021 at 09:26, Misir Jafarov<EMAIL_ADDRESS>wrote:

Unfortunately dart is not good at handling generic types like List<Map<String,
dynamic>>. It's not related to hive itself but dart.
You can store List then cast it to Map<dynamic, dynamic> then
cast items into <String, dynamic>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hivedb/hive/issues/530#issuecomment-755110043, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJOPUFFNNNCSQBFRY3E7BSTSYP7C3ANCNFSM4VPOAP2A
.

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

the values are there is box
On Wed, 6 Jan 2021 at 11:51, Muhammed Nazil<EMAIL_ADDRESS>wrote:

[image: Screen Shot 2021-01-06 at 11.51.32 AM.png]
On Wed, 6 Jan 2021 at 11:38, Muhammed Nazil<EMAIL_ADDRESS>wrote:

I just need to store 2 models and retrieve the data from it when there is
no internet. If you dont mind pls help me i am stuck on it for a couple of
days.
On Wed, 6 Jan 2021 at 11:30, Muhammed Nazil<EMAIL_ADDRESS>wrote:

import 'package:mytableqatar/data/model/completed_history_model.dart';
import 'package:mytableqatar/data/model/upcoming_history_model.dart';
import 'package:hive/hive.dart';
part 'history.g.dart';
@HiveType(typeId: 2)
class History extends HiveObject{
@HiveField(0)
final List<Map<String, dynamic>> _upComingHistoryRecord;
@HiveField(1)
final List<Map<String, dynamic>> _completedHistoryRecord;
History(
this._upComingHistoryRecord,
this._completedHistoryRecord,
) : assert(_upComingHistoryRecord != null, '_upComingHistoryRecord cannot be null.'),
assert(_completedHistoryRecord != null, '_completedHistoryRecord cannot be null.');
List get upComingHistoryRecord {
return _upComingHistoryRecord.map((value) => UpComingHistoryRecord.fromJson(value)).toList();
}
List get completedHistoryRecord {
return _completedHistoryRecord.map((value) => CompletedHistoryRecord.fromJson(value)).toList();
}
}
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'history.dart';
// **************************************************************************
// TypeAdapterGenerator
// **************************************************************************
class HistoryAdapter extends TypeAdapter {
@override
final int typeId = 2;
@override
History read(BinaryReader reader) {
final numOfFields = reader.readByte();
final fields = <int, dynamic>{
for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
};
return History(
(fields[0] as List)?.cast<Map<String, dynamic>>(),
(fields[1] as List)?.cast<Map<String, dynamic>>(),
);
}
@override
void write(BinaryWriter writer, History obj) {
writer
..writeByte(2)
..writeByte(0)
..write(obj._upComingHistoryRecord)
..writeByte(1)
..write(obj._completedHistoryRecord);
}
@override
int get hashCode => typeId.hashCode;
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is HistoryAdapter &&
runtimeType == other.runtimeType &&
typeId == other.typeId;
}
Can metion the changes
On Wed, 6 Jan 2021 at 09:26, Misir Jafarov<EMAIL_ADDRESS>wrote:

Unfortunately dart is not good at handling generic types like List<Map<String,
dynamic>>. It's not related to hive itself but dart.
You can store List then cast it to Map<dynamic, dynamic> then
cast items into <String, dynamic>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hivedb/hive/issues/530#issuecomment-755110043, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJOPUFFNNNCSQBFRY3E7BSTSYP7C3ANCNFSM4VPOAP2A
.

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

Could you try to modify your class like that:
@HiveType(typeId: 2)
class History extends HiveObject{
  @HiveField(0)
  final List<dynamic> _upComingHistoryRecord;
  @HiveField(1)
  final List<dynamic> _completedHistoryRecord;

  History(
      this._upComingHistoryRecord,
      this._completedHistoryRecord,
      ) : assert(_upComingHistoryRecord != null,
'_upComingHistoryRecord cannot be null.'),
        assert(_completedHistoryRecord != null,
'_completedHistoryRecord cannot be null.');

  List<UpComingHistoryRecord> get upComingHistoryRecord {
    return _upComingHistoryRecord.map((value) =>
UpComingHistoryRecord.fromJson(value as Map<String, dynamic>)).toList();
  }

  List<CompletedHistoryRecord> get completedHistoryRecord {
    return _completedHistoryRecord.map((value) =>
CompletedHistoryRecord.fromJson(value as Map<String, dynamic>)).toList();
  }
}

Could you try to modify your class like that:
@HiveType(typeId: 2)
class History extends HiveObject{
  @HiveField(0)
  final List<dynamic> _upComingHistoryRecord;
  @HiveField(1)
  final List<dynamic> _completedHistoryRecord;

  History(
      this._upComingHistoryRecord,
      this._completedHistoryRecord,
      ) : assert(_upComingHistoryRecord != null,
'_upComingHistoryRecord cannot be null.'),
        assert(_completedHistoryRecord != null,
'_completedHistoryRecord cannot be null.');

  List<UpComingHistoryRecord> get upComingHistoryRecord {
    return _upComingHistoryRecord.map((value) =>
UpComingHistoryRecord.fromJson(value as Map<String, dynamic>)).toList();
  }

  List<CompletedHistoryRecord> get completedHistoryRecord {
    return _completedHistoryRecord.map((value) =>
CompletedHistoryRecord.fromJson(value as Map<String, dynamic>)).toList();
  }
}

Same error pls subject another way pls
On Wed, 6 Jan 2021 at 12:04, Misir Jafarov<EMAIL_ADDRESS>wrote:

Could you try to modify your class like that:
@HiveType(typeId: 2)class History extends HiveObject{
@HiveField(0)
final List _upComingHistoryRecord;
@HiveField(1)
final List _completedHistoryRecord;
History(
this._upComingHistoryRecord,
this._completedHistoryRecord,
) : assert(_upComingHistoryRecord != null,'_upComingHistoryRecord cannot be null.'),
assert(_completedHistoryRecord != null,'_completedHistoryRecord cannot be null.');
List get upComingHistoryRecord {
return _upComingHistoryRecord.map((value) =>UpComingHistoryRecord.fromJson(value as Map<String, dynamic>)).toList();
}
List get completedHistoryRecord {
return _completedHistoryRecord.map((value) =>CompletedHistoryRecord.fromJson(value as Map<String, dynamic>)).toList();
}
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hivedb/hive/issues/530#issuecomment-755176221, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJOPUFAXATXPGUKHDLA7NNDSYQRSPANCNFSM4VPOAP2A
.

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

Same error pls subject another way pls
On Wed, 6 Jan 2021 at 12:04, Misir Jafarov<EMAIL_ADDRESS>wrote:

Could you try to modify your class like that:
@HiveType(typeId: 2)class History extends HiveObject{
@HiveField(0)
final List _upComingHistoryRecord;
@HiveField(1)
final List _completedHistoryRecord;
History(
this._upComingHistoryRecord,
this._completedHistoryRecord,
) : assert(_upComingHistoryRecord != null,'_upComingHistoryRecord cannot be null.'),
assert(_completedHistoryRecord != null,'_completedHistoryRecord cannot be null.');
List get upComingHistoryRecord {
return _upComingHistoryRecord.map((value) =>UpComingHistoryRecord.fromJson(value as Map<String, dynamic>)).toList();
}
List get completedHistoryRecord {
return _completedHistoryRecord.map((value) =>CompletedHistoryRecord.fromJson(value as Map<String, dynamic>)).toList();
}
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hivedb/hive/issues/530#issuecomment-755176221, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJOPUFAXATXPGUKHDLA7NNDSYQRSPANCNFSM4VPOAP2A
.

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

historyBox.add(History(_upComingHistoryRecord.map((value) =>
value.toJson()).toList(),_completedHistoryRecord.map((value) =>
value.toJson()).toList(),));
import 'package:mytableqatar/data/model/completed_history_model.dart';
import 'package:mytableqatar/data/model/upcoming_history_model.dart';
import 'package:hive/hive.dart';
part 'history.g.dart';
@HiveType(typeId: 2)
class History extends HiveObject{
@HiveField(0)
final List _upComingHistoryRecord;
@HiveField(1)
final List _completedHistoryRecord;
History(
this._upComingHistoryRecord,
this._completedHistoryRecord,
) : assert(_upComingHistoryRecord != null,
'_upComingHistoryRecord cannot be null.'),
assert(_completedHistoryRecord != null,
'_completedHistoryRecord cannot be null.');
List get upComingHistoryRecord {
return _upComingHistoryRecord.map((value) =>
UpComingHistoryRecord.fromJson(value as Map<String, dynamic>)).toList();
}
List get completedHistoryRecord {
return _completedHistoryRecord.map((value) =>
CompletedHistoryRecord.fromJson(value as Map<String,
dynamic>)).toList();
}
}
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'history.dart';
// **************************************************************************
// TypeAdapterGenerator
// **************************************************************************
class HistoryAdapter extends TypeAdapter {
@override
final int typeId = 2;
@override
History read(BinaryReader reader) {
final numOfFields = reader.readByte();
final fields = <int, dynamic>{
for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
};
return History(
(fields[0] as List)?.cast<Map<String, dynamic>>(),
(fields[1] as List)?.cast<Map<String, dynamic>>(),
);
}
@override
void write(BinaryWriter writer, History obj) {
writer
..writeByte(2)
..writeByte(0)
..write(obj._upComingHistoryRecord)
..writeByte(1)
..write(obj._completedHistoryRecord);
}
@override
int get hashCode => typeId.hashCode;
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is HistoryAdapter &&
runtimeType == other.runtimeType &&
typeId == other.typeId;
}
final historyList = historyBox.values.toList();
final history = historyList.first; // same as calling list[0]
final a = history.completedHistoryRecord;
final ab = history.upComingHistoryRecord;
the items are there in history list i just want to get it seperate thats all
On Wed, 6 Jan 2021 at 12:17, Muhammed Nazil<EMAIL_ADDRESS>wrote:

Same error pls subject another way pls
On Wed, 6 Jan 2021 at 12:04, Misir Jafarov<EMAIL_ADDRESS>wrote:

Could you try to modify your class like that:
@HiveType(typeId: 2)class History extends HiveObject{
@HiveField(0)
final List _upComingHistoryRecord;
@HiveField(1)
final List _completedHistoryRecord;
History(
this._upComingHistoryRecord,
this._completedHistoryRecord,
) : assert(_upComingHistoryRecord != null,'_upComingHistoryRecord cannot be null.'),
assert(_completedHistoryRecord != null,'_completedHistoryRecord cannot be null.');
List get upComingHistoryRecord {
return _upComingHistoryRecord.map((value) =>UpComingHistoryRecord.fromJson(value as Map<String, dynamic>)).toList();
}
List get completedHistoryRecord {
return _completedHistoryRecord.map((value) =>CompletedHistoryRecord.fromJson(value as Map<String, dynamic>)).toList();
}
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hivedb/hive/issues/530#issuecomment-755176221, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJOPUFAXATXPGUKHDLA7NNDSYQRSPANCNFSM4VPOAP2A
.

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

historyBox.add(History(_upComingHistoryRecord.map((value) =>
value.toJson()).toList(),_completedHistoryRecord.map((value) =>
value.toJson()).toList(),));
import 'package:mytableqatar/data/model/completed_history_model.dart';
import 'package:mytableqatar/data/model/upcoming_history_model.dart';
import 'package:hive/hive.dart';
part 'history.g.dart';
@HiveType(typeId: 2)
class History extends HiveObject{
@HiveField(0)
final List _upComingHistoryRecord;
@HiveField(1)
final List _completedHistoryRecord;
History(
this._upComingHistoryRecord,
this._completedHistoryRecord,
) : assert(_upComingHistoryRecord != null,
'_upComingHistoryRecord cannot be null.'),
assert(_completedHistoryRecord != null,
'_completedHistoryRecord cannot be null.');
List get upComingHistoryRecord {
return _upComingHistoryRecord.map((value) =>
UpComingHistoryRecord.fromJson(value as Map<String, dynamic>)).toList();
}
List get completedHistoryRecord {
return _completedHistoryRecord.map((value) =>
CompletedHistoryRecord.fromJson(value as Map<String,
dynamic>)).toList();
}
}
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'history.dart';
// **************************************************************************
// TypeAdapterGenerator
// **************************************************************************
class HistoryAdapter extends TypeAdapter {
@override
final int typeId = 2;
@override
History read(BinaryReader reader) {
final numOfFields = reader.readByte();
final fields = <int, dynamic>{
for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
};
return History(
(fields[0] as List)?.cast<Map<String, dynamic>>(),
(fields[1] as List)?.cast<Map<String, dynamic>>(),
);
}
@override
void write(BinaryWriter writer, History obj) {
writer
..writeByte(2)
..writeByte(0)
..write(obj._upComingHistoryRecord)
..writeByte(1)
..write(obj._completedHistoryRecord);
}
@override
int get hashCode => typeId.hashCode;
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is HistoryAdapter &&
runtimeType == other.runtimeType &&
typeId == other.typeId;
}
final historyList = historyBox.values.toList();
final history = historyList.first; // same as calling list[0]
final a = history.completedHistoryRecord;
final ab = history.upComingHistoryRecord;
the items are there in history list i just want to get it seperate thats all
On Wed, 6 Jan 2021 at 12:17, Muhammed Nazil<EMAIL_ADDRESS>wrote:

Same error pls subject another way pls
On Wed, 6 Jan 2021 at 12:04, Misir Jafarov<EMAIL_ADDRESS>wrote:

Could you try to modify your class like that:
@HiveType(typeId: 2)class History extends HiveObject{
@HiveField(0)
final List _upComingHistoryRecord;
@HiveField(1)
final List _completedHistoryRecord;
History(
this._upComingHistoryRecord,
this._completedHistoryRecord,
) : assert(_upComingHistoryRecord != null,'_upComingHistoryRecord cannot be null.'),
assert(_completedHistoryRecord != null,'_completedHistoryRecord cannot be null.');
List get upComingHistoryRecord {
return _upComingHistoryRecord.map((value) =>UpComingHistoryRecord.fromJson(value as Map<String, dynamic>)).toList();
}
List get completedHistoryRecord {
return _completedHistoryRecord.map((value) =>CompletedHistoryRecord.fromJson(value as Map<String, dynamic>)).toList();
}
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hivedb/hive/issues/530#issuecomment-755176221, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJOPUFAXATXPGUKHDLA7NNDSYQRSPANCNFSM4VPOAP2A
.

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

Try this for the getters:
List<CompletedHistoryRecord> get completedHistoryRecord {
  final output = Map<String, dynamic>[];
  _completedHistoryRecord.forEach((value) {
    final historyRecord = value as Map<dynamic, dynamic>;
    output.add(historyRecord as Map<String, dynamic>);
  });
  return output;
}

Do the same for UpComing.
Btw, your problem is not with Hive anymore, the errors you're getting are from dart...

Try this for the getters:
List<CompletedHistoryRecord> get completedHistoryRecord {
  final output = Map<String, dynamic>[];
  _completedHistoryRecord.forEach((value) {
    final historyRecord = value as Map<dynamic, dynamic>;
    output.add(historyRecord as Map<String, dynamic>);
  });
  return output;
}

Do the same for UpComing.
Btw, your problem is not with Hive anymore, the errors you're getting are from dart...

Thanks for helping me. really from the bottom of my heart.
I just created a separate  model and loaded it.
but we should find a proper way for these situations.
Thanks for your help with everything.
Note : I am not going to stop texting you guys.
On Wed, 6 Jan 2021 at 13:26, Matheus H. Baumgarten<EMAIL_ADDRESS>wrote:

Try this for the getters:
List get completedHistoryRecord {
final output = Map<String, dynamic>[];
_completedHistoryRecord.forEach((value) {
final historyRecord = value as Map<dynamic, dynamic>;
output.add(historyRecord as Map<String, dynamic>);
});
return output;
}
Do the same for UpComing.
Btw, your problem is not with Hive anymore, the errors you're getting are
from dart...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hivedb/hive/issues/530#issuecomment-755217395, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJOPUFBC6ROZMMWDOFGCB53SYQ3F5ANCNFSM4VPOAP2A
.

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in

Thanks for helping me. really from the bottom of my heart.
I just created a separate  model and loaded it.
but we should find a proper way for these situations.
Thanks for your help with everything.
Note : I am not going to stop texting you guys.
On Wed, 6 Jan 2021 at 13:26, Matheus H. Baumgarten<EMAIL_ADDRESS>wrote:

Try this for the getters:
List get completedHistoryRecord {
final output = Map<String, dynamic>[];
_completedHistoryRecord.forEach((value) {
final historyRecord = value as Map<dynamic, dynamic>;
output.add(historyRecord as Map<String, dynamic>);
});
return output;
}
Do the same for UpComing.
Btw, your problem is not with Hive anymore, the errors you're getting are
from dart...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hivedb/hive/issues/530#issuecomment-755217395, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJOPUFBC6ROZMMWDOFGCB53SYQ3F5ANCNFSM4VPOAP2A
.

--
Best wishes and regards.
Muhammed Nazil
MBA Information System |Mobile App Developer
Phone India: +91-8606012222
Phone Qatar: +974-3124 4266
Web: https://nazil.in


Nautical Miles

From @pythiantech in https://github.com/rstudio/leaflet/issues/586

Is there any plan to add Nautical Miles as one of the primary length units in addMeasure()? Would be super useful for maritime applications.

I would also like to see this. I'd be tempted to submit a PR if i knew someone was still in charge of this project.


Port 3000

I have something that run on port 3000.
How or can we change the port with something else?

Modify the docker-compose.yml ports section to read
    ports:
      - "3001:3000"

The first port is the externally facing one, which maps through to 3000 inside the container.

In a recent commit, port 5173 was restored as the default, to maintain consistency with the upstream project,  and avoid exactly these kinds of conflicts.


Add stats for prod115 release

See title. /cc @sbesson

To be merged and tagged on Wednesday when releasing prod115


Issues with installation

I am trying to install it with composer and I am getting:
 [InvalidArgumentException]   Could not find a matching version of package rehan/laravel-notion-renderer. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (dev).
What could be the problem?

Try again, there is no problem with installing the package.
composer require rehankanak/laravel-notion-renderer


Updates an error message to be much more prominent

It now looks something like this:

I realised whilst looking at this that we probably shouldnt have that error message in bolt itself because it assumes the existance of changesets. Im happy to leave for now though until bolt has a blessed way of handling this (it'll be a minor text change).

Super small change so I'll merge tomorrow if you don't mind @jamiebuilds

@Noviny FYI, see above for fix to the issue you talked about, but also note that we probably want to change the messaging at some point

Fixes #181


i can't add api

Summary
I can't add apis for kong ;
when i do like that:

$ curl -i -X POST \
--url http://localhost:8001/apis/ \
--data 'name=example-api' \
--data 'hosts=example.com' \
--data 'upstream_url=http://httpbin.org'

it return:

curl: (52) Empty reply from server

Steps To Reproduce
Additional Details & Logs

Kong version  0.10.0

Kong debug-level startup logs ($ kong start --vv)
2017/03/24 09:53:58 [verbose] Kong: 0.10.0
2017/03/24 09:53:58 [debug] ngx_lua: 10007
2017/03/24 09:53:58 [debug] nginx: 1011002
2017/03/24 09:53:58 [debug] Lua: LuaJIT 2.1.0-beta2
2017/03/24 09:53:58 [verbose] reading config file at /etc/kong/kong.conf
2017/03/24 09:53:58 [debug] admin_listen = "<IP_ADDRESS>:8001"
2017/03/24 09:53:58 [debug] admin_listen_ssl = "<IP_ADDRESS>:8444"
2017/03/24 09:53:58 [debug] admin_ssl = true
2017/03/24 09:53:58 [debug] anonymous_reports = true
2017/03/24 09:53:58 [debug] cassandra_consistency = "ONE"
2017/03/24 09:53:58 [debug] cassandra_contact_points = {"<IP_ADDRESS>"}
2017/03/24 09:53:58 [debug] cassandra_data_centers = {"dc1:2","dc2:3"}
2017/03/24 09:53:58 [debug] cassandra_keyspace = "kong"
2017/03/24 09:53:58 [debug] cassandra_lb_policy = "RoundRobin"
2017/03/24 09:53:58 [debug] cassandra_port = 9042
2017/03/24 09:53:58 [debug] cassandra_repl_factor = 1
2017/03/24 09:53:58 [debug] cassandra_repl_strategy = "SimpleStrategy"
2017/03/24 09:53:58 [debug] cassandra_ssl = false
2017/03/24 09:53:58 [debug] cassandra_ssl_verify = false
2017/03/24 09:53:58 [debug] cassandra_timeout = 5000
2017/03/24 09:53:58 [debug] cassandra_username = "kong"
2017/03/24 09:53:58 [debug] cluster_listen = "<IP_ADDRESS>:7946"
2017/03/24 09:53:58 [debug] cluster_listen_rpc = "<IP_ADDRESS>:7373"
2017/03/24 09:53:58 [debug] cluster_profile = "wan"
2017/03/24 09:53:58 [debug] cluster_ttl_on_failure = 3600
2017/03/24 09:53:58 [debug] custom_plugins = {}
2017/03/24 09:53:58 [debug] database = "postgres"
2017/03/24 09:53:58 [debug] dns_hostsfile = "/etc/hosts"
2017/03/24 09:53:58 [debug] dns_resolver = {}
2017/03/24 09:53:58 [debug] log_level = "notice"
2017/03/24 09:53:58 [debug] lua_code_cache = "on"
2017/03/24 09:53:58 [debug] lua_package_cpath = ""
2017/03/24 09:53:58 [debug] lua_package_path = "?/init.lua;./kong/?.lua"
2017/03/24 09:53:58 [debug] lua_socket_pool_size = 30
2017/03/24 09:53:58 [debug] lua_ssl_verify_depth = 1
2017/03/24 09:53:58 [debug] mem_cache_size = "128m"
2017/03/24 09:53:58 [debug] nginx_daemon = "on"
2017/03/24 09:53:58 [debug] nginx_optimizations = true
2017/03/24 09:53:58 [debug] nginx_worker_processes = "auto"
2017/03/24 09:53:58 [debug] pg_database = "kong"
2017/03/24 09:53:58 [debug] pg_host = "<IP_ADDRESS>"
2017/03/24 09:53:58 [debug] pg_password = "******"
2017/03/24 09:53:58 [debug] pg_port = 5432
2017/03/24 09:53:58 [debug] pg_ssl = false
2017/03/24 09:53:58 [debug] pg_ssl_verify = false
2017/03/24 09:53:58 [debug] pg_user = "kong"
2017/03/24 09:53:58 [debug] prefix = "/usr/local/kong/"
2017/03/24 09:53:58 [debug] proxy_listen = "<IP_ADDRESS>:8000"
2017/03/24 09:53:58 [debug] proxy_listen_ssl = "<IP_ADDRESS>:8443"
2017/03/24 09:53:58 [debug] serf_path = "serf"
2017/03/24 09:53:58 [debug] ssl = true
2017/03/24 09:53:58 [debug] upstream_keepalive = 60
2017/03/24 09:53:58 [verbose] prefix in use: /usr/local/kong
2017/03/24 09:53:58 [verbose] preparing nginx prefix directory at /usr/local/kong
2017/03/24 09:53:58 [verbose] saving serf identifier to /usr/local/kong/serf/serf.id
2017/03/24 09:53:58 [debug] searching for OpenResty 'resty' executable
2017/03/24 09:53:58 [debug] /usr/local/openresty/bin/resty -V: 'nginx version: openresty/<IP_ADDRESS>'
2017/03/24 09:53:58 [debug] found OpenResty 'resty' executable at /usr/local/openresty/bin/resty
2017/03/24 09:53:58 [verbose] saving serf shell script handler to /usr/local/kong/serf/serf_event.sh
2017/03/24 09:53:58 [verbose] SSL enabled, no custom certificate set: using default certificate
2017/03/24 09:53:58 [verbose] default SSL certificate found at /usr/local/kong/ssl/kong-default.crt
2017/03/24 09:53:58 [verbose] Admin SSL enabled, no custom certificate set: using default certificate
2017/03/24 09:53:58 [verbose] admin SSL certificate found at /usr/local/kong/ssl/admin-kong-default.crt
2017/03/24 09:53:58 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n"
2017/03/24 09:54:02 [verbose] running datastore migrations
2017/03/24 09:54:02 [verbose] migrations up to date
2017/03/24 09:54:02 [verbose] serf agent not running, deleting /usr/local/kong/pids/serf.pid
2017/03/24 09:54:02 [debug] searching for 'serf' executable
2017/03/24 09:54:02 [debug] serf version: 'Serf v0.8.0'
2017/03/24 09:54:02 [debug] found 'serf' executable at serf
2017/03/24 09:54:02 [debug] starting serf agent: nohup serf agent -profile 'wan' -bind '<IP_ADDRESS>:7946' -log-level 'err' -rpc-addr '<IP_ADDRESS>:7373' -event-handler 'member-join,member-leave,member-failed,member-update,member-reap,user:kong=/usr/local/kong/serf/serf_event.sh' -node 'precise64_<IP_ADDRESS>:7946_f0140ec5a1164e108f7aa174530e0019' > /usr/local/kong/logs/serf.log 2>&1 & echo $! > /usr/local/kong/pids/serf.pid
2017/03/24 09:54:02 [verbose] waiting for serf agent to be running
2017/03/24 09:54:02 [debug] sending signal to pid at: /usr/local/kong/pids/serf.pid
2017/03/24 09:54:02 [debug] kill -0 cat /usr/local/kong/pids/serf.pid >/dev/null 2>&1
2017/03/24 09:54:02 [verbose] serf agent started
2017/03/24 09:54:02 [verbose] auto-joining serf cluster
2017/03/24 09:54:02 [verbose] no other nodes found in the cluster
2017/03/24 09:54:02 [verbose] registering serf node in datastore
2017/03/24 09:54:02 [verbose] cluster joined and node registered in datastore
2017/03/24 09:54:02 [debug] searching for OpenResty 'nginx' executable
2017/03/24 09:54:02 [debug] /usr/local/openresty/nginx/sbin/nginx -v: 'nginx version: openresty/<IP_ADDRESS>'
2017/03/24 09:54:02 [debug] found OpenResty 'nginx' executable at /usr/local/openresty/nginx/sbin/nginx
2017/03/24 09:54:02 [debug] starting nginx: /usr/local/openresty/nginx/sbin/nginx -p /usr/local/kong -c nginx.conf
2017/03/24 09:54:04 [debug] nginx started
2017/03/24 09:54:04 [info] Kong started

Kong error logs (<KONG_PREFIX>/logs/error.log)

Kong configuration (registered APIs/Plugins & configuration file)

Operating System
ubuntu12

works for me;
192:kong thijs$ curl -i -X POST \
> --url http://localhost:8001/apis/ \
> --data 'name=example-api' \
> --data 'hosts=example.com' \
> --data 'upstream_url=http://httpbin.org'
HTTP/1.1 201 Created
Date: Fri, 24 Mar 2017 09:57:32 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: false
Server: kong/0.10.0

{"http_if_terminated":true,"id":"b9ad1303-da55-42ff-a446-d9d69d7a37e5","retries":5,"preserve_host":false,"created_at":1490349452000,"upstream_connect_timeout":60000,"upstream_url":"http:\/\/httpbin.org","upstream_read_timeout":60000,"https_only":false,"upstream_send_timeout":60000,"strip_uri":true,"name":"example-api","hosts":["example.com"]}
192:kong thijs$

how did you install Kong?

@Tieske
$ kong health
serf........running
nginx.......running
Is this normal?

yep that's normal
You could try to explicitly set the admin_listen address to <IP_ADDRESS>:8001

@Tieske thank you for your help
i install the ubuntu and the kong again,the issuse is not exist.


Default retry for each scenario/feature

It would be nice to have option to set by default that scenario that fails will be retried given number of times.

Do you mean one specific scenario? Or all scenarii of your project?

Maybe I should have written every, yep I mean it would be nice to have an ability to set that by default every scenario in the project will be retried given number of times if fails instead of using  .retry() for a single scenario, or a feature.

Up - I also think this would be a nice feature to set up the .retry() as default for every scenario/feature - it will save us a lot of lines of code ;)