nil pointer dereference in v0.30.0

Thanos, Prometheus and Golang version used: v0.30.0, Using Quay Image

Object Storage Provider: AWS
What happened:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x1486048]

goroutine 281 [running]:
go.opentelemetry.io/otel/sdk/trace.parentBased.ShouldSample({{0x0, 0x0}, {{0x2be8c40, 0x417d880}, {0x2be8c18, 0x417d880}, {0x2be8c40, 0x417d880}, {0x2be8c18, 0x417d880}}}, ...)
	/go/pkg/mod/go.opentelemetry.io/otel/sdk@v1.11.1/trace/sampling.go:281 +0x1c8
github.com/thanos-io/thanos/pkg/tracing/migration.samplerWithOverride.ShouldSample(...)
	/app/pkg/tracing/migration/sampler.go:42
go.opentelemetry.io/otel/sdk/trace.(*tracer).newSpan(0xc000640bc0, {0x2bf4268, 0xc00052b110}, {0xc000061368, 0x16}, 0xc000683480)
	/go/pkg/mod/go.opentelemetry.io/otel/sdk@v1.11.1/trace/tracer.go:95 +0x456
go.opentelemetry.io/otel/sdk/trace.(*tracer).Start(0xc000640bc0, {0x2bf4268?, 0xc00052b110?}, {0xc000061368, 0x16}, {0xc00051f440?, 0x4?, 0xc0006835b0?})
	/go/pkg/mod/go.opentelemetry.io/otel/sdk@v1.11.1/trace/tracer.go:52 +0x153
go.opentelemetry.io/otel/bridge/opentracing.(*WrapperTracer).Start(0xc0000103d8, {0x2bf4268?, 0xc00052b110?}, {0xc000061368?, 0x228e200?}, {0xc00051f440?, 0x1?, 0xc00007e410?})
	/go/pkg/mod/go.opentelemetry.io/otel/bridge/opentracing@v1.10.0/wrapper.go:79 +0x4b
go.opentelemetry.io/otel/bridge/opentracing.(*BridgeTracer).StartSpan(0xc000790de0, {0xc000061368, 0x16}, {0xc00052b0b0, 0x3, 0x417d880?})
	/go/pkg/mod/go.opentelemetry.io/otel/bridge/opentracing@v1.10.0/bridge.go:430 +0x3f5
github.com/thanos-io/thanos/pkg/tracing/migration.(*bridgeTracerWrapper).StartSpan(0x2404900?, {0xc000061368?, 0x417d880?}, {0xc00052b0b0?, 0x4111340?, 0xc000683828?})
	/app/pkg/tracing/migration/bridge.go:89 +0x26
github.com/grpc-ecosystem/go-grpc-middleware/v2/interceptors/tracing.newClientSpanFromContext({0x2bf4230, 0xc000521380}, {0x2beeea0, 0xc000013e48}, {0xc000061368, 0x16})
	/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware/v2@v2.0.0-rc.2.0.20201207153454-9f6bf00c00a7/interceptors/tracing/client.go:92 +0x245
github.com/grpc-ecosystem/go-grpc-middleware/v2/interceptors/tracing.(*opentracingClientReportable).ClientReporter(0xc0000106f0, {0x2bf4230, 0xc000521380}, {0x0?, 0x0?}, {0x268e588, 0x5}, {0x26b4c30, 0x10}, {0x26b4c41, ...})
	/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware/v2@v2.0.0-rc.2.0.20201207153454-9f6bf00c00a7/interceptors/tracing/client.go:51 +0x127
github.com/grpc-ecosystem/go-grpc-middleware/v2/interceptors.UnaryClientInterceptor.func1({0x2bf4230, 0xc000521380}, {0x26b4c2f, 0x16}, {0x2579f20, 0x417d880}, {0x257a060, 0xc0005214a0}, 0xc000707ae0?, 0x2788ac0, ...)
	/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware/v2@v2.0.0-rc.2.0.20201207153454-9f6bf00c00a7/interceptors/client.go:19 +0x195
github.com/grpc-ecosystem/go-grpc-middleware/v2.ChainUnaryClient.func1.1.1({0x2bf4230?, 0xc000521380?}, {0x26b4c2f?, 0x38?}, {0x2579f20?, 0x417d880?}, {0x257a060?, 0xc0005214a0?}, 0x0?, {0xc00070d720, ...})
	/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware/v2@v2.0.0-rc.2.0.20201207153454-9f6bf00c00a7/chain.go:74 +0x86
github.com/grpc-ecosystem/go-grpc-prometheus.(*ClientMetrics).UnaryClientInterceptor.func1({0x2bf4230, 0xc000521380}, {0x26b4c2f, 0x16}, {0x2579f20, 0x417d880}, {0x257a060, 0xc0005214a0}, 0x8?, 0xc000704ab0, ...)
	/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-prometheus@v1.2.0/client_metrics.go:112 +0x117
github.com/grpc-ecosystem/go-grpc-middleware/v2.ChainUnaryClient.func1.1.1({0x2bf4230?, 0xc000521380?}, {0x26b4c2f?, 0x203000?}, {0x2579f20?, 0x417d880?}, {0x257a060?, 0xc0005214a0?}, 0x1?, {0xc00070d720, ...})
	/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware/v2@v2.0.0-rc.2.0.20201207153454-9f6bf00c00a7/chain.go:74 +0x86
github.com/grpc-ecosystem/go-grpc-middleware/v2.ChainUnaryClient.func1({0x2bf4230, 0xc000521380}, {0x26b4c2f, 0x16}, {0x2579f20, 0x417d880}, {0x257a060, 0xc0005214a0}, 0x0?, 0x2788ac0, ...)
	/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware/v2@v2.0.0-rc.2.0.20201207153454-9f6bf00c00a7/chain.go:83 +0x157
google.golang.org/grpc.(*ClientConn).Invoke(0xc0006e2000?, {0x2bf4230?, 0xc000521380?}, {0x26b4c2f?, 0x16?}, {0x2579f20?, 0x417d880?}, {0x257a060?, 0xc0005214a0?}, {0xc00070b9a0, ...})
	/go/pkg/mod/google.golang.org/grpc@v1.45.0/call.go:35 +0x223
github.com/thanos-io/thanos/pkg/info/infopb.(*infoClient).Info(0xc000a5e840, {0x2bf4230, 0xc000521380}, 0x8?, {0xc00070b9a0, 0x1, 0x1})
	/app/pkg/info/infopb/rpc.pb.go:422 +0xc9
github.com/thanos-io/thanos/pkg/query.(*endpointRef).Metadata(0xc000235a00, {0x2bf4230, 0xc000521380}, {0x2bdaf20, 0xc000a5e840}, {0x2bf54c8, 0xc000a5e848})
	/app/pkg/query/endpointset.go:70 +0xe3
github.com/thanos-io/thanos/pkg/query.(*EndpointSet).updateEndpoint(0xc000a52980, {0x2bf4230, 0xc000521380}, 0xc000010f30, 0xc000235a00)
	/app/pkg/query/endpointset.go:444 +0x105
github.com/thanos-io/thanos/pkg/query.(*EndpointSet).Update.func2(0xc000010f30)
	/app/pkg/query/endpointset.go:382 +0x2cb
created by github.com/thanos-io/thanos/pkg/query.(*EndpointSet).Update
	/app/pkg/query/endpointset.go:371 +0x60a

What you expected to happen:
Components to work as expected
How to reproduce it (as minimally and precisely as possible):
When we upgraded and redeployed our manifests, all components broke while running their specified commands (i.e. thanos compact, thanos query, etc..)
Full logs to relevant components:

Anything else we need to know:

Interesting :thinking: according to the stacktrace, crash happens here i.e. pb.root is nil. I wonder how this DNS stuff relates to the stacktrace :smile:

@RohitKochhar what is resolving DNS in your cluster: CoreDNS or KubeDNS? Which k8s version are you running?

Interesting 🤔 according to the stacktrace, crash happens here i.e. pb.root is nil. I wonder how this DNS stuff relates to the stacktrace 😄

@GiedriusS are you sure that this is the correct reading stacktrace? I think tracing code will always be at the top of the stack because it wraps everything. But down there we can see github.com/thanos-io/thanos/pkg/query.(*EndpointSet).Update, that should be using the data produced by the code modified in https://github.com/thanos-io/thanos/commit/796891554482a78b1fcd3d6b0363ccd5042c8960. I think the nil pointer derefence comes from the new code somehow returning a nil and it blows up exactly at the 2nd innermost LoC in the stack (the 1st innermost is an anonymous go-function call): https://github.com/thanos-io/thanos/blob/3327c510076a77f876ac26e699d5252a61fc529a/pkg/query/endpointset.go#L382

Oops, yes, my bad :disappointed: you are correct :+1:

Pinging for an update on this @douglascamata @fpetkovski

@RohitKochhar we need some extra information to try to reproduce the issue, investigate and work on a fix. See my previous comment: https://github.com/thanos-io/thanos/issues/6021#issuecomment-1373446047.

@RohitKochhar do you have tracing enabled? Could we see the config?

I am not able to reproduce this in a prod-like cluster also using CoreDNS. We need your help @RohitKochhar to investigate this cluster and look for anything out of the ordinary.

Ok, I can form a better summary and share it soon

There's some conflicting information then. I asked you to try two different images tags straight from the main branch container builds: main-2022-10-31-7968915 (has the bug) and main-2022-10-30-0e0f4fb (doesn't have the bug). Both of these images contain all the commits from v0.29.0 as they are part of the v0.30 release.

Yeah, I think I incorrectly synced the resources through ArgoCD. I am currently retrying main-2022-10-30-0e0f4fb

I can now confirm that main-2022-10-30-0e0f4fb does not work

Okay. So that rules out what we thought caused your issue. 😄
If you have some time, please try to bisect the snapshot images to find exactly where it works. But seems like your pods do not like something in the miekdns resolver. It has been the default in Query since v0.23 and in Rule since v0.30.

Between v0.28 and v0.29 though we had no DNS changes.

Ok, I'll start working my way through the snapshot images between v0.28 and v0.29 to find the last version I can use before breaking

@douglascamata I added more information into the initial issue comment, including the logs for both ruler and query pods that are failing and the configuration used for both.
The latest snapshot I could use was main-2022-09-30-21aa1db0, anything from main-2022-10-02-d533abf8 causes the logs above. Can you point me to commits that were added between these images?

The latest snapshot I could use was main-2022-09-30-21aa1db0, anything from main-2022-10-02-d533abf8 causes the logs above. Can you point me to commits that were added between these images?

That's pretty easy. The image tag format is <BRANCH>-<DATE>-<COMMIT_HASH>.
From 21aa1db093c8c6631fccfe1bbd6aa64eba1d78e6 to d533abf8354ca26a6fddfbf6722ab57df0ebff3b we have only 64e7e3bb42b078f3fb29dfb8e1eb59560210bd3a.
Are you sure that main-2022-10-02-64e7e3bb worked? This came right after main-2022-09-30-21aa1db0 and is migrating tracing from OpenTracing to OTLP. This makes me think @GiedriusS's initial hunch was correct.

main-2022-10-02-64e7e3bb does not work, I think you are right that @GiedriusS initial hunch was correct. Any ideas for solutions?

Here is our tracing configuration:
type: jaeger
config:
  service_name: thanos-query
  endpoint: $(JAEGER_ENDPOINT)
  sampler_manager_host_port: $(JAEGER_SAMPLING_ENDPOINT)

