Monitoring Prometheus PVC doesn't work with OpenEBS

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Install Rancher with OpenEBS (with cStore operator)
Enable Monitoring with persistent storage with or without extra answer "prometheus.persistence.name" setted.

Result:
❯ kubectl -n cattle-prometheus get pvc
NAME                                                               STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS       AGE
grafana-cluster-monitoring                                         Bound    pvc-a6b45138-824c-4eda-b37d-9d96343548ef   20Gi       RWO            cstor-csi-stripe   52m
prometheus-cluster-monitoring-db-prometheus-cluster-monitoring-0   Bound    pvc-6cd8b3e1-8ec4-4f5d-9504-5945fb016fc6   100Gi      RWO            cstor-csi-stripe   52m

❯ kubectl -n openebs get cstorvolumeconfigs
NAME                                       CAPACITY   STATUS    AGE
pvc-6cd8b3e1-8ec4-4f5d-9504-5945fb016fc6              Pending   56m
pvc-a6b45138-824c-4eda-b37d-9d96343548ef   20Gi       Bound     56m

❯ kubectl -n openebs describe cstorvolumeconfigs pvc-6cd8b3e1-8ec4-4f5d-9504-5945fb016fc6
# ...
Events:
  Type     Reason        Age                    From                         Message
  ----     ------        ----                   ----                         -------
  Warning  Provisioning  2m39s (x129 over 58m)  cstorvolumeclaim-controller  CStorVolume.cstor.openebs.io "pvc-6cd8b3e1-8ec4-4f5d-9504-5945fb016fc6" is invalid: metadata.labels: Invalid value: "prometheus-cluster-monitoring-db-prometheus-cluster-monitoring-0": must be no more than 63 characters

Other details that may be helpful:
I have try to set answer "prometheus.persistence.name" without success
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):

Rancher v2.4.8,
OpenEBS v2.1.0
Monitoring v0.1.2

Installation option (single install/HA): HA (3 node controlplane,etcd,worker)

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Custom (
Machine type (cloud/VM/metal) and specifications (CPU/memory): VM os Ubuntu
Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.2", GitCommit:"f5743093fd1c663cb0cbc89748f730662345d44d", GitTreeState:"clean", BuildDate:"2020-09-16T13:41:02Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15T16:51:04Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

Docker version (use docker version):

Client: Docker Engine - Community
 Version:           19.03.13
 API version:       1.40
 Go version:        go1.13.15
 Git commit:        4484c46d9d
 Built:             Wed Sep 16 17:02:52 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.13
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       4484c46d9d
  Built:            Wed Sep 16 17:01:20 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.3.7
  GitCommit:        8fba4e9a7d01810a393d5d25a3621dc101981175
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

When digging into why, i saw something. When sc is not called "default", we can't rename persistent volume for prometheus (see here).
I have retried with storage class named "default" and i have something weird :
❯ kubectl -n cattle-prometheus get pvc
NAME                                                               STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
grafana-cluster-monitoring                                         Bound    pvc-c8ca68ef-0b18-4885-bf8b-126515956f72   20Gi       RWO            default        12m
prometheus-cluster-monitoring-db-prometheus-cluster-monitoring-0   Bound    pvc-7dfac75d-e947-4edf-866a-52bbd6ae3c9b   100Gi      RWO            default        11m
prometheus-prometheus-cluster-monitoring-0                         Bound    pvc-243f5ef0-f6d6-4da9-a6cb-f9440fe1b086   100Gi      RWO            default        12m

❯ kubectl -n openebs get cstorvolumeconfigs
NAME                                       CAPACITY   STATUS    AGE
pvc-243f5ef0-f6d6-4da9-a6cb-f9440fe1b086   100Gi      Bound     19m
pvc-7dfac75d-e947-4edf-866a-52bbd6ae3c9b              Pending   19m
pvc-c8ca68ef-0b18-4885-bf8b-126515956f72   20Gi       Bound     19m

❯ kubectl -n openebs get cstorvolume
NAME                                       CAPACITY   STATUS    AGE
pvc-243f5ef0-f6d6-4da9-a6cb-f9440fe1b086   100Gi      Healthy   19m
pvc-c8ca68ef-0b18-4885-bf8b-126515956f72   20Gi       Healthy   20m

❯ kubectl -n openebs describe cstorvolumeconfigs pvc-7dfac75d-e947-4edf-866a-52bbd6ae3c9b
...
Events:
  Type     Reason        Age                   From                         Message
  ----     ------        ----                  ----                         -------
  Warning  Provisioning  4m42s (x46 over 20m)  cstorvolumeclaim-controller  CStorVolume.cstor.openebs.io "pvc-7dfac75d-e947-4edf-866a-52bbd6ae3c9b" is invalid: metadata.labels: Invalid value: "prometheus-cluster-monitoring-db-prometheus-cluster-monitoring-0": must be no more than 63 characters

When i renamed storage as "default", it create volume with correct name from prometheus.persistent.name but he continue trying to create prometheus-cluster-monitoring-db-prometheus-cluster-monitoring-0...
I will continue to search ...

Ignore my previous post. it was wrong way. I have checked that i have correctly set up prometheus.persistence.name and i see it on app configuration. I have tried to disbled it multiple time, delete pvc related and reapply with prometheus.persistence.name and it continue to create a pvc with name prometheus-cluster-monitoring-db-prometheus-cluster-monitoring-0.
How can i debug futher or where can i modify config to fix this in short term ?

I have looked at events when deploy monitoring. It seems prometheus.persistence.name is correctly used and try to create pvc but volume are ready before replica and mount failed, then i try to create pvc with default name without success :
11m         Normal    ExternalProvisioning     persistentvolumeclaim/pmc-prometheus-cluster-monitoring-0                                waiting for a volume to be created, either by external provisioner "cstor.csi.openebs.io" or manually created by system administrator
11m         Normal    Provisioning             persistentvolumeclaim/pmc-prometheus-cluster-monitoring-0                                External provisioner is provisioning volume for claim "cattle-prometheus/pmc-prometheus-cluster-monitoring-0"
11m         Normal    ProvisioningSucceeded    persistentvolumeclaim/pmc-prometheus-cluster-monitoring-0                                Successfully provisioned volume pvc-526732bd-6566-46b9-abbf-bfdf9d17b8f1
<unknown>   Warning   FailedScheduling         pod/prometheus-cluster-monitoring-0                                                      running "VolumeBinding" filter plugin for pod "prometheus-cluster-monitoring-0": pod has unbound immediate PersistentVolumeClaims
<unknown>   Warning   FailedScheduling         pod/prometheus-cluster-monitoring-0                                                      running "VolumeBinding" filter plugin for pod "prometheus-cluster-monitoring-0": pod has unbound immediate PersistentVolumeClaims
<unknown>   Normal    Scheduled                pod/prometheus-cluster-monitoring-0                                                      Successfully assigned cattle-prometheus/prometheus-cluster-monitoring-0 to rancher-node-003
11m         Normal    SuccessfulAttachVolume   pod/prometheus-cluster-monitoring-0                                                      AttachVolume.Attach succeeded for volume "pvc-526732bd-6566-46b9-abbf-bfdf9d17b8f1"
10m         Warning   FailedMount              pod/prometheus-cluster-monitoring-0                                                      MountVolume.MountDevice failed for volume "pvc-526732bd-6566-46b9-abbf-bfdf9d17b8f1" : rpc error: code = Internal desc = Volume is not ready: Replicas yet to connect to controller
<unknown>   Warning   FailedScheduling         pod/prometheus-cluster-monitoring-0                                                      running "VolumeBinding" filter plugin for pod "prometheus-cluster-monitoring-0": pod has unbound immediate PersistentVolumeClaims
<unknown>   Warning   FailedScheduling         pod/prometheus-cluster-monitoring-0                                                      running "VolumeBinding" filter plugin for pod "prometheus-cluster-monitoring-0": pod has unbound immediate PersistentVolumeClaims
<unknown>   Normal    Scheduled                pod/prometheus-cluster-monitoring-0                                                      Successfully assigned cattle-prometheus/prometheus-cluster-monitoring-0 to rancher-node-003
34s         Warning   FailedAttachVolume       pod/prometheus-cluster-monitoring-0                                                      AttachVolume.Attach failed for volume "pvc-deb776d3-fe6a-4bcd-bd3a-f872c163ba0b" : rpc error: code = Internal desc = Waiting for CVC to be bound
9m17s       Warning   FailedMount              pod/prometheus-cluster-monitoring-0                                                      Unable to attach or mount volumes: unmounted volumes=[pmc prometheus-cluster-monitoring-rulefiles-0 configmap-prometheus-cluster-monitoring-nginx cluster-monitoring-token-2sxtq config nginx-home config-out tls-assets], unattached volumes=[pmc prometheus-cluster-monitoring-rulefiles-0 configmap-prometheus-cluster-monitoring-nginx cluster-monitoring-token-2sxtq config nginx-home config-out tls-assets]: timed out waiting for the condition
8m58s       Warning   FailedMount              pod/prometheus-cluster-monitoring-0                                                      Unable to attach or mount volumes: unmounted volumes=[prometheus-cluster-monitoring-db], unattached volumes=[prometheus-cluster-monitoring-db prometheus-cluster-monitoring-rulefiles-0 configmap-prometheus-cluster-monitoring-nginx cluster-monitoring-token-2sxtq config nginx-home config-out tls-assets]: timed out waiting for the condition
6m40s       Warning   FailedMount              pod/prometheus-cluster-monitoring-0                                                      Unable to attach or mount volumes: unmounted volumes=[prometheus-cluster-monitoring-db], unattached volumes=[prometheus-cluster-monitoring-rulefiles-0 configmap-prometheus-cluster-monitoring-nginx cluster-monitoring-token-2sxtq config nginx-home config-out tls-assets prometheus-cluster-monitoring-db]: timed out waiting for the condition
4m25s       Warning   FailedMount              pod/prometheus-cluster-monitoring-0                                                      Unable to attach or mount volumes: unmounted volumes=[prometheus-cluster-monitoring-db], unattached volumes=[config nginx-home config-out tls-assets prometheus-cluster-monitoring-db prometheus-cluster-monitoring-rulefiles-0 configmap-prometheus-cluster-monitoring-nginx cluster-monitoring-token-2sxtq]: timed out waiting for the condition
2m7s        Warning   FailedMount              pod/prometheus-cluster-monitoring-0                                                      Unable to attach or mount volumes: unmounted volumes=[prometheus-cluster-monitoring-db], unattached volumes=[cluster-monitoring-token-2sxtq config nginx-home config-out tls-assets prometheus-cluster-monitoring-db prometheus-cluster-monitoring-rulefiles-0 configmap-prometheus-cluster-monitoring-nginx]: timed out waiting for the condition
11m         Normal    Provisioning             persistentvolumeclaim/prometheus-cluster-monitoring-db-prometheus-cluster-monitoring-0   External provisioner is provisioning volume for claim "cattle-prometheus/prometheus-cluster-monitoring-db-prometheus-cluster-monitoring-0"
11m         Normal    ExternalProvisioning     persistentvolumeclaim/prometheus-cluster-monitoring-db-prometheus-cluster-monitoring-0   waiting for a volume to be created, either by external provisioner "cstor.csi.openebs.io" or manually created by system administrator
11m         Normal    ProvisioningSucceeded    persistentvolumeclaim/prometheus-cluster-monitoring-db-prometheus-cluster-monitoring-0   Successfully provisioned volume pvc-deb776d3-fe6a-4bcd-bd3a-f872c163ba0b
11m         Normal    SuccessfulCreate         statefulset/prometheus-cluster-monitoring                                                create Claim pmc-prometheus-cluster-monitoring-0 Pod prometheus-cluster-monitoring-0 in StatefulSet prometheus-cluster-monitoring success
11m         Normal    SuccessfulCreate         statefulset/prometheus-cluster-monitoring                                                create Pod prometheus-cluster-monitoring-0 in StatefulSet prometheus-cluster-monitoring successful
11m         Normal    SuccessfulCreate         statefulset/prometheus-cluster-monitoring                                                create Claim prometheus-cluster-monitoring-db-prometheus-cluster-monitoring-0 Pod prometheus-cluster-monitoring-0 in StatefulSet prometheus-cluster-monitoring success
11m         Normal    SuccessfulCreate         statefulset/prometheus-cluster-monitoring                                                create Pod prometheus-cluster-monitoring-0 in StatefulSet prometheus-cluster-monitoring successful
<unknown>   Normal    Scheduled                pod/prometheus-operator-monitoring-operator-5bb7ddcd65-jzx9n                             Successfully assigned cattle-prometheus/prometheus-operator-monitoring-operator-5bb7ddcd65-jzx9n to rancher-node-002
11m         Normal    Pulling                  pod/prometheus-operator-monitoring-operator-5bb7ddcd65-jzx9n                             Pulling image "rancher/coreos-prometheus-operator:v0.38.1"
11m         Normal    Pulled                   pod/prometheus-operator-monitoring-operator-5bb7ddcd65-jzx9n                             Successfully pulled image "rancher/coreos-prometheus-operator:v0.38.1"
11m         Normal    Created                  pod/prometheus-operator-monitoring-operator-5bb7ddcd65-jzx9n                             Created container prometheus-operator
11m         Normal    Started                  pod/prometheus-operator-monitoring-operator-5bb7ddcd65-jzx9n                             Started container prometheus-operator
11m         Normal    SuccessfulCreate         replicaset/prometheus-operator-monitoring-operator-5bb7ddcd65                            Created pod: prometheus-operator-monitoring-operator-5bb7ddcd65-jzx9n
11m         Normal    ScalingReplicaSet        deployment/prometheus-operator-monitoring-operator                                       Scaled up replica set prometheus-operator-monitoring-operator-5bb7ddcd65 to 1

After that if i try to disabling / renabling it will never create pvc with right name.

Hello @melck,
I have exactly the same problem with openebs hostpath volumes. Have you found a solution in the meantime?
storageSpec:
  volumeClaimTemplate:
    spec:
      accessModes:
        - ReadWriteOnce
      resources:
        requests:
          storage: 50Gi
      storageClassName: openebs-hostpath
      volumeMode: Filesystem


edit deployment or other config error

Describe the bug
The cursor position and the actual position are different，eg string 1234567
cursor is in 5 position ,when i enter delete, it delete 2
Screenshots

Environment (please complete the following information):

Lens Version:3.6.8
OS: 　ubuntu 18 lts
Installation method (e.g. snap or AppImage in Linux):

Is this still a problem in 4.1.4?


Error on mix migrate_tenants command

To work on ash_admin, you'll want to be able to run the dev app. You'll need to have postgres setup locally, at which point you can do the following:
mix ash_postgres.create
mix migrate
mix migrate_tenants
Then, you can start the app with: mix dev
if you make changes to the resources, you can generate migrations with mix generate_migrations

The mix migrate_tenants step produces this error:

** (Mix) Could not find migrations directory "dev/repo/tenant_migrations"
for repo Demo.Repo.
This may be because you are in a new project and the
migration directory has not been created yet. Creating an
empty directory at the path above will fix this error.
If you expected existing migrations to be found, please
make sure your repository has been properly configured
and the configured path exists.

To Reproduce
Clone down main and follow the development instructions. The command: mix migrate_tenants will throw an error.
Expected behavior
No error when running tenant migrations.
Runtime

Elixir version: 1.14.3
Erlang version 25.2.2
OS macOS 13.2.1
Ash version 2.4.2

this should be fixed in main


Barricade QoL Changes

I will certainly not getting to these anytime soon but adding them while I still have barricades fresh in my mind.

[ ] Utilize triangle selection pop-up menu for barricade upgrades (like in CM13)
[ ] Remove upgrades using security access tuner
[ ] Barbed wire wiring noises
[ ] Plasteel barricade uses CMPlasteel when it gets added
[ ] Barbed wire balancing so it actually hurts xenos
[ ] Holiday special sprites?

#493

dont forget being able to have multiple on the same tile


[BENCHMARK DATASET REQUEST] dutch-cola

Dataset name
GroNLP/dutch-cola
Dataset link
https://huggingface.co/datasets/GroNLP/dutch-cola
Dataset languages

[ ] Danish
[ ] Swedish
[ ] Norwegian (Bokmål or Nynorsk)
[ ] Icelandic
[ ] Faroese
[ ] German
[X] Dutch
[ ] English

Describe the dataset
Dutch CoLA is a corpus of linguistic acceptability for Dutch: a dataset consisting of sentences in Dutch, each marked as either acceptable (class 1) or unacceptable (class 0). These sentences are collected from existing descriptions of Dutch grammar (see sources below) with expert-annotated acceptability labels.
I might add it through a PR when I find the time.

Included in https://github.com/ScandEval/ScandEval/pull/503.


french tokenization

Hi Bruce ! I made some changes in the source code that affect only the tokenaztion when language=french
I changed two things : particles before an apostrophe (line 751-754), and numeral adjectives like 1st and 3rd. (line 713-714)
Hope it helps.

OK. accepting w/o french restriction since I was already doing some french particles as seen in english


[Web] Support material ui icons with font

Support detected named material icons support with font
https://developers.google.com/fonts/docs/material_icons
face

Alternatie -
https://github.com/material-components/material-web/tree/master/packages/icon


T-rex speed issue

When the T-rex gets close to their target, it'll slow down significantly before actually reaching them. Even if the speed is set to be higher, the t-rex will still fail to kill the target unless they get stuck or otherwise stop moving.
https://github.com/user-attachments/assets/b61492f8-e4a6-44d0-b8d2-9f5f5ccf3d29

Thanks for pointing it out and providing a clip!
I'll look into it.


[Bug] Donation workflow "Thank you" page - share to social media not working

When we finish the donation we go to a thank you page (step 4).
The Facebook, Instagram and Linkedin icons should be links as in "Share" feature, but currently are just pictures.

Please note there is also an issue #903 for "Share" feature.

One more wording request - "Споделете информация за кампанията, за да постигне по-бързо целта си." instead of "Сподели съобщението на кампанията за да достигне повече хора".


TensorFlow 1.11.0 requires scipy

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): no
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: n/a
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.11.0
Python version: 3.5
Bazel version (if compiling from source): n/a
GCC/Compiler version (if compiling from source): n/a
CUDA/cuDNN version: n/a
GPU model and memory: n/a
Exact command to reproduce: pip install tensorflow==1.11.0

