Semi-automatic codec derivation with monocle.Iso

I don't know if generic derivation is going to cover this, but sometimes one happens to already have an Iso that converts from one class to another.

Current coverage is 80.78% (diff: 100%)

Merging #395 into master will increase coverage by 0.08%

@@             master       #395   diff @@
==========================================
  Files            63         64     +1
  Lines          1989       1993     +4
  Methods        1831       1835     +4
  Messages          0          0
  Branches        158        158
==========================================
+ Hits           1605       1610     +5
+ Misses          384        383     -1
  Partials          0          0

Powered by Codecov. Last update 991aaf5...64b5784

Thanks, @andrelfpinto—this is a good idea. I have a couple of questions:

I think I'd like to try to think of a different name than semiauto to avoid confusion with the generic derivation package.
I know this is a matter of personal taste, but I'm not a big fan of the overloading-via-dummy-implicit trick—adding a From or Reverse suffix seems preferable to noise in the API and the cognitive overhead for readers.

What do you think?

Well naming is, for me at least, a very difficult problem. No wonder the two issues were kind of related to that.

I thought about putting these methods in the semiauto object in the generic package, but then the project would have to depend on optics project and I decided to just put it the optics.  Then I didn't have a better name for the object. Feel free to suggest a name that suits better the design of the library.

Again, I'm just a user of the library and I don't have the global picture of the choices you have made to design this (awesome, by the way) library. Also, I do not make a living by programming and may not have the best taste. What would you prefer?

Summing up, it's your call.

Also, I have read the CONTRIBUTING.md and I'm sorry to have skipped the first bullet "Pick (or report) an issue". Maybe these issues would have been discussed there first.

@andrelfpinto Okay, I've thought a little more about this, and have the following suggestions:

Let's put these directly into the optics package object. Since they're not implicit and have distinctive names, it doesn't really pollute the scope for people who import io.circe.optics._ wholesale.
Let's put a Reverse suffix on the methods that currently have a dummy implicit. It's a little more work for (some) users, but in general the project tends to avoid overloading in favor of workarounds like DummyImplicit, and I think it'd be best to be consistent.

If you don't mind making these changes we should be able to get this into 0.6.0. Thanks again!

Hey @travisbrown, if the PR is ok for you, I will rebase it for you to merge it.

@andrelfpinto Yes, looks great, but there's one last thing I just noticed: the all object has moved from the package to the package object, which affects the way it's represented in bytecode and breaks binary compatibility (which is already broken because of the Monocle version update, but we might as well minimize it).
Do you mind changing that part back? I.e. this should work:
package optics {
  final object all extends JsonNumberOptics with JsonObjectOptics with JsonOptics
}

package object optics {
  // new stuff here
}

The compiler will merge them appropriately from the user's point of view.

Sorry about the package object: I didn't know it would break the binary compatibility.

No worries, thanks again! Is this ready to go?

Yes, I just need to rebase it now, right (as in the CONTRIBUTING.md)?

@andrelfpinto I can just do that when I merge—it's not a big deal here since this doesn't touch many files, etc.

OK, then. Thank you for helping me through the process and thanks again for the library.

@andrelfpinto Sure! It's a nice addition.


Write a Java program to print numbers from n to 1 without using a loop

Description
Write a Java program to print numbers from n to 1 without using a loop
Input  : 5
Output : 5 4 3 2 1

How to contribute

Save the solution in program/PrintNumbersFromNTo1WithoutUsingALoop.java file
Add PrintNumbersFromNTo1WithoutUsingALoop.java file in print-numbers-from-n-to-1-without-using-a-loop folder

Please assign this issue to me with the label hacktoberfest
!assign

Hey @abhiyadav2345
You can comment !assign on any good first issue you want to contribute to, to be auto-assigned
!assign

!assign

Hey @abhiyadav2345,
This issue has been assigned to you for more than 15 days.
We are unassigning you from this issue.
If you are still interested in contributing to this issue, please get auto-assigned on the issue by commenting !assign again.
Thanks for your contributions :)

!assign

hi @harshraj8843
Looks like this issue has been solved already

Thanks for letting us know 👍🏻

Hello sir ,
I am new to open source contribution.
I already know java , my tech stacks & tools includes C, C++ , Python , Java, JavaScript , HTML , CSS , SQL , Bootstrap, ReactJS, ExpressJS, NodeJS & Git . I need a little help from your side to contribute to these amazing projects.


Allow quoted keys in yaml config

Fix grok_exporter failure to start when the keys in the yaml config file are quoted.
Both the below formats are now parsed correctly.
"global":
  "config_version": 2

as well as the original one without quotes:
global:
  config_version: 2

Coverage remained the same at 67.558% when pulling be85d8a71e0c4ab0dadc37da30b474ad792913ec on rustycl0ck:bugfix/quoted-keys into aa8445f5af46c2ad4a928cc58db0512c4fd11dbb on fstab:master.

/assign @fstab

Thanks a lot!


gcloud documentation update

Updated all gcloud container builds calls to use gcloud builds

New repository. Robotic gesture command programming. Any other feature references/repositories or websites would be appreciated


882 Update Item Show to use new theme

Resolves #882
Description
This is an update to the new Bootstrap 4 theme, applied to app/views/items/show.html.erb.
Type of change
This is a new feature.
How Has This Been Tested?
Manually.
Screenshots
Before:

After:

Thanks!


Add support for scroll bar 'always' setting

This is for a PR that I'm submitting in the Terminal repo.

Docs Build status updates of commit 145c9b8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

TerminalDocs/customize-settings/profile-appearance.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Thanks for writing this @sotteson1 👍


Broken link

The link for windows sandbox is broken and redirects to an invalid page : https://www.microsoft.com/security/blog/2018/10/26/microsoft-defender-antivirus-can-now-run-in-a-sandbox/

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

ID: d9d6b543-3693-7771-9cd1-b8f57e304310
Version Independent ID: 5ba25ca7-32ac-2d28-cc69-e6bf53dede66
Content: What's new in Microsoft Defender ATP - Windows security
Content Source: windows/security/threat-protection/microsoft-defender-atp/whats-new-in-microsoft-defender-atp.md
Product: w10
Technology: windows
GitHub Login: @mjcaparas
Microsoft Alias: macapara

Hello @bledMS82. Thank you so much for telling us about the broken link. It's fixed, and you'll see the update live later today. We appreciate your help in keeping our content high quality.


ES PVC Not deploying cleanly in quicklab

This is probably more of an issue with the default storageclass config in quicklab, because this works fine on minishift; but I wanted to capture it here so we can track it.
SAF will not deploy cleanly in quicklab because the ES PVC fails to bind.
[csibbitt@laptop deploy (master) (⎈ |sa-telemetry/openshift-internal-safperf002-lab-rdu2-cee-redhat-com:443/system:admin)]$ oc get pvc
NAME                                         STATUS    VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS        AGE
elasticsearch-elasticsearch-cdm-bmr16sp3-1   Pending                                                                                2m
prometheus-white-db-prometheus-white-0       Bound     pvc-c5f2b95b-ef59-11e9-945a-fa163e0af8aa   2Gi        RWO            glusterfs-storage   2m

