Optimize HTML's Breakdown performance

Signed-off-by: baebae33<EMAIL_ADDRESS>What has changed
Hi, Im not good at React. But I've tried to optimize HTML's breakdown performance with kotlin-react-virtual. Please review my code.
Why was it changed
HTML report performs not well with large list.
Related issues
Html file is slow and stopping to respond https://github.com/spotify/ruler/issues/74

Thanks for taking the effort to create this PR!
Did you do an before-and-after comparison to see if (and by how much) this improves performance and to make sure virtualization works correctly? I thought that we'd need to introduce a scrolling container for that because fully-height visualization doesn't seem to be supported?

Thanks for taking the effort to create this PR!
Did you do an before-and-after comparison to see if (and by how much) this improves performance and to make sure virtualization works correctly? I thought that we'd need to introduce a scrolling container for that because fully-height visualization doesn't seem to be supported?

Yes. Here's my test result.
Test Code:
@RFunction
fun RBuilder.breakdown(components: List<AppComponent>, sizeType: Measurable.SizeType) {
    val newList = arrayListOf<AppComponent>()
    repeat(300) {
        newList.addAll(components)
    }
    h4(classes = "mb-3") { +"Breakdown (${newList.size} components)" }
    div(classes = "row") {
        componentList(newList, sizeType)
    }
}

Before
The page takes 4s to display.
ruler.before.html

Alfter
ruler.alfter.html
The page  is displayed immediately.

But there're some new problems:

It take much more time (almost 40s) to complete the loading of  the whole page.
It takes more time when show/hide files in component than before.

Is this the cost of using react-virtual?

I'm no react-virtual expert either (or frontend at all for that matter), but it sounds weird that loading the whole page takes longer and that showing/hiding files is also affected. We should definitely see what is causing this before we merge.
One hunch - we're setting size = components.size, should that actually be the count of elements or should it be the total size in pixels?

I'm no react-virtual expert either (or frontend at all for that matter), but it sounds weird that loading the whole page takes longer and that showing/hiding files is also affected. We should definitely see what is causing this before we merge.
One hunch - we're setting size = components.size, should that actually be the count of elements or should it be the total size in pixels?

According to :
https://tanstack.com/virtual/v3/docs/guide/introduction
https://github.com/wellyshen/react-cool-virtual/blob/56d53ff73dd92bf0cf3131a77b855b39437446d4/examples/real-time-resize/Row.js
I tried some example and find it's difficult to use accordion or collapsed in react-virtual. I guess that accordion height must be changed dynamically.

Could be. If that's the case I'd rather not use it though if it doesn't really work with our structure. Maybe we can find another solution to fix the performance problems for large projects, something like a paginated table instead of an accordion maybe 🤔


Update README.md

As a developer
I need to provide concise instructions on what calls are available, what inputs users can expect, and how to run and test the code
So that I can ensure that users of my code have a clear understanding of its functionality and how to use it.
Details and Assumptions

We will update README.md file

Acceptance Criteria
Given I update the README.md file
When I view the repo
Then I should be able to understand how the code works and how to use it effectively

Will be used mainly to describe RESTful APIs


fix-CNV-30260: KubeVirt: fix failed conformance test

What this PR does / why we need it
The "[sig-arch] Managed cluster should only include cluster daemonsets that have maxUnavailable or maxSurge update of 10 percent or maxUnavailable of 33 percent [Suite:openshift/conformance/parallel]" conformance test is failing.
The kubevirt-csi-node DaemonSet in the KubeVirt gueest cluster is with wrong configurations: spec.updateStrategy.rollingUpdate.maxUnavailable must not be > 10%, but was 1.
This PR set it to  %10.
Fixes CNV-30260
Checklist

[x] Subject and description added to both, commit and PR.
[x] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/test e2e-aws

/retest

/retest


use defaults when host, port, or base == None

This permits the caller to request the default value explicitly
by pasing None to either host, port, or base when instantiating
ipfsApi.client.Client.
Closes #7

Thanks for the pr, makes sense.


Strange error when training process stops

See my output:
Streaming logs of the job train-tqdm-demo-jan21-base
neuro exec --no-key-check -T train-tqdm-demo-jan21-base "tail -f /output" || echo -e "Stopped streaming logs.\nUse 'neuro logs <job>' to see full logs."
Warning: Permanently added 'ssh-auth.neuro-ai-public.org.neu.ro,<IP_ADDRESS>' (ECDSA) to the list of known hosts.
Starting SSH server
Long process starts...
 98%|█████████▊| 980/1000 [00:09<00:00, 98.49it/s]command terminated with exit code 137
-e Stopped streaming logs.
Use 'neuro logs <job>' to see full logs.

outdated


Default resource parameter is only created on ModelReference on save, not when entity is added

Repro steps:

add ModelReference entity without default parameter checkbox ticked
resource parameter is not added, and there is no option to add it
save the commands
resource parameter is added

Classing as fixed in staging - you can now add RESOURCE parameter types, which solves the issue if not auto populating.


Rancher Install Fails on calling "validate.nginx.ingress.kubernetes.io" Webhook on RKE Clusters With 1.22.4-rancher1-1

Rancher Server Setup

Rancher version: 2.6.3
Installation option:

Helm Chart (RKE1): v1.22.4-rancher1-1

Proxy/Cert Details: LetsEncrypt

Information about the Cluster

Kubernetes version: 1.22.4
Cluster Type (Local/Downstream): Local

Describe the bug
Rancher 2.6.3 install fails on RKE cluster on K8s 1.22.4 with the following error: failed calling webhook "validate.nginx.ingress.kubernetes.io"
To Reproduce

Setup HA infrastructure + Requirements for RKE1 Local cluster (3+ Nodes, NLB, Security Groups with RKE1-specific ports, etc)
Use terraform-rke-provider to setup RKE1 cluster using K8s version 1.22.4-rancher1-1
Use terraform helm provider to install Cert-Manager
i. Wait for cert-manager to be fully deployed and active
[Error here] Use terraform helm provider to install Rancher [Error here]
i. Wait for rancher to be fully deployed and active

Actual Result
Rancher 2.6.3 fails to install and errors with: failed calling webhook "validate.nginx.ingress.kubernetes.io"
Expected Result
Rancher should be installed successfully
Additional context
#33067

This isn't reproducible with kubernetes 1.19.x in Rancher 2.6.3

Same error for me on an air-gap install using my own certs (no cert-manager). I applied the --no-hooks option to the rancher helm chart deployment like the documentation says. It also happens in K8S 1.19, 1.20 and 1.21 for me. How did you get it to work with 1.19?

rke 1.3.3
rke terraform provider 1.3.0
rancher helm chart 2.6.3
helm terraform provider 2.4.1

We had the same error but we think that this not caused by rancher. As a workaround we added a 1 min sleep in between installation of cert-manager and rancher server and made helm install of rancher server dependent on sleep. Then we could install rancher server without problem.
Btw there is also a related issue in ingress-nginx repo and it looks like deleting the problematic ValidatingWebhookConfiguration is another workaround.

We had the same error but we think that this not caused by rancher. As a workaround we added a 1 min sleep in between installation of cert-manager and rancher server and made helm install of rancher server dependent on sleep. Then we could install rancher server without problem.
Btw there is also a related issue in ingress-nginx repo and it looks like deleting the problematic ValidatingWebhookConfiguration is another workaround.

thanks for that 1 min sleep idea! That fixed it for me too. Rancher installs correctly now and the ingress gets set up appropriately.

We had the same error but we think that this not caused by rancher. As a workaround we added a 1 min sleep in between installation of cert-manager and rancher server and made helm install of rancher server dependent on sleep. Then we could install rancher server without problem.
Btw there is also a related issue in ingress-nginx repo and it looks like deleting the problematic ValidatingWebhookConfiguration is another workaround.

thanks for that 1 min sleep idea! That fixed it for me too. Rancher installs correctly now and the ingress gets set up appropriately.

Confirmed on my end as well. Adding an extended sleep post cert-manager install (in addition to the wait recommended in the docs) allowed for Rancher to install successfully.


Update __awaiter to be more spec compliant

