Kibana version incompatible with Elasticsearch version

The Kibana pod fails to come up:

The error logs from running kubectl -n temporal logs pod/temporal-kibana-f95df4f85-cb26q:
{"type":"log","@timestamp":"2020-07-10T16:02:03Z","tags":["info","plugins-service"],"pid":8,"message":"Plugin \"case\" is disabled."}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins-system"],"pid":8,"message":"Setting up [37] plugins: [taskManager,siem,licensing,infra,encryptedSavedObjects,code,usageCollection,metrics,canvas,timelion,features,security,apm_oss,translations,reporting,uiActions,data,navigation,status_page,share,newsfeed,kibana_legacy,management,dev_tools,inspector,expressions,visualizations,embeddable,advancedUiActions,dashboard_embeddable_container,home,spaces,cloud,apm,graph,eui_utils,bfetch]"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","taskManager"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","siem"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","licensing"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","infra"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","encryptedSavedObjects"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["warning","plugins","encryptedSavedObjects","config"],"pid":8,"message":"Generating a random key for xpack.encryptedSavedObjects.encryptionKey. To be able to decrypt encrypted saved objects attributes after restart, please set xpack.encryptedSavedObjects.encryptionKey in kibana.yml"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","code"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","usageCollection"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","metrics"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","canvas"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","timelion"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","features"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","security"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["warning","plugins","security","config"],"pid":8,"message":"Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["warning","plugins","security","config"],"pid":8,"message":"Session cookies will be transmitted over insecure connections. This is not recommended."}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","apm_oss"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","translations"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","data"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","share"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","home"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","spaces"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","cloud"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","apm"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","graph"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","plugins","bfetch"],"pid":8,"message":"Setting up plugin"}
{"type":"log","@timestamp":"2020-07-10T16:02:33Z","tags":["info","savedobjects-service"],"pid":8,"message":"Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations..."}
{"type":"log","@timestamp":"2020-07-10T16:02:34Z","tags":["error","elasticsearch","data"],"pid":8,"message":"Request error, retrying\nGET http://elasticsearch-master:9200/_xpack => connect ECONNREFUSED <IP_ADDRESS>:9200"}
{"type":"log","@timestamp":"2020-07-10T16:02:34Z","tags":["error","elasticsearch","admin"],"pid":8,"message":"Request error, retrying\nGET http://elasticsearch-master:9200/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip => connect ECONNREFUSED <IP_ADDRESS>:9200"}
{"type":"log","@timestamp":"2020-07-10T16:02:34Z","tags":["error","elasticsearch","data"],"pid":8,"message":"Request error, retrying\nHEAD http://elasticsearch-master:9200/.apm-agent-configuration => connect ECONNREFUSED <IP_ADDRESS>:9200"}
{"type":"log","@timestamp":"2020-07-10T16:02:35Z","tags":["warning","elasticsearch","data"],"pid":8,"message":"Unable to revive connection: http://elasticsearch-master:9200/"}
{"type":"log","@timestamp":"2020-07-10T16:02:35Z","tags":["warning","elasticsearch","data"],"pid":8,"message":"No living connections"}
Could not create APM Agent configuration: No Living connections
{"type":"log","@timestamp":"2020-07-10T16:02:37Z","tags":["warning","elasticsearch","data"],"pid":8,"message":"Unable to revive connection: http://elasticsearch-master:9200/"}
{"type":"log","@timestamp":"2020-07-10T16:02:37Z","tags":["warning","elasticsearch","data"],"pid":8,"message":"No living connections"}
{"type":"log","@timestamp":"2020-07-10T16:02:37Z","tags":["warning","plugins","licensing"],"pid":8,"message":"License information could not be obtained from Elasticsearch due to Error: No Living connections error"}
{"type":"log","@timestamp":"2020-07-10T16:02:37Z","tags":["warning","elasticsearch","admin"],"pid":8,"message":"Unable to revive connection: http://elasticsearch-master:9200/"}
{"type":"log","@timestamp":"2020-07-10T16:02:37Z","tags":["warning","elasticsearch","admin"],"pid":8,"message":"No living connections"}
{"type":"log","@timestamp":"2020-07-10T16:02:37Z","tags":["error","elasticsearch-service"],"pid":8,"message":"Unable to retrieve version information from Elasticsearch nodes."}
{"type":"log","@timestamp":"2020-07-10T16:02:39Z","tags":["warning","elasticsearch","admin"],"pid":8,"message":"Unable to revive connection: http://elasticsearch-master:9200/"}
{"type":"log","@timestamp":"2020-07-10T16:02:39Z","tags":["warning","elasticsearch","admin"],"pid":8,"message":"No living connections"}
{"type":"log","@timestamp":"2020-07-10T16:02:42Z","tags":["warning","elasticsearch","admin"],"pid":8,"message":"Unable to revive connection: http://elasticsearch-master:9200/"}
{"type":"log","@timestamp":"2020-07-10T16:02:42Z","tags":["warning","elasticsearch","admin"],"pid":8,"message":"No living connections"}
{"type":"log","@timestamp":"2020-07-10T16:02:44Z","tags":["warning","elasticsearch","admin"],"pid":8,"message":"Unable to revive connection: http://elasticsearch-master:9200/"}
{"type":"log","@timestamp":"2020-07-10T16:02:44Z","tags":["warning","elasticsearch","admin"],"pid":8,"message":"No living connections"}
{"type":"log","@timestamp":"2020-07-10T16:02:47Z","tags":["warning","elasticsearch","admin"],"pid":8,"message":"Unable to revive connection: http://elasticsearch-master:9200/"}
{"type":"log","@timestamp":"2020-07-10T16:02:47Z","tags":["warning","elasticsearch","admin"],"pid":8,"message":"No living connections"}
{"type":"log","@timestamp":"2020-07-10T16:02:49Z","tags":["error","elasticsearch-service"],"pid":8,"message":"This version of Kibana (v7.6.1) is incompatible with the following Elasticsearch nodes in your cluster: v6.8.8 @ <IP_ADDRESS>:9200 (<IP_ADDRESS>), v6.8.8 @ <IP_ADDRESS>:9200 (<IP_ADDRESS>), v6.8.8 @ <IP_ADDRESS>:9200 (<IP_ADDRESS>)"}

Most notably:
This version of Kibana (v7.6.1) is incompatible with the following Elasticsearch nodes in your cluster: v6.8.8 @ <IP_ADDRESS>:9200 (<IP_ADDRESS>), v6.8.8 @ <IP_ADDRESS>:9200 (<IP_ADDRESS>), v6.8.8 @ <IP_ADDRESS>:9200 (<IP_ADDRESS>)

(Using default helm chart)

Hi @pauldemarco thank you for the report!!
trying to repro this, have a question -- i am not seeing temporal helm chart installing kibana directly, and it is not running in our staging and test environments deployed with the helm chart.
Do you happen to know how Kibana gets installed in your use case? (Alternatively, what is the sequence of commands that you are running -- perhaps I could do the same thing and reproduce the problem here?)
Thank you!

Hi @markmark206,
Spooky, I'm using the default helm chart with the command: helm -n temporal install temporal . --timeout 900s
I am using some custom 0.26.0 images at the moment for some elasticsearch fixes, but hope to redeploy with an official release sometime next week.
If the kibana is still somehow getting installed at that time, I'll deep dive and track down what's happening.

