text:
upload function validate option

The 'validate' boolean option in the optional array provided in the 'upload' function does not seem to actually validate the data being uploaded to GCS, mistakenly executed the function with an undefined variable as the data object to be uploaded and the upload was executed without any exception, checked GCS and the 'file' had been uploaded although it was empty when opened. In my case it was a txt file.

Hey there @migueru! Thanks for filing this issue.
In the case of an undefined variable being passed in, the underlying code would see that as a value of null (which actually would be valid to upload). The validate option actually calculates a hash of the provided data to be sent along while uploading, once the upload is complete if the provided hash doesn't match that on the server it will be rejected. The option doesn't prevent specific values passed in through $data from being sent upstream. I'll update the documentation to make sure null is listed as a valid type.

Noted, thank you @dwsupplee !

authors: dwsupplee migueru

repo: GoogleCloudPlatform/google-cloud-php


text:
Fix tests and update log cmdlets

There are some changes in the Logging API so we have to change some of the logging cmdlets.

This change is

@ILMTitan PTAL, I added warnings for the parameters.

Thanks!

source: gharchive/pull-request

license_type: permissive

license_source: bigquery


text:
Release BigQuery 1.5.0

For clustering feature.
@alixhami Do you want to try your hand at releasing this one?

We might want to wait for https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5711

@tswast We likely also need to fix the missing bigquery-1.4.0 tag (I don't know if releasetool will work without it).

Thanks for taking care of the tag.

I think we need to land #5714 first, as it fixes non-flaky BQ system tests.

Seth is OOO today, so I'll take a stab at the open comments.

when can I expect new version with clustering?
https://pypi.org/project/google-cloud-bigquery/1.4.0/#description

@chenleiwhu Track PR 5735.

The CI for doing the auto-release just failed due to a failure in the spanner tests https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/7549
Assigning to Chris to cut a manual release.

The tag build just completed. The package is now live. https://pypi.org/project/google-cloud-bigquery/#history

source: gharchive/issue

authors: chenleiwhu tseaver tswast

repo: GoogleCloudPlatform/google-cloud-python

license_source: github-api


text:
./google-cloud-sdk/install.sh error

Trying to install the google cloud sdk locally. Using Mac 64 bit. just installed python 2.7.15.
c02s10gwg8wp:~ szb7493$ /Applications/google-cloud-sdk/install.sh
Welcome to the Google Cloud SDK!
Traceback (most recent call last):
File "/Applications/google-cloud-sdk/bin/bootstrapping/install.py", line 12, in
import bootstrapping
File "/Applications/google-cloud-sdk/bin/bootstrapping/bootstrapping.py", line 32, in
import setup  # pylint:disable=g-import-not-at-top
File "/Applications/google-cloud-sdk/bin/bootstrapping/setup.py", line 66, in
DoAllRequiredChecks()
File "/Applications/google-cloud-sdk/bin/bootstrapping/setup.py", line 62, in DoAllRequiredChecks
properties.VALUES.core.allow_py3.GetBool()):
File "/Applications/google-cloud-sdk/lib/googlecloudsdk/core/properties.py", line 1740, in GetBool
value = _GetBoolProperty(self, named_configs.ActivePropertiesFile.Load(),
File "/Applications/google-cloud-sdk/lib/googlecloudsdk/core/configurations/named_configs.py", line 400, in Load
force_create=False).file_path])
File "/Applications/google-cloud-sdk/lib/googlecloudsdk/core/configurations/named_configs.py", line 439, in _ActiveConfig
config_name = _EffectiveActiveConfigName()
File "/Applications/google-cloud-sdk/lib/googlecloudsdk/core/configurations/named_configs.py", line 464, in _EffectiveActiveConfigName
config_name = _ActiveConfigNameFromFile()
File "/Applications/google-cloud-sdk/lib/googlecloudsdk/core/configurations/named_configs.py", line 504, in _ActiveConfigNameFromFile
.format(path, config.Paths().named_config_directory), exc)
googlecloudsdk.core.configurations.named_configs.NamedConfigFileAccessError: Active configuration name could not be read from: [/Users/szb7493/.config/gcloud/active_config]. Ensure you have sufficient read permissions on required active configuration in [/Users/szb7493/.config/gcloud/configurations].
Unable to read file [/Users/szb7493/.config/gcloud/active_config]: [Errno 13] Permission denied: '/Users/szb7493/.config/gcloud/active_config'
c02s10gwg8wp:~ szb7493$
Any clues on what this means and how to fix it?

@jens86 I'm sorry you are having trouble installing the Cloud SDK.  Unfortunately, this repository is not where that SDK is maintained / supported.  Please use one of the resources on the SDK support page.


text:
BigQuery: make QueryJob._query_results.total_rows public

Request to have total_rows property public, under QueryJob() along with other stats

My initial preference would be against exposing this directly as property of the QueryJob, as its part of the jobs.getQueryResults / tabledata.list response and not a member of the query stats metadata.
Is the interest in fetching the table statistics for the results without the extra fetch of destination table metadata, or are you interested in it related to progress while fetching row data?

The interest is to determine how many rows a query, when completed, has generated.
Fetching the destination table metadata is not valid if records are appended to an existing table - I would get the total number of rows, not the addition.
Note that totalRows exists in both jobs.getQueryResults and jobs.query. There is no need to call the former (except if job is inserted) so request is not unreasonable. Also, https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#totalBytesProcessed made it as property of QueryJob() so why not total_rows.

Thanks for clarifying the interest is in the effective delta.
For the case where you run a query with a destination table and a WRITE_APPEND disposition, the results (and total_rows) will represent the whole table.  For mutation DML queries (e.g. UPDATE/DELETE), num_dml_affected_rows may help, but we should consider exposing something like the statistics.load.outputRows equivalent for query jobs (likely contingent on statement type).
If that sounds like what you're after, I'll request it for inclusion in the backend response.  There's insufficient information in the existing response to correctly report the delta for the append case.

Let's cancel the request as I just suggested making the existing - and perfectly working -  _query_results.total_rows a public property of QueryJob() or another object. I thought https://googlecloudplatform.github.io/google-cloud-python/latest/bigquery/generated/google.cloud.bigquery.job.QueryJob.result.html#google.cloud.bigquery.job.QueryJob.result would work but it doesn't, total_rows is None (myqueryjob.result().total_rows).
This was reported on SO too: https://stackoverflow.com/questions/48799898/bigquery-py-client-library-v0-28-fetch-result-from-table-query-job
I will just use the private _query_results.total_rows.
Thanks.


text:
Speech: Expose the GAPIC client config on the manual layer.

This PR is a response to #3165 but I somewhat doubt we should take it exactly as-is. This is meant to be a discussion starter.
Context
Definitely go read #3165 to understand the whole thing, but the basic situation is that the OP had a problem with the Speech API that he got around by overriding the GAPIC client_config. He did this by modifying the actual JSON file in the installed GAPIC, which probably is something we should not force our users to do.
Solution
The first and most obvious thing we should do is set a more sane default for this one configuration option in Speech. I am going to do that momentarily.
Additionally, I assert that we should expose the client_config as an option in our Client classes, so that our users do have the option to override these things.
This PR makes this change only for Speech, which is almost certainly the wrong final solution. Either we should do this in every API that depends on a GAPIC or we should do it in none of them. I wanted to put this in place so we can see what the solution looks like and discuss whether it should be done everywhere or nowhere. (If we do it everywhere, then the self._client_config part in Speech's Client class would migrate into core.)
Discussion
Should we do this?

@dhermes Can I get some feedback on the substance of the change? :-) As noted in the text, I am not sure whether we should actually do this.

@lukesneeringer Sorry I didn't notice the text. (I hate it when people ignore my carefully crafted text, so big time hypocrite there.)
ISTM a better option would be to take the entire GAPIC client as an optional Client argument? It's strange having constructor args that only apply to one of the transports.

@lukesneeringer I 2nd @dhermes. We should also test to see if this is happening on the HTTP side as well.  If it is, I'm not sure how to pass the config parameters?

@dhermes I like that idea. Sold.

So, the API would look something like...
class Client(BaseClient):
    def __init__(self, credentials=None, http=None, gapic=None, use_gax=None):

I have to say I am kind of not a fan of a separate http and gapic argument, only one of which makes sense based on the ultimate _use_gax value. But, I hate backwards-incompatible changes more, so I think that ship has sailed.
(Also, it is a crying shame that we use the terms "gapic" and "gax" nearly interchangably, but that ship has also sailed.)
Should it be spelled gapic or gapic_client? The former would match http but the latter would be clearer.

@lukesneeringer Why don't we bring the ship back to harbor? I'm fine dumping usage of GAX (GAPIC was not a term in use when the first use_gax argument was added).
I'm also fine overloading what WAS http as transport_object and then verifying that object based on which transport has been chosen.

Editor's Note: Pulling this discussion into a chat for expediency.

Discussed with @dhermes offline and we decided to punt on this question.
Summary:

We should fix the default client config for Speech. (googleapis/googleapis#297)
We should take a custom GAPIC, but we are not quite sure yet how we want that to look, based on possible features that we hope the GAPICs will get in Q2.

authors: daspecster dhermes lukesneeringer


text:
Windows fio

Add windows fio testing

Note that the windows startup script is not currently being used because the guest attribute name for the scripts is different from linux

repo: GoogleCloudPlatform/guest-test-infra


text:
Switching to beta version

Is there any way to use the beta version of the APIs? I am mainly interested in speech-to-text punctuation API.
Regards

@ishida66 Use the following proto file instead of version 1 proto file:
https://github.com/googleapis/google-cloud-java/blob/master/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech.proto
Then follow this doc to implement the code:
https://cloud.google.com/speech-to-text/docs/automatic-punctuation

What code do I use to use the beta version of the APIs with the Swift iOS sample project? Thanks!

@ishida66 Use the following proto file instead of version 1 proto file:
https://github.com/googleapis/google-cloud-java/blob/master/google-api-grpc/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech.proto
Then follow this doc to implement the code:
https://cloud.google.com/speech-to-text/docs/automatic-punctuation

repo: GoogleCloudPlatform/ios-docs-samples


text:
Add missing helloworld samples + delete excess logging code

✅Add functions_helloworld_error
✅Add functions_helloworld_gcs_generic
✅Delete excess logging code in SnippetsTests.java

@lesv FYI: added a functions_helloworld_method sample that I realized I forgot.

repo: GoogleCloudPlatform/java-docs-samples


text:
docs(samples): Add Dataflow BigQueryIO write snippets

Adds BigQuery I/O snippets for a Dataflow doc in progress
@reuvenlax @johnjcasey  FYI

Please fix lint error. Thanks!

Please fix lint error. Thanks!

Done, thanks!

authors: VeronicaWasson averikitsch


text:
Kubelet fails to provide stats for static pods

Since static pods are now exposed via the apiserver, users (heapster) naturally expect kubelet to provide stats for the static pods.
This is breaking heapster.
cc @yujuhong

I am not familiar with stats collection in kubelet. What type of status are you referring here?

Not status, it is resource related stats here. This is one of initial reason I want to sync static pods back to master.

I think we'll need to support pod translation for the following functions.
GetContainerInfo()
GetKubeletContainerLogs()

I will work on that.

On a side note, is Heapster breaking, breaking? Or just complaining loudly?

@vmarmol: Heapster fails stats collection all together if kubelet errors out. I have a filed a
heapster issue to fix that.

@vishh how come the monitor e2e test couldn't detect such failure at the first place?

The e2e test looks for all monitoring pods to be present. I went the way of
looking for all pods to be picked up heapster, but was told that the pods
in the cluster could be very dynamic in the future and so the test should
only look for the pods it controls. The test cannot launch any static pods
and so it did not catch this issue.

One option is to run the monitoring test serially and then run other tests in parallel. @zmerlynn do you think it is possible to never run the monitoring e2e test in parallel with other e2e tests?

We currently don't run any e2e tests in parallel, but presumably we'll have to make such exceptions at some point. Why, though?

I intend the monitoring e2e test to ensure all the pods existing in the
cluster irrespective of , to be captured by the monitoring pipeline.
On Fri, Mar 20, 2015 at 9:28 AM, Zach Loafman notifications@github.com
wrote:

We currently don't run any e2e tests in parallel, but presumably we'll
have to make such exceptions at some point. Why, though?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/5688#issuecomment-84061431
.

authors: dchen1107 vishh vmarmol yujuhong zmerlynn

repo: GoogleCloudPlatform/kubernetes


text:
Integration tests are failing consistently with "FAILED: pods never started running timed out waiting for the condition"

On my local test cluster:
E0407 17:08:46.338567     752 reflector.go:143] Failed to watch *api.Node: field label not supported: metadata.name
I0407 17:08:46.681162     752 integration.go:267] Check whether pod nginx-controller-tdiha.test exists on node ""
I0407 17:08:46.681835     752 integration.go:269] Pod nginx-controller-tdiha.test is not bound to a host yet
I0407 17:08:46.892656     752 integration.go:285] Error on creating endpoints: endpoints "service1" not found
I0407 17:08:47.680573     752 integration.go:267] Check whether pod nginx-controller-tdiha.test exists on node ""
I0407 17:08:47.680722     752 integration.go:269] Pod nginx-controller-tdiha.test is not bound to a host yet
I0407 17:08:47.894832     752 integration.go:285] Error on creating endpoints: endpoints "service1" not found
I0407 17:08:48.679410     752 integration.go:267] Check whether pod nginx-controller-tdiha.test exists on node ""
I0407 17:08:48.679497     752 integration.go:269] Pod nginx-controller-tdiha.test is not bound to a host yet
F0407 17:08:48.679523     752 integration.go:436] FAILED: pods never started running timed out waiting for the condition
!!! Error in hack/test-integration.sh:47
'"${KUBE_OUTPUT_HOSTBIN}/integration" --v=2 --apiVersion="$1"' exited with status 255
Call stack:
1: hack/test-integration.sh:47 runTests(...)
2: hack/test-integration.sh:60 main(...)
Exiting with status 1
+++ [0407 17:08:48] Integration test cleanup complete
!!! Error in /Users/quinton/code/go/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/gce/../../cluster/../build/../build/common.sh:405
'"${docker_cmd[@]}" "$@"' exited with status 1
Call stack:
1: /Users/quinton/code/go/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/gce/../../cluster/../build/../build/common.sh:405 kube::build::run_build_command(...)
2: /Users/quinton/code/go/src/github.com/GoogleCloudPlatform/kubernetes/hack/e2e-internal/../../cluster/gce/../../cluster/../build/release.sh:36 main(...)
Exiting with status 1
2015/04/07 10:08:53 Error running build-release: exit status 1
2015/04/07 10:08:53 Error building. Aborting.
exit status 1

This is the version I'm running:
commit ef3cdb2f18d9bfb1c6fd35f631d68a78694a778d
Merge: 621e41e ba1ad9f
Author: Victor Marmol vmarmol@google.com
Date:   Tue Apr 7 11:00:16 2015 -0700
Merge pull request #6491 from yifan-gu/depreciate_getkubeletdockercontainers

kubelet: Refactor RunInContainer/ExecInContainer/PortForward.

Curiously travis does not seem to be running into the same problem:
https://travis-ci.org/GoogleCloudPlatform/kubernetes/builds/57520499  Succeeded.

@vmarmol: Can you take a look at the failure?

Taking a look.

Passes locally with hack/test-integration.sh but fails when running before the e2e. Taking a deeper look.

Could be related to #6495

I believe @yujuhong is correct. The error logs are spammed with:
E0407 19:43:13.848128     749 reflector.go:143] Failed to watch *api.Node: field label not supported: metadata.name

While the success ones don't have any traces of it. The failure also happens when I sync before the PR in question.

Will run one more test to verify and close as a dup.

Closing as a dup of #6495

I don't think this is related to the node watch issue because the test just failed on my desktop with v1beta3 (which should be the working version).
Some relevant messages from the log:
I0407 19:56:09.611047    1366 kubelet.go:1294] Creating pod infra container for "nginx-controller-6qgot_test"
I0407 19:56:09.611476    1366 event.go:200] Event(api.ObjectReference{Kind:"Pod", Namespace:"test", Name:"nginx-controller-6qgot", UID:"124c545c-dd60-11e4-b87f-0242ac110251", APIVersion:"v1beta3", ResourceVersion:"201", FieldPath:"implicitly required container POD"}): reason: 'pulled' Successfully pulled image "gcr.io/google_containers/pause:0.8.0"
I0407 19:56:09.611880    1366 event.go:200] Event(api.ObjectReference{Kind:"Pod", Namespace:"test", Name:"nginx-controller-6qgot", UID:"124c545c-dd60-11e4-b87f-0242ac110251", APIVersion:"v1beta3", ResourceVersion:"201", FieldPath:"implicitly required container POD"}): reason: 'created' Created with docker id /k8s_POD.d41d03ce_nginx-controller-6qgot_test_124c545c-dd60-11e4-b87f-0242ac110251_cd431e36
I0407 19:56:09.611908    1366 event.go:200] Event(api.ObjectReference{Kind:"Pod", Namespace:"test", Name:"nginx-controller-6qgot", UID:"124c545c-dd60-11e4-b87f-0242ac110251", APIVersion:"v1beta3", ResourceVersion:"201", FieldPath:"implicitly required container POD"}): reason: 'started' Started with docker id /k8s_POD.d41d03ce_nginx-controller-6qgot_test_124c545c-dd60-11e4-b87f-0242ac110251_cd431e36
I0407 19:56:09.612329    1366 event.go:200] Event(api.ObjectReference{Kind:"Pod", Namespace:"test", Name:"nginx-controller-6qgot", UID:"124c545c-dd60-11e4-b87f-0242ac110251", APIVersion:"v1beta3", ResourceVersion:"201", FieldPath:"spec.containers{nginx}"}): reason: 'created' Created with docker id /k8s_nginx.bbc10af3_nginx-controller-6qgot_test_124c545c-dd60-11e4-b87f-0242ac110251_b0c11156
I0407 19:56:09.612410    1366 event.go:200] Event(api.ObjectReference{Kind:"Pod", Namespace:"test", Name:"nginx-controller-6qgot", UID:"124c545c-dd60-11e4-b87f-0242ac110251", APIVersion:"v1beta3", ResourceVersion:"201", FieldPath:"spec.containers{nginx}"}): reason: 'started' Started with docker id /k8s_nginx.bbc10af3_nginx-controller-6qgot_test_124c545c-dd60-11e4-b87f-0242ac110251_b0c11156
I0407 19:56:10.016397    1366 integration.go:267] Check whether pod nginx-controller-6qgot.test exists on node ""
I0407 19:56:10.016451    1366 integration.go:269] Pod nginx-controller-6qgot.test is not bound to a host yet
I0407 19:56:11.016362    1366 integration.go:267] Check whether pod nginx-controller-6qgot.test exists on node ""
I0407 19:56:11.016389    1366 integration.go:269] Pod nginx-controller-6qgot.test is not bound to a host yet
I0407 19:56:11.621338    1366 kubelet.go:1124] No Infra Container for "nginx-controller-k3n14_test" found. All containers will be restarted.
...
I0407 19:56:12.016385    1366 integration.go:267] Check whether pod nginx-controller-6qgot.test exists on node ""
I0407 19:56:12.016459    1366 integration.go:269] Pod nginx-controller-6qgot.test is not bound to a host yet
I0407 19:56:13.016337    1366 integration.go:267] Check whether pod nginx-controller-6qgot.test exists on node ""
I0407 19:56:13.016395    1366 integration.go:269] Pod nginx-controller-6qgot.test is not bound to a host yet
I0407 19:56:14.016284    1366 integration.go:267] Check whether pod nginx-controller-6qgot.test exists on node ""
I0407 19:56:14.016327    1366 integration.go:269] Pod nginx-controller-6qgot.test is not bound to a host yet
E0407 19:56:14.729656    1366 event.go:182] Server rejected event '&api.Event{TypeMeta:api.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:api.ObjectMeta{Name:"127.0.0.1.13d2d37c162a5914", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", CreationTimestamp:util.Time{Time:time.Time{sec:0, nsec:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*util.Time)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil)}, InvolvedObject:api.ObjectReference{Kind:"Node", Namespace:"", Name:"127.0.0.1", UID:"127.0.0.1", APIVersion:"", ResourceVersion:"", FieldPath:""}, Reason:"online", Message:"Node 127.0.0.1 is now online", Source:api.EventSource{Component:"kubelet", Host:"127.0.0.1"}, FirstTimestamp:util.Time{Time:time.Time{sec:63564033361, nsec:731148052, loc:(*time.Location)(0x19a3020)}}, LastTimestamp:util.Time{Time:time.Time{sec:63564033361, nsec:731148052, loc:(*time.Location)(0x19a3020)}}, Count:1}': 'the server responded with the status code 405 but did not return more information (post events)' (will not retry!)
I0407 19:56:15.016332    1366 integration.go:267] Check whether pod nginx-controller-6qgot.test exists on node ""
I0407 19:56:15.016397    1366 integration.go:269] Pod nginx-controller-6qgot.test is not bound to a host yet
I0407 19:56:16.016290    1366 integration.go:267] Check whether pod nginx-controller-6qgot.test exists on node ""
I0407 19:56:16.016321    1366 integration.go:269] Pod nginx-controller-6qgot.test is not bound to a host yet
I0407 19:56:17.016399    1366 integration.go:267] Check whether pod nginx-controller-6qgot.test exists on node ""
I0407 19:56:17.016480    1366 integration.go:269] Pod nginx-controller-6qgot.test is not bound to a host yet
F0407 19:56:17.016508    1366 integration.go:436] FAILED: pods never started running timed out waiting for the condition

Note that nginx-controller-6qgot.test has already started on kubelet (see the events about staring containers), but the integration test still did not see the Host filed set on the pod.

I am not familiar with the list&watch usage. Could it be that at the time of listing, the Host of the pods were not set yet? @lavalamp
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/cmd/integration/integration.go#L430

#6495 is unrelated

@yujuhong yeah that code is subtly broken; the replication controller can now count pods before they've been assigned. So that list is getting a pod with a "" for its host, and then the podsOnMinions function will never meet its goal.
Possible fix: change podsOnMinions to first wait for the pods to be assigned. Or do that in a separate step.

I suspect https://github.com/GoogleCloudPlatform/kubernetes/issues/6525#issuecomment-90719360 is a race that has always existed, and not the reason the test is suddenly failing consistently. The rc never waited for host assignment to count toward its replicas, even in the fillCurrentState world we just did a list for the selectos followed by filter active pods (https://github.com/GoogleCloudPlatform/kubernetes/blob/master/pkg/controller/replication_controller.go#L182). So it shouln't be suddenly failing for that list race condition?

