Company Page - required project status change button in project view By Suresh Sir

Describe the bug
required project status change button

over to @vinpahilwani

Problem Statement Missing!!

We have not provided Multiple Action Button to any Popovers

Please Provide Scope to where this need to come ? with Which Roles?

@sureshsirvi samajh me aaye aisa likho

@mitulpanch plz help me understand

Multiple Action button required here, as shown in above image, in side popover

Problem Statement:

User deficultiy is when user comes to project popover from company page during the presence of clients .. then their is multiple projects pending for such client and all are on lead .. but it the time of meeting with clients it comes to in knowledge that we have received all documents but project status is not updated and now we wants to update all projects. here we required Action Button.
In the same above issue we also need it to add Multi TAG on projects for project popover page.

#1712 can solve this

Closing this issue in favor of #1712
Both are same


feat(schema): Add mimetype field to TextNode

This commit adds a new field, mimetype, to the TextNode class in the schema module. The mimetype field represents the MIME type of the node content. This change enhances the functionality and flexibility of the TextNode class by allowing it to store and retrieve information about the MIME type associated with its content.

@logan-markewich this is the PR for the mimeType field on TextNode

(we can ignore the ai21 test failing 😅 )


CalTRACK Working Group Issue: Voluntary Investigations

Prerequisites

[x] Are you opening this issue in the correct repository (caltrack/grid/seat)?
[x] Did you perform a search of previous Github issues to check if this issue has been previously considered?

Description
Although our current process prioritizes important issues for CalTRACK, it does not take into account issues which are small and have willing testers. As the barrier to investigation for these issues is lower, we should entertain a secondary mechanism by which an issue is taken up by the Working Group.
I propose that we allow independent testing of minor issues to be conducted by willing testers. They should notify the group before they begin testing.  Once their testing is completed, the working group will vote to add review of their results to the agenda of a given meeting. At that point, they can share results and ask for another party to confirm them.
Voting on this Process Change
Please vote by commenting on this post. You may vote "Yes" or "No" on this issue.

Yes! Hopefully this will enable more & faster improvements to CalTRACK.


python quine not accepted

The quine r='r=%r;print(r%%r)';print(r%r) succesfully prints exactly itself to standard output, but is not accepted as a correct answer.

I think you need to add a trailing newline to your source code as python seems to add one to print in my experimentation. The Quine hole is the only hole where "Trailing whitespace is NOT stripped from the output for this hole."
I agree the HTML output makes this less than clear though, #11 tracks adding a diff output which should ideally make this easier to spot.

Thanks! That did it. It was not at all clear that my output included a newline. I thought it could be a whitespace error so I even tried marking the output to see if I had a trailing whitespace.

No worries, I'll close this bug in favour of #11 with the plan to improve the diff output.


feat(knext): add knext feature and refactor some code

I added commit align with nn4k interface and remove extra files to:

align with NN4K interface change
avoid conflicts when merge with PR #57.


Update "query REQUIREMENTS with no passed test"

Found a much simpler form for this query than the UNION.

[x] Discuss intermediate query with team (why MINUS is tricky and doesn't play nice with UNION)
[x] Discuss final query with team
[x] Put into "advanced query" section of wiki
[x] update the query in RACK

Put both old and new ("v2") version of the query into RACK and the default nodegroup store


bot repeated responses as infinite loop

I installed again in new folder and new tables and now bot repeated responses as infinite loop.
someone this happens?
thanks

cannot store in the db

I have same problem, responses sends forever.


Added comments to explain Mbus, Sbus, etc. shorthands

Took me a bit of looking to figure out what S, M, C, and P stood for. Thought I'd leave comments for anyone else in my situation.

Thanks!


Allow to pass Proxy Configurations on TrueLayerClient initialization

Is your feature request related to a problem? Please describe.
There is a need to allow to pass proxy configurations while creating a TrueLayer Client. Our team can not use the functionality of the library, since we use a Proxy for all outgoing requests, so we're blocked on that.
Describe the solution you'd like
We have a proxy which is set in env variable, the format is: http://$USER:$PASSWORD@$HOST:@PORT
1st possible solution is to add an ability to pass a proxy configurations during TrueLayerClient initialization.
2nd solution which is acceptable for us, but might be not for others is read proxy configurations from environment variables during OkHttpClient initialization (in your OkHttpClientFactory class)
Describe alternatives you've considered
Here is possible workaround we used to check the request goes through our http proxy. This is very specific to our case and might need to be updated.
In OkHttpClientFactory:
private void setHttpProxy(OkHttpClient.Builder clientBuilder) {
  String httpProxy = System.getenv("http_proxy");
  if (httpProxy == null) {
    return;
  }

  URI proxyUri = URI.create(httpProxy);
  clientBuilder.proxy(
      new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyUri.getHost(), proxyUri.getPort())));

  String userInfo = proxyUri.getUserInfo();
  if (userInfo == null) {
    return;
  }

  String[] userInfoParams = userInfo.split(":");
  String userName = userInfoParams[0];
  String password = userInfoParams[1];

  if (userName != null && password != null) {
    Authenticator proxyAuthenticator = (route, response) -> {
      String credential = Credentials.basic(userName, password);
      return response.request().newBuilder()
          .header("Proxy-Authorization", credential)
          .build();
    };
    clientBuilder.proxyAuthenticator(proxyAuthenticator);
  }
}

and in method buildBaseApiClient just call the method above.
Additional context
Add any other context or screenshots about the feature request here.

Thanks for raising this 👁

Hey @tstukalova, I've sketched a proposal to support custom proxies with an optional set of credentials. You can check this commit and let us know if that would work for you. You could even try this on the snapshot artifact 6.3.0-proxy-config-SNAPSHOT
Differently from the suggested code above we're not using env variables but we'd like to go with an explicit configuration on our TrueLayerClient type, as it is more consistent with our library.
You could configure your proxy like this:
var tlClient = TrueLayerClient.New()
                ...
                .withProxyConfiguration(ProxyConfigurations.builder()
                        .hostname("<IP_ADDRESS>")
                        .port(9999)
                        .credentials(ProxyConfigurations.Credentials.builder()
                                .username("john")
                                .password("doe")
                                .build())
                        .build())
                .build();

Realistically we won't support proxies different from HTTP, therefore relying on the new ProxyConfiguration class seems to work for us. Let us know if that's true for your case as well 👋


Feature/onchain module optimisations

Hi Miccy, I've merged both of the PR's into this branch.
I've resolved the conflicts, but needs more changes to full merge.

We really need to get this linting setup sorted. Very hard to see actual changes with changes in spacing/indents. Also it seems a lot of my changes have been reverted. Did you pull the latest changes before commiting?

@micwallace yep I pulled the latest changes (carefully merged etc). There was one change I thought wasn't the most optimised where I could see 2 for loops to apply the API keys to the onChain config. So adjusted this to be optimised in the sense it just writes the config at the constructor stage. We can adjust if we want etc.
Really great job on re working the module including http requests, this is such much better and easy to follow.
https://github.com/TokenScript/token-negotiator/discussions/171 - for Linting we've started this Github discussion page.
Let me know your thoughts on this and let's implement the changes. In the meantime, let's lint the code using Prettier which seems to use the standard / be the standard from looking across various tools.

Good call on that @nicktaras better initialised in the constructor.


Fix snapping when a path has very close points

If path A has very close points A1 and A2 (less than snapping distance). If path B has a point B1 at the same location as A1. The current algorithm may choose to snap B1 to A2. If A1 was path end, A will be splitted at A2. The new path A' between A1 and A2 will be very short and A1 may snap to B1 ie to A1. So the new path will get a null length and become an invalid geometry -> crash! This fix ensures that the snapping points always the closest.

Well done !

Oh man it looks like you're only struggling with a lot of corner cases :) I hope you have fun on cool new features though :)
I may become a bit oppressive about this, but I strongly advise you (for your mental health too :smile:) to reproduce the bug in the tests suites (snapping was light I admit https://github.com/makinacorpus/Geotrek/blob/master/geotrek/core/tests/test_models.py#L142)

As for the travis errors... welcome with the new version of flake8 :) No more named lambdas! https://github.com/mozilla-services/readinglist/pull/97/files


Add information on changes between versions to Introduction

Many of the other RISC-V manuals contain information in the introduction about changes between versions. I think it would be very useful to do this for the Vector Extension Specification now, particularly since there is hardware under development using version 0.8, and some of the users of that will certainly want to migrate to 0.9 (or a later version) at some point. My first stab at this is:

mstatus.VS and sstatus.VS fields moved to bits 10:9;
new CSR vcsr added and fields VXSAT and VXRM relocated there from CSR fcsr;
vfslide1up.vf, vfslide1down.vf, vfcvt.rtz.xu.f.v, vfcvt.rtz.x.f.v, vfwcvt.rtz.xu.f.v, vfwcvt.rtz.x.f.v, vfncvt.rtz.xu.f.v, vfncvt.rtz.x.f.v, vzext.vf2, vsext.vf2, vzext.vf4, vsext.vf4, vzext.vf8 and vsext.vf8 instructions added;
fractional LMUL support added, controlled by an extended vtype.vlmul CSR field;
vector tail agnostic and vector mask agnostic fields added to the vtype CSR;
all vector load/store instructions replaced with new instructions that explicitly encode EEW of data or index;
whole register load and store operation encodings changed;
VFUNARY0 and VFUNARY1 encodings changed;
vfredsum implementation details have changed;
MLEN is always 1, which changes the operation of all masked instructions and makes some classes of instruction that were legal under 0.8 illegal under 0.9.
For implementations with SLEN != VLEN, striping is applied horizontally rather than the previous
vertical striping.

Has this missed anything significant?

This is an excellent suggestion.
It would be very helpful to include the issue or patch reference numbers.
Another major change is SLEN to apply horizontally rather than previous
vertical striping.
On Thu, May 21, 2020, 04:00 JamesKenneyImperas<EMAIL_ADDRESS>wrote:

Many of the other RISC-V manuals contain information in the introduction
about changes between versions. I think it would be very useful to do this
or the Vector Extension Specification now, particularly since there is
hardware under development using version 0.8, and some of the users of that
will certainly want to migrate to 0.9 (or a later version) at some point.
My first stab at this is:

mstatus.VS and sstatus.VS fields moved to bits 10:9;
new CSR vcsr added and fields VXSAT and VXRM relocated there from
CSR fcsr;
vfcvt.rtz.xu.f.v, vfcvt.rtz.x.f.v, vfwcvt.rtz.xu.f.v,
vfwcvt.rtz.x.f.v, vfncvt.rtz.xu.f.v, vfncvt.rtz.x.f.v, vzext.vf2,
vsext.vf2, vzext.vf4, vsext.vf4, vzext.vf8 and vsext.vf8 instructions added;
fractional LMUL support added, controlled by an extended vtype.vlmul
CSR field;
vector tail agnostic and vector mask agnostic fields added to the
vtype CSR;
all vector load/store instructions replaced with new instructions
that explicitly encode EEW of data or index;
whole register load and store operation encodings changed;
VFUNARY0 and VFUNARY1 encodings changed;
vfredsum implementation details have changed;
MLEN is always 1, which changes the operation of all masked
instructions and makes some classes of instruction that were legal under
0.8 illegal under 0.9.

