Problem running overcommit "Unable to load configuration from '/home/greg/Work/.overcommit.yml': Signature of configuration file has changed!

$ overcommit --version
overcommit 0.32.0
$ overcommit --install
Installing hooks into /home/greg/Work/
Successfully installed hooks into /home/greg/Work/
$ overcommit --sign
Updating signature for configuration file...
$ git commit --amend
Hooks updated to Overcommit version 0.33.0
Unable to load configuration from '/home/greg/Work/.overcommit.yml': Signature of configuration file has changed!
Run `overcommit --sign` once you've verified the configuration changes.
$ overcommit --sign
Updating signature for configuration file...
$ git commit --amend
Unable to load configuration from '/home/greg/Work/.overcommit.yml': Signature of configuration file has changed!
Run `overcommit --sign` once you've verified the configuration changes.

Please let me know how can I help with debugging this.
The weird thing is information about hooks being updated to version 0.33.0, but overcommit is in 0.32.0

The issue here is that the configuration is changing as part of the commit (the output you provide suggests this given the version changed).
Overcommit doesn't currently handle this situation well. #300 tracks the ideal solution, but for now the easiest approach is to run OVERCOMMIT_DISABLE=1 git commit --amend.
Hope that helps!

I'm not sure what's your suggestion. I made one commit with disabled overcommit but all the subsequent commits result in the same error. Am I doing something wrong?

Did you sign with overcommit --sign after making your commit? For example:
OVERCOMMIT_DISABLE=1 git commit --amend
overcommit --sign

Also, make sure you don't have any unstaged changes to your .overcommit.yml! (i.e. git add .overcommit.yml to stage all changes, otherwise when you commit the pre-commit hook will stash the unstaged changes resulting in the signature of your configuration changing again).

Did you sign with overcommit --sign after making your commit?

yes:
$ OVERCOMMIT_DISABLE=1 git commit --amend
[fake-branch 56bb2ee] test
 Date: Thu Jun 9 10:52:18 2016 +0200
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 test
$ overcommit --sign
Updating signature for configuration file...
$ git commit --amend
Hooks updated to Overcommit version 0.33.0
Unable to load configuration from '/home/greg/Work/.overcommit.yml': Signature of configuration file has changed!
Run `overcommit --sign` once you've verified the configuration changes.

Regarding the second part: .overcommit.yml is not tracked by git - it's ignored in .gitignore file. So it's definitely not stashed.

Sorry for the delay in response, @pawlik.
I'm not sure what's going on here, but the fact that your .overcommit.yml isn't tracked by Git might be to blame. It's not the way to tool was designed (i.e. it was never expected someone would use Overcommit without committing their .overcommit.yml).
If you could provide a public repository where this behavior can be reliably reproduced, I'd be happy to investigate! Thanks!

@sds I got it - I had installed it with gem install overcommit (0.32.0) and also in Gemfile (0.33.0 arrived from repo), so the issue was config version mismatch. Thanks for you assistance.

I had the same problem here. Overcommit should warn, if configuration version != executable version


help please

How do I change it to my location

It's currently broken - as the previous several issues created show.


[WatchOnlyWallet] Adding id and Merkle proof data in transactions

@zeptin here is your change
@dangershony

got it


How to really delete a softDeletable entity?

Hi, I've been searching for a while but couldn't find a solution.
Is there a way (from a controller) to actually remove a softDeletable entity from the database?
Am I missing an existing feature?
Thanks.

Quick 'n dirty:
$entityManager = $this->getDoctrine()->getManager('default');
$eventManager = $entityManager->getEventManager();

// remove the softdeletable subscriber
$subscriber = $this->get('knp.doctrine_behaviors.softdeletable_subscriber');
$eventManager->removeEventListener($subscriber->getSubscribedEvents(), $subscriber);

// remove entity while the subscriber is removed
$entityManager->remove($entity);
$entityManager->flush();

// add back the subscriber
$eventManager->addEventSubscriber($subscriber);

Thank you so much for your quick answer! This is just what I needed!

@nifr I got the error "you have requested a non-existent service". After a quick search, I found the service in orm-services.yml and had to set "public: true" in order to get your solution to work. But this change will be lost after running composer, right? Can I make this change in a custom file somewhere else in my app so it's not lost after a composer update?

2 possible solutions:

define your controller itself as a service and inject the subscriber-service explicitly
create a factory-service that would return the subscriber service and call that one in your controller

Maybe you can just overwrite the subscriber in your own services.yml? Haven't tried it myself to see if it works, but I'll probably need to test it very soon, since I'll need to completely disable that same filter/subscriber in my backend (so administrators can check out which entities are "soft-deleted", you know)
# app/config/services.yml
services:
    knp.doctrine_behaviors.softdeletable_subscriber:
        class:   "%knp.doctrine_behaviors.softdeletable_subscriber.class%"
        public:  false
        arguments:
            -<EMAIL_ADDRESS>            - "%knp.doctrine_behaviors.reflection.is_recursive%"
            - "%knp.doctrine_behaviors.softdeletable_subscriber.softdeletable_trait%"
        tags:
            - { name: doctrine.event_subscriber }

Thanks for the tip! I'll give it a try when I can.

The easiest trick to avoid any doctrine event listeners and "behaviours" is to use DQL:
$this->getDoctrine()->getManager()
             ->createQuery('DELETE FROM App\Entity\User m WHERE m.id = :id')
             ->setParameter('id', $user->getId())
             ->execute();


Track GA for safe actions

Closes https://github.com/gnosis/safe-react/issues/1213
Add the following GA events for specific page views:
SafelistSidebar
Assets
Collectibles
Transactions
Apps (name)
Settings

SafeDetails
Owners
Policies
Advanced
SpendingLimits

Travis automatic deployment:
https://pr1302--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1302--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1302--safereact.review.gnosisdev.com/app

@mikheevm changes applied

Travis automatic deployment:
https://pr1302--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1302--safereact.review.gnosisdev.com/app


Create entity versioning

Create entity versioning:
If an entity is used in an Ingredient only the notes & Stock ammount can be Edited. in this case Users should be able to create a new version of the ingredient to make changes. When selecting an entity you should have a dropdown to select different versions of the entity.

Closed in favor of duplication of entities as added in #24


sortable items has sub items

I have a Scenario that a sortable items has some sub items. the sub items should not be moved to other sub items. How can I fixed it.
http://jsfiddle.net/lovebanyi/p1phowqg/

@kooboo-binbin - I'm not sure that the fiddle that you linked is right. Can you check it to see if it shows your problem?  Thanks!

@rniemeyer I updated the fiddle URL. can you check again.


Support plugin for mongodb v3.6.x

Please answer these questions before submitting pull request

Why submit this pull request?

[ ] Bug fix

[x] New feature provided

[ ] Improve performance

Related issues

Bug fix

Bug description.

How to fix?

New feature or improvement

Describe the details and related test reports.

FYI @scolia

Supported-list.md also needs to be updated.

Supported-list.md also needs to be updated.

Yes. Besides this, we need to provide the Plugin-Test case. But it is easy.

Codecov Report

Merging #4173 into master will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4173      +/-   ##
==========================================
+ Coverage   26.76%   26.81%   +0.05%
==========================================
  Files        1163     1163
  Lines       25428    25428
  Branches     3691     3691
==========================================
+ Hits         6805     6819      +14
+ Misses      18017    18000      -17
- Partials      606      609       +3

Impacted Files
Coverage Δ

...ache/skywalking/apm/agent/core/jvm/JVMService.java
77.04% <0%> (+3.27%)
:arrow_up:

.../core/remote/ServiceAndEndpointRegisterClient.java
44.94% <0%> (+13.48%)
:arrow_up:

Continue to review full report at Codecov.

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

Supported-list.md also needs to be updated.

It has been updated.

It has been updated.

We mean this one, https://github.com/apache/skywalking/blob/master/docs/en/setup/service-agent/java-agent/Supported-list.md

CI AND IT / CI-on-MacOS check fail. @wu-sheng

tests failed several times.  @wu-sheng @dmsolr

tests failed several times.

Rerun e2e.


Progress bars in surveys

What do you need?
https://github.com/AusDTO/gov-au-content-guide/issues/173

Design Guide cross over

Now being tracked in Trello


Fix make

Make failed because ocid doesn't installed yet into system path:
ocid --config="" config --default > ocid.conf
/bin/sh: 1: ocid: not found
Makefile:72: recipe for target 'ocid.conf' failed

This PR fixed this and also adds make to travis.

LGTM

LGTM


Bug report (https and parsing problem)

youtube-dl can't parse all url, he sending only http://content.uplynk.com/1.m3u8 request while youtube-dl need send url with all parameters like this https://content.uplynk.com/1.m3u8?cid=1&oid=2&exp=1&rn=1&tc=1&ct=a&sig=1

https://github.com/rg3/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command


In some cases, the right arrow of CalculationResult remains visible when it should not.

Describe the bug
The right arrow button doesn't become collapsed when the value changes from a long number to a short one when Scrollviewer.HorizontalOffset = 0
Steps To Reproduce

resize the window to the minimum
select the Programmer mode
click on Bin
press 1 until you see the scroll buttons
scroll to the far left
Do one of the following action

press CE
paste a short number
click on % then =

Expected behavior
the right arrow must be collapsed
Screenshots

Device and Application Information

OS Build: 10.0.18363.0
Architecture: X64
Application Version: 10.1908.0.0
Region: en-US
Dev Version Installed: True

Requested Assignment
If possible, I would like to fix this.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.


Catalog query not correcting handling in-array queries

This should work via the "$contains" operator, which maps onto "$elemMatch" in mongo. However this does not appear to be working. See commented out tests in test/consumer.js

This is now tested and working. The tests and documentation have been updated


Fork or replace elasticsearch dependencies

The elasticsearch build relies on the following libraries independently built by elastic.co:

JNA
SecureMock
MockSocket
Geolite2DB - Being tracked in a dedicated issue: https://github.com/opensearch-project/OpenSearch/issues/404

This issue is to track the tasks needed to fork into the following repos:

search-jna-build
search-securemock
search-mocksocket

[x] Mirror fork JNA
[x] Mirror fork Secure Mock
[x] Mirror fork MockSocket

Update the OpenSearch build files for these dependencies

