Query: update of endpoint failed...context deadline exceeded

Thanos, Prometheus and Golang version used:
thanos: 0.33.0
prometheus: 2.52.0

docker.io/bitnami/thanos:0.33.0-debian-11-r0
docker.io/bitnami/prometheus:2.52.0-debian-12-r2
Object Storage Provider:
S3
What happened:
I'm getting this message randomly at Thanos Querier, and I'm not sure why:
ts=2024-05-22T22:07:25.07314345Z caller=endpointset.go:460 level=warn component=endpointset msg="update of endpoint failed" err="getting metadata: fallback fetching info from k8s-promethe-kubeprom-XXXXX-XXXXXXXXXX.elb.us-east-1.amazonaws.com:10901: rpc error: code = DeadlineExceeded desc = context deadline exceeded" address=k8s-promethe-kubeprom-XXXXX-XXXXXXXXXX.elb.us-east-1.amazonaws.com:10901
Then, this message show up later, saying it removed the cluster "my-cluster" from the endpoint list:
ts=2024-05-22T22:12:15.123414457Z caller=endpointset.go:429 level=info component=endpointset msg="removing endpoint because it's unhealthy or does not exist" address=k8s-promethe-kubeprom-XXXXX-XXXXXXXXXX.elb.us-east-1.amazonaws.com:10901 extLset="{cluster=\"my-cluster\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-0\"}"
But in the same second, it says that the endpoint of "my-cluster" was re-added:
ts=2024-05-22T22:12:15.135340627Z caller=endpointset.go:425 level=info component=endpointset msg="adding new sidecar with [storeEndpoints rulesAPI exemplarsAPI targetsAPI MetricMetadataAPI]" address=k8s-promethe-kubeprom-XXXXX-XXXXXXXXXX.elb.us-east-1.amazonaws.com:10901 extLset="{cluster=\"my-cluster\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-1\"}"
What you expected to happen:
I have a second cluster with prometheus being read by the querier using NLB and I don't have any problem in the Thanos Query log messages.
Also have a third cluster, where thanos is running, with prometheus being read by the querier using Kubernetes ClusterIP service and I don't have any problem in the Thanos Query log messages.
How to reproduce it (as minimally and precisely as possible):
Really not sure. It works in one cluster but not in the other.
Full logs to relevant components:
Logs

ts=2024-05-22T14:46:30.068225221Z caller=options.go:26 level=info protocol=gRPC msg="disabled TLS, key and cert must be set to enable"
ts=2024-05-22T14:46:30.068740407Z caller=query.go:840 level=info msg="starting query node"
ts=2024-05-22T14:46:30.068865598Z caller=intrumentation.go:56 level=info msg="changing probe status" status=ready
ts=2024-05-22T14:46:30.069019485Z caller=intrumentation.go:75 level=info msg="changing probe status" status=healthy
ts=2024-05-22T14:46:30.069040063Z caller=http.go:73 level=info service=http/server component=query msg="listening for requests and metrics" address=<IP_ADDRESS>:10902
ts=2024-05-22T14:46:30.069184181Z caller=grpc.go:131 level=info service=gRPC/server component=query msg="listening for serving gRPC" address=<IP_ADDRESS>:10901
ts=2024-05-22T14:46:30.069220277Z caller=tls_config.go:274 level=info service=http/server component=query msg="Listening on" address=[::]:10902
ts=2024-05-22T14:46:30.069241406Z caller=tls_config.go:277 level=info service=http/server component=query msg="TLS is disabled." http2=false address=[::]:10902
ts=2024-05-22T14:46:35.094910536Z caller=endpointset.go:425 level=info component=endpointset msg="adding new sidecar with [storeEndpoints rulesAPI exemplarsAPI targetsAPI MetricMetadataAPI]" address=kube-prometheus-prometheus-thanos.prometheus.svc.cluster.local:10901 extLset="{cluster=\"company-cluster1\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-0\"}"
ts=2024-05-22T14:46:35.094964418Z caller=endpointset.go:425 level=info component=endpointset msg="adding new store with [storeEndpoints]" address=<IP_ADDRESS>:10901 extLset="{cluster=\"company-cluster3\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-0\"},{cluster=\"company-cluster3\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-1\"},{cluster=\"company-cluster2\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-0\"},{cluster=\"company-cluster2\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-1\"},{cluster=\"company-cluster1\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-0\"},{cluster=\"company-cluster1\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-1\"},{cluster=\"company-qa\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-0\"},{cluster=\"company-qa\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-1\"}"
ts=2024-05-22T14:46:35.094988299Z caller=endpointset.go:425 level=info component=endpointset msg="adding new sidecar with [storeEndpoints rulesAPI exemplarsAPI targetsAPI MetricMetadataAPI]" address=k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901 extLset="{cluster=\"company-cluster2\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-1\"}"
ts=2024-05-22T14:46:35.095010298Z caller=endpointset.go:425 level=info component=endpointset msg="adding new sidecar with [storeEndpoints rulesAPI exemplarsAPI targetsAPI MetricMetadataAPI]" address=k8s-promethe-kubeprom-ca330b08ae-9e43ff682ab0231f.elb.us-east-1.amazonaws.com:10901 extLset="{cluster=\"company-cluster3\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-0\"}"

ts=2024-05-22T15:01:15.070302749Z caller=endpointset.go:460 level=warn component=endpointset msg="update of endpoint failed" err="getting metadata: fallback fetching info from k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901: rpc error: code = DeadlineExceeded desc = context deadline exceeded" address=k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901
[...]
ts=2024-05-22T15:06:05.122600585Z caller=endpointset.go:460 level=warn component=endpointset msg="update of endpoint failed" err="getting metadata: fallback fetching info from k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901: rpc error: code = DeadlineExceeded desc = context deadline exceeded" address=k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901
ts=2024-05-22T15:06:05.122655781Z caller=endpointset.go:429 level=info component=endpointset msg="removing endpoint because it's unhealthy or does not exist" address=k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901 extLset="{cluster=\"company-cluster2\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-1\"}"
ts=2024-05-22T15:06:05.138662763Z caller=endpointset.go:425 level=info component=endpointset msg="adding new sidecar with [storeEndpoints rulesAPI exemplarsAPI targetsAPI MetricMetadataAPI]" address=k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901 extLset="{cluster=\"company-cluster2\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-1\"}"

ts=2024-05-22T19:11:10.069290932Z caller=endpointset.go:460 level=warn component=endpointset msg="update of endpoint failed" err="getting metadata: fallback fetching info from k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901: rpc error: code = DeadlineExceeded desc = context deadline exceeded" address=k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901
[...]
ts=2024-05-22T19:16:00.12450321Z caller=endpointset.go:460 level=warn component=endpointset msg="update of endpoint failed" err="getting metadata: fallback fetching info from k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901: rpc error: code = DeadlineExceeded desc = context deadline exceeded" address=k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901
ts=2024-05-22T19:16:00.124559135Z caller=endpointset.go:429 level=info component=endpointset msg="removing endpoint because it's unhealthy or does not exist" address=k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901 extLset="{cluster=\"company-cluster2\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-1\"}"
ts=2024-05-22T19:16:00.137497Z caller=endpointset.go:425 level=info component=endpointset msg="adding new sidecar with [storeEndpoints rulesAPI exemplarsAPI targetsAPI MetricMetadataAPI]" address=k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901 extLset="{cluster=\"company-cluster2\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-1\"}"

ts=2024-05-22T22:07:25.07314345Z caller=endpointset.go:460 level=warn component=endpointset msg="update of endpoint failed" err="getting metadata: fallback fetching info from k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901: rpc error: code = DeadlineExceeded desc = context deadline exceeded" address=k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901
[...]
ts=2024-05-23T17:58:20.124478059Z caller=endpointset.go:460 level=warn component=endpointset msg="update of endpoint failed" err="getting metadata: fallback fetching info from k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901: rpc error: code = DeadlineExceeded desc = context deadline exceeded" address=k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901
ts=2024-05-23T17:58:20.124537574Z caller=endpointset.go:429 level=info component=endpointset msg="removing endpoint because it's unhealthy or does not exist" address=k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901 extLset="{cluster=\"company-cluster2\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-0\"}"
ts=2024-05-23T17:58:20.187145349Z caller=endpointset.go:425 level=info component=endpointset msg="adding new sidecar with [storeEndpoints rulesAPI exemplarsAPI targetsAPI MetricMetadataAPI]" address=k8s-promethe-kubeprom-XXXXXX-XXXXXXXXXXXX.elb.us-east-1.amazonaws.com:10901 extLset="{cluster=\"company-cluster2\", prometheus=\"prometheus/kube-prometheus-prometheus\", prometheus_replica=\"prometheus-kube-prometheus-prometheus-1\"}"

Anything else we need to know:
I'm happy to help in any way I can to fix this issue.

@felipewnp Hi, I'm having the same problem. Did you solve it?

We have the same issue. Switched to ELB classic, and the problem seems to go away. The only problem is ELB use is discouraged by AWS...

Hm, in my case the problem happens even when pointing to a K8s service.
When Thanos sidecar is on another cluster on another network, I point to an NLB.
With the Thanos sidecar on the same cluster as the Thanos Server, I point to the sidecar K8s service.
@kingli-crypto can you keep track of the changes you've made to see if it works on the long run?

Same problem here. We are also pointing to the svc.
@felipewnp Did you solve it?


Something went wrong internally.

This linter also lints markdown files containing fenced code block with javascript.
This call returns nothing for markdown files.
This thus leads to a lot of warnings :smiley:
Something went wrong internally.
No sweat, just re-open this file and this annoying warning shouldn't appear anymore

If you open a markdown file you are not supposed to get to that line there is a grammarScope and the only files that call lint function are ['source.js', 'source.js.jsx', 'source.js.jquery'].
But regarding your issue, yes I'm aware it leads to a lot of warnings on some situations.
One of those situation I recall is when I still have file tab opened but I have already deleted the file and thus will lead me to a warning message.

A fenced code block containing javascript in a markdown file has that grammarScope:
Scopes at Cursor

source.gfm
markup.code.js.gfm
source.js
support.constant.dom.js

Hmm okay I understand,
Well we could explicitly ignore that file grammar with textEditor.getGrammar()