Has this missed anything significant?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-v-spec/issues/485, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAWIKN3UTJTXW73CYDK7ALRSTNSVANCNFSM4NGUFCTA
.

(I've edited the original message to include David's point to keep everything in one place.)

Trying to do this for larger changes, but the GitHub record is the ultimate authority and it's hard/error-prone work to replicate this in text.


Export BotResult along with BotKind

@Finesse I had to replace const enum BotKind with enum BotKind, because of
dist/botd.d.ts:192:30 - error TS2748: Cannot access ambient const enums when the '--isolatedModules' flag is provided

Let me know if that's ok and won't have side effects on CDN.

another approach would be to use string union instead of enum

For the sake of consistency I changed const enum to enum in the entire project

@xnerhu Up to you. I see no technical problems.
The reasons to prefers const enums are:

Hiding the value names in the minified code (not a concern here since it's open-source)
Reducing the minified code size by not including the value names (it affects Pro agent, but it's minor)

If you think the consistency is more important, no problem.

Thanks for the review, I will merge it now.


Trigger image capture at certain times of day

I'm trying to build a timelapse which captures an image per day across a year or so.  I want the capture to happen at the same time each day (around noon).  However, I can only specify an interval, which is reset each time HA restarts.  Therefore, and day that I restart HA, I don't get an image capture, and I get an image 24 hours later, which is going to be at a different time than I wouuld like.
So the feature request is to be able to specify an optional time of day for the image to be captured.
Tx!

You're welcome to submit a PR for such a feature.


Unknown CPI error ''Unknown'' with message ''undefined method `config_spec'' for nil:NilClass'' in ''create_stemcell'' CPI method

Describe the bug
Customer created Windows stemcell 2019.23, 2019.25, 2019.26 following this doc: https://docs.pivotal.io/application-service-windows/2-9/create-vsphere-stemcell-automatically.html
The windows ISO version is 2019.25.17763
The vSphere version is <IP_ADDRESS>000
They hit above error when upload to the same vSphere env with bosh upload-stemcell command.
To Reproduce
Steps to reproduce the behavior:

Customer can reproduce it by bosh upload-stemcell
We tried combinatinos in lab vSphere env

vSphere 6.5 + stemcell 2019.23; cannot reproduce the same error
vSphere 7 + stemcell 2019.26; cannot reproduce the same error

We think the issue is on customer vSphere side that the create_import_spec does not work correctly which causes import_spec_result.import_spec being nil in this code.
Could you advice how to further troubleshoot this issue? Which particular log from vSphere should we look into? Thanks!
We could share the stemcell built by customer and vCenter log via sharepoint.
CPI Error Log
from BOSH task 240032:
D, [2020-10-02T00:42:21.663677 #9669] [task:240032] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-145857] response: {"result":null,"error":{"type":"Unknown","message":"undefined method `config_spec' for nil:NilClass","ok_to_retry":false},"log":"Rescued Unknown: undefined method `config_spec' for nil:NilClass. backtrace: /var/vcap/data/packages/vsphere_cpi/6e7fcfa5d2b52470253acc9932c68ea7a07409f5/lib/cloud/vsphere/cloud.rb:214:in `block (3 levels) in create_stemcell'
/var/vcap/data/packages/vsphere_cpi/6e7fcfa5d2b52470253acc9932c68ea7a07409f5/lib/cloud/vsphere/cloud.rb:204:in `each'
/var/vcap/data/packages/vsphere_cpi/6e7fcfa5d2b52470253acc9932c68ea7a07409f5/lib/cloud/vsphere/cloud.rb:204:in `block (2 levels) in create_stemcell'
/var/vcap/data/packages/ruby-2.6.5-r0.29.0/d0bf3ee2098eae0fa7273832839bf6cdce5aa1cf/lib/ruby/2.6.0/tmpdir.rb:93:in `mktmpdir'
/var/vcap/data/packages/vsphere_cpi/6e7fcfa5d2b52470253acc9932c68ea7a07409f5/lib/cloud/vsphere/cloud.rb:173:in `block in create_stemcell'
/var/vcap/data/packages/vsphere_cpi/6e7fcfa5d2b52470253acc9932c68ea7a07409f5/vendor/bundle/ruby/2.6.0/gems/bosh_common-1.3262.24.0/lib/common/thread_formatter.rb:49:in `with_thread_name'
/var/vcap/data/packages/vsphere_cpi/6e7fcfa5d2b52470253acc9932c68ea7a07409f5/lib/cloud/vsphere/cloud.rb:168:in `create_stemcell'
/var/vcap/data/packages/ruby-2.6.5-r0.29.0/d0bf3ee2098eae0fa7273832839bf6cdce5aa1cf/lib/ruby/2.6.0/forwardable.rb:230:in `create_stemcell'
/var/vcap/data/packages/vsphere_cpi/6e7fcfa5d2b52470253acc9932c68ea7a07409f5/vendor/bundle/ruby/2.6.0/gems/bosh_cpi-2.5.0/lib/bosh/cpi/cli.rb:89:in `public_send'
/var/vcap/data/packages/vsphere_cpi/6e7fcfa5d2b52470253acc9932c68ea7a07409f5/vendor/bundle/ruby/2.6.0/gems/bosh_cpi-2.5.0/lib/bosh/cpi/cli.rb:89:in `run'
/var/vcap/packages/vsphere_cpi/bin/vsphere_cpi:48:in `<top (required)>'
/var/vcap/data/packages/ruby-2.6.5-r0.29.0/d0bf3ee2098eae0fa7273832839bf6cdce5aa1cf/lib/ruby/site_ruby/2.6.0/bundler/cli/exec.rb:63:in `load'
/var/vcap/data/packages/ruby-2.6.5-r0.29.0/d0bf3ee2098eae0fa7273832839bf6cdce5aa1cf/lib/ruby/site_ruby/2.6.0/bundler/cli/exec.rb:63:in `kernel_load'
/var/vcap/data/packages/ruby-2.6.5-r0.29.0/d0bf3ee2098eae0fa7273832839bf6cdce5aa1cf/lib/ruby/site_ruby/2.6.0/bundler/cli/exec.rb:28:in `run'
/var/vcap/data/packages/ruby-2.6.5-r0.29.0/d0bf3ee2098eae0fa7273832839bf6cdce5aa1cf/lib/ruby/site_ruby/2.6.0/bundler/cli.rb:476:in `exec'
/var/vcap/data/packages/ruby-2.6.5-r0.29.0/d0bf3ee2098eae0fa7273832839bf6cdce5aa1cf/lib/ruby/site_ruby/2.6.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/var/vcap/data/packages/ruby-2.6.5-r0.29.0/d0bf3ee2098eae0fa7273832839bf6cdce5aa1cf/lib/ruby/site_ruby/2.6.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/var/vcap/data/packages/ruby-2.6.5-r0.29.0/d0bf3ee2098eae0fa7273832839bf6cdce5aa1cf/lib/ruby/site_ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
/var/vcap/data/packages/ruby-2.6.5-r0.29.0/d0bf3ee2098eae0fa7273832839bf6cdce5aa1cf/lib/ruby/site_ruby/2.6.0/bundler/cli.rb:30:in `dispatch'
/var/vcap/data/packages/ruby-2.6.5-r0.29.0/d0bf3ee2098eae0fa7273832839bf6cdce5aa1cf/lib/ruby/site_ruby/2.6.0/bundler/vendor/thor/lib/thor/base.rb:476:in `start'
/var/vcap/data/packages/ruby-2.6.5-r0.29.0/d0bf3ee2098eae0fa7273832839bf6cdce5aa1cf/lib/ruby/site_ruby/2.6.0/bundler/cli.rb:24:in `start'
/var/vcap/data/packages/ruby-2.6.5-r0.29.0/d0bf3ee2098eae0fa7273832839bf6cdce5aa1cf/lib/ruby/gems/2.6.0/gems/bundler-2.1.2/exe/bundle:46:in `block in <top (required)>'
/var/vcap/data/packages/ruby-2.6.5-r0.29.0/d0bf3ee2098eae0fa7273832839bf6cdce5aa1cf/lib/ruby/site_ruby/2.6.0/bundler/friendly_errors.rb:123:in `with_friendly_errors'
/var/vcap/data/packages/ruby-2.6.5-r0.29.0/d0bf3ee2098eae0fa7273832839bf6cdce5aa1cf/lib/ruby/gems/2.6.0/gems/bundler-2.1.2/exe/bundle:34:in `<top (required)>'
/var/vcap/packages/ruby-2.6.5-r0.29.0/bin/bundle:23:in `load'
/var/vcap/packages/ruby-2.6.5-r0.29.0/bin/bundle:23:in `<main>'"}, err: I, [2020-10-02T00:41:14.686728 #9778]  INFO -- [req_id cpi-145857]: Starting create_stemcell...

Expected behavior
Being able to upload the stemcell.
Release Version & Related Info (please complete the following information):

CPI Version : vSphere CPI: 	54.1.0
BOSH Director Version: 270.11.1
Stemcell Name & Version: have tried windows stemcell version 2019.23, 2019.25, 2019.26
vCenter Version: vSphere version is <IP_ADDRESS>000
NSX(T/V) Version (If using): No use

Some updates on this issue:

We have determined that the VM base image's hardware version (aka compatibility) was set to ESXi 6.5, not 6.0.
We created a new stemcell with 6.0 compatibility, and the bosh director was able to successfully upload the stemcell.

If I am reading this issue correctly, the outstanding problem is that the vSphere CPI doesn't bother to check for errors after importing a stemcell file, and as a result, the error message we produce is confusing and unhelpful.
Basically, we should be adding an error check between these 2 lines:
            import_spec_result = import_ovf(name, ovf_file, cluster.resource_pool.mob, datastore.mob)

            system_disk = import_spec_result.import_spec.config_spec.device_change.find do |change|

We know from the stack trace that import_spec_result.import_spec was nil. My guess is that import_spec_result.error probably had a useful error message that would have helped resolve the issue.
I will close and reopen this issue to create a tracker story.

We added new/better error handling for invalid OVF files in this commit which was the outstanding problem for this issue, so I will go ahead and close it.


Initial JAX data layer definition

@quantshah, just getting the ball rolling.
The readme, setup, etc. have been copied from qutip-tensorflow, but being not familiar with starting a new repo, I skipped that initial PR.

Awesome Eric. Let's do this.

I tried to see the most simple usecase for JIT using the JaxArray.trace function with a test. It will not work since JIT expects only JAX types. We have to register JaxArray as a PyTree so that JAX knows how to pack and unpack JaxArray (see strategy 3: https://jax.readthedocs.io/en/latest/faq.html#how-to-use-jit-with-methods). This was the most critical issue for me in making QuTiP and JAX work before.
It works with a simple registering of the JaxArray class as a PyTree (see the new test). We should keep testing the JITing as we develop because that is where all the power comes from.

I am also switching off the workflow to build documentation for now.

Basic conversion to and from JAX works and we can create a Qobj. I also added the ._jxa attribute to the JaxArray similar to ._tf for qutip-tensorflow.
Should we merge this and add all the other functionalities? @Ericgig

Something weird is happening though since sigmax().to('jax').data does not work even if sigmax().to('jax').data runs fine. @AGaliciaMartinez any idea why? Am I using the data layer incorrectly?

@quantshah The patch fix the error you had.
Let add some more tests and merge.

I added tests for using JaxArray with the Qobj interface and converting to and from other type.
The mathematical operations are not covered yet, but I think we can add those tests when we create the matching dispatched function.
I think we can merge this.

Merging. This is really cool, I was already able to use this for a simple variational optimization algorithm. However there is a small catch that JAX might not be able to trace QuTiP functions, e.g., I used the qutip.tensor function and JAX could run the code to produce output but autodifferentiation did not work. After this is merged, I will post a use case and test to highlight that and we can see how to deal with it.

Right now, no operation have been added, so it will always convert it to Dense when trying to do something with it.
tensor need the specialization for the kron product. When we add that, it should work.


Feature Request: Export a PDF file

Do you have any good ideas?
What I can think of now is to generate an HTML content and then export it to PDF

we can create a new extension for exporting pdf,
same idea as you, can we use Puppeteer open page after exporting the PDF? or are you know any package supports HTML string to PDF

Puppeteer is excellent, but as far as I know, it runs on the server-side. What we need is to generate PDFs on the client-side. I tried https://github.com/eKoopmans/html2pdf.js, but the results were very unsatisfactory, and it's not possible to copy text from the generated PDF.
It is a big problem.🤔

we can use try this lib: https://www.npmjs.com/package/@progress/kendo-drawing


Enable GFM-style triple backticks

Currently, code blocked off with triple backticks is just rendered with . Would be nice if it was wrapped with
content
 to distinguish blocks of code with ``` and inline code with `.

Just override appropriate renderers as you wish.

Maybe it would be helpful to explain this in the readme file or documentation somewhere if it isn't already. I'll go fishing. :D


Adds ability to use secretKeyRef in env spec

what
Adds the ability to use the secretKeyRef style of adding environment variables to kubernetes specs.
why
While this is already provided via envFrom in this chart, and the corresponding kubernetes features, envFrom doesn't allow you to specify the target environment variable name in your pods, nor does it allow you to use keys in your secrets that aren't valid environment variable names.
reference

https://kubernetes.io/docs/concepts/configuration/secret/#using-secrets-as-environment-variables

example
Providing this value:
        envFromSecretKeyRef:
          - name: CELERY_BROKER_USERNAME
            secret: example-rabbitmq-default-user
            key: username
          - name: CELERY_BROKER_PASSWORD
            secret: example-rabbitmq-default-user
            key: password

Would add the following to the template:
        env:
          - name: CELERY_BROKER_USERNAME
            valueFrom:
              secretKeyRef:
                name: example-rabbitmq-default-user
                key: username
          - name: CELERY_BROKER_PASSWORD
            valueFrom:
              secretKeyRef:
                name: example-rabbitmq-default-user
                key: password

It seems the GitHub Actions failure is for an unrelated mysql chart.


Created patch system for incremental changes

This PR is a refactoring of #217.
Dependencies

#223, which depends on:

#222
#221

Status
Ready! (But waiting for spec approval)
Description
This PR responds to the necessity of applying incremental changes to the filesystem. It particulary concerns users with existing distros who update their launcher.

Closing as we'll take a diferent approach


Add gitcommit and gitrebase language?

Language name

Git Commit
Git Rebase

URL of example repository
I think this is N/A, since a normal repository wouldn't commit any files that are in the .git directory.
URL of syntax highlighting grammar

https://github.com/textmate/git.tmbundle/blob/master/Syntaxes/Git Commit Message.tmLanguage
https://github.com/textmate/git.tmbundle/blob/master/Syntaxes/Git Rebase Message.tmLanguage

Most popular extensions
Likely N/A, but the filenames are

COMMIT_EDITMSG
git-rebase-todo

Detected language
None/Plain text

While the files themselves are unlikely to be present in a repository (there are a lot of results for COMMIT_EDITMSG, though), GitHub also uses linguist to highlight code blocks in Markdown, per my understanding.
Considering that these are common git use cases, I believe that the option to highlight their syntax in Markdown should be available. I think that GitHub should support syntax highlighting for git filetypes :laughing:
If it is reasonable to support syntax highlighting for these types of files, could you please consider it?

Thanks for looking that up! I'm glad that it might not an exception to the rule after all :smiley:

GitHub also uses linguist to highlight code blocks in Markdown, per my understanding.

What is the mapping between ```foo and the language chosen by linguist?

Wow, this issue is a blast from the past :laughing:
Looking it up again, here are the relevant docs. I believe that the language's name or one of its aliases can be foo in this case.


Highlight active section with the orange color

Every time I either read the book or open it from Google and want to see in which chapter/section I currently am - it's always a struggle to locate it in the table of contents where every link is the same color.
Currently, the active chapter is highlighted with a bold font. Unfortunately, in my opinion this is not enough.
See yourself. Try to find out which section in which chapter I am currently reading at first glance:

Now, here is the simple improvement I am proposing:

Thank you.

Thanks. I agree that the existing styling isn't very noticeable (especially since all the section titles are also in bold). The orange is a definite improvement.


Weird Bug

I don't know if anyone has seen this, but my game is glitched and I can't figure out how to fix it. When I get to the main menu the game freaks out and rapidly alternates between the first two option (Climb and Pico-8). I've tried relaunching the game, restarting my computer, and reinstalling the game, but I still can't make it stop. It makes the game nearly impossible to get into. I've also unplugged all USB ports with the problem persisting, so I don't think it is a peripheral issue.
Thanks

Had this problem as well. My setup is using a Nintendo Pro controller connected through a Steam Link.  However, I started the game and forced quit, then repeated that process a couple of times (for me a single digit number, so nothing ridiculous like 50-200 times) and eventually it just started working as normal again. I could even use my Pro controller with the Steam Link.
I hope this works for you as well, if you haven't fixed it already.


translate clc.md

zh-trans clc.md
参考：k8smeetup / website-tasks＃3283

/assign @zacharysarah

/lgtm
/approve
Kicking this in, though eventually we will remove all such contents together.


CB-11025 - [Knox] Increase replayBufferSize value from 64 to 128 for Ranger service

Describe the change you are making here!
This change increases the replayBufferSize value from 64 to 128 for Ranger service. This change affects topologies cdp-proxy.xml and cdp-proxy-api.xml.

Thanks @keyki !


convert table into minitreatments: concept

https://tb.plazi.org/GgServer/tables/DF3752A9F34EFFE1178A4FC66A43FF24?format=XML
in FFD8CB4FF353FFFC170B4F6B687FFFC0
Dijkstra, Klaas-Douwe B. & Kalkman, Vincent J. & Dow, Rory A. | Redefining the damselfly families: a comprehensive molecular phylogeny of Zygoptera (Odonata) | 2014

does not show up directly in GGI
alternatively

has the advantage that it shows up in GGI

at the moment, this needs to be marked manually, but could be trained, for this we need to build a gold standard
needs table QC - this needs an analysis of existing tables
when import into TB then when the header has  taxon.header.row then this could be imported as treatment.
each row shows up as individual treatment
Should we ask BDJ how they format tables in this respect? Do they have similar tables.

What we need:

Exemplar data
Semantics for the table columns
QC criteria
get "nexus" file for phylogenetic tree

each row shows up as individual treatment
Should we ask BDJ how they format tables in this respect? Do they have similar tables.

Actually, if multiple subsequent rows have the same taxon name, I fancy bundling the associated materials data into one treatment with multiple materials citations ... but that sure is a detail.

Table examples

https://tb.plazi.org/GgServer/summary/D16CFFF4D47E293CFFBA697BFFEBFFCB includes synoymy in tables (Tables 8-1, explained in the text

Table example
https://tb.plazi.org/GgServer/summary/2F6EFFA8FF9A1571EE5EFF83FFFDFFCA including synonyms

table
add taxonRecordFieldHeader in the table
import into SRS
the gadgets extracts the taxonRecordTreatments in SRS, which has the type "record", parallel to stubs, treatment
a record treatment then is also exported to GBIF
needs additional tables to make sure the bandwidth of possibliities is covered.

UUIDs of underlying table elements loop through to tables now (see https://tb.plazi.org/GgServer/tables/DF3752A9F34EFFE1178A4FC66A43FF24?format=XML), an essential building block for keeping UUIDs of treatments and materials citations stable across multiple generations, even through the exact UUID generation procedure is yet to be defined.

Additional tables: RBZ-2021-0007 (being processed)


Adding support for syllabi repository

This is essentially linking to syllabi but potentially getting information from them for the description or course content of a course.
Need to make sure mostly public files are inserted cause I have a bad feeling if we take private syllabi and make them public could cause issues

closing because this would be more work than its worth


Fix stETH apr for weighted pools

Description
Current stETH APR calculation assumes all pools with wstETH were WETH/wstETH stable pools. This causes the stETH APR on weighted pools to be overestimated.
This PR implements a check for the weight of wstETH in the pool and uses this weight as the ratio if it exists.
It also adds the address of wstETH on Arbitrum so that stETH APR is displayed for pool in that network.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Dependency changes
[ ] Code refactor / cleanup
[ ] Documentation or wording changes
[ ] Other

How should this be tested?

Check the stETH APR here
On the app's Invest tab (mainnet and arbitrum), search for a weighted pool containing wstETH
Check the APR breakdown tooltip:

it should be equal to 50% * wstETH_weight_in_the_pool * stETH_APR_from_Lido

Checklist:

[x] I have performed a self-review of my own code
[x] I have requested at least 2 reviews (If the PR is significant enough, use best judgement here)
[x] I have commented my code where relevant, particularly in hard-to-understand areas
[x] If package-lock.json has changes, it was intentional.
[x] The base of this PR is master if hotfix, develop if not

@gmbronco You might need to copy this in the SDK?


Add analytics from static

What
Add a copy of the analytics code from static into the components gem. This is basically the same code as in static (originally in govuk_frontend_toolkit) but with tweaks to make the tests pass.
It's also not in use yet, so hasn't been included as part of the main JS of the gem, so as to not add any unnecessary page weight to applications on GOV.UK. static will remain the source of analytics code for GOV.UK for now, until we're ready to migrate this fully.
Note that this version of the analytics code still contains two skipped tests, as detailed in https://github.com/alphagov/static/issues/1812
Why
There are a couple of reasons for this change.
The first is that we need analytics code for the new accounts manager, which is a standalone application that doesn't use static and therefore has no analytics code of its own. A number of options were considered for this, including writing custom code (too complex and unreliable, and a duplication of effort), and using govuk_frontend_toolkit (well, no, because it's deprecated).
This option allows us to get the analytics code (including all the functionality we use on GOV.UK) and make small changes (for example, the cookie consent model on accounts will work differently) while continuing to improve and expand it, without effecting GOV.UK's analytics.
The second reason is that when the analytics code was originally migrated from govuk_frontend_toolkit to static (in this PR https://github.com/alphagov/static/pull/1795), the intent was that it go here, but technical barriers prevented this at the time.
Visual Changes
None.
Changes from the code in static
Using this list to track how this code has changed since moving from static.

analytics code is no longer automatically initialised, we leave the application to do that (this might change if it proves unnecessary)
have removed the GOV.UK specific list of cross linked domains, instead allowing the code to receive an array of them, if nothing is passed, cross domain is not initialised (GOV.UK has a specific list, accounts will not require this)

TODO
There are some intermittent test failures, however they only fail when run with the rest of the tests - they always pass when run individually, which suggests its the other tests not cleaning up properly. Since we're not using this functionality in the accounts manager one option could be to disable them for now, will discuss.

external-link-tracker.spec.js, specifically GOVUK.analyticsPlugins.externalLinkTracker does not duplicate the url info if a custom dimension is not provided. The error is Error: Expected spy setDimension not to have been called.
ecommerce.spec.js, specifically Ecommerce reporter for results pages > tracks clicks with different event labels, Ecommerce reporter for results pages > tracks clicks with product variants and Ecommerce reporter for results pages > tracks clicks on search results

Something I've left out, but will add, is the documentation for analytics from static. Will put that in a new commit shortly.


[SPARK-32511][SQL][FOLLOWUP] Fix the broken build for Scala 2.13 with Maven

What changes were proposed in this pull request?

This PR fixes the broken build for Scala 2.13 with Maven.
https://github.com/apache/spark/pull/29913/checks?check_run_id=1187826966
#29795 was merged though it doesn't successfully finish the build for Scala 2.13
Why are the changes needed?

To fix the build.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

build/mvn -Pscala-2.13 -Phive -Phive-thriftserver -DskipTests package

Test build #129447 has started for PR 29954 at commit 69846d0.

Test build #129447 has finished for PR 29954 at commit 69846d0.

This patch fails to build.
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/129447/
Test FAILed.

This compilation error will be fixed by #29955 .

retest this please.

cc: @srowen

Test build #129449 has started for PR 29954 at commit 69846d0.

Test build #129451 has started for PR 29954 at commit 655e0a7.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34054/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34054/

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-K8s/34054/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34056/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34058/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34056/

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-K8s/34056/
Test PASSed.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34058/

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-K8s/34058/
Test PASSed.

+1, LGTM. Thank you, @sarutak and @srowen .

Test build #129449 has finished for PR 29954 at commit 69846d0.

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/129449/
Test PASSed.

Test build #129451 has finished for PR 29954 at commit 655e0a7.

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/129451/
Test PASSed.


[BUG] DlDatePicker - wrong endDate behavior

Date ranges need to start at the start of the "from" date and end at the end of the "to" date when not specifying time explicitly.
Currently, both dates use the start of the day except for when using the same date for both - handling for that use case was already added.

@fadiDL @sefija

handling for that use case was already added

if I just enable that for all the dates, I get failed test:

so that did not work. Also, what does this part

when not specifying time explicitly.

mean, exactly? unlike DlDateTimeRange, DlDatePicker does not seem to use DlTimePicker

@makc-dataloop I meant to say that the existing handling supports only the scenario where you are in multi-selection and you only choose one date - basically singular day selection.
Notice that the failing test you mentioned in your comment failed by quite a margin, the date was shifted by 10 years.

Notice that the failing test you mentioned in your comment failed by quite a margin, the date was shifted by 10 years.

that was because the end-of-day date was calculated from "from" date instead of "to" date (there was no difference when they were equal, but now there is)


Update react-onclickoutside

This seems the way to go. However, 2 tests where this method is used are failing because we moved from a mixin to HOC. Anyone wants to look in this? cc @rafeememon

Something like
module.exports = onClickOutside(Calendar)

No ?

@magsout That could be, but it doesn't magically fixed the tests. If you have time looking into this, that would be appreciated.

#536

I think that the tests fail because they try to access components' internal state. Now those components are wrapped inside a HOC so the state is "one level deeper".

@jochenberger Correct, I'd love to get some help on this. I don't have time to fix this in the next few weeks.

See #651.

Even though I created #651, I'll comment here anyway, so you can decide which approach you like better.
First of all, you'll need to change calendar_test.js to use mount instead of shallow inside getCalendar(), line 14. Then you need to replace calendar.state() by calendar.instance().getInstance().state. That fixes the first batch of tests.
Things get more complicated on year_dropdown_options_test.js since it tries to simulate events on refs. We cannot work with instance().getInstance() there because we're no longer in enzyme space then so we cannot use simulate.
I can try to dig in deeper, but I'd like to know whether you want to take this approach or #651.

Code wise, I think this implementation is a bit cleaner over the one you created in #651, but since your implementation saves a lot of issues with fixing all the tests, I think it's worth the tradeoff here since it's still understandable and doesn't look that bad.

Going with #651


Fixes some typos and updates a few service names on pages/providers/email.html

Description
Resolves: #none
I came across this small typo while translating the website to Portuguese.
Also, apparently G Suite has changed names to Google Workplace, and the specific mention to Office 365 has been referred to Outlook for Web instead.
Check List

[x] I understand that by not opening an issue about a software/service/similar addition/removal, this pull request will be closed without merging.

[x] I have read and understand the contributing guidelines.

[x] The project is Free Libre and/or Open Source Software

Netlify preview for the mainly edited page: n/a

Thanks for this!


Identify opportunities to converge in common APIs that are now possible in modern Node runtimes

Here is a list of what should be available to us now with typings and potentially having the same APIs between Node and the Web:

TextEncoder (Node 10+)
TextDecoder (Node 10+)
EventTarget and event APIs (Node 16)
atob and btoa (Node 16)


Image Repository is Deleted

The Docker Repository mentioned has been deleted and is not accessible...

I'll try and get a build pushed somewhere over the weekend, operator-sdk is playing havoc with things...sorry!

@kahootali I think the image should be restored, built from the v0.0.2 tag.


fixfix bug of using constexpr as subquery's output

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[x] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[x] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.88 seconds
load time: 447 seconds
storage size:<PHONE_NUMBER>2 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221215144126_clickbench_pr_64119.html


What IP and port from RemoteAddr is the WhoIs function checking against on Tailscale side?

For this line: https://github.com/tailscale/caddy-tailscale/blob/main/module.go#L185
What is the RemoteAddr that's being passed checking against on the Tailscale side of things? If it's the Tailscale IPv4 then what is the port supposed to be in this case? If it's an endpoint in the Endpoints section, then where is the correct port supposed to come from?
I think I'm just not understanding what's supposed to be on the other side of the Caddy proxy. In my case I'm trying to put a public domain on the other side of this, so I have an Endpoint IP (client IP) and no port (80 or 443 rather but not a port from the client). Is there any way to make this work with just an Endpoint/client IP?
module.go
info, err := client.WhoIs(r.Context(), r.RemoteAddr)
localclient.go Tailscale 1.36.2
// WhoIs returns the owner of the remoteAddr, which must be an IP or IP:port.
func (lc *LocalClient) WhoIs(ctx context.Context, remoteAddr string) (*apitype.WhoIsResponse, error) {
	body, err := lc.get200(ctx, "/localapi/v0/whois?addr="+url.QueryEscape(remoteAddr))
	if err != nil {
		return nil, err
	}
	return decodeJSON[*apitype.WhoIsResponse](body)
}

The comment above implies it might work with only an IP but without the port we get this error 400 Bad Request: invalid 'addr' parameter. With a port it will do the authorization check.

It accepts either a IP or an IP:port.
If it's just a Tailscale IP (CGNAT range or Tailscale IPv6 ULA range) then you don't need a port.
If the IP is the loopback interface, you need the port. This then maps the identity back through the userspace networking proxy

I believe I tried the Tailscale IP, I just passed it directly instead of RemoteAddr just to see if it works and I still got the 400 Bad Request: invalid 'addr' parameter error. But with the information you've provided I'll do some double checking on my end.
The Tailscale IPv4 from the screenshot below is what I'm trying. And it would be very helpful if you could clarify, are the IP's listed in the Endpoints section here from the loopback interface? If so where does that port number come from? How is it determined?

You're going to have to be more specific. What value are you sending? It should look like:

<IP_ADDRESS> (some IP in the CGNAT range)
<IP_ADDRESS>:some-port
<IP_ADDRESS>:some-port

(or IPv6 equivalent)

What I'm trying to send is the client_ip as described here. I would be using a trusted proxy set up as described in this pull request, "I decided that the client_ip should always be set (as long as the RemoteAddr is a valid IP address). So in the logs, it will be identical to the remote_ip unless trusted proxies is configured and the proxy passed the client IP in a trusted header."
I see that my own client IP is listed in the Endpoints section for the machine I set up for myself, so I thought maybe the IP:port values in the Endpoints section might be part of this lookup. However, I'm getting the feeling that this is the wrong use case for the WhoIs lookup or that there might need to be an extra step before this to somehow go from client IP to Tailscale IP?

Yeah, endpoint IPs are unrelated. WhoIs only wants a Tailscale IP or a localhost:port of a TCP src that tailscaled itself initiated to localhost when proxying an incoming connection.
Any other form of IP won't work.

Thank you for all of the clarification. Much appreciated.


Exam mode: Add banner to exam results view for instructors before results are published

Problem
Can cause confusion as instructors might think the student view does already have the published results.
Lead to confusion during testing session
Solution
Add a banner when instructors view a student exam that is displayed if the results have not been published yet.
Could be analogue to the "not submitted" banner shown to instructors when viewing unsubmitted exams

Initial Bug Description
Describe the bug
With programming exercise results where the release date is set to "AterReleaseDateOfResults" the exercise results shall not be visible before the release date of results.
To Reproduce

instructor: prepare an exam and do not set the release date of results
student: Participate in an exam programming exercise (e.g. Java) where the default test case visibility is "AfterReleaseDateOfResults"
student: Push shortly before the end of the exam
student: See that you will receive the results as student
instructor: Trigger the test runs
student: see that the result is displayed in the summary for programming exercises

Expected behavior
With the visibility AfterReleaseDateOfResults the results for exam programming exercises should be visible for students only after the Release Date of Results (if no release date is set not at all, it is most important not to leak information of tests and weights that might not be finalized yet).
Screenshots
No response
Which version of Artemis are you seeing the problem on?
7.3.1
What browsers are you seeing the problem on?
Chrome

I must have had opened the wrong tab, being logged in with an instructor you can see the results as soon as they are available.
I think it might be good to add a banner at the top when viewing the exam as an instructor that indicates that the results are not released yet and this does not 100% reflect the student perspective to prevent confusion in the future.

Was addressed in #7588


question : sunset time

hi bro
good job
thanks in advance for this
i have a question:
how to get sunset time?
can you add this to your lib or if not , how can calculate it?

Thank you for your message and for using the Prayers Times package in Dart. I'm pleased to help with your query about obtaining the sunset time.
The sunset time is equivalent to the Maghrib salah (namaz) time. To get this time using the Prayers Times package, simply access the Maghrib prayer time.
If you'd like to delve deeper into the code or contribute, the package is open source on GitHub. If you have questions, please don't hesitate to ask for clarifications.
Thank you for your support!


Can the baseline model be replaced?

In this competition, we can replace the llama_adapter_v2 with other version llama_adapter or other LLM? I have same question in the visual encoder. Or do we just need to consider how to use fine-tuning techniques and other tricks to improve the performance of the model?
This may be a very basic question, sorry, it's my first time participating in this kind of competition.

sure, you can use whatever model you like. the baseline model is just a starting pointer for the begineer.

Closing as no further response.


Uncaught (in promise) TypeError: Cannot read property 'length' of undefined

Describe the bug
Rendering a sequence diagram of the QLOG below causes an TypeError exception.
Note that the ACK-frame doesn't carry any additional information.
Example qlog:
{
    "qlog_version": "draft-00",
    "title": "Name of this particular qlog file (short)",
    "description": "Description for this group of traces (long)",
    "summary": {
    },
    "traces": [
        {
            "vantage_point": {
                "name": "backend-67",
                "type": "SERVER"
            },
            "title": "Name of this particular trace (short)",
            "description": "Description for this trace (long)",
            "event_fields": [
                "relative_time",
                "CATEGORY",
                "EVENT_TYPE",
                "DATA"
            ],
            "common_fields": {
                "protocol_type":  "QUIC_HTTP3"
            },
            "events": [
[0, "TRANSPORT", "PACKET_SENT", { "packet_type": "initial", "header": { "packet_number": 0 }, "frames": [{ "frame_type": "crypto_hs"}, { "frame_type": "padding"}]}],
[5997, "TRANSPORT", "PACKET_RECEIVED", { "packet_type": "initial", "header": { "packet_number": 0 }, "frames": [{ "frame_type": "ack"}, { "frame_type": "crypto_hs"}]}]
            ]
        }
    ]
}

Thanks for raising the issue @steschu77. Nice to see picoquic is considering qlog support :) Let me know if I can help more.
This issue should now be fixed on the live server as well.
Side-note: there are some other mistakes in your qlog file:

using relative_time ideally requires a reference_time in "common_fields"
qlog doesn't have a frame type "crypto_hs", only "crypto"

Luckily, we do handle these gracefully in quicvis atm, so things don't crash, but you might not get fully correct behaviour.

using relative_time ideally requires a reference_time in "common_fields"
Done, but still having issues with client + server side times.

qlog doesn't have a frame type "crypto_hs", only "crypto"
Fixed as well.

This particular issue came up when I started converting to QLOG step by step and tested with only frame_type being set for frames. So I couldn't test with anything other than the attached file ;)


fix: 修复组件销毁未卸载

Checklist

[ ] npm test passes
[ ] tests and/or benchmarks are included
[ ] commit message follows commit guidelines

Description of change

在wcc上验证过，这样改就没问题。


npm download badge: project not found

I published the package on npm and I want to display the badges. Of the three icons, only one returns with an error:

ERROR: https://img.shields.io/npm/dt/official-fontface.svg?style=flat-square
OK: https://img.shields.io/npm/v/official-fontface.svg?style=flat-square
OK: https://img.shields.io/npm/l/official-fontface.svg?style=flat-square

Hi. We request download stats from NPM using a call to https://api.npmjs.org/downloads/range/ Usually if we call something like https://api.npmjs.org/downloads/range/1000-01-01:3000-01-01/localeval that will return some stats. In the case of your package, if we call https://api.npmjs.org/downloads/range/1000-01-01:3000-01-01/dealers-fontface that is returning an error, so that is what the badge reports.
It looks like you've only published this today. I don't know the NPM API in much detail, but maybe there is some caching or it needs a full day's worth of data before it will give a response on that endpoint? If the problem doesn't resolve itself, maybe open an issue with NPM.

@chris48s I published the package yesterday, but the day has not passed. Got it. I'll wait for the cache update. Thank you!

Probably we should return package not found…

Has the package been removed? I can't quite make sense of what's happening right now.

https://www.npmjs.com/package/dealers-fontface is showing 404 no package
https://img.shields.io/npm/v/dealers-fontface.svg is showing unparseable json response
https://img.shields.io/npm/dt/dealers-fontface.svg is showing project not found
https://img.shields.io/npm/l/dealers-fontface.svg is showing invalid

@paulmelnikow
Oh! Sorry, I today renamed it official-fontface, because the package was conceived as a repository of official fonts of various companies, but, by mistake, called it as dealer fonts.

https://www.npmjs.com/package/official-fontface is showing 200 OK
https://img.shields.io/npm/v/official-fontface.svg is showing v1.1.1 version badge
https://img.shields.io/npm/dt/official-fontface.svg is showing project not found
https://img.shields.io/npm/l/official-fontface.svg is showing MIT license

I update my first message.

Not when I described the problem, the package was available by the old name - it was published yesterday.
The name changed only tonight.

I'm 90% sure I understand. 😀 I think showing "too new" on the downloads badge is a pretty good way for us to handle this.

I agree. The option is excellent.
(I translate into English via Google Translate.)


offering When Clause context for snippet activation

I'd like to have when clause for snippets. This can he useful in these contexts:

Some frameworks/languages offer snippets that change from one version to the other. And no need to release extensions for each version.
Some extensions do not just offer snippets, and in this case Snippets can still work even when the extension is deactivated.
Programmatically injected snippets do not work for embedded languages. Offering that can be a solution too.

Workaround for this issue can be enabling/disabling snippets by moving files from VSCode Extension directory to another path. But this requires users to refresh it, so doing it programmatically doesn't really work unless users want to enable/disable them.
 {
  "when": "language.versionFour",
  "language": "html",
  "path": "./snippets/lang/components.json"
 },

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


[Improvement]: Fix issues in Redis Connectors

Connector Name
module/redis (Redis)
Suggested improvement

[x] Identify the gaps in Redis connector
[x] Fix CI build failure - https://github.com/ballerina-platform/module-ballerinax-redis/pull/181
[ ] Evaluate on the possibility of implementing a dynamic command invocation
[x] https://github.com/ballerina-platform/ballerina-standard-library/issues/5041
[x] https://github.com/ballerina-platform/ballerina-standard-library/issues/4949

Related issues
https://github.com/ballerina-platform/ballerina-extended-library/issues/32
https://github.com/ballerina-platform/ballerina-standard-library/issues/5041

Closing as completed


TypeScript files get downloaded instead of displaying as text.

I run in to this mostly when using unpkg.com to look at TypeScript type definitions.
For example, in https://unpkg.com/<EMAIL_ADDRESS>while trying to open index.d.ts
It seems like the mime npm package returns video/mp2t as the mime type for ts files.
Would you be open to a PR which added .ts to the list of text/plain files here?

Good call, @tikotzky. Let's fix this.
You can either add it to that regex (which is getting pretty nasty) or we can use mime.define to start our own little list of exceptions. Not sure if we'd be able to capture all the cases that regex does though.

awesome.
Looks like you can only move over static file extensions to mime.define.
The \.[a-z]*rc|\.git[a-z]*|\.[a-z]*ignore wont be able to be moved.
Gonna make the changes and add some tests...
PR incoming 😄


Message allocation

Summary (include Python version)
Python 3.8.6, iexfinance 0.4.3
Hello: I'm trying to figure out data weights for historical_prices endpoint. It looks like they come in packets of 2520, but I'm not sure about how they are calculated.
For example, using the get_historical_prices endpoint, here is sample message usage to the current date:
1 symbol, from 1-1-18 to present: 12,590
1 symbol, from 1-1-19 to present: 5,040
1 symbol, from 1-1-20 to present: 2,520
1 symbol, from 12-1-20 to present: 2,520
I reached out to IEX Cloud and there response was:
I saw your response on the other ticket but I can provide a little more clarity here.
It looks like the code library you are using is rounding up your requests to '1y' and then cutting down the returned response to give you only the dates requested. That's why requesting data for different time periods within 1 year are charged the same amount of 2,520.
The same is done for 1-1-19, as they are likely making a 'range=2y' call.
This is likely just a feature of the library you're using. Client libraries are maintained by 3rd-party developers. I suggest reaching out to the developer of that library for assistance.
Date/time of issue
Current
Expected behavior
Message count corresponds correctly with dates.
Actual behavior
Message count does not correspond correctly with dates,.

That is correct. iexfinance pulls the minimum amount of data needed and then slices it to the date range you need.
For 1/1/2019, a date that is almost 2 years ago, range=2y must be used. Is there a better way to do this?

Here's what I'm seeing
1 symbol, from 1-1-18 to present: 12,590
Call: get_historical_data("AAPL", start="1-1-2018", end="12-14-2020")
Query: https://sandbox.iexapis.com/stable/stock/market/batch?symbols=AAPL&types=chart&range=5y&chartByDay=False&chartCloseOnly=False
Messages Used: 12580
1 symbol, from 1-1-19 to present: 5,040
Call: get_historical_data("AAPL", start="1-1-2019", end="12-14-2020")
Query: https://sandbox.iexapis.com/stable/stock/market/batch?symbols=AAPL&types=chart&range=2y&chartByDay=False&chartCloseOnly=False
Messages Used: 5030
1 symbol, from 1-1-20 to present: 2,520
Call: get_historical_data("AAPL", start="1-1-2020", end="12-14-2020")
Query: https://sandbox.iexapis.com/stable/stock/market/batch?symbols=AAPL&types=chart&range=1y&chartByDay=False&chartCloseOnly=False
Messages Used: 2510
1 symbol, from 12-1-20 to present: 2,520
Call: get_historical_data("AAPL", start="12-1-2020", end="12-14-2020")
Query:  https://sandbox.iexapis.com/stable/stock/market/batch?symbols=AAPL&types=chart&range=1m&chartByDay=False&chartCloseOnly=False
Messages Used: 190

If I understand this correctly

Data Weighting
Adjusted + Unadjusted
10 per symbol per time interval returned (Excluding 1d)
Example: If you query for AAPL 5 day, it will return 5 days of prices for AAPL for a total of 50.
Adjusted close only
2 per symbol per time interval returned (Excluding 1d)
use chartCloseOnly param

If you changed close_only below to True as the default, you'd use 1/5 of the message count (but at the cost of the other data).  Design decision as to what to default, but my bet is most people use this endpoint only for the historical data and they toss the rest.
class HistoricalReader(Stock):
    """
    Base class to download historical data from the chart endpoint
    Reference: https://iextrading.com/developer/docs/#chart
    """

    def __init__(self, symbols, start, end=None, close_only=False, **kwargs):

Thank you!

@dcwtx that's a great point. It may be a good idea to add to the iexfinance documentation that chartCloseOnly greatly reduces message counts.

Well, you actually already have it in the docs, I just don't think most people read that stuff.
So one suggestion is to make close_only=True and to either a) create a new flag to get detailed historical data, or b) just enter close_only=False to get the detailed data.  This is under the presumption that most people prefer lower message count and only want closing price and volume.