stale issue - closing for now, sorry we couldnt conclusively figure this out at the time.


Taking v4.1.0 Linux Build Updates into Master

Pull Request Test Coverage Report for Build 1215

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 54.834%

Totals

Change from base Build 1200:
0.0%

Covered Lines:
4325

Relevant Lines:
7116

💛  - Coveralls


Rework Makefile to fix bugs and respect LDFLAGS

Previously every rule in the makefile was phony, but none were declared
as such. This meant that eg. if a file called "clean" or "build" was
created, Make would think the rules with the same names referred to
those files and may think they were up to date and refuse to run the
recipe. Marking these rules as phony ensures that they are always
considered out of date and will always be run.
This also adds the .POSIX and .SUFFIXES targets to remove pre-defined C
suffix rules (its not likely that this would ever cause problems, but
it's nice to start from a clean slate) and use POSIX compatible behavior
(GNU Make is particularly bad about this, so using .POSIX normalizes the
behavior a tiny bit between GNU Make and NetBSD make like I use).
Finally, the build rule has been marked phony and now just depends on
the jackal (non-phony) rule which ensures that go.mod gets run when
necessary, and is rebuilt any time a *.go file changes. The build has
also been updated to trim paths so you don't wind up with release
binaries that include your home directory path in them for debugging
purposes and respect external LDFLAGS to make it easier for package
managers to spit out a position independent executable, or make other
changes that might be required by their operating system or distros
packaging procedures.

LGTM! 👍
Merging

I was about to make basically this same commit, but then found that I already did it. I don't see this in the history at all anymore, however. Did it get dropped deliberately? I don't even see a revert or anything, it just looks like it was never merged.


Cpu & memory cards to show last 30 days

Describe the bug
The cpu & memory cards for the OCP dashboard should show last 30 days. Currently, they display data for the last month.
To Reproduce
Steps to reproduce the behavior:

Go to Ocp dashboard
View CPU & memory usage cards

Expected behavior
Instead of showing data for the last month, show the last 30 days.

After speaking with @nlcwong & @chambridge, we decided not to show the last 30 days, but continue to show the current month. This will ensure the chart represents the current charge.


Multierror: concatenate errors into one error

Coverage decreased (-0.5%) to 85.235% when pulling 12bd6d1b5620daa2ea8cd20a8af17fc8f7fd0170 on feat/multierror into bbf6a5b3e9bc46e5ca66721ed13f1f30ca378094 on master.

Coverage decreased (-0.5%) to 85.235% when pulling 12bd6d1b5620daa2ea8cd20a8af17fc8f7fd0170 on feat/multierror into bbf6a5b3e9bc46e5ca66721ed13f1f30ca378094 on master.


CustomError: Client authentication failed (code: 'invalid_client')

I'm using self authorization with a freshly minted refresh token for my own seller central account. I do the following:
const SellingPartnerAPI = require('amazon-sp-api');
const sellingPartner = new SellingPartnerAPI({region: 'na', refresh_token: 'my-self-authorization-refresh-token'});
const body = { ... };
sellingPartner.callAPI(body).then(v => console.log(JSON.stringify(v, null, 2))).catch(e => console.error(e));

and that results in...
CustomError: Client authentication failed
    at SellingPartner.refreshAccessToken ..../node_modules/amazon-sp-api/lib/SellingPartner.js:554:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async SellingPartner._validateAccessTokenAndRoleCredentials (..../node_modules/amazon-sp-api/lib/SellingPartner.js:294:9)
    at async SellingPartner.callAPI (..../node_modules/amazon-sp-api/lib/SellingPartner.js:642:5) {
  code: 'invalid_client',
  type: 'error'
}

How do I debug this and fix it? Could it be something about the health of my Seller Central account rather than something about how I'm generating the refresh token?
I'm using the latest version of<EMAIL_ADDRESS>

I have put some console logging in and tried the same request being made in the library using CURL, and got this result:
HTTP/1.1 401 Unauthorized
Server: Server
Date: Thu, 17 Aug 2023 18:15:00 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 77
Connection: keep-alive
x-amz-rid: REDACTED
x-amzn-RequestId: REDACTED
X-Amz-Date: Thu, 17 Aug 2023 18:15:00 GMT
x-amzn-ErrorType: OA2InvalidClientException:http://internal.amazon.com/coral/com.amazon.panda/
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Vary: Content-Type,Accept-Encoding,User-Agent
Strict-Transport-Security: max-age=47474747; includeSubDomains; preload

{"error_description":"Client authentication failed","error":"invalid_client"}

I think I followed all the instructions here in setting up the AWS User, Role, and Policy. And in my application I provide the ARN for the Role. I just don't know where this is going wrong. Can someone from the maintainers help me get this up and running? I'm trying to use the API for my own Seller Central account as a 'private' application.

Some more information that I find strange. When I expand Self-Authorizations, it shows under the heading "Marketplaces": Mexico. I'm actually mostly / only interested in the USA marketplace, and when I create a new SellingPartnerAPI with the constructor I'm specifying region: 'na' and the request body I perform callAPI with provides marketplace IDs for all North American marketplaces, e.g.:
{
  "operation": "getOrders",
  "endpoint": "orders",
  "query": {
    "MarketplaceIds": [
      "ATVPDKIKX0DER",
      "A2Q3Y263D00KWC",
      "A2EUQ1WTGCTBG2",
      "A1AM78C64UM0Y8"
    ],
    "LastUpdatedAfter": "2023-08-16T17:06:35Z"
  }
}

OK, I guess I'm a dunce, I found that there was a file credentials file in ~/.amzspapi/credentials that I had to update all these values in:
SELLING_PARTNER_APP_CLIENT_ID
SELLING_PARTNER_APP_CLIENT_SECRET
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_SELLING_PARTNER_ROLE
SELLER_PARTNER_APP_REFRESH_TOKEN

Closing as overcome by events


Factor isNotFromBlahBlah out of githubEventHelpers

Part of #482, after #532.
I want to see if I can put the GraphQL wrappers on GitHubOrg. Gotta get this helper out of the way first.

maybe should change name of PR from isNotFromBlahBlah to isNotFromAnExternalOrGTMUser

Boring. :P


[AppCenterTest Task] Using the wrong command to run XCUITest against AppCenter

Question, Bug, or Feature?
Type: Bug
Enter Task Name: AppCenterTest
Environment

Server - Azure Pipelines or TFS on-premises?    Azure Pipelines

If using Azure Pipelines, provide the account name, team project name, build definition name/build number:
https://dev.azure.com/geaviationdigital-dss/FlightPulse/_build/results?buildId=4736

Agent - Hosted or Private:

If using Hosted agent, provide agent queue name:
2.155.1

Issue Description
We're trying to setup an AppCenterTest task to execute tests against our iOS build as part of the pipeline. Locally, we've successfully gotten the AppCenter tests to work by following the documentation here: https://docs.microsoft.com/en-us/appcenter/test-cloud/preparing-for-upload/xcuitest
When trying to use the AppCenterTask to run the same test, we realized the appcenter commands are done differently. Rather than specifying xcuitest and the --build-dir, the task references a manifest file and --app-path, but not --build-dir.
This is resulting in a error:
Validating application file... failed.
Error: EISDIR: illegal operation on a directory, read
logs_4736.zip

Is anyone actually using AppCenter to run the XCode UI test and for deployment? If so, can anyone provide a complete YAML file. The documentation does not help at all.


Suggestions for PR 7888

BTW, it seems some socket connection issue on my local machine after the unit tests. I will try to figure the root cause. it may not be the unittest issue.


the weights of SwinTransformerV2 and DaViT are unavailable

Great works! However, the weights of SwinTransformerV2 and DaViT could not be downloaded. Could you please attach a new link?

+1

请问一下，训练一次要多长时间

权是海
@.***

------------------ 原始邮件 ------------------
发件人: "Hu @.>;
发送时间: 2024年1月4日(星期四) 下午4:33
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [xiaohu2015/nndet2] the weights of SwinTransformerV2 and DaViT are unavailable (Issue #3)
I am so sorry, the weight is lost. Hence, you have to train yourself
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>


Test Coverage for #672

Test Coverage
This PR add two more unit tests to cover the test coverage .
Issue
#672

Just noticed we need to add test coverage for DatabasePartnerMetadataStorage so I will put it back to DRAFT mode


Make workerinfo stored as json

What changes are proposed in this pull request?
Store workerinfo as json format on etcd for EtcdMembershipManager.
Why are the changes needed?
For cross-language worker membership retrieval.
Does this PR introduce any user facing changes?
No.

alluxio-bot, merge this please.

any particular consideration for choosing Gson over Jackson?

any particular consideration for choosing Gson over Jackson?

actually no, i saw Gson was used in codebase and has much simpler syntax.


Now dispensers close after a delay

Rebuild looks good

created dispenser - OK
https://dogeparty.xchain.io/tx/f2c6557c731725374744b84f76276f9c59fe4d8734ddd691795c104f715a57c4
[2024-01-18 03:21:04][INFO] Dispenser: DKS27K7w1trFpSYFU2kLaWPjDKfHF7guC1 opened a dispenser for asset XDP with 10.00000000 balance, giving 1.00000000 XDP for each 10.00000000 DOGE
[2024-01-18 03:21:06][INFO] Block: 5052595 (2.12s, hashes: L:5da08 / TX:e4596 / M:01945)

closed dispenser - OK
3602e86531382a6cecd4c5d1e7732283b074900738393bb894a2e67246186af1
Dispenser close status changes to 11 (closing) immediately - FAIL
[2024-01-18 03:24:13][INFO] Dispenser: DKS27K7w1trFpSYFU2kLaWPjDKfHF7guC1 closed dispenser for XDP (operator closed)
 [2024-01-18 03:24:14][INFO] Block: 5052598 (1.88s, hashes: L:69422 / TX:fb048 / M:0965a)

Functionally, this works as expected, and the dispensers are closed after a 5 block delay, as expected.
However, I believe we need to make the following updates

Update server log to indicate dispenser status changing to 11 (closing)
Update server log to indicate dispenser status changing to 10 (closed)
Match the same error logging for dispensers that we have in counterparty pls

[2024-01-18 03:20:01][INFO] Block: 5052594 (1.83s, hashes: L:a47ff / TX:852ee / M:3fcfc)
[2024-01-18 03:21:04][INFO] Dispenser: DKS27K7w1trFpSYFU2kLaWPjDKfHF7guC1 opened a dispenser for asset XDP with 10.00000000 balance, giving 1.00000000 XDP for each 10.00000000 DOGE
[2024-01-18 03:21:06][INFO] Block: 5052595 (2.12s, hashes: L:5da08 / TX:e4596 / M:01945)
[2024-01-18 03:21:22][INFO] Block: 5052596 (1.82s, hashes: L:8dbd2 / TX:055ac / M:adce8)
[2024-01-18 03:21:27][INFO] Block: 5052597 (1.85s, hashes: L:ab082 / TX:e49f6 / M:6b113)
[2024-01-18 03:24:13][INFO] Dispenser: DKS27K7w1trFpSYFU2kLaWPjDKfHF7guC1 closed dispenser for XDP (operator closed)
[2024-01-18 03:24:14][INFO] Block: 5052598 (1.88s, hashes: L:69422 / TX:fb048 / M:0965a)
[2024-01-18 03:24:33][INFO] Block: 5052599 (2.01s, hashes: L:4004f / TX:8560e / M:b1a4c)
[2024-01-18 03:25:02][INFO] Block: 5052600 (1.92s, hashes: L:c0d81 / TX:8acfe / M:942b6)
[2024-01-18 03:25:05][INFO] Block: 5052601 (1.82s, hashes: L:506e8 / TX:401c7 / M:fefbe)
[2024-01-18 03:26:09][INFO] Block: 5052602 (1.79s, hashes: L:07d28 / TX:697fa / M:4df10)
[2024-01-18 03:30:09][INFO] Dispenser: DKS27K7w1trFpSYFU2kLaWPjDKfHF7guC1 closed dispenser for XDP (operator closed)
[2024-01-18 03:30:11][INFO] Block: 5052603 (2.11s, hashes: L:46ae4 / TX:623dc / M:f6fc6)

Looks good in testing, dispenser closes after 60 blocks as expected.
sqlite> select * from messages where block_index>=5052598 order by block_index ASC limit 3;
776585|5052598|update|dispensers|{"asset": "XDP", "block_index": 5052598, "last_status_tx_hash": "3602e86531382a6cecd4c5d1e7732283b074900738393bb894a2e67246186af1", "source": "DKS27K7w1trFpSYFU2kLaWPjDKfHF7guC1", "status": 11, "tx_index": 297128}|1705947579
776586|5052658|insert|credits|{"action": "close dispenser", "address": "DKS27K7w1trFpSYFU2kLaWPjDKfHF7guC1", "asset": "XDP", "block_index": 5052658, "event": "3602e86531382a6cecd4c5d1e7732283b074900738393bb894a2e67246186af1", "quantity":<PHONE_NUMBER>}|1705947589
776587|5052658|update|dispensers|{"asset": "XDP", "block_index": 5052658, "source": "DKS27K7w1trFpSYFU2kLaWPjDKfHF7guC1", "status": 10, "tx_index": 297128}|1705947589


Fetch subgraph transformations if the multi-selection changes

Part of a fix for https://github.com/spcl/dace-vscode/issues/23

That sounds reasonable, I switched it and created a crude framework for future events.


why react_on_rails?

Hi all -
A newb question.
I've used quite a bit of backbone and a fair amount of ember and am now looking at React.  I like it.
So my question is - in the world of single page apps - why use react_on_rails vs simply having the client in it's own repo and completely segregated? That could/would create a nice separation between the client and server.  This is common in the ember world, where you can generate your static assets and just server them up from S3 and your rails "api server" works with a web client like any other.
Is there an assumption that a react_on_rails site would a "combo" of rails/react views? I ask this not having looked at any of the samples yet - but was hoping I'd see that for context before diving in.
I'll gladly organize replies to this in the readme or wiki.
Thanks!

@dgdosen This really depends on your project. See the https://www.reactrails.com/ site as an example, and the links to its source code.
And no, you don't need a combo, but you can.
It's really up to you.

@dgdosen This question would be better for http://forum.shakacode.com as it's not an issue or feature request for the gem.


Fix TestController_ServiceWithChangingDiscoveryNamespaces flake

Fixes https://github.com/istio/istio/issues/51892
The issue is the namespaces are not fully synced so we get things out of order

21021 runs so far, 0 failures (100.00% pass rate). 261.755262ms avg, 698.790734ms max, 191.529432ms min


PC doesn't recover the ground truth even when the results of d-separation are used as CI test results

I noticed that PC can be called with using d-separation as CI test in the package.
I have the following codes where I give the DAG of the ground truth. I was expecting that PC recovers the same DAG.
import numpy as np
import matplotlib.pyplot as plt
import networkx as nx
from causallearn.search.ConstraintBased.PC import pc
data = np.random.random(size=(1000, 5)) # This is just a placeholder since I'm using d-separation as CI tests and no data is actually needed
G_synthetic = nx.DiGraph()
G_synthetic.add_nodes_from([0, 1, 2, 3, 4])
G_synthetic.add_edges_from([(0, 2), (0, 3), (0, 4), (1, 0), (1, 3), (1, 4)])
nx.draw(G_synthetic, with_labels=True)
plt.show()
plt.close()
cg = pc(data, indep_test="d_separation", true_dag=G_synthetic)
cg.draw_pydot_graph()
PC returns an undirected graph.
Is it valid to use d-separation as CI tests? Can you replicate this behavior on your end?
Is this expected behavior of PC?

Hi, it is valid to use d-separations as CI tests (thanks @zhi-yi-huang for confirmation). But it seems that your ground truth does not contain any v-structures so that PC will naturally return an undirected graph. Please let us know if we understand it incorrectly.

Thanks for your answer. Indeed our ground truth has no v-structure.


fix pattern miss match when use with GuardianDB

Module Guardian line 105, changed :ok to {:ok, _}

#242

This issue has blocked me(freshman to elixir) for two days before i almost give up the guardian db solution.
Anyway, thanks for google & all your efforts.
In which release will this bugfix will be included?

This issue has blocked me(freshman to elixir) for two days before i almost give up the guardian db solution.
Anyway, thanks for google & all your efforts.
In which release will this bugfix will be included?

I would suggest you rolling back to an earlier version of Guardian. Since I am not the maintainer, I have no ETA on when thhis might get merged.
Also, if you are just trying to run development, you could just go into /deps change Guardian's code, then removed the Guardian directory under /_build. It will recompile your change, this was how I was sure this was a library issue.
Hope that helps. :)

I would suggest you rolling back to an earlier version of Guardian. Since I am not the maintainer, I have no ETA on when thhis might get merged.
Also, if you are just trying to run development, you could just go into /deps change Guardian's code, then removed the Guardian directory under /_build. It will recompile your change, this was how I was sure this was a library issue.
Hope that helps. :)