Okay I have been sniffing around this issue and I got this conclusion.
I have to parse the stdin of .md files that call the lint() function then I need to strip all its content less the js fence code blocks, extract the js code, glue it together and lint it.
But nevertheless, this would be a cool feature for linter-js-standard, but of course the user should have a option to make linter ignore .md files or lint them.
@despairblue What are your thoughts on this?

If you're willing to implement this, that certainly would be a cool feature and I don't think a lot of linters do that. :sunglasses:
Though I'm not sure about the gluing together part. Sometimes the different code blocks have nothing to do with each other :worried:

Yeah you're right, most of times actually, now that I think of it.
So It would need to call the standard bin for each part

This seems to be affecting newly saved .js files as well.  That same line returns undefined after saving a new file.

Could this be disabled for now? I find I need to disable the plugin as I can't see half the screen after not too long typing.

Correct me if I'm wrong, but this is only happening in the following situations:

markdown files with js fenced code;
files that were renamed and the panes are still open.

I managed to fix the problem with the markdown files but not with the renamed files.
So I won't close this issue, but this is dependent of the following issues: atom/tree-view#433 and atom/atom#8432
The latest release 2.5.0 fixed the markdown issue.
@despairblue I didn't implement the feature to lint fenced code because in the end it doesn't make sense to lint "explanatory" code.

@ricardofbarros I'm not so sure about not linting Markdown text, I like the idea as I find I forget to update it sometimes (and it should definitely match the format of the library). As for the filename issue, can't you always use stdin?

@blakeembrey Yes it's a good idea but the linter will often output errors from your fenced code, such as: - "unused var"

etc.

And this can be annoying.
I could always add a workaround for markdown files to ignore some particular recurring errors, but is this the right approach?
I use the filename to cache standard/semistandard settings harvested from the file's nearest package.json and then I pass those args to the cli. (parser, global, etc)

@ricardofbarros not linting markdown files is fine for me. But if the code already exists why not make an option to disable it? If the code does not already exist, I don't see why it couldn't be included if someone wants to write it (it has to be disableable, is that a word?).
I don't like the idea of disabling parts of standard. The whole point of standard is that we shouldn't have to think about it.


Support path to custom CA

Right now self-signed certificates (for internal enterprise usage) aren't supported. a Custom CA Path option that could be passed into request like so:
agentOptions: {
    ca: fs.readFileSync(this.getCustomCAPath())
}

would be really helpful.  I could PR to make this in a couple weeks when I get less busy, but for now I'm just opening this issue up either as documentation for me or a feature request for you.
Otherwise great applet, thanks for building!

Hi @aem, any PR is welcome. Thank you!


Stores date as unix epoch

Dates that are being mapped as java.util.Date are not being stored appropriately because this dates are being stored as milliseconds since January 1, 1970, 00:00:00 GMT and SQLite actually expects a unixepoch representation of the date that is a amount of seconds since January 1, 1970.
Without the correctly mapping the user won't be able to use SQLite date time functions such as date() function appropriately, because in this case the date in question doesn't match with the patter required by the function.
In addition of the bug fix I have wrote a read me file called StoringDate.md that explain some more things about date storage, ways to do it, date time functions that could be used and how DBFlow and SQLite handle with this dates.

Thank you for your hard work.
So here is my feedback:

This kind of change is not feasible at the DateConverter level, since this potentially would affect a lot of other devs code since it is included as one of the converters and would break their existing databases. Since these are simply numeric columns REAL, we are storing it in the format that android expects it to be.

I am not sure we need a separate usage doc on datetime. Also, the examples in code are not what's currently supported in DBFlow and also does not represent valid java. i.e:

public List<Delivery> getDeliveries(String comparisonDate) {
    new Select().from(Delivery.class).where(deliveryDate = ?, comparisonDate).querySingle();
}
```

Also DBFlow does not have a `datetime` method:
```java
public List<Delivery> getDeliveries(String comparisonDate) {
    new Select().from(Delivery.class).where(datetime(deliveryDate, 'unixepoch', 'localtime') = ?, comparisonDate).querySingle();
 }