Updates the __awaiter helper to be closer to the spec. new Promise(resolve => resolve(value)) takes one turn more than Promise.resolve(value). However, we do not (and cannot) rely on the existence of Promise.resolve down-level, so we do the next best thing and test value instanceof P (where P may be a custom Promise-like constructor.
A similar change will need to be made to tslib, and is forthcoming.
Fixes #31552.

CC: @weswigham, @RyanCavanaugh (since I can't add reviewers)

Possibly, though we might be up to the whims of future spec changes and newer versions of node/v8.


Migrating.md doc clarifications

Added a few checks that were helpful here.
Added clarity around share.json key
Clean up of some markdown

Thanks for this cleanup!


Failing to schedule pod with default configuration

Description
After applying the jupyterhub on EKS blueprint I am able to access the home screen via port forwarding. I can then select one of the provided options to setup a server:

Data Engineering (CPU)
Trainium (trn1)
Inferentia (inf2)
Data Science ...
...

All of these options immediately fail with the same/similar error messages:
Server requested
2024-05-13T13:55:13.094920Z [Warning] 0/4 nodes are available: 4 node(s) didn't match Pod's node affinity/selector. preemption: 0/4 nodes are available: 4 Preemption is not helpful for scheduling..
2024-05-13T13:55:14Z [Warning] Failed to schedule pod, incompatible with nodepool "trainium", daemonset overhead={"cpu":"710m","memory":"740Mi","pods":"8"}, did not tolerate aws.amazon.com/neuroncore=true:NoSchedule; did not tolerate aws.amazon.com/neuron=true:NoSchedule; incompatible with nodepool "inferentia", daemonset overhead={"cpu":"710m","memory":"740Mi","pods":"8"}, did not tolerate aws.amazon.com/neuroncore=true:NoSchedule; did not tolerate aws.amazon.com/neuron=true:NoSchedule; incompatible with nodepool "gpu-ts", daemonset overhead={"cpu":"710m","memory":"740Mi","pods":"8"}, did not tolerate nvidia.com/gpu=:NoSchedule; incompatible with nodepool "gpu", daemonset overhead={"cpu":"710m","memory":"740Mi","pods":"8"}, did not tolerate nvidia.com/gpu=:NoSchedule; incompatible with nodepool "default", daemonset overhead={"cpu":"710m","memory":"740Mi","pods":"8"}, no instance type satisfied resources {"cpu":"2710m","memory":"8932Mi","pods":"9"} and requirements NodeGroupType In [default], NodePool In [default], hub.jupyter.org/node-purpose In [user], karpenter.k8s.aws/instance-family In [c5 m5 r5], karpenter.k8s.aws/instance-size In [16xlarge 24xlarge 2xlarge 4xlarge 8xlarge and 1 others], karpenter.sh/capacity-type In [on-demand spot], karpenter.sh/nodepool In [default], kubernetes.io/arch In [amd64] (no instance type met the scheduling requirements or had a required offering)
2024-05-13T13:55:23Z [Normal] pod didn't trigger scale-up: 1 node(s) didn't match Pod's node affinity/selector
2024-05-13T14:00:35.378113Z [Warning] 0/4 nodes are available: 4 node(s) didn't match Pod's node affinity/selector. preemption: 0/4 nodes are available: 4 Preemption is not helpful for scheduling..
Spawn failed: pod jupyterhub/jupyter-user1 did not start in 1200 seconds!

The documentation does not mention to customize any node labels. The only changes made to the blueprint were replacing the VPC module by a VPC data source and updating the references to the VPC module in the other terraform files.

[X] ✋ I have searched the open/closed issues and my issue is not listed.

Versions

Module version [Required]: v1.0.2

Terraform version: v1.8.3

Provider version(s):

+ provider registry.terraform.io/hashicorp/archive v2.4.0
+ provider registry.terraform.io/hashicorp/aws v5.49.0
+ provider registry.terraform.io/hashicorp/cloudinit v2.3.4
+ provider registry.terraform.io/hashicorp/helm v2.13.2
+ provider registry.terraform.io/hashicorp/kubernetes v2.30.0
+ provider registry.terraform.io/hashicorp/random v3.1.0
+ provider registry.terraform.io/hashicorp/time v0.11.1
+ provider registry.terraform.io/hashicorp/tls v4.0.5

Reproduction Code [Required]
Steps to reproduce the behavior:

Update the vpc.tf to use a VPC data source
Update references to the VPC module and specify the subnet to deploy the workloads to
terraform apply

Expected behavior

JupyterHub resources are created
JupyterHub is reachable
Starting a server (e.g. Data Engineering (CPU)) creates a pod on a matching node or provisions a new node

Actual behavior

JupyterHub resources are created
JupyterHub is reachable
Starting a server (e.g. Data Engineering (CPU)) fails

Terminal Output Screenshot(s)
Server requested
2024-05-13T13:55:13.094920Z [Warning] 0/4 nodes are available: 4 node(s) didn't match Pod's node affinity/selector. preemption: 0/4 nodes are available: 4 Preemption is not helpful for scheduling..
2024-05-13T13:55:14Z [Warning] Failed to schedule pod, incompatible with nodepool "trainium", daemonset overhead={"cpu":"710m","memory":"740Mi","pods":"8"}, did not tolerate aws.amazon.com/neuroncore=true:NoSchedule; did not tolerate aws.amazon.com/neuron=true:NoSchedule; incompatible with nodepool "inferentia", daemonset overhead={"cpu":"710m","memory":"740Mi","pods":"8"}, did not tolerate aws.amazon.com/neuroncore=true:NoSchedule; did not tolerate aws.amazon.com/neuron=true:NoSchedule; incompatible with nodepool "gpu-ts", daemonset overhead={"cpu":"710m","memory":"740Mi","pods":"8"}, did not tolerate nvidia.com/gpu=:NoSchedule; incompatible with nodepool "gpu", daemonset overhead={"cpu":"710m","memory":"740Mi","pods":"8"}, did not tolerate nvidia.com/gpu=:NoSchedule; incompatible with nodepool "default", daemonset overhead={"cpu":"710m","memory":"740Mi","pods":"8"}, no instance type satisfied resources {"cpu":"2710m","memory":"8932Mi","pods":"9"} and requirements NodeGroupType In [default], NodePool In [default], hub.jupyter.org/node-purpose In [user], karpenter.k8s.aws/instance-family In [c5 m5 r5], karpenter.k8s.aws/instance-size In [16xlarge 24xlarge 2xlarge 4xlarge 8xlarge and 1 others], karpenter.sh/capacity-type In [on-demand spot], karpenter.sh/nodepool In [default], kubernetes.io/arch In [amd64] (no instance type met the scheduling requirements or had a required offering)
2024-05-13T13:55:23Z [Normal] pod didn't trigger scale-up: 1 node(s) didn't match Pod's node affinity/selector
2024-05-13T14:00:35.378113Z [Warning] 0/4 nodes are available: 4 node(s) didn't match Pod's node affinity/selector. preemption: 0/4 nodes are available: 4 Preemption is not helpful for scheduling..
Spawn failed: pod jupyterhub/jupyter-user1 did not start in 1200 seconds!

@lusoal  @ratnopamc @askulkarni2 fyi..

Any ideas whether this even is a bug or an error on my side?

I have the same error. I'm following along the Gen AI  examples but I'm able unable to even run a single Llama2 model. I'm trying to run the models with EC2 inf2.8xl (two instances), and inf2-24xl (one instance) instances.
After typing kubectl get all -n llama2, I get the following:
`NAME                                            READY   STATUS    RESTARTS   AGE
pod/llama2-raycluster-fcmtr-head-bf58d          0/1     Pending   0          67m
pod/llama2-raycluster-fcmtr-worker-inf2-lgnb2   0/1     Pending   0          5m30s
NAME                       TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)                                         AGE
service/llama2             ClusterIP   <IP_ADDRESS>           10001/TCP,8000/TCP,8080/TCP,6379/TCP,8265/TCP   67m
service/llama2-head-svc    ClusterIP   <IP_ADDRESS>            8080/TCP,6379/TCP,8265/TCP,10001/TCP,8000/TCP   57m
service/llama2-serve-svc   ClusterIP   <IP_ADDRESS>            8000/TCP                                        57m
NAME                                        DESIRED WORKERS   AVAILABLE WORKERS   CPUS   MEMORY        GPUS   STATUS   AGE
raycluster.ray.io/llama2-raycluster-fcmtr   1                                   92    704565270Ki   0      ready    67m
NAME                       SERVICE STATUS   NUM SERVE ENDPOINTS
rayservice.ray.io/llama2   Restarting          2
`

For my specific case a look into the karpenter logs revealed that the subnets I wanted to use for the worker nodes were already owned by another EKS cluster, which is not allowed and therefore karpenter could not schedule any new nodes. Creating and assigning new subnets fixed the issue for me.


Officialize support Windows Server 2019

Windows Server 2019 was supported from its initial release,
as it was an incremental upgrade for the Windows Server 2016 version.

:white_check_mark: Build windows-openstack-imaging-tools 1.0.254 completed (commit https://github.com/cloudbase/windows-openstack-imaging-tools/commit/f374c5d282 by @ader1990)


Brokenness after v5 -> v6 upgrade

Output of the info page (if this is a bug)
Getting the status from the agent.

==============
Agent (v6.6.0)
==============

  Status date: 2018-11-13 10:11:43.329455 UTC
  Pid: 54636
  Python Version: 2.7.15
  Logs:
  Check Runners: 4
  Log Level: debug

  Paths
  =====
    Config File: /opt/datadog-agent/etc/datadog.yaml
    conf.d: /opt/datadog-agent/etc/conf.d
    checks.d: /opt/datadog-agent/etc/checks.d

  Clocks
  ======
    NTP offset: 3.235ms
    System UTC time: 2018-11-13 10:11:43.329455 UTC

  Host Info
  =========
    bootTime: 2018-07-18 04:05:18.000000 UTC
    kernelVersion: 16.7.0
    os: darwin
    platform: darwin
    platformVersion: 10.12.6
    procs: 292
    uptime: 2838h55m21s

  Hostnames
  =========
    hostname: darwin-build01
    socket-fqdn: darwin-build01.localdomain.
    socket-hostname: darwin-build01.localdomain
    hostname provider: configuration

=========
Collector
=========

  Running Checks
  ==============

    cpu
    ---
        Instance ID: cpu [OK]
        Total Runs: 45
        Metric Samples: 6, Total: 264
        Events: 0, Total: 0
        Service Checks: 0, Total: 0
        Average Execution Time : 0s

    disk
    ----
        Instance ID: disk [OK]
        Total Runs: 44
        Metric Samples: 30, Total: 1,320
        Events: 0, Total: 0
        Service Checks: 0, Total: 0
        Average Execution Time : 0s

    io
    --
        Instance ID: io [OK]
        Total Runs: 44
        Metric Samples: 39, Total: 1,689
        Events: 0, Total: 0
        Service Checks: 0, Total: 0
        Average Execution Time : 0s

    load
    ----
        Instance ID: load [OK]
        Total Runs: 44
        Metric Samples: 6, Total: 264
        Events: 0, Total: 0
        Service Checks: 0, Total: 0
        Average Execution Time : 4ms

    memory
    ------
        Instance ID: memory [OK]
        Total Runs: 44
        Metric Samples: 9, Total: 396
        Events: 0, Total: 0
        Service Checks: 0, Total: 0
        Average Execution Time : 4ms

    ntp
    ---
        Instance ID: ntp:b4579e02d1981c12 [OK]
        Total Runs: 44
        Metric Samples: 1, Total: 44
        Events: 0, Total: 0
        Service Checks: 1, Total: 44
        Average Execution Time : 0s

    uptime
    ------
        Instance ID: uptime [OK]
        Total Runs: 44
        Metric Samples: 1, Total: 44
        Events: 0, Total: 0
        Service Checks: 0, Total: 0
        Average Execution Time : 0s

  Loading Errors
  ==============
    agent_metrics
    -------------
      Core Check Loader:
        Check agent_metrics not found in Catalog

      JMX Check Loader:
        check is not a jmx check, or unable to determine if it's so

    apm
    ---
      Core Check Loader:
        Could not configure check APM Agent: APM agent disabled through main configuration file

      JMX Check Loader:
        check is not a jmx check, or unable to determine if it's so

    network
    -------
      Core Check Loader:
        Check network not found in Catalog

      JMX Check Loader:
        check is not a jmx check, or unable to determine if it's so

    openmetrics
    -----------
      Core Check Loader:
        Check openmetrics not found in Catalog

      JMX Check Loader:
        check is not a jmx check, or unable to determine if it's so

    prometheus
    ----------
      Core Check Loader:
        Check prometheus not found in Catalog

      JMX Check Loader:
        check is not a jmx check, or unable to determine if it's so

========
JMXFetch
========

  Initialized checks
  ==================
    no checks

  Failed checks
  =============
    no checks

=========
Forwarder
=========

  CheckRunsV1: 44
  Dropped: 0
  DroppedOnInput: 0
  Events: 0
  HostMetadata: 0
  IntakeV1: 3
  Metadata: 0
  Requeued: 0
  Retried: 0
  RetryQueueSize: 0
  Series: 0
  ServiceChecks: 0
  SketchSeries: 0
  Success: 91
  TimeseriesV1: 44

  API Keys status
  ===============
    API key ending with bcf96 on endpoint https://app.datadoghq.com: API Key valid

==========
Logs Agent
==========

  Logs Agent is not running

=========
DogStatsD
=========

  Checks Metric Sample: 4,552
  Event: 1
  Events Flushed: 1
  Number Of Flushes: 44
  Series Flushed: 4,003
  Service Check: 310
  Service Checks Flushed: 352

Describe what happened:

I am not getting network or disk io numbers out in the hosts page (they stopped appearing the very moment I upgraded from v5 to v6).
I have configured the prometheus-checks, but all I get is the loading errors above.

My config is at cat /opt/datadog-agent/etc/conf.d/prometheus.d/controller.yaml:
instances:
  # The prometheus endpoint to query from
  - prometheus_url: http://<IP_ADDRESS>:9100/metrics
    namespace: "build-server"
    metrics:
      - controller_*

Also tried creating one for openmetrics - in case you changed the Check names - but that didn't work either.
The Prometheus endpoint in question is being scraped fine by Prometheus.

Describe what you expected:
Getting the same machine-level metrics as with v5 + the configured prometheus data.
Steps to reproduce the issue:
Install v5 on MacOS, upgrade to v6 (DD_UPGRADE=true bash -c "$(curl -L https://raw.githubusercontent.com/DataDog/datadog-agent/master/cmd/agent/install_mac_os.sh)" ) and then plop in the Prometheus-files per https://www.datadoghq.com/blog/monitor-prometheus-metrics/ / https://docs.datadoghq.com/agent/prometheus/#custom-join.
Additional environment details (Operating System, Cloud provider, etc):
MacOS Sierra running in our office.
There is a prometheus-folder in /opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/prometheus/, but the python-files look rather empty, eg. prometheus.py:
# (C) Datadog, Inc. 2018
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
from datadog_checks.checks.prometheus import GenericPrometheusCheck

class PrometheusCheck(GenericPrometheusCheck):
    pass

Just to close off -- both the datadog-agent and our software used TCP ports 500x for services.
Changing the datadog config to use ports 600x solved the issues for us.


Implement two missing tests for RootHome

These tests are in root/home.spec.js, but are not yet implemented.

RootHome no longer exists, so I'm going to go ahead and close this issue. The two missing tests were:
describe('loading message', () => {
  it('shows the loading message until all three responses');
  it('immediately hides the loading message after an error');
});

We could do more around testing loading messages in general: we test our use of the Loading component in few places. We may wish to add more tests as part of #205.


I have fixed the requests for issue #19.

Sorry for the wait. I created another branch as you said but it's still showing all the previous commits that were made in the other branches.
I have fixed all the requests that you have made and finished writing the docstrings for all the files that were intended for them.

You had to switch to the main branch before making more changes

If you're going to merge your bot branch then I'll wait for you to do that first. I'll save the version I'm currently working on so then I can add the docstrings back to your new bot version. I hope it doesn't create too many issues.
I'll do what you said as well and add all the first requests to the previous PR because I've already completed those and there's no way to separate them now. Once you merge that request then I can add the requests for this PR and hopefully that should solve it.

Thanks again

You're welcome. Even though there are some issues with how I've submitted PR's and potential merge conflicts I think that it's a good learning experience so thank you for all your help.

Alright, @caidol I merged the Bot branch.

Would you mind if I close both these pull requests and completely start over? I have the old code with all requests completed so I can recreate my fork and then try to carefully create a branch for each changes to different files.


Fix NPE in spring-mvc

What does this PR do?
Fixes NPE when the spring mvc view name is null.
This is triggered when with opbeans-java with a simple curl http://localhost:8080/
java.lang.NullPointerException
        at co.elastic.apm.agent.impl.transaction.AbstractSpan.appendToName(AbstractSpan.java:331)
        at co.elastic.apm.agent.impl.transaction.AbstractSpan.appendToName(AbstractSpan.java:327)
        at co.elastic.apm.agent.springwebmvc.ViewRenderInstrumentation$ViewRenderAdviceService.beforeExecute(ViewRenderInstrumentation.java:72)
        at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:307)
        ....

[x] This is a bugfix

[ ] I have updated CHANGELOG.asciidoc
[ ] I have added tests that would fail without this fix

:grey_exclamation: Build Aborted

There is a new build on-going so the previous on-going builds have been aborted.

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-12-01T08:58:02.679+0000

Duration: 17 min 31 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
487

Skipped
0

Total
487

:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run benchmark tests : Run the benchmark tests.

run jdk compatibility tests : Run the JDK Compatibility tests.

run integration tests : Run the Agent Integration tests.

run end-to-end tests : Run the APM-ITs.

run windows tests : Build & tests on windows.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)


Enhance Error Messages

Clear and informative error messages are essential for a good user experience. We are looking for contributions that improve existing error messages, making them more descriptive and helpful for users. If you improve an error message, please create a new issue to describe the enhancements you’ve made and link it back to this general error message improvement issue.

take

Can someone please point out to me one error message that would be a good candidate for enhancing? Just so I have an idea of what to look for...

Hi @rpattekar, Absolutely!
For this one we welcome updates to existing error messages as well as introducing new error messages to the codebase.
I will post a few approaches here.

searching LOG.exception in the codebase
We have 20 results here which can likely be improved upon!:

searching try
We have ~100 try except loops but not all except blocks have logging currently.

searching LOG.error
We have 8 cases of LOG.error in the codebase that could likely be improved!

These are just starting places/ideas to consider for improving existing logging and adding more logging. We welcome any ideas to improve our error messages across the codebase! Thank you!

its a good idea to improve log statements in the code, can you please help me locate the console messages for this?

@vgauraha62 Definitely! In my message above I listed a few areas where log statements either exist or should be added. Is there anything else I can help to provide?


Building on iOS fails after npm install react-native-hockeyapp and rnpm link

I only ran the following 2 commands:
npm install --save react-native-hockeyapp
rnpm link
This all goes well. But then the IOS app (haven't tried Android) won't build anymore. I get the following error in Xcode:
node_modules/react-native-hockeyapp/ios/RNHockeyApp/RNHockeyApp.h:4:9: 'RCTBridgeModule.h' file not found
Any ideas? Really struggling to get it working.

It doesn't build because Header Search Paths for RNHockeyApp are not properly set after rnpm link.
You can get it to build by adding $(SRCROOT)/../../react-native/React to RNHockeyApp.xcodeproj in "Build Settings".

Seems there's more to do to get it working correctly (pod install removed the RNHockeyApp from my project)…
I don't really know what to do 🙄

Hmm, too bad. I can't get it working either with your fix. Maybe @martincik does know more.. I tried to get it working manually but without effect.

@fantattitude
@arthurvi
How I figured out with this on iOS:
Just like Facebook does it for react-native-fbsdk libs.

Removed Libraries folder, including React. (moved to Pods).
Added this podspec file to my repo. Hope this repo will have podspec soon.
Added to my Podfile:

  ...
  pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'Core',
    'RCTImage',
    # < other needed react libs here >
  ]

  # HockeySDK itself
  pod "HockeySDK"
  # And HockeySDK react binding
  pod 'react-native-hockeyapp', :path => '../node_modules/react-native-hockeyapp/ios'
  ...

pod install

And that is it. No additional steps needed for iOS

The way we've been using podfiles doesn't require each dev (or build machine) to have cocoapods installed. With this approach, pod install seems to be modifying the plugin inside of node_modules.  There's gotta be a better way to do this.
You might want to revert e9cd9b7 until this issue can be resolved

I've released new version 0.4.1 that is reverting this commit.


[Transformer] Overlay rotation around the X and Y axles

Thank you for the excellent work on the transformer! I've learned a lot by reading your code.
Use case description
At the moment, we can only rotate overlays around Z axles. It would be awesome if we could rotate around the other two axles.
Proposed solution
OverlayMatrixProvider is where the calculation happens. It looks very complicated and intimidating to me.

Thank you for the quick reply and explanation! The repo is full of precious code! I'll try those APIs and report back here if I can pull it off. :D


Add the new global theme and some local files for new theme

I addressed the issues you mentioned (and thanks for the comments), and I'll add the relevant changes to the theme as well.

The "Tag:" logic seems to be slightly broken. I tried to push a fix to this branch, but no access.

What's the issue/fix? I'm happy to do it so I can learn from doing so.

Other than that I see a couple minor issues we could fix before we publish it:

A way to turn off search until the docs goes live.
Same with News
Fix the links URLs in the header
"The Hugo Gopher is based on an original work by Renée French." I see no Gopher, so really no need for credit?
This may sound pity, but we've had this discussion before. The text "By spf13 and friends" should be changed to something more generic, ala "By the Hugo Authors". Steve is the founder, but that sentence does not capture the truth anymore.

As to the tag fix:
--- a/layouts/partials/pagelayout.html
+++ b/layouts/partials/pagelayout.html
@@ -6,7 +6,7 @@

             Hugo Themes
             {{ if not .context.IsHome -}}
-              ({{ with $.Data.Singular }}{{ . | humanize }}:{{ end }} {{ .context.Title }})
+              ({{ with $.context.Data.Singular }}{{ . | humanize -}}: {{ end }}{{ .context.Title }})
           {{- end }}

~

I'm not sure what you meant by this "Fix the links URLs in the header" though I may have done this as part of the other changes.

"The Hugo Gopher is based on an original work by Renée French." I see no Gopher, so really no need for credit?

It does show up on the 404 page and the home page, so I think it's better to leave in.

Yea, the Docs link pointed wrong, but now it is all good -- but now the images does not show up (i.e.  they exist, but does not show) ... Is this only me?

I see some related JS errors:
app.bundle.js:8 Uncaught Error: Error: No input element in the page matches #search-input
    at Function.value (app.bundle.js:8)
    at new e (app.bundle.js:8)
    at t (app.bundle.js:15)
    at Object.<anonymous> (app.bundle.js:1)
    at t (app.bundle.js:1)
    at Object.<anonymous> (app.bundle.js:1)
    at t (app.bundle.js:1)
    at app.bundle.js:1
    at app.bundle.js:1

Looks like the JS errors are because I removed search. I don't think that's the source of the image issue.

Oh, actually, I take that back. It might be related to the script because I'm lazy-loading the images. I think I'll take the simple way out and just hide the search box instead of not rendering it.

@bep I'm working on prev/next links. I can hold off and do in a different PR, if you like, though it shouldn't be more than a few minutes.

No need to do it in a different PR. Just shout my name when you feel all is done. No rush.

One more thing: There is a "flickering effect" when you load a new page -- like the images are loaded twice. I don't see this in the current theme site, and it looks kind of funky. Looks like some HTTP 301 from "//images" to "/images".

@bep I fixed the URLs but I think the flickering effect was caused by an animation delay* I had in there, which I removed, if you could let me know if it's improved.
* The animation is there because lazyloading shows the image title then the image, and I'd like it to be a smoother transition.

It looks perfect now, thanks.

But I think your sort change from Lastmod to Date is wrong.  We want the most recently updated themes first (we pick the dates from the Git commit log)

But I think your sort change from Lastmod to Date is wrong. We want the most recently updated themes first (we pick the dates from the Git commit log)

I was going to ping you in gitter about that. Wrong of me to unilaterally make that change. My thinking was that the previous/next links should be consistent with how the main page is loaded, and to my knowledge there's no way to make them order like that. It's slightly discombulating to go from the main page then flip through the single pages that are in a different order. Only slightly though, so whatever is best; I'm happy to revert that change.

and to my knowledge there's no way to make them order like that.

There is, but it is badly undocumented. Steve added a feature some years ago, but the API is fairly confusing. But whatever you do, sort by Lastmod.

Also: Having all the images in full width on the theme detail page is maybe not perfect. Look at http://localhost:1313/docuapi/

@bep I fixed the images. It was something I didn't understand about the css I was using.
I reverted the main page sorting. I took a glance around the Hugo repo and don't see anything about using prev/next in that context. Happy to take care of it if you can point me in the right direction.
Thanks for your assist on all these. Much appreciated.

@budparr just leave the next/prev as is, it is on my list of things to fix in Hugo, so let us not show some undocumented API to the world and then remove it in a month ...

I will not be able to do this tonight, but if you are happy with the current version (I will also take a quick lookover), I can do the merge and the adjustments to the scripts (we now have a submodule) and push the new version live tomorrow?
In an ideal world, we should maybe get all sites out at once, but I think it could be motivational to get things moving a little. There have been too much talk and little walk on Gitter.

Sounds good to me, thank you.


Set specs value the same as kernel API input

This partially revert #648 , after a second thought, I think we
should use specs value the same as kernel API input, see:
https://github.com/opencontainers/runtime-spec/issues/692#issuecomment-281889852
For memory and hugetlb limits *.limit_in_bytes, cgroup APIs take the values
as string, but the parsed values are unsigned long, see:
https://github.com/torvalds/linux/blob/v4.10/mm/page_counter.c#L175-L193
For cpu.cfs_quota_us and cpu.rt_runtime_us, cgroup APIs take the input
value as signed long long, while cpu.cfs_period_us and cpu.rt_periof_us
take the input value as unsigned long long.
Signed-off-by: Qiang Huang<EMAIL_ADDRESS>

LGTM

LGTM


No validation for UUIDs

There is not validator for UUIDs.
Can we add one?

Yes, should be very simple. I meant to but hadn't got round to it.
Should be as simple as adding a method here. Want to submit a PR?

I'll add it to my todo list :)

I tried another solution because I wanted to use strings (input & output). see https://github.com/samuelcolvin/pydantic/compare/master...mgu:add-type-uuidstr
But this also could be done by adding a validator for uuid.UUID in validators.py.
I don't know what is the best solution

Hi guys, this should be fixed in #89. Would be great if you could review and let me know if this works for you.
@mgu, I understand what you mean by wanting to use strings, but since python has the UUID type and  I'm trying where possible to use the python type where it exists I've that. For almost any real life application UUID(...) duck types to a string so it shouldn't be a problem.


adds support for 'chunkm core::query --plugins loaded'

➜  ~  chunkc core::query --plugins loaded
bitbar_notifier.so,border.so,ffm.so,tiling.so

My use case: My bitBar plugin currently has to have two separate actions to control FFM (enable and disable, as there's no way to detect if FFM is loaded). This allows it to use a single line.
Without the plugin query: https://github.com/aerickson/bitbar-chunkwm_skhd
With the plugin query: https://github.com/aerickson/bitbar-chunkwm_skhd/tree/single_ffm_entry
I'm willing to rewrite this any way you'd like.
Thanks for the awesome program. :)

I can see how this information would be useful, but I'm not sold on this specific way of doing it.
I will try to find some time soon to implement this feature in some way.


[BUG] Demo: Error 500 when accessing Widget assemblies

In the demo, clicking on "Widget Assembly" and "Widget Assembly Variants" parts result in 500 server error.

Traceback (most recent call last):

File "/home/inventree/.local/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/home/inventree/.local/lib/python3.8/site-packages/django/views/generic/base.py", line 70, in view
return self.dispatch(request, *args, **kwargs)

File "/home/inventree/.local/lib/python3.8/site-packages/django/contrib/auth/mixins.py", line 104, in dispatch
return super().dispatch(request, *args, **kwargs)

File "/home/inventree/.local/lib/python3.8/site-packages/django/views/generic/base.py", line 98, in dispatch
return handler(request, *args, **kwargs)

File "/home/inventree/.local/lib/python3.8/site-packages/django/views/generic/detail.py", line 107, in get
context = self.get_context_data(object=self.object)

File "/home/inventree/InvenTree/part/views.py", line 397, in get_context_data
ctx = self.get_pricing(self.get_quantity())

File "/home/inventree/InvenTree/part/views.py", line 413, in get_pricing
ctx = PartPricing.get_pricing(self, quantity, currency)

File "/home/inventree/InvenTree/part/views.py", line 1232, in get_pricing
purchase_price = part.get_bom_price_range(quantity, purchase=True)

File "/home/inventree/InvenTree/part/models.py", line 1716, in get_bom_price_range
prices = item.sub_part.get_price_range(q * i, internal=internal, purchase=purchase)

File "/home/inventree/InvenTree/part/models.py", line 1760, in get_price_range
purchase_price = self.get_purchase_price(quantity)

File "/home/inventree/InvenTree/part/models.py", line 1835, in get_purchase_price
prices = [convert_money(item.purchase_price, currency).amount for item in self.stock_items.all() if item.purchase_price]

File "/home/inventree/InvenTree/part/models.py", line 1835, in <listcomp>
prices = [convert_money(item.purchase_price, currency).amount for item in self.stock_items.all() if item.purchase_price]

File "/home/inventree/.local/lib/python3.8/site-packages/djmoney/contrib/exchange/models.py", line 108, in convert_money
amount = value.amount * get_rate(value.currency, currency)

File "/home/inventree/.local/lib/python3.8/site-packages/djmoney/contrib/exchange/models.py", line 49, in get_rate
result = _get_rate(source, target, backend)

File "/home/inventree/.local/lib/python3.8/site-packages/djmoney/contrib/exchange/models.py", line 60, in _get_rate
raise MissingRate("Rate %s -> %s does not exist" % (source, target))

djmoney.contrib.exchange.exceptions.MissingRate: Rate USD -> EUR does not exist

This will need to be fixed before release!

Found another: https://demo.inventree.org/part/85/

Error is gone now, must have been as a result of someone changing a setting on the server?

@SchrodingersGat maybe we should restrict changes on that install?


<EMAIL_ADDRESS>

literally wtf

I do not offer support via email at this time. Please describe your issue here.


SAA-1026 reverting gradle version for now as appears to be causing issue with docker container build.

Codecov Report
Patch and project coverage have no change.

Comparison is base (d8b5f67) 84.98% compared to head (9fa4907) 84.98%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #482   +/-   ##
=========================================
  Coverage     84.98%   84.98%
  Complexity     2253     2253
=========================================
  Files           291      291
  Lines          8358     8358
  Branches        512      512
=========================================
  Hits           7103     7103
  Misses          993      993
  Partials        262      262

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


standalone binstubs sometimes have an incorrect load path.

I have a somewhat complicated build process that uses --standalone and --binstubs.
This build process works fine on my machine, but occasionally others get broken builds (using the same version of ruby and bundler).
Trying to use a binstub, we get:
$ binstubs/pumactl
/usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- bundler/setup (LoadError)
from /usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /opt/acquia/cloud-database-api/binstubs/pumactl:11:in `<main>'

Looking in the particular binstub, binstubs/pumactl:
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'pumactl' is installed as part of a gem, and
# this file is here to facilitate running it.
#

$:.unshift File.expand_path '../../vendor/bundle/ruby/2.2.0/gems/json-1.8.3/ext/json/ext/parser/vendor/bundle', __FILE__

require 'bundler/setup'
load File.expand_path '../../vendor/bundle/ruby/2.2.0/gems/puma-2.15.3/bin/pumactl', __FILE__

I haven't figured out how to replicate this locally yet, but I thought I'd open an issue in case someone could point me in the right direction.

@glennpratt is this still an issue for you? If so, please add all of the information requested at https://github.com/bundler/bundler/blob/master/ISSUES.md#reporting-unresolved-problems

@TimMoore yes it is. I'll add more information and open a PR of a fix that appears to work for me.

@TimMoore I added a reproduction script and a pull request (#4264).


Autoplay not working on mobile safari [restriction]

I create one button for sound and when I click the button it works. But I want that it works as autoplay.I mean when the user enter the website, the sound should start automatically. By the way i am workıng on Safarı browser and this problem is occuring for mobile.(Not for PC). It is working on dekstop well. But i dont know why it doesnt work on mobile device.
When i click the button first, the sound is working then when i refresh the page, also autoplay works. but when i close to browser and open the browser again, autoplay doesnt work again. i have to click to button again to get the sound.
I would like to get help about how can i make it autoplay sound..

Hello, you can't do it on Mobile devices. It a build in restriction. Check this Apple article about it. Section "User Control of Downloads Over Cellular Networks".
This means, that user action is a requirement to download and play a media on mobile device. Autoplaying sounds and video could bring a negative experience to users, because they have to pay a lot of money for mobile connection to 3G/4G/LTE.

I think you misunderstand my problem. I upload the sound to my soruce codes. The user does not have to download the sound. The sound should play from soruce code.
This sound is working on Android systems but it does not work on IOS.
this sound is short example bip

I understand. Safari does not care about it, the whole audio system in safari is disabled until any user action.

All right.
Thank you for your interest.
I have last question.
How about if i use google chrome on IOS ?
do you think it will work ?

Nope, Google Crome on iOS is using the same webkit as Safari. Apple restriction.

Can you post a working example of code here if it's okay? I have read through all the examples but still can't get the code to work properly and don't understand why everything has to be so difficult on iOS. You code works normally on Android devices and PCs easily.

Hi guys, I also faced this problem some months ago, and this is not for the ion script but an IOS restriction.
My solution was to set a button, audio button, to "enable" the audio in the app, and set to play some audio when the user press it. Since the moment the user click the button, sounds will play and will sound for the rest of the time users can spend in the app, even in background as my app work right now.
Hope this can help.
Regards,

I currently faced a additional "unwanted" behavior.
I have a Sound which I start on webpage load, on iOS and Android the SOund is not played (which is completly ok). But then when I click a Button to play an another Sound I head the sound which i autostarted too (its looping). On Android is only playing the sound which I start on Button Press. The Behavior on Android is the one I expected.
So who's wrong, iOS or ANdroid, and is it fiixable :)

@X-Tender i will check this soon.

Thank you


add lru caching to validation methods

What was wrong?
Potential opportunity for speeding some things up by memoizing the validation functions.
How was it fixed?
Used the cytoolz.functoolz.memoize function in conjunction with the pylru.lrucache object to cache the most common validations that get passed through those functions.
Cute Animal Picture

Not as simple as I'd hoped. abort!


[HiGHS] Added new port for the HiGHS optimization library

Fixes #30527

[ ] Changes comply with the maintainer guide
[x] The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines.
[ ] Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all find_package calls are REQUIRED, are satisfied by vcpkg.json's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx
[x] The versioning scheme in vcpkg.json matches what upstream says.
[x] The license declaration in vcpkg.json matches what upstream says.
[x] The installed as the "copyright" file matches what upstream says.
[x] The source code of the component installed comes from an authoritative source.
[x] The generated "usage text" is accurate. See adding-usage for context.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is in the new port's versions file.
[x] Only one version is added to each modified port's versions file.

Tested usage by highs:x64-windows successfully:
The package highs is compatible with built-in CMake targets:

    find_package(highs REQUIRED)
    target_link_libraries(main PRIVATE highs::highs)


feat(extras): add iterm colors

Added iTerm2 colors!
storm:

night:

Great colorscheme btw! 💯

Great!
Would be great if you could rename the files as the others:
extras/tokyonight_night.itermcolors => extras/iterm_tokyonight_night.itermcolors
I know it's a bit redundant in this case, but still :)

Updated @folke! 🙌🏽

Sweet!


Universal cooldown period?

Sometimes when querying the rides for Universal Studios, I notice that I won't receive any ride data. Is there a cooldown period on their API that only allows you to query rides every x amount of minutes?

I imagine there may be. How often are you calling the API? I would only access it at most once every 4-5 minutes.

I've converted your code to PHP, so it could be subtle differences. I have it set to only be called once every 10 minutes, but there are times when I won't receive any ride data back for at least a half hour. Could an expired token return a success reply, but not attach ride data?

Hi,
Sorry for the delay. I cannot speak for the stability of park's APIs. We don't have any official support with them for how their API works, we just figure out what we can.
There could be lots of reasons why it would return no data, but still say it's successful. It could be that they are purposefully doing this during busy times, there is a server failure on their side, or they're rate-limiting connections if they see lots of requests.
I would make sure you are setting valid headers, so you are making requests as if a mobile device. Consider running your application through Tor as well to avoid any IP blacklisting. Keeping the requests to once every 10 minutes is also excellent, and good practice to continue with.
I recommend just falling back to the last successfully received ride time if it doesn't return anything.
Since you're using a custom PHP implementation, I'm afraid I can't really assist you any further beyond these pointers. So, I'm going to close this ticket, but please feel free to leave any additional comments if you make any discoveries or find a good solutions to this problem that can benefit others.

Hi again,
Was just playing with the official app a little and found that the actual Android app does this all the time! Universal seem to return just "null" if you request ride data more than 3-4 times in 10 minutes or so (don't know actual numbers).
This looks to be done by IP, so if you pump through tor and change IP occasionally this may help you.

Great to here! Thank you very much for your testing and your work!


LG 47LB582T

Hi! Trying it for the first time with version 1.9 on Windows 11, the TV is LG 47LB582T
Connected via WiFi (no connection issue as both near the router) on the same LAN.
App detects the tv as [TV][LG]47LB582T but then I cant do anymore than that. The Test doesnt work along with Power Off/On.
I have looked for an option "Quickstart+" in the TV menus but cant locate, its pre 2021 model, likely 2015/2016 running WebOS.
Any other pointers on troubleshooting to get this to work?
cheers

Hi @akeilox I don't know straight up if it's too old WebOS version. A quick google shows there was some frmware updates this year to check out if you didn't already https://www.lg.com/sg/support/software-firmware?csSalesCode=47LB582T.ATC
In the app, enable logging and open it after trying to power the device on/off to see what is going on. That might give some additional clues. Also confirm you pressed the "Apply" button please after configuring the device :)

hey @JPersson77 thank you for the swift and very useful reply/tips.
The TV is already on the latest firmware ,confirmed.
When I enable logging, Apply, then open the log I see this (pairing key seems to be the culprit? cant find where the Quickstart option might be):
Tue 01:10:42 > LGTV Companion Service started (v 1.9.0) ---------------------------
Tue 01:10:42 > Configuration file successfully read
Tue 01:10:42 > Data path: C:\ProgramData\LGTV Companion
Tue 01:10:42 > Device1, [TV][LG]47LB582T, with IP <IP_ADDRESS> initiated (Enabled:yes, WOL:2, PairingKey:n/a, MAC: C8:02:10:BB:2C:XX , VerifyHdmiInput:off, SetHdmiInput:off, BlankOnIdle:on(1m))
Tue 01:10:42 > Host IPs detected: <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>
Tue 01:10:42 > Setting shutdown parameter level 0x100
Tue 01:10:42 > ** System requests displays ON.
Tue 01:10:42 > Device1, spawning DisplayPowerOnThread().
Tue 01:10:42 > Device1, repeating WOL broadcast started to MAC: C8:02:10:BB:2C:XX using IP address: <IP_ADDRESS>
Tue 01:10:42 > Device1, GetBestRoute2() selected interface index 10 LUID<PHONE_NUMBER>855040 route protocol 2
Tue 01:10:42 > IPC, Daemon has started.
Tue 01:10:44 > Device1, GetBestRoute2() selected interface index 10 LUID<PHONE_NUMBER>855040 route protocol 2
Tue 01:10:44 > Device1, WARNING! DisplayPowerOnThread(): connect: No connection could be made because the target machine actively refused it
Tue 01:10:46 > Device1, GetBestRoute2() selected interface index 10 LUID<PHONE_NUMBER>855040 route protocol 2
Tue 01:10:46 > IPC, force power OFF: device1
Tue 01:10:46 > Device1, omitted DisplayPowerOffThread() (no pairing key).
Tue 01:10:48 > Device1, GetBestRoute2() selected interface index 10 LUID<PHONE_NUMBER>855040 route protocol 2
Tue 01:10:50 > Device1, GetBestRoute2() selected interface index 10 LUID<PHONE_NUMBER>855040 route protocol 2
Tue 01:10:50 > IPC, windows monitor topology was changed. Device1:OFF
Tue 01:10:50 > Device1, omitted DisplayPowerOffThread() (no pairing key).
Tue 01:10:50 > Device1, WARNING! DisplayPowerOnThread(): connect: No connection could be made because the target machine actively refused it

I have gone through the TV's settings and cant seem to locate anything that resembles remote/mobile/allow connection except Miracast. It appears its not gonna play, although I really wanted to since the TV is mounted right above the PC and idea of automating it got me excited.

under Product/Service info screen:
Model/Type: 47LB582T-TB
Software version: 04.04.22
SDK version: 03.05
Browser Version: v6.00.00.e49900.4990
ESN: LGTV20132=21012480337
Widevine: LGTV13CMTK012501142
Does that say anything? I will look for service mode for the Remote to see if i can get more info.

Not really I'm afraid. But I can see the TV is from 2013-2014 and I can see references to controlling webos dating back 8 years so I think there might be a chance. Do you have anythig called "LG Connect Apps" you can enable?
From another repo here I find this text: "First, the device (eg your computer) must be on the same network as the TV. Second, you should enable the TV to broadcast itself as lgsmarttv.lan in the local network. This setting is under Network/LG Connect Apps. This is necessary in order for this module to find the TV on the network and allow apps to connect. You also need to be on the same network as the TV." (https://github.com/msloth/lgtv.js)

I am definitely on the same LAN. I found LG Smart Apps (not LG connect apps) section where consent asked to install apps from their appstore (never used this before) but cant see any option to 'broadcast itself'.
I will get fresh new batteries to the remote and a long rj45 cable to wire it tomorrow (may be doesnt like wireless? although its perfect signal) and do another attempt to locating this possible "consent/allow"  section.
Will keep you updated here. Thank you @JPersson77

I don't think it's the app store that is referenced, Apparently it should be located under "network" settings (which make sense). I feel this should be achievable :) Good luck @akeilox and let know how it goes please

How did it go @akeilox ?

Unfortunately I couldnt find any setting under network or otherwise to enable incoming connection. I have checked both Smart Apps and TV menu and the feature is nowhere to be found.

Allright, thanks for feedback. I will close this issue but feel free to reopen as needed


More on re-indexing

xarray has some pretty powerful, indexing, re-indexing, and binning capabilities.   My knowledge of them all is pretty limited, but reindex, reindex_like, groupby and groupby_bins all seem like useful targets for operations that folks dealing with practical, ~happy~ gappy, poorly gridded data, could use some help with.
e.g. I couldn't figure this out on my own:  https://stackoverflow.com/questions/73760046/replace-some-values-in-dataarray-based-on-list-of-indices/73790162#73790162
I appreciate that some of this is probably old-hat for pandas users, but some of us just skipped right to xarray ;-)
Thanks!
PS, apologies if this is covered in the tutorial and I haven't seen it.

apologies if this is covered in the tutorial and I haven't seen it.

It isn't covered explicitly and it's a really important topic. Thanks!

I may be able to contribute something, but maybe I don't know all the tricks...

Go for it! Contributions always help poke us into doing something :) .
It links to alignment for which we have OK material for. But I think this will work nicely as a separate "intermediate" tutorial that builds on that alignment and broadcasting tutorial.

New material was added on some of these topics for SciPy 2023 here https://tutorial.xarray.dev/intermediate/01-high-level-computation-patterns.html#label-space-windows-or-bins-groupby
But adding material on groupby_bins and reindex_like would be great!

I guess some of this ended up in the main docs at https://docs.xarray.dev/en/stable/user-guide/groupby.html#binning


[Feature Request] Undetectable Hotspot

Hi can you add an option to hide Hotspot name from Wi-Fi list/page while Hotspot is running?
I mean I would expose my Hotspot for those who want to use it and when they connect, I hide it so others don't know or suspect that I run Hotspot.
Thank You.

Hi
Given that the broadcast piece of the hot spot is powered by wifi direct, this is not possible at this time, sorry.


Using the arrow keys to navigate between tabs doesn't work reliably. Sometimes you can't tab to or arrow back to the previous tabs.

Bug Report
Description
For tabs, using the arrow keys to navigate between tabs doesn't work reliably. Sometimes you can't tab to or arrow back to the previous tabs.
Steps to Reproduce

TBD

Additional Context / Screenshots
Identified as part of functional verification on this PR.
Expected Behavior
Using the arrow keys to navigate between tabs works reliably.
Environment

Component Name and Version: terra-tabs
Browser Name and Version: IE 11 + JAWS

I talked to @mmalaker on this, and we will have limitations on this Jira. In JAWS, using the left and right arrow keys cycles through the individual letters on a given text node. I don't think it's desirable to override this behavior for a screen reader.
As for actionable changes, I noticed that JAWS was working great with the up and down arrows, so we could use up and down navigation as the requirements for cycling through tabs. In addition, without screen reader support, only the navigation is tabbable as opposed to the individual tabs. We should probably add tabindex="0" to the tabs that are not disabled.


TypeError: Request path contains unescaped characters

Wow, thanks for your feedback
Fixed in https://github.com/teambition/cdn-uploader/commit/26cfcb89a567ee7f78fc4d466f4f28a7591a5e3e
v0.3.4 has been published
Feel free to comment or reopen this issue if you have more questions


Node.focusable deprecated?

I see no internal Scenery usage except for the getter/setter, although focusable:true is set in various places in common code and sim code.
Should this be treated as deprecated and removed, or is it being used for accessibility?

Yes, this should be treated as deprecated and removed.  I think this was used before the parallel DOM approach that we are using now.  The option is used for sim specific things in balloons-and-static-electricity.  In common code it shouldn't be providing any functionality.  I will review the usages and remove them if this is the case.

If the usages of Node.focusable can be removed along with #589, that will be the last of the references to Node.focusable and it can be removed from scenery/Node.js.

I removed focusable and a few other things that were no longer used in Node.  @jonathanolson good to close?

Looks great, thanks!


Quantum Entangloporter Exploding

Please use the search functionality before reporting an issue. Also take a look at the closed issues!
Issue description:
Quantum Entangloporters explode at random times.
Original issue: https://github.com/NillerMedDild/Enigmatica2Expert/issues/389#issuecomment-439715853
I realize this bug could be impossible to fix because of it's inability to be reproduced, but I thought I'd report it either way.
Steps to reproduce:
Cannot be reliably reproduced.
Version (make sure you are on the latest version before reporting):
Forge: 1.12.2-<IP_ADDRESS>68
Mekanism: 1.12.2-<IP_ADDRESS>9
If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)
[gist/pastebin/etc link here]

Exploding is an IC2 thing. You're probably putting too much power through it as far as IC2 is concerned

Oh, I didn't know IC2 could affect the machines of other mods like that. Thanks :)


Moving go-tpm package to v0.2.0

Verified that it works with both pkg/kernel and pkg/new-kernel
Signed-off-by: Hariharasubramanian C S<EMAIL_ADDRESS>

This is awesome @cshari-zededa -- thank you so much!


Make the project a little easier to use for Raspberry Pi users

For example, the docker.io/bitnami/mongodb:7.0 image does not support linux/arm64.
We don't have to change much to get this running on a Raspberry Pi. Either adding some information to the README.md or adding comments to the docker-compose file would do the trick.
I suggest doing both.
I'll make some changes and add a pull request as a suggestion.

Happy to add some more changes to the pull request before I tag it as done, if anyone has any suggestions.

Thank you for this PR, you can add this:
If your CPU doesn't support avx instructions (grep avx /proc/cpuinfo), you will need to use a version of mongodb < 5.
ex: image: mongo:4.4.6

Good idea!

On my R Pi 5 the AVX isn't listed in the cpuinfo features
processor       : 0
BogoMIPS        : 108.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x4
CPU part        : 0xd0b
CPU revision    : 1

processor       : 1
BogoMIPS        : 108.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x4
CPU part        : 0xd0b
CPU revision    : 1

processor       : 2
BogoMIPS        : 108.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x4
CPU part        : 0xd0b
CPU revision    : 1

processor       : 3
BogoMIPS        : 108.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x4
CPU part        : 0xd0b
CPU revision    : 1

Revision        : 000000
Serial          :<PHONE_NUMBER>00000
Model           : Raspberry Pi 5 Model B Rev 1.0

and I've got Mongo 6 running. Maybe a more robust checking method is needed?

It appears this is only an issue on the amd64 platforms. The specific linux/arm64 versions don't require it. So maybe not needed to add it at all?
https://stackoverflow.com/questions/71450663/can-we-run-avx-required-software-without-having-it
See the top answer.
In our case it works at the end also without the --platform, only with changing the image name from mongo to arm64v8/mongo.

I'm going to add this in a FAQ section for general error messages

@Gabisonfire See https://github.com/Gabisonfire/torrentio-scraper-sh/pull/24/commits/929d2969aa64661be5ae9e1e065d2fb499a16d70
Can you think of anything else that you'd like adding?

I've caught something, Need to change the volumes when we change the image. Let me add some more info and I'll push it

I added a few comments (some stuff I was planning on doing) if you don't mind :)

Seems it's still missing the reverse proxy article and docker/docker-compose for the quick start

Where did you add them? I can't see them either

before your last commit as a "review", see the PR

I can't see the review, I don't know why. Perhaps a permission I am missing

I'll write it here instead, just wanted to add these two:
I'd add
Install [Docker](https://docs.docker.com/engine/install/)
Install [docker-compose](https://docs.docker.com/compose/install/)

Was thinking of adding some "Hosting on LAN" basic instructions since you need a valid cert like: https://leangaurav.medium.com/simplest-https-setup-nginx-reverse-proxy-letsencrypt-ssl-certificate-aws-cloud-docker-4b74569b3c61


Unable to cast object of type 'Newtonsoft.Json.Linq.JValue' to type 'Newtonsoft.Json.Linq.JArray'.

We are trying to execute simple powershell script on newly created DevTestLab VM using this task (windows-run-powershell) in DevTestLab artifacts but getting below error.
Error message : Unable to cast object of type 'Newtonsoft.Json.Linq.JValue' to type 'Newtonsoft.Json.Linq.JArray'.
Its was running till yesterday morning and suddenly stopped working.
Stopped working since 8th March.

Can you please provide more details? What were the parameters you passed to the artifact?

Closing due to lack of response


Use pq.Array with = ANY(?) for Postgres preloading

Describe the feature
Use pq.Array({ids}) as parameter and = ANY(?) SQL syntax instead of IN (?) when preloading objects in Postgres.
Motivation
If one has to preload too many elements, Postgres fails with the following for instance:
pq: got 82000 parameters but PostgreSQL only supports 65535 parameters
Additionally, parsing a lot of strings in IN (...) is very slow in Postgres, the = ANY(...) syntax is much faster, since IN can contain a SELECT-statement at any point, whereas = ANY() cannot.
It would be a specific enhancement for the Preloader when using Postgres.  I would gladly write the changes myself, if anyone can point me in the right direction.
Related Issues

excuse  me, have you solved it?

我最终编写了一个Preload()完全忽略 GORM 的预加载器。但它有点与我们自己的类型挂钩，而不是成为其他人的通用替代品。所以为了我自己的目的，我解决了这个问题，但是对于一个 GORM 问题，我没有解决它。

excuse me,Is it convenient for you to give an example？

I ended up writing a preloader that ignores GORM's Preload() entirely. But it's kind of hooked up to our own types rather than being a generic drop-in replacement for others. So for my own purposes, I solved the issue, but for a GORM issue, I did not solve it.

excuse me,Is it convenient for you to give an example？


Router Links do not support anchors

Describe the bug
When you want use the normal React-router link component to navigate to an anchor id on another page, you will still end up at the top of the other page. This seems to be the default behavior with react router though...
To Reproduce

Create some Component in Volto, that links to an anchor on another page
Click that link
-> >You end up at the top of the other page

Expected behavior
You would want to end up scrolled to the anchors position.
Software (please complete the following information):
any
Additional context
Add any other context about the problem here.

Can I work on this?

@yashnerkar there's been recent work on this issue, I think, one of the PRs.
Take issues from the "Polished Volto" Classic Project, those are usually more introductory.
For example this issue: https://github.com/plone/volto/issues/3424

@yashnerkar you can filter issues by label to find things to work on. Filter by 33 needs: docs or "41 lvl: easy".
We especially need help with writing the user manual for Editors.

https://github.com/plone/volto/issues/3827
https://6.docs.plone.org/volto/user-manual/blocks.html#facets


Can non-async endpoint impact overall performance

I'm sure you are aware of this article which pitches puma over falcon.
Birds of a Fiber: A look at Falcon, a modern asynchronous web server for Ruby | Scout APM Blog
Are their claims towards the end of the article correct?  If a non-async library is used from a single endpoint, can it also affect the overall performance of Falcon and other async endpoints?  In other words, if I have 5 endpoints, and one of them uses a non-async library.  This 1 endpoint can affect the performance of the other 4 endpoints?
I'm currently using the carrierwave and carrierwave-aws gems with falcon to save files to AWS.  I'm pretty sure it does not use an async library to communicate with AWS.

Yes I wrote a response to that article but they've deleted all the comments from that blog which is unfortunate.
The short answer is yes but the longer answer is more complex.
Per-Thread Fiber Scheduler
With Ruby 3, many of these situations will be covered provided the libraries use Ruby I/O instances.  You can check some of the details on this blog post which has links to some examples and a youtube live stream about the changes: https://www.codeotaku.com/journal/2020-06/open-source-progress-report/index
The Nature of Blocking Operations
At a more fundamental level, all servers will experience some blocking. The nature of that blocking is different between a server like Falcon and Puma and the impact on latency. Let me give you an example:

Puma: 8 workers each with 16 threads.
Falcon: 8 processes each with 16 event loops.

In this configuration, given a blocking I/O, Puma can handle 816 simultaneous requests. Falcon is the same. However, Puma cannot handle more than 816 simultaneous requests, but Falcon potentially can if you use non-blocking primitives.
If you want to do a 1-1 comparison of Falcon vs Puma latency, you must ensure they have the same resources allocated. That being said, there is a different way to organise this:

Puma: 8 workers each with 16 threads.
Falcon: 4 processes each with 1 event loop.

In this case, even head to head, I've seen Falcon outperform Puma, and scale better when non-blocking I/O is a significant part of the latency.

@ioquatix -  This was very helpful.  I really appreciate you taking the time with a detailed answer and all your work on the falcon/async libraries.

You are most welcome!

@tleish If you are concerned about the performance when uploading large files to AWS, consider using presigned URL to allow your client (browser) to upload the files themselves?


Badge Request: Crates.io crate size

Crates.io crate size badge.
Example for the tokio crate:
That one was generated from a dynamic shield
https://img.shields.io/badge/dynamic/json?color=red&label=size&query=versions%5B0%5D.crate_size&url=https%3A%2F%2Fcrates.io%2Fapi%2Fv1%2Fcrates%2Ftokio%2Fversions

The issue with this method is that the file sizes that are returned are in bytes which is pretty inconvenient. Ideally, you could just re-use the size conversion function that is used for NPM and github sizes. You can of course specify the version you desire just like how you handled the other crates.io shields. It looks like they are using 10^3 for kB instead of 2^10 so that would be whatever you guys use as a standard or whatever matches crates.io.
The returned information can be gotten by something like:
// https://crates.io/api/v1/crates/:crate-name/versions
fetch("https://crates.io/api/v1/crates/tokio/versions").then(res => console.log(res.versions[0].crate_size))

This would be useful for easily gauging the size of the repositories you are adding straight from the git page and can also be used as a selling point if small sizes are something you are proud of.

Thanks for the request @cgburgess, sounds reasonable to me. We have a great tutorial if you or anyone else is interested in implementing this badge.
It should be pretty easy to do so, especially since it's the same API endpoint and response our other crates badges work with
The schema would need to be updated here:
https://github.com/badges/shields/blob/61d2b0d07f9d67babbc82303069550914f395b44/services/crates/crates-base.js#L9-L32
and then a new service class and tester would need to be added under the crates directory.
Some things that may need to be considered however:

Should this support the size for a specific crate version as well as the "latest" version (e.g. routes /crates/size/:crate and /crates/size/:crate/:version)
What does the version at index 0 represent: max_version or _newest_version(presumably just like semver vs date) and do we need a query param here (this question would likely apply to the existing download count badge as well)

Thanks for the request @cgburgess, sounds reasonable to me. We have a great tutorial if you or anyone else is interested in implementing this badge.
It should be pretty easy to do so, especially since it's the same API endpoint and response our other crates badges work with
The schema would need to be updated here:
https://github.com/badges/shields/blob/61d2b0d07f9d67babbc82303069550914f395b44/services/crates/crates-base.js#L9-L32
and then a new service class and tester would need to be added under the crates directory.
Some things that may need to be considered however:

Should this support the size for a specific crate version as well as the "latest" version (e.g. routes /crates/size/:crate and /crates/size/:crate/:version)
What does the version at index 0 represent: max_version or _newest_version(presumably just like semver vs date) and do we need a query param here (this question would likely apply to the existing download count badge as well)

Awesome I will probably take a stab at implementing this over the weekend.

Awesome I will probably take a stab at implementing this over the weekend.


JSON/JSONB column not exposed as feature properties

I noticed that when I have a source table that contains some data in a JSONB-type column, that data is not exposed as properties of the vector tiles features.
My current workaround was to create a text column with the serialised JSON values - but that would not have worked if I was not able to change the structure of the source table.
I am wondering if this dropping of JSON columns should be considered a bug, or if not then what would be a suggested solution that would allow me to read the JSON values from the vector tiles, without modifying the table?

I believe this is actually a bug in the ST_AsMVT implementation in PostGIS. When I run the queries manually, the attributes are not showing up.

Thanks for looking into this, @saosebastiao


Next to Main - 1.1.0

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[Pot] Pending(x).map(...) and .flatMap(...) should return Pending(x) instead of Empty

Example for rationale:
Root model has a: Pot[A], where A is a case class with some property prop: String. We request a to the server, updating the model to a.pending.
We have a React control that has an <.input bound to a.map(_.prop) (resulting in a Pot[String], and we want to disable it (or display an Ajax animation next to it) if it is Pending.
Similarly for flatMap when prop is an Option.

I'm actually using these, maybe you find them useful or worth including in the library (maybe you can even find better names):
  implicit class PotOps[A](pot: Pot[A]) {
    def isEditable = (pot.isEmpty || pot.isReady) && !pot.isPending

    def strictMap[B](f: (A) ⇒ B): Pot[B] = pot match {
      case Empty => Empty
      case Ready(x) => Ready(f(x))
      case Pending(t) => Pending(t)
      case PendingStale(x, t) => PendingStale(f(x), t)
      case Failed(e) => Failed(e)
      case FailedStale(x, e) => FailedStale(f(x), e)
      case Unavailable => Unavailable
    }

    def strictFlatten[B](implicit ev: A <:< Pot[B]): Pot[B] = pot match {
      case Empty => Empty
      case Ready(x) => x
      case Pending(t) => Pending(t)
      case PendingStale(x, t) => ev(x) match {
        case Empty => Pending(t)
        case Ready(y) => PendingStale(y, t)
        case Pending(s) => Pending(math.min(s, t))
        case PendingStale(y, s) => PendingStale(y, math.min(s, t))
        case other => other
      }
      case Failed(e) => Failed(e)
      case FailedStale(x, e) => ev(x) match {
        case Empty => Failed(e)
        case other => other
      }
      case Unavailable => Unavailable
    }

    def strictFlatMap[B](f: (A) => Pot[B]): Pot[B] = pot.strictMap(f).strictFlatten

    private def defaultStaleMapping[B](ifEmpty: => B, f: (A) => B, validStale: Boolean = false)(x: A, t: Any) =
      if (validStale) f(x) else ifEmpty

    def strictFold[B](ifEmpty: => B, f: (A) => B, validStale: Boolean = false)
               (ifPending: (Long) => B = { _: Long => ifEmpty },
                ifPendingStale: (A, Long) => B = defaultStaleMapping(ifEmpty, f, validStale) _,
                ifFailed: (Throwable) => B = { _: Throwable => ifEmpty },
                ifFailedStale: (A, Throwable) => B = defaultStaleMapping(ifEmpty, f, validStale) _,
                ifUnavailable: => B = ifEmpty) =
      pot match {
        case Empty => ifEmpty
        case Ready(x) => f(x)
        case Pending(t) => ifPending(t)
        case PendingStale(x, t) => ifPendingStale(x, t)
        case Failed(e) => ifFailed(e)
        case FailedStale(x, e) => ifFailedStale(x, e)
        case Unavailable => ifUnavailable
      }
  }

Yes, I agree that map should return the same type. This is something I've overlooked when converting the original Option code to Pot. I'll add appropriate map methods to all variants.

Thank you! Feel free to adapt the methods I pasted above as default map, flatten, flatMap, fold?.

Thank you. Now I can remove the implicit class PotOps[A](pot: Pot[A]) from my utils lib :)


Disable shebang addition

Hi,
Your plugin is a great tool.
I would need it to not do one thing though: when I add a header, I don't want the plugin to add a shebang, or modify the encoding (for python, bash, etc, the plugin modifies the shebang at the top of the file).
Is there a way to disable that?
Cheers

Hi @JPFrancoia,
It won't update shebang after adding header. However at first adding as you said it ignores existing shebang. There is no feature for now but needed. If I find time, I will add it.


realTimeProtectionAvailable = false (/Library/Extensions/wdavkext.kext - No such file or directory)

When my macOS was updated to Catalina 10.15.7 version, the defender cannot work.
And I can see below message when I try to fix it from 'Action needed' section.
"Real-time protection could not be turned on. Contact your administrator."
$ mdatp --health
appVersion                                  : "101.10.76"
automaticDefinitionUpdateEnabled            : true
cloudAutomaticSampleSubmissionConsent       : "safe"
cloudDiagnosticEnabled                      : false
cloudEnabled                                : true
conflictingApplications                     : null
definitionsStatus                           : "upToDate"
definitionsUpdated                          : "1604420553348"
definitionsUpdatedMinutesAgo                : 1
definitionsVersion                          : "82454"
edrConfigurationVersion                     : "199999.5357656.4857923.1-8bfc70654028d7538466fe5e8f308732e928f343"
edrDeviceTags                               : []
edrEarlyPreviewEnabled                      : "disabled"
edrGroupIds                                 : ""
edrMachineId                                : "fe7dbe203f56270cff16b715054085ce9689037b"
engineVersion                               : "3.0"
engineVersionV2                             : null
healthy                                     : false
licensed                                    : true
logLevel                                    : "info"
machineGuid                                 : "dd4318fa-5f5d-5d06-8d34-420677bbdf92"
networkEventsSubsystem                      : null
networkProtectionStatus                     : "stopped"
orgId                                       : "d7c7c745-195f-4223-9c7a-99fb420fd000"
passiveModeEnabled                          : false
productExpiration                           : "1618082061000"
realTimeProtectionAvailable                 : false
realTimeProtectionEnabled                   : true
realTimeProtectionSubsystem                 : null
releaseRing                                 : "Internal"
$ sudo kextutil /Library/Extensions/wdavkext.kext
Password:
Can't stat /Library/Extensions/wdavkext.kext - No such file or directory.

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

ID: 72abfa66-ddf0-4fd6-152d-b66ebad98525
Version Independent ID: c72a3ba7-cd9e-3b40-1bd6-dea45c5f690e
Content: Troubleshoot kernel extension issues in Microsoft Defender ATP for Mac - Windows security
Content Source: windows/security/threat-protection/microsoft-defender-atp/mac-support-kext.md
Product: w10
GitHub Login: @Dansimp
Microsoft Alias: dansimp

The issues section of this repository is intended for product documentation issues.
Please consider opening a product support ticket by the following link below for your problem,
Windows 10 Support
Thank you.


Validation preventions

Looks like model cross references sometimes do prevent registration:
Got
class User < ApplicationRecord
  before_save :setup_role, :setup_account

  belongs_to :account
  has_and_belongs_to_many :roles

  def setup_role
    if self.role_ids.empty?
      self.role_ids = [2]
    end
  end

  def setup_account
    if self.invited_by_id != nil
      self.account = self.invited_by.account
    elsif self.account_id == nil
      self.account = Account.create('number'=>Random.new.rand(0..999999999))
    end
  end

  devise :invitable, :database_authenticatable, :registerable, :confirmable, :lockable, :recoverable, :rememberable, :trackable, :validatable, :omniauthable, :omniauth_providers => [:facebook, :twitter]
end

Looks like it fails to save  because Accound and Roles have has_many :users and has_and_belongs_to_many :users
It worked always and I don't even know when it began to fail as far as it dosn't return error (just always returns smth like SELECT 1 AS one FROM `users` WHERE `users` .`email` = BINARY<EMAIL_ADDRESS>LIMIT 1  and redirects to registration without error or flash + code 200).
Can be fixed with bypassing validations:
  before_validation :setup_role, on: :create
  before_validation :setup_account, on: :create

Is it ok? Or a bug?

It seems like its an issue with the callbacks. By taking a quick look, maybe theUser is invalid, and in that case, the before_save will never be called. Reference: http://api.rubyonrails.org/classes/ActiveRecord/Callbacks.html.
Anyway, please use StackOverflow for this kind of questions or help requests. There a wider community will be able to help you. We reserve the issues tracker for issues only.
If you're able to isolate the issue in a clean application and find out that it is indeed a bug, please open another issue.
Thank you!


update commits in CI to use dco

DCO is an aswf requirement (see https://github.com/apps/dco). Before enforcing it though, we should update any commits happening withing the gh workflows with sign-off, otherwise they'll start failing when we install the dco app / migrate to aswf gh org.

Commits in CI were disabled some time ago. It would be preferable to avoid creating commits from CI for simplicity and security reasons.


[FLINK-3887] improve dependency management for building docs

The Flink documentation build process is currently quite messy. These changes move us to a new build process with proper dependency handling. It assures that we all use the same dependency versions for consistent build output. Also, it eases the automated building process on other systems (like the ASF Buildbot). The goal was to make the documentation build process easier and self-contained.
I would like to merge these changes to all release-x.x branches because it avoids to have special per-release documentation build rules.

use Ruby's Bundler Gem to install dependencies
update README
adapt Dockerfile
add additional rules to .gitignore
change default doc output path from /target to /content (default path of the flink-web repository)

@uce Would you like to check out the changes?

-p didn't work, talked to Max offline. After the fix +1 to merge. Very nice change!

Just retried this. Works as expected. +1 to merge.


Add an "exit on failure" CLI argument

Adds an CLI argument ( -x/--exit-on-failure) to exit dotbot on the first failed directive.
Building on the discussion in #288, this updates the Dispatcher with a self._exit member which can be set to enable this behavior. Can also be used in the proposal to change the defaults directive in a future PR.

Thank you for the pull request (and including a test ❤). I took a quick glance, it looks good overall!
This week is a bit busy for me, so I'm not sure if I'll be able to take a closer look and merge in the next few days, but I should be able to do it by this coming weekend.

Any updates on this landing?

Thanks for pinging me, and thanks for your patience. I've been a bit overwhelmed with work recently 😅
PR looks good to me, merged in fb18c9b112b3403cd1a214bbf3be8725feab7140!


This Plugin doesn't work with svg generated from Sketch

This plugin doesn't work with svg generated from sketch.
Shows parser error "NameSpace prefix sketch for type g is not defined" at sketch:type="MSPage" place in generated svg sprite.
Node Version 6.10.0

@Temp2017 please don't remove issue template, it's crafted for detailed issue reporting and save a lot of my and your time. Please update an issue and fill following template.

@Temp2017 ping


Taas Admin app: feature

Description:
Taas Admin app api challenge: https://www.topcoder.com/challenges/acb9d8ea-6960-4016-a844-9970bc9c58f5
TaaS Admin App - Basic Work Periods: https://www.topcoder.com/challenges/256744b5-db4f-471d-807b-51c681486ca8
Design: https://marvelapp.com/prototype/g6g2jh7/screen/78212448

This is ready for QA on DEV.
Know issues:

filtering by Payment Status is hidden, because API doesn't support filtering by multiple paymentStatus yet. Instead of it we added filtering by user handle, so we can test filtering in general
sorting by Working Days doesn't work correctly for now, I'm thinking about solutions

Verified on Dev Env.
https://docs.google.com/spreadsheets/d/1-hLN9isB0aL0kOPTEzQDPpdh8pfZDNqm4iw9FAt29og/edit#gid=1421947240

Verified on Prod Env with @nkumar-topcoder


fix for local proxy issues

Added a fix for proxy during the the build stage
Added delay to controller startup


Update certificate recovery codebase

With 4.4 [1] automatic cert rotation works so we don't need to
rely on the manual process. We still need to approve the csr
manually which is not automated yet.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1819623
Fixes: Issue #1242
Solution/Idea
Idea is to make sure the cert recovery process works without any issue.

@praveenkumar if this is the fix for what you mentioned in slack, tested here -- seems good! https://gist.github.com/3790f396add70b53b796f0c5913ddbe2


(SnapPlanner) Implement alternative to GetCollisionCheckPts() for generating sample points for piece-wise linear trajectories

Planners like SnapPlanner currently do collision-checking by calling GetCollisionCheckPts(), which samples the trajectory at DOF resolution by using bi-section to determine an appropriate amount of joint motion for each joint.
This is not using the correct distance metric and we would also like to collision-check trajectories in a more optimal, non-linear order.
A new function GetLinearCollisionCheckPts() allows you to specify the distance metric (L1, L2, L_infinity) and the sampling order (linear, Van-der-Corput).
This is linear sampling, where the end of the trajectory is checked last:
[0.0, 0.25, 0.5, 0.75, 1.0]
This is sampling using binary van der Corput sequence, where the end-points are checked first, then the mid-point, and so on:
[0.0, 1.0, 0.5, 0.25, 0.75]
This other issue is somewhat related:
#204 (GetCollisionCheckPts() fails on a single-waypoint trajectory)

Pull request personalrobotics/prpy/pull/228

Performance comparison:
To move the arm from 'relaxed_home' to some pose in front of the robot:
Sampling method: linear
67 checks, 0.23 sec
Sampling method: binary Van der Corput
67 checks, 0.23 sec
With a Fuze bottle in-between the start and goal poses:
Sampling method: linear
24 checks, 0.1 sec, collision detected.
Sampling method: binary Van der Corput
2 checks, 0.03 sec, collision detected.

This was merged on 5 Dec 2015. Closing issue.


Lw 9443 e2e tests

Checklist

LW-9443
[ ] Proper tests implemented
[ ] Screenshots added.

E2e test: Extended View - Staking - Manage staking only one pool is expanded by default
Regression run on branch(still going last I checked) here

coverage: 53.17%. remained the same
when pulling 62853c4c75d07202e654daa7dd8e1aac65d9c84c on lw-9443-e2e-tests
into c0aabfd81390bf9e65e557fd60eb20b75368c032 on main.


Introduce Poetry instead of Pipenv

The current version of Pipenv has some issues with local packaging and also required additional steps to publish code to PyPi. Poetry packaging system could be an optimal replacement.

do you want some help with this? I have experience with poetry and pdm 😊

@patrick91 I appreciate any help with this project 😄 it's not that important from the consumer perspective but might improve development experience, so feel free to take this one if you have some free time


Don't blur receiveText

This is only a matter of taste. Personally, I really like to select/copy text on web pages.

I am fully with you - the reason why I added the blur was that the user does not get confused where to type. Without blurring the readonly field gets focused by clicking in it, but the user cannot type.
What do you think?

not sure why this pull request is closed now - the changes of not blurring were NOT merged, but github thinks so and closed this PR - strange

Without blurring the readonly field gets focused by clicking in it, but the user cannot type.
What do you think?

Leave it as it is. I could totally see me getting confused by the textarea having the focus but being unable to type in it.
If I change my mind, I will open another pull request. :wink:

not sure why this pull request is closed now - the changes of not blurring were NOT merged, but github thinks so and closed this PR - strange

This probably has to do with me messing up my branching game. This pull request is based on a commit that became part of the pwa branch. There, I reverted this commit later in the version history to have a clean (single purpose) diff. By merging the pwa branch you also merged this commit (along with it's reversion).
I should have branched off your main for pwa to avoid this.

Ok, we'll see. a copy button could also help. but saving the result and loading it again does also the trick :-)
73 de OE6CHD