[questions] clojure.tools.nrepl.transport.Transport and aws/sdk/s3.clj

I wanted to try to make the nightcode repl compatible with this repl beautifier:
https://github.com/venantius/ultra -  which (among other things) prints shell color codes.
Like so:

I pulled my fork, synced, did some cleanups, but whenever I "Run in Repl" I get the following exception.
Running with REPL...
nREPL server started on port 58879 on host <IP_ADDRESS> - nrepl://<IP_ADDRESS>:58879
Exception in thread "nREPL response poller" java.lang.NoClassDefFoundError: clojure/tools/nrepl/transport/Transport

Do you have any idea why basicly the same (codewise) nightcode launches would behave differently regarding this Exception.
Also nightcode$ lein runcomplains about missing aws/sdk/s3.clj on classpath, why is it excluded in project.clj ?

By the way, thats how an exception looks like with ultra:

My guess is that the error is caused by conflicting versions of tools.nrepl being brought in. Nightcode includes Leiningen 2.5.1, which brings in tools.nrepl 0.2.6. This ultra library brings in tools.nrepl 0.2.7. If you add :exclusions [org.clojure/tools.nrepl] to the vector in which you are bringing in ultra, it might work.
Regarding the aws exclusion, that's because the aws sdk is very large and would balloon the jar file size if I included it. I'm not sure why the error is happening but hopefully the aforementioned solution will also fix that. Let me know if you still have issues after trying it.

So, it (the nrepl strangeness) stopped happening, I assume because I disable a few ./lein/profiles.clj plugins:
{:user {
  :plugins [
    ;[lein-try "0.4.3"]
    ;[lein-localrepo "0.5.3"]
    [venantius/ultra "0.3.2"]
    ;[lein-ancient "0.6.4"]
    ;[lein-kibit "0.0.8"]]
  :ultra {:color-scheme :solarized_dark}}}

Further I tweaked nightcode.ui.JConsole.java a bit to drop ANSI Escape Codes.
This enables me to use 'venantius/ultra' without having to fiddle with its config to much (since I wanted it always on).
The benefit of this in nightcode is that instead of i.e. :
ClassCastException java.lang.Class cannot be cast to java.lang.Throwable  \
  play.core.desktop-launcher/x (desktop_launcher.clj:12)

you would get:
java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.Throwable
       play.core.desktop-launcher/x  form-init1136070863867463479.clj:    1
       play.core.desktop-launcher/y  form-init1136070863867463479.clj:    1
       play.core.desktop-launcher/z  form-init1136070863867463479.clj:    1
play.core.desktop-launcher/eval4590  form-init1136070863867463479.clj:    1
                                ...
                  clojure.core/eval                          core.clj: 2927

I am content with how this works and will not attemt to colorize those ANSI codes in nightcode.
So I assume I can close this.


[flaky ci] Creating a VirtualMachineInstance when virt-handler is not responsive [test_id:1634] - virt-handler not found

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind enhancement

What happened:
https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-kubevirt-kubevirt-master-4.4-e2e/1341942352272429056
tests/vmi_lifecycle_test.go:581
Should get virthandler client
Unexpected error:
<*errors.errorString | 0xc002148600>: {
s: "No virt-handler on node ci-op-xpqg518b-001db-9b4vr-master-0 found",
}
No virt-handler on node ci-op-xpqg518b-001db-9b4vr-master-0 found
occurred
tests/vmi_lifecycle_test.go:617
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

KubeVirt version (use virtctl version):
Kubernetes version (use kubectl version):
VM or VMI specifications:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

/triage build-watcher

/reopen
Seen on OpenShift CI here: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-kubevirt-kubevirt-master-4.8-e2e/1347378044184039424

/reopen
Seen on OpenShift CI here: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-kubevirt-kubevirt-master-4.8-e2e/1347378044184039424

This is no longer a failing test, it fails every time for a while now: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-kubevirt-kubevirt-master-4.8-e2e/1348827553007144960

This is no longer a failing test, it fails every time for a while now: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-kubevirt-kubevirt-master-4.8-e2e/1348827553007144960

Failing on kubernetes:
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/4816/pull-kubevirt-e2e-k8s-1.17/1351033626933858304
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/4816/pull-kubevirt-e2e-k8s-1.17/1350792286249684992

Failing on kubernetes:
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/4816/pull-kubevirt-e2e-k8s-1.17/1351033626933858304
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/4816/pull-kubevirt-e2e-k8s-1.17/1350792286249684992

again here:
https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-kubevirt-kubevirt-master-4.8-e2e/1351364419715600384

again here:
https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-kubevirt-kubevirt-master-4.8-e2e/1351364419715600384

/reopen
still an issue: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-kubevirt-kubevirt-master-4.8-e2e/1356437936719007744

FYI @kwiesmueller


make the architect/workflows readme (the one in this repo) amazing

currently it is not. esp not https://www.npmjs.com/package/@architect/workflows
lets fix that! lots of content to draw on from the docs.

its not amazing but at least it is better now!


Make vertex buffer3 d and index buffer3 d gc friendly

(GL)VertexBuffer3D and (GL)IndexBuffer3D improvements in order to make them more GC friendly and avoid creation of too much garbage

Merged :smile:


Request more event logs at various points of failure

In one of our environments (UAT to be specific), windows login with auto create feature ON failed to create a user in user table. It's extremely difficult for troubleshooting because of lack of logging at various points.
I recommend adding DEBUG and ERROR messages at following points (far from exhaustive)

DEBUG message should be turn on and off
ADSIProiver GetUser method, log debug message before returning objAuthUser, the debug message should print out entire objAuthUser object
AuthenticationController CreateUser, log debug message before the method return, the debug message should log createStatus
AuthenticationController AuthenticationLogon, the else part of the "If Not (objReturnUser Is Nothing)" should log ERROR message, indicating failure in AuthenticateUser
In the same method, before HttpContext redirects, log DEBUG message of strUrl.

This is a complex module with so much going on, the different levels of logging are needed extensively for the module. And a portal setting should be added to toggle on and off of DEBUG messages.
Thank you very much! And hope to hear more on this.

These new logs were added in version 7.00.00.


docker armhf admin0 does not start http listener

I ran today my first iobroker docker image. After starting the image (default settings) no service was listening on port 8081. After some investigation on the Internet I found another similar issue where it was mentioned to create a new admin instance. This solved my problem but I couldn't find the cause of this error. I could repeatedly reproduce the problem, restarting the container did not change the situation neither did applying custom settings to admin0 nor changing the port from 8081 to 7000, only adding another admin instances brings the http service online.
I'm running the lastest iobroker container (4.2.0) on docker 19.03.11 linux/arm.
"Image": "sha256:1c5cdd7ba148d5eb8d5466378448560da573e0853179ddea917b54918f68ed13"
"io.balena.architecture": "armv7hf", "io.balena.qemu.version": "4.0.0+balena2-arm"
There is only one warning in the iobroker log: warn: host... does not start any instances on this host

Please provide your container log. Thanks.
Regards,
André

iobroker.log
This log shows the situation after a fresh container deployment where the admin instance is not accessible.

Sorry, the log is incomplete or your container gets stuck wenn installing vim...
Whats your system and os?
You talk about "armv7hf" but log says aarch64...
What tag do you use when pulling the image from Docker-Hub?

Hi André,
the system is running on a 2GB rock64 using Armbian Ubuntu. Honestly I can't remember why I've chosen the armhf over aarch64 version of Docker at install time but it works fine for all my other (rpi) containers.
OS:	Ubuntu 18.04.4 LTS
Kernel: 4.4.192-rockchip64
I pulled yesterday the latest version (docker pull buanet/iobroker), starting the containers using that version:
docker run -d
-p 8081:8081
-v iobroker_data:/opt/iobroker
--restart unless-stopped
--name myiobroker_4.2.0 buanet/iobroker
iobroker.log
I attached another log which should now be complete.
Regards,
Thomas

Ok.
As I see in your log you are running into a known issue where changing the hostname is buggy with js-controller < v3.1.5.
For this i added a temporary fix in actual beta version. Can you please try if the issue exists when you use the beta tag image?
When you test it please use a new and empty folder for "-v iobroker_data:/opt/iobroker".
Thank you.

Hi André,
I tested the beta version, created several containers (always deleting everything including the volume) and it looks stable now. After the setup script completed iobroker is reachable.
Many thanks!
Thomas


[BUG] CIS scan 5.3.2 fails on rke1 custom hardened cluster

Rancher Server Setup

Rancher version: v2.7.1
Installation option (Docker install/Helm Chart): helm

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): rke2, v1.24.9+rke2r1

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: v1.24.9-rancher1-1
Cluster Type (Local/Downstream): downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): custom, hardened

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions: standard user, cluster owner

Describe the bug

when running the CIS scan on an rke1 hardened cluster, the 5.3.2 test is failing
To Reproduce

provision an rke1 custom cluster
on each node and throughout the cluster creation process, follow the guide on hardening your cluster
once the hardening process is complete, install CIS chart (tested v3.0.0) and run the rke1-1.23-restricted scan

Result
scan fails with the following message:
Ensure that all Namespaces have Network Policies defined (Automated)
Remediation: Follow the documentation and create NetworkPolicy objects as you need them.

Expected Result

a hardened cluster should pass restrictive CIS scans
Screenshots

Additional context

There is the same issue on a local hardened rke1 cluster

/backport v2.6.11

Validated on rancher v2.7.1 HA setup, with local cluster as RKE2 v1.24.9+rke2r1

Provisioned downstream RKE1 v1.24.9-rancher1-1 hardened cluster(1-cp, 1-e, 1-w)
Added dev-v2.7 charts repo under Apps -> Repositories
Installed CIS benchmark chart version 4.0.0-rc3. While installing set global.psp.enabled: true
Ran rke-profile-hardened-1.23 and rke-profile-permissive-1.23. Both passed successfully.

Result :

Scans passed successfully, hence closing the issue.


onContextDestroyed is not called when stopping the server.

onContextDestroyed is not called
When I stop the server in intellij onContextDestroyed is not called in ServiceContextListener.

This will be fixed in 4.6.1


'Share Application' only works with first immediate child/sub organization

Describe the issue:
Please refer to the screencast
https://user-images.githubusercontent.com/13362482/181495403-9185270e-615c-4bc2-976a-58d0cd92e1ff.mov
How to reproduce:

Login to console as an admin user
Create a sub-organization and create child organizations too
Create an application and 'Share Application' among the created sub and its child organization
Switch to the child organization and check whether the shared application (fragment) available in the child organization

Expected behavior:
Application sharing should work properly even for child organizations.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [e.g., IS 5.10.0, IS 5.9.0]
OS: [e.g., Windows, Linux, Mac]
Database: [e.g., MySQL, H2]
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:

Suggested labels:

duplicate of https://github.com/wso2/product-is/issues/14196. hence closing the issue


ToC missing

Is this article supposed to be connected to the Automation ToC somewhere? It's not showing anywhere for me.
I assume it should go in the same section as this doc.
https://docs.microsoft.com/en-us/azure/automation/troubleshoot/change-tracking
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1517ef9e-276f-7d37-73b1-bea383549224
Version Independent ID: 23e001b4-8b1d-4316-a961-1dc956c26be3
Content: Troubleshoot changes on an Azure VM in Azure Automation
Content Source: articles/automation/automation-tutorial-troubleshoot-changes.md
Service: automation
Sub-service: change-inventory-management
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@dcbrown16 Thanks a lot for bringing this to our notice, I guess the next steps was supposed to direct you to below topic. Will fix the document to make this more clear.

https://docs.microsoft.com/en-us/azure/automation/change-tracking/overview

@dcbrown16  Thanks again for bringing this to our notice and helping us improve our Azure documentation. I have raised a PR to update the Next Steps section in the document reflecting your feedback. Once the PR is reviewed and approved , changes would go live.
At this point it appears that there's no further edits or updates needed to the documentation, other than what has been listed above. We will go ahead and close this issue for now, however if you have any further feedback on the document please tag us in your reply and will be happy to reopen the thread and continue the conversation. Thank you

@BharathNimmala-MSFT thanks, but I don't think that addresses what I'm looking for.
See the Table of Contents pane that I marked with the red line here. Normally articles are displayed somewhere in this navigation pane for easy discovery. This document can be found with search engines, but you can't get to it through the navigation menu. In my experience, that usually either means the document is obsolete, or someone messed up when reassigning docs and forgot to place it in the ToC. Can you have this reviewed again?

@dcbrown16 Thanks a lot for providing additional context and helping me to understand the issue. I will take this up with our document author @MGoedtel and do the needful to fix the ToC liking for this doc. Really appreciate you taking time and helping us improve the documentation.

Thanks! You can contact me internally at v-dibr if you need any clarification. I would submit a PR, but even though I have access to the private repo I don't think I can edit the ToC directly. I'm also not sure if there is some reason that this is not in the ToC (like being obsolete), but it looks fairly new and the edit history says there was a doc reorg, so I think it just got lost.

For sure @dcbrown16 , as I discuss with @MGoedtel and find any information which can help for our learning will make sure to share it with you. Thanks again

@dcbrown16 - Thanks for raising this issue and bringing this to our attention. This article was supposed to be deleted as part of the restructure/rewrite of the Change Tracking and Inventory content.  I'll bug this and we will delete the article this week.


updating GET node/{id} client lib

creating new get node reference for client libraries to get identifier of a node
@RackHD/veyron

BUILD on-http #162 : FAILURE

jenkins, test this please

BUILD on-http #165 : FAILURE

jenkins, test this please

BUILD on-http #167 : FAILURE

Reference RAC issue: https://rackhd.atlassian.net/browse/RAC-5217

jenkins, test this please


Update README.md

What type of PR is this?
/kind documentation

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

/release-note-none

/assign @roycaihw

/lgtm
/approve


issue #330 fixed

review link: https://ashuvssut.github.io/doc2pen/editor.html
closes #330

https://user-images.githubusercontent.com/40017559/103473092-b1f7e080-4dba-11eb-83ee-c7a7f9f3f43c.mp4
See the margin if you can resolve this it would be great.

https://user-images.githubusercontent.com/40017559/103473092-b1f7e080-4dba-11eb-83ee-c7a7f9f3f43c.mp4
See the margin if you can resolve this it would be great.

review link: https://ashuvssut.github.io/doc2pen/editor.html
changes will reflect shortly

review link: https://ashuvssut.github.io/doc2pen/editor.html
changes will reflect shortly

This pr is not merged yet, are there any issues in this pr?

This pr is not merged yet, are there any issues in this pr?

This pr is not merged yet, are there any issues in this pr?

Had some merge conflicts lately

This pr is not merged yet, are there any issues in this pr?

Had some merge conflicts lately

Ok sir😅

Ok sir😅


[FEATURE] Auto Live Migration (Rebalancing VM workloads)

Is your feature request related to a problem? Please describe.
TODO

There is a decent script i have used with Proxmox, its similar to the weight system that VMware DRS uses.
https://github.com/kcl-nmssys/python-proxmoxbalancer/blob/master/proxmoxbalancer/proxmoxbalancer.py

I guess this is about rebalancing the cluster in cases of high load on a node?
KubeVirt proposes using the Descheduler for that :thinking:
https://kubevirt.io/user-guide/operations/node_assignment/#node-balancing-with-descheduler
I'm definitely following this issue :)


React to Razor SDK rename

:shipit:  when PR ci is green.

AppV takes forever to dequeue the build 😞

AppVeyor runs the same thing as travis CI. Travis CI passed, so :shipit:


Include EDS in configdump

Just get some more info

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-test_istio
d23d59150367eaf62994069c454d6ed4369e71d8
link
/test release-test_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

Not that much. But seeing the version would have helped with https://github.com/istio/istio/issues/31943 a bit.


chore(main): release 1.13.0

:robot: I have created a release beep boop
1.13.0 (2024-10-15)
Features

add getItemTtl api (#214) (533a460)
add update ttl apis (#216) (8c2086d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/momentohq/client-sdk-php/releases/tag/v1.13.0 :sunflower:


Unable to record/render

Hi. Firstly, thanks for working on this project!
It seems like rendering via setting record=True or via .render() is broken for CookingEnvironment. Looks like this is because a section of code was removed during a refactor: https://github.com/DavidRother/gym-cooking/blob/26d15aa677a159261e6fb0db98a73336b1289abf/gym_cooking/environment/cooking_zoo.py#L117-L125
Is this a bug, or is rendering meant to be accessed some other way?
Thanks

Hi, I will work on re-enabling this part. During the initial work this had to be disabled because of compatibility issues.

For documentation: rendering the environment does work now with the render function


gobyexample methods.go rogue '.'

Code generated for methods.go has a rogue leading '.' character.
Methods.hx line 11:
@:structInit @:using(.Methods.T_rect_static_extension) class T_rect {

Should be:
@:structInit @:using(Methods.T_rect_static_extension) class T_rect {

Gives correct results with the '.' removed.

How did you get the dot @elliott5 ? I can't seem to replicate. I through methods.go into rnd and I can't get the dot generation.

I'm using the latest versions of both haxe (nightly) and go2hx (dd134778ccd2d37c0bb45c40eed607cb00831c68).
elliott@Elliotts-MacBook-Pro15-2 go2hx_june22 % haxelib run go2hx --hxml build.hxml --norun --hl run.hl methods.go
listening on local port: 6131
Generated: golibs//Methods.hx - 1.472kb
Generated: build.hxml - 0.032kb
elliott@Elliotts-MacBook-Pro15-2 go2hx_june22 % haxe build.hxml
golibs/Methods.hx:11: characters 22-23 : Expected )


Ignore comments in JSON with comments file

JSON with comments file cannot be open now. The program simply shows Unable to parse input: "Parse error" and exits.
A JSON with comments file may look like this:
// This is a JSON with comments file
{
  "a": [
      1 // A single line comment
  ]
}

Visual Studio Code has a "JSON with Comments" or JSONC spec they use. I'd be great to support it in the same way:
https://code.visualstudio.com/docs/languages/json#_json-with-comments

The PR doesn't process the block comment. I've tried to make some change but the regex cannot consume multiple lines. So the block comment cannot be consumed at the tokenisation stage. Another approach is to tokenise the "/" and "/" which are the beginning and the end of the block comment and skip the inside during the process.

Looking at the PR I'd still like to see the comments rendered at least in line mode. If I have a json-based configuration file (or something similar) those comments are still useful.

I like both of those suggestions.


Added Change Data Capture Support

#3
Added support for Change Data Capture.

Coverage decreased (-0.2%) to 97.122% when pulling b007b905882e1c72d5167321c731e0d4556abd5f on cstarner:master into 027bd46b79d387d98b3099abad436993fa05438e on sidecars:master.

Coverage increased (+0.08%) to 97.379% when pulling 308b784453348f9d0f6e9296f251250f3d800d4d on cstarner:master into 027bd46b79d387d98b3099abad436993fa05438e on sidecars:master.


Add support for ISO 639

I think it may be worthwhile to support ISO 639 language codes and maybe match them to country codes. I think geonames does it
https://github.com/ipalaus/geonames/wiki
http://download.geonames.org/export/dump/countryInfo.txt

ISO 639: 3-letter codes or ISO 639: 2-letter codes?

I was thinking of 2 character codes.But this looked like a dead project so I decided to make my own package which is much more complete using geonames database. Now, I don't have to think about 2 or 3 characters, or population or gps location of a place or any other information which I may need, all is under control :)
https://github.com/yurtesen/geonames
So you can safely ignore this request. Thanks for the response.

Since this in a countries list, and not a languages list, we have to think about adding these. Thanks for the input, and good luck on your new project..!


cuerdas.impl.xregexp namespace not available in shadow-cljs projects

I'm currently trying to get version 2021.05.02-0 of cuerdas working with a shadow-cljs project. I've added it to my deps.edn file (and have shadow configured to use it) but upon trying to require cuerdas.core I get the following error:
The required namespace "cuerdas.impl.xregexp" is not available, it was required by "cuerdas/regexp.cljc".

Interestingly, version 2020.03.26-3 (which, per the changelog, doesn't include the shadow-cljs compatibility fix) does work with shadow version 2.12.5 (latest on clojars as of 4/13/21).

Bumped the 2021.05.09-0, please can you check if it works out of the box on your shadow-cljs setup?

Confirmed as fixed in 2021.05.09-0 - thank you so much for the quick fix and all of your open source work! Cheers!


Opacity dialog box has unpredictable size

Right-click a body, select Display > Opacity, and close the dialog box; repeat. The box spawns with two sizes, one in which the "Apply" button is chopped:

No red-circle error. Unclear why the box spawns with different sizes, as the user-facing application state appears to be identical in both cases. Did not investigate to determine whether this issue affects other dialog boxes.

Confirmed fixed in AppVeyor artifact OpenSim-2fd23ef3-2018-02-20.zip. Presumably fixed by #481.


Adds ability to listen to begin date selection

This will address both the needs of #134 and #121
I have also tested this locally and it seems to work fine :D

Saturn Team Can you guys please merge the pull request so that we can use it.

@SaturnTeam Would appreciate it a lot if you review my PR :D

+1 for this functionality

I need this to, please accept the request :) +1 to the list.

<sat-datepicker
#datePicker
[closeAfterSelection]="false"
[rangeMode]="true"
panelClass="datepickerPanel"
(beginDateSelected)="test()"
>

I am trying to use this way. But Not able to detect the begin date selection event. is this the right way or Am I doing it wrong?

I dont now man, i give up to try to use this. But now the matDatePicker, of
Angular Material Add a new Feature that is possible to pick the start date,
if i am not wrong.
I am Brasilian, so sorry by the bad english.
Em sáb., 4 de jul. de 2020 às 23:43, Srinivasa K K<EMAIL_ADDRESS>escreveu:

<sat-datepicker
#datePicker
[closeAfterSelection]="false"
[rangeMode]="true"
panelClass="datepickerPanel"
(beginDateSelected)="test()"

I am trying to use this way. But Not able to detect the begin date
selection event. is this the right way or Am I doing it wrong?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SaturnTeam/saturn-datepicker/pull/135#issuecomment-653834306,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIBLKSJEXBZHRJMNH3NR4F3RZ7SDLANCNFSM4MEGLKLQ
.

I dont now man, i give up to try to use this. But now the matDatePicker, of Angular Material Add a new Feature that is possible to pick the start date, if i am not wrong. I am Brasilian, so sorry by the bad english. Em sáb., 4 de jul. de 2020 às 23:43, Srinivasa K K<EMAIL_ADDRESS>escreveu:
…
<sat-datepicker #datePicker [closeAfterSelection]="false" [rangeMode]="true" panelClass="datepickerPanel" (beginDateSelected)="test()" > I am trying to use this way. But Not able to detect the begin date selection event. is this the right way or Am I doing it wrong? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#135 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBLKSJEXBZHRJMNH3NR4F3RZ7SDLANCNFSM4MEGLKLQ .

Yes, true. Angular material 10 has the date range picker.
However, I found a workaround for the issue I mentioned above.
ngAfterViewInit() {
this.datePicker.setBeginDateSelected = (beginDate) => {
console.log(beginDate)
};
}
This seems to work.
Refer this link:
https://stackoverflow.com/questions/61081950/add-date-range-validation-to-saturn-datepicker

Cool!!! I'm gona try this in work some day. I appreciate the tip. Good luck
with what you're doing.
Em dom, 5 de jul de 2020 21:31, Srinivasa K K<EMAIL_ADDRESS>escreveu:

I dont now man, i give up to try to use this. But now the matDatePicker,
of Angular Material Add a new Feature that is possible to pick the start
date, if i am not wrong. I am Brasilian, so sorry by the bad english. Em
sáb., 4 de jul. de 2020 às 23:43, Srinivasa K K<EMAIL_ADDRESS>escreveu:
… <#m_4318534645953283610_>
<sat-datepicker #datePicker [closeAfterSelection]="false"
[rangeMode]="true" panelClass="datepickerPanel"
(beginDateSelected)="test()" > I am trying to use this way. But Not able to
detect the begin date selection event. is this the right way or Am I doing
it wrong? — You are receiving this because you commented. Reply to this
email directly, view it on GitHub <#135 (comment)
https://github.com/SaturnTeam/saturn-datepicker/pull/135#issuecomment-653834306>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIBLKSJEXBZHRJMNH3NR4F3RZ7SDLANCNFSM4MEGLKLQ
.
Yes, true. Angular material 10 has the date range picker.
However, I found a workaround for the issue I mentioned above.
ngAfterViewInit() {
this.datePicker.setBeginDateSelected = (beginDate) => {
console.log(beginDate)
};
}
This seems to work.
Refer this link:
https://stackoverflow.com/questions/61081950/add-date-range-validation-to-saturn-datepicker
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SaturnTeam/saturn-datepicker/pull/135#issuecomment-653960763,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIBLKSOTCCD6HUDCDHTSHXLR2ELM7ANCNFSM4MEGLKLQ
.


Add Database Count Progress to Backup-DbaDatabase

name: Show X of X database backed up :bomb:
about: Display backup count complete

Summary of new feature
I would like to see a count of X of Y backups complete.  I believe from looking at the command we have the count of databases we are going to back up.  And as a database is backed up and the next one started that counter would follow.
Example: You have 90 databases to backup.  The progress currently shows for the backup command, but I would like to see added X of 90 backups complete.

I have not looked at the command in a while but recall it did show databases completed. @gbargsley if this is still an issue please update this issue.

In ISE or command line it shows percent of a backup complete, but it does not show for example mine the number of backups it is doing of the 7 total expected.

Good idea.
Would not work for piped input as there the process block only sees one database at a time and has no idea how many follow.
But I will have a look at it.
As it is a backup command: What does @Stuart-Moore say?


Remove direct dependencies to Azure SDKs

Removes dependencies on azure-core, generic-core, and related SDKs to allow for more flexibility in working with non-shipped implementation of those libraries.

Do we need to remove these dependencies and duplicate a lot of code that can get outdated if the core libraries change? The generated library still needs released core libraries anyway. Since core ships to Maven Central every month and ships to dev feed almost daily, using the dependency shouldn't be a blocker on the code generator.

Do we need to remove these dependencies and duplicate a lot of code that can get outdated if the core libraries change? The generated library still needs released core libraries anyway. Since core ships to Maven Central every month and ships to dev feed almost daily, using the dependency shouldn't be a blocker on the code generator.

I agree this ends up duplicating code from azure-core but there are some reasons behind that to me.

This intrinsically ties the code generator to azure-core. In recent months though, we've began working and developing generic-core which has some drastically different designs. This is pushing the generators into a spot where if these diverge too deeply we'll need to jump through some complex logic to handle that.
Many of the concepts copied from azure-core are tied deeply into Swagger / TypeSpec outputs. To me, it'd be better for the generator to own those types and map them appropriately to azure-core / generic-core /  types.
Most the copied types don't evolve, and those that do they either happen rarely (HTTP methods) or get handled in a way that doesn't change runtime behaviors of the generated code (calls to HttpHeaderName.fromString which will return the same instance as the constant).
Last, we're reaching a point where we're looking into reducing the shipping cadence of azure-core, and related libraries. I don't think shipping cadence one way or another is a big factor for the generator.

All that said, I'll hold this PR in an unmerged state so we can discuss this further.


finetune instruction for bge rerank

Can BGE rerank be finetuned in an instruction style, for example:
"tool": {
"query": "Transform this user request for fetching helpful tool descriptions: ",
"key": "Transform this tool description for retrieval: "
}

Đúng. Bạn cần thêm hướng dẫn này vào dữ liệu của mình trước khi tinh chỉnh.

I don't know how to add instructions, and I've also searched for documentation on finetuning BGE rerank but couldn't find any cases with instructions. Can you guide me?

Yes. You need to add this instruction to your data before fine-tuning.

I don't know how to add instructions, and I've also searched for documentation on finetuning BGE rerank but couldn't find any cases with instructions. Can you guide me?

Hi, @Lahaina936 , if you just want to reranking tools, you can fine-tune using your data without adding instruction. Instruction is only useful when the model needs to perform multiple different tasks.
You can add the instruction to the query when generating fine-tuning data {"query": "Find a helpful tool to address the user's issue: xxxxxxx", "pos": List[str], "neg":List[str]}

Hi, @Lahaina936 , if you just want to reranking tools, you can fine-tune using your data without adding instruction. Instruction is only useful when the model needs to perform multiple different tasks. You can add the instruction to the query when generating fine-tuning data {"query": "Find a helpful tool to address the user's issue: xxxxxxx", "pos": List[str], "neg":List[str]}

So if I want to finetune BGE rerank for multiple different tasks like llm-embedder, how should I 'finetune instruction'? Thank you and looking forward to your response.

Add different instructions to queries from different tasks. You should organize your data likes {"query": "task-specific instruction: task query", "pos": List[str], "neg":List[str]}


Documentation?

Is there any documentation on how to use the language servers outside of vscode ?
Are they standard language servers.

Yes they are standard language servers, you can run them with
npm install -g vscode-html-languageserver-bin
html-languageserver --stdio

But for the moment I want to setup them with neovim and https://github.com/autozimu/LanguageClient-neovim before writing the doc

Perfect thank you
On Fri, Sep 15, 2017 at 8:10 AM David Duarte<EMAIL_ADDRESS>wrote:

Yes they are standard language servers, you can run them with
npm install -g vscode-html-languageserver-bin
html-languageserver --stdio
But for the moment I want to setup them with neovim and
https://github.com/autozimu/LanguageClient-neovim before writing the doc
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vscode-langservers/vscode-html-languageserver-bin/issues/1#issuecomment-329810747,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFFsSUcNyUnebw_vjlIWoRg-2akV-ZtQks5sipNfgaJpZM4PVPHt
.

--
-V/R
Ryan Watts

Any instructions or tests with atom ?
On Fri, Sep 15, 2017 at 9:12 AM Ryan Watts<EMAIL_ADDRESS>wrote:

Perfect thank you
On Fri, Sep 15, 2017 at 8:10 AM David Duarte<EMAIL_ADDRESS>wrote:

Yes they are standard language servers, you can run them with
npm install -g vscode-html-languageserver-bin
html-languageserver --stdio
But for the moment I want to setup them with neovim and
https://github.com/autozimu/LanguageClient-neovim before writing the doc
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vscode-langservers/vscode-html-languageserver-bin/issues/1#issuecomment-329810747,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFFsSUcNyUnebw_vjlIWoRg-2akV-ZtQks5sipNfgaJpZM4PVPHt
.

--
-V/R
Ryan Watts

--
-V/R
Ryan Watts

I don't use Atom but I will try to setup it this week end.
You want to use this LanguageServer with the new atom-ide ?

Correct,
I have it setup in a plugin already , probably not published to github.
However this language server along with other seems to contain configuration and setup that specifically talk to vscode.

Did you managed to configure the autocompletion for HTML?
sudo npm install -g vscode-html-languageserver-bin

let g:LanguageClient_serverCommands = {}
let g:LanguageClient_serverCommands.html = ['html-languageserver', '--stdio']

Inside a HTML file:
:LanguageClientStart
:set omnifunc=LanguageClient#complete
This is working:
:call LanguageClient_textDocument_hover()
The autocompletion not much.

I get tag suggestions in HTML files, using deoplete, and I see it comes from the Language Client. Not sure about omnicomplete though - I get results but from source 'm'.
I don't know what else should be completed in HTML, I don't see attribute names being suggested by LC.

Completion with this language server need snippets supports, currently LanguageClient_neovim support snippets only with NCM (full support) and Deoplete (Partial Support)
However completion should not work with LanguageClient_neovim because it dosen't send client capabilities. I modified it locally but I dosen't sent a PR yet
I will try to add documentation and send a PR to LanguageClient_neovim this week end

I added some setup instructions in the README


[SPARK-8269][SQL]string function: initcap

Returns string, with the first letter of each word in uppercase, all other letters in lowercase. Words are delimited by whitespace.

Can one of the admins verify this patch?

Can you update the title and the soundex Jira ticket name. I guess you have mixed up the branches. This pr contains code of #7115

tarekauel
When you want to merge a small modification next time, please tell me, Chenghao, we can avoid multiple code rebase issues.

tarekauel:
Could you provide some valuable suggestions instead of the string is blank or not check,etc. I will check all this kind of issues before ask for a build test.
Furthermore, I have a quick look at your some of your pr. Code shows low performance. For example
https://github.com/apache/spark/pull/7186/files

@rxin @davies @liancheng can you trigger the unit test?

Test build #1001 has started for   PR 7208 at commit 1826c16.

Test build #1001 has finished for   PR 7208 at commit 1826c16.

This patch fails Scala style tests.
This patch does not merge cleanly.
This patch adds the following public classes (experimental):
class Word2VecModel(JavaVectorTransformer, JavaSaveable, JavaLoader):
class FlumeUtils(object):
trait ExpectsInputTypes
abstract class BinaryExpression extends Expression with trees.BinaryNode[Expression]
abstract class BinaryOperator extends BinaryExpression
abstract class BinaryArithmetic extends BinaryOperator
case class CreateNamedStruct(children: Seq[Expression]) extends Expression
case class Factorial(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class ShiftLeft(left: Expression, right: Expression) extends BinaryExpression
case class ShiftRight(left: Expression, right: Expression) extends BinaryExpression
case class UnHex(child: Expression) extends UnaryExpression with Serializable
case class Md5(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Sha1(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Crc32(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Not(child: Expression) extends UnaryExpression with Predicate with ExpectsInputTypes
abstract class BinaryComparison extends BinaryOperator with Predicate
trait StringRegexExpression extends ExpectsInputTypes
trait CaseConversionExpression extends ExpectsInputTypes
trait StringComparison extends ExpectsInputTypes
case class StringLength(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class InitCap(child: Expression) extends UnaryExpression with ExpectsInputTypes
protected[sql] abstract class AtomicType extends DataType
abstract class NumericType extends AtomicType
abstract class DataType extends AbstractDataType

@rxin @davies @liancheng can you trigger the unit test?

Test build #1002 has started for   PR 7208 at commit 30967df.

Test build #1002 has finished for   PR 7208 at commit 30967df.

This patch fails Scala style tests.
This patch does not merge cleanly.
This patch adds the following public classes (experimental):
case class InitCap(child: Expression) extends UnaryExpression with ExpectsInputTypes

@rxin @davies @liancheng can you trigger the unit test?

ok to test

Merged build triggered.

Merged build started.

Test build #36655 has started for   PR 7208 at commit e5c8de0.

Test build #36655 has finished for   PR 7208 at commit e5c8de0.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class InSet(child: Expression, hset: Set[Any])
case class InitCap(child: Expression) extends UnaryExpression with ExpectsInputTypes

Merged build finished. Test FAILed.

Build triggered.

Build started.

Merged build triggered.

Merged build started.

Test build #36752 has started for   PR 7208 at commit 9f91343.

Test build #36752 has finished for   PR 7208 at commit 9f91343.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class InitCap(child: Expression) extends UnaryExpression with ExpectsInputTypes

Merged build finished. Test FAILed.

Build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #36770 has started for   PR 7208 at commit f3b56fd.

Merged build triggered.

Merged build started.

Test build #36775 has started for   PR 7208 at commit 2738b00.

Test build #36770 has finished for   PR 7208 at commit f3b56fd.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class InitCap(child: Expression) extends UnaryExpression with ExpectsInputTypes

Merged build finished. Test PASSed.

Test build #36775 has finished for   PR 7208 at commit 2738b00.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class InitCap(child: Expression) extends UnaryExpression with ExpectsInputTypes

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #36864 has started for   PR 7208 at commit 17551ea.

Test build #36864 has finished for   PR 7208 at commit 17551ea.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class InitCap(child: Expression) extends UnaryExpression with ExpectsInputTypes

Merged build finished. Test PASSed.

I didn't add/remove spaces. The Intellij IDEA do it for me.( Scala 2 spaces, Java 4 spaces )

Merged build triggered.

Merged build started.

Test build #37025 has started for   PR 7208 at commit 4c21369.

Could you review and merge this pr, thanks much.

Test build #37025 has finished for   PR 7208 at commit 4c21369.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class InitCap(child: Expression) extends UnaryExpression with ExpectsInputTypes

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #37128 has started for   PR 7208 at commit 5f4da92.

Test build #37128 has finished for   PR 7208 at commit 5f4da92.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class InitCap(child: Expression) extends UnaryExpression with ExpectsInputTypes

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #37481 has started for   PR 7208 at commit 7b6e0c7.

Test build #37481 has finished for   PR 7208 at commit 7b6e0c7.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class InitCap(child: Expression) extends UnaryExpression with ExpectsInputTypes

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #37590 has started for   PR 7208 at commit fcb4f90.

Test build #37590 has finished for   PR 7208 at commit fcb4f90.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class InitCap(child: Expression) extends UnaryExpression with ExpectsInputTypes

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #37592 has started for   PR 7208 at commit 05221a9.

If it is very hard to get a correct implementation in the first pass, it is ok to merge something less optimal in, and then improve it later.

Test build #37592 has finished for   PR 7208 at commit 05221a9.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class InitCap(child: Expression) extends UnaryExpression with ExpectsInputTypes

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #37791 has started for   PR 7208 at commit 7dcd57c.

Test build #37791 has finished for   PR 7208 at commit 7dcd57c.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #37793 has started for   PR 7208 at commit b2590a9.

Test build #37793 has finished for   PR 7208 at commit b2590a9.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class ConcatWs(children: Seq[Expression])
case class InitCap(child: Expression) extends UnaryExpression

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #38010 has started for   PR 7208 at commit 7ce416b.

Test build #38010 has finished for   PR 7208 at commit 7ce416b.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class StringFormat(children: Expression*) extends Expression with ImplicitCastInputTypes
case class InitCap(child: Expression) extends UnaryExpression

Merged build finished. Test PASSed.

@rxin could you review/merge/close the pr

Merged build triggered.

Merged build started.

Test build #38145 has started for   PR 7208 at commit c79482d.

Test build #38145 has finished for   PR 7208 at commit c79482d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class InitCap(child: Expression) extends UnaryExpression

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #38155 has started for   PR 7208 at commit 6a0b958.

Test build #38155 has finished for   PR 7208 at commit 6a0b958.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class InitCap(child: Expression) extends UnaryExpression

Merged build finished. Test PASSed.

@rxin, is that OK to be merged? I can create follow up PR for the python API and the codegen.

Chenghao, you don't need follow up for the python and codegen part. I'll follow.

Merged build triggered.

Merged build started.

Test build #38343 has started for   PR 7208 at commit 1f5a0ef.

Test build #38343 has finished for   PR 7208 at commit 1f5a0ef.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class InitCap(child: Expression) extends UnaryExpression

Merged build finished. Test FAILed.

I tested it works from my side, did I miss something ..

It works from my local test. The central build log returns as follows, do you have ideas, I guess maybe my problem but the problem doesn't appear at my side. could you retest if it is possible
[info] - Single command with --database *** FAILED *** (1 minute)
[info]   java.util.concurrent.TimeoutException: Futures timed out after [1 minute]
org.h2.jdbc.JdbcSQLException: Column count does not match; SQL statement:
INSERT INTO TEST.INCOMPATIBLETEST VALUES (?, ?, ?) [21002-183]

I tested the codegen works from my local computer and ask for a review retest. The central build failed at:
Single command with --database *** FAILED *** (1 minute)
[info]   java.util.concurrent.TimeoutException: Futures timed out after [1 minute]

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Test build #39176 has started for   PR 7208 at commit b616c0e.

Test build #39176 has finished for   PR 7208 at commit b616c0e.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class InitCap(child: Expression) extends UnaryExpression

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #39193 has started for   PR 7208 at commit 2cd43e5.

Test build #39193 has finished for   PR 7208 at commit 2cd43e5.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class InitCap(child: Expression) extends UnaryExpression

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #39221 has started for   PR 7208 at commit 8b2506a.

Test build #39221 has finished for   PR 7208 at commit 8b2506a.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.


Never exit terraform apply goroutine

Instead of exiting the goroutine, we simply will not execute terraform apply unless running standalone or running on the manager leader.
Previously, we exited if not running on the leader but this requires another commit to get the goroutine re-started.
Closes: #627
Signed-off-by: Steven Kaufer<EMAIL_ADDRESS>

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "terraform-apply" git@github.com:kaufers/infrakit.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842353900984
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.


Develop a way to deal with time series data

Per convo with @realmacin @cmungall @justaddcoffee @wdduncan
We'd like a simple way of modeling time series data, for example these use cases:

clinical course of patients over time (time element: days from first symptom or days from diagnosis, probably)
number of infections/death by date and geographical location (time element: probably YYYY/MM/DD, for example here)
time course data for cells infected in vitro (time element: hours or days post infection, like #12)
possibly twitter data (#32)

Time should be in "YYYY-MM-DDTHH:MM:SS". E.g.: "2007-03-01T13:00:00Z". "Z" is for Zulu.
See ISO 8601: https://en.wikipedia.org/wiki/ISO_8601
This also has a section explaining duration formats, which I have not used before.
If possible, days from diagnosis and the like should be calculated. Although, sometimes you don't have enough information to do the calculation. Perhaps we can have a general property like "event duration".


Pointed the UPenn link to the lectures

The lectures and assignments are more valuable for independent learners than the main class page.

Hrm, good idea. Very observant! This should reduce confusion for new people a bit.
Thank you :) :bear:


Clickhouse Golang Client problems

Dear all,
my deployment schema is:
apiVersion: "clickhouse.altinity.com/v1" kind: "ClickHouseInstallation" metadata:   name: "prod-01" spec:   configuration:     zookeeper:         nodes:         - host: zookeeper.zoo1ns           port: 2181     clusters:       - name: "prod-01"         layout:           shardsCount: 2           replicasCount: 2         templates:           podTemplate: clickhouse-stable           volumeClaimTemplate: storage-vc-template   templates:     podTemplates:       - name: clickhouse-stable         spec:           containers:           - name: clickhouse             image: altinity/clickhouse-server:<IP_ADDRESS>.altinitystable     volumeClaimTemplates:       - name: storage-vc-template         spec:           storageClassName: gp2           accessModes:             - ReadWriteOnce           resources:             requests:               storage: 5Gi
I am trying to connect using the default user from another go application in Kubernetes using the loadbalancer cloud IP. The connection initiation as well as ping works. The same data retrieval code (below) gives different results when used, it seem like as if the loadbalancer connects only to a specific pod but on the next request it connects to a different pod and gives different result.
`	db, err := sql.Open("clickhouse", "tcp://<IP_ADDRESS>:9000?username="+os.Getenv("CLICKHOUSE_USERNAME")+"&password="+os.Getenv("CLICKHOUSE_PASSWORD")+"&debug=true")
if err != nil {
	log.Fatal().Err(err).Msgf("Could not connect to Clickhouse db")
}

if err := db.Ping(); err != nil {
	if exception, ok := err.(*clickhouse.Exception); ok {
		log.Error().Err(err).Msg(fmt.Sprintf("[%d] %s \n%s\n", exception.Code, exception.Message, exception.StackTrace))
	} else {
		log.Error().Err(err).Msg("")
	}
	return err
}

rows, err := db.Query("SELECT * FROM table WHERE dstip='" + ipAddress + "'")`

Any help highly appreciated.
Filip

By default, clickhouse-operator restricts default user connection to <IP_ADDRESS> for security reason
you can add
spec:
  configuration:
    users:
      default/password: "setup_password"
      networks/ip: "<IP_ADDRESS>/0"

and you should use IP address (or maybe DNS name will better) of your kind: Service which Will generated and cover replica or shard, or cluster or whole Installation
look services list on
kubectl get svc --all-namespaces -o wide -l clickhouse.altinity.com/chi=prod-01

So I included the user in the spec and I can connect using the clickhouse-cli. However when I list the services using the provided snippet I only get cluster IP on the loadbalancer. When trying to connect using the cluster IP using Golang client I get permission denied error. Any ideas why this is happening?
Thank tou,
Filip

@apibfilip sorry, i miss default username in users specification for networks/ip key
so, properly manifest should look like this:

spec:
  configuration:
    users:
      default/password: "setup_password"
      default/networks/ip: "<IP_ADDRESS>/0"

Auth work now but the described problem persists, clickhouse gives different results on subsequent queries.

do you understand how to works Distributed and Replicated table engines in ClickHouse?
SELECT hostName() h, * FROM cluster('all-sharded',system.tables) WHERE name='table' FORMAT Vertical

please read documentation
https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/
https://clickhouse.com/docs/en/engines/table-engines/special/distributed/


@craigspaeth Correct criteo env vars

          1 Warning

:warning:
Please include a PR summary

  Generated by :no_entry_sign: danger

Criteo says we're using the wrong IDs.  If they start to see tags firing for our Auctions and Artworks accounts after this is merged, then I can apply the same fix to Microgravity, as well as including the Criteo script tag and implementing the tags for Artworks.

I just set these on production using heroku config:set CRITEO_AUCTIONS_ACCOUNT_NUMBER=28539 CRITEO_ARTWORKS_ACCOUNT_NUMBER=35250 --app=force-production and I'm still getting No tracker detected (yet)! from the chrome extension. Doesn't hurt to have these as defaults so I'll merge anyways, but dunno what's up with Criteo.


bgm.sh no longer working

Since update to Mister main 5/11th the script no longer appears to work. When running the script I get the following error
Traceback (most recent call last):
  File "/media/fat/Scripts/./bgm.sh", line 766, in
    display_gui()
  File "/media/fat/Scripts/./bgm.sh", line 644, in display_gui
    status = get_status()
  File "/media/fat/Scripts/./bgm.sh", line 549, in get_status
    return send_socket("status").split("\t")
  File "/media/fat/Scripts/./bgm.sh", line 471, in send_socket
    s.connect(SOCKET_FILE)
ConnectionRefusedError: [Errno 111] Connection refused
Deleting bgm.ini the music folder and script and reinstalling does not resolve the issue

Hi. What is the contents of the file user-startup.sh in the linux folder on your SD card?

#!/bin/sh

# Startup BGM
[[ -e /media/fat/Scripts/bgm.sh ]] && /media/fat/Scripts/bgm.sh $1

This issue can be closed as reinstalling my Mister OS resolved the issue


core: fix macOS warning

Clang and MSVC are not agreeing on this issue, so we'll ignore
the clang warning for now.

Note that you've changed it only for AppleClang, now (not sure if it is necessary for Clang, too).

Note that you've changed it only for AppleClang, now (not sure if it is necessary for Clang, too).

You're right:
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
make
-- The C compiler identification is Clang 6.0.0
-- The CXX compiler identification is Clang 6.0.0
...
/home/julianoes/src/DroneCore/core/thread_pool_test.cpp:70:17: error: lambda capture 'first' is not required to be captured for this use
      [-Werror,-Wunused-lambda-capture]
    tp.enqueue([first, &second]() {
                ^


img use svg fill color

Clear and concise description of the problem
img use svg fill color

Suggested solution
import { defineComponent } from 'vue';
import SVG from<EMAIL_ADDRESS>
export default defineComponent({
  setup() {
    return () => {
      return (

      );
    };
  },
});

This isn't possible. SVGs loaded via an img tag won't use the fill attribute, as it's just an image (not a vector). You can use the CSS filter property though to achieve something similar.
Another option is to load the SVG as raw and insert it into the html with v-html. Closing this as Vite is working as expected.


refactor(integrationsUtil): Create integrationsUtil to gather integration constants

This PR extracts any reference to the integrations to an external file dedicated for this purpose. I didn't do a hook here as there is no particular advantage to using one here. I just use a file from which I export the constants.

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


Set maxSurge to 0 for HA control plane deployments

We need to adjust the maxSurge values to prevent downtime when deployment rollouts are restarted during an update as found in: https://github.com/kubernetes/kubernetes/issues/108266
After our discussion with @csrwng this morning, we will set maxSurge to 0 for any deployments with replica sets > 1.
This will be a temporary adjustment that can be reverted once the above Kubernetes bug is resolved.

/assign @a-dsouza

It seems this was already implemented in https://github.com/openshift/hypershift/pull/1403
Cherry-picked PRs:
https://github.com/openshift/hypershift/pull/1570
https://github.com/openshift/hypershift/pull/1571


HOSTEDCP-1466: support/metrics: don't filter HCCO metrics

The HCCO emits very few metrics, all of which are central to understanding how the controller is running. We don't need to omit anything from the HCCO, for the same reasons that we don't omit anything from the CPO.

/area control-plane-operator

/lgtm
/approve

/area control-plane-operator


Get All Monitors: Use monitor id offset

This changes the pagination method to be a bit more efficient at the scale that Airbnb operates monitors. While it's true that the monitor id distribution will very unlikely be evenly distributed, we should see more consistent latency with this pagination method at large scale regardless of the number of monitors configured. It requires at minimum 3 API calls (assuming closely bunched monitor ids under with a count under the page size, and might be a tad inefficient for users with this configuration. Though I think the trade off for knowing this will scale with needs is worth it. We could of course wrap this in a config flag also if that's preferred.

Maybe a separate discussion/issue:
After looking at interferon though I think it could benefit from storing the created monitor ID in some local storage and/or query by name similar to the way terraform behaves. (I will not get into the debate of which is a better tool, nor am discounting either tool) - while this would add a bit of additional complexity, we can see that terraform management of monitors does scale well.
A TLDR of how it does a diff

As monitors are created the monitor_id is stored in a statefile
When syncing it first checks by id if the monitor exists (this is a very fast OP)

If exists, then compare the diff similar to interferon and update/(delete && create) as needed.
If not, then query by (name), if a match is found then, re-run the above step

LGTM! Thank you!
We will investigate switching over to terraform for managing our alerts.

Great! Happy to help more if you run into issues.


Chocolate Distribution Problem in python

🚀 Feature
Given an array A[ ] of positive integers , where each value represents the number of chocolates in a packet. Each packet can have a variable number of chocolates. There are M students, the task is to distribute chocolate packets among M students such that :

Each student gets exactly one packet.
The difference between maximum number of chocolates given to a student and minimum number of chocolates given to a student is minimum.

Have you read the Contributing Guidelines on Pull Requests?
Yes I have read it
Motivation
To contributing to the GSSOC'21
Pitch
Input
M = 5
A = {3, 4, 1, 9, 56, 7, 9, 12}
Output: 6
Explanation: The minimum difference between
maximum chocolates and minimum chocolates
is 9 - 3 = 6 by choosing following M packets :
{3, 4, 9, 7, 9}.

/assign


add sample project

I migrated the IconPack demo code from old MahApps.Demo.

@yoker Thx! But I'm currently working on a new sample for the IconPacks.


Add a context manager for relative bounds

Usage:
with drawable:
    child.bounds # Equivalent to drawable.child_bounds(child)

The alternate feature was added in commit 8f5f97eb6c.
with drawable:
    child.relative_bounds # Equivalent to drawable.child_bounds(child)


[lua] Upgrade to 5.3.5 and add support for Linux and macOS

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: TitanSnow sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the PR!
lua now builds for these triplets: x64-linux, x64-osx, and x64-windows-static.


Support mapping the same column across discriminator subclasses

Describe the bug
In order to make it easier for developers to understand models that rely on single-table design (in particular, managed ManyToMany tables), we "alias" some of our ManyToOne's so that you don't have to remember which logical data model maps to which generically named column. Other examples would be tables with a to/from or parent/child naming convention.
@Entity({ discriminatorValue: MemberRelationshipType.CUSTOMER })
export class BusinessCustomerMemberRelationship extends MemberRelationship<MemberRelationshipType.CUSTOMER> extends {
  @ManyToOne(() => Member, { fieldName: 'activeId', wrappedReference: true })
  customer: IdentifiedReference<Member>;

  @ManyToOne(() => Member, { fieldName: 'passiveId', wrappedReference: true })
  business: IdentifiedReference<Member>;

  // additional relationships/columns/metadata that only apply for customers
}

@Entity({ discriminatorValue: MemberRelationshipType.VENDOR })
export class BusinessVendorMemberRelationship extends MemberRelationship<MemberRelationshipType.VENDOR> extends {
  @ManyToOne(() => Member, { fieldName: 'activeId', wrappedReference: true })
  vendor: IdentifiedReference<Member>;

  @ManyToOne(() => Member, { fieldName: 'passiveId', wrappedReference: true })
  business: IdentifiedReference<Member>;

  // additional relationships/columns/metadata that only apply for vendors
}

When attempting to insert a discriminated subclass, the ORM will inject the activeId twice into the SQL query and it will fail. Using a getter/setter per subclass to "mimick" the alias isn't useful because it will likely cause problems when using the API (eg: filtering or populating).
Expected behavior
ORM should only use metadata of parent class and subclass to generate queries and access identity map.
Versions
    "@mikro-orm/cli": "^4.5.9",
    "@mikro-orm/core": "^4.5.9",
    "@mikro-orm/migrations": "^4.5.9",
    "@mikro-orm/nestjs": "^4.3.1",
    "@mikro-orm/postgresql": "^4.5.9",
    "@mikro-orm/reflection": "^4.5.9",

Interesting thing to note, this behavior seems to be related to the fact that the class property names are different. In the example above, the passiveId is not inserted into the SQL twice because it is both mapped to business, however if you rename the fields to business1 and business2, it will also duplicate passiveId.

I believe we have a single hydration functions for this, and in general everything is processed in the same way, just the entity class is picked based on the discriminator. This is simply not supported use case right now, I believe there is even a validation that should forbid overriding properties defined in base STI entities, but here you are defining it on the same level so it fails.

i'm not sure what the implications are w/r/t propagation and other internals, but as far as fixing my insertion issues, it just requires some de-dupe work inside here:
https://github.com/mikro-orm/mikro-orm/blob/f0cbcc2d977ffb8b867a21ee2ac857ef26986d73/packages/knex/src/AbstractSqlDriver.ts#L243-L274
i have a local patch working that i'll run with and see if i run into any weird behavior before considering a PR

Fixed in v6 via #4769


Add details on how to install cosmos emulator certificate on Windows

Under the Export the emulator's TLS/SSL certificate section the details are given on how to install the certificate on Linux. Please also add details here on how to install the certificate on Windows machines.

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

ID: 856db70a-8c23-1ba7-a58d-c0f05e0006a5
Version Independent ID: a77a1937-5016-99e5-c928-26c55ceeb94f
Content: Use the emulator for development and CI - Azure Cosmos DB
Content Source: articles/cosmos-db/how-to-develop-emulator.md
Service: cosmos-db
GitHub Login: @sajeetharan
Microsoft Alias: sasinnat

@cado1982
Thanks for your feedback! We will investigate and update as appropriate.

@cado1982
Thank you for bringing this to our attention.
I've delegated this to content author @sajeetharan, who will review it and offer their insightful opinions.

@sajeetharan
Could you please review add comments on this, update as appropriate.

@Naveenommi-MSFT
Thank you.
@sajeetharan
I can add some details here that might assist because I was able to figure out the command myself after some digging. This is the command I used to install the cosmos emulator certificate to the windows cert store
certutil -f -addstore "Root" ~/emulatorcert.crt

Thanks @cado1982 for this feedback. We are publishing an updated version of this article soon with the instructions on how to install the certificate using PowerShell on Windows.


Fix Travis CI

This brings back a green build on Travis CI at the expense of skipping cucumber features, and some Mongo truncation tests.

There's a flapping spec in ./spec/database_cleaner/moped/truncation_spec.rb:57 that I've seen fail twice with:
MopedTest::Widget expected to have a count of 0 but was 0

Restarting the job on Travis CI would then fix that.

I thought https://github.com/DatabaseCleaner/database_cleaner/pull/522/commits/c1251d5081d18b8da293831acc55a5ca654f0bb9 might address that issue, but it's still happening: https://travis-ci.org/DatabaseCleaner/database_cleaner/jobs/357828880.

@svenfuchs Thanks for this!
Months ago I did some research on these failures and it seems to be related to the versions of the mongo adapters that we were using when we had Gemfile.lock in the repo. When I removed it, it started failing.
I think marking the failing specs as pending or commenting them out is okay.
A couple of years ago I started https://github.com/DatabaseCleaner/database_cleaner/tree/2-0 but I had to switch focus and never went back to it. The goal of that branch is to have smaller db cleaner gems (one per ORM). Another goal was to resolve the development dependency hell associated with this gem, which in turn would help with maintainability.


Add stdarg include here because I ran into a compiler error.

CLANG complained that va_list was used but not defined.

/AzurePipelines run


'Consent to Continue Out' - fix filing history text and display badge in tombstone

*Issue:*https://github.com/bcgov/entity/issues/24375
Description of changes:

Fix the text display for Consent to Continue Out filing
Display "AUTHORIZED TO CONTINUE OUT" in the tombstone

Example business: BC0883688
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

Temporary Url for review: https://business-dashboard-dev--pr-80-h3y8h0dp.web.app


User should see total minted and active claimers graphs

Between the map and Total G$ distributed daily add an explainer text (Ticket not finalized text will be added soon)
Add to "Total G$ Distributed Daily" another graph
G$ Daily Pool
Add to "Daily Unique Claimers"  another graph
Total active claimers

read UBICalculated events, for each event "day" read the corresponding dailyUBIHistory from the UBIScheme contract.
G$ daily pool = dailyUBIHistory.openAmount
Total active claimers = G$ daily pool / UBICalculated.dailyUBI

updated blockchain provider to collect dailyUBIHistory.openAmount, opened PR

https://github.com/GoodDollar/GoodDashboard/pull/47

Between the map and Total G$ distributed daily add an explainer text (Ticket not finalized text will be added soon)

@sirpy @Esfir-E
Is that text is ready ? Could you please provide it ?

@Esfir-E @tomerGD what is that explainer text you wanted? is it still relevant?

Adding Tomer to answer the questions above @tomerGD

Text not relevant anymore.

@sirpy
The G$ Daily Pool graph is added to the "Total G$ Distributed Daily".
Total active claimers graph is added to the "Daily Unique Claimers".
Checked on the QA 1.11.0-1
Checked on the Prod 1.11.7


docs: update security policy

:tada: This PR is included in version 1.1.2 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Use flow in the tests

It's actually complaining because of props being incorrectly defined in the source, but I'll fix that eventually

Codecov Report

Merging #13 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #13   +/-   ##
=======================================
  Coverage   91.42%   91.42%
=======================================
  Files           3        4    +1
  Lines          35       35
  Branches        6        6
=======================================
  Hits           32       32
  Misses          3        3

Impacted Files
Coverage Δ

internals/testing/test-setup.js
100% <ø> (ø)
:arrow_up:

__tests__/helpers/index.js
100% <ø> (ø)
:arrow_up:

index.js
90% <ø> (-0.63%)
:arrow_down:

src/constants.js
100% <100%> (ø)

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 df9d8ac...2aeb413. Read the comment docs.


Atom constantly crashes when it starts on 16.04

Prerequisites

[X ] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Ever since updating to 1.15 I have not been able to start atom. I window does not even appear. it's a fairly instant crash. I have removed the package. purged the package. mv ~/atom to ~/atom-backup. Re-Install/Installed dozens of times
Steps to Reproduce

start atom
( or start atom in safe mode)

Expected behavior: atom to start
Actual behavior: atom does not start and crashes. A window never even appears.
Reproduces how often:  everytime
Versions
atom --version
Atom    : 1.15.0
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0
apm -v
apm  1.15.3
npm  3.10.5
node 4.4.5 x64
python 2.7.12
git 2.7.4
(uname 4.4.0-72-generic)
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

By any chance does multiple instances of Atom opens for you? This  is what has been happening to me lately. The solution was to remove .atom folder(which ofc removes your packages too).

After several hours of frustration I finally got this fixed.
I rm -rf .atom
I then also rm -rf .atom-backup (for the first time -- the most odd thing is that this operation took > ~ 3 minutes on a modern machine.)
removed 'atom' via apt
Fresh install, and it finally opened.
The most odd thing to point out is the time it took to remove the backup. I think maybe Atom was still trying to launch from there in someway in an odd link, but, it was obviously trying to load something huge at launch (I also have like 15MB .crash files from atom)

Closing the issue since it has been resolved.

Tnx! Helps!


Add email notifications

On second thought, should this be considered a major release?
If a user has defined notifications manually in the app,  and then rerun deploy on their manifests, it will delete all notification configs since they are missing in the manifests. That could be considered a breaking change in the manifest format.

Good point, we should be explicit about that. Perhaps add that information to the readme and bump version?


Update emulator to latest flow-go version

Instructions
Please fill out the template below to the best of your ability.
Issue To Be Solved
Currently there's a new API on flow-go GetNetworkParameters from this issue. It is present on testnet and mainnet but not emulator.
(Optional): Suggest A Solution
Update emulator to latest flow-go version
(Optional): Context
fcl is exposing an interaction to grab the chain ID automatically from the access node. It's currently only working on testnet and mainnet.

Yeah, we have some debt there [0] , to be honest I want to fix them too
[0] https://github.com/onflow/flow-emulator/issues/141


Adding new project - Super-editor for document reader and editors

https://github.com/superlistapp/super_editor
I want to add this project...

@ashitaprasad can i know why it is not

It is not a flutter app.


NO-TICK: run setup before packaging

This came about because docker_make.sh was failing on fresh boxes when building the deb due to missing wasm32-unknown-unknown. I think it makes sense to run setup prior to anytime you build the deb.

bors r+

bors merge

bors merge


fix windows compat

exact same issue as presented here: https://github.com/tj/go-prompt/commit/0d6b6628b949eeb2e85fd0ab97152656cd3d2d0e
as an example, the current behavior on windows with a select option gives the following error when choosing 2:

Enter a number (Default is 1): 2
"2\r" is not a valid input. Answer by a number.

This actually has a number of issues with the tests, and fails on some cross-compat still - will keep working on it

Thanks !
I will update travis config to use latest go version

I have also rebased on your tweaks to travis so this PR is up to date with your master tip

LGTM ! Thanks !


The plugin is not showing up

I installed the plugin but it's not appearing in the kibana.
I'll put some screenshots:
_

λ kibana-plugin.bat list
<EMAIL_ADDRESS><EMAIL_ADDRESS>_

We can see that the plugin was installed, but the options is not there.
Obs:
I'm utilizing:

Windows 10
Elasticsearch 7.1.1
Kibana 7.1.1
Google chrome

Hi,
Enhanced-table is a visualization apart, not an “data table” enhancement.
So, When you add a new visualization, please choose “enhanced table”, and not “data table”.

Oh, I'm sorry!
I'm getting used to the nomenclature of kibana.
I tested here and works fine.
Thanks!!

Great!


docs: add rfc for meta-proxy

You can find the repo of meta-proxy on https://github.com/pegasus-kv/meta-proxy


Use wss for websocket if serving over https

Firefox blocks ws websocket connections from https webpages. We need to handle both for ease of use in both development circumstances and live circumstances.

Tested and fixed


Restart removes and adds devices

Hi,
I'm using this with Google Home and noticed restarting matterbridge removes all the found devices and adds them again, resulting in a lot of notifications of my 126 zigbee devices. The devices also “forget” the room they were in after restarting matterbridge.
Surely this isn't the intended behavior. Could you take a look at this?

Hi,
thank you for your interest.

Let me know if this solved your issue or there is some bug.

Thank you.
"unregisterOnShutdown": false, is set in the config and this is how it's set in the web interface:

Sadly all devices are removed and added when restarting matterbridge

Then something is wrong on your installation.
Can you send me the log when Matterbidge remove the devices please ? From a little before you click restart.
Also need you to be sure you are using the latest of both matterbridge and the plugin.

I have matterbridge 1.2.17 installed yesterday and installed matterbridge-zigbee2mqtt 2.0.14 via web interface yesterday as well.
Here is the debug log you need:
info - [21:34:21.701] [Matterbridge]: WebSocketServer client connected to Matterbridge
info - [21:34:21.705] [Matterbridge]: WebSocketServer received message => Connected to WebSocket: ws://<IP_ADDRESS>:8284
debug - [21:34:22.436] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '16' }
debug - [21:34:22.437] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.437] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '22.9' }
debug - [21:34:22.438] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.438] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: 'UNLOCK' }
debug - [21:34:22.438] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.439] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '83' }
debug - [21:34:22.439] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.441] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: 'externally' }
debug - [21:34:22.441] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.441] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: 'heat' }
debug - [21:34:22.441] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.442] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '0' }
debug - [21:34:22.443] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.445] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: 'idle' }
debug - [21:34:22.445] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.446] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: 'success' }
debug - [21:34:22.446] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.446] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: 'false' }
debug - [21:34:22.446] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.447] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: 'OFF' }
debug - [21:34:22.447] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.449] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '0' }
debug - [21:34:22.449] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.450] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '22.93' }
debug - [21:34:22.451] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.451] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: 'normal' }
debug - [21:34:22.451] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.451] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: 'measured' }
debug - [21:34:22.451] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.454] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '10' }
debug - [21:34:22.454] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.454] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '7' }
debug - [21:34:22.454] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.457] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '2024-05-28T19:34:22.361Z' }
debug - [21:34:22.457] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.457] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '76' }
debug - [21:34:22.457] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.459] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: 'idle' }
debug - [21:34:22.459] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.459] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '889787668' }
debug - [21:34:22.459] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.463] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: 'manual' }
debug - [21:34:22.463] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.467] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: 'OFF' }
debug - [21:34:22.467] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.468] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: 'HeizungHobbyraum' }
debug - [21:34:22.468] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.468] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: 'BTH-RA' }
debug - [21:34:22.468] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.468] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '0x18fc260000068686' }
debug - [21:34:22.468] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.468] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '47126' }
debug - [21:34:22.468] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.468] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: 'EndDevice' }
debug - [21:34:22.468] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.468] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '4617' }
debug - [21:34:22.468] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.468] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: 'Battery' }
debug - [21:34:22.468] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.475] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '1' }
debug - [21:34:22.481] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.481] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '5' }
debug - [21:34:22.481] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.481] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '8' }
debug - [21:34:22.481] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.481] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '1' }
debug - [21:34:22.481] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.481] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '20220627' }
debug - [21:34:22.481] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.481] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: '3.02.05' }
debug - [21:34:22.481] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
debug - [21:34:22.481] [HeizungHobbyraum]: MQTT message for device HeizungHobbyraum payload: { state: 'BOSCH' }
debug - [21:34:22.481] [HeizungHobbyraum]: Update endpoint 70 cluster 6-OnOff not found: is z2m converter exposing all features?
info - [21:34:23.431] [Matterbridge]: shutting down...
info - [21:34:23.443] [Matterbridge]: Shutting down plugin matterbridge-zigbee2mqtt