HDDS-6036: EC: handleStripeFailure should retry

What changes were proposed in this pull request?
On stripe write failures, it will retry.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6036
How was this patch tested?
Added tests to verify the behavior.

I had a quick look at this, and the changes seem reasonable to me. It would be good to get @fapifta to check them too, as he is more up-to-speed on the write path than I am.

Hi @umamaheswararao,
thank you for your great work on this PR. I think the logic itself is good, and I don't see any big problems, but I have a few things I would like you to consider and if you agree change some parts of the code based on that.
Please find my notes inline.

Thanks a lot @fapifta for the comments. I have refined the patch by addressing the comments. Thanks

Hi @umamaheswararao,
thank you for addressing my comments, I think I resolved most of the conversations, two small thing remained around naming, otherwise I think we are good to go.
If you agree with renaming those, and don't see anything else you would like to change, then after a green CI I am +1 to commit the changes with the fixed names.

Thanks @fapifta and @sodonnel for the reviews !!!


Allow the dockerfile entrypoint to be reused by child images

Here's the associated issue: https://github.com/pipelinedb/pipelinedb/issues/1941

@joaosa thank you so much! For reference purposes, do you mind briefly explaining what the issue is and why exactly this resolves it?
The main idea is to allow one to run any script before booting pipelinedb, while reusing pipelinedb's entrypoint and, thus, not having to boot it explicitly.
Here's an example:
dockerfile
FROM pipelinedb/pipelinedb:latest
ADD start.sh /
CMD ["/bin/sh", "/start.sh"]

