text:
Managing concurrent deployments by CI/CD

Sometimes 2 developers merge to master within a couple minutes of each other. Whoever merges second will often get a helm failure to deploy due to "another operation (install/upgrade/rollback) is in progress". This is because circleci does not currently support queueing deployment jobs (unlike spinnaker, eg, which does), and circleci is for now what is being used.
So I'm looking for way to make a helm deploy job wait till current one is done.
One trick I think should work, is to use kubectl create secret (or configmap) since if the secret already exists, then the command fails. So I could easily script the deployment so that it first loops until that command succeeds, only then would it deploy new release, and at end (regardless of any failures), it would delete that secret.
Does anyone foresee any gotchas with this approach?
Also I'm wondering if there is data that a script could check for, that would tell it whether a helm install is in progress? I might not need the create-k8s-secret-as-lock approach, although checking such data will not prevent a race condition (eg one script checks if that data is true, sees it is true, and triggers a deploy, but meanwhile another script also saw that data true and started deploy first).

Output of helm version:
$ helm version
version.BuildInfo{Version:"v3.8.0", GitCommit:"d14138609b01886f544b2025f5000351c9eb092e", GitTreeState:"clean", GoVersion:"go1.17.6"}

Output of kubectl version:
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.9", GitCommit:"b631974d68ac5045e076c86a5c66fba6f128dc72", GitTreeState:"clean", BuildDate:"2022-01-19T17:51:12Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.11-eks-f17b81", GitCommit:"f17b810c9e5a82200d28b6210b458497ddfcf31b", GitTreeState:"clean", BuildDate:"2021-10-15T21:46:21Z", GoVersion:"go1.15.15", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.): EKS

What about using helm get -n <namespace> <release> --all (or equivalent) and only deploying if the release is "deployed" or missing?

@joejulian too easy to get race condition: one deployment one script checks if that data is true, sees it is true, and triggers a deploy, but meanwhile another script also saw that data true and started deploy first. More abstractly, you can't do it without an atomic operation that succeeds only if no deployment is in progress AND gets a lock at the same time; both need to happen together. You cannot separate them and still get reliable mutual exclusion.

One gotcha with the strategy I mentioned is that deploy order is not guaranteed to match merge order. So for example if two merges A and B occur, in that order, very close together in time, the pipeline might run B deployment before A deployment. So really, The deployment script should wait for parent commit pipeline to finish or abort. Then it knows it can proceed safely. This is unfortunately not easy to do.

@joejulian can you clarify how this is different from what I describe in my OP?

authors: joejulian schollii

repo: helm/helm


