Add FAQs for CC Free

Closes #9252, #9409

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/fd7a58f64e9b3b77d5ca4c81930bac539f5427be/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md

@kannanlakshmi - can you do a general review?
@piyush-singh - can you review the Security sections specifically?
thanks!

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/be78ff7f5cb5b5fabf9dff8b01d1730cdb24a63f/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/e07b2970948ad17486d796099bf47d9bacab0414/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/e07b2970948ad17486d796099bf47d9bacab0414/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md

@piyush-singh @kannanlakshmi - friendly ping on this. can you please review by tuesday?

@piyush-singh @kannanlakshmi - friendly ping on this. can you please review by tuesday?

I think we should more explicitly call out Beta items such as:

Why is CockroachCloud Free in Beta?
Where can I submit my feedback on the Beta?
Where can I submit bugs that I find with the Beta?
When will CockroachCloud Free be generally available (no longer in Beta)?

cc @kannanlakshmi for her thoughts

I think we should more explicitly call out Beta items such as:

Why is CockroachCloud Free in Beta?
Where can I submit my feedback on the Beta?
Where can I submit bugs that I find with the Beta?
When will CockroachCloud Free be generally available (no longer in Beta)?

cc @kannanlakshmi for her thoughts

I am fine with the first three but I don't want to commit to a timeline for GA, we don't do that for any part of the product, so don't need to do it for free tier.
Why is CockroachCloud Free in Beta?
Primarily bc we're working on core features like IMPORT and backups.
Where can I submit my feedback on the Beta?
The survey? cc @emily-horing
Where can I submit bugs that I find with the Beta?
Support or survey? @emily-horing what do you think? I don't want to make this too complicated.

I am fine with the first three but I don't want to commit to a timeline for GA, we don't do that for any part of the product, so don't need to do it for free tier.
Why is CockroachCloud Free in Beta?
Primarily bc we're working on core features like IMPORT and backups.
Where can I submit my feedback on the Beta?
The survey? cc @emily-horing
Where can I submit bugs that I find with the Beta?
Support or survey? @emily-horing what do you think? I don't want to make this too complicated.

Sounds good to me. For the section below, how about adding a link at the very end of the paragraph with this sentence: If you want to use any of these capabilities, try the paid version of CockroachCloud instead.
What are the limitations of CockroachCloud Free?
CockroachCloud Free is currently in beta and as such, it is not suitable for production use. Specifically, there are capabilities we are still working on enabling, such as the ability to enable backups, to import data, and no-downtime upgrades to a paid tier. These capabilities and more are coming soon!

Sounds good to me. For the section below, how about adding a link at the very end of the paragraph with this sentence: If you want to use any of these capabilities, try the paid version of CockroachCloud instead.
What are the limitations of CockroachCloud Free?
CockroachCloud Free is currently in beta and as such, it is not suitable for production use. Specifically, there are capabilities we are still working on enabling, such as the ability to enable backups, to import data, and no-downtime upgrades to a paid tier. These capabilities and more are coming soon!

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/21488e36d594b668e8e1cf5e0014040f6d4de064/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/21488e36d594b668e8e1cf5e0014040f6d4de064/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/ecac333ce5c0623f61ca0b269925a3934e7c0f5b/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/ecac333ce5c0623f61ca0b269925a3934e7c0f5b/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/f8d2a05c4ac7e99b4e5da2395a03d6934bc17d4a/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/f8d2a05c4ac7e99b4e5da2395a03d6934bc17d4a/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/ac85215c7b73a0d17261eff4e3343a3c8c4d402b/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/ac85215c7b73a0d17261eff4e3343a3c8c4d402b/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/a7b2db6a361c2303f27eebefbab155ace1851590/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/a7b2db6a361c2303f27eebefbab155ace1851590/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/2a561f6d0e69627cc18055d7f296dedca5c4887e/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/2a561f6d0e69627cc18055d7f296dedca5c4887e/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/426a23d3416af5c4b6940c46aa6515b845beba0e/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/426a23d3416af5c4b6940c46aa6515b845beba0e/
Edited pages:

cockroachcloud/free-faqs.md
cockroachcloud/frequently-asked-questions.md


Remove redundant check

This check should be enough to determinate if the variable is a string and empty.
$value === ''

If it's not broken atm I will just leave as-is.