start.sh
# do whatever you need to do
# e.g. fix permissions on a volume

# boot pipelinedb through its entrypoint
/entrypoint.sh pipelinedb

Turns out this is currently possible by calling /usr/local/bin/docker-entrypoint.sh pipelinedb instead.
It turns out pipelinedb/pipelinedb:latest isn't up to date and it seems to be a much older version. I'd say it's 0.9.6 (https://hub.docker.com/r/pipelinedb/pipelinedb/tags/).

Closing this as it's no longer relevant to me


Update minhash.py

disable renew fingerprint.
Issue: https://github.com/ChenghaoMou/text-dedup/issues/67

I will close this for now, as the fingerprints here are by design.


Community rules

Thank you all for your first contributions, it's magic!
In order to open the project to as many people as possible, while keeping a good mood, I suggest adding:

CODE_OF_CONDUCT.md
CONTRIBUTING.md

(I added the files in the .gitattributes)
Feel free to make additions and modifications.

Hi,
Adding those files is always a good idea! 👏🏼
You can also consider thetemplates to help categorization and guide users when submitting issues or PR.
See https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests


LTS k8s versions as 1.27 are available in list but can't be provisioned

It is possible to select k8s LTS versions as 1.27.16 from rancher 2.9-head for upcoming v2.9.4 with rancher-aks-operator:104.4.0+up1.9.4-rc.2 but then the provisioning fails on following error.
I guess we shouldn't either allow provisioning of LTS versions and not showing them in the list or change the API calls to allow that.