With the jaeger endpoints pointing to our grafana-agent-trace urls

Hmm this looks like https://github.com/thanos-io/thanos/issues/5872 which is fixed in https://github.com/thanos-io/thanos/pull/5887, so it should be fine, but it seems as if this was never merged back to main from 0.29, can you confirm @yeya24?

Yeah I think that's the same issue. We just never released v0.29.1 and never merge back those commits to main.

Great finding, @matej-g! 👏
@yeya24 @matej-g: shall we merge it back then and release 0.29.1 and 0.30.2?

@douglascamata Yeah I think we just needs to do the release and that's it. I think we didn't release v0.29.1 previously because of https://github.com/thanos-io/thanos/issues/5862 IIRC. @GiedriusS

We need to release v0.29.1, then cherry pick the commit df047efe into main and release v0.30.2 with it.

Won't work https://github.com/thanos-io/thanos/commit/df047efe4e1da56055b2844843c060bbd6a59644#diff-eb3987ed9aba572232997e0b7878dbe798ccd79ca31bf8e933963e89d2901723R143
sampler still will be nil because "default" case will never be evaluated.

A solution would be removing "default:"

@xBazilio is this a theory or you tested it out?

@xBazilio is this a theory or you tested it out?

Yes, I've Tested. Deployed on dev, caught panic, searched and found this issue. Then i cherry-picked the commit, panic still existed. Then with debugger I found this switch/case issue and fixed it by removing "default:" line. Collegue suggested using "fallthrough" keyword instead, but right now it isn't necessary as "SamplerTypeRateLimiting" is the default.

@xBazilio would you like to open a PR with this fix?

@xBazilio just missing the changelog entry and then it'll be perfect. Thanks for the contribution!

This seems to be solved by upgrading to v0.30.2, closing.


Fail/Hang on snap install

Description
Pipeline is hanging on snap install. Similar to this https://github.com/actions/virtual-environments/issues/998
Area for Triage:
Scripting and command line
Question, Bug, or Feature?:
Bug
Virtual environments affected

[ ] Ubuntu 16.04
[x] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11.0
[ ] Windows Server 2016 R2
[ ] Windows Server 2019
haven't tested with any other VMs

Expected behavior
Would be able to install via snap.
Actual behavior
Hanging after installing the library.
Repro steps
It is still hanging with very basic workflow at line Waiting for automatic snapd restart... OR failing after it.

https://github.com/salimkayabasi/drawio-snap-bug/runs/1510181419?check_suite_focus=true
You can find the logs of my execution below (396228146)

Workflow - 396228146
name: Draw.io Compiler

on:
  push:
    paths:
      - '**/*.drawio'

jobs:
  compile:
    runs-on: ubuntu-latest
    steps:
      - name: Instaling drawio
        timeout-minutes: 3
        run: |
          sudo snap install drawio
          drawio --help

Logs - 396228146
2020-12-02T14:47:39.8101018Z ##[section]Starting: Request a runner to run this job
2020-12-02T14:47:39.8601867Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
2020-12-02T14:47:39.9284251Z Can't find any online and idle self-hosted runner in current repository's organization account that matches the required labels: 'ubuntu-latest'
2020-12-02T14:47:40.0578661Z Found online and idle hosted runner in current repository's organization account that matches the required labels: 'ubuntu-latest'
2020-12-02T14:47:40.1989991Z ##[section]Finishing: Request a runner to run this job
2020-12-02T14:47:48.9779138Z Current runner version: '2.274.2'
2020-12-02T14:47:48.9808944Z ##[group]Operating System
2020-12-02T14:47:48.9810178Z Ubuntu
2020-12-02T14:47:48.9810712Z 18.04.5
2020-12-02T14:47:48.9811173Z LTS
2020-12-02T14:47:48.9811729Z ##[endgroup]
2020-12-02T14:47:48.9812334Z ##[group]Virtual Environment
2020-12-02T14:47:48.9813069Z Environment: ubuntu-18.04
2020-12-02T14:47:48.9813726Z Version: 20201129.1
2020-12-02T14:47:48.9814843Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20201129.1/images/linux/Ubuntu1804-README.md
2020-12-02T14:47:48.9815988Z ##[endgroup]
2020-12-02T14:47:48.9819396Z Prepare workflow directory
2020-12-02T14:47:49.0679425Z Prepare all required actions
2020-12-02T14:47:49.0692345Z Getting action download info
2020-12-02T14:47:50.9770775Z Download action repository<EMAIL_ADDRESS>2020-12-02T14:47:51.6133575Z Download action repository<EMAIL_ADDRESS>2020-12-02T14:47:56.1174043Z ##[group]Run sudo snap install drawio
2020-12-02T14:47:56.1174782Z sudo snap install drawio
2020-12-02T14:47:56.1175276Z drawio --help
2020-12-02T14:47:56.1221773Z shell: /bin/bash -e {0}
2020-12-02T14:47:56.1222389Z env:
2020-12-02T14:47:56.1222825Z   DRAWIO_FILE: drawio.deb
2020-12-02T14:47:56.1223304Z   DRAWIO_VERSION: 13.9.9
2020-12-02T14:47:56.1223750Z ##[endgroup]
2020-12-02T14:48:08.8567255Z 2020-12-02T14:48:07Z INFO Waiting for automatic snapd restart...
2020-12-02T14:51:08.6122868Z ##[error]The action has timed out.
2020-12-02T14:51:08.6186944Z Cleaning up orphan processes

Hello, @salimkayabasi
I installed  drawio using a deb package, but it failed with error The futex facility returned an unexpected error code. Do we need pre-install desktop tool to run this util?
env:
  DRAWIO_FILE: drawio.deb
  DRAWIO_VERSION: 13.9.9

jobs:
  compile:
    runs-on: ubuntu-latest
    steps:
      - name: Instaling drawio
        run: |
          sudo apt-get install libappindicator3-1
          wget https://github.com/jgraph/drawio-desktop/releases/download/v13.9.9/draw.io-amd64-13.9.9.deb && sudo dpkg -i draw.io-amd64-13.9.9.deb && sudo rm draw.io-amd64-13.9.9.deb
          drawio --help

I've tried to install drawio with different alternative methods and finally discover that it is usually failing when I run it.
Looks like electron based app requires to run browser in headless mode but it is not an option for the moment.
But still, my initial question is still valid. We can install it with using deb or npm from the source but not with snap
Here is the list of my alternative solutions
https://github.com/salimkayabasi/drawio-snap-bug/actions
There are some workarounds to run drawio in docker container, I'll check them later and will try to use them in Github Actions

hi @al-cheb,
I've just seen your updated comment. I was also trying to run it in headless mode but your feedback helped me a lot.
on my side, we close the ticket since I can use with deb installation but might be chance for you to check why snap is failing

We can use snap to install drawio with a  workaround:
env:
  DRAWIO_FILE: drawio.deb
  DRAWIO_VERSION: 13.9.9
  DISPLAY: ":99.0"
jobs:
  compile:
    runs-on: ubuntu-latest
    steps:
      - name: Instaling drawio
        run: |
          sudo mkdir /run/user/1001
          sudo chmod -R 777 /run/user/1001
          sudo snap install drawio
      - name: run Xvfb
        run: |
          Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
      - name: get help
        run: |
          drawio -V

I've updated all alternative with all fixes/workaround. Thanks for your support
https://github.com/salimkayabasi/drawio-snap-bug/blob/main/.github/workflows/drawio.yml
We can close this bug as it has enough workaround for everyone.


I can't login.

Hi, I'm unable to find the login password as I'm a beginner in WPF. Help is appreciated

its the same as your username, aka the folder in C:\Users

its the same as your username, aka the folder in C:\Users

if not you cna change it in App.xaml.cs at line 59 where it says Environment.Username

if not you cna change it in App.xaml.cs at line 59 where it says Environment.Username

Thank you for support.
It worked!

Thank you for support.
It worked!


[bug] Tweet not found issue when using v2.tweetLikedBy()

Describe the bug
When I try using v2.tweetRetweetedBy() on<PHONE_NUMBER>915854339 it shows all the retweets, but when I do v2.tweetLikedBy() on the same tweet, it shows an error.
To Reproduce
Please indicate all steps that lead to this bug:

appLogin()
v2.tweetLikedBy()
{ errors: [  {    value: '1553481126915854339',    detail: 'Could not find tweet with id: [1553481126915854339].',    title: 'Not Found Error',    resource_type: 'tweet',    parameter: 'id',    resource_id: '1553481126915854339',    type: 'https://api.twitter.com/2/problems/resource-not-found'  } ] }

Expected behavior
Show all who liked the tweet.
Version

16.15.1
1.12.2
Both Ubuntu and Windows

Never-mind, it might have been an issue from Twitter API side. It's working now.


Implement simple search UI for core records

Provide a simple search interface for discovery using iSamples core records

This is being implemented initially with the solr faceted react ui


Feature/crud

Description
In conjunction with the covalent-data mock API server, the /users component has been turned into a real example of working CRUD (create, read, update, & delete.)  It's now possible to add new users, and update and delete existing users.
Note: All database entries/changes are cleared when the mock-api server is stopped.
What's included?

