Ability to provide a topics pattern blacklist

Having the ability to specify a topics_pattern_blacklist as a new parameter could help in cases where you want to subscribe to all kafka topics on a given broker, except for those matching that given pattern.
For example, I have a situation where I have multiple logstash configs (1 config file per Elasticsearch type) that either use the topics or topics_pattern parameter, although I have a bunch of remaining Elasticsearch types that don't require any special processing.  We just accept the event as is and the resulting document in elasticsearch only has the message field.  Seeing that internal tenants may add new types without necessarily notifying my team, we don't know the type names ahead of time.  Say that I apply custom parsing for types syslog, apachecombined-access, apache-error, auth, custom-app, and oauth2-proxy.  I would like for any types non in that list be caught all by a single kafka input such as the following:
input {
  kafka {
    group_id => "cg-${LOGSTASH_TENANT}-general-logs"
    decorate_events => true
    consumer_threads => "2"
    bootstrap_servers => "[LOGSTASH_KAFKA_BROKERS_LIST]"
    topics_blacklist_pattern => "logstash-[TENANT_NAME]-(syslog|apachecombined-access|apache-error|auth|custom-app|oauth2-proxy)"
    codec => "json"
  }
}

This would easily allow me to pick up events from any remaining topics, instead of having to indicate them via either topics_list or topics_pattern
@ph What are your thoughts on this?

Any updates on this?

Is this possible with the Kafka client? The KafkaConsumer.subscribe() method seems to not give any indication that this is possible.
https://kafka.apache.org/0100/javadoc/index.html?org/apache/kafka/clients/consumer/KafkaConsumer.html
KafkaConsumer.subscribe(pattern) allows a pattern, which is cool for matching things we want. However, java.util.regex.Pattern is a final class in Java which means we cannot subclass it to provide any additional functionality (such as rejecting something matched by the topics_pattern setting)
This may requires a change in Kafka to support? I don't know.

You can technically do this exclusion with a regex pattern, but I agree it would be a nice-to-have feature.
For example, if you wanted to exclude topics containing the terms "syslog" or "apache-error", you could do this:
topics_pattern      => "logstash-[TENANT_NAME]-(?!syslog|apache-error).*"
I'm using this sort of workaround in order to separate a few topics into different consumers.


Fix off by one error in doc string.

Reference issue

What does this implement/fix?

Additional information

Indeed, thanks!
Merging in straight away.


Show ticket types, info and prices

The proper implementation involves having the server store and serve this information through the API.
The naive implementation just hardcodes info for the pt-ml network in the app.

This is already kind of done in one of the FAQ answers, but a "proper" implementation of this idea would mean integrating #18 anyway.


Option to Install SQL Server database engine and Java Language Extensions concurrently

It looks like the link to get to a page where you explain how to install SQL Server database engine and Java Language Extensions concurrently for SQL Server 2019. Can you please put a guide on?

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

ID: 19b6450c-3255-f828-4e94-e966dfc69ecf
Version Independent ID: 4a9eb164-d163-d3cf-b338-7c0f8e81ee4e
Content: Install Java Language Extension on Linux - SQL Server Language Extensions
Content Source: docs/linux/sql-server-linux-setup-language-extensions-java.md
Service: sql
Sub-service: language-extensions
GitHub Login: @rothja
Microsoft Alias: jroth

@s-hamzee -- thank you for your feedback.  I see what you mean -- that link points to its very own page!  I am updating the article.  Meanwhile, please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

I just had a look at this issue, and the link goes to a bookmark on the same page, which is the expected behaviour. For this reason, I am closing the issue.
Please feel free to leave any questions or comments below.


Rebuild image

Signed-off-by: Chunxi Luo<EMAIL_ADDRESS>open-cluster-management/backlog#15242
cherry-pick for 2.3 and put npm update in another pr

/cherry-pick release-2.3


Added PR upload to fabric

This patch adds PR upload to fabric support, so whenever a PR is tried to be merged, it's also uploaded to fabric (for testing)

Coverage remained the same at 100.0% when pulling 39ced702ed7c49f20717292f42f04c19bb6f9b21 on add_pr_support into ab3c543c2178d9e9b588873e90cb2db7caeaab98 on development.

Coverage remained the same at 100.0% when pulling 5317bde70cad46410eea2abf1792dff3bf714028 on add_pr_support into ab3c543c2178d9e9b588873e90cb2db7caeaab98 on development.

This works if you click rebuild to the build that you want to generate on circleci, I think It's sort of a problem on their side


ImageNet100 subset

Hi,
Would you please share the subset of ImageNet(ImageNet100) you used?
I want to train the MoCo model and compare it with your results!
Thanks!

Please refer to #21.

Thanks a lot！


[Nginx ingress controller] - Error when rule host is too long

Hello.
I notice that I have this error E0523 05:05:06.946179 1 command.go:87] failed to execute nginx -s reload: 2017/05/23 05:05:06 [emerg] 240#240: could not build server_names_hash, you should increase server_names_hash_bucket_size: 64 when rule host is too long (in my case : dep-kuber-test-machine5.westeurope.cloudapp.azure.com).
If I try to request my ingress server with dep-kuber-test-machine5.westeurope.cloudapp.azure.com, I obtain this error : <IP_ADDRESS> - [<IP_ADDRESS>] - - [23/May/2017:05:06:34 +0000] "POST / HTTP/1.1" 502 173 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko" 637 0.000 <IP_ADDRESS>:80 0 0.000 502 2017/05/23 05:06:34 [error] 202#202: *878 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: _, request: "POST / HTTP/1.1", upstream: "http://<IP_ADDRESS>:80/", host: "<IP_ADDRESS>".
I confirm my analyze by replacing host 'dep-kuber-test-machine5.westeurope.cloudapp.azure.com' by another shorter 'mm2.cyril-barillet.com'.
So my ingress server responds correctly with this last host.
After some research on Internet, I found this web site which maybe give the solution : http://charles.lescampeurs.org/2008/11/14/fix-nginx-increase-server_names_hash_bucket_size
How can I apply this patch on all my instance of nginx ingress controller ?
Thank you for response.

@cbarillet what version of the ingress controller are you using?

@aledbf How can I find version of ingress controller ?

@cbarillet please check the yaml in the cluster or check the log in the ingress pod. In the first 3 lines you should see the version.

@cbarillet please update the image to quay.io/aledbf/nginx-ingress-controller:0.124

Please update the image to gcr.io/google_containers/nginx-ingress-controller:0.9.0-beta.6

Closing. Please reopen if the issue persists after the upgrdade to 0.9.0-beta.6.


Improved site tree tooltips

Included full title and friendly singular name for page type. Also standardised white space and use of colon character in translations.

Man, you're on fire! :D Unfortunately, the *.yml translations need to be applied directly on transifex, otherwise they'll be overwritte again later (see http://docs.silverstripe.org/en/3.1/contributing/translations/). Which then needs to be synced back into the master codebase, and merged "down" into 3.1. All in all, a PITA. They'll also rely on the double colon in PAGETYPE in other places. I think the path of least resistance is a str_replace for your use case.

Problem is that only some translations have the colon included, others don't, plus some include a space and others don't. Agree on the path of least resistance but seems a shame. Is this enabled for master? http://docs.transifex.com/faq/#can-i-update-source-files-automatically if so I could submit the translations as a separate PR to master...

@chillu @tractorcow happy to remove the translation changes and provide a workaround for the colon/space inconsistencies but just wondering if you guys are aware of the auto-update option on Transifex? Assume you probably are and there is a reason we can't use it but if not it would be great if we could get that set up to make it possible to edit translations directly through PRs http://docs.transifex.com/faq/#can-i-update-source-files-automatically let me know your thoughts and I'll adjust this PR as necessary.

Hey Jono, I didn't know about that option, very handy! Unfortunately it only seems to be syncing "source files" (en.yml), not translation files. So we'd still need to merge all those translation files into master with your edits, merge with any new translations from Transifex, and then push the merged result back up to Transifex. Doable, but a bit more work than changing the PR to use str_replace() instead ;)

Mmm true dat! Thanks for looking in to it. Will update this PR shortly.

Okay that's done now. Also changed the brackets to round ones as they look a bit friendlier.

Nice!


Compatibility with macOS 10.7

Let assume that ::std::istream marks itself as reached EOF after reading the last character from file which is ':' in case of minicargo's build.cpp.
This leads to missing ':' because the next call of get_token_int() returns "" because ifp.eof() is true, instead of returning ":" as it should.
This missed ':' leads to assert that dependency file aren't well formatted on some wired system.
The same happened with Lexer::getc_byte when m_istream.get() returns not EOF but marks stream as reached EOF that means the next read returns EOF.
Thus, this fixes: https://github.com/thepowersgang/mrustc/issues/284

@thepowersgang and I'd like to remind about this one


Fit and Finish UX changes Pt 2

Description
Second part of the fit and finish UX changes. This PR makes changes to the datasource alerts card which include:

Removes truncating the monitor name
Modifies the query that is used to grab alerts so that dataSourceId is only included as a field if data source is enabled. Without this change alerts were not fetched correctly when data source was disabled
Alert links to the monitor page

Data source enabled

Data source disabled

Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

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


Some mistake in task.

Operator || (or) return true if one of arguments or both are true. Ex in callenge says that
if (num > 10 || num < 5) {
return "No";
}
return "Yes";
will return "Yes" only if num is between 5 and 10 (5 and 10 included). But it is not correct. In this case we should use && (and) operator.
(Sorry for my English)

This will never evaluate to true
if (num > 10 && num < 5) {
return "No";
}

Hey SerPry, can you link the challenge so that I can check it out?
Thanks
Tesla809

Sorry. It is my faulty. You are right I closed issue.  Thank you for support

On 20 янв. 2016 г., at 23:56, Brian<EMAIL_ADDRESS>wrote:
This will never evaluate to true
if (num > 10 && num < 5) {
return "No";
}
—
Reply to this email directly or view it on GitHub.

No problem. Glad to be of some help.


Share does not support url on Android

[x] I have reviewed the documentation
[x] I have searched existing issues
[x] I am using the latest React Native version

Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 9.8.0
Yarn: -
npm: 5.6.0
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.1 => 0.55.1
Steps to Reproduce
https://facebook.github.io/react-native/docs/share.html#ios
Why does it only support url prop on iOS? Is there some other way to share a file on Android?