text:
Proposal: (ref. #13236) Adoption of CUE for Enhanced Values Processing and Validation in Helm

Authors: Jiří Altman (@JuryA), Jan von Löwenstein (@loewenstein)
Related HIP: #13236

Abstract
This proposal, detailed in the HIP Draft, advocates for adopting CUE (Configuration Unification Engine) as the primary tool for processing and validating Helm values files, replacing the current JSON Schema support. CUE, a superset of YAML, JSON, and JSON Schema, offers enhanced capabilities while maintaining full backward compatibility. This transition will ensure that all existing Helm charts and configurations remain functional, with additional advantages such as improved validation, better defaulting, and simplified schema management.

Motivation:
The current JSON Schema implementation within Helm presents several significant limitations:

Outdated Specifications:
The current implementation is based on Draft-07, lacking recent updates, leading to inconsistent behavior and limited validation capabilities.

Complexity:
Managing and writing JSON schemas for Helm values files requires specialized expertise, which poses challenges for users unfamiliar with JSON Schema.

Feature Deficiency:
Helm's existing validation system lacks advanced features like defaulting and flexible referencing, both essential for managing complex Helm charts.

Benefits of CUE

Support for Modern Specifications:
CUE includes support for the latest JSON Schema specifications, ensuring compatibility with current standards.

Simplified Schema Management:
Integrating CUE will streamline schema management, making it more accessible to a broader range of users.

Advanced Features:
CUE offers robust features such as enhanced defaulting and flexible referencing, which are critical for handling sophisticated Helm deployments.

Implementation Plan
The implementation described in PR #13236 serves as a proof of concept (POC) rather than the final integration. This POC is designed to test whether the CUE Go module can replace the current JSON Schema validation method without compromising backward compatibility. The complete implementation will follow based on the results of this POC.
Key steps include:

CUE Integration:
Embedding CUE into Helm as a new validation engine while ensuring backward compatibility with existing JSON Schema validations.

Documentation:
Providing comprehensive documentation and migration guides to assist users in transitioning to CUE-based validation.

Community Feedback:
Establishing a feedback loop to ensure a smooth transition and address any issues that may arise during the adoption of CUE.

[!IMPORTANT]
This change will be thoroughly documented and supported, ensuring that users can transition seamlessly to the new system without disrupting existing workflows.

/cc @hickeyma @mattfarina @scottrigby @yyzxw

(Thanks for the contribution/HIP. I do plan to comment/review. Just have not had time yet)

(Thanks for the contribution/HIP. I do plan to comment/review. Just have not had time yet)

Thank you very much for your response! I was starting to worry that I might have done something wrong since no one had replied. But there’s no rush! This is just a draft—definitely not complete—more of an outline. I’m not a very experienced Go programmer, but it seems I’ve successfully replaced the existing JSON Schema validator with CUE. It appears to be working. It doesn’t do anything else yet, but it’s backward compatible with the previous code. I tested it on a few Helm charts that use JSON Schema, and it validates correctly. 😉

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
Setting arrays of maps with --set

Output of helm version:
Client: &version.Version{SemVer:"v2.10.0", GitCommit:"9ad53aac42165a5fadc6c87be0dea6b115f93090", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.10.0", GitCommit:"9ad53aac42165a5fadc6c87be0dea6b115f93090", GitTreeState:"clean"}

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.1", GitCommit:"f38e43b221d08850172a9a4ea785a86a3ffa3b3a", GitTreeState:"clean", BuildDate:"2017-10-12T00:45:05Z", GoVersion:"go1.9.1", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-26T16:44:10Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.):  Minikube/any
I've got a similar issue as in #1987 which was closed. I keep coming across charts where I need to set lists of maps on the command line, generally to configure TLS ingresses. E.g. Keycloak:
  ingress:
    tls: []
    # - hosts:
    #     - keycloak.example.com
#   secretName: tls-keycloak

How can these be set on the command line? I need to dynamically set the host name depending on my environment but so far can't find a way to do it. I don't want to have to create a values-<env>.yaml file for every environment I install in because apart from this most settings can be set on the command line and I want my charts to be portable (e.g. use the same chart for multiple clients, with the domain name parameterised).
I've tried all of the following but they all fail:
helm lint --set keycloak.tls.hosts={keycloak.localhost}
helm lint --set keycloak.tls[0].hosts={keycloak.localhost}
helm lint --set keycloak.tls={hosts={keycloak.localhost}}

This is quite a common requirement, specifically to dynamically configure ingress TLS. Is it possible to do this? If not, please add it.
Thanks

How about this:
helm lint --set keycloak.tls[0].hosts[0]=keycloak.localhost ?

No, I get the same error:
panic: interface conversion: interface {} is map[string]interface {}, not []interface {}

goroutine 1 [running]:
k8s.io/helm/pkg/strvals.(*parser).key(0xc4201b4860, 0xc420432780, 0xc4209f9278, 0x7) ... (truncated)

Hi @boosh
Looking at the values file, you are missing ingress key in your set path. So it would be more like keycloak.ingress.tls[0].hosts[0] or similar.

@boosh If you are using zsh, then you need to escape square brackets like \[0\].

authors: boosh idursun jascott1 moikot


text:
Help about the 'required' function

I've found the required function on the link https://github.com/helm/helm/blob/master/docs/charts_tips_and_tricks.md#know-your-template-functions
However I did not found where to put it, could you guys help me with this?
Also for the future, I believe it would be helpful to have at least one example with each section/function of the tips and tricks section.

The functions in this section are for use within your templates. These are in the template directory.
An example in the docs reads:
value: {{required "A valid .Values.who entry required!" .Values.who }}

How would you improve on that?

Hi @mattfarina thanks for the answer however it didn't clarify much.
Should it be in a .yaml file, or a .tpl file? or could it be in both?
A way to improve that would be generating more examples, or using more functions in the examples.
This is usually one of the first places I go looking for stuff because I like to learn by seeing something that works.
I've noticed a buch of functions that aren't listed in the documentation or when they are, there is just a short description, like the case above.
Today, by kind of an accident, I've found the add function and max function, never noticed them in the documentation.
If there is another documentation, maybe this is all in a Go documentation, could you please point me towards it?

Should it be in a .yaml file, or a .tpl file? or could it be in both?

The .yaml files are templates if they are in the templates directory. Helm will process each of them as a template and fill in the variables or handle the logic. .tpl files are usually used for supporting templates that will be injected into other files where the .yaml files typically represent the kubernetes artifacts.

Today, by kind of an accident, I've found the add function and max function, never noticed them in the documentation.

Helm uses the spig library. All of its functions are not in the Helm documentation. Sprig documentation is at https://masterminds.github.io/sprig/

authors: brunohms mattfarina


text:
false positive release duplicate for multi context

releases:
  # {{ range $c := $clusters }}
  - name: {{ $name }}
    <<: *options
    chart: oci://registry-1.docker.io/bitnamicharts/bla-bla
    context: {{ .context}}
  # {{- end }} finish

extend uniqname like release@ns@context

That's backward incompatible changes, need to specifically note that in changelog

fixed in #914

repo: helmwave/helmwave

license: MIT


text:
fix(a15): adding A15 support #3495

closes #3495

v14.2.2 has been released and contains a fix for the issue. Feel free to reopen the issue or to submit a new one if you meet any problems.

source: gharchive/pull-request

repo: help-me-mom/ng-mocks


text:
CloseButton enhancements and Overflow fixes

CloseButton enhancements and Overflow fixes

This update adds hover, active, and focus CSS styles to the CloseButton.
A storybook example for CloseButton has also been setup to demo these
new styles, as well as the various sizes CloseButton provides.

Overflow enhancement 💪
Also in this update are fixes for Overflow, which was affected when used
with Tags. Overflow has been updated to better handle child components
wrapped with Animate. An additional check is done on mount via a setTimeout,
which can be adjusted, to check and re-adjust the height of Overflow.
This is useful for things wrapped in Animate, as they typically don't exist
in the DOM for the first couple of render cycles.

Tag/Badge enhancements ✨
Lastly, some enhancements were made to the Tag and Badge components,
specifically adding a display prop which enables them to render with
display: block or display: inline-block. For certain UI, this was
useful to ensure consistent UI height. This was spotted when testing out
the ChatList.Item component.

Changes Unknown when pulling 3e4fd6e7232bd213834f8456c1daf60a0beb3e65 on CloseButton-and-Overflow-fixes into ** on master**.

authors: ItsJonQ coveralls

repo: helpscout/blue

license: mit

license_source: bigquery


text:
HSDS v3.0.0

This update bring HSDS to a new area! This is a sum of 6 months of work that improves numerous facet of HSDS that will make our life better.
You can always read the whole PR history to get a sense of that did change and understand the process of how we get to what we have in this PR. This is a summary of what did change:
https://github.com/helpscout/hsds-react/pulls?q=is%3Apr+label%3Av3+sort%3Acreated-asc
Fancy -> styled-components
We rewrote all components to use styled-components as the main rendering engine. HSDS is also SCSS free, everything is render by styled-component.
TypeScript is long gone
TS wasn't adding anything good to our daily coding session. We decided as a group to get rid of it.
Global Stylesheet
We introduce the concept of global stylesheet so we can set some base ground for any HSDS components. It will force the font-size & font-family while staying customizable by each application.
We also create an HSDS.Provider that will scope all selectors + initialize the global stylesheet.
Storybook as the source of truth
We completely refactored storybook to be the source of truth for our UI. We carefully went through each components to adjust the UI to make it pixel perfect
We are now leveraging the new storybook documentation API with MDX to create each components docs page.
Migration Codemod
To update our applications to the new HSDS version, there is some code update that will need to happen. We create a codemod to kickstart the process and do all boring tasks for us (renaming import path, renaming variable, renaming component, etc).

@plbabin what are the release plans for this?

@plbabin what are the release plans for this?

in the HSDS repo

move v3 as the master branch
move master as a v2 branch for hot fixes

in HsApp

Create an alias for master (v3) which will be @helpscout/hsds-react-next
Start refactoring per SPA (codemods will help kickstart that)

When is another question I don't have an answer for. It's up to each team. I do want to refactor one SPA as an example (and also see how long it takes to have a rough estimate for the whole migration).

This looks great PL!! I reviewed the Modal v2 stuff specifically in addition to just playing around with this branch. The Storybook updates are verrrry nice.
I think a per-app rollout for HSApp makes sense... the QA effort to ensure nothing has broken will be quite a hefty undertaking i would think.

This looks great PL!! I reviewed the Modal v2 stuff specifically in addition to just playing around with this branch. The Storybook updates are verrrry nice.
I think a per-app rollout for HSApp makes sense... the QA effort to ensure nothing has broken will be quite a hefty undertaking i would think.

yes QA will be very important but after 2-3 SPA migrated I think we'll be very confident in the new rendering engine and it will reduce the time it will take to QA for each new SPA

This is really exciting! Do you think we can cut a Release Candidate from the v3 branch before merging into master so we can start testing it? I want to upgrade HSDS in Beacon to get a sense of how much work it'll be to move everything to the new version.
I've also noticed that the Netlify deploy preview is not working on this PR. Is that something we'll fix after we merge this into master?

This is really exciting! Do you think we can cut a Release Candidate from the v3 branch before merging into master so we can start testing it? I want to upgrade HSDS in Beacon to get a sense of how much work it'll be to move everything to the new version.
I've also noticed that the Netlify deploy preview is not working on this PR. Is that something we'll fix after we merge this into master?

hum deploy preview seems to be working: https://deploy-preview-806--hsds-react.netlify.com/
We can definitely start with a release candidate. I like this idea
First thing for Beacon will be to be written in React 16.8+. Then the major thing that we need to verify is the Frame styling and the namespacing (to make sure we don't interfere with other styled-components website).

authors: Charca cocoabythefire knicklabs plbabin

repo: helpscout/hsds-react


text:
[ffmpeg] Post-process file exists, skipping

hello i try to use telegram music bot the problem when i search and download is not download i see this
[ffmpeg] Post-process file ./teest1.mp3 exists, skipping
i thing i need to update bot.py
so what i need to do to fix this problem?

did you ever fix this?

The problem described never occurred to me.


text:
YT unit conversion error

The particle plot with dimensionless unit has an issue with the new version of YT:
ds.add_field(ds.pvar("unit_one"), function=_unit_one, sampling_type="particle", units="dimensionless")

YTFieldUnitError: The field function associated with the field ('particles', 'unit_one') returned data with units code_mass but was defined with units 'dimensionless'.

ds.add_field(ds.pvar("unit_one"), function=_unit_one, sampling_type="particle", units="code_mass", )

UnitConversionError: Cannot convert between 'code_mass' (dim '(mass)') and 'dimensionless' (dim '1').

Our current way of avoiding the UnitConversionError is to turn of set_unit:
pp.set_unit(self.pvar(z_field), get_unit(z_field, unit_type))

We'll see how it works.


text:
Any way to save an URL to favourites or play an m3u file?

Hi! I'm using MX Player on my Android TV to show an rtsp stream, cause it works much better than VLC. I need to open the stream at every startup without the typing it from zero, but in the program no way to create a favourite or to play an m3u file (that works with VLC).
Any suggestion how to solve this? Thnak you a lot!

I hope you may answer me, I wrote you here, email, facebook, xda forum, no answers..

Hi, please help

repo: henryblue/MxVideoPlayer


text:
[BUG] Trigger selectedIndex change for BottomNavigation do not apply active color on IOS

Which platform(s) does your issue occur on?

[x] iOS
[ ] Android

What type of device?

[x] Emulator
[ ] Device

Please, provide the following version numbers that your issue occurs with:

CLI: 6.1.2
Cross-platform modules: 6.1.1
Runtime(s): 6.1.1
Plugin(s):

Please, tell us how to recreate the issue in as much detail as possible.
Describe the steps to reproduce the behavior:
bind selectedIndex to a variable :
<BottomNavigation ref='NavigationBottom' @selectedIndexChanged='selectedIndex = $event.newIndex'     :selectedIndex='selectedIndex'>[TabStrip...]</BottomNavigation>
trigger a change in typescript :
this.selectedIndex = 3; ( select the last tab )
on android it it working fine, on IOS content change ( so change is correctly triggered ) but the active color is not apply to the current selected tab and is not remove from the old index
see video for visual on Android and IOS : https://youtu.be/tammsYHAZeA
( blue button with 'ff' is the trigger )

@henrychavez  This bug has been fixed, but I still see this bug, thank you

authors: mkrierQape trungliennd


text:
代码显示的问题

老大你这个主题很棒啊，现在有两个问题：
第一个是目录的显示问题：
http://162.219.122.114:880/11.png
第二个是我的代码显示怎么和你演示的不一样啊，你的是这样的：
http://162.219.122.114:880/22.png
我的是这样的：
http://162.219.122.114:880/1122.png

@maxadd Hi, 第一个问题可能是我没考虑到字数问题，第二个问题，你可以发一下你的 代码 的的文章的源码吗？我看你怎么写的。另外，可以参考一下这个 https://github.com/henryhuang/hexo-theme-aloha/issues/17

多谢回复，我把我的blog放到了GitHub上，你看看有没有配置上的错误。
https://github.com/maxadd/blog

@maxadd 你的源码我checkout下来没法运行

因为node_modules这个目录我没有上传，这个目录很大，我相信这个每个人应该都是一样的，所以就没有上传。抱歉啊，我主要是想给你看看配置和md文件。

@maxadd 当然不用上传node_modules了呀，我再看看吧

@maxadd 我刚看了下，配置没问题，然后我把你这篇 https://github.com/maxadd/blog/blob/master/source/_posts/thread.md 下载到我本地查看，发现除了第一个代码块你写的对的，后面的你只写了 ```，应该要写成  ```python。另外，你发的图片我没法打开，不知道你是不是描述的这个问题。

谢谢！那就奇怪了，我代码块显示的都是黑底的，而你的显示的白底的，并且你的代码块上面会显示代码的语言。。。
这跟我写的文章没有什么联系，因为hexo自带的hello world也是如此，你看看http://162.219.122.114/

@maxadd 我现在的 https://huangyijie.com 不是用的这个主题，这个主题的代码高亮就是黑底的： https://huangyijie.com/hexo-theme-aloha/2017/09/18/Code-Highlight/

原来如此，我就说嘛，多谢多谢。希望有时间的话，能够优化下右边目录结构的显示咯。

你好，我想问一下怎么修改图片呀，还是对图片有什么要求吗，我把avatar和favicon的图片都替换了可是还是显示不了

我按那个代码高亮配置会出错什么原因呢，无法部署

@Lruihao 具体是什么错误呢？log贴一下，我暂时没遇到

@henryhuang 博主你现在用的主题是哪一个？有地址吗

authors: Lruihao MineWelt henryhuang maxadd

repo: henryhuang/hexo-theme-aloha


text:
move cloudscheduler.org to github page

We should move cloudsceduler.org from the dated Drupal website it is now to github page with a custom domain:
https://help.github.com/articles/setting-up-a-custom-domain-with-github-pages/

http://jekyllbootstrap.com

authors: igable mhpx

repo: hep-gc/cloud-scheduler


text:
Possible error while setting the calibration register

Version
No response
Describe the bug
The calibration register is shifted left by 1 bit before being written. I'm assuming this is because the datasheet explicitly says that bit 0 in the calibration register is not used in the calculation. However never says that the calculated calibration value needs to be shifted. In fact,  when using the driver i get the currents multiplied by 2 unless I do not shift this calibration value.
Could this be an error? Has anyone else experienced it?
Reproduce
No response
Expected behavior
No response
Additional context
For context, I've found this in the Texas Instruments forum:
https://e2e.ti.com/support/amplifiers-group/amplifiers/f/amplifiers-forum/660458/ina219-ina219-calibration-register

Thank you. PR #11 closes this


text:
Uses lambda for kubeadm token

@captainshar -- heads up -- this removes theClusterToken parameter.  It also removes MasterAZ output as I think it mostly just adds noise.
Signed-off-by: Joe Beda joe.github@bedafamily.com

Ok -- now creates better token.  PTAL.

repo: heptio/aws-quickstart


text:
WIP ingressroute docs

DO NOT MERGE
Signed-off-by: Ross Kukulinski ross@kukulinski.com

Fixes #450 when merged.

@stevesloka updated & rebased from your comments.  Double check me on Liveness vs Readiness probes.

@Bradamant3 is there anything else that I need to do to wire up the new ingressroute.md file into the documentation site?  We don't need to actually update the site until 0.6 (still a few weeks out), but I figured I could do some of the low-hanging fruit now.

repo: heptio/contour


text:
ID field: use ID metadata from entity

With the upcoming release of the "ID field" feature (https://github.com/herbsjs/gotu/issues/46), it would be possible to read the entity's metadata and, as a convention, use those IDs that today need to be explicitly defined.
const controllerList = [
  {
    name: 'lists',
    getAll: { usecase: require('../usecases/getLists'), controller: require('../controller') },
    getById: { usecase: require('../usecases/getLists'), id: 'listId' },       // <---- `id` would not be necessary
    post: { usecase: require('../usecases/createList') },
    put: { usecase: require('../usecases/updateList') },
    delete: { usecase: require('../usecases/deleteList') }
  }
]

Explicitly defining IDs would still be possible, but not mandatory for entities with IDs.

the discussion will continue into PR https://github.com/herbsjs/gotu/pull/57

I can work on this issue.

@dalssoft hi.
https://github.com/herbsjs/herbs2rest/pull/33#event-6888720180

authors: dalssoft italojs mtperesvx


text:
Implement support for slices

The heroku/maven Cloud Native Buildpack should use the slices feature to put the source code, dependencies, and compiled artifacts into their own layers.

I'm closing this since CNB development is now exclusively happening here: https://github.com/heroku/buildpacks-jvm

authors: Malax jkutner

repo: heroku/heroku-buildpack-java


text:
🛑 Software Center - Test 1 is down

In 26520d9, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in 5d3100e.

repo: herrphon/upptime


text:
🛑 Software Center - Test 1 is down

In ded2f13, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in d057098.


text:
🛑 Software Center - Test 1 is down

In 1d0be40, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in d61df69.


text:
🛑 Auth-Bridge - Test 1 is down

In 6f2fbb1, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in b2978fa.


text:
🛑 Software Center - Test 1 is down

In d131963, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in dc97871.


text:
🛑 Software Center - Test 1 is down

In df0da61, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in 3b11285 after 21 minutes.


text:
🛑 Auth-Bridge - Test 1 is down

In 7e2f291, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in 931ed0c after 21 minutes.


text:
🛑 Auth-Bridge - Test 1 is down

In 702f5f1, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in eea5760 after 14 minutes.


text:
🛑 Software Center - Test 1 is down

In 1f56a64, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in c7b5882 after 45 minutes.


text:
🛑 Auth-Bridge - Test 1 is down

In ccb9bec, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in 836330e after 37 minutes.


text:
🛑 Software Center - Test 1 is down

In b4a1d61, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in 24333b4 after 19 minutes.


text:
🛑 Auth-Bridge - Test 1 is down

In 523dfca, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in 0c10ab3 after 10 minutes.


text:
🛑 Auth-Bridge - Test 1 is down

In 1eec2cc, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in 98722ac after 32 minutes.


text:
🛑 Software Center - Test 1 is down

In 23ffdca, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in 56578d1 after 10 minutes.


text:
🛑 Software Center - Test 1 is down

In 0d68183, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in c1af182.


text:
🛑 Software Center - Test 1 is down

In a6cba38, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in 36e9c47 after 24 minutes.


text:
🛑 Software Center - Test 1 is down

In db0a58d, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in 5dbd294 after 30 minutes.


text:
🛑 Software Center - Test 1 is down

In 2ce569f, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in 55ead71 after 31 minutes.


text:
🛑 Auth-Bridge - Test 1 is down

In b239260, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in b42fa63.


text:
🛑 Auth-Bridge - Test 1 is down

In 26a7779, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in e4674d9.


text:
Accordion display of voting prompt (useful for voting)

Voters may have forgotten (or never even read) the contest prompt, and therefore lack the parameters on how to judge the contest.
NOTE: This PR may not be compatible with May23?

Good point about May23, but I doubt many people are going to go view that, so I'm fine with that.

authors: heshammourad rissois

repo: heshammourad/vexillology-contests


text:
Add docs on published variable

Added the published variable to the post layout.
Should the ellipsis on line 27 be removed? What else would be an article?

I think the ellipsis can be removed. page.categories and page.tags can also be moved to the post section since they're only available in posts.

repo: hexojs/site


text:
Broken file when downloading through a proxy

I download files through a proxy and at the beginning of the file two bytes are added.
Without a proxy, everything is fine.
I tried several proxy.
[0] - code 13
[1] - code 10
Files larger 10mb
conn.DownloadFile()

I have this bug fixed locally. I don't have time to sync and generate a pull request right now. This is the corrected method:
FtpClientHttp11Proxy.cs
private FtpReply GetProxyReply( FtpSocketStream stream ) {

	FtpReply reply = new FtpReply();
	string buf;

	lock( Lock ) {
		if( !IsConnected )
			throw new InvalidOperationException( "No connection to the server has been established." );

		stream.ReadTimeout = ReadTimeout;
		while( ( buf = stream.ReadLine( Encoding ) ) != null ) {
			Match m;

			FtpTrace.WriteLine( buf );

			if( ( m = Regex.Match( buf, @"^HTTP/.*\s(?<code>[0-9]{3}) (?<message>.*)$" ) ).Success ) {
				reply.Code = m.Groups[ "code" ].Value;
				reply.Message = m.Groups[ "message" ].Value;
				break;
			}

			reply.InfoMessages += string.Format( "{0}\n", buf );
		}

		while( ( buf = stream.ReadLine( Encoding ) ) != null ) {

			FtpTrace.WriteLine( buf );

			if( string.IsNullOrWhiteSpace(buf) ) {
				break;
			}

			reply.InfoMessages += string.Format( "{0}\n", buf );
		}

	}

	return reply;
}

Excellent, thank you @Zoltan666! I have merged the changes already.

@kbace4ka Can you try the latest version and see if it works? https://www.nuget.org/packages/FluentFTP/16.5.0

It works, thanks.

Thats great. I'm closing this.


text:
ember-infinity demo as Ember Twiddle for presenting issues

ember-infinity forever!
Here is the ember-infinity demo as an Ember Twiddle.  People could fork this to mock up their issues.  This could be something for the docs? https://ember-twiddle.com/c08988c41ef999bc0ef34bb0d92c17e5
Ember Twiddle is a great JS Bin sort of thing which lets you use addons in an ember-cli style layout.
I made this on my way to mocking up an issue I'm having (HeroicEric/ember-group-by#12).  I want to group items from an infinityModel.  But it seems that using ember-group-by causes the DOM for whole list to redraw whenever ember-infinity adds new items to the model.  This slows with each page.  Any tips on how to group infinityModel items would be appreciated!
j a m i e

yo @openhouse !  this is a little tricky.  In a situation like this, I'd try keeping the infinityModel array privately, and then creating the groups based on the data in the infinityModel, via the afterInfinityModel hook.
Check it out:
https://github.com/hhff/ember-infinity#afterinfinitymodel
Not sure this approach would work out of the box with ember-group-by, but looking at the logic there, it shouldnt be all that hard to replicate & modify for a data source that's getting larger & larger over time.
Please re-open if this doesn't quite solve your problem!

@hhff  I will try this, thanks!

authors: hhff openhouse

repo: hhff/ember-infinity


text:
Added "go to definition"

This commit adds "go to definition". It uses the same mechanism as Nuclide hyperclick (see https://github.com/facebook/nuclide/blob/master/pkg/nuclide-hack-rpc/lib/HackService.js#L266). Json parsing is done using the new json_decode introduced in both vim8 and neovim.

Kickass, I'd been meaning to do this myself for a while. @mxw want to take a look at this one too?

This is awesome! Love that you added neovim support too :D

@mxw any thoughts here, want to merge this?

I've been using this in vim8 for a while and it works great. Would love to see it merged.

authors: jwatzman luizribeiro oslerw zefei

repo: hhvm/vim-hack


text:
[ 问题咨询 ] 飞书的webhook消息通知和个人推送都不起作用

问题描述
之前一直使用archery的钉钉的webhook和个人推送，都可以正常使用。
由于公司现在改成飞书了，发现archery的飞书消息，无论是webhook，还是个人推送，都不发消息，通过docker logs -f archery看不到任何报错日志。
请问，有关于archery的飞书通知的配置文档吗
版本信息

应用版本/分支：Release v1.7.11
部署方式：Docker

在这里讨论吧 https://github.com/hhyo/Archery/issues/1016 这个issue 先关了

在这里讨论吧 https://github.com/hhyo/Archery/issues/1016 这个issue 先关了

repo: hhyo/Archery


text:
Edited

Some of the safe steps towards Fedora23 compatibility
Some improvements to have Ansible not report changes when it didn't make any change
Move the ~/.gradle directory to the larger ephemeral drive

Merged https://github.com/hibernate/ci.hibernate.org/pull/34
Thanks

authors: DavideD Sanne


text:
Hhh 11258

https://hibernate.atlassian.net/browse/HHH-11258

Applied to master.  Thanks

authors: beikov sebersole

repo: hibernate/hibernate-orm


text:
HHH-1268 - Unidirection OneToMany causes duplicate key entry violation when removing from list

This test case exposes the constraint violation that arise when OrderColumn is combined with a UniqueConstraint on the same column in child class.
Apparently, during a child delete, the update statements are done before the delete statement.
https://hibernate.atlassian.net/browse/HHH-5694 is the closest description for the bug.
It has been marked as a duplicate of HHH-1268, itself fixed with HHH-11587, but I can reproduce the problem on 5.3.0.RC1.

Applied upstream, thanks

See HHH-1268: Was a new issue opened due to this test case?

@drahkrub, yes, the new issue is https://hibernate.atlassian.net/browse/HHH-13338.

Reproducer for bug in 5.4.29: https://github.com/C-Otto/HHH-13338

authors: C-Otto drahkrub fromi gbadner vladmihalcea


text:
HHH-11888 : Different Behavior on insertable of @JoinColumn of @OneToMany field between Hibernate4/Hibernate5

…Many field between Hibernate4/Hibernate5
Different Behavior on "insertable" of "@JoinColumn" of "@OneToMany" field between Hibernate4/Hibernate5
First the 'joincolumn' was added to 'SampleValue' with default insertable/updatable as true and later while linking it with sampleValue, it was added again with overridden insertable and updatable values and hence the exception "Same column is added more than once with different values for isInsertable" was being thrown as it was already added with different values.
With this fix, column is added to sampleValue only once with correct insertable and updatable values

https://hibernate.atlassian.net/browse/HHH-11888

Not entirely sure what is being claimed here but:

the suggested change does not apparently "fix" the linked issue
the PR itself does not come with a test case
the proposed change breaks the ordering of columns in the PK constraint of one of our tests

Closing this,

authors: gavinking sumita-mudgil


text:
HSEARCH-5156 Address Spring Boot 3.3 upgrade nested JARs test failures

https://hibernate.atlassian.net/browse/HSEARCH-5156
Our integration test with the real app in hibernate-search-integrationtest-spring-repackaged-application works fine with the 3.3.0. There were a few changes in Boot around nested jars and all related. I haven't pinpointed the exact change that caused the issue with the CodeSourceTest test, but.... I think it wasn't entirely correct here. jar_jarScheme_springBoot_classesInSubDirectory tests a sub-directory, so there is no need to work with a nested jar since it's just a dir within a root jar and not another jar ...

Does it still work with Spring 3.2? If so LGTM.

Does it still work with Spring Boot 3.2? If so LGTM.

yes 👍🏻 😃
Thanks for taking a look!

authors: marko-bekhta yrodiere

repo: hibernate/hibernate-search


text:
HSEARCH-1947 Java 8 Date and Time

https://hibernate.atlassian.net/browse/HSEARCH-1947
This patch will enforce the use of JDK 8 for the build and add the new bridges under the package:
org.hibernate.search.bridge.builtin.time.impl
After the discussion on the mailing list ,and off-line with @Sanne I've created bridges for:

LocalDate, LocalTime, Year, YearMonth, MonthDay:
they get stored as numeric fields where the digits represents the year, month or day of the date.
For example, 2012-12-1 becomes the long 20121201
Instant, LocalDateTime: they are stored as number of milliseconds from epoch.
Duration: duration in milliseconds
ZoneId and ZoneOffset: they get store as string

Note that the precision for Duration, LocalDateTime and Instant is the millisecond.
This should cover most cases.
None of this bridges support @DateBridge. It seems there  is no real need for the user to select the encoding, and the new java api provides methods and classes for date and time truncation. Maybe it could be useful for the time to have a @TimeBridge annotation to set the resolution using java.time.temporal.ChronoUnit. A user can always create a custom bridge or we can add feature if they are requested.
We decided to not create a bridge for OffsetDateTime, OffsetTime, ZonedDateTIme and so on.
Probably the most useful way to store the offset and the zone is in separte fields, but with the current bridges the user can store these information as separate properties of the entity.

For the other type that we cannot/won't convert to numeric field, should we provide a StringBridge? I'm talking about Period, Offset*, Zoned*?

For some of this types, it is also prossible to index null as a value out of the allowed type (for example Long.MAX), should we do  that?

+1 to review this now, but let's fix https://hibernate.atlassian.net/browse/HSEARCH-1954 before merging this

For some of this types, it is also prossible to index null as a value out of the allowed type (for example Long.MAX), should we do that?

It's an interesting but I'd like to finish my experimentation with null tokens - going on in parallel before answering that. Could you track that as as follow up JIRA for this and mark it as a blocker for 5.5.0.Beta1 ?

@DavideD Added some comments inline.

LocalDate, LocalTime, Year, YearMonth, MonthDay: they get stored as numeric fields where the digits represents the year, month or day of the date. For example, 2012-12-1 becomes the long 20121201

Storing these as numbers that way seems not right to me, it's source of potential usage mistakes (e.g. consider date arithmetics). I think they should either be stored as millis since epoch in UTC or as String.

Instant, LocalDateTime: they are stored as number of milliseconds from epoch.

How comes LocaleDateTime is handled differently than the ones above? They seem to fall into the same category.

Note that the precision for Duration, LocalDateTime and Instant is the millisecond.
This should cover most cases.

I guess so. Or we could store the nano-seconds part optionally in a second field?

Maybe it could be useful for the time to have a @TimeBridge annotation to set the resolution using java.time.temporal.ChronoUnit.

That's a nice idea.
We decided to not create a bridge for OffsetDateTime, OffsetTime, ZonedDateTIme and so on.
Hum, but isn't ZonedDateTime a very central type in the time API? Not supporting it seems like a shortcoming and usage issue to me. Similar to Calendar so far it could be stored in millis since epoch (projecting it back would be done in UTC) or as an ISO8601-formatted String, including the TZ information.

There are many things to change in this pull request.
I'll send a new one

authors: DavideD Sanne gunnarmorling


text:
🛑 kiwifarms.hk is down

In a77be68, kiwifarms.hk (https://kiwifarms.hk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: kiwifarms.hk is back up in 07d5a0a after 13 minutes.

repo: hickoryhouse/kf


text:
🛑 kiwifarms.pl is down

In 9ea464c, kiwifarms.pl (https://kiwifarms.pl) was down:

HTTP code: 502
Response time: 1417 ms

Resolved: kiwifarms.pl is back up in f4265a5.


text:
Use go-enry for language detection

This PR fixes #115 where the project language was detected incorrectly. The previous language detection algorithm naively counted file extensions and returned the language corresponding to the most popular file extension.
The new algorithm is based on https://github.com/go-enry/go-enry, SOTA for language detection. The language of the file is detected by enry and the project language is defined as the language having most bytes, not just files. This algorithm is still not ideal but it's good enough and corresponds to how GitHub detects languages for the repos.
I tested it on the reported repo django and it was accurate.

I wonder if we really need to pinpoint main language in a repo, I like the way do count for each language.

we don't really pin it. we just need to know which lsp server to start.

repo: hide-org/hide


text:
🛑 SSH Malaysia 1 is down

In afaf693, SSH Malaysia 1 (http://my.hidesvr.xyz:81) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSH Malaysia 1 is back up in ba445ab.


text:
incoming call comes but sometimes sound function doesn't work

incoming call comes but sometimes sound function doesn't work in android 13 is there any way to fix this?

have you tried ringtonePath: 'ringtone'

incoming call comes but sometimes sound function doesn't work in android 13 is there any way to fix this?

Maybe it's similar to #416  somehow.

authors: Amshaf123 intellign stMerlHin


text:
Getting problem on android working fine in ios.

I am using version 2.0.1+1, and it works fine on iOS, but I encounter the following error on Android.
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules jetified-kotlin-stdlib-1.8.10 (org.jetbrains.kotlin:kotlin-stdlib:1.8.10) and jetified-kotlin-stdlib-jdk8-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10)
Duplicate class kotlin.internal.jdk8.JDK8PlatformImplementations found in modules jetified-kotlin-stdlib-1.8.10 (org.jetbrains.kotlin:kotlin-stdlib:1.8.10) and jetified-kotlin-stdlib-jdk8-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10)
Duplicate class kotlin.internal.jdk8.JDK8PlatformImplementations$ReflectSdkVersion found in modules jetified-kotlin-stdlib-1.8.10 (org.jetbrains.kotlin:kotlin-stdlib:1.8.10) and jetified-kotlin-stdlib-jdk8-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10)
Duplicate class kotlin.jvm.jdk8.JvmRepeatableKt found in modules jetified-kotlin-stdlib-1.8.10 (org.jetbrains.kotlin:kotlin-stdlib:1.8.10) and jetified-kotlin-stdlib-jdk8-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10)
Duplicate class kotlin.jvm.optionals.OptionalsKt found in modules jetified-kotlin-stdlib-1.8.10 (org.jetbrains.kotlin:kotlin-stdlib:1.8.10) and jetified-kotlin-stdlib-jdk8-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10)
Duplicate class kotlin.random.jdk8.PlatformThreadLocalRandom found in modules jetified-kotlin-stdlib-1.8.10 (org.jetbrains.kotlin:kotlin-stdlib:1.8.10) and jetified-kotlin-stdlib-jdk8-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10)
Duplicate class kotlin.streams.jdk8.StreamsKt found in modules jetified-kotlin-stdlib-1.8.10 (org.jetbrains.kotlin:kotlin-stdlib:1.8.10) and jetified-kotlin-stdlib-jdk8-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10)
Duplicate class kotlin.streams.jdk8.StreamsKt$asSequence$$inlined$Sequence$1 found in modules jetified-kotlin-stdlib-1.8.10 (org.jetbrains.kotlin:kotlin-stdlib:1.8.10) and jetified-kotlin-stdlib-jdk8-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10)
Duplicate class kotlin.streams.jdk8.StreamsKt$asSequence$$inlined$Sequence$2 found in modules jetified-kotlin-stdlib-1.8.10 (org.jetbrains.kotlin:kotlin-stdlib:1.8.10) and jetified-kotlin-stdlib-jdk8-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10)
Duplicate class kotlin.streams.jdk8.StreamsKt$asSequence$$inlined$Sequence$3 found in modules jetified-kotlin-stdlib-1.8.10 (org.jetbrains.kotlin:kotlin-stdlib:1.8.10) and jetified-kotlin-stdlib-jdk8-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10)
Duplicate class kotlin.streams.jdk8.StreamsKt$asSequence$$inlined$Sequence$4 found in modules jetified-kotlin-stdlib-1.8.10 (org.jetbrains.kotlin:kotlin-stdlib:1.8.10) and jetified-kotlin-stdlib-jdk8-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10)
Duplicate class kotlin.text.jdk8.RegexExtensionsJDK8Kt found in modules jetified-kotlin-stdlib-1.8.10 (org.jetbrains.kotlin:kotlin-stdlib:1.8.10) and jetified-kotlin-stdlib-jdk8-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10)
Duplicate class kotlin.time.jdk8.DurationConversionsJDK8Kt found in modules jetified-kotlin-stdlib-1.8.10 (org.jetbrains.kotlin:kotlin-stdlib:1.8.10) and jetified-kotlin-stdlib-jdk8-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10)

 Go to the documentation to learn how to Fix dependency resolution errors.

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org