```

If DBFlow is not representing dates properly, A DateConverter2 could be created that stores the value expected by SQLite. Unfortunately existing code would break since devs existing DBs would store the value in milliseconds vs. seconds.

Hi @agrosner I would like to apologize about the mistake with the functions on read-me file I have fixed that already. But I think that is important have a document about Date because not everyone has experience with Android and SQLite database or SQLite functions and this document may help programmers understand how things work and set them to the right direction.
Talking about the date converters I understand that you or some of the collaborators have implemented the store of the dates represented by Java Date as android expects, but I don't think that is a good idea because that is not the value that SQLite expects and this cause a lot of problems to use date time functions and there isn't a documentation about this and how work around to this problem.
In my conception as a ORM DBFlow should handle with the data transformation to SQLite format and Android format to keep thinks concise and working as they should.
If isn't a problem I would like to try implement another converters to fix that or we could simple create a read-me file explaining why we need divide our date column values by 1000 in order to use some datetime functions from SQLite.


SNIa rate with photo-z

SNIa rate with photo-z only

Contacts<EMAIL_ADDRESS>Day/Time: early Monday or Wednesday morning
Main communication channel: email or Slack desc-td
GitHub repo: TBD
Zoom room (if applicable): TBD
Goals and deliverable
Possible correction of biases in the volumetric SNIa rate measurement using photo-z from host galaxies
Resources and skills needed
Familiarity with photo-z and rates
Detailed description
Sprint based on further discussions following this draft: Based on draft: https://confluence.slac.stanford.edu/display/LSSTDESC/DESC-PUB-00147
How would be possible to reduce uncertainties due to bin migrations in the volumetric SNIa rate?

test


Retain links when extracting text using PDFLoader

Langchain version: 0.0.105
I'm using PDFLoader to embed PDF documents using OpenAI, and I've noticed that the extracted documents do not retain the hyperlinks that were present in the files.
Is there a way to retain them? I couldn't find it in the docs or the PDFLoader class.
For example, a text containing a hyperlink could be extracted like this: "My favorite search engine is [Duck Duck Go] (https://duckduckgo.com)."

I wanna know too

I want to know the same


BC16.4 Error: The runtime version of the extension package is currently set to '5.4'. The runtime version must be set to '5.3' or earlier in the app.json file in order to install the extension package on this server.

1. Describe the bug
AL Language Extensions says I need BC 16.4 for Runtime 5.4:

But you can't publish this app in a BC 16.4 Environment. I get this error message:
The request for path /dago-bc16-4dev/dev/apps?tenant=default&SchemaUpdateMode=synchronize&DependencyPublishingOption=default failed with code UnprocessableEntity. Reason: The runtime version of the extension package is currently set to '5.4'. The runtime version must be set to '5.3' or earlier in the app.json file in order to install the extension package on this server.

Hi @DanielGoehler,
Thanks for reporting the issue.
It seems like when we worked on 16.4 and 16.5 then we didn't need to introduce a new runtime version for those release, but in the branch for 17.0 we had introduced the runtime versions 5.4 and 5.5.
Because you server uses a compiler without those versions, you can safely use runtime version 5.3, knowing that no new features were guarded behind those missing runtime versions.

Hi @thpeder,
runtime version 5.3 doesn't support LogMessage(). So I have to use BC 17.0?

yes if possible. I'm fixing it in 16, so it will be there in a future update.


Setup Error / Unexpected end of JSON input

Hello all,
I'm having some trouble deploying out to Rackspace (RackConnect v3) using the rackconnect-v3 yaml.
Here is the error I am getting from the overlord after deployment:
2015/05/22 17:08:44 ------------------------------------------------
2015/05/22 17:08:44 Current # of machines discovered: (4)
2015/05/22 17:08:44 ------------------------------------------------
2015/05/22 17:08:44 Found machine:
2015/05/22 17:08:44 -- ID: 3c59a19de5a848ffb7969d22e02f01b9
2015/05/22 17:08:44 -- IP: <IP_ADDRESS>
2015/05/22 17:08:44 -- Metadata: (kubernetes_role => master)
2015/05/22 17:08:44 Created all unit files for: 3c59a19de5a848ffb7969d22e02f01b9
2015/05/22 17:08:44 ------------------------------------------------
2015/05/22 17:08:44 Found machine:
2015/05/22 17:08:44 -- ID: 6136462ad4e547608456f2ba20cb310e
2015/05/22 17:08:44 -- IP: <IP_ADDRESS>
2015/05/22 17:08:44 -- Metadata: (kubernetes_role => minion)
2015/05/22 17:08:44 Created all unit files for: 6136462ad4e547608456f2ba20cb310e
2015/05/22 17:08:44 ------------------------------------------------
2015/05/22 17:08:44 Found machine:
2015/05/22 17:08:44 -- ID: c047453d369e4db7a8054a70deabc726
2015/05/22 17:08:44 -- IP: <IP_ADDRESS>
2015/05/22 17:08:44 -- Metadata: (kubernetes_role => minion)
2015/05/22 17:08:44 Created all unit files for: c047453d369e4db7a8054a70deabc726
2015/05/22 17:08:44 ------------------------------------------------
2015/05/22 17:08:44 Found machine:
2015/05/22 17:08:44 -- ID: 824f77d9d59145919b33ae7e61d15186
2015/05/22 17:08:44 -- IP: <IP_ADDRESS>
2015/05/22 17:08:44 -- Metadata: (kubernetes_role => minion)
2015/05/22 17:08:44 Created all unit files for: 824f77d9d59145919b33ae7e61d15186
2015/05/22 17:08:46 [Error] in github.com/metral/overlord/lib.Main[/gopath/src/github.com/metral/overlord/lib/utils.go:52] unexpected end of JSON input

Any help would be appreciated!  Thanks for this repo.

@cedbossneo is/was the maintainer for the rackconnect template. corekube has been updated quite a bit since the rackconnect template was last touched.
hoping @cedbossneo can chime in and possibly update it, if not, i can examine it

FYI, I gave it another shot by just updating the commit hash for overlord in the rackconnect file, thinking maybe it was just a version mismatch issue.  That failed also for a different reason
May 22 17:42:13 kubernetes-master-0 systemd[1]<EMAIL_ADDRESS>holdoff time over, scheduling restart.
May 22 17:42:13 kubernetes-master-0 systemd[1]: Stopping Kubernetes API Server...
May 22 17:42:13 kubernetes-master-0 systemd[1]: Starting Kubernetes API Server...
May 22 17:42:13 kubernetes-master-0 systemd[1]: Failed to load environment files: No such file or directory

Probably going to stop here for now and await response, thanks so much for the help!

Also, I wouldn't mind diving in myself if you all have an idea of where to start?  I'm new to a lot of things but might be able to help out with a pointer in the right direction?
Again, thanks for the time and the effort to set up this repo!

@nnnnathann your best bet is to take the corekube-rackconnect-v3.yaml (https://github.com/metral/corekube/blob/master/corekube-rackconnect-v3.yaml) and adapt it to model the corekube-cloudservers.yaml (https://github.com/metral/corekube/blob/master/corekube-cloudservers.yaml) as closely as possible. come to think of it, given that there are extra network interfaces on public cloud, the yaml file for rackconnect will probably resemble that of OnMetal (https://github.com/metral/corekube/blob/master/corekube-onmetal.yaml).
I'd start on that path and see how far it gets you. Unfortunately, I can't be of much help for RackConnect as I don't have an account to use in that environment but I can provide feedback & guidance if needed.
Please keep us posted

Hi, sorry i wasnt available last week,
I will update the template tonight/tomorrow
Regards
Le 26 mai 2015 6:24 PM, "Mike Metral"<EMAIL_ADDRESS>a écrit :

@nnnnathann https://github.com/nnnnathann your best bet is to take the
corekube-rackconnect-v3.yaml (
https://github.com/metral/corekube/blob/master/corekube-rackconnect-v3.yaml)
and adapt it to model the corekube-cloudservers.yaml (
https://github.com/metral/corekube/blob/master/corekube-cloudservers.yaml)
as closely as possible. come to think of it, given that there are extra
network interfaces on public cloud, the yaml file for rackconnect will
probably resemble that of OnMetal (
https://github.com/metral/corekube/blob/master/corekube-onmetal.yaml).
I'd start on that path and see how far it gets you. Unfortunately, I can't
be of much help for RackConnect as I don't have an account to use in that
environment but I can provide feedback & guidance if needed.
Please keep us posted
—
Reply to this email directly or view it on GitHub
https://github.com/metral/corekube/issues/15#issuecomment-105588940.

I've release a updated version of the heat file but i can't test it right now, if you want to try :
https://github.com/cedbossneo/corekube/tree/heat_file_rc3

It appears to have worked!
Thank you both.

closing due to the issue being resolved

No big deal, but I think this is not resolved technically until the aforementioned rackconnect heat file is merged?
https://github.com/cedbossneo/corekube/blob/update-heat-file/corekube-rackconnect-v3.yaml
Thanks everyone

@nnnnathann it was merged yesterday: https://github.com/metral/corekube/pull/17

ha, nope, I'll see myself out.  thanks again

Haha no worries. Please let us know if you encounter any other issues with
Corekube
On Friday, May 29, 2015, Nathan Bleigh<EMAIL_ADDRESS>wrote:

ha, nope, I'll see myself out. thanks again
[image: homer]
https://camo.githubusercontent.com/cc27c7512bc3fbd407e67611527c985a2adc0131/687474703a2f2f6d65646961302e67697068792e636f6d2f6d656469612f34704d5835724a34505941454d2f67697068792e676966
—
Reply to this email directly or view it on GitHub
https://github.com/metral/corekube/issues/15#issuecomment-106834756.

--
-Mike Metral


Truncate typeahead results when there is not enough space

When the screen is too small the typeahead results wrap making it really hard to read.

We could truncate the results based on the terminal width so that they always fit

NOTE: Git does a similar thing

I agree this would be nice to have. Although I like the git output better (with .../path instead of ...ath)
How do we plan to show that pattern is matched in a stripped part? I think highlighting the ... would be sufficient here.

@thymikee While I think that highlighting ... is better than not highlighting it at all I think this could be done better. Why not starting from the highlighted part and then truncate in the middle? (I was thinking about truncating the end but the filename should always be visible in my opinion.)
Is it feasible to have something like this: .../src/crawlers/.../__tests__/watchman-test.js? This would increase the effort to implement it but the result would be way better


feature/mx-1381 rework database model

PR Context

to run: set MEX_IDENTITY_PROVIDER = "graph"

Changes

re-implemented queries as templated cql files
updated graph connector for new queries
improved isolation of neo4j dependency
improved documentation and code-readability

Removed

trashed hydration module

One general remark: please add your changes to the changelog.

done in c004b98

Tests fail locally, e.g. tests/extracted/test_main.py::test_search_extracted_items[full text search]. Looks like identifier and stableTargetId are somehow mixed up.

hm yeah, there were some test isolation issues, fixed those in 3fb35d5


Frequent crash with JDK17 and eclipse

Summary
Since I upgraded to JDK17, I have frequent and randomly crash when I modify a class in the eclipse IDE and press the save button or sometime when a breakpoint is reached.
I use the WildFly 26 application server

Steps to reproduce
Modify a class in eclipse and press the save button or sometime when a breakpoint is reached.

Expected results
No crash
Actual results
JVM crash frequently when I just change a Java class in eclipse with the message:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff9cb46d69a, pid=11320, tid=11768
JRE version: OpenJDK Runtime Environment Temurin-17.0.2+8 (17.0.2+8) (build 17.0.2+8)
Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.2+8 (17.0.2+8, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
Problematic frame:
V  [jvm.dll+0x79d69a]

Always with the same frame: [jvm.dll+0x79d69a]
Two example of crash log:
hs_err_pid11320.log
hs_err_pid12092.log
Triaging info
Java version:
openjdk version "17.0.2" 2022-01-18
OpenJDK Runtime Environment Temurin-17.0.2+8 (build 17.0.2+8)
OpenJDK 64-Bit Server VM Temurin-17.0.2+8 (build 17.0.2+8, mixed mode, sharing)

What is your operating system and platform?
Windows 10 21H2

How did you install Java?
I Used the zip version

Did it work before?
No problem with JDK11

Did you test with other Java versions?
I tested version 17.0.1 with the same problem

@SuperPat45 please try with the latest 17.0.3 and reopen this if the issue still persists.

The problem still persist:
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffd9c47e32a, pid=5692, tid=4324
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.3+7 (17.0.3+7) (build 17.0.3+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.3+7 (17.0.3+7, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# V  [jvm.dll+0x79e32a]

Are you able to send the hs_err log file from that latest failure?

There is the last two;
hs_err_pid_11284.log
hs_err_pid_5692.log


feat[next][dace]: Skeleton of GTIR DaCe backend

We introduce a new DaCe backend that translates a GTIR program to SDFG. GTIR is still sometimes referred to as Combined-IR and provides a fieldview representation of the GT4Py program. The GT4Py frontend is not ready to lower a GT4Py program to GTIR, so for now the unit tests use manually written GTIR programs as input.
The new DaCe backend is implemented in the package gt4py.next.program_processors.runners.dace_fieldview
This package provides, for now, the method build_sdfg_from_gtir to build the DaCe SDFG.
This PR introduces translation capability for the following GTIR types:ir.Program, ir.Stmt, ir.SetAt. And for the following new builtin functions: as_field_op and select.

cscs-ci run default

cscs-ci run default

cscs-ci run default

@egparedes I have now updated the PR with the change for unique map/tasklet names, which makes debugging the SDFG transformations easier.

cscs-ci run default


RatedShipment_BillingWeight minLength

minLength is set to 5, and UPS returns values that are shorter than 5.
For example:
      "BillingWeight": {
        "UnitOfMeasurement": {
          "Code": "LBS",
          "Description": "Pounds"
        },
        "Weight": "70.0"
      },

https://github.com/UPS-API/api-documentation/blob/4962e982cfca654bee7fbc4c9a0b80105cf480aa/Rating.yaml#L4561-L4578

Hi, thank you for your comment. We have pushed updated OpenAPI specs.


Deprecated: voku\helper\ASCII::to_ascii(): Implicitly marking parameter $replace_single_chars_only as nullable is deprecated, the explicit nullable type must be used instead in /Users/zx-studio/Herd/zx-studioweb/vendor/voku/portable-ascii/src/voku/helper/ASCII.php on line 795

What is this feature about (expected vs actual behaviour)?
Dont know why this error was coming i just upgraded the PHP version from php-8.1.10-nts-Win32-vs17-x64  to php-8.4.0-nts-Win32-vs17-x64  in laragon due to composer.json's platform dependency check
How can I reproduce it?
Simply Create a reactinertia-breeze app with laragon at php8.4 version
Does it take minutes, hours or days to fix?
The error goes away when PHP version is downgraded to php-8.3.14-nts-Win32-vs17-x64
Any additional information?

This was fixed in 2.0.2 so if you update it'll fix.
(If you explicitly passed null it'll break however due to it now expecting a bool only. See the 105 PR)
https://github.com/voku/portable-ascii/pull/105

@gilbertoalbino  Ok Thanks


accept self-signed certificates.. harder

modifies the powershell launcher to accept self-signed certificates on windows 2012 server. The original code did not work on my testmachine - It just waited forever for a GET request.
Please verify this as I have minimal powershell knowledge - I copy pasted this from AndOs' answer here: https://stackoverflow.com/questions/11696944/powershell-v3-invoke-webrequest-https-error
I think this is the same problem as seen here: https://github.com/byt3bl33d3r/CrackMapExec/issues/104

I've encountered this issue on some systems as well. Will test asap before merging.
Cheers

Closing only because 4.1.0 will have a completely revamped C2 system not based on HTTP/S servers anymore.
Appreciate the time you put into this.


weight tying

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.

🔖 Feature description
weight tying which is implemented in nanogpt merges some layers near the final output layer
https://arxiv.org/abs/1608.05859
reduces # of trainable parameter's and increases quality
✔ Solution
https://arxiv.org/abs/1608.05859
❓ Alternatives
No response
📝 Additional Context
No response
Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this feature has not been requested yet.
[X] I have provided enough information for the maintainers to understand and evaluate this request.

May I ask if this is what you mean?
https://github.com/OpenAccess-AI-Collective/axolotl/blob/d4a88e4eca44240b531b64ec9373bb7ac06a1bbb/src/axolotl/utils/models.py#L359-L362
resize function calls tie_weights internally.

maybe it is.  the technique is kind of old.  So I would be surprised if it wasn't implemented by transformers... but I wasn't sure.  Thanks.

Closing this as completed. If there's anything missing, feel free to leave a comment.


fix(provider) add alias to Mail

Can PR has some weird commits, would u mind rebasing it with the current develop branch?

I send new PR.


Make sqllogictest python3.4 compatible

Our Jenkins slave are still on python3.4.
glob.glob(..., recursive=True) was added in python3.5.
This commit replaces the glob usage with pathlib which is available in
py34 as well.

@bogensberger please review

Current coverage is 81.08% (diff: 100%)

Merging #4445 into master will decrease coverage by 0.15%

@@             master      #4445   diff @@
==========================================
  Files          1304       1304
  Lines         44214      44214
  Methods           0          0
  Messages          0          0
  Branches       7042       7042
==========================================
- Hits          35918      35850    -68
- Misses         5613       5669    +56
- Partials       2683       2695    +12

Powered by Codecov. Last update 33ad67f...e0d8f22


Fix/palette spelling

I cant spell... pallet is also a word and spell check did not save me. Oh well here is a large pr to fix it. Sorry everyone for the deprecation.
BREAKING CHANGE: Renamed pallet to correct spelling palette
Fixes: #106

Please, make a pinned issue with all the breaking changes listed and do not suddenly remove old APIs, but add a warning (with notify or something like that) with a deprecated notice like other plugins do. I just spent 1 hour or more figuring out this issue.
Anyway, thanks for your work on this theme, it's awesome.

There is a check that prints a deprecation warning on first load here. Did this not show up for you?

Oh, I definitely must have missed that! May I suggest to use vim.notify like nvim-tree and LSP?
https://github.com/neovim/neovim/blob/c5720c72213810adb75d3277ac645eb6fc8dafa8/runtime/lua/vim/lsp.lua#L1092-L1098
It is more visible than nvim_echo and more appropriate for this use case IMO. Also, I love when plugins provide a pinned issue with breaking changes: https://github.com/hrsh7th/nvim-cmp/issues/231 because that way people can subscribe to them.
Btw, this is a different issue but speaking of spelling, I think it is deprecation not deprication:) - https://github.com/EdenEast/nightfox.nvim/blob/63a8eb6/lua/nightfox/util/deprication.lua
Sorry for the off-topic.


Used with construct to handle files open/close.

Also, changed shebang line to let env find python3 executable.
Signed-off-by: Shubham Bhattar<EMAIL_ADDRESS>

@ksatchit Can you add the summerhack label here?
On Wed, May 30, 2018, 11:50 Karthik Satchitanand<EMAIL_ADDRESS>wrote:

Merged #56 https://github.com/openebs/litmus/pull/56.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openebs/litmus/pull/56#event-1652724234, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AKlSaqCal8Awgd5IFmNxHB88aOYy1g5Yks5t3jo7gaJpZM4USEfx
.


Closes #42 - loosen aws-sdk

Description
Loosen the AWS-sdk dependency so that duplications don't occur between other libraries that may also rely on AWS-sdk, or a local dependency.
Motivation and Context
In a project I am working on, we depended on a more recent version of AWS-sdk, but this library was using its own version, so that it can use the same major version, we should loosen the dependency.
Types of changes

Bug fix (non-breaking change which fixes an issue)

Thanks


Cannot connect to remote node

I have a node.conf configured to find my tls.cert and readonly.macaroon with the correct server address, but I still cannot connect. I get this error:
Traceback (most recent call last):
  File "/home/david/Workspace/lndpytools/nodeinterface.py", line 210, in <module>
    print('Connected to node', ni.getAlias())
  File "/home/david/Workspace/lndpytools/nodeinterface.py", line 190, in getAlias
    return self.GetInfo().alias
  File "/home/david/Workspace/lndpytools/nodeinterface.py", line 45, in rpcCommand
    return stubfunc(lnfunc(*args, **kwargs))
  File "/home/david/.local/lib/python3.10/site-packages/grpc/_channel.py", line 946, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/home/david/.local/lib/python3.10/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
    raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
        status = StatusCode.UNAVAILABLE
        details = "failed to connect to all addresses"
        debug_error_string = "{"created":"@1649818912.783105054","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":3128,"referenced_errors":[{"created":"@1649818912.783104544","description":"failed to connect to all addresses","file":"src/core/lib/transport/error_utils.cc","file_line":163,"grpc_status":14}]}"
>

I have rpclisten=<IP_ADDRESS>:10009 set in the lnd.conf. Can you give me a suggestion on how to debug this?

I have tlsextraip=<IP_ADDRESS> set as well. I'm on version v0.14.2-beta of LND.

I'm on LND 0.14.1, so it could be the RPC files.
Is <IP_ADDRESS> valid in TLS? Usually you want that value set the same as the server IP in the configuration file.

I have just pushed the new RPC files. Run git pull and see if you still have the same issue.

I still had the same issue. Let me try to regenerate my tls.cert.

I set tlsextradomain and tlsextraip and the connection works now. Thank you!
I regenerated the tls.cert by deleting the tls.cert and tls.key and restarting LND. That's the only way I know how to apply the new settings. There is probably a way without stopping LND.


default sequence length to 0 if None during effect ordering

Fixes https://github.com/openvax/varcode/issues/239

Coverage decreased (-0.06%) to 87.931% when pulling 1c4d83fb50c83286f0fcb929ce91d7774cecd59c on fix-effect-ordering-with-empty-sequence into baafe5ed0f4a8183fa9c262717e4225b7ad84277 on master.


Search improvement

IMHO it would be more user friendly if button "Search" will be addded.
Now the search is starting when search field lost focus and every time we change something in filters.
It would be easier to set filters to desired options and then run search. As it is now, we generate unnecessery search queries in beetween...

Of source It was in the meantime implemented, but most often you don't know what you are looking for... so when results are displayed immediately (performance is good enough), it is a chance, that you will see what we looking for more quickly.
Let's vote, from me: -1


feat(data-table): pass row to display function

This will allow display usage to use the whole object for use with computed values, or when needing multiple fields to show more than one element (like "item actions" that might need more than one field, for instance).

Can you update the JSDoc types in DataTable.svelte (Lines 5, 6, 10) and run yarn build:docs?

According to the docs, only line 10 needs update: the "display" method receives the row object only for cells, not headers, am I right?
Just rebased & pushed an update

I believe that the display is reflected in the DataTableNonEmptyHeader and DataTableEmptyHeader interfaces.
When testing the types, I see this:

Repro: try using row in the type test for DataTable: https://github.com/carbon-design-system/carbon-components-svelte/blob/aae2dd42aa6b9b69fe7864564d23e8a823f6e340/tests/DataTable.test.svelte#L179

I don't see a reason to make this change on headers: row object should not be accessible when displaying headers 🤔
This means two things:

The row object should be nullable for headers, and non-null for rows, I don't know how to do that
The display function is overriden from the headers object, that's probably the cause of these typing issues:
https://github.com/carbon-design-system/carbon-components-svelte/blob/aae2dd42aa6b9b69fe7864564d23e8a823f6e340/src/DataTable/DataTable.svelte#L200-L204

I think we should change the behavior for that.
I just pushed a fix to add row?: ... to header-related display functions, and kept row: ... for cell-related.
I'm not sure the rest of the PR is okay, feel free to make more comments 👌

Thank you @metonym !

Released in v0.81.0


Feature/rebranding

[x] Replace asil URL(just replace duckduckgo.com with asil.co) in Learn more in web tracking protection
[x] Replace asil URL (just replace duckduckgo.com with asil.co) in Learn more in global privacy control
[x] Remove Email protection BETA
[x] Rebrand Cookie Pop-up Protection  and also repalce asil.co link in the learnmore
[x] Replace Learn more url in App Tracking protection and also need to replace one image in Who sees your data screen in the Enble process of App Tracking protection
[x] Rebrand settings -> about and also replace asil.co link in the help pages
[x] Fix build issue for deprecated dagger library

@asifddlks Hi, did you test the branch if you do I will approve brother, thank you.

I have tested on my side brother. You can test with different build variant brother. That will be great.

@asifddlks Hi, on development branch di version is 2.48.1 and works fine but this branch throwing build time error. Do you work with PC or Mac?

On MAC brother. Please go ahead if dagger 2.48.1 works work for you. On my side I faced same issue and it killed a huge time to find the culprit (dagger version 🥹).

@asifddlks That's odd.

I had issues with "VpnOnboardingActivity". Whenever I tried to change the "FAQ_WEBSITE" value from DuckDuckGo to Asil url the build issue appeared. I found out that issue is for dagger version. So I changed it.

@asifddlks I am facing the same issue, this was happening but when I faced this issue just rebuilding was solving the problem. Now it's not building at all.

Also I have tried with clean and rebuild. Didn't worked.
And of course I pulled the development branch before making pull request. You can check rebrand branch has the commit from development.

@asifddlks Okay brother need to solve this issue, I will let you know when it's done.

I will check again tomorrow Insh'Allah. Will sit with you if it needs to resolve building issue on your machine brother.


Fix doc generation on python35

There's a regression on python35 where the final parts of the
document aren't parsed unless you call close.
Looks like there's a fix for this here:
https://bugs.python.org/issue23144 but this won't be available
until at least 3.5.1.
Either way, calling close() should work going forward even once
the original behavior is fixed.
I did verify that it's ok to re-use the parser after you call
close().
cc @kyleknap @mtdowling @rayluo @JordonPhillips

:ship:

:boat:


Add remindme command to VileBot

Adds the ability to vilebot to send a reminder. Call the command with !remindme  <time_in_minutes>

Woops, missed the merge :)

Fixes #84


Importing PNG/SVG from node_modules failing

What version of Remix are you using?
1.1.3
Steps to Reproduce

Install uswds NPM module
In app/routes/index.tsx, import an image with import img from 'uswds/img/circle-124.png' and put on the page with <img src={img} alt="" />
Run dev server npm run dev and load up the page.

Expected Behavior
Circle image should be displayed
Actual Behavior
I get the following error:
C:\Users\jkjustjoshing\Documents\myrepo\node_modules\uswds\dist\img\circle-124.png:1
�PNG

SyntaxError: Invalid or unexpected token
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1031:15)
    at Module._compile (node:internal/modules/cjs/loader:1065:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (C:\Users\jkjustjoshing\Documents\myrepo\build\index.js:446:36)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)

Additional reproduction - https://codesandbox.io/s/gallant-satoshi-mhrnz?file=/app/routes/index.tsx

I believe what we want is to essentially "bundle" any file extension we support loaders for. Essentially this: https://github.com/remix-run/remix/blob/dev/packages/remix-dev/compiler/plugins/serverBareModulesPlugin.ts#L46
I believe these are being "externalized" currently and for assets I'm not sure what that means for the output bundle.

Still reproducible with 1.11.1

The serverBareModulesPlugin.ts link above is broken. https://github.com/remix-run/remix/blob/212f17cfd4f51df27a23575273828f30c1d072d3/packages/remix-dev/compiler/plugins/serverBareModulesPlugin.ts is a more recent version of the relevant module.

@augustskare here's a PR doing what you want, but for CSV files: https://github.com/remix-run/remix/pull/3920/files
This + patch-package should lead you to a workaround until proper support gets added

@machour Not sure I understand what to do. .svg is already set up using the "file" loader https://github.com/kayac-chang/remix/blob/main/packages/remix-dev/compiler/loaders.ts#L25

@augustskare Remix only imports assets from inside the /app folder.
import imgPath from '~/assets/image.png'

I don't believe you can import an image directly from node_modules. You may need to copy those images to your app folder.

I guess that's why my current workaround works:
import svgPath from "~/../node_modules/path/to/svg.svg";

Found a better workaround! ✨ Adding the package to the serverDependenciesToBundle array (in Remix config) solved the issue for me

@augustskare Thank you SO much for this issue/thread. It is quite ugly, but importing the SVG file with a relative path going into the node_modules folder did the trick for me 👍

Definitely still broken in 1.18.1.

Fixed by #6813


Create LICENSE

Adds Sentry's default license of choice: Apache 2.0
see: https://open.sentry.io/licensing/#the-three-we-use

@eliatcodecov should this be merged?

I probably didn't have merge permissions when I approved this, but merged now :)


Unable to change the slider position dynamically via setState

The initial position of SlidableButton is set to "left". After some async operation, I am setting the initial position value to "right". The code is getting called after setState however the slider position is still the same i.e. "left". Kindly help.....

I have the same problem, initialPosition is not always evaluated. Have you found some solution? Thanks!

@Charita-Ramaswamy @vicasystem
It's caused I didn't override didUpdateWidget to update controller value if initialPosition changed. As you know that initial is initial, it's just first time position while widgets are being built.
To evaluated the position state you need to use controller then update the value of the controller to either 0.0 or 1.0.
But if you still need to rebuild widget with new initial position without controller, I will update soon as your needs. Thank you for your feedback!


Project 3 (Standards & Patterns)

According to my understanding in this project we pick up where we left off using Azure, I currently do not have a full understanding of how should I tackle the project but as time goes by I will research and information under my description panel.


Docker executable not found in Windows 10

When trying to execute a JUnit 5 test using the LocalstackDockerExtension, I'm getting an IllegalStateException with the message "Cannot find docker executable."
I've been debugging the issue and found that DockerExe class has a constant (POSSIBLE_EXE_LOCATIONS) with the possible locations to find the executable. It contain 3 possible paths:

"C:/program files/docker/docker/resources/bin/docker.exe"
"/usr/local/bin/docker"
"/usr/bin/docker"

However, neither of them matches the path of my docker executable. I've recently installed docker and the executable is in:

"C:\ProgramData\DockerDesktop\version-bin\docker.exe"

... this is not the real location, but a simbolinc link... the actual location is:

"C:\Program Files\Docker\Docker\resources\docker.exe"

Additional information:
The change of location is probably a recent change in Docker. I've even found a recent bug in docker <IP_ADDRESS> related to this change: https://github.com/docker/for-win/issues/7898
Possible solution/improvement:
I guess the constant should be updated with the new path ("C:\Program Files\Docker\Docker\resources\docker.exe").

By the way, in case it might be useful, in the meantime I've found to make it work creating a simbolic link:
mklink "C:/program files/docker/docker/resources/bin/docker.exe" "C:\ProgramData\DockerDesktop\version-bin\docker.exe"

Many thanks for reporting this issue and contributing a fix @jorgenota ! A new version 0.2.6 of the Java libs has now been released to Maven Central. 👍

Many thanks for reporting this issue and contributing a fix @jorgenota ! A new version 0.2.6 of the Java libs has now been released to Maven Central. 👍


[FLINK-6555] [futures] Generalize ConjunctFuture to return results

The ConjunctFuture now returns the set of values of the individual futures it is composed of once it is completed.

You're right with the thread safety. I will change it. I will introduce a WaitingFuture which will simply wait on the completion of all its futures and discard all future values, thus, returning null as a result.

Updated the PR to incorporate the PR review. Thanks for the review @StephanEwen.


If do npm install, will get a bug. If do yarn install, it will not occur.

Describe the bug
A clear and concise description of what the bug is.
when I npm install and npm run serve
I see the message.
tui-editor-Editor.js?547e:6732 Uncaught TypeError: Cannot read property 'msie' of undefined
But when i yarn install and npm run serve
it works.
I use vue-cli
and my package.json is like this.
{
  "name": "front-end",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "test:unit": "vue-cli-service test:unit"
  },
  "dependencies": {
    "@johmun/vue-tags-input": "^2.1.0",
    "@scenejs/effects": "^1.0.1",
    "@toast-ui/vue-editor": "^1.1.1",
    "core-js": "^3.4.3",
    "email-validator": "^2.0.4",
    "fxjs2": "^0.15.0",
    "http-proxy-middleware": "^0.20.0",
    "marked": "^0.8.0",
    "scenejs": "^1.1.5",
    "vue": "^2.6.10",
    "vue-markdown": "^2.2.4",
    "vue-router": "^3.1.3",
    "vue-scenejs": "^1.1.0",
    "vue-sweetalert2": "^2.1.5",
    "vuex": "^3.1.2"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "^4.1.0",
    "@vue/cli-plugin-router": "^4.1.0",
    "@vue/cli-plugin-unit-mocha": "^4.1.0",
    "@vue/cli-plugin-vuex": "^4.1.0",
    "@vue/cli-service": "^4.1.0",
    "@vue/test-utils": "1.0.0-beta.29",
    "chai": "^4.1.2",
    "vue-template-compiler": "^2.6.10"
  }
}

OS : window10
browser : chrome

@wnghdcjfe Sorry for the late check.
The error message is about the tui-code-snippet dependency used by the editor, which seems to be a problem with this dependency. Can you check if it is installed in node_modules folder when you installed with npm install?

I would also appreciate it if you could tell me the node.js and npm versions.


DataFrame doesn't collect via GC

Hey! I'm making web socket server with broadcasting.
I have constant count of connections (for example 500, separate for room by 30 users). One user sends to the server message, server broadcast to another in the same room.
And after a stress test I'm looking up some way to resolve issue: GC doesn't collect DataFrame object. I tried to turn on Server GC but result still the same, DataFrame objects still grows. I tried to make debug field "false"...

You can view the DataFrame number of session in Session.Count property. or using DebugDiag tools dump appliation memory ,analysis GC memory.

You can view the DataFrame number of session in Session. Count property. or using DebugDiag tools dump application memory, analysis GC memory.
yeah, I got it: "ConcurrentQueue mSendMessages" is growing up and does not have time to dequeue. Maybe you have some example of broadcasting case?

This situation may be when the physical network is disconnected, but does not respond to the socket sending the completed event, causing the message to remain in the queue, and you can release the session.
https://github.com/IKende/FastHttpApi/tree/master/samples/HttpApiServer.SimpleChatRoom


HTTP proxies in the list

There are proxies in the list which are http only, and I am assuming they get skipped.
It's better to ignore the http proxies or add support for them so that they are not skipped.

Ok now all elements in the list are SSL. All I did was change to the SSL version of the site. Hence the different URL now in proxy_requests.py. Thanks for mentioning that... I had forgotten


⚠ Bofrost.de has degraded performance

In add2a74, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 919 ms

Resolved: Bofrost.de performance has improved in 899daa9 after 31 minutes.


ANDRO data

I took a peek at the ANDRO data file ANDRO-91950.dat. Here are the first 4 rows:
$ head -n 4 ANDRO-91950.dat
-999.9999 -99.9999 1056.7   4.123 -99.999 -9999.999 -999.99 -999.99 -999.99 -999.99  -14.3115  -7.5940  1537.610  -27.50  -44.39 -999.99 -999.99 -999.9999 -99.9999 -9999.999 -999.99 -999.99 -999.99 -999.99 -999.9999 -99.9999 -9999.999  -14.3040  -7.5820  1537.575  -14.3360  -7.6670  1537.999     3 1900263   1   1
 -14.3830  -7.7475 1047.9   4.162 -99.999  1542.762   -1.26   -2.16 -999.99 -999.99  -14.4377  -7.8190  1547.576  -42.73  -15.75   28.72   48.14  -14.4565  -7.8205  1547.945    5.50  -20.37 -999.99 -999.99  -14.3360  -7.6670  1537.999  -14.4300  -7.8280  1547.526  -14.4550  -7.8260  1547.980     5 1900263   2   2
 -14.4295  -7.8200 1041.3   4.209 -99.999  1552.838    0.67    0.16 -999.99 -999.99 -999.9999 -99.9999 -9999.999 -999.99 -999.99 -999.99 -999.99  -14.4275  -7.7815  1557.995    9.32   -1.88 -999.99 -999.99  -14.4550  -7.8260  1547.980  -14.4040  -7.8140  1557.696  -14.4250  -7.7820  1558.029     3 1900263   3   3
 -14.5445  -7.9240 1039.2   4.189 -99.999  1562.824   -3.18   -3.79    0.03    0.21  -14.6670  -8.0585  1567.653  -11.03   27.84 -999.99 -999.99  -14.7170  -8.0360  1567.977  -25.80   14.89 -999.99 -999.99  -14.4250  -7.7820  1558.029  -14.6640  -8.0660  1567.618  -14.7240  -8.0320  1568.012     4 1900263   4   4

The data are column-delimited (see how the columns align across rows), but it looks like it can also be read as space-delimited. I'll try to read, and look at the data document, over the weekend.

This Pandas statement will read all the columns and assign them an incremental integer column header name, base 0 (ie, 0, 1, 2, ...)
df = pd.read_csv("ANDRO-91950.dat", sep='\s+', header=None, nrows=10)

To read only a set of columns based on their column index (position), again base 0:
col_idx = [0,1,5,35,36]
df = pd.read_csv("ANDRO-91950.dat", sep='\s+', header=None, nrows=10)[col_idx]

You can then use df.rename() to assign the final column names:
df.rename(columns={0:"x", 1:"y", 5:"z", 35:"a", 36:"b"}, inplace=True)

That should be all you need! And remember to remove the nrows argument once you're ready to read all the data.

Wow, I was very much so over-complicating this. I had elements of each step in my code, but had not quite figured out how to get them all to work so simplistically (I think my downfall was trying to split an already existing column into separate columns that represented each element of all the rows after reading the file). I was having a hard time finding the answer online too, but perhaps I wasn't asking the right questions.
Thank you so much! All the data is working now.

Wonderful! Live and learn :smile:


ci: add github actions

fix #1
I didn't include the automatic deployment of the doc, as I think it's better to let dune release take care of it.

Thank you for the contribution 🤝  @Khady


[WFCORE-4196] SNICombinedWithALPNTestCase fails with IBM JDK

https://issues.jboss.org/browse/WFCORE-4196
I've left this PR with two separate commits as I think it makes sense in this case. Although, I can squash them together if required.

Looks good to me, will see what the test results show but accessing the system properties have the potential to be an issue with the security manager,

@darranl, thank you for review. I've just tried locally executing just this one test with security manager and it passed:
mvn install -Dtest=SNICombinedWithALPNTestCase -Dsecurity.manager -DfailIfNoTests=false

do you think it is a sufficient check?
Also, regarding to the CI runs - I don't think those two failed tests are related to changes in this PR.


Support for building macOS universal binaries?

Hi, does this crate support dual ARM64/x86_64 binaries for macOS Big Sur, using the aarch64-apple-darwin and x86_64-apple-darwin targets?

I've used it for M1 + intel builds, seems to work OK!
You do have to take care if you're building 1 rust library for iOS & macOS since it builds to same path. You also can't have a single static lib with all archs.

I've used it for M1 + intel builds, seems to work OK!
You do have to take care if you're building 1 rust library for iOS & macOS since it builds to same path. You also can't have a single static lib with all archs.

Thing is, this only builds staticlibs, but with macOS, you'll mainly be building executables.


Cropper.prepare raises an exception when one rectangle does not overlap the ROI

Depending on the input, some images might not overlap the largest internal rectangle (see example).
Cropper.prepare raises an exception, but it would be more desirable to just ignore non-overlapping rectangles, or return their indices so that they can be removed as when subsetting to the largest component of the graph.

Thanks for reporting the issue! I was not aware of that.

another use case with images which can be used to test:
StitchingError: Rectangles do not overlap!
https://github.com/OpenStitching/stitching/discussions/172#discussioncomment-7593776


feat: shorten_steps

Describe the feature request
Is it possible that after bridge , it does not need to claim in the destination chain?
( no claim & transaction on the destination)
Describe alternatives you've considered
Description of the alternatives you've considered here.
Additional context
Additional context here.

this is a design feature because we want users to be able to claim transactions on their own without needing to rely on any intermediary (such as the relayer), so it's not really possible. i will close the issue for now but can re-open it if you still have questions and/or a feature request.


@types instead of typings.json

(ﾉ◕ヮ◕)ﾉ ,｡･::♪･ﾟ’｡+ﾟ☆
Typings project will remain operational for the foreseeable future, but is effectively deprecated. New projects should use @types from NPM.

Coverage remained the same at 97.093% when pulling 8e007a3149163020fa858f46c97d41d426b70070 on frooeyzanny:types-instead-of-typings into e86fe6d957c0e3a834f18789f5b718f32d992881 on router-async:master.

@frooeyzanny thx 👍


Unify All System Calls in SafePOSIX

Currently we have some system calls in SafePOSIX, but others have end points in NaCl.
We'd like to have all systemcalls pass through to SafePOSIX regardless.
A good starting point is to find which Syscalls aren't implemented in SafePOSIX currently.

I've assigned @liuchang513 to help with this task. Kaitlyn, when the wiki issue is completed and you feel comfortable enough with Lind to start working on the project, this is where you should start. You can refer to Jonathan for advice here as he's started some work on this.

[ ] getgid()
[ ] getegid()
[ ] getuid()
[ ] geteuid()
[ ] setgid()
[ ] setregid()
[ ] setuid()
[ ] setreuid()
Here are some easy ones that I can think of off the top of my head, the get ones should probably be easiest, so working on those fist is probably best.

As discussed in the meeting today here is the code for the glibc getuid. There are similar files for geteuid, getgid, and getegid. Let's test these syscalls further to confirm what we're seeing in the code here.


Add Person and Recognition with 'custom images/video' instead of camera

Hi
I have set of images which needs to trained for which I need to provide these as input to 'Add Person'
Currently its using camera Frames
I also have a set of images which needs to be recognized of training.
Currently its using camera Frames
Is there any way we can achieve the above task in this app, ie using custom images for training and recognition instead of using camera frames

Hi @ashokbugude
You can just work with the folders in /sdcard/Pictures/facerecognition/training

Add a unique folder name
Paste face images into it

The images, where the face cannot be detected will be skipped. So if you add for example 20 images, but the face can only be detected in 15 of them, only 15 images will be used for training.
The same can be done for recognition, if you use the Test function and add test images to the folder sdcard/Pictures/facerecognition/test
Regards,
Michael

Hi Michael,
Thanks for your response,
Could you please clarify a doubt of mine.
When we use camera for detecting/Add Person, the new folder get created in '/sdcard/Pictures/facerecognition/training' with cropped images of faces
But
When I create folders manually , the images are not cropped with faces
So when I do the training at this point of time, would the training be done for entire image ?
OR
Face if detected from the uncropped images be cropped automatically and then used for training ?
Would it give the same results in both cases ?
Regards
Ashok

It will try to detect the face in the uncropped image amd if detected use only the cropped image.
The results should be the same but it will be a bit slower due to the bigger images.
However you could save the images after cropping with the Filehelper function as done for debugging purposes (similar to /sdcard/Pictures/facerecognition/data/preprocessedImage.png)

Thanks for the response
Can I please know the difference between reference and deviation folders in test folder ?
Should I place the custom images for testing in reference or deviation folder ?

@sladomic Thanks for your response,
I ran the recognition view , it completed and displayed 95% as message.
Can I know the following
How we get to know the name of the person detected in each image like it shows in Recognition view
and how do we validate if the detected person name was right

Hi @ashokbugude
key_maximun_camera_view_width and key_maximun_camera_view_height have no effect for the Training or Test functions (only for Add Person and Recognition)
Do we need to keep in mind of image dimensions while providing the custom as inputs?

Yes, the images should ideally be bigger than N x N, since you will detect a face in it, crop the image and resize it to N x N (in the preprocessing recognition). So if the image is already very small (e.g. 150 x 150) and the face is only 40 x 40 but you resize it to 160 x 160, you loose a lot of information

Also does the results file print more than 1 persons names if it detects more than 1 person in an image ?

If more than 1 person is detected in the image, this image is skipped (if (images == null || images.size() > 1))

@sladomic Thanks for your response.
I found few issues while detecting face from custom images and from camera source as well.
Face is not detected from image if

The face is tilted slightly sidewards or upwards/downwards
Camera is put at an angle from the face
The distance between camera and face is more than 'one arm' distance.

Can I please know how can these issues be resolved

Hi @ashokbugude
There are several ways of improving the detection, but you need to keep in mind, that for example for Eigenfaces the face should be frontal and aligned to get the best results.
That's why we eliminate a lot of images, where we are not 100% sure, that the face is frontal aligned:

Eliminate image if more than 1 face has been detected
Eliminate image if the left eye couldn't be detected in the right half (and vice-versa)

The Viola-Jones algorithm, which is used here (OpenCV detectMultiScale function with Haar classifier) is of course a very old algorithm.  The scope of our work was face recognition, that's the reason we didn't focus on improving face detection.
To answer your questions:

If you disable eye detection, it detects more faces, but then the image cannot be eye aligned
Similar to 1.
Try to play with the parameters of the detection https://stackoverflow.com/a/20805153

Thanks , I shall try the above ways
I am using TensorFlow algorithm (100 % accuracy one )
The need was actually to resolve the above 3 issues for recognition. Sorry for using the word detection earlier
If we train images with frontal face only as it's existing now, it's not recognizing 'angular camera' , 'tilted face' and 'face at a distance'.
For these 3 things to get recognized , do we need to do training of images with angular camera' , 'tilted face' and face at a distance?
So if we improve the detection ,does it improve the recognition as well OR are there any other ways to improve the recognition irrespective of whatever the detection(frontal currently) may be,


translation question

Hello, how can I write my own translation converter? I need to convert English devices such as Light into Chinese lights, but I don't see the configuration file that can be converted in the document.

I think you asking about entities names. There is no way to write translation. You can write your own converter with your own entities names.

Not only the entity name, but also some states and options, such as warm 制热 and cool 制冷

Standard entities states must be translated by Hass.

标准实体状态必须由 Hass 翻译。

Can't I translate these projects into Chinese? If renaming is used to solve the problem, it will be very troublesome for users who have a large number of sensors.

标准实体状态必须由 Hass 翻译。

我不能把这些项目翻译成中文吗？如果通过重命名来解决这个问题，对于拥有大量传感器的用户来说会很麻烦。

It turns out that everyone has the same problem.


[Feature Request] If it possible to change the way to save object references?

I want to save some like costome changer to a prefab but missing references.
Is there exist way to make it into prefab?

You cannot reference something that does not exist in a prefab. If you want to do that, save the avatar, including the outfit, as a prefab.


update README for PMLB2

For PMLB2.0, we are capturing metadata in metadata.yaml and summary stats in a csv file. So, the readme is now free to present other info. Brainstorming what would be useful in there:

[ ] links to the metadata and summary data
[ ] plot of distribution of target
[ ] some summary info, like rows, cols, nclasses
[ ] for appropriately sized datasets, pairwise plots of the columns would be nice, maybe for the top 10 features

Just some ideas

this work is now on the https://github.com/EpistasisLab/penn-ml-benchmarks/tree/readme_update_34 branch

we should move this to a github action so that newly added datasets have READMEs automatically generated.

This has been completed here.


Allow models to only store on gaia

Some models might not needed to be stored on the radiks server and developer still want to use the modelling feature of this library.
There could be a property on the model that it is private-only/not for collaboration.

That would require a lot of logic for querying data that is only stored in Gaia. You'd have to build different adapters for that. You could potentially use just some aspects of Radiks to define models and encrypt them, however, I'm not sure how much use you'd get out of Radiks at that point, vs. just building a lightweight library that allows you to do what you want.
You might want to check out this project I made that stores data in IndexedDB, and allows syncing through Gaia. That's probably more of what you want.

My use case are preferences, they don't need to be stored on any servers, just my storage so it works across my devices.

I see, that makes sense. I think Radiks would be a little overkill for that. You could write a pretty simple wrapper that just uses getFile and putFile with JSON.

My other use case would be drafts or private models. An API on the model savePrivatelyand findMyPrivateModels would be helpful here. Just to make my life easier :-)

Closing this now. For an implementation please see ModelExt in  https://github.com/openintents/app-center/blob/master/src/components/model.js


Implement support for XSETID (stream command)

Implement support for command XSETID in stream_mixin.py.
An internal command for replicating stream values..
Here is the Official documentation

Internal command, won't fix


Update zio, zio-streams, zio-test, ... to 1.0.10

Updates

dev.zio:zio
dev.zio:zio-streams
dev.zio:zio-test
dev.zio:zio-test-sbt

from 1.0.9 to 1.0.10.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

labels: library-update, semver-patch

Superseded by #43.


Feature request: AwaitableEvent

I have made AwaitableEvent because I need to wake up all awaiters by one event. I considered  AsyncAutoResetEvent etc. but did not fit. AwaitableEvent is simple but I think is useful if you just want to await a event.
Definitions: AwaitableEvent.cs, AwaitableEventInvoked.cs
User: ChatLogRepository.cs, ChatService.cs
My motivation in my case here using gRPC is that one RPC (Write) cannot write to another RPC (Subscribe) response stream of IAsyncEnumerable. When a object is written to server, the server should push the object to all subscription stream. But Invoking normal event does not work to trigger that because it is actually just calling methods. It have to be triggered via different mechanism.
I googled and found this post inspires me.
https://stackoverflow.com/questions/12858501/is-it-possible-to-await-an-event-instead-of-another-async-method
How do you think about this? I can make PR to your repository if you think it's useful. Or, if you know the other better ways, I would be glad to know. Thank you.

Hmm, I have been thinking about this. Maybe awaitable event is same as IAsyncEnumerable. Event is usually sequence, not one time. What I'm thinking about is how to generate IAsyncEnumerable sequence. This problem is out of AsyncEx, isn't it? (Perhaps it will be from C# 8 though)

Finally I removed AwaitableEvent and replaced it with new AsyncEnumerableEvent.cs. I feel this represents awaitable event well, and this is Ix-Async topic. I'm closing this feature request. Thank you.

Actually, I am planning something like an awaitable event, but I just realized I didn't have an issue for it. So I'm going to reopen this one.
Conceptually, events map best to IObservable, but there are some scenarios where awaiting events is useful.

Thank you for the comment. Finally (again), I removed AsyncEnumerableEvent and replace it with IObservable for the event sequence side. On the consumer side, IObservable.ToAsyncEnumerable() so that gRPC method can pull the sequence. I feel now they represents the concept well.
I have posted related question here, and concluded by myself with your comment.
https://stackoverflow.com/questions/52164953/generate-iasyncenumerable-representing-asynchronous-event

there are some scenarios where awaiting events is useful.

I'm interested in the scenarios.

@cactuaroid Writing TAP wrappers for EAP components is one that immediately comes to mind.

Some code I had lying around, not exactly the same as what you're talking about here, I think, but thought I would share anyways:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Apex.TaskUtilities {

    public class AsyncEvent {

        public delegate Task Handler(object sender);

        readonly object Sync = new object();
        readonly List<Handler> CallbackList = new List<Handler>();

        public void AddHandler(Handler callback) {
            if (null == callback) throw new NullReferenceException("callback is null");
            lock (Sync) CallbackList.Add(callback);
        }

        public void RemoveHandler(Handler callback) {
            if (null == callback) throw new NullReferenceException("callback is null");
            lock (Sync) CallbackList.Remove(callback);
        }

        public async Task InvokeSerialAsync(object sender) {
            var list = CopyInvocationListThreadSafe();
            foreach (var callback in list)
                await callback(sender).ConfigureAwait(false);
        }

        public async Task InvokeParallelAsync(Object sender) {
            var list = CopyInvocationListThreadSafe();
            var tasks = list.Select(c => c(sender));
            await Task.WhenAll(tasks).ConfigureAwait(false);
        }

        List<Handler> CopyInvocationListThreadSafe() {
            lock (Sync) {
                return CallbackList.ToList();
            }
        }
    }

    public class AsyncEvent<TEventArgs> {

        public delegate Task Handler(object sender, TEventArgs eventArgs);

        readonly object Sync = new object();
        readonly List<Handler> CallbackList = new List<Handler>();

        public void AddHandler(Handler callback) {
            if (null == callback) throw new NullReferenceException("callback is null");
            lock (Sync) CallbackList.Add(callback);
        }

        public void RemoveHandler(Handler callback) {
            if (null == callback) throw new NullReferenceException("callback is null");
            lock (Sync) CallbackList.Remove(callback);
        }

        public async Task InvokeSerialAsync(object sender, TEventArgs eventArgs) {
            var list = CopyInvocationListThreadSafe();
            foreach (var callback in list)
                await callback(sender, eventArgs).ConfigureAwait(false);
        }

        public async Task InvokeParallelAsync(Object sender, TEventArgs eventArgs) {
            var list = CopyInvocationListThreadSafe();
            var tasks = list.Select(c => c(sender, eventArgs));
            await Task.WhenAll(tasks).ConfigureAwait(false);
        }

        List<Handler> CopyInvocationListThreadSafe() {
            lock (Sync) {
                return CallbackList.ToList();
            }
        }
    }
}


Archive Abandoned Project?

Since this repo is no longer actively maintained (no real updates for 2+ years), I recommend archiving it. Theoretically nw-builder will replace anything useful this package may have contributed. Anything missing should be added as a feature request.
After archiving, this repo would still be readable for reference purposes. However, it'll be obvious that it's an abandoned project.

Per consensus, abandoned projects won't be archived.


Platform: Unified Remote and Mousepad

Add new platform Unified Remote using this custom integration.
Add a new mousepad element for use with this integration.

Keyboard support and basic default keys have been added in the 4.3.0 alpha.
For mouse support, I found this bit of code which can be called using the following command:
action: unified_remote.call
data:
  target: desktop
  remote_id: Relmtech.Basic Input
  action: delta
  extras:
    Values:
      - Value: 0
      - Value: 200
      - Value: 200

Core.Input is a better API to use.

Mousepad and ADB:
This article describes adb input events I can use.
adb shell input trackball press
adb shell input trackball roll {{ diffX }} {{ diffY }}

Released 4.3.0


International Data?

Is there any interest in expanding this to international (at least European) data?
I see that in paulbrejla/ferien-api-data there's a subfolder /de/, so it should be possible to add more data, but the API currently doesn't have a way to specify a country.
I would be interested in supplying data for other European countries, if there was a way to query that via the API. Instead of Bundesländer, other countries have departements or counties or other regions, or could at least have one general file for national holidays, but that shouldn't be a problem I guess?

Hi @Connum! I did not plan this yet but it should be pretty straightforward.
Feel free to create a PR for this, otherwise I will probably have time to look into this during the next weeks.
Cheers
Paul


Implemented a toast to display successful attempts to acknowledge alerts. Refactored alerts dashboard flyout to refresh its alerts table when alerts are acknowledged.

Signed-off-by: AWSHurneyt<EMAIL_ADDRESS>Description
Closed the original PR for this implementation.

Refactored AlertsDashboardFlyoutComponent::getBucketLevelGraphConditions to return a string with line breaks instead of an array of HTML elements.
Refactored alerts dashboard flyout to refresh its alerts table when alerts are acknowledged.
Implemented a toast to display successful attempts to acknowledge alerts.
Implemented unit tests for various helper methods.
Implemented integration tests for the alerts dashboard flyout.

Issues Resolved
#125
Check List

[x] New functionality includes testing.

[x] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

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

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

Codecov Report

Merging #160 (2adef8f) into main (b584932) will decrease coverage by 1.52%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #160      +/-   ##
==========================================
- Coverage   50.81%   49.29%   -1.53%
==========================================
  Files         200      202       +2
  Lines        4668     4861     +193
  Branches      594      601       +7
==========================================
+ Hits         2372     2396      +24
- Misses       2294     2463     +169
  Partials        2        2

Impacted Files
Coverage Δ

...gin/public/pages/Dashboard/containers/Dashboard.js
60.00% <0.00%> (-2.50%)
:arrow_down:

...-plugin/public/pages/Dashboard/utils/tableUtils.js
52.17% <0.00%> (ø)

...ypress/integration/alerts_dashboard_flyout_spec.js
0.00% <0.00%> (ø)

...youts/components/AlertsDashboardFlyoutComponent.js
0.77% <0.00%> (ø)

...lic/pages/Monitors/containers/Monitors/Monitors.js
94.37% <0.00%> (+0.07%)
:arrow_up:

...ublic/components/Flyout/flyouts/alertsDashboard.js
25.00% <0.00%> (+11.84%)
:arrow_up:

...rds-plugin/public/pages/Dashboard/utils/helpers.js
97.82% <0.00%> (+53.08%)
:arrow_up:

Continue to review full report at Codecov.

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


expect inside a doseq doesn't work as expected

If you write an expectation like the following, you expect each case in my-cases to be checked.
(doseq [case my-cases]
  (expect (handle case))

But a single source occurrence of expect redefs the same var on each iteration, so at the end it only has the result of the last iteration to run.
Instead of expanding to a def with a var-name generated at macro-expansion time, I think expanding to a call to clojure.core/intern with a var-name generated at runtime could solve this. Unfortunately I don't have the cljs familiarity to implement this in a cross-platform way. For clj, gensym should work, but I assume from 01c6633 that gensym isn't cljs-friendly.
A more sweeping change (perhaps populating an atom instead of defining vars) might lead to a simpler result, but would touch a lot more code.

Ran into a similar issue which essentially boils down to this:
(let [x 10]
  (expect 20 x))
(let [x 20]
  (expect 20 x))

When run, only one assertion statement is made (the last one) and the whole test passes.  I would have naively assumed that this would have resulted in two assertions running, the first failing and the second passing.  Essentially, the first "expect" is shadowed by the second, presumably because the form in the expect call is the same both times and therefore hashes to the same value and becomes the same function, as noted in the above comment.
This feels potentially dangerous (I was bit by it, leaving me quite confused for a while).  Ideally, this would work as I anticipated.  However, I know that expectations is of the philosophy that there should be only one assertion per test.  As an alternative, perhaps it could emit a warning or error out when re-defining an assertion that will shadow an existing assertion in the same namespace.

I haven't had time to look at this, but I'm not opposed to merging a PR if someone looks into a solution.

@duelinmarkers You might consider from-each to solve your problem:
(expect true
  (from-each [case my-cases]
    (handle case)))

@ghl3 I agree this is problematic in certain edges. Providing named tests via #82 will be a reasonable way to address this in the general case. I would be wary of changing the hashed ID of generated tests. Right now, if you reload a test namespace, tests that haven't changed won't generate new symbols, and Expectations tooling can assumes that after running a test and removing the ^:expectation metadata, that test will not get run again until the namespace is reloaded -- and that relies on reloading not generating (many) new symbols. Again #82 will solve that by side-stepping the hashed name generation completely, which will work better with tooling at large.
I'm going to close this and defer to from-each and/or named tests via #82.


Accessibility permissions request does not automatically appear

When first attempting to paste an item from the menu, I'm prompted to give Maccy accessibility permissions; however, Maccy does not automatically appear in the list of apps in System Preferences. I'm able to add it manually using the + button, but most apps that request permissions are usually already in the list and just need to be checked by the user.

macOS Catalina 10.15.6
Maccy 0.15.1

This is a known problem but I'm not sure how to work it around.

It might be useful to add instructions about how to manually add the app to give it the needed permissions in order to work... I've spent some minutes trying to find the app on the Accessibility apps list, and some more searching for a solution, which I just found here 😅

is this being looked at? its really getting annoyingly annoying

It is not at the moment.

It is not at the moment.

@p0deje any workaround meanwhile?

The workaround is to add Maccy to the list manually using + button. Are there any other workarounds?

thanks a ton @p0deje .
I was about to uninstall Maccy and look for alternatives.
Manually adding workaround saved it

calling https://developer.apple.com/documentation/applicationservices/1459186-axisprocesstrustedwithoptions on launch post installation should fix this right?

@thekaleidoscope It's being called, the problem is that sandboxed apps aren't added to the list automatically.

just search maccy, maybe can find it at donwloads parte....but even adding the feature does not work

Encountered this myself, adding my +

I've added GIF that shows how to add Maccy, hopefully it won't be a problem anymore.

Does this still work on Mac OS Ventura? I am not getting this to work with the new setting layout

It is not working on Ventura.
Even if I added it manually, it keep on asking for permission, rather than pasting.

@Dellu It could happen if you happen to have added a different version of Maccy (e.g. App Store or GitHub). Please remove Maccy from the list and make sure you add exactly the one that you run.


Move initialization logic for sub-classes to Class constructor

Moves the initialization logic for sub-classes extending Class into the constructor of Class itself. This allows classes that extend using the extends keyword (rather than Class.extend()) to perform initialization logic as well.
Implements parts of #8806.

If nobody has any objections I will go ahead and merge this in.

Thanks @Falke-Design


Clarification on nested templates, conditionals and side effects

With reference to sample code:
http://jsbin.com/aqaFOCa/1/edit
https://gist.github.com/michaelsbradleyjr/6400707
The template which repeats over multiples is nested inside a template which is predicated on the value of base being an even number.
However, in cases where base is not even, though the nested template is not rendered (the template for the non-even case is rendered instead), the t1Changed method for the test-nested-li elements is still being called, as evidenced in the "Log" section at the bottom of the page.
This might be seen as a surprising result inasmuch as wrapping JavaScript code in an if will prevent said code from causing side effects when the expression inside if (...) evaluates to something falsy.
However, given the nature of MDV bindings, perhaps this kind of behavior is expected and needs to be planned for when writing methods like t1Changed.
Clarification would be appreciated.

Closing this issue due to age and the release of version 1 release of Polymer - please feel free to re-open if this is incorrect.


Provide option to disable autoassign ipv4

Currently autoassign ipv4 is on by default, can an option be given to disable this

I'm closing it since the ticket is quite old. Feel free to re-open it if it's still an issue.


Need consistent issue labels

This is not one of GitHubs strong points.
One option is to find a github label manager app - there are a couple.
Second option is just to write down text/color combos and do it manually - I'm pretty sure it'd take less time to do it that way

Added labels/ folder with toos to copy labels from this repo to another


com.microsoft.playwright.PlaywrightException: Error {  message='Browser closed.

The scenario I tried to run works totally fine when I run on local but when I run on pipeline it throws an error, browser closes off with no error.
SYSTEM INFO :
Playwright Version: [v1.27.1]
Operating System: [macOS 16.0 ]
Browser: [Chromium]
Java 11
Gradle
SOURCE CODE:
public Page createPlaywrightPageInstance(String browserTypeAsString) {
        BrowserType browserType = null;
        switch (browserTypeAsString) {
            case "Firefox":
                browserType = Playwright.create().firefox();
                break;
            case "Chromium":
                Map<String,String> env = new HashMap<>();
                env.put("PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD","1");
                browserType = Playwright.create(new Playwright.CreateOptions().setEnv(env)).chromium();
                break;
            case "Webkit":
                browserType = Playwright.create().webkit();
                break;

        }
        if (browserType == null) {
            throw new IllegalArgumentException("Could not launch a browser for type " + browserTypeAsString);
        }
        browser = browserType.launch(new BrowserType.LaunchOptions().setHeadless(false).setExecutablePath(Path.of("browsers/chrome-mac/Chromium.app/Contents/MacOS/Chromium"))
                .setProxy(new Proxy("ps01usproxy.es.eoryup.com:8080:8080")
                ));
        page = browser.newPage();
        return page;

ERROR:
com.microsoft.playwright.PlaywrightException: Error {
      message='Browser closed.
    ==================== Browser output: ====================
    <launching> browsers/chrome-mac/Chromium.app/Contents/MacOS/Chromium --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --proxy-server=http://ps01usproxy.es.eoryup.com:8080 --proxy-bypass-list=<-loopback> --user-data-dir=/tmp/playwright_chromiumdev_profile-CVCpFZ --remote-debugging-pipe --no-startup-window
    <launched> pid=209
    [pid=209][err] browsers/chrome-mac/Chromium.app/Contents/MacOS/Chromium: 1: browsers/chrome-mac/Chromium.app/Contents/MacOS/Chromium: Syntax error: "(" unexpected
    [pid=209] <process did exit: exitCode=2, signal=null>
    [pid=209] starting temporary directories cleanup
    =========================== logs ===========================
    <launching> browsers/chrome-mac/Chromium.app/Contents/MacOS/Chromium --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --proxy-server=http://ps01usproxy.es.eoryup.com:8080 --proxy-bypass-list=<-loopback> --user-data-dir=/tmp/playwright_chromiumdev_profile-CVCpFZ --remote-debugging-pipe --no-startup-window
    <launched> pid=209
    [pid=209][err] browsers/chrome-mac/Chromium.app/Contents/MacOS/Chromium: 1: browsers/chrome-mac/Chromium.app/Contents/MacOS/Chromium: Syntax error: "(" unexpected
    [pid=209] <process did exit: exitCode=2, signal=null>
    [pid=209] starting temporary directories cleanup
    ============================================================
      name='Error
      stack='Error: Browser closed.

This error has to do with your setup and the browser configuration:
[pid=209][err] browsers/chrome-mac/Chromium.app/Contents/MacOS/Chromium: 1: browsers/chrome-mac/Chromium.app/Contents/MacOS/Chromium: Syntax error: "(" unexpected

Please attach a self-contained example which we can run locally so that we could act on this report.

I have placed chromium browser in browsers/chrome-mac/Chromium.app/Contents/MacOS/Chromium path and I have set up executable path as below
browser = browserType.launch(new BrowserType.LaunchOptions().setHeadless(false).setExecutablePath(Path.of("browsers/chrome-mac/Chromium.app/Contents/MacOS/Chromium"))
.setProxy(new Proxy("ps01usproxy.es.eoryup.com:8080")
));
I ran this locally it "PASSED" but wasn’t bale to run on build pipeline.
Can you please elaborate on setup and the browser configuration ?

Can you please elaborate on setup and the browser configuration ?

Playwright downloads browsers automatically if you don't set PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD. Try running without that flag and without custom setExecutablePath, if the problem goes away then it has something to do with how you install browsers/chrome-mac/Chromium.app/Contents/MacOS/Chromium on CI. Btw, if you want to test with a vendor build of the browser you can try setting a channel instead. What is the reason you use custom executable path?
Also you code seems to set executable path to Chromium for all 3 browsers, I don't think this will work for Firefox or WebKit.
As  I mentioned above it's hard to tell what's going on without a repro.

If i don’t  set PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD it downloads automatically which gives an error because of firewall issues as it is running inside my. Company’s network. when I run on docker in build pipeline I wouldn’t know if there is a vendor version on the VM that is getting created in side the docker. I don’t  want to run my script against different browsers currently I only want chromium to get succeeded.
as this is my company’s repo I cannot share the code here.
As I have mentioned before this only happens on build pipeline and runs perfectly good on local machine.

when I run on docker in build pipeline I wouldn’t know if there is a vendor version browser present on the VM that is getting created in the docker.

You can preinstall it into that docker image with e.g. npx playwright install chrome and then use setChannel("chrome"). But it looks like you don't even need a vendor build and using just Chromium in which case our docker image should already have the browser installed. Can you use that image in your pipeline?

As this is my company’s repo I cannot share the code here.
As I have mentioned before this only happens on build pipeline and runs perfectly good on local machine.

Unfortunately we can't help much in that case as the issue has to do with how you run the build pipeline and how the browser gets copied there.

Closing per the response above, feel free to open a new issue if it doesn't work.


Mic button is not working in android with web demo integration

I have integrated my dialogflow agent with web demo in android but in android application, mic button is not working. When i click on mic button, nothing seems to be happen and no response i am getting. Can anyone please help me on this?

Is there any solution for that? Please help me.