Experiencing this issue as well in our app. Did a bit of digging into the React Native source code and you can find the js function used to share content here: https://github.com/facebook/react-native/blob/4a802100d16ee9f52e6e4caea6e54b9a49694351/Libraries/Share/Share.js#L65
That ties in with the ShareModule on Android. I had a look through the code and found it's only looking for title (https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/ReactAndroid/src/main/java/com/facebook/react/modules/share/ShareModule.java#L60) and message (https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/ReactAndroid/src/main/java/com/facebook/react/modules/share/ShareModule.java#L64) in the share content.
For the ShareModule to work with images on Facebook  it would need something like this added

        Intent shareIntent = new Intent();
        shareIntent.setAction(Intent.ACTION_SEND);
        shareIntent.putExtra(Intent.EXTRA_TEXT,"TITLE: This is a test share");
        shareIntent.putExtra(Intent.EXTRA_STREAM, imageUri);
        shareIntent.setType("image/*");
        startActivity(Intent.createChooser(shareIntent, "Share image via:"));

This code allows you to share a text and image for:

Twitter
Gmail
WhatsApp (think the text is an image caption)

Or just an image for:

Facebook
Facebook Messenger
Instagram

Those are just the apps I tested myself.
I think the only thing which needs to be passes from the Share.js is the uri or a location to generate the uri (`Uri.parse(imageLocation)') should hopefully work.
In my opinion should be two functions in Share.js because I know not everyone will want to show an image, so there should be shareText and shareImage functions.

@MarkOSullivan94 what about sharing a file? Could you submit a PR if you know how to fix it? The implementation from react-native-share seems non-trivial.

Honestly I have no idea how I would go about testing my changes.
I've just done a bit of reading up on contributing to the project but after reading up on the How to Contribute guide, I walked away not knowing how I'm supposed to be able to run my changes to the RN project with my existing RN projects.
I tried messaging in the #need-help channel and the #react-native channels in the Reactiflux discord server seeking advice but got no response.

I really need to share a url on Android. Because Facebook is showing nothing! And what's the meaning for this whole Share module if there is nothing to share.

I honestly think this is a huge lack for this module, I can't believe it..
The @MarkOSullivan94 solution involves native "hacks", so even if it works it can't be used inside Expo.

@antonioaltamura what you mean it wont work with Expo?

Uhm I saw java edits and I thought they were in android directory.
I recheck you post I guess I was wrong, didn't test yet but looks doable even in Expo.

Have been unable to test my changes to the RN project for this. Hopefully once I get help with my issue, I'll be able to get my changes to work, allowing for the sharing of images for Android in RN Share API.
https://github.com/facebook/react-native/issues/19358

stale--

Hit another block https://github.com/facebook/react-native/issues/21776

Another block hit #22118
I would be great if someone with a running local build of React Native can test these changes for me.

Another block hit #22118
I would be great if someone with a running local build of React Native can test these changes for me.

Hello there 👋 this issue seems more of a precise feature request than a bug report. For this reason, we'd prefer for you to post it to Canny so that it can be prioritized against the FR already there (maybe someone already submitted it!), or you can create a pull request 👍

@Titozzz I think it would be a good idea for you to post it to Canny first and then link it in here before closing this issue, means you wont have numerous people who read your post going there and posting the same idea over and over again.


Implement new Cloud Identity Groups transitive (inherited) membership endpoints

Cloud Identity Groups API has added a number of API calls that allow looking at the direct and indirect membership of a group:
https://cloud.google.com/identity/docs/how-to/query-memberships
ideally GAM would also add this functionality. @taers232c FYI if you have cycles to kill.

How about:
gam print course-invitations

with options to set course / user and limit the results. This would be pretty similar to:
https://github.com/jay0lee/GAM/blob/master/src/gam/__init__.py#L2482
uninvite would be same syntax as invite.
Bonus points if you can start moving these functions into a new src/gam/gapi/classroom/invites.py file similar to other moves and getting them out of init.py but that can also be done later.

Jay,
I'll work on this today.
Ross
<EMAIL_ADDRESS>
On Oct 9, 2020, at 7:44 AM, Jay Lee<EMAIL_ADDRESS>wrote:
Cloud Identity Groups API has added a number of API calls that allow looking at the direct and indirect membership of a group:
https://cloud.google.com/identity/docs/how-to/query-memberships https://cloud.google.com/identity/docs/how-to/query-memberships
ideally GAM would also add this functionality. @taers232c https://github.com/taers232c FYI if you have cycles to kill.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/1262, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZ7PIDGRU6EWWFHFODSJ4OVZANCNFSM4SKFMTHQ.

Unfortunately, the discovery document is not up to date, it doesn't include the query parameter.
<EMAIL_ADDRESS>
On Oct 11, 2020, at 4:34 AM, Ross Scroggs<EMAIL_ADDRESS>wrote:
Jay,
I'll work on this today.
Ross
<EMAIL_ADDRESS><EMAIL_ADDRESS>
On Oct 9, 2020, at 7:44 AM, Jay Lee<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
Cloud Identity Groups API has added a number of API calls that allow looking at the direct and indirect membership of a group:
https://cloud.google.com/identity/docs/how-to/query-memberships https://cloud.google.com/identity/docs/how-to/query-memberships
ideally GAM would also add this functionality. @taers232c https://github.com/taers232c FYI if you have cycles to kill.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/1262, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZ7PIDGRU6EWWFHFODSJ4OVZANCNFSM4SKFMTHQ.

Which command are you referring to?
On Sun, Oct 11, 2020, 8:21 AM Ross Scroggs<EMAIL_ADDRESS>wrote:

Unfortunately, the discovery document is not up to date, it doesn't
include the query parameter.
<EMAIL_ADDRESS>
On Oct 11, 2020, at 4:34 AM, Ross Scroggs<EMAIL_ADDRESS>wrote:
Jay,
I'll work on this today.
Ross
<EMAIL_ADDRESS><EMAIL_ADDRESS>
On Oct 9, 2020, at 7:44 AM, Jay Lee<EMAIL_ADDRESS><mailto:
<EMAIL_ADDRESS>wrote:
Cloud Identity Groups API has added a number of API calls that allow
looking at the direct and indirect membership of a group:
https://cloud.google.com/identity/docs/how-to/query-memberships <
https://cloud.google.com/identity/docs/how-to/query-memberships>
ideally GAM would also add this functionality. @taers232c <
https://github.com/taers232c> FYI if you have cycles to kill.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <
https://github.com/jay0lee/GAM/issues/1262>, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/ACCTYLZ7PIDGRU6EWWFHFODSJ4OVZANCNFSM4SKFMTHQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/1262#issuecomment-706696714, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDIZMDORSC6MXWOR5PVPKLSKGPK7ANCNFSM4SKFMTHQ
.

This page shows the use of the query parameter: https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_memberhttps://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member
https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member
https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member
On this page there is no query parameter: https://cloud.google.com/identity/docs/reference/rest/v1beta1/groups.memberships/searchTransitiveMemberships https://cloud.google.com/identity/docs/reference/rest/v1beta1/groups.memberships/searchTransitiveMemberships
Here's the relevant section from the discovery document, there's no query parameter.
"searchTransitiveMemberships": {
"parameterOrder": [
"parent"
],
"response": {
"$ref": "SearchTransitiveMembershipsResponse"
},
"path": "v1beta1/{+parent}/memberships:searchTransitiveMemberships",
"httpMethod": "GET",
"parameters": {
"pageToken": {
"type": "string",
"description": "The next_page_token value returned from a previous list request, if any.",
"location": "query"
},
"pageSize": {
"type": "integer",
"format": "int32",
"location": "query",
"description": "The default page size is 200 (max 1000)."
},
"parent": {
"type": "string",
"location": "path",
"pattern": "^groups/[^/]+$",
"required": true,
"description": "Resource name of the group to search transitive memberships in. Format: groups/{group_id}, where group_id is the unique ID assigned to the Group."
}
},
"description": "Search transitive memberships of a group.",
"id": "cloudidentity.groups.memberships.searchTransitiveMemberships",
"flatPath": "v1beta1/groups/{groupsId}/memberships:searchTransitiveMemberships",
"scopes": [
"https://www.googleapis.com/auth/cloud-identity.groups",
"https://www.googleapis.com/auth/cloud-identity.groups.readonly",
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
--
<EMAIL_ADDRESS>
On Oct 11, 2020, at 5:52 AM, Jay Lee<EMAIL_ADDRESS>wrote:
Which command are you referring to?
On Sun, Oct 11, 2020, 8:21 AM Ross Scroggs<EMAIL_ADDRESS>wrote:

Unfortunately, the discovery document is not up to date, it doesn't
include the query parameter.
<EMAIL_ADDRESS>
On Oct 11, 2020, at 4:34 AM, Ross Scroggs<EMAIL_ADDRESS>wrote:
Jay,
I'll work on this today.
Ross
<EMAIL_ADDRESS><EMAIL_ADDRESS>
On Oct 9, 2020, at 7:44 AM, Jay Lee<EMAIL_ADDRESS><mailto:
<EMAIL_ADDRESS>wrote:
Cloud Identity Groups API has added a number of API calls that allow
looking at the direct and indirect membership of a group:
https://cloud.google.com/identity/docs/how-to/query-memberships <
https://cloud.google.com/identity/docs/how-to/query-memberships>
ideally GAM would also add this functionality. @taers232c <
https://github.com/taers232c> FYI if you have cycles to kill.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <
https://github.com/jay0lee/GAM/issues/1262>, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/ACCTYLZ7PIDGRU6EWWFHFODSJ4OVZANCNFSM4SKFMTHQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/1262#issuecomment-706696714, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDIZMDORSC6MXWOR5PVPKLSKGPK7ANCNFSM4SKFMTHQ
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/1262#issuecomment-706700496, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL62GLTMZGEFZBKYQB3SKGTB7ANCNFSM4SKFMTHQ.

I think you're confusing searchTransitiveGroups
and searchTransitiveMemberships.
search transitive groups will return all groups a given user is a direct or
indirect member of. The query parameter specifies the given user. Search
transitive memberships will return all direct and indirect members of a
group. There's no query parameter here, just a parent attribute that
specifies the group.
Jay
On Sun, Oct 11, 2020, 9:02 AM Ross Scroggs<EMAIL_ADDRESS>wrote:

This page shows the use of the query parameter:
https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member
<
https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member

https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member
https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member
https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member
On this page there is no query parameter:
https://cloud.google.com/identity/docs/reference/rest/v1beta1/groups.memberships/searchTransitiveMemberships
<
https://cloud.google.com/identity/docs/reference/rest/v1beta1/groups.memberships/searchTransitiveMemberships

Here's the relevant section from the discovery document, there's no query
parameter.
"searchTransitiveMemberships": {
"parameterOrder": [
"parent"
],
"response": {
"$ref": "SearchTransitiveMembershipsResponse"
},
"path": "v1beta1/{+parent}/memberships:searchTransitiveMemberships",
"httpMethod": "GET",
"parameters": {
"pageToken": {
"type": "string",
"description": "The next_page_token value returned from a previous list
request, if any.",
"location": "query"
},
"pageSize": {
"type": "integer",
"format": "int32",
"location": "query",
"description": "The default page size is 200 (max 1000)."
},
"parent": {
"type": "string",
"location": "path",
"pattern": "^groups/[^/]+$",
"required": true,
"description": "Resource name of the group to
search transitive memberships in. Format: groups/{group_id}, where
group_id is the unique ID assigned to the Group."
}
},
"description": "Search transitive memberships of a group.",
"id": "cloudidentity.groups.memberships.searchTransitiveMemberships",
"flatPath":
"v1beta1/groups/{groupsId}/memberships:searchTransitiveMemberships",
"scopes": [
"https://www.googleapis.com/auth/cloud-identity.groups",
"https://www.googleapis.com/auth/cloud-identity.groups.readonly",
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
--
<EMAIL_ADDRESS>
On Oct 11, 2020, at 5:52 AM, Jay Lee<EMAIL_ADDRESS>wrote:
Which command are you referring to?
On Sun, Oct 11, 2020, 8:21 AM Ross Scroggs<EMAIL_ADDRESS>wrote:

Unfortunately, the discovery document is not up to date, it doesn't
include the query parameter.
<EMAIL_ADDRESS>
On Oct 11, 2020, at 4:34 AM, Ross Scroggs<EMAIL_ADDRESS>wrote:
Jay,
I'll work on this today.
Ross
<EMAIL_ADDRESS><EMAIL_ADDRESS>
On Oct 9, 2020, at 7:44 AM, Jay Lee<EMAIL_ADDRESS><mailto:
<EMAIL_ADDRESS>wrote:
Cloud Identity Groups API has added a number of API calls that allow
looking at the direct and indirect membership of a group:
https://cloud.google.com/identity/docs/how-to/query-memberships <
https://cloud.google.com/identity/docs/how-to/query-memberships>
ideally GAM would also add this functionality. @taers232c <
https://github.com/taers232c> FYI if you have cycles to kill.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <
https://github.com/jay0lee/GAM/issues/1262>, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ACCTYLZ7PIDGRU6EWWFHFODSJ4OVZANCNFSM4SKFMTHQ

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/1262#issuecomment-706696714,
or
unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ABDIZMDORSC6MXWOR5PVPKLSKGPK7ANCNFSM4SKFMTHQ

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <
https://github.com/jay0lee/GAM/issues/1262#issuecomment-706700496>, or
unsubscribe <
https://github.com/notifications/unsubscribe-auth/ACCTYL62GLTMZGEFZBKYQB3SKGTB7ANCNFSM4SKFMTHQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/1262#issuecomment-706701742, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDIZMGI52POTG4IJEBLAATSKGUHJANCNFSM4SKFMTHQ
.

Graack! Thank you!
<EMAIL_ADDRESS>
On Oct 11, 2020, at 6:16 AM, Jay Lee<EMAIL_ADDRESS>wrote:
I think you're confusing searchTransitiveGroups
and searchTransitiveMemberships.
search transitive groups will return all groups a given user is a direct or
indirect member of. The query parameter specifies the given user. Search
transitive memberships will return all direct and indirect members of a
group. There's no query parameter here, just a parent attribute that
specifies the group.
Jay
On Sun, Oct 11, 2020, 9:02 AM Ross Scroggs<EMAIL_ADDRESS>wrote:

This page shows the use of the query parameter:
https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member
<
https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member

https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member
https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member
https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member
On this page there is no query parameter:
https://cloud.google.com/identity/docs/reference/rest/v1beta1/groups.memberships/searchTransitiveMemberships
<
https://cloud.google.com/identity/docs/reference/rest/v1beta1/groups.memberships/searchTransitiveMemberships

Here's the relevant section from the discovery document, there's no query
parameter.
"searchTransitiveMemberships": {
"parameterOrder": [
"parent"
],
"response": {
"$ref": "SearchTransitiveMembershipsResponse"
},
"path": "v1beta1/{+parent}/memberships:searchTransitiveMemberships",
"httpMethod": "GET",
"parameters": {
"pageToken": {
"type": "string",
"description": "The next_page_token value returned from a previous list
request, if any.",
"location": "query"
},
"pageSize": {
"type": "integer",
"format": "int32",
"location": "query",
"description": "The default page size is 200 (max 1000)."
},
"parent": {
"type": "string",
"location": "path",
"pattern": "^groups/[^/]+$",
"required": true,
"description": "Resource name of the group to
search transitive memberships in. Format: groups/{group_id}, where
group_id is the unique ID assigned to the Group."
}
},
"description": "Search transitive memberships of a group.",
"id": "cloudidentity.groups.memberships.searchTransitiveMemberships",
"flatPath":
"v1beta1/groups/{groupsId}/memberships:searchTransitiveMemberships",
"scopes": [
"https://www.googleapis.com/auth/cloud-identity.groups",
"https://www.googleapis.com/auth/cloud-identity.groups.readonly",
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
--
<EMAIL_ADDRESS>
On Oct 11, 2020, at 5:52 AM, Jay Lee<EMAIL_ADDRESS>wrote:
Which command are you referring to?
On Sun, Oct 11, 2020, 8:21 AM Ross Scroggs<EMAIL_ADDRESS>wrote:

Unfortunately, the discovery document is not up to date, it doesn't
include the query parameter.
<EMAIL_ADDRESS>
On Oct 11, 2020, at 4:34 AM, Ross Scroggs<EMAIL_ADDRESS>wrote:
Jay,
I'll work on this today.
Ross
<EMAIL_ADDRESS><EMAIL_ADDRESS>
On Oct 9, 2020, at 7:44 AM, Jay Lee<EMAIL_ADDRESS><mailto:
<EMAIL_ADDRESS>wrote:
Cloud Identity Groups API has added a number of API calls that allow
looking at the direct and indirect membership of a group:
https://cloud.google.com/identity/docs/how-to/query-memberships <
https://cloud.google.com/identity/docs/how-to/query-memberships>
ideally GAM would also add this functionality. @taers232c <
https://github.com/taers232c> FYI if you have cycles to kill.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <
https://github.com/jay0lee/GAM/issues/1262>, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ACCTYLZ7PIDGRU6EWWFHFODSJ4OVZANCNFSM4SKFMTHQ

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/1262#issuecomment-706696714,
or
unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ABDIZMDORSC6MXWOR5PVPKLSKGPK7ANCNFSM4SKFMTHQ

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <
https://github.com/jay0lee/GAM/issues/1262#issuecomment-706700496>, or
unsubscribe <
https://github.com/notifications/unsubscribe-auth/ACCTYL62GLTMZGEFZBKYQB3SKGTB7ANCNFSM4SKFMTHQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/1262#issuecomment-706701742, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDIZMGI52POTG4IJEBLAATSKGUHJANCNFSM4SKFMTHQ
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/1262#issuecomment-706703461, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL4AUTZAEDUE6R67V53SKGV3RANCNFSM4SKFMTHQ.

OK, I go here: https://cloud.google.com/identity/docs/reference/rest/v1beta1/groups.memberships/searchTransitiveGroups https://cloud.google.com/identity/docs/reference/rest/v1beta1/groups.memberships/searchTransitiveGroups
parent - groups/-
query - member_key_id ==<EMAIL_ADDRESS>&& 'cloudidentity.googleapis.com/groups.discussion_forum' in labels
Execute
I get Bad Request
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT"
}
}
Is this becuase I don't have an Enterprose license?
Thanks
--
<EMAIL_ADDRESS>
On Oct 11, 2020, at 6:16 AM, Jay Lee<EMAIL_ADDRESS>wrote:
I think you're confusing searchTransitiveGroups
and searchTransitiveMemberships.
search transitive groups will return all groups a given user is a direct or
indirect member of. The query parameter specifies the given user. Search
transitive memberships will return all direct and indirect members of a
group. There's no query parameter here, just a parent attribute that
specifies the group.
Jay
On Sun, Oct 11, 2020, 9:02 AM Ross Scroggs<EMAIL_ADDRESS>wrote:

This page shows the use of the query parameter:
https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member
<
https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member

https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member
https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member
https://cloud.google.com/identity/docs/how-to/query-memberships#searching_for_all_group_memberships_of_a_member
On this page there is no query parameter:
https://cloud.google.com/identity/docs/reference/rest/v1beta1/groups.memberships/searchTransitiveMemberships
<
https://cloud.google.com/identity/docs/reference/rest/v1beta1/groups.memberships/searchTransitiveMemberships

Here's the relevant section from the discovery document, there's no query
parameter.
"searchTransitiveMemberships": {
"parameterOrder": [
"parent"
],
"response": {
"$ref": "SearchTransitiveMembershipsResponse"
},
"path": "v1beta1/{+parent}/memberships:searchTransitiveMemberships",
"httpMethod": "GET",
"parameters": {
"pageToken": {
"type": "string",
"description": "The next_page_token value returned from a previous list
request, if any.",
"location": "query"
},
"pageSize": {
"type": "integer",
"format": "int32",
"location": "query",
"description": "The default page size is 200 (max 1000)."
},
"parent": {
"type": "string",
"location": "path",
"pattern": "^groups/[^/]+$",
"required": true,
"description": "Resource name of the group to
search transitive memberships in. Format: groups/{group_id}, where
group_id is the unique ID assigned to the Group."
}
},
"description": "Search transitive memberships of a group.",
"id": "cloudidentity.groups.memberships.searchTransitiveMemberships",
"flatPath":
"v1beta1/groups/{groupsId}/memberships:searchTransitiveMemberships",
"scopes": [
"https://www.googleapis.com/auth/cloud-identity.groups",
"https://www.googleapis.com/auth/cloud-identity.groups.readonly",
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
--
<EMAIL_ADDRESS>
On Oct 11, 2020, at 5:52 AM, Jay Lee<EMAIL_ADDRESS>wrote:
Which command are you referring to?
On Sun, Oct 11, 2020, 8:21 AM Ross Scroggs<EMAIL_ADDRESS>wrote:

Unfortunately, the discovery document is not up to date, it doesn't
include the query parameter.
<EMAIL_ADDRESS>
On Oct 11, 2020, at 4:34 AM, Ross Scroggs<EMAIL_ADDRESS>wrote:
Jay,
I'll work on this today.
Ross
<EMAIL_ADDRESS><EMAIL_ADDRESS>
On Oct 9, 2020, at 7:44 AM, Jay Lee<EMAIL_ADDRESS><mailto:
<EMAIL_ADDRESS>wrote:
Cloud Identity Groups API has added a number of API calls that allow
looking at the direct and indirect membership of a group:
https://cloud.google.com/identity/docs/how-to/query-memberships <
https://cloud.google.com/identity/docs/how-to/query-memberships>
ideally GAM would also add this functionality. @taers232c <
https://github.com/taers232c> FYI if you have cycles to kill.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <
https://github.com/jay0lee/GAM/issues/1262>, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ACCTYLZ7PIDGRU6EWWFHFODSJ4OVZANCNFSM4SKFMTHQ

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/1262#issuecomment-706696714,
or
unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ABDIZMDORSC6MXWOR5PVPKLSKGPK7ANCNFSM4SKFMTHQ

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <
https://github.com/jay0lee/GAM/issues/1262#issuecomment-706700496>, or
unsubscribe <
https://github.com/notifications/unsubscribe-auth/ACCTYL62GLTMZGEFZBKYQB3SKGTB7ANCNFSM4SKFMTHQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/1262#issuecomment-706701742, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDIZMGI52POTG4IJEBLAATSKGUHJANCNFSM4SKFMTHQ
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/1262#issuecomment-706703461, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL4AUTZAEDUE6R67V53SKGV3RANCNFSM4SKFMTHQ.

I have Enterprise. Tell me how I can test.

Hi, guys.
Did this not go anywhere?

Jay,
Any issues with this?
Ross
@.***

I think this is merged and released but not fully documented. Am I missing something?

Also worth noting, I believe most of the features have hit v1 so if possible we should switch to v1.

Jay,
Not ready for prime time.
Ross
v1beta1 - works
Getting all Members, Managers, Owners for groups/01fob9te3coo820
send: b'GET /v1beta1/groups/01fob9te3coo820/memberships?view=FULL&fields=nextPageToken%2Cmemberships%28%2A%29&pageSize=200&prettyPrint=true&alt=json HTTP/1.1\r\nHost: cloudidentity.googleapis.com\r\naccept: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: GAMADV-XTD3 6.11.03 - https://github.com/taers232c/GAMADV-XTD3 / Ross Scroggs @.> / Python 3.10.1 final / macOS-10.13.6-x86_64-i386-64bit x86_64 / (gzip)\r\nx-goog-api-client: gdcl/2.33.0 gl-python/3.10.1\r\ncontent-length: 0\r\nauthorization: Bearer xxx\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json; charset=UTF-8
header: Vary: Origin
header: Vary: X-Origin
header: Vary: Referer
header: Content-Encoding: gzip
header: Date: Thu, 09 Dec 2021 16:38:48 GMT
header: Server: ESF
header: Cache-Control: private
header: X-XSS-Protection: 0
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
header: Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
header: Transfer-Encoding: chunked
{'type': 'USER', 'name': 'groups/01fob9te3coo820/memberships/100494212331014619275', 'memberKey': {'id': @.'}, 'createTime': '2020-12-20T21:27:19.524955Z', 'updateTime': '2020-12-20T21:27:19.524955Z', 'role': 'OWNER'}
v1 - memberKey information is missing
send: b'GET /v1/groups/01fob9te3coo820/memberships?view=FULL&fields=nextPageToken%2Cmemberships%28%2A%29&pageSize=200&prettyPrint=true&alt=json HTTP/1.1\r\nHost: cloudidentity.googleapis.com\r\naccept: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: GAMADV-XTD3 6.11.03 - https://github.com/taers232c/GAMADV-XTD3 / Ross Scroggs @.***> / Python 3.10.1 final / macOS-10.13.6-x86_64-i386-64bit x86_64 / (gzip)\r\nx-goog-api-client: gdcl/2.33.0 gl-python/3.10.1\r\ncontent-length: 0\r\nauthorization: Bearer ya29.a0ARrdaM9E6qz5nP9pOZy0AWYzqjqPTMKEDGwff2pWLf4TUp8Vnyk_uE4ViFGFkk5j4LEw98dEmpfDYWbuiSfCb9xkJ6Xf3JcHqp2Jm-qBHoHuTXL-5aiRpF5oARr7xdAi2VTZ5Wd1VgxmrV4S0swEwQvL2-9I35w\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json; charset=UTF-8
header: Vary: Origin
header: Vary: X-Origin
header: Vary: Referer
header: Content-Encoding: gzip
header: Date: Thu, 09 Dec 2021 16:40:50 GMT
header: Server: ESF
header: Cache-Control: private
header: X-XSS-Protection: 0
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
header: Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
header: Transfer-Encoding: chunked
{'type': 'USER', 'name': 'groups/01fob9te3coo820/memberships/100494212331014619275', 'createTime': '2020-12-20T21:27:19.524955Z', 'updateTime': '2020-12-20T21:27:19.524955Z', 'role': 'OWNER'}
--
@.***

On Dec 9, 2021, at 7:19 AM, Jay Lee @.***> wrote:
Also worth noting, I believe most of the features have hit v1 so if possible we should switch to v1.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/1262#issuecomment-989949840, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZWB4KTYJ7X7X36NHDUQDCJDANCNFSM4SKFMTHQ.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Jay,
Ignore previous results. v1beta1 in returning memberKey,  v1 is returning preferredMemberKey
Ross
@.***

On Dec 9, 2021, at 8:43 AM, Ross Scroggs @.***> wrote:
Jay,
Not ready for prime time.
Ross
v1beta1 - works
Getting all Members, Managers, Owners for groups/01fob9te3coo820
send: b'GET /v1beta1/groups/01fob9te3coo820/memberships?view=FULL&fields=nextPageToken%2Cmemberships%28%2A%29&pageSize=200&prettyPrint=true&alt=json HTTP/1.1\r\nHost: cloudidentity.googleapis.com http://cloudidentity.googleapis.com/\r\naccept: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: GAMADV-XTD3 6.11.03 - https://github.com/taers232c/GAMADV-XTD3 https://github.com/taers232c/GAMADV-XTD3 / Ross Scroggs @.*** @.>> / Python 3.10.1 final / macOS-10.13.6-x86_64-i386-64bit x86_64 / (gzip)\r\nx-goog-api-client: gdcl/2.33.0 gl-python/3.10.1\r\ncontent-length: 0\r\nauthorization: Bearer xxx\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json; charset=UTF-8
header: Vary: Origin
header: Vary: X-Origin
header: Vary: Referer
header: Content-Encoding: gzip
header: Date: Thu, 09 Dec 2021 16:38:48 GMT
header: Server: ESF
header: Cache-Control: private
header: X-XSS-Protection: 0
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
header: Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
header: Transfer-Encoding: chunked
{'type': 'USER', 'name': 'groups/01fob9te3coo820/memberships/100494212331014619275', 'memberKey': {'id': @. @.***>'}, 'createTime': '2020-12-20T21:27:19.524955Z', 'updateTime': '2020-12-20T21:27:19.524955Z', 'role': 'OWNER'}
v1 - memberKey information is missing
send: b'GET /v1/groups/01fob9te3coo820/memberships?view=FULL&fields=nextPageToken%2Cmemberships%28%2A%29&pageSize=200&prettyPrint=true&alt=json HTTP/1.1\r\nHost: cloudidentity.googleapis.com http://cloudidentity.googleapis.com/\r\naccept: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: GAMADV-XTD3 6.11.03 - https://github.com/taers232c/GAMADV-XTD3 https://github.com/taers232c/GAMADV-XTD3 / Ross Scroggs @.*** @.***>> / Python 3.10.1 final / macOS-10.13.6-x86_64-i386-64bit x86_64 / (gzip)\r\nx-goog-api-client: gdcl/2.33.0 gl-python/3.10.1\r\ncontent-length: 0\r\nauthorization: Bearer ya29.a0ARrdaM9E6qz5nP9pOZy0AWYzqjqPTMKEDGwff2pWLf4TUp8Vnyk_uE4ViFGFkk5j4LEw98dEmpfDYWbuiSfCb9xkJ6Xf3JcHqp2Jm-qBHoHuTXL-5aiRpF5oARr7xdAi2VTZ5Wd1VgxmrV4S0swEwQvL2-9I35w\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json; charset=UTF-8
header: Vary: Origin
header: Vary: X-Origin
header: Vary: Referer
header: Content-Encoding: gzip
header: Date: Thu, 09 Dec 2021 16:40:50 GMT
header: Server: ESF
header: Cache-Control: private
header: X-XSS-Protection: 0
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
header: Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
header: Transfer-Encoding: chunked
{'type': 'USER', 'name': 'groups/01fob9te3coo820/memberships/100494212331014619275', 'createTime': '2020-12-20T21:27:19.524955Z', 'updateTime': '2020-12-20T21:27:19.524955Z', 'role': 'OWNER'}
--
@.*** @.***>

On Dec 9, 2021, at 7:19 AM, Jay Lee @.*** @.***>> wrote:
Also worth noting, I believe most of the features have hit v1 so if possible we should switch to v1.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/1262#issuecomment-989949840, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZWB4KTYJ7X7X36NHDUQDCJDANCNFSM4SKFMTHQ.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Jay,
v1 doesn't have groups.getSecuritySettings and groups.setSecuritySettings
Ross
@.***

On Dec 9, 2021, at 7:19 AM, Jay Lee @.***> wrote:
Also worth noting, I believe most of the features have hit v1 so if possible we should switch to v1.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/1262#issuecomment-989949840, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZWB4KTYJ7X7X36NHDUQDCJDANCNFSM4SKFMTHQ.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

$ curl -s 'https://cloudidentity.googleapis.com/$discovery/rest?version=v1' | grep SecuritySettings
    "SecuritySettings": {
      "id": "SecuritySettings",
        "updateSecuritySettings": {
            "$ref": "SecuritySettings"
          "id": "cloudidentity.groups.updateSecuritySettings",
        "getSecuritySettings": {
          "id": "cloudidentity.groups.getSecuritySettings",
            "$ref": "SecuritySettings"

it does as far as I can tell...
Jay

Jay,
Sometime you get the bear, sometimes the bear gets you.
connect: (cloudidentity.googleapis.com, 443)
send: b'GET /v1/groups/01gf8i8321qeu55/securitySettings?readMask=%2A&prettyPrint=true&alt=json HTTP/1.1\r\nHost: cloudidentity.googleapis.com\r\naccept: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: GAMADV-XTD3 6.11.03 - https://github.com/taers232c/GAMADV-XTD3 / Ross Scroggs @.***> / Python 3.10.1 final / macOS-10.13.6-x86_64-i386-64bit x86_64 / (gzip)\r\nx-goog-api-client: gdcl/2.33.0 gl-python/3.10.1\r\ncontent-length: 0\r\nauthorization: Bearer xxxo\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
send: b'GET /v1/groups/01gf8i8321qeu55/securitySettings?readMask=%2A&prettyPrint=true&alt=json HTTP/1.1\r\nHost: cloudidentity.googleapis.com\r\naccept: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: GAMADV-XTD3 6.11.03 - https://github.com/taers232c/GAMADV-XTD3 / Ross Scroggs @.***> / Python 3.10.1 final / macOS-10.13.6-x86_64-i386-64bit x86_64 / (gzip)\r\nx-goog-api-client: gdcl/2.33.0 gl-python/3.10.1\r\ncontent-length: 0\r\nauthorization: Bearer xxxo\r\n\r\n'
reply: 'HTTP/1.1 501 Not Implemented\r\n'
I guess this is what they mean by rollong out.
Ross
--
@.***

On Dec 9, 2021, at 12:47 PM, Jay Lee @.***> wrote:
$ curl -s 'https://cloudidentity.googleapis.com/$discovery/rest?version=v1' | grep SecuritySettings
"SecuritySettings": {
"id": "SecuritySettings",
"updateSecuritySettings": {
"$ref": "SecuritySettings"
"id": "cloudidentity.groups.updateSecuritySettings",
"getSecuritySettings": {
"id": "cloudidentity.groups.getSecuritySettings",
"$ref": "SecuritySettings"
it does as far as I can tell...
Jay
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/1262#issuecomment-990237715, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL6OHYCPOT7KXOFYLFLUQEIWPANCNFSM4SKFMTHQ.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


v2.1.1

Fix for unhandled flashrom parameter on NS5x_7xMU 11th gen

@m-iwanicki, looks ok, builds ok, everything is in the final image, but one test has failed.


restricting an access to class/getClass attribute

added restriction so that you can't access class/getClass attribute from an object, e.g.: "{{ object.class }}". By having an access to it you can execute a shell command.

This would be a breaking change, as I have templates that depend on getting the class instance from the template. In addition, I do not believe this really solves the issue, as one could write a filter to return the Class, or provide another method as a workaround. The only way to fully prevent shell execution is to install a SecurityManager.

One alternative might be to allow access to getting a Class, but in the GetAttributeExpression, fail-fast if the object is an instance of java.lang.Class.

Hi @cjbrooks12,
thank you for being interested in the topic. However, I am not sure if I understand everything correctly. The fix is supposed to prevent people trying to access class object only by having access to the template text. Such person can't create a filter or any object with new methods, he can only use what has been provided by a programmer in the context. If the context provides an object, in which, there is a method doing something dangerous (like method e.g. getTheClass which returns the class object) it's the programmer's fault, not the problem with the pebble engine, am I right?
In other words, when you use pebble you may provide some objects, strings etc., but all of them extends object in java, so they expose access to getClass() although you didn't provide it explicitly, but if you put some dangerous method in these objects it's your fault.
Br,
Jacek

If @cjbrooks12 already depended on this, shouldn't we be providing a workaround for his use case? Even if this is a security issue, we're breaking semantic versioning.

I control the object that I'm getting the class from, so I can definitely work around this. But to not break semver, maybe we just include a flag in the PebbleEngine to turn this behavior on/off? It should probably be disabled by default, but make it enabled by default in the next major version

Done via cd3a821235d35f8016123bd9886615e046b704de. Flag's gonna be false in v3.0


Feature Request.Print Final Url too

Hi
It would be very beneficial if gobuster would print he final url  alongside the directory checked.This will be nice because sometimes when you access a particular directory you might be redirected to another login page which might be vulnerable and cannot be found by traditional means.So the desired output of this feature will be like shown below

I hope you implement it.
Thanks

redirects are now printed with the resulting url


Using variables this. with vueJS

Describe the bug
Hi ! I want to use this.$i18n.t in function callback, but it's undefined ([error] - {})
To Reproduce
async mounted () {
...
function callback(location, error) {
...
console.log(this.$i18n.t('hello')
...
Any idea ? Thanks
Smartphone

Device: iPhone SE2020
OS: iOS > 13

In JavaScript, this is dynamically bound. This means its value changes depending on how its containing function is called. Here, this does not refer to your component instance. Fortunately, you can save a reference to the component instance and use it later on:
async mounted () {
const vm = this;
...
function callback(location, error) {
...
console.log(vm.$i18n.t('hello')
...


CS2_BOT_QUOTA shadows CS2_BOT_QUOTA_MODE

Hi!
sed in entry.sh replaces all bot_quota_mode with bot_quota $CS2_BOT_QUOTA.
I believe it could be fixed by changing regex here: https://github.com/joedwards32/CS2/blob/7de1841926f8da5e4263d90c1333b56f1ecb0fde/bookworm/etc/entry.sh#L64
Possible fix "s/bot_quota .*/bot_quota ${CS2_BOT_QUOTA}/". Note space between bot_quota and .*.
Another option is "s/bot_quota [0-9]*/bot_quota ${CS2_BOT_QUOTA}/".

Thanks for the bug report. I'll take a look when I have a mo.


Project Feedback!

Looks like you did not link your gif walkthrough for this assignment or it is not rendering (animating) properly when viewed in the README 😬. The gif helps us to make sure we don't miss any required or optional stories you have completed.
Render your gif:
Once you have uploaded your gif to a site like imgur you can render it using the following syntax.

or

Make sure all you have completed the following steps to completing your README:

Make sure you have the correct README for this assignment, go to the "Setup" section in Assignment Tab for the corresponding week in the course portal.
Please mark of all completed stories [x]
Add a link to your animated gif walkthough to your README and make sure it renders (animates) when viewing the README.

Your assignment is incomplete until the README and gif is complete. Once completed, please push your updates and submit your assignment again so we can regrade it.
Still confused about how to properly submit your assignment? Check out the Submitting Assignments for detailed instructions.
Whenever you make updates to your project that require re-grading, you need to re-submit your project using the submit button on the associated assignment page in the course portal. This will flag your project as “updated” on our end and we know to re-grade.
You should re-submit your assignment anytime you:

Update a previously incomplete assignment
Add optional and additional features to an already completed assignment

👍 Congrats on completing the third project!
I have provided a detailed Project 3 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you could improve your submission.
Let us know if you have any other thoughts or questions about this assignment. Hopefully by now you feel pretty comfortable with all the major pieces to basic Android apps (Views, Controllers, Models, Authentication, API Communication, Preferences, ActionBar, et al) and see how they all fit together.
/cc @codepathreview

👍 Congrats on completing the fourth project!
I have provided a detailed Project 4 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you could improve your submission.
Let us know if you have any other thoughts or questions about this assignment. Hopefully by now you feel pretty comfortable with all the major pieces to basic Android apps (Views, Controllers, Models, Authentication, API Communication, Preferences, ActionBar, et al) and see how they all fit together.
/cc @codepathreview


cannot find -lsqlite3

I'm using macOS, and trying to compile for Android using the command
cargo build --target x86_64-linux-android --release

I got the error:

= note: /Users/../NDK/x86_64/bin/../lib/gcc/x86_64-linux-android/4.9.x/../../../../x86_64-linux-android/bin/ld: error: cannot find -lsqlite3
clang70: error: linker command failed with exit code 1 (use -v to see invocation)

UPDATE
I already have sqlite3 installed:
Hasans-Air:~ h_ajsf$ brew install sqlite
Warning: sqlite 3.26.0 is already installed and up-to-date
To reinstall 3.26.0, run `brew reinstall sqlite`

And it compiled smoothly for mac lib, using
cargo build --release

Than @Dushistov, I tried this, but got:

Internal error occurred: Failed to find tool. Is x86_64-linux-android-clang installed?

Thanks.
I got it solved by below:

Add feature bundled as per your advise

[dependencies]
rusqlite = {version = "0.15.0", features = ["bundled"]}

Adding the NDK folder that require the related xxx_android_clang file to the path:

$ code $HOME/.bash_profile

PATH=$PATH:/usr/local/ndk_for_rust/x86_64/bin
PATH=$PATH:/usr/local/ndk_for_rust/arm64/bin
PATH=$PATH:/usr/local/ndk_for_rust/arm/bin
PATH=$PATH:/usr/local/ndk_for_rust/x86/bin

$ source $HOME/.bash_profile

Had copy of the ndk_for_rust in the project root /Users/h_ajsf/IdeaProjects/rust_sql/, so I used it as linked in the .cargo/config as:

[target.aarch64-linux-android]
ar = "ndk_for_rust/arm64/bin/aarch64-linux-android-ar"
linker = "ndk_for_rust/arm64/bin/aarch64-linux-android-clang"

[target.armv7-linux-androideabi]
ar = "ndk_for_rust/arm/bin/arm-linux-androideabi-ar"
linker = "ndk_for_rust/arm/bin/arm-linux-androideabi-clang"

[target.i686-linux-android]
ar = "ndk_for_rust/x86/bin/i686-linux-android-ar"
linker = "ndk_for_rust/x86/bin/i686-linux-android-clang"

[target.x86_64-linux-android]
ar = "ndk_for_rust/x86_64/bin/x86_64-linux-android-ar"
linker = "ndk_for_rust/x86_64/bin/x86_64-linux-android-clang"

Then I was able to compile for the selected Android targets:

$ cargo build --target x86_64-linux-android --release
$ cargo build --target aarch64-linux-android --release
$ cargo build --target armv7-linux-androideabi --release
$ cargo build --target i686-linux-android --release


Test

Coverage remained the same when pulling 7c96b61de220aa5f00eee997e7681ae0afa5c17a on smspillaz:cmake-ast.item_16 into 12114c4c621f74f2e67ac36eda2bfa8d2f525d26 on polysquare:master.

Coverage remained the same when pulling 85a618559e13759abb6cf90027fb913d072c1187 on smspillaz:cmake-ast.item_16 into 12114c4c621f74f2e67ac36eda2bfa8d2f525d26 on polysquare:master.

Coverage remained the same when pulling ae8e784963ed6f06b9c193d868b955918b492402 on smspillaz:cmake-ast.item_16 into 12114c4c621f74f2e67ac36eda2bfa8d2f525d26 on polysquare:master.

Coverage decreased (-9.6%) to 88.351% when pulling ae8e784963ed6f06b9c193d868b955918b492402 on smspillaz:cmake-ast.item_16 into 12114c4c621f74f2e67ac36eda2bfa8d2f525d26 on polysquare:master.


Document micro-optimizations that should be done before final game release

How can Bevy's documentation be improved?
Several performance optimizations can be done just before final release, but are impractical for development.
As a starting point:

Enabling Link Time Optimization
Disabling dynamic linking
Reducing or removing logging, see https://github.com/bevyengine/bevy/pull/4580

These should be documented in a single central place.

Does compiling with PGO make sense? Perhaps it would "overfit" on the characteristics of the gameplay scenarios that the tests are run on, and perform worse in other circumstances. Advice on this might be worth a mention in this section either way.
I expect the advice would be "Don't compile with PGO unless you've comprehensively benchmarked that it helps and doesn't hinder", but I've not run any tests to see if that's right.

For history, I want to add some materials regarding PGO to the topic.
I am collecting all materials (benchmarks, articles, stories, showcases, etc.) about PGO across different applications here. I am sure there you would be able to find helpful information regarding PGO.
Related to the gamedev domains, I suggest you look at the following things:

I did some benchmarks for Bevy with PGO. PGO-run (first) vs non-PGO (second) - Pastebin. In these results you need to interpret performance decrease as "Release version is slower than PGOed" and performance increase as "Release version is faster than PGOed". As you see, in many scenarios PGO improves performance, but in some of them performance is decreased.
Unreal Engine supports PGO build since 4.27 (release notes). According to the documentation, PGO allows to achieve better performance on UE too (+10% on some CPU-heavy scenarios from this page). Also, I've talked with developers in a local Telegram chat about UE. A person said that they use PGO as a default optimization with UE and their games. The PGO profiles are collected via crafted local test workloads (usually - the most difficult scenes). The performance improvement is something like 6-8%
Godot proposal about PGO - link
Unity Burst thread about PGO - link

Hope it could help with PGO story for Bevy.


Remove the sha256 file.

lintian gives a warning if you have the sha256 file present and a sha does not exist for the binary control file. We leave the funtion around because if you ever impliment the source control file or .changes file it does exist.
We are not updating the CHANGELOG.md file for fear of a conflict.
Closes #145

Can you provide more information about the policy?
There's still a wiki page that recommends having sha256sums file.
https://wiki.debian.org/Sha256sumsInPackages

It seems that it is a problem with lintian and there is a patch to include sha256. I would reject this change. I will close it.


Fix compile errors caused by ambiguous naming of poll_event in poll_handle

The line
using poll_event = details::uvw_poll_event;

created an ambiguous alias with the same name as the  struct poll_event.
And poll_handle should be inheriting handle<poll_handle, uv_poll_t, poll_event> instead of handle<poll_handle, uv_poll_t, details::uvw_poll_event> if I'm understanding correctly. Otherwise on<uvw::poll_event>() doesn't work.

You're definitely right on handle<poll_handle, uv_poll_t, details::uvw_poll_event>. 👍
On the other hand, I'd rather change the using declaration to 🤔 poll_event_flags (we used a similar pattern somewhere else too) and use it in the class.
I don't like using details::xxx names in an API, it's odd and somewhat risky.
Do you mind updating the PR?

You're definitely right on handle<poll_handle, uv_poll_t, details::uvw_poll_event>. +1 On the other hand, I'd rather change the using declaration to thinking poll_event_flags (we used a similar pattern somewhere else too) and use it in the class. I don't like using details::xxx names in an API, it's odd and somewhat risky.
Do you mind updating the PR?

Sure.


Is there a repository that shows the 3D pose that already exists?

I want to implement 3D Pose on Python like Fig 5 on https://google.github.io/mediapipe/solutions/pose.
However, I would like to refer to a demo that has already been implemented. Please let me know if you have a repository or reference that can help.

The MediaPipe Python Colab (https://colab.research.google.com/drive/1uCuA6We9T5r0WljspEHWPHXCT_2bMKUy) has an example that generates and visualizes world 3D pose landmarks.

@chuoling
Thank you for your reply.
Colab's demo seems to cover only a single image.
What I want is 3d posture estimation in real time (on webcam).

Have you tried using the code snippet in https://google.github.io/mediapipe/solutions/pose.html#python-solution-api under # For webcam input, and add the following for visualization the world 3D pose landmarks (like in the Colab with static images)?
mp_drawing.plot_landmarks(
        results.pose_world_landmarks, mp_pose.POSE_CONNECTIONS)

Yes, I tried the code snippet.
The result is shown as a simple image plotted as shown below.

I want to implement a 3D plotter that moves the same as the input image in Python in real time like Fig 5.

Similar implementation examples can be seen in WebDemo, but no implementation examples or APIs can be found using Python.
If there were no examples and APIs, it would have to be implemented on its own, but if there were, it would have been easier to develop.

Not exactly as in the picture, but check out my mediapipe demo repository. Almost all the solutions as python real-time applications applied on the webcam video signal.
https://github.com/Rassibassi/mediapipeDemos

@Rassibassi
I will check your repo. Thank you for your reply.

@Rassibassi, your repo has some useful scripts, but a solution to the initial question is not provided, or am I missing something?
@connernam did you find something? I used for my visualizations ipyvolume. It works quite good, but the repo is not maintained very actively.


BUG Fix: Dynamic Number of Answer Options in Sequence Classification

 Random errors in multiple-choice agents?


[Bug]: Event click context menu position issues

What happened?
When using this function
public function getEventClickContextMenuActions(): array
    {
        return [
            $this->editAction(),
            $this->deleteAction(),
        ];
    }

The context menu appears far away from the event that was clicked.
If the event is close to the right side of the screen a horizontal  scroll is generated
How to reproduce the bug
Everthing is set up as required in the documentation, I'm using a custom filemnt theme and my widget is this:
<?php

namespace App\Filament\Widgets;

/// imports here ...

class Appointments extends CalendarWidget
{
    protected static ?int $sort = 1;

    protected int|string|array $columnSpan = 6;

    protected string $calendarView = 'timeGridWeek';

    protected bool $eventClickEnabled = true;

    protected ?string $defaultEventClickAction = 'edit';

    public function getOptions(): array
    {
        return [
            'hiddenDays' => [0],
            'slotMinTime' => '09:00:00',
            'slotMaxTime' => '19:00:00',
            'slotEventOverlap' => false,
            'slotHeight' => 48,
            'allDaySlot' => false,
            'headerToolbar' => [
                'start' => 'title',
                'center' => 'today resourceTimeGridDay,timeGridWeek,dayGridMonth',
                'end' => 'prev,next',
            ],
            'buttonText' => [
                'today' => 'Hoy',
                'timeGridWeek' => 'Semana',
                'dayGridMonth' => 'Mes',
                'resourceTimeGridDay' => 'Día',
            ],
        ];
    }

    public function getEventClickContextMenuActions(): array
    {
        return [
            $this->editAction(),
            $this->deleteAction(),
        ];
    }

    public function getSchema(?string $model = null): ?array
    {
        return [
            // here goes the schema
        ];
    }

    public function getEvents(array $fetchInfo = []): Collection|array
    {
        return Appointment::query()
            ->whereBetween('start_date', [$fetchInfo['startStr'], $fetchInfo['endStr']])
            ->with('car.owner')
            ->get();
    }

    public function getResources(): array|Collection
    {
        return User::role('technician')
            ->where('status', true)
            ->get();
    }
}

You can check the following  video to see the unexpected behaviour
https://github.com/user-attachments/assets/a2763946-4aad-4547-848a-3f6a25a03140
Package Version
1.8
PHP Version
8.2.
Laravel Version
11.27.2
Which operating systems does with happen with?
macOS
Notes
No response

Hi, please double check you did everything here.
You must have missed a step, the CSS is not correctly built by Tailwind and therefore the menu is misplaced.

My bad, the issue was the CSS not been imported by the theme because a typo.
I copied the line in the reference you gave me and everthing works as expected.
Thanks 👍


options.searchText?

Hi! I'm going through the demo. But I'm confused about options.searchText, options.values, and options.params in getOptions method. Where are they from? Thanks a lot

We've decided to archive some of our repositories as we are no longer using nor willing to maintain them. Part of this process involves closing related issues and PRs. If you still need help, do contact us on<EMAIL_ADDRESS>


Documentation: Add information about database adapter dbt-cratedb2

About
This is the documentation page to be submitted to dbt's documentation space, like the Postgres setup page. It has been made similar like the documentation pages AlloyDB setup, Greenplum setup, and Yellowbrick setup.
Preview
Configuration for dbt CrateDB adapter (GitHub-rendered)
Call for Support
This is the right spot to share your voice on a remote documentation page.
The page needs a bit of your support to finalize, in terms of user testing and polishing the docs. There is not much inside, so it will be nice to get the ingredients right from the very beginning.
/cc @karynzv, @hlcianfagna, @hammerhead, @surister, @kneth, @simonprickett, @proddata, @geragray

The patch has been submitted to upstream.

https://github.com/dbt-labs/docs.getdbt.com/pull/6564


EntityFrameworkCoreIntegration MissingMethodException after upgrading from v7.0.4 to v7.0.7

Is this a bug report? Yes
Can you also reproduce the problem with the latest version? Yes
Environment

Operating system: Win 10
Visual Studio version: 2019
Dotnet version: Core 3.1
Transport: RabbitMQ
Saga Persistency: EntityFrameworkCore/SqlServer 2017

I created a repo to reproduce the problem here.
The master branch contains a working version of the program. To reproduce the error, either upgrade package versions from 7.0.4 to 7.0.7 or checkout the branch "error".
The solution contains two simple .NET Core console apps:

SagaInitiator: Loops indefinitely, waiting for any input key to send a new message to start the saga on each iteration. A fixed CorrelationId is used.

SagaProcessor: Listens for messages to start the saga.

Steps to Reproduce
To reproduce the error, checkout the "error" branch and make the following changes:

On both Program.cs files, replace the value of BASE_URI with the RabbitMQ base address.
On the SagaProcessor Program.cs file, replace the value of DB_CS with a SQL server connection string.

If needed, use the sql script below to create the table for the saga persistency:
`if exists (select top 1 1 from sys.tables where name = 'tbMySaga')
drop table tbMySaga
GO
create table tbMySaga (
CorrelationId uniqueidentifier not null
primary key,
CurrentState nvarchar(64)
)
GO`
Build and run both console apps. After both apps are running, just hit the Enter key on the Initiator console.
Expected Behavior
The expected result would be to see a message being printed out on the SagaProcessor console window and the saga instance would be saved to the database. The Saga interface contains two properties that should be persisted: CorrelationId and CurrentState.
Actual Behavior
A error message is sent to the error queue with information about a MissingMethodException exception. Please find more information below:
###Full StackTrace###
at MassTransit.EntityFrameworkCoreIntegration.SqlLockStatementProvider.GetSchemaAndTableNameAndColumnName(IDbContextDependencies dependencies, Type type)
at MassTransit.EntityFrameworkCoreIntegration.SqlLockStatementProvider.FormatLockStatement[TSaga](IDbContextDependencies context)
at MassTransit.EntityFrameworkCoreIntegration.SqlLockStatementProvider.GetRowLockStatement[TSaga](DbContext context)
at MassTransit.EntityFrameworkCoreIntegration.Saga.PessimisticLoadQueryExecutor1.GetLockStatement(DbContext dbContext) at MassTransit.EntityFrameworkCoreIntegration.Saga.PessimisticLoadQueryExecutor1.Load(DbContext dbContext, Guid correlationId, CancellationToken cancellationToken)
at MassTransit.EntityFrameworkCoreIntegration.Saga.PessimisticSagaRepositoryLockStrategy1.Load(DbContext context, Guid correlationId, CancellationToken cancellationToken) at MassTransit.EntityFrameworkCoreIntegration.Saga.Context.DbContextSagaRepositoryContext2.Load(Guid correlationId)
at MassTransit.Saga.SendSagaPipe2.Send(SagaRepositoryContext2 context)
at MassTransit.EntityFrameworkCoreIntegration.Saga.Context.EntityFrameworkSagaRepositoryContextFactory1.<>c__DisplayClass5_01.<b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at MassTransit.EntityFrameworkCoreIntegration.Saga.Context.EntityFrameworkSagaRepositoryContextFactory1.<>c__DisplayClass8_0.<<WithinTransaction>g__Create|0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at MassTransit.EntityFrameworkCoreIntegration.Saga.Context.EntityFrameworkSagaRepositoryContextFactory1.WithinTransaction[T](DbContext context, CancellationToken cancellationToken, Func1 callback) at MassTransit.EntityFrameworkCoreIntegration.Saga.Context.EntityFrameworkSagaRepositoryContextFactory1.WithinTransaction[T](DbContext context, CancellationToken cancellationToken, Func1 callback) at MassTransit.EntityFrameworkCoreIntegration.Saga.Context.EntityFrameworkSagaRepositoryContextFactory1.WithinTransaction[T](DbContext context, CancellationToken cancellationToken, Func1 callback) at MassTransit.EntityFrameworkCoreIntegration.Saga.Context.EntityFrameworkSagaRepositoryContextFactory1.Send[T](ConsumeContext1 context, IPipe1 next)
at MassTransit.EntityFrameworkCoreIntegration.Saga.Context.EntityFrameworkSagaRepositoryContextFactory1.Send[T](ConsumeContext1 context, IPipe1 next) at MassTransit.Saga.Pipeline.Filters.CorrelatedSagaFilter2.GreenPipes.IFilter<MassTransit.ConsumeContext>.Send(ConsumeContext1 context, IPipe1 next)
at MassTransit.Saga.Pipeline.Filters.CorrelatedSagaFilter2.GreenPipes.IFilter<MassTransit.ConsumeContext<TMessage>>.Send(ConsumeContext1 context, IPipe1 next) at MassTransit.Pipeline.Filters.InMemoryOutboxFilter2.Send(TContext context, IPipe1 next) at MassTransit.Pipeline.Filters.InMemoryOutboxFilter2.Send(TContext context, IPipe1 next) at GreenPipes.Filters.TeeFilter1.<>c__DisplayClass5_0.<g__SendAsync|1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at GreenPipes.Filters.OutputPipeFilter2.SendToOutput(IPipe1 next, TOutput pipeContext)
at GreenPipes.Filters.OutputPipeFilter2.SendToOutput(IPipe1 next, TOutput pipeContext)
at MassTransit.Pipeline.Filters.DeserializeFilter.Send(ReceiveContext context, IPipe1 next) at GreenPipes.Filters.RescueFilter2.GreenPipes.IFilter.Send(TContext context, IPipe`1 next)