make sure run flutter clean


text:
Question: How to enable relaybot mode

I have two already existing rooms on matrix and irc and would like to bridge them. But I checked a lot of documentation and didn't find how to use the relaybot to join the rooms.
When I went through the bot and logged into irc the bot created a new room and invited me but it wasn't what I wanted. Is there something I'm missing?

Use the PLUMB command in the network room. It will join the bot to a channel and a Matrix room.

authors: hifi pcmid

repo: hifi/heisenbridge


text:
(docs) Clean up CDN list

Changes

Update cdn links to latest version
Add extra-language example for all CDNs

Checklist

[x] ~Added markup tests, or they don't apply here because...~
[x] ~Updated the changelog at CHANGES.md~
[x] ~Added myself to AUTHORS.txt, under Contributors~

Add extra-language example for all CDNs

You feel this needs to be duplicated 3 times in close proximity?

Add extra-language example for all CDNs

You feel this needs to be duplicated 3 times in close proximity?

When I see it only for one of the CDNs, it looks like only that one supports adding extra languages, which is not true.

Thanks.

authors: Hirse joshgoebel


text:
CONDITION is not listed in the default list of reserved names

MariaDB has CONDITION as a reserved word: https://dev.mysql.com/doc/refman/5.5/en/keywords.html
It would be nice if this was added to ReservedNames.properties.