This is the most common flake now that I've been looking at these all day.

There may be more than one cause.

@lavalamp really? I've been unable to replicate this for about a day. Can you provide some logs (or links) for the failures to help debugging?

@lavalamp, #6582 did not fix the race condition?

Here's a recent example: https://app.shippable.com/builds/552704855cb2750c00d8b0ff
It probably has a different cause.

@lavalamp, there is no message such as is not bound to a host yet in that build, so it should be a different bug. In fact, it's likely just another manifestation of the performance/timeout problem in #6651. I just submitted a PR to (hopefully) address that by limiting the number of concurrent tests. We can probably move the discussion over there, unless there is evidence suggests otherwise (e.g. kubelet's dropping pods, etc).

More examples:
https://app.shippable.com/builds/552865b0892aba0c00bd682e
https://travis-ci.org/GoogleCloudPlatform/kubernetes/jobs/58030039

Wait, those are both from my PR and I think I caused that. It's been a long day...

authors: bprashanth lavalamp quinton-hoole vishh vmarmol yujuhong


text:
added ISCSI volume plugin to PersistentVolumeSource

Second attempt.  Previous attempt #7734.
@ArtfulCoder better luck this time?

quick scan LGTM.  still @ArtfulCoder for more detail

@ArtfulCoder PTAL?  Thanks!

Rebased, generated conversions, and fixed a missing PV support thing in CanSupport func.
@ArtfulCoder PTAL?  This should be good to go.

Abhi is out for a few days, sorry.

LGTM

This is breaking travis now, it doesn't have generated funds.

"deep copy funcs"

Looking into it.

Got them.  I'll send another PR for the generated funcs.

authors: markturansky smarterclayton thockin


text:
Issue #11 Create logging directory for cloud debugger

This fixes #11 in openjdk-runtime, but the mkdir in jetty-runtime needs to be removed (separate PR coming)

@meltsufin please review

Does the cloud debugger need a logging directory?

Don't mind my previous comment.
LGTM

authors: gregw meltsufin

repo: GoogleCloudPlatform/openjdk-runtime


text:
Metrics example not working