Payload
{
"messageId": "00010000-4100-0250-c29b-08d89bafc683",
"correlationId": "71074599-9c3f-9a0b-08f7-d5836034c9f2",
"conversationId": "00010000-4100-0250-6d3b-08d89bafc689",
"sourceAddress": "rabbitmq://localhost/XXXXXXXXXXXXX_SagaInitiator_bus_yyyoyynbyybfboedbdcjzm79ru?temporary=true",
"destinationAddress": "rabbitmq://localhost/Messages:ISagaRequest",
"messageType": [
"urn:message:Messages:ISagaRequest"
],
"message": {
"correlationId": "71074599-9c3f-9a0b-08f7-d5836034c9f2"
},
"sentTime": "2020-12-08T19:30:52.5031067Z",
"headers": {},
"host": {
"machineName": "XXXXXXXXXXXXX",
"processName": "SagaInitiator",
"processId": 24580,
"assembly": "SagaInitiator",
"assemblyVersion": "<IP_ADDRESS>",
"frameworkVersion": "3.1.9",
"massTransitVersion": "<IP_ADDRESS>",
"operatingSystemVersion": "Microsoft Windows NT 6.2.9200.0"
}
}

If you replace saga repository with a InMemorySagaRepository everything works too.

As I stated elsewhere, this is due to changes in EF 5, which is not supported by MassTransit.
https://github.com/eduardomb08/MassTransitSagaError/blob/master/SagaProcessor/SagaProcessor.csproj#L12