Describe the problem
TensorFlow 1.11.0 requires keras-preprocessing>=1.0.3, which in turn requires scipy>=0.14.  So now scipy is a dependency of TensorFlow.  This seems like a rather large change, and I didn't see anything about it in the release notes, so I'm wondering whether it was intentional or not.
Note that this same change makes all of Keras a dependency of TensorFlow now, as noted in #22426

For a concrete example of the impact of these new dependencies, the size of a clean tensorflow installation went from 375MB (1.9.0), to 379MB (1.10.0), to 516MB (1.11.0).

The updated install docs at: https://www.tensorflow.org/install/source
now state the following as dependencies, but to use the --no-deps flags:
pip install -U --user keras_applications==1.0.5 --no-deps
pip install -U --user keras_preprocessing==1.0.3 --no-deps

I think we have to consider that the vast majority of users will simply be doing pip install tensorflow, so this change makes scipy an install requirement (even if there is technically a way for users to manually work around the standard packaging system behaviour).
Also consider all the downstream packages that have tensorflow as a requirement.  They would all now need to add
pip install -U --user keras_applications==1.0.5 --no-deps
pip install -U --user keras_preprocessing==1.0.3 --no-deps

to their installation instructions (which would be pretty confusing to users, since those aren't even dependencies of that downstream package) if they want to avoid bloating their own installation process with a scipy dependency.

Oops, you're right. I inadvertently conflated installing/building from source with simply installing the pre-built package.

It seems to create a little problems because tensorflow depends on keras, see #22601, #22486.  cc @fchollet
As tf.keras has been in tensorflow core, I'm curious about why keras library is still necessary for tf.

I think this is resolved for 1.12 and future releases. This dependency was happening through keras_applications.
Thanks for reporting. Unfortunately, for 1.11 we will leave this bug in because we have already started working on 1.12.


Update dd-trace-api, dd-trace-ot to 0.78.1

Updates

com.datadoghq:dd-trace-api
com.datadoghq:dd-trace-ot

from 0.77.0 to 0.78.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.datadoghq" } ]

labels: library-update, semver-minor

Superseded by #319.


Fix series tests

Should be the same if I just pull upstream and merge?

Nope.  You'll have to pull from my fork's expansion branch


Add math.prod function and enable its tests

I implemented math.prod function and enabled its tests.
However, I have a problems to deal with the test which I commented below.
Please suggest better solution for this if there is an nice idea :)