Error failed to create cluster: PUT https://management.azure.com/subscriptions/XXXXX/resourceGroups/th-aks-cg/providers/Microsoft.ContainerService/managedClusters/th-aks-29 -------------------------------------------------------------------------------- RESPONSE 400: 400 Bad Request ERROR CODE: K8sVersionNotSupported -------------------------------------------------------------------------------- { "code": "K8sVersionNotSupported", "details": null, "message": "Managed cluster th-aks-29 is on version 1.27.16, which is only available for Long-Term Support (LTS). If you intend to onboard to LTS, please ensure the cluster is in Premium tier and LTS support plan (see https://aka.ms/aks/enable-lts). Otherwise, use [az aks get-versions] command to get the supported version list in this region. For more information, please check https://aka.ms/supported-version-list", "subcode": "" } --------------------------------------------------------------------------------

We might want to improve the way the error message is displayed 🤔


find it's hard to use superagent to do reverse proxying

I can't do things like
req.pipe(superagent(req.method, endpoint + req.url)).pipe(res);

cause pipe() called end() and it will break piped data from req

Superagent is not designed for reverse proxying. You can do it, but it isn't ideal IMO. Maybe you need { end: false} on the first pipe.


[Bug]: modal prop on DialogRoot is not working

Environment
Developement/Production OS: Windows 10 19043.1110
Node version: 16.0.0
Package manager<EMAIL_ADDRESS>Radix Vue version: 1.0.0
Vue version: 3.0.0
Nuxt version: 3.0.0
Nuxt mode: universal
Nuxt target: server
CSS framework<EMAIL_ADDRESS>Client OS: Windows 10 19043.1110
Browser: Chrome 90.0.4430.212