Thank you @yuchunc, @faywong I'll be releasing a new version this week.  For the time being you can use:
{:guardian, github: "ueberauth/guardian"}`

I'm getting the same error with the new version also.

Thanks for the report @collegeimprovements 👍


Support scope openid

Scope openid is one of the OpenID scopes.
References

zitadel/oidc

closing this as this will be taken care of in #26


Include Discovery Directories / Assemblies

Apologies if this question has been asked before or is located somewhere else. If the information exists, please kindly link me to it.
I have a scripting scenario where where my program dynamically runs scripts; however, I want the user to be able to develop the scripts in one workspace folder and reference assemblies in a different folder that is not part of any project structure. The scripts contain no explicit reference to the assemblies (because they are scripts being run by my script runner program), but the scripts will be using types in those assemblies at runtime.
For example my workspace folder exists on my desktop and contains scripts in whatever hierarchy. The user has my program installed to C:/program files/ blah blah /my_program_folder that contains the program exe and referenced assemblies. If I want to be able to edit the scripts using vscode in the workspace on the desktop, how do I tell omnisharp that my_program_folder contains assemblies and an exe that the script will be using at runtime such that I can get language support in the editor?
I was doing some initial research on the omnisharp.json file and conveniently people thought that "exclude" discovery directories was a good idea, without having an "include" discovery directories? Hopefully I am missing something here, but I can't see how omnisharp would know that runtime assemblies exist in my_program_folder, and it has to be making some assumptions on what stuff its searching for on my behalf.. which in this case, I think, would be incorrect assumptions.
In the ideal case, I can just set up an environment variable on my machine, such as MY_PROG_DIR, and then pass an array of directories to include in the omnisharp discovery process. The directory strings can reference environment variables. Maybe you extend this to also have an option for discovery "assemblies" so that specific assemblies can be included without blanket searching an entire directory and including everything in there.
Hopefully this mechanism already exists, and I am just missing it, so I apologize if it does.

Closing this. I think I have another solution to make things work the way I want.

This is not supported, Omnisharp only supports standard solution (sln) and project (csproj) files for normal C# language services

Not sure I follow. Let's forget about the "script" part of things for a moment, because I don't think it matters at all. Omnisharp is obviously looking at some default search paths for discovery, yes? Otherwise, how would it know to give me default intellisense on system assemblies like System, System.Text, etc.? Right now there does not seem to be a way to tell omnisharp of search paths that it might not know about in the configuration file. I think its rather odd that the whole exclude directory things was implemented to try and keep directories from being added to the discovery, instead of using 'include' to tell it explicitly what to search for discovery. Exclusion does not imply inclusion; however, inclusion can imply exclusion, which is why I am not understanding why exclusion was chosen.
Anyhow, what I think you are indicating is that the way omnisharp gathers the search paths is through reading csproj files. Therefore, if I somehow referenced an out of directory project, it should work and find the references, no? I would guess this is also why the exclusion stuff is there, because omnisharp does in fact support "inclusion", just not in a direct configuration file. It was probably looking for too much stuff and slowing things down as to why exclusion was then added.

Must have not worded it correctly. Did some more digging and happened upon this: https://github.com/OmniSharp/omnisharp-vscode/issues/1856, which is literally the exact thing I needed / wanted. See? I knew I just wasn't looking hard enough.
I need to experiment with these rsp files for script bootstrapping. I just did an initial quick test using absolute paths adding an rsp file to the local project, pointing the omnisharp.json configuration there, then referencing a randomly hidden assembly on my machine. When I opened the script, I got the correct intellisense popping up with the referenced assembly. Need to play around with it though. If I can add environment variables to the paths, I think I would be set.


things to align before releases

[ ] piece-wise vs. piecewise -> piecewise
[ ] all-cause not 'all cause'
[ ] e.g., -> for example
[ ] Don't use 'c.f., i.e., etc.' or other abbreviations
[ ] american vs. British English -> AE
[ ] use of "", '', etc. -> Double quotes with single inside when need ("foo 'x' bar" not 'foo "x" bar')
[ ] use of italics -> New terminology not for emphasis
[ ] follow-up vs. follow up -> "follow-up time" "time to follow up"
[ ] survival function vs. survivor function -> "survival function"
[ ] hazard rate vs. hazard function -> "hazard function"
[ ] math in figure and table captions -> Ensure math mode used in captions
[ ] colloquial use of "significant" -> don't use it
[ ] \log vs. log, \exp vs. exp, etc. (also mention somewhere that \log means \ln) -> always use "\log" etc.

table headers (maths ($X$) vs. code vs. text


Remove ViGEm.HidHide v1.2.128

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Is there a linked Issue? https://github.com/microsoft/winget-pkgs/issues/160054#issuecomment-2195016278

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/ViGEm/HidHide/releases/download/v<IP_ADDRESS>/HidHide_1.2.128_x64.exe
OK
(Automated message - build 911)


OS:6523257: Enable CollectGarbage functionality for WWA and Webview.

During testing, I temporarily introduced some output into the function after it would have done nothing and returned if it were disabled.
The function now performs GC for WWA and Webview host types (2 and 3 respectively), and does not work for HostType 1 (Browser).
Default is HostType:1 (Browser). Applies to both internal test harness/hosting and ch.exe.
As before, function is always present on the GlobalObject for legacy reasons (in all binaries and hosts), even if it is set to do nothing.

This change is

FYI @curtisman @digitalinfinity @Yongqu - please review?

LGTM


fix: Resolve missing key prop warning

Hello I was just poking around your code and noticed this warning when I ran the app locally.

Looks like this key prop used to be present but was accidentally removed recently:

(https://github.com/bancorprotocol/carbon-app/commit/bd4ceb0d11ba71a3eb432b996f2d0526f148e2c4#diff-2483127c48c1a57bd3416f0cb466a828f6ca5d73eb63e30843a13d82fce0ef34L27)

I went ahead and added it again to remove this warning. I used key={label} because that what was present previously, as well as the approach you take in other files like this one.
https://github.com/bancorprotocol/carbon-app/blob/deee2c581ccd7da1053733d11f609649832a80c4/src/components/core/menu/mobileMenu/MobileMenu.tsx#L13-L18

Good find, thank you!
I ended up fixing it as part of #806 - where I preferred to use index as key and not label.
Although the labels are likely to be unique - they're not necessarily so.
Much appreciation for your contribution - but I am closing this PR.


baf2sql Boost interprocess error in Linux

`>>>>>>>>|- ERROR in [bdal-logconf:logger_config.cpp:379] - XML analysis error: The resulting configuration is unusable - Falling back to default configuration:
Dynamic exception type: std::bad_cast
std::exception::what: std::bad_cast
terminate called after throwing an instance of 'boost::interprocess::interprocess_exception'
what(): boost::interprocess::intermodule_singleton initialization failed
.command.sh: line 3: 79273 Aborted`
Similar to the error caused by the Boost C++ library, but using older versions of Python when creating a venv does not appear to fix the issue. Therefore, support for LC-MS/MS (BAF files, no TIMS data) is currently only available in Windows until a fix or workaround can be found.

This appears to have been fixed as of 62ef7b2e4af17b95fde8f753424cad8dda8fa921
TIMSCONVERT 1.5.0 was tested on Python 3.11.5 installed with Anaconda 2023.7-2 on Windows 10 22H2 and Ubuntu 22.04.3 LTS.


Provide functions to check to see if a row/column exists

In the original database helper that I wrote, I provided some functions that allowed me to easily check to see if a certain row and/or column existed.
This library needs a function that allows consumer applications to easily check to see if a specific row exists.
Alongside that function, should be a function, that allow consumer applications to check if a certain column exists.

Completed in https://github.com/Gigabyte-Giant/SQLiteDatabaseHelper/commit/98ed0a0407390440bea4e4cb49b29b12624976d0.


Fix libc10 missing bug on jetson when loading pytorch backend

Solves libc10.so not found, removes need to LD_LIBRARY_PATH to include pytorch backend dir and resolves segfault during shutdown when loading Onnx models.

Do you need to have the same fix for main?

Do you need to have the same fix for main?

Yes. I will cherry-pick it over. As well as the change for Gitlab


Cannot find generated code using apollo in android studio kotlin

Question.
Hai, currently i'm using apollo plugin version 2.3.0, and also try using version 2.3.1 same as this guide : https://www.apollographql.com/docs/android/essentials/get-started-multiplatform/ but i still cannot find auto generate code for used as the same graphql name. also i already place the graphql same level with the java, is that any step that i missing ?

Hi 👋
After you build your project, the generated files will be in build/generated/source/apollo/

Hi 👋 @martinbonnin
i already check the directory where the code is generated but it's not there just like this :

Can you share the  contents of morthie.graphql ?
Something else you can try is build with --no-build-cache: ./gradlew generateApolloSources --no-build-cache to make sure this isn't a build cache issue.

Here is the content of mothie.graphql :

Apollo doesn't support unnamed queries, you should give a name to your query like query GetCharacters query. I suspect there's something else going on though because it should give an error.  Please let me know if it doesn't.

Ok i already add name to query and i already get the class just like this :

the class name is AnimationQuery is that correct in that path ? but i can't use it. Or should i rebuild again for the project ?

AnimationQuery sounds good 👍
You should be able to call it like this:
apolloClient.query(AnimationQuery())

Then I would recommend using the coroutines extensions:
val response = apolloClient.query(AnimationQuery())toDeferred().await()

i see now i can use the AnimationQuery. Ok i will try use coroutines for access thanks for the support 👍

Sounds good 👍 . I'm closing this issue, let me know if you want to reopen it.


Earlier preset in the inherits array not preferred in v1.17.16

Brief Issue Summary
An existing preset that I have used unchanged for a long time does not configure / build anymore since cmake-tools v1.17.16 has been installed. v1.17.16 uses the wrong value when multiple presets are inherited and provide different values for the same cache variable.
In the example below preset3 gets -DSOME_SETTING=value1 with cmake-tools v1.17.16.
When I downgrade to v1.17.15 preset3 gets -DSOME_SETTING=value2 (the same value that is used when I run cmake directly)
{
    "version": 2,
    "configurePresets": [
        {
            "name": "preset1",
            "hidden": true,
            "cacheVariables": {
                "SOME_SETTING": "value1"
            }
        },
        {
            "name": "preset2",
            "hidden": true,
            "cacheVariables": {
                "SOME_SETTING": "value2"
            }
        },
        {
            "name": "preset3",
            "inherits": [
                "preset2",
                "preset1"
            ]
        }
    ]
}

CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response

Sounds like a duplicate of https://github.com/microsoft/vscode-cmake-tools/issues/3603

This is fixed in the most release. Thanks!


[mac] add Mac::NetworkName class

This commit adds Mac::NetworkName class as C++ wrapper over the
otNetworkName. It also adds NetworkName::Data to represent the
network name as a pointer to a char array buffer (not necessarily null
terminated) with a given length. This representation is used by
Mac::BeaconPlayload and MeshCop::NetworkNameTlv. This commit also
adds unit test for Mac::NetworkName class.

Updated this PR and removed "work-in-progress" label. It's ready for review.


user-guide: initial get-started/data.xml pull doesn't work

When I run the first dvc get listed here, I get the following error:
paul ~/GitHub/dvc » dvc get https://github.com/iterative/dataset-registry \
>           get-started/data.xml -o data/data.xml
WARNING: Some of the cache files do not exist neither locally nor on remote. Missing cache files:
name: ../../home/ubuntu/GitHub/dvc/data/data.xml.jCpvxLLAJHBNeBGwZSWmUp.tmp, md5: a304afb96060aad90176268345e10355
WARNING: Cache 'a304afb96060aad90176268345e10355' not found. File 'data/data.xml.jCpvxLLAJHBNeBGwZSWmUp.tmp' won't be created.
ERROR: failed to get 'get-started/data.xml' from 'https://github.com/iterative/dataset-registry' - The path 'get-started/data.xml' does not exist in the target repository 'https://github.com/iterative/dataset-registry' neither as an output nor a git-handled file.

Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!

PR#1057 isn't the solution. Documentation needs to be updated to reflect steps at iterative/dataset-registry.

@paulkaefer I can't reproduce this. Could you run it with -v and share the log, please?

@shcheklein:
paul ~/GitHub/test » dvc get -v https://github.com/iterative/dataset-registry \ get-started/data.xml -o data/data.xml
2020-03-16 11:51:23,701 DEBUG: Creating external repo https://github.com/iterative/dataset-registry@None
2020-03-16 11:51:23,873 DEBUG: erepo: git clone https://github.com/iterative/dataset-registry to a temporary dir
2020-03-16 11:51:24,267 DEBUG: erepo: making a copy of https://github.com/iterative/dataset-registry clone
2020-03-16 11:51:24,380 DEBUG: Removing '/home/ubuntu/GitHub/test/data/.3yXxuEYVW5sfU8QDEk5GC4'
2020-03-16 11:51:24,380 ERROR: failed to get ' get-started/data.xml' from 'https://github.com/iterative/dataset-registry' - The path ' get-started/data.xml' does not exist in the target repository 'https://github.com/iterative/dataset-registry' neither as an output nor a git-handled file.
------------------------------------------------------------
Traceback (most recent call last):
  File "/snap/dvc/241/lib/python3.6/site-packages/dvc/external_repo.py", line 94, in pull_to
    fs_copy(fspath(path_info), fspath(to_info))
  File "/snap/dvc/241/lib/python3.6/site-packages/dvc/utils/fs.py", line 27, in fs_copy
    shutil.copy2(src, dst)
  File "/snap/dvc/241/usr/lib/python3.6/shutil.py", line 263, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/snap/dvc/241/usr/lib/python3.6/shutil.py", line 120, in copyfile
    with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpq0m5c03gdvc-erepo/ get-started/data.xml'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/snap/dvc/241/lib/python3.6/site-packages/dvc/command/get.py", line 41, in _get_file_from_repo
    rev=self.args.rev,
  File "/snap/dvc/241/lib/python3.6/site-packages/dvc/repo/get.py", line 55, in get
    repo.pull_to(path, PathInfo(out))
  File "/snap/dvc/241/lib/python3.6/site-packages/dvc/external_repo.py", line 96, in pull_to
    raise PathMissingError(path, self.url)
dvc.exceptions.PathMissingError: The path ' get-started/data.xml' does not exist in the target repository 'https://github.com/iterative/dataset-registry' neither as an output nor a git-handled file.
------------------------------------------------------------

Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!

To be clear, I'm going through the tutorial. I was able to (1) clone the dataset-registry repo, and (2) run cp ../dataset-registry/get-started/data.xml data/ to get the data.xml file into my getting started local repo.

Ok, I see where that problem comes from

The path ' get-started/data.xml'

mind the space before the path.
Looks like it's copy-paste + terminal problem.
This is exactly how regular CLI tools behave:
touch " test"
rm -f \ test

What I would suggest is to change the command somehow to avoid this copy-paste problems?
@paulkaefer what OS, what browser and terminal do you use?

@shcheklein Ubuntu, default Terminal (bash). Brave Browser.
Command was copied from the top example @ https://dvc.org/doc/get-started/add-files.

@shcheklein good call, though. I removed the space before the \ and dvc get -v https://github.com/iterative/dataset-registry \get-started/data.xml -o data/data.xml works.

@paulkaefer so, when I copy it and paste I'm getting something like this in my browser:
(.env) [ivan@ivan /tmp]$ dvc get https://github.com/iterative/dataset-registry \
>           get-started/data.xml -o data/data.xml

is it the same for you?

@shcheklein yes!

@paulkaefer and when you run w/o modifications, does it work? (it works for me, in my terminal as-is if I just copy-paste it)

@shcheklein yes. Did you change something? Maybe I mis-copied before? I believe the first time, I typed it out in the interest of developing muscle memory for dvc.

@paulkaefer No, I didn't change anything. Looks like some mis-copy or some honest typo :) Closing this for now. Thanks for reporting this though, if we get more complaints we'll think about simplifying some command to fit into a single line.

Thanks, @shcheklein. I've shared the tutorial internally, with my recommendation:

this is how tech tutorials should be (easy to follow, colorful, expand boxes for concepts you might or might know).

I'll be sure and open issues or PRs if I find anything else.

Hi I'm also having a problem with this command, that doesn't seem to be related to the space issue:
I've tried copy and pasting directly from the docs:
dvc get -v https://github.com/iterative/dataset-registry \
          get-started/data.xml -o data/data.xml

and putting it all on one line:
dvc get -v https://github.com/iterative/dataset-registry get-started/data.xml -o data/data.xml

In both cases I get:

$ dvc get -v https://github.com/iterative/dataset-registry get-started/data.xml -o data/data.xml
2020-07-02 11:36:24,693 DEBUG: Creating external repo https://github.com/iterative/dataset-registry@None
2020-07-02 11:36:24,693 DEBUG: erepo: git clone https://github.com/iterative/dataset-registry to a temporary dir
2020-07-02 11:36:27,278 DEBUG: Saving '../../../../../tmp/tmpn23yad7vdvc-clone/get-started/data.xml' to 'data/.HsELAmwFokBPr9emR7s3sd/a3/04afb96060aad90176268345e10355'.
2020-07-02 11:36:27,279 DEBUG: cache '/home/matthew/Documents/muanalytics/dvc/data/.HsELAmwFokBPr9emR7s3sd/a3/04afb96060aad90176268345e10355' expected 'a304afb96060aad90176268345e10355' actual 'None'
2020-07-02 11:36:27,279 DEBUG: cache '/home/matthew/Documents/muanalytics/dvc/data/.HsELAmwFokBPr9emR7s3sd/a3/04afb96060aad90176268345e10355' expected 'a304afb96060aad90176268345e10355' actual 'None'
2020-07-02 11:36:27,303 DEBUG: Preparing to download data from 'https://remote.dvc.org/dataset-registry'
2020-07-02 11:36:27,303 DEBUG: Preparing to collect status from https://remote.dvc.org/dataset-registry
2020-07-02 11:36:27,304 DEBUG: Collecting information from local cache...
2020-07-02 11:36:27,306 DEBUG: cache '/home/matthew/Documents/muanalytics/dvc/data/.HsELAmwFokBPr9emR7s3sd/a3/04afb96060aad90176268345e10355' expected 'a304afb96060aad90176268345e10355' actual 'None'
2020-07-02 11:36:27,308 DEBUG: Collecting information from remote cache...
2020-07-02 11:36:27,309 DEBUG: Matched '0' indexed hashes
2020-07-02 11:36:27,309 DEBUG: Querying 1 hashes via object_exists
2020-07-02 11:36:31,232 DEBUG: Removing '/home/matthew/Documents/muanalytics/dvc/data/.HsELAmwFokBPr9emR7s3sd'
2020-07-02 11:36:31,232 ERROR: failed to get 'get-started/data.xml' from 'https://github.com/iterative/dataset-registry' - could not perform a HEAD request
------------------------------------------------------------
Traceback (most recent call last):
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/urllib3/connection.py", line 160, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection
    raise err
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen
    chunked=chunked,
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 381, in _make_request
    self._validate_conn(conn)
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 976, in _validate_conn
    conn.connect()
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/urllib3/connection.py", line 308, in connect
    conn = self._new_conn()
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/urllib3/connection.py", line 172, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f99a1d22b38>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 765, in urlopen
    **response_kw
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 765, in urlopen
    **response_kw
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 765, in urlopen
    **response_kw
  [Previous line repeated 2 more times]
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 725, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/urllib3/util/retry.py", line 439, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='s3-us-east-2.amazonaws.com', port=443): Max retries exceeded with url: /dvc-public/remote/dataset-registry/a3/04afb96060aad90176268345e10355 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99a1d22b38>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/remote/http.py", line 104, in request
    **kwargs,
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/requests/sessions.py", line 530, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/requests/sessions.py", line 665, in send
    history = [resp for resp in gen]
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/requests/sessions.py", line 665, in <listcomp>
    history = [resp for resp in gen]
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/requests/sessions.py", line 643, in send
    r = adapter.send(request, **kwargs)
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='s3-us-east-2.amazonaws.com', port=443): Max retries exceeded with url: /dvc-public/remote/dataset-registry/a3/04afb96060aad90176268345e10355 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99a1d22b38>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/command/get.py", line 41, in _get_file_from_repo
    rev=self.args.rev,
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/repo/get.py", line 53, in get
    repo.get_external(path, out)
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/external_repo.py", line 143, in get_external
    _, _, save_infos = self.fetch_external([path])
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/external_repo.py", line 133, in fetch_external
    download_callback=download_update,
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/remote/base.py", line 1161, in save
    return self._save(path_info, tree, hash_, save_link, **kwargs)
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/remote/base.py", line 1169, in _save
    return self._save_file(path_info, tree, hash_, save_link, **kwargs)
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/remote/base.py", line 1096, in _save_file
    with tree.open(path_info, mode="rb") as fobj:
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/repo/tree.py", line 274, in open
    path, mode=mode, encoding=encoding, **kwargs
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/repo/tree.py", line 94, in open
    self.repo.cloud.pull(cache_info, remote=remote)
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/data_cloud.py", line 85, in pull
    cache, jobs=jobs, remote=remote, show_checksums=show_checksums
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/remote/base.py", line 79, in wrapper
    return f(obj, named_cache, remote, *args, **kwargs)
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/remote/local.py", line 710, in pull
    download=True,
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/remote/local.py", line 610, in _process
    download=download,
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/remote/local.py", line 469, in _status
    md5s, jobs=jobs, name=str(remote.path_info)
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/remote/base.py", line 812, in hashes_exist
    remote_hashes = self.tree.list_hashes_exists(hashes, jobs, name)
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/remote/base.py", line 701, in list_hashes_exists
    ret = list(itertools.compress(hashes, in_remote))
  File "/home/matthew/.pyenv/versions/3.7.2/lib/python3.7/concurrent/futures/_base.py", line 586, in result_iterator
    yield fs.pop().result()
  File "/home/matthew/.pyenv/versions/3.7.2/lib/python3.7/concurrent/futures/_base.py", line 432, in result
    return self.__get_result()
  File "/home/matthew/.pyenv/versions/3.7.2/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/home/matthew/.pyenv/versions/3.7.2/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/remote/base.py", line 694, in exists_with_progress
    ret = self.exists(path_info)
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/remote/http.py", line 125, in exists
    return bool(self.request("HEAD", path_info.url))
  File "/home/matthew/Documents/muanalytics/dvc/build/virtualenv/lib/python3.7/site-packages/dvc/remote/http.py", line 122, in request
    raise DvcException(f"could not perform a {method} request")
dvc.exceptions.DvcException: could not perform a HEAD request
------------------------------------------------------------

Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!

I'm on Ubuntu 18.04.4 LTS with zsh 5.4.2 (x86_64-ubuntu-linux-gnu). I installed with:
pip install dvc
pip install dvc[s3]

@ivyleavedtoadflax how about this:
wget https://s3-us-east-2.amazonaws.com/dvc-public/remote/dataset-registry/a3/04afb96060aad90176268345e10355
does it work for you?

Ah :facepalm: sorry @shcheklein I needed to disconnect my VPN. It's all working now :+1:


When switching branches or editing the project outside of VS, the project should be able to reflect the new state without reloading

We should able to reflect the new state of the project file when it is edited outside of VS, This is similar to https://github.com/dotnet/roslyn-project-system/issues/107, but just outside of Visual Studio.
Few blockers I see:

[ ] Stop the solution from prompting and then reloading us
[ ] Stop Team Explorer from reloading the entire solution when a project file changes (new in Update 2 - which they did for a speed boost)
[ ] Load the new state of the project and writing it to the new MSBuild tree

Oh please yes, do it.
The current fastest workflow for switching branches from outside VS is to pskill devenv, switch branch then reopen Visual Stusio... We do it multiple times per day but it isn't ideal.
(Seem like some at Stack Overflow do it too: https://twitter.com/Nick_Craver/status/731453830366408704 )

Yes please, this very directly costs us time every time a trivial project change takes place. The approach of keeping the entire file in memory, doing a diff, and handling trivial things like file additions gracefully without a reload seems like such an easy win for most of the trivial cases, which account for most of the cases we hit on a daily basis:

A file was added
A file was removed
A NuGet package was updated

Granted the first two are mostly handled by wildcards in the new world, but the last will remain an issue. Reloading the entire environment to update a reference...why? Recognizing that case and doing far less than a full reload would be a huge payoff. Anything non-trivial: okay, reload. Even if we only handled the trivial-to-recognize cases, it would be a huge win.

@NickCraver for the last one, you can switch to a dependency manager which doesn't force change in project files when a mere package version changes.

@smoothdeveloper This should work with the built-in tooling though. The answer here should not be "don't use NuGet" to get a decent experience.

@smoothdeveloper Also we use paket (Is there other alternative dependency managers for .Net ?) and both packages changing their internal dependencies or paket itself adding support for a new TFM can change a lot of project files and the result is the same slowness... version number changes aren't the only source of csproj variation related to packages.
Still git pull or git checkout are a biggest source of change, and no tooling can avoid them changing the csproj. Especially in a world without wildcards for .cs files.

Completed with #331

I've got a demo of this here: https://twitter.com/davkean/status/758097051963961344


[Bug]: node_modules cause copy_to_bin performance regression when passing between ts_project and npm_package

What happened?
In our code setup, we have ts_project for source code, and ts_project for test code. That means we will needs @types packages as well as jest- and @jest packages to pass typechecking. While we do have include_runfiles = False in our npm_package, there is still a massive list of node_modules generated from ts_project to the <target.json> file that is in the bazel-bin folder. We should not be forwarding packages that are used for typechecking only, we should only forward dependencies the code needs to run.
Version
Development (host) and target OS/architectures:
Output of bazel --version:
6.2.0
Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file:
rules_ts - 1.0.1
Language(s) and/or frameworks involved:
How to reproduce
It's probably best to reach out to use directly, but a basic example is if you do something like

ts_project(
  name,
  srcs = ['index.ts'],
  data = ['//:node_modules/@types']
)

This is an exaggeration, but on a reasonably large pnpm node_modules tree, this can generate a multi meg json payload (ours is 3.2mb)

### Any other information?

_No response_

Looks related to this too https://github.com/aspect-build/rules_js/issues/1032

We did some more debugging with @jbedard today. We found that our perf regression was directly correlated with npm_package having include_transitive_declarations default to True. When we flipped that to False, our copy_to_bin was eliminated and the underlying config shrunk from 3.2mb to 8kb.
This works for us because we use skipLibCheck and don't expect nested node_modules to forward types. The package we are building will forward types and source files, that is it.


Update description with Maven/Gradle dependency

I was unable to find how to include this project into my codebase using Gradle.

There are currently non Maven or Gradle distributions of this project. For now one can use it by copying the source code into his own project or through a jar dependency: k-ini-0.1.0-SNAPSHOT.jar


Fix tracing screenshot path

Ideally we'd add a linter for this, but the linter is broken for anchors:

https://github.com/tcort/markdown-link-check/issues/304

See #413.


Hide profile tab for non knights users

The profile tab has no use if the user doesn't have a knights email. Better to hide the tab and only display it for knights users

but then how would you change your email :thinking:

Header menu has an option to change emails if the user is non knights


First Time Setup Doesn't Work with 1Password SSH Keys

The .ssh/config gets seeded with 1password ssh agent setup. But 1password hasn't been installed yet. This creates issues talking to github which in turn makes the homebrew bundler fail.

In theory, one would need access to 1Password to auth with github to even clone down the project for setup. This implies that 1Password is a system dependency of my dotfiles. (And on purpose, these keys are highly secure).

Referenced here as a system dependency: https://github.com/jamesandersonwalsh/dotfiles/commit/89bde2f01aa4a81ae50f923ddf3a90b9d9db336b


How to use quickfix windows show the errors?

Is it possible to use quickfix windows show the errors?

It's possible, but syntastic uses loclists instead of quickfix lists.  The only difference between loclists and quickfix lists is that the former are per window, while the latter are global.

Ok， thanks.


template literals fail to type check as string literals

TypeScript Version:  2.4.0
Code
type Foo = 'lol'

const barr: Foo = `lol`
// Type 'string' is not assignable to type '"lol"'.

https://www.typescriptlang.org/play/#src=type Foo %3D 'lol'

const barr%3A Foo %3D `lol`
Expected behavior:
type Foo = 'lol'

const barr: Foo = `lol`
// No error

Actual behavior:
type Foo = 'lol'

const barr: Foo = `lol`
// Type 'string' is not assignable to type '"lol"'.

Duplicate of #16592.

Thanks for finding that @ikatyang!


bdc dashboard stopped working

I clicked around within the dashboard, nothing crazy, after a few clicks, it stopped responding and I got the following error in the console:

I'm not able to repro this myself - let's wait until we get a build with the builtin version as expected and see if you can repro it again. I wouldn't be hugely surprised though - there's a lot of DOM stuff happening with clicks and I can easily see some race condition occurring.

I'm going to close this - if we see this again or more consistently we can reopen.


Problem Fix

What is it fixing? The current code ensures that the two numbers won't be relatively prime (yours doesn't guarantee that since it could still be the same prime...)

Your code made it give any 2 numbers (even if they aren't prime).

I played games on ftw-clone. They gave me numbers that are not prime. Other users have also noticed this.

I've checked your code. Your code gives any two relatively prime numbers. For the Chicken McNugget Theorem to work, the 2 numbers both need to be prime.

Tell me when you want me to merge. Also, can you first make it so it queries the array length dynamically, e.g. primes.length instead of writing "24".

hjung the numbers don't have to be prime, just relatively prime. https://artofproblemsolving.com/wiki/index.php?title=Chicken_McNugget_Theorem


Add support for SHA256

Right now, SHA1 is used for hashing the issuer name and key. SHA1 is not only considered insecure, its support is increasingly dropped by OCSP responders. For example, Microsoft dropped SHA1 support 2 years ago.
It would be nice to have the option of using different hash algorithms. In this pull request, I added the possibility to use SHA256 while keeping SHA1 as the default option. With this structure, you could also add support for additional algorithms.
I kept SHA1 as the default to prevent breaks. However, I would recommend switching to SHA256 in a future version for increased security.
Signed-off-by: Kai Hölscher<EMAIL_ADDRESS>

Thank You for the contribution!
I will close this pull request since the ocsp-php code was moved to web-eid-authtoken-validation-php repository.
We are happy to accept your proposals in the web-eid-authtoken-validation-php repository: https://github.com/web-eid/web-eid-authtoken-validation-php.


bugfix:  fix host deploy windows password, user can get backup host id

这个 PR 实现什么功能/修复什么问题:

fix host deploy windows password
user can get backup host id

是否需要 backport 到之前的 release 分支:
release/2.8.0

/cc @swordqiu @yousong @Zexi
/cherrypick release/2.9.0

/cherrypick release/2.8.0

Codecov Report

Merging #770 into master will decrease coverage by 0.27%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #770      +/-   ##
=========================================
- Coverage    7.62%   7.34%   -0.28%
=========================================
  Files         343     348       +5
  Lines       53404   55835    +2431
=========================================
+ Hits         4070    4103      +33
- Misses      48955   51352    +2397
- Partials      379     380       +1

Flag
Coverage Δ

#aFlag
7.34% <ø> (-0.28%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/compute/models/guests.go
0.67% <ø> (ø)
:arrow_up:

pkg/util/seclib2/seclib.go
91.48% <0%> (-4.26%)
:arrow_down:

pkg/util/esxi/host.go
2.34% <0%> (-0.02%)
:arrow_down:

pkg/compute/models/storages.go
1.13% <0%> (-0.01%)
:arrow_down:

pkg/compute/models/hosts.go
0.36% <0%> (-0.01%)
:arrow_down:

pkg/compute/models/elasticips.go
1.55% <0%> (ø)
:arrow_up:

pkg/util/aws/storagecache.go
0% <0%> (ø)
:arrow_up:

pkg/util/aws/eip.go
0% <0%> (ø)
:arrow_up:

pkg/compute/models/cloudsync.go
0% <0%> (ø)
:arrow_up:

pkg/util/aws/vpc.go
0% <0%> (ø)
:arrow_up:

... and 18 more

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 dfffe94...898b1bd. Read the comment docs.

/hold

/hold cancel

/lgtm
/approve