[csibbitt@laptop deploy (master) (⎈ |sa-telemetry/openshift-internal-safperf002-lab-rdu2-cee-redhat-com:443/system:admin)]$ oc describe pvc elasticsearch-elasticsearch-cdm-bmr16sp3-1
Name:          elasticsearch-elasticsearch-cdm-bmr16sp3-1
Namespace:     sa-telemetry
StorageClass:
Status:        Pending
Volume:
Labels:        <none>
Annotations:   <none>
Finalizers:    [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
Events:
  Type    Reason         Age               From                         Message
  ----    ------         ----              ----                         -------
  Normal  FailedBinding  1m (x19 over 6m)  persistentvolume-controller  no persistent volumes available for this claim and no storage class is set
  Normal  FailedBinding  12s (x6 over 1m)  persistentvolume-controller  no persistent volumes available for this claim and no storage class is set

We should be able to work around this by setting an appropriate storage class for elasticsearch_storage_storage_class_name on the eleasticsearch resource. There is no global recommendation for this setting, and your cloud SHOULD take care of setting a default; but we should at least document the quicklab workaround somewhere.

@csibbitt try just passing this instead of a full storageClassName. This will result in ephemeral storage (probably good enough for testing purposes).
apiVersion: logging.openshift.io/v1
kind: Elasticsearch
metadata:
  name: elasticsearch
  namespace: sa-telemetry
spec:
  managementState: Managed
  nodeSpec:
    image: [...]
    resources:
      limits:
        memory: 1Gi
      requests:
        memory: 512Mi
  nodes:
  - nodeCount: 1
    roles:
    - client
    - data
    - master
    storage: {}
  redundancyPolicy: ZeroRedundancy

(once you've generated the manifests with ansible, just drop everything under the existing storage parameter and add {})

Finally got around to testing this
Broken
NAME                                            READY     STATUS              RESTARTS   AGE
cloud1-notify-smartgateway-1-bnsrt              0/1       CrashLoopBackOff   12         43m
elasticsearch-cdm-bed5aewa-1-754988cf8f-8z2tn   0/2       Pending            0          2m

NAME                                         STATUS    VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS        AGE
elasticsearch-elasticsearch-cdm-bed5aewa-1   Pending                                                                                12h

Fix!
$ oc delete elasticsearch --all
$ vim deploy/service-assurance/elasticsearch/elasticsearch.yaml  # storageClassName: "glusterfs-storage"
$ oc create -f deploy/service-assurance/elasticsearch/elasticsearch.yaml

NAME                                         STATUS    VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS        AGE
elasticsearch-elasticsearch-cdm-updjx5gn-1   Bound     pvc-063245fc-07b3-11ea-b442-fa163e45c75d   2Gi        RWO            glusterfs-storage   26s

NAME                                            READY     STATUS              RESTARTS   AGE
cloud1-notify-smartgateway-1-bnsrt              1/1       Running   148        12h
elasticsearch-cdm-updjx5gn-1-7cd948f55f-bxn48   2/2       Running   6          39m

No doubt disabling the storage entirely also works, but this quick workaround proves that we should also be able to fix this at deploy time with -e elasticsearch_storage_storage_class_name=glusterfs-storage (or as appropriate for a customer deployment)
I think I'm just happy to just close this issue for now; but perhaps this belongs in the documentation. @leifmadsen, I didn't see anything about ES storage sizing in the docs (expected it near here: https://github.com/redhat-service-assurance/saf-documentation/blob/fea71509f613065204c0627d067f448baabbbcab/doc-Service-Assurance-Framework/modules/proc_generating-the-manifests-for-saf.adoc). Do you have any additional events related content in the wings, or should I go ahead and add this detail to the docs there?

@csibbitt please add to the docs there! I agree we should have some sizing information. We have a task for this. https://trello.com/c/vS1lkKvb/779-add-scaling-performance-and-sizing-section-to-saf-documentation
I've added a small checklist with some possible areas to address in a section like that.
I think the only documentation change in that section, is that it's obviously not clear enough from my Tip that there are other options you can pass.
If you think it's warranted to specifically call out the ElasticSearch storage (or even a generic "storage" section right around that area) that makes sense to me. I'd keep it a 1 point task though and then I'm happy to have this issue resolved!

@csibbitt I feel like we can close this issue now. I have provided a config that can be passed to quickstart.sh to start a full SAF in quicklab.

I'll test it out and will close if it WFM


Setup cIRI database with bazel

Either we ask the user to generate the database as part of the building process (something like sqlite3 ciri/ciri.db < common/storage/sql/schema.sql) either bazel does it under the hood.
Issue is that bazel generated files are read-only, so as a temporary solution we pushed a database (ciri/ciri.db) containing nothing but the schemas and bazel does a link to it, user has nothing to do but there is a redundancy between the database and the schema (located under common/storage/sql/schema.sql)

Why don't we just initialise the database as part of the initial run if it can't be found?

Initialise the database from bazel or from cIRI itself ?

cIRI itself. Woudl need access to the schema I guess.

It has been decided to ask the user to generate the database. See README.


]BuildPackage does not check "API"

The config parameter api must be either the name of a class or a namespace, hosting the API of a package.
BuildPackage does not check this, allowing it to be a, say, function.
When the package is loaded the error "Is neither class nor namespace: xxx" is thrown.
BuildPackage should check this and throw an error.

Implememnted in 0.109.0


Added new ENV variable to configure cron schedule

Hi @PassiveLemon! 👋
First of all thanks for creating a Docker container for Blobsaver! 👍
I wanted to change the cron schedule and noticed your comment in the README.

By default, it will check every 5 minutes. You can change this by building it yourself and modifying the cron line.

I did but thought it may be also useful for others. So I changed the bash script a little bit to use a new environment variable CRON_SCHEDULE which can be used to configure a different schedule if preferred.
I also updated the README to document this change.
If you want me to change anything else, feel free to edit the PR or feel free to ask me to do so. 🙂
Greetings!

I actually have a commit with this feature, I just haven't pushed it yet. I was giving it a little bit of a test before I did but it seems to work so I will push that now actually


Posix functions

Hi,
I have tried to compile the libosmium library  on Windows OS (Visual Studio 2015, Windows 7) and I got  error messeges, that Posix functions are depricated:
"Error C4996	'read': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _read. See online help for details."
in read_write.hpp and compression.hpp files.
So the Posix functions 'open', 'close', 'read', 'write' are deprecated in Windows SDK.
Compiling invironment: Windows 7, x64, Visual Studio 2015, project platform x64.

I already have lots of wrapper functions and #ifdefs to accommodate Windows and don't want to create more and more. Is there a way to turn those errors into warnings and then ignore them? :-)

I didn't find the way. I solved the problem with #ifdef.

We are doing Windows compiles on Appveyor automatically and they don't have this problem. Can you have a look at https://github.com/osmcode/libosmium/blob/master/appveyor.yml, https://github.com/osmcode/libosmium/blob/master/build-appveyor.bat, and https://github.com/osmcode/libosmium/blob/master/build-local.bat and the resulting appveyor runs at https://ci.appveyor.com/project/Mapbox/libosmium and try to figure out what's different between your setup and the appveyor setup?

Closing this, because there is no response. Please re-open if you want to pursue this further.


Bug: questions that overlap highlight/unhighlight each other

Jon said he could fix it by turning the highlights into an array so multiple could be highlighted at once

jon fixed


Evince 'Save Current Settings as Default' does not work.

Describe the bug
Evince does not save the 'Night Mode' setting after clicking 'Save Current Settings as Default' and relaunching the application.
To Reproduce
Steps to reproduce the behavior:

Open a PDF in Evince
enable 'Night Mode'
click 'Save Current Settings as Default'
close Evince.
Open a new PDF in Evince.
Notice 'Night Mode' is no longer enabled.

Expected behavior
Settings should stick, and 'Night Mode' should remain enabled.
Additional context
CLI outputs after clicking 'Save Current Settings as Default':
(evince:8395): dconf-WARNING **: 21:20:45.544: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
I'm not running Gnome, I'm using EXWM.
Notify maintainers
@jtojnar
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

system: "x86_64-linux"
host os: Linux 4.19.115, NixOS, 19.09.2407.b67bc34d4e3 (Loris)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.3
channels(root): "nixos-19.09.2407.b67bc34d4e3"
channels(greghab): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

I should have read the wiki on Gnome applications.
https://nixos.wiki/wiki/GNOME
Add this to your nix config programs.dconf.enable = true; issued solved.


i missing edit method

grid.edit(key);
as gijgo-combined-1.3.1

You can see in the following examples that the edit method is working as expected:
http://gijgo.com/Temp/5438638f-02a3-49a4-81bd-ecfce6f299ff.html
http://gijgo.com/grid/methods/edit

Thank you, atatanasov


Add WASM tests to CI

Codecov Report

Merging #93 (da69ac2) into master (82d08b9) will decrease coverage by 0.0%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff            @@
##           master     #93     +/-   ##
========================================
- Coverage    31.6%   31.5%   -0.0%
========================================
  Files          20      20
  Lines        4792    4792
========================================
- Hits         1513    1511      -2
- Misses       3279    3281      +2

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


Don't use process.exit, but set exit code

Hi,
I had some problems with process exiting before stdout write is finished.
I got this when using json-cov mocha reporter, which is dumping lots of data to stdout when there's lots of tests and many lines of code.
With this commit, the mocha-phantomjs executable will no longer force process to exit quickly. It will wait for the process to exit naturally, and the expected exit code will be used.
This behavior is recommended in nodejs documentation :
https://nodejs.org/api/process.html#process_process_exit_code
I also changed exit codes for positive codes
Hope you like it ;)

I like this! but I don't understand why you are changing the exit code numbers - that will constitute a breaking change to go in a major version.
Restore the codes and I'll be glad to take this, thanks :)

Just pushed back original error codes

Thanks!


On start, restored message position is incorrect

Web app and Android app are consistent with each other. Zulip Mobile isn't.

This is an issue with the server implementation of use_first_unread

@neerajwahi I believe the use_first_unread bug you're describing is #422. I'm pretty sure this bug is completely separate -- even after fixing #422, I can still repro this bug.
My repro from this morning, as c/p from a Zulip thread I had about it:
When I last used Zulip web, my pointer was on a message from 10:00, and the last message visible in the viewport (and therefore, probably, the last one marked as read) was from 10:15. When I opened the mobile app just now, it took me to a message at 10:22 -- well past not just my pointer, but also well past (~7 messages past) the last message I'd seen in my last viewport.
Anyways, even with #422 fixed, there's (a) weirdness in web using the pointer vs mobile using the last unread, and our auto-marking things as unread even if I didn't necessarily intentionally read them, and (b) something in the mobile app is making a few messages past the last unread be the first one I see (we do fetch 10 before and 10 after the last unread, and I'm not sure how we then choose which one to position first in the UI).
I believe this is an entirely client-side (ReactNative) issue, and has nothing to do with the server's implementation of use_first_unread.

I also had the impression it is different, as when reproduced locally didn't match the behavior of #422.

Hello @neerajwahi, you claimed this issue to work on it, but this issue and any referenced pull requests haven't been updated for a week. Are you still working on this issue?
If so, please update this issue by leaving a comment on this issue to let me know that you're still working on it. Otherwise, I'll automatically remove you from this issue in 3 days.
If you've decided to work on something else, simply comment @zulipbot abandon so that someone else can claim it and continue from where you left off.
Thank you for your valuable contributions to Zulip!

Closing this, after a lot of testing.
Our implementation is correct. Tim confirmed it is backend issue, fix is committed, not deployed.


After creating a class on Parse Dashboard, it can't be viewed on Parse.com, due to missing _metadata key in _SCHEMA

https://github.com/ParsePlatform/parse-dashboard/issues/340
I'm going to mark this as low-pri since we want to migrate away from using dashboard.parse.com anyway.

@drew-gross Is this bug only connected to the dashboard? It looks strange that the schema is missing fields such as _created_at even when the class contains data rows.

It might be, but if you are using only Parse Dashboard and Parse Server then everything seems to work. Since dashboard.parse.com and api.parse.com are shutting down anyway, I don't want to highly priorizise bugs that only affect you when you are using both together.

Closing due to lack of activity, please update to latest parse-server version and reopen if the issue persist.
Don't forget to include your current:

node version
npm version
parse-server version
any relevant logs (VERBOSE=1 will enable verbose logging)


Storage: Fix auto custom volume snapshots

Ensure that local custom volumes are always snapshotted on the local member.
Skip snapshotting remote volumes if no online members to avoid snapshotting on multiple member during a cluster partition.
Improve logging.

Fixes #8692
Testing:

[x] Standalone host with local volume
[x] Standalone host with remote volume
[x] Single member cluster with remote volume
[x] Multi member cluster with multiple local volumes
[x] Multi member cluster with remote volume
[x] Multi member cluster with remote volume with normal snapshot member offline

@stgraber during the test of this PR, I shutdown one of the cluster members to test the snapshot mechanism moved to the other member (which it did).
I then proceeded to try and remove the cephfs storage pool, which then failed because it couldn't notify the offline member.
When I rebooted the offline member, it could no longer mount the cephfs storage pool and LXD just got into a restart loop, in the syslogs were lots of messages like this, presumably because the actual cephfs had been removed, but had left behind orphaned DB entries:
Apr 20 11:28:37 vm02 lxd.daemon[3833]: t=2021-04-20T11:28:37+0000 lvl=dbug msg="Mount started" driver=cephfs pool=cephfs
Apr 20 11:28:37 vm02 kernel: libceph: mon0 (1)[2001:470:b0f8:1015:5054:ff:fe5e:ea44]:6789 session established
Apr 20 11:28:37 vm02 kernel: libceph: client91138514 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:38 vm02 lxd.daemon[3833]: t=2021-04-20T11:28:38+0000 lvl=dbug msg="Found cert" name=0
Apr 20 11:28:38 vm02 kernel: libceph: mon0 (1)[2001:470:b0f8:1015:5054:ff:fe5e:ea44]:6789 session established
Apr 20 11:28:38 vm02 kernel: libceph: client91138520 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:38 vm02 kernel: libceph: mon0 (1)[2001:470:b0f8:1015:5054:ff:fe5e:ea44]:6789 session established
Apr 20 11:28:38 vm02 kernel: libceph: client91138526 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:39 vm02 kernel: libceph: mon1 (1)[2001:470:b0f8:1015:5054:ff:fe0a:750f]:6789 session established
Apr 20 11:28:39 vm02 kernel: libceph: client91164480 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:39 vm02 kernel: libceph: mon0 (1)[2001:470:b0f8:1015:5054:ff:fe5e:ea44]:6789 session established
Apr 20 11:28:39 vm02 kernel: libceph: client91138532 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:40 vm02 kernel: libceph: mon1 (1)[2001:470:b0f8:1015:5054:ff:fe0a:750f]:6789 session established
Apr 20 11:28:40 vm02 kernel: libceph: client91164483 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:40 vm02 kernel: libceph: mon1 (1)[2001:470:b0f8:1015:5054:ff:fe0a:750f]:6789 session established
Apr 20 11:28:40 vm02 kernel: libceph: client91164492 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:41 vm02 kernel: libceph: mon1 (1)[2001:470:b0f8:1015:5054:ff:fe0a:750f]:6789 session established
Apr 20 11:28:41 vm02 kernel: libceph: client91164495 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:41 vm02 kernel: libceph: mon1 (1)[2001:470:b0f8:1015:5054:ff:fe0a:750f]:6789 session established
Apr 20 11:28:41 vm02 kernel: libceph: client91164504 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:42 vm02 kernel: libceph: mon2 (1)[2001:470:b0f8:1015:5054:ff:fe5e:4c7b]:6789 session established
Apr 20 11:28:42 vm02 kernel: libceph: client91150861 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:42 vm02 kernel: libceph: mon1 (1)[2001:470:b0f8:1015:5054:ff:fe0a:750f]:6789 session established
Apr 20 11:28:42 vm02 kernel: libceph: client91164513 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:43 vm02 kernel: libceph: mon1 (1)[2001:470:b0f8:1015:5054:ff:fe0a:750f]:6789 session established
Apr 20 11:28:43 vm02 kernel: libceph: client91164528 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:43 vm02 kernel: libceph: mon0 (1)[2001:470:b0f8:1015:5054:ff:fe5e:ea44]:6789 session established
Apr 20 11:28:43 vm02 kernel: libceph: client91138571 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:44 vm02 kernel: libceph: mon1 (1)[2001:470:b0f8:1015:5054:ff:fe0a:750f]:6789 session established
Apr 20 11:28:44 vm02 kernel: libceph: client91164537 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:44 vm02 kernel: libceph: mon2 (1)[2001:470:b0f8:1015:5054:ff:fe5e:4c7b]:6789 session established
Apr 20 11:28:44 vm02 kernel: libceph: client91150882 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:45 vm02 kernel: libceph: mon0 (1)[2001:470:b0f8:1015:5054:ff:fe5e:ea44]:6789 session established
Apr 20 11:28:45 vm02 kernel: libceph: client91138586 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:46 vm02 kernel: libceph: mon1 (1)[2001:470:b0f8:1015:5054:ff:fe0a:750f]:6789 session established
Apr 20 11:28:46 vm02 kernel: libceph: client91164546 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:46 vm02 kernel: libceph: mon2 (1)[2001:470:b0f8:1015:5054:ff:fe5e:4c7b]:6789 session established
Apr 20 11:28:46 vm02 kernel: libceph: client91150903 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:47 vm02 kernel: libceph: mon0 (1)[2001:470:b0f8:1015:5054:ff:fe5e:ea44]:6789 session established
Apr 20 11:28:47 vm02 kernel: libceph: client91138601 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:47 vm02 kernel: libceph: mon2 (1)[2001:470:b0f8:1015:5054:ff:fe5e:4c7b]:6789 session established
Apr 20 11:28:47 vm02 kernel: libceph: client91150906 fsid fdb2bd9e-0ae7-4ff4-bfca-f0e38fb53372
Apr 20 11:28:48 vm02 lxd.daemon[3833]: t=2021-04-20T11:28:48+0000 lvl=dbug msg="Mount finished" driver=cephfs pool=cephfs
Apr 20 11:28:48 vm02 lxd.daemon[3833]: t=2021-04-20T11:28:48+0000 lvl=eror msg="Failed to start the daemon: Failed initializing storage pool \"cephfs\": Failed to mount \"[2001:470:b0f8:1015:5054:ff:fe5e:ea44],[2001:470:b0f8:1015:5054:ff:fe0a:750f],[2001:470:b0f8:1015:5054:ff:fe5e:4c7b]:6789:/persist-vm01\" on \"/var/snap/lxd/common/lxd/storage-pools/cephfs\" using \"ceph\": no such file or directory"

I wonder if we need to verify that all members are online before proceeding with remote storage pool operations to avoid this scenario.

@tomponline for the removal failure, that's odd. I guess we should have such operations check that all nodes are online and if not, fail early as we indeed can't really fully remove a storage or network if some nodes are temporarily offline.


⚠ Bofrost.be has degraded performance

In 50453aa, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1274 ms

Resolved: Bofrost.be performance has improved in b251a29 after 6 minutes.


Error: [$rootScope:inprog] $digest already in progress, When adding on-center-changed event

Hello.
I've made a jsfiddle to reproduce this bug:
http://jsfiddle.net/elennaro/94pdbo92/

This happens because when you use asynchronous geo lookup to find your current location, map is initialized but there is no center found.
There is a callback for it, geo-callback, this is only called when geo-lookup is successful.
http://plnkr.co/edit/7Of0vCaOkVB8pMCXRNcj?p=preview
Actually you do not need to have a callback to position marker for your current location. You can simply set location as current-location

Thanks for the answer @allenhwkim, and for the awesome library too.
I need callback to position marker because I want it to stay in center when user drags the map.
So I figured out that the error happens here on this apply call
Cannot yet debug it normally :( What calls this eventFunc and what for?

I know the problem, but I did not think it was serious.
It was caused by two $apply() one by geo coding, and the other by center-changed event.
We can simply fix this by changing $apply to $timeout.
http://plnkr.co/edit/3e5ZIocsu4JUSZvDjREa?p=preview
this plnkr works, but I need to run some test with it. Please be patient.

Thanks @allenhwkim. I usually do $timeout(f(){/* change scope */; $scope.$digest;},$scope.$$phase ? 5 : 0); Wherever I'm not sure that digest progresses will overlap in time.

This fix is released with version 1.7.7. Please reopen this issue if the problem is persistent

Thank you!

repatched with version 1.7.9


Containerd restarts when provided with --containerd-config-file option on startup

Environment:

AWS Region: us-west-2
Instance Type(s): c5.2xlarge
EKS Platform version : eks.3
Kubernetes version : 1.27
AMI Version:  amazon/amazon-eks-node-1.27-v20230711
Kernel : 5.10.184-175.731.amzn2.x86_64
Release information: Amazon Linux 2

Questions:

Providing --containerd-config-file  to bootstrap script restarts the containerd service after boot in 1.27.  I did not see this behavior in 1.22. Is this expected behavior in 1.27? (According to this comment, restarting containerd might cause kubelet to restart.)
In 1.22 I saw IPVS was enabled on node. On 1.27, IPv6 seems to be enabled, even tho I only use/see IPv4 IP addresses attached to the nodes. I am using aws-vpc-cni. Is IPVS disabled in 1.27?
Lastly, the boot times for 1.27 is around 20-25 seconds.  For 1.22, it is ~10 seconds. Please see attached logs.

Thanks in advance!
1.22-redacted-instance-logs.txt
1.27-redacted-instance-logs.txt

Providing --containerd-config-file to bootstrap script restarts the containerd service after boot in 1.27. I did not see this behavior in 1.22. Is this expected behavior in 1.27? (https://github.com/awslabs/amazon-eks-ami/issues/610#issuecomment-1049737390, restarting containerd might cause kubelet to restart.)

The thing that's changed in recent AMI's is the containerd service unit is now enabled during the build process, so containerd will start at boot. If you specify a containerd config file to the bootstrap script, containerd has to be restarted for the config file to have any effect.
This won't cause the kubelet to be restarted, because the kubelet unit is enabled + started after this: https://github.com/awslabs/amazon-eks-ami/blob/master/files/bootstrap.sh#L628-L629


[dns] failure during launch-dns can lead to long pause

If the weavedns container fails during start-up, but after the script gets into populate_dns, then it will take about 5 seconds to bail out because it doesn't check to see if the container is still running; it just repeatedly calls curl then sleep.
Also it doesn't check to see if a valid IP was returned from 'docker inspect'.

Looks like things have moved on since this was filed...

We now wait for the dns container to respond to a status request, before doing anything else. This will catch any issues during dns container startup.
Following that, we just invoke 'curl' for each container IP. That invocation has a configured connect timeout of 3 seconds. If it fails the weave script exits with an error code. There is no message though; I shall fix that.


[s390x] adding support for release 1.11

This PR updates the s390x-related prow jobs for release 1.11.

@upodroid @psschwei can you please take a look at this PR. Thanks!!


About documentation

In addition to technical details, need to assemble some about docs. What is Open Imagery Network?

Started a draft readme here: https://gist.github.com/smit1678/7a87874dee730285f4f9


Added Turkish Language Formats of CC licences

License files created with the original Turkish translation obtained from the original site have been added.

Thank you very much @zumrudu-anka! This is looking great (although I don't speak Turkish, sorry). I'm merging this! 🚀
Thank you very much for your contribution! Hope other turkish speaking folks can benefit from it!

Thank you too 😊


how to make checkbox's text align center vertically and fit its content?

Hi,
<init fit weight=28 gap=4 arrange=[variable,280,variable,variable,variable,48,variable,variable,variable,variable,variable]>

There is enough space to display 4 checkboxs, but the UI is ugly.
checkbox aligns top and is multiline when narrowing it.
I want checkbox to behaves like button and combox.
The layout seems not flexible.
Thanks.

checkbox doesn't have text_align method. Only way to make it is to change the div-text
<<init fit weight=28 gap=4 arrange=[variable,280,variable,variable,variable,48]><arrange=[100, 200, 300, 400] gap=4 margin=[top_bottom_xxx, 0]><test>>

The top_bottom_xxx is a value that is used for making the checkboxes in center. The checkbox doesn't support the fit-content feature, so, the weights[100, 200, 300, 400] of checkboxes have to be specified.

Thanks.

It works but it still behaves odd when resizing the window.

Other controls that support fit behave good.
I must set a mini size for the main window to avoid overlap.
I think it would be better if checkbox supports fit and v align.

Suggest that a fixed weight is specified for the init, it can avoid the checkboxes overlapping the widgets.

OK, thanks.


0.58

Frontend improvements continue
Thanks to @Andrey-git we now have an option to consume the frontend in modern JavaScript. This makes the frontend faster to download and run. For now it's opt-in but we're looking into making it opt-out in the future. The ES5 version of the frontend will remain available for older devices.
To use it in on a single browser, add ?latest to your Home Assistant bookmark. To make it the default for browsers opening the frontend, update your config to look like this:
frontend:
  javascript_version: latest

The Hass.io release will be delayed by a couple of days because Pascal is moving this weekend.

New Platforms

pyLoad download sensor (@iMarkus - #10089) (sensorload.py docs) (new-platform)
Add LaCrosse sensor platform (@hthiery - #10195) (sensor.lacrosse docs) (new-platform)
Refactor Neato botvac components as a vacuum (@jabesq - #9946) (neato docs) (sensor.neato docs) (switch.neato docs) (vacuum.neato docs) (breaking change) (new-platform)
Add platform and sensors for Vultr VPS (@GenericStudent - #9928) (vultr docs) (binary_sensor.vultr docs) (sensor.vultr docs) (new-platform)
Adds support for Tile® Bluetooth trackers (@bachya - #10478) (device_tracker.tile docs) (new-platform)
Support presence detection using Hitron Coda router (@arilotter - #9682) (device_tracker.hitron_coda docs) (new-platform)
Add basic backend support for a system log (@postlund - #10492) (system_log docs) (new-platform)
New sensor viaggiatreno. (@fabfurnari - #10522) (sensor.viaggiatreno docs) (new-platform)

Breaking Changes

Clean up core (@balloob - #10305) (breaking change)
Refactor Neato botvac components as a vacuum (@jabesq - #9946) (neato docs) (sensor.neato docs) (switch.neato docs) (vacuum.neato docs) (breaking change) (new-platform)
Add baudrate option to Serial sensor (@dgomes - #10439) (sensor.serial docs) (breaking change)
upgrade to new pylutron_caseta with TLS (@mdonoughe - #10286) (lutron_caseta docs) (breaking change)

All changes

Bump python-miio for improved device support (@syssi - #10294) (light.xiaomi_miio docs) (switch.xiaomi_miio docs)
pyLoad download sensor (@iMarkus - #10089) (sensorload.py docs) (new-platform)
Add LaCrosse sensor platform (@hthiery - #10195) (sensor.lacrosse docs) (new-platform)
Clean up core (@balloob - #10305) (breaking change)
Refactor Neato botvac components as a vacuum (@jabesq - #9946) (neato docs) (sensor.neato docs) (switch.neato docs) (vacuum.neato docs) (breaking change) (new-platform)
Move constants to setup.py (@fabaff - #10312) (no_ip docs)
Add option to overwrite file to the downloader component (@arsaboo - #10298) (downloader docs)
Fix for API change of new enocean package (@marconfus - #10328) (enocean docs)
Use constants for HTTP headers (@fabaff - #10313) (binary_sensor.aurora docs) (device_tracker.tplink docs) (device_tracker.upc_connect docs) (media_player.bluesound docs) (sensor.haveibeenpwned docs) (sensor.zamg docs) (telegram_bot.polling docs)
fix a import in test causing vs code to fail to discover (@perosb - #10358)
Upgrade sqlalchemy to 1.1.15 (@fabaff - #10330)
Move counter component (@fabaff - #10332) (counter docs)
Add platform and sensors for Vultr VPS (@GenericStudent - #9928) (vultr docs) (binary_sensor.vultr docs) (sensor.vultr docs) (new-platform)
Add heal_node and test_node services. (@turbokongen - #10369) (zwave docs)
Addition of new binary sensor class 'plug' (@echox - #10336) (binary_sensor docs)
Upgrae simplepush to 1.1.4 (@fabaff - #10365) (notify.simplepush docs)
Update aiohttp to 2.3.1 (@pvizeli - #10139)
Device model identification of the Xiaomi Philips Ceiling Lamp fixed. (@syssi - #10401) (light.xiaomi_miio docs)
Zwave save cache to file now. (@turbokongen - #10381) (config.zwave docs)
Bump to 0.12.2 to fix urllib3 dependency (@MisterWil - #10420) (abode docs)
Remove extra info from zwave entity states (@armills - #10413) (zwave docs)
Fixes issue #10425 (@robmarkcole - #10426) (sensor.london_air docs)
Add baudrate option to Serial sensor (@dgomes - #10439) (sensor.serial docs) (breaking change)
Remove model info from state (@balloob - #10399) (light.tradfri docs)
update tibber library (@danielhiversen - #10460) (sensor.tibber docs)
update pywebpush==1.3.0 (@perosb - #10374) (notify.html5 docs)
Fix slow WOL switch test (@balloob - #10455)
Fix recorder stop on SQLite vacuuming error (@milanvo - #10405)
Add include/exclude filter to mqtt_statestream (@mw-white - #10354) (mqtt_statestream docs)
Upgrade to 0.1.2 (@TopdRob - #10348) (notify.free_mobile docs)
Upgrade pyatv to 0.3.6 (@TopdRob - #10349) (apple_tv docs)
Remove useless temp converting (@pvizeli - #10465) (climate.homematic docs)
Upgrade apns2 to 0.3.0 (@TopdRob - #10347) (notify.apns docs)
Improvement of KNX climate component (@Julius2342 - #10388) (knx docs) (climate.knx docs)
Updated gc100 package requirement to 1.0.3a (@davegravy - #10484) (gc100 docs)
Remove lag from Harmony remote platform (@amelchio - #10218) (remote docs) (remote.harmony docs)
Improve error handling. (@cgtobi - #10482) (influxdb docs)
Upgrade psutil to 5.4.1 (@fabaff - #10490) (sensor.systemmonitor docs)
Upgrade youtube_dl to 2017.11.06 (@fabaff - #10491) (media_extractor docs)
Fix for telegram polling. (added pausing when error occurs) (@sander76 - #10214) (telegram_bot.polling docs)
add JSON processing capabilities to sensor_serial (@dgomes - #10476) (sensor.serial docs)
upgrade to new pylutron_caseta with TLS (@mdonoughe - #10286) (lutron_caseta docs) (breaking change)
Bump dev to 0.58.0.dev0 (@fabaff - #10510)
OwnTracks Message Handling (@ehagan - #10489) (device_tracker.owntracks docs)
Add support for Alexa intent slot synonyms. (@kmdm - #10469) (alexa.intent docs)
Introduce media progress for Yamaha Musiccast devices (@jalmeroth - #10256) (media_player.yamaha_musiccast docs)
Add an option to serve ES6 JS to clients (@andrey-git - #10474) (websocket_api docs)
Adapt to new yarl API (@tinloaf - #10527) (tts.google docs)
Update nederlandse_spoorwegen.py to include platform information (@hmmbob - #10494) (sensor.nederlandse_spoorwegen docs)
Pin yarl (@tinloaf - #10528)
Support configuration of region (no service url neccessary (@molobrakos - #10513) (volvooncall docs)
Fix import in tests (@andrey-git - #10525)
Update axis.py (@Kane610 - #10412) (axis docs)
Add attribute to show who last un/set alarm (SPC) (@mbrrg - #9906) (spc docs) (alarm_control_panel.spc docs) (binary_sensor.spc docs)
Fixed Wink Quirky Aros bugs. (@w1ll1am23 - #10533) (climate.wink docs)
Adds support for Tile® Bluetooth trackers (@bachya - #10478) (device_tracker.tile docs) (new-platform)
telegram_bot: Support for sending videos (@vickyg3 - #10470) (telegram_bot docs) (notify.telegram docs)
Pre-construct frontend index.html (@balloob - #10520)
notify.html5: use new json save and load functions (@perosb - #10416) (notify.html5 docs)
Change to device state attributes (@dgomes - #10536) (sensor.serial docs)
Google Assistant request sync service (@r4nd0mbr1ck - #10165)
Optimize concurrent access to media player image cache (@amelchio - #10345) (media_player docs)
webostv: set current source correctly (@KapJI - #10548) (media_player.webostv docs)
Upgrade pysnmp to 4.4.2 (@fabaff - #10539) (device_tracker.snmp docs) (sensor.snmp docs) (switch.snmp docs)
Fix and clean lametric (@MartinHjelmare - #10391) (lametric docs) (notify.lametric docs)
Support presence detection using Hitron Coda router (@arilotter - #9682) (device_tracker.hitron_coda docs) (new-platform)
Better support for int types (@ziotibia81 - #10409) (sensor.modbus docs)
Don't use the 'id' field since it can be autogenerated (fixes #10551). (@kmdm - #10554) (alexa.intent docs)
pad packets to multiple of 4 characters (@SteveEdson - #10560) (switch.broadlink docs)
Move temperature display helper from components to helpers (@fabaff - #10555) (climate docs) (weather docs) (climate.eq3btsmart docs) (weather.demo docs)
webostv: Reduce default timeout to prevent log spamming (@abmantis - #10564) (media_player.webostv docs)
Fix lametric sound (@MartinHjelmare - #10562) (lametric docs) (notify.lametric docs)
Use a template for the Universal media player state (@azogue - #10395) (media_player.universal docs)
Verisure: Added option to set installation giid (@abjorshammar - #10504) (verisure docs)
Bump ring_doorbell to 0.1.7 (@tchellomello - #10566) (ring docs)
Add code to enable discovery for mqtt cover (@marthoc - #10580) (cover.mqtt docs) (mqtt.discovery docs)
Google Assistant for climate entities: Support QUERY and respect system-wide unit_system setting. (@emosenkis - #10346) (google_assistant.smart_home docs)
turn service call handler into coroutine (@NovapaX - #10576) (configurator docs)
Add basic backend support for a system log (@postlund - #10492) (system_log docs) (new-platform)
Tradfri unique identities (@NovapaX - #10414) (tradfri docs)
Add panel build type (@balloob - #10589) (hassio docs)
Cloud updates (@balloob - #10567) (cloud docs) (cloud.auth_api docs) (cloud.const docs) (cloud.http_api docs) (cloud.iot docs)
Upgrade youtube_dl to 2017.11.15 (@fabaff - #10592) (media_extractor docs)
Fix Yahoo Weather icons over SSL (@OnFreund - #10602) (sensor.yweather docs)
Arlo - Fixes for updated library (@jwillaz - #9892) (arlo docs) (camera.arlo docs) (sensor.arlo docs)
Do not add panel from system_log (@postlund - #10600) (system_log docs)
Fix ValueError exception (@ziotibia81 - #10596) (sensor.modbus docs)
Fix Hikvision (motion) switch bug (@arsaboo - #10608) (switch.hikvisioncam docs)
Allow unicode when dumping yaml (@andrey-git - #10607)
Support script execution for Alexa (@micbase - #10517) (alexa.smart_home docs)
bump client version (@wardcraigj - #10610) (alarm_control_panel.totalconnect docs)
New sensor viaggiatreno. (@fabfurnari - #10522) (sensor.viaggiatreno docs) (new-platform)
Modbus switch register support (@ziotibia81 - #10563) (switch.modbus docs)
Upgrade mypy to 0.550 (@fabaff - #10591)
Small fix to be able to use mac and vendor in "device_tracker_new_device" event. (@Boltgolt - #10537) (device_tracker docs)
add support for color temperature and color to Google Assistant (@perosb - #10039) (google_assistant.smart_home docs)
Cleanup old stale restore feature (@pvizeli - #10593) (light docs)
Correct input_datetime initial value parsing (@colindunn - #10417) (input_datetime docs)
Change generic thermostat to control heating on mode change Off -> Auto (@milanvo - #10601) (climate.generic_thermostat docs)
Improve WUnderground config validation (@milanvo - #10573) (sensor.wunderground docs)
update hbmqtt to 0.9.1 (@masarliev - #10611) (mqtt.server docs)
Allow to pass YandexTTS options via sevice call (@andrey-git - #10578) (tts docs) (tts.yandextts docs)
Snapcast: bump version and enable reconnect. (@janLo - #10626) (media_player.snapcast docs)
Fix async missing decorators (@armills - #10628)
Alexa slot synonym fix (@devspacenine - #10614) (alexa.const docs) (alexa.intent docs)
Adjust logging in downloader component (@amelchio - #10622) (downloader docs)
Added sorted() to python_script (@etsinko - #10621) (python_script docs)
Add loglinefetch for frontend API call (@turbokongen - #10579) (config.zwave docs)

Maybe add a warning in the frontend section, that currently using latest breaks Polymer2-transpiled elements, like in Andrey's Custom UI

I don't see why the continuous-integration/travis-ci/pr step failed

Documentation update: https://github.com/home-assistant/home-assistant.github.io/pull/4001


This issue tests the bot | Bug Report

Adding some content for this issue body. Please ignore this bug as it is for testing purposes

🔗 Discuss this issue on Discord

Adding comment to this issue for testing the bot

closing the issue and testing out the discord bot


microphone plugin does not show waves when multiple device is connected on safari

Hey, thank you for testing and contributing to wavesurfer.js!
Please make sure you can check all of these points below before opening an issue:
(You don't have to post this section)

[ ] I have checked the FAQ and it doesn't solve my problem.
[ ] I have checked the documentation and it doesn't solve my problem
[ ] I have searched for already open issues which desribe my problem.
[ ] The issue I'm having is related to and caused by wavesurfer.js, not by other software (which maybe packages and uses wavesurfer incorrectly) – In that case you should open the issue on the respective project pages.

Please make sure you provide the following information (if applicable):
Wavesurfer.js version(s):4.1.1
Browser and operating system version(s):
macOS Mojave(10.14.6), Safari Version 14.0 (146<IP_ADDRESS>.9)
Code needed to reproduce the issue:
(Please reduce your code as much as possible and only post the minimum code needed to reproduce the issue. A Code pen is an excellent way to share such code)
Use behaviour needed to reproduce the issue:When we connect external bluetooth device and try to access "https://wavesurfer-js.org/plugins/microphone.html" we do not see the wavelines.

Hi, I have same issue on Mac and iPhone Safari. Any suggestions/workaround to fix this.


Get-CsEffectiveTenantDialPlan, Add Attribute handling

Received Message (No Attribute handling):
Get-CsEffectiveTenantDialPlan

Cannot display the prompt for "Identity" because type "Microsoft.Rtc.Management.AD.UserIdParameter" cannot be loaded.

Expected Message:
Get-CsEffectiveTenantDialPlan

cmdlet Get-CsEffectiveTenantDialPlan command pipeline position 1
Supply values for the following parameters:
Identity:

Workaround
Get-CsEffectiveTenantDialPlan -Identity [Username]

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

ID: 02a0c2ac-fb7d-1e55-280b-3c67a826b573
Version Independent ID: 6eb4cdbf-85bf-1153-add1-a746ef19c838
Content: Get-CsEffectiveTenantDialPlan (SkypeForBusiness)
Content Source: skype/skype-ps/skype/Get-CsEffectiveTenantDialPlan.md
Service: skypeforbusiness-powershell
GitHub Login: @tomkau
Microsoft Alias: tomkau

Hey @weyCC81, same here:

@dariomws Thank you very much for the contribution and sharing this explanation. @weyCC81 Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


feat(fscomponents): increase customizability of search bar

Description
adds cancel button style props and a render cancel button prop to the search bar in fscomponents

@bweissbart Thanks for restarting. CI tests passed.


Use newtype pattern

I was looking into this library and noticed it doesn't use newtype pattern. This makes it easily possible to accidentally swap uid_t, gid_t, pid_t and I suppose other s too.
I've experienced such bugs in practice. I'd suggest using newtypes like Uid, Gid, Pid in all interfaces and provide conversion functions (impl From<Uid> for uid_t) Such change would minimise chance of someone accidentally swapping those (and potentially creating security vulnerability).
I'd also suggest const ROOT: Uid = Uid(0);.

Yep.  Newer additions always use Newtype, but the older code hasn't all been converted.  Patches welcome!  Please open a pull request for any module you'd like to change.


GPU memory grows over time for streaming emformer server

Take a 10 minute long or longer recording. To ensure that its close to realtime upload, you can insert the following command on line  102 https://github.com/k2-fsa/sherpa/blob/063f67f3fb5a25a2576273f7f0c1e5f24976ddd8/sherpa/bin/pruned_stateless_emformer_rnnt2/streaming_client.py#L102
await asyncio.sleep(0.25)
Then run the client and the server, and in a separate terminal issue the command "watch nvidia-smi" and monitor the memory usage.

How many clients are you using and what are the commands you used to start the server?

1 client.
./sherpa/bin/pruned_stateless_emformer_rnnt2/streaming_server.py
--port 6007
--max-batch-size 50
--max-wait-ms 5
--max-active-connections 500
--nn-pool-size 1
--nn-model-filename <model.pt>
--bpe-model-filename <data/lang_bpe_500/bpe.model>

I am using
https://github.com/k2-fsa/sherpa/blob/e850f1d0d58a471b32b13a0218533d76f36ed1a7/sherpa/bin/pruned_stateless_emformer_rnnt2/streaming_client.py#L94-L95
https://github.com/k2-fsa/sherpa/blob/e850f1d0d58a471b32b13a0218533d76f36ed1a7/sherpa/bin/pruned_stateless_emformer_rnnt2/streaming_client.py#L105
in #40
GitHub actions can decode sound files with different durations: 10 minutes, 20 minutes, and 30 minutes, without
any problems.
(Note: GitHub actions uses CPU)
I also tested it locally with GPU (V100 32GB). The GPU RAM usage is rather stable,  which is about 1721 MB.
(The server handles two connections concurrently: One connection sends a wave file of 30 minutes, while the other sends a 20-minute wave file)

@ngoel17
The latest master should fix this issue. Please leave a comment if it is still an issue for you.


add python cycler to list of prerequisites

Many codes and examples fail if the python module 'cycler' is not installed.
It is used through matplotlib, but apparently not required by it, at least, when installing matplotlib from rpm on CentOS 7, it isn't included. This may be due to matplotlib versions, in Fedora 29 and in Ubuntu 19.04, cycler is installed as dependency of matplotlib.
Perhaps with the move to the pip-based install of amuse, it could be listed as dependency of one of the packages.

I think it wasn’t a requirement for earlier versions of matplotlib, but it is now?
Maybe we should require/support a minimum version of matplotlib that does have this prerequisite?

indeed, CentOS of course comes with an older version of matplotlib without cycler. but some of the amuse plot routines or code used in examples requires cycler.
So either require a newer matplotlib, or require cycler as additional dependency will solve the issue.

I don't like to add dependencies for trivial tasks like cycler - we could change the examples to not require them, or add a simple implementation as fallback...

I’m in favour of a newer matplotlib then. That’s simpler.
It’s a “soft” dependency currently, maybe we should just install it as a hard dependency of the full “amuse” package (but not “amuse-framework”).


Browser does not open in WSL

Running PrintCode in Remote-WSL fails to open the browser due to xdg-open not being installed and no default browser set.

See #46 for fix


"Large" Class = uncloseable

When not using bootstrap, the "large sticky notifications" can't be closed manually by clicking the "x".  There's no way to dismiss the notification unless the page is reloaded/refreshed.

Once again, It's highly recommended to include bootstrap also in your project. But can you explain more clearly what do you mean? I have tested without bootstrap and they are closed.

The large notifications are sticky, are not closed automatically and can be closed only by clicking close button.  When Bootstrap is not included, the "x" cannot be clicked on.
Using Firefox Developer tools, the console error that occurs is TypeError: tabControl.find(...).tab is not a function.  The little icon "tabs" appear to be broken.  Is a Bootstrap dependency based on the missing icon classes? (BTW, I'm using jQuery 1.11.1)

Yes this is also bootstrap dependency problem. This will be fixed also. My advise will be leave these issues opened, track what I push on dev branch and see which issues will be fixed. If you will be satisfied, than you can close the issues

This problem is also fixed. You can see it on dev branch


Version 0.10.62 leaves target/reports/unittest empty

In version 0.10.61, pybuilder writes a summary of the unit tests to the file "target/reports/unittest". Since version 0.10.62, this files remains empty, even when test cases are failing.

Yes, good catch. This was introduced by a recent pull request but I already have a fix locally.

Fixed in 0.10.63

Sorry, GitHub closes the issue automatically. Can you have a look if it's resolve and then close, since you're the reporter?

Works fine with 0.10.63, thanks for the quick fix.


implemented an async ingester for aggregates to avoid http timeouts

Tested in https://github.com/myrteametrics/myrtea-connector-api-colissimo-qssla/pull/26
Working fine

Question: only one ingester or multiple for each route endpoint created ? Actually two instances are created in :
	case "BASIC":
		routes, err = buildRoutesV3Basic(config)
	case "SAML":
		routes, err = buildRoutesV3SAML(config)

@SchawnnDev Only one ingester is instantiated ; either in BASIC auth mode, or in SAML auth mode.


[ci] Create basic CI pipeline

Workflow steps:

Run tests
run linters

on proto changes:

buf breaking against proto in target merge branch (https://github.com/marketplace/actions/buf-breaking)
lint proto files

can i take on this ?


Tag Generator - Fix Copy

Overview
The last page needs to be fixed in the following ways:

[x] Fix the problem with the header that is now showing up on the page

[x] Bring back the three choices that are supposed to be at the bottom of the page

[x] Make sure people can see/copy the tags when they are in step 2

[x]  Reword step 3 to say "After you have finished adding your tags, click Save Changes.

[x] There are two references to opening two windows. Let's remove one "We recommend having your project’s repository open in another browser for ease of convenience."
"1. Navigate to your project's repository in another browser to add your generated tags.

[x] In step 1 make the copy into a URL (showing the linking style) for actual project repository.

[x] Make a full column width instead of two columns.

Resources/Instructions
Tag Generator Page

@chalimar could you pls review?

Finalized Screen for Tag Generator


Update PyPI Trove classifiers for Python and Django versions

This makes the package show up as Python 3 compatible for the caniusepython3 tool

Thanks.


Question about the Paper

Hello, Thanks for your amazing work. I have a question about the paper where it explains why a consistency loss is used for constraining the decoder output predictions. It is mentioned in the paper that
"Since no semantic label is available on the target domain, the object detector is prone to produce inaccurate matches between object queries and ground truth objects on the target domain."
I don't quite I understand what it means by that. Since you don't have any labels for target data, how is it possible to do matching when you actually don't have the ground truths? Thanks.

In that case, is it possible that you are trying to say matches on the "source domain" instead of on the "target domain"?

Hi, thanks for your interest.
The ideal model prediction should match the ground truth label. On the target domain, the object detector is prone to produce inaccurate predictions and thus leading to inaccurate matches between object queries and ground truth objects on the target domain.
We regulate the class and box prediction of individual decoder layers to be consistent. In this way, the model produces consistent matching with the ground truth in an indirect way, though the ground truth is not available.
From another perspective, we ensemble the predictions of individual decoder layers to obtain a pseudo label to supervise the training on the target domain, to achieve better performance.

This makes a lot more sense now. I thought by "matching" the paper means the "bipartite assignment" between two output predictions and ground truths. Thanks for clearing my confusion.

detector

inaccurate matches between object queries and ground truth objects on the target domain.

I think I understand it now. Thanks for clearing my confusion.


docs: set up directories for Contrib Guide

This sets up the directories for the Contrib Guide per https://github.com/keptn/lifecycle-toolkit/issues/972

To fix the issue with not passing HTML test, i merge the changes of https://github.com/keptn/lifecycle-toolkit/pull/1010 into this pr

side question - do we want to have contributing under docs like it is currently
docs/
├─ contrib/

or should it live besides docs like
docs/
contrib/

background and why i am asking
if we take a look at our live documentation with the current approach it will look like
docs/
├─ contrib/
docs-v0.5.0/
├─ contrib/
docs-v0.6.0/
├─ contrib/

with multiple contrib sections,  which can be confusing. as our goal should be:
docs/
docs-v0.5.0/
docs-v0.6.0/
contrib/

@aepfli you remark makes a lot of sense to me. the contribution guide is not really bound to versions of KLT

I tried moving the Contribute section to docs/content/en.  This means it is no longer displayed in my local Hugo build and I don't think it is accessible from the KLT landing page.  Could we go ahead and set this up with contribute under docs/content/en so that people can work on developing the content while we figure out the tooling.  Then we can move this tree.
I think the logical place to display it is when one clicks on the "Read more..." link under "Contributions welcome!", which currently takes people to the source repository, which is not exactly what I expect to find for a "Read more..." link.


[WIP] feat: support tail based sampling from otel collector

Which problem is this PR solving?

Part of #5867

Description of the changes

How was this change tested?

Checklist

[ ] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
[ ] I have signed all commits
[ ] I have added unit tests for the new functionality
[ ] I have run lint and test steps successfully

for jaeger: make lint test
for jaeger-ui: yarn lint and yarn test

I tested the binary sizes

without this change - 75Mb
with this change - 114Mb
with only tail sampler (without load balancer) - 78Mb

I would suggest we only include tail sampler. That's the component that's most useful in the final collector, which needs to be Jaeger. But the upstream load balancing collectors can be just OTEL Collectors.

make sure to go git pull, I pushed updates to go.mod to resolve conflicts

make sure to do git pull, I pushed updates to go.mod to resolve conflicts

Thank you so much for doing this for me!

@yurishkuro i'm really sorry i made a mistake in rebasing off main - would you be able to fix the conflicts again?

@yurishkuro the README is ready for review now

@yurishkuro - there looks to be a failing test in the CI. Is it a flaky test? I don't believe its related to my changes.

🎉 🎉 🎉


Add support for the crawling animation.

Hey, in my commit I added support for the crawling animation in Minecraft, and considering there is not native methods to check for this, I used the process of elimination, and the height of your hitbox. If you're not sneaking, swimming, or gliding, but have a reduced hitbox height, you are 'crawling'.
I struggled to build WeaponMechanics due to authentication being required for a dependency:
> Could not get resource 'https://maven.pkg.github.com/WeaponMechanics/MechanicsAutoDownload/me/cjcrafter/mechanicsautodownload/1.3.1/mechanicsautodownload-1.3.1.pom'. Received status code 401 from server: Unauthorized.
If this is an issue on my side, I would much appreciate some help.
I did however test what I added to EntityWrapper inside my own plugin, source:
    @Override
    public boolean onCommand(CommandSender commandSender, org.bukkit.command.Command command, String s, String[] strings) {
        Player player = (Player) commandSender;

        if (player.isSneaking()) {
            player.sendMessage("You are sneaking.");
            return true;
        }
        if (player.isSwimming()) {
            player.sendMessage("You are swimming.");
            return true;
        }
        if (player.isGliding()) {
            player.sendMessage("You are gliding.");
            return true;
        }

        final double crawlingMaxHeight = 1.5;
        double hitboxHeight = player.getBoundingBox().getHeight();
        if (hitboxHeight <= crawlingMaxHeight) {
            player.sendMessage("You are crawling.");
        } else {
            player.sendMessage("You are not crawling.");
        }
        return true;
    }

Here's what that looked like: https://cdn.discordapp.com/attachments/1128569715976065054/1191678119753560124/170418859513897991.mp4?ex=65a64fbc&is=6593dabc&hm=cd1e203f954fd4a1deab397fae174cf05eda80b8e0122e5b9709e70a2fe196c1&
This is my first PR to a large project so I hope that everything is okay,
Seems that some of the scripts inside the lib folder which I edited as I am on linux were included into the PR, those are not meant to be there haha, so if this gets merged, please do not merge those, and if they cannot be excluded I can redo everything and make a new PR.
zunker says hi

You should revert those script changes then

You should revert those script changes then

After some tinkering with git; done.

Thanks for contributing :+1:


JSON checker not detecting invalid wait() statements

I have been trying to write collectives in JSON and running them on hardware. What I have observed that the JSON checker sometimes accepts and implementation, but that implementation is incorrect on hardware.
In some cases, it accepts an implementation that I am sure is not correct.
I think the send_recv_proxy example code can help to illustrate this.

The example passes the Check(). However, I believe the wait() statement is incorrect since it waits on the input buffer instead of the scratch buffer that is being signaled:

c.signal(nghr, "scratch", 1, sendtb=0, chan_type=ChannelType.proxy)
.....
c.wait(1-r, Buffer.input, 0, recvtb=0, chan_type=ChannelType.proxy)

If I change the wait statement to:
c.wait(1-r, "scratch", 1, recvtb=0, chan_type=ChannelType.proxy)

Check() passes as well.
Apart from which wait statement is correct, I believe one of them should fail the Check().
In addition, the signal() statement can be completely removed and Check() still passes. This seems to indicate that the dependency between them is not checked.

Thanks @dsidler . This is a known issue. Currently, msccl-tools only verify data correctness within the signal rank. Since signal/wait operations don't contain any real data chunks, we are ignoring this for now. To address this, we would need to construct dependencies across different ranks. For now, we are keeping the interface but not implementing this part.


Pledge page updates

Added a comma to pledge signature count. Fixes #108
Test:

[ ] Create new wallet and sign the pledge
[ ] Change browser location to confirm it displays the correct locale string separator ("100.000" vs "100,000")

messed up my branching, I'll resubmit a new PR!


wsl --mount --vhd .vhdx  --bare should report the device used to attach the volume

Is your feature request related to a problem? Please describe.
I would like to be able to script the creation of a WSL distro from bash and I can (from a WSL distro running from a PowerShell admin session) do:
powershell.exe New-VHD -Path /mnt/c/Users/mlwp/Storage/Projects3Dynamic.vhdx -SizeBytes 256GB -Dynamic -BlockSizeBytes 1MB
wsl.exe --mount --vhd Projects3Dynamic.vhdx  --bare # attaches as /dev/sd? but does tell me which
mkfs.btrfs -f -L projects3 /dev/sdi
wsl --mount --vhd C:/Users/mlwp/Storage/Projects3Dynamic.vhdx  --name projects3

Describe the solution you'd like
wsl.exe --mount should return device where volume is mounted
Describe alternatives you've considered
Not clear what if any other options I have for an automated script
Additional context
This is part of my attempt to script my workflows

That would be very useful indeed. I've only used the feature interactively, and always found it annoying having to identify the VHDX I was attaching by its size. Getting the name of the block device would be very useful for the interactive scenario too. For automates scripts like OP want it's a must.

On further consideration, it would be even better if we could specify the device to use (getting an error if that device is busy), this would help when precreating scripts, e.g. when working with LVM.


about  train texture translator   datasets

I think my data structure is wrong

My dataset is the same as yours, and I also wonder if it's correct. I don't think it's been made clear in the repo cause the dataset structure recommended is highly simplified.

Were you able to figure out the correct folder structure?

How do you know your path is wrong? I built the training directory by referring to your path, and the training script can be executed correctly without any errors. I haven't completed the training yet.


Roadmap

[ ] Full bill daily & hourly breakdowns
[ ] Table access history
[ ] Unused tables & associated costs
[ ] Cluster health snapshotting

Hourly not achievable for storage as it's calculated at the daily level, unless we just divided up the storage evenly across each other. At the hourly grain, it makes sense to me to create separate tables for each usage type so that we can add lots of usage type specific columns.

Separate issues created for each.


Is this a JoJo reference?

What is JoJo?
The language is named "joujou" because that word means more or less "toy" or "plaything" in French.


Fix test_replace_worst and delete history_mocks

Codecov Report

Merging #15 (2bb3dd5) into main (157b81a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #15   +/-   ##
=======================================
  Coverage   75.87%   75.87%
=======================================
  Files          87       87
  Lines        4660     4660
=======================================
  Hits         3536     3536
  Misses       1124     1124

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[FEA] remove special case NaN handleding for NULL_EQUALS

Is your feature request related to a problem? Please describe.
https://github.com/rapidsai/cudf/pull/12275 wants to make NaN equal to NaN for NULL_EQUALS. Everywhere that I looked in our code bases that uses NULL_EQUALS or calls equalToNullAware special case NaN handling was included to try and make NaNs equal to each other. After this goes into CUDF we should retest and see if we can remove the extra NaN handling code that we have.

CUDF decided not to do https://github.com/rapidsai/cudf/pull/12275, so I am going to close this, but it might be a good place for us to write our own kernel to save time, if we use this all over the place for floating point comparisons.


Verify poetry 1.0.0b1 works

Should probably also see if there's anything we should be supporting that we don't already.

No users are complaining and they are already on b9, so this doesn't seem necessary.


DOC-5662 v21.1.21 release notes

Addresses: DOC-5662

v21.1.21 release notes.

This change is


Adds basic magic link demo

Adds basic magic link demo based on a demo in a previous README version.

This is perfect, I have a few minor adjustments to make but will merge and add them.
This is a really really useful PR @zomars please keep them coming!!

@zomars You can see it live now here: https://get-iron-session.vercel.app/app-router-magic-links


Add file-copy icon to Vitamix

Duplicates ❌

[X] I have searched the existing icons and requests.

Icon name
file-copy
Icon description
Concept: Used to copy to clipboard
Icon keywords
copy, file, clipboard
Icon author
Remix
Icon SVG code
RemixIcon_SVG_2207211001.zip
Are there any other important details?
No response

@jordivivesDKT thanks for contributing to this issue :)

@jordivivesDKT the branch has been merged and the lib published with the new icon, I move the ticket to dev process to have it on all our dev libraries :)

Thank you!
For your information, you can check the follow-up for development on each platform repository:

Web
Android
iOS
Compose

Have a great day,


block eth_sendRawTransaction

Signed-off-by: Ratan Rai Sur<EMAIL_ADDRESS>

PR description
Fixed Issue(s)

Looks like a reaonable way to make a temporary query only node.  LGTM but not for production use.

Can we close this PR?


Design FHIR Engine's HL7 sender transform

User Story:
As a ReportStream, I want to be able to configure sender specific transforms, so I can fix data issues coming from senders.
Description/Use Case
Similar to the COVID Pipeline, we need a way to modify the incoming data from a sender, so we can fix and/or manipulate the data for our purposes. This will not include de-identifying at this time.
Risks/Impacts/Considerations

Unsure if we can do this work after converting the data to FHIR.  May need to do the transforms before as you could lose some data in the HL7 to FHIR transformation.
Sometimes there are IF statements for these manipulations.  How can we do that?

Dev Notes:

See current COVID pipeline schema's on how this is done.  Manipulation is done at the element level.

Acceptance Criteria

Design the HL7 sender transform and its configuration.  Document any and all important information about the design including assumptions.
Present the design to the pipeline team for buy-in.
Present the design to the OO team for buy-in since they are the ones that would be configuring receivers.
Generate required issues to complete the work.

See attached design:
https://app.zenhub.com/files/304423150/d666073a-0d70-42dc-9779-82f163ae5593/download


Add event for variant creation

Closes #664 with some caveats

[ ] The event's organization will be set to the user's most_recent_org unless we make some changes to the forms/components where we create variants to include the org selector button. This will be difficult to do in the Add Evidence form since the variant creation is integrated in the typeahead dropdown
[x] The creation and deprecation events are being displayed on the variant summary but we weren't able to get a horizontal style to work so there is a lot of wasted space. A horizontal descriptions doesn't work with with a title template.
[ ] We should consider adding mp creation events as well.

Blocked by #770


[bug]

Describe the bug
the webview doesn't respond after window get focus
Reproduction
if let Some(win) = app.get_window("main") {
    win.set_focus().expect("fail to focus window");
}

Env
MacOS 12.7.4
tauri 1.6.1
tauri-build 1.5.1

Hi, could you upload a full minimal reproduction example? Looks like this code only freezes the app when called in a specific context (or maybe it's the context and not the focus function's fault) because it doesn't seem to causes freeezes for me or others.

Hi, could you upload a full minimal reproduction example? Looks like this code only freezes the app when called in a specific context (or maybe it's the context and not the focus function's fault) because it doesn't seem to causes freeezes for me or others.

Further details are provided


Increment version for core releases

Increment package version after release of azure-core

/check-enforcer override


fix weather schedule generation logic

Fixed a bug in the calculation of 'requested_times' in the 'generate_weather_schedule' function.
In the original program, the calculation method for 'requested_times' was incorrect and could cause weather overwriting.

thank you for the fix!


Add styled-shortcut-components to readme

styled-shortcut-components: A convenience package that wraps styled-components with styled-shortcuts.

@donavon

This functionality should be in the base styled-components, IMO

We have a very narrow definition of what styled-components does: Embracing styling's domain specific language CSS. This obviously through tagged template literals and its interpolations. Now these interpolations are pretty simple and intuitive in what they do, and are flexible enough to allow something like styled-shortcuts to be built on top. But we're not fans of introducing extra bulk on top of the existing API for the sake of having it in the base library. :wink:
Btw explanations for why different feature requests weren't pursued can be found in various closed GH issues. It sounds harsh, but we'd rather keep extra-stuff out of the library and make the API lean, simple, and easy to learn, rather than to introduce one too many features that can also be external.

It would obviously be a breaking change

This expands on the stuff before; (Correct me if I'm wrong. I don't know styled-shortcuts in detail) Why introduce a breaking change that removes string-interpolation for their normal, obvious use, for a feature that only a fraction of the userbase might prefer?

not until 2.0. But if/until then, I'm here

v2 is out :smile:
Hope that wasn't too harsh, and gives you an insight on our general position on feature requests. If you're still interested in discussing this further, you can open an issue, and expand on what this would mean for the library, i.e. new APIs, breaking changes, etc

@philpl,

a feature that only a fraction of the userbase might prefer?

I disagree. If the functionality of styled-shortcuts were baked into styled-components, I think you would find that it would be used a LOT.
Here's the "Theming" example from your own website (I added border-radius to further drive home my point):
border-radius: ${props => props.theme.borderRadius}px;
color: ${props => props.theme.main};
border: 2px solid ${props => props.theme.main};

That's a lot of crazy boilerplate code! And here it is using styled-shortcuts:
border-radius: ${'theme.borderRadius:px'};
color: ${'theme.main'};
border: 2px solid ${'theme.main'};

You don't think that shown this example, that more than "a fraction of the userbase" would use it? (We don't have to agree here.)
Passing props to a styled component seems to be what you are showing people as  best practice (and one that I support). I'm making that process more less tedious.

features that can also be external

And while you bring it up. Did you see what hoops I had to jump through to make this work? It would be nice to have a "hook" into SC for add-ins. That would not be a breaking change, and a nice additions to the product. And without adding too much overhead.

v2 is out 😄

Yeah... Obviously I meant 3.0. 😜
Oh, and thx for contributing such a wonderful addition to the React community!


[SP-3136][BACKLOG-13476] Fix wrong chars around yen sign

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f plugins/kettle-xml-plugin/build.xml clean-all resolve jacoco && ant -Dtestreports.dir=bin/reports/integration-test -f plugins/kettle-xml-plugin/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  plugins/kettle-xml-plugin/src/org/pentaho/di/trans/steps/xmloutput/messages/messages_en_US.properties

@pamval @mbatchelor please take a look.
This is a backport of #3259.


custom dataset training error

ValueError: custom  is not an available dataset. Should be one of ['cifar10', 'cifar100', 'flowers102', 'food101', 'pets37',
'stl10', 'dtd', 'aircraft', 'cars']
python main.py fit --trainer.accelerator gpu --trainer.devices 1 --trainer.precision 16-mixed --trainer.max_steps 5000 --model.warmup_steps 500 --model.lr 0.01 --trainer.val_check_interval 500 --data.batch_size 128 --data.dataset custom  --data.num_classes 2 --data.root path

I cannot replicate this error when using the command you provided. I did make a commit fixing a different error that your command raises related to the top5 acc when using <5 classes.
 Should be one of ['cifar10', 'cifar100', 'flowers102', 'food101', 'pets37', 'stl10', 'dtd', 'aircraft', 'cars']

Again I can not replicate the error you are getting and without being able to replicate it I can't do much to debug this. This is the if statement that is failing:
https://github.com/bwconrad/vit-finetune/blob/8d218fc649e330e026ef189cd5d751cafa1a47e1/src/data.py#L136-L164
The only thing I can think of this that you are using a non English keyboard input method and that you are accidentally  inputting homoglyphs instead of the regular characters (see here) which causes the comparison to fail.


Add CI

Add CI config.
Based on https://gist.github.com/LukeMathWalker/5ae1107432ce283310c3e601fac915f3.
Closes #8.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@89020e8). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #13   +/-   ##
=========================================
  Coverage          ?   25.44%
=========================================
  Files             ?        6
  Lines             ?      334
  Branches          ?        0
=========================================
  Hits              ?       85
  Misses            ?      249
  Partials          ?        0

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 89020e8...ece6bc2. Read the comment docs.


Critical database error: Custom { kind: Other, error: Error { message: "Corruption: Corrupted compressed block contents: Snappy" } }

Is there an existing issue?

[X] I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

[X] This is not a support question.

Description of bug
This is reported from our user (Khala)
I've confirm his disk space is enough
it occurrs when the user do a freash sync
2023-01-10 05:18:20 Accepting new connection 1/100
2023-01-10 05:18:21 [Relaychain] ⚙  Syncing 550.4 bps, target=#16124966 (40 peers), best: #908288 (0xdcd4…5be5), finalized #907314 (0x0230…baea), ⬇ 370.4kiB/s ⬆ 121.9kiB/s
2023-01-10 05:18:21 [Parachain] ⚙  Syncing 51.2 bps, target=#3082035 (40 peers), best: #246053 (0x6120…3ef6), finalized #0 (0xd435…be8d), ⬇ 97.6kiB/s ⬆ 5.8kiB/s
2023-01-10 05:18:22 Accepting new connection 1/100
2023-01-10 05:18:24 Accepting new connection 1/100
2023-01-10 05:18:25 [Parachain] assembling new collators for new session 138 at #246600
2023-01-10 05:18:26 Accepting new connection 1/100
2023-01-10 05:18:26 [Relaychain] ⚙  Syncing 717.0 bps, target=#16124966 (40 peers), best: #911873 (0x2a80…5aa9), finalized #911872 (0xc88f…23d6), ⬇ 255.1kiB/s ⬆ 126.6kiB/s
2023-01-10 05:18:26 [Parachain] ⚙  Syncing 329.0 bps, target=#3082035 (40 peers), best: #247698 (0x5886…3f55), finalized #0 (0xd435…be8d), ⬇ 129.5kiB/s ⬆ 5.9kiB/s
2023-01-10 05:18:28 [Parachain] assembling new collators for new session 139 at #248400
2023-01-10 05:18:31 [Relaychain] ⚙  Syncing 750.6 bps, target=#16124966 (40 peers), best: #915626 (0xd9b4…d21b), finalized #915456 (0x4abc…788c), ⬇ 403.3kiB/s ⬆ 115.7kiB/s
2023-01-10 05:18:31 [Parachain] ⚙  Syncing 144.6 bps, target=#3082035 (40 peers), best: #248421 (0xf8d1…5df3), finalized #0 (0xd435…be8d), ⬇ 1.1MiB/s ⬆ 7.0kiB/s
2023-01-10 05:18:32 Accepting new connection 1/100
2023-01-10 05:18:34 Accepting new connection 1/100
2023-01-10 05:18:36 [Relaychain] ⚙  Syncing 772.4 bps, target=#16124966 (40 peers), best: #919488 (0x5fff…9ca3), finalized #919040 (0xb297…0f95), ⬇ 410.9kiB/s ⬆ 119.2kiB/s
2023-01-10 05:18:36 [Parachain] ⚙  Syncing  0.0 bps, target=#3082035 (40 peers), best: #248421 (0xf8d1…5df3), finalized #0 (0xd435…be8d), ⬇ 90.8kiB/s ⬆ 4.8kiB/s
2023-01-10 05:18:36 Accepting new connection 1/100
2023-01-10 05:18:38 Accepting new connection 1/100
2023-01-10 05:18:40 Accepting new connection 1/100
2023-01-10 05:18:41 [Relaychain] ⚙  Syncing 807.8 bps, target=#16124966 (40 peers), best: #923527 (0xa17a…2520), finalized #922624 (0xd06d…07a2), ⬇ 297.7kiB/s ⬆ 105.9kiB/s
2023-01-10 05:18:41 [Parachain] ⚙  Syncing 51.2 bps, target=#3082035 (40 peers), best: #248677 (0xfe91…8067), finalized #0 (0xd435…be8d), ⬇ 129.0kiB/s ⬆ 4.6kiB/s
2023-01-10 05:18:42 Accepting new connection 1/100

====================

Version: 0.1.20-269fd670cde

   0: sp_panic_handler::set::{{closure}}
   1: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call
             at /rustc/758f19645b8ebce61ea52d1f6672fd057bc8dbee/library/alloc/src/boxed.rs:2001:9
      std::panicking::rust_panic_with_hook
             at /rustc/758f19645b8ebce61ea52d1f6672fd057bc8dbee/library/std/src/panicking.rs:692:13
   2: std::panicking::begin_panic_handler::{{closure}}
             at /rustc/758f19645b8ebce61ea52d1f6672fd057bc8dbee/library/std/src/panicking.rs:579:13
   3: std::sys_common::backtrace::__rust_end_short_backtrace
             at /rustc/758f19645b8ebce61ea52d1f6672fd057bc8dbee/library/std/src/sys_common/backtrace.rs:137:18
   4: rust_begin_unwind
             at /rustc/758f19645b8ebce61ea52d1f6672fd057bc8dbee/library/std/src/panicking.rs:575:5
   5: core::panicking::panic_fmt
             at /rustc/758f19645b8ebce61ea52d1f6672fd057bc8dbee/library/core/src/panicking.rs:65:14
   6: <sp_database::kvdb::DbAdapter<D> as sp_database::Database<H>>::get
   7: <sc_client_db::StorageDb<Block> as sp_state_machine::trie_backend_essence::Storage<<<Block as sp_runtime::traits::Block>::Header as sp_runtime::traits::Header>::Hashing>>::get
   8: <sp_state_machine::trie_backend_essence::TrieBackendEssence<S,H,C> as hash_db::HashDB<H,alloc::vec::Vec<u8>>>::get
   9: <sp_state_machine::trie_backend_essence::TrieBackendEssence<S,H,C> as hash_db::HashDBRef<H,alloc::vec::Vec<u8>>>::get
  10: trie_db::lookup::Lookup<L,Q>::look_up_with_cache_internal::{{closure}}
  11: <sp_trie::cache::TrieCache<H> as trie_db::TrieCache<sp_trie::node_codec::NodeCodec<H>>>::get_or_insert_node
  12: trie_db::lookup::Lookup<L,Q>::look_up_with_cache::{{closure}}
  13: trie_db::Trie::get
  14: sp_state_machine::trie_backend_essence::TrieBackendEssence<S,H,C>::storage
  15: <sp_state_machine::ext::Ext<H,B> as sp_externalities::Externalities>::storage
  16: sp_io::storage::read_version_1
  17: sp_io::storage::ExtStorageReadVersion1::call
  18: <F as wasmtime::func::IntoFunc<T,(wasmtime::func::Caller<T>,A1,A2,A3),R>>::into_func::wasm_to_host_shim
  19: <unknown>
  20: <unknown>
  21: <unknown>
  22: <unknown>
  23: <unknown>
  24: <unknown>
  25: wasmtime_runtime::traphandlers::catch_traps::call_closure
  26: wasmtime_setjmp
  27: sc_executor_wasmtime::runtime::perform_call
  28: <sc_executor_wasmtime::runtime::WasmtimeInstance as sc_executor_common::wasm_runtime::WasmInstance>::call_with_allocation_stats
  29: sc_executor_common::wasm_runtime::WasmInstance::call_export
  30: sc_executor::native_executor::WasmExecutor<H>::with_instance::{{closure}}
  31: <sc_executor::native_executor::NativeElseWasmExecutor<D> as sp_core::traits::CodeExecutor>::call
  32: sp_state_machine::execution::StateMachine<B,H,Exec>::execute_aux
  33: sp_state_machine::execution::StateMachine<B,H,Exec>::execute_using_consensus_failure_handler
  34: <sc_service::client::client::Client<B,E,Block,RA> as sp_api::CallApiAt<Block>>::call_api_at
  35: <polkadot_runtime::RuntimeApiImpl<__SR_API_BLOCK__,RuntimeApiImplCall> as sp_api::Core<__SR_API_BLOCK__>>::__runtime_api_internal_call_api_at
  36: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  37: <sc_finality_grandpa::import::GrandpaBlockImport<BE,Block,Client,SC> as sc_consensus::block_import::BlockImport<Block>>::import_block::{{closure}}
  38: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  39: <beefy_gadget::import::BeefyBlockImport<Block,BE,Runtime,I> as sc_consensus::block_import::BlockImport<Block>>::import_block::{{closure}}
  40: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  41: <sc_consensus_babe::BabeBlockImport<Block,Client,Inner> as sc_consensus::block_import::BlockImport<Block>>::import_block::{{closure}}
  42: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  43: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  44: sc_consensus::import_queue::basic_queue::block_import_process::{{closure}}
  45: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  46: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll
  47: <tracing_futures::Instrumented<T> as core::future::future::Future>::poll
  48: tokio::runtime::task::raw::poll
  49: std::sys_common::backtrace::__rust_begin_short_backtrace
  50: core::ops::function::FnOnce::call_once{{vtable.shim}}
  51: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/758f19645b8ebce61ea52d1f6672fd057bc8dbee/library/alloc/src/boxed.rs:1987:9
      <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/758f19645b8ebce61ea52d1f6672fd057bc8dbee/library/alloc/src/boxed.rs:1987:9
      std::sys::unix::thread::Thread::new::thread_start
             at /rustc/758f19645b8ebce61ea52d1f6672fd057bc8dbee/library/std/src/sys/unix/thread.rs:108:17
  52: <unknown>
  53: __clone

Thread 'tokio-runtime-worker' panicked at 'Critical database error: Custom { kind: Other, error: Error { message: "Corruption: Corrupted compressed block contents: Snappy" } }', /root/.cargo/git/checkouts/substrate-7e08433d4c370a21/2dff067/primitives/database/src/kvdb.rs:29

This is a bug. Please report it at:

        https://github.com/Phala-Network/khala-parachain/issues/new

2023-01-10 05:18:43 [Parachain] assembling new collators for new session 140 at #250200
2023-01-10 05:18:44 Accepting new connection 1/100
Starting Khala node as role 'MINER' with extra parachain args '' extra relaychain args ''
2023-01-10 08:12:44 Khala Node
2023-01-10 08:12:44 ✌  version 0.1.20-269fd670cde
2023-01-10 08:12:44 ❤  by Phala Network, 2018-2023
2023-01-10 08:12:44 📋 Chain specification: Khala
2023-01-10 08:12:44 🏷  Node name: pha0001
2023-01-10 08:12:44 👤 Role: FULL
2023-01-10 08:12:44 💾 Database: RocksDb at /root/data/chains/khala/db/full
2023-01-10 08:12:44 ⛓  Native runtime: khala-1201 (khala-0.tx6.au1)
2023-01-10 08:12:44 It isn't safe to expose RPC publicly without a proxy server that filters available set of RPC methods.
2023-01-10 08:12:44 It isn't safe to expose RPC publicly without a proxy server that filters available set of RPC methods.
2023-01-10 08:12:44 Parachain id: Id(2004)
2023-01-10 08:12:44 Parachain Account: 5Ec4AhPVjsshXjh8ynp6MwaJTJBnen3pkHiiyDhHfie5VWkN
2023-01-10 08:12:44 Parachain genesis state: 0x000000000000000000000000000000000000000000000000000000000000000000fd2e3e07ed2d610c6c0c6c3cd6858fff733fe53c03bd75d46f25e7c69dec490b03170a2e7597b7b7e3d84c05391d139a62b157e78786d8c082f29dcf4c11131400
2023-01-10 08:12:44 Is collating: no
Error: Service(Client(Backend("Invalid argument: Column families not opened: col12, col11, col10, col9, col8, col7, col6, col5, col4, col3, col2, col1, col0")))

Steps to reproduce
No step to reproduce, it occured when the node is running (syncing), disk space is enough

I think it is unreproducible like issues I previous submitted.

some corruption of the disk content

Probably, but I'm not sure the courrption is made by the user, he told me this is a new 4T SSD.

https://github.com/apache/incubator-kvrocks/issues/788 reported something similar. However, this really doesn't seem to be any Substrate issue.
I would recommend you try ParityDB, for rocksdb we can not really provide any support.
I'm going to close this issue. If you have new insights or some reproduction, please reopen it.

apache/incubator-kvrocks#788 reported something similar. However, this really doesn't seem to be any Substrate issue.
I would recommend you try ParityDB, for rocksdb we can not really provide any support.
I'm going to close this issue. If you have new insights or some reproduction, please reopen it.

yeah, I have started evaluation of paritydb last year after you reccomend me, but most of our users doesn't change the default, we plan recommend users switch to paritydb in Spring

Yeah, I think we should also slowly make it the default!


Adding check for project-version-violations and report back

Oh wow.. Just saw this... I'll go through them now..

The function was working fine until we updated the version to 56 and we are facing this error

can you please take a look and let us know what api we can use instead?


CSV header problem

Hi,
When I am using csvHeader attribute, it is creating header but i am getting two headers. One with dataField attribute and other is csvHeader. Below is the example:
Name
name	empId	level	rating	comparatio	promotion	ctc	suggestedPromotion
The 1st line is csvHeader and 2nd line is datafield.
Can i change all the column header in 2nd line instead of taking it from datafield

It was my mistake. It is solved.

How did you solve problem?


reproxy: 0.8.0 → 0.9.0

Motivation for this change
Changelog
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 129865 at 56915c28 run on aarch64-linux 1

1 package built successfully:

reproxy

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/development/go-modules/generic/default.nix:223:5:
    |
223 |     installPhase = args.installPhase or ''
    |     ^

Tests are failing https://logs.nix.ci/?key=nixos/nixpkgs.129865&attempt_id=5d643b80-618a-4e2f-b08e-b3cd8a6d9acc

Tests are flakey for me too. Approx 50/50 on nixos x86_64.
Passes every time on macos 10.15 though.


Animated.View testing doesn't work [jest]

Hi,
I'm trying to have minimal UI tests for my app, to check if the components are rendered correctly. I have an App.js component that contains the state of the app and some Animated.View objects. Before introducing the Animated.View I didn't have a problem to test if the App component was rendered correctly with this code:
`
'use strict';
jest.autoMockOff();
const React = require('react-native');
const utils = require('react-addons-test-utils');
jest.dontMock('../js/containers/App.js');
var App = require('../js/containers/App.js');
describe('App', () => {
let view;
function renderView(props) {
const renderer = utils.createRenderer();
renderer.render(<App {...props}/>);
const output = renderer.getRenderOutput();
return {
  props,
  output,
  renderer
};

}
});
`
But as soon as I introduced some Animated.View object it fails with the following (and not too informative message):
Runtime Error SyntaxError: Unexpected identifier     at Function (native)     at createMockFunction (*/node_modules/jest-cli/src/lib/moduleMocker.js:153:10)     at makeComponent (*/node_modules/jest-cli/src/lib/moduleMocker.js:236:9)     at generateMock (*/node_modules/jest-cli/src/lib/moduleMocker.js:283:16)     at */node_modules/jest-cli/src/lib/moduleMocker.js:293:20     at Array.forEach (native)     at generateMock (*/node_modules/jest-cli/src/lib/moduleMocker.js:288:30)     at Object.generateFromMetadata (*/node_modules/jest-cli/src/lib/moduleMocker.js:311:16)     at Loader._generateMock (*/node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:256:25)     at Loader.requireMock (*/node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:677:45)
I'm using react 0.19 and jest 0.8.2 on mac
is there a way to mock Animated.View? should it work exactly like the View components?

Have you tried using https://github.com/lelandrichardson/react-native-mock ?

@damusnet no I haven't tried that one, should I just replace const React = require('react-native'); with const React = require('react-native-mock/mock'); ?

I haven't used it myself so I'm not sure, but I don't think so. There are plenty of tutorials on how to use it though. See this one for example.
@facebook-github-bot stack-overflow

StackOverflow indeed :) Good luck resolving it! react-native-mock seems like an excellent choice here.


Create gallery for zoom function with slides

Clear and concise description of the problem
Hello,
I discover the zoom function of Swiper that is really good, like a lightbox, but It would be even more nice if you could add the feature "gallery" to this function. So we could navigate between slides images in the lightbox.
Thank you !
Suggested solution
Like Fancybox, for exemple, by adding a specific data (like data-gallery="myslidergallery") on slides div, it will create a gallery in the zoom box, with next and previous arrows to see all our slides in the zoom space.
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Would you like to open a PR for this feature?

[ ] I'm willing to open a PR

could you add Zoom in mouseover ?


Cooll feature

Worked great. Would like to put different users and do user to user without everyone seeing each others message..

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

ID: 0dd2991d-c22d-ad0f-80b6-bd1b503db8f3
Version Independent ID: 5e3fbe1d-c97f-9940-4f0c-067d4b2112b1
Content: Get started with ASP.NET Core SignalR
Content Source: aspnetcore/tutorials/signalr.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @bradygaster
Microsoft Alias: bradyg

Users and groups?

Thanks for contacting us. We believe that the question you've raised have been answered. If you still feel a need to continue the discussion, feel free to reopen it and add your comments.


[11.x] Unnecessary closure wrapping in DatabaseBatchRepository::transaction

$callback is already a closure. No need to wrap it.

I am closing this pull request because it lacks sufficient explanation, tests, or both. It is difficult for us to merge pull requests without these things because the change may introduce breaking changes to the framework.
Feel free to re-submit your change with a thorough explanation of the feature and tests - integration tests are preferred over unit tests. Please include it's benefit to end users; the reasons it does not break any existing features; how it makes building web applications easier, etc.
Thanks!