This is happening on this line:
https://github.com/MassTransit/MassTransit/blob/33a4b91014c06e5c1d086a023251a481880f178b/src/Persistence/MassTransit.EntityFrameworkCoreIntegration/SqlLockStatementProvider.cs#L51
and they even have a analyzer EF1001 warning, indicating that this is an internal api and subject to change. Well looks like that's indeed true and changed in EF5. So we'll have to find an alternative. For now, you can always implement your own ILockStatementProvider. Copy that class in the link, and then find out the new way to get it in EF5. then submit a pr? :)

That is correct. I downgraded Microsoft.EntityFramewordCore.SqlServer to 3.1.10 and it is working again.
I'll try to find out how to do this in EF5. If I find anything I'll gladly open a PR.

I'm testing a small change, to see if it still works with v3.1, but doesn't use the internal API.

After this lands on develop, you might check to see if this works with EF5.

Would it be a problem to update the reference to Microsoft.EntityFrameworkCore.Relational in MassTransit.EntityFrameworkCoreIntegration to 5.1?
I tested my project with EF 5 after updating that reference and it works.

Because I'd rather not force people to upgrade to EF 5.

k. Got it.

I applied your change to a local copy of the repo and tested the project again and it works.


visibility disable callbacks not working

see http://stackoverflow.com/questions/39876908/visibility-behaviour-disable-callbacks-seems-not-working