Link to minimal reproduction
https://stackblitz.com/edit/xq9e26-sn1yc6?file=src%2FApp.vue
Steps to reproduce

Use a DialogRoot with modal prop set to false
When opening the dialog, elements outside the dialog cannot be focussed as expected

Describe the bug
When setting modal prop to false on , you should be able to focus elements outside the dialog when it is open.
Expected behavior
No response
Context & Screenshots (if applicable)
No response

A possible workaround is to call .prevent on DialogContent events. In my case, it works great
<DialogContent
  @interact-outside.prevent
  @focus-outside.prevent
  @pointer-down-outside.prevent
>

Maybe we should prevent them automatically when the :modal="true", but I am not sure about that

Hey @kristofferdamborg ! Thanks for the issue. This seems like part of the design from original Radix, which we trap the focus within the dialog. It is a bad accessibility if we allow user to able to focus on element outside of dialog.
What @MellKam  suggested above is good, and should achieve what you need right? 😁
Let me know if that solves it. Closing for now

Hey @kristofferdamborg ! Thanks for the issue. This seems like part of the design from original Radix, which we trap the focus within the dialog. It is a bad accessibility if we allow user to able to focus on element outside of dialog.
What @MellKam suggested above is good, and should achieve what you need right? 😁
Let me know if that solves it. Closing for now

@zernonia Thank you for getting back on this. I have misunderstood what the prop (modal) actually does, my bad! 😅
@MellKam's solution does unfortunately not work for me, unless I'm doing something wrong? Here's a demo: https://stackblitz.com/edit/xq9e26-zfq6df?file=src%2FApp.vue
My use case is this:
I got a page where you can edit something. Whenever something has been edited, I open a sheet (I'm using shadcn-vue's sheet component), which contains a save and cancel button. I want the user to be able to still focus elements outside of this sheet, as they can continue to edit even when the sheet is open. Will I never be able to achieve acceptable accessibility with this approach?

@kristofferdamborg Yes, you cannot tab to focus elements outside the dialog, because focus is trapped. This is one of the main features of dialog.

@MellKam I see, thanks for clarifying. Any idea of how I might approach my use case then? Any help is greatly appreciated :)

@kristofferdamborg I don't have enough context, but why you can't just toggle if with v-if or v-show? I don't see the need for some modal window or other things. Keep it simple. Maybe if I see what it looks like, I'll say more


[meta] Deis v2 Beta

This issue is a WIP, this notice will be deleted when everything is finalized.
Meta issue for Deis v2 Beta; as specific issues are filed in other repos, we will link them back to this issue.
Beta Issues Search
Beta Goals
The Beta period is focused on stabilizing backing services, reaching availability and recoverability targets. Technology choices for each of backing services should be well understood for each of our blessed configurations.
e2e testing infrastructure for v2 platform should be in place. The long-running/soak tests are a requirement to leave beta (see test target below).
Beta should also exit with a strong opinion about production and staging configurations and how best to go from zero to kubernetes.
Project-level

[ ] Security target: none

[ ] All platform components run as non-root users (whenever possible)
[ ] Services that support TLS should be deployed with TLS by default

[ ] Availability target:

Components should be recoverable with manual intervention and documentation
Self-healing components where possible

[ ] Recoverability target:

Given a backup of the platform, restoring to a known-good k8s cluster should take < 1 hour

[ ] Infrastructure targets:

Documentation for stanudp on AWS via coreos-kubernetes
Documentation for standup on GKE

[ ] Installation target:

Automated via Helm

[ ] Test target:

load test: running for 2 days (24/7) without < 5% dropped requests
load test: 1 deploy/minute across 5 independent applications

[ ] Scale target:

10 node cluster

[ ] Dogfooding target:

two Deis internal services, long-running

[ ] Debugging target:

[ ] Deis Workflow Manager

Meta

[ ] all project components adhere to deis/prototype-repo
[ ] all workflow/component configuration documented
[ ] all components output version information on startup
[ ] all components logs available through logging sub-system
[ ] all kubernetes requirements documented (DeamonSets, Versions, etc)

Components
Client

[x] Client v2 master builds pushed to bintray

Controller deis/workflow

[ ] Django upgrade
[ ] Remove etcd depdendency
[ ] Testing: e2e / integration running on every PR
[ ] Metrics: expose operational metrics to platform monitor component

Database deis/postgres

[ ] Availability: HA configuration deployed by default
[ ] Metrics: expose operational metrics to platform monitor component
[ ] Recoverability: documented disaster recovery through backups + restore
[ ] Testing: single, multi-node failure, recovery, adding & removing replicas

Etcd deis/etcd

[ ] Availability: HA configuration deployed by default
[ ] Metrics: expose operational metrics to platform monitor component
[ ] Recoverability: documented backup + restore
[ ] Testing: single, multi-node failure, recovery