[ ] server/build.gradle
[ ] client/rest/build.gradle
[ ] client/sniffer/build.gradle
[ ] gradle/local-distribution.gradle
[ ] test/framework/build.gradle

Remove the exclusions for thirdPartyAudit task

[ ] https://github.com/opensearch-project/OpenSearch/issues/420

We've initially forked, but chose to, for now, archive securemock, mocksocket and jna-build.

mocksocket can likely be upstreamed to Mockito (https://github.com/opensearch-project/securemock/issues/2)
jna-build output can likely be replaced by jna proper )https://github.com/opensearch-project/jna-build/issues/3)

securemock: The grant permissions feature provided by securemock does not look to be readily available in the new mockito version. We could either upstream the changes to mockito or fork the repo. If we successfully upstream the changes, we would also have to upgrade mockito version in OpenSearch since the version currently being used is 1.9.5.
mocksocket: The grant permissions feature on top of Socket and ServerSocket apis could also either be upstreamed to mockito or something similar that can house it. It could also be implemented as a utility in OpenSearch or the repo could be forked similar to securemock.
@dblock @saratvemulapalli @CEHENKLE thoughts?

Thanks @VachaShah,

What are these "grant permissions" features used for? Is this something we want in OpenSearch and why?
Assuming we want to keep these features, are they incremental on top of mockito?

If (2) is true, I think we should start by extracting the features into a new OSS library that is dependent on mockito rather than a fork, so we can have a clear cut dependency. If that's not possible, definitely upstream.

The grant permissions features are the main features provided by both the repos, for securemock: Allows creating mocks in tests without having to grant dangerous permissions to all of your code and for mocksocket: Allows using sockets without having to grant dangerous permissions to all of your code. They look like useful features but I am open to your thoughts!
For being incremental, the securemock and mocksocket repos are pretty old (last updated about 5 years ago with mockito 1.9.5) so if/when we put it on top of mockito, there might be quite a few changes since we would be using the latest mockito version. For one of the instances, I saw securemock is using some CGLIB functionality but mockito has moved away from it in the newer versions and they now use ByteBuddy. There might be other things as well which might need to be changed.

Definitely agree on upgrading the mockito version!

The grant permissions features are the main features provided by both the repos, for securemock: Allows creating mocks in tests without having to grant dangerous permissions to all of your code and for mocksocket: Allows using sockets without having to grant dangerous permissions to all of your code. They look like useful features but I am open to your thoughts!

Can you help me understand how that's useful? This is used in tests on throwaway CI infrastructure, and not at runtime. So why does one need it?

I think from what I understood from the repos, it helps avoid giving permissions to all of the code for mocking and for using sockets during tests. I see that this practice has also been used for other codebases in the test framework: https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/resources/org/opensearch/bootstrap/test-framework.policy. Let me know if you think this might not be required for us.

I think from what I understood from the repos, it helps avoid giving permissions to all of the code for mocking and for using sockets during tests. I see that this practice has also been used for other codebases in the test framework: https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/resources/org/opensearch/bootstrap/test-framework.policy. Let me know if you think this might not be required for us.

Ok, but why? ;) I have not read a good reason why one would want this. Maybe @nknize can explain?

Honestly, I am also unclear on what the consequences would be of removing it. But whether we decide to keep it or remove it, we can update the mockito version. If we decide to keep it though, there will be an interdependency where the functionalities of securemock will have to be implemented on the newer version of mockito and we would update the version of mockito on OpenSearch as well.

Elasticsearch rebuilds JNA to strip out native libraries for platforms that not supported by elastic.
Are we going change JNA dependency from elastic rebuild version to a GA version and ignore the strip out action?
@dblock

Without mocksocket core opensearch would need to grant the following so integration tests could be executed:
grant {
  // give permission to **all** core code just for tests
  permission java.net.SocketPermission "*", "accept,connect,resolve";
};

These permissions would be carried forward in the production clusters making them vulnerable. With mocksocket those permissions are granted to the mocksocket jar only which is used in the MockNioTransport inside the test framework.

Thanks for the clear explanation @nknize, I understand why we need mocksocket.

Elasticsearch rebuilds JNA to strip out native libraries for platforms that not supported by elastic.
Are we going change JNA dependency from elastic rebuild version to a GA version and ignore the strip out action?
@dblock

My vote would be yes.
I don't see why we would keep restricting platforms. While we may not be releasing a package that has been tested on some platform, it doesn't feel right to artificially prevent others from trying to run on those platforms, reporting bugs, etc. Looking for @nknize to agree/disagree here as well to make sure I'm not missing more history or context.

Thanks for the clear explanation @nknize, I understand why we need mocksocket. Let's reproduce this verbatim in our mocksocket fork's README or somewhere else where it's not going to be lost @VachaShah.

Sure, will do!

Without mocksocket core opensearch would need to grant the following so integration tests could be executed:
grant {
  // give permission to **all** core code just for tests
  permission java.net.SocketPermission "*", "accept,connect,resolve";
};

These permissions would be carried forward in the production clusters making them vulnerable. With mocksocket those permissions are granted to the mocksocket jar only which is used in the MockNioTransport inside the test framework.

@nknize Thanks for the explanation, that really helps! For securemock, it gives permissions to mockito during the tests, does this apply to securemock as well?

Elasticsearch rebuilds JNA to strip out native libraries for platforms that not supported by elastic.
Are we going change JNA dependency from elastic rebuild version to a GA version and ignore the strip out action?
@dblock

My vote would be yes.
I don't see why we would keep restricting platforms. While we may not be releasing a package that has been tested on some platform, it doesn't feel right to artificially prevent others from trying to run on those platforms, reporting bugs, etc. Looking for @nknize to agree/disagree here as well to make sure I'm not missing more history or context.

Here is the list of native libraries thatJNA support - https://github.com/java-native-access/jna/tree/master/lib/native
Does It makes sense to include these libraries for the platforms which we probably won't support (e.g. Android)?

Elasticsearch rebuilds JNA to strip out native libraries for platforms that not supported by elastic.
Are we going change JNA dependency from elastic rebuild version to a GA version and ignore the strip out action?
@dblock

My vote would be yes.
I don't see why we would keep restricting platforms. While we may not be releasing a package that has been tested on some platform, it doesn't feel right to artificially prevent others from trying to run on those platforms, reporting bugs, etc. Looking for @nknize to agree/disagree here as well to make sure I'm not missing more history or context.

Here is the list of native libraries that JNA supports - https://github.com/java-native-access/jna/tree/master/lib/native
Does It makes sense to include these libraries for the platforms which we probably won't support (e.g. Android)?

Those seem minor, or aren't they? Are we worried about the bit of disk space? Rebuilding native bits has its own risks.

Elasticsearch rebuilds JNA to strip out native libraries for platforms that not supported by elastic.
Are we going change JNA dependency from elastic rebuild version to a GA version and ignore the strip out action?
@dblock

My vote would be yes.
I don't see why we would keep restricting platforms. While we may not be releasing a package that has been tested on some platform, it doesn't feel right to artificially prevent others from trying to run on those platforms, reporting bugs, etc. Looking for @nknize to agree/disagree here as well to make sure I'm not missing more history or context.

Here is the list of native libraries that JNA supports - https://github.com/java-native-access/jna/tree/master/lib/native
Does It makes sense to include these libraries for the platforms which we probably won't support (e.g. Android)?

Those seem minor, or aren't they? Are we worried about the bit of disk space? Rebuilding native bits has its own risks.

I'm not worried about the disk space, but there must be some reason why elastic chose to go this route. We should find that out and if that seems like an unreasonable reason we can start using the upstream JNA.

Those seem minor, or aren't they? Are we worried about the bit of disk space? Rebuilding native bits has its own risks.

I'm not worried about the disk space, but there must be some reason why elastic chose to go this route. We should find that out and if that seems like an unreasonable reason we can start using the upstream JNA.

The original intent is explained here https://discuss.elastic.co/t/why-elasticsearch-has-separate-jna-library/194986/4
Maybe this no longer holds true.

I don't see any real problems or bugs in that explanation, only FUD.

@dblock my apologies, I cannot update the description of the issue but we could put checks on:
[X]  client/rest/build.gradle
[X] client/sniffer/build.gradle
Those are out of scope now, thank you!
@VachaShah do you need help with this issue? There are a few options (besides forking and giving all permissions) which we could explore, what do you think?

@reta Thank you for the offer! @xuezhou25 will be working on this.

@reta since you PRed https://github.com/opensearch-project/OpenSearch/pull/1187, you've got a leg ahead on all of us already. We have mountains of other things we want to do - would you rather pick this one up?

@dblock absolutely, @xuezhou25 how does it sound to you?

@reta Cool beans!  Thank you :)

@reta My plan is still forking and giving all permissions to mocksocket & securemock. Since you have the better solution and are ahead of us, it's all yours! :)

@xuezhou25 thank you, since there is a dedicated security manager for testing, I will try to prototype the dedicated security checks in there, hopefully (:crossed_fingers: ) the forks will not be needed anymore.


WI5 Update

Pushing updated code. Issue with pop-up automation is being resolved in development.

An expert need to review your code and it will be done before next sunrise :)


Could you provide the corresponding hyperparameters for the results in the table 4, 5 of the paper?

Could you provide the corresponding hyperparameters for the results in the tables of the paper? Many are missing in the code, such as GLEM.

I have the same question, could you provide the hyperparameter for the results in your main table? such as every specific lr you used for every model.


Add some generics to tests

Q
A

Type
improvement

BC Break
no

Fixed issues

Summary
This is made on top of https://github.com/doctrine/mongodb-odm/pull/2385
This PR fixes some of the issues (the easiest one I think) that appear when adding checkGenericClassInNonGenericObjectType, it goes from 198 issues to 104

I've merged #2385 but this must be from before rebase there :sweat_smile: @franmomu mind rebasing this one?

I've merged #2385 but this must be from before rebase there 😅 @franmomu mind rebasing this one?

yeah, sure, no problem!

Thanks @franmomu!


Set PreferredAllocationAvailable to false

Because current we not use PreferredAllocationAvailable method, so we can modify to false.

/assign


Ingress SDS tests should be run as presubmit

These tests are stable now, but they are running only in postsubmit. The only concern is that they will add about 15 minutes to the current security test job in presubmit. Native Citadel and/or running multiple test jobs for security tests should address this problem. More context: https://github.com/istio/istio/pull/19329, https://github.com/istio/istio/issues/18651.