Atom for windows can`t install

I used the "AtomSetup-x64.exe" and it said " Failed to extract installer".

We require the issue template to be filled out with new issues but you also might want to check out https://github.com/atom/atom/issues/7915.

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way :grinning:


Disabled process time out, adopt last change symfony/console.

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

This PR fixed #248 also.

👍


React Native Android?

Hi!
How would one go about installing this for React Native Android? Is it supported? Perhaps a silly question since it's material design, but it'd be nice to be able to use this for a consistent app look on both platforms.

Yes, I've been working on the Android version in the past few days. For compatibility (with devices before Lollipop) reasons, it will not provide a native material design styled look and feel, the JSX implements will be used, so it'll has a consistent looks and feel across platforms.

Ahh, that sounds great! Do you mean native look and feel as in it won't be using native elements, or as in that the implementation of the elements will be in pure JS and thus differ some from the native elements because of that?
Thanks for looking into it, looking forward to making this project a standard component in all of my projects. Cheers!

It'll be in pure (or almost) JS, may has some differences from the Android native components.
Can't wait to see your apps built with RNMK! :beer:

Let me know if you need any help testing! :) Thanks for all of your work and making it open source.

Thanks a lot!

Is it support Android now? I cloned the project and copied them to node_modules just now, and the version was 0.2.0-SNAPSHOT
It seems not work..

Not yet, I'm still working on it. It's a bit harder than expected.
It's a little buggy at this early stage of RN for Android, and there's some different behaviors between the two platforms.

_ (:з」∠)_ I can imagine it.. Good luck to you. By the way, I can't get that why Facebook not(or refuse?)  to provide a  for either iOS nor Android..

fixed in v0.2.0 just released


add integer cache

Hello!
maybe add integer cache like python?
json_t *json_integer(json_int_t value) {
    static json_integer_t the_integers[512] = {JSON_INTEGER, (size_t)-1, 0};
    if (value <= 256 && value >= -255) {
        json_integer_t *integer = the_integers + value + 255;
        integer->value = value;
        return (json_t *)integer;
    }
    json_integer_t *integer = jsonp_malloc(sizeof(json_integer_t));
    if (!integer)
        return NULL;
    json_init(&integer->json, JSON_INTEGER);

    integer->value = value;
    return &integer->json;
}

How could that be justified to have them being cached?
Could that be a dynamically sized so we get a smaller footprint if we don't work on negative domain?

How could that be justified to have them being cached?

I don't quite understand the question

Could that be a dynamically sized so we get a smaller footprint if we don't work on negative domain?

Maybe add define for min & max cache?
#ifndef JSON_INTEGER_CACHE_MIN
#define JSON_INTEGER_CACHE_MIN -255
#endif


Added Bangalore

I have added Bangalore. Please accept my PR.
Thank you.

@mohdfawad99 could you please check this out?

I am sorry I did not know how to attach it here in this message so I have created another pull request @mohdfawad99. Please do consider.
Thank you.


renew time session option from a browser not working anymore, just work from the app

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context

OS: [e.g. iOS]

Add any other context about the problem here.

I'm having issues with renewal as well, not sure if the same as OP, but I tried both setting up a IFTTT auto renewal webhook, to both the supplied address, and I even tried to pull the dev key using the terminal, but it won't renew.
Not even "renew session" in the app works, for some reason..

Could you please clarify a few things?

What's "renew by browser" and "renew from app"?
By not working, is the TV not getting the dev mode timer reset after you restart it?
Do you see developer mode countdown in dev-manager-desktop?

hi, im also having issues with renewal as well. im using IFTTT as shown in the desktop app but it does nothing.
If i go into the "https://developer.lge.com/secure/ResetDevModeSession.dev?sessionToken=MY TOKEN" website myself it does tell me:

{"result":"success","errorCode":"200","errorMsg":"GNL"}

But it wont change the clock in the "TV DEVMODE APP", nor the "dev manager desktop app".
I also noted that when i enter the "TV DEVMODE APP" and turn ON "Key Server" it wont stay like that after i close the app or restart the TV. However the "dev manager desktop app" does let me install apps and such. I dont know if these two things are related.
Is there a command line to see if the "sessionToken" is the same that the desktop app shows?
Please let me know if you need more info.

Although it's a bit confusing, I think the reset function is working properly. There are a few things to keep in mind, is that

The time displayed on the screen will only be updated after a clean boot (unplug the TV)
Key server is only needed when you add the device.

I don't think is a problem, but very worth adding as some hint in the app.

Capo837 described my exact situation in a much clearer way.

The time displayed on the screen will only be updated after a clean boot (unplug the TV)

Ooh, I thought only a reboot was necessary. That may explain it. I'll just have to wait 50 hours and see if I'm kicked out or not, then, I guess.

I'm having issues with renewal as well, not sure if the same as OP, but I tried both setting up a IFTTT auto renewal webhook, to both the supplied address, and I even tried to pull the dev key using the terminal, but it won't renew.
Not even "renew session" in the app works, for some reason..
EDIT: To clarify: The URL provided bby the "Automatic Developer Mode Renewal"-window uses a session token that is different from the string inside the "devmode_enabled" file in var/luna/preferences, neither strings did anything to update the devmode

I'm also having problems with auto renewal but i think it's because some changes from lg,
In my case token session is change after few days (maybe a week), so I need to check regularly token session and update it on IFTTT.
Maybe someone knows how to start and power off LG TV from ssh or another way (maybe some WOL)? I want to make script which checks token session but to do that TV must be turned on

Hi, the time remaining is supposed to be displayed correctly on the dev-manager-desktop. How about that?

For me the time remaining didnt update in the dev-manager-desktop, even if I pressed "Renew Session". Can't try now as I am not at home, but I can check again later today

So I'm using auto-renewal, via url and via bash script, in both cases it returns:
{"result": "success", "errorCode": "200", "errorMsg": "GNL"}

without directly updating the counter, instead if I refresh the info page, or enter and exit the info page the counter results updated. So it works in my opinion.
Of course it could be luck related to my firmware/webos version so I'll leave it all here:
dev.mngr ver: 1.19.10
Device - 55NAN0776PA
Firmware version: 03.34.55
webOS version: 6.3.2

I'm very sorry. I included a test token so the automatic renew indeed broken for a few versions. It will be fixed soon.


Content below post-grid sucked into grid

Anything below my blog tiles gets sucked into whatever width is left after the last tile. Is there a way to add content below the grid? Thanks.

You need to properly clear the teasers in the grid as they are they have float: left; set in the CSS.
Closed issue #54 is related and might point you in the right direction.

Thank you. It was as easy as adding

 between the grid and next section.


add when field support for config groups

when a field is required, but the group is excluded because of when: false, will the config still be usable? if a group is excluded but the config item has a previous value, what will or should we use in config template rendering?

I think we need to write up a design on making this change to ensure that we have proper tests in place to ensure that the change is backward compatible with existing installs of kots applications if a new group when is added on an update.


Remove references to ptx intrinsics from amdgcn flang

Said intrinsics don't exist on amdgcn. I intend to fix this by patching flang but won't necessarily get to it immediately.

I was mislead by a corrupted build failing some tests. This is not presently broken.
ompaccel.h refers to a number of functions by symbol name, e.g. nvvm.read.ptx.sreg.warpsize. These functions are presently available in the resurrected opencuda2gcn.
There's some suspicious code in said shim, e.g. nvvm.barrier0, nvvm.barrier1, llvm_amdgcn_s_barrier and nvvm.barrier all do the same thing.
I'm inclined to close this issue - the flang offload should refer to our functions instead of to wrappers in opencuda2gen - but the current indirection through aomp-extras is probably working as intended.


Big update for the service library - Version 0.2

Moved files to language specific subdirectories
Added unit tests
Added functionality described in issue #6, also tackles INI parsing issue described in #5
Added documentation (issue #4)

(closes #4, closes #5, closes #6)

Changed some things according to our code review today. Should be good for a merge now.

this looks great


configure symbol path

hi,  great wrapper.
i want to configure the symbol output to be in symbols/custom-name.svg and not in symbol/svg/sprite.symbol.svg
is this possible?
thanks.

figured it out ,sorry :)


Build manifest docker step fails intermittently

The circle build fails intermittently on the manifestDocker step. It passes after a rerun of the job.
This is a recent example of it failing https://app.circleci.com/pipelines/github/ConsenSys/web3signer/2570/workflows/8df031ae-8dc3-45bd-b77d-28a2bbac2512/jobs/8670

Reopen if it surfaces again.


Fix http: multiple response.WriteHeader calls in render.JSON

Fixes #193

thanks for the PR but I've fixed it with: f262230f5155fe761ddca49f01f78d8383bcb145


Drop down menus should activate arrow cursor and not text cursor

Is your feature request related to a problem? Please describe.
Drop down menus should activate arrow cursor or pointer cursor and not text cursor.
Describe the solution or feature you'd like
Drop down menus should activate arrow cursor and not text cursor
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
See below

Applies to Table Designer (e.g. when selecting data type), Query Editor (when navigating DB object dropdown).
Could be missing out on where else this is the case

wrong screenshot? this seems to be a dupe of https://github.com/microsoft/azuredatastudio/issues/20347

Yes, its a dupe of the screen shot, but intended as such. If you see the drop down icon, the cursor is showing as a text cursor, instead of an arrow cursor @alanrenmsft

closing as dupe of #20347


Tracker OSC Rotation not adding in video rotation during click-edit, off by video rotation

Apple Feedback Assistant ID: MISSING
DESCRIBE THE BUG:
When rotating a tracker with On Screen Controls, the rotation of the tracker (during a click-edit) is off by the rotation of the video.
The OSC rotation handle does not line up with the mouse and is un"rotated" by the video rotation amount.
This makes trackers difficult to manipulate on rotated videos.
TO REPRODUCE:
on any video, put a tracker on it.  Click the rotation OSC and rotate the tracker. It's fine.
Now rotate the video by 45 degrees or 90 degrees (CW or CCW, no matter).
With the rotated video, attempt to use the Tracker OSC to rotate...   It's off by the video rotation.  The rotation handle does not stay lined up with the mouse. MAJOR USER INTERFACE FAUX PAS.

EXPECTED BEHAVIOUR:
When rotating a tracker with OSC on a video that is rotated (eg 45 or 90, or etc), the Rotation handle should (itself) be also rotated by the video rotation.

  I'm really surprised by the THOROUGH regression testing that Apple didn't do with FCP.


[bug]: fee_limit_percent missing in SendPaymentV2

SendPayment has a FeeLimit field as part of the request that contains (fixed or fixed_msat) and (percent) values. SendPayment is also listed as depreciated and that SendPaymentV2 should be used instead. SendPaymentV2 does not have a FeeLimit field as part of the request, but instead has a fee_limit_sat or fee_limit_msat field and no fee_limit_percent.
I'm not sure why SendPayment is depreciated over SendPaymentV2 (I can't notice any meaningful differences) and I don't understand why the way fee limits are specified has changed, but we should still have the ability to specify the fee limit in terms of a percentage.

When implementing this, it might be a good idea to set a default value for fee_limit_percent to 1%. At the same time, set the default fee_limit_sat to 5 sat instead of 0sat. This will allow for reliably making small test payments as well as most payments without risk of too high of a fee.


Can't add hosts

Environment information

Rancher version (rancher-server/v1.6.17  rancher-agent/v1.2.10)
Installation option (single install):
Proxy on a laboratory network from esxi.

Cluster information

Cluster type (Custom):
Machine type (VM) (1 vCPU/ 1 vCore / 2GB RAM):
Kubernetes version (-bash: kubectl: command not found):

Docker version
Client:
 Version:       17.12.1-ce
 API version:   1.35
 Go version:    go1.9.4
 Git commit:    7390fc6
 Built: Tue Feb 27 22:10:31 2018
 OS/Arch:       linux/amd64

Server:
 Engine:
  Version:      17.12.1-ce
  API version:  1.35 (minimum version 1.12)
  Go version:   go1.9.4
  Git commit:   7390fc6
  Built:        Tue Feb 27 22:10:31 2018
  OS/Arch:      linux/amd64
  Experimental: false

Description
Hi, I've been trying to install a siem utility (SIEMonster) which contains a series of tools, including Rancher.
When adding a host this shows a correct output of the command, however in the docker logs it remains in a loop in the following error:
time="2019-05-03T07:56:20Z" level=info msg="Launching agent"
time="2019-05-03T07:56:20Z" level=info msg="Detecting cloud provider"
time="2019-05-03T07:56:20Z" level=info msg="Listening for events on http://<IP_ADDRESS>:8080/v1"
time="2019-05-03T07:56:20Z" level=info msg="launching hostapi"
time="2019-05-03T07:56:20Z" level=info msg="Starting event router."
time="2019-05-03T07:56:20Z" level=info msg="Host not registered yet. Sleeping 1 second and trying again." Attempt=0 reportedUuid=0e4f067c-3f32-489b-4f5e-dc9e5daa4c44
time="2019-05-03T07:56:20Z" level=info msg="Serialize compute requests: false, driver: overlay2"
time="2019-05-03T07:56:20Z" level=info msg="Initializing event router" workerCount=250
time="2019-05-03T07:56:20Z" level=info msg="Connection established"
time="2019-05-03T07:56:20Z" level=info msg="Starting websocket pings"
time="2019-05-03T07:56:21Z" level=info msg="Host not registered yet. Sleeping 1 second and trying again." Attempt=1 reportedUuid=0e4f067c-3f32-489b-4f5e-dc9e5daa4c44
time="2019-05-03T07:56:22Z" level=info msg="Host not registered yet. Sleeping 1 second and trying again." Attempt=2 reportedUuid=0e4f067c-3f32-489b-4f5e-dc9e5daa4c44
time="2019-05-03T07:56:23Z" level=info msg="Host not registered yet. Sleeping 1 second and trying again." Attempt=3 reportedUuid=0e4f067c-3f32-489b-4f5e-dc9e5daa4c44
time="2019-05-03T07:56:24Z" level=info msg="Host not registered yet. Sleeping 1 second and trying again." Attempt=4 reportedUuid=0e4f067c-3f32-489b-4f5e-dc9e5daa4c44
time="2019-05-03T07:56:25Z" level=info msg="Host not registered yet. Sleeping 1 second and trying again." Attempt=5 reportedUuid=0e4f067c-3f32-489b-4f5e-dc9e5daa4c44
time="2019-05-03T07:56:26Z" level=info msg="Host not registered yet. Sleeping 1 second and trying again." Attempt=6 reportedUuid=0e4f067c-3f32-489b-4f5e-dc9e5daa4c44
time="2019-05-03T07:56:27Z" level=info msg="Host not registered yet. Sleeping 1 second and trying again." Attempt=7 reportedUuid=0e4f067c-3f32-489b-4f5e-dc9e5daa4c44
time="2019-05-03T07:56:28Z" level=info msg="Host not registered yet. Sleeping 1 second and trying again." Attempt=8 reportedUuid=0e4f067c-3f32-489b-4f5e-dc9e5daa4c44
time="2019-05-03T07:56:29Z" level=info msg="Host not registered yet. Sleeping 1 second and trying again." Attempt=9 reportedUuid=0e4f067c-3f32-489b-4f5e-dc9e5daa4c44
time="2019-05-03T07:56:30Z" level=info msg="Host not registered yet. Sleeping 1 second and trying again." Attempt=10 reportedUuid=0e4f067c-3f32-489b-4f5e-dc9e5daa4c44
time="2019-05-03T07:56:31Z" level=info msg="Host not registered yet. Sleeping 1 second and trying again." Attempt=11 reportedUuid=0e4f067c-3f32-489b-4f5e-dc9e5daa4c44
time="2019-05-03T07:56:32Z" level=info msg="Host not registered yet. Sleeping 1 second and trying again." Attempt=12 reportedUuid=0e4f067c-3f32-489b-4f5e-dc9e5daa4c44
time="2019-05-03T07:56:33Z" level=info msg="Host not registered yet. Sleeping 1 second and trying again." Attempt=13 reportedUuid=0e4f067c-3f32-489b-4f5e-dc9e5daa4c44
time="2019-05-03T07:56:34Z" level=info msg="Host not registered yet. Sleeping 1 second and trying again." Attempt=14 reportedUuid=0e4f067c-3f32-489b-4f5e-dc9e5daa4c44

I have searched for many solutions but none of them manages to make it work and the host appears in the graphical interface. Would someone know what I could do?
The command that I used to aggregate the host to rancher is the next:
sudo docker run -e CATTLE_AGENT_IP="<IP_ADDRESS>"  -e CATTLE_HOST_LABELS='makara=1'  --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.2.10 http://<IP_ADDRESS>:8080/v1/scripts/F63F5CA7BE27B763C614:1546214400000:cZj9KAZ8lpbTFHqiPRo0JrWiLiw

same issue also happened to me after modifying IP address of host which have both server and agent configured on same node


Simple Log Path by Port using JSON

I'm helping a customer use Simple Log Path by Port but they want to ingest JSON data, not typical syslog. Please advise.
{“timestamp”: “2022-09-20 10:15:55.017290", “duration”: 30, “session_id”: “73e4b9f5-4ef3-488d-901e-bbbacd4d5ca1”, “source_ip”: “<IP_ADDRESS>”, “source_port”: 60564, “destination_ip”: “<IP_ADDRESS>", “destination_port”: 23, “protocol”: “telnet”, “num_auth_attempts”: 0, “auth_attempts”: [], “session_ended”: true, “auxiliary_data”: {}}

@gbecker-splunk,
Please refer this docs of Simple Log Path by Port. Source data must use RFC5424 or a common variant of RFC3164 formatting.

@gbecker-splunk,
We did not hear anything about this issue.
Closing this issue for now.
Feel free to reach out in case of any further queries.
Thank you.


Move date_part, date_trunc, date_bin functions to datafusion-functions

Which issue does this PR close?

Closes #9421
Rationale for this change
Function migration.
What changes are included in this PR?
Code, tests moved to new location, references updated.
Are these changes tested?
Yes.
Are there any user-facing changes?
Functions are moved to new location, otherwise none.

I have no idea why the tpch test would be failing. When I run tpch locally it's q1 that fails first. Any suggestions are welcome

blocked by #9450

I think, plan change comes from optimize_projections logical plan rule. where ScalarFunctionDefinition enum changes from ScalarFunctionDefinition::Builtin variant to ScalarFunctionDefinition::Name variant (to be resolved in physical planning). I think somehow this triggers the plan change. But I am not sure about the mechanism. Writing this in case, it is helpful.

I think, plan change comes from optimize_projections logical plan rule. where ScalarFunctionDefinition enum changes from ScalarFunctionDefinition::Builtin variant to ScalarFunctionDefinition::Name variant (to be resolved in physical planning). I think somehow this triggers the plan change. But I am not sure about the mechanism. Writing this in case, it is helpful.

I have dubugged this further. It seemed like a small fix. Hence I sent a commit to fix this change. With this change, I also added the test in my previous comment to make sure we have desired coverage.

I have dubugged this further. It seemed like a small fix. Hence I sent a commit to fix this change. With this change, I also added the test in my previous comment to make sure we have desired coverage.

Thank you very much for your assistance in resolving this issue in this PR - it's very much appreciated

Thanks @Omega359  -- I plan to review this one in the next day or two

I took the liberty of merging up from main to resolve conflicts (and then reapplied the changes from https://github.com/apache/arrow-datafusion/pull/9486 manually here)

And another merge to resolve conflicts

Thanks again @Omega359 and @mustafasrepo  -- sorry this one took so long to get in.


Cert Manager Helm Chart: Unnecessary RBAC permissions

Description
The bug is that the Deployment cert-manager-cainjector and Deployment cert-manager in the charts have too much RBAC permission than they need. The service account of cert-manager-cainjector is bound to a clusterrole (cainjector-rbac.yaml#L6) with the following permissions:

list verb of the secrets resource (ClusterRole)

And the service account of cert-manager is bound to several clusterroles (rbac.yaml) with the following permissions:

create/delete verb of the pods/services resource (ClusterRole)
delete verb of the ingresses resource (ClusterRole)
list verb of the secrets resource (ClusterRole)

After reading the source code of cert-manager v1.14.4, I didn't find any Kubernetes API usages using these permissions. Besides, some of these unused permissions may have potential risks. Since the service accounts of cert-manager-cainjector and cert-manager have have both "list secrets" and "get secrets" permissions, if a malicious user takes control of the Kubernetes worker node running these two Pods, they can list the names of all secrets. And with the name, they can get the details of all the secrets objects (as this is declared in the ClusterRole).
Therefore, these permissions should be rechecked to determine if they are truly unnecessary. If they are, the issue should be fixed by removing the unnecessary permissions or or other feasible methods.
Steps to reproduce the bug:
Use the helm chart with default values.

Could you re-check? At first sight, I think we use all those permissions.

Hey, here is a detail of where each permission is being used:

Pod
Type
Verb
Resource
Why?

cert-manager-cainjector
ClusterRole
list
secrets
cainjector needs to watch changes to Secrets to keep them up to date

cert-manager
ClusterRole
list
secrets
cert-manager needs to watch changes to Secrets to keep them up to date

cert-manager
ClusterRole
create, delete
pods, services
That's the HTTP-01 feature: https://cert-manager.io/docs/configuration/acme/http01/

cert-manager
ClusterRole
create, delete
ingress
That's for the ingress-shim feature: https://cert-manager.io/docs/usage/ingress/

We haven't found a way to drop the requirement on the "list secrets" clusterrole yet. It is needed because cert-manager needs to know when a secret changes to be able to reconcile it.
If we don't do this, it is possible that a user updates a Secret resource (e.g., removes the tls.key field) and cert-manager will not be aware of it. Does it make sense?
We could maybe drop the "list secrets" clusterrole by disabling the secret watcher... but we would still need "get secrets" for a few reasons. Among others, because cert-manager temporarily stores the private key in a temporary Secret, and cert-manager needs to be able to read that private key to sign the CSR.
I do agree that it would be worth re-assessing the usefulness of these "list secrets" and "get secrets".

Is it possible to limit these to namespaced Roles instead of ClusterRoles?


Paginate through repos and pull requests

It's possible to miss notifications if you have a lot of repos or a repo has a lot of pull requests. We should be paginating.

This is definitely an issue.


Two Nice Solution added; First, Select the best LLM, Second approach is collaborative.

First solution I design to get response from your favorite LLM and second is colloborative approach of two LLM added might be good specimen for the upcoming student to think about it even better and good approach to refine this approach I leave it from them

This is really high value - the multi-shot prompting is very clear, your treatment of the response is nice, and the collaborative approach is elegant and powerful. Really great stuff. Thank you so much.


servermaster, executor(engine): Changing interfaces to support executor labels and selectors

What problem does this PR solve?

Issue Number: ref #6270
What is changed and how it works?

Supports Labels field for RegisterExecutor.
Adds Labels field in executor's configuration file.
Refactors CreateWorker in BaseMaster to support scheduling workers by selectors and the inheritance of selectors.
Persists selectors of jobs in the database.

Check List
Tests

Unit test
Manual test

Questions
Will it cause performance regression or break compatibility?
No.
Do you need to update user documentation, design documentation or monitoring documentation?
No.
Release note
None.

Codecov Report

Merging #6845 (6d198f6) into master (7c5032c) will decrease coverage by 0.0957%.
The diff coverage is 46.8750%.

Flag
Coverage Δ

cdc
67.2667% <71.4285%> (-0.1102%)
:arrow_down:

dm
51.9659% <ø> (-0.0327%)
:arrow_down:

engine
62.5359% <43.8596%> (-0.0995%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #6845        +/-   ##
================================================
- Coverage   59.9224%   59.8267%   -0.0958%
================================================
  Files           783        786         +3
  Lines         89519      89328       -191
================================================
- Hits          53642      53442       -200
- Misses        31168      31187        +19
+ Partials       4709       4699        -10

/merge

/run-engine-integration-test

/hold

/run-engine-integration-test

/run-engine-integration-test

/unhold

/merge

please fix integration test:
[2022-09-07T05:33:26.559Z] {"code":3,"message":"proto: (line 7:13): invalid value for enum type: \"SelectorEq\"","details":[]}job_id: null

https://ci2.pingcap.net/blue/rest/organizations/jenkins/pipelines/engine_ghpr_integration_test/runs/319/nodes/88/steps/208/log/?start=0

/run-engine-integration-test

/merge


Incorrect type for ReadRequest keys parameter

Environment details

@google-cloud/spanner version: 4.8.0

Description
The typings of ReadRequest contain an incorrect type for the keys attribute. https://github.com/googleapis/nodejs-spanner/blob/c1098c5f4509918cacd3942b8f09354c88a85bb9/src/transaction.ts#L89 .
The current type is: string[] but the correct one should be string[]|string[][]
The docs also explicitly mention that arrays of arrays are allowed:

The primary keys of the rows in this table to be yielded. If using a composite key, provide an array within this array. See the example below.

@geekflyer  Thanks for catching it!


Save Configuration to Local Storage

When dealing with JSON Schemas and thus with jsonschema.net as a schema generator it would be really helpful if the general configuration ( Annotations > Infer Title, Infer Description, Infer Default, Infer Examples,...etc) could be saved somehow.
I for example never want these kind of information in my schema and I need to uncheck and correct the settings each time I visit the site for a new schema. :(

Duplicate of #4


Debounce file saving

We currently update Cloudflare R2 on every file save.
Implementing debouncing would reduce # of queries when a user frequently saves the same file.

@ishaan1013  - Have raised a PR for this, let me know if that looks good. Also, had noticed a couple of issues / observations that we could discuss that can be raised as separate issues:

I see that each key press gets sent to liveblocks so , we might need debouncing around that as well (unless thats a default unchangeable behavior of liveblocks itself)
Playing around with the editor and typing in it results in thousands of socket XHR requests , not sure if that is by design

After sometime I see these errors on the console

Also, one error I ran into while testing my change was if "undefined" is passed as the file content to the backend , it returns a rate limiter error as the catch all exception block just sends that by default which might be a little misleading as its not actually a rate limit issue

Also, Im not very well versed with CF but in about a day, looking at the metrics, it looks like we can optimize the number of requests to CF (other than the debouncing) as well?

Great points. In all honesty I didn't do a ton of testing and I noticed a few of the issues you mentioned, although not specifically to this extent. There's definitely a ton of room for optimization, so feel free to continue looking into it and keep me updated! I'd love to hear about your journey through this and help you out along the way.

@ishaan1013 yeah, will try looking at it sometime next week. Btw, does the pr look good to merge? Let me know if there is any issues with it


How to use flutter driver in add-to-app.

As the question mentioned in the title, I have an app that uses add-to-app, the native code and the dart code are separated, and now I want to perform the driver test, but I don't know how to perform the performance test. I want to get the performance data of the first rendering through driver test for use sksl warmup 。
I want to get the following data ,but flutter drive --target=XXX --profile is not available for me.
ex:  {average_frame_build_time_millis: 1.2139090909090908, 90th_percentile_frame_build_time_millis: 1.847, 99th_percentile_frame_build_time_millis: 2.348, worst_frame_build_time_millis: 2.348, missed_frame_build_budget_count: 0, average_frame_rasterizer_time_millis: 8.13509090909091, 90th_percentile_frame_rasterizer_time_millis: 19.456, 99th_percentile_frame_rasterizer_time_millis: 31.914, worst_frame_rasterizer_time_millis: 31.914, missed_frame_rasterizer_budget_count: 2, frame_count: 11, frame_rasterizer_count: 11, frame_build_times: [2348, 1109, 574, 545, 680, 1599, 1250, 1847, 1081, 1078, 1242], frame_rasterizer_times: [3635, 31914, 12595, 1118, 19456, 3524, 4655, 2302, 2932, 3398, 3957], frame_begin_times: [0, 20320, 40483, 59851, 79985, 100183, 120154, 140608, 160738, 181010, 201040], frame_rasterizer_begin_times: [0, 19364, 51335, 63970, 78578, 99687, 119190, 140364, 159680, 179967, 200346], average_vsync_transitions_missed: 1.0, 90th_percentile_vsync_transitions_missed: 1.0, 99th_percentile_vsync_transitions_missed: 1.0}

@Super-Crab

integration_test package is now preferred over flutter_driver. See this for reference and this as a guideline.

With method channel, you can find these StackOverflow topics for more details:
https://stackoverflow.com/questions/63353885/how-to-test-method-channel-that-call-from-native-to-flutter
https://stackoverflow.com/questions/52028969/testing-flutter-code-that-uses-a-plugin-and-platform-channel

Also, check these duplicated issues #63465, #34345, #36259

So, I close this issue as a duplicate, please follow up on above issues for further updates.

@Super-Crab

I want to get the following data ,but flutter drive --target=XXX --profile is not available for me.

Could you describe what did you try? Why is it not available?
Also, there is a guideline here that introduces [Performance profiling] that may help you.
For add-to-app testing, find there opening issues for further updates:
https://github.com/flutter/flutter/issues/63465,
https://github.com/flutter/flutter/issues/34345,
https://github.com/flutter/flutter/issues/36259

@huycozy flutter drive --target=XXX --profile need build android apk,but in my programs,the native code and the dart code are separated

@huycozy i have some other questions about  shader compilation jank，Does this only work for animations?

@Super-Crab
I found some answers that you can try:

https://github.com/flutter/flutter/issues/67192#issuecomment-710700465
https://docs.flutter.dev/perf/shader#how-to-use-sksl-warmupflutter drive --profile --cache-sksl --write-sksl-on-exit flutter_01.sksl.json -t test_driver/app.dart

Also, I see there are some open issues addressing the case you described #81919, #88874
Please read them and confirm that those are the similar issues you are looking for?


fix(sbb-skiplink-list): detect links which were added after connected

Closes #1887

Codecov Report

Merging #1886 (42b5a0e) into master (ab917b0) will decrease coverage by 17.23%.
The diff coverage is 31.20%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##           master    #1886       +/-   ##
===========================================
- Coverage   54.85%   37.62%   -17.23%
===========================================
  Files          49      268      +219
  Lines        1659     9656     +7997
  Branches      406     2096     +1690
===========================================
+ Hits          910     3633     +2723
- Misses        671     5791     +5120
- Partials       78      232      +154

Impacted Files
Coverage Δ

...ts/sbb-accordion-item/sbb-accordion-item.events.ts
100.00% <ø> (ø)

.../sbb-accordion-item/sbb-accordion-item.stories.tsx
0.00% <0.00%> (ø)

...mponents/sbb-accordion-item/sbb-accordion-item.tsx
0.00% <0.00%> (-37.21%)
:arrow_down:

...components/sbb-accordion/sbb-accordion.stories.tsx
0.00% <0.00%> (ø)

...ents/sbb-action-group/sbb-action-group.stories.tsx
0.00% <0.00%> (ø)

...onents/sbb-alert-group/sbb-alert-group.stories.tsx
0.00% <0.00%> (ø)

src/components/sbb-alert/sbb-alert.stories.tsx
0.00% <0.00%> (ø)

...onents/sbb-autocomplete/sbb-autocomplete.events.ts
100.00% <ø> (ø)

...ents/sbb-autocomplete/sbb-autocomplete.stories.tsx
0.00% <0.00%> (ø)

...-breadcrumb-group/sbb-breadcrumb-group.stories.tsx
0.00% <0.00%> (ø)

... and 57 more

... and 216 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Support passing in a ThreadFactory to Aeron.start()

Or setting in on Aeron.context().  This will allow users to have a bit more control over the thread that is created, e.g. the ability to set the thread into daemon mode and custom naming.

We did an Executor version early on and dropped it (both client and driver). But ThreadFactory might be more appropriate. Also, we have more experience now.

Where does the responsibility for starting the thread or calling run() exist in this approach?

In the same place, check out pull requests #261 and real-logic/Agrona#68.


Normalize Fenrirthviti.obs-virtual-cam 2.0.5

null
Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-No-Executables


sync up with origin

surely there arent that many merge conflicts
Clueless

nah fuckkkkk this

wait this is on the wrong repo FUCK SORRY LMAOOOOOOO

the battle that ended in 8 minutes

lmao

i was really confused at why we were trying to upstream a console-based version of mdp lol

printf("\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t}");


How do you set the port?

When I try the command  firebase serve --only firestore --port 5001 it still runs on port 8080. Is there a way to configure the port?
EDIT:
Went through the firebase-tools repo and found this constants file. I guess this means we can't assign the port for the firestore emulator atm?
https://github.com/firebase/firebase-tools/blob/master/src/emulator/constants.js#L25

@wichopy thanks for the feedback.  You're right that currently the --port argument only applies to the Hosting development server.  Now that there are three local servers (Firestore, Functions, and Hosting) we clearly need to find a better way to pass in these arguments without conflicts.
My vote is to put them in firebase.json but I will let @ryanpbrewster chime in.

I have an PR open to add a --firestore-port flag for this purpose. Until that goes in, the only way to set the port is to directly execute the emulator JAR. By default it's installed to $HOME/.cache/firebase/emulators/, and it accepts a --port flag

Thanks @ryanpbrewster that will be a good work around for now.

This is now possible via firebase emulators:start --only firestore, which reads the port from firebase.json. The javascript-quickstart has an example of how to do this.
Be aware that you may have to modify some of your code if you change the port from the default of 8080. Setting FIRESTORE_EMULATOR_HOST should also work.


export default class with ES6 and commonjs doesn't work

TypeScript version: 1.7.5
For example:
hoge.ts
export default class Hoge {}

fuga.ts
import Hoge from "./hoge"
new Hoge();

tsc hoge.ts fuga.ts -t es6 -m commonjs
compile result:
hoge.js
class Hoge {
}
exports.Hoge = Hoge;

fuga.js
var hoge_1 = require("./hoge");
new hoge_1.default();

Compiled code doesn't work because require("./hoge") returns { Hoge: Hoge } and hoge_1.default is undefined.

In typescript 1.8, this code works fine.

I was just about to submit this.
I noticed functions work correctly:
export default function foo() {}

function foo() { }
exports.default = foo;

But classes do not:
export default class Foo {}

class Foo {
}
exports.Foo = Foo;

I think this is a duplicate of #6450 / #5844. It's fixed in v1.8beta.


Lack of  accounts_counter inc/dec

accounts_counter indicates the amount of registered account: https://github.com/aurora-is-near/aurora-eth-connector/blob/master/eth-connector/src/lib.rs#L59
It is incremented only in register_if_nor_exists function: https://github.com/aurora-is-near/aurora-eth-connector/blob/master/eth-connector/src/lib.rs#L97
But if we register new account by calling storage_deposit the account_counter will not be incremented: https://docs.rs/near-contract-standards/latest/src/near_contract_standards/fungible_token/storage_impl.rs.html#45
Also, it will not be decremented if we call storage_unregister.

Refactored at #56


1.0 ready and cross build ready

This breaks for current 0.30.3.
Also, maybe it is not necessary anymore? Might be done with conan new?


why use PREFIX  with create ?

FT.CREATE idx ON HASH PREFIX 1 blog:post: SCHEMA，PREFIX ？ how to use it create?

Hello,
You have 2 ways to set prefix(es), with the IndexBuilder, or with the Create command.
IndexBuilder
/** @var \MacFJA\RediSearch\Redis\Client $client */
$builder = (new \MacFJA\RediSearch\IndexBuilder())
    ->setIndex('idx')
    ->setPrefixes(['blog:post:']) // Setter take an array
    ->addTextField('title')
    ->addTextField('body');
$builder->create($client);

/** @var \MacFJA\RediSearch\Redis\Client $client */
$builder = (new \MacFJA\RediSearch\IndexBuilder())
    ->setIndex('idx')
    ->addPrefixes('blog:post:') // "Adder" take one or more arguments as prefixes
    ->addTextField('title')
    ->addTextField('body');
$builder->create($client);

Create
/** @var \MacFJA\RediSearch\Redis\Client $client */
$create = (new \MacFJA\RediSearch\Redis\Command\Create())
   ->setIndex('idx')
   ->setPrefixes('blog:post:')
   ->addTextField('title')
   ->addTextField('body');
$client->execute($create);

I hope that answer your question.

thanks,I will. But I need more operations, such as CRUD. or detailed function description

This library is a "low-level" implementation.
It reflect operation from RediSearch as close as possible.
If you want more high level I can suggest macfja/redisearch-integration (git).
This lib can offer method like persist (C and U of CRUD), remove (D of CRUD) and easier way to create a search (R of CRUD) on PHP object/class directly

But with only this library
C and U of CRUD
\MacFJA\RediSearch\Index::addDocumentFromArray will be the function to use
R of CRUD
\MacFJA\RediSearch\Redis\Command\Search will be the object to create and use with a Client
D of CRUD
You will need to use other command or use \MacFJA\RediSearch\Redis\Client::executeRaw ($myClient->executeRaw('DEL', 'document_hash');)


chore: satisfy PEP-561

As https://peps.python.org/pep-0561/#packaging-type-information states,
packages need to opt into type checking by providing a py.typed marker
file. This allows type-checkers like mypy to check our types and allows
type-aware auto-complete during development.
This will be nice both for fal SDK developers and fal SDK users.
Signed-off-by: Lucas Servén Marín<EMAIL_ADDRESS>

ahh, all of the overloads?


Alter the RJSFB library to allow the setting of ui:placeholder elements

@cnxumalo waiting for this PR to advance from “draft” to “ready for review” before proceeding


Reduce aggregate size of DB connection pools (#2635)

Related Issue or Background Info

Originally sourced from #2181. In short, we are seeing potentially inflated application latency and resource consumption due to a large amount of unrelinquished connections within our postgres and Metabase pools. We'd like to better manage those numbers, if possible.

Changes Proposed

Update TF environments to include a new SPRING_DATASOURCE_HIKARI_MAXIMUM-POOL-SIZE variable, limiting connections to 10.
Add variable for MB_APPLICATION_DB_MAX_CONNECTION_POOL_SIZE to limit Metabase connections to 4.
Add variable for MB_JDBC_DATA_WAREHOUSE_MAX_CONNECTION_POOL_SIZE to limit Metabase JDBC connections to 10.

Additional Information
N/A.
Screenshots / Demos
N/A.
Checklist for Author and Reviewer
UI

[x] Any changes to the UI/UX are approved by design
[x] Any new or updated content (e.g. error messages) are approved by design

Testing

[ ] Application respects postgres connection limits in each environment
[ ] Application respects Metabase connection limits in each environment

Changes are Backwards Compatible

[x] Database changes are submitted as a separate PR

[x] Any new tables that do not contain PII are accompanied by a GRANT SELECT to the no-PHI user
[x] Any changes to tables that have custom no-PHI views are accompanied by changes to those views
(including re-granting permission to the no-PHI user if need be)
[x] Liquibase rollback has been tested locally using ./gradlew liquibaseRollbackSQL or liquibaseRollback
[x] Each new changeset has a corresponding tag

[x] GraphQL schema changes are backward compatible with older version of the front-end

Security

[x] Changes with security implications have been approved by a security engineer (changes to  authentication, encryption, handling of PII, etc.)
[x] Any dependencies introduced have been vetted and discussed

Cloud

[x] DevOps team has been notified if PR requires ops support
[ ] If there are changes that cannot be tested locally, this has been deployed to our Azure test, dev, or pentest environment for verification

After speaking with @jdorothy, I'm going to change my approach on this. I'm closing this PR, and will open a fresh one later today.


fix: change build tasks in order to use pnpm link correctly

Description
This pull request intends to change our environment in order to be able to use pnpm link correctly.
After talking with @luizstacio we tried to keep the direct import in all package.json by using the publishConfig, but we checked that if you link some package to the global pnpm store, it'll keep the same package.json that uses the main field pointing to the Typescript file. This is bad if you trying to use the linked package with some bundler, because the bundler won't handle loaders to bundle outside the package directory, and by consuming index.ts file this is needed.
So, we change to instead of consuming direct inside our monorepo, we need to build/watch and have all package.json field pointing to the same publish config. It's an annoying trade-off, but by now is the only way to work.
I'll open an issue on PNPM repository in order to check if is possible to run this scenário.
Main Changes

Now for work inside our monorepo, we need to run in the root directory:

$ pnpm build:watch

This is specified in our README as well.

This enables us to use pnpm link that is similar to npm link used today.


Add Stryker4s to measure test performance with Mutators

Add Stryker4s to measure test performance with Mutators
Describe your change:
Add Stryker4s to measure test performance with Mutators.
This include adding Make tasks, one code change to walk around some JVM limitations, and adding the badge to the README.
The badge is not connected to anything at the moment as the platform: https://stryker-mutator.io/ is not accepting Scala result at the moment. Dashboard.
Checklist - Check boxes in the PR UI, not by editing the text
Pull Request

[x] PR description is meaningful.
[x] There are no more than a few commits to merge.
[x] There are no more than a few lines of code to review.

Code style

[x] Maximum line length does not require scrolling in Github
[x] FMT and ScalaStyle and ScalaFix are good

Testing

[x] Unit tests for the added/modified code
[x] Overall unit test coverage good
[x] Unit tests are passing

Dependencies

[ ] The plugin is added to itself
[ ] The latest version is added to itself
[x] New dependencies do not have vulnerabilities

Security

[x] There is no known vulnerability being added to this project
[ ] Everything on this list is checked

Coverage remained the same at 50.758% when pulling 11f1b000006868cfac95b0efc1a66a23e63f6f58 on lbenkel/stryker_mutator into 04fe6ec6d35519665bc5dc147a98db6da226e014 on master.


RTX 3080 Convolution Error

How to replicate:

Install Anaconda
Execute the following command:
conda env create --name fed_jax --file=environment.yml

with environment.yml :
channels:
  - conda-forge
  - defaults
dependencies:
  - _libgcc_mutex=0.1=conda_forge
  - _openmp_mutex=4.5=1_gnu
  - ca-certificates=2021.5.30=ha878542_0
  - cudatoolkit=11.2.2=he111cf0_8
  - cudatoolkit-dev=11.4.0=py39h3811e60_1
  - cudnn=<IP_ADDRESS>=h86fa8c9_0
  - ld_impl_linux-64=2.36.1=hea4e1c9_2
  - libffi=3.4.2=h9c3ff4c_1
  - libgcc-ng=11.2.0=h1d223b6_8
  - libgomp=11.2.0=h1d223b6_8
  - libstdcxx-ng=11.2.0=he4da1e4_8
  - ncurses=6.2=h58526e2_4
  - openssl=1.1.1l=h7f98852_0
  - pip=21.2.4=pyhd8ed1ab_0
  - python=3.9.7=hb7a2778_1_cpython
  - python_abi=3.9=2_cp39
  - readline=8.1=h46c0cb4_0
  - setuptools=58.0.4=py39hf3d152e_0
  - sqlite=3.36.0=h9cd32fc_1
  - tk=8.6.11=h27826a3_1
  - tzdata=2021a=he74cb21_1
  - wheel=0.37.0=pyhd8ed1ab_1
  - xz=5.2.5=h516909a_1
  - zlib=1.2.11=h516909a_1010
  - pip:
    - absl-py==0.13.0
    - chex==0.0.8
    - cloudpickle==2.0.0
    - cycler==0.10.0
    - decorator==5.1.0
    - dm-tree==0.1.6
    - flatbuffers==2.0
    - flax==0.3.4
    - gast==0.5.2
    - jax==0.2.20
    - joblib==1.0.1
    - kiwisolver==1.3.2
    - matplotlib==3.4.3
    - msgpack==1.0.2
    - numpy==1.21.2
    - opt-einsum==3.3.0
    - optax==0.0.9
    - pillow==8.3.2
    - pyparsing==2.4.7
    - python-dateutil==2.8.2
    - scikit-learn==0.24.2
    - scipy==1.7.1
    - six==1.16.0
    - tensorflow-probability==0.14.0
    - threadpoolctl==2.2.0
    - toolz==0.11.1
    - torch==1.9.0
    - torchvision==0.10.0
    - tqdm==4.62.2
    - typing-extensions==<IP_ADDRESS>

Install JAX with GPU support inside the environment:

conda activate fed_jax
pip install --upgrade "jax[cuda111]" -f https://storage.googleapis.com/jax-releases/jax_releases.html

Execute the following code:

from jax import numpy as jnp, random, lax

key = random.PRNGKey(1701)

kernel = jnp.zeros((3, 3, 3, 3))
kernel += jnp.array([[1, 1, 0],
                     [1, 0,-1],
                     [0,-1,1]])[:, :, jnp.newaxis, jnp.newaxis]

img = jnp.zeros((1, 200, 198, 3))

for k in range(3):
    x = 30 + 60 * k
    y = 20 + 60 * k
    img = img.at[0, x:x+10, y:y+10, k].set(1)

out = lax.conv(jnp.transpose(img, [0,3,1,2]),
               jnp.transpose(kernel, [3,2,0,1]),
               (1, 1),
               'SAME')

Issue:
The code works on GeForce RTX 2080 Ti but doesn't on GeForce RTX 3080. Both machines have the NVIDIA driver 460.91.03. On the 3080 the following error occurs:
2021-09-17 21:24:19.912296: W external/org_tensorflow/tensorflow/compiler/xla/service/gpu/gpu_conv_algorithm_picker.cc:711] Failed to determine best cudnn convolution algorithm: INTERNAL: All algorithms tried for %custom-call = (f32[1,3,200,198]{3,2,1,0}, u8[0]{0}) custom-call(f32[1,3,200,198]{3,2,1,0} %parameter.1, f32[3,3,3,3]{3,2,1,0} %parameter.2), window={size=3x3 pad=1_1x1_1}, dim_labels=bf01_oi01->bf01, custom_call_target="__cudnn$convForward", metadata={op_type="conv_general_dilated" op_name="conv_general_dilated[ batch_group_count=1\n                      dimension_numbers=ConvDimensionNumbers(lhs_spec=(0, 1, 2, 3), rhs_spec=(0, 1, 2, 3), out_spec=(0, 1, 2, 3))\n                      feature_group_count=1\n                      lhs_dilation=(1, 1)\n                      lhs_shape=(1, 3, 200, 198)\n                      padding=((1, 1), (1, 1))\n                      precision=None\n                      preferred_element_type=None\n                      rhs_dilation=(1, 1)\n                      rhs_shape=(3, 3, 3, 3)\n                      window_strides=(1, 1) ]"}, backend_config="{\"algorithm\":\"0\",\"tensor_ops_enabled\":false,\"conv_result_scale\":1,\"activation_mode\":\"0\",\"side_input_scale\":0}" failed. Falling back to default algorithm.

Convolution performance may be suboptimal.
2021-09-17 21:24:19.915951: E external/org_tensorflow/tensorflow/compiler/xla/pjrt/pjrt_stream_executor_client.cc:2085] Execution of replica 0 failed: UNKNOWN: CUDNN_STATUS_EXECUTION_FAILED
in external/org_tensorflow/tensorflow/stream_executor/cuda/cuda_dnn.cc(4004): 'cudnnConvolutionForward( cudnn.handle(), alpha, input_nd.handle(), input_data.opaque(), filter_nd.handle(), filter_data.opaque(), conv.handle(), ToConvForwardAlgo(algorithm_desc), scratch_memory.opaque(), scratch_memory.size(), beta, output_nd.handle(), output_data.opaque())'
Traceback (most recent call last):
  File "/home/dimitadi/hdd1/federated_mislav/federated-grad/sth.py", line 20, in <module>
    out = lax.conv(jnp.transpose(img, [0,3,1,2]),
  File "/home/dimitadi/miniconda3/envs/fed_jax/lib/python3.9/site-packages/jax/_src/lax/lax.py", line 1723, in conv
    return conv_general_dilated(lhs, rhs, window_strides, padding,
  File "/home/dimitadi/miniconda3/envs/fed_jax/lib/python3.9/site-packages/jax/_src/lax/lax.py", line 629, in conv_general_dilated
    return conv_general_dilated_p.bind(
  File "/home/dimitadi/miniconda3/envs/fed_jax/lib/python3.9/site-packages/jax/core.py", line 267, in bind
    out = top_trace.process_primitive(self, tracers, params)
  File "/home/dimitadi/miniconda3/envs/fed_jax/lib/python3.9/site-packages/jax/core.py", line 612, in process_primitive
    return primitive.impl(*tracers, **params)
  File "/home/dimitadi/miniconda3/envs/fed_jax/lib/python3.9/site-packages/jax/interpreters/xla.py", line 275, in apply_primitive
    return compiled_fun(*args)
  File "/home/dimitadi/miniconda3/envs/fed_jax/lib/python3.9/site-packages/jax/interpreters/xla.py", line 391, in _execute_compiled_primitive
    out_bufs = compiled.execute(input_bufs)
RuntimeError: UNKNOWN: CUDNN_STATUS_EXECUTION_FAILED
in external/org_tensorflow/tensorflow/stream_executor/cuda/cuda_dnn.cc(4004): 'cudnnConvolutionForward( cudnn.handle(), alpha, input_nd.handle(), input_data.opaque(), filter_nd.handle(), filter_data.opaque(), conv.handle(), ToConvForwardAlgo(algorithm_desc), scratch_memory.opaque(), scratch_memory.size(), beta, output_nd.handle(), output_data.opaque())'

I know similar issues have been reported before but given that the exact same environment works on one GPU and doesn't on the other and the fact that pytorch had to implement updates to support 30xx graphic cards series specifically, I assume it is a 3080 specific problem. Can you take a look?
Additional info:
I tried all kinda of combinations of drivers and cuDNN versions and the problem is not resolved

Im getting the same error message, did you have an success fixing the bug?

See https://github.com/google/jax/issues/8506#issuecomment-971916446
Possibly 3080 specific bug

This is likely already fixed in the latest jaxlib 0.1.74. Could you upgrade jaxlib and try again?

I can confirm Jax is now working on my 3080

That's awesome! Happy to hear that.


Potential position embedding issue in decoders.

Currently there is a potential issue in some decoders(e.g. AttentionRNNDecoder) which support position embedder.
In eval mode, given max_decoding_length, the dynamic_decode will stop at time==max_decoding_length - 1, while decoder helper may pass time = time + 1 to its position embedder. Since position_size of the position embedder  is usually equal to max_decoding_length, inputing time==max_decoding_length will cause index out of range error on position embedder.
Suggested by @huzecong , we could fix this for all decoders by adding a check in the embedding function.

A better way to deal with this might be: split decoder.step into two methods, one for computing next_state and output, another for computing the next input. This way we can perform a check in dynamic_decode, without requiring all decoder classes to check for themselves.

Does TransformerDecoder have such issue?
Does Texar-TF have such issue? @TomNong can you double-check?
Performing the check in dynamic_decode is good. We can refactor the decoder a bit (though I don't know the full details of your suggestion)

@ZhitingHu For TransformerDecoder it does not have such issue.
For texar-TF, this issue is related with https://github.com/asyml/texar/issues/199, actually we used reach_max_time to avoid this issue.
The check in dynamic_decode seems to solve this issue, but it needs dynamic_decode to stop when time + 1 == max_decoding_length, that will cause error in beam search.


[feature-request] supporting indefinite length?

I tried to set it using:
.duration(Snackbar.LENGTH_INDEFINITE)
this does not work
Any ideas as to how I can set indefinite length?

This is not supported right now, I'll take it in mind for future releases


Jinja2 Templates should run when combinations/wildcards are no longer in the prompt

(using the latest version as of 07-Mar-23 19:00 GMT, v:1596f556)
Given this prompt:
{blue|red}

{% if "red" in prompt.prompt %}
    flower
{% else %}
    rose
{% endif %}

With Jinja2 activated (edit: and 'ignore whitespace'), the resulting prompt should be either blue rose or red flower.
Current behaviour: if "red" in prompt.prompt always returns true and so the prompt will always have 'flower' and never 'rose'.
Please dismiss this issue if this is actually intentional - it doesn't make sense to me but that's just my personal opinion.

That's expected behaviour. Why not rather use something like this instead
{% if choice('red', 'blue') == 'red' %}
    flower
{% else %}
    rose
{% endif %}


Error in DiffusionTransformer residual connection

https://github.com/lucidrains/alphafold3-pytorch/blob/d5616fafb5542c77260c3c2f9ec61bf97dbd50a8/alphafold3_pytorch/alphafold3.py#L1679-L1680
I think I found an error in your code: it should be noised_repr = ff_out + attn_out + residual.
Also, I really agree with your comment that there is an error in the AF3 pseudocode (Algorithm 23).

@Buddha7771 oops, yes, thank you!
and yea, i think serial is the way to go


Cleanup in C# generated code

Removes the "serviceName" argument from ServerServiceDefinition.CreateBuilder. (api breakage, but only in generated code, so regenerating fixes the problem).
Fixes  https://github.com/grpc/grpc/issues/6581.
Removes deprecated interface for client side and server-side stubs.
Fixes https://github.com/grpc/grpc/issues/6582.

Given that this is a breaking API change, can you update examples/csharp as well?

I marked this PR as "doc update needed". We usually update the examples once the change is actually released, because otherwise the example would be broken for people until the release happens.

lgtm

green here: https://grpc-testing.appspot.com/job/gRPC_pull_requests/9577/


Run one test case of a google test

Brief Issue Summary
How can I run just one single test case inside a google test without having a launch.json passing --gtest_filter?
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response

Select the test in the test explorer and click on the triangle? Doesn't that work for you. You should also see such triangles in the code editor and right clicking should display a context menu related to the tests.

Select the test in the test explorer and click on the triangle? Doesn't that work for you. You should also see such triangles in the code editor and right clicking should display a context menu related to the tests.
Have you installed the extension C++ Test mate which you need for gtest support?

So vscode-cmake-tools is not sufficient to run gtest? I tried c++ test mate, but still cannot run individual test cases (TEST and TEST_F).

Select the test in the test explorer and click on the triangle? Doesn't that work for you. You should also see such triangles in the code editor and right clicking should display a context menu related to the tests.
Have you installed the extension C++ Test mate which you need for gtest support?

So vscode-cmake-tools is not sufficient to run gtest? I tried c++ test mate, but still cannot run individual test cases (TEST and TEST_F).

This extension is about CMake. For tests support you need another extension. C++ Test mate is the extension for C++.
If I undestand your problem correctly, here I have run a single test:

These are my tests:

Hi @infn-ke let us know if you still need more guidance. Until then I will mark this as 'more information needed'. Also thank you for your help @H-G-Hristov!

Thanks for the help on this @H-G-Hristov ! I can get the same results by installing the same extension you said.


[DOCFIX] Fix transformation cn disunity definition

Can one of the admins verify this patch?

alluxio-bot, merge this please


Item with floating label error

I have gone through these following points

[x] Check latest documentation: https://docs.nativebase.io/
[x] Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
[x] Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
[x] Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
[x] For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
[x] For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/

Issue Description
There are two issues actually, related to one another.
First of all, whenever I try to use Icon inside an Item with floatingLabel to true with Icon as the first child of Item I get an exception.
Because of that I have to move Icon after Label (second child). I do not get an exception, but Icon is rendered at the right side of the Item. Which I don't want, that's why I placed Icon as first child in from the beginning.
node, npm, react-native, react and native-base version, expo version if used, xcode version
node: 12.22.1
npm: 6.11.3
react-native: 0.61.2
react: 16.10.2
native-base: 2.13.8
Expected behaviour
Icon element should render at the left side (the same order as declared in JSX)
Actual behaviour
When declared as first child, exception is throwed: TypeError: Cannot read property 'props' of undefined
When moved between Label and Input, it's rendered in the right side.
Steps to reproduce
 <Item
floatingLabel
{...someOtherProps}
>
            <Icon
              active
              name={icon}
              type="FontAwesome5"
              style={textStyle}
            />
            <Label>{value.label}</Label>
            <Input {...someProps}/>
          </Item>

Is the bug present in both iOS and Android or in any one of them?
Android (iOS not tested)
Any other additional info which would help us debug the issue quicker.
###Important
If you want your issue to be looked at quicker, attach a snack reproducible with your issue. Makes it easier for us!

Hi @JaEdmuva , It has been fixed. Please update to latest native-base v2.13.14 . Let us know if the issue still persists.


Elegoo Mars 4 Ultra upload

File successfully transfered, but threw an exception:
PS P:\Documents\3d Printing\To Print> python C:\working\cassini-main\cassini.py upload 93762_147278_699119_char_mm.goo
13:47:57,454 INFO: Printer: Mars 4 Ultra (ELEGOO Mars 4 Ultra) (Redacted)
93762_147278_699119_char_mm.goo |████████████████████████████████████████| 100% [119561469/119561469] (4470118.45/s)
Exception ignored in: <function StreamWriter.del at 0x00000196B27B5080>
Traceback (most recent call last):
File "C:\Program Files\Python311\Lib\asyncio\streams.py", line 396, in del
self.close()
File "C:\Program Files\Python311\Lib\asyncio\streams.py", line 344, in close
return self._transport.close()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\asyncio\proactor_events.py", line 109, in close
self._loop.call_soon(self._call_connection_lost, None)
File "C:\Program Files\Python311\Lib\asyncio\base_events.py", line 761, in call_soon
self._check_closed()
File "C:\Program Files\Python311\Lib\asyncio\base_events.py", line 519, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

Odd, it might be that the printer itself force closes the network connection and it did so before the host/sending side did. I'll add something to suppress exceptions if the data was transmitted properly.


Tmodloader crashing on "finding mods"

Whenever i try to open Terraria "tmodloader version" it just sais Terraria: (Not Responding) Then it boots up a debug and i press close program. Can someone help me please?

You can first try 2 things: hold left shift when the game starts loading
or go to your documents My Games/Terraria/ModLoader/Mods and remove the enabled.json file.
Let us know

what does left shift do?
On Mon, Jul 9, 2018 at 7:02 AM, Jofairden<EMAIL_ADDRESS>wrote:

You can first try 2 things: hold left shift when the game starts loading
or go to your documents My Games/Terraria/ModLoader/Mods and remove the
enabled.json file.
Let us know
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/blushiemagic/tModLoader/issues/376#issuecomment-403441601,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Am5fzLlK3IxlBp_9z5o1R590zVuLoWu7ks5uEzgrgaJpZM4VAcam
.

Sorry for the late reply, left shift makes the game not load your mods. This allows bypassing the loading screen.

When i load terraria up and hold left shift everything is fine, but when i
go into a world it crashes.
Help?
On Mon, Oct 1, 2018 at 2:31 AM Jofairden<EMAIL_ADDRESS>wrote:

Sorry for the late reply, left shift makes the game not load your mods.
This allows bypassing the loading screen.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/blushiemagic/tModLoader/issues/376#issuecomment-425802570,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Am5fzKga2EHWnBe49IZxbCtwuDkEcOE4ks5ugbbGgaJpZM4VAcam
.

How does it crash? Do you get an error? Does it just freeze? Does it also happen with other worlds?

Like when i load into the game, it freezes then showed the error file. This
also happens with other worlds.
On Sun, Oct 14, 2018 at 6:59 AM Jofairden<EMAIL_ADDRESS>wrote:

How does it crash? Do you get an error? Does it just freeze? Does it also
happen with other worlds?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/blushiemagic/tModLoader/issues/376#issuecomment-429616993,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Am5fzLKOBMTRHFtpZYrsp7Sxgbiorffmks5ukxj2gaJpZM4VAcam
.

Okay, but can you show the error?


Have SVG be hidden initially?

First off, really like this library - awesome work. Just having a minor issue, and I'm not sure quite how to get around it. I've noticed that the svg i'm animating appears fully drawn initially, then disappears, then animates in. Ideally, I'd like it to be hidden initially and then animate in. I feel like I must be missing something simple...
I created a fiddle that sort of shows what I'm talking about:
https://jsfiddle.net/7971fakx/
(Although in that fiddle it goes quite fast, so the issue is slightly less noticeable....)

Hiya!
Thanks for the kind words :)
For inline SVGs a glitch can happen because the SVG is displayed between
the page rendering and the code execution that hide it. So the only way is
to hide it by default, then ask Vivus to make it visible once ready. You
can use 'onReady' (cf jsFiddle fork below) or set the visibility to the
element just after creating the Vivus instance.
https://jsfiddle.net/7971fakx/2/
You're not missing anything, you got it right :)


Render NumberInput, TimeInput and DateInput

These 3 controls are rendered with input element with different type attributes.

@zhusongm,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


compiler error

The MailHandlerTest doesn't compile, it calls a method Main.getConfig() which doesn't exist (anymore).

well this can't be possible , travis can compile

Its fixed with The latested pr

It can be, Travis doesn't compile integration test code. But good, if it is fixed

ah, i overlooked the Test part, yeah that can be


hello-world: (please comment) example proposal to add Gradle build(s)

When going through the exercises, I noticed there was no mechanism for pulling in (JUnit) dependencies or fixating Groovy versions.  This is in stark contrast to the xjava Exercism exercise set.
Since Gradle is the de-facto build tool in the Groovyverse, I thought I'd give a go at contributing a Gradle build to the project.
I'll file an experimental Pull request for comment (with apologies, since I don't know the proper way to test contributions).
I'd also like to translate the JUnit tests to the Spock framework, the output of which might be much easier on newcomers to Groovy (plus, the tests will be in a Groovy DSL!), which I could easily add as commits to this (or another) request.
Please comment, and let me know if I'm making mistakes in the Pull to exercises!

For the contribution, I'd love to see just the gradle stuff in a separate PR, with hello-world submitted in a separate PR. Check out this stuff in the contributing guide: https://github.com/exercism/x-common/blob/master/CONTRIBUTING.md#git-basics it describes how we typically work using branches to be able to submit isolated pull requests, etc.
It shouldn't take a lot of work to check your master into a branch, rebase -i to remove hello world commits, and squash the gradle-stuff into a single commit, but if you're not familiar with git it can be pretty intimidating, so (a) create a new branch called backup with what is on your current master so you don't risk losing any work through git confusion, and (b) holler and we'll walk you through it.
@jtigger or @matthewmorgan would you have time to check the gradle-specific stuff here?

@jtigger is probably better qualified at this point for the gradle piece.  John?

@kytrinyx Thanks much for the correction on pulling from a remote branch— also, I can completely get behind separating a Gradliziation Pull from a Spock-test pull.  Thanks so much!
I appreciate @matthewmorgan 's call-out for another opinion on the Gradle build (I have heavy concerns about the size added by including a Wrapper).  So, if no one minds, I'd like to keep this not-intended-for-merge Pull open for some feedback before creating any real suggested Pull.

I've had some time to re-think this one— and I believe there's enough to change and isolate here which can be discussed in a narrower scope.
Thank you!  (And hopefully see you with a new Pull later.)

Thanks @Dispader!


MSFT_xRemoteFile.psm1: Fix Script Analzyer Issues

Details of the scenario you tried and the problem that is occurring
There's a number of script analyzer issues getting reported in MSFT_xRemoteFile.psm1. These should be fixed.
Verbose logs showing the problem
[00:04:39]     Context MSFT_xRemoteFile.psm1
[00:04:39]       [+] Should pass all error-level PS Script Analyzer rules 99ms
[00:04:40] Required PSSA rule(s) did not pass.
[00:04:40] The following PSScriptAnalyzer rule 'PSAvoidUsingCmdletAliases' errors need to be fixed:
[00:04:40] MSFT_xRemoteFile.psm1 (Line 166): '%' is an alias of 'ForEach-Object'. Alias can introduce possible problems and make scripts hard to maintain. Please consider changing alias to its full content.
[00:04:40] The following PSScriptAnalyzer rule 'PSPossibleIncorrectComparisonWithNull' errors need to be fixed:
[00:04:40] MSFT_xRemoteFile.psm1 (Line 207): $null should be on the left side of equality comparisons.
[00:04:40] MSFT_xRemoteFile.psm1 (Line 315): $null should be on the left side of equality comparisons.
[00:04:40] MSFT_xRemoteFile.psm1 (Line 347): $null should be on the left side of equality comparisons.
[00:04:40] MSFT_xRemoteFile.psm1 (Line 428): $null should be on the left side of equality comparisons.
[00:04:40] For instructions on how to run PSScriptAnalyzer on your own machine, please go to https://github.com/powershell/PSScriptAnalyzer
[00:04:40] Common Tests - Required Script Analyzer Rules will not fail unless you opt-in.
[00:04:40] To opt-in, create a '.MetaTestOptIn.json' at the root
[00:04:40] of the repo in the following format:
[00:04:40] [
[00:04:40]      "Common Tests - Required Script Analyzer Rules"
[00:04:40] ]
[00:04:40]       [+] Should pass all required PS Script Analyzer rules 1.65s
[00:04:41]       [+] Should pass all flagged PS Script Analyzer rules 235ms
[00:04:41]       [+] Should pass any recently-added, error-level PS Script Analyzer rules 60ms
[00:04:42]       [+] Should not suppress any required PS Script Analyzer rules 934ms
[00:04:43] Custom DSC Resource Kit PSSA rule(s) did not pass.
[00:04:43] The following PSScriptAnalyzer rule 'DscResource.AnalyzerRules\Measure-IfStatement' errors need to be fixed:
[00:04:43] MSFT_xRemoteFile.psm1 (Line 156): Opening brace on if-statements should be followed by a new line. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#one-newline-after-opening-brace
[00:04:43] MSFT_xRemoteFile.psm1 (Line 167): If-statements should not have the open brace on the same line as the statement. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#one-newline-before-braces
[00:04:43] MSFT_xRemoteFile.psm1 (Line 177): If-statements should not have the open brace on the same line as the statement. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#one-newline-before-braces
[00:04:43] MSFT_xRemoteFile.psm1 (Line 310): If-statements should not have the open brace on the same line as the statement. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#one-newline-before-braces
[00:04:43] The following PSScriptAnalyzer rule 'DscResource.AnalyzerRules\Measure-ParameterBlockMandatoryNamedArgument' errors need to be fixed:
[00:04:43] MSFT_xRemoteFile.psm1 (Line 121): Non-mandatory parameters must use the correct format [Parameter()] for the parameter attribute. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 285): Non-mandatory parameters must use the correct format [Parameter()] for the parameter attribute. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] The following PSScriptAnalyzer rule 'DscResource.AnalyzerRules\Measure-ParameterBlockParameterAttribute' errors need to be fixed:
[00:04:43] MSFT_xRemoteFile.psm1 (Line 31): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 36): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 102): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 107): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 112): A [Parameter()] attribute must be the first attribute of each parameter and be on its own line. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 115): A [Parameter()] attribute must be the first attribute of each parameter and be on its own line. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 118): A [Parameter()] attribute must be the first attribute of each parameter and be on its own line. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 121): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 125): A [Parameter()] attribute must be the first attribute of each parameter and be on its own line. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 128): A [Parameter()] attribute must be the first attribute of each parameter and be on its own line. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 131): A [Parameter()] attribute must be the first attribute of each parameter and be on its own line. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 266): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 271): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 276): A [Parameter()] attribute must be the first attribute of each parameter and be on its own line. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 279): A [Parameter()] attribute must be the first attribute of each parameter and be on its own line. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 282): A [Parameter()] attribute must be the first attribute of each parameter and be on its own line. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 285): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 289): A [Parameter()] attribute must be the first attribute of each parameter and be on its own line. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 292): A [Parameter()] attribute must be the first attribute of each parameter and be on its own line. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 295): A [Parameter()] attribute must be the first attribute of each parameter and be on its own line. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 390): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 394): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 419): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 423): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 440): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 481): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 502): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 507): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 544): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 549): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 554): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 580): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] MSFT_xRemoteFile.psm1 (Line 585): The [Parameter()] attribute must start with an upper case 'P'. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
[00:04:43] For instructions on how to run PSScriptAnalyzer on your own machine, please go to https://github.com/powershell/PSScriptAnalyzer
[00:04:43] Common Tests - Custom Script Analyzer Rules will not fail unless you opt-in.
[00:04:43] To opt-in, create a '.MetaTestOptIn.json' at the root
[00:04:43] of the repo in the following format:
[00:04:43] [
[00:04:43]      "Common Tests - Custom Script Analyzer Rules"
[00:04:43] ]
[00:04:43]       [+] Should pass all custom DSC Resource Kit PSSA rules 854ms

Version of the DSC module that was used ('dev' if using current dev branch)
dev

Grabbing this one.


fix: support slash at the end of urls

Fixes (one of) Gauthier's bugs:
    DekuToolkit({
        dekuRpc: "https://deku-canonical-vm0.deku-v1.marigold.dev/"

was making the library fail.

But you are using a node library. It's not a big problem because even for frontend users the most cases there are bundlers to help with it. But if we can make this library easy to use even without a bundler, I recommend you use another library or solution for that.


DICOM Format - IndexError: too many indices for array

I'm getting an IndexError when running this file using the DICOMHighBits and DICOMLowBits formats:
./waveform_benchmark.py -r /home/briangow/chorus/data/mimic_iv/waves/p115/p11596691/86130599/86130599 -f waveform_benchmark.formats.dicom.DICOMHighBits
________________________________________________________________
Format: waveform_benchmark.formats.dicom.DICOMHighBits
Record: /home/briangow/chorus/data/mimic_iv/waves/p115/p11596691/86130599/86130599
         172702 seconds x 5 channels
         161836800 timepoints, 160764160 samples (99.3%)
________________________________________________________________
Channel summary information:
 signal       fs(Hz)     Bit resolution       Channel length(s)
 II           249.89     0.005(mV)            172287
 V            249.89     0.005(mV)            172287
 aVR          249.89     0.005(mV)            172287
 Pleth        124.94     0.000244(NU)         166816
 Resp         62.47      0.000485(Ohm)        172282
________________________________________________________________
Output size:    566274 KiB (28.86 bits/sample)
Time to output: 7 sec
________________________________________________________________
Fidelity check:

Chunk		 Numeric Samples		  NaN Samples
	# Errors  /  Total	  % Eq  	NaN Values Match
Signal: II
  0  	         0/  35632704	100.000		    Y (5056)
  1  	         0/   7413248	100.000		    Y (1792)
Signal: V
  0  	         0/  35632704	100.000		    Y (5056)
  1  	         0/   7413248	100.000		    Y (1792)
Signal: aVR
  0  	         0/  35632704	100.000		    Y (5056)
  1  	         0/   7413248	100.000		    Y (1792)
Signal: Pleth
  0  	         0/  14615040	100.000		     Y (0)
  1  	         0/    136320	100.000		     Y (0)
  2  	         0/   3002880	100.000		     Y (0)
  3  	         0/   3088640	100.000		     Y (0)
Signal: Resp
  0  	         0/   3134400	100.000		     Y (0)
  1  	         0/   5774720	100.000		     Y (0)
Traceback (most recent call last):
  File "/home/briangow/chorus/repos/chorus_waveform/./waveform_benchmark.py", line 6, in <module>
    waveform_benchmark.__main__.main()
  File "/home/briangow/chorus/repos/chorus_waveform/waveform_benchmark/__main__.py", line 122, in main
    run_benchmarks(input_record=opts.input_record,
  File "/home/briangow/chorus/repos/chorus_waveform/waveform_benchmark/benchmark.py", line 157, in run_benchmarks
    filedata = fmt().read_waveforms(path, st, et, [channel])
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/briangow/chorus/repos/chorus_waveform/waveform_benchmark/formats/dicom.py", line 719, in read_waveforms
    output[channel][target_start:target_end] = arrs[group_idx][channel_idx, 0:nsamps]
                                               ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

@tcpan , I just took a look at this. When the error occurs at line 724:
output[channel][target_start:target_end] = arrs[group_idx][channel_idx, 0:nsamps]
arrs is empty. This may be because, at arrs[group_idx] = dcm_reader.get_multiplex_array(fobj, item, start_offset, end_offset, as_raw = False) we have:
start_offset
0
end_offset
0

even though start_time and end_time seem valid.
It seems like this could be occurring due to differences between start_time and stime:
stime = cast(float, item[0x0099, 0x1001].value)
start_time
143028.6926247549
stime
'167758.9339309'

is it possible to check in p115?

@tcpan , sure, I've added p115 to the data folder

okay, I see the issue.   the specific dicom file has time range
167758.9339309<PHONE_NUMBER>
The read operation is requesting the time range<PHONE_NUMBER>247549<PHONE_NUMBER>309296
The end time of the requested block is 0.0000000296 after the start time of the dicom time range.
I will make the changes to address this case tonight

fixed and tested with p115.   checked in to format-dicom branch.  pull request to come

Fixed by https://github.com/chorus-ai/chorus_waveform/pull/77


[feature request] support more isolation container options for alios in pouchd

Issue Description
Alikernel will be open source very soon. In this Alikernel, there are many parts that improves a lot for container's isolation. PR https://github.com/alibaba/pouch/pull/685 added 5 options in swagger.yml.
We need to implement these container options in 0.2.0 version. Here are some details:
Container Options
IntelRdtL3Cbm is coming in RunC.
ScheLatSwitch
MemoryWmarkRatio
MemoryExtra
MemoryForceEmptyCtl
How to support these in pouch

add these options in swagger.yml which has been done in #685;
support these options within flags in pouch cli side;
in daemon side, we make mgr to pass these data;
make container pass these data transparently;
make runc to deal with these options.

How to deal in runC
In runC, there is a struct
// Spec is the base configuration for the container.
type Spec struct {
	......
	// Hostname configures the container's hostname.
	Hostname string `json:"hostname,omitempty"`
	// Mounts configures additional mounts (on top of Root).
	Mounts []Mount `json:"mounts,omitempty"`
	// Hooks configures callbacks for container lifecycle events.
	Hooks *Hooks `json:"hooks,omitempty" platform:"linux,solaris"`
	// Annotations contains arbitrary metadata for the container.
	Annotations map[string]string `json:"annotations,omitempty"`
       ......
}

We can add these options in annotations, and deal them when execution.
Describe what happened:
no supporting container options for alikernel.
Describe what you expected to happen:
support more isolation container options for alios in pouchd
How to reproduce it (as minimally and precisely as possible):
None
Anything else we need to know?:
none
/cc @CodeJuan
Environment:

pouch version (use pouch version): dev
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

I think this has been fixed. Closing...


Clearly distinguish between present and future events

Perhaps the best approach here would just be to use the secondary color for events that are in future months? This change needs to be robust to the app being open across month boundaries.


HTML/CSS Module - > Customer Review

I want to work upon the customer review page .

I want to work Html/CSS Module

@Palak-2109 I'm assigning customer review section to you. You are good to go. Don't forget to follow the README guidelines.

@meerhamzadev is there any section yet to be done ?


Protocol and metamodel changes for Mastery Runtime

Summary

How did you test this change?

[ ] Test(s) added
[ ] Manual testing (please provide screenshots/recordings)
[ ] No testing (please provide an explanation)

/easycla

I don't think you have made changes to DSL_Mastery_PureProtocolProcessorPlugin.ts

/easycla

I don't think you have made changes to DSL_Mastery_PureProtocolProcessorPlugin.ts

I've added changes in DSL_Mastery_PureProtocolProcessorPlugin_Extension as Runtime is abstract and did not have any implementations. Please correct me if I'm missing something.

I don't think you have made changes to DSL_Mastery_PureProtocolProcessorPlugin.ts

I've added changes in DSL_Mastery_PureProtocolProcessorPlugin_Extension as Runtime is abstract and did not have any implementations. Please correct me if I'm missing something.

Please take a look at how other functions defined in the interface are getting called. You will need to do something similar so that when any element of type MasteryRuntime is found it can be routed to implementations of the function when you implement the plugin