require spec.version to be set in Kiali CR and OSSMConsole CR.

fixes: https://github.com/kiali/kiali/issues/7741
This fix goes across all supported versions. There is nothing to backport to different version roles. We can backport this to the v1.89 branch, though.

To test the behavior

Install minikube, Istio: hack/k8s-minikube.sh start && hack/k8s-minikube.sh istio
Build, push, deploy everything: make -e CLUSTER_TYPE=minikube cluster-push operator-create kiali-create
At this point, Kiali should be installed. But now edit the Kiali CR (kubectl edit kiali kiali -n kiali-operator) and remove the spec.version field. After that, look at the status field of the Kiali CR:

kubectl get kiali kiali -n kiali-operator -oyaml

You should see:
    lastTransitionTime: "2024-09-12T18:43:18Z"
    message: |
      The CR is missing the spec.version field.
      You must explicitly indicate which version you want.
      The spec.version field must be either the literal string 'default' or
      one of the supported versions in the form of 'vX.Y'.
      Please consult the Kiali documentation for more details.
    reason: Failed
    status: "True"
    type: Failure

If you can specify default to get the latest version of the CR that the operator supports, shouldn't that just be the actual default?

The whole idea here is to require the user to be explicit - they need to tell us what version they want. Leaving it blank is ambiguous - what do they want? We do not know explicitly. And I don't think they know :) Forcing them to put a value here will prod them into looking at the docs to determine what version they need/want.
We are simply trying to avoid the problems we have been hitting today with the odd way 1.89 was released but not supported on currently released OSSM releases.  That's one edge case. There are others that will happen in the future (OSSM 3.0 and 3.1). In short, different versions of Kiali will be needed to support different control plane versions, which could be different than the Kiali Operator version. We want the user to be very explicit and intentional - they need to tell us what version they want.

To test on OpenShift (and test OSSMConsole CR):

Install CRC, Istio and build/push dev images:

hack/crc-openshift.sh start -p [your pull secret path] \
 && oc login -u kubeadmin -p kiali https://api.crc.testing:6443 --insecure-skip-tls-verify \
 && podman login --tls-verify=false -u kiali -p $(oc whoami -t) default-route-openshift-image-registry.apps-crc.testing \
 && hack/istio/install-istio-via-istioctl.sh -cp openshift \
 && make build build-ui cluster-push

In the OSSMC local git repo, make cluster-push so you build and push the OSSMC image
Deploy the operator, kiali, and ossmc: make operator-create kiali-create ossmconsole-create
Edit the OSSMConsole CR and remove its spec.version field: oc edit ossmconsoles.kiali.io ossmconsole -n ossmconsole
Look at the OSSMConsole CR and see the error in the status field
Edit the OSSMConsole CR again, this time set spec.version to v1.89 - at this point, the operator logs should show you it is attempting to remove/uninstall any existing OSSMC using the default ansible role (which is what it used when it installed OSSMC in step 3). It then installs 1.89. (NOTE: this is eventually going to fail because your server is 1.90-SNAPSHOT so the operator will abort because OSSMC needs a server which is the same version as itself; but ignore this. If you got this far, the test for this PR passes).

then do kubectl get kialis ... -o yaml to see the ReconcileError that explains they need to set spec.version explicitly.

Right. We are not doing any magic here - all we are trying to avoid is people getting errors that provide no clue as to what the actual problem is. This forces people to then create a github issue or discussion, or create a customer support ticket, and having to wait for an answer. This change allows them to fix it themselves without having to ask for support. We are trying to avoid wasting developer/customer support time, and wasting the user's time having to try to figure out what the problem is.
Yes, it is possible they don't even bother looking at the status field of the CR, but this at least gives them a chance to know how to fix themselves if they do just a basic check of the Kiali CR.

In this case, I agree with @nrfox. If I leave it empty, I expect the same Kiali version to be installed as the operator. Even though spec.version is required, I think people will set the default value (the easiest option) and face the same issues. If I were to require the field, I would force the user to specify a version (e.g., v1.89, v1.73, etc.). I'm not sure if it’s possible for the operator to automatically populate this value in the Kiali CR with the operator's version by default (instead of using the default value)

This is a borderline call.  Although I understand the reasons against, I'm in favor of the change.  I don't feel like it's too much to ask to have users be explicit about their versioning when they are already going to be defining other things in the CR. It will help them avoid foot-gunning themselves.  I don't love that if the installation stops that they then need to look at the operator logs to see why, but at least you don't end up with wonky behavior, and we can say, "check the logs".  The fact that the operator is "one ring to rule them all", able to install multiple versions, is what makes this a useful change.  When installing with Helm Charts the user is doing explicit versioning by choosing the HC version they want, to me this is somewhat analogous.
If we don't make the change I think we should minimally have the the Operator log that the value was unset and we are assuming spec.version: default, and installing the latest version.  That woukd have to go hand-in-hand with a FAQ that we can point to when they mess up.
Since this is a +2, -2 situation, we may need a maintainer vote to resolve this.

I don't love that if the installation stops that they then need to look at the operator logs to see why

You don't have to look in the logs...just look at the status field of the Kiali CR and you'll see the error message telling them what to do.

You don't have to look in the logs...just look at the status field of the Kiali CR and you'll see the error message telling them what to do.

I'd be more in favor of this change if we could make the version field on the CRD required so that you are unable to actually create a Kiali CR without setting this field. But because the Kiali CRD is unstructured, we cannot do this. Personally, I think it's just as confusing to be able to create a Kiali CR only to have it fail to reconcile and then need to look at the status to know that you have to set a certain field.
What if we kept the default behavior of getting the latest version the operator supports and we updated all the docs to include an explicit version field? That way if you are just following along with the documentation, you will set the version field explicitly. And if you happen to create a Kiali CR without the version field set, it will still reconcile.

and we updated all the docs to include an explicit version field?

We are going to want to do that anyway - regardless of the decision we make here. I think ALL our docs showing a Kiali CR should show the spec.version field.

OK, we have a 2-2 tie for how to handle this issue.  I'm asking the remaining maintainers and active testers, to vote or actively abstain if you don't feel strongly either way.  Voting starts now and ends on Sep 26, 10am ET, or until we have a clear majority. If we end in a tie the lead maintainer will decide (me).
for: spec.version is required
against: spec.version is optional
X: abstain
@aljesusg
@ferhoyos against
@hhovsepy
@jmazzitelli for
@josunect
@jshaughn for
@nrfox  against
@leandroberetta
@ScriptingShrimp
@Xunzhuo

I'll abstain.
I understand some of the errors in the logs when Istio is not compatible are very difficult to troubleshoot, and I'm agree this PR would avoid this situation, but I’m not sure that specifying the version will prevent users from asking, as the reason for the CR not starting may not be clear. I would expect not having to specify the version, I would expect that the latest compatible version will be installed.
IMO, the ideal situation would be to do an Istio compatibility check and log an error to warn the user if the versions are not compatible - avoiding these log errors Incomprehensible for the user -, but I understand this can be really hard to maintain.

Sorry for the late response, my vote is to use a default (latest) if not version is set.

My vote is for having optional value and using the default latest one when not set.

OK, thanks to all that voted, it looks like this change is unpopular (4-2-1 against), and so we won't require spec.version.  We need to deal with this via docs and whatever we can provide in the logs (a la 'spec.version unset, assuming default and installing kiali server <version>, without actually stopping the install.

I closed my PRs.
I am sure all of those who were against this will be diligently watching Slack/JIRA/github for those people that will have this "missing spec.version" problem, and they will promptly provide those persons the support they will need to fix the problem. :)


[JetStream] Navigating up to top menu bar should focus active menu tab not the profile icon

Navigating up to the top bar from the top left most item on the home screen catalog will move focus to the profile icon instead of the active top menu item. This is not very logical from a user experience perspective.
I think the problem is caused by the fact that the profile icon is closer to the top left item of the catalog which causes android to choose it to focus next.
See this video that shows the problem:
https://github.com/android/tv-samples/assets/516028/e2723c5b-a7e8-4fa8-a0b5-d11831b80561
The carousel has been removed for this video but the same problem can be seen on the favourites tab where navigating up from the the Movies chip will focus the profile icon whist all other chips will focus the Favourites tab item.

yes, fix this please.


MathJax Support for Notebook Rendering

Support KaTex or MathJax in the notebook rendering. KaTex is faster but either should work
That way we can render things like  $$ x ^ 2  + 3 $$  that appear in the markdown
Should be as easy as using https://github.com/waylonflinn/markdown-it-katex or https://www.npmjs.com/package/markdown-it-mathjax
There was some work here: https://github.com/jsvine/notebookjs/pull/8 - but I don't think we can just use the whole PR.
Priority: Low

Resolved by #1099 (Using KaTeX)


meta tags not updating after receiving the data from api