thank you for contributing!


[Enhancement] Add the DeviceBackupReport with Cleanup!

Summary
The DeviceBackupReport API allows for getting information about the status of device backups.  However, the report will include duplicate rows if the user has more than one backup set (including if the user is active in a Code42 Legal Matter).
This request is to have access to the same report but "cleaned up" of duplicate rows.
Proposed API
DeviceBackupReport --raw --onLegalHold --deactivated --lastCompleted # --lastConnected # --lastBackupActivity # --lessThan --state critical | warning | ok --org orgUid | orgName | [list of uids/names] --srtKey --srtDir

raw:  no removing of duplicate rows
onLegalHold:  assuming the user has the correct roles/permissions, only devices of users on legal hold.
deactivated: the default is only active devices.  This would include deactivated devices
lastCompleted | lastConnected | lastBackupActivity : these would take a number of days (or a date) and only report on devices that have last thing greater than the date/days.
lessThan: this would do the last thing and only report on the devices that have since the date/days.
state:  with a parameter to get the devices in the specified state
org:  allow to filter by orgUid or orgName or a list of either.
srtKey: various columns to sort the results
srtDir: direction of the sort

Intended Use Case
Enable the replacement of or simplification of other scripts written to provide this data.

Thanks for submitting this, @phirst !
In order to achieve this, we would first want to expose the Device Backup report api in py42. Once that's complete, I think this is a very well-defined use case.

Hope this can still be prioritized!

Any progress on this?


different result when scanWindow

Using the demo example and scanning the same QR code. With every option (MobileScanner with List Controller; MobileScanner with Controller; MobileScanner without Controller etc) the decoded string is the expected one except the MobileScanner with ScanWindow.
Is this an expected behaviour?
instead of
M1LAUDAT/FLORIN       ENZJRLC MUCTSRLH 1656 249M011E0036 359>6180M 3248BLH              2A22024999147790 LH LH<PHONE_NUMBER>09734     N*30600000K05
getting
LAUDAT/FLORIN

Check a little bit and this is the difference between displayValue and rawValue.


Scaffolding

Current coverage is 100% (diff: 100%)

No coverage report found for master at 5ab4fd8.

Powered by Codecov. Last update 5ab4fd8...7e18e6d


Use of ngModel inside modal template fires an exception on dialog open

I'am not sure is this issue exactly of angular2-modal but here some info it might be useful for someone else
I got a trouble using angular2-modal when decided to implement input with ngModel inside modal template e.g.
<input type="text" class="form-control" required [(ngModel)]="data">

after that I got an exception while opening a modal dialog: EXCEPTION: No provider for e! (t -> Token NgValueAccessor -> e -> e)
while trying to solve a problem I found similar issue:
http://stackoverflow.com/questions/34606534/angular2-no-provider-for-renderer-ngmodel-token-ngvalueaccessor-defaultv
answers in that topic helps me to fix my problem:
Insert additional provide to bindings when calling dialog open
        let bindings = Injector.resolve([
            provide(ICustomModal, {useValue: DemoPage.modalData[type]}),
            provide(Renderer, { useValue: this._renderer}) // here we go. constructor(private _renderer: Renderer)
        ]);

after those changes ngModel works as expected.
so could you add a reference to Renderer inside dialog source or we need to use this workaround? I'am expecting usage of forms inside modals will be often so it might help to save some time

IterableDiffers (from angular2/core) for NgFor support.
Same as described in existing issue https://github.com/shlomiassaf/angular2-modal/issues/6
I'am closing this issue because already one opened but it will be great if you describe this behavior and workaround in documentation or/and include one additional example to your demos, thanks

I'm not near my pc, but tomorrow I'll check.
I think that setting these directives in the bootstrap invocation should solve this, they will be globally mapped, like ng1 DI ...
There should be 1 common collection for most of them, maybe several collections.
If the DynamicComponentLoader would have accepted an injector I was sure it would have work but since it get a collection of resolved providers I'm not sure... (Only loadAsRoot in DynamicCompinentLoader requires an injector, which makes sense)
Basically

Added example how to workaround this issue, see readme.md for more details or review the commit


Extension Errors

The Extension is not working in the game and shows errors in the extension screen.
I can attach screenshots if needed.

Fixed now


Normkoh update ppp and acknowledgements

Codecov Report

Merging #195 (02b82c1) into master (fd95fa0) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #195   +/-   ##
=========================================
  Coverage     65.60%   65.60%
  Complexity      790      790
=========================================
  Files           103      103
  Lines          2817     2817
  Branches        400      400
=========================================
  Hits           1848     1848
  Misses          806      806
  Partials        163      163

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


fix: zoom in with keyboard shortcut

Fix zoom in edge case when a user navigates to a window pane with a keyboard shortcut.
Now it matches the same behaviour as when we click the button inside of the pane.
Fix https://github.com/smol-ai/GodMode/issues/215#issuecomment-1708496188

ah good catch


[core] clickawaylistener to ignore touchend after touchmove

PR for #13681
Ignore touchend if user scrolled on a touch device. I left touchstart because, in my opinion, if you want the event to fire when the user touches the screen, it should occur pre-scroll.

[ ] I have followed (at least) the PR section of the contributing guide.

I will need to fix the tests for this, sorry for creating the PR prematurely.


Add an option to specify a custom error handler

There may be scenarios where it's necessary to process request failures in a custom way. For example, send an additional request with other parameters to fetch data, but without rejection of the main Deferred object returned in the send method. This is, for example, how this may be implemented: https://github.com/statler/DevExtreme.AspNet.Data/blob/master/js/dx.aspnet.data.js#L65. See the https://www.devexpress.com/Support/Center/Question/Details/T553788 ticket that provides a detailed description of this scenario.

I am interested in this - can you please refer to my fork for an example of the kind of error handling that I would want to implement using this?
https://github.com/statler/DevExtreme.AspNet.Data
Thanks

With jQuery, the scenario described in https://devexpress.com/issue=T553788 can be implemented, without modifying the script, via $.ajaxPrefilter:
$.ajaxPrefilter(function (_, ajaxSettings, xhr) {
    var d = $.Deferred();

    xhr
        .done(d.resolve)
        .fail(function (xhr, textStatus) {
            if (xhr.status === 401 && xhr.responseJSON && "newToken" in xhr.responseJSON) {
                console.log("Retry");
                // handle new token, etc
                $.ajax(ajaxSettings).then(d.resolve, d.reject);
            } else {
                d.reject(xhr, textStatus);
            }
        });

    return d.promise(xhr);
});