Closing this one in favor of https://github.com/istio/istio/issues/19342


Can't Edit Search Query in Search Bar After Searching in finesse-frontend

After performing a search, the search query turns into a placeholder in the search bar. This means you can't edit it for follow-up searches or to refine your previous search.
Steps to reproduce

Perform a search in the search bar.
Try to edit the search query in the search bar.
Notice that the search query is a placeholder and can't be edited.

Expected
After searching, the search query should remain editable in the search bar. This way, users can easily modify their last search for follow-up or refined searches. A button to erase the whole query at once could also be added.

Duplicate of https://github.com/ai-cfia/finesse-frontend/issues/16

Duplicate of https://github.com/ai-cfia/finesse-frontend/issues/16

Duplicate of https://github.com/ai-cfia/finesse-frontend/issues/16


Improve audio data streaming

Now:

audio metadata request params: filepath
audio data request params: filepath, sample_start, sample_end
audio data response: byte array of samples within duration (via single response)

Goal:

[x] audio metadata request params: audio tag id
[x] audio data request params: audio tag id (or audio data id), duration_start, duration_end
[x] audio data response: duration_second, byte array of samples in one-second

Implemented audio data request with parameters (#2)

Audio tag id: came from the MongoDB document
Duration start and end: index of the audio sample

Since audio player knows the right position of the audio samples for playback at sending the request, I don't think Cirrus server have to contain duration_second payload in the response data.
But I think the transmission method needs to be improved. The approach for filling the audio buffer is to request samples several times that corresponding to a certain portion of the audio. And I think this can be improved by a stream method in which the server sends corresponding data continuously once the client requests it.

PR ref: #30


Video Gen OUtput

How do I save a video generation?  The output is "string" which I assumed meant that I would get a URL.  I added a "display any" node bit got no output.  The API did charge me, so not sure how to save my output.

Hello, i recommend using Video Helper Suite nodes for this. It is most common video saving node on ComfyUI. If you go to your account on fal website you can take the video generated from your requests in the model page. It wont dissappear. You can use load video from url node from this nodes and combine video node from VHS nodes. https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite


How to use .loc to filter data based on category_id is [] and label is 1?

First, my goal is to find out the people with label ==1, meaning they bought the app before.
Second, look at category_id, where are the [], empty sequence? It means that these customers bought the app without searching any types of news in the app.  where are they, the [], how many?
Third, based on this condition : label==1, I want to know who bought the app without searching any categories, category_id = []
Here is what I do:
Index:
s=DataFrame(records,columns=['category_id','label'],index=range(300000))
Filter :
s.loc [ (s ["category_id"]==False) & (s["label"]==True),["category_id","label"]]
result:
Empty DataFrame
Columns: [category_id, label]
Index: []
Well, Question:
1.why index is []? I gave it 300000 already.
2. I thought the condition I wrote in Filter might be wrong.

At here the loc is same as the boolean indexing.
Assuming you extract a database called"ds", then you can use ds[ds["label"]>0] to satisfy the first condiction.
Then at here something is tricky, as you suggested, how to get rid of the empty list?
you can use .loc to locate the column of the category_id then drop all of them, or a better way, assign it back to ds.However, you need to sort the return value firstly and then drop it.
Wish this could help


fixes isovar by using new PyEnsembl.Transcript.is_protein_coding property

Closes: https://github.com/hammerlab/isovar/issues/44

This change is

LGTM!

Coverage decreased (-0.01%) to 86.798% when pulling fbae75aa7c0fb5331a34e116323678c05b533cc0 on fix-transcript-biotypes into 771a7ec8d2b600e6a88d0cdb8e91d5608cda2abc on master.

Coverage decreased (-0.01%) to 86.798% when pulling fbae75aa7c0fb5331a34e116323678c05b533cc0 on fix-transcript-biotypes into 771a7ec8d2b600e6a88d0cdb8e91d5608cda2abc on master.


Add clarity to the statement "add a token" to the Federation API Server Secret

https://github.com/kelseyhightower/kubernetes-cluster-federation#federation-api-server-secret
I believe (!?) the token may be any random string but it would be useful to clarify this in the instructions.

@DazWilkin Good call, I'll add this.

I've updated the guide to just generate a random token.


Move binary arguments to config

@tomaszdurka please review

Looks ok, need to test this though. Example config file could be helpful. Like here https://github.com/cargomedia/pulsar-rest-api/blob/master/bin/config.yaml


Implement the Circuit Graph plotter in Python

Currently we have a feature that plots the circuits to .png, implemented in #295 (closing #235).
Ideally, it would be easier for the end-user to be able to use that feature if it was implemented in pure Python, as it currently depends on some "heavy" non-Python software (pdflatex, mostly) that might not be available or installable under all environments.

Hi,
I made my own implementation to plot circuits to SVG (and then to PNG or whatever you need as long as there exist a library to transform the SVG to the format you need).
There are still some issues:

For the moment I can't publish the code, I need to wait for people in the company to approve it.
The code is not under Apache license: the license is nearly the same as Apache but is not compatible with it because of 1 or 2 clauses.
The rendering is not as nice as the LaTeX rendering.

Nevertheless, I have a github page for it and I will try to publish it as soon as possible. I will also add some pictures to show the results obtained by the tool.

@diego-plan9 The code is published on my GitHub.
About the licensing, the license is basically a BSD or Apache-like license, except that it enforces the obligation to cite the authors and select the French law as the governing law. You can read the license's FAQ for readable informations, the license is "CeCILL-B".

Thanks for pushing the code - it's looking nice! And also for the clarification on the license, which after having a look at the FAQ mentioned still seems to be the hot topic. Please keep in mind I'm not a lawyer, but could you provide more info on the following:

under "Using CeCILL", it states (emphasis mine):

CeCILL has the following characteristics:
...
CeCILL is contaminating: when a software under CeCILL is integrated or integrates a software under a different licence, the result of this integration must be distributed under CeCILL

could you confirm that that specific paragraph does not apply to CeCILL-B? If I'm reading it correctly, 5.3.3 on the CeCILL-B license would be the one that differs.

could you provide more information about the status of the OSI certification of the CeCILL-B license? I noticed the CeCILL-2.1 license seems to be on the list as uncategorized, but could not find information about CeCILL-B specifically.

To put it in context, it's about making sure that using your library (either directly or with the modifications related to the rendering, if needed) fits into our current policy, which is distributing the SDK itself under Apache License 2.0, and as a result using dependencies that are licensed with fully compatible licenses (BSD, Apache, etc, as you mention) - which hopefully will be the case! :crossed_fingers:

Hi! After reading a little bit the license and speaking with colleagues:

Your first point is right, the paragraph you cited does not apply to CeCILL-B.

CeCILL-B is not OSI approved. I don't really know why.

From 5.3.2:

If the Licensee makes any Contribution to the Software, the resulting Modified Software may be distributed under a license agreement other than this Agreement subject to compliance with the provisions of Article 5.3.4.

Means that if someone modify the code, he/she is free to change the license to whatever he/she wants. The only restrictions are listed in 5.3.4.

PS: if you want I'm on the QISKit Slack. You can ping me in the latex_drawer channel, or in private whenever you want =)

The tool is now available via pip. Installation procedure:
pip3 install cffi
pip3 install qasm2image

A quick documentation on how to use the tool is given in the GitHub page of the project.

As mentioned in private and hinted in slack, unfortunately the licensing issues could not be solved satisfactorily - and at the same time another effort for implementing the circuit drawer in pure Python has emerged at #579 that, while visually very similar, is more aligned with our goals in the legal aspects (and also in some finer implementation details), so we are integrating it in the codebase.
Nevertheless, thanks @nelimeee for your efforts and also for your patience, and looking forward to more contributions - and for everyone following the thread, in the pure open source spirit, in practice it is a third (and nice) alternative for drawing circuits via pip install qasm2image!


Received true for a non-boolean attribute inline

Not sure if I'm the only one, but I've cloned your repo, change the database url to a MySQL db and swapped the GoogleProvider to the TwitterProvider and I'm getting the following error after logging in:
Warning: Received `true` for a non-boolean attribute `inline`.

If you want to write it to the DOM, pass a string instead: inline="true" or inline={value.toString()}.
    at code
    at code (webpack-internal:///./components/home/card.tsx:62:47)
    at p
    at ReactMarkdown (webpack-internal:///./node_modules/.pnpm/react-markdown@8.0.4_kzbn2opkn2327fwg5yzwzya5o4/node_modules/react-markdown/lib/react-markdown.js:90:42)
    at span
    at v (webpack-internal:///./node_modules/.pnpm/react-wrap-balancer@0.3.0_react@18.2.0/node_modules/react-wrap-balancer/dist/index.mjs:8:856)
    at div
    at div
    at div
    at VisualElementHandler (webpack-internal:///./node_modules/.pnpm/framer-motion@8.4.3_biqbaboplfbrettd7655fr4n2y/node_modules/framer-motion/dist/es/motion/utils/VisualElementHandler.mjs:8:1)
    at MotionComponent (webpack-internal:///./node_modules/.pnpm/framer-motion@8.4.3_biqbaboplfbrettd7655fr4n2y/node_modules/framer-motion/dist/es/motion/index.mjs:50:65)
    at Card (webpack-internal:///./components/home/card.tsx:17:11)
    at div
    at VisualElementHandler (webpack-internal:///./node_modules/.pnpm/framer-motion@8.4.3_biqbaboplfbrettd7655fr4n2y/node_modules/framer-motion/dist/es/motion/utils/VisualElementHandler.mjs:8:1)
    at MotionComponent (webpack-internal:///./node_modules/.pnpm/framer-motion@8.4.3_biqbaboplfbrettd7655fr4n2y/node_modules/framer-motion/dist/es/motion/index.mjs:50:65)
    at main
    at Layout (webpack-internal:///./components/layout/index.tsx:31:11)
    at Home (webpack-internal:///./pages/index.tsx:29:120)
    at main
    at L (webpack-internal:///./node_modules/.pnpm/react-wrap-balancer@0.3.0_react@18.2.0/node_modules/react-wrap-balancer/dist/index.mjs:8:764)
    at SessionProvider (webpack-internal:///./node_modules/.pnpm/next-auth@4.18.8_q76c2b4vyoegvsbrcwkfvimnai/node_modules/next-auth/react/index.js:454:24)
    at MyApp (webpack-internal:///./pages/_app.tsx:28:11)
    at PathnameContextProviderAdapter (webpack-internal:///./node_modules/.pnpm/next@13.1.1_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/shared/lib/router/adapters.js:62:11)
    at ErrorBoundary (webpack-internal:///./node_modules/.pnpm/next@13.1.1_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:301:63)
    at ReactDevOverlay (webpack-internal:///./node_modules/.pnpm/next@13.1.1_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:850:919)
    at Container (webpack-internal:///./node_modules/.pnpm/next@13.1.1_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/client/index.js:61:1)
    at AppContainer (webpack-internal:///./node_modules/.pnpm/next@13.1.1_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/client/index.js:171:11)
    at Root (webpack-internal:///./node_modules/.pnpm/next@13.1.1_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/client/index.js:346:11)

And because I'm using pnpm, I've also deleted the yarn.lock file. Everything else is correct (prisma has generated the schema und pushed to the DB and keys are correct because they work on another local app).
Any idea what that could be? As far as I could follow it, it should be somewhere in the popover.tsx or user-dropdown.tsx

Good catch! Looking into this rn @yasinkavakli

This seems to be coming from my custom ReactMarkdown component so I fixed it with this commit: https://github.com/steven-tey/precedent/commit/fc721c31afff0ce1e1457537b5c59d861a8451d7
Thanks again for the bug report!

Thanks for the fix. I had assumed it could be there but didn't had time to look into it. Thanks for the quick fix 👍


Report hash verification progress

Resolves #210
This will show the progress of hash verification were previously the UI would only display the download as active with no progress until hash verification completed. I don't think this is a mergable state. I would still like to add in display that the remaining active but non-downloading items are queued. I'm just looking for feedback that this is appropriate and mergable or any changes you would like to see.

This 2nd commit puts this at the features I wanted in my PR. I'm not sure if the -warning color scheme is best but I think it makes sense as its not yet downloading so it helps differentiate it from truly being active. Tested that the stop button shown during verifying works.
Let me know if there is a better way to implement this as I never really work with js or angular.
I'm testing this I just have a large torrent at 15GB and a handful of smaller ones cleverly named so that with `aria2c --enable-rpc --rpc-secret='xxx' -V *.torrent' this verifies the integrity of the the large torrent first and gives you ample time to see everything else queued up. (Be sure you have more than 1 download at a time allowed or the other downloads wont even queue for verification until the first download is completely finished)

@kkartaltepe I agree with showing it as a warning rather then active.
And your 2nd commit was the proper way of adding it in. The code looks good! Gonna release for everyone 🎉


[client] historical bank owner and lp fees

in bankEventQueries.ts create a function that allows us to query all swap events from a bank, and compute the total fees that were earned by the owner and the lp.
there are swap events in the contracts that allow you to do that.

pls can I work on this issue @aymericdelab


Hide arrow buttons on DateRangePicker

Hi,
Is there any way to hide arrow buttons on DateRangePicker?
I'm enabling only last 30 days on Calendar so I dont need the navigation buttons.
Thanks

The "last 30 days" could potentially span up to three months. How many months are you displaying?

I'm displaying 2 months.

I think this is a dupe of https://github.com/airbnb/react-dates/issues/339, but the short answer is that there is currently no way to disable the month navigation based on a certain range. I would be open to accepting a PR for this behavior.

Closing as a duplicate.


Settings window is not brought to front

Microsoft PowerToys version
0.35.0
Running as admin

[ ] Yes

Area(s) with issue?
Welcome / PowerToys Tour window
Steps to reproduce

Open 'Welcome to PowerToys' window from the settings
Minimize Settings window
Try to open settings from 'Welcome to PowerToys' window

✔ Expected Behavior
Settings window is brought to the front
❌ Actual Behavior
Settings window isn't brought to the front
Other Software
No response

@davidegiacometti thanks!

Resolved. Thanks @davidegiacometti!


[flutter_releases] Flutter beta 2.8.0-3.2.pre Framework Cherrypicks

Flutter beta 2.8.0-3.2.pre Framework
Scheduled Cherrypicks

commit: e8ec8a0df

Landing with Mac module_test_ios red because the cherry pick to fix it is complicated and needs some more soak time before cherry picking to beta.


[5.5] Add support for 'year' datatype for Schema migrations

This commit adds support for year datatype for the different supported databases. Originally, only MySQL has native support for year datatype and as such, year type was left out of schema migrations.
This adds support for the year type and poly-fills with the integer datatype for other databases (PostgreSQL, SQLite, SqlServer)

I think something went a bit wrong here?

I'm a bit lost. what went wrong?

Conversation 2 Commits 165 Files changed 129

Close and try again.

Ok. I will. This is my first PR though and I changed about 7 files. not sure what i did wrong but i'll give it another go.

Here's a good run-through on submitting a pull request, if you need assistance.
Submitting a pull request to an open source project

Thanks. I figured out what I did wrong. I branched off of master instead of 5.5


[Code update ] Error: [Errno 104] Connection reset by peer

This is recently seen during code update on Witherspoon and now seen on Barreleye too.
Post code activation, issued warm reset which closes the connection and the automation somehow catches the exception and aborts.
The code update continues however from the automation point of view the update test code err's out.. .which is not a good thing..

Initiate Code update BMC :: BMC code update process initiation        | FAIL |
error: [Errno 104] Connection reset by peer
Update Bmc :: Trigger code update to a target BMC.                    | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed


Different behaviour between nbqa black and nbqa black --check

Hello,
Thanks for making this awesome tool.
 I've managed to recreate this with the following minimal example. It appears to be related to how the configuration is parsed.
.
├── notebook.ipynb
└── pyproject.toml

My project has something like the following configuration. We set the line length to be 79 for source code but are happy with longer lines inside notebooks.
# pyproject.toml
[tool.black]
line-length = 79

[tool.nbqa.addopts]
# use longer lines in notebooks
black = [
    "--line-length=88",
]

notebook.ipynb has a single cell with the following contents
result = function_name(xxxxxxxxxxxxxxxxxxxxxxxxxx, xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)

The exact contents are not so important, the important thing is that the line length is more than 79 but less than 88. Running
nbqa black notebook.ipynb

results in no changes, but running
nbqa black --check notebook.ipynb

indicates that the notebook would be reformatted.

To avoid any ambiguity, here's the notebook JSON
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "77402ebb-99fc-4232-9f9a-d46bb0d3aa3d",
   "metadata": {},
   "outputs": [],
   "source": [
    "result = function_name(xxxxxxxxxxxxxxxxxxxxxxxxxx, xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "nbqa",
   "language": "python",
   "name": "nbqa"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}

It seems that the addopts specified in pyproject.toml get overridden here. Would it make sense to concatenate the lists (with command line arguments coming after so they override any pyproject.toml options) so that both get applied?

Hey @tcbegley !

Thanks for making this awesome tool.

Thanks! Are you using it at Faculty AI?

It seems that the addopts specified in pyproject.toml get overridden here.

Yes, that's right. Thanks for investigating this and for sending across such an easy-to-reproduce report!

Would it make sense to concatenate the lists (with command line arguments coming after so they override any pyproject.toml options) so that both get applied?

Is it always the case that command-line arguments which come after override the earlier ones? If so, then that sounds like a good suggestion, as that was my reservation around combining the lists - do you want to make a PR?

As an aside, I'm working on getting a PR into black so that Jupyter Notebooks will be supported directly - https://github.com/psf/black/pull/2357 . If you have lots of notebooks you're running black on, it'd be really useful if you could try checking out that branch, running black on them, and report on any bugs or anything unexpected

Thanks! Are you using it at Faculty AI?

I am personally and I'm doing my best to evangelise 😛

Is it always the case that command-line arguments which come after override the earlier ones?

I did a quick test on black and black --line-length=88 --line-length=79 etc. has exactly this behaviour. I don't feel like I know enough to be sure whether it's safe to rely on it always working? Looking at the ArgParse docs it seems with e.g. action="append" you can collect repeated optional arguments rather than having them overwrite each other. Not sure if any of the tools nbQA supports actually use this behaviour? Even if they do there might actually be use cases where the user wants to supply arguments that are additional to those specified in pyproject.toml?
Basically I'm not sure! I'd be happy to prepare a PR to play around with it and do some testing?

As an aside, I'm working on getting a PR into black so that Jupyter Notebooks will be supported directly

Sounds awesome! Will definitely check it out.

Not sure if any of the tools nbQA supports actually use this behaviour? Even if they do there might actually be use cases where the user wants to supply arguments that are additional to those specified in pyproject.toml?

In theory, nbQA should be able to run any Python tool, even a local script. So yes, this would create issues in the case of tools/scripts which have an argument with action "append" if a user wanted to override what was in their pyproject.toml file. However, such cases strike me as exceedingly rare - certainly rarer than the use-case you've presented here.
So I'm inclined to go ahead with combining the lists for --nbqa-addopts and to clearly document that for this flag, the options are combined with those in pyproject.toml rather than overriding them.
And if someone has some use case for which have a tool with a flag with action "append" for which they want to override pyproject.toml options with command-line ones, I expect they'll open an issue and I can think about supporting that

Sounds awesome! Will definitely check it out.

Thanks - here's how to install it:
pip uninstall black -y
pip install git+https://github.com/MarcoGorelli/black.git@jupyter
pip install -U IPython tokenize-rt typing-extensions

closed in #627

@tcbegley I've made a new release (it's been about a year since the first version, so I've finally made a 1.0.0 release :tada:), if you could try it out and let me know if this doesn't work for you, that'd be much appreciated
As an aside, --nbqa-mutate is no longer necessary (it won't error if you pass it, but it won't do anything anymore)

Thanks @MarcoGorelli! Updated our CI and it all seems to be working like a charm.


Omnisharp not working from TypeLoadException

Issue Description
Every time I attempt to write a C# program, IntelliSense is not working properly. I see no error messages from my code, and receive no suggestions. After doing a bit of Googling I think it may be that the OmniSharp version installed relies on an outdated version of .NET, though I may be completely wrong with that. Please help!
Steps to Reproduce
Write any code in C# whatsoever.
Expected Behavior
Intellisense works.
Actual Behavior
It doesn't.
Logs
OmniSharp log
Starting OmniSharp server at 21/06/2019, 15:46:00
    Target: /home/andrew/Repos/Unity2D/Intro_Setup/Hello World/Hello World.sln
OmniSharp server started with Mono 5.18.0.
Path: /home/andrew/.vscode/extensions/ms-vscode.csharp-1.20.0/.omnisharp/1.32.20/omnisharp/OmniSharp.exe
PID: 1449
System.TypeLoadException: Could not load type of field 'McMaster.Extensions.CommandLineUtils.CommandLineApplication:_validationErrorHandler' (36) due to: Could not load file or assembly 'System.ComponentModel.DataAnnotations, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
at OmniSharp.Stdio.StdioCommandLineApplication..ctor () [0x00000] in :0
at OmniSharp.Stdio.Driver.Program+<>c__DisplayClass0_0.b__0 () [0x00006] in <8c53cc66f1ca4f63a09ec8173bd47c77>:0
at OmniSharp.HostHelpers.Start (System.Func`1[TResult] action) [0x0001c] in :0
C# log
N/A
Environment information
VSCode version: 1.35.1
C# Extension: 1.20.0
Mono Information
        OmniSharp using global mono :5.18.0
Dotnet Information
.NET Core SDK (reflecting any global.json):
 Version:   2.2.300
 Commit:    73efd5bd87
Runtime Environment:
OS Name:     debian
OS Version:  10
OS Platform: Linux
RID:         linux-x64
Base Path:   /usr/share/dotnet/sdk/2.2.300/
Host (useful for support):
Version: 2.2.5
Commit:  0a3c9209c0
.NET Core SDKs installed:
2.2.300 [/usr/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.2.5 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.2.5 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.2.5 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

csharp
ms-vscode
1.20.0

csharpextensions
jchannon
1.3.0

python
ms-python
2019.5.18875

unity-tools
Tobiah
1.1.1

vscodeintellicode
VisualStudioExptTeam
1.1.7

Please upgrade Mono to 6.4.0 (latest) and C# extension to 1.21.4 (latest). This should now be resolved.

Closing due to lack of response.


slight changes in code for pep8 conventions in chang_ramsey.rst

hey @jstac these lectures run for too long for Travis CI and timeout. They are the lectures that stochastically fail on our coverage results. Would you like me to run this before merging?


Arrays as environment variable in Hooks

I have a package that would need a list of values as an array in an environment variable.
Example
coolArr= ( "foo" "bar" "baz" )
export coolEnv=("$(coolArr[@]}")

It would be intuitive to me to declare those in TOML like
[[env]]
name = "coolEnv"
value = ["foo",  "bar", "baz" ]

But what I get is:
error:
       … while calling the 'derivationStrict' builtin

         at //builtin/derivation.nix:9:12: (source not available)

       … while evaluating derivation 'devshell'
         whose name attribute is located at /nix/store/8rz17fv8rxpzzb7qglhvsk3p034g5hmf-source/nix/mkNakedShell.nix:30:10

       … while evaluating attribute 'args' of derivation 'devshell'

         at /nix/store/8rz17fv8rxpzzb7qglhvsk3p034g5hmf-source/nix/mkNakedShell.nix:36:3:

           35|   # Bring in the dependencies on `nix-build`
           36|   args = [ "-ec" "${coreutils}/bin/ln -s ${profile} $out; exit 0" ];
             |   ^
           37|

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: A definition for option `env."[definition 2-entry 1]".value' is not of type `null or string or signed integer or boolean or package'. Definition values:
       - In `/nix/store/dc3k6h8vl2pnnaxapqpyynq690bncgfg-source/devshell.toml':
           [
             "foo"
             "bar"
             "baz"
           ]

it would be nice if arrays were supported.

I also wanted to add that the only obvious workaround does not work:
{
  description = "virtual environments";

  inputs.devshell.url = "github:numtide/devshell";
  inputs.flake-utils.url = "github:numtide/flake-utils";
  inputs.sops-nix = {
    url = "github:Mic92/sops-nix";
    inputs.nixpkgs.follows = "nixpkgs";
  };

  outputs = { self, flake-utils, devshell, sops-nix, nixpkgs }:
    flake-utils.lib.eachDefaultSystem (system: {
      devShell =
        let
          pkgs = import nixpkgs {
            inherit system;

            overlays = [ devshell.overlays.default ];
          };

          extraConfig = { config, lib, pkgs, options, ... }:
          with lib;
          {
            config.devshell = {
              startup_env = mkForce (concatStringsSep "\n" [
                (concatStringsSep "\n" config.env)
                "test=( \"1\" \"2\" \"3\")\nexport TEST=(\"\${test[@]}\")"
              ]);
              packages = [
                sops-nix.packages.${system}.sops-import-keys-hook
              ];
            };
          };

        in pkgs.devshell.mkShell {
          imports = [
            (pkgs.devshell.importTOML ./devshell.toml)
            extraConfig
          ];
        };
    });
}

as echo $TEST prints nothing

On the system level, environment variables can only be expressed as <string>=<string>.
Bash uses some special encoding to add support for exporting functions and arrays, but it doesn't work unless both the parent and child processes are Bash. So if you have an intermediate tool like direnv, or use another type of shell, it will be lost.
I think I would encode the value as JSON and decode it in the host shell using jq.

Indeed I'm using both direnv and a different shell (zsh), I think I'll have to encode as in some way. Unfortunately it's very hard for me to find out how to attach  shellHooks and where they will run. Having to decode the environment variable myself and then run the script kind of defeats the purpose of my devshell.
Aside from the topic about the workaround I still think that some form of list and attribute set as environment variables for shellHooks should be allowed because that was possible with mkShell and devshell is supposed to replace it.

So I did some research (nix is such a deep hole) and came upon this. It describes how derivation works

Every attribute is passed as an environment variable to the builder. Attribute values are translated to environment variables as follows:

Strings and numbers are just passed verbatim.

A path (e.g., ../foo/sources.tar) causes the referenced file to be copied to the store; its location in the store is put in the environment variable. The idea is that all sources should reside in the Nix store, since all inputs to a derivation should reside in the Nix store.

A derivation causes that derivation to be built prior to the present derivation; its default output path is put in the environment variable.

Lists of the previous types are also allowed. They are simply concatenated, separated by spaces.

true is passed as the string 1, false and null are passed as an empty string.

This is what I was looking for to provide variables to shellHooks
The derivation for the shell is built here.
Now by setting config.devshell.startup I have everything I need.
Maybe better documentation would be nice.
Also an option to set variables only for the hook.
Example:
[[env]]
name = "foo"
hookOnly = "bar"

I wouldn't want to unset the variables in a script because it would create a discrepancy between what's in the TOML and what's real.
But for me the issue is resolved.

Since I decided to port any packages that add hooks to simple executables  that I can add to startup, I will conclude this issue as "won't" fix. It is the better design choice anyway because it's less complex and easier to maintain in exchange for being just a bit more tedious to configure for the consumer.


Add new files and flags for release-3.0

[ ] new lib.esnext.symbol.d.ts

Duplicate of https://github.com/Microsoft/TypeScript/issues/25078


Adds telemetry to check duration of LSP calls

### Summary of the changes

Adds telemetry to check duration of LSP calls

Based on @ryzngard 's prototype in https://github.com/ryzngard/razor/commit/445896f18a7fff0f146768d89c409dc1a0d3c2b4
Related to: #8539

Can we report the server name that the request is being sent to, or at least some indication if the name isn't possible, like file extension of the buffer or something? Without it we'd be severely limited in what decisions we can make with this.

Was looking at this with @davidwengier and noticed that DefaultClientNotifierService is not the right spot to inject the telemetry reporter.
Will be next updating the PR to allow reporting inside DefaultRazorLanguageServerCustomMessageTarget. Will do that by wrapping LSPRequestInvoker inside an ILSPRequestInvoker interface which not only wraps the invoker but also calls telemetry reporter.

Examples:
textdocument/_vs_diagnostic


Come up with a Zappa organization/communication plan

The project is still small and manageable right now, but we've already got 3 different projects, and we may need a way to communicate outside of GitHub issues.
I personally like GitHub issues, but it might be easier to collaborate if we had a real-time forum as well.  Mailing list? IRC? Gitter? Web chat? Slack? I don't know what the community would like the most.

:+1: any of the above (with a slight lean toward slack for search and announcements).
FYI - I tried to email you about this twice. There may be a hole in the Internet somewhere between our emails.

Issues are fine with me, but realtime stuff could be useful. I like slack as well since I already use it for work :grinning:

@Doerge - how do you feel about Slack? That seems to be the going consensus..

I have very little experience with any of these, so I will just follow along. Slack sounds fine!

Okay, I have created a Slack channel - zappateam.slack.com
I have no idea how to add you guys.

https://slackautoinviter.herokuapp.com/ <---


Adding a colum to the HIA UM Google sheets (UX Copy)

Context:
More and more districts are putting (Red Cross) workshops on HIA and PA's can contact the Helpdesk to sign up.
Adding a column that can be used broader than this (often a lot of information in what do you need to know?)
Suggestion Elwin: is it possible to add a sub-header as part of a header?

@JLijftogt :
I think this issue can be addressed now with the possibility to use Markdown-syntax in several fields/columns.
After: #625
There is still the #moreInfo-column. This can also contain Markdown-content and it will be shown at the bottom of each Offer(-detail)-page. (without any hard-coded heading).
See the "Custom heading" at: https://green-pebble-0707a6b03.azurestaticapps.net/test/category-alpha/sub-category/the-servicename


Instances stuck in "networking" state forever.

Rancher Version: v0.61.0-rc3
Docker Version: 1.10.2
OS: Ubuntu 14.04
Set up - 3 hosts
I was able to bring up instances successfully in all 3 hosts and was performing some HA test cases relating to rebooting hosts.
After some time , I am at a state where all instances in one of the host that was rebooted is stuck in "networking" state. This host went to "reconnecting" state and then in currently in "Active" state. There were other instances that were health check enabled that started successfully after the host go to "Active" state.  I am not able to start any new instances on this host.
Following error is seen in agent logs repeatedly :
2016-03-03 22:06:08,282 INFO agent [139843341215696] [utils.py:430] Response: {"name": "reply.4444971600990808722", "transitioningProgress": null, "resourceType": null, "resourceId": null, "id": "2717903f-079a-49fc-8f85-d39d25006dea", "transitioningMessage": "Update failed", "time":<PHONE_NUMBER>000, "previousNames": ["delegate.request"], "transitioning": "yes", "data": {"name": "config.update.reply", "transitioningProgress": null, "resourceType": "agent", "resourceId": "12", "id": "a5110f24-db93-4e6d-8db9-d6df79c44069", "transitioningMessage": "Update failed", "time":<PHONE_NUMBER>000, "previousNames": ["config.update"], "transitioning": "yes", "data": {"output": "INFO: Updating ipsec-hosts\nINFO: Downloading http://<IP_ADDRESS>:8080/v1//configcontent//ipsec-hosts current=ipsec-hosts-111-04dc8ee18155dd4e7898fbcd23391737fc0ef00a77218e819e7e2d37bde03345\nINFO: Running /var/lib/cattle/download/ipsec-hosts/ipsec-hosts-167-04dc8ee18155dd4e7898fbcd23391737fc0ef00a77218e819e7e2d37bde03345/apply.sh\nINFO: HOME -> ./\nINFO: HOME -> ./etc/\nINFO: HOME -> ./etc/cattle/\nINFO: HOME -> ./etc/cattle/ipsec/\nINFO: HOME -> ./etc/cattle/ipsec/config.json\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8111: Connection refused\nFailed to reload ipsec config\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8111: Connection refused\ncurl: (3) [globbing] unmatched brace in column 1\n[[scripts.sh:184] script_env\n[[scripts.sh:109] '[' -n http://<IP_ADDRESS>:8080/v1 ']'\n[[scripts.sh:110] return\n[[scripts.sh:186] export CATTLE_HOME=/var/lib/cattle\n[[scripts.sh:186] CATTLE_HOME=/var/lib/cattle\n[[scripts.sh:187] export CATTLE_CONFIG_URL=http://<IP_ADDRESS>:8080/v1\n[[scripts.sh:187] CATTLE_CONFIG_URL=http://<IP_ADDRESS>:8080/v1\n[[scripts.sh:188] export CATTLE_STORAGE_URL=http://<IP_ADDRESS>:8080/v1\n[[scripts.sh:188] CATTLE_STORAGE_URL=http://<IP_ADDRESS>:8080/v1\n[apply.sh:5] stage_files\n[scripts.sh:77] local monit=false\n[scripts.sh:79] '[' -d content-home ']'\n[scripts.sh:80] find content-home -name '*.sh' -exec chmod +x '{}' ';'\n[scripts.sh:81] tar cf - -C content-home .\n[scripts.sh:81] tar xvf - --no-overwrite-dir -C /var/lib/cattle\n[scripts.sh:81] sed 's/^/INFO: HOME -> /'\nINFO: HOME -> ./\nINFO: HOME -> ./etc/\nINFO: HOME -> ./etc/cattle/\nINFO: HOME -> ./etc/cattle/ipsec/\nINFO: HOME -> ./etc/cattle/ipsec/config.json\n[scripts.sh:84] '[' -d content ']'\n[scripts.sh:102] '[' false = true ']'\n[apply.sh:7] '[' '' '!=' true ']'\n[apply.sh:8] curl -f http://localhost:8111/v1/reload\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8111: Connection refused\n[apply.sh:9] echo Failed to reload ipsec config\nFailed to reload ipsec config\n[apply.sh:10] curl http://localhost:8111/v1/reload '{'\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8111: Connection refused\ncurl: (3) [globbing] unmatched brace in column 1\n", "exitCode": 3}, "previousIds": ["ca9b031b-afee-475e-b169-81d0136d6d6d"]}, "previousIds": ["6942bcab-6a5a-454e-9790-9e12c21d6cf4"]} [0.00744891166687] seconds
2016-03-03 22:06:08,282 INFO agent [139843341215696] [utils.py:430] worker43 : Done request 6942bcab-6a5a-454e-9790-9e12c21d6cf4 for delegate.request [0.144974946976] seconds

The issue here is that rancher-net was not running because monit was looking at a pid file from a previous run of agent-instance.

I have switch to regexp based monitoring of services and this seems to be more reliable.  https://github.com/rancher/cattle/pull/1526

Tested with rancher-server version - v1.0.0-rc2.
Did not hit the issue where we are not able to start new instances on a host that was rebooted / powered down and up again.


Custom visual freezes when navigating between sheets/dashboards, or duplicating dashboard

My team and I developed a custom visual using the latest version (1.4) of the extensions API SDK.
The visual works well in most environments, with the exception of Tableau Desktop for Windows.
In Windows desktop, the visual freezes occasionally when navigating between sheets and dashboards. It will also freeze consistently when duplicating a dashboard.
While we originally thought that this was an issue with our visual, we have found that it happens to any custom visual that has been loaded onto the dashboard.
Here are the steps for reproduction:

Create a sheet, then create a dashboard
Add a custom visual to the dashboard
Duplicate the dashboard

The visual in the duplicated dashboard can still be interacted with, however the same visual in the original dashboard will be completely frozen.
The frozen visual can be unfrozen by resizing the visual frame.
This has been reproducible by us in the following versions of Tableau Desktop for Windows: 2020.1.3, 2020.4.1, 2021.1
My question is: are there any possible workarounds to making the visual responsive again, or reset the rendering of the visual frame?
Here are some things that we tried, but did not work:

Using an older version of the extensions API
Dispatching various events from within the visual frame. This did not seem to affect anything visually, however we did note that events and API calls were still working in the visual frame despite the visual rendering remaining frozen.

Thank you Paul. Using your good report, we were able to duplicate the issue in-house. It turns out that it is caused by our upgrade to the latest version of QWebEngine/Chromium. We have reported the issue to the team responsible. Unfortunately, the only workaround at the moment is to resize your dashboard. :-(
John

Hi John, thank you very much for the confirmation and for forwarding the issue on!
Kindest regards,
Paul

Hi everyone,
I was just about to open an issue on this as well, we recently started noticing this in Tableau 2021.1 and 2021.2 as well but came across this git hub issue.
I recorded a small video showing how I can recreate this with tableau 2021.2 and also a comparison with 2019.3 where the issue did not seem to happen.
https://youtu.be/ZBnLGY1fmN4
As @telekineticyeti was saying, when navigating between certain parts, it causes the extensions to freeze.
And as @johnDance suggested, resizing the dashboard does indeed "unlock" the extensions, which is very odd.
From what I can see, and it seems that it matches what @telekineticyeti said, the extensions seem to be running and working (I was able to debug this with the Write-Back extension that we develop) but despite them running, the visuals are not updated at all; we can see that the ones that have dialogs, the dialog still opens, but the visuals on the dashboard do not update, and if the extension has any input field, they become unresponsive as well.
After resizing, just like John suggested, I noticed that the inputs even have the values that I tried to input when the visuals were frozen.
Do you have any updates on this? Should I also open an issue on the tableau side or just here on GitHub?
Best regards,
Bruno

Hi Bruno
Sorry for the long delay. We converted our email system, and the notification got buried in my inbox.
Unfortunately we don't have any updates on this. We have an internal defect tracking this.
Thank you,
John

Hi @johnDance,
Thank you for the update. I'll be on the look out for this.
BR,
Bruno

Good to know, that this will be fixed in the 2022.2 version. Its better to communicate that, than "there will be a fix soon™"
Thank you for fixing this, and for your fast response
Jan


Start on boot if background sync is allowed and GCM is not supported

Basically the same as #838 but only for the FDroid flavor and with some additional checks. (Fixes #319)

It might work only for the Fdroid clients.
Your implementation does not check if the installed app is the Google play or the Fdroid one.

Your implementation does not check if the installed app is the Google play or the Fdroid one.

All changes are in the folder vector/src/appfdroid/.

Sorry, i did not notice it.
But, i think it should be optional : we need to have a settings entry to let the user to decide.

I moved the code from appfroid to main and instead added a check for GCM support.

But, i think it should be optional : we need to have a settings entry to let the user to decide.

Done. (Although I think the option is superfluous, you can already disable background sync.)

It does not work on a nexus 5X (android 7.1)

i rewrote a part of your code because the develop branch has been updated a lot since this PR.
https://github.com/vector-im/riot-android/commit/2ea7205195de12899572766d5d401294e0598fc1


Section 3. Each voter is limited to one (1) vote per match per round. A voter may not vote on behalf of another person.

Section 3. Each voter is limited to one (1) vote per match per round. A voter may not vote on behalf of another person.

Section 3. Each voter is limited to one (1) vote per match per round. A voter may not vote on behalf of another person.

Had the constitution of ISML taken effect, I would neither write these programs nor release them.

Section 3. Each voter is limited to one (1) vote per match per round. A voter may not vote on behalf of another person.

You would be astonished if you see hundreds of human laborers manipulating thousands of browsers voting for characters.


Add audio link as a possible template parameter

One of the things that my Otter WF does is to resolve the audio URL that you can embed directly. So an example entry would look like:
Another test of the outer input
 - Recorded at::12/27/2021, 11:29:43 PM
   - https://otter.ai/u/HlAqvZnJTCG-44uCBJOb9I_Odbo
   - {{audio: https://speech-prod.s3.us-west-2.amazonaws.com/u1368930/22OWHLGB7D7GP437.mp3?response-content-disposition=attachment%3B%20filename%3D%22Note.mp3%22&AWSAccessKeyId=AKIAIJIXVALPR766FCHA&Expires=1640874334&Signature=X5UuKPaLVvC70igiF5qLRwpPYXw%3D }}

Which allows you to listen to the audio directly inside Roam.
It's provided in API return as audio_url https://github.com/Stvad/alfred-otter/blob/master/otter.ts#L33

ah so add a {url} or {link} parameter to the Template format like there is one for the Label format?

That would be nice too, but that's not what I'm talking about - I'm talking about the last link in the example (to s3) which allows you to embed audio directly in Roam. here is how it looks:


owncloud91: 9.1.3 -> 10.0.7

Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

built on NixOS
Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
found 10.0.7 with grep in /nix/store/c8p81wv8afhs19jca5vlcp0fjkvc9wkl-owncloud-10.0.7
directory tree listing: https://gist.github.com/9231813b33fae2850c53e5bac08234de

cc @matejc for review

Success on x86_64-linux (full log)
Attempted: owncloud91
Partial log (click to expand)
building
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/c8p81wv8afhs19jca5vlcp0fjkvc9wkl-owncloud-10.0.7
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/c8p81wv8afhs19jca5vlcp0fjkvc9wkl-owncloud-10.0.7/lib
patching script interpreter paths in /nix/store/c8p81wv8afhs19jca5vlcp0fjkvc9wkl-owncloud-10.0.7
checking for references to /build in /nix/store/c8p81wv8afhs19jca5vlcp0fjkvc9wkl-owncloud-10.0.7...
/nix/store/c8p81wv8afhs19jca5vlcp0fjkvc9wkl-owncloud-10.0.7

Success on aarch64-linux (full log)
Attempted: owncloud91
Partial log (click to expand)
building
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/g9wsy7vpngqyd074jnqyn6gkjh9a0vg7-owncloud-10.0.7
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/g9wsy7vpngqyd074jnqyn6gkjh9a0vg7-owncloud-10.0.7/lib
patching script interpreter paths in /nix/store/g9wsy7vpngqyd074jnqyn6gkjh9a0vg7-owncloud-10.0.7
checking for references to /build in /nix/store/g9wsy7vpngqyd074jnqyn6gkjh9a0vg7-owncloud-10.0.7...
/nix/store/g9wsy7vpngqyd074jnqyn6gkjh9a0vg7-owncloud-10.0.7

Success on x86_64-darwin (full log)
Attempted: owncloud91
Partial log (click to expand)
configuring
no configure script, doing nothing
building
no Makefile, doing nothing
installing
post-installation fixup
strip is /nix/store/vb6mgjqgd9h11nbv60fvrp1ls9nxck2y-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/z4sw73007mggpy5j69gxj7z1ncmnm1rj-owncloud-10.0.7/lib
patching script interpreter paths in /nix/store/z4sw73007mggpy5j69gxj7z1ncmnm1rj-owncloud-10.0.7
/nix/store/z4sw73007mggpy5j69gxj7z1ncmnm1rj-owncloud-10.0.7

@ryantm Yet another case of https://github.com/ryantm/nix-update/issues/24.


Function close is missing

Hello,
I've noticed that within the public/router.js file , line 36 ,you used a function called "close" but... I don't know where it is created.
Could you possibly add it or tell me where is it declared?
Thanks ;D

Nice catch @Frankistan !  I forgot to add this method to the Backbone.View prototype - it can be used for view garbage collection (removing from the DOM and unbinding listeners).  From debugging I couldn't find a case where this was being called, but it is a good practice to implement this GC from the router.  I have added and merged with pull #8 .


S02-208 . Francine-update-new-file

WELCOME TO DEVOPS-EASY-LEARNING PULL REQUEST SYSTEM
Description of the change
S02-208 . Francine-update-new-file

Detailed description here

Checks and balances

[ ] Tests added and run
[ ] (External) Interfaces documented
[ ] Has security implications (describe below)

Type of change

[ ] Bug fix (non-breaking change that fixes an issue)
[x ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)

Related stories, issues and pulls

Links to Pivotal Tracker stories, JIRA tickets or other pull requests here

Security considerations

Describe any security impact this change may have

good job keep doing it


Allow the user to exit the app when docker-machine-driver-hyperkit cannot be made suid

As part of the first-run setup we have to change the owner of docker-machine-driver-hyperkit to root and set the suid bit, so it can configure the vmnet settings.
This might throw an error when the app has not been installed into the /Applications directory, or anywhere else on the boot partition, but is being run from a volume that has been mounted without the suid bit. It will throw an error:
sh -c 'chown root "/Volumes/Rancher Desktop 0.1.0/Rancher Desktop.app/Contents/Resources/resources/darwin/docker-machine-driver-hyperkit" && chmod u+s "/Volumes/Rancher Desktop 0.1.0/Rancher Desktop.app/Contents/Resources/resources/darwin/docker-machine-driver-hyperkit" && chown :admin "/Volumes/Rancher Desktop 0.1.0/Rancher Desktop.app/Contents/Resources/resources/darwin/hyperkit"'
2: Child exited with code undefined
Kubernetes was unable to start with exit code: undefined

But it will also prevent you from terminating the app, as the same dialog will be displayed over and over like it's Hotel California: You can checkout any time, but you can never leave! 😄
Well, "Force quit..." to the rescue, but terminating the app in this case should not try again to make docker-machine-driver-hyperkit be suid.
See also https://github.com/rancher-sandbox/rd/issues/253#issuecomment-832303942

I'm going to treat this as "Cannot quit the application if we fail to stop the backend", and fix that.


TF 2.5.0 with CUDA 10.2 (in container) Build error extract_volume_patches_op_gpu failed: crosstool_wrapper_driver_is_not_gcc

System information

OS Platform and Distribution: Linux Ubuntu 18.04 (base container, see below)
Docker base container: nvidia/cuda:10.2-cudnn8-devel-ubuntu18.04
TensorFlow installed from:source
TensorFlow version: 2.5.0
Python version: 3.8
Installed using: building for pip install
Bazel version: 3.7.2
GCC/Compiler version: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
CUDA/cuDNN version: 10.2 / 8.2
GPU model and memory: RTX 3090 / 24GB

Describe the problem
When trying to build TF 2.5.0 with Cuda 10.2, after applying the patch proposed in https://github.com/tensorflow/tensorflow/pull/48393 I get the following build error:
- Environment variables set:
TF_CUDA_CLANG=0
TF_CUDA_COMPUTE_CAPABILITIES=6.0,6.1,7.0,7.5
TF_CUDA_VERSION=10.2
TF_CUDNN_VERSION=8
TF_DOWNLOAD_CLANG=0
TF_DOWNLOAD_MKL=0
TF_ENABLE_XLA=0
TF_NCCL_VERSION=2
TF_NEED_AWS=0
TF_NEED_COMPUTECPP=0
TF_NEED_CUDA=1
TF_NEED_GCP=0
TF_NEED_GDR=0
TF_NEED_HDFS=0
TF_NEED_JEMALLOC=1
TF_NEED_KAFKA=0
TF_NEED_MKL=0
TF_NEED_MPI=0
TF_NEED_OPENCL=0
TF_NEED_OPENCL_SYCL=0
TF_NEED_ROCM=0
TF_NEED_S3=0
TF_NEED_TENSORRT=0
TF_NEED_VERBS=0
TF_SET_ANDROID_WORKSPACE=0
GCC_HOST_COMPILER_PATH=/usr/bin/gcc
CC_OPT_FLAGS=
PYTHON_BIN_PATH=/usr/local/bin/python
PYTHON_LIB_PATH=/usr/local/lib/python3.8/dist-packages
-- ./configure output:
You have bazel 3.7.2 installed.

FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
Command exited with non-zero status 1

Any other info / logs
Diff from known functional build for 10.2 with 2.4.1
https://github.com/datamachines/cuda_tensorflow_opencv/compare/20210601
Steps to reproduce:
% git clone https://github.com/datamachines/cuda_tensorflow_opencv.git
% cd cuda_tensorflow_opencv
% git checkout 737f860
% make make cudnn_tensorflow_opencv-10.2_2.5.0_3.4.14

Attaching full build log.
cudnn_tensorflow_opencv-10.2_2.5.0_3.4.14-20210601.log.txt

I will add compilation of non GPU version works, and CUDA 11.3 build works as well

@mmartial
Could you please try with the correct Cuda,cudnn version, tf2.5 is tested with 11.2/8.1
The tested build configurations for linux machine is

Version
Python version
Compiler
Build tools
cuDNN
CUDA

tensorflow-2.5.0
3.6-3.9
GCC 7.3.1
Bazel 3.7.2
8.1
11.2

tensorflow-2.4.0
3.6-3.8
GCC 7.3.1
Bazel 3.1.0
8.0
11.0

tensorflow-2.3.0
3.5-3.8
GCC 7.3.1
Bazel 3.1.0
7.6
10.1

tensorflow-2.2.0
3.5-3.8
GCC 7.3.1
Bazel 2.0.0
7.6
10.1

for more info please refer this linuxconfig.let me know if it helps.
Thanks

Thank you, I saw the offiiclal build list.
I am able to build with CUDA 11.3, so I expect will be able to build with 11.2 as well (I will try to confirm).
TF 2.4.1 which was listed as not working with 10.2 compiled fine in the past, I was hoping to keep the pattern in builds, in particular because the "Fix cub BUILD" seemed to indicate it was possible.
I usually am able to find the errors I encounter on the Github Issues and work around them using those but this recent one did not return a valid match per my search.

If the solution is to assume TF 2.5.0 is not 10.2 compatible (or tested), it is a valid solution to my issue.

I have the container image from the error, so I am able to go in it and try some things:
% docker run --rm -it ded1a6be0390 /bin/bash
# cd /tmp
# LATEST_BAZELISK=1.9.0 curl -s -Lo /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/download/v${LATEST_BAZELISK}/bazelisk-linux-amd64
# chmod +x /usr/local/bin/bazel   && mkdir -p /usr/local/src/tensorflow   && cd /usr/local/src   && wget -q --no-check-certificate -c https://github.com/tensorflow/tensorflow/archive/v2.5.0.tar.gz -O - | tar --strip-components=1 -xz -C /usr/local/src/tensorflow   && cd /usr/local/src/tensorflow
# echo 3.7.2  > .bazelversion
# bazel clean
# chmod +x /tmp/tf_build.sh
# time /tmp/tf_build.sh yes v2

To the compute capabilities question: 6.0,6.1,7.0,7.5
After the  crash I am able to create a small fixit.sh script with the following content (copied from the error message)
  (cd /root/.cache/bazel/_bazel_root/bbcc73fcc5c2b01ab08b6bcf7c29e42e/execroot/org_tensorflow && \
  exec env - \
    CUDA_TOOLKIT_PATH=/usr/local/cuda-10.2 \
    GCC_HOST_COMPILER_PATH=/usr/bin/x86_64-linux-gnu-gcc-7 \
    LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64 \
    PATH=/root/.cache/bazelisk/downloads/bazelbuild/bazel-3.7.2-linux-x86_64/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
    PWD=/proc/self/cwd \
    PYTHON_BIN_PATH=/usr/local/bin/python \
    PYTHON_LIB_PATH=/usr/local/lib/python3.8/dist-packages \
    TF2_BEHAVIOR=1 \
    TF_CUDA_COMPUTE_CAPABILITIES=6.0,6.1,7.0,7.5 \
    TF_CUDA_VERSION=10.2 \
    TF_CUDNN_VERSION=8 \
    TF_NCCL_VERSION=2 \
  external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -MD -MF bazel-out/k8-opt/bin/tensorflow/core/kernels/_objs/fake_quant_ops_gpu/fake_quant_ops_gpu.cu.pic.d \
'-frandom-seed=bazel-out/k8-opt/bin/tensorflow/core/kernels/_objs/fake_quant_ops_gpu/fake_quant_ops_gpu.cu.pic.o' -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' \
-iquote . -iquote bazel-out/k8-opt/bin -iquote external/com_google_absl -iquote bazel-out/k8-opt/bin/external/com_google_absl \
-iquote external/nsync -iquote bazel-out/k8-opt/bin/external/nsync -iquote external/eigen_archive -iquote bazel-out/k8-opt/bin/external/eigen_archive -iquote external/gif \
-iquote bazel-out/k8-opt/bin/external/gif -iquote external/libjpeg_turbo -iquote bazel-out/k8-opt/bin/external/libjpeg_turbo -iquote external/com_google_protobuf \
-iquote bazel-out/k8-opt/bin/external/com_google_protobuf -iquote external/com_googlesource_code_re2 -iquote bazel-out/k8-opt/bin/external/com_googlesource_code_re2 \
-iquote external/farmhash_archive -iquote bazel-out/k8-opt/bin/external/farmhash_archive -iquote external/fft2d -iquote bazel-out/k8-opt/bin/external/fft2d \
-iquote external/highwayhash -iquote bazel-out/k8-opt/bin/external/highwayhash -iquote external/zlib -iquote bazel-out/k8-opt/bin/external/zlib \
-iquote external/local_config_cuda -iquote bazel-out/k8-opt/bin/external/local_config_cuda -iquote external/local_config_rocm \
-iquote bazel-out/k8-opt/bin/external/local_config_rocm -iquote external/local_config_tensorrt -iquote bazel-out/k8-opt/bin/external/local_config_tensorrt \
-Ibazel-out/k8-opt/bin/external/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual -Ibazel-out/k8-opt/bin/external/local_config_tensorrt/_virtual_includes/tensorrt_headers \
-isystem external/nsync/public -isystem bazel-out/k8-opt/bin/external/nsync/public -isystem third_party/eigen3/mkl_include -isystem bazel-out/k8-opt/bin/third_party/eigen3/mkl_include \
-isystem external/eigen_archive -isystem bazel-out/k8-opt/bin/external/eigen_archive -isystem external/gif -isystem bazel-out/k8-opt/bin/external/gif -isystem external/com_google_protobuf/src \
-isystem bazel-out/k8-opt/bin/external/com_google_protobuf/src -isystem external/farmhash_archive/src -isystem bazel-out/k8-opt/bin/external/farmhash_archive/src -isystem external/zlib \
-isystem bazel-out/k8-opt/bin/external/zlib -isystem external/local_config_cuda/cuda -isystem bazel-out/k8-opt/bin/external/local_config_cuda/cuda -isystem external/local_config_cuda/cuda/cuda/include \
-isystem bazel-out/k8-opt/bin/external/local_config_cuda/cuda/cuda/include -isystem external/local_config_rocm/rocm -isystem bazel-out/k8-opt/bin/external/local_config_rocm/rocm \
-isystem external/local_config_rocm/rocm/rocm/include -isystem bazel-out/k8-opt/bin/external/local_config_rocm/rocm/rocm/include -isystem external/local_config_rocm/rocm/rocm/include/rocrand \
-isystem bazel-out/k8-opt/bin/external/local_config_rocm/rocm/rocm/include/rocrand -isystem external/local_config_rocm/rocm/rocm/include/roctracer \
-isystem bazel-out/k8-opt/bin/external/local_config_rocm/rocm/rocm/include/roctracer -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' \
-fPIC -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -fno-omit-frame-pointer -no-canonical-prefixes -fno-canonical-system-headers -DNDEBUG -g0 -O2 \
-ffunction-sections -fdata-sections -w -DAUTOLOAD_DYNAMIC_KERNELS -std=c++14' \
-x cuda '-DGOOGLE_CUDA=1' '-Xcuda-fatbinary=--compress-all' '--no-cuda-include-ptx=all' '--cuda-include-ptx=sm_60' '--cuda-gpu-arch=sm_60' '--cuda-include-ptx=sm_61' '--cuda-gpu-arch=sm_61' '--cuda-include-ptx=$

so I am able to test options to fix the:
# ./fixit.sh
external/com_google_absl/absl/functional/function_ref.h:100:29: error: parameter packs not expanded with ‘...’:
   template <typename F, typename = EnableIfCompatible<const F&>>
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/com_google_absl/absl/functional/function_ref.h:100:29: note:         ‘Args’
external/com_google_absl/absl/functional/function_ref.h:114:13: error: parameter packs not expanded with ‘...’:
       typename F, typename = EnableIfCompatible<F*>,
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/com_google_absl/absl/functional/function_ref.h:114:13: note:         ‘Args’

So I welcome options to test, in the long run this method ought to be added to the export CC_OPT_FLAGS="" line in the tf_build.sh script

Out of curiosity, I checked with docker run --rm -it datamachines/cudnn_tensorflow_opencv:10.2_2.4.1_3.4.14-20210420 /bin/bash and its gcc --version appears to be the same gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 as in my current build

And trying gcc-8 did not help either
apt install gcc-8 g++-8
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 700 --slave /usr/bin/g++ g++ /usr/bin/g++-7
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8

To answer your question, I managed a build with CUDA 11.2 without this error.
Target //tensorflow/tools/pip_package:build_pip_package up-to-date:
  bazel-bin/tensorflow/tools/pip_package/build_pip_package
INFO: Elapsed time: 4978.271s, Critical Path: 1390.04s
INFO: 37252 processes: 12104 internal, 25148 local.
INFO: Build completed successfully, 37252 total actions
INFO: Build completed successfully, 37252 total actions
-- TensorFlow building time (in seconds): 4979

What seems strange is that another user was encountering it using CUDA 10.2 and it appears to have been in this case now enough memory available (add swap).
In my case this is strange given that I have 128GB on my build system and do not even touch swap.

Doing a search on the issues using "parameter packs not expanded with", I see a potential similar error in https://github.com/tensorflow/tensorflow/issues/48468 that I should investigate further.

@mmartial
As cuda 11.2 works as expected, is there any particular reason to use with 10.2.

Just to follow up: I have been able to build TF 2.5.0 with CUDA 10.2
Target //tensorflow/tools/pip_package:build_pip_package up-to-date:
  bazel-bin/tensorflow/tools/pip_package/build_pip_package
INFO: Elapsed time: 4446.444s, Critical Path: 1000.31s
INFO: 37032 processes: 11884 internal, 25148 local.
INFO: Build completed successfully, 37032 total actions
INFO: Build completed successfully, 37032 total actions
-- TensorFlow building time (in seconds): 4446

For people trying to reproduce this:

I followed both set of instructions listed in https://github.com/tensorflow/tensorflow/issues/48468 and more specifically https://github.com/tensorflow/tensorflow/commit/07665aa311d6a157f18d36489de67f4a258811a0
as well as https://github.com/tensorflow/tensorflow/pull/48393

Those are the lines/files modified:
[**] Patching third_party/cub.BUILD
--- third_party/cub.BUILD.bak	2021-05-12 13:26:41.000000000 +0000
+++ third_party/cub.BUILD	2021-06-04 16:03:27.882398799 +0000
@@ -11,5 +11,5 @@
 cc_library(
     name = "cub",
     hdrs = glob(["cub/**"]),
-    deps = ["@local_cuda//:cuda_headers"],
+    deps = ["@local_config_cuda//cuda:cuda_headers"],
 )
[**] Patching third_party/absl/workspace.bzl
--- third_party/absl/workspace.bzl.bak	2021-05-12 13:26:41.000000000 +0000
+++ third_party/absl/workspace.bzl	2021-06-04 16:03:27.886398821 +0000
@@ -14,7 +14,7 @@
         sha256 = ABSL_SHA256,
         build_file = "//third_party/absl:com_google_absl.BUILD",
         # TODO(mihaimaruseac): Remove the patch when https://github.com/abseil/abseil-cpp/issues/326 is resolved
-        patch_file = "//third_party/absl:com_google_absl_fix_mac_and_nvcc_build.patch",
+        #patch_file = "//third_party/absl:com_google_absl_fix_mac_and_nvcc_build.patch",
         strip_prefix = "abseil-cpp-{commit}".format(commit = ABSL_COMMIT),
         urls = [
             "https://storage.googleapis.com/mirror.tensorflow.org/github.com/abseil/abseil-cpp/archive/{commit}.tar.gz".format(commit = ABSL_COMMIT),
[**] Patching tensorflow/core/platform/default/cord.h
--- tensorflow/core/platform/default/cord.h.bak	2021-05-12 13:26:41.000000000 +0000
+++ tensorflow/core/platform/default/cord.h	2021-06-04 16:03:27.886398821 +0000
@@ -16,7 +16,9 @@
 #ifndef TENSORFLOW_CORE_PLATFORM_DEFAULT_CORD_H_
 #define TENSORFLOW_CORE_PLATFORM_DEFAULT_CORD_H_

+#if !defined(__CUDACC__)
 #include "absl/strings/cord.h"
 #define TF_CORD_SUPPORT 1
+#endif

 #endif  // TENSORFLOW_CORE_PLATFORM_DEFAULT_CORD_H_

I will incorporate the logic into https://github.com/datamachines/cuda_tensorflow_opencv/blob/master/tools/tf_build.sh

@Saduf2019 re: 10.2, mostly a continuation of previous builds but I will likely focus on CPU only and only CUDA 11 versions in the future

Also, because of https://github.com/tensorflow/tensorflow/issues/49983#issuecomment-854888309 I am going to close this issue as resolved.

@mmartial
Thank you for your update, glad it is resolved.


Add support for HKDF

HKDF implementation and tests based on RFC 5869.

This is awesome, and an amazingly quick turnaround!

Awesome! merging and now we have HKDF support