Do you want to request a feature or report a bug?
What is the current behavior?
If the current behavior is a bug,
please provide the steps to reproduce and if
possible a minimal demo of the problem.
Your bug will get fixed much faster if we can run your
code and it doesn't have dependencies other than React and react-helmet.
Paste the link to your JSFiddle (https://jsfiddle.net/Luktwrdm/) or
CodeSandbox (https://codesandbox.io/s/new) example below:
What is the expected behavior?
Which versions of React and react-helmet, and which browser / OS are affected by this issue?
Did this work in previous versions of React and/or react-helmet?

Follow the Issue template and give proper behaviour expectations, links and examples and used versions.
No-one can do something on nothing. You have given virtually zero information.

Im trying to populate  with dynamic data, ( from API ) but its not working when i share page in social networks like Facebook and Twitter, i think the purpose of Metatags are not full filling with this.
If some one has any solution please put it here.

I was having smilar issue . i have to add some dynamic content in script tag.
So i have added the property encodeSpecialCharacters={true} & onChangeClientState={(newState, addedTags, removedTags) => console.log(newState, addedTags, removedTags)} in tag.
So it worked for me. it detected my DOM changes


4chan new domain

Category
This change is exactly one of the following (please change [ ] to [x]) to indicate which:

[X] a bug fix (Fix #664, Fix #231)

Description
I added is3.4chan.org to the list of 4chan domains and removed the code that would cause any url with '/thread/ or '/res/' in the title to be detected as chans
Testing
Required verification:

[ ] I've verified that there are no regressions in mvn test (there are no new failures or errors).
[ ] I've verified that this change works as intended.

[ ] Downloads all relevant content.
[ ] Downloads content from multiple pages (as necessary or appropriate).
[ ] Saves content at reasonable file names (e.g. page titles or content IDs) to help easily browse downloaded content.

[ ] I've verified that this change did not break existing functionality (especially in the Ripper I modified).

Optional but recommended:

[ ] I've added a unit test to cover my change.

I'm reverting this as it breaks support for https://boards.420chan.org


[fix] str | None type in from_str_or_bytes_to_any

Incorrect processing from_str_or_bytes_to_any in case of field_type=str | None and value holding real string. Look for str in field_type, return value if such str is present.

Niceeeeee! Looks like the tests are failing, though.


skipFiles Option in Auto Attach Debugger

How to define the default skipFiles option for use in debugger auto attach scenario?

this is not yet possible (but planned).

Is this still not a thing?

not yet, 2 upvotes is not a lot..
But please suggest how we should tackle this (or even submit a PR)

@weinand can you provide a general direction where to look?
Thanks!

The auto attach feature lives in the node-debug extension.
And the debug configuration is created here: https://github.com/microsoft/vscode-node-debug/blob/56e6390daac11a50022482a0de7c430a1d4c45e4/src/node/extension/autoAttach.ts#L93-L98

Could you add an attribute to the attach configuration ("autoAttach": true)? Then auto-attach uses the first node config where that flag is set to true?
Or a settings config that you point to an attach config by name ("debug.node.defaultAttachConfig": "myConfigName")
I love the auto-attach feature but not being able to skip node internal files means I need to stop using it.

@connor4312 since auto-attach is now implemented in js-debug, you might want to decide what to do here.

This is now possible via the debug.javascript.terminalOptions setting, which allows you to specify options as in node type launch configs.

aha, but "terminalOptions" sounds strange...

We use those settings (originally) for the JavaScript Debug Terminal as well as auto attach. Pending eventual coalescence of those into one thing, which I think will happen at some point, they're still very similar flows and options are probably relevant for both.


Update the ReadMe of the project with the contents on the home page

Use Storytelling or Creative Writing

Replace the illustrations with gips. Use Giphy

Make the Contribution Guidelines more detailed

Separate Subsection for License

Separate Subsection for Code of Conduct

Add a team subsection

Add section for open  source programs
Reference: Awesome Portfolio Website

hii
i would like to work on this issue

hi, it would be great if you could give me a chance to work on it.

@smriti1313 @chehak123 Could you two please divide the work among yourself.
Do not forget to add DWOC and SWOC2021 in the open source sub section 😊

Hey @smaranjitghose  can I do the same?

@smriti1313 @chehak123 Could you two please divide the work among yourself.
Do not forget to add DWOC and SWOC2021 in the open source sub section

Yeah sure.
@chehak123 can we connect and divide work on discord doc2pen channel? just leave a text regarding this issue. I will text back to you.

Hey @smaranjitghose can I do the same?

This issue is too simple for 3 people. I'll assign other issues once they are available

@smriti1313 @chehak123 Could you two please divide the work among yourself.
Do not forget to add DWOC and SWOC2021 in the open source sub section

Yeah sure.
@chehak123 can we connect and divide work on discord doc2pen channel? just leave a text regarding this issue. I will text back to you.

Yeah sure @smriti1313

@chehak123 I had left a message in doc2open channel on discord.

@chehak123 I had left a message in doc2open channel on discord.

One tiny request: Put these messages on the discord channel only, otherwise I get notifications for these too 😅

Hi, sorry for those unnecessary notifications. I would like if you assign this to me too since chehak's the only one right now who's been assigned

Hi, sorry for those unnecessary notifications. Can you please assign this to me too since chehak's the only one right now who's been assigned??

OOPs missed that earlier😅

Interested.

Interested.

Let's wait for a couple of days till @smriti1313 and @chehak123 give their PRs. After that, if there's any improvement to be done, you can take it up

Update : I have changed few lines and added a whole contribution.md which I linked to main readme.md. All i have to do now is get some cool gifs. I will do it by today midnight.

Update : I have changed few lines and added a whole contribution.md which I linked to main readme.md. All i have to do now is get some cool gifs. I will do it by today midnight.

Awesome!. Waiting for your PR😊


Add authentication (username & password) to AddMongoDB

Please ensure to include optional authentication parameters, specifically a username and password, when utilizing the AddMongoDB function. In situations where these parameters are not explicitly defined, the default username "admin" will be utilized, and a password will be automatically generated. #4348
Microsoft Reviewers: Open in CodeFlow

How I can solve this test failure, in connection string password should be data-encoded, so I can't directly check "{mongodb-password.value}".
Have you already a mechanism somewhere I can inspire of ? The only possibility I see is to force password like "aspire123" in test suit. Do you think is a good way to handle it ?

May I put a specific comment on var passwordParameter = password?.Resource ?? ParameterResourceBuilderExtensions.CreateDefaultPasswordParameter(builder, $"{name}-password", special: false); to specify the "special: false" should be removed/reviewed when #3117 is done?

I need to mark the MongoDBServerResource(string name) constructor as obsolete. I'm not happy with the Connection string management (due to the database connection string needing to insert the DB name in the middle of the URL).

/azp run

@eerhardt this should follow the persistence pattern we just added

@eerhardt this should follow the persistence pattern we just added

It does already.

I think we need to test a deployment to ACA as well to make sure it still works.

Thanks @Crazyht for your contribution. I'd like to get this change in for .NET Aspire 9.0, but I'm unable to push to this branch because it is from a protected branch (your main branch).
So instead I created https://github.com/dotnet/aspire/pull/5788, which takes these changes, resolves the conflicts with the current code, and fixes the tests. Please take a look over there.
Closing in favor of https://github.com/dotnet/aspire/pull/5788.


support reconnect(user connection)

upgrade all deps
add connection (auto reconnect memcache server)

Test:
1. start memcache_client

2.  MemcacheClient.get("key")
%Memcache.Client.Response{cas: 0, data_type: nil, extras: "", key: "", status: :key_not_found, value: "Not found"}

Thanks for this great project :)

Thank you for the excellent pull request. I like it that you use the Connection lib. It seems like a good fit. However, I'd like to keep the backwards compatibility with Elixir 1.1 so would you mind converting the with statements to case statements? Would be nice to have this feature for Elixir 1.1 users as well.

@tsharju  delete with ~:)

Awesome. Thanks. I'll merge this in and try to release a new version to hex asap.


[BEAM-10769] Clarify Avro IO documentation.

Our Avro IO documentation instructs the user to pass the schema parsed by avro.schema.Parse. On Python 3, we use FastAvro module, which does not accept avro-python3 schema classes. This PR corrects this instruction.
To make Py2->3 transition easier for the users, we try to catch if users continue to feed avro-python3 schemas into Avro IO and error-out with a better message.
Also, fastavro does not require a parsed schema, since the schema is re-parsed anyway, see: [1], [2], it would be simpler to ask users to pass raw schema.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Python 3.6 postcommit

Run Python 3.6 postcommit

R: @chamikaramj

Run Python 3.6 postcommit

Run Python 3.6 PostCommit

Run Python2_PVR_Flink PreCommit

Run Portable_Python PreCommit

Run Python PreCommit

Will merge this after we remove Py2 support.

LGTM. Thanks.

retest this please

Run Python_PVR_Flink PreCommit


use of Global Administrator role is not needed

Hi,
"The user who activates the setting must have permissions to create an app in Azure Active Directory (AAD). This is typically someone with a Global administrator role."
Please rephrase the sentence because it makes the reader think Azure AD Global Admin role is needed, where as the actual role is Security Administrator + Cloud Application Administrator. I think Microsoft documentation should be written with a least access privilege perspective.

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

ID: 2ea5131f-6f6d-0520-56ac-5f8995c3e388
Version Independent ID: 08b14dd1-05f9-4436-a343-ab39781c1957
Content: Enable SIEM integration in Microsoft Defender ATP - Windows security
Content Source: windows/security/threat-protection/microsoft-defender-atp/enable-siem-integration.md
Product: w10
Technology: windows
GitHub Login: @mjcaparas
Microsoft Alias: macapara

@MarzelLaning42 According to this article the required permission to create an app in Azure Active Directory (AAD) is one of the following roles: Global Administrator, Cloud Application Administrator, Application Administrator, or owner of the service principal.
I'll create a PR to include this.

Hi. Whilst the roles you mention are correct. The context is for SIEM connectors where one also needs Security Administrator.
"Prerequisites:
The user who activates the setting must have permissions to create an app in Azure Active Directory (AAD). This is typically someone with a Global administrator role."
"Prerequisites:
The user who activates the setting must have permissions to create an app in Azure Active Directory (AAD) in addition to Microsoft Defender ATP administrator role."

@MarzelLaning42
With the help of your feedback, the content has been updated with relevant changes accordingly with the PR #8325. Thanks.


Update plan-topic-experiences.md

We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


HDFS-16241.  Standby close reconstruction thread

Description of PR
When the "Reconstruction Queue Initializer" thread of the active namenode has not stopped, switch to standby namenode. The "Reconstruction Queue Initializer" thread should be closed
How was this patch tested?
After namenode becomes active, switch immediately to see if the "Reconstruction Queue Initializer" thread is alive
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 41s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
32m 11s

trunk passed

+1 :green_heart:
compile
1m 23s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 16s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  2s

trunk passed

+1 :green_heart:
mvnsite
1m 22s

trunk passed

+1 :green_heart:
javadoc
0m 55s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 28s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m  6s

trunk passed

+1 :green_heart:
shadedclient
21m 17s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 12s

the patch passed

+1 :green_heart:
compile
1m 13s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 13s

the patch passed

+1 :green_heart:
compile
1m  7s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
1m  7s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 52s

the patch passed

+1 :green_heart:
mvnsite
1m 17s

the patch passed

+1 :green_heart:
javadoc
0m 45s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 21s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m  8s

the patch passed

+1 :green_heart:
shadedclient
20m 47s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
234m 13s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 41s

The patch does not generate ASF License warnings.

329m 23s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3493/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3493

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 32505d960d16 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 657d6e7b600a5361767eb9a8827a1a236823c788

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3493/1/testReport/

Max. process+thread count
3696 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3493/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


STYLE: Reformat usage logging dir

this will reformat usage_logging dir

Codecov Report

Merging #763 into master will decrease coverage by 1.95%.
The diff coverage is 20%.

@@            Coverage Diff             @@
##           master     #763      +/-   ##
==========================================
- Coverage   93.91%   91.95%   -1.96%
==========================================
  Files          32       32
  Lines        5667     5667
==========================================
- Hits         5322     5211     -111
- Misses        345      456     +111

Impacted Files
Coverage Δ

databricks/koalas/usage_logging/__init__.py
23.14% <11.76%> (-74.08%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50% <37.5%> (-50%)
:arrow_down:

databricks/koalas/__init__.py
75% <0%> (-10%)
:arrow_down:

databricks/conftest.py
90.69% <0%> (-6.98%)
:arrow_down:

databricks/koalas/frame.py
95.53% <0%> (-0.71%)
:arrow_down:

databricks/koalas/internal.py
95.83% <0%> (-0.47%)
:arrow_down:

databricks/koalas/plot.py
94.6% <0%> (-0.29%)
:arrow_down:

Continue to review full report at Codecov.

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


Swipe does not properly work (animate) on android version below Lollipop

Hello! Long term library user here. Recently started working on a new project where I encountered the need for items to be swipe able and  show some kind of view behind them.
I examined example app provided in this repo and implemented an item with layout similar to recycler_expandable_item.xml (from sample project). I defined front view, rear right view and rear left view.
I've searched for similar open\closed issues and did not manage to find anything.
Adapter version I'm using:
5.0.0-rc1
I've tried swipe with rear view on Android versions below lollipop (16,17,19) here's the video of the issue (first part is showing issue using your sample app, second part - my app) https://www.youtube.com/watch?v=Wzs13nGb3cw
The issue is not present when using swipe on items with rear view on android version >= lollipop
As you can see - the moment swipe action starts the front view disappears and rear view is shown immediately. Does this have something to do with transparency on Android versions below lollipop?

I'v got the same problem, can someone make an urgent release to fix it.

Dears, thank you for your messages.
I really do not have time to look into this issue, but be aware that the swiping really needs to be improved and restructured. The issue #315 is already in place.

Please use exclusively this view order in the layout:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout>
	<RelativeLayout
		android:id="@+id/rear_left_view"
		android:visibility="gone">
	</RelativeLayout>

	<RelativeLayout
		android:id="@+id/rear_right_view"
		android:visibility="gone">
	</RelativeLayout>

	<RelativeLayout
		android:id="@+id/front_view">
	</RelativeLayout>

</FrameLayout>

@SolidScorpion, @lxdyglt, if you don't have any remarks I will close this ticket.

@davideas that solved this issue, thanks.

Thank you! it did


Error With MEAN.JS

just default setting and first select sample from documentation throw this error:
TypeError: undefined is not a function
at Object.compile (http://localhost:3000/lib/angular-ui-select2/src/select2.js:20:25)
at applyDirectivesToNode (http://localhost:3000/lib/angular/angular.js:6466:32)
at compileNodes (http://localhost:3000/lib/angular/angular.js:6036:15)
at compileNodes (http://localhost:3000/lib/angular/angular.js:6048:15)
at compileNodes (http://localhost:3000/lib/angular/angular.js:6048:15)
at compileNodes (http://localhost:3000/lib/angular/angular.js:6048:15)
at compile (http://localhost:3000/lib/angular/angular.js:5969:15)
at http://localhost:3000/lib/angular-ui-router/release/angular-ui-router.js:3324:20
at nodeLinkFn (http://localhost:3000/lib/angular/angular.js:6704:13)
at compositeLinkFn (http://localhost:3000/lib/angular/angular.js:6098:13)
I have no idea what's wrong I'm doing...
everything is installed as well and all references are included right

I was also getting same error. But, I have found the solution for that.
You need to required insert script files in sequence.
You can find sequance below :
jquery/dist/jquery.js
select2/select2.js
/* Start adding all angular js /
angular.js
...
...
/ End adding all angular js */
angular-ui-select2/src/select2.js

Thanks for the solution


Correcting selectize path and default dashboard config

[Current coverage][cc-pull] is 35.26%

Merging [#64][cc-pull] into [master][cc-base-branch] will decrease coverage by 1.57%

@@             master        #64   diff @@
==========================================
  Files           210        213     +3
  Lines         11678      11932   +254
  Methods           0          0
  Messages          0          0
  Branches       2020       2050    +30
==========================================
- Hits           4302       4208    -94
- Misses         6794       7180   +386
+ Partials        582        544    -38

Powered by Codecov. Last updated by [3e4a126...0baab27][cc-compare]
[cc-base-branch]: https://codecov.io/gh/SalesforceEng/Argus/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/SalesforceEng/Argus/compare/3e4a126f897119770713a803b9fb997317b0935b...0baab2768b5a6741969e499d0095a37fb2be006d
[cc-pull]: https://codecov.io/gh/SalesforceEng/Argus/pull/64?src=pr


Retry/timeout fixes for for helper tool (XPC client)

There were some bugs in the MPMessagePack library XPC client retry/timeout code that could cause multiple error responses to be returned.

Using the new XPC client fixes these issues, we can avoid closing and using new helper for every RPC call
We enable retry and timeout for all XPC requests
Include logging on XPC calls

I ran some fuzz testing on it... nuking the helper amid a request loop, etc.

@chromakode
cc @keybase/react-hackers

:+1:
(I also looked at https://github.com/gabriel/MPMessagePack/compare/1.3.8...1.3.11)


Use GitHub Actions for CI

You may have to follow the steps here to get the first workflow running - https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks

You may have to follow the steps here to get the first workflow running - https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks

Hmm i dont see anything to approve as mentioned in those steps to trigger the workflow in this PR. Since this removes travis, does this also trigger builds when PRs are merged or pushed to master directly? That's probably the push action

I'll look into that.
This doesn't handle direct commits to master, but I can update it to handle that.

What do you see when you go to https://github.com/codeniko/JsonPathKt/actions

trigger builds when PRs are merged or pushed to master directly

Should be doing that with the latest change

With these workflows the project should be set up to:

Upload code coverage on pull request events, or a push to master
Publish a snapshot build on pushes to master
Publish a release build and github release on pushes to release

A changelog for the github release will be generated from PR titles and commit messages

I can remove this if you want to create the github release manually; alternatively you can edit the description of the release yourself in github after it has been generated

The version in gradle.properties and README will be bumped

3 repository secrets need to be added:
SONATYPE_NEXUS_USERNAME
SONATYPE_NEXUS_PASSWORD
ARTIFACT_SIGNING_PRIVATE_KEY - an ASCII guarded copy of the gpg private key used to sign code for maven central


g-image incorrect crop dimensions

Thank you for the fantastic project. There is just a little issue I'm running into with image cropping...
Description
g-image seems to apply the wrong crop dimensions when the source image is smaller than the desired one.
Steps to reproduce
Using a source image of 200x300, try to output a square of 400x400:
<g-image src="~/assets/source.jpg" width="400" height="400"></g-image>
Expected result
We should get a 400x400 crop (or at least 200x200 if g-image is deliberately limiting to source dimensions).
Actual result
But we actually get a 200x400 crop, i.e. g-image is respecting the desired height - even though it is larger than the source height - but is limiting the width to the source width, resulting in a very tall rectangle.
However when you open the image in a new browser tab (in develop mode) and manually change the URL from ?width=200&height=400 to ?width=400&height=400 we do get the 400x400 image that we expect.  So the crop functionality itself seems to work properly but g-image just seems to be applying the wrong dimensions.
Environment
Gridsome v0.7.8

Should have been fixed in v0.7.9. Can you confirm it works as expected now?

Works as expected in v0.7.9.  Thank you so much for fixing this!


Test performance drops quickly after running LSQB test

I notice that before LSQB test, our average test cases takes around 0.15s. While after running LSQB test, all subsequent test cases take longer, average 0.6s on my machine. I wonder if this is because LSQB test bump BM size up and we don't reset BM size to a smaller size afterwards?

Update:
ctest command calls the binary e2e_test for each test. We currently have 222 tests, so for each test ctest runs somethling like:
Test command: /Users/rfdavid/Devel/waterloo/kuzu/build/release/test/runner/e2e_test "--gtest_filter=BinderErrorTest.AddPropertyDuplicateName" "--gtest_also_run_disabled_tests"

e2e_test recursively scans test_files directory, parses all .test files, convert to parquet the necessary CSV, registers all the tests, and then it executes only the test passed in the argument. This is executed 222 times, but only now we noticed the performance due to the csv -> parquet conversion.


Errors and warnings in android studio code analysis of the initial hello world app

Steps to Reproduce
Open android studio.
File -> New -> New Flutter Project.
Flutter application.
Flutter SDK path: /home/noam/snap/flutter/common/flutter
package name: com.example.testapp.
Include Kotlin and Swift.
VCS -> Import into version control -> Create git repository.
VCS -> commit.
Click the topmost checkbox, to select all 62 unversioned files.
Leave "code analysis" checked (the default).
Code analysis fails, with these errors and warnings:
/tmp/test_app/android/app/src/main/AndroidManifest.xml
Warning:(1, 2) Should set `android:versionCode` to specify the application version
Warning:(1, 2) Should set `android:versionName` to specify the application version
Error:(9, 23) Class referenced in the manifest, `io.flutter.app.FlutterApplication`, was not found in the project or the libraries
Error:(9, 34) Unresolved package 'app'
Error:(9, 38) Unresolved class 'FlutterApplication'
Error:(11, 23) Cannot resolve symbol '@mipmap/ic_launcher'
Error:(13, 27) `MainActivity` must extend android.app.Activity
Error:(15, 28) Cannot resolve symbol '@style/LaunchTheme'
Warning:(17, 13) Attribute `hardwareAccelerated` is only used in API level 11 and higher (current min is 1)
Warning:(18, 13) Attribute `windowSoftInputMode` is only used in API level 3 and higher (current min is 1)
Error:(25, 33) Cannot resolve symbol '@style/NormalTheme'
Error:(34, 33) Cannot resolve symbol '@drawable/launch_background'
/tmp/test_app/android/app/src/main/kotlin/com/example/test_app/MainActivity.kt
Error:(3, 19) Unresolved reference: embedding
Error:(5, 21) Unresolved reference: FlutterActivity
/tmp/test_app/android/build.gradle
/tmp/test_app/android/app/build.gradle
Error:(11, 15) Cannot resolve symbol 'GradleException'
Warning:(43, 26) Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the android.os.Build.VERSION_CODES javadoc for details.
/tmp/test_app/android/app/src/main/res/values/styles.xml
Error:(7, 47) Cannot resolve symbol '@drawable/launch_background'

Logs
Android Studio 4.1.1
Build #AI-201.87<IP_ADDRESS>53283, built on November 5, 2020
Runtime version: 1.8.0_242-release-1644-b3-6222593 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.4.0-53-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8
Registry: ide.new.welcome.screen.force=true, external.system.auto.import.disabled=true
Non-Bundled Plugins: org.jetbrains.kotlin, Dart, io.flutter
Current Desktop: XFCE

[✓] Flutter (Channel stable, 1.22.4, on Linux, locale en_US.UTF-8)
    • Flutter version 1.22.4 at /home/noam/snap/flutter/common/flutter
    • Framework revision 1aafb3a8b9 (3 weeks ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /home/noam/Android/Sdk
    • Platform android-30, build-tools 29.0.2
    • Java binary at: /home/noam/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[!] Android Studio
    • Android Studio at /home/noam/android-studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.51.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.17.0

[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

Note that the flutter and dart plugins are installed in android studio. This seems like a separate bug.

ma 7.12.2020 klo 8.15 Noam Yorav-Raphael<EMAIL_ADDRESS>kirjoitti:

Steps to Reproduce
Open android studio.
File -> New -> New Flutter Project.
Flutter application.
Flutter SDK path: /home/noam/snap/flutter/common/flutter
package name: com.example.testapp.
Include Kotlin and Swift.
VCS -> Import into version control -> Create git repository.
VCS -> commit.
Click the topmost checkbox, to select all 62 unversioned files.
Leave "code analysis" checked (the default).
Code analysis fails, with these errors and warnings:
/tmp/test_app/android/app/src/main/AndroidManifest.xml
Warning:(1, 2) Should set android:versionCode to specify the application version
Warning:(1, 2) Should set android:versionName to specify the application version
Error:(9, 23) Class referenced in the manifest, io.flutter.app.FlutterApplication, was not found in the project or the libraries
Error:(9, 34) Unresolved package 'app'
Error:(9, 38) Unresolved class 'FlutterApplication'
Error:(11, 23) Cannot resolve symbol '@mipmap/ic_launcher'
Error:(13, 27) MainActivity must extend android.app.Activity
Error:(15, 28) Cannot resolve symbol '@style/LaunchTheme'
Warning:(17, 13) Attribute hardwareAccelerated is only used in API level 11 and higher (current min is 1)
Warning:(18, 13) Attribute windowSoftInputMode is only used in API level 3 and higher (current min is 1)
Error:(25, 33) Cannot resolve symbol '@style/NormalTheme'
Error:(34, 33) Cannot resolve symbol '@drawable/launch_background'
/tmp/test_app/android/app/src/main/kotlin/com/example/test_app/MainActivity.kt
Error:(3, 19) Unresolved reference: embedding
Error:(5, 21) Unresolved reference: FlutterActivity
/tmp/test_app/android/build.gradle
/tmp/test_app/android/app/build.gradle
Error:(11, 15) Cannot resolve symbol 'GradleException'
Warning:(43, 26) Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the android.os.Build.VERSION_CODES javadoc for details.
/tmp/test_app/android/app/src/main/res/values/styles.xml
Error:(7, 47) Cannot resolve symbol '@drawable/launch_background'
Logs
Android Studio 4.1.1
Build #AI-201.87<IP_ADDRESS>53283, built on November 5, 2020
Runtime version: 1.8.0_242-release-1644-b3-6222593 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.4.0-53-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8
Registry: ide.new.welcome.screen.force=true,
external.system.auto.import.disabled=true
Non-Bundled Plugins: org.jetbrains.kotlin, Dart, io.flutter
Current Desktop: XFCE
[✓] Flutter (Channel stable, 1.22.4, on Linux, locale en_US.UTF-8)
• Flutter version 1.22.4 at /home/noam/snap/flutter/common/flutter

• Framework revision 1aafb3a8b9 (3 weeks ago), 2020-11-13 09:59:28 -0800

• Engine revision 2c956a31c0

• Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /home/noam/Android/Sdk

• Platform android-30, build-tools 29.0.2

• Java binary at: /home/noam/android-studio/jre/bin/java

• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

• All Android licenses accepted.

[!] Android Studio
• Android Studio at /home/noam/android-studio

✗ Flutter plugin not installed; this adds Flutter specific functionality.

✗ Dart plugin not installed; this adds Dart specific functionality.

• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.51.1)
• VS Code at /usr/share/code

• Flutter extension version 3.17.0

[!] Connected device
! No devices available

! Doctor found issues in 2 categories.
Note that the flutter and dart plugins are installed in android studio.
This seems like a separate bug.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/71825, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ4UBVKJ6YJ3PW6TFARI5YTSTRXHXANCNFSM4UP67YCA
.

Hi @noamraph
Please provide clear steps to reproduce the issue. Above you said to create a new project and import at the same time and it confuses me.
Thank you

Hi @pedromassangocode , it's "Import into version control -> create git repository". It's just initializes a git repository in the directory. You can replace this line with "git init ." in the terminal.
All that this does in to give a list of files to analyze. I just tried something else, which produces the same results:
Open android studio.
File -> New -> New Flutter Project.
Flutter application.
Flutter SDK path: /home/noam/snap/flutter/common/flutter
package name: com.example.testapp.
Include Kotlin and Swift.
Open the file android/app/src/main/AndroidManifest.xml
You see there are 8 errors and 4 warnings. They are listed above, namely:
Warning:(1, 2) Should set `android:versionCode` to specify the application version
Warning:(1, 2) Should set `android:versionName` to specify the application version
Error:(9, 23) Class referenced in the manifest, `io.flutter.app.FlutterApplication`, was not found in the project or the libraries
Error:(9, 34) Unresolved package 'app'
Error:(9, 38) Unresolved class 'FlutterApplication'
Error:(11, 23) Cannot resolve symbol '@mipmap/ic_launcher'
Error:(13, 27) `MainActivity` must extend android.app.Activity
Error:(15, 28) Cannot resolve symbol '@style/LaunchTheme'
Warning:(17, 13) Attribute `hardwareAccelerated` is only used in API level 11 and higher (current min is 1)
Warning:(18, 13) Attribute `windowSoftInputMode` is only used in API level 3 and higher (current min is 1)
Error:(25, 33) Cannot resolve symbol '@style/NormalTheme'
Error:(34, 33) Cannot resolve symbol '@drawable/launch_background'

In the above listing, you can see that there are errors in those files:
/tmp/test_app/android/app/src/main/AndroidManifest.xml
/tmp/test_app/android/app/src/main/kotlin/com/example/test_app/MainActivity.kt
/tmp/test_app/android/app/build.gradle
/tmp/test_app/android/app/src/main/res/values/styles.xml

That is because the directory you opened is not a valid Android app so the analyzer will not work. Make sure you open the android/ folder as an Android project to get the analyzer working.
Closing as this is not a valid issue.

Hi @pedromassangocode, I have this same problem, but I don't totally understand your answer. I can see this case is closed, so maybe replies to Closed cases are not allowed. For now, I have just unchecked Settings > Version Control > Commit > Before Commit > Perform code analysis, and now I can Commit the code no problem. Can you explain your answer please?

Hi @Eldot
When you want to modify an Android file and you want some autocomplete and analyzer support, you should open the /android directory on Android Studio. Otherwise you will get a lot of red lines as error/warnings because the project you opened is not a valid Android project.


Radio inline not working

Package
filament/forms
Package Version
v2.12.31
Laravel Version
v9.17.0
Livewire Version
v2.6
PHP Version
PHP 8.1.5
Bug description
Creating an inline radio button does not work as intended.
Radio::make('feedback')
    ->label('Do you like this post?')
    ->boolean()
    ->inline()

does lead up the the following output:

The wrapper seems to always receive the tailwind class grid-cols-1 no matter the amount of options given.
Steps to reproduce

Create a fresh resource
Insert a radio component with the inline method appended

Relevant log output
No response

Fixed by #2821.


Whisper could be significantly sped up O(1) complexity for aggregation.

Hello!
By increasing the redundancy in the data format - promote efficiency over disk space - whisper storage efficiency can be significantly improved.
When updating the lower archives currently one needs to recalculate and reaggregate all data in the upper archive.
If the data points included not only the value but also one (or multiple - as needed by the chosen aggregator) auxiliary field used by the aggregator, which would store depedning on the method whatever data is useful for it, updating the lower archives will be as easy as reading these values and updating them in O(1) complexity.
Since all updated will go down to all lower archives they will always be in sync.
This will currently only benefit the average method, but this is the most widely used right now, and opens up the possibility to add more complicated others as well (like squared average, etc.)
So instead of the current format which can be found at https://github.com/graphite-project/whisper/blob/master/whisper.py#L20,L26
While we're at it, we can also add a Magic identifier and a version information to the format.
I recommend this layout:

  # File = Header,Data
  #	Header = Magic, Version, Metadata,ArchiveInfo+
  #              Magic = "WHISPER"
  #              Version = Version information in ascii, 5 characters "01.00"
  #		Metadata = aggregationType,aggregationMetadataSize,   maxRetention,xFilesFactor,archiveCount
  #		ArchiveInfo = Offset,SecondsPerPoint,Points
  #	Data = Archive+
  #		Archive = Point+
  #			Point = timestamp,value, aggregationMetadata

aggregationMetadata will be of aggregationMetadataSize bytes length, and it's format will be speicific to the aggregation method chosen. The aggregationMetadataSize field is necessary so that code that does not know the aggreagtor method can still browse through the data in the archive.

There are a lot of installations of graphite out there and breaking older whisper files probably wouldn't make many of our users super keen. I'm not really sure how we could do this without breaking everything.

I believe you could implement a version field in the header by appending it after the archive info struct and updating the the data offsets accordingly in the archive info structs themselves. This would be backwards compatible and would allow the introduction of an arbitrary number of additional headers to be added.
Something like:
# File = Header,ExtendedHeaders,Data
#   Header = Metadata,ArchiveInfo+
#       Metadata = aggregationType,maxRetention,xFilesFactor,archiveCount
#       ArchiveInfo = Offset,SecondsPerPoint,Points
#       Version = versionInformation
#       ExtendedMetadata = aggregationMetadataSize
#   Data = Archive+
#       Archive = Point+
#           Point = timestamp,value

A conditional to check the distance between the archive 0 offset and the end of the header would enable newer clients to determine if they should use enhanced whisper functionality, or if they should fall back to legacy behavior (or throw an exception).
Modifying the data format is uglier because we can't rely on older clients being aware of anything but the offset into the data archive and the legacy pointFormat and pointSize values.

I'm reopening this because a significant perf gain is possible and may be possible to implement in a backwards compatible manner if we're clever about how its introduced. We can close this back out and reopen a larger issue on how to extend whisper if that is preferable.

:+1:  nice!

@jssjr: Want to take a stab at this?

I'm experimenting with some performance improvements for whisper.
@axos88 : If aggregated values are stored in an auxilary field then they don't need to be reaggregated. But what I don't understand is how this value in the auxilary field would be calculated?

My original thought as far as i remember is that the value can only be adjusted based on the new value (for a sum the new value can be added to the sum, for average both the avg and the count needs to be stored, and then new_value = orig_value * value_count + new_value / (value_count+1).

So you wouldn't need to iterate through all the values in O(n), but rather can update the aggregates in O(1)


ng build issue - Error: Your API key is invalid, please check you have copied it correctly.

angular/cli: 1.1.2
node: 6.10.3
os: linux x64
When the project is built and deployed using:
ng build --target=production --environment=anyenvironment
or
ng build --target=development --environment=anyenvironment --aot
I am getting the following error:
ERROR Error: Uncaught (in promise): Error: Your API key is invalid, please check you have copied it correctly.

My app currently runs fine with:
ng build --target=development --environment=prod
I have my project setup as documented here:
https://github.com/angular/angularfire2/blob/master/docs/1-install-and-setup.md
The only difference is I have a ts file that is generated on prebuild.
import * as generated from './generated';
export const environment = Object.assign(generated.environment, {
  firebase: {
    apiKey: '',
    authDomain: '',
    databaseURL: '',
    projectId: '',
    storageBucket: '',
    messagingSenderId: ''
  }
});

I am experiencing a similar issue with AOT builds...

I am experiencing this issue with AOT builds also.

The issue is that using Object.assign(...) makes the value not statically analyzable for the AOT compiler.


Default to sample...json as needed

Several of the models do not have included json config files.  For example, the English model points to a file specific to the creator's home directory which probably doesn't exist on most users' installations.  It would be great if, in such situations, elmo detected that the config being asked for is the sample one from the config and it tried to use that config.  That would save users the trouble of having to edit those files themselves.

Closed via https://github.com/HIT-SCIR/ELMoForManyLangs/pull/86   thanks!


bump vscode version

Bump vscode version

Pull Request Test Coverage Report for Build 254295722

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 38.944%

Totals

Change from base Build 254195448:
0.0%

Covered Lines:
19145

Relevant Lines:
44847

💛  - Coveralls

@alanrenmsft @Charles-Gagnon I don't have permissions to merge


Uploading session failed with this message

(userId = "JohanTerblanche", robotId = "SurveyBot", sessionId = "SurveyBotfcb17a", nodeId = "", bigDataKey = "", request = "", payload = "", error = "")
cc @Affie @GearsAD

I see during this push 42 messages failed to be processed - so it uploaded to queue but failed to process - I need to look at pushing this session. My test scenarios don't produce this, so I suggest we reinvigorate your LCMLog example and try make that the gold standard for testing your scenario?


[Request] Library Enchantment

Search function in Library. It's a pain to search a novel in the library when we have many novels there, like 100+.
The ability to set the default Category to be displayed when we open the app.
A function to download all novels in the library.
A function to generate .epub of all novels in the library using one button.

There are actually other suggestions but I forgot right now. When I remember it, I will open a new issue.

Yes I also want that
Yes, that would be nove
Do you want to DDOS the servers? No. If you are speaking about updating them, then you scroll down and "refresh"
You already generate the epub by just clicking on it, do you want to use this to export many novels at the same time to epub or just dont want to wait when you want to read?

I don't consider that thing when I write that. But couldn't you like add the to queue to download? Or a download button that visible in library so that we don't need to open it to download when you forgot to download them after adding it to library.
I want to export many novel at the same time to epub so that I don't need to generate it one by one.


Too Large Exception for data parcel

### When i use merchen logo then i get this issue for android version 8 and less version or on low memory devices
com.payment.paymentsdk.PaymentSdkActivity, giving up
android.os.TransactionTooLargeException: data parcel size 751684 bytes
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:763)
at android.app.IApplicationThread$Stub$Proxy.scheduleLaunchActivity(IApplicationThread.java:1282)
at com.android.server.am.ActivityStackSupervisor.realStartActivityLocked(ActivityStackSupervisor.java:1734)
at com.android.server.am.ActivityStackSupervisor.attachApplicationLocked(ActivityStackSupervisor.java:1152)
at com.android.server.am.ActivityManagerService.attachApplicationLocked(ActivityManagerService.java:9184)
at com.android.server.am.ActivityManagerService.attachApplication(ActivityManagerService.java:9254)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:291)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3863)
at android.os.Binder.execTransact(Binder.java:682)

This exception indicates that you logo is too large to be passed through bundle, so that we have overloaded this method to accept url instead of the drawable.
You can pass the logo url or its relative path and it will work correctly.

I checked all the possibilities with drawable image, in-fact i passed 4kb of image from drawable but the did not work.. It only work with almost new devices.

Yes, as it depends on different factors not just the logo size, so we
recommend passing url as it is more stable.
On Mon, Sep 20, 2021, 12:07 PM Mohsin Butt @.***> wrote:

I checked all the possibilities with drawable image, in-fact i passed 4kb
of image from drawable but the did not work.. It only work with almost new
devices.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/paytabscom/paytabs-android-library-sample/issues/28#issuecomment-922788135,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEIGPXUZ6GZW25EP2TSUSBDUC4BVBANCNFSM5ELMWYDA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Ok Thanks...


freecen2-session cookie does not expire

Cookie set by load balancer does not expire at end of session.

see also last comments on #226. that issue appears to be caused by load balancer not keeping a user on the server specified in the cookie.

On 4/4/17 20:37 GMT dougkdev wrote:

see also last comments on #226. that issue appears to be caused by load balancer not keeping a user on the server specified in the cookie.

Believed fixed. There was a problem with the cen1 / cen2 detection in
the HAProxy config, sorry!

Appears fixed on my test.
On 5 April 2017 at 08:29, lemon<EMAIL_ADDRESS>wrote:

On 4/4/17 20:37 GMT dougkdev wrote:

see also last comments on #226. that issue appears to be caused by load
balancer not keeping a user on the server specified in the cookie.

Believed fixed. There was a problem with the cen1 / cen2 detection in
the HAProxy config, sorry!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/FreeUKGen/FreeCENMigration/issues/227#issuecomment-291777835,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGC5BkhT_hYnM_k7iDaOOb2orWUSCQveks5rs0LRgaJpZM4Mqqxd
.

--
- -
Dr Pat Reynolds
Executive Director
Free UK Genealogy  http://www.freeukgenealogy.org.uk/
A Charitable Incorporated Organisation registered in England and Wales,
number 1167484
VAT registration: 233 0105 70
+44 1723 362616   +44 7943 145387
Westwood House,Westwood, Scarborough YO11 2JD, UK

Thanks!  Fix confirmed.


Search does not search in Notebook Cell metadata

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

VS Code Version:  N/A
OS Version:  N/A

Steps to Reproduce:

Install https://marketplace.visualstudio.com/items?itemName=ms-toolsai.vscode-jupyter-cell-tags#:~:text=Add a tag to the,clicking %2B Tag on the cell
Create a Jupyter Notebook
Add a cell tag using the command Add Cell Tag
Go into search and look for the tex you just added, nothing will appear in the search resutls
Open the notebook as a plain text file.
Now search and we get the results.

My goal was to find a particular tag and replace it with another, however find doesn't work in Notebook Cell metadata in VS Code.
The only solution was to write a script to search and replace the contents.
Or even worse (a though that did cross my mind), was to use another editor, but didn't as that would take longer than writing a script to rename the files back and forth.

Do you have search.experimental.closedNotebookRichContentResults enabled in this case? Additionally, is the notebook open?

Do you have search.experimental.closedNotebookRichContentResults enabled in this case?

Yes

Additionally, is the notebook open?

Yes,
Tried with it closed as well, and still didn't work
The only way it works is when you have the file opened as a plain text file (JSON view).

Can you perform the replace if you disable search.experimental.closedNotebookRichContentResults?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

Can you perform the replace if you disable search.experimental.closedNotebookRichContentResults

Will provide the info tomorrow

Also, would you expect the search view to show metadata?

yes, today notebook diff viewer shows the metadata

If the search showed non-metadata, how would you expect to disable this?

no idea

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

I added a feature request https://github.com/microsoft/vscode/issues/192012 to add a setting for turning off rich content notebook search so that you can search for metadata in all notebooks if you want to.


Add strings, structures, supershape fix, list_set

I'm a bit confused about why this says it can't merge and that I'm still behind after I updated.  But hopefully this works.  The changes include strings.scad, structs.scad, the supershapes fix in shapes2d and list_set, which is a dependency of the struct code.

You should be able to merge my master branch to your local copy, fix the conflict, commit it, then push it to your github fork.  Then the PR should lose the conflict.  I was going to try to fix it on the website, but their conflict resolution page seems broken.


Add function for creating events with custom data (this feature is documented but seems to be missing)

Description
The documentation found at https://dioxuslabs.com/docs/0.3/guide/en/interactivity/event_handlers.html#handler-props states:
Note: just like any other attribute, you can name the handlers anything you want!
Though they must start with on, for the prop to be automatically turned into an
EventHandler at the call site.

You can also put custom data in the event, rather than e.g. MouseData

Currently this seems to be incorrect as there is no straight forward way of creating events with custom data. This PR closes this gap between code and documentation by adding  a function (new_non_propagated_custom_event ) for creating custom events. Custom events of course will not be progagated down to parent components.
Why would we want this custom event feature?
Besides the point that it is documented already, this feature allows the user to create an event handler of unspecified type in a parent component that updates state in the parent. Without this we would need to implement an on_click event handler inside the parent for handling click events for some button that exists in a child or sub child component. When changing this child or sub child component to react to events other than button clicks one would need to go back to the parent component and modify the event handler there. This violates the separation of concerns.
See Example below for clarification:
#[inline_props]
 pub fn CustomComponent<'a>(cx: Scope<'a>, on_custom_event: EventHandler<'a, Event<String>>) -> Element<'a> {
     cx.render(rsx! {
         button {
             onclick: move |_| {
                 let tmp: Event<String> = Event::new_non_propagated_custom_event(String::from("test"));
                 on_custom_event.call(tmp);
             },
         }
     })
 }

pub fn Container(cx: Scope) -> Element {
     let current_string = use_state(cx, || "".to_string());
     cx.render(rsx! {
         CustomComponent {
             on_custom_event: move |e: Event<String>| {
                 current_string.set(e.data.as_ref().clone());
             },
        },
    })
 }

Ok so for the example above I could achieve the same thing by using an EventHandler<'a, T> instead of EventHandler<'a, Event<T>>?
With this change the example code from above would look something like this:
#[inline_props]
 pub fn CustomComponent<'a>(cx: Scope<'a>, on_custom_event: EventHandler<'a, String>) -> Element<'a> {
     cx.render(rsx! {
         button {
             onclick: move |_| {
                 on_custom_event.call(String::from("test"));
             },
         }
     })
 }

pub fn Container(cx: Scope) -> Element {
     let current_string = use_state(cx, || "".to_string());
     cx.render(rsx! {
         CustomComponent {
             on_custom_event: move |e: String | {
                 current_string.set(e);
             },
        },
    })
 }

Ok thanks, I will close this PR then. Feel free to add the snippet above to your documentation below the note "You can also put custom data in the event, rather than e.g. MouseData"


oauth2 Integrated,only Integrated jwt?

I don't want to use jwt, how to configure oauth2ResourceServer? I have not found an example to refer to.
@EnableWebFluxSecurity
public class WebSecurityConfig {
    @Bean
    SecurityWebFilterChain webFluxSecurityFilterChain(ServerHttpSecurity http) throws Exception {
        http.csrf().disable()
                .authorizeExchange()
                .anyExchange().authenticated()
                .and()
                .oauth2ResourceServer();
        return http.build();
    }
}

security:
  oauth2:
    resourceserver:
      auth:
        issuer-uri: http://<IP_ADDRESS>:12001
        user-authorization-uri: http://localhost:12001/oauth/authorize
        access-token-uri: http://localhost:12001/oauth/token

It does not request an authorization server,I don't know how to configure it, please help me.

Have you read https://cloud.spring.io/spring-cloud-static/Greenwich.SR2/single/spring-cloud.html#_client_token_relay_in_spring_cloud_gateway and looked at the sample linked in the docs?

I have read the documentation and examples and I have not found a solution.
I want gateway to be a resource server. But I didn't use jwt.

I solved it..
security:
  oauth2:
    client:
      registration:
        time:
          client-id: ****
          client-secret: ****
      provider:
        time:
          authorization-uri: http://<IP_ADDRESS>:12001/oauth/authorize
          token-uri: http://<IP_ADDRESS>:12001/oauth/token
          user-info-uri:  http://<IP_ADDRESS>:12001/oauth/current
          token-info-uri: http://<IP_ADDRESS>:12001/oauth/check_token

I got it wrong, now only supports jwt


Add a blocking hello_world server example.

A blocking server example to go along with the client will be helpful.

Hello! I'd like to take a shot at this issue.
I believe the new example can be placed in the file https://github.com/hyperium/tonic/blob/master/examples/helloworld-tutorial.md. I intend to use futures::executor::block_on  as executor, so as to make it blocking in nature.
Thanks.

@govardhangdg sounds good, you will still need to use the tokio runtime. So for that I would use https://docs.rs/tokio/0.2.13/tokio/runtime/struct.Runtime.html#method.block_on


Can Crank be run using CI/CD pipeline?

The problem I am facing when trying to run Crank in the pipeline is that one or the other is unrecognized out of two commands (crank and crank-agent).
I am using self hosted agents. Once the crank-agent is run, it keeps waiting for the job to be queued by the controller, and any following sequential commands in the same Agent pool would not get processed.
When I run the controller using another pool-agent, I have found that it sometimes doesn't recognize the command. And on other times, crank-agent is unrecognized.
So far, I have not been able to get both commands running at the same time.

The recommended architecture is to run the controller and agent on different machines, so they don't fight for resources that can affect the benchmark results and also allows you to run multiple scenarios at the same time (on multiple agents).
That said,  you can install both controller and agent within a single CI/CD pipeline:
dotnet tool install -g Microsoft.Crank.Controller --version "0.2.0-*"
dotnet tool install -g Microsoft.Crank.Agent --version "0.2.0-*"

And run the following PowerShell script that starts the agent in a new process (in the background), runs the specified scenarios and writes both agent log and benchmark results to disk:
# Ensure artifacts directory exists
New-Item -Path artifacts -ItemType Directory -Force | Out-Null

# Start agent
$agent = Start-Process "crank-agent" -PassThru -RedirectStandardOutput artifacts/agent.log -RedirectStandardError artifacts/agent-error.log

# Scenarios to run
$scenarios = @(
	"hello"
)

# Start benchmarks
foreach ($scenario in $scenarios)
{
	crank --config hello.benchmarks.yml --scenario "$scenario" --profile local --json "artifacts/$scenario.json"
}

# Stop agent
Stop-Process $agent

You can then upload these log/JSON files as artifacts, so they're available for further processing, etc.
I have this working as a proof of concept using GitHub Actions, but each run returns slightly different results and because the build servers are continually updated/upgraded, won't produce usable results that can be compared over a longer period (also see this relevant blog-post: Is GitHub Actions suitable for running benchmarks?).


Add feature to disable thread safety in bundled build

While I do see a sense in having thread safety by default when compiling sqlite, could we maybe allow to disable thread safety via feature?
P.s. I'm windows guy so it bundled build is always nice fore me

Currently, you can't disable thread safety because of this check.
Do you use rusqlite or libsqlite3-sys only ?

Ah... I should've been specific: I use only libsqlite3-sys through diesel.

See https://github.com/rusqlite/rusqlite/issues/1211#issuecomment-1656027096 for custom compilation flags.


Major Issue

People like me, who invested a lot of time and effort in making Videos for the BEAT Video Challenge are still waiting for an update, it's been almost a month since the winners should have been announced.
Your Website is still showing it: https://beat-video-challenge.com/
Here is the announcement on Twitter: https://twitter.com/beattoken/status/965320143164370944
Here is the announcement on Facebook: https://www.facebook.com/BeatToken/photos/a.145670419443566.1073741829.140626289947979/147856395891635/?type=3&theater
Many loyal community members like me feel like left behind, because we have been promoting Beat all over YouTube for you and there has been no update to the contest.

I contacted your support team more than a hundred times. I always get the same answer that they don't have an update. Can you please escalate this? I am totally aware that Git Hub is not the right place for this, but I ran out of options. I contacted every of your telegram admins, I sent emails, I posted comments on social media, I sent LinkedIn messages to Daniel, I have the feeling that this contest gets ignored on purpose because you don't want to pay out the prize money that was promised.


[ERROR] RuntimeError: CUDA out of memory.

Hi everyone. I have run this project passing lidar data from semantickitti to the project. I am using an nvidia GPU that is 2GB, and I am getting the following error
Namespace(config_path='config/semantickitti.yaml', demo_folder='test', demo_label_folder='', save_folder='/home/adrianpanoimagen/Cylinder3D/saves')
[480 360  32]
matched parameter sets: 274, and no matched: 0
Traceback (most recent call last):
  File "demo_folder.py", line 151, in <module>
    main(args)
  File "demo_folder.py", line 109, in main
    predict_labels = my_model(demo_pt_fea_ten, demo_grid_ten, demo_batch_size)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/spconv/dist/Cylinder3D/network/cylinder_spconv_3d.py", line 42, in forward
    coords, features_3d = self.cylinder_3d_generator(train_pt_fea_ten, train_vox_ten)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/spconv/dist/Cylinder3D/network/cylinder_fea_generator.py", line 77, in forward
    processed_cat_pt_fea = self.PPmodel(cat_pt_fea)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/container.py", line 117, in forward
    input = module(input)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/batchnorm.py", line 136, in forward
    self.weight, self.bias, bn_training, exponential_average_factor, self.eps)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/functional.py", line 2016, in batch_norm
    training, momentum, eps, torch.backends.cudnn.enabled
RuntimeError: CUDA out of memory. Tried to allocate 268.00 MiB (GPU 0; 1.95 GiB total capacity; 678.95 MiB already allocated; 184.75 MiB free; 720.00 MiB reserved in total by PyTorch)

I wanted to do these three things, but unfortunately I am not sure how I can do them. They are as follows:
1-Reduce batch-size. This I have tried to do from semantic-kitti.yaml, going down from 2 to 1, but I don't know if that is what I have to modify, since the result I get is the same.
2-Clear the pytorch cache. I don't know how to do this, since I try to do it from the python console and I don't get anything.
3-Indicate cpu to pytorch, instead of using the graphics card. I have tried modifying "demo_folder.py" and putting this pytorch_device = torch.device ("cpu"), but nothing changes. can anybody help me? Thanks

It is better to increase your GPU memory. 2GB is too small for the modern networks, especially for the large-scale point clouds.


Code-sign Microsoft.AspNetCore.AspNetCoreModule and V2 packages

These packages are currently excluded from code signing, but they should be included, even though they are only used internally and don't go to nuget.org.

Attempting to trigger PR validation by closing/re-opening/

GitHub webhooks aren't firing today. https://status.github.com/
@dotnet-bot test this please


minor: remove unused mut

r? @weihanglo
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 73c79c7821515b9e75868b64c107a4e83d7888dd has been approved by Eh2406
It is now in the queue for this repository.

:hourglass: Testing commit 73c79c7821515b9e75868b64c107a4e83d7888dd with merge 8882d993f31957a726878d61e8fc7962e2bf630d...

:sunny: Test successful - checks-actions
Approved by: Eh2406
Pushing 8882d993f31957a726878d61e8fc7962e2bf630d to master...


No serial console after 'reset to factory defaults' in Console Menu

Under System: Settings: Admin Access: Serial Communications, Serial Terminal is not enabled by default.

Which install version/flavour did you use?

Installed appliance with OPNsense 15.1.9, updated to <IP_ADDRESS>.

Indeed, the standard config from the install media is replaced by the update. I'll take care of this for <IP_ADDRESS>.


Player can't join the server after enabling auto recording

Players can't join the server after enabling auto recording, the problem seems to be "tried to get player before player joined"?
Here is the server log, some date, time, player name and IP address are replaced but I believe this is still useful
[Server] [HH:MM:SS] [User Authenticator #1/INFO]: UUID of player PlayerName is xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[Server] [HH:MM:SS] [Netty Server IO #1/INFO]: Started replay for PlayerName
[Server] [HH:MM:SS] [Server thread/INFO]: PlayerName[/xxx.xxx.x.xxx:xxxx] logged in with entity id xx at (xxx.xxxxxxxxxxxxx, xx.xxxxxxxxxxxxx, xxx.xxxxxxxxxxxxx)
[Server] [HH:MM:SS] [Server thread/INFO]: [Essential Commands] Loading PlayerData for player with uuid 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'.
[Server] [HH:MM:SS] [Server thread/ERROR]: Couldn't place player in world
[Server] java.lang.IllegalStateException: Tried to get player before player joined
[Server]        at me.senseiwells.replay.player.PlayerRecorder.getPlayerOrThrow(PlayerRecorder.kt:75) ~[ServerReplay-1.1.2+mc1.20.4.jar:?]
[Server]        at me.senseiwells.replay.player.PlayerRecorder.getLevel(PlayerRecorder.kt:50) ~[ServerReplay-1.1.2+mc1.20.4.jar:?]
[Server]        at me.senseiwells.replay.util.ReplayOptimizerUtils.optimiseEntity(ReplayOptimizerUtils.kt:115) ~[ServerReplay-1.1.2+mc1.20.4.jar:?]
[Server]        at me.senseiwells.replay.util.ReplayOptimizerUtils.optimisePackets(ReplayOptimizerUtils.kt:79) ~[ServerReplay-1.1.2+mc1.20.4.jar:?]
[Server]        at me.senseiwells.replay.recorder.ReplayRecorder.record(ReplayRecorder.kt:185) ~[ServerReplay-1.1.2+mc1.20.4.jar:?]
[Server]        at net.minecraft.class_8609.handler$ece000$server-replay$onPacket(class_8609.java:3529) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.class_8609.method_52391(class_8609.java) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.class_3244.method_52391(class_3244.java:11051) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.class_8609.method_14364(class_8609.java:113) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.class_3324.method_14596(class_3324.java:648) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.class_3324.method_14576(class_3324.java:551) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.class_3324.method_14570(class_3324.java:198) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.class_8610.method_52408(class_8610.java:128) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.class_8736.method_53043(class_8736.java:20) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.class_8736.method_11054(class_8736.java:7) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.class_2600.method_11072(class_2600.java:24) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.class_3738.run(class_3738.java:18) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.class_1255.method_18859(class_1255.java:156) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.class_4093.mixinextras$bridge$method_18859$5(class_4093.java) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.class_4093.wrapOperation$cgn000$carpet-tis-addition$yeetUpdateSuppressionCrash_implForThreadExecutorTaskExecuting(class_4093.java:570) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.class_4093.method_18859(class_4093.java:23) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.server.MinecraftServer.method_24306(MinecraftServer.java:797) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.server.MinecraftServer.method_18859(MinecraftServer.java:165) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.class_1255.method_16075(class_1255.java:130) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.server.MinecraftServer.method_20415(MinecraftServer.java:779) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.server.MinecraftServer.method_16075(MinecraftServer.java:773) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.class_1255.method_18857(class_1255.java:139) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.server.MinecraftServer.method_16208(MinecraftServer.java:758) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:687) ~[server-intermediary.jar:?]
[Server]        at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270) ~[server-intermediary.jar:?]
[Server]        at java.lang.Thread.run(Thread.java:1583) ~[?:?]
[Server] [HH:MM:SS] [Server thread/INFO]: PlayerName lost connection: Invalid player data
[Server] [HH:MM:SS] [Server thread/INFO]: PlayerName left the game
[Server] [HH:MM:SS] [pool-8-thread-1/INFO]: Starting to save replay PlayerName, please do not stop the server!
[Server] [HH:MM:SS] [pool-8-thread-1/INFO]: Successfully closed replay PlayerName and saved to .\recordings\players\PlayerName\YYYY-MM-DD--HH-MM-SS.mcpr, compressed to xx.x KiB

try disable optimize_entity_packets
seems like this setting conflict with lithium

i met this issue before


create_user command uses same avatar as fixtures

The collab fixtures use default.jpg for the sample avatar, but the create_user management command uses default1.jpg.  Let's make both of these use the same sample avatar.

:+1: looks good


cmake on Win64 sets wrong target_type

When running cmake on Cygwin on Win64 I frequently get the error message
install Library TARGETS given no DESTINATION!

This is because https://github.com/28msec/zorba/blob/master/cmake_modules/ZorbaModule.cmake#L281 only has a rule for WIN32 but not for 64-bit Windows. On 64-bit Windows, the target_type also has to be RUNTIME.

… or alternatively one has to change the corresponding case condition from IF (WIN32) to IF (WIN32 OR CYGWIN).


Issue with Getting SSO User and Password with Get-VcenterServerDetail

Code of Conduct

[X] I have read and agree to the Code of Conduct.
[X] Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
[X] Do not leave "+1" or other comments that do not add relevant information or questions.
[X] If you are interested in working on this issue or have submitted a pull request, please leave a comment.

VMware Cloud Foundation
4.2.1
Module Version
2.1.0
PowerShell Version
5.1
PowerCLI Version
13.0.0
PowerVCF Version
2.2.0
Guest Operating System
Windows Server 2019
Environment Details
No response
Description
Running Health Report Failing
Error or Debug Output
Try to run the  PowerVCF for Report for Health check it gives the following error:
04-04-2023_14:31:20] INFO Starting the process of creating a Health Report for VMware Cloud Foundation instance (xxxxxxxxxxxxxxxx).
[04-04-2023_14:31:20] INFO Setting up the log file to path D:\vcfreport\logs\Invoke-VcfHealthReport-04-04-2023_02_31_20.log.
[04-04-2023_14:31:20] INFO Setting up report folder and report D:\vcfreport\HealthReports\04-04-2023_02_31_20-xxxxxx.htm.
[04-04-2023_14:31:20] INFO Running an SoS Health Check for VMware Cloud Foundation instance (xxxxxxxxxxx), process takes time.
[04-04-2023_14:31:37]   Error at Script Line 857
[04-04-2023_14:31:37]   Relevant Command: Invoke-SddcCommand -server $server -user $user -pass $pass -vmUser root -vmPass $rootPass -command $command | Out-Null
[04-04-2023_14:31:37]   Error Message: Cannot validate argument on parameter 'user'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command ag
ain.
[04-04-2023_14:31:37] INFO Generating the Service Health Report using the SoS output for VMware Cloud Foundation instance (xxxxxxxxx).
[04-04-2023_14:31:37]   Error at Script Line 125
[04-04-2023_14:31:37]   Relevant Command: $serviceHtml = Invoke-Expression "Publish-ServiceHealth -json $jsonFilePath -html $($failureOnlySwitch)"; $reportData += $serviceHtml
[04-04-2023_14:31:37]   Error Message: Missing an argument for parameter 'json'. Specify a parameter of type 'System.String' and try again

Expected Behavior
Execute without a failure
Actual Behavior
Fails to connect to vCenter Server as the $vcfVcenterDetails variable contains blank values for ssoUser and ssoPassword
Steps to Reproduce
Invoke-VcfHealthReport -sddcManagerFqdn "xxxxxxxxx" -sddcManagerUser<EMAIL_ADDRESS>-sddcManagerPass "XXXXXXX" -sddcManagerRootPass "XXXXXX" -reportPath "D:\vcfreport" -allDomains
Log Fragments and Files
No response
Screenshots
No response
References
No response

Closed with PRL https://github.com/vmware-samples/power-validated-solutions-for-cloud-foundation/pull/233


workflows: aks: bump timeout to 60m

Some test runs are timing out as each of the 2 connectivity test runs takes about 18/19 minutes. So bump the timeout to 1 hour.

I was coming here to see if someone had already opened this PR :sweat_smile:


Historical usage statistics

Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
v3.0.2
Expected behaviour:
Usage statistics for users and plans show date for a period of up to 12 months. Institutions would like to see usage statistics for longer periods e.g. 2019, for period x. They would like to compare annual data, e.g. 2019 vs 2020.
Actual behaviour:
Currently, usage statistics available are:

number of users joined last year, shown in a bar chart, bar per month, for a period of up to one year
number of plans during last year, shown in a bar chart, bar per month, for a period of up to one year
number of plans by template, shown in a horizontal bar, and timeline can be selected via drop-down box for a period of up to one year.

Steps to reproduce:
Login as administrator and view Usage page

A similar issue has been raised on the DMPonline board, https://github.com/DigitalCurationCentre/DMPonline-Service/issues/538 .
I'm raising it on Roadmap because the Usage (statistics) should be improved overall.

This issue arose out of the 2020 Usability Testing exercise


zero-size array to reduction operation minimum which has no identity

[CameraMatrix_L =
[[2756.143    0.     521.702]
 [   0.    2812.585  327.337]
 [   0.       0.       1.   ]]

CameraMatrix_R =
[[1670.954    0.    1205.327]
 [   0.    2524.826  254.341]
 [   0.       0.       1.   ]]

RotationStereo =
[[ 0.975  0.044 -0.217]
 [-0.031  0.998  0.062]
 [ 0.219 -0.054  0.974]]

TranslationStereo =
[[-11.733]
 [ -2.918]
 [ 12.289]]

DistCoeffStereo_L =
[[  -1.132 -135.598   -0.015   -0.123 6468.129]]

DistCoeffStereo_R =
[[-3.015  2.26  -0.001 -0.877 -7.401]]

Q =
[[    1.        0.        0.    -7785.808]
 [    0.        1.        0.      842.122]
 [    0.        0.        0.    16191.828]
 [    0.        0.        0.058    -0.   ]]

Left MSE: 0.185031
Right MSE: 0.185031
Overall MSE: 0.242667 (8 image pairs)

Traceback (most recent call last):

  File "C:\Users\rotim\AppData\Local\Programs\Python\Python37\lib\site-packages\spyder_kernels\py3compat.py", line 356, in compat_exec
    exec(code, globals, locals)

  File "c:\users\rotim\desktop\stereo path planning\stereo-camera-path-planning\calibration.py", line 124, in <module>
    plt.subplot(223); plt.imshow(img11); plt.title('ROI_L: ' + str(img11.shape))

  File "C:\Users\rotim\AppData\Local\Programs\Python\Python37\lib\site-packages\matplotlib\_api\deprecation.py", line 456, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\rotim\AppData\Local\Programs\Python\Python37\lib\site-packages\matplotlib\pyplot.py", line 2647, in imshow
    **kwargs)

  File "C:\Users\rotim\AppData\Local\Programs\Python\Python37\lib\site-packages\matplotlib\_api\deprecation.py", line 456, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\rotim\AppData\Local\Programs\Python\Python37\lib\site-packages\matplotlib\__init__.py", line 1412, in inner
    return func(ax, *map(sanitize_sequence, args), **kwargs)

  File "C:\Users\rotim\AppData\Local\Programs\Python\Python37\lib\site-packages\matplotlib\axes\_axes.py", line 5488, in imshow
    im.set_data(X)

  File "C:\Users\rotim\AppData\Local\Programs\Python\Python37\lib\site-packages\matplotlib\image.py", line 724, in set_data
    if self._A.min() < 0 or high < self._A.max():

  File "C:\Users\rotim\AppData\Roaming\Python\Python37\site-packages\numpy\ma\core.py", line 5701, in min
    axis=axis, out=out, **kwargs).view(type(self))

  File "C:\Users\rotim\AppData\Roaming\Python\Python37\site-packages\numpy\core\_methods.py", line 44, in _amin
    return umr_minimum(a, axis, None, out, keepdims, initial, where)

ValueError: zero-size array to reduction operation minimum which has no identity

Calibration file
Currently that is the error i'm getting. i narrowed it down to the remap function which plots black pixels for img1 and img2.
Please will need help moving forward, thank you

try changing the image search window from (5,5) to (3,3)