I have tried the metrics example in this repository, metrics seemed to be sent. See below
❯ go build -o metrics
❯ ./metrics
2022/11/27 14:25:41 Most recent data: counter 190, observer 15.14; histogram 2.8
2022/11/27 14:25:51 Most recent data: counter 151, observer 14.69; histogram 2.35
2022/11/27 14:26:01 Most recent data: counter 155, observer 13.54; histogram 1.2
2022/11/27 14:26:11 Most recent data: counter 110, observer 13.39; histogram 1.05
2022/11/27 14:26:21 Most recent data: counter 102, observer 12.84; histogram 0.5
2022/11/27 14:26:31 Most recent data: counter 103, observer 12.49; histogram 0.15
2022/11/27 14:26:41 Most recent data: counter 165, observer 14.84; histogram 2.5
2022/11/27 14:26:51 Most recent data: counter 128, observer 15.34; histogram 3
2022/11/27 14:27:01 Most recent data: counter 136, observer 16.34; histogram 4
2022/11/27 14:27:11 Most recent data: counter 168, observer 16.29; histogram 3.95
2022/11/27 14:27:21 Most recent data: counter 157, observer 15.29; histogram 2.95
2022/11/27 14:27:31 Most recent data: counter 183, observer 15.34; histogram 3
2022/11/27 14:27:41 Most recent data: counter 140, observer 13.89; histogram 1.55
2022/11/27 14:27:51 Most recent data: counter 197, observer 14.74; histogram 2.4
2022/11/27 14:28:01 Most recent data: counter 114, observer 12.44; histogram 0.1`

However nothing is displayed in the dasboard in Cloud Monitoring.
Am I doing something wrong. Cloud Monitoring API is enabled.

@apichick were you able to resolve the issue?  Is there anything we can improve in the docs to have helped you?

authors: apichick dashpole


text:
[Testing] DCGM tests: Install CUDA toolkit for exercise script

Description
The new DCGM exercise script needs CUDA toolkit. Copy over the NVML install script to DCGM for RHEL to install CUDA.
Related issue
b/356897271
How has this been tested?
Integration tests for DCGM pass on RHEL and CentOS.
Checklist:

Unit tests

[x] Unit tests do not apply.
[ ] Unit tests have been added/modified and passed for this PR.

Integration tests

[ ] Integration tests do not apply.
[x] Integration tests have been added/modified and passed for this PR.

Documentation

[x] This PR introduces no user visible changes.
[ ] This PR introduces user visible changes and the corresponding documentation change has been made.

Minor version bump

[x] This PR introduces no new features.
[ ] This PR introduces new features, and there is a separate PR to bump the minor version since the last release already.
[ ] This PR bumps the version.

NVML and DCGM tests start to fail on Ubuntu 2004 after the new 12.6 CUDA release. It fails for certain GPU models so probably a driver compatibility issue. https://screenshot.googleplex.com/4baa2aJaDVdAiLU
Will merge this change for now.

repo: GoogleCloudPlatform/ops-agent


text:
Quick question: why the number of cores for the driver pod is 0.1?

driver:
    cores: 0.1
    coreLimit: "200m"
    memory: "512m"

Not quite understand the 0.1 here.

This means 100 milicpus in Kubernetes. The field driver.cores gets translated into the cpu request of the driver pod.


text:
[CLOSED] Fix typo in master kubeadm.conf podSubset->podSubnet

 Issue by viglesiasce
Thursday Aug 17, 2017 at 22:58 GMT
Originally opened as https://github.com/danisla/terraform-google-k8s-gce/pull/1

viglesiasce included the following code: https://github.com/danisla/terraform-google-k8s-gce/pull/1/commits

 Comment by danisla
Thursday Aug 17, 2017 at 23:04 GMT

No wonder why that wasn't working...


text:
Bqml vertex model registry

REQUIRED: Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.

Removed two repeated Vertex AI resources in the notebook objective section for clarity.

REQUIRED: Fill out the below checklists or remove if irrelevant

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[x] Use the notebook template as a starting point.
[x] Follow the style and grammar rules outlined in the above notebook template.
[x] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[ ] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[x] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[x] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[x] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

1 DISPLAY_NAME = "video_classification" + UUID
Step #5: ----> 3 job = aip.PipelineJob(
Step #5:       4     display_name=DISPLAY_NAME,
Step #5:       5     template_path="video_classification_pipeline.json",
Step #5:       6     parameter_values=parameters,
Step #5:       7     enable_caching=False,
Step #5:       8 )
Step #5:      10 job.run(service_account=SERVICE_ACCOUNT)
Step #5:
Step #5: NameError: name 'aip' is not defined

authors: andrewferlitsch soheilazangeneh

repo: GoogleCloudPlatform/vertex-ai-samples


text:
No Server communication

Based on a very brief look at your code it looks like any processing of the death screen is done completely on the client side. This means that anyone modifying the client has complete control over the death screen's behaviour.
As you are adding timeouts and the options to hide some buttons it appears that you are trying to prevent players from doing some actions normally possible in vanilla. Even if you are not trying to do so server admins will probably use this mod for said purpose. This means you may want to implement some sort of communication between server and client.
My idea is as follows:
Whenever a player dies the server sends the death screen configuration within the death packet. The client then uses tis configuration to display the death screen while the server keeps track of disallowed actions. When the client attempts to send wrong packets the server simply opens the death screen again to resynchronise the client.
This would prevent players from cheating and add the ability to change the death screen based on different conditions.
Never trust the client. Ever.

The death screen is completely client-side in vanilla, this just adds an animation before showing the vanilla one for novelty, there are no game mechanics tied to this.

Based on a very brief look at your code it looks like any processing of the death screen is done completely on the client side. This means that anyone modifying the client has complete control over the death screen's behaviour.

This is what this mod does, it modifies the death screen and has complete control over its behavior like any other mod could do.

As you are adding timeouts and the options to hide some buttons it appears that you are trying to prevent players from doing some actions normally possible in vanilla.

There are no options to control the death screen, as mentioned before it just shows an animation before showing the vanilla screen, it just delays the ability to press the "Respawn"/"Main Menu" buttons, not hiding them.

Even if you are not trying to do so server admins will probably use this mod for said purpose. This means you may want to implement some sort of communication between server and client.

What do you mean by preventing "actions" by server admins, what "actions" are you talking about and how would they do that as it's completely client-side and don't require a server install of the mod, it does nothing on a server.

Whenever a player dies the server sends the death screen configuration within the death packet. The client then uses tis configuration to display the death screen while the server keeps track of disallowed actions. When the client attempts to send wrong packets the server simply opens the death screen again to resynchronise the client.
This would prevent players from cheating and add the ability to change the death screen based on different conditions.
Never trust the client. Ever.

Vanilla sends a packet to the client to show the death screen when the player dies, when opening the death screen I add mine in between.
I have no idea what you are talking about with sending the wrong packet related to the death screen and cheating. This is no different from what vanilla does it or any other mod could do it.

By "actions" I meant stuff like respawning. The buttans are hidden so they are essentially prevented. By "wrong packets" I mean packets like the respawn packet sent before the timer ran out.
Note: This is just a suggestion. Feel free to close the issue if you don't want to implement it.

The buttons are just hidden until after the animation, as I said it's not meant to be a game mechanic to delay respawning,
The purpose of it is to add custom death screen that the player can add to any instance for novelty use and not some complicated anti "cheat" to skip a ~8 seconds death animation for some strange game mode where this specific mod it required.
If this was a concern there is probably a mod/plugin specific to handling this, if not it's probably created by the game mode creators.
If a mod would add a special death screen before mine that one would be shown after the animation rather then the vanilla one, for example in OldSchoolHardcore I replace the screen to change the buttons and it's fully compatible with this mod.
Like you said "Never trust the client" as any mod could replace this or modify it any way, better would be to block respawning until the time is over on the server and inform the player about it via a specialized mod.

repo: GoryMoon/YouDied

license: MIT


text:
Fix cargo config file

since cargo v1.38, .cargo/config has been deprecated in favour of config.toml. This updates the config file to stop later versions of cargo from complaining, while also putting a symlink at .cargo/config to ensure continued compatibility with versions < 1.38.

apologies for the spam, wasn't sure how to get the CI checks to run without turning this into a pull request

repo: GothenburgBitFactory/taskchampion


text:
Improve flat_db

remove support + tests for non-braced content;
write cms files in parentheses;
better handling of empty files with whitespace.

Strictly, this is a breaking change.
Wrapping all the cms code in parentheses makes the code look like this:
({
  oh: 'hi'
})

so it becomes a valid JS code and IDEs stop complaining on them. *.js files without parentheses is still a valid format for Enduro.
This is mainly inspired by this issue.
Since all the tests are failing now, I can't tell if this pull request is safe. It works good on my projects, though.

let's give it a try :-)

tests are passing and stuff seems to be working for me, thank you @CosmoMyzrailGorynych for this 👍

authors: CosmoMyzrailGorynych Gottwik

repo: Gottwik/Enduro

license: mit


text:
Design pattern template

As a: Design system team
I want to: Create a pattern/framework that can be used by the pattern squads to document their patterns
so that: Documentation outputs will be consistent from team to team, making it easier for a consumer of patterns to navigate between patterns.
Acceptance criteria

[ ] Pattern template will reference co-deisgn session outputs
[ ] Pattern template is reviewed by all squad team leaders

Presentable outcomes

[ ] This 1st draft can be used to document a pattern from one of the pattern squads

Sprint Ready Checklist

Acceptance criteria defined
Team has defined steps to satisfy acceptance criteria
Acceptance criteria is verifiable / testable
External / 3rd Party dependencies identified

Related issues:
Resources:
Mockups:
Testing URL: [If applicable a URL to the testing branch]

As discussed as a group, I have outlined a proposal for a change to the structure of the pattern working groups, and a reprioritization of the work overall to incorporate the increased capacity of the design system team and a new method of engagement from the service teams.
https://goa-dio.atlassian.net/wiki/spaces/DS/pages/2286551153/WIP+-+Pattern+squad+working+groups+-+Outline+of+proposal+for+a+change+to+the+structure+of+the+pattern+working+groups
I created a template as a starting point for documentation within Figma, but as each pattern has a different scope and applicable guidance, it will only be so helpful as a common starting point. https://www.figma.com/file/UbIKwjbxuPUvoFNYvMBGpe/?node-id=1610%3A207868

repo: GovAlta/ui-components


text:
Add point position inputs to Path tool options bar

In place of these red boxes, I'd like to have two number inputs for X and Y values that display the position of the currently selected point.

Other tools have widgets there, such as the Pen tool:

That bar where the widgets go is called the options bar.
If no points are selected, or if multiple points are selected, the number inputs should be disabled.

I'll give this a go :)

.

Hi @hexofyore @olit123 just checking in how things are going and if you need any help :)

@Keavon I was busy. I am going to do it this weekend.

No worries, thanks for the update :)

@Keavon Hey yeh it's been a busy couple of weeks for me, slowly trying to get to grips with this project and prerequisite knowledge in my spare time but I am very noob. Will definitely be asking questions when I'm ready.

I can try this if it's still available

Go for it @omagdy7!

I would like to try this if there is if it's available. As a side note,  I got the feature working on my fork to learn the code base, if that helps anyone who is trying this in the future.

Awesome, good to hear @mobile-bungalow! I've assigned you to this issue. Please open a PR when you're ready!

repo: GraphiteEditor/Graphite


text:
Bezier-rs: Add self_intersection to subpath

This PR adds a naive brute-force implementation of the self_intersections function to the Subpath library. This PR also updates the function description of the intersections function to include the minimum_separation variable.

Hmm, so I'm seeing two issues unfortunately.

First, the endpoints are occasionally being counted as intersections. I'm not 100% sure why, but just wiggling the endpoints around on the visualization and you'll see that they occasionally flash red.
Second, I'm seeing this rust error (in the above screenshot) which is causing the visualization to crash. The conditions for the crash seem unclear, but it's very easy to trigger - just try and make any of the segments a straight line.

For the endpoints showing up as an intersection point, I need to manually filter them out because the way they are currently stored, the endpoint of 1 bezier curve will intersect with the startpoint of the next bezier curve in the subpath. I can solve this by increasing the minimum separation t-values must satisfy as a stopgap solution.
For the recursive structure error, I think it's originating from the cubic bezier itself. It's reproducable if you make a cubic bezier a straight line. Will investigate

Unfortunately, I'm still seeing flickering on the endpoints. I'm not sure if modifying the minimum separation argument will work, because that ensures there won't be two points at a particular distance from one another - but I don't think thats the issue, because I don't know when there will be two intersections at the endpoint. I'm thinking we should filter intersections which occur at within some epsilon from t=0, and have that be a configurable argument or something. Otherwise, we should add an argument called include_endpoints to the intersections function, which by default is true.

Tested it locally and flickering is gone, even for low error. Great job @Androxium!

Rebase work onto this new PR https://github.com/GraphiteEditor/Graphite/pull/1035

authors: Androxium RobNadal


text:
Wrong plugin directory location for .deb

graylag-server plugin directory is located at /usr/share/graylog-server/plugin but graylog-plugin-slack .deb package installed the .jar file at /usr/share/graylog2-server/plugin/graylog-plugin-slack-1.1.5.jar. Therefore, slack alarm callback doesn't show up in grayling web interface.

Thank you for the report!

authors: bernd favadi


text:
🛑 Server Gaming is down

In 5a1a3b6, Server Gaming (https://game.greathost.ro) was down:

HTTP code: 403
Response time: 1017 ms

Resolved: Server Gaming is back up in daef623 after 7 minutes.

repo: GreathostRo/upptime


text:
🛑 Server Gaming is down

In d53b21b, Server Gaming (https://game.greathost.ro) was down:

HTTP code: 403
Response time: 1209 ms

Resolved: Server Gaming is back up in 20fffd6 after 6 minutes.


text:
🛑 Server Ultra is down

In c5ddf6c, Server Ultra (https://ultra.greathost.ro) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Server Ultra is back up in 3cc233c.


text:
🛑 Server Gaming is down

In ad09fa5, Server Gaming (https://game.greathost.ro) was down:

HTTP code: 403
Response time: 1449 ms

Resolved: Server Gaming is back up in 6855059 after 26 minutes.


text:
Question: Dice Pools and counting hits

What would be the roll notation for 13 10-sided dice, count hits where the number on the dice is 5 or higher?
e.g. [10,5,5,4,3,1,8,8,10,4,2,10,1] = 7 hits
What would it be where 10s count as double?  In the previous example, it would instead be 10 hits.

Closing as separate issue for functionality exists (#23)

Thank you for looking into this as a feature.  I will take a look at looping through the log as you suggested.

Let me know how you get on.
This issue on next on my todo.

Sweet christmas! Thanks!

authors: GreenImp manchuwook

repo: GreenImp/rpg-dice-roller


text:
Issue displaying Supermarket / Grocery Store building reports

I tried opening 5 or 6 Supermarket / Grocery Store building reports and all showed this:

see examples: id = 464, 25914, or 802
seems similar to the issue you saw with Harvard Market
┆Issue is synchronized with this Asana task

Looks like the 2020 data has both Supermarket / Grocery and Supermarket / Grocery Store.
Then the thresholds defined in seattle.json includes only Supermarket / Grocery
From that it looks like the way forward is to change all Supermarket / Grocery to Supermarket / Grocery Store in the 2020 data and update seattle.json to match.
But this may also depend on how this type is coded in previous years. I see that 2019 has Supermarket / Grocery Store, but I haven't checked years prior to that.

@tomay I updated the data so it's consistently 'Supermarket / Grocery' now since that's more concise. The reports now display but there are other issues. The main map expects 'Supermarket / Grocery Store' in the filter. And the emissions intensity card reference might need updating:

Same with the ENERGY USE COMPARED TO AVERAGE chart

I believe these issues are resolved now after a fresh deploy. If not, let me know

I tried opening 5 or 6 Supermarket / Grocery Store building reports and all showed this:
see examples: id = 464, 25914, or 802
seems similar to the issue you saw with Harvard Market
┆Issue is synchronized with this Asana task

This original issue was showing up with a few other types - but was because a bunch of the data had returns/spaces after the text. Should all be cleaned up now.
And the filter and emissions intensity data looks good too.

authors: seattle-benchmarking tomay

license: ISC


text:
chore: add debug log for heartbeat

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Add debug log for heartbeat.
Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

Please fix cargo clippy.

repo: GreptimeTeam/greptimedb


text:
bug[next]: Add assert for OOB access

In case a stencil contains an Out-Of-Bounds accesses the derivation of the dtype in ITIR embedded can fail with an obscure error like
ValueError: DType 'DType(scalar_type=<class 'numpy.object_'>, tensor_shape=())' not supported.

This PR adds an assert to catch this earlier and fail more gracefully.

I think no, that's why I picked an assert. The position is taken from the domain so the result should never be _UNDEFINED unless the user wrote something unvalid.


text:
fix[cartesian]: Fix serialize default behavior when Pickled property was not saved

Description
DaCe has a behavior of not saving properties if they have a default (newish behavior) which leads our 2-step process of library node caching to fail. Since we have decided to rely on pickling to cache out the content of the LibraryNode we respond to this change in DaCe by making sure default values pass to the pickle deserializer are returned plain
Requirements

[ ] All fixes and/or new features come with corresponding tests.
[ ] Important design decisions have been documented in the approriate ADR inside the docs/development/ADRs/ folder.

Poke @romanc

It seems related to the change I made to the test code tests/cartesian_tests/integration_tests/multi_feature_tests/test_dace_parsing.py when I upgraded the DaCe package version. Is it possible that with your fix we can undo my change?

It seems related to the change I made to the test code tests/cartesian_tests/integration_tests/multi_feature_tests/test_dace_parsing.py when I upgraded the DaCe package version. Is it possible that with your fix we can undo my change?

Should be, pushing code now

authors: FlorianDeconinck edopao


text:
comments

comments on db config

ok pour senior

repo: GrimalDev/Portfolio


text:
Create changedsript.jss

change ui
Description
Modern Color Palette:
Redesigned with a striking combination of blue, black, and purple to create a visually appealing interface.
Responsive Design:
Fully responsive layouts that adapt to various screen sizes, ensuring an optimal user experience on desktops, tablets, and smartphones.
Smooth Transitions:
Implemented seamless transitions between elements for a polished look and feel, enhancing navigation and user interaction.
Engaging Animations:
Added subtle animations that bring the interface to life, making it more interactive and enjoyable for users.
User-Friendly Interface:
Intuitive design principles ensure that users can easily navigate and interact with the application, regardless of their technical expertise.
Fixes #(12)
Type of change
Please delete options that are not relevant.

[no ] Bug fix (non-breaking change)
[ yes] New feature (non-breaking change)
[yes ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[yes ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so that they can be reproduced.

[no] Test A
[yes ] Test B

Checklist:

[yes ] My code follows the style guidelines of this project
[yes ] I have performed a self-review of my code
[ yes] I have commented my code, particularly in hard-to-understand areas
[no ] I have made corresponding changes to the documentation
[no ] My changes generate no new warnings
[ no] Any dependent changes have been merged and published in downstream modules

@Bhumika-00 these are steps to follow in order to pass all the checks.
all the contributors should follow these else their PR will be closed

go to your fork and click on sync fork and click Update Branch
then go to the directory on your local machine
Run git fetch origin
Run git pull origin main
Then resolve the conflicts if any.
Then force push your branch by git push origin branch-name -f

repo: Groverio/To-Do-List


text:
顺序

show difference和转换为setter时可以按照target类的字段顺序排序吗

可以支持 将在下一个版本更新

repo: GuangYiDing/BeanUtilHelper


text:
linking

(for README) Tiled Map Editor link is : http://www.mapeditor.org (not .com)

Thanks for alerting me to this. Fixed.

authors: GnoStiC GymbylCoding

repo: GymbylCoding/Dusk-Engine


text:
⚠ API Next - first chapter has degraded performance

In 409f052, API Next - first chapter (https://h-edu.cz/content.api/book/book-a?includeChapterContentParts) experienced degraded performance:

HTTP code: 200
Response time: 16538 ms

Resolved: API Next - first chapter performance has improved in 41bca06 after 18 minutes.

repo: H-edu-dev/upptime


text:
可以给绑定功能增加玩家名称绑定吗？

玩家UID太长了一般没什么人能记住
能让 绑定 在检测到玩家名称的时候绑定玩家名称而不是玩家UID吗？在检测到玩家UID的时候还是照常绑定UID

玩家UID太长了一般没什么人能记住
能让 绑定 在检测到玩家名称的时候绑定玩家名称而不是玩家UID吗？在检测到玩家UID的时候还是照常绑定UID

UID 能在 /玩家 里能查看到。
因为玩家的UID是唯一的，所以我更偏向于使用这个来绑定账号。
而且在代码中判断 玩家名称 和 UID 的情况我没有想到一个很好的解决方案。所以这个应该会保持不变。 （除非可能出现更好的解决方案

可以考虑废弃uid绑定的功能，直接用名称绑定。或者代码中先去用名称去get一次uid，然后用uid去绑定

可以考虑废弃uid绑定的功能，直接用名称绑定。或者代码中先去用名称去get一次uid，然后用uid去绑定

由于 API 的问题使用 玩家名称查询 只能使用 EA 的用户名查询，对于仅使用 Steam 游玩 Apex 的玩家此项功能可能会产生错误。
仅使用 名称绑定 可以实现，我只是纠结这个查询的玩家名称问题。

但是uid不是也要先用用户名查询uid吗？

记uid比记名字要难吧，要说获取难度的话缺实uid可以在游戏内看到，相对来说更容易获取一些。 但是根据uid去获取ea的名字感觉比根据ea的名字获取uid感觉上更舒服一点吧。 在日常使用中，更加趋向于使用ea的名字，而不是uid

但是对于使用 Steam 进行游戏的玩家可能大多数都并不知道自己的 EA 用户名。如果在绑定中输入了 Steam 的用户名称，那大概率会绑定失败。
自己在游戏中查看自己的 UID 并直接进行绑定，并不需要麻烦的重新找回自己的 EA 用户名便可绑定。假如不知道如何找回自己 EA 用户名称的玩家不就无法绑定了嘛？
或许有更好的其他方法？

记uid比记名字要难吧，要说获取难度的话缺实uid可以在游戏内看到，相对来说更容易获取一些。 但是根据uid去获取ea的名字感觉比根据ea的名字获取uid感觉上更舒服一点吧。 在日常使用中，更加趋向于使用ea的名字，而不是uid

但是对于使用 Steam 进行游戏的玩家可能大多数都并不知道自己的 EA 用户名。如果在绑定中输入了 Steam 的用户名称，那大概率会绑定失败。
自己在游戏中查看自己的 UID 并直接进行绑定，并不需要麻烦的重新找回自己的 EA 用户名便可绑定。假如不知道如何找回自己 EA 用户名称的玩家不就无法绑定了嘛？
或许有更好的其他方法？

记uid比记名字要难吧，要说获取难度的话缺实uid可以在游戏内看到，相对来说更容易获取一些。 但是根据uid去获取ea的名字感觉比根据ea的名字获取uid感觉上更舒服一点吧。 在日常使用中，更加趋向于使用ea的名字，而不是uid

但是对于使用 Steam 进行游戏的玩家可能大多数都并不知道自己的 EA 用户名。如果在绑定中输入了 Steam 的用户名称，那大概率会绑定失败。
自己在游戏中查看自己的 UID 并直接进行绑定，并不需要麻烦的重新找回自己的 EA 用户名便可绑定。假如不知道如何找回自己 EA 用户名称的玩家不就无法绑定了嘛？
或许有更好的其他方法？

分离绑定uid和绑定名字，搞成两个指令，
on_command 绑定uid
on_command 绑定名称

在帮助菜单中可以写成一个
绑定uid / 绑定名称 +uid/名称
绑定名字的时候可以get一下uid然后去绑定，查询的时候统一用uid，这么干的缺陷就是会浪费api的请求次数

绑定名字的时候可以get一下uid然后去绑定，查询的时候统一用uid，这么干的缺陷就是会浪费api的请求次数

如果期望使用 玩家名称 查询的话，下个版本会修改使用 玩家名称进行绑定。

绑定名字的时候可以get一下uid然后去绑定，查询的时候统一用uid，这么干的缺陷就是会浪费api的请求次数

如果期望使用 玩家名称 查询的话，下个版本会修改使用 玩家名称进行绑定。
主要是我认识的玩家查询的时候基本都用名称，所以我感觉使用玩家名称查询会方便一些，但是为了让不记得名称的玩家也能查询，uid查询的功能也是很棒的，可以保留
ps：我今天又把之前的内容写了一遍，就不pr了，写的太烂了_(:з」∠)_

主要是我认识的玩家查询的时候基本都用名称，所以我感觉使用玩家名称查询会方便一些

主要是很多人会去使用 Steam 用户名称来进行查询导致失败…所以纠结这个。

但是为了让不记得名称的玩家也能查询，uid查询的功能也是很棒的，可以保留

但是一般又会有谁去用uid呢…我会打算移除uid相关功能的。

authors: Dr-WeiAL H-xiaoH veadex

repo: H-xiaoH/nonebot-plugin-apex-api-query


text:
Automatically publicize imported Assembly-CSharp.dll

Publicizing assemblies is super handy when writing code and has no downsides so this should be done by default.

Will be included in MeatKit 1.1


text:
[BUG] man compile jib:dockerBuild fails on Windows

Describe the bug
Fails with error tags cannot assign string 1.0.1 to tags
Error Message

To Reproduce
Cannot reproduce on Mac
Desktop (please complete the following information):

OS: Windows

I tried to build on CentOS 7.9 not Windows

Updated the subject. Latest release includes the fix

authors: eknori paulswithers


text:
🛑 SkipTheTrailers is down

In df0c5b5, SkipTheTrailers ($STT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheTrailers is back up in 2e6d397.

repo: HDVinnie/TrackerHub


text:
🛑 Telly is down

In f2fc1e0, Telly ($TLY) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Telly is back up in c58ab51.


text:
🛑 SkipTheCommericals is down

In 0503b20, SkipTheCommericals ($STC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheCommericals is back up in 926c6f4.


text:
🛑 SkipTheCommericals is down

In 84efb73, SkipTheCommericals ($STC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheCommericals is back up in c703a9f.


text:
🛑 Telly is down

In eaabfbd, Telly ($TLY) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Telly is back up in adeb17e.


text:
🛑 SkipTheCommericals is down

In 7e0021f, SkipTheCommericals ($STC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheCommericals is back up in d8c582e.


text:
🛑 SkipTheCommericals is down

In 2ddd4d7, SkipTheCommericals ($STC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheCommericals is back up in 30b16fa.


text:
⚠ Nebulance has degraded performance

In 244cf83, Nebulance ($NBL) experienced degraded performance:

HTTP code: 200
Response time: 1714 ms

Resolved: Nebulance performance has improved in f334619 after 9 minutes.


text:
🛑 Empornium is down

In cd1e85c, Empornium ($EMP) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Empornium is back up in e68ab62 after 5 minutes.


text:
🛑 SkipTheTrailers is down

In 47484fb, SkipTheTrailers ($STT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheTrailers is back up in e51d451.


text:
🛑 Telly is down

In c377132, Telly ($TLY) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Telly is back up in 1ccd76e.


text:
🛑 SkipTheTrailers is down

In 841d1f2, SkipTheTrailers ($STT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheTrailers is back up in b1cc153.


text:
🛑 SkipTheCommericals is down

In 348b6ef, SkipTheCommericals ($STC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheCommericals is back up in db4d06f.


text:
🛑 Telly is down

In e3e03bd, Telly ($TLY) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Telly is back up in 1a3d121.


text:
Privacy Policy?

Since the bot temporarily stores attachments, like videos, it might need a privacy policy (hopefully not).
I am not a legal expert so plz help

You probably need a privacy policy since you are handling user information.

Like explaining what your bot collects, how the data will be used, how long the data will be stored, if the data will be shared with any other parties, etc.


text:
[Bug]: Duplicate token request causes login to fail

Plugin Version
7.0.0
PHP Version
8.2.21
Shopware Version
6.6.4.0
Installation method
Composer
Identity provider
Keycloak
What happened?
If clicking on the SSO button in the admin, I see the following in the requests:

Unfortunately it looks like the first (canceled) token requests leads to Heptacom\AdminOpenAuth\Service\Login->pop() and therefore the second token request doesn't have a LoginState.
The result is
throw OAuthServerException::invalidRequest('one_time_token', 'Expired');

Not sure what is causing this.
Probable useful hint: We're building our projects with shopware-cli project ci .
Relevant log output
No response

There is a redirect from /admin?state=SOME_STATE# to /admin?state=SOME_STATE#/login/ which is causing the issue.
Most likely came with new VUE version in SW 6.6, in 6.5 the url was changing but wasn't considered as redirect in the browser.
In our case we have fixed it with a patch file for ClientRedirectRoute by adding
$targetUrl = $this->enrichRedirectUrl($targetUrl, $requestState);
$targetUrl .= '/login/'; // addition

Ugly fix as we are short on time with the upgrade, would be great to have a new plugin version with a proper fix!

We just had a similarly reported issue on
Plugin Version
6.0.0
6.0.3
Shopware Version
6.5.8.14
Identity provider
Microsoft Azure
So this does not seem to be a provider bug but likely a compatibility issue with Shopware since 6.5.8.?

authors: JoshuaBehrens htuscher pbalcerzak


text:
update readme to clarify what's under development

plus some other doc improvements
fixes #382

@dannyjacobs this can't be merged until the phasing fixes are merged, but can you look at it and see if it is clear?

@dannyjacobs can you review this small PR updating the readme?

After talking to Phil, I agreed to clarify what is considered to be part of the pyuvdata API and what is not (and therefore not guaranteed to be stable) by prepending an underscore to the beginning of functions & methods that are not part of the API. I've added those changes to this PR as well.

repo: HERA-Team/pyuvdata


text:
I wrote a more friendly interface to convert tokens into vectors.

All I done is adding a file elmo.py.
By using Embedder python object in elmo.py, you can easily merge ELMo into your own code like this:
#import it outside the top directory of this repo
from ELMoForManyLangs import elmo

e = elmo.Embedder()

sents = [['今', '天', '天氣', '真', '好', '阿'],
['潮水', '退', '了', '就', '知道', '誰', '沒', '穿', '褲子']]
# the list of lists which store the sentences
# after segment if necessary.

e.sents2elmo(sents)
# will return a list of numpy arrays
# each with the shape=(seq_len, embedding_size)

the parameters to init Embedder:
class Embedder(model_dir='zht.model/', batch_size=64):

model_dir: the relative path from the repo top dir to you model dir. (default: zht.model/)
batch_size: the batch_size you want when the model inference, you can specify it properly according to your gpu/cpu ram size. (default: 64)

the parameters of the function sents2elmo:
def sents2elmo(sents, output_layer=-1):

sents: the list of lists which store the sentences after segment if necessary.
output_layer: the target layer to output.

0 for the word encoder
1 for the first LSTM hidden layer
2 for the second LSTM hidden layer
-1 for an average of 3 layers. (default)

Many thanks! We will review this PR ASAP.

I've slightly changed the API and readme. Please check!

So efficient! Thanks for the work!

authors: Oneplus voidism

repo: HIT-SCIR/ELMoForManyLangs


text:
[Frontend] footer get left aligned on lower resolutions

Describe the bug
A clear and concise description of what the bug is.
Footer get left aligned at lower resolutions
To Reproduce
Steps to reproduce the behavior:

Go to landing page
Reduce resolutions to mobile view
See error

Expected behavior
Footer should be center aligned
Screenshots

Desktop (please complete the following information):

OS: all
Browser all
Version all

Smartphone (please complete the following information):

Device:  all
OS: [e.g. all
Browser all
Version all

Additional context
I would like to resolve this issue.
Add any other context about the problem here.
Have you read the Code of Conduct?
Write your answer here.
Yes

/assign

@nlok5923 Thanks for pointing this. Please go ahead with this issue
Happy learning :)

Is this still an issue. Can I work on this ?

May I take up this issue? if no one is working on it?
@nlok5923 @Kajol-Kumari

May I take up this issue? if no one is working on it?
@nlok5923 @Kajol-Kumari

@hardikshah197 you can go ahead with it.

Can I take this Issue or is it fixed?

@aritroCoder it's still open. Please feel free to go with it.

Hi,
If this issue is currently not assigned to anyone or has not been fixed yet, I would like to give it a try.
Cheers!

Is this solution OK?
https://user-images.githubusercontent.com/92646038/144732500-40a5f2ab-4a22-4580-b194-8fbab1210c7a.mp4

@aritroCoder yes the changes looks good.

What's the status of this? If there is no PR, Can I work on this?
@Kajol-Kumari

Hey Can you assign me this issue for GSsoc22

Plz Assign it to me. I am GSSOC 22 participant

Closing this one as this should be covered under https://github.com/HITK-TECH-Community/Community-Website/issues/748

repo: HITK-TECH-Community/Community-Website


text:
Bug at coco dataset

Line bug https://github.com/HRNet/HRNet-Object-Detection/blob/4d257bf0a41d265f3b262347fb67b8f6330b86b7/mmdet/datasets/coco.py#L39
def lget_ann_info(self, idx):
instead of
 def get_ann_info(self, idx):

Thanks, this line was modified by accidental operations. I'll fix it now.

fixed

repo: HRNet/HRNet-Object-Detection


text:
I'd love to be able to compare side by side stats for a website against average

The stats feature is great.   But I'd love to be able to compare an individual website to see how it stacks up against average statistics across the web.  For example, are my transfer sizes larger than average, etc.

You can view individual stats for a website. I don't think plotting that against the average across the entire web is very useful. If we could do it vs competitors or a specific vertical market perhaps. Closing.

authors: nolanvinny stevesouders

repo: HTTPArchive/httparchive


text:
Detect publishing platforms

Similar to https://github.com/HTTPArchive/httparchive/issues/77, detect the presence of publishing platforms like Wordpress and Drupal. A secondary goal would be to detect themes and plugins.
Unlike #77, the key metric here would just be a single string/enum value representing the detected platform - as opposed to a list.
For accurate detection, need to come up with a list of signals for each platform. This may be hard to achieve through custom metrics alone. For example, if it requires introspection of a script file's comments, that wouldn't be possible with client-side JS alone. We may need to do post-processing on response bodies.

Ideally, we want a breakdown similar to https://trends.builtwith.com/cms/. However, as a starting point, I think we can focus our conversation on WordPress and figure out the requirements and pipeline for that. With that in mind, a few thoughts...
There are two (complementary) ways we can attempt to detect these platforms:

At crawl runtime by looking for some platform-specific JS objects or signatures
Post-crawl by analyzing response headers and bodies

My hunch is that we'll get the most mileage from focusing on (2). In the context of WordPress:

Extract value of <meta generator...> in HTML
Look for response headers like Link rel=shortlink

e.g. WordPress VIP appends X-Hacker and Link: wp.me shortlink in response

Look for wp-... references in the HTML and resource names

This is how https://allthingsblogging.com/wordpress-theme-plugin-statistics/ is detecting themes and plugins

... and other heuristics

There may also be runtime specific signals we can extract, but I propose we focus on (2) as a starting point and see how far that gets us. Also, the other benefit of (2) is that we can update the logic and rerun the analysis on past crawls.. giving us access to trending data, and all the rest. Last but not least, we shouldn't restrict ourselves to a single label. In some cases we may be able to extract version number and other meta-data, so I think we should think of the output as another bag of values: {platform: x, version: y, theme: z, plugins: [...]}.
Concretely, we can extend the current DataFlow pipeline with an extra step and start encoding these rules there. For prototyping we can also run queries directly in BigQuery..

Working on a proof of concept: https://github.com/rviscomi/httparchive/blob/pub-cm/custom_metrics/publishing-platform.js

Generated a httparchive:scratchspace.response_headers table with the response headers of 100k pages:
SELECT
  page,
  JSON_EXTRACT(payload, '$.response.headers') AS response_headers
FROM
  [httparchive:har.2017_03_15_chrome_requests]
LIMIT
  100000

Then ran this query on it:
SELECT
  page,
  response_headers
FROM (
  SELECT
    page,
    response_headers,
    REGEXP_MATCH(response_headers, 'X-Hacker') AS wordpress
  FROM
    [httparchive:scratchspace.response_headers]
)
WHERE
  wordpress = true

No results.
Changed the regexp pattern to 'wp\.me[^}]+rel=shortlink' and got 20 results: https://bigquery.cloud.google.com/savedquery/226352634162:91fdb59df0cd4af2ade704c45cf70d66
Seems like not a strong signal. WDYT?

Hmm. We could sanity check against: https://vip.wordpress.com/clients/
curl -L -vv http://motori.virgilio.it/
< X-hacker: If you're reading this, you should visit automattic.com/jobs and apply to join the fun, mention this header.
< Link: <http://wp.me/6uzoc>; rel=shortlink

On the other hand, lots of sites on that client list don't deliver above header either..
curl -L -vv http://www.nationalpost.com/
li data-src-fullsize="http://nationalpostcom.files.wordpress.com/2013/01/

^ perhaps we should also look for files.wordpress.com, although I'm not sure if that's VIP only or true for any wordpress.com hosted site.

Oh I didn't do a case insensitive search. I'll try that to include X-hacker.

Ok I updated the query to be case insensitive and match both X-Hacker and rel=shortlink patterns.
I stuffed those 27 results into httparchive:scratchspace.wordpress_headers and used that to generate another table, httparchive:scratchspace.wordpress_response_bodies:
SELECT page, url, body FROM [httparchive:har.2017_03_15_chrome_requests_bodies] WHERE
page IN (SELECT page FROM [httparchive:scratchspace.wordpress_headers])

It joins the pages with WP headers with corresponding response bodies. Finally, I queried this table with the same signals in the custom metric POC:
SELECT
  COUNT(0),
  page
FROM
  [httparchive:scratchspace.wordpress_response_bodies]
WHERE
  REGEXP_MATCH(body, r'(?i)(<meta[^>]*WordPress|<link[^>]*wlwmanifest|src=[\'"]?[^\'"]*wp-includes)')
GROUP BY
  page

See https://bigquery.cloud.google.com/savedquery/226352634162:6f88d370ccec4fe59d45dc28040f9982
Of the 100,000 pages sampled, 27 pages were detected with WP headers. 25 of those also had corresponding WP signals in the response body. The discrepancy seems to be due to a conflicting use of the X-hacker header for non-WordPress use.
That said, it seems like markup analysis is no worse of a signal than header analysis. So I ran a related query to see how much better markup analysis is:
SELECT
  COUNT(0),
  page
FROM
  [httparchive:har.2017_03_15_chrome_requests_bodies]
WHERE
  REGEXP_MATCH(body, r'(?i)(<meta[^>]*WordPress|<link[^>]*wlwmanifest|src=[\'"]?[^\'"]*wp-includes)') AND
  page IN (SELECT page FROM [httparchive:scratchspace.response_headers])
GROUP BY
  page

See https://bigquery.cloud.google.com/savedquery/226352634162:e34f729043dc4ca18719ca716d3a4642
This looks only at the 100,000 pages sampled by the header analysis and runs the body analysis. There are 9,677 results, or about 10%. It's still half as much as reported, so it seems like there are other strong signals we're missing.
To recap:

header analysis is a very weak signal compared to body analysis
body analysis is something we can do easily in a custom metric without altering the pipeline
need to shore up the signals in the POC for parity with prior research

As a meta thing, It'd be nice to start building a list of test cases and explanations for each pattern:

<meta generator> --> list of URLs
wlmanifest --> list of URLs
...

Otherwise, based on past experience, you quickly end up with unwieldy regexes that break easily and are impossible to maintain long-term.

It'd be nice to start building a list of test cases and explanations for each pattern

Definitely. I'd first like to figure out which signals are weak/strong/redundant and narrow it down to a minimal list of strong signals. The /docs would be a good place to explain what each signal in that list is measuring and its efficacy.
"Weak" can mean that the signal has a high number of false positives or a low number of true positives. Eg X-header seems to be a weak signal for the latter reason. There may still be some value in these types of weak signals, for example if many of them combined produce a significant number of detections.

Good news! Someone has already thought about this 😄
See AliasIO/Wappalyzer

authors: igrigorik rviscomi


text:
API does not support bulk synchronizing of data

Issues:

Currently, external callers can only add/update one record at a time. This will likely fail at scale.

Results for bulk insert/udpate must return bulk results.
So an array of success/fails in the same order as what was sent. The HTTP result code is insufficient since it speaks to the overall request, not individual records inside the request.

Only the fields that are known to be modified need be sent for an update.
E.g. An ElementName might be required for an insert, but for an update, if it wasn't changed, then can be omitted. This means that for inserts, the required fields are different from required fields for an update. Likely, the only required fields for an update is the primary id and a revision number (see below), plus the the subset of changed fields.

Updates might require a per-record revisioning mechanism for merge conflict checks.
This might be done using a LastMod timestamp or a specific new field with an incremented version number. The fundamental idea is that updates include a revision number (or the prior LastMod). If the data in the DB has a newer revision number that what is coming from the update, then the operation fails because someone else already modified it.

Probably should clearly define "UPSERT" means.
Does it mean a bulk operation that includes a mix of inserts/updates/deletes? Or, the database concept of upserts?
DB upserts often means NOT knowing the record ID when sending the data? (DB Unique Keys concept where a combination of fields make a row unique might make sense? But it would need to be defined for each table and is a probably a hard problem.)

I think it's OK to say the first iteration of the API is intended for client-to-server communications where the HMIS server is "source of truth" for the data. This means that it's responsible for generating new record ids for create operations, and for generating timestamps for fields like DateCreated, DateModified and DateDeleted.
Maybe we can add a "Revisit in the future" or "Future work" github label?


text:
J1J2 exact example leads to NaN values

The simple J1-J2 example with exact optimization (j1j2_2d_exact_4.py) seems to lead to NaN / overflow values after a few iterations:
/cs/labs/shashua/ors07/Pyket/src/pyket/optimization/exact_variational.py:92: RuntimeWarning: overflow encou$
tered in multiply
np.multiply(np.real(self.naive_local_energy_minus_energy), np.real(self.naive_local_energy_minus_energy), out=self.naive_local_energy_minus_energy_squared)
/cs/labs/shashua/ors07/Pyket/src/pyket/optimization/exact_variational.py:93: RuntimeWarning: invalid value encountered in multiply
np.multiply(self.naive_local_energy_minus_energy_squared, self.exact_variational.probs, out=self.probs_mult_local_energy_variance)

Is this example fixed? can we close this issue?

repo: HUJI-Deep/FlowKet


text:
AnExceptionReportsDuration Test fails

I'm submitting a fix shortly

This was fixed with PR 32: https://github.com/Haacked/Scientist.net/pull/32 so closing


text:
Update README.md

add in link to repos by OWASP

Thanks for the PR. Sorry this couldn't be merged as adding OWASP org on GitHub doesnt make any sense. Its an organization and not an awesome list.

two of their major yearly contributions are top ten web application
security checkLISTS...
On Fri, Jun 15, 2018 at 8:03 AM Chandrapal notifications@github.com wrote:

Closed #35 https://github.com/Hack-with-Github/Awesome-Hacking/pull/35.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Hack-with-Github/Awesome-Hacking/pull/35#event-1683616673,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEior2grL7ntp-VbDBmN5NXzjd2mDbHFks5t88zMgaJpZM4Uo83g
.

--
Sammy Owen
San Francisco, CA.

repo: Hack-with-Github/Awesome-Hacking


text:
nogc related compilation error

I get the following error after the latest commit:
• dub
libdparse: ["libdparse"]
dfmt: ["dfmt", "libdparse"]
Target is up to date. Using existing build in /home/edwin/.dub/packages/libdparse-master/.dub/build/library-debug-linux.posix-x86_64-dmd-E198791B6673AEAE0964E351E0B4BB0A/. Use --force to force a rebuild.
Building dfmt configuration "application", build type debug.
Compiling...
src/dfmt.d(499): Error: @nogc function 'dfmt.TokenFormatter!(LockingTextWriter).TokenFormatter.expressionLength' cannot call non-@nogc function 'std.d.lexer.isBasicType'
src/dfmt.d(73): Error: template instance dfmt.format!(LockingTextWriter) error instantiating
src/dfmt.d(40): Error: function D main no return exp; or assert(0); at end of function
FAIL .dub/build/application-debug-linux.posix-x86_64-dmd-D80DC97764A9DF7D438DB64CB56228E4 dfmt executable
Error executing command run: DMD compile run failed with exit code 1

D version information:
• dmd
DMD64 D Compiler v2.066.1-devel
Copyright (c) 1999-2014 by Digital Mars written by Walter Bright
Documentation: http://dlang.org/

dfmt builds successfully for me with dmd and ldc. Can you confirm that you're still having build problems?

I now seem to get the following different error (still on 2.066.1). It might be interesting to get travis CI integrated to test the builds automatically. I'd be happy to submit a pull request with a travis file for that purpose.
 dfmt dub
WARNING: A deprecated branch based version specification is used for the dependency libdparse. Please use numbered versions instead. Also note that you can still use the dub.selections.json file to override a certain dependency to use a branch instead.
Target libdparse ~master is up to date. Use --force to rebuild.
Building dfmt 0.2.2 configuration "application", build type debug.
Compiling using dmd...
src/dfmt/formatter.d(1373): Error: @nogc function 'dfmt.formatter.canFindIndex' cannot call non-@nogc function 'std.range.assumeSorted!("a < b", const(ulong)[]).assumeSorted'
FAIL .dub/build/application-debug-linux.posix-x86_64-dmd_2066-6D71006389B3841AD8C75F8D43E64D44/ dfmt executable
Error executing command run: dmd failed with exit code 1.

https://travis-ci.org/Hackerpilot/dfmt/builds
I even have the build status badge on the project's front page...

Sorry, am currently cursed with very slow network, so didn't take the time
to double check the front page :(
If it works on travis it should be fine for me (I am on linux as well).
Will try to hunt it down myself and report back.
On 21 April 2015 at 11:10, Brian Schott notifications@github.com wrote:

https://travis-ci.org/Hackerpilot/dfmt/builds
I even have the build status badge on the project's front page...
—
Reply to this email directly or view it on GitHub
https://github.com/Hackerpilot/dfmt/issues/13#issuecomment-94729865.

for me using
dub build -b release --combined  made it work

The problem is that SortedRange.this is not nogc in -debug mode.
Because it calls dbgVerifySorted which calls uniform which is not nogc.
It may be worth removing the @nogc annotation from dfmt until this is fixed.

@yannick thanks, it helps.

I'm going to close this because the code works for me (and the CI system).

authors: BlackEdder Hackerpilot dmi7ry yannick yebblies

repo: Hackerpilot/dfmt


text:
/usr/share/sangfor/EasyConnect/resources/conf/ECDomainFile domain socket connect failed, errno:2, errstr:No such file or directory.

这个错误是正常现象吗？

是的，登录过程中产生的是吧？

同样有这个提示，
不过，你启动 docker，登陆 easyconnect 后，可以访问内网吗

同样有这个提示，
不过，你启动 docker，登陆 easyconnect 后，可以访问内网吗

访问内网是什么意思，我现在这个vpn没办法用，不知道什么原因

访问内网是什么意思，我现在这个vpn没办法用，不知道什么原因

你现在已经可以在 VNC 提供的 web 端，登陆账号了吗（我的是证书登陆），我是已经登陆成功，但无法使用

访问内网是什么意思，我现在这个vpn没办法用，不知道什么原因

你现在已经可以在 VNC 提供的 web 端，登陆账号了吗（我的是证书登陆），我是已经登陆成功，但无法使用

可以，vnc也可以用，clash也配置成功了，也无法使用，相同的用户名和密码用docker cli显示用户名或者密码错误，但是ec登陆本地是可以的，不知道怎么排查问题

是的，登录过程中产生的是吧？

为什么图形界面可以正常登陆，cli却显示用户名和密码不正确呢？

一个电脑应该是可以打开多个ec-docker的吧，只要换掉端口就行吧

一个电脑应该是可以打开多个ec-docker的吧，只要换掉端口就行吧

你现在一个 ec-docker 可以工作了吗，

是的，登录过程中产生的是吧？

我也有这个问题，是点击登录之后的报错。

一个电脑应该是可以打开多个ec-docker的吧，只要换掉端口就行吧

你现在一个 ec-docker 可以工作了吗，

可以，但是另一个不行

一个电脑应该是可以打开多个ec-docker的吧，只要换掉端口就行吧

你现在一个 ec-docker 可以工作了吗，

可以，但是另一个不行

我的挂起来一个也是会出现 https://github.com/Hagb/docker-easyconnect/issues/285#issue-1854594411 这个问题，也是无法登录。想请教一下题主怎么解决的。

我这边测试成功了，我在 同一个容器尝试了多次启动、关闭、重启，多次反复。
最终成功了。撒欢~
希望我的这个操作能够帮到还没成功的朋友。
!!! 抵制站在网络自由对立面的软件 !!!

同样是这个情况，用web登录后每次都提示要更新，更完后提示登录成功，但没一会就显示这个，在过一会网页就出现注销成功了

authors: Akira-TL Hagb Michaelzhouisnotwhite bran-nie l1teng

repo: Hagb/docker-easyconnect

license: WTFPL


text:
Multiplying 10**gamSta by electron number density

I see that the Stark broadening parameter 10**gamSta in the gamma_ functions in atomll.py isn''t multiplied by the electron number density although the Vald3 format page specifies their units as '(s*Ne)^-1' 'where Ne is the electron number density'. Is this a mistake?

Thanks! @chonma0ctopus Can you check it?

Thank you for pointing it out! I will check it in a day.

Sorry for the confusion. It was not the version I processed this time, it was giving the error before I edited it. I haven't been able to pinpoint at which point in development the cause was.
I thought it might be at Issue #488, but it wasn't; at 49b9e3283ea64b3cee8197a3ebe058b442b9eaad we already get an AssertionError.
Do you happen to know any smart way to track down at what point the difference occurred? Or, do you think there is no need to track it and rather I can just update the assert statement?

repo: HajimeKawahara/exojax


text:
Remove unneeded version_compares

Because hoa/core ~2.0 requires PHP >=5.4.0, Php-Metrics ended up requiring that PHP version as well so it seems to me that we have some unneeded version_compare(PHP_VERSION, '5.4.0') >= 0
Perhaps we should remove those.

:+1:
If we do so, we should IMHO add php >= 5.4 to our dependencies. hoa/core might change to php >= 5.33 without a bc break, so it's up to us to ensure that phpmetrics runs once it's installed.
There is also a version_compare('5.0.4', PHP_VERSION), this might be removed also.

So it seems to me that this leaves us with two options:

Php-Metrics should support PHP >= 5.3 and we should lower hoa/core dependency.
Php-Metrics should support PHP >= 5.4 and we should remove every line of code that is <= PHP 5.4 related.
(this does not affect the target version its just the PHP dependency for Php-Metrics it self to run)
@Halleck45 which option will we choose?
I vote to leave PHP 5.3 support. The less code the better.
What do you think @UFOMelkor?

This might help to decide http://php.net/supported-versions.php

Hum... I think also that we should leave PHP 5.3 support.
Who want make a litte PR to change minimum version in composer.json? :)

@Halleck45 Like this #144?

PHP 5.4 is now required
All version_compare are preserved: even if we need to have PHP 5.4 to install phpmetrics, today phar archive continues to work with PHP 5.3


text:
Hero promo core

This was a mistaken pull request while trying to get Github to function - you can remove this, since it's requesting to merge into the wrong branch.

This was a bad request based on merging into the wrong branch, so closing this.

repo: Handelabra/WorkshopSample


text:
TR-DE-ES Language

Only DE-ES language has been added to the HandyControl project.

@Taiizor  thank you
if you can please add de-es languages for demo

@Taiizor thank you
if you can please add de-es languages for demo

Not now, but I'll add soon.

would you pls add de-es languages for demo? 🙏  if you have no time, we can only close this pr. 😭

authors: NaBian Taiizor ghost1372

repo: HandyOrg/HandyControl


text:
Use correct translation when author isn't watching anything

title

Sorreh, already locally 🤌

authors: NoahvdAa kennytv

repo: HangarMC/Hangar


text:
🛑 Assets CDN server is down

In bea026e, Assets CDN server (https://cdn.assets.scratch.mit.edu) was down:

HTTP code: 503
Response time: 1388 ms

Resolved: Assets CDN server is back up in ac494ca after 17 minutes.


text:
🛑 Assets server is down

In 84bef1b, Assets server (https://assets.scratch.mit.edu) was down:

HTTP code: 503
Response time: 1401 ms

Resolved: Assets server is back up in 2c86cc2 after 1 hour, 17 minutes.


text:
🛑 Assets server is down

In c7b3f33, Assets server (https://assets.scratch.mit.edu) was down:

HTTP code: 503
Response time: 1471 ms

Resolved: Assets server is back up in 59593c5 after 36 minutes.


text:
🛑 Assets server is down

In 4b4e451, Assets server (https://assets.scratch.mit.edu) was down:

HTTP code: 503
Response time: 1422 ms

Resolved: Assets server is back up in 9da0027 after 11 minutes.


text:
🛑 CDN server 1 is down

In 20b4f9a, CDN server 1 (https://cdn.scratch.mit.edu/scratchr2/static/867ec47c1657f9fde21932c086a84195/images/logo_sm.png) was down:

HTTP code: 503
Response time: 462 ms

Resolved: CDN server 1 is back up in cfc7618 after 11 minutes.


text:
🛑 Japanese is down

In e8dae26, Japanese (https://ja.scratch-wiki.info) was down:

HTTP code: 508
Response time: 1746 ms

Resolved: Japanese is back up in aee6b9a after 8 minutes.


text:
🛑 French is down

In 7db73d2, French (https://fr.scratch-wiki.info) was down:

HTTP code: 508
Response time: 817 ms

Resolved: French is back up in 4c9d9c9 after 2 hours, 28 minutes.


text:
🛑 Test is down

In e83b24c, Test (https://test.scratch-wiki.info) was down:

HTTP code: 508
Response time: 492 ms

Resolved: Test is back up in 6ada479 after 16 minutes.


text:
🛑 Indonesian is down

In 7cf4b82, Indonesian (https://id.scratch-wiki.info) was down:

HTTP code: 508
Response time: 649 ms

Resolved: Indonesian is back up in 5ae2788 after 17 minutes.


text:
Question: tabular representation of a report

I aim to train a ML model to predict future financial reports based on historical data. To achieve this, I need a tabular representation of the financial statements, as follows:

tabular representation of financial statement with this structure:

cik, period_start_date, period_length,  ...,
    IS_col1, IS_col2, ..., IS_colx,
    CF_col1, CF_col2, ... CF_colx,
    BS_col1, BS_col2, ...BS_colx

period_start_date, period_length, cik as the key.
standardized CF, IS for the specified reporting period.
standardized BS reports are for the time point = period_start_date + period_length

related to https://github.com/HansjoergW/sec-fincancial-statement-data-set/issues/5#issuecomment-2274358132

I think it would be better to think of "enddate" instead of period start_date, since this is the date, of the report.
So I would
cik, ddate, qtrs_is_cf, is_cols.. , cf_cols, bs_cols
ddate is the endate of the period, qtrs is the period length in qtrs  (but only relevant for IS und CF).
As written in the other thread, for IS and CF you need to join on qtrs and ddate, but for BS, you just need to join on ddate.

Thanks for the post.

Hi @ebadi
Yes, date is a real date format, so that can be easily used when plotting. I kept ddate since it is just an integer and we only have "end-of-months-dates". Hence, date-calculations are probably a little faster, if I do them directly as int, instead of converting all the ddate to a real date format and don't the operations with the datetime API. However, I didn't measure it. Moreover, the ddate could also be removed for the final standardized presentation.
Indeed, it would make sense to add filed to the final result. I mean, you could create a hashmap with adsh as key and filed as value by reading all sub_txt files and then merging that into final result.
However, as a quick solution, I would suggest you write your own the "presenting" method.
Just extract it from the standardizing logic, and use as input the dataframe and the standardized you want to use. Something like that:
    def present(standardizer,  databag: JoinedDataBag) -> pd.DataFrame:

        standardized_df = standardizer.process(databag.pre_num_df)

        data_to_merge_df = databag.sub_df[['adsh', 'cik', 'form', 'fye', 'fy', 'fp', 'filed']].copy()

        # The name of a company can change during its liftime. However, we want to have the
        # same name for the same cik in all entries. Therefore, we first have to find the
        # latest name of the company.

        # first, create a cik-name look up table,
        df_latest = (databag.sub_df[['cik', 'name', 'period']].sort_values('period')
                     .drop_duplicates('cik', keep='last'))

        # Create the dictionary
        cik_name_dict = dict(zip(df_latest['cik'], df_latest['name']))

        data_to_merge_df['name'] = data_to_merge_df['cik'].map(cik_name_dict)

        merged_df = pd.merge(data_to_merge_df, standardized_df, on='adsh', how='inner')

        # create the date column and sort by date
        merged_df['date'] = pd.to_datetime(merged_df['ddate'], format='%Y%m%d')

        # sort the columns
        merged_df = merged_df[['adsh', 'cik', 'name', 'form', 'fye', 'fy', 'fp', 'date'] +
                              standardized_df.columns.tolist()[1:]]

        result = merged_df.sort_values(by='date')

        # store it in the standardizer object as new result
        standardizer.result = result

        return result
       ````
 You could also write your own subclasses of the three standardizer and overwrite the present method or implement your own.

In order to add additional tags, you would need write your own Standardizer.

So you basically copy the code of the BS,IS, or CF standardizer and if you just want to add a new tag (if we assume that the tag is very common and widely used) you could jus add the tagname to the "final_tags" definition

Thanks for the explanation.
Adding filed column : Updating standardizing.py as you suggested did the trick:
        data_to_merge_df = databag.sub_df[['adsh', 'cik', 'form', 'fye', 'fy', 'fp', 'filed']].copy()

and not to forget this line as well:
        merged_df = merged_df[['adsh', 'cik', 'name', 'form', 'fye', 'fy', 'fp', 'date', 'filed'] +
                              standardized_df.columns.tolist()[1:]]

Adding new tag: adding 'NumberOfSharesIssued' to final_tags  solved my issue as well. I used https://www.ifrs.org/content/dam/ifrs/standards/taxonomy/2024/taxonomy-illustrated/taxonomy-iti-2024-by-fs.xlsx and https://github.com/Nneoma-Ihueze/SEC-Mapping/blob/main/xbrl_to_fin-statement_mapping.json to find the right name for the tag.

I modified my package and added NumberOfSharesIssued to the final_tags but now noticed that the NumberOfSharesIssued contains only 0. Any idea how to fix this?

@ebadi I have to look into it. The tag names should be WeightedAverageNumberOfSharesOutstandingBasic and WeightedAverageNumberOfDilutedSharesOutstanding. But just adding them doesn't work. I will let you know when I found time to have a look at the problem

@ebadi I found the problem, but i will need to create a new minor version for it.

Thank you so much. I would also appreciate if you document how you find these tag names. I am using this excel sheet and I cannot find WeightedAverageNumberOfSharesOutstandingBasic and WeightedAverageNumberOfDilutedSharesOutstanding there.

@ebadi
In order to find used tags, go to the SEC Edgar page and open a report. E.g. https://www.sec.gov/cgi-bin/browse-edgar?CIK=0000320193&owner=exclude and the selecting the "interactive data" of a 10-Q or 10-K.
Then select the "Financial Statements" Section and choose a statement. Select the position you are interested in expand the "Details" as shown here:

Instead of using "interactive data", you can also open the "document" and then browse the section with the financial statement. You can click on any value in the document to get the details of that position.
When having a tag name, you can also ask ChatGPT if there are other tags referencing the same/similar position, or if that tag belongs to "Hierarchy". ChatGPT often comes up with good answers, but you still have to check if these tags really exist in the data.
And of course, there is also the official documentation for the standard which can be browsed online. But I haven't really used that.

@ebadi i released a new version 1.6.1

Thanks. I just tested it and everything works (except minor changes needed for the missing uom column)

I forgot o thank you for the your clear instruction on how to find the tags.
I noticed that there are two columns EarningsPerShareBasic/EarningsPerShareDiluted that can be calculated if we have NetIncomeLos and  WeightedAverageNumberOfSharesOutstandingBasic/WeightedAverageNumberOfDilutedSharesOutstanding. It is up to you to keep the column

authors: HansjoergW ebadi


text:
🛑 Deepl is down

In 3c79248, Deepl (https://deep.haoda.repl.co/) was down:

HTTP code: 502
Response time: 404 ms

Resolved: Deepl is back up in e71816e.


text:
🛑 AI对话 is down

In 602cb2d, AI对话 (https://haoqi7-question.hf.space/) was down:

HTTP code: 503
Response time: 44 ms

Resolved: AI绘画 is back up in ae679d6.


text:
🛑 AI对话 is down

In ae1540e, AI对话 (https://haoqi7-question.hf.space/) was down:

HTTP code: 503
Response time: 48 ms

Resolved: AI绘画 is back up in c5d4e99.


text:
🛑 AI对话 is down

In c9d72d1, AI对话 (https://haoqi7-question.hf.space/) was down:

HTTP code: 503
Response time: 45 ms

Resolved: AI绘画 is back up in 2f6b56e after 196 days, 8 hours, 27 minutes.


text:
🛑 Happy Vibes Bot 3 is down

In 5c88219, Happy Vibes Bot 3 ($BOT3) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Happy Vibes Bot 3 is back up in e140dbb.

repo: Happy-Vibes-Bot/status


text:
🛑 Happy Vibes Bot 1 is down

In 2fc3dc6, Happy Vibes Bot 1 ($BOT1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Happy Vibes Bot 1 is back up in 29d1471.


text:
🛑 Happy Vibes Bot 3 is down

In e508ef6, Happy Vibes Bot 3 ($BOT3) was down:

HTTP code: 502
Response time: 844 ms

Resolved: Happy Vibes Bot 3 is back up in cfd602f.


text:
🛑 Happy Vibes Bot 1 is down

In 314cf70, Happy Vibes Bot 1 ($BOT1) was down:

HTTP code: 502
Response time: 361 ms

Resolved: Happy Vibes Bot 1 is back up in 7adceb7.


text:
Building the MVP

Here we can discuss the technical details of building the minimum viable product.
For background reading, see the following threads:

https://github.com/Harvard-Open-Data-Project/droid/issues/12
https://github.com/Harvard-Open-Data-Project/droid/issues/4

What are we looking at building? A WordPress site with embedded Dataverse widgets (effectively a rebranded Dataverse) or a more full-featured site that talks to Dataverse under the hood while exposing a different interface?
Some undergrads are interested in getting started building an MVP this summer so the sooner we have an idea of what to build the better.

I'd say that we already have an MVP-- take a look at https://dataverse.harvard.edu/dataverse/harvardopendata
Which is up, running, and even contains some APIs. While we might be able to build something that we like better with some combination of workpress and the like, this approach means that we don't need to find someone to run the result. Believe me, that is a HUGE advantage.
There are some things that we need to do before publishing this. Getting a better skin on the dataverse would be nice; someone working with the Dataverse team could get to work on this (bringing in the HPAC folks, as well). We will also need to construct a script that will check to make sure that APIs, especially, are still live; something that will go through the published APIs, collect the endpoints, call those endpoints, and report if there is no response. This will help to maintain the site; the problem with sites like this (which is why the Mass. open data site has been shut down) is that links get stale, data ceases to be updated, and things fall apart.
Then there is the question of getting and cataloging more data. The more data we can get and the better the descriptions, the more likely it is that people will come to the site. I'm in the process of getting the Harvard course catalog, but other data sources would be great to add.

@hathix @jimwaldo -- I'd suggest we re-open this issue and continue this conversation.  At the most recent meet-up on this project, we attempted to enter a couple dozen data sets into Dataverse, and it became clear that it is really not designed to be a open data catalog (as opposed to data repository software).  @hathix -- can you give some specific examples here about the limitations of Dataverse?
I'd suggest we explore the use of CKAN again, as a service, hosted on AWS, or on Harvard infrastructure.

authors: hathix jimwaldo nsinai

repo: Harvard-Open-Data-Project/hodp


text:
get rid of imap4d

We may someday have a MTA but it's not likely to be this old piece of cruft.
Signed-off-by: Ronald G. Minnich rminnich@gmail.com

LGTM

@rminnich needs to be updated

This CR is probably corrupting #87 since I also removed imap4d. Shall I remove that commit first?

Yes, please remove all of imap4d from 87 and apply Ron's suggestions. Then we could merge 87 too.

I have applied Ron's suggestions (unless I have missed something). I don't have access to git right now but consider it done in a couple of hours.

Great! thanks

so do I remove this CL or merge it or ...

They are now detached so it can be merged.

authors: elbing grd rminnich sevki

repo: Harvey-OS/harvey