Hi @blset,
Thank you for posting, but although it’s a valid usage question, we’ve limited GitHub Issues to bug reports and feature requests, keeping the board more manageable for maintainers; see the contributing guidelines for more information on what kind of posts should find themselves into the GitHub Issues board.
To get answers or feedback that might allow you to repost this issue, please use one of our other support resources:

Gitter chatroom
Official forums
StackOverflow


(PUP-7123) Allow use of beaker 3.x in acceptance tests

This updates the Gemspec to allow the use of beaker 3.x, which
is needed to include support for new platforms (Ubuntu 16.10
in particular).

CLA signed by all contributors.


version: enable strict type checking

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?
[ ] Have you successfully run brew man locally and committed any changes?

Follow-up to #10331
This PR sets typed: strict for version, version/null, and os/mac/version
rubocop:disable Style/MutableConstant is required for constants:
PATTERN = T.let(/[a-z]+/i.freeze, Regexp) # rubocop:disable Style/MutableConstant

Otherwise we get this error with brew style:
Library/Homebrew/version.rb:147:15: C: [Correctable] Freeze mutable objects assigned to constants.
    PATTERN = T.let(/[a-z]+/i.freeze, Regexp)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Doing T.let(...).freeze gives the following error with brew typecheck:
PATTERN = T.let(/[a-z]+/i, Regexp).freeze