Registry deis/registry

[ ] Availability: HA configuration
[ ] Metrics: expose operational metrics to monitor component
[ ] Recoverability: documented backup + restore
[ ] Security: deployed with TLS by default (do not require insecure registry)

Object storage

[ ] Off-cluster storage: setup and configuration documented
[ ] minio deis/minio

[ ] SSL/TLS by default

[ ] RiakCS

[ ] Availability: multi-node configuration by default (3 or 5)
[ ] Metrics: expose operational metrics to monitor component
[ ] Recoverability: documented backup + restore
[ ] Testing: single, multi-node failure, recovery, adding and removing replicas

Router deis/router

[ ] Router configuration and sub-system documented
[x] basic http routing to services
[ ] Terminate SSL for workflow/controller
[ ] Terminate SSL for customer applications
[ ] Metrics: expose operational metrics to monitor component

Builder deis/builder

[ ] Dockerfile functionality
[ ] Buildpack functionality
[ ] Metrics: expose operational metrics to monitor component

Slugbuilder slugbuilder

[ ] Metrics: expose operational metrics to monitor component

Slugrunner slugrunner

[ ] Metrics: expose operational metrics to monitor component

Logger logger

[ ] Logging sub-system internals documented
[ ] Functioning deis logs for all apps
[ ] Platform log-draining + documentation

Monitoring monitor

[ ] Monitor sub-system internals documented
[ ] Default monitors for workflow components: availability/health only

Alerting monitor

[ ] Document alert delivery mechanisims

two additional items to consider:

easing router startup config - it would be nice, from a user & setup perspective, to not have to edit the incoming domain in the router manifest
port non-Go components of builder to Go

I agree that the user-experience for folks first setting up the platform would be greatly aided by something which isn't raw k8s wrangling. I feel there is certainly a space for a deisctl2 type of tool, but I'm on the fence as to what that should be.
Builder can certainly benefit from a non-bash life; however, one of my motivating priorities is working code now, versus the thing we'd like to have. A builder go-rewrite could easily be delivered in a 2.0 point release, which is what I'm leaning toward at the moment. A huge caveat being that through beta, if builder is consistently melting our faces we can reconsider.

@slack ok, fair enough. RE the `deisctl2

also, @slack we should add persistent storage for minio, under 'object storage'

Storage added!

:+1:

minio persistent storage example:
          volumeMounts:
            - name: home-minio
              mountPath: /home/minio
      volumes:
        - name: home-minio
          hostPath:
            path: /data/deis/minio

minio's boot should run chown minio:minio /home/minio after mkdir /home/minio

Do we need to expose slubuilder metrics exposed ?? After all its an intermittent job that runs and produces slug and dies.
I think the functionality of buildpack type apps from builder side is done

@slack question about the following that was stated WRT router:

Metrics: expose operational metrics to monitor component

Are any more solid requirements available on what sort of metrics are desired?

I haven't had the time to pull out specific sets of stats for each of the components. Since we are using prometheus to scrape metrics, a survey of existing prometheus exporters is a great place to start.
In the absence (or even presence) of existing exporters, what we want to enable is operators of the platform to be able to understand the health of the components through these metrics, which then become potential sources for alerts.
To your question @smothiki, emitting metrics for all the platform components lets us answer questions and debug problems with numbers rather than guts. So the more the :chart_with_upwards_trend: :chart_with_downwards_trend: the better.

Just an update on the metrics side of things. I have a working telegraf/influx setup. So I'm trying to determine what I should do next. If we have the VTS plugin back in the router component then I can take a stab at building a plugin that will scrape those metrics and send them over to our sink.
For other components we should figure out what is most important and how we want to get that data to influx.
For example, should we have a /stats endpoint in the controller that prints out metrics in json that we can scrape like we do for router? Or should it just send the metrics to influx as it calculates them?

I'm worried about some of the project level requirements such as:

[ ] Test target:

[ ] load test: running for 2 days (24/7) without < 5% dropped requests
[ ] load test: 1 deploy/minute across 5 independent applications
[x] workflow-e2e fully automated

[ ] Dogfooding target:

two Deis internal services, long-running

I know there has been some chatter re: dogfooding, but I have yet to see long running tests of applications and performance/load testing.

@slack if this is the official document for releasing beta should we remove the metrics requirements from it?

Yeah, everything but router. Will update.

The final push for v2 beta is visible on #4962


Example app connect when running android version but windows version won't connect

I tried to run connect to my livekit server using the example app in github and the app I wrote myself.
In both cases I can connect to my room when running app in android emulator but when I run the app in windows mode I cannot connect to the same room in the same server.
Here's the full log :
flutter: Engine ConnectionState disconnected -> connecting
flutter: [EngineEvent] Engine#1012341134 EngineConnectionStateUpdatedEvent(newState: connecting, didReconnect: false, disconnectReason: null)
flutter: SignalClient ConnectionState disconnected -> connecting
flutter: [SignalClient#516488551] cleanUp()
flutter: [SignalEvent] SignalConnectionStateUpdatedEvent(newState: connecting, didReconnect: false, disconnectReason: null)
flutter: [WebSocketIO] Connected
flutter: SignalClient ConnectionState connecting -> connected
flutter: [SignalEvent] SignalConnectionStateUpdatedEvent(newState: connected, didReconnect: false, disconnectReason: null)
flutter: ping config timeout: 20, interval: 10
flutter: [SignalEvent] Instance of 'SignalJoinResponseEvent'
flutter: onConnected subscriberPrimary: true, serverVersion: 1.4.5, iceServers: [urls: stun:stun.l.google.com:19302
urls: stun:stun1.l.google.com:19302
], forceRelay: Instance of 'SignalJoinResponseEvent'.response.clientConfiguration.forceRelay
flutter: [Engine] Received JoinResponse, serverVersion: 1.4.5
flutter: Room Connect completed
flutter: [PCTransport] creating {sdpSemantics: unified-plan, iceServers: [{urls: [stun:stun.l.google.com:19302, stun:stun1.l.google.com:19302]}]}
flutter: [ParticipantEvent] ParticipantMetadataUpdatedEvent(participant: LocalParticipant(sid: PA_Re9VE4viM9MJ, identity: admin)), will notifyListeners()
flutter: [RoomEvent] ParticipantMetadataUpdatedEvent(participant: LocalParticipant(sid: PA_Re9VE4viM9MJ, identity: admin)), will notifyListeners()
flutter: [ParticipantEvent] ParticipantPermissionsUpdatedEvent(participant: LocalParticipant(sid: PA_Re9VE4viM9MJ, identity: admin), permissions: Instance of 'ParticipantPermissions'), will notifyListeners()
flutter: [RoomEvent] ParticipantPermissionsUpdatedEvent(participant: LocalParticipant(sid: PA_Re9VE4viM9MJ, identity: admin), permissions: Instance of 'ParticipantPermissions'), will notifyListeners()
flutter: [SignalEvent] Instance of 'SignalParticipantUpdateEvent'
flutter: [ParticipantEvent] ParticipantPermissionsUpdatedEvent(participant: LocalParticipant(sid: PA_Re9VE4viM9MJ, identity: admin), permissions: Instance of 'ParticipantPermissions'), will notifyListeners()
flutter: [RoomEvent] ParticipantPermissionsUpdatedEvent(participant: LocalParticipant(sid: PA_Re9VE4viM9MJ, identity: admin), permissions: Instance of 'ParticipantPermissions'), will notifyListeners()
flutter: [PCTransport] creating {sdpSemantics: unified-plan, iceServers: [{urls: [stun:stun.l.google.com:19302, stun:stun1.l.google.com:19302]}]}
flutter: [SignalEvent] Instance of 'SignalTokenUpdatedEvent'
flutter: [SignalEvent] Instance of 'SignalOfferEvent'
[ERROR:flutter/shell/common/shell.cc(1004)] The 'FlutterWebRTC/peerConnectionEvent8B6403F8-A1E1-43C2-9FD6-10CA36E9B537' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
flutter: [SignalEvent] Instance of 'SignalTrickleEvent'
flutter: [SignalEvent] Instance of 'SignalTrickleEvent'
flutter: EventsListener<SignalEvent>#815885597 event was cancelled by func
flutter: Waiting for engine to connect...
flutter: Server refreshed the token
flutter: [SignalEvent] Instance of 'SignalTrickleEvent'
flutter: [Engine#1012341134] Received server offer(type: offer, RTCSignalingState.RTCSignalingStateStable)
[ERROR:flutter/shell/common/shell.cc(1004)] The 'FlutterWebRTC/peerConnectionEvent899BCA61-3EB3-462D-9C33-C1620F4587C8' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
flutter: [SignalEvent] Instance of 'SignalTrickleEvent'
flutter: [SignalEvent] Instance of 'SignalTrickleEvent'
flutter: Created answer
flutter: got ICE candidate from peer
flutter: subscriber onIceCandidate
flutter: subscriber onIceCandidate
flutter: pc.getRemoteDescription Instance of 'RTCSessionDescription'
flutter: got ICE candidate from peer
flutter: subscriber iceConnectionState: RTCIceConnectionState.RTCIceConnectionStateChecking
flutter: pc.getRemoteDescription Instance of 'RTCSessionDescription'
flutter: got ICE candidate from peer
flutter: pc.getRemoteDescription Instance of 'RTCSessionDescription'
flutter: got ICE candidate from peer
flutter: pc.getRemoteDescription Instance of 'RTCSessionDescription'
flutter: got ICE candidate from peer
flutter: pc.getRemoteDescription Instance of 'RTCSessionDescription'
flutter: subscriber onIceCandidate
flutter: [SignalEvent] Instance of 'SignalRoomUpdateEvent'
flutter: EventsEmitter<EngineEvent>#777998414 event was cancelled by func
flutter: Connect Error LiveKit Exception: [ConnectException] Timed out waiting for EnginePeerStateUpdatedEvent
flutter: Engine ConnectionState connecting -> disconnected
flutter: Could not connect LiveKit Exception: [ConnectException] Timed out waiting for EnginePeerStateUpdatedEvent
flutter: [EngineEvent] Engine#1012341134 EngineConnectionStateUpdatedEvent(newState: disconnected, didReconnect: false, disconnectReason: null)
flutter: [Room#301983608] cleanUp()
flutter: [Engine#1012341134] cleanUp()
flutter: [SignalClient#516488551] cleanUp()
flutter: [RoomEvent] RoomDisconnectedEvent(null), will notifyListeners()
flutter: SignalClient onSocketDispose ConnectionState.connected
flutter: SignalClient did disconnect ConnectionState.connected
flutter: SignalClient ConnectionState connected -> disconnected
flutter: [SignalEvent] SignalConnectionStateUpdatedEvent(newState: disconnected, didReconnect: false, disconnectReason: null)
flutter: onDisconnected state:ConnectionState.disconnected reason:signal
flutter: [Engine#1012341134] Already disconnected... ClientDisconnectReason.signal

same problem

i also see this err

found the problem ,need to update the flutter_version, maybe need to wait   flutter-webrtc^0.9.45 published, 0.9.44 not contains the fix
https://github.com/flutter-webrtc/flutter-webrtc/pull/1458

The flutter plugin for windows currently does not support thread safety and send events to the main thread, but if you use the flutter stable channel for windows it should work correctly.
https://github.com/flutter/flutter/issues/135502
https://github.com/flutter/flutter/issues/79213

can you try downgrading to 3.10.4?  this version works for me, As you mentioned, I can reproduce this issue by upgrading to 3.13.x, but we still need to wait for the flutter team to fix the issue.

there is no need to downgrade,.
3.10.x is the version i used last mounth, there is no problem
i have to upgrade because i use some pkg need 3.13
i can wait  to fix the issue on mac and windows util the flutter tem release new version,  maybe https://github.com/livekit/client-sdk-flutter/pull/370 fix on macos in a tmp way?

Yes, I've fixed the issue on macOS/iOS.

Linux platform same error
[ERROR:flutter/shell/common/shell.cc(1055)] The 'FlutterWebRTC/Texture93860604184960' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
[ERROR:flutter/shell/common/shell.cc(1055)] The 'FlutterWebRTC/Texture93860594641680' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
Lost connection to device.
the Dart compiler exited unexpectedly.


[FIX DB MIGRATIONS] we can't reset db on servers

So guys we can't reset databases on servers.
I did some corrects related to latest AwardYear related migrations.
Now it's one migration, which works by following way:
class AwardYearsStructureCorrects < ActiveRecord::Migration
  def up
    # Clean up existing Settings
    Settings.destroy_all

    # Add award_year_id to Settings (without null: false)
    remove_column :settings, :year
    add_column :settings, :award_year_id, :integer
    Settings.reset_column_information

    # Create award_years table
    create_table :award_years do |t|
      t.integer :year, null: false
      t.timestamps null: false
    end

    # Populate Award Years.
    # Settings and Deadlines will be created automatically
    AwardYear::AVAILABLE_YEARS.each do |year|
      AwardYear.create!(year: year)
    end

    # # Add null: false and index for award_year_id for Settings
    change_column :settings, :award_year_id, :integer, null: false
    add_index :settings, :award_year_id

    # # Add award_year_id to FormAnswer (without null: false)
    add_column :form_answers, :award_year_id, :integer
    FormAnswer.reset_column_information

    # # Populate award_year_id value for existing FormAnswers
    FormAnswer.all.each do |form_answer|
      award_year_attr = form_answer.attributes["award_year"]
      award_year = AwardYear.find_by_year(award_year_attr)
      form_answer.update_column(:award_year_id, award_year.id)
    end

    # # Remove award_year column from FormAnswer
    remove_column :form_answers, :award_year

    # # # Add null: false and index for award_year_id for FormAnswer
    change_column :form_answers, :award_year_id, :integer, null: false
    add_index :form_answers, :award_year_id
  end
end

:+1: prefer not to break migrations

Here are 3 failed specs:
rspec ./spec/mailers/users/collaboration_mailer_spec.rb:77
rspec ./spec/mailers/users/collaboration_mailer_spec.rb:43
rspec ./spec/models/users_import/builder_spec.rb:7

I can fix users/collaboration_mailer_spec.rb,
models/users_import/builder_spec.rb
UsersImport::Builder#process imports the users
     Failure/Error: expect(row.created_at).to eq(Date.new(2014, 8, 4))

       expected: Mon, 04 Aug 2014
            got: 2014-04-08 01:00:00.000000000 +0100

       (compared using ==)

       Diff:
       @@ -1,2 +1,2 @@
       -Mon, 04 Aug 2014
       +Tue, 08 Apr 2014 01:00:00 BST +01:00

     # ./spec/models/users_import/builder_spec.rb:13:in `block (3 levels) in <top (required)>'