(based on https://stackoverflow.com/a/12446363)
I experimented with a possible callback for customizing AJAX requests (see https://github.com/AlekseyMartynov/DevExtreme.AspNet.Data/commit/a2bd38257d0d2d06e66615836e289a9f8fc2a984#diff-77af11b8eb0f57f8871e07189b2fee5fR680), but such an API didn't seem too useful in general.
I'm closing the ticket since there are easy workarounds.


Kadane's algorithm

Kadane's Algorithm Implementation in C++.
I have added the required Documentation and the code for Kadane's algorithm .
Fixes #287
New Code
Checklist:

[X] I have read the contribution guidelines before making this PR.
[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented in my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation (Language folder or any other readme instructed to)
[X] My changes generates no new warnings
[X] I have added tests that prove my fix is effective or that my feature works

Pushed extra python files, have a check of that

Oops,I will have that looked into.

Made the required changes  @kaustubhgupta .Please review it .

There seems to be a big error from your side. If I merge this PR, the master Python readme file will be deleted. I would suggest making a new PR.


FancyZonesData::SaveFancyZonesData granular saving

We're saving zones-settings.json and app-zone-history.json together even when we should only update only one of them, see FancyZonesData::SaveFancyZonesData. We should save those file granularly instead.

When fixing this issue, we can roll-back https://github.com/microsoft/PowerToys/commit/e69fbfd16fed48c746d1d7dd696fb00ffd0b2049 and re-enable the file-watcher.
This is a pre-requisite for https://github.com/microsoft/PowerToys/pull/8148

When fixing this issue, we can roll-back https://github.com/microsoft/PowerToys/commit/e69fbfd16fed48c746d1d7dd696fb00ffd0b2049 and re-enable the file-watcher.
This is a pre-requisite for https://github.com/microsoft/PowerToys/pull/8148


Add support for \kern

Summary:
Addresses https://github.com/Khan/KaTeX/issues/422.
This only supports em and ex units and doesn't handle vertical layouts.
Negative kerning works.
Test Plan:

make test
make screenshots (verify that d is slightly overlapping c in the screenshots)

Reviewers: emily

@kevinbarabash this looks good to me!

@xymostech thanks


HTTPX async node

Follow up of the issue https://github.com/elastic/elastic-transport-python/issues/95.
Please, pay attention to the verify/cert configuration, this is something I am not very familiar with nor could I test it.
Things to check:

[ ] verify/cert configuration
[ ] headers

@b4sus Wow, this is exciting! Thanks for working on this.
I'd like to set the expectations here by noting that this is a large change that will require multiple rounds of review, and that I will be slow because of the holidays season coming up. My goal is to have this merged by the end of January.
I haven't looked at the code in any meaningful way but I noticed it uses asyncio. However, I'd like to use anyio instead because it will get us Trio support for free, which is the main reason to support HTTPX for me.
Also, can you please sign the CLA?
Thanks again!

The DefaultType | (float | None) syntax is only valid in Python 3.10 and above, unless you add from __future__ import annotations. But if we do that, we should do it in all files, by adding add_imports = "from __future__ import annotations" to our isort configuration here: https://github.com/elastic/elastic-transport-python/blob/main/setup.cfg and running pyupgrade. As an added bonus, this sounds like a nice way to get your first contribution in, so that I don't have to click "Approve and run" every time you make a change. (Maybe I can tinker with the GitHub settings to avoid that though.)
The other option is to stick to typing.Union.

Are you OK if I submit some small changes to this branch myself?

Of course, go for it.

Could not help myself, this is turning into bigger changes. Hope that's still OK :see_no_evil:


[ENH] LOOKOUT: "Leave-one-out kernel" density estimates for outlier detection

LOOKOUT is a new approach to detect outliers using leave-one-out kernel density estimates and extreme value theory. Outlier detection methods that use kernel density estimates generally employ a user defined parameter to determine the bandwidth. Lookout uses persistent homology to construct a bandwidth suitable for outlier detection without any user input.
R code:
https://github.com/sevvandi/lookout
The R implementation depends on some additional packages (which either need to have equivalent python counterparts, or the functions be re-written), specifically:

[ ] phom <- TDAstats::calculate_homology(dist(X), format = "distmat")
https://rdrr.io/cran/TDAstats/src/R/calculate.R (R)
https://github.com/scikit-tda/ripser.py/blob/master/ripser/ripser.py (python)
[ ] RANN::nn2(x, k = nn)$nn.dists
https://www.rdocumentation.org/packages/RANN/versions/2.6.1/topics/nn2 (R)
should be able to use sklearn.neighbors.NearestNeighbors (python)
[ ]  evd::fpot(log_dens, qq, std.err = FALSE)
https://www.rdocumentation.org/packages/evd/versions/2.3-3/topics/fpot (R)
https://github.com/iagolemos1/thresholdmodeling (python)
^ new dependency, but most likely need to re-write as it's not been maintained
[ ] evd::pgpd(-log(kdeobj$lookde), loc = qq,... The Generalized Pareto Distribution
https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.genpareto.html

The major uncertainty in the scope of this work is in evd::fpot, Maximum-likelihood fitting for peaks over threshold modelling, using the Generalized Pareto or Point Process representation.
Reference:
Kandanaarachchi, Sevvandi, and Rob J. Hyndman. "Leave-one-out kernel density estimates for outlier detection." Journal of Computational and Graphical Statistics 31.2 (2022): 586-599.

For evd::fpot(), Maximum-likelihood fitting for peaks over threshold modelling, the python equivalent imports an R package POTS
from rpy2.robjects.packages import importr
import rpy2.robjects.packages as rpackages

base = importr('base')
utils = importr('utils')
utils.chooseCRANmirror(ind=1)
utils.install_packages('POT') #installing POT package

https://cran.r-project.org/web/packages/POT/index.html
Where in the POTS package, function gpdmle is a simplified version of the evd::fpot() function
4) Maximum Likelihood Estimator
This function comes from the evd package. The gpdmle function
corresponds to the fpot function. Nevertheless, it was sligthly modified
to simplify it. So, this function is a ligther version of fpot.
So, I'm very gratefull to Alec Stephenson.
However, in the POTS::gpdmle function,
nlpot <- [function](https://rdrr.io/r/base/function.html)([scale](https://rdrr.io/r/base/scale.html), shape) {
    -.[C](https://rdrr.io/r/stats/zC.html)(POT_do_gpdlik, exceed, nat, threshold, [scale](https://rdrr.io/r/base/scale.html),
        shape, dns = [double](https://rdrr.io/r/base/double.html)(1))$dns
  }

https://rdrr.io/cran/POT/src/R/util-GPD-mle.R
which I think is just:
void do_gpdlik(double *data, int *n, double *loc, double *scale,
	    double *shape, double *dns)
{
  int i;
  double *dvec;

  dvec = (double *)R_alloc(*n, sizeof(double));

  if(*scale <= 0) {
     *dns = -1e6;
     return;
  }

  for(i=0;i<*n;i++)  {
    data[i] = (data[i] - loc[i]) / *scale;
    if (data[i] <= 0) {
      *dns = -1e6;
      return;
    }
    if(fabs(*shape) <= 1e-6){
      *shape = 0;
      dvec[i] = -log(*scale) - data[i];
    }
    else {
      data[i] = 1 + *shape * data[i];
      if(data[i] <= 0) {
	*dns = -1e6;
	return;
      }
      dvec[i] = -log(*scale) - (1 / *shape + 1) * log(data[i]);
    }
  }

  for(i=0;i<*n;i++)
    *dns = *dns + dvec[i];
}

https://github.com/cran/POT/blob/master/src/POT.c

In summary, for evd::fpot(), this task would involve re-writing:
gpdfit from Python
gpdmle from R
do_gpdlik from C

In total, I estimate 2 weeks for a draft PR


Settings should not be overriden by app upgrades

Settings TOML file is installed in .venv/lib/python3.11/site-packages/FabOMatic/conf/settings.toml
When a new version is published, it gets overwritten by the PyPi published version by PIP.
Action:

Find a library to replace the toml file parsing in fixed location

an example toml file is provided. On first run, a copy is created in case the user did not copy.


Update customize_template.py

Fixes #7. This workflow was deleted in a previous commit, breaking the customize_template script, and this PR resolves it.

Thank you very much, Bhavik!

By the way @b-mehta, if you use this template for a new blueprint-driven project please consider opening a new PR adding a reference to it here.


Team7 issue761

Updated TEAM7 example to replace two existing ones.

Let's work on improving PR titles as these show up in the release autosummary. The long description "Updated TEAM7 example to replace two existing ones." would actually make for a good title (minus the period).

Let's work on improving PR titles as these show up in the release autosummary. The long description "Updated TEAM7 example to replace two existing ones." would actually make for a good title (minus the period).

Ok, good point


port ractivity and init for ng

Description

init work
needs to test

Related Issues

https://github.com/threefoldtech/home/issues/1007

Checklist

[ ] Pre-commit hook is installed to do formatting checks before committing code...etc
[ ] Tests included
[ ] Build pass
[ ] Documentation
[ ] Code format and docstrings

Codecov Report

Merging #2347 (ddfaa41) into development (72ca118) will increase coverage by 0.24%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           development    #2347      +/-   ##
===============================================
+ Coverage        32.00%   32.24%   +0.24%
===============================================
  Files              139      139
  Lines            13517    13517
===============================================
+ Hits              4326     4359      +33
+ Misses            9191     9158      -33

Impacted Files
Coverage Δ

jumpscale/tools/servicemanager/servicemanager.py
74.22% <0.00%> (+11.34%)
:arrow_up:

jumpscale/clients/stellar/__init__.py
40.00% <0.00%> (+16.92%)
:arrow_up:

jumpscale/packages/admin/services/diskcheck.py
84.61% <0.00%> (+23.07%)
:arrow_up:

jumpscale/packages/admin/services/stellar.py
66.66% <0.00%> (+29.62%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #2347 (ddfaa41) into development (72ca118) will increase coverage by 0.24%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           development    #2347      +/-   ##
===============================================
+ Coverage        32.00%   32.24%   +0.24%
===============================================
  Files              139      139
  Lines            13517    13517
===============================================
+ Hits              4326     4359      +33
+ Misses            9191     9158      -33

Impacted Files
Coverage Δ

jumpscale/tools/servicemanager/servicemanager.py
74.22% <0.00%> (+11.34%)
:arrow_up:

jumpscale/clients/stellar/__init__.py
40.00% <0.00%> (+16.92%)
:arrow_up:

jumpscale/packages/admin/services/diskcheck.py
84.61% <0.00%> (+23.07%)
:arrow_up:

jumpscale/packages/admin/services/stellar.py
66.66% <0.00%> (+29.62%)
:arrow_up:

Continue to review full report at Codecov.

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


depends on @local_config_cc//:cc-compiler-x64_windows in repository @local_config_cc which failed to fetch. no such package

bazel build :hello_main
INFO: Call stack for the definition of repository 'local_config_cc' which is a cc_autoconf (rule definition at C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/cc_configure.bzl:143:15):

C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/cc_configure.bzl:179:5
/DEFAULT.WORKSPACE.SUFFIX:317:1
ERROR: An error occurred during the fetch of repository 'local_config_cc':
Traceback (most recent call last):
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/cc_configure.bzl", line 120
configure_windows_toolchain(<1 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 690, in configure_windows_toolchain
_get_msvc_vars(repository_ctx, <1 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 503, in _get_msvc_vars
_find_missing_vc_tools(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 387, in _find_missing_vc_tools
find_msvc_tool(repository_ctx, <2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 367, in find_msvc_tool
_get_vc_full_version(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 357, in _get_vc_full_version
_get_latest_subversion(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 336, in _get_latest_subversion
repository_ctx.path((vc_path + "\Tools\MSVC")).readdir()
C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC (No such file or directory)
ERROR: E:/tensorflow/02/BUILD:8:1: //:hello_main depends on @local_config_cc//:cc-compiler-x64_windows in repository @local_config_cc which failed to fetch. no such package '@local_config_cc//': Traceback (most recent call last):
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/cc_configure.bzl", line 120
configure_windows_toolchain(<1 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 690, in configure_windows_toolchain
_get_msvc_vars(repository_ctx, <1 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 503, in _get_msvc_vars
_find_missing_vc_tools(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 387, in _find_missing_vc_tools
find_msvc_tool(repository_ctx, <2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 367, in find_msvc_tool
_get_vc_full_version(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 357, in _get_vc_full_version
_get_latest_subversion(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 336, in _get_latest_subversion
repository_ctx.path((vc_path + "\Tools\MSVC")).readdir()
C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC (No such file or directory)
ERROR: Analysis of target '//:hello_main' failed; build aborted: no such package '@local_config_cc//': Traceback (most recent call last):
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/cc_configure.bzl", line 120
configure_windows_toolchain(<1 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 690, in configure_windows_toolchain
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 503, in _                _find_missing_vc_tools(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 387, in _find_missing_vc_tools
find_msvc_tool(repository_ctx, <2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 367, in find_msvc_tool
_get_vc_full_version(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 357, in _get_vc_full_version
_get_latest_subversion(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 336, in _get_latest_subversion
repository_ctx.path((vc_path + "\Tools\MSVC")).readdir()
C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC (No such file or directory)
INFO: Elapsed time: 1.231s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
PS E:\TensorFlow\02> bazel clean --expunge
INFO: Starting clean.
PS E:\TensorFlow\02> bazel build :hello_main
Starting local Bazel server and connecting to it...
INFO: Call stack for the definition of repository 'local_config_cc' which is a cc_autoconf (rule definition at C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/cc_configure.bzl:143:15):

C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/cc_configure.bzl:179:5
/DEFAULT.WORKSPACE.SUFFIX:317:1
ERROR: An error occurred during the fetch of repository 'local_config_cc':
Traceback (most recent call last):
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/cc_configure.bzl", line 120
configure_windows_toolchain(<1 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 690, in configure_windows_toolchain
_get_msvc_vars(repository_ctx, <1 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 503, in _get_msvc_vars
_find_missing_vc_tools(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 387, in _find_missing_vc_tools
find_msvc_tool(repository_ctx, <2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 367, in find_msvc_tool
_get_vc_full_version(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 357, in _get_vc_full_version
_get_latest_subversion(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 336, in _get_latest_subversion
repository_ctx.path((vc_path + "\Tools\MSVC")).readdir()
C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC (No such file or directory)
ERROR: E:/tensorflow/02/BUILD:8:1: //:hello_main depends on @local_config_cc//:cc-compiler-x64_windows in repository @local_config_cc which failed to fetch. no such package '@local_config_cc//': Traceback (most recent call last):
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/cc_configure.bzl", line 120
configure_windows_toolchain(<1 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 690, in configure_windows_toolchain
_get_msvc_vars(repository_ctx, <1 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 503, in _get_msvc_vars
_find_missing_vc_tools(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 387, in _find_missing_vc_tools
find_msvc_tool(repository_ctx, <2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 367, in find_msvc_tool
_get_vc_full_version(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 357, in _get_vc_full_version
_get_latest_subversion(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 336, in _get_latest_subversion
repository_ctx.path((vc_path + "\Tools\MSVC")).readdir()
C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC (No such file or directory)
ERROR: Analysis of target '//:hello_main' failed; build aborted: no such package '@local_config_cc//': Traceback (most recent call last):
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/cc_configure.bzl", line 120
configure_windows_toolchain(<1 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 690, in configure_windows_toolchain
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 503, in _get_msvc_vars
_find_missing_vc_tools(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 387, in _find_missing_vc_tools
find_msvc_tool(repository_ctx, <2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 367, in find_msvc_tool
_get_vc_full_version(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 357, in _get_vc_full_version
_get_latest_subversion(<2 more arguments>)
File "C:/users/administrator/_bazel_administrator/gtw4qbxk/external/bazel_tools/tools/cpp/windows_cc_configure.bzl", line 336, in _get_latest_subversion
repository_ctx.path((vc_path + "\Tools\MSVC")).readdir()
C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC (No such file or directory)
INFO: Elapsed time: 7.744s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (12 packages loaded, 18 targets configured)
PS E:\TensorFlow\02> bazel
[bazel release 3.0.0]
Usage: bazel   ...

Available commands:
analyze-profile     Analyzes build profile data.
aquery              Analyzes the given targets and queries the action graph.
build               Builds the specified targets.
canonicalize-flags  Canonicalizes a list of bazel options.
clean               Removes output files and optionally stops the server.
coverage            Generates code coverage report for specified test targets.
cquery              Loads, analyzes, and queries the specified targets w/ configurations.
dump                Dumps the internal state of the bazel server process.
fetch               Fetches external repositories that are prerequisites to the targets.
help                Prints help for commands, or the index.
license             Prints the license of this software.
mobile-install      Installs targets to mobile devices.
print_action        Prints the command line args for compiling a file.
query               Executes a dependency graph query.
run                 Runs the specified target.
shutdown            Stops the bazel server.
sync                Syncs all repositories specified in the workspace file
test                Builds and runs the specified test targets.
version             Prints version information for bazel.
Getting more help:
bazel help
Prints help and options for .
bazel help startup_options
Options for the JVM hosting bazel.
bazel help target-syntax
Explains the syntax for specifying targets.
bazel help info-keys
Displays a list of keys used by the info command.
PS E:\TensorFlow\02> bazel version
Build label: 3.0.0
Build target: bazel-out/x64_windows-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Mon Apr 6 12:56:01 2020<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>
PS E:\TensorFlow\02>

@danedang
Which version of Tensorflow you are using. Request you to fill issue template.Provide the exact sequence of commands / steps that you executed before running into the problem.Thanks!

@danedang
Any update on this issue please. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

@ravikyram  2.0


Can't press anything?

Every button greyed out and I can't press anything. I just installed the extension following the steps.

I need to remove disabled="" in order to unblock all of the buttons.

After digging into the code, it seems that the bot token must be 72 or higher while my generated token is 70 chars long.

After messing with the code that I downloaded locally, I managed to change the token len in strings.py to 70 and successfully run the bot.

Interesting.  I haven't yet seen any token of that size, and my understanding is that a 70 character token shouldn't be possible based on my understanding of how they're generated.  I just tried generating a bunch more, and wasn't able to get one that was shorter than 72 characters in length.
Is the token newly generated?
In any case, if you generate a new one, what length is it?
Would it be possible to generate a new one and then send me the old (now invalid) token?  If there are multiple formats, it would be helpful for me to know how the other ones are structured.  The length check isn't there just for the UI, later on the code decodes the token to read some values from it, so it's important to understand how the tokens are structured to make sure that part of the code works too.
Thanks for your help!

Yes the token is newly generated. Here is my old token: ODU0Mjk4ODgwNzkwODg4NDU5.GeiMih.gY_WJSWxKpLCRoV0c_AND0100WoQQszxyKDmfU

Added a fix in a7c98300c3f92e911b0b85032060de03a098734c
Thanks for the report!  Apologies for being skeptical initially, it's sometimes hard to tell bugs from simple user errors.
If you want to pull the latest main you can get the fix, though I imagine you might have already fixed it yourself.  Alternatively, you could use the oobabot CLI bot in the meantime (which should work as-is), or wait until the next release.
As a bonus, I now now way more than anyone should about how Discord tokens are generated. :)

Thank you for the fix! Happy to help :)
I also know more now about discord bot token. I thought it was a randomly generated string.


fix: add back MW fallback

Closes https://github.com/carrascomj/simult_supp_material/issues/1
It seems like the molecular weight fallback for unknown aminoacids was removed at some point, I don't really remember why, probably unintendedly.

Cobrapy must be up(or down)graded.


Added systemd service unit for a persistent Weave Net to Wireguard route

First of all, thank you fore the fantastic work so far. As I set up a litle k8s-cluster in the Hetzner Cloud with the help of this guide, I noticed that the route, which routes traffic from the Weave Net Interface over the Wireguard interface, is not persistent and therefore doesn't survive a node reboot.
As the typical way to set up a persistent routes in /etc/network/interfaces doesnt't work in this case, because the wg0 interface gets initialized after the physical/virtual interfaces in  /etc/network/interfaces, I set up a systemd service unit, which waits for the<EMAIL_ADDRESS>and after that adds the route. This seems to work well. I'm interested in your opinion.

Thanks a lot for this PR. I'm going to merge and release this with https://github.com/hobby-kube/provisioning/pull/14
Cheers!

Actually, I just figured out that this is unrelated. Will review and merge this in the coming days.

Could you please change the name of the file and the description field to match this commit?
https://github.com/hobby-kube/provisioning/commit/36cbfac305ca172d6b50a64f0b1d172f9d951d13#diff-b3d32eacc7846a71791e9660ea7467e5

Done :)

Thanks! 🍻


Make QR code exportable as image

Currently, the QR code to share a session is rendered as an SVG. Right-clicking it does not give the option to save the QR code as an image (at least in Chromium). Of course you could make a screenshot, but rendering it as an image would make it easier imo

https://github.com/inovex/scrumlr.io/issues/4170#issuecomment-2139583788


Tooltips for all parts of the report table

I really think this package is awesome and I'm using it constantly. It's the only R package that makes data checking both easy and really rigorous. I have to check a lot of datasets and find out what problems they have and this package seriously has all the tools for the job. Thanks for all the great work you're putting into it!!!
A feature request I'd like to make here is to have tooltips put on all of the different cells of the report table. If there there are a lot of values in a cell, the report only shows the first part of it and then ... . But a tooltip could provide a bit more info (could still be a high level summary).
Thank you  again. This is one of the best R packages around and it's still always getting better!

I completely agree that this should be done for the report. Thank you for using the package!

Currently working on implementing much better tooltips through integration of balloon.css. This is on top of ensuring that more table cells have tooltips at all, and, that the tooltips get better formatting.
The small version of the agent report (mostly used for emails) will get standard HTML tooltips. I might consider making this an option and setting the defaults accordingly.


check "tested on" sections in role readmes

test the role on the listed OSs or adjust the readmes

Done with Ubuntu 16, and renamed to "Runs on"


Build and publish TS library on a separate clean branch

I hate how we need to build and check in the wasm file on each PR so much. Let's build and publish to deno.land/x on a separate branch.

This is done now. Seems to work great.


Feature request

Would it be possible to show the co-ordinates of blocks that are missing once it gets below a certain amount, maybe 20 blocks. This would be helpful for most things this mod is used for. I would like this to be in all versions if possible, so 1.7.10, 1.8 etc. Thanks

The problem is, where would this information be visible?

There could be another column of information, to the right of 'amount'. It could have --- listed until there were a certain amount of blocks left unplaced, or it could permanently list a certain amount of missing block coordinates. The scroll bar would also have to be moved to the right of the new column. Both options are shown in this quick image edit.

That limits it to only a few per item, which isn't really that great. Also, on lower resolutions there is no space left on the left/right side, maybe enough for 1 set of coordinates.

Maybe a seperate menu screen then with a key bind or just a button in the schematica config menu.

I'm not really sure what would be the best solution for this. What I know for sure is that the list has to be limited to a specific number of blocks, otherwise large schematics will crash the game.

What about if you could only see coordinates of missing blocks if you were making the schematic by layer? That might help with some lag/crashes

People try to load schematics that are huge, sometimes up to 400x400 blocks. One such layer would contain 160000 entries on the GUI that you're suggesting. The only way to avoid this is to cut off checking after a certain amount of blocks have been already added to the list.

What could possibly be done is not show any coordinates to begin with to not cause more lag, and then only show coordinates when there are only a set amount of blocks left unplaced, Maybe 100. I have this issue of not being able to find the last blocks of a build, and for 400x400 schematics that would be so many more blocks than I cant find.

How about just turn on a mode to hide all the blocks that are correct, and show highlights (that are also visible through other blocks) of the ones that are incorrect?

Now thats a good idea, thats something I know I wouldnt have thought of.

That's pretty much how the mod already works, except for the last part.
I can look into adding a toggle for this as an alternative for a list of locations/blocks.

If I were you I would do this and completely ignore my idea of listings coords of incorrect blocks. This makes so much more sense

I meant more noticeable highlights. Something visible through other blocks,
specifically.
On Nov 16, 2017 11:10 AM, "Breadabix"<EMAIL_ADDRESS>wrote:

If I were you I would do this and completely ignore my idea of listings
coords of incorrect blocks. This makes so much more sense
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Lunatrius/Schematica/issues/265#issuecomment-345009211,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQDJZNCC5E2j1m6GxLZmhLkDPGCjNZ1Aks5s3HqDgaJpZM4Perw6
.


Disable canvas mouse on dom hover !

I have GUI panels on dom where i push and scroll buttons.
But the 3d canvas is moveing and zooming at the same time.
Any ideas ? thanks up front !

Maybe try to remove this line and also domElement={dom.current} on line 22?

Oh really?
I think I have the issue you are talking about here. When you drag on the generate button for instance it will orbit the camera.
And then here, I took my own advice and removed the 2 lines above and dom events are no longer being passed through when you are hovering over the dom, but the camera is not frozen as long as you're hovered over the canvas. Maybe I don't understand your issue fully (and I definitely don't understand the event systems fully! )
I am testing on chrome/macOS.

I was thinking about this problem as well since I have custom camera controls. I just made a new store value called domhover that I set to true or false with onMouseEnter and onMouseLeave. Then I disable the camera controls depending on that state.


mat-autocomplete. How to traverse multiple selection?

I have an interesting requirement where I need people's input/suggestions.
Input: "oh.pickWave.business.code"
I want to invoke the typeahead on ".". So, when the user types "oh.", it should display all the fields of "oh" object that he can select. One of them is object itself (pickwave), and selecting then and typing "." at the end should display the fields off of "Pickwave" object.
The user can traverse multiple depth until the field cannot traverse any more. In above example, "code" is a string.
With mat-autocomplete, I can make the query to work with ".". But how do I overwrite the search function, so that it matches the fields correctly?
For example, "oh" has these fields. [number, status, created date].
When I type in "oh.", it shows these three columns. But when I type in "oh.num", it doesn't narrow down the search.

read this https://material.angular.io/components/autocomplete/overview#adding-a-custom-filter and post support request in stack overflow

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.


Unable to make it call delegate method

Hello,
I have set everything like in example. Unfortunately,
 func paginate(_ tableView: PagingTableView, to page: Int) {
 }

method does not being called when I am at the end of the uitableview.
What might be the wrong?

Hello,
I have set everything like in example. Unfortunately,
 func paginate(_ tableView: PagingTableView, to page: Int) {
 }

method does not being called when I am at the end of the uitableview.
What might be the wrong?

I'm facing the same issue. Have you found any solution?

@webnizam @erdemgc
You need to call tableView.dequeueReusableCell(withIdentifier: "yourcellindentifier", for: indexPath) this method in your cellForRow method to trigger the delegate method.

I am also facing the same issue. Sometimes it calls, but most of the time it does not call paginate method. I have dequeue method in cellForRow.

same problem here


Version 6.5.0 release

Changed

Added support for version v2.1-<IP_ADDRESS> of the DocuSign ESignature API.
Updated the SDK release version.

AppVeyor build and test pass.


Create Filter component

Add this component to FIlter/desktop and Filters/mobile respesctively

@Rajdip019 Please assign this to me

Sure go ahead @RavindraP04 check there are already filters built in Filter folder

All of them are done? @RavindraP04

All of them are done? @RavindraP04

No, @Rajdip019
Sorry to say but, I'm busy with end sem exams also I was just waiting for Dibyendu to improve the component which will be used in this component, Now that its done, I will surely make all the PR by tomorrow EOD.


chore: add original stack trace for failed syncs

Convert logger obj to include context
Make the error message fixed
Add stack trace to logger line

Test Plan
[Describe test plan here]
Deployment instructions
[Add any special deployment instructions here]

I pushed a fix


xxx.ovpn file did not get copied to the Home directory.

PiVPN Issue Template

xxx.ovpn file did not get copied to the Home directory after creating a client key.
Have you searched for similar issues and solutions?
Yes, however, I am getting mix results.
Console output of curl -L install.pivpn.io | bash
  pi@Petes_PI:~ $ pivpn add
cat: /etc/pivpn/INSTALL_USER: No such file or directory
Enter a Name for the Client:  petes_s5
Name can only contain alphanumeric characters and dashes (-).
pi@Petes_PI:~ $ pivpn add
cat: /etc/pivpn/INSTALL_USER: No such file or directory
Enter a Name for the Client:  petes-s5
Enter the password for the client:
Enter the password again to verify:
spawn ./easyrsa build-client-full petes-s5

Note: using Easy-RSA configuration from: ./vars
rand: Use -help for summary.
Generating a 2048 bit RSA private key
..................+++
...........+++
writing new private key to '/etc/openvpn/easy-rsa/pki/private/petes-s5.key.Dk42s0bY8c'
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:

-----
Using configuration from /etc/openvpn/easy-rsa/openssl-1.0.cnf
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
commonName            :ASN.1 12:'petes-s5'
Certificate is to be certified until Jul  4 13:39:09 2028 GMT (3650 days)

Write out database with 1 new entries
Data Base Updated
spawn openssl rsa -in pki/private/petes-s5.key -aes128 -out pki/private/petes-s5.key
Enter pass phrase for pki/private/petes-s5.key:
writing RSA key
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
Client's cert found: petes-s5.crt
Client's Private Key found: petes-s5.key
CA public Key found: ca.crt
tls-auth Private Key found: ta.key
cat: Default.txt: No such file or directory
cp: cannot create regular file '/home//ovpns/petes-s5.ovpn': No such file or directory
chown: cannot access '/home//ovpns/petes-s5.ovpn': No such file or directory

========================================================
Done! petes-s5.ovpn successfully created!
petes-s5.ovpn was copied to:
  /home//ovpns
for easy transfer. Please use this profile only on one
device and create additional profiles for other devices.
========================================================

pi@Petes_PI:~ $

Console output of pivpn add or pivpn add nopass
 ## Console Output of `sudo iptables -t nat -S`

pi@Petes_PI:~ $ sudo iptables -t nat -S
-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT
pi@Petes_PI:~ $

## Console Output of `sudo iptables -S`

pi@Petes_PI:~ $ sudo iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
pi@Petes_PI:~ $

## output of `sudo netstat -uanp | grep openvpn`

pi@Petes_PI:~ $ sudo netstat -uanp | grep openvpn
udp        0      0 <IP_ADDRESS>:1194            <IP_ADDRESS>:*                           362/openvpn
pi@Petes_PI:~ $

## Have you taken any steps towards solving your issue?
     which?  No,  Not sure what to do.

<!-- If something else fails, please state the command you used and it's output -->

While I try to fix the underlying bug, try this workaround:

Get back your certificate: sudo cp "/etc/openvpn/easy-rsa/pki/petes-s5.ovpn" "/home/pi/ovpns/petes-s5.ovpn" and sudo chown pi "/home/pi/ovpns/petes-s5.ovpn"
Fix your installation so you can create more certificatesecho pi | sudo tee /etc/pivpn/INSTALL_USER

Hello,
Thanks for the reply.  I will have to provide the additional  information you asking for later today.

pi@Petes_PI:~ $ cat /etc/passwd
root:$6$3UUjczOV$eeADWfqlCeViHXnRi0UZgUa4W6fPMaLmwMiFNFzbQJW8p7Z8GV3u.EBu8MrpA8G/lXWZYPIuOROrDHiqETBAE/:0:0:root:/root:/bin$
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
systemd-timesync:x:100:103:systemd Time Synchronization,,,:/run/systemd:/bin/false
systemd-network:x:101:104:systemd Network Management,,,:/run/systemd/netif:/bin/false
systemd-resolve:x:102:105:systemd Resolver,,,:/run/systemd/resolve:/bin/false
systemd-bus-proxy:x:103:106:systemd Bus Proxy,,,:/run/systemd:/bin/false
_apt:x:104:65534::/nonexistent:/bin/false
pi:x:1000:1000:,,,:/home/pi:/bin/bash
messagebus:x:105:109::/var/run/dbus:/bin/false
statd:x:106:65534::/var/lib/nfs:/bin/false
sshd:x:107:65534::/run/sshd:/usr/sbin/nologin
avahi:x:108:112:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false
lightdm:x:109:113:Light Display Manager:/var/lib/lightdm:/bin/false
epmd:x:110:115::/var/run/epmd:/bin/false
pi@Petes_PI:~ $

This raspbian installation is very unusual, you are not supposed to have the root password hash in the passwd file.

First edit your previous comment and paste again the /etc/passwd file. This time remove the first line (starting with root) and enclose the test inside the "insert code" tag.
Now post the content of uname -a and cat /etc/os-release.
  I mean, this text:
::: Installation Complete!  YES ...
::: Now run 'pivpn add' to create an ovpn profile for each of your devices.
::: Run 'pivpn help' to see what else you can do!
::: It is strongly recommended you reboot after installation.

I did a fresh install on my RPI3 with DietPI today and have the same problem:
cat /etc/passwd root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin sys:x:3:3:sys:/dev:/usr/sbin/nologin sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/usr/sbin/nologin man:x:6:12:man:/var/cache/man:/usr/sbin/nologin lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin mail:x:8:8:mail:/var/mail:/usr/sbin/nologin news:x:9:9:news:/var/spool/news:/usr/sbin/nologin uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin proxy:x:13:13:proxy:/bin:/usr/sbin/nologin www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin backup:x:34:34:backup:/var/backups:/usr/sbin/nologin list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin systemd-timesync:x:100:103:systemd Time Synchronization,,,:/run/systemd:/bin/false systemd-network:x:101:104:systemd Network Management,,,:/run/systemd/netif:/bin/false systemd-resolve:x:102:105:systemd Resolver,,,:/run/systemd/resolve:/bin/false systemd-bus-proxy:x:103:106:systemd Bus Proxy,,,:/run/systemd:/bin/false _apt:x:104:65534::/nonexistent:/bin/false messagebus:x:105:109::/var/run/dbus:/bin/false statd:x:106:65534::/var/lib/nfs:/bin/false dietpi:x:1000:1000::/home/dietpi:/bin/bash
Linux home 4.14.52-v7+ #1123 SMP Wed Jun 27 17:35:49 BST 2018 armv7l GNU/Linux
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Installation completed without errors for me too. I set the run user as dietpi but am SSH'd as root.

I just did a clean install of my Raspberry Pi using Raspbian stretch, and I'm seeing these same errors.

I also just hit this issue. There were some easily missed errors in the output. The first is this:
Using configuration from /etc/openvpn/easy-rsa/openssl-easyrsa.cnf
Can't open /etc/openvpn/easy-rsa/pki/index.txt.attr for reading, No such file or directory
3069325312:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:74:fopen('/etc/openvpn/easy-rsa/pki/index.txt.attr','r')
3069325312:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:81:

The next error involves ip tables:

net.ipv4.ip_forward = 1
iptables v1.6.0: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
::: Install Complete...
::: Restarting services...
Synchronizing state of openvpn.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable openvpn
::: done.

Notice the above text: `nat'. It is wrapped with one backtick and one single quote. Is this a typo? I need to investigate further.
I'm pretty sure I saw the installation completed message but I don't see it anymore. Is it output on stderr?
The missing INSTALL_USER file caused 'pivpn add' to output this:
cat: /etc/pivpn/INSTALL_USER: No such file or directory
Enter a Name for the Client:

...then it continues on to show more errors and falsely claim success.
Write out database with 1 new entries
Data Base Updated
Client's cert found: mobile.crt
Client's Private Key found: mobile.key
CA public Key found: ca.crt
tls-auth Private Key found: ta.key
cat: Default.txt: No such file or directory
cp: cannot create regular file '/home//ovpns/mobile.ovpn': No such file or directory
chown: cannot access '/home//ovpns/mobile.ovpn': No such file or directory

========================================================
Done! mobile.ovpn successfully created!
mobile.ovpn was copied to:
  /home//ovpns
for easy transfer. Please use this profile only on one
device and create additional profiles for other devices.
========================================================

Notice the file path above: /home//ovpns. It tries to make a file path even though the variable is missing, causing cp to fail.
So, in summary, I see four issues here:

Missing file during install : /etc/openvpn/easy-rsa/pki/index.txt.attr
iptables can't find table `nat'
Missing INSTALL_USER file, even tho installer showed correct user 'pi'
'pivpn add' should error and exit if a needed file is missing

I am halfway-decent with bash, so I will dive in and see what I can find.
I'd also like to replicate the issue with set -x to get a better idea what is going on. I will also try uninstalling, reinstalling and see if that resolves the issue for me too.
I do not have a hash for root in /etc/passwd. I was running an older kernel (from September 2018) during the install. I have since updated it to 4.14.
Here is the full output of the installer:
:::
::: sudo will be used for the install.
::: Verifying free disk space...
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: There are 33 updates available for your system!
::: We recommend you update your OS after installing PiVPN!
:::
::: Static IP already configured.
::: Using User: pi
:::
::: Checking for existing base files...
:::    Checking /etc/.pivpn is a repo...:::    Cloning https://github.com/pivpn/pivpn.git into /etc/.pivpn... done!
:::
::: Stopping OpenVPN service... done.
:::
::: Installing scripts to /opt/pivpn... done.
::: Using protocol: udp
set_var EASYRSA_ALGO       ec
set_var EASYRSA_CURVE      prime256v1
::: Building CA...
Generating an EC private key
writing new private key to '/etc/openvpn/easy-rsa/pki/private/ca.key.LXCYZhCpz0'
-----

::: CA Complete.

Note: using Easy-RSA configuration from: ./vars
Generating an EC private key
writing new private key to '/etc/openvpn/easy-rsa/pki/private/server_64FxhGn6n5xEstyA.key.ie6CXj0OKB'
-----
Using configuration from /etc/openvpn/easy-rsa/openssl-easyrsa.cnf
Can't open /etc/openvpn/easy-rsa/pki/index.txt.attr for reading, No such file or directory
3069325312:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:74:fopen('/etc/openvpn/easy-rsa/pki/index.txt.attr','r')
3069325312:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:81:
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
commonName            :ASN.1 12:'server_64FxhGn6n5xEstyA'
Certificate is to be certified until Nov 24 22:19:39 2028 GMT (3650 days)

Write out database with 1 new entries
Data Base Updated

Note: using Easy-RSA configuration from: ./vars
Using configuration from /etc/openvpn/easy-rsa/openssl-easyrsa.cnf

An updated CRL has been created.
CRL file: /etc/openvpn/easy-rsa/pki/crl.pem

net.ipv4.ip_forward = 1
iptables v1.6.0: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
::: Install Complete...
::: Restarting services...
Synchronizing state of openvpn.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable openvpn
::: done.

Note: I noticed when uninstalling pivpn that easy-rsa was never installed.

So, in summary, I see four issues here:
1.Missing file during install : /etc/openvpn/easy-rsa/pki/index.txt.attr
2.iptables can't find table `nat'
3.Missing INSTALL_USER file, even tho installer showed correct user 'pi'
4.'pivpn add' should error and exit if a needed file is missing

all of these are ofenly related to a badly installed Image, or as a result of thinkering with the OS.
Please Make a fresh install of Raspian Stretch ... run
sudo apt-get update && sudo apt-get upgrade

then run PiVPN as per our documentation.
If issue still persist please reopen this issue so it can be put up to investigation.
Kind Regards.


Extension doesn't open at all. (script error)

The extension does not open for me at all. Only displays the above message.

Is it possible to have a extract to playnite.log?
This file is in folder %AppData%\Playnite (or in Playnite folder if portable installation).

playnite.log
there ya go

Thanks.


Chat buttons crash game when voxel is installed

Describe the bug
title
To reproduce
Install mod 1.7.0; install fapi and voxelmap; try and click a chat channel button.
Expected behavior
shouldn't crash
Screenshots/logs
https://cdn.discordapp.com/attachments/734276873529458688/821931843196289034/crash-2021-03-17_22.22.15-client.txt
System information
Windows 10, multimc, fapi 0.32.0, mod 1.7.0
Additional context
Game also crashes without mod menu but latest commit should alleviate that

They work for me.

user who reported this said 1.8.0 fixed it

That's funny... 1.8.0 didn't touch anything that would've affected it

/shrug


Nothing in Godot Intro

It would be nice if we had something under the Godot intro.
https://docs.smartkidsllc.com/docs/lesson-plans/godot-docs/godot-intro/

This was migrated from our old JTD version. Feel free to open a PR to populate them with content. I believe @MassiveBreaker had written the curriculum and placed it in coaches corner.


Don't alias until the deploy is finished

Problem Description:
Every time we merge into master, a build is kicked off and we automatically deploy the new version. Unfortunately that means that people using the site will see this:

Not super awesome.
Suggested Solution:
It would be better if we waited to alias the site to the deployment until after the deploy/build is successful and ready to take on traffic. Any ideas?

On mobile so this is super basic idea, but maybe we can check the status on an interval and check for the READY status on the id we deployed. I'm thinking that where we're doing the alias we can use a 1 minute interval (or 5 to avoid rate limiting?) then alias if it's ready and kill the interval.
https://zeit.co/api#get-endpoint
Sorry for the brevity.

Sounds like that's something we'll have to do. I wonder whether this is a solved problem 🤔

@kentcdodds Have you tried with now-pipeline?

That looks like exactly what we need. If course @bahmutov is behind it 😉 that guy is awesome!

Thanks for mentioning it!

I need this as well. And for me, an added wrinkle is that many of my apps initialize asynchronously - usually connecting to a database or similar. So they are not ready immediately after the process launches.
Some examples of how other technologies deal with this:

Kubernetes has the concept of a readiness probe, basically polling for some arbitrary condition.
PM2 has graceful start, a simple event-based convention where the worker sends a ready message to the parent process.

I like graceful start as it is very simple (see app-ready for an example). Some people use health check routes (like hapi-hi) for similar purposes. But even if Now simply waited until server.listen() was called, that would still be very useful.

I'm thinking something more simple solution for now should suffice. When I curl a deploy URL that's currently building, I get back:
<!doctype html>

Redirecting (302)

https://zeit.co/kentcdodds/glamorous-website/kdjqndzvgr?redirect=1

That should be easy enough to parse through to know that it's not yet ready. This way we don't need to worry about using the client or anything, we can just curl. We could start curling after about 10 minutes (because it takes at least that time every time). Then we can curl every 10 seconds or so. Maybe we could do up to 60 times (10 minutes). I think it should be pretty straightforward.
Thoughts?

I just made await-url for the polling strategy. Because JavaScript.
😇

Oh my, that's just amazing! We could use that in alias.sh 👍 anyone want to do that? Should be dead simple. Could even use npx which would be sweet!

Ok, we've got this fixed. I have a local fork of await-url for now until https://github.com/sholladay/await-url/pull/1 is merged and released :)
Also async/await in Node 8 is awesome.

<EMAIL_ADDRESS>is out with the options fixes. I tweaked the default interval and tries values in the hopes of finding a better balance between reliability for this use case and failing within a reasonable amount of time if the URL is never going to come alive.

Cool, thanks! Now if you have any ideas for how to deal with #126 I'd really appreciate it :)

await-url looks awesome, and could work nicely as the test command to now-pipeline. I have been using now-pipeline just recently in https://www.cypress.io/blog/2017/05/30/cypress-and-immutable-deploys/


Fix loss logging to return average of all batches in epoch

Describe the bug
The logged loss while training the autoencoder models, does not represent the average loss for the whole batch. Instead currently it just returns the last batch's loss.
Expected behavior
The loss returned should be an average of the loss of all the batches in the epoch.

Can you assign this to me? I have created https://github.com/numaproj/numalogic/pull/55 to attempt to fix this issue.

Of course! :)


add noopener to external links

rel="noopener" should be used for external links for better security

Thanks!


Wrong step description to access MyAnalytics settings

In the section "To enable access to the dashboard and digests" the description of the steps are wrong to access the MyAnalytics settings. The steps 3 and 4 need to be adjusted correctly like this:

In the left pane, expand "Settings", and then select "Settings".

Under "Services" select MyAnalytics. This opens a page to configure access to MyAnalytics elements.

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

ID: 381cb456-e75f-04fb-f4eb-2d6aa4d7a3a8
Version Independent ID: 1908491e-d901-90a0-e29a-33327cfa1a2d
Content: MyAnalytics configuration for Office 365 administrators - Workplace Intelligence
Content Source: WorkplaceAnalytics/MyAnalytics/Setup/configure-myanalytics.md
Product: mya
GitHub Login: @paul9955
Microsoft Alias: madehmer

Hello oldengod,
Thank you for your observation! I've looked into this. It appears that the configuration of the Settings pages is being updated but the changes haven’t yet been rolled out to all Office 365 subscribers. I don’t have access to the distribution schedule, but if you check back over the upcoming weeks, the functionality as described in the documentation should appear. In the meantime, you can continue to use the steps that you listed in your initial comment.
Thanks again,
Paul (MyAnalytics documentation team)

Thanks Paul for the quick reply!


updating my fork

attempting to pull changes from cardano-foundation to adrem1

hopefully I've done it right this time:)

hopefully I've done it right this time:)


Fix brief deselection of selected item to be selected when changing selected item.

In the SetSelectedItem() method of ItemsControlExtensions, it sets the SelectedItem to null before setting it to the value passed in.  For an existing multi-selection, the value being selected could already be within that existing selection, meaning that the item we wish to select is being deselected and then selected again.
This behaviour can make SelectionChanged event handling somewhat problematic further down the line (an application I'm working manages what selection behaviour in the SelectionChanged events for nested DataGrid instances, and the deselection of all rows, followed by the selection of the correct one for the parent DataGridhad implications for the childDataGrid` instance's selected rows.  This relates to the other pull request I've raised, https://github.com/punker76/gong-wpf-dragdrop/pull/378).
What changed?

Updated SetSelectedItem() method in ItemsControlExtensions to not deselect the item we're selecting before before selecting it again.

The original change  (https://github.com/punker76/gong-wpf-dragdrop/commit/df10543240faa021f1d7f3fa8182c27eb6e4405f) to set the SelectedItem to null first before setting it to the new value was made to resolve issue #21.  The change made in this pull request does not regress that issue.

Although I myself am working with DataGrid controls (which extends MultiSelector), I've made this change to the ListBox part of the code as well as it appears to behave in the same way.  However, as my work has primarily been with DataGrid controls, it means that I haven't tested the ListBox changes as thoroughly as the MultiSelector ones, although it seems to be fine, but if you want me to revert that change I can do so.
Also, I've not updated the Selector part of the code (yet) because, from looking at it, I'm not certain that the selector.SetCurrentValue(Selector.SelectedItemProperty, null); line is actually needed at all.
The original issue (#21) would only have occurred for scenarios where multiple items are selected.  Selector doesn't provide public APIs to allow for the selection of multiple items.
I therefore suspect that that line could probably be outright removed, and will update this pull request with that change if a maintainer agrees.

@Metritutus your changes have been merged, thanks for your contribution 👍

@punker76 Did you have any comment regarding this?

@Metritutus Yes, I think we don't need that, so I commented this out.

@punker76 Ah sorry, I missed that you'd made alterations after the merge!


Progress bar feature

New Feature
Changes proposed in this pull request:
info_progress_bar(prefix: str, value: float, max_value: float)

Adding to info_progress a progress bar with ascii character "█" between prefix and percent

Looks like a good addition, but there are a few problems:

Tests are missing
The code does not seem to work on my machine

I fear it would not work on Windows (I need to check)
Finally, there's already a pretty good library for that called tqdm which complements cli_ui nicely I think

I implemented tests and needed to change the function to do so. Its passing fine, still tests fails on windows not recognizing colored text.
Previously I had a dynamic size depending on the max_value but now i fixed it so the bar has only MAX_SIZE characters
I tested it manually on cmd.exe and it is working.
I was inspired by the tqdm.tqdm module yes, but I want to mix the two librairies by displaying a progress bar with different colors according to progress (dark red at 0% into bright green at 100%) but I still need to think about its implementation and tests (here on my windows the colored tests are failing).

Merged #65 with the current pr
Implemented rather bluntly a red-green gradient to the progress bar, scaling with the MAX_SIZE (maybe add the max_size as an argument ?)
Updated test to work with color

Hello again.
I've just merged a bunch of stuff in the main branch - so you should incorporate them in your PR.
You can do it by rebasing your branch on top of origin/master and force-push this branch (this will be easier to review that way).
You ll see that the linters have caught a few additional errors, like this:
cli_ui/__init__.py:357:51: N803 argument name 'fileObj' should be lowercase

so you'll have to fix them too.
Also, you should add a call to progress_bar in main_demo, and add a section about it in the documentation.
Finally, you should update the changelog.

Oh - and also found a crash:
  File "/mnt/data/dmerej/src/python-cli-ui/cli_ui/__init__.py", line 712, in main_demo
    info_progress_bar("Progress", 1000, 100)
  File "/mnt/data/dmerej/src/python-cli-ui/cli_ui/__init__.py", line 383, in info_progress_bar
    color = COLOR_LIST[int(percent / 12.5)]
IndexError: list index out of range


Plasma5+XMonad option missing in  login manager

Describe the bug
I use unstable NixOS, Plasma (KDE) and XMonad.
When I boot up my computer and try to login, I get three options:

Plasma (Wayland)
none+xmonad
Plasma (X11)

Unfortunately, it is missing the plasma5+xmonad option, which used to exist in NixOS 21.11
This means I cannot use XMonad together with Plasma, like I used to.
Steps To Reproduce
Steps to reproduce the behavior:

Enable services.xserver.desktopManager.plasma5.enable and services.xserver.windowManager.xmonad.enable
Boot computer.
Look at the available options on the login screen.

Notify maintainers

@lassulus @xaverdh @ivanbrennan
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.62, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.15`
 - channels(root): `"nixos-22.05pre338278.b0bf5f888d3, nixos-unstable"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

(I am using an older version of NixOS to write this bug report)

This is still a problem with the latest Unstable, and also stable 21.11
This makes it impossible for me to use XMonad with NixOS.
Am I the only one who uses XMonad + Plasma?
Pinging more people: @peterhoeg @ttuegel @oxalica @SuperSandro2000 @samueldr @pasqui23

Vanilla Plasma for me so I cannot comment.

This option was accidentally included in the past because we used a session script to start Plasma instead of the .desktop files. You may configure your window manager in Plasma through the System Settings application.

@ttuegel I've looked at all the settings in System Settings and I don't see anything to change the window manager. Could you post a screenshot of where it is?

https://userbase.kde.org/Tutorials/Using_Other_Window_Managers_with_Plasma

@peterhoeg Thanks! But I'm confused... that link says that using a system-wide .desktop file is the preferred way to do things.
Shouldn't NixOS automatically add the appropriate .desktop file when enabling XMonad? As far as I know, that's what other distros do.
P.S. Since this change breaks existing user's configs (which have worked for years), this should have been mentioned in the NixOS changelog.

This problem I have https://github.com/NixOS/nixpkgs/issues/58473 maybe related.

I do have plasma5 + xmonad option
However selecting only xmonad still causes plasma5 to start automatically

Why is the plasma5 starting automatically all the time even when not selected?

A new version of KDE broke things again:
https://maxnatt.gitlab.io/posts/kde-plasma-with-i3wm/#kde-525-and-newer
Now if a user wants to use KDE + XMonad they have to run this command:
systemctl --user mask plasma-kwin_x11.service

And then create a new plasma-xmonad.service systemd service:
[Install]
WantedBy=plasma-workspace.target

[Unit]
Description=XMonad Window Manager
Before=plasma-workspace.target

[Service]
ExecStart=/nix/store/jy53q8lpwy5bfpxhvz2b8zmywnbyj62m-system-path/bin/xmonad
Slice=session.slice
Restart=on-failure

And lastly enable this service:
systemctl --user daemon-reload
systemctl --user enable plasma-xmonad.service

And the user has to manually update the /nix/store/ path every time they update NixOS. This is really annoying and a super horrible user experience. It's incredibly hard for users to even figure out the above steps, this is not something users should have to deal with.
Can we please have NixOS automatically do the above steps when installing XMonad, just like how it used to in the past, so that way XMonad just works without requiring any extra steps from the user?

I was able to get XMonad to work by adding this to my NixOS config:
systemd.user.services = {
  plasma-kwin_x11 = {
    enable = false;
  };

  plasma-xmonad = {
    wantedBy = ["plasma-workspace.target"];
    description = "XMonad Window Manager";
    before = ["plasma-workspace.target"];
    serviceConfig = {
      ExecStart = "/nix/store/jy53q8lpwy5bfpxhvz2b8zmywnbyj62m-system-path/bin/xmonad";
      Slice = "session.slice";
      Restart = "on-failure";
    };
  };
};

But I still have to hard-code the /nix/store/ path, because I don't have access to the xmonad derivative.
So this really should be done automatically by the xmonad package.

ExecStart = "${pkgs.haskellPackages.xmonad}/bin/xmonad"; ?

or presumably ExecStart = lib.getExe pkgs.haskellPackges.xmonad

I don't think that will work, because the xmonad derivative is custom-made inside of the xmonad config:
https://github.com/NixOS/nixpkgs/blob/45b92369d6fafcf9e462789e98fbc735f23b5f64/nixos/modules/services/x11/window-managers/xmonad.nix#L8-L38
So it will have a different hash than haskellPackages.xmonad

Then you have 3 options:

recreate the functionality from the nixos module that creates the wrapper script
expose xmonad from the nixos module through a finalPackage (or whatever you call it) attribute and use that to build your path
patch the xmonad nixos module to write out the systemd unit