Fixed in #39.

authors: bgedik highsource


text:
Implement the new application command types

Summary
Implement the new application command types
Problem
Implement the new application command types
Ideal implementation
Implement the new application command types
Checklist

[x] I have searched the issue tracker and have made sure it's not a duplicate.
If it is a follow up of another issue, I have specified it.

context menus

Does this also include these ?

User Commands
Messsage Commands

Does this also include these ?
* [User Commands](https://discord.com/developers/docs/interactions/application-commands#user-commands)

* [Messsage Commands](https://discord.com/developers/docs/interactions/application-commands#message-commands)

Yep, context menus include both of those

@FasterSpeeding Any progress on this?

authors: FasterSpeeding Xyaren davfsa thenishantsapkota

repo: hikari-py/hikari


text:
Assignment Grade Changing

Is there a reason why previously posted grades changed?

Sometimes the grades were not generated correctly. @traversingtrav Which grade are you referring to specifically?

All of my last three assignments changed but specifically my assignment 2
went from 4 to 0. I did notice when I loaded my assignment 3 I accidentally
updated assignment 2 to an empty copy.  I did not fix it because it had
already been graded but I will repost my original submission.
On Wed, Mar 3, 2021, 2:27 PM Zhe Yu notifications@github.com wrote:

Sometimes the grades were not generated correctly. @traversingtrav
https://github.com/traversingtrav Which grade are you referring to
specifically?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hil-se/fds/issues/85#issuecomment-789995782, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AONRCXV4E5MXYDUHG2YNG6TTB2EQZANCNFSM4YRXYQRQ
.

Yes. This is possible as I updated the grading function last week and re-graded A2. I will change your A2 grade back to 4

@traversingtrav if you upload your original A2 submission, you might even receive a slightly higher score based on the new grading function.

repo: hil-se/fds


text:
torch.nn.modules.module.ModuleAttributeError: 'ResidualAttentionBlock' object has no attribute 'attn_probs'

Execute line of code:
num_tokens = image_attn_blocks[0].attn_probs.shape[-1]
An error message appears:
torch.nn.modules.module.ModuleAttributeError: 'ResidualAttentionBlock' object has no attribute 'attn_probs'
What problem causes this?

have the same problem here

If you're using the original openai's clip, do use this git repo's clip folder. In their clip/model.py line 184 they defined a new attribute attn_probs that the original clip repo did not have. Hope this helps!

You may git clone current CLIP (place it instead of CLIP directory inside this module) and patch it with attached patch-file.
There are new file inside clip directory and some addition in module.py
But good result you may get only for old models - for example for ViT-B/32.
New models show many  noise(( and I don't know why (for now)
If you want run notebook with clip examples you have to copy images from current CLIP folder to new
patch0.patch

If you're using the original openai's clip, do use this git repo's clip folder. In their clip/model.py line 184 they defined a new attribute attn_probs that the original clip repo did not have. Hope this helps!

From this-https://github.com/openai/CLIP/blob/main/clip/model.py   ? I didn't find the replaced one, can you tell in detail? thanks

Use this repo’s clip at this link: https://github.com/hila-chefer/Transformer-MM-Explainability/blob/main/CLIP
The model file I was mentioning would be here: https://github.com/hila-chefer/Transformer-MM-Explainability/blob/main/CLIP/clip/model.py

Use this repo’s clip at this link: https://github.com/hila-chefer/Transformer-MM-Explainability/blob/main/CLIP
The model file I was mentioning would be here: https://github.com/hila-chefer/Transformer-MM-Explainability/blob/main/CLIP/clip/model.py

ok thank u!

I used clip at this link: https://github.com/hila-chefer/Transformer-MM-Explainability/blob/main/CLIP
but an error message appears:
AttributeError: 'NoneType' object has no attribute 'shape'


text:
[question] Suggested Hyperparams for A2C with highway-env

Can anyone suggest hyperparams for A2C when training with the parking-env from the highway-env repo?

This place is not really for asking help with custom environments (these issues are designed for bugs and enhancements). Your best bet is to check projects using that environment and see what parameters they use, or use rl-zoo to optimize the parameters yourself. Sadly hyperparameter search is one of the less-fun parts of RL work.

Hello,
Why would you use A2C on such environment instead of using HER+SAC which is much more appropriate? (and can reach 90% success in 20000 timesteps, see zoo https://github.com/DLR-RM/rl-baselines3-zoo/blob/master/hyperparams/her.yml)

Hello @araffin , HER+SAC is in fact much more appropriate, I am however more interested in studying the effect of using A2C with the parking environment. Thanks for your help

Hello @araffin , HER+SAC is in fact much more appropriate, I am however more interested in studying the effect of using A2C with the parking environment. Thanks for your help

Hi
Do you have A2C working on that environment? I ask because Parking-Env in that custom environment is a goal orientated continuous action space. The Stable Baselines A2C implementation won't work on that environment out of the box, as it raises a "NotImplementedError: Error: the model does not support input space of type Dict" in other words (summon-v0 & parking-v0) only work with the HER wrapper that can process the dictionary of continuous actions. If you run SAC,TD3, DDPG, TQC on the parking-v0 environment they won't work, if you however combine them with HER which is designed to work in such environment it will work fine out of the box.
If you have somehow got it working, could you share it? Regarding hyperparameters, simply use the optuna benchmarking tool in SB. It works fairly well (see below for A2C on Intersection-v0 environment from that repo)

authors: Miffyli araffin hougiebear pierrekhouryy

repo: hill-a/stable-baselines


text:
Wrong release version?

I've noticed that there's a release with version 1.3.1 (https://github.com/hillu/go-yara/releases/tag/v1.3.1) while the previous one was 4.3.2. Is that wrong?

Nevermind, I see that this is a different branch.

repo: hillu/go-yara


text:
MTU2(RX62x)/MTU3(RX24T, RX600 group) 関係の見直し修正

MTU2/MTU3x 関係の実装を見直す。
MTU の機能は複雑で柔軟なので、中途半端な実装になっていた部分を全面的に見直す。

MTU 関係ポートマップの見直し、修正実績

RX62x
RX24T
RX64M/RX71M
RX65x
RX72N
RX66T/RX72T

O
-
-
-
-
O


text:
Same contract deployed twice with two different fee

PR:v2.24.0-beta.7
User running regression on the release version above in Mainnet

User noticed that a contract deployed for a lower fee didnt get executed for a fee of 0.1
User then deployed same contract for a fee of 0.4
-User noticed both contract (in same name) deployed twice once for 0.1 fee and another for 0.4

Assuming one contract will fail as both are in Pending state at the moment

Explorer link:
https://explorer.stacks.co/txid/0x50b99a6b90cbd68ebe39fa142ca9d187636e95b39746f39680e1ed96a99a62f2?chain=mainnet
https://explorer.stacks.co/txid/0x6147f2b8df6e970f22bd31b57e46202131829f0a64c44e58f0758e7bbb9cb2eb?chain=mainnet

Eventually one contract was stuck Pending which will fail eventually but the other contract was successful.Can we avoid came contract deployment with diff fees in some sort of validation check?

repo: hirosystems/stacks-wallet-web


text:
Sending BTC, dust error, can be improved or prevented.

Users get this error when they do not leave BTC for the fee. If they use the full amount can we take the fee from that? I see some other wallets doing that too.
And quick fix, can we change the error to be more specific. Tell users why it is failing and how to resolve?

I am seeing an increased number of reports, users seeing this "dust" error.

This should be handled by #3163

So, @kyranjamie I am supposed to assign/start https://github.com/hirosystems/wallet/issues/3163 to fix this?

@fbwoolf yes, really we just need to do some more advanced utxo filtering.

authors: 314159265359879 fbwoolf kyranjamie

repo: hirosystems/wallet


text:
[Good first issue | Feature] Ensure Data Type of foreign keys

Problem
The data types of foreign keys need to be consistent.
Proposed Solution
Add validation to the metadata to ensure that the data types of the two columns related to foreign keys are the same.
Additional context

I can take this up

I can take this up

Hi aakriti,
Sure, feel free to open a PR any time.
@Z712023  Please add more detailed information to this Issue, which will help our developers code in more detail

I can take this up

Hello aakriti, you can complete the implementation of the code at https://github.com/hitsz-ids/synthetic-data-generator/blob/c55e340bec6d5cc537f4cf9d75437139e30ab167/sdgx/data_models/relationship.py#L38.
For function def build(), we need to check the validity of foreign keys before the end of the function. If there are exceptional situations, please raise RelationshipInitError(error_info). Additionally, you can get the data types of foreign keys through parent_table and child_table.

I can take this up

Welcome. You can implement it based on your ideas and then conduct testing to make sure the functionality works as intended.

I can take this up

Hi  aigerimmmm,
Feel free to open a PR any time!
I also suggest to add test cases in PR, including different cases about the foreign keys.

authors: MooooCat Z712023 analytical-aakriti

repo: hitsz-ids/synthetic-data-generator


text:
LLaMA 30B producing random irrelavent output

I downloaded my model weights from here. Model output useless info no matter what the input is.

I have checked sha256 of *.safetensors, downloaded files should be identical to that from the huggingface hub. Any idea what may cause this?

Please try to download the LLaMA weights from the original source instead of third-party sources.

authors: hiyouga xufan-zhai

repo: hiyouga/LLaMA-Efficient-Tuning


text:
想请教cpt后模型在本地存储变大

我在qwen1.5-0.5B上做了CPT后，发现保存在本地的model.safetensors 大小在1.8G左右，原始0.5B仓库中的模型文件是1.2G左右。想请教一下原因。十分感谢
这是我的参数
      deepspeed --include="localhost:0,1,2,3" src/train_bash.py \
         --stage pt \
         --do_train \
         --model_name_or_path $PRETRAIN_MODEL/$MODEL_NAME \
         --dataset $TRAINDATA \
         --finetuning_type full \
         --output_dir $MODEL_SAVE_PATH \
         --per_device_train_batch_size $B \
         --gradient_accumulation_steps $G \
         --lr_scheduler_type cosine \
         --logging_steps 1 \
         --save_strategy epoch \
         --save_total_limit 5 \
         --learning_rate $LR \
         --num_train_epochs 3 \
         --plot_loss \
         --warmup_ratio 0.01 \
         --bf16 \
         --cutoff_len 2048 \
         --flash_attn true \
         --use_fast_tokenizer true \
         --preprocessing_num_workers 64

deepspeed 保存的会偏大

deepspeed 保存的会偏大

十分感谢~

repo: hiyouga/LLaMA-Factory


text:
deepspeed不起作用

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
examples/lora_multi_gpu/ds_zero3.sh
#!/bin/bash
NPROC_PER_NODE=4
CUDA_VISIBLE_DEVICES=0,1,5,6 python -m torch.distributed.run
--nproc_per_node $NPROC_PER_NODE
--nnodes 1
--standalone
src/train.py examples/lora_multi_gpu/baichuan2_lora_sft_ds.yaml
examples/lora_multi_gpu/baichuan2_lora_sft_ds.yaml
model
model_name_or_path: /home/nk/home/nk/eveProject_pytorch/ChatGPT/baichuan-inc/Baichuan2-7B-Chat
method
stage: sft
do_train: true
finetuning_type: lora
lora_target: W_pack
ddp
ddp_timeout: 180000000
deepspeed: examples/deepspeed/ds_z3_config.json
dataset
dataset: identity,alpaca_gpt4_en
template: baichuan2
cutoff_len: 1024
max_samples: 1000
val_size: 0.1
overwrite_cache: true
preprocessing_num_workers: 16
output
output_dir: saves/baichuan2-7b-chat/lora/sft
logging_steps: 10
save_steps: 500
plot_loss: true
overwrite_output_dir: true
train
per_device_train_batch_size: 1
gradient_accumulation_steps: 2
learning_rate: 0.0001
num_train_epochs: 3.0
lr_scheduler_type: cosine
warmup_steps: 0.1
fp16: true
eval
per_device_eval_batch_size: 1
evaluation_strategy: steps
eval_steps: 500
ds_z3_config.json 没有改变
{
"train_batch_size": "auto",
"train_micro_batch_size_per_gpu": "auto",
"gradient_accumulation_steps": "auto",
"gradient_clipping": "auto",
"zero_allow_untested_optimizer": true,
"fp16": {
"enabled": "auto",
"loss_scale": 0,
"loss_scale_window": 1000,
"initial_scale_power": 16,
"hysteresis": 2,
"min_loss_scale": 1
},
"bf16": {
"enabled": "auto"
},
"zero_optimization": {
"stage": 3,
"overlap_comm": true,
"contiguous_gradients": true,
"sub_group_size": 1e9,
"reduce_bucket_size": "auto",
"stage3_prefetch_bucket_size": "auto",
"stage3_param_persistence_threshold": "auto",
"stage3_max_live_parameters": 1e9,
"stage3_max_reuse_distance": 1e9,
"stage3_gather_16bit_weights_on_model_save": true
}
4*2080ti的卡还是报显存不足，而用pytorch fsdp就能跑起来
Expected behavior
No response
System Info
No response
Others
No response

lora微调目前支持deepspeed吗？
我用zero3阶段，分多张卡，按理来说，卡越多，每一张卡上占用的显存更少。
但是实际上增加卡的数量，每一张卡的显存占用不变。

Reminder

[x]  I have read the README and searched the existing issues.

Reproduction
examples/lora_multi_gpu/ds_zero3.sh #!/bin/bash
NPROC_PER_NODE=4
CUDA_VISIBLE_DEVICES=0,1,5,6 python -m torch.distributed.run --nproc_per_node $NPROC_PER_NODE --nnodes 1 --standalone src/train.py examples/lora_multi_gpu/baichuan2_lora_sft_ds.yaml
examples/lora_multi_gpu/baichuan2_lora_sft_ds.yaml
model
model_name_or_path: /home/nk/home/nk/eveProject_pytorch/ChatGPT/baichuan-inc/Baichuan2-7B-Chat
method
stage: sft do_train: true finetuning_type: lora lora_target: W_pack
ddp
ddp_timeout: 180000000 deepspeed: examples/deepspeed/ds_z3_config.json
dataset
dataset: identity,alpaca_gpt4_en template: baichuan2 cutoff_len: 1024 max_samples: 1000 val_size: 0.1 overwrite_cache: true preprocessing_num_workers: 16
output
output_dir: saves/baichuan2-7b-chat/lora/sft logging_steps: 10 save_steps: 500 plot_loss: true overwrite_output_dir: true
train
per_device_train_batch_size: 1 gradient_accumulation_steps: 2 learning_rate: 0.0001 num_train_epochs: 3.0 lr_scheduler_type: cosine warmup_steps: 0.1 fp16: true
eval
per_device_eval_batch_size: 1 evaluation_strategy: steps eval_steps: 500
ds_z3_config.json 没有改变 { "train_batch_size": "auto", "train_micro_batch_size_per_gpu": "auto", "gradient_accumulation_steps": "auto", "gradient_clipping": "auto", "zero_allow_untested_optimizer": true, "fp16": { "enabled": "auto", "loss_scale": 0, "loss_scale_window": 1000, "initial_scale_power": 16, "hysteresis": 2, "min_loss_scale": 1 }, "bf16": { "enabled": "auto" }, "zero_optimization": { "stage": 3, "overlap_comm": true, "contiguous_gradients": true, "sub_group_size": 1e9, "reduce_bucket_size": "auto", "stage3_prefetch_bucket_size": "auto", "stage3_param_persistence_threshold": "auto", "stage3_max_live_parameters": 1e9, "stage3_max_reuse_distance": 1e9, "stage3_gather_16bit_weights_on_model_save": true }
4*2080ti的卡还是报显存不足，而用pytorch fsdp就能跑起来
Expected behavior
No response
System Info
No response
Others
No response

能看一下你fsdp的配置文件吗？我用deepspeed zero3和fsdp都不行，都会在每个gpu上重复加载模型

same question. seems deepspeed not working

authors: Daya-Jin N-Kingsley gengpeip


text:
public expandedRow = CustomRowComponent;

public expandedRow = CustomRowComponent;
not passed to let factory = this.componentFactoryResolver.resolveComponentFactory(this.type);
class GtExpandingRowComponent
this.type is undefined
this.row is correctely valued
in app.module i have defined
import module and entryComponents: [ CustomRowComponent ],

What's your markup for the component that uses generic table? Sounds like you might be forgetting to pass the custom row component to your table.


text:
add shields

Just added some shields to the readme.

👍

authors: laktak namusyaka

repo: hjson/hjson-rb


text:
🛑 Weilemer Schützen is down

In 7e56fab, Weilemer Schützen (https://www.weilemer-schuetzen.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Weilemer Schützen is back up in 12818dd after 27 minutes.

repo: hjstrauss/MonitorMySites


text:
🛑 Reime ohne Sinn und Verstand is down

In 9acd6bd, Reime ohne Sinn und Verstand (https://www.reimeohnesinnundverstand.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Reime ohne Sinn und Verstand is back up in bc4b497 after 33 minutes.


text:
🛑 HJStrauss is down

In b626326, HJStrauss (https://www.hjstrauss.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: HJStrauss is back up in 8db545d after 9 minutes.


text:
🛑 Griffo is down

In 419ad63, Griffo (https://www.griffo.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Griffo is back up in 23b83f3 after 30 minutes.


text:
🛑 Opa Hansi is down

In b3bc21f, Opa Hansi (https://www.opahansi.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Opa Hansi is back up in 27feb85 after 7 minutes.


text:
About add other loss to the bootstrapped cross entropy

May I ask you how to do the scaling as mentioned in this answer? https://github.com/hkchengrex/STCN/issues/63#issuecomment-928091282
The bootstrapped cross entropy is about 0.04-0.06 before 50k steps, after that is about 0.1. So should I keep the added loss between 0.04-0.06? Or I should keep it around 0.1?

Can you please give me some guidance about how to monitor the gradient? It seems that Keras can use write_grads flag, and tensorflow can use log_histograms flag. But I didn't find any information about pytorch. Does pytorch have similar flags? I still need to implement this in code by myself?

repo: hkchengrex/STCN


text:
Implement validation of FHIR resources using the Inferno test

Currently, Inferno is used as the official validator wrapper, but it's broken right now because the configuration is not finished. We have decided to use the Inferno test for resource validation. This approach has many advantages:

Prefilled link to the terminology server.
Preselected and already downloaded Implementation Guide (IG) for the validator with a specific version.

@StephThaoOng Hello Steph
Now users can use the Inferno test as a validator feature. This test group is optional, so it doesn't influence the final result of all tests.
Users just need to paste the resource into the input and run the test. As a result, users will get a report in the messages tab. Additionally, I have added supporting information about the resource being validated, the IG version, and the profile used for the validation.
You can check the report.
https://inferno.hl7.org.au/au_core_v040_preview/lbhR4GJCQNm#au_core_v040_preview/report
Please try it out. The test group number is 1.23 Custom validation. Thanks!

paste the resource into the input and run the test. As a result, users will get a report in the messages tab. Additionally, I have added supporting information about the resource being validated, the IG version, and the profile used for the validation.
You can check the report.

@projkov Thanks Pavel!
I tried it and it works.
The modal field FHIR resource in JSON format (custom validation) to paste in the resource is small though. Can this be larger?
Also when the user tries to upload a resource in the JSON view, it inadvertently removes the other input parameters and results in an error as shown below.

The rendering of the resource in JSON format doesn't seem user friendly. Particularly when the instructions/information say "The intended use of this view is to provide a template for users to copy/paste in order to avoid filling out individual fields every time."
Happy to wait until we get more feedback after next week before we look to make any improvement, if necessary :)

@StephThaoOng Hello Steph
I made a small update: use text input, not a string. It makes it more readable.
Confirm that we don't need to do anything with this issue and that we are waiting for feedback after the test event.
If this is correct, then please close the issue. Thanks!

authors: StephThaoOng projkov


text:
some questions about RDIoU calculation. F(Θ(o), Θ(t), k, k)

Hello, thanks for your great work, RDIoU
I have some questions about RDIoU calculation.
RDIoU parameter setting

mentioned paper, Θ(o) = sin(Θ(gt))*cos(Θ(a)), Θ(t) = sin(Θ(a))*cos(Θ(gt)), k=1(default)

RDIoU Θ opereation
F(Θ(o), Θ(t), k, k) = min(Θ(o) +1/2, Θ(t) +1/2) - max(Θ(o) -1/2 + Θ(t) -1/2)
=> if ( Θ(o) < Θ(t) ) => Θ(o) +1/2 - Θ(t) - 1/2
=> Θ(o) - Θ(t) = sin(Θ(g))*cos(Θ(a)) - sin(Θ(a))*cos(Θ(g))
= sin( Θ(g) - Θ(a) )
=> else ( Θ(o) > Θ(t) ) => Θ(t) +1/2 - Θ(o) - 1/2
=> Θ(t)- Θ(o) = sin(Θ(a))*cos(Θ(g) - cos(Θ(g)*sin(Θ(a))
= sin( Θ(a) - Θ(g) )
thus, F(Θ(o), Θ(t), k, k) = sin( Θ(a) - Θ(g) ) (if Θ(o) > Θ(t) ) ,  sin( Θ(g) - Θ(a) ) ( if Θ(o) < Θ(t) )

it is RIoU work same operation (Θ), right?
I think, the operation of RIoU minimized difference that degree(=yaw) of rotated gt boxes and rotated predicted boxes. right?

Hi, sorry i cannot understand your question 1, but your understanding on question 2 is correct.


text:
[Product Detail Pages - for lesser viewports] Content Alignment fixes + Accordion with table

https://main--fonterra-fernleaf--hlxsites.hlx.page/en/products/protein-plus-milk-powder

[ ] Text alignment is touching the boundaries. Margins need to be added, also font size needs fix

Original site:

[ ] Table in accordion has missing columns for lesser media width:

Expected:

Current Franklin site implementation:

@mkbansal1 @sselvara
is something around this still in progress in any PR? or yet to be raised?

@asthabh23 Fixed as part of the PR #120.

@mkbansal1 @sselvara
The nutrition benefits accordion seems to be out of alignment for lesser viewports.
Franklin implementation:

Original site:

@asthabh23  this will be fixed as part of https://github.com/hlxsites/fonterra-fernleaf/pull/172, it seems that the code is overridden in columns.css file as things are fine in this branch https://138-buy-options--fonterra-fernleaf--hlxsites.hlx.page/en/products/milk-powder-for-whole-family. Copied the missing code and created the PR

ok, thanks! rest seems fine

repo: hlxsites/fonterra-fernleaf


text:
Get contact info

See #6
Test URLs:

Before: https://main--zeiss--hlxsites.hlx.page/de/semiconductor-manufacturing-technology/news-und-events/smt-pressemeldung/zeiss-trumpf-und-fraunhofer-mit-deutschem-zukunftspreis-ausgezeichnet
After: https://issue6--zeiss--hlxsites.hlx.page/de/semiconductor-manufacturing-technology/news-und-events/smt-pressemeldung/zeiss-trumpf-und-fraunhofer-mit-deutschem-zukunftspreis-ausgezeichnet

For JS linting you can fix errors with
npx eslint . --fix

authors: icaraps karlpauls

repo: hlxsites/zeiss


text:
CIV-13644 Dependency for preview

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

This shouldn't be needed.

repo: hmcts/civil-camunda-bpmn-definition


text:
feat: add user to an organization

Description
this feature will allow owners organization to add user to to their organization
Related Issue (Link to issue ticket)
LINK TO ISSUE
How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[] All new and existing tests passed.

Merge conflict


text:
Run in background mode?

Hi,
First of all, thanks for this great code!
I've tried fire homekit2mqtt up via and putty shows:
 sudo homekit2mqtt
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
2017-11-08 16:03:20.374 <info>  homekit2mqtt 0.7.2 starting
2017-11-08 16:03:20.384 <info>  mqtt trying to connect mqtt://127.0.0.1
2017-11-08 16:03:20.595 <info>  using hap-nodejs version 0.4.36
2017-11-08 16:03:20.622 <info>  loading HomeKit to MQTT mapping file /usr/local/lib/node_modules/homekit2mqtt/example-homekit2mqtt.json
2017-11-08 16:03:20.736 <info>  hap created 10 Accessories
2017-11-08 16:03:20.737 <info>  hap publishing bridge "MQTT Bridge" username=CC:22:3D:E3:CE:F6 port=51826 pincode=031-45-154
2017-11-08 16:03:20.852 <info>  hap Bridge listening on port 51826
2017-11-08 16:03:20.853 <info>  http server listening on port 51888
2017-11-08 16:03:20.882 <info>  mqtt connected mqtt://127.0.0.1

After the last line, there is an empy line but no cursor. In other words, this putty window is now useless but I guess I have to keep it open to keep homekit2mqtt running.
Is there any way of running the program in background mode? I tried the usual '&' sign on the end but to no avail. Sorry if the solution is obvious but I am kind of stuck.
Thank you in advance.

What is you OS ? Linux or Mac ?

You can try nohup

I suggest either to use https://github.com/Unitech/pm2 or to create a systemd service (see e.g. http://nodesource.com/blog/running-your-node-js-app-with-systemd-part-1/)

You can run homekit2mqtt on startup using cron. Do -
crontab -e
@reboot homekit2mqtt [options]
Or
use rc-local [(https://www.raspberrypi.org/documentation/linux/usage/rc-local.md)] to setup startup script.

You can run homekit2mqtt on startup using cron. Do -
crontab -e
@reboot homekit2mqtt [options]
Or
use rc-local [(https://www.raspberrypi.org/documentation/linux/usage/rc-local.md)] to setup startup script.

You can run homekit2mqtt on startup using cron. Do -
crontab -e
@reboot homekit2mqtt [options]
Or
use rc-local https://www.raspberrypi.org/documentation/linux/usage/rc-local.md to setup startup script.

Hi i have service:
[Unit]
Description=Strt HomeKit2MQTT
[Service]
ExecStart=/usr/local/bin/homekit2mqtt -p 51829 -v debug
StandardOutput=journal
[Install]
WantedBy=multi-user.target
Alias=homekit2mqtt.service
You need to copy the /etc/systemd/system/homekit2mqtt.service file, paste the code and then type:
sudo systemctl deamon-reload
sudo systemctl enable homekit2mqtt
sudo systemctl start homekit2mqtt

Hi i have service:
[Unit]
Description=Strt HomeKit2MQTT
[Service]
ExecStart=/usr/local/bin/homekit2mqtt -p 51829 -v debug
StandardOutput=journal
[Install]
WantedBy=multi-user.target
Alias=homekit2mqtt.service
You need to copy the /etc/systemd/system/homekit2mqtt.service file, paste the code and then type:
sudo systemctl deamon-reload
sudo systemctl enable homekit2mqtt
sudo systemctl start homekit2mqtt

Hi i have service:
[Unit]
Description=Strt HomeKit2MQTT
[Service]
ExecStart=/usr/local/bin/homekit2mqtt -p 51829 -v debug
StandardOutput=journal
[Install]
WantedBy=multi-user.target
Alias=homekit2mqtt.service
You need to copy the /etc/systemd/system/homekit2mqtt.service file, paste the code and then type:
sudo systemctl deamon-reload
sudo systemctl enable homekit2mqtt
sudo systemctl start homekit2mqtt

Oke, few options here. Thanks for the responses. I'll close the Issue for now and will reopen if I get stuck. Cheers.

authors: arjan-io barto- hobbyquaker raufis27 sembsa


text:
version 0.6 released and timeout on startCassandr

Version bumped to 0.6 and released on oss.sonatype.com
This allows to include in project as normal dependency.
Also added timeout to wait for starting cassandra.
When something goes wrong during starting cassandra(i.e. path was typed wrong) sbt should not hang forever.

thanks again.
I have fixed some issues with the publishing, and added a "patch" number to the version (I'm thinking the major.minor.patch versioning is better), and published to sonatype the patched version.

authors: hochgi kpbochenek

repo: hochgi/sbt-cassandra-plugin


text:
Initial Windows support

This necessitated Windows re-implementations of methods that involved file handles (like print_file) and using the ffi implementations of some types (like c_void).

Hello, thank you for this library. We have to use Windows so had to make some changes to get it to compile.
Please note that I am not a Rust expert so I am certain there are improvements to be made here. Thank you for your time and effort in reviewing.

repo: holo-routing/yang-rs


text:
currency error

currency.py

That's blatantly wrong! Thank you for letting me know about this.

It will be fixed in the next build, releasing after 7/1 UTC.

Instead of managing currency rates manually, we should get currency rates from an external API, but I could not find a good API that is free to use and has good coverage.

Turned out that this API is good enough to cover all currencies appeared in super chats, now in postprocess it will read exchange rate from a local snapshot and only get it from the API if it is not found.
https://github.com/holodata/vtuber-livechat-dataset/blob/master/vtlc/util/currency.py

authors: ouovouo uetchy

repo: holodata/vtuber-livechat-dataset


text:
Should we allow parameter attributes other than the value to be set on an instance?

Currently, you can set (override) a parameter's value on an instance. However, you can't set e.g. the bounds on an instance.

@philippjfr was this ever done. @jbednar thinks you might know this.

Pretty sure this was done.

authors: ablythed ceball tonyfast

repo: holoviz/param


text:
Teilnehmer haben die Möglichkeit, eigene Namen zu vergeben

Bisher werden Identifier angezeigt, diese werden durch Namen ersetzt. Beim Beitreten werden Schüler nach einem Namen gefragt. Ein automatisch abgespieltes Audio "Wie heißt du?" hilft Nichtlesern. Dieser Name wird dann im Chat und beim Aufzeigen verwendet.

Ich nehme mich dem an!

Pull-Request #31

Pull-Request ist eröffnet und wartet auf Review

authors: amacado klaraschlueter


text:
Bump pre-commit dependencies

Bump pre-commit dependencies to latest ones
Update isort repo which was using an archived repository
Update prettier repository to the correct one: https://github.com/pre-commit/mirrors-prettier#using-prettier-with-pre-commit

Thanks!

repo: home-assistant-libs/aioshelly


text:
Fixup the styling on the Widget configuration.

Gotta say I'm loving this. One other issues I noticed in terms of styling when the widget icon is added to the home screen the chosen name doesn't fit properly. About 4 letters only show
e.g. Label: Garden Lights and on home screen you see "Gard...."

@drthanwho Yeah, the amount of text is rather limited, I agree. I will look into seeing if there's a better way to extend the text. In the meantime, I would not be surprised if "Garden" by itself would display fully.

@KBerstene I did try that too and still got Gard... however "Garage" which is still the same number of letters shows up fine

No discussion on old PRs.

authors: JBassett KBerstene balloob drthanwho

repo: home-assistant/home-assistant-android


text:
HASS crashes after 0.66

HASS crashes a least once a day with following log in syslog:
Apr 11 19:01:25 localhost kernel: [112006.311523] hass[1149]: unhandled level 0 translation fault (11) at 0x00000003, esr 0x92000044, in libssl.so.1.1[ffff8a7fc000+52000]
Apr 11 19:01:25 localhost kernel: [112006.311559] CPU: 2 PID: 1149 Comm: hass Not tainted 4.14.18-sunxi64 #26
Apr 11 19:01:25 localhost kernel: [112006.311561] Hardware name: Xunlong Orange Pi PC 2 (DT)
Apr 11 19:01:25 localhost kernel: [112006.311565] task: ffff8000254f6c00 task.stack: ffff00000a738000
Apr 11 19:01:25 localhost kernel: [112006.311573] PC is at 0xffff8a819a08
Apr 11 19:01:25 localhost kernel: [112006.311575] LR is at 0xffff8a81999c
Apr 11 19:01:25 localhost kernel: [112006.311578] pc : [<0000ffff8a819a08>] lr : [<0000ffff8a81999c>] pstate: 80000000
Apr 11 19:01:25 localhost kernel: [112006.311580] sp : 0000ffff19b8ba30
Apr 11 19:01:25 localhost kernel: [112006.311582] x29: 0000ffff19b8ba30 x28: 0000ffff0801e310
Apr 11 19:01:25 localhost kernel: [112006.311587] x27: 0000000000000000 x26: 0000000000000003
Apr 11 19:01:25 localhost kernel: [112006.311592] x25: 0000ffff19b8bcd8 x24: 0000ffff19b8bbd8
Apr 11 19:01:25 localhost kernel: [112006.311596] x23: 0000ffff19b8c648 x22: 0000000000000001
Apr 11 19:01:25 localhost kernel: [112006.311601] x21: 0000000000000000 x20: 0000ffff19b8bad8
Apr 11 19:01:25 localhost kernel: [112006.311605] x19: 0000ffff19b8bcd8 x18: 0000000000000014
Apr 11 19:01:25 localhost kernel: [112006.311610] x17: 0000ffff8afc04c0 x16: 0000ffff8a8620b8
Apr 11 19:01:25 localhost kernel: [112006.311615] x15: 00002d4f68fc6b95 x14: 0031fd71cad5705a
Apr 11 19:01:25 localhost kernel: [112006.311620] x13: 00000003e8000000 x12: 0000000000000018
Apr 11 19:01:25 localhost kernel: [112006.311624] x11: 00000000000cd7be x10: 000000005ace3f65
Apr 11 19:01:25 localhost kernel: [112006.311629] x9 : 003b9aca00000000 x8 : 0000000000000062
Apr 11 19:01:25 localhost kernel: [112006.311633] x7 : 0000000000000000 x6 : 0000000000000001
Apr 11 19:01:25 localhost kernel: [112006.311637] x5 : 0000000000000004 x4 : 0000ffff19b8c5d8
Apr 11 19:01:25 localhost kernel: [112006.311642] x3 : 0000000000000003 x2 : ffffffffffffffd8
Apr 11 19:01:25 localhost kernel: [112006.311646] x1 : 0000000000000017 x0 : 0000ffff0801e310
Apr 11 19:01:25 localhost systemd[1]: Stopping User Manager for UID 0...
Apr 11 19:01:25 localhost systemd[820]: Stopped target Default.
Apr 11 19:01:25 localhost systemd[820]: Stopped target Basic System.
Apr 11 19:01:25 localhost systemd[820]: Stopped target Sockets.
Apr 11 19:01:25 localhost systemd[820]: Closed GnuPG cryptographic agent (access for web browsers).
Apr 11 19:01:25 localhost systemd[820]: Closed GnuPG cryptographic agent and passphrase cache.
Apr 11 19:01:25 localhost systemd[820]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Apr 11 19:01:25 localhost systemd[820]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Apr 11 19:01:25 localhost systemd[820]: Stopped target Timers.
Apr 11 19:01:25 localhost systemd[820]: Stopped target Paths.
Apr 11 19:01:25 localhost systemd[820]: Closed GnuPG network certificate management daemon.
Apr 11 19:01:25 localhost systemd[820]: Reached target Shutdown.
Apr 11 19:01:25 localhost systemd[820]: Starting Exit the Session...
Apr 11 19:01:25 localhost systemd[820]: Received SIGRTMIN+24 from PID 14683 (kill).
Apr 11 19:01:25 localhost systemd[1]: Stopped User Manager for UID 0.
Apr 11 19:01:25 localhost systemd[1]: Removed slice User Slice of root.

There is no any indication in homeassistant.log
Home Assistant release with the issue:
After 0.66 upgrade, current tested version 0.67.0b0
Last working Home Assistant release (if known):
0.65.6
Operating environment (Hass.io/Docker/Windows/etc.):
Armbian 5.40
Component/platform:
Xunlong Orange Pi PC 2

root@orangepipc2:~/.homeassistant# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

See #13599 if you are using the speedtest sensor.

Can this be the issue ?
Apr 12 16:29:25 orangepipc2 hass[24197]: 2018-04-12 16:29:25 ERROR (MainThread) [aiohttp.access] Error in logging
Apr 12 16:29:25 orangepipc2 hass[24197]: Traceback (most recent call last):
Apr 12 16:29:25 orangepipc2 hass[24197]:   File "/usr/local/lib/python3.5/dist-packages/aiohttp/helpers.py", line 501, in __get__
Apr 12 16:29:25 orangepipc2 hass[24197]:     return inst._cache[self.name]
Apr 12 16:29:25 orangepipc2 hass[24197]: KeyError: 'remote'
Apr 12 16:29:25 orangepipc2 hass[24197]: During handling of the above exception, another exception occurred:
Apr 12 16:29:25 orangepipc2 hass[24197]: Traceback (most recent call last):
Apr 12 16:29:25 orangepipc2 hass[24197]:   File "/usr/local/lib/python3.5/dist-packages/aiohttp/helpers.py", line 465, in log
Apr 12 16:29:25 orangepipc2 hass[24197]:     for key, value in fmt_info:
Apr 12 16:29:25 orangepipc2 hass[24197]:   File "/usr/local/lib/python3.5/dist-packages/aiohttp/helpers.py", line 457, in <genexpr>
Apr 12 16:29:25 orangepipc2 hass[24197]:     for key, method in self._methods)
Apr 12 16:29:25 orangepipc2 hass[24197]:   File "/usr/local/lib/python3.5/dist-packages/aiohttp/helpers.py", line 415, in _format_a
Apr 12 16:29:25 orangepipc2 hass[24197]:     ip = request.remote
Apr 12 16:29:25 orangepipc2 hass[24197]:   File "/usr/local/lib/python3.5/dist-packages/aiohttp/helpers.py", line 503, in __get__
Apr 12 16:29:25 orangepipc2 hass[24197]:     val = self.wrapped(inst)
Apr 12 16:29:25 orangepipc2 hass[24197]:   File "/usr/local/lib/python3.5/dist-packages/aiohttp/web_request.py", line 332, in remote
Apr 12 16:29:25 orangepipc2 hass[24197]:     peername = self.transport.get_extra_info('peername')
Apr 12 16:29:25 orangepipc2 hass[24197]:   File "/usr/lib/python3.5/asyncio/sslproto.py", line 306, in get_extra_info
Apr 12 16:29:25 orangepipc2 hass[24197]:     return self._ssl_protocol._get_extra_info(name, default)
Apr 12 16:29:25 orangepipc2 hass[24197]:   File "/usr/lib/python3.5/asyncio/sslproto.py", line 546, in _get_extra_info
Apr 12 16:29:25 orangepipc2 hass[24197]:     return self._transport.get_extra_info(name, default)
Apr 12 16:29:25 orangepipc2 hass[24197]: AttributeError: 'NoneType' object has no attribute 'get_extra_info'
Apr 12 16:29:25 orangepipc2 hass[24197]: 2018-04-12 16:29:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: exception=Traceback (most recent call last):
Apr 12 16:29:25 orangepipc2 hass[24197]:   File "/usr/local/lib/python3.5/dist-packages/aiohttp/helpers.py", line 501, in __get__
Apr 12 16:29:25 orangepipc2 hass[24197]:     return inst._cache[self.name]
Apr 12 16:29:25 orangepipc2 hass[24197]: KeyError: 'remote'
Apr 12 16:29:25 orangepipc2 hass[24197]: During handling of the above exception, another exception occurred:
Apr 12 16:29:25 orangepipc2 hass[24197]: Traceback (most recent call last):
Apr 12 16:29:25 orangepipc2 hass[24197]:   File "/usr/local/lib/python3.5/dist-packages/aiohttp/helpers.py", line 465, in log
Apr 12 16:29:25 orangepipc2 hass[24197]:     for key, value in fmt_info:
Apr 12 16:29:25 orangepipc2 hass[24197]:   File "/usr/local/lib/python3.5/dist-packages/aiohttp/helpers.py", line 457, in <genexpr>
Apr 12 16:29:25 orangepipc2 hass[24197]:     for key, method in self._methods)
Apr 12 16:29:25 orangepipc2 hass[24197]:   File "/usr/local/lib/python3.5/dist-packages/aiohttp/helpers.py", line 415, in _format_a
Apr 12 16:29:25 orangepipc2 hass[24197]:     ip = request.remote
Apr 12 16:29:25 orangepipc2 hass[24197]:   File "/usr/local/lib/python3.5/dist-packages/aiohttp/helpers.py", line 503, in __get__
Apr 12 16:29:25 orangepipc2 hass[24197]:     val = self.wrapped(inst)
Apr 12 16:29:25 orangepipc2 hass[24197]:   File "/usr/local/lib/python3.5/dist-packages/aiohttp/web_request.py", line 332, in remote
Apr 12 16:29:25 orangepipc2 hass[24197]:     peername = self.transport.get_extra_info('peername')
Apr 12 16:29:25 orangepipc2 hass[24197]:   File "/usr/lib/python3.5/asyncio/sslproto.py", line 306, in get_extra_info
Apr 12 16:29:25 orangepipc2 hass[24197]:     return self._ssl_protocol._get_extra_info(name, default)
Apr 12 16:29:25 orangepipc2 hass[24197]:   File "/usr/lib/python3.5/asyncio/sslproto.py", line 546, in _get_extra_info
Apr 12 16:29:25 orangepipc2 hass[24197]:     return self._transport.get_extra_info(name, default)
Apr 12 16:29:25 orangepipc2 hass[24197]: AttributeError: 'NoneType' object has no attribute 'get_extra_info'
Apr 12 16:29:25 orangepipc2 hass[24197]: , message=Error in logging, source=/usr/local/lib/python3.5/dist-packages/aiohttp/helpers.py, level=ERROR, timestamp=1523543365.4495678>

authors: Paxy amelchio

repo: home-assistant/home-assistant


text:
Asuswrt stops working after a few hours

Home Assistant release with the issue:
0.85.1

Last working Home Assistant release (if known):
NA
Operating environment (Hass.io/Docker/Windows/etc.):
Docker

Component/platform:
https://www.home-assistant.io/components/asuswrt/

Description of problem:
This component only works for a few hours, but after a while it fails so It will leave all the devices as not_home. It’s worth noting that it works temporarily after HA restarts.
“The first fix after the new component was released worked for several days.”
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
asuswrt:
  host: 192.168.2.1
  username: xxxxx
  password: xxxxx

Traceback (if applicable):
2019-1-05 06:45:39 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2019-1-05 06:45:52 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2019-1-05 06:46:05 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2019-1-05 06:46:13 ERROR (SyncWorker_15) [homeassistant.components.sensor.command_line] Command failed: head -5 /home/homeassistant/.homeassistant/.HA_VERSION
2018
2019-1-05 06:46:18 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2019-1-05 06:46:31 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
t took longer than the scheduled scan interval 0:00:12
2019-1-05 06:46:57 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2019-1-05 06:47:10 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12

Additional information:
Reference #18735 and #19031
Router: AC-86U latest Merlin firmware installed  (384.8_2)

Is this still an issue you are experiencing? Can you please try upgrading to the latest version of Home Assistant (0.90) and report back if this is still a problem? Thanks!
Also is the component the ONLY thing that is accessing the router to get information?


text:
Input Text not created all options left as default

Home Assistant release with the issue:

102.1
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io
Integration:

https://www.home-assistant.io/integrations/input_text/
Description of problem:
I use Packages.
If I have a file that defines an input_select with no options HA fails to create it. This is repeatable. However if the file contains at least one other input_select with options defined then it seems to create any without options.
For example:
A file with ONLY this passed the config check, caused no errors in the logs but none of the input texts were created:
input_text:
  smartweather_1111_timestamp:

  smartweather_2222_timestamp:

  smartweather_3333_timestamp:

This however, worked:
input_text:
  smartweather_1111_timestamp:
    min: 0
    max: 15

  smartweather_2222_timestamp:
    min: 0
    max: 15

  smartweather_3333_timestamp:
    min: 0
    max: 15

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:
Happy to provide any other info....

Can confirm. Here's traceback
2019-12-04 20:00:37 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/home/lex/lex/src/ac-hass/homeassistant/helpers/entity_platform.py", line 406, in _async_add_entity
    await entity.async_added_to_hass()
  File "/home/lex/lex/src/ac-hass/homeassistant/components/input_text/__init__.py", line 178, in async_added_to_hass
    if value is not None and self._minimum <= len(value) <= self._maximum:
TypeError: '<=' not supported between instances of 'NoneType' and 'int'
2019-12-04 20:00:37 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/home/lex/lex/src/ac-hass/homeassistant/helpers/entity_platform.py", line 406, in _async_add_entity
    await entity.async_added_to_hass()
  File "/home/lex/lex/src/ac-hass/homeassistant/components/input_text/__init__.py", line 178, in async_added_to_hass
    if value is not None and self._minimum <= len(value) <= self._maximum:
TypeError: '<=' not supported between instances of 'NoneType' and 'int'
2019-12-04 20:00:37 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/home/lex/lex/src/ac-hass/homeassistant/helpers/entity_platform.py", line 406, in _async_add_entity
    await entity.async_added_to_hass()
  File "/home/lex/lex/src/ac-hass/homeassistant/components/input_text/__init__.py", line 178, in async_added_to_hass
    if value is not None and self._minimum <= len(value) <= self._maximum:
TypeError: '<=' not supported between instances of 'NoneType' and 'int'
2019-12-04 20:00:37 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/home/lex/lex/src/ac-hass/homeassistant/helpers/entity_platform.py", line 406, in _async_add_entity
    await entity.async_added_to_hass()
  File "/home/lex/lex/src/ac-hass/homeassistant/components/input_text/__init__.py", line 178, in async_added_to_hass
    if value is not None and self._minimum <= len(value) <= self._maximum:
TypeError: '<=' not supported between instances of 'NoneType' and 'int'

@kloggy so are you reporting bug for input_text or input_select component? if for input_text, can you  correct the title?

Sorry... Corrected.

for some reason CONF_MIN and CONF_MAX values are not getting the defaults with an empty config.

@Adminiuga that seems by design . The validation is accepting either a dictionary, for which keys will be added with defaults if missing, or it accepts None. During setup it's then initialized as an empty dictionary https://github.com/home-assistant/home-assistant/blob/8dea7f0f98df8c93d4a628d4cba470a64b263877/homeassistant/components/input_text/init.py#L87-L89

what perplexes me: I've updated the test https://github.com/Adminiuga/home-assistant/blob/2ccaaa47226020fb239555f0620ce8839182aa2d/tests/components/input_text/test_init.py#L158-L172 with an empty input_text entity config, but it is not failing. Why?

I guess it is not failing because entity.added_to_hass() is never scheduled for the test added entities, right?

authors: Adminiuga balloob kloggy


text:
Fix #8475 device tracker ubus tracks unauthenticated and unassociated…

Description:
Related issue: fixes #8475 device tracker ubus tracks unauthenticated and unassociated…
Checklist:

[x] The code change is tested and works locally.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable ([example][ex-requir]).
[ ] New dependencies are only imported inside functions that use them ([example][ex-import]).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Hi @aarnaud,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

authors: aarnaud homeassistant