is better to review by @jaleszek


gametype must contain [main] for this action

Traceback (most recent call last):
File "launch.py", line 41, in thread
File "launch.py", line 63, in launch
Exception: gametype must contain [main] for this action

このエラーが発生したゲームを教えてください

lastoriginr


Default value behaviour – nullable value types point in list is inconsistent with other places and incorrect

For value types, the array elements are initialized with the default value, the 0-bit pattern; the elements will have the value 0.
All the reference types (including the non-nullable), have the values null.
For nullable value types, HasValue is set to false and the elements would be set to null.

From Types|Default constructors

For a nullable_type the default value is an instance for which the HasValue property is false and the Value property is undefined. The default value is also known as the null value of the nullable type.

From Default values of C# types (C# reference)

Any nullable value type | An instance for which the HasValue property is false and the Value property is undefined. That default value is also known as the null value of a nullable value type.

FPOV is it correct to state that value hidden in Nullable<T> is default (not null) rather than presenting behavior characteristics of Value property. That since initialization/default is discussed which by nature relates to fields.
On the other hand private readonly bool hasValue stays in darkness of black box for consumer so there is little antinomy in such approach.
Maybe just right would be to state 0-bit pattern obedience along with behavior of Value property. Many other structs are black boxes that return via properties so I guess there is no need to tell explicitly that after default initialization any bool property returns false.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a02d7544-6f92-5582-9d28-7160a5bc916a
Version Independent ID: 7e3f884a-94b6-ea27-70ea-060fe51f51c2
Content: Arrays - C# Programming Guide
Content Source: docs/csharp/programming-guide/arrays/index.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks for noting this @Uzivatel919
I want to think about how to present this in a way that is both consistent and usable. There are a few related behaviors with respect to arrays and types (especially nullable types). I think the updates are somewhere along these lines:

When an array is constructed, the storage for all the elements is initialized to the 0 bit pattern. That means:

All struct types are initialized to their 0 values. (Note that in C# 10, once structs can have a default constructor, that may be different than the instance generated from the default constructor.)
All reference types are initialized to null. This includes non-nullable value types. An array of a non-nullable reference type has all null elements.
Nullable value types are initialized to the 0 bit pattern. That means HasValue is false, and Value is undefined.

The reason for this behavior is to balance the performance needs of not calling a parameterless constructor for each element with having well defined behavior for freshly allocated arrays.

Fixing this as part of the work on collection expressions. #36356


feat(tutorial): complete step 2

I don't know why Vercel failed  on deployment. Can somebody look at it?


Incorrect proof in NaturalNumbers

In level 4 of Advanced Multiplication World there is a proof of:
theorem mul_left_cancel (a b c : MyNat) (ha : a ≠ 0) : a * b = a * c → b = c

Near the end of the proof is the line apply hd which is flagged in VS Code as an error with the message:
tactic 'apply' failed, failed to unify
  ?b = d
with
  succ c = succ d
case succ.succ
a : MyNat
ha : a ≠ 0
d : MyNat
hd : ∀ (b : MyNat), a * b = a * d → b = d
c : MyNat
hb : a * succ c = a * succ d
h : Prop
⊢ succ c = succ d

Using a clone of the latest lean4-samples from GitHub.

The following proof works (only change is in the last few lines):
theorem mul_left_cancel (a b c : MyNat) (ha : a ≠ 0) : a * b = a * c → b = c := by
  induction c generalizing b with
  | zero =>
    rw [zero_is_0]
    rw [mul_zero]
    intro h
    cases (eq_zero_or_eq_zero_of_mul_eq_zero _ _ h) with
    | inl h1 =>
      exfalso
      apply ha
      assumption
    | inr h2 =>
      assumption
  | succ d hd =>
    intro hb
    cases b with
    | zero =>
      rw [zero_is_0] at hb
      rw [mul_zero] at hb
      rw [zero_is_0]
      exfalso
      apply ha
      have hb := hb.symm
      cases (eq_zero_or_eq_zero_of_mul_eq_zero _ _ hb) with
      | inl h =>
        exact h
      | inr h =>
        exfalso
        exact succ_ne_zero _ h
    | succ c =>
      rw [mul_succ] at hb
      rw [mul_succ] at hb
      have aceqad := add_right_cancel _ _ _ hb
      have ceqd := hd c aceqad
      rw [ceqd]

There is also a missing import for add_right_cancel - AdvancedAdditionWorld.Level5.


Next

improve useform hook types

:tada: This PR is included in version 1.1.0 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


increment version from 2.4.1 to 2.4.2

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

Codecov Report

Merging #139 (928c09a) into 2.4 (255c4ef) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              2.4     #139   +/-   ##
=======================================
  Coverage   81.42%   81.42%
=======================================
  Files          13       13
  Lines         140      140
  Branches       27       27
=======================================
  Hits          114      114
  Misses         24       24
  Partials        2        2

Flag
Coverage Δ

dashboards-search-relevance
81.42% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[BUG] SetValue on DateTime control sometimes error

CRM Version:
2021 release wave 1 enabled
Server version: 9.2.21071.00134
UCI or Classic Web

[x] UCI (XrmApp)
[ ] Classic Web (XrmBrowser)

Online or On Premise

[x] Online
[ ] On Premise

Browser

[x] Chrome
[ ] Firefox
[ ] IE
[ ] Edge

Describe the bug
XrmApp.Entity.SetValue("xts_invoicepostingdate", DateTime.Now.ToShortDateString());
That code sometimes success to fill the date attribute,   but sometimes fail (2 out of 5)
Error message:
System.InvalidOperationException: Timeout after 10 seconds. Expected: 7/27/2021. Actual:

I do have the same issue, i checked my regional settings in my workstation and still have the same issue everytime i run my unit test that fill a date and time field. When i fill a date field only, it works without issue.
xrmApp.Entity.SetValue("fjsc_date_infraction", DateTime.Now, "MM/dd/yyyy"); // Workring
xrmApp.Entity.SetValue("fjsc_appearancedate", DateTime.Now , "MM/dd/yyyy", "hh:mm tt"); // Not Working


chore: release 1.0.0

:robot: I have created a release *beep* *boop*
1.0.0 (2019-05-20)
⚠ BREAKING CHANGES

upgrade engines field to >=8.10.0 (#151)

Bug Fixes

deps: update dependency google-gax to ^0.26.0 (#149) (b92c822)
DEADLINE_EXCEEDED is no longer retried (5f4f9ff)
DEADLINE_EXCEEDED retry code is idempotent (#159) (a7e511a)
indicate that Encrypt, Decrypt, AsymmetricDecrypt, AsymmetricSign are idempotent, such that they're retried (122b3f8)
deps: update dependency google-gax to v1 (#158) (91fe078)

Build System

upgrade engines field to >=8.10.0 (#151) (45b2a9f)

Release is at https://github.com/googleapis/nodejs-kms/releases/tag/v1.0.0

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart: