Minecraft version: 1.17

Changes in 1.17:

[x] Add /item
[x] Remove /replaceitem
[x] 2 new particles with arguments:

[x] vibration
[x] dust_color_transition

Minecraft 1.17 support is being implemented in #22.
It'll be merged once 1.17 is officially out.

Minecraft 1.17 support is being implemented in #22.
It'll be merged once 1.17 is officially out.


Only disarm works, no type of arm works

Hi, any idea what I may be doing wrong? I setup integration, it recognised all the sensors correctly. Everything seems to be fine.
But no matter which type of arming I choose, it always reverts back to disarmed in 2s. And there is no way to arm my alarm panel it seems.

I enabled detailed logging and from its details it seems its not even trying to arm when I select Away, Night or Custom:
2024-01-26 22:24:00.879 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] Authentication token expires 2024-01-26 22:34:54 and now is 2024-01-26 22:24:00.879478
2024-01-26 22:24:00.879 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] Capabilities token expires 2024-01-26 22:34:54 and now is 2024-01-26 22:24:00.879590
2024-01-26 22:24:00.879 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] Making request CheckAlarm with device_id 679873ed41bb4095, uuid 679873ed41bb4095 and idDeviceIndigitall
2024-01-26 22:24:01.189 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] --------------Response--------------
2024-01-26 22:24:01.189 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] {"data":{"xSCheckAlarm":{"res":"OK","msg":"alarm-manager.processed.request","referenceId":"ddfeab9a-ef85-488c-8b3d-2e386b750420"}}}
2024-01-26 22:24:02.190 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] Authentication token expires 2024-01-26 22:34:54 and now is 2024-01-26 22:24:02.190875
2024-01-26 22:24:02.190 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] Capabilities token expires 2024-01-26 22:34:54 and now is 2024-01-26 22:24:02.190985
2024-01-26 22:24:04.192 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] Making request CheckAlarmStatus with device_id 679873ed41bb4095, uuid 679873ed41bb4095 and idDeviceIndigitall
2024-01-26 22:24:04.285 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] --------------Response--------------
2024-01-26 22:24:04.285 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] {"data":{"xSCheckAlarmStatus":{"res":"OK","msg":"alarm-manager.inactive_alarm","status":null,"numinst":null,"protomResponse":"D","protomResponseDate":"2024-01-26T21:24:01Z"}}}
It seems it only calling CheckAlarm and CheckAlarmStatus functions. I guess none of these is for arming?

After playing with the configuration parameters and disabling PIN setting, but enabling perimetral alarm I can now do partial arm of the alarm, but I cannot do full arm and I cannot disarm. When I try to disarm I get the following error each time:
2024-01-26 23:07:13.689 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] Authentication token expires 2024-01-26 23:21:44 and now is 2024-01-26 23:07:13.689695
2024-01-26 23:07:13.689 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] Capabilities token expires 2024-01-26 23:21:44 and now is 2024-01-26 23:07:13.689785
2024-01-26 23:07:13.689 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] Making request xSDisarmPanel with device_id<PHONE_NUMBER>9f464a, uuid<PHONE_NUMBER>9f464a and idDeviceIndigitall
2024-01-26 23:07:13.877 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] --------------Response--------------
2024-01-26 23:07:13.877 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] {"data":{"xSDisarmPanel":{"res":"OK","msg":"Su solicitud ha sido enviada","referenceId":"OWA_______________20240126230713748________________"}}}
2024-01-26 23:07:15.878 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] Making request DisarmStatus with device_id<PHONE_NUMBER>9f464a, uuid<PHONE_NUMBER>9f464a and idDeviceIndigitall
2024-01-26 23:07:15.959 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] --------------Response--------------
2024-01-26 23:07:15.959 DEBUG (MainThread) [custom_components.securitas.securitas_direct_new_api.apimanager] {"data":{"xSDisarmStatus":{"res":"ERROR","msg":"Ha ocurrido un problema, vuelve a intentarlo o contacta con nosotros.","status":null,"protomResponse":null,"protomResponseDate":null,"numinst":null,"requestId":"_pollingStatus_697832","error":{"code":"60067","type":"TECHNICAL_ERROR","allowForcing":false,"exceptionsNumber":null,"referenceId":null}}}}

can you try with the new release? 2.7.2

Tried. Unfortunately nothing changed. The same issue. If I use Arm Night then I get the following error appearing in HA:
Failed to call service alarm_control_panel/alarm_arm_night.
If I use Arm Away or Arm Custom absolutely nothing happens. And even with Debug Logging enabled no logs are added when I press Arm Away or Arm Custom, only when I press Arm Night.

On 22 Feb 2024, at 11:47, Erick Cantú Paz @.***> wrote:
can you try with the new release? 2.7.2
—
Reply to this email directly, view it on GitHub https://github.com/guerrerotook/securitas-direct-new-api/issues/202#issuecomment-1959179719, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2QG7QGTTGVFV2ZTMVDYT3YU4O2XAVCNFSM6AAAAABCMX2L3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJZGE3TSNZRHE.
You are receiving this because you authored the thread.

One thing I noticed is that when I decode the x-capablities token in our logs, I get (among many other things):  'role': 'RESTRICTED'
I'm not sure what that means, but are you using the credentials of the main user of the account, or some other user? Try using the credentials of the main user to see if that solves the problem.

Yes, you’re absolutely right, this is for restricted user. But this user has full control to enable and disable Alarm both fully and partially. Here is the screenshot for its settings:
￼
The next level of access is administrator access, which enables it not only to turn on/off the alarm, but also full control over the contract, devices, etc. This is way too much access and for security reasons it wouldn’t be ideal if integration only worked with full administrator access.
Could you possibly explore what changes are needed in the API calls to make sure these calls happen correctly for restricted user as well, if that user is enabled to do both both full and partial arming and works perfectly fine via the mobile app or web browser?

On 22 Feb 2024, at 17:54, Erick Cantú Paz @.***> wrote:
One thing I noticed is that when I decode the x-capablities token in our logs, I get (among many other things): 'role': 'RESTRICTED'
I'm not sure what that means, but are you using the credentials of the main user of the account, or some other user? Try using the credentials of the main user to see if that solves the problem.
—
Reply to this email directly, view it on GitHub https://github.com/guerrerotook/securitas-direct-new-api/issues/202#issuecomment-1959863514, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2QG7Q55J2N5HJ7WABHFOLYU5Z4JAVCNFSM6AAAAABCMX2L3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJZHA3DGNJRGQ.
You are receiving this because you authored the thread.

The log that you shared says
Request ARMNIGHT1 is not valid for Central Unit.
also in the past other users who dowload and install the integration with an user told me that it works, but the user need to have permission as well. Did you try with that user in the customers.securitasdirect.es?

The log I shared is the only log I get. I don’t care about nightarm. I care about full arm and partial arm, but I do not get any logs for them. If I do these types of arm via web or mobile app with that same user it works perfectly. If I do that via the integration it only works for partial arm, but during full arm nothing happens.
I have a suspicion that it is because some of my windows are open when I am trying to do full arm and this is why it fails via the HA integration. When I do it via web or mobile it asks me if its OK to ignore those warnings that some windows are open and when I say yes it proceeds to full arm. This is a hypothesis right now. I will double check it and get back to you confirming if this is the issue. May be you can check in parallel if there is an API parameter that needs to be set to ignore warnings in order to complete full arm.

On 23 Feb 2024, at 18:49, Luis Guerrero @.***> wrote:
The log that you shared says
Request ARMNIGHT1 is not valid for Central Unit.
also in the past other users who dowload and install the integration with an user told me that it works, but the user need to have permission as well. Did you try with that user in the customers.securitasdirect.es?
—
Reply to this email directly, view it on GitHub https://github.com/guerrerotook/securitas-direct-new-api/issues/202#issuecomment-1961748692, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2QG7VTQJIQE22S62CBRXTYVDJBXAVCNFSM6AAAAABCMX2L3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRRG42DQNRZGI.
You are receiving this because you authored the thread.

@hajar97 Do you have a perimetral (exterior) alarm? Make sure that the checkbox in the config matches your installation. I do have one and I can replicate the "Request ARMNIGHT1..." if I misconfigure the integration to indicate that I don't.
However, I get logs for all the arm modes.
Could you try deleting the integration. Then re-add it and configure it without a PIN and using the credentials of the owner.

Hi Erik, in the My Verisure app I have 2 modes of alarm: Full and Partial. I think partial is the one people also refer to as perimetral, because what it does is set alarm for all external doors of the house, while people can be inside without triggering the alarm. Here is the screenshot from the app for the restricted user:With these 2 modes of alarm, do I need to enable that checkbox or not?Could you explain what are we trying to test by reconfiguring it with credentials of owner? I can do that temporarily if its for some testing, but I do not want those credentials to be stored or used anywhere in HA. I prefer to use restricted account which has full access to arming and disarming through web and app interfaces, which both operate via web APIs. On 25 Feb 2024, at 07:08, Erick Cantú Paz @.***> wrote:
@hajar97 Do you have a perimetral (exterior) alarm? Make sure that the checkbox in the config matches your installation. I do have one and I can replicate the "Request ARMNIGHT1..." if I misconfigure the integration to indicate that I don't.
However, I get logs for all the arm modes.
Could you try deleting the integration. Then re-add it and configure it without a PIN and using the credentials of the owner.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

hi. I cannot see the screenshot, but Perimetral means that you have some sensors in the outside of your home. In the Securitas app you'd see something like "Exterior mode." If you don't have that, don't select the Perimetral option when you set it up.
I'm trying to isolate things, so that's why I suggested to use the owner credentials, but I think the most important thing is to delete the integration and then configure it from the initial config screen without a PIN, enable logs, and try again.

Sorry that you don’t see the screenshots. Github must be filtering them out. Anyway, what I have in the app is:DesconectadoParcialTotalI do not have any sensors outside. But I have two modes of arming: 1)Full and 2)Partial. I guess you know what partial mode is, but if not let me know and I will explain. I will also try to recreate configuration as you suggest and see what happens. On 25 Feb 2024, at 12:18, Erick Cantú Paz @.***> wrote:
hi. I cannot see the screenshot, but Perimetral means that you have some sensors in the outside of your home. In the Securitas app you'd see something like "Exterior mode." If you don't have that, don't select the Perimetral option when you set it up.
I'm trying to isolate things, so that's why I suggested to use the owner credentials, but I think the most important thing is to delete the integration and then configure it from the initial config screen without a PIN, enable logs, and try again.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

I know about partial and full :-) When the integration is configured correctly, you'll be able to select them from HA too

Hi Erick. I just tried it - deleted and re-added without PIN code and without perimetral alarm. No change, same behavior. In HA I get the following options:HomeAwayNightCustomDisarmedOnly Home and Disarmed work. Home does partial arm. Disarm always asks for PIN code even if I configure it without pin code, but to disarm I just don’t type any code when HA asks for it and disarm happens correctly. Away, Night, Custom do not work and leave no traces in the log. Anything else I can try?On 25 Feb 2024, at 12:33, Erick Cantú Paz @.***> wrote:
I know about partial and full :-) When the integration is configured correctly, you'll be able to select them from HA too
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

I had an unrelated issue that reminded me of something.... when you deleted the integration, did you check that the directory custom_components/securitas was gone?
Try deleting the integration and make sure the directory is gone. If it's still there, delete it manually. Restart HA. Reinstall the integration from HACS.
I don't know if that will help. The only way I know that pressing a button on the alarm panel doesn't leave a trace in the logs is that there is a PIN set and the code you enter to arm/disarm is different from the code saved. What is weird here is that you set up the integration without a PIN and even more weirdly you get it to work with some modes but not others. I made some code changes to log the cases where a PIN doesn't match and that may help debug this. I'll send a pull request in a day or so after I run this in my installation for a while. If you want to test, you can install the integration from my repo.

Ok, have an update. When I tried to connect alarm using the My Securitas app it would give me a warning that one of the windows was opened. I would then say to ignore all warnings and setup full alarm and it would work fine. Then trying to do full alarm via HA would always fail as I was describing before. Then I closed the window and tried to do full alarm via the My Securitas app and it would set alarm without any warnings. This is when trying to enable full alarm in HA started to work. So it seems your integration works in full alarm (Away Alarm) only when there are no warnings. There is no way to ignore those warnings in HA. Question: can you check integration APIs to see if it would be possible to make setting alarm work also when there are warnings such as as an opened window?On 26 Feb 2024, at 18:46, Elnar Hajiyev @.> wrote:Ok, I tried exactly what you said. Deleted configuration and then deleted the securitas folder. Then added a configuration again with no PIN and no perimetral alarm. End result is the same. Partial arming is working. Full arming is not working. Night arm and Custom are still present in the list of types of armings and nome of them work. But I did start seeing these log messages when trying full arm:Arming triggered by service Alarm Control Panel: Arm away18:42:00Disarmed triggered by service Alarm Control Panel: Arm away18:42:01On 26 Feb 2024, at 18:13, Erick Cantú Paz @.> wrote:
I had an unrelated issue that reminded me of something.... when you deleted the integration, did you check that the directory custom_components/securitas was gone?
Try deleting the integration and make sure the directory is gone. If it's still there, delete it manually. Restart HA. Reinstall the integration from HACS.
I don't know if that will help. The only way I know that pressing a button on the alarm panel doesn't leave a trace in the logs is that there is a PIN set and the code you enter to arm/disarm is different from the code saved. What is weird here is that you set up the integration without a PIN and even more weirdly you get it to work with some modes but not others. I made some code changes to log the cases where a PIN doesn't match and that may help debug this. I'll send a pull request in a day or so after I run this in my installation for a while. If you want to test, you can install the integration from my repo.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Hi Luis, Erick,
Any update on ability to turn on alarm ignoring warnings by Securitas in case some windows are left open, like one can do using Securitas website?

On 3 Mar 2024, at 14:22, Elnar Hajiyev @.***> wrote:
Ok, have an update.
When I tried to connect alarm using the My Securitas app it would give me a warning that one of the windows was opened. I would then say to ignore all warnings and setup full alarm and it would work fine. Then trying to do full alarm via HA would always fail as I was describing before.
Then I closed the window and tried to do full alarm via the My Securitas app and it would set alarm without any warnings. This is when trying to enable full alarm in HA started to work.
So it seems your integration works in full alarm (Away Alarm) only when there are no warnings. There is no way to ignore those warnings in HA. Question: can you check integration APIs to see if it would be possible to make setting alarm work also when there are warnings such as as an opened window?

On 26 Feb 2024, at 18:46, Elnar Hajiyev @.***> wrote:

Ok, I tried exactly what you said. Deleted configuration and then deleted the securitas folder. Then added a configuration again with no PIN and no perimetral alarm.
End result is the same. Partial arming is working. Full arming is not working. Night arm and Custom are still present in the list of types of armings and nome of them work.
But I did start seeing these log messages when trying full arm:
Arming triggered by service Alarm Control Panel: Arm away
18:42:00
Disarmed triggered by service Alarm Control Panel: Arm away
18:42:01

On 26 Feb 2024, at 18:13, Erick Cantú Paz @.***> wrote:

I had an unrelated issue that reminded me of something.... when you deleted the integration, did you check that the directory custom_components/securitas was gone?
Try deleting the integration and make sure the directory is gone. If it's still there, delete it manually. Restart HA. Reinstall the integration from HACS.
I don't know if that will help. The only way I know that pressing a button on the alarm panel doesn't leave a trace in the logs is that there is a PIN set and the code you enter to arm/disarm is different from the code saved. What is weird here is that you set up the integration without a PIN and even more weirdly you get it to work with some modes but not others. I made some code changes to log the cases where a PIN doesn't match and that may help debug this. I'll send a pull request in a day or so after I run this in my installation for a while. If you want to test, you can install the integration from my repo.
—
Reply to this email directly, view it on GitHub https://github.com/guerrerotook/securitas-direct-new-api/issues/202#issuecomment-1964677998, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2QG7ULTPSEFRZMF6627ITYVS7ELAVCNFSM6AAAAABCMX2L3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRUGY3TOOJZHA.
You are receiving this because you were mentioned.

I opened https://github.com/guerrerotook/securitas-direct-new-api/issues/222 to track the request. It makes sense as a feature of the integration, but I cannot tell you when (or if) I'll work on it.

Closing this


CLI documentation link update

The CLI documentation link redirects to https://maestral.app/cli/ (with an ending slash), which gives a "page not found" error. https://maestral.app/cli works. It could probably be also solved by modifying the redirection.

Thanks for catching this, and for the fix!


Add Zero Width Shortener

Thank you for taking the time to work on a Pull Request for this project!
To ensure your PR is dealt with swiftly please check the following:

[x] Your submissions are formatted according to the guidelines in the contributing guide
[x] Your additions are ordered alphabetically
[x] Your submission has a useful description
[x] The description does not end with punctuation
[x] Each table column should be padded with one space on either side
[x] You have searched the repository for any relevant issues or pull requests
[x] Any category you are creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

Hey, thank you! I'm not sure on how and why should we use the output? It doesn't seem to work when I enter a ZWS URL in Chrome

Hmm, it works for me in Chrome and Firefox. Actually, I don't use ZWS, but it's a pretty unusual URL shortener and has a simple API. 🙃

Thanks for contribution @longnull 😆


Add version info to ossl-modules directory

The OpenSSL shared libraies (libcrypto and libssl) have version info
embedded in their SONAME and filenames.
The engines directory has version information embedded in it.
The ossl-modules (where FIPS and legacy providers reside) does not
have any versioning information. This may cause problems when newer
non-ABI compatible versions of openssl (4.x in this case) become
available.

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

A proposal for future-proofing the modules directory structure.

IMO it should be ossl-modules-3 and not 3.0 as IMO the 3.0 providers should work with 3.1 code. It is also unclear yet whether 4.0 will break the provider API. It might be possible to keep 3.0 providers working with 4.0.

The ambition is that provider modules are version agnostic, even for major version changes.
The intention is that existing implementation functions shall never change, but new function numbers to be offered will be added as needed.
With that intention, I don't see that we need the version info in that directory, at all.

IMO it should be ossl-modules-3 and not 3.0 as IMO the 3.0 providers should work with 3.1 code. It is also unclear yet whether 4.0 will break the provider API. It might be possible to keep 3.0 providers working with 4.0.

Yes, it would be ossl-modules-3.

The ambition is that provider modules are version agnostic, even for major version changes.

We've all seen how well plans work when they collide with reality.
This PR was brought up as a trigger for discussion. All other shared objects are (major) versioned, the providers are not.

All other shared objects are (major) versioned, the providers are not.

So?
You might want to consider that engines have a mandatory version check too (v_check), providers do not have that mechanism.
This is by design.
I'm thinking that if it turns out that we still need to make a separate directory for providers written for OpenSSL 4, 5, 6, ..., we can add version info to the directory then


Custom activator doesn't work with new messaging box update.

Previously, this
= intercom_script_tag nil, widget: { activator: '.intercom' }

used to work, without any changes from intercom website, and overrode any custom settings done to make the class .intercom act as activator and also not show the intercom messaging icon.
With the new messaging App, the icon still shows even after having a custom  activator, unless disabling from here http://take.ms/x29NX

for now, we are just adding config.inbox.style = :custom and putting id="Intercom" but nothing happened


chore: bdd-gh-1583873863 to 0.0.1

chore: Promote bdd-gh-1583873863 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Create a hubspot integration

Covering private apps and also public apps via oauth

Next steps is

[ ] Paging
[ ] Implement reading contacts and other objects with all properties

Currently the Lists API is under development and only available as beta: https://developers.hubspot.com/docs/api/crm/lists
There is no possibility yet to gain the ILS List ID via the API. So at the moment, entering this manually on the Orbit UI in the lists. This should be checked on a regular base.

Currently the Lists API is under development and only available as beta: https://developers.hubspot.com/docs/api/crm/lists
There is no possibility yet to gain the ILS List ID via the API. So at the moment, entering this manually on the Orbit UI in the lists. This should be checked on a regular base.

I found out, there is an API endpoint to "search" for lists which can be used to list all lists. So this is implemented now.

The first implementation is now done and support loading CRM-Data in small and large sizes through the API (not the CRM Export) and also marketing list upload, if the contacts already exist in Hubspot.


Feature/97-Educators Component

Is your feature request related to a problem? Please describe.
Not applicable
Describe the solution you'd like
The aim of this issue it is to crete the components for the side menu and header for the educators screen.
Describe alternatives you've considered
In order to do that component will be created so it can be used and reused in the different screens as need it.
Additional context
Not applicable

Story Points: 3
See the discussion in Frontend S2 W8
Powered by Parabol


Bugfix - approved incidents list was also showing unapproved incidents, now showing properly

Loom video link
https://www.loom.com/share/ac4d70d3394d483a93d0b532a6c49cde
Slack Thread
https://lambda-students.slack.com/archives/C02C8UXQZPY/p1631145405206600
Description
fixed bug where approved incidents list was also showing unapproved incidents list
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)

Status

[ ] Complete, tested in local deployment, needs unit tests

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] There are no merge conflicts

That fixes it. It might be DRYer though if you pulled the {adding ? ...} section out of approved/unapproved and put it on its own.
{adding && <AddIncident>}
{listType === 'unapproved && <Incidents>}
{listType === 'approved && <ApprovedIncidents>}

As this is a simple fix that still included a thorough video walkthrough of the bug, I'll be approving and merging this PR straight away! I do, however, agree with Kelly & Jeremiah's stances regarding making the code dryer, but this bug fix is of top importance, so let's strive for that in another PR down the line!


main <- develop Update main

Still very much work in progress

@JoyTwister Please merge it once you review the changes


Revert menu layout

In VSCode version:
Version: 1.75.1 (user setup)
Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf
Datum: 2023-02-08T21:32:34.589Z
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
Betriebssystem: Windows_NT x64 10.0.19044
Sandkasten: No

… you changed the title bar to prefer the program/document name over the menu:

Very often, I rather find my self interacting with the menu bar than with the – to me unimportant – VS Code program or document name.
The new design very much decreases accessibility to the menu items by rendering them awkward to handle.
Please add an option to revert to the old design, prefering displaying the menu bar in full size over displaying the current document title and application name.

dupelicate https://github.com/microsoft/vscode/issues/173862


22639 - Update Certify Section Wording

Issue #: /bcgov/entity#22639
Description of changes:

Update Certify section for Create UI

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

/gcbrun

Temporary Url for review: https://business-create-dev--pr-758-as4ni3qx.web.app

I think that maybe, here, you could make entityDisplay optional and display the provided string (for CP, SP and GP) else fall back to "business". What do you think?

Agree, thanks! I updated the codes

/gcbrun

Temporary Url for review: https://business-create-dev--pr-758-as4ni3qx.web.app

I think that maybe, here, you could make entityDisplay optional and display the provided string (for CP, SP and GP) else fall back to "business". What do you think?

Agree, thanks! I updated the codes

Well, darn! That's even more changed files.
But I prefer this as it's DRYer and cleaner. Thanks for the update!

/gcbrun

Temporary Url for review: https://business-create-dev--pr-758-as4ni3qx.web.app


Centos7 install via repo fails

Prerequisites

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

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

Description
running atom in a terminal with an xserver gives the following error.
/tmp/atom-build/Atom/atom: No such file or directory
Steps to Reproduce

install yum repo
/etc/yum.repos.d/atom.repo
[Atom]
name=Atom Editor
baseurl=https://packagecloud.io/AtomEditor/atom/el/7/$basearch
enabled=1
gpgcheck=0
repo_gpgcheck=1
gpgkey=https://packagecloud.io/AtomEditor/atom/gpgkey

yum install atom
atom

Expected behavior:
load atom ide via X

error
Actual behavior:

Reproduces how often:

Versions
[root@cuky01virt tmp]# npm --version
6.9.0
[root@cuky01virt tmp]# node --version
v10.16.3
Installed Packages
Name        : atom
Arch        : x86_64
Version     : 1.40.1
Release     : 0.1
Additional Information

Is this supported to run via X?

Just to clarify, you don't have any issues running Atom locally yes?

Just to clarify, do you try atom-beta?


chore: remove unnecessary code, adding the IoT retirement in README

Part of https://github.com/googleapis/google-cloud-python/issues/11048.

chore: remove unnecessary files
docs: retire message in README

The samples are still referenced by documents. Adding do-not-merge tag.

cl/555166720

Ready to merge once cl/555166720 is submitted

I just submitted cl/555317637.


Wrong result image in prediction file when I made predict

hello, I wonder why I got this result in prediction file

Hey @wendy127green that image is failing to load. Would you be able to reupload it/describe your issue?

Hello, I reupload the image. It's all slanted lines.

Hello, It's all slanted lines.

Hey @wendy127green what magnification are you using, and would you be able to share a google drive image or something? The image you provided is still not loading/displaying.

Hey @wendy127green what magnification are you using, and would you be able to share a google drive image or something? The image you provided is still not loading/displaying. Additionally send me an email with the bad image(s) to<EMAIL_ADDRESS>
I have send you an email. Thanks!


Not found

bower                                        ENOTFOUND Package ember-bootstrap-4 not found
I tryed it:
bower install git://github.com/bennycwong/ember-bootstrap-4

Oh no!!! The README file is wrong missing the line break.

@sajt The readme has been updated with more clear install instructions. Thanks for reporting.


first cut of fix

Hi @ychaker and @softwaredoug and @worleydl I know I ping you a lot for review, but I REALLY need it on this one..   I definitely don't have the "Angular Way" learned, so would really like your insights on this...
I also don't know if it's time for a refactoring of esSearchSvc.js?   That is one VERY long file!

Dammit...   I tried to roll this code out of HEAD, and it blew up.   Going to start over.


Look into using a different websockets library for the Java client

We should look into switching to a Websockets library with a better async API.

Might be necessary for #2694

Look at this: https://medium.com/square-corner-blog/web-sockets-now-shipping-in-okhttp-3-5-463a9eec82d1

This also somewhat solves the problem with .send being blocking. OkHttp uses a background thread to do sending so WebSocket.send just queues the data to be sent and should return immediately. Because of how pipelines works that's not far from what .NET does. The difference is that the .NET logic will apply backpressure but the Java client won't be able to do that, we'll just keep accepting .sends. 🤷♂


Add Capability to use Config File for Initialization Parameters

We have a number of possible config params one might pass in during the call to massive.connect(). We may want to have massive look for a config file for these if .connect() is called either without arguments, or with a configFile property specifying the path.

That seems like something to leave up to the application, because it will know best how to manage it's configuration.
Also, It not entirely out of bounds that there might exist an application that has multiple massive instances. Any config file auto-loading would require jiggery pokery on the implementor's part.

Yeah, the idea was to enable an application to specify one or more configure files by passing in a path/paths as described in the original comment. Meaning, a sensible default, easily overridden by the application if needed.
Point well taken, though. We appreciate all of this type of discussion :)

Closing this for now.


Increase weight on table name.raw

Summary of Changes
Increase weight on table name.raw so that exact match would appear near top result.
Tests
Tested with the dataset where high usage but lower relevancy was outweighing exact table name match.
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[x] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[x] PR includes a summary of changes.
[x] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[x] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

[x] PR passes make test

Codecov Report

Merging #87 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #87   +/-   ##
=======================================
  Coverage   82.02%   82.02%
=======================================
  Files          14       14
  Lines         584      584
  Branches       64       64
=======================================
  Hits          479      479
  Misses         85       85
  Partials       20       20

Impacted Files
Coverage Δ

search_service/proxy/elasticsearch.py
78.03% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Lsos

@lostpebble
@michie1
I started to use @lsos/donation-reminder. This means you'll see a little donation-reminder in the browser dev console. You can remove it by running yarn lsos remove/npx lsos remove.
Let me know if this induces any inconvenience or if you feel disturbed by the donation-reminder in any way.
Rom :)

Hi @brillout
This message still seems to be showing in my production builds. I don't mind this during development, which is likely where it is most effective in getting a company to see it, but in production builds I purposefully remove all console logs except for those which are absolutely necessary.
Is there a way to stop this from happening without having to manually remove lsos ?

Hello Paul,
See https://github.com/Lsos/donation-reminder#end-user-how-do-i-make-sure-the-donation-reminder-is-not-shown-in-tests-staging-and-production
The donation-reminder will never be shown at https://www.vibescout.com/ since window.location.hostname!=='localhost'.
Is that good enough for you? Or do you want to test your prod builds and you don't want to see the donation-reminder then?

Okay, I see. That's generally fine, I don't mind it if it shows only when on localhost.
But according to the docs here:

window.process.env.NODE_ENV && !['dev', 'development'].includes(window.process.env.NODE_ENV)

I figured that because I bundle my code with process.env.NODE_ENV = "production" (basically any instance of that in my code is hard coded to true when building for production) that this would also cause this message to not show in the production bundle. Maybe I have to include the full window.process.env.NODE_ENV as well.


Add data_management_plan_doi enum

regarding https://github.com/microbiomedata/nmdc-schema/issues/108
This PR includes:

[x] Adding a data_management_plan_doi enum to DoiCategoryEnum
[x] Adding a data management plan example for the associated_dois slot in the nmdc.yaml file
[x] Add a data management plan example to the Study-exhaustive.yaml file
[x] Add gsc enum to DoiProviderEnum given the use case in the initial issue

Thanks!


Eth 2.0 Production

This is identical to main except for constant changes to use finalization that we couldn't test with integration tests, and a single line movement

The automated release is failing probably because of https://github.com/cross-rs/cross/issues/724, it appears like we should add cargo clean to the workflow before the command where it fails


Update avro4s-core to 5.0.4

About this PR
📦 Updates com.sksamuel.avro4s:avro4s-core from 5.0.3 to 5.0.4
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.sksamuel.avro4s", artifactId = "avro4s-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.sksamuel.avro4s", artifactId = "avro4s-core" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #546.


SVG file is empty when SVG file is dumped during allocation profiling

Dear Async profiler experts,
I use ./profiler.sh -d 30 -f /tmp/result.svg , but when I open result.svg, it shows empty.
The following is content of result.svg.
Does it mean that we can't dump allocation profiling result to file?

Flame Graph

Reset Zoom
Search

Really appreciate ur great help in advance!
Thanks,
Roy

There are two reasons why the graph can be empty. Either allocation profiling is not supported by your JVM (e.g. libjvm.so is missing debug symbols), or the allocations are too rare to be sampled.
See README for details.
Are there any error messages in the profiler console or in stderr of the target JVM if you run profiler without -f option?

Dear @apangin ,
Thanks for ur quick reply!

Either allocation profiling is not supported by your JVM (e.g. libjvm.so is missing debug symbols)
[Roy] I am using Oracle JDK, it do support.
the allocations are too rare to be sampled.
Are there any error messages in the profiler console or in stderr of the target JVM if you run profiler without -f option?
[Roy] I don't think so and there is no error, you can refer to my sampling result via  https://github.com/jvm-profiling-tools/async-profiler/issues/261

Please kindly let me know what can I do to troubleshooting this problem, thx!
Thanks,
Roy

Did I understand correctly that allocation profiling works without -f option, but produces an empty file with -f /tmp/result.svg? Do other output formats work? E.g. -f result.collapsed?

Dear @apangin ,
It is too strange...This time it do have data in svg.
I don't know what happened, will keep an eye on it.
Thanks for ur great help anyway.
Thanks,
Roy


Live example not working

Hello,
Live url is not working.
Following error is displayed : 404 deployment could not be found.
Thanks

I'm sorry I did not see this issue earlier, it is working for me:

Can you try again?

Hi @tomwayson ,
Yes, it is now working.
Thanks !

Thanks!


Doc: Which rules are enabled by default?

Hi, thanks for making OXLint.
I am researching migrating from ESLint to OXLint for our company's projects. I want to compare the ESLint rules configured in the company project with those enabled by default in OXLint. But I can't find which rules are enabled by default.
In the README's Quick Start section, only "The linter is ready to catch mistakes for you. It comes with over 60 default rules and no configuration is required."
And in https://github.com/oxc-project/bench-javascript-linter/blob/main/.eslintrc.json, only 48 rules.
Thanks for your great work!

oxlint cli has --rules option to show which rules are implemented.
You can grep it by oxlint --rules | grep eslint: to see them.
Or you may check this file.
https://github.com/oxc-project/oxc/blob/70295a55521a2372597980076566272d1a1f54bb/crates/oxc_linter/src/rules.rs#L38-L106

The correctness rules from --rules are enabled by default.


Added 422 10bit (Y210) yuv support

1, added the 422 10bit (Y210) yuv support for vaapi-fits
2, added the unit test function entry for Y210 format
test_frame_reader_Y210 with test cmdline:
./vaapi-fits run test/self/formats.py:test_frame_reader_Y210
--pl ICL
3, added the Y210 support for ffmpeg-vaapi/qsv and and
gst-vaapi/msdk

Unit test passed for Y210 with the result:
root@media_libva_icl2:/home/focus/workspace_focus/hevc_10bit_yuv422/vaapi-fits# ./vaapi-fits run test/self/formats.py:test_frame_reader_Y210 --pl ICL
9 tests collected
test/self/formats.py .........  PASS
======================= Session ended. 9 successful, 0 skipped, 0 failed, 0 erroneous. Total duration: 00:00:03 =======================

root@media_libva_icl2:/home/focus/workspace_focus/hevc_10bit_yuv422/vaapi-fits# ./vaapi-fits run test/self/formats.py:test_check_filesize --pl ICL
117 tests collected
test/self/formats.py .....................................................................................................................  PASS
====================== Session ended. 117 successful, 0 skipped, 0 failed, 0 erroneous. Total duration: 00:00:42 ======================
root@media_libva_icl2:/home/focus/workspace_focus/hevc_10bit_yuv422/vaapi-fits# ./vaapi-fits run test/self/formats.py:test_frame_reader_Y210 --pl ICL
9 tests collected
test/self/formats.py .........  PASS
======================= Session ended. 9 successful, 0 skipped, 0 failed, 0 erroneous. Total duration: 00:00:03 =======================
root@media_libva_icl2:/home/focus/workspace_focus/hevc_10bit_yuv422/vaapi-fits# ./vaapi-fits run test/self/formats.py:test_get_framesize --pl ICL
117 tests collected
test/self/formats.py .....................................................................................................................  PASS
====================== Session ended. 117 successful, 0 skipped, 0 failed, 0 erroneous. Total duration: 00:00:43 ======================
root@media_libva_icl2:/home/focus/workspace_focus/hevc_10bit_yuv422/vaapi-fits# cd ../vaapi-fits-full
root@media_libva_icl2:/home/focus/workspace_focus/hevc_10bit_yuv422/vaapi-fits-full# ./full run test/ffmpeg-qsv/decode/10bit/hevc.py --pl ICL -k ADJUST_IPRED_ANGLE_A_RExt_Mitsubishi_2
1 tests collected
test/ffmpeg-qsv/decode/10bit/hevc.py .  PASS
======================= Session ended. 1 successful, 0 skipped, 0 failed, 0 erroneous. Total duration: 00:00:01 =======================
root@media_libva_icl2:/home/focus/workspace_focus/hevc_10bit_yuv422/vaapi-fits-full# ./full run test/ffmpeg-vaapi/decode/10bit/hevc.py --pl ICL -k ADJUST_IPRED_ANGLE_A_RExt_Mitsubishi_2
1 tests collected
test/ffmpeg-vaapi/decode/10bit/hevc.py .  PASS
======================= Session ended. 1 successful, 0 skipped, 0 failed, 0 erroneous. Total duration: 00:00:00 =======================
root@media_libva_icl2:/home/focus/workspace_focus/hevc_10bit_yuv422/vaapi-fits-full# ./full run test/gst-vaapi/decode/10bit/hevc.py --pl ICL -k ADJUST_IPRED_ANGLE_A_RExt_Mitsubishi_2
1 tests collected
test/gst-vaapi/decode/10bit/hevc.py .  PASS
======================= Session ended. 1 successful, 0 skipped, 0 failed, 0 erroneous. Total duration: 00:00:01 =======================
root@media_libva_icl2:/home/focus/workspace_focus/hevc_10bit_yuv422/vaapi-fits-full# ./full run test/gst-msdk/decode/10bit/hevc.py --pl ICL -k ADJUST_IPRED_ANGLE_A_RExt_Mitsubishi_2
1 tests collected
test/gst-msdk/decode/10bit/hevc.py .  PASS
======================= Session ended. 1 successful, 0 skipped, 0 failed, 0 erroneous. Total duration: 00:00:01 =======================

Thanks to your reviewing and suggestion, I re-submitted  the patch by using gstreamer to generate the Y210 test asserts (which were generate by my test sources to fill odd width to even width for odd test cases in the pre-patch, but this is not a common method, or it is a incorrect method), and following the generated assert data format to deal the Y210 odd situation test cases and got all unit test cases passed result.
root@media_libva_icl2:/home/focus/workspace_focus/hevc_10bit_yuv422/vaapi-fits# ./vaapi-fits run test/self/formats.py --pl ICL
369 tests collected
test/self/formats.py .................................................................................................................................................................................................................................................................................................................................................................................  PASS
====================== Session ended. 369 successful, 0 skipped, 0 failed, 0 erroneous. Total duration: 00:02:21 ======================
root@media_libva_icl2:/home/focus/workspace_focus/hevc_10bit_yuv422/vaapi-fits# ./vaapi-fits run test/self/formats.py:test_frame_reader_Y210 --pl ICL
9 tests collected
test/self/formats.py .........  PASS
======================= Session ended. 9 successful, 0 skipped, 0 failed, 0 erroneous. Total duration: 00:00:03 =======================

I am merging the patch, Thanks


No service bodies displayed under service bodies tab with new user

Describe the bug
I created another person with BMLT service body admin rights. When I login under their credentials and click on the service bodies tab it doesn't show and service bodies. In the db I have them access to a region and their asc. When I click volunteers it shows all of the service bodies I have loaded in the db.
What version are you running
Latest Unstable
To Reproduce
Steps to reproduce the behavior:

Log in
Click on services bodies

Expected behavior
Should be able to view all of the service bodies the user has access to.
Screenshots

Desktop (please complete the following information):

OS: Windows 10 Pro
Browser Firefox
Version 61.0 64bit

Can you email me your config.php?

I'm guessing it's the same config, if so, send me the credentials for this new user.

Can you also attach a screenshot to the ticket of how the user is set up in the BMLT?

Validating this now, I think it's a bug in the BMLT.

It's a bug with the BMLT, filed as https://github.com/LittleGreenViper/BMLT-Root-Server/issues/12.
I will be working around this issue, and will push a patch shortly.

pushed a patch to latest unstable

@californiasteve have you verified that this is working for you now?

I just tried it and not working.

did you update the software?
if not use this version https://github.com/radius314/yap/archive/83dfcae1a99f843cb27a0baaccb9e0c601d868ae.zip

Yes, went to beta2 a couple of hours ago, do you want me to install this version?

Yes, basically the patch for this came in after beta2 was cut.  This is essentially beta2 + the patch for this bug.

Uploading right now

Works fine, thanks.


Show error if eldestkid changed

this is ready now.
@keybase/react-hackers @MarcoPolo if the eldest kid changed we need to plumb this through as an error. the action bar area will show the right thing if you've tracked them previously. kinda hard to test as you have to track someone then have them do an account reset...

@keybase/react-hackers bump

:thumbsup:


Add cgroup paths and hostname spec opts

Signed-off-by: Michael Crosby<EMAIL_ADDRESS>

Codecov Report

Merging #1307 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1307   +/-   ##
=======================================
  Coverage   33.96%   33.96%
=======================================
  Files          24       24
  Lines        2723     2723
=======================================
  Hits          925      925
  Misses       1598     1598
  Partials      200      200

Continue to review full report at Codecov.

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

@mlaventure updated

LGTM

@mlaventure added it to windows


feat: encryption at rest

Closes #13

A good read: https://soatok.blog/2023/03/01/database-cryptography-fur-the-rest-of-us/
Which this PR will also not resolve some of the core issues ere


Gzip fastq output of bamtofastq

https://github.com/ccmbioinfo/crg2/blob/150cd90f335b06cfd845ebb3c423b1c01e74de1b/wrappers/bedtools/bamtofastq/wrapper.py#L28
Bedtools bamtofastq outputs uncompressed fastqs. We need to add a command to gzip the fastq files output from bamtofastq, otherwise fastqc_screen fails.

duplicate of #48


Bump versions to 2.211.0

Description of proposed changes:
For testnet release
Practical tips for PR review & merge:

[ ] All GitHub Actions report PASS
[ ] Newly added code/functions have unit tests

[ ] Coverage tools report all newly added lines as covered
[ ] The positive scenario is exercised
[ ] Negative scenarios are exercised, e.g. assert on all possible errors
[ ] Assert on events triggered if applicable
[ ] Assert on changes made to storage if applicable

[ ] Modified behavior/functions - try to make sure above test items are covered
[ ] Integration tests are added if applicable/needed

Codecov Report

Merging #760 (1f35673) into dev (55b6d30) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 1f35673 differs from pull request most recent head f440bfc. Consider uploading reports for the commit f440bfc to get more accurate results

@@           Coverage Diff           @@
##              dev     #760   +/-   ##
=======================================
  Coverage   79.97%   79.97%
=======================================
  Files          50       50
  Lines       10056    10056
=======================================
  Hits         8042     8042
  Misses       2014     2014

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


[1.7.10] Crash when assembling rockets

https://pastebin.com/JvfQuEDT
Using AdvancedRocketry-1.7.10-1.2.5-53 and LibVulpes-1.7.10-0.2.7-28-universal

Is this still a issue? Please comment if it is and i will reopen if if you are unable? We are closing old issues to see what is still relevant and needs to be fixed.


BackgroundImage url will be added a '=' at the end of url params when run build

Versions

nuxt: 2.15.3
node: v12.19.0
css-loader: 4.3.0

Steps to reproduce
<template>

</template>

And the run npm run build
What is Expected?
.class-a {
  `background-image: url(http://abc.xyz.jpg/?foo%2Fbar);
}

What is actually happening?
The backgroundImage url params has been encoded to be background-image: url(http://abc.xyz.jpg/?foo%2Fbar=),.
there is a = at the end of the url, that make the image resource is invalid.
Addition
If run npm run dev, that's all right.

@liran319 Could you provide a code reproduction via GitHub or https://template.nuxtjs.org?

Yes, here is the github repo to reproduct it:
nuxt-demo


API Endpoint Incorrect Structure

Describe the bug
The base URL seems to be wrong. It's using https://github.com/api/v3 instead of https://api.github.com.
To Reproduce
Steps to reproduce the behavior:
run gh migrate-releases export --hostname github.com -o <org> --repository <repo> --token <pat>
or sync command
see this output:
  FATAL   Error getting releases: unable to get releases: GET https://github.com/api/v3/repos/<org>/<repo>/releases?per_page=100: 404  []panic:

goroutine 1 [running]:
github.com/pterm/pterm.checkFatal(...)
        github.com/pterm/pterm@v0.12.79/prefix_printer.go:351
github.com/pterm/pterm.(*PrefixPrinter).Printf(0x1149b80, {0xd4ae5c, 0x1a}, {0xc000119b80, 0x1, 0x1})
        github.com/pterm/pterm@v0.12.79/prefix_printer.go:278 +0x1a5
github.com/mona-actions/gh-migrate-releases/pkg/export.CreateJSONs()
        github.com/mona-actions/gh-migrate-releases/pkg/export/export.go:19 +0x14c
github.com/mona-actions/gh-migrate-releases/cmd.glob..func1(0xc00011c200?, {0xd3d985?, 0x4?, 0xd3d989?})
        github.com/mona-actions/gh-migrate-releases/cmd/export.go:47 +0x36f
github.com/spf13/cobra.(*Command).execute(0x114b9c0, {0xc00011b000, 0x8, 0x8})
        github.com/spf13/cobra@v1.8.0/command.go:987 +0xaa3
github.com/spf13/cobra.(*Command).ExecuteC(0x114bca0)
        github.com/spf13/cobra@v1.8.0/command.go:1115 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/cobra@v1.8.0/command.go:1039
github.com/mona-actions/gh-migrate-releases/cmd.Execute()
        github.com/mona-actions/gh-migrate-releases/cmd/root.go:26 +0x1a
main.main()
        github.com/mona-actions/gh-migrate-releases/main.go:9 +0xf

Expected behavior
api.github.com base url structure and no errors
Environment
using gh cli with git bash on windows

hi @vvaths when talking to github.com you don't need to specify the hostname. you would onyl need to run it like this:
gh migrate-releases export -o <org> --repository <repo> --token <pat

the flag --hostname is only used when talking to a GitHub Enterprise Server hostname like github.company.com. Hope this helps.


Can't get bundler to look at correct location for jspm_packages

I am trying to bundle a very basic sample app. Here is screenshot of the folder/file structure with relevant files highlighted for reference:

Here is the relevant part of my gulpfile.js:
var bundleConfig = {
    force: true,
    baseUrl: './wwwroot',
    configPath: './wwwroot/config.js',
    bundles: {
        "with/with-app": {
            includes: [
              '*',
              '*.html!text',
              '*.css!text'
            ],
            options: {
                inject: true,
                minify: true
            }
        },
        "aurelia": {
            includes: [
                "aurelia-framework",
                "aurelia-bootstrapper",
                "aurelia-fetch-client",
                "aurelia-router",
                "aurelia-animator-css",
                "aurelia-templating-binding",
                "aurelia-templating-resources",
                "aurelia-templating-router",
                "aurelia-loader-default",
                "aurelia-history-browser",
                "aurelia-logging-console",
                "bootstrap",
                "bootstrap/css/bootstrap.css!text"
            ],
            options: {
                inject: true,
                minify: true,
                rev: true
            }
        }
    }
};

gulp.task('bundle', function () {
    return bundler.bundle(bundleConfig);
});

When I run gulp bundle I get the following error:
[09:33:23] Error on fetch for<EMAIL_ADDRESS>at file:///C:/Users/Chris<EMAIL_ADDRESS>        Error: ENOENT, open<EMAIL_ADDRESS>    at Error (native)

As you can see from the error message, it is looking for the jspm_packages folder at the ....\With.App path rather than at the ....\With.App\wwwroot path. I tried changing various settings but am having difficulty figuring this out.
Any ideas on next steps? Am I doing something wrong? Thanks for any help you can provide.

@cknightdevelopment Could you check with baseURL set to '.' and let me know again. Creating a small repo with this issue on github for me would be a great help for debugging this issue.

We have a new release for bundler v0.3.0. We now need to add [*.js] explicitly in the bundle config. Please install this version and let us know.


Add Github CI

Use zephyr-west action

@sdorre: What do you think?

I suspect this part messes up caching:
'init "-m https://github.com/endian-albin/pinetime-hypnos"'
The original uses 'init "-l app"', but I could only make it work with the above.

@endian-albin the key thing for the caching to work is to have the "root" of then west base be nested at least one directory from the root of your git repository.
If not, then the west stuff ends up putting the other dependencies outside of the workspace, and that messes everything up.
That's why ZMK puts the actual application under the app subdirectory.
The alternative was to mv a bunch of stuff in the next step after checkout and before the cache restore, to simulate that hierarchy even if it wasn't the hierarchy in the repo.
That could work as well, just complicates understanding the workflow logic and not confusing what is where after each step.

@petejohanson: awesome, thanks. I'll try to reorganize the directories then.

Awesome !
Would it be possible to change the name of the release ?
Something like hypnos-fw or whatever more explicit than artefact ? maybe with a commit hash to differenciate between build ?
It may be an improvement for later, but what about Making releases when creating a tag ?
Or even automatically tag the maser when a PR is merged ? Playing with the commit messages ? (Fix increment only minor version ? And feature increment major version ?)

Awesome !
Would it be possible to change the name of the release ?
Something like hypnos-fw or whatever more explicit than artefact ?

Sure!

maybe with a commit hash to differenciate between builds ?

Do you mean something like hypnos-fw-shortgithash? Sure, but I'd need do learn how to fetch that info first.

It may be an improvement for later, but what about Making releases when creating a tag ?

Yep.

Or even automatically tag the maser when a PR is merged ? Playing with the commit messages ? (Fix increment only minor version ? And feature increment major version ?)

I think that such things would be difficult to automate, but lets start with things that feel natural. A tagged version such as 1.0 would not need the fit commit, but the commit just after this tag could have the short hash appended, or something like that.
Before all this, I'd like to reorganise the repo so as to facilitate caching though. Maybe I should wait doing that as long as we have other open PR's however?

Before all this, I'd like to reorganise the repo so as to facilitate caching though. Maybe I should wait doing that as long as we have other open PR's however?

I don'd mind rebasing during work. If you are motivated. Then let's go. I'll have to wait forever otherwise.

Before all this, I'd like to reorganise the repo so as to facilitate caching though. Maybe I should wait doing that as long as we have other open PR's however?

I don'd mind rebasing during work. If you are motivated. Then let's go. I'll have to wait forever otherwise.

OK then, I will try to move things, but I suspect that it will break the current "getting started" method in the README.  At least everything can be easily backed up.

You can see how we handled our dev setup guide for ZMK where we have the subdirectory: https://zmkfirmware.dev/docs/dev-setup#initialize-west

Progress (or not?) report:

The artifacts archive is now named hypnos-fw-short-githash

I moved the application to a subdirectory and tried to use the west init -l app/ command in the Github Workflow. This wasn't compatible with the somewhat complex Kconfig overlay structure inherited from najnesnaj, however, and lead to the touch sensor driver being unrecognized. I then restored it to west init -m git-repo-url but kept the new directory structure and then it built. I don't know if this fixes caching or not; build time is almost the same every time anyway and not any different compared with the ZMK firmware builds (see their build history under Actions). I've not tried to build this locally since I actually don't wish to have zephyr and modules repos inside this repo. I'm not sure how to proceed.

@sdorre, I fixed all the issues I believe and caching seems to be working. It takes about the same amount of time to build though. I've updated the "getting started" section in the README and did a few other adjustments there while at it. What do you think?

Since we'll soon have P8 hardware support, I made some minor changes preparing for that.

LGTM
Do we have a status on the DS D6 board ? I just saw it on the board folder and was wondering about hat.

Unknown. It was simply inherited from najnesnaj's project.


gvim in windows  fails to  open blowfish3 encrypted file more than 1.2MB

Instructions: Replace the template text and remove irrelevant text (including this line)
Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
A clear and concise description of what is hard to do. Ex. It is difficult to [...] when [...]
(If it is related to runtime files, please check their header for where to discuss enhancements.)
I am using gvim in windows to open an encrypted file, it's about 1.25MB and encryped in blowfish3.
Normally, gvim should notify me to enter the password to decrypted the file,but it not response.
Describe the solution you'd like
A clear and concise description of what you want to happen.
I'd like to feed back this problem and I'm trying another way to decrypt the blowfish3 file. But I'm not good at doing this. Maybe you can help to deal with the problem.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Vim doesn't have "blowfish3" method. Are you talking about blowfish2?
What does :set cryptmethod? show?
And, which version of Vim are you using? Could you show the result of :ver?

Please follow the instructions: "Instructions: Replace the template text and remove irrelevant text (including this line)".
How did you create the file?  Only files encrypted by Vim are supported.

Missing feedback, so closing

Vim doesn't have "blowfish3" method. Are you talking about blowfish2? What does :set cryptmethod? show?
And, which version of Vim are you using? Could you show the result of :ver?

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 12 2019 13:30:17)
MS-Windows 32

:set cryptmethod

:set cryptmethod

And, does it occur when you run gvim with the --clean option?

My computer :
windows x64 with RAM 12GB
gvim version:
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 12 2019 13:30:17)
MS-Windows 32

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 12 2019 13:30:17)

It is almost 4 years old. Please try with the latest version.
https://github.com/vim/vim-win32-installer/releases

Run gvim without --clearn

Then, please try with the --clean option.
If possible, please also share the encrypted file that causes the issue.


Support for Pytorch 1.11?

Hi,
torch.fft() and torch.irfft() are no more functions, those are modules. And there appears to be a lof of modification in the parameters. I am currently trying to combine the two types of features with compact bilinear pooling, do you know how to port this code to pytorch 1.11?

Hi, torch.fft() and torch.irfft() are no more functions, those are modules. And there appears to be a lof of modification in the parameters. I am currently trying to combine the two types of features with compact bilinear pooling, do you know how to port this code to pytorch 1.11?

hello,
use torch.fft.rfft and torch.fft.irfft instead and i guess it should work


Parse predefined and magic constants

Are there any plans to support parsing of predefined and magic constants?

https://www.php.net/manual/en/reserved.constants.php
https://www.php.net/manual/en/language.constants.magic.php

Or would this bloat the parser?

I don't think we do this for any other language in the tree-sitter ecosystem. Do you have a use case in mind?

Do you have a use case in mind?

Syntax highlighting. @constant.builtin is more specific than @constant.

You can do this with a ‘#match?’ predicate in the highlight query. I think we do something similar in the JavaScript highlight query for certain common JavaScript global s.

@maxbrunsfeld Right, just figured that out too (https://github.com/nvim-treesitter/nvim-treesitter/pull/2303/files). I also wasn't aware that node type constant isn't provided by the parser.
I assume that there's a balance between "parse everything" and performance and that's why things like this aren't included in the parser? Or is it just because noone implemented it yet?

Two thoughts:

Should the parser recognize "constant" as its own type of node?

I'd be ok with doing this type of categorization in the parser, but I don't think there's an actual requirement in PHP that constants must be capitalized. It's just a heuristic (most of the time, constants are capitalized). I don't want the parser to include heuristics like this if we can avoid it, but I'm fine with doing it at the syntax highlighting layer.

Should the parser recognize specific built-in constants?

No; that's not the parser's job, and can't really be done efficiently at the parser level. That should be part of the "semantic" layer that builds on  top of the parser.

... but I don't think there's an actual requirement in PHP that constants must be capitalized.

Correct. From here: valid constant names are ^[a-zA-Z_\x80-\xff][a-zA-Z0-9_\x80-\xff]*$.
So if I understand this right treesitter can not really recognize constants (unless with a heuristic like "all uppercase words")? I agree then that using match queries at the highlighting layer is the better option.


[TF 2.0 API Docs] Documentation describes non existing symbol

https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/debugging/check_numerics
This link gives a description of a symbol in a module which is supposed to be at https://github.com/tensorflow/tensorflow/tree/r2.0/tensorflow/python/ops
But the module doesn't seem to exist

@xurror The symbol you are looking will be generated file as it was clearly mentioned in the description as Defined in generated file: python/ops/gen_array_ops.py. There are files that generates this file. Thanks! Please let me know if you are looking for any other details. Thanks!

Automatically closing this out since I understand it to be resolved, but please let me know if I'm mistaken.Thanks!


ODS-11 not detected

File with meta data not detected
Testing D:\ODS1\TestCorpusV2\ODS-11\WithMetaData.ods
APP-1: [INFO] Validating D:\ODS1\TestCorpusV2\ODS-11\WithMetaData.ods.
APP-4: [INFO] Validation report for D:\ODS1\TestCorpusV2\ODS-11\WithMetaData.ods.
DOC-3: mimetype [INFO] OpenDocument MIMETYPE application/vnd.oasis.opendocument.spreadsheet detected
VALID, no errors, no warnings and 1 info message found.

This is no longer on the list of requirements so closing.


Format of HTML document collapses the structural view

VSCode Version: 1.8
OS Version: Windows 7

Steps to Reproduce:

Enter the following code in html document

 Hello there!

Format the document (Alt+Shift+F)
It provides following format.

 Hello there!

Format document is properly working for me on v1.7.2 which I have in my another machine.

Can confirm similar issues, e.g.

is formatted fine. When adding a style attribute to the container div, the result is not properly intended:

@mjamin Yes that's right.

Seems that the style tag is breaking HTML formatting after the element it's used on, whatever element it's used on (even on custom elements).

duplicate of #17849


Add 3rd party instrumentation for Go database/sql from @XSAM

I think this may have caused opentelemetry.io to become unavailable due to a formatting issue in this PR. I'm going to try rolling it back.


Integrate Figma pages for the design library with Storybook

Problem

The Figma file which guides the Storybook is currently separate from the Storybook where we build and test our components. There should be 1-1 mapping of stories and their design in the Figma file.
Description

The goal is to setup the Stoybook-Figma integration so that the stories can be linked to their Figma mockups. The storybook-addon-designs addon provides support for linking each story to a board/entity in Figma.
Additional context

Figma has a nice writeup about this that explains how to use a Storybook addon to link the two tools on a per-story basis.
Implementation

[ ] 🙋 I would be interested in implementing this feature.

Marked as blocked as the Storybook is not enabled yet (#4728), removed "help wanted" labels because the issue description will need to be updated to match the new Storybook setup.


new geocoding module

PR adds a new geocoding module that replaces current boundaries module and includes functions:

geocode_to_gdf (replaces current gdf_from_place and gdf_from_places functions)
geocode (moved from current location in utils_geo module)

All moved/replaced functions are being deprecated with a user warning.

Coverage decreased (-1.3%) to 91.219% when pulling e039471093c7b573c637e7e3462f16a178a079d1 on feature into 1633b83ed6fcd1021889ecd867581a5400aa6a2d on master.


Online version is wrong at first start

When starting the application for the first time, the online version displayed is wrong.
I don't know why this happens, a restart fixes it permanently.

fixed in commit 212dd59


Ask user for confirmation before marking all feeds as read

Fixes https://github.com/newsboat/newsboat/issues/1006

Coverage decreased (-0.02%) to 57.539% when pulling 128910beb14c7bd814d55bb2acd21f2825805615 on dennisschagt:bugfix/issue-1006 into d44970b584eaa43cfd119feba8ed8f3cf940a3c9 on newsboat:master.


Can Not Start Calico Node on v6.0.0

When I using this command to start a node
sudo calicoctl node --libnetwork

It returns that
No IP provided. Using detected IP: <IP_ADDRESS>
Unexpected error executing command.

Traceback (most recent call last):
  File "<string>", line 102, in <module>
  File "/code/build/calicoctl/out00-PYZ.pyz/calico_ctl.node", line 175, in node
  File "/code/build/calicoctl/out00-PYZ.pyz/calico_ctl.node", line 219, in node_start
  File "/code/build/calicoctl/out00-PYZ.pyz/calico_ctl.node", line 408, in warn_if_hostname_conflict
TypeError: object of type 'NoneType' has no len()

It seems that in the function warn_if_hostname_conflict docker_client.containers(filters={'name': 'calico-node'}) returned a None.
I'm Using Centos 7 and docker-1.9experiments, and the calicoctl version is v6.0.0. Can someone help me to resolve this issue.  :bow:

Hi @ninjadq
Thanks for bringing up this issue.  I'm looking into it now, and I've just reproduced the problem locally.  I'll keep you updated on a fix for this when I've made more progress.

I reproduced this earlier using the latest Docker experimental.  When I use an older version of Docker experimental, I don't see this issue, so it seems that some Docker commit has changed the return value for this call.
I've made a fix for this in PR #487.  For now, you can clone the repository once the change is in and run sudo make binary to create the calicoctl binary at /path/to/calico-docker/dist/calicoctl.
Keep an eye out for a potential release this week as well, which will contain the fix.

Fixed by #487


[Doc]fix broken links[skip ci]

Signed-off-by: liyuan<EMAIL_ADDRESS>the markdown failure is because the link has an additional "
fix the broken link in getting-started-workload-qualification.md

build


Project references?

Hi,
are there any project references, e.g. any webpages already using your framework?
As i saw on bitbucket you are developing it since a few years and it also seems to be well tested.
I would appreciate to see some real world production environments to get an insight how different developers use it.

I can show you my Ely.by project. For example in my profile, skins.

Wow, pretty cool, especially the profile view.
I also like your cube loading animation. ;-)
As i do not understand cyrillic language, it seems to be kind of a forum or social network, am i right?
Do you have some experience with normal angular.js?
What benefits of angular-light do you see in contrast to angular.js?
I am asking because i want to discuss with my colleagues to use this project, i see some benefits, but i need some more "facts" to convince them.
I think i'll give it a try, so my next personal project will be "alightened". :-D

I would gladly describe all the charm of Angular light before his big brother, but how did you understand I speak Russian, and I myself from Belarus, so I used Google Translate, to write this message and all in all I could not express my thoughts in English, sorry.
In short, the Angular light - it's not a framework, but simply a library that bears the same idea Angular, but does not impose it - you can implement any component itself, as you and your project need it.
Work outside the stack Angular very difficult (impossible?). Work outside the stack Angular light easier than ever - you can impose on the scope of any piece of html code.
Angular light is much easier to learn, because you have a basic controller, model and directives and further you have to develop their own services as you need it, and not like Angular guys decided.

Nowadays Angularjs has not the best of times, it can be difficult for beginners, version 1.x is going to die (Angular.js 2.0 is not compatible with 1.x), Angular 2.0 has no certainty (the developers have changed a main language, there is no release date, what browsers will be supported and so on), one of angularjs core team left the project, also many other frameworks have appeared.
I used Angular.js, and sometimes I had different problems - I think you know this image http://hsto.org/getpro/habr/comment_images/b4f/e8b/66c/b4fe8b66c2aecccf55ab897115878b51.png
when I started using Angular Light, my speed of development accelerated.
The most important, Angular Light lets you make own architecture of application, own services, factories and so on, Angular Light is more flexible than original. Also there are number of helpful features like text-directives, inheritance of directives, namespaces, private directives and so on, which Angular.js doesn't have. Besides this Angular Light supports Object.observe.

Hi Oleg,
thank you for your explanations.
I also had the "learning curve" of ups and downs with plain AngularJS and i understand the benefits and flexibility of your framework.
I have some open questions, so i think it would be useful to label this issue as question:

Is Angular Light compatible to zepto.js (http://zeptojs.com/)?
Are JavaScript dom events propagated to parent dom elements?
Can i create custom events that can be bound to a dom node? An example would be great.
How to autostart the bootstrap correctly? In jsfiddle i have problems to get it started (i used al-app on the container div), i can only call the bootstrap method manually to get it running.
I did not find an example for translation handling - do i have to implement it myself? I would prefer to use a text-directive, is this right?
Is there support for ajax calls built in?

And last but not least a question to answer it would be very helpful to have a small example:
How would you generate e.g. a form dynamically? Is the dom event binding dynamic?
I would like to insert dynamic content into the dom and want to bind all al-events of the inserted content.
Thank you for your support,
Reiner

Is Angular Light compatible to zepto.js (http://zeptojs.com/)?

I think, there is no problems.

Are JavaScript dom events propagated to parent dom elements?
Can i create custom events that can be bound to a dom node? An example would be great.

You work with native DOM, so you can do what DOM supports.

How to autostart the bootstrap correctly? In jsfiddle i have problems to get it started (i used al-app on the container div), i can only call the bootstrap method manually to get it running.

For jsfiddle I usually set option "no wrap - in head" - it launches my code before start.
A few ways to bind a model to the DOM

I did not find an example for translation handling - do i have to implement it myself? I would prefer to use a text-directive, is this right?

I used filters for translation {{ 'some text' | translate }}, but text-directives can give you more, for example - receive result from server/google-translate.

Is there support for ajax calls built in?

alight.f$.ajax for inner purpose, but I prefer to use jQuery.get/post.

How to autostart the bootstrap correctly? In jsfiddle i have problems to get it started (i used al-app on the container div), i can only call the bootstrap method manually to get it running.

For jsfiddle I usually set option "no wrap - in head" - it launches my code before start.

"no wrap - in head" was the missing configuration option.

Is there support for ajax calls built in?

alight.f$.ajax for inner purpose, but I prefer to use jQuery.get/post.

Would it be possible to document such inner methods? Or do you prefer to keep them "hidden" from the developer to have the ability to change them?
Thank you for your answers, i try to migrate my current project now to Angular Light. :-)
I just take a look to your personal cv on your website and i see you started using Basic. I also started  by using Visual Basic and i think Basic might be a reason why we both like CoffeeScript. ;-)
Thanks for your time!

alight.f$

I'm not going to change it, but it doesn't look as well as jQuery.  $(element).addClass('one') vs f$.addClass(element, 'one'), on the other hand f$ is much faster than jQuery.


Python artifacts build is broken on master

https://source.cloud.google.com/results/invocations/9f530d78-3f3b-4490-9258-ab0f62f1f3ed/targets/github%2Fgrpc/tests
This is happening on multiple configurations for 100% of the builds.

Probably a dupe of https://github.com/grpc/grpc/issues/15361


fix: make make programFspConfigId nullable in relations AB#32262

AB#32262
Describe your changes

Checklist before requesting a review

[ ] I have performed a self-review of my code
[ ] I have added tests wherever relevant
[ ] I have made sure that all automated checks pass before requesting a review
[ ] I do not need any deviation from our PR guidelines

I think we should wait for this task before we merge this.


Reset time

Hi.
first of all, really nice job!
I have a situation where i need to save the time in database, then reset the value to 0
this is my code
`  		setInterval(function () {
        var currentTime = TimeMe.getTimeOnCurrentPageInSeconds().toFixed(2);
            $.post("/admin/user_times", {time: currentTime, user_id: user_id}, function(data, status){
                TimeMe.resetRecordedPageTime('home-page');
                console.log('aici:' + currentTime);
            });

        }, 5);

    }, 5000);`

But after saving the time, i get undefined and "Uncaught TypeError: Cannot read property 'toFixed' of undefined"
What i'm doing wrong?
Thanks!

Thanks! So sorry for the long reply. Is TimeMe.getTimeOnCurrentPageInSeconds().toFixed(2); throwing the 'cannot read property toFIxederror? This implies thatgetTimeOnCurrentPageInSecondsis returning undefined. This is most likely happening if you never called theinitialize()function of TimeMe, which is required before being able to retrieve time on page. Are you callinginitialize`?


PDF export does not display emojis.

If I include emojis like 😊, they are not displayed in the generated PDF file. This happens if I just add it as text but also if the emoji is nested in an Appear-block or inside an SVG file.

Sorry for the delay! I'm not really sure what was happening (might have been an issue with Puppeteer), but emoji seem to work in PDF export in v2 so closing this out for now


SkiaSharp.Extended.UI

SkiaSharp.Extended.UI extensions added

SkiaSharp.Extended.UI extensions added


Add some missing options (fixes #27)

Unfortunately this.get('container')doesn't work, since 'container' seems to be a reserved expression so I decided to call the attribute widgetContainer instead.

Wow! Looks great @minimalweb! Thank you very mush for you help :+1:


[Feature]: Allow buttons in Template card

Requirements

[X] I have updated Mushroom to the latest available version
[X] I did a search to see if there is a similar issue or if a pull request is open.

Is your feature request related to a problem?
I would like the possibility to add buttons with custom actions in mushroom-template-card.
When we create a template card, we can customize all properties to have the look and feel of the other cards, but with custom data. It would be interesting to also be able to define actions.
Describe the solution you'd like
The solution should be something along the line of defining the action through yaml, like this:
- type: custom:mushroom-template-card
  entity: sensor.xyz
  primary: '{{ state_attr(entity, ''friendly_name'') }}'
  secondary: '{{ states(entity) }}' XY
  icon: |
    {% set target=state_attr(entity, 'temperature') %}
    {% set current=state_attr(entity, 'current_temperature') %}
    {% if current < target %}
      mdi:thermometer-chevron-up
    {% else %}
      mdi:thermometer-chevron-down
    {% endif %}
  icon_color: |-
    {% set state=states(entity) %}
    {% if state=='heat_cool' %}
      var(--rgb-orange)
    {% elif state=='heat' %}
      var(--rgb-red)
    {% else %}
      var(--rgb-disabled)
    {% endif %}
  tap_action:
    action: call-service
      service: browser_mod.more_info
      service_data:
        entity_id: sensor.xyz
        deviceid:
          - this
  # new feature starts here:
  actions:
    - type: action
      icon: mdi:fan-speed-1
      tap_action:
        action: call-service
        service: fan.set_fan_speed
        service_data:
          entity_id: entity.xxx
          fan_speed: Silent
    - type: action
      icon: mdi:fan-speed-2
      tap_action:
        action: call-service
        service: fan.set_fan_speed
        service_data:
          entity_id: entity.xxx
          fan_speed: Standard
    - type: action
      icon: mdi:fan-speed-3
      tap_action:
        action: call-service
        service: fan.set_fan_speed
        service_data:
          entity_id: entity.xxx
          fan_speed: Strong
    - type: conditional
      conditions:
        - entity: binary_sensor.xxxyyyzzz
          state: 'on'
      action:
        icon: mdi:weather-windy
        tap_action:
          action: call-service
          service: fan.set_fan_speed
          service_data:
            entity_id: entity.xxx
            fan_speed: Turbo

This code would produce a card with three or four buttons depending on the state of the entity.
Describe alternatives you've considered
Actions can be defined just like chips, that is:
  # An action allows you to perform a Home Assistant action (navigate, call-service, etc...).
- type: action
  icon: mdi:thermometer-lines
  tap_action:
    (...)

  # A conditional action allows you to display another action based on state.
- type: conditional
  conditions:
    (...)
  action:
    type: (...)
      (...)

  # An entity action allows you to toggle entity state.
- type: entity
  icon: mdi:power
  entity: switch.xyz

  # An light action allows you to toggle light on/off.
- type: light
  icon: mdi:ceiling-light-multiple
  entity: light.xyz

Additional context
No response

Really good idea, now it is only achievable by vertical stack-in-card.

type: custom:vertical-stack-in-card
cards:
  - type: custom:mushroom-template-card
    entity: light.living_room_3
    icon_type: icon
    icon: mdi:television
    icon_color: disabled
    fill_container: false
    secondary_info: state
    primary: Living room
    secondary: '{{ states(''sensor.living_room_temperature'') | round(1) }} °C '
    tap_action:
      action: navigate
      navigation_path: /lovelace-mobile/living-room
    multiline_secondary: false
    badge_color: |-
      {% if is_state('switch.living_room_sensor_motion', 'off') %}
        disabled
      {% elif states('binary_sensor.living_room_all_motions_sensor') == 'on' %}
        red
      {% else %}
        disabled
      {% endif %}
    badge_icon: |-
      {% if is_state('switch.living_room_sensor_motion', 'off') %}
        mdi:motion-sensor-off
      {% elif states('binary_sensor.living_room_all_motions_sensor') == 'on' %}
        mdi:motion-sensor
      {% endif %}
    hold_action:
      action: none
    double_tap_action:
      action: none
  - type: custom:mushroom-chips-card
    alignment: center
    chips:
      - type: light
        entity: light.living_room_3
        content_info: none
        icon_color: orange
        card_mod:
          style: |
            ha-card {
              {% if is_state('light.living_room_3', 'on') %}
                --chip-background: rgba(var(--rgb-orange), 0.15);
              {% endif %}
            }
      - type: template
        entity: climate.living_room
        icon: mdi:fire
        double_tap_action:
          action: none
        tap_action:
          action: more-info
        hold_action:
          action: call-service
          service: climate.set_hvac_mode
          data:
            hvac_mode: auto
          target:
            entity_id: climate.living_room
        icon_color: |-
          {% if state_attr("climate.living_room", "hvac_action") == "heating" %}
           red
          {% endif %}
        card_mod:
          style: |
            ha-card {
              {% if is_state('climate.living_room', 'auto') %}
                --chip-background: rgba(var(--rgb-green), 0.15);
              {% elif is_state('climate.living_room', 'heat') %}
                --chip-background: rgba(var(--rgb-red), 0.15);
              {% endif %}
            }
      - type: template
        entity: climate.living_room_air_cond
        icon: mdi:snowflake
        double_tap_action:
          action: none
        tap_action:
          action: more-info
        hold_action:
          action: call-service
          service: climate.set_hvac_mode
          data:
            hvac_mode: 'off'
          target:
            entity_id: climate.living_room_air_cond
        icon_color: |-
          {% if states("climate.living_room_air_cond") == "heat_cool" %}
           green
          {% elif states("climate.living_room_air_cond") == "heat" %}
           red
          {% elif states("climate.living_room_air_cond") == "cool" %}
           blue
          {% endif %}
        card_mod:
          style: |
            ha-card {
              {% if states("climate.living_room_air_cond") == "heat_cool"
              %}
               --chip-background: rgba(var(--rgb-green), 0.15);
              {% elif states("climate.living_room_air_cond") ==
              "heat" %}
               --chip-background: rgba(var(--rgb-red), 0.15);
              {% elif states("climate.living_room_air_cond") ==
              "cool" %}
               --chip-background: rgba(var(--rgb-blue), 0.15);
              {% endif %}
            }
    card_mod:
      style: |
        ha-card {
          margin-bottom: 12px;
          --chip-background: rgba(var(--rgb-grey), 0.1);
          --chip-border-radius: 12px;
          --chip-height: 40px;
        }

I've been doing this a lot with paper-buttons-row and stack-in-card. Would love to see custom buttons supported.

@mikedrawback that looks great, mind sharing the yaml?

@NickChristensen here is the YAML for that kitchen lights card. The most you can fit on the right side is probably 4 buttons.
type: custom:stack-in-card
cards:
  - type: grid
    columns: 2
    square: false
    cards:
      - type: custom:mushroom-light-card
        entity: light.kitchen
        name: Kitchen
        icon: mdi:light-recessed
        use_light_color: false
      - type: custom:paper-buttons-row
        preset: mushroom
        styles:
          justify-content: flex-end
        base_config:
          styles:
            button:
              margin-top: 12px
              margin-right: 12px
        buttons:
          - entity: light.kitchen_counter
            layout: icon
            icon: mdi:faucet-variant
            tap_action:
              action: toggle
          - entity: light.kitchen_range_lights
            layout: icon
            icon: mdi:stove
            tap_action:
              action: toggle
          - entity: switch.kitchen_counter
            layout: icon
            icon: mdi:knife
            tap_action:
              action: toggle
          - layout: icon
            icon: mdi:view-list
            tap_action:
              action: navigate
              navigation_path: /lovelace-mobile/kitchen-lights

Any updates on this feature? I don't feel good enough at web development to add this myself but I think it shouldn't be that difficult as there is already mushroom-button with the right styles. We just need a way to add those elements to the template specifying an icon, color, action and style (to get the horizontal appearance like we get for covers or climates).  It would be very useful to group different entities in a single card, e.g. climate + button controlling it's quiet mode. Additional accessories like number selectors/sliders would be nice too in the future.

This feature can be found natively in many cards.
Still missing as part of the template 😔.


AMBARI-23541. Sometimes host checks never complete.

What changes were proposed in this pull request?
Simple implementation of actor-like system for reports processing. Now reports from same host are always processed in same thread.
How was this patch tested?
Manual testing.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1780/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1784/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1790/
Test FAILed.
Test FAILured.


HTTP Streaming connection

I am trying to use Guzzle to create a http streaming connection (comet keep-alive) but I don't know how to keep the connection open and wait for the data streams to arrive. My current solution uses fsockopen which writes the data using POST and wait for the stream while(!ptr->eof).
Is there a way to achieve this using Guzzle?

What happens when you try to make the call right now with Guzzle? Does it timeout, or just not wait for any data at all?

The function did not get the buffer or body.
Is the below function correct to use for this purpose?
// Send an asynchronous request.
$request = new \GuzzleHttp\Psr7\Request('POST', 'http:/myurl.com');
$promise = $client->sendAsync($request)->then(function ($response) {
echo 'Buffer:  ' . $response->getBody();
});
$promise->wait();

Guzzle doesn't have any explicit promise to support Comet connections. Other people have claimed that they have been able to use curl with Comet, so it's possible it's supported, but perhaps with some minor curl option tweaks.
I'll go ahead and close this issue, but please circle back and update this thread if you are able to figure it out.


The app built from source cannot use

Describe the bug
I try to build the app from source(on windows), it succeed. Howvever on the initial screen, when I
click connect account, it opens up the local computer.
Expected behavior
It is expected to open the github connection link.
To Reproduce
How can we reproduce the bug? Helpful information could include:

Details about your system: windows
The data that you had indexed
The query that you ran

Screenshots or output
If applicable, add screenshots to help illustrate the bug.
Additional context
Add any other context about the problem here.

Why is this step not required for downloaded version? I still don't know how to operate that

Is that what you're talking about?

Correct, this is one file you can use, and I think it will make it into the bundle. For the binary version we already set up the configs during the CI process, so you don't need to deal with this.

I did this, but after the compilation, I still had the same problem as before.

Who can help me solve this problem?

Can you please go through what steps and exact commands you used to build?

I just use npm run start-app to start the app, and I follow your advice to put the config under src-tauri

It failed

You can now build and run bloop from source without providing these credentials. Instructions here: https://github.com/BloopAI/bloop?tab=readme-ov-file#building-from-source


update feedreader deps

5.x do not work on m1 mac.
tested on my m1 mac

#18
#22

To anyone who wants to use this lib but can't install, you can force the dependencies to be a specific version this way:
python -m pip install "beautifulsoup4==4.9.1"
python -m pip install "dateparser==0.7.6"
python -m pip install "requests==2.24.0"
python -m pip install "feedparser==6.0.8"
python -m pip install --no-deps pygooglenews

This should work. (If it doesn't, check if the versions have changed in pyproject.toml for some reason)

To anyone who wants to use this lib but can't install, you can force the dependencies to be a specific version this way:

Sticking to old versions is not very wise, especially when it comes to parsing input data. Those libs regularly do security fixes.

To anyone who wants to use this lib but can't install, you can force the dependencies to be a specific version this way:

Sticking to old versions is not very wise, especially when it comes to parsing input data. Those libs regularly do security fixes.

Thanks for your preoccupation. Using a not-maintained library is itself not a wise decision. But in my use case, where poor security isn't really a problem with what I'm doing, I just needed to make the library work. Anyway, this is a nice warning to future people.