It does not remove the devices when shutting down. It does remove the devices when detecting the zigbee2mqtt devices on startup and then adds them again.

So nothing is wrong with your log and in want I can understand with your video (btw that's a great idea!)
Let me explain how a bridge works:
Let say that everything is working fine on the controller side and Matterbridge side.
Then you shutdown Matterbridege:

the controller is notified and in a while (for Apple Home around 1 minute max) it marks all device like unreachable;

Your restart Matterbridge:

Matterbridge reloads exactly the devices as it was before (unless you removed or changed them);
the controller connect again (for Apple again is around 1 minute max) and it finds exactly the same devices cause in Matter there is an attribute uniqueId that makes the devices unique (Matterbridge never changes it unless you change device name or serial number).

In your case it seems that your controller (you may try to update if there is any) is not able to find the uniqueId and removes the old devices and creates new ones.
Unfortunately I cannot help you with the controller.
I will ask my friend Tamer Salah to eventually try to deal with your controller issue.

Hi,
I tried this yesterday. I shut down the matterbridge completely and waited 10 minutes. No devices disappeared. When I started the matterbridge it behaved the same as in the video.

Oh wait. I misunderstood. I will try what you said later.

How can I power off the controller without stopping the matterbridge?

I remember a problem like this Apple Home and my homebridge zigbee2mqtt plugin.
Since I have more 100 devices in z2m I had for a few time a problem that was related to timing...
Let me know how the test goes..

What do you mean by restarting the controller? zigbee2mqtt itself or the matterbridge zigbee2mqtt?

No I mean to turn the power off from your goggle controller. Don't touch anything else.

Power off your google home hub
On Wed, 29 May 2024, 9:22 pm copystring, @.***> wrote:

The host running matterbridge?
—
Reply to this email directly, view it on GitHub
https://github.com/Luligu/matterbridge-zigbee2mqtt/issues/21#issuecomment-2138011464,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO3B3TDZGNVQRHWA3TVEIATZEYMFZAVCNFSM6AAAAABIL2OJ4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZYGAYTCNBWGQ
.
You are receiving this because you were assigned.Message ID:
@.***>

OK. I turned off all 6 of my google homes, waited a few minutes and turned on of them back on and waited a few more minutes. Nothing in the google home app on my phone changed. Everything stayed the same. Also, nothing changed in matterbridge.

next release solved this issue after testing and its very fast to load devices

Great! When do you expect the upcoming release?

its already under testing and the results so far is great , it will be during the next few days after several tests finished .


Bring some methods over from ArrowWriter to the async version

Which issue does this PR close?

Closes #5099.
Are there any user-facing changes?
Adds five new methods to AsyncArrowWriter and one to ArrowWriter:

flushed_row_groups
in_progress_size
in_progress_rows
flush
bytes_written (to both)

It doesn't change or touch any existing functionality.

Got distracted by other stuff, should have time to push it through this week. @wjones127 Is this the sort of thing you had in mind?

@AdamGS Yes, this is looking in line for what I was looking for.


v4 branch includes changes not in master or v4.0.0-rc* tags

@mcuadros @smola,
It looks like #504 was merged directly in the v4 branch, rather than master. As such these changes are not in master as far as I can tell.
This also means that the branch installed during a go get gopkg.in/src-d/go-git.v4 no longer matches any of the v4.0.0-rc* tags.
Was this intentional?

wow this was a huge error, I don't how was merged!. Fixed thanks a lot.
PD I need to answer your email, sorry


When using @azure/openai, a library for Node.js, to connect to Azure API Management (APIM)

The following code sets the endpoint and model ID, but returns undefined.
Is it not possible to use Azure OPEN AI when APIM is used with this library?
 const client = new OpenAIClient(     "https://apim-openai-hoge.azure-api.net/",     new AzureKeyCredential("APIKEY")   );
events = await client.getChatCompletions(deploymentId, messages, {     temperature: 0,   });

Hi @Shigeto-Amatake,
Thanks for opening this report! We moved the Azure OpenAI client to the official OpenAI client library for JavaScript instead. Checkout the migration guide and updated samples. For this specific issue, I suspect that setting baseUrl will help here if setting endpoint doesn't work.
Please let us know if you have any other questions!

@deyaaeldeen
Thank you.
Solved.


Update Footer

Currently it states in the footer, that the hosting in association with Canada OBA. This isn't the case anymore. Need to change that

Done


updated opoTable, state, util components and styling to reflect citations

Citations Ticket link
updated opoTable, state, util components and styling to reflect citations and linked superscripts to citation section on state page

Closing in favor of https://github.com/Bloom-Works/opo-dashboard/pull/36


Fix flaky tests by replacing HashSet by LinkedHashSet

Description

Fixed "flaky" tests (tests assuming deterministic implementation of a non-deterministic specification) detected by the NonDex tool by replacing non-deterministic HashSet by deterministic LinkedHashSet which maintains insertion order of the elements.
Flaky tests found in the druid/processing submodule:

org.apache.druid.math.expr.ParserTest#testApplyFunctions
org.apache.druid.math.expr.ParserTest#testFunctions
org.apache.druid.math.expr.ParserTest#testSimpleLogicalOps1
org.apache.druid.math.expr.ParserTest#testSimpleAdditivityOp1
org.apache.druid.math.expr.ParserTest#testSimpleAdditivityOp2
org.apache.druid.math.expr.ParserTest#testSimpleMultiplicativeOp1
org.apache.druid.segment.virtual.ExpressionVirtualColumnTest#testRequiredColumns
org.apache.druid.segment.virtual.VirtualColumnsTest#testCompositeVirtualColumnsCyclesTree

The flakiness is due to the nondeterministic order of keys in HashSet:
https://github.com/yashdeep97/druid/blob/ad32f8458670339808a3136a9578a10a52b8394f/processing/src/main/java/org/apache/druid/math/expr/Expr.java#L699-L702
Proposed Solution:

Change HashSet to LinkedHashSet.
Modify the tests, such that the expected values matches the insertion order of LinkedHashSet.

Result:
All the tests in the druid/processing module pass on re-running NonDex.
mvn -pl processing edu.illinois:nondex-maven-plugin:2.1.1:nondex

This PR has:

[x] been self-reviewed.
[ ] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

Since LinkedHashSet is not necessary in terms of functionality, is it possible to fix this flaky test while only make changes to test code? Could this additional LinkedHashSet be a potential performance hurdle?

Please link the test path and the file where the test is present so that it's easy to view the test in the initial sections.
Is it possible to only change the test code to fix this flaky test?


Multiple uses of lib on a page

Hi @aFarkas ,
Thanks a lot for the awesome lib.
I am working on a page builder and I added this lib for lazy loading of images, it works great 👍 . The issue I am facing is that sometimes user templates already are using a version of the lib, they import their templates and use page builder to add more content on it.
This can result in library included twice on the page, in those cases the shared global lazySizesConfig gives trouble. Do you have any suggestions for this ? Thanks in advance.

While lazySizes supports multiple modules on one page I don't recommend doing it. The normal way is to use import/require and do not use the lazySizesConfig at all.
import lazySizes from 'lazysizes';
// other imports ...

//
lazySizes.cfg.lazyClass = 'lazy';

In this case it is also wise to always change the lazyClass with your own namespaced version otherwise your lazysizes instance might conflict with the markup of the other page.
Due to the fact that you don't have control over the other page you might be able to workaround by simply defining all options.
Your code might look like this:
// helper/store-global-ls-options.js
export window. lazySizesConfig || null;

import originalLazySizesConfig from './helper/store-global-ls-options';
import lazySizes from 'lazysizes';

Object.assign(lazySizes.cfg, {
	lazyClass: 'namespaced-lazyload',
	loadedClass: 'lazyloaded',
	loadingClass: 'lazyloading',
	preloadClass: 'lazypreload',
	errorClass: 'lazyerror',
	//strictClass: 'lazystrict',
	autosizesClass: 'lazyautosizes',
	srcAttr: 'data-src',
	srcsetAttr: 'data-srcset',
	sizesAttr: 'data-sizes',
	//preloadAfterLoad: false,
	minSize: 40,
	customMedia: {},
	init: true,
	expFactor: 1.5,
	hFac: 0.8,
	loadMode: 2,
	loadHidden: true,
	ricTimeout: 0,
	throttleDelay: 125,
});

if (originalLazySizesConfig) {
    window. lazySizesConfig = originalLazySizesConfig;
} else if('lazySizesConfig' in window) {
    delete window. lazySizesConfig;
}