version.rb:147: Constants must have type annotations with T.let when specifying # typed: strict https://srb.help/7027
     147 |    PATTERN = T.let(/[a-z]+/i, Regexp).freeze
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

As there doesn't appear to be a way to disable specific features of Sorbet, we'll have to go with disabling RuboCop's Style/MutableConstant for each constant

Review period will end on 2021-01-20 at 18:51:44 UTC.

Review period will end on 2021-01-20 at 18:51:44 UTC.

Note that Shopify, the creators of Sorbet, do not seem to be aiming for typed: strict (https://shopify.engineering/adopting-sorbet). I'm sure I read that they literally advise against it (but I cannot find the source).

Perhaps typed: strong is what you're referring to? https://sorbet.org/docs/static#file-level-granularity-strictness-levels
Regardless, I agree that adding T.let everywhere does make the code a bit unreadable and have updated the PR

Note that Shopify, the creators of Sorbet, do not seem to be aiming for typed: strict (https://shopify.engineering/adopting-sorbet). I'm sure I read that they literally advise against it (but I cannot find the source).

Perhaps typed: strong is what you're referring to? https://sorbet.org/docs/static#file-level-granularity-strictness-levels
Regardless, I agree that adding T.let everywhere does make the code a bit unreadable and have updated the PR

Review period ended.

Review period ended.


Extract dto class

Brief change log
Extract dto class
Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Can you link to a issue and describe why you want to do that?

Can you link to a issue and describe why you want to do that?

+1, @insist777 please set a correct title, link a issue or add some descriction for this pr.


Need help with getting the SID of the first connection

This issue tracker is a tool to address bugs in Flask itself.
Please use the #pocoo IRC channel on freenode or Stack Overflow for general
questions about using Flask or issues not related to Flask.
If you'd like to report a bug in Flask, fill out the template below. Provide
any extra information that may be useful / related to your problem.
Ideally, create an MCVE, which helps us
understand the problem and helps check that it is not caused by something in
your code.

Expected Behavior
Tell us what should happen.
Paste a minimal example that causes the problem.

Actual Behavior
Tell us what happens instead.
Paste the full traceback if there was an exception.

Environment

Python version:
Flask version:
Werkzeug version:

for writing temp files with the sid in the name of the file, i need the sid of the connection from the client.
Can someone help me, i can't figure it out.
Ben


Feature HCL instead of JSON packer templates

What problem does this PR solve?:
We're still relying on packer JSON templates which will still be supported but don't receive any new packer features. HCL will make it way easier for us maintaining multiple Distros for a single deployment which allows us to support things like iso based building on vsphere
Which issue(s) does this PR fix?:

https://jira.d2iq.com/browse/D2IQ-92870

Special notes for your reviewer:

no change expected. Just the packer format changed from json to hcl.
plugins get installed in an additional step
goss is used without plugin reference as it currently does not support the plugin registry format

Does this PR introduce a user-facing change?:

hey @supershal I actually got some trouble with the vsphere stuff here.
when using a base image from our vsphere cluster i get
Build 'vsphere-clone.kib_image' errored after 13 seconds 471 milliseconds: error saving temporary keypair in the vm: not possible to save temporary public key: this VM lacks a vApp configuration and cannot have vApp properties set on it

maybe I chose the wrong image please point me to a working one... otherwise I wonder how we made this work in the past...

@dkoshkin could you please have a look at this again.
I was able to add goss again by just leaving out the plugin registry part and rely on the old fashion install method like with json.

getting following error in
* AMIName should only contain alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_). You can use the `clean_resource_name` template filter to automatically clean your ami name.

clean_resource_name is not implemented in HCL2. recommended function in HCL2 is regex_replace
We need to create regexp for each AWS, GCP and Azure: https://www.packer.io/docs/templates/legacy_json_templates/engine#clean_resource_name

The packer JSON files were go templates which mostly supported --dry-run functionality. When --dry-run is enabled, packer deletes AMI, OVA, Azure image, GCP image once build is successful. This prevents unnecessary AMI created when we run e2e builds and we dont need separate process to clean up resources.
The aws packer manifest also uses templating to determine if packer should use source ami or ami filters based on user inputs.
These functionalities are not moved HCL manifests.
Ideally I prefer to not convert these files into Go templates as we dont use it extensively and most of the templating can be replaced by go code + packer variables (It may not be possible to replace some of current templating blocks with packer variables). Keeping these files as .hcl would also make it easy to test locally for small changes.
We should check into how can we replace current go templating.

The packer JSON files were go templates which mostly supported --dry-run functionality. When --dry-run is enabled, packer deletes AMI, OVA, Azure image, GCP image once build is successful. This prevents unnecessary AMI created when we run e2e builds and we dont need separate process to clean up resources.

yeah good point... just forgot to add this again... Commit is on its way

The aws packer manifest also uses templating to determine if packer should use source ami or ami filters based on user inputs.

this is fully implemented in HCL. See data block and local.source_ami

These functionalities are not moved HCL manifests. Ideally I prefer to not convert these files into Go templates as we dont use it extensively and most of the templating can be replaced by go code + packer variables (It may not be possible to replace some of current templating blocks with packer variables). Keeping these files as .hcl would also make it easy to test locally for small changes.
We should check into how can we replace current go templating.

there is no need of templating anymore. But deleting the whole rendering logic would have blown up this PR too much. Essentially its not needed anymore. Such a cleanup could be done in another PR


Add support for array input in beta distribution of Generator

This PR will add the support for array input in beta distribution of Generator.
Before:
>>> import cupy as cp
>>> rng = cp.random.default_rng()
>>> a = cp.array([1, 2, 1])
>>> b = cp.array([2, 1, 2])
>>> rng.beta(a,b)
TypeError: only size-1 arrays can be converted to Python scalars

After this PR:

>>> import cupy as cp
>>> rng = cp.random.default_rng()
>>> a = cp.array([1, 2, 1])
>>> b = cp.array([2, 1, 1])
>>> rng.beta(a, b)
array([0.49999993, 0.5       , 0.49999997])

pfnCI, test this please.

Jenkins CI test (for commit 4d0070b4029d417574ffb167dab75c2917bec9de, target branch master) failed with status FAILURE.

LGTM except for that typo. I'm going to kick the CI after it is fixed. 👍

pfnCI, test this please.

Jenkins CI test (for commit 0983f49e7b6836adc9f71aa534b527f309357144, target branch master) failed with status FAILURE.

I ran the test on d821558, from which you made your branch, and got the same error so the CI failure seems not depending on the change here. Would you merge the latest master into this?

pfnCI, test this please.

Jenkins CI test (for commit 8006a34882c1dfb989bdffc84539193a42c7ed05, target branch master) failed with status FAILURE.

pfnCI, test this please.

Jenkins CI test (for commit 06a42fa88118984fc052ac4df907efac7c2d5beb, target branch master) succeeded!


how can I use this script with existing ComfyUI

I don't want to load / initialize all models again from start when I run the script, I want to initialize the model, and use it as an endpoint, with fastapi or something like that.
I moved the following sections to upwards, but it doesn't changed anything
NODE_CLASS_MAPPINGS"VAEEncode"
how can I achieve this?

To achieve what you are looking for would require some additional updates to the generated output that is currently out of scope for this repo, but I think the generated script should give you a great head start


scenarios testrial integration ?

I am trying to intergate testrail but so far unsucessful in doing so. Tried this cypress-testrail-reporter, cypress-testrail-simple.

@MrNeo28 We have implemented in our project. We used test rail API to update test results in test rail.
test rail url :https://***.testrail.com/index.php?/api/v2/
to get sections we used below rest API
https://syniti.testrail.com/index.php?/api/v2/get_sections/
Iterated through results.json file and then created json according to need of test rail API

This is clearly not the right place, these kinds of questions don''t get the publicity required.


Code Review should also have 'image of code'

Images of code are a hazard on Code Review.
If I told you to review my code, and gave an image, reviewers would have to transcribe the image. Bad!
So, can we add 'image of code' under Code Review too?

There is already http://idownvotedbecau.se/imageofcode

The start page has the pages organized by community and the Code Review section only has "It's Broken" and "No Cnde for Review". I'm guessing the OP is trying to propose that the existing "Image of Code" reason should be linked into that section as well.
(Writing this comment was harder than creating a PR to implement this proposed change, but I'm not in a place where I can do that.)


Search in rails admin not working on associated models

When I do a search on the table the query only works on email not on username and full name of the user and guest user tables which is basically an associated model for the invited email model.
config.model InvitedEmail do
  list do
    field :id do
      searchable false
    end
    field :email do
      searchable :email
    end
    field :user do
      searchable [:username, :full_name]
    end
    field :guest_user do
      searchable [:username, :full_name]
    end
  end
end

Here is the log on searching in the list:
Parameters: {"model_name"=>"invited_email", "utf8"=>"✓", "query"=>"asd", "_pjax"=>"[data-pjax-container]"} (pid:54610)
InvitedEmail Load (4.4ms)  SELECT  `invited_emails`.* FROM `invited_emails` WHERE ((LOWER(invited_emails.email) LIKE '%asd%'))  ORDER BY invited_emails.id desc LIMIT 20 OFFSET 0 (pid:54610)

Main topic #1434 and same issue #2346

Fixed by b92a4d1a30b706d08df2aee4d0a59dad698a0552.


Replies do not render well in WhatsApp

replies to both statuses and messages do not have the reference preview

@akshettrj if i may ask, how does it work on WA?


Fix spark transform process execution + tests

Build triggered. sha1 is merged.

Refer to this link for build results (access rights to CI server needed):
/job/datavec_PR/78/

Build finished. No test results found.


sync-upstream

NOTE
Please verify that the base repository above has the intended destination!
Github by default opens Pull Requests against the parent of a forked repository.
If this is your personal fork and you didn't intend to open a PR for contribution
to the original project then adjust the base repository accordingly.

sorry 🤦🏻♂


Build pipeline1

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

commit


[0.9.3] inserting NaNs causes value to become unqueryable.

> create database foo
> use foo
Using database foo
> insert cpu value=200
> insert cpu foobar=nan
> select * from cpu
ERR: invalid character 'j' looking for beginning of value
> select value from cpu
name: cpu
---------
time				value
2015-09-15T15:18:10.512161841Z	200

@DanielMorsing To help with reproducing this issue, could you prefix the title of this issue with the version of Influx that you're encountering this under (e.g. [0.x.x] inserting NaNs...)?
Also helpful information would be the OS that you're using and whether this is a cluster or single node setup.

I have the same problem: 0.9.3, Linux, single node.

Similar to https://github.com/influxdb/influxdb/issues/3994

Fwiw, I have the same problem: 0.9.4, Linux, single node.

select * from cpu where value>=0 works,
Case 2:
Now try to insert a value for foobar field
example: insert cpu foobar=123
this query is successful
now try to fetch the values from foobar field by using the query
select * from cpu where foobar>=0
using the query select * from cpu is confusing influxdb or influxdb could not display a field with Not a Number (NaN) value

Fixed via 0926b19


instant configurations

Provide a detailed description of the proposed feature
instantly configurating/linking bundles & casks via simple command in turn helping the terminal stay connected to the correct user admins profile as well as fixing any leaks or broken links within the terminal.
What is the motivation for the feature?
my terminal's had many issues where im not able to find or access a dir or profile. ..
How will the feature be relevant to at least 90% of Homebrew users?
will help users stay bug free & effectively use homebrew.
What alternatives to the feature have been considered?
instead of each person tapping into the same files/folder paths, helping the user configure their existing and homebrew REQUIRED packages.

Sorry, I don't understand what you're asking for here.


Constraint on field_unique_id needs adjusting

The validation constraint on the field_unique_id doesn't consider if the item is being created or updated.
If, via the UI, you simply update a node, it will complain about the unique id being used already. We need this constraint to consider if a node is just being updated.

addressed by #198
The issues is that the constraint violation was flagging a violation if it found the unique id on any entity type with the field on it.  So, if you were updating an object, it would notice an object (namely the one you're updating) has the same unique id on it and throw a violation.  It was too aggressive and not considering item id in comparisons.
This now considers nodes, media and taxonomy terms and it will not throw a violation if the matching item found has the same nid/tid/mid as the item being updated.


Noteseq16: two suggestions

Hi,

Noteseq16 is awesome, thx for making it!

Can we have pentatonic minor among the scales maybe replacing one of (Aeolian, nat. Minor, Minor which are all the same thing?!?)

I noticed that the grid remains one half step per line if you quantise it with the scale/note nob. Could you perhaps switch the grid view to 1 diatonic step per line so we could get two octaves range on the grid?

Cheers!

thank you!
i can't remove any scales because of existing patches.  I will have to think about adding that scale without breaking existing patches(maybe add at the end).
I don't fully understand.  I don't want to change the grid.

Thank you very much for answering! Totally get your answer to my second questionm, it's fine to  prefer preserving continuity over new features.
As for  3) Nevermind!
Cheers!


Updated react-scripts dependency for the React-CSharp template

@ryanbrandenburg, can you please validate the associated PR, per @SteveSandersonMS's comments before merging it in. This issue is actually for tracking that work.
https://github.com/aspnet/Templating/pull/756

We're closing this issue as it seems there is no much interest in this.