updates to covalent-data for bugfixes.
addition of users form components in src/app/users/+form/*
addition of user add, update, and delete services in src/services/users.service.ts

Test Steps

[x] cd mock-api; ./covalent-data.osx
[x] open a new terminal, in the project root directory, ng serve
[x] go to http://localhost:4200/users, add, update, and delete a user

Screenshots or link to CodePen/Plunker/JSfiddle

Awesome work sir!
Editing and updating a user isn't working for me tho

when i edit a username from "Carl Kim" to "Carl Kimmmy" the UI doesn't update but i see this in terminal
INFO[0510] Executing UpdateObject on users/Carl.Kimmmy
INFO[0510] Updated object users/Carl.Kimmmy

which seems like it's updating there


kde5 plasma segfaults when using slim dm

What the title says :) Mouse works, the errors are reported in GUI windows, but there's no shell. I know sddm is recommended, so perhaps slim is not even expected to work? In that case, it might be useful to just state it for the record here and close the issue.
Tested using both channels/nixos-15.09 and channels/unstable (16.03.git.7ae05edM (Emu)). Here's my configuration.nix, in case it's of any help. I've manually added a few packages to my nixpkgs, but that shouldn't be the issue, they aren't related to Qt or the GUI at all.
Anticipating a possible follow-up question: I thought the kde4.* packages in my config might be to blame, so I tested the whole setup without them; same story.

cc @ttuegel

Any display manager should work. I'll try to reproduce this.

Thanks! Let me know if I can be of any help :)

Whew, so I got lucky and actually traced this to an environment variable I put in my .zprofile way back when to prevent Emacs from crashing due to some GTK bug. So, as per recommendation, "dear people of the future": don't put export XLIB_SKIP_ARGB_VISUALS=1 into any file that is sourced upon logging into KDE :) (Other related variables might conceivably mess things up as well.)


[CI] Disable known bad mxnet nightly version

cc @dmlc/gluon-nlp-team

Job PR-997/1 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-997/1/index.html

Job PR-997/2 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-997/2/index.html


Automatic validation of metatada.yaml contents against its schema

Describe the feature
During the build process we should validate if the many metadata.yaml validate against its schema to avoid PRs like #2777.
We already do some validate (for missing metadata fields) as part of the build process (introduced by #2696) but we do not validate if the contents of those YAML files all validate against the schema. For instance, #2777 fixes an issue that a given YAML file had numeric values for its default and example fields -- and, as the PR title says, "even numbers must have string values for default and example fields. Right now we don't have any automatic step to prevent such errors.
There are a few ways we could take to address this:

Augument make check-component-metadata to also perform schema validation.
Add make bundle-component-metadata as one part of one GH validation workflows. This target performs some validation on the YAML contents, so it could be an easy addition.
Building on the last one, take the JSON bundle and validate the resulting JSON against the JSON schema defined in component-metadata-schema.json

Release Note
RELEASE NOTE: ADD Automatic validation of metatada.yaml contents against its schema.

Thanks for writing this up. Let's go with #1 IMHO, I like the idea of augmenting our static analysis tools, there can be other nice things we can do with that in the future.
Since the schema is auto-generated from the Go structs in the build tools: https://vscode.dev/github/ItalyPaleAle/dapr-components-contrib/blob/26dea0c1c20e7f3a05a5c625d82abb201a1504cc/.build-tools/pkg/metadataschema/schema.go We should be able to just validate that we can un-marshal into the JSON struct.

Yeah. That definition uses json tags but it seems we can pre-process those structures and make them more YAML-friendly (see the gist at the very end of https://github.com/go-yaml/yaml/issues/424)
Just using UnmarshalStrict uncovers quite a bit.
--- a/.build-tools/pkg/metadataanalyzer/analyzer.template
+++ b/.build-tools/pkg/metadataanalyzer/analyzer.template
@@ -95,7 +95,7 @@ func getYamlMetadata(basePath string, pkg string) *map[string]string {
        }

        var d Data
-       err = yaml.Unmarshal(data, &d)
+       err = yaml.UnmarshalStrict(data, &d)
        if err != nil {
                fmt.Println(fmt.Errorf("Invalid metadata yaml format. Error unmarshalling yaml %s: %s", metadatayamlpath, err.Error()))
                os.Exit(1)

We might want to have a 2 pass strategy:

quickly identify missing keys (current behaviour) and
enforce agreement to schema.

Adding another validation that we could do (and to keep this issue open): ensure that properties biding declarations don't conflict with the component bindings declaration. For instance, it makes no sense to define an output-only propety for an input-only binding component. That sort of validation should/could also be performed.


Issue on Docker Service Start after Reboot: panic.log: Access is denied

Sorry Freddy for adding another solved issue 😂 But as I didn't found a solution here or on Google/Bing, somebody else might have the same issue and will find my solution.
Describe the issue
Could not start docker after reboot of Windows.
Since weeks I did not reboot my system, as after reboot I was not able to start the docker service, again. I have modified the daemon.json file and switched my data-root to D:\Docker. The EventLog showed an Error: fatal: open D:\Docker\panic.log: Access is denied.. Suggestions like adding the local Users group with Full Control to the folder didn't work.
Solution
I deleted the panic.log file in my data-root folder, as it was empty, anyway. That's simple! How couldn't I thought about this earlier...

Further investigation showed me the file panic.log is always created with "Read Only" attribute. Created a custom file with full attributes and overwrite the existing one and now after each windows restart the docker service is automatically running :)

Thanks - this is (was) a Docker Desktop problem.
I thought they fixed this in the latest version?

I'm using the latest Docker EE I found. I also saw the issue in the release notes, but without a solution tip for those having the issue :)

Thanks


Update README.md

add Example Code Events and BackKeyLight States
https://github.com/myhomeiot/DahuaVTO/blob/main/README.md#backkeylight-states
https://github.com/SaWey/home-assistant-dahua-event/blob/master/README.md

Thank you!


It's stuck on creating m3u!

yes it stucks, even not able to cancle it, finally has to close kodi n restart..

r u tryin to create m3u file from jiotv addon ? i dont think it will work

yes it stucks, even not able to cancle it, finally has to close kodi n restart..

Bro install the plugin
Then do to settings
Then setup
Then in channel api 1.3 turn it off
Then click on setup epg
N then setup pvr after that if you on the channel api it will work

oh u meant channel playlist ... but the title ws about m3u playlist

oh u meant channel playlist ... but the title ws about m3u playlist

Nope its in kodi app !!

Fixed in 2.0.25

Now its stuck at pvr setup in progress
On Sat, Mar 11, 2023, 2:23 PM Reetesh Kumar @.***>
wrote:

Fixed in 2.0.25
—
Reply to this email directly, view it on GitHub
https://github.com/krreet/plugin.video.jiotv/issues/56#issuecomment-1464864288,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKVAECJUAX4D4KPJHSZSX7DW3Q4RNANCNFSM6AAAAAAVTJGS6U
.
You are receiving this because you commented.Message ID: <krreet/plugin.
@.***>

Workaround for stuck at pvr setup in progress : uninstall iptv simple pvr
client then setup it from jiotv addon it worked
On Sat, Mar 11, 2023, 2:43 PM Sumeet Singh @.***>
wrote:

Now its stuck at pvr setup in progress
On Sat, Mar 11, 2023, 2:23 PM Reetesh Kumar @.***>
wrote:

Fixed in 2.0.25
—
Reply to this email directly, view it on GitHub
https://github.com/krreet/plugin.video.jiotv/issues/56#issuecomment-1464864288,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKVAECJUAX4D4KPJHSZSX7DW3Q4RNANCNFSM6AAAAAAVTJGS6U
.
You are receiving this because you commented.Message ID: <krreet/plugin.
@.***>

@krreet I'm sorry but epg isn't loading again in 2.0.25...there's no option to setup epg in it...or maybe i don't know how to...a little help would be appreciated

@krreet I'm sorry but epg isn't loading again in 2.0.25...there's no option to setup epg in it...or maybe i don't know how to...a little help would be appreciated

u need to uninstall simple iptv pvr plugin then go in jiotv addon settings then find set pvr playlist and it will automatically do the rest

epg loading fine, but channels appear twice in channel list

epg loading fine, but channels appear twice in channel list

You can open simple IPTV client settings and disable one from there.


landing page

I was talking to some people on IRC about a possible redesign of the ipfs.io landing page.  I just thought I would open up a discussion about it with some ideas:

Have only one video on the landing page that best describes ipfs and its goals, then have other videos on a separate page.
A non-technical introduction section for people who may not be fluent in bittorrent, git, etc, or who may not know why redecentralization is important.
maybe link to the neocities blog post or borrow some quotes from it

Mainly I think that the landing page should be aimed at people who have are less informed, then there should be another page with technical details, a link to the paper, an introduction to the ipfs application, details for people interesting in contributing, etc.
There's a lot going on the space of redecentralization right now, and I think an amazing landing page would really help differentiate ipfs.
cc: @davidar

Thanks @amstocker . I'm particularly interested in seeing:

some examples of real problems that ipfs can solve, so people can see how it relates to their domain (bioinformatics, governmental data, users who get burned by single-points-of-failure, etc)
what makes ipfs different to other well-known approaches (the existing web, freenet, maelstrom, etc) - not all the gory details, but the important differences

I know all of this information is available, but people aren't going to go to the effort of searching for it if the landing page doesn't grab their interest quickly.
These two points are the main difficulty I have when trying to discuss IPFS with people and how it can help with problems they want to solve. It would be fantastic if I could just point them to ipfs.io, so that they can see for themselves how IPFS is relevant to them. If we can convince people that IPFS can help make their lives easier through an accessible overview that doesn't require them to put aside an hour to learn about the project, they're much more likely to put in the effort to learn more about the details.
CC: @jbenet

very much in favor of this! :+1: :+1:
Let's:

keep outlining all of the desires
only afterwards propose sketches
only after a few, we'll select then implement

Perhaps a good first step would be to curate some pages for different use cases, for example:

hosting static websites/blogs (github pages on ipfs), with an emphasis on interoperability with the existing web (unlike freenet, etc)
scientific publications and data
media hosting (ipfs.pics)
open data distribution (e.g. for governments, who don't like providing bandwidth indefinitely)
file distribution (for users familiar with torrents)
@cryptix git-remote-ipfs
people who want to donate space/bandwidth
etc

Each page could contain live examples and an asciinema showing people how they can apply it to their own data. The focus should be on getting people up and going quickly, rather than going into all the gory details.
Then we can work out which bits should go onto the landing page, and the rest can be linked from there.

@amstocker Thanks for opening this! 100% agreed.
I'm planning on overhauling the landing page, because right now it is not catchy and assumes a lot. I'm not sure exactly where to start - I agree that there are too many videos, and there's not enough text for beginners. Right now, there's actually no about page for further reading, and a lot of questions I would have are only answered in the ipfs/ipfs Readme. Some of that information should go on the front page.
@davidar, I'm not sure that's the right direction: we need to fix the landing page, not necessarily add a lot of extra pages. I think we have a means to cover all of the use cases you bring up - the 'Examples' page is one place, and the Blog should seriously be used. But I think that going through a lot of examples and other details and then trying to rebuild is going to make things pretty complicated, and end up with feature glut on the landing page.
I've started a repository at RichardLitt/ipfs-textbook to help me understand IPFS, something I frankly do not at the moment. Perhaps I could move that to the IPFS organization and we could build out a training document covering what naïve users would need to learn to understand IPFS, and after that we could build a better tailored description for helping people understand how IPFS can be used as a whole?
Here are some small issues on the landing page that can be addressed immediately:

[ ] Slow load of image on bad bandwidth. Alpha-sunrise is 2.4mb - that's way too much.
[ ] 'The Permanent Web' weirdly capitalized.
[ ] No reason for docs/install when install would do just fine, I think.
[ ] jQuery is a big download. Can we use jQuery lite? Why are we using this?
[ ] How is Interplanetary Networks different from Protocol Labs? Which is developing IPFS?
[ ] Why are IPN and FileCoin in the footer? This isn't clear from any information on the page, and I have to click through to different websites to understand this. I'm still not sure I understand it.
[ ] 'Docs', 'Code', and 'Community' in the Footer navigation all link to 'Project'. Why that name?
[ ] The site has no FAQ or way of seeing more about IPFS without going to the repositories, which is not a clear pathway. There should be an about page or an FAQ.
[ ] IPFS should be to the left of IPN in the footer, not centered.
[ ] Social media links should be to Social Media accounts, not to sharing text.
[ ] Twitter share text should at least have the @IPFSbot user account.

@RichardLitt I definitely like the idea of an ipfs textbook.  Also re: alpha-sunrise, the jumbotron on the main page is really cool, but I think other pages should have a more minimal header/navigation-bar

I'm planning on overhauling the landing page

@RichardLitt the concerns you raise are great to hear and have documented, but please do not spend time on actually overhauling, redesigning, or significantly changing this. We're not going to design our website by committee/pull-request, Landing pages are a very important piece, and take a lot of hard design work to get right. Of course, feel free to continue outlining concerns to address and so on, or to provide design suggestions/sketches, but do not spend much time actually trying to make something different. We have a ton of constraints to satisfy in our next iteration, it will be a large project that will involve multiple people working very closely with me (likely including professional designers), and so on. If you're very interested and can dedicate a lot of time to this definitely let me know, but don't bother doing anything yet.

Heh, message received. No need for italics, this saves me a lot of effort :D

We're not going to design our website by committee/pull-request

Good move. I still think most of the things above can be changed now, without overhauling the website. They're imperfections with the current set up, not a redesign.

I'm not sure that's the right direction: we need to fix the landing page, not necessarily add a lot of extra pages.

@RichardLitt Sorry, let me clarify. My suggestion is for the landing page to look something like:

IPFS is for ...

website owners
scientists
open data publishers
whatever, etc

where you make those dot-points into big colourful boxes, or a carousel, or whatever it is that web designers do ;). You click on one, and it expands into something like:

IPFS is for website owners
IPFS can make your website faster and more reliable by blah. In fact, this website itself is hosted on IPFS. So are other examples. Watch the following 3-minute tutorial on how to get your website onto IPFS:
asciinema screencast
Want to learn more? Click here.

Where "click here" takes you to a more in-depth introduction. However, by this stage the person has hopefully gotten some hands-on experience with IPFS, and can see how it can help solve some of the problems they face, so they're more motivated to spend half an hour watching videos or something.

Ah, cool. Makes more sense!

Closing this as we now have a fancy and awesome new landing page. Please feel free to open a new issue if there are concerns that are not addressed there.


is alpine coming back with jdk16?

https://openjdk.java.net/jeps/386
ideally as multilayered image with jre only.

When a new OpenJDK version is in Early Access then Alpine is available for testing, and then removed from the Release Candidate as it's not "production-ready because it hasn’t been tested thoroughly enough to be considered GA"
https://github.com/docker-library/openjdk/pull/235#issuecomment-424599754

Eclipse Temurin provide Alpine based images.
Support matrix can be simplified by providing Ubuntu JDK + JRE + Alpine JRE only

See #299


chore: Add SCC to CHANGELOG.md

scc, a source lines of code (SLOC) counter now has support for counting lines of code in .prql files since PR https://github.com/boyter/scc/pull/411.
Maybe we should have some place in the documentation to cover this?

Cheers!


Not reactive variable was updated

Vue version
3.2.45
Link to minimal reproduction
https://play.vuejs.org/#__DEV__eNqNU8tu2zAQ/JWtLnGASEqb9uI6QfrIIUXhFk5604WR1jZTiiTIleTA8L93KfqhOG3Qm7iPmdmd1Tr5ZG3WNpiMk4kvnbQEHqmxoIReXBYJ+SK5KrSsrXEEa3A4hw3MnanhhNtOCl3o0mhPoE0Hl6Cxg6+CcHT6cZC4IxdypsvIfDelUHgva+So1Iu+stB5DlNDjC9Kki1CK5wUDwoLrZCAYnkE4Y9dy+xleSTdNsxY7mUQPYp9kWveaO4yGsolT9lrGZ2OoTWygnWhAbbCsQup46mO0ltZ8fGv+WA4wb5vmGClWStUs6U7VGyCYvbkVhM6rhgdRJ/B2/Pz84A/yaN5bBU/CGurWC6/ACZv0hRu2dalaVQFQnXiyYdXB7REkFqSFIoXyNwZpGlssldT041hvd4L32wmue3xt5i/bMUcFWCL7omvhrdSAZketWycQx1tOAIdsRu87ANy8GgHPsn32pOzJF5dWgubPXqj+UZ7d4ptgk+TcUIkxPgaw7tIlkTWj/O8rDS3Vahk6zKNlGtb59dclrtGB+60MvX1RfYue/8hr6SnYTxDX6cPznQeHaMUydmAJ+cgD53yiBU6dP/Le9T2jPso94I/0PMpbHgt5HnVc7k4WkppaisVuh823Pbz5QilTPetj5FrcD9MucTy91/ij34Vh/rpsFc2WAAJt0CK6Zu7Ka74e5+sTdXwX/hacobeqCZojGWfG12x7EFdr/a295h/oHt/syLUfjdUENpvo6/vDfnyyugHuRfZxX6Lmz+07bNl
Steps to reproduce

npm init vue@latest

npm install

npm run dev

What is expected?
timeStr is fixed at the initial value, only timeStrRef is updated once every second.
What is actually happening?
timeStr not defined by ref() is also updated.
System Info
No response
Any additional comments?
When I ran the sample code posted in the book, the behavior did not match.
The version at the book was 3.2.37 and my environment was latest (3.3.4). After looking at the versions where the behavior changed, I found that the behavior was correct until 3.2.44, and that the change in 3.2.45 was the problem.

- timeStr = newTimeStr;

When a reactive Effect triggers a re-render, the the whole template is updated with all current data - wether or not that data itself is reactive, doesn't matter.
So yes, this is intentional, it's how updates in virtualDOM-based view libraries, such as Vue and React, work.


Add example of using MarkItDown with OpenAI to README

Add an example of using MarkItDown with OpenAI integration to the README.md.

Add a new section "Example with OpenAI Integration".
Include code to import MarkItDown and OpenAI.
Show initializing the OpenAI client.
Demonstrate converting an image file using MarkItDown with the OpenAI client.

Addresses #15 #12 #9

I didn't realise the model could do this.

Fixed by the other PR.


e2e tests: dynamically fetch the image digests

Instead of hardcoding the digests in the test-e2e directory, dynamically calculate it on-the-fly, as a human would, for authoring the manifests and promoting images with them.
This is necessary because the image digests for the golden images depend on the gzipping mechanism that lies in the registry (server-side). So technically it is possible that the registry might change the gzip implementation, resulting in completely different digests (which would make every new PR fail).
This isn't a huge deal but it is a known issue.
The solution would be to fetch/calculate the image digests for all golden images used in the e2e tests after they are pushed up, and then to populate the yaml content with these values, before running them. Some amount of templating might be involved here as well.
TL;DR: remove hardcoded values like 2af5205553239e0eb17c544bc1e90c2d6173012a191f0a44131aa2f9c44bb511 from the e2e tests and instead generate them dynamically.

This is necessary because the image digests for the golden images depend on the gzipping mechanism that lies in the registry (server-side).

This is not true. Clients gzip layers before uploading them and ungzip them after downloading. Did you see this somewhere?

Oops, looks like I misremembered (your comment jogged my memory, and I remember it being client-side from an email thread many months ago). I still think this is an issue because the e2e tests are written on developer workstations and it could very well be that the gzip library on a developer machine doesn't match the gzip library used inside the Prow job. Will update the issue description.


Option to reverse volume direction

Guidelines

[x] I have reviewed the guidelines for contributing to this repository.

Is your feature request related to a problem? Please describe.
no
Describe the solution you'd like
I would like the volume to increase when I turn clockwise and decrease when I turn counterclockwise. An option to change this in the application would be useful.
Describe alternatives you've considered
Additional context

That is very surprising, do you have a link to the knob/part you bought ?

RON 2.71 5%OFF | Rotary Encoder Module for Free Shipping Dropshipping KY-040
https://a.aliexpress.com/_mr4Xa3V
On Mon, Sep 14, 2020, 02:11 Sébastien Atoch<EMAIL_ADDRESS>wrote:

That is very surprising, do you have a link to the knob/part you bought ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/t3knomanzer/maxmix-software/issues/192#issuecomment-691738978,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF5B7QQDNKAXHE4UVDJNYMLSFVGRFANCNFSM4RK4XLFQ
.

you sure the wires are plugged up correctly?

As @pbanj mentioned. Could you check that your Dt and Clk are connected to the right pins?
Clockwise to increase volume and counter-clockwise to reduce volume is how it’s meant to work.

Yes, that was the first thing I checked.  The wires are connected correctly.
On Mon, Sep 14, 2020, 02:48 Ruben Henares<EMAIL_ADDRESS>wrote:

As @pbanj https://github.com/pbanj mentioned. Could you check that your
Dt and Clk are connected to the right pins?
Clockwise to increase volume and counter-clockwise to reduce volume is how
it’s meant to work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/t3knomanzer/maxmix-software/issues/192#issuecomment-691743476,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF5B7QXSNJXRRTEO32RACMDSFVK5BANCNFSM4RK4XLFQ
.

That's just inexplicable. If the wires are connected correctly and you're using the correct encoder, it should raise clockwise and decrease conunter-clockwise.
I wonder if the missing R1 has something to do with this.

Can you confirm that if your encoder looks exactly like the one in the photo?
Sorry for asking so many questions but this is a behavior we've never seen before and it's not caused by the software so it is definitely something on your hardware. With the wiring being discarded the only other option is the encoder itself.

if the picture is on the back of the encoder I can't check, I glued the
encoder to the bottom plate (both holes for screws didn't fit). :))
În lun., 14 sept. 2020 la 08:46, Ruben Henares<EMAIL_ADDRESS>a
scris:

That's just inexplicable. If the wires are connected correctly and you're
using the correct encoder, it should raise clockwise and decrease
conunter-clockwise.
I wonder if the missing R1 has something to do with this.
[image: image]
https://user-images.githubusercontent.com/2942293/93047981-a1a4d580-f612-11ea-8136-3cf31c77863c.png
Can you confirm that if your encoder looks exactly like the one in the
photo?
Sorry for asking so many questions but this is a behavior we've never seen
before and it's not caused by the software so it is definitely something on
your hardware. With the wiring being discarded the only other option is the
encoder itself.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/t3knomanzer/maxmix-software/issues/192#issuecomment-691825772,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF5B7QQQY43JQOLBE6ELJ6LSFWU5BANCNFSM4RK4XLFQ
.

I think adding support for inverting rotation direction should be quite simple

If memory allows this option would be perfect!
În mar., 15 sept. 2020 la 19:49, SchemingWeasels<EMAIL_ADDRESS>a scris:

I think adding support for inverting rotation direction should be quite
simple
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/t3knomanzer/maxmix-software/issues/192#issuecomment-692839953,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF5B7QTYWCLVC5EPVJAYTSDSF6LJNANCNFSM4RK4XLFQ
.

It should. We have cleaned up quite a bit of memory.
Ruben Henares

On Sep 15, 2020, at 10:36, edyman01<EMAIL_ADDRESS>wrote:

If memory allows this option would be perfect!
În mar., 15 sept. 2020 la 19:49, SchemingWeasels<EMAIL_ADDRESS>a scris:

I think adding support for inverting rotation direction should be quite
simple
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/t3knomanzer/maxmix-software/issues/192#issuecomment-692839953,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF5B7QTYWCLVC5EPVJAYTSDSF6LJNANCNFSM4RK4XLFQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Same thing happened to me...


Fix #194 and #114: Update semver regex to version from semver.org

I took a regex from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string , splitted it into multiple lines to match current format and renamed buildmetadata -> build. Also, I found and fix a problem with invalid Python 2.7 super call :)

Nice catch about super call with Py 2.7
I can not wait for it to die 😅

@ppkt Could you add a note to CHANGELOG?

Thanks @ppkt for this PR and @tomschr for reviewing.

@scls19fr of course, I'll do this in next PR :)


Target of URI doesn't exist: 'package:flutter_prevent_screen_capture/flutter_prevent_screen_capture.dart'. (Documentation)

Hi, can you please provide some details? How did this happen?

Can you try to: type flutter packages get in terminal and restart the vscode

Closing the issue, as this is not package related


Target process crashed when using CreateAndInject

Hello,
I'm testing the C# remote filemon tutorial. When I use CreateandInject on some x64 targets, they crash with the following in event viewer

Faulting application name: HelloWorld.exe, version: <IP_ADDRESS>, time stamp: 0x5b8070e5
Faulting module name: clr.dll, version: 4.8.4121.0, time stamp: 0x5deabd50
Exception code: 0xc0000005
Fault offset: 0x0000000000077e08
Faulting process id: 0x5f08
Faulting application start time: 0x01d5e4dbbd4caad3
Faulting application path: F:\Documents\Visual Studio 2019\Injector\bin\x64\Debug\HelloWorld.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Report Id: 62378d44-b17b-4302-957c-bad0aa51f8ae
Faulting package full name:
Faulting package-relative application ID:

No errors are passed to the injector. The hook seems to work if I hook into a running process but not with CreateAndInject. I've tried building the injector and hook as AnyCPU and x64 without success.
I'll be grateful for any help or suggestions please.
LATER:
I noticed that there were some changes to CreateAndInject in the dev branch. I've installed those files (v2.7.7339) but the same error occurs

Hey, did you manage to figure out what was causing this issue?

I encounter similar issue on x86 process. CreateAndInject cause remote process crash if remote process is written in C# and hook is not fired during clr init.
Workaround: hook something that will be called by clr init, e.g CreateFileW.
If executing a program normally, main thread will init clr, and associate main thread to managed thread via EnsureEEStarted, the pointer to managed thread (Thread instance in CLR) will store in TLS. However, EE will only start once and check by g_fEEStarted which is not store in TLS but a global variable. By calling CreateAndInject, it will create a suspend process and create a remote thread and does some init for calling C# code. That's said, EnsureEEStarted is called on injected thread and g_fEEStarted will be set. So, when resume main thread, it will not start EE again, main thread will not associate with any managed thread (TLS slot will be empty). This is the root cause about crash.
Hooking CreateFileW works because it is called during clr init (before calling EnsureEEStarted). Calling managed code from native code is called reverse p/invoke, that will create thread instance on CLR and associate with native thread..


Indicate that credentials are not passed through registry mirrors

File: registry/recipes/mirror.md, CC @joaofnfernandes
@nickstenning pointed out in the following thread that the registry mirror documentation didn't indicate how registry mirrors handled pulls of private images. I did a little experiment (details in the linked issue) confirming that credentials were not passed to the upstream registry, but that the Engine would gracefully fallback to upstream in that case, making it transparent to the user (except when the Engine's connection to the Docker Hub is impaired). I think we should update the docs to mention that, or perhaps link to the appropriate document (maybe the Engine docs have more details?)
Thank you!

In other words: the current implementation of the registry mirror is useless for private repositories?

@aaronlehmann or @stevvooe, can you clarify how authentication is handled when a user tries to pull from a registry cache?

Closing this ticket due to its age, and the impending refactor. If you think this is in error, feel free to reopen. Thanks!


Demo request

Hello, I didn't get it to work on the first try. I don't know much about it and can't find the error yet. Before I search forever and maybe it doesn't look the way I imagine it, the question:
Is there a demo somewhere to watch? Would be great! :-)

You can see the client-side part of the demo at  https://s7g.show/our_work/#gallery .
Where is your problem? Server-side or client side? If you can see the files in cloudflare R2, then it is a client-side problem (i.e. the webpage and the javascript).
To debug the server-side code, you need to make sure you have the right API keys, etc for the instagram API and that your developer account is properly set up. See meta's documentation and try the endpoints with CURL to verify that you have valid API keys and secrets.
If that works, you can use cloudflare's debugging features for workers.


error about 'CODE_OF_CONDUCT.rst'

One error pops up during "python setup.py install":
running bdist_egg
running egg_info
writing fair_esm.egg-info/PKG-INFO
writing dependency_links to fair_esm.egg-info/dependency_links.txt
writing entry points to fair_esm.egg-info/entry_points.txt
writing requirements to fair_esm.egg-info/requires.txt
writing top-level names to fair_esm.egg-info/top_level.txt
reading manifest file 'fair_esm.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'fair_esm.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
installing package data to build/bdist.linux-x86_64/egg
running install_data
error: can't copy 'CODE_OF_CONDUCT.rst': doesn't exist or not a regular file.
Please help to check this.

We have added the 'CODE_OF_CONDUCT.rst' file to the code repository. Thank you for your attention


docs(sg) fix example

NOTE: Please read the CONTRIBUTING.md guidelines before submitting your patch,
and ensure you followed them all:
https://github.com/Kong/docs.konghq.com/blob/master/CONTRIBUTING.md
Summary
https://github.com/Kong/docs.konghq.com/pull/1228#issuecomment-485961831

Checklist:

[x] Commit message & atomicity checked
[x] Documentation
[x] Adheres to Kong style guide
[x] Spellchecked my updates
[x] Tagged "Team Docs" as reviewers
[x] Ready to be merged

I'm dismissing this since as @levfishbluefish pointed out, "new" is a change in context, which is valid under the bold text rule.


Synology / docker support

Hi,
I came across your script on Reddit and can't wait to get started. It's exactly what I need. I have a Synology nas running Node v6. I've tried installing your program by following your instructions but I'm getting stuck on the npx part. I've had a quick look on Google and it looks like npx isn't available to Synology devices.
Running sudo npm install -g npx  doesn't work :sob:
I wondered if anyone else has successfully got it working on their device? or would creating a docker container be a possibility?

Are you able to get an auth token using python on your Synology?
Maybe try the instructions listed here?
https://github.com/tchellomello/python-ring-doorbell
If that works,  I could update the README to list that as an alternative method.  From there, I'd leave it up to someone with better knowledge of docker to make a script to include.

Thanks for getting back to me. I've taken a different approach and created a Ubuntu virtual server. I can finally use npx 👏
I've created a file called token.txt in the root folder ring-to-android-tv with my access token but when I run  node snapshot.js the program is unable to connect to ring servers:

UnhandledPromiseRejectionWarning: Error: Refresh token is not valid.  Unable to authenticate with Ring servers.

Any ideas?

Is the token copied with no quotes?

Is the token copied with no quotes?

Yes

Sorry that was very abrupt. I'm wondering do you have 2FA enabled? If so via email or text?

Oh, no worries!  I have 2FA enabled via text.  I haven't tested it without 2FA enabled, as it's on by default now, I believe.

I'll change mine to text and see if that helps.

Same outcome. Perhaps it's related to this: https://github.com/dgreif/ring/issues/279 if the refresh token can only be used once would that mean it's expired when your program tries to use it?

All up and running 😃
It was a couple of things:

I didn't enter the token correctly, I had the token on 4 lines, not 1.
The Ring service was broken, to get it working I logged all of my devices out, logged in via the browser and re-issued a new token (I had to do this twice, the first one expired again after one use)

Thanks for your help.


wai-aria: Updated results for aria-rowspan and aria-colspan tests

Several of the tests related to aria-rowspan and aria-colspan had to be
modified and several additional tests written so that we can test that
the native host-language property's value is used if present. This commit
updates the results for those tests.

@halindrome: Please review. Thanks!


Implement methods to cluster URL into low-cardinality

Some users reported that the metrics kindling_entity_request_xxx contains a high-cardinality label request_content when the protocol is http. In this case, request_content represents the URL without parameters of the HTTP requests.

Since the URL could be changed a lot, there will be a mount of timeseries stored in the kindling-collector and these metrics will cause a lot of load on the memory of it and Prometheus. We should work around this issue to improve the stability of Kindling.

Closed by #268


add pre-commit to maintain LLVM code style

This PR adds pre-commit hooks to maintain the repo in defined LLVM code style.
It also fixes minor style errors in the repo found by clang-format when the check for all files was executed using the command
{{{
pre-commit run --all-files
}}}
After executing pre-commit install command all style checks and fixes will be done automatically on commit.

I was using clang-format I guess the new version has more settings?
Good PR to see. Will probably merge tomorrow.

Thanks for your contribution. Merged.


Definition window can be scrolled

I'm finding that in some cases, the definition window can be scrolled around if I mouse over it. It only seems to happen in rare cases, but I've seen it a couple times today:

In the second image, the big off-colored gray box is the intellisense window.

Can you show a bigger image? I don't know what is in the first image, are there a scroll bar somewhere?

There is no scroll bar -- the first image is the entire type hinting window viewport.
I'll try to get some better images when I get into the office on Monday.

Pinging on this one. Have you got the chance to get a clearer screenshot yet? Thanks!


Napari error (GL_MAX_TEXTURE_SIZE exceeded) when loading plate with missing wells

We start from a zarr file with two wells (B07 and B011), with plate .zattrs:
"plate": {
         "acquisitions": [{"id": 0, "name": "210305NAR005AAN"}],
         "columns": [
                 {"name": "07"},
                 {"name": "11"}
                 ],
         "rows": [
                 {"name": "B"}
                 ],
         "wells": [
                 {"path": "B/07"},
                 {"path": "B/11"}
                 ]
}}

and napari shows the two wells next to each other (which is wrong), but it does not complain about (lazily) loading a highest-resolution level which has shape (4, 1, 8640, 25600).
Now we add more (missing) columns, since we want napari to show the two wells in their correct position.
{"plate": {
         "acquisitions": [{"id": 0, "name": "210305NAR005AAN"}],
         "columns": [
                 {"name": "07"},
                 {"name": "08"},
                 {"name": "09"},
                 {"name": "10"},
                 {"name": "11"}
                 ],
         "rows": [
                 {"name": "B"}
                 ],
         "wells": [
                 {"path": "B/07"},
                 {"path": "B/11"}
                 ]
}}

This results in an error, with the last part of napari's log reading:
WARNING: Traceback (most recent call last):
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/vispy/app/backends/_qt.py", line 903, in paintGL
    self._vispy_canvas.events.draw(region=None)
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/vispy/util/event.py", line 453, in __call__
    self._invoke_callback(cb, event)
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/vispy/util/event.py", line 471, in _invoke_callback
    _handle_exception(self.ignore_callback_errors,
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/vispy/util/event.py", line 469, in _invoke_callback
    cb(event)
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/_qt/qt_viewer.py", line 1025, in on_draw
    layer._update_draw(
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/layers/base/base.py", line 1593, in _update_draw
    self.refresh()
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/layers/base/base.py", line 1179, in refresh
    self.events.set_data()  # refresh is called in _update_dims which means that extent cache is invalidated. Then, base on this event extent cache in layerlist is invalidated.
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/utils/events/event.py", line 757, in __call__
    self._invoke_callback(cb, event if pass_event else None)
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/utils/events/event.py", line 794, in _invoke_callback
    _handle_exception(
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/utils/events/event.py", line 783, in _invoke_callback
    cb()
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/_vispy/layers/image.py", line 112, in _on_data_change
    self._set_node_data(self.node, self.layer._data_view)
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/_vispy/layers/image.py", line 124, in _set_node_data
    data = self.downsample_texture(data, self.MAX_TEXTURE_SIZE_2D)
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/_vispy/layers/image.py", line 222, in downsample_texture
    raise ValueError(
ValueError: Shape of in dividual tiles in multiscale (2880, 21330) cannot exceed GL_MAX_TEXTURE_SIZE 16384. Rendering is currently in 2D mode.
12:14:36 WARNING Traceback (most recent call last):
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/vispy/app/backends/_qt.py", line 903, in paintGL
    self._vispy_canvas.events.draw(region=None)
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/vispy/util/event.py", line 453, in __call__
    self._invoke_callback(cb, event)
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/vispy/util/event.py", line 471, in _invoke_callback
    _handle_exception(self.ignore_callback_errors,
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/vispy/util/event.py", line 469, in _invoke_callback
    cb(event)
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/_qt/qt_viewer.py", line 1025, in on_draw
    layer._update_draw(
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/layers/base/base.py", line 1593, in _update_draw
    self.refresh()
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/layers/base/base.py", line 1179, in refresh
    self.events.set_data()  # refresh is called in _update_dims which means that extent cache is invalidated. Then, base on this event extent cache in layerlist is invalidated.
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/utils/events/event.py", line 757, in __call__
    self._invoke_callback(cb, event if pass_event else None)
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/utils/events/event.py", line 794, in _invoke_callback
    _handle_exception(
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/utils/events/event.py", line 783, in _invoke_callback
    cb()
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/_vispy/layers/image.py", line 112, in _on_data_change
    self._set_node_data(self.node, self.layer._data_view)
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/_vispy/layers/image.py", line 124, in _set_node_data
    data = self.downsample_texture(data, self.MAX_TEXTURE_SIZE_2D)
  File "/home/tommaso/miniconda3/envs/fractal/lib/python3.8/site-packages/napari/_vispy/layers/image.py", line 222, in downsample_texture
    raise ValueError(
ValueError: Shape of in dividual tiles in multiscale (2880, 21330) cannot exceed GL_MAX_TEXTURE_SIZE 16384. Rendering is currently in 2D mode.
Aborted (core dumped)

Now we fake a 2D array of wells, by adding another missing column:
{"plate": {
         "acquisitions": [{"id": 0, "name": "210305NAR005AAN"}],
         "columns": [
                 {"name": "07"},
                 {"name": "08"},
                 {"name": "09"},
                 {"name": "10"},
                 {"name": "11"}
                 ],
         "rows": [
                 {"name": "B"},
                 {"name": "C"}
                 ],
         "wells": [
                 {"path": "B/07"},
                 {"path": "B/11"}
                 ]
}}

In this case napari doesn't fail, and it shows the two wells in the correct position. This is already confusing.
Let's now add some more complexity now. All these tests were done with the napari window occupying half of my screen. Now, if I make it as large as the screen, the error may appear again in all cases. This is very confusing!

Have we ever run into this again @tcompa ? I've never seen this come up again with OME-Zarr file.
Feel free to reopen if you keep seeing this.

I tried to reproduce this now, and the error changed. We can keep this closed (nothing related to GL any more), but for sure there is some glitch in napari when the grid of wells is one-dimensional.

Steps to reproduce:

Prepare an OME-Zarr file with the two wells B03 and B05.
Display the plate with napari -> this incorrectly shows the two wells next to each other, instead of leaving the space for B04 empty.
Modify the plate .zattrs file, by adding a fake column 04 and a fake well B04.
Display the plate with napari -> this shows the two wells at the expected positions, but raises a zarr.errors.ArrayNotFoundError: array not found at path %r' 'B/04/0/0' error for the missing well.

Ok, that is a different limitation. The question of how wells in a plate should be shown and how the user will know which well is which, is broader. Maybe we can start to address some of it when we start loading more varied wells in the plate reader (i.e. wells of different sizes).
According to the current spec, the metadata should only contain entries for wells that are present. And I'm not sure how strong napari-ome-zarr wants to have assumptions on the layouts following our regular plate layouts where B03 & B05 would not be neighbors. But worth a try eventually establishing that :)


Modified hi.toml to adopt new localization string for release page

Fix: #36760

Hi @NitishKumar06 can you please squash the commits to make the PR ready to merge. Thanks.

Sure!
On Wed, 21 Dec, 2022, 12:21 pm Vitthal Sai Kaul, @.***>
wrote:

Hi @NitishKumar06 https://github.com/NitishKumar06 can you please
squash the commits to make the PR ready to merge. Thanks.
—
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/website/pull/36767#issuecomment-1360921920,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUQQSLS2PR4R2QC7VKC666DWOKSHRANCNFSM6AAAAAAQLCZNNA
.
You are receiving this because you were mentioned.Message ID:
@.***>

The following PR contains merge conflicts! I'm closing this PR and would raise a new PR

/remove-area blog release-eng
/remove-language de en es fr id it ja ko pl pt ru vi zh
/remove-sig release


feat: automate Crossplane generation process

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (main@75a4e01). Learn more about missing BASE report.

Additional details and impacted files
@@          Coverage Diff           @@
##             main     #26   +/-   ##
======================================
  Coverage        ?   0.00%
======================================
  Files           ?     309
  Lines           ?   30516
  Branches        ?       0
======================================
  Hits            ?       0
  Misses          ?   30516
  Partials        ?       0

Flag
Coverage Δ

unittests
0.00% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Update: ProtectedPay ( Multichain now)

Description

Updated BUIDL:  https://dorahacks.io/buidl/20120

Scan & Pay Feature for mobile users, qr upload feature for deskptop users for ease of payments.

Bought domain: protectedpay.xyz

Project now multichain currently supporting: Kaia, NeoX, EDUchain, Flow chain

From a single domain people can switch between networks easily with single click insted of multuple domains like earlier

Website ui/ux much better now revamped homepage party

We now have a fully working tg mini app

Our project is fully mobile responsive plus works on mobiles now a charm too with wallet connections working properly when used in metamask's inbuilt browser

Project much more active now on x/Twitter too

Reference issue

#259 #316

Category

Defi
Infrastructure

@zxstim took your advice have progressed a lot on the project.


[SPARK-21565][SS] Propagate metadata in attribute replacement.

What changes were proposed in this pull request?
Propagate metadata in attribute replacement during streaming execution. This is necessary for EventTimeWatermarks consuming replaced attributes.
How was this patch tested?
new unit test, which was verified to fail before the fix

Can one of the admins verify this patch?

ok to test

Test build #80233 has started for PR 18840 at commit e54d812.

Test build #80233 has finished for PR 18840 at commit e54d812.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/80233/
Test FAILed.

Test build #80356 has started for PR 18840 at commit 578e26d.

LGTM pending tests.

@joseph-torres could you change the PR title to "[SPARK-21565][SS] Propagate metadata in attribute replacement"? We usually put the module name in the PR title.

Test build #80356 has finished for PR 18840 at commit 578e26d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/80356/
Test PASSed.

Thanks! Merging to master and branch-2.2.


Users/kuleshovilya/fix 15031 add strictness option

Task name: JenkinsQueueJobV2
Description: Add input boolean for determining whether
Documentation changes required: Y
Added unit tests: N
Attached related issue: 15031
Checklist:

[ + ] Task version was bumped - please check instruction how to do it
[ + ] Checked that applied changes work as expected

Please also include task-loc.json changes :)

Done


encounter issues installing on laravel 5.8.34

Problem 1

laravel/framework v5.8.34 conflicts with laravel/framework[5.5.x-dev].
laravel/framework 5.5.x-dev conflicts with laravel/framework[v5.8.34].
laravel/framework 5.5.x-dev conflicts with laravel/framework[v5.8.34].
mekaeil/laravel-user-management v0.6.1 requires laravel/framework 5.5.* -> satisfiable by laravel/framework[5.5.x-dev].
Installation request for mekaeil/laravel-user-management ^0.6.1 -> satisfiable by mekaeil/laravel-user-management[v0.6.1].
Installation request for laravel/framework (locked at v5.8.34, required as 5.8.*) -> satisfiable by laravel/framework[v5.8.34].

Good work on this package. Please i love to use your package for my project but has difficulties installing on laravel 5.8.34. if I do composer required, it doesn't install either.
other details that might help:"license": "MIT",
"require": {
"php": "^7.1.3",
"fideloper/proxy": "^4.0",
"laravel/framework": "5.8.*",
"laravel/tinker": "^1.0",
"laravelcollective/html": "^5.8",
"laravolt/eloquent-uuid": "^0.1.0",
"nicolaslopezj/searchable": "^1.11",
"spatie/laravel-medialibrary": "^7.0.0",
"mekaeil/laravel-user-management": "^0.6.1"

Fork this repository and then change laravel to 5.8.* in composer.json in the newly forked repositry and then install package from that repository.

Good, thanks so much
On Mon, Sep 2, 2019, 11:42 AM Ehsan<EMAIL_ADDRESS>wrote:

Fork this repository and then change laravel to 5.8.* in composer.json in
the newly forked repositry and then install package from that repository.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Mekaeil/LaravelUserManagement/issues/1?email_source=notifications&email_token=ABNJHSMR63Q6KO7FJZCQHTTQHTU2ZA5CNFSM4ISS4JR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5VOQ5A#issuecomment-527100020,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNJHSMPAXJKKJXYI6TOFLTQHTU2ZANCNFSM4ISS4JRQ
.

Problem 1

laravel/framework v5.8.34 conflicts with laravel/framework[5.5.x-dev].
laravel/framework 5.5.x-dev conflicts with laravel/framework[v5.8.34].
laravel/framework 5.5.x-dev conflicts with laravel/framework[v5.8.34].
mekaeil/laravel-user-management v0.6.1 requires laravel/framework 5.5.* -> satisfiable by laravel/framework[5.5.x-dev].
Installation request for mekaeil/laravel-user-management ^0.6.1 -> satisfiable by mekaeil/laravel-user-management[v0.6.1].
Installation request for laravel/framework (locked at v5.8.34, required as 5.8.*) -> satisfiable by laravel/framework[v5.8.34].

Good work on this package. Please i love to use your package for my project but has difficulties installing on laravel 5.8.34. if I do composer required, it doesn't install either.
other details that might help:"license": "MIT",
"require": {
"php": "^7.1.3",
"fideloper/proxy": "^4.0",
"laravel/framework": "5.8.*",
"laravel/tinker": "^1.0",
"laravelcollective/html": "^5.8",
"laravolt/eloquent-uuid": "^0.1.0",
"nicolaslopezj/searchable": "^1.11",
"spatie/laravel-medialibrary": "^7.0.0",
"mekaeil/laravel-user-management": "^0.6.1"

Now, in this version (0.6.5) the package supported the Laravel ^5.5|^6.0.
please update your composer.


Question - Does syn match respect \zs \ze ?

Hello Reader,
I'm trying to create a custom syntax file.
The lines I'm matching are structured like this ...
<filepath>:<linenumber>:<columnnumber>: <classification>: <message> [<affected entitiy>] (<violated rule>)
example ...
work/path/to/file.c:135:44: advisory: Pointer arithmetic not allowed [-] (Rule 18.4)
all good with that, no issues with the regex, they all work on their own and the correct parts get highlighted as expected.
my strategy is to describe the whole line and use \zs and \ze to mark the start and end of the parts to be highlighted.
here the important lines ...
hi AXV_FILE    guifg=#458588
hi AXV_LINE    guifg=#B8BB26
hi AXV_COL     guifg=#FABD2F
hi AXV_CLASS   guifg=#D79921
hi AXV_MESSAGE guifg=#EBDBB2
hi AXV_ENTITY  guifg=#FB4934
hi AXV_RULE    guifg=#B16286

sy match AXV_FILE    /^\zs[^:]\+\ze:\d\+:\d\+: \w\+: .\+ \[.\+\] (.\+)$/
sy match AXV_LINE    /^[^:]\+:\zs\d\+\ze:\d\+: \w\+: .\+ \[.\+\] (.\+)$/
sy match AXV_COL     /^[^:]\+:\d\+:\zs\d\+\ze: \w\+: .\+ \[.\+\] (.\+)$/
sy match AXV_CLASS   /^[^:]\+:\d\+:\d\+: \zs\w\+\ze: .\+ \[.\+\] (.\+)$/
sy match AXV_MESSAGE /^[^:]\+:\d\+:\d\+: \w\+: \zs.\+\ze \[.\+\] (.\+)$/
sy match AXV_ENTITY  /^[^:]\+:\d\+:\d\+: \w\+: .\+ \[\zs.\+\ze\] (.\+)$/
sy match AXV_RULE    /^[^:]\+:\d\+:\d\+: \w\+: .\+ \[.\+\] (\zs.\+\ze)$/

But when I execute all sy lines, then only the first one works in the sense that only the filename/path gets highlighted.
So I did some investigations and I read :h :syn-priority and I have the feeling that's the part of the documenation that explains why the sy regexs work on their own but not when all have been executed.
The manual does not state if \zs and \ze are considered or not. Or in other words - are these regex pattern starting at the same column or not? From the highlighting I can tell they are definitely considered, but I dont know if these columns are also used for the priority check.
In my opinion Vim should recognize that they are covering different parts of a matching line and should respect \zs and \ze, and therefore there is no overlapping of "regions".

Do you know how this has been implemented at the moment?
Am I missing something like an option that solves my problem?

I also tried playing with contains/contained but has the regions are not actually overlapping, no nesting, if \zs and \ze would be considered

Can Vim in the future consider \zs and \ze to mark the start and end of a matching pattern correctly?

Thanks for your support
marco

Instead of examining whole lines with every :syn-match, try
claiming the line once, and then looking for submatches in
it for decoration, e.g.:
" <filepath>:<line_number>:<column_number>: <classification>: <message> [<affected entity>] (<violated rule>)
sy match AXV_SPAN transparent contains=CONTAINED
	\ /^.\{-1,}:\d\+:\d\+: \w\+: .\+ \[.\{-1,}\] (.\{-1,})$/
sy match AXV_FILE	contained /^\zs.\{-1,}\ze:/
sy match AXV_LINE	contained /:\zs\d\+\ze:\d\+:/
sy match AXV_COL	contained /:\zs\d\+\ze: \w\+:/
" Define a more general match pattern for <message> before...
sy match AXV_MESSAGE	contained /: \zs.\+\ze \[.\{-1,}\] (.\{-1,})$/
" ...a less general match pattern for <classification>.
sy match AXV_CLASS	contained /: \zs\w\+\ze: .\+ \[.\{-1,}\] (.\{-1,})$/
sy match AXV_ENTITY	contained /\[\zs.\{-1,}\ze\] (.\{-1,})$/
sy match AXV_RULE	contained /(\zs.\{-1,}\ze)$/

hi def link AXV_FILE	PreProc
hi def link AXV_LINE	Comment
hi def link AXV_COL	Identifier
hi def link AXV_CLASS	Type
hi def link AXV_MESSAGE	Constant
hi def link AXV_ENTITY	Todo
hi def link AXV_RULE	Error

thank you @zzzyxwvut
I was able to make it work

note, there is also :h syn-nextgroup


Different refresh token endpoint

Is it possible to define a different refresh token endpoint from the regular login endpoint?

No, you can only set the serverTokenEndpoint. I think as per RFC6749 you actually have to use /token anyway.


[BUG] OnVolumeIndicationHandler no working on Refactor 4 (WebGl Only)

Describe the bug
OnVolumeIndicationHandler not response again on Webgl. But on editior, everything was fine.

hello we use OnVolumeIndicationHandler our app its working on refactor4 but you need to use player agorauid not 0.
0 doesnt signifies local player on webgl. Also speakers[i].vad always 0 on webgl to you need to use volume.
Try this code
you can learn local player agorauid from this event
private void onJoinChannelSuccess(string channelName, uint uid, int elapsed)
{
    Debug.Log("JoinChannelSuccessHandler: uid = " + uid);
    //GameObject textVersionGameObject = GameObject.Find("VersionText");
    //textVersionGameObject.GetComponent<Text>().text = "SDK Version : " + getSdkVersion();
    agoraConnectedToChannel = true;
    agorauid = uid.ToString();

}

private void OnVolumeChangedHandler(AudioVolumeInfo[] speakers, int speakerNumber, int totalVolume)
{
// if there is anyone speaking
    if (Application.platform == RuntimePlatform.WebGLPlayer)
    {
        if (speakers != null)
        {

            for (int i = 0; i < speakers.Length; i++)
            {
                //Debug.Log("speaker: " + i);

                // If speaker uid == 0, that signifies you have the local player
                if (speakers[i].uid.ToString() == agorauid)
                {
                    if (speakers[i].volume < 20)
                    {
                        isTalking = false;
                    }
                    else
                    {
                        isTalking = true;
                    }
                    //Debug.Log("MicVol: " + speakers[i].volume);
                }

            }
        }

        else
        {
            isTalking = false;
        }
    }

    else

    {
        if (speakers != null)
        {

            for (int i = 0; i < speakers.Length; i++)
            {
                //Debug.Log("speaker: " + i);

                // If speaker uid == 0, that signifies you have the local player
                if (speakers[i].uid == 0)
                {
                    if (speakers[i].vad == 0)
                    {
                        isTalking = false;
                    }
                    else
                    {
                        isTalking = true;
                    }
                    //Debug.Log("MicVol: " + speakers[i].volume);
                }

            }
        }

        else
        {
            isTalking = false;
        }
    }

}

OverflowException: Value was either too large or too small for a UInt32.
System.Number.ParseUInt32 (System.String value, System.Globalization.NumberStyles options, System.Globalization.NumberFormatInfo numfmt) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.UInt32.Parse (System.String s) (at <695d1cc93cca45069c528c15c9fdd749>:0)
agora_gaming_rtc.IRtcEngine+<>c__DisplayClass342_0.b__0 () (at Assets/AgoraEngine/Scripts/AgoraGamingSDK/AgoraGamingRtcEngine.cs:5631)
agora_gaming_rtc.AgoraCallbackQueue.Update () (at Assets/AgoraEngine/Scripts/AgoraGamingSDK/tools/AgoraCallbackQueue.cs:54)

so what was this error about? how to fix it


About the training images

Thanks for your great work!
I find the training dataset that you offer is 256x256，but the original image is 256x176，I want to know the way to turn 256x176 into 256x256.
Thanks again!

We resize the images. Specifically, we use Image.BICUBIC (antialiasing) as interpolation method in the resize function.

Thank you for your reply.
My expression may have misunderstood you.
I find the high resolution image is different from then 256 image, it seems like you added white area on both sides, and I find the left and right blank areas are not the same size in some images.  I want to know how you did it.
The example is as follows: (WOMEN/Blouses_Shirts/id_00000001/02_1_front.jpg)

Thanks again!

I find trans_keypoins in data/fashion_data.py :
keypoints[:,0] = (keypoints[:,0]-40)
Does it mean if I want to train 512*352 , I can use the same pose.txt as 256 without keypoints[:,0]-40

I find the high resolution image is different from then 256 image, it seems like you added white area on both sides, and I find the left and right blank areas are not the same size in some images. I want to know how you did it.

Have you used the prepare_data.py file to create the lmdb dataset? Could you also let me know how you obtained the first image (the low-res one). It would help me to debug as I think there should not be any white space on the both sides.

I find trans_keypoins in data/fashion_data.py : keypoints[:,0] = (keypoints[:,0]-40) Does it mean if I want to train 512*352 , I can use the same pose.txt as 256 without keypoints[:,0]-40

The dataloader code would remain same. You just need to create a new lmdb using prepare_data.py. You can set your required image-size in the --sizes argument while running this file.

你好! 请问你知道怎么制作更多的'data/deepfashion_256x256/target_pose/*.npy'文件吗?

Thanks, I create a new lmdb using prepare_data.py and I am trainning successfully.  By the way, how many epochs have you trained on 512*352

200 epochs | 300k iterations with batchsize:8 and no_gpu:8

THANKS!


Remove trailing commas in objects literals

IE does not support the syntax of trailing commas in objects.
Resolves: #222

Thanks! 👍


Fix get_random_rpc so that it will choose an RPC that won't fail to connect

Update get_random_rpc so that it doesn't choose an rpc that requires a token that the user doesn't have causing an error like ape.exceptions.ProviderError: No (supported) node found on 'https://sepolia.infura.io/[hidden]'.

Here's the offending line:
https://github.com/ApeWorX/evmchains/blob/79da8102cb207c784f3b347e8766bec77ee65924/evmchains/chains.py#L99
Agreed, this is a bug.
Unfortunately, there's a few networks where the Infura node is one of 2 available public nodes.  We could have that function look for a matching env var during selection and return it if possible.  Or just filter them out from the list entirely.  I don't have strong feelings either way.  Thoughts?

It's not just the infura rpc that shows this error. I've also noticed it when it is trying to connect with tenderly node as well
"https://sepolia.gateway.tenderly.co",. Not sure if there are more rpcs that are affected by this currently.

It's not just the infura rpc that shows this error. I've also noticed it when it is trying to connect with tenderly node as well "https://sepolia.gateway.tenderly.co",

The linked tenderly RPC doesn't have the same issue with the required keys.  If you can repro and confirm that error, can you post it?  We can blacklist it if it doesn't work.

It's not just the infura rpc that shows this error. I've also noticed it when it is trying to connect with tenderly node as well "https://sepolia.gateway.tenderly.co",

The linked tenderly RPC doesn't have the same issue with the required keys. If you can repro and confirm that error, can you post it? We can blacklist it if it doesn't work.

You were right. Seems to be just an issue from just infura when I'm trying to connect to the network.


feat:(changeUsername): Add API endpoint to support change username from dashboard

This PR is being opened in order to support feature request getumbrel/umbrel-dashboard#365.  This change is required in order to support getumbrel/umbrel-dashboard#366, please see 366 for additional details on this feature.

Issue resolved in #74


Update how release health is determined

Previously isNextReleaseHealthy waited until there was exactly 1 healthy pod returned by gigalixir ps. This is often not the case for single-replica apps (and never the case for multi-replica apps) when the release has actually succeeded.
This primary update in this PR is to change isNextReleaseHealthy to look for the n healthy replicas, where n is the number of requested replicas in Gigalixir's scaling configuration.
The PR also moves away from exponential backoff in fetching current replica status (which I only included because @mhanberg mentioned in #12). It now checks every 10 seconds and times out after 10 minutes. If there's any want for it, we could make this configurable (so that apps that usually release quickly can fail quickly and save some GH Actions minutes).
If you want these updates separated, or otherwise changed, let me know!

You could potentially also use the version field to help determine whether the healthy pod is a new one or an old one.

You could potentially also use the version field to help determine whether the healthy pod is a new one or an old one.

I think that is already the case, unless you mean something else that i'm not understanding 😅.

Oh sorry, I didn't actually look at the code before commenting. In that case why is it insufficient to check for one healthy pod of the new version for single replica apps?

Oh okay, looking at the code I think I understand now. It wasn't looking at version before, but is now. Looks good! Sorry I didn't do my research before commenting.

Before it was checking for exactly 1 replica, where in his case it might go from 0 -> 2 (or anything greater than 1) in between checks, so it would never finish.
At least that is my understanding.

Oh okay, looking at the code I think I understand now. It wasn't looking at version before, but is now. Looks good! Sorry I didn't do my research before commenting.

Cool, no worries, we all appreciate you taking a look in any capacity haha 😄


Adds 'IN' metadata filter for pgvector for checking set presence

Adds "IN" metadata filter for pgvector to all checking for set presence
PGVector currently supports metadata filters of the form:
{"filter": {"key": "value"}}

which will return documents where the "key" metadata field is equal to "value".
This PR adds support for metadata filters of the form:
{"filter": {"key": { "IN" : ["list", "of", "values"]}}}

Other vector stores support this via an "$in" syntax. I chose to use "IN" to match postgres' syntax, though happy to switch.
Tested locally with PGVector and ChatVectorDBChain.
@dev2049

nice! could we add a simple integration test?

Added an integration test!

ready for merge, maintain needs to resolve linting issues

landed #4982 !

@jadespanning please add this to docs


feat: add gnss/imu localizer

Description
This is the PR for integrating GNSS/IMU localizar discussed in the discussion below.
https://github.com/orgs/autowarefoundation/discussions/3257

Added gnss imu localizar related launch,param
Added ~localization_mode~pose_estimator_mode(lidar, gnss),~eaglye_twist~twist_estimator_mode(gyro_odom_fusion, gyro_odom_gnss_fusion) parameter in localization.launch.xml to switch between pose,twist
In gyro_odom_gnss_fusion mode, twist is corrected by gnss.
You can adjust the eagleye pose output in launch/tier4_localization_launch/launch/eagleye/fix2pose.xml.

Related links
https://github.com/autowarefoundation/autoware/pull/3261
https://github.com/autowarefoundation/autoware_launch/pull/200
https://github.com/autowarefoundation/autoware-documentation/pull/334
Tests performed
Localizaiton methods are expected to work as normal, even if they change.
Sample rosbag is available for simple operation tests.
Also, if you have a rosbag of a system with the same configuration of sensors, you can check the operation to some extent.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The Reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Corrected based on today's review.
https://github.com/autowarefoundation/autoware.universe/pull/2848/commits/048ef6b713987f7e0843e885d30695d6b0dd579e

Thank you for the contribution! :+1:
I have checked this GNSS/IMU localization in my environment.  And, it seemed to correctly estimate the position.
I have verified all the following mode combinations.

twist_estimator_mode
pose_estimator_mode

1
gyro_odom_fusion (default)
lidar (default)

2
gyro_odom_gnss_fusion
lidar (default)

3
gyro_odom_fusion (default)
gnss

4
gyro_odom_gnssfusion
gnss

Here's what I noticed during the test.

Combinations 3 and 4 take a long time to complete the initial position estimation (In my environment it took about 30 seconds after the vehicle started running).
It doesn't perform map matching, so if we use a non-georeferenced map, the position will deviate from the true position.

The commits went wrong, should I close this PR and submit a different one...?
I feel like I can't get back to where I was.

@rsasaki0109  I don't know the exact rules, but this PR with similar mistakes has been closed and re-created.


Is my vimrc interfering with syntastic?

Hi guys,
I git cloned the syntastic repo into my bundles folder, restarted iterm2 and syntastic didnt work. I suspect my .vimrc file contains a command that's messing with it.
http://dpaste.com/706583/
Any idea what might be the cause of this?
Thanks.

Can you elaborate on what you mean by it doesn't work?
What is the filetype your are checking? :echo filetype
Based on the filetype, have a look in the syntastic syntax_checkers folder and see what shell tools they use.
For example, if you are looking at javascript, do you have jslint installed?  (installed via npm?)  (after installing node: npm install -g jslint)... For each filetype you care about, you'll want to make sure you have the corresponding syntax_checker's shell tools required...
Also check that /usr/local/bin is in your $PATH etc... because that's where your shell tools will likely be installed if you are on a unix-like system.
(Perhaps this is all obvious... but worth checking that you have the shell tools that syntastic depends on setup correctly.)

Sorry, I came back to precisely update that comment after realising how unhelpful it was. When I mean it doesn't work I meant there is not highlighting or alerts in the python files that I am editing.
Typing :echo filetype gives me the following errors:E121: Undefined variable: filetype and E15: Invalid expression: filetype
I will have a look in the syntax_checkers folder.

Apologies, I'm being terribly ignorant about this. So in the syntax_checkers for python.vim, I see
if exists("loaded_python_syntax_checker")
    finish
endif
let loaded_python_syntax_checker = 1

if !exists('g:syntastic_python_checker_args')
    let g:syntastic_python_checker_args = ''
endif

let s:supported_checkers = ["flake8", "pyflakes", "pylint"]
call SyntasticLoadChecker(s:supported_checkers)

I suppose I need flake8, pyflakes and pylint? But from where do I get them from? Do I git clone those repos into my bundles folder? Which version should I use? I have also pip installed them (if that helps)

Glad you got it working.  (I meant to say :echo &filetype... the & is important... but I mistyped).

Hey @nychng
As you have discovered, syntastic uses external syntax checkers (like pyflakes, flake8 etc) to check your files so you have to have one of them installed first.
A few people have asked questions like this so I will update the readme to try make things clearer :)


Browser dies silently

I'm trying to access a page in a loop, but at some points it seems that the browser is silently dying and I'm not aware of it until the next operation using the browser.
Steps to reproduce
Tell us about your environment:

Puppeteer version: ec760ab5e345cc18e3199e937ecddc6cac3bd703
Platform / OS version: debian stretch
URLs (if applicable): https://www.cbsnews.com/news/missouri-disabled-woman-gypsy-blancharde-pleads-not-guilty-in-mothers-murder/

What steps will reproduce the problem?
'use strict';

const puppeteer = require('puppeteer');
const longjohn = require("longjohn");
longjohn.async_trace_limit = -1;

const URL = "http://www.cbsnews.com/news/missouri-disabled-woman-gypsy-blancharde-pleads-not-guilty-in-mothers-murder/";

function sleep(ms) {
  return new Promise((resolve) => setTimeout(resolve, ms));
}

(async() => {
  process.on("uncaughtException", (e) => {
    console.error("Unhandled exeption:", e);
    cont = false;
  });
  process.on("unhandledRejection", (reason, p) => {
    console.error("Unhandled Rejection at: Promise", p, "reason:", reason);
    // application specific logging, throwing an error, or other logic here
    cont = false;
  });
  const args = [
    "--disable-gpu",
    "--disable-setuid-sandbox",
    "--force-device-scale-factor",
    "--ignore-certificate-errors",
    "--no-sandbox",
  ];
  const options = {
    args,
    headless: false,
    ignoreHTTPSErrors: true,
  };
  let cont = true;
  let n = 0
  const browser = await puppeteer.launch(options);
  while (cont) {
    console.log(n);
    n++
    const page = await browser.newPage();
    await page.setRequestInterceptionEnabled(true);
    page.on("request", (request) => {
      if (request.resourceType === "Image") {
        request.abort();
      } else {
        request.continue();
      }
    });
    await page.goto(URL, { timeout: 30000, waitUntil: "load" });
    await page.waitFor(1000);
    const html = await page.content();
    await page.close();
    await sleep(2000);
  }
  await browser.close();
})();

Just launch this code and it should crash pretty quickly.
What is the expected result?
The program should loop forever
What happens instead?
$ nodejs ./bin/test_server/minimal.js
0
1
Unhandled Rejection at: Promise Promise {
  <rejected> Error: not opened
    at WebSocket.send (/home/team/prod/bin/test_server/node_modules/ws/lib/WebSocket.js:355:18)
    at Connection.send (/home/team/prod/bin/test_server/node_modules/puppeteer/lib/Connection.js:72:14)
    at Browser.newPage (/home/team/prod/bin/test_server/node_modules/puppeteer/lib/Browser.js:46:47)
    at __dirname (/home/team/prod/bin/test_server/minimal.js:41:32)
    at <anonymous>
---------------------------------------------
    at __dirname (/home/team/prod/bin/test_server/minimal.js:18:11)
    at Object.<anonymous> (/home/team/prod/bin/test_server/minimal.js:57:3)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Function.Module.runMain (module.js:609:10)
    at startup (bootstrap_node.js:158:16) } reason: Error: not opened
    at WebSocket.send (/home/team/prod/bin/test_server/node_modules/ws/lib/WebSocket.js:355:18)
    at Connection.send (/home/team/prod/bin/test_server/node_modules/puppeteer/lib/Connection.js:72:14)
    at Browser.newPage (/home/team/prod/bin/test_server/node_modules/puppeteer/lib/Browser.js:46:47)
    at __dirname (/home/team/prod/bin/test_server/minimal.js:41:32)
    at <anonymous>
---------------------------------------------
    at __dirname (/home/team/prod/bin/test_server/minimal.js:18:11)
    at Object.<anonymous> (/home/team/prod/bin/test_server/minimal.js:57:3)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Function.Module.runMain (module.js:609:10)
    at startup (bootstrap_node.js:158:16)
Unhandled exeption: { Error: kill ESRCH
    at Object._errnoException (util.js:1041:11)
    at process.kill (internal/process.js:184:18)
    at process.killChrome (/home/team/prod/bin/test_server/node_modules/puppeteer/lib/Launcher.js:124:19)
    at emitOne (events.js:115:13)
    at process.emit (events.js:210:7)
    at process.emit (/home/team/prod/bin/test_server/node_modules/source-map-support/source-map-support.js:431:21)
---------------------------------------------
    at Function.addEventListener (/home/team/prod/bin/test_server/node_modules/puppeteer/lib/helper.js:189:13)
    at Function.launch (/home/team/prod/bin/test_server/node_modules/puppeteer/lib/Launcher.js:100:32)
    at Function.launch (/home/team/prod/bin/test_server/node_modules/puppeteer/lib/Puppeteer.js:25:21)
    at __dirname (/home/team/prod/bin/test_server/minimal.js:37:35)
    at Object.<anonymous> (/home/team/prod/bin/test_server/minimal.js:57:3)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12) code: 'ESRCH', errno: 'ESRCH', syscall: 'kill' }

Actually, it seems that I need to run this code in xvfb to make it crash. No idea why.

xvfb-run -a --server-args="-screen 0 1920x2000x24" bash -c "export DEBUG=* && nodejs bin/test_server/browser_dies.js 2> puppeteer.log"
I ran the program like this to get the puppeteer logs:
puppeteer.log

Puppeteer should provide browser.closed  and page.closed events so that it's possible to build reliable scripts - filed #952 to track this.
The crashes themselves are bugs, please report to chromium: crbug.com/new


Support a disabled switch

This PR is aimed at having simple-switch support checkboxes that have the disabled attribute set.

@aeolingamenfel I just wanted to make sure you saw this one as well

Ah, sorry. I just added a description

I took care of the MutationObserver part of this and the class name change. The only thing left to do is swap pointer-events: none; for JS that disables the switch.

@aeolingamenfel Alright, I took care of all your feedback. Want to take another look?

@aeolingamenfel I took care of those feedback items as well. Thanks for being so quick to review this. I've been very happy with the library so far and will be continuing to use it in our production app. Great work on it!

Looks good to me, and I'm really glad to hear that! Thanks for taking the time to contribute!

This PR is now available as part of version 0.6.0. You can get it via NPM or on the 0.6.0 Release here on GitHub.


Why is the use of CPU very high

VSCode Version:1.19.3
OS Version:Windows10 x64

Steps to Reproduce:

Does this issue occur when all extensions are disabled?: Yes/No

It may happen if you have a lot of files in your project and you need to exclude them for e.g. for JavaScript node_modules, bower_components, tmp files, cache, etc.

Please include as many details as possible. Did you just open a project? How long was rg.exe using lots of CPU? Does it occur with extensions disabled?