Opener - Ring suppression switch?

Hey :) Is there a way to create a switch that can toggle the ring suppression on the Nuki Opener?

only if there's an (open) API for that

Seems like there is one:
https://api.nuki.io/#/Smartlock/SmartlockOpenerAdvancedConfigResource_post_post
/smartlock /{smartlockId} /advanced/openerconfig
{
  "doorbellSuppression": 0,
  "doorbellSuppressionDuration": 0,
}

thanks for sharing the info.
what's your use case for home automation? do you change those settings regularly?

yeah, we would like to mute the ringer overnight / based on other conditions because the ringer is extremely loud

I really like this option too.
Maybe in the same line, with the lock service for the opener we can control de "ring to open" state but there is no option for the "continous mode". If I can have that option integrated in HA then I don't need the Nuki App anymore :)

One method for continuous mode in HA is to setup a automation as Trigger: Intercom ring and Action: Open Intercom.
Would love the ringer control. Muting and adjusting volume would be great e.g., decrease ringer sound if intercom gets pressed 5 times within 10s.

Hi, I wanted to make a helper in HA to turn the Ring suppression on and off, too.
@IrealiTY did it work out for you? If yes, how did you do it? I`m not quite sure how to use the API "doorbellSuppression": 0.
Can you maybe help me here?

I did not play around with direct calls to the API myself yet

Does this work at the moment? I am looking for a solution to suppress the ring when the baby is at sleep.
I can trigger the baby sleep with an automation, but I don't know a solution to suppress the ring.
The Nuki could be a solution if this function will work. My wife would be very happy :) and I am also, because I got the Legitimation to buy a Nuki.

Not with this integration, but it is possible.
https://developer.nuki.io/t/opener-set-ring-suppression-automatically-on-a-given-schedule/13534

Thanks for the link! Where you able to make it work? I must say I´m not sure what to do, to get this to work.

At the moment I do not own a nuki nor a opener.
I am just looking if the system would be able to fulfill my needs.

hi folks,
I can help with that, but:

I have no opener in my setup, so someone should help with testing
It's a Web API, so Web token will be mandatory to have those entities
Additionally it will only work via internet, so no local stuff via bridge, etc.

I'll gladly help to test it :)
Do you think in the future it will be possible to have it local? Or some API endpoints web api only?

for those who would like to test, please install the 0.3.6 version, it adds Auto lock and Ring suppression switches. Web API token is required for that

I updated to version 0.3.6 rebooted but can't see any new switches in Web API or in the opener. Am I looking at the right spot? Anything else I need to do, or need to try?

New switches isn't part of Web API, but a part of Lock/Opener device

Can't find them. Maybe someone else can confirm if it works. Maybe I'm just to dumb. :)

Well, I don't have the opener to actually test it.
Can you execute the following command from console and post the output (redacted):
curl -H "Authorization: Bearer: <your web API token>" "https://api.nuki.io/smartlock"

please hold on. there's a bug

@IrealiTY please upgrade to 0.3.7 and re-test. The bug should be fixed now

I also don’t see the ring suppression in homeassistant. Just updated to 0.3.7

@Se7enair then I will need your Web API response to debug it, as mentioned above

Just updated, no Ring Suppression in the settings, decided to test it by removing the integration and re-doing the setup. But that didn't add the option either.
Here is the curl result:
[
  {
    "smartlockId": xxxxx,
    "accountId": xxxxxx,
    "type": 2,
    "authId": xxxxx,
    "name": "House Opener",
    "favorite": false,
    "config": {
      "name": "House Opener",
      "latitude": xxxxx,
      "longitude": xxxxx,
      "capabilities": 1,
      "pairingEnabled": false,
      "buttonEnabled": true,
      "ledEnabled": true,
      "timezoneOffset": 0,
      "daylightSavingMode": 0,
      "fobPaired": false,
      "fobAction1": 7,
      "fobAction2": 0,
      "fobAction3": 0,
      "operatingMode": 6,
      "advertisingMode": 0,
      "keypadPaired": false,
      "homekitState": 0,
      "timezoneId": 37
    },
    "openerAdvancedConfig": {
      "intercomId": 0,
      "busModeSwitch": 0,
      "shortCircuitDuration": 0,
      "electricStrikeDelay": 0,
      "randomElectricStrikeDelay": false,
      "electricStrikeDuration": 10000,
      "disableRtoAfterRing": false,
      "rtoTimeout": 20,
      "doorbellSuppression": 0,
      "doorbellSuppressionDuration": 500,
      "soundRing": 3,
      "soundOpen": 0,
      "soundRto": 0,
      "soundCm": 0,
      "soundConfirmation": 1,
      "soundLevel": 255,
      "singleButtonPressAction": 1,
      "doubleButtonPressAction": 4,
      "batteryType": 1,
      "automaticBatteryTypeDetection": false,
      "autoUpdateEnabled": true
    },
    "state": {
      "mode": 2,
      "state": 1,
      "trigger": 0,
      "lastAction": 3,
      "batteryCritical": false,
      "keypadBatteryCritical": false,
      "doorsensorBatteryCritical": false,
      "doorState": 0,
      "ringToOpenTimer": 0,
      "nightMode": false
    },
    "firmwareVersion": 67585,
    "hardwareVersion": 1041,
    "serverState": 0,
    "adminPinState": 0,
    "virtualDevice": false,
    "creationDate": "2021-07-13T17:27:33.255Z",
    "updateDate": "2022-08-25T08:24:35.364Z",
    "subscriptions": []
  }
]

Updated to 0.3.7 Auto lock is available now. Ring Suppression not.

[{"smartlockId":xxx,"accountId":xxx,"type":2,"authId":xxx,"name":"xxx","favorite":false,"config":{"name":"opener","latitude":xxx,"longitude":x,"capabilities":1,"pairingEnabled":true,"buttonEnabled":true,"ledEnabled":true,"timezoneOffset":0,"daylightSavingMode":1,"fobPaired":false,"fobAction1":7,"fobAction2":0,"fobAction3":0,"operatingMode":1,"advertisingMode":0,"keypadPaired":false,"homekitState":0,"timezoneId":37},"openerAdvancedConfig":{"intercomId":0,"busModeSwitch":0,"shortCircuitDuration":0,"electricStrikeDelay":0,"randomElectricStrikeDelay":false,"electricStrikeDuration":3000,"disableRtoAfterRing":true,"rtoTimeout":20,"doorbellSuppression":2,"doorbellSuppressionDuration":500,"soundRing":1,"soundOpen":0,"soundRto":0,"soundCm":0,"soundConfirmation":1,"soundLevel":150,"singleButtonPressAction":7,"doubleButtonPressAction":1,"batteryType":0,"automaticBatteryTypeDetection":true,"autoUpdateEnabled":true},"state":{"mode":2,"state":1,"trigger":1,"lastAction":2,"batteryCritical":false,"keypadBatteryCritical":false,"doorsensorBatteryCritical":false,"doorState":0,"ringToOpenTimer":0,"nightMode":false},"firmwareVersion":67585,"hardwareVersion":1041,"serverState":0,"adminPinState":0,"virtualDevice":false,"creationDate":"2022-08-25T04:37:17.299Z","updateDate":"2022-08-26T16:46:16.003Z","subscriptions":[{"type":"B2C","creationDate":"2022-08-25T04:37:17.791Z"}]}]

Please try version 0.3.10

`Logger: homeassistant
Source: custom_components/nuki_ng/sensor.py:94
Integration: Nuki Lock (documentation, issues)
First occurred: 09:03:24 (167 occurrences)
Last logged: 10:29:24
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 151, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 110, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 348, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 532, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 570, in _async_write_ha_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 538, in _stringify_state
if (state := self.state) is None:
File "/config/custom_components/nuki_ng/sensor.py", line 98, in state
return self.native_value
File "/config/custom_components/nuki_ng/sensor.py", line 94, in native_value
return self.data.get("bridge_info", {}).get("rssi")
AttributeError: 'NoneType' object has no attribute 'get' `

Source: custom_components/nuki_ng/nuki.py:39
Integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 21:33:12 (1 occurrences)
Last logged: 21:33:12

[139726526326256] Http response for https://api.nuki.io/smartlock/9095667026/advanced/openerconfig: 400 Bad Request
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 199, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1713, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1750, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 676, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 930, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 713, in _handle_entity_call
    await result
  File "/config/custom_components/nuki_ng/switch.py", line 142, in async_turn_on
    await self.coordinator.update_config(self.device_id, "openerAdvancedConfig", dict(doorbellSuppression=new_value))
  File "/config/custom_components/nuki_ng/nuki.py", line 531, in update_config
    await self.api.web_update_config(self.web_id(dev_id), name, obj)
  File "/config/custom_components/nuki_ng/nuki.py", line 314, in web_update_config
    await self.web_async_json(
  File "/config/custom_components/nuki_ng/nuki.py", line 184, in web_async_json
    return await self.async_json(
  File "/config/custom_components/nuki_ng/nuki.py", line 39, in async_json
    raise ConnectionError(f"Http response for {response.request.url}: {response.status_code} {response.reason}")
ConnectionError: Http response for https://api.nuki.io/smartlock/9095667026/advanced/openerconfig: 400 Bad Request```

I got the same Error 400 when trying to set the suppression via RESTcommand???

I got the same Error 400 when trying to set the suppression via RESTcommand???

Is that a statement or a question?

A statement and a question.
Is the problem related to me, when I got the same error with REST or is it random?

I need someone who can debug the issue using either Nuki 3.0 and/or Opener devices.
As discovered in other thread, device IDs for Bridge and Web APIs do not match for those devices. 0.3.10 introduces a special mapping to make sure that hybrid more works, but it looks like not every API endpoint behaves the same way.
I personally experience none of such issues, my device is Nuki 2.0 Lock and device IDs simply match for both APIs, that's why I can't easily fix the problem

I am using a Nuki 2.0 too, but I have a opener. So tell me what to do.
But, I looked around a little bit. Does the ring suppression uses the advanced web api? The integration is using the "normal" api at the moment, right?

Does the ring suppression uses the advanced web api?
No, despite its name, advanced config update isn't the part of their advanced APIs. In my case Auto lock entity update works without any exception.

So, what has to be verified, as a first step:
First, you should know how to call both bridge and web API from console, using curl or Postman from GUI.

Check that nuki_ng correctly detects web device ID in hybrid mode (both web and bridge tokens configured): in nuki_ng, bridge device ID is nukiId and web device ID is webId
Check that nuk_ng uses correct ID when it calls respective APIs. I don't think that bridge API calls are affected anyhow, but, in the stack trace above https://api.nuki.io/smartlock/xxx/advanced/openerconfig xxx should be web ID, not bridge ID
Same for the lock actions. 404 means the ID is probably wrong, we need to understand which ID is being used

I know how tu use a terminal, but this is not on my scope. Can you explain how to make that call?

Does this help?
There seems to be a prefix for the opener in the webapi
https://developer.nuki.io/t/nuki-opener-different-smartlock-id-in-bridge-api-compared-to-web-api/3195

Yes, I'm aware of this, and this conversion has been recently implemented. So IDs should be different for bridge and web APIs. We just need to make sure that they're correct

Then I just need support in doing the call to debug this.

@Se7enair actually you don't need curl (yet) to debug it.
Just enable debug output if not enabled yet for the nuki_ng integration and you should be able to find all the data in the hass log

Does the ring suppression uses the advanced web api?
No, despite its name, advanced config update isn't the part of their advanced APIs. In my case Auto lock entity update works without any exception.

So, what has to be verified, as a first step: First, you should know how to call both bridge and web API from console, using curl or Postman from GUI.

Check that nuki_ng correctly detects web device ID in hybrid mode (both web and bridge tokens configured): in nuki_ng, bridge device ID is nukiId and web device ID is webId
Check that nuk_ng uses correct ID when it calls respective APIs. I don't think that bridge API calls are affected anyhow, but, in the stack trace above https://api.nuki.io/smartlock/xxx/advanced/openerconfig xxx should be web ID, not bridge ID
Same for the lock actions. 404 means the ID is probably wrong, we need to understand which ID is being used

The trace shows the correct ID. I calculated it from HEX to DEC with the openerID from the app and "2" as a prefix.

I got all the IDs. I only see this if I chane the state of the ring suppression
2022-08-29 13:16:54.430 DEBUG (MainThread) [custom_components.nuki_ng.nuki] Updating config: openerAdvancedConfig: {'doorbellSuppression': 2} = {'intercomId': 0, 'busModeSwitch': 0, 'shortCircuitDuration': 0, 'electricStrikeDelay': 0, 'randomElectricStrikeDelay': False, 'electricStrikeDuration': 3000, 'disableRtoAfterRing': True, 'rtoTimeout': 20, 'doorbellSuppression': 2, 'doorbellSuppressionDuration': 500, 'soundRing': 0, 'soundOpen': 0, 'soundRto': 0, 'soundCm': 0, 'soundConfirmation': 1, 'soundLevel': 150, 'singleButtonPressAction': 7, 'doubleButtonPressAction': 1, 'batteryType': 0, 'automaticBatteryTypeDetection': True, 'autoUpdateEnabled': True}
2022-08-29 13:16:54.530 DEBUG (MainThread) [custom_components.nuki_ng.nuki] async_json: http status: 204 -
2022-08-29 13:16:54.530 DEBUG (MainThread) [custom_components.nuki_ng.nuki] Manually updated nuki_ng data
File "/config/custom_components/nuki_ng/switch.py", line 146, in async_turn_off
File "/config/custom_components/nuki_ng/nuki.py", line 532, in update_config
File "/config/custom_components/nuki_ng/sensor.py", line 98, in state
File "/config/custom_components/nuki_ng/sensor.py", line 94, in native_value

2022-08-29 13:16:54.530 DEBUG (MainThread) [custom_components.nuki_ng.nuki] async_json: http status: 204 -

yeah, 204 here means that the command was accepted.
Do you also have a bridge?
We obviously don't know when bridge will synchronize its state with web and device
You earlier reported that you were getting 400 on that command. Not a case anymore?

2022-08-29 13:16:54.530 DEBUG (MainThread) [custom_components.nuki_ng.nuki] async_json: http status: 204 -

yeah, 204 here means that the command was accepted. Do you also have a bridge?
We obviously don't know when bridge will synchronize its state with web and device
You earlier reported that you were getting 400 on that command. Not a case anymore?

Yes I have a bridge. Its required for the opener.
400 seems to be gone. Also the notification in homeassistant when changing the switch (something with ...GET...) is gone.
At the moment the switch is on. When I turn it off, it turns back on round about 30seconds later.
2022-08-29 20:55:10.924 DEBUG (MainThread) [custom_components.nuki_ng.nuki] Updating config: openerAdvancedConfig: {'doorbellSuppression': 2} = {'intercomId': 0, 'busModeSwitch': 0, 'shortCircuitDuration': 0, 'electricStrikeDelay': 0, 'randomElectricStrikeDelay': False, 'electricStrikeDuration': 3000, 'disableRtoAfterRing': True, 'rtoTimeout': 20, 'doorbellSuppression': 2, 'doorbellSuppressionDuration': 500, 'soundRing': 0, 'soundOpen': 0, 'soundRto': 0, 'soundCm': 0, 'soundConfirmation': 1, 'soundLevel': 150, 'singleButtonPressAction': 7, 'doubleButtonPressAction': 1, 'batteryType': 0, 'automaticBatteryTypeDetection': True, 'autoUpdateEnabled': True}
2022-08-29 20:55:11.001 DEBUG (MainThread) [custom_components.nuki_ng.nuki] async_json: http status: 204 -
2022-08-29 20:55:11.002 DEBUG (MainThread) [custom_components.nuki_ng.nuki] Manually updated nuki_ng data
2022-08-29 20:55:41.077 DEBUG (MainThread) [custom_components.nuki_ng.nuki] bridge_check_callback: {'callbacks': [{'id': 0, 'url': 'http://<IP_ADDRESS>:8123/api/webhook/nuki_ng_bridge_hook_xxx'}]}, http://<IP_ADDRESS>:8123/api/webhook/nuki_ng_bridge_hook_xxx
2022-08-29 20:55:41.077 DEBUG (MainThread) [custom_components.nuki_ng.nuki] Callback is set
2022-08-29 20:55:42.461 DEBUG (MainThread) [custom_components.nuki_ng.nuki] _update: {"devices": {"xxx": {"deviceType": 0, "nukiId": xxx, "name": "haustuere", "firmwareVersion": "2.12.4", "lastKnownState": {"mode": 2, "state": 1, "stateName": "locked", "batteryCritical": false, "batteryCharging": false, "batteryChargeState": 98, "timestamp": "2022-08-29T18:14:33+00:00"}, "webId": 5xxxxxxx8, "web_auth": {}, "last_log": {}, "config": null, "advancedConfig": null, "openerAdvancedConfig": null, "bridge_info": {"deviceType": 0, "nukiId": xxx, "name": "Nuki_xxx", "rssi": -48, "paired": true}}, "505732434": {"deviceType": 2, "nukiId": xxx, "name": "opener", "firmwareVersion": "1.8.1", "lastKnownState": {"mode": 2, "state": 1, "stateName": "online", "batteryCritical": false, "ringactionTimestamp": "2022-08-28T17:32:49+00:00", "ringactionState": false, "timestamp": "2022-08-29T16:17:54+00:00"}, "webId": xxx, "web_auth": {"xxx": {"id": "xxx", "smartlockId": xxx, "authId": xxx, "type": 0, "name": "Nuki Web", "enabled": false, "remoteAllowed": true, "lockCount": 0, "lastActiveDate": "2022-08-25T04:37:16.000Z", "creationDate": "2022-08-25T04:37:16.000Z", "updateDate": "2022-08-29T08:58:34.250Z"}, "xxx": {"id": "xxx", "smartlockId": xxx, "authId": xxx, "type": 0, "name": "user1", "enabled": true, "remoteAllowed": true, "lockCount": 9, "lastActiveDate": "2022-08-28T17:32:46.000Z", "creationDate": "2022-08-24T18:32:47.000Z", "updateDate": "2022-08-29T08:14:45.315Z"}, "xxx": {"id": "xxx", "smartlockId": xxx, "authId": xxx, "type": 0, "name": "user2", "enabled": true, "remoteAllowed": true, "lockCount": 0, "lastActiveDate": "2022-08-28T09:00:32.000Z", "creationDate": "2022-08-28T09:00:32.000Z", "updateDate": "2022-08-29T08:14:45.336Z"}}, "last_log": {"name": "user1", "action": "unlatch", "timestamp": "2022-08-28T15:33:44.000+00:00"}, "config": {"name": "opener", "latitude": xxx, "longitude": xxx, "capabilities": 1, "pairingEnabled": true, "buttonEnabled": true, "ledEnabled": true, "timezoneOffset": 0, "daylightSavingMode": 1, "fobPaired": false, "fobAction1": 7, "fobAction2": 0, "fobAction3": 0, "operatingMode": 1, "advertisingMode": 0, "keypadPaired": false, "homekitState": 0, "timezoneId": 37}, "advancedConfig": null, "openerAdvancedConfig": {"intercomId": 0, "busModeSwitch": 0, "shortCircuitDuration": 0, "electricStrikeDelay": 0, "randomElectricStrikeDelay": false, "electricStrikeDuration": 3000, "disableRtoAfterRing": true, "rtoTimeout": 20, "doorbellSuppression": 3, "doorbellSuppressionDuration": 500, "soundRing": 0, "soundOpen": 0, "soundRto": 0, "soundCm": 0, "soundConfirmation": 1, "soundLevel": 150, "singleButtonPressAction": 7, "doubleButtonPressAction": 1, "batteryType": 0, "automaticBatteryTypeDetection": true, "autoUpdateEnabled": true}, "bridge_info": {"deviceType": 2, "nukiId": xxx, "name": "Nuki_Opener_xxx", "rssi": -54, "paired": true}}}, "bridge_info": {"bridgeType": 1, "ids": {"hardwareId": xxx, "serverId": xxx}, "versions": {"firmwareVersion": "2.14.0", "wifiFirmwareVersion": "2.3.0"}, "uptime": 16464, "currentTime": "2022-08-29T18:55:36+00:00", "wlanConnected": true, "serverConnected": true, "scanResults": [{"deviceType": 2, "nukiId": xxx, "name": "xxx", "rssi": -54, "paired": true}, {"deviceType": 0, "nukiId": xxx, "name": "xxx", "rssi": -48, "paired": true}], "callbacks_list": [{"id": 0, "url": "http://<IP_ADDRESS>:8123/api/webhook/nuki_ng_bridge_hook_xxx"}]}}
2022-08-29 20:55:42.462 DEBUG (MainThread) [custom_components.nuki_ng.nuki] Finished fetching nuki_ng data in 1.461 seconds (success: True)

NukiWeb was disabled as a user for the opener. It seems to work.
When I turn on ring suppression in homeassistant:

When I turn off ring suppression in homeassistant:

But what about ring? As far as I see you are using suppression 2 and 3.

4 = suppress everything,
3 = suppress rto and continous mode
2 = only suppress RtO
1 = only suppress continous mode
0 = suppress nothing

Maybe three separate switches, which leads to the specific number?

@kvj can you change the suppression mode? At the moment the suppression is useless as it does not suppress the ring. It should change to mode 4 if activated, and back to the mode which was activated previously.
Or make all three switches available. (RtO, Continous, All)

I am thinking about getting the Nuki Opener and this is a go/no-go thing having the option to suppress the alarm. So I'd be happy to have it installed soon and participate in testing.
Also, does HA know when the doorbell has been pushed with this integration?

I am thinking about getting the Nuki Opener and this is a go/no-go thing having the option to suppress the ringer. So I'd be happy to have it installed soon and participate in testing.
Also, does HA know when the doorbell has been pushed with this integration?

At the moment it is working, but with wrong settings. I use a web api call. So there is a way.
And yes, the integration knows when the doorbell has been pushed.

@Se7enair I see where the problem is. The API field is a bit-mask so maybe I'm flipping the wrong bit.
I can replace the switch with select and expose all the combinations there

Select would be also great ;)

I am thinking about getting the Nuki Opener and this is a go/no-go thing having the option to suppress the ringer. So I'd be happy to have it installed soon and participate in testing.
Also, does HA know when the doorbell has been pushed with this integration?

At the moment it is working, but with wrong settings. I use a web api call. So there is a way. And yes, the integration knows when the doorbell has been pushed.

Nice, given this integration will do what I want I'm gonna go with Nuki Opener instead of creating my own ESPhome solution and doing magic things to get everything to 3v.
Is there an event I put in an automation for the doorbell? I can't seem to find anything in the docs for this custom integration :)
I can test and try out some stuff after I install it, possibly Tuesday or Wednesday.

@Se7enair I see where the problem is. The API field is a bit-mask so maybe I'm flipping the wrong bit.
I can replace the switch with select and expose all the combinations there

I dont want to annoy you, but did you already implemented it? My wife is complaining about the not working ring suppression ;)

I just saw this issue while I was trying to have a go at implementing this. My naive approach was to add additional entities, for "Ring suppression" (bit 1), "Ring suppression (Ring to Open)" (bit 2), "Ring suppression (Continuous mode)" (bit 3), and "Ring suppression (all)" (bit 1 & 2 & 3).
@kvj I don't know if you had a chance to work on this, but I'm curious about your opinion either way, do you think it makes sense to have multiple switches for each state, or should I look into going the Select route? (I have no previous HA development experience.)

https://github.com/kvj/hass_nuki_ng/pull/126

In the nukiapp there are tree buttons. So buttons would be more "Nuki like".
But I think the select-way is more convenient for the user and also for the dev.
+1 for select ;)

I mean technically nothing is stopping us from offering both... :D

@kvj can be closed


New test for NPSP

Critical Changes
New test for creating contact under an existing household.
Changes
Issues Closed
New Metadata
Deleted Metadata

@jessingrass @dashattuck @dina please review the new test for NPSP
https://salesforce.quip.com/Fxh5AD3bFYNq#HeYACAd1cMP
Row 13 test case

Looks great Sravani

Thank You, Doug.
On Thu, May 17, 2018 at 2:11 PM Doug Shattuck<EMAIL_ADDRESS>wrote:

@dashattuck approved this pull request.
Approved
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SalesforceFoundation/Cumulus/pull/3166#pullrequestreview-121218208,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AhoqM4M_Tdx6EmO8SQxMKmqDYFK2M9cAks5tzeeJgaJpZM4UB2nz
.

--
Sravani Kristem
MTS, Quality Engineering
Mobile<PHONE_NUMBER>
Salesforce.org http://salesforce.org/
https://www.youtube.com/watch?v=MU-VimpSWPM


Alerting for Grafana-Redis-Datasource

Hi Folks,
Recently I have set up Grafana-Redis-Datasource. It works fine with the amazing graphs and real time monitoring data.
I am looking to have alerts for these monitored data. Say like if the memory goes beyond 85%, CPU usage go beyond 95% etc.
I am not able to see any alerting configuration options. If there is any way to get the alerts for what is being monitored it would be great. I am new to the MaaS and the Grafana-Redis-Datasource. Please help me here to config alerts.
Thanks,
Sunil

folks,
If any alerting related info/method is available and can be shared with me , would be highly appreciated.

@mikhailredis : If any alerting related info/method is available and can be shared with me , would be highly appreciated.

@sunilgithu-public i am sorry for the delay, I planned to look into it today. Are you looking to alert on specific data or info commands?

@mikhailredis Thank you for the response. I am glad you are going to look into it :)
Alerts for memory and CPU , i had mentioned in my question as an example.
Basically, I am looking to have alerts for all of the data that the plugin is monitoring...  from both the Dashboards "Redis" and "Redis Streaming" when a certain threshold exceeds.
1.Take example like If the uptime was 3 weeks until mrng and now its 1 min on dashboard. which means like DB stopped and started due to some reason so for this need an alert. But on dashboard i see only 2 option for uptime i.e. Query and Transform. There is no option for alert.
2.Take example like no. of connected clients suddenly goes from 50 to 500 so if the threshold can be set to 100 and if it breaches then we get an alert. But here also only 2 option and no option for Alert.
3. For Memory and CPU i tried to set up alert but i get something like "Transformations are not supported in alert queries".
4. If i try to take away transformation option and try to set up alert then graph becomes blank.

@mikhailredis hoping you would have come up with something for the alerts :)

@mikhailredis hoping you would have come up with something for the alerts :)

I did. Will share later today.

@mikhailredis thank you. eagerly waiting to hear from you!

@mikhailredis requesting your response on this.

@sunilgithu-public I am sorry for the delay, but this feature is more complicated than I expected and requires introducing Alerting for each command separately, there is no unified way to add it to all commands similar to streaming.
I am still working on it and will get back to you shortly.

@mikhailredis thank you. much appreciated. I will bookmark this thread for future updates.

@mikhailredis requesting your response on this.

@sunilgithu-public Almost done with Documentation. I will work on Alerting next.

@mikhailredis Requesting your response on this.

@sunilgithu-public I am sorry for the multiple delays. I decided not to introduced Alerting and Streaming updates in the 1.4.0 release to avoid adding any breaking changes.

PR is submitted. I will add more tests tomorrow and merge to the main branch tomorrow.

@mikhailredis thank you for the updates :)

@sunilgithu-public PR merged and redis-app should be rebuild in 5 minutes: https://github.com/orgs/RedisGrafana/packages/container/package/redis-app
Please verify and let me know if you have any questions.
Documentation will be updated in https://github.com/RedisGrafana/RedisGrafana/issues/31

Can't seem to create a standalone alert for memory in 9.1.0 Grafana and get this error message: Failed to evaluate queries and expressions: failed to execute conditions: input data must be a wide series but got type not (input refid)

@AlexeiZenin Please open a separate issue for Redis team to investigate.

Which repository would that be and what would the Redis team do to fix this? From my understanding this plugin reads data from Redis, the dashboards all work great, just seems the alerting integration doesn't work for this.

Ah I see, I will open a new issue here then, thanks!

@mikhail-vl
So is this still not something available to the Redis plugin?


When we publish workbooks or datasources and use debug mode, user and password are displayed in plain text

extract_from_log_publishing_using_debug_mode.txt
Our environment:
Tableau ServerVersion: 2021.4.2 (20214.21.1217.2252) 64-bit LINUX
TableauServerClient: 0.17.0
Python: 3.8
The excerpts from the log show this fact. It is not relevant whether we publish workbooks with embedded datasources or with published datasouces. Can the output of user and password in the LOG be suppressed or encrypted when we use debug mode? We actually expect this to be the case.
In the excerpts user, password, database server and port were replaced.
I added the excerpts from the log in the attached file.

@DieKry this fix is now available in the latest release, 0.19.0. Please let us know if you continue to see any sensitive values logged after updating!


Underlying requirement for GetOpenInterestsAsync call

https://github.com/JKorf/OKX.Net/blob/32822c284269802c796d3ca540bbc169412f9507/OKX.Net/Clients/UnifiedApi/OKXRestClientUnifiedApiExchangeData.cs#L356
This is incorrect.
  if (instrumentType == InstrumentType.Swap && string.IsNullOrEmpty(underlying))
            throw new ArgumentException("Underlying is required for Option.");

When supplying an InstrumentType.Swap it should not throw.

Has been fixed in the latest version


Switching language on demand

I added this method to allow the switching of the language on demand (instead only at the creation time).
Feel free to add it to you code (and possibly fix, if I am missing some issues with it)...
    setLanguage: function(lang) {
        if (!dates[lang]) {
            lang = lang.split('-')[0];
            if (!dates[lang])
                lang = defaults.language;
        }
        this.o.language = lang;
        this.fill();
    },

duplicate of #362. closing


can't reproduce the results

hi! i trained ldm with three images and the token "container":

training takes lasted a few hours, the loss jumps, but i got exactly the same result as without training:

the config is loaded correctly. are there any logs besides the loss?

What text are you using for inference?
Unless you changed the config, the placeholder word for your concept is *, so your sentences should be of the form: "a photo of *" (and not "a photo of a container")

yeah, i used a photo of * prompt , but got the container

Can you please:
(1) Post your full inference command?

Either way, when you run txt2img, try to run with:
--embedding_path ./logs/images2022-08-23T21-03-11_run_01/checkpoints/embeddings_gs-5xxx.pt where 5xxx is whatever checkpoint you have there which is closest to 5k.

fyi - I've got it working and I'm very impressed - I'm interested to know how to boost quality / dimensions of output.. have to dig into docs.
HOW TO

I used this to scrape google images
https://chrome.google.com/webstore/detail/dbjbempljhcmhlfpfacalomonjpalpko
I searched for a famous photographer - gregory_crewdson

I train all his photos as "cinematic"
python main.py --base configs/latent-diffusion/txt2img-1p4B-finetune.yaml -t --actual_resume ../stable-diffusion/models/ldm/text2img-large/model.ckpt -n leavanny_attempt_one --gpus 0, --data_root "/home/jp/Downloads/ImageAssistant_Batch_Image_Downloader/www.google.com/gregory_crewdson_-_Google_Search" --init_word=cinematic
(I gave up at 10,000 training iterations.)
I can then prime it with
 photo of *
 pixelart or *
 watercolor of *

python scripts/txt2img.py --ddim_eta 0.0 \
                          --n_samples 8 \
                          --n_iter 2 \
                          --scale 10.0 \
                          --ddim_steps 50 \
                          --embedding_path /home/jp/Documents/gitWorkspace/textual_inversion/logs/gregory_crewdson_-_Google_Search2022-08-24T23-09-43_leavanny_attempt_one/checkpoints/embeddings_gs-9999.pt \
                          --ckpt_path ../stable-diffusion/models/ldm/text2img-large/model.ckpt \
                          --prompt "pixelart of *"

@johndpope Glad to see some positive results 😄
Regarding quality / dimensions: I'm still working on the Stable Diffusion port which will probably help with that. At the moment inversion is working fairly well, but I'm having some trouble finding a 'sweet spot' where editing (by reusing * in new prompts) works as expected. It might require moving beyond just parameter changes.
As a temporary alternative, you should be able to just invert these results into the stable diffusion model and let it come up with new variations at a higher resolution (using just 'a photo of *').

Hi, when I train the embedding and run the generation command, I can obtain samples that shares some high-level similarity with my training inputs, however, they still look quite different in details (far less similar than the demo images in paper). Given that the reconstruction is perfect, is there a way to control the variation and let the generated samples look more similar to the inputs? Thanks!

@XavierXiao First of all, just to make sure, you're using the LDM version, yes?
If that's the case, then you have several options:

Re-invert with a higher learning rate (e.g. edit the learning rate in the config to 1.0e-2). The higher the learning rate, the higher the image similarity after editing, but more prompts will fail to change the image at all.
Try to re-invert with another seed (using the --seed argument). Unfortunately sometimes the optimization just falls into a bad spot.
Try the same prompt engineering tricks you'd try with text. For example, use the placeholder several times ("a photo of * on the beach. A * on the beach").

Other than that, you'll see in our paper that we report that the results are typically 'best of 16'. There are certainly cases where only 3-4 images out of a batch of 16 were 'good'. And of course like with all txt2img models, some prompts just don't work.
If you can show me some examples, I could maybe point you towards specific solutions.

Thanks!  Here are some examples. I am trying to invert some images in MVTec for industrial quality inspection, and I attached the input (some capsules) and generated samples at 5k steps. Does this look reasonable? The inputs have very few variations (they look very similar to each other), is that the possible cause?

The one on the right is more or less what I'd expect to get. If you're still having bad results during training, then seed changes etc. probably won't help. Either increase LR, or have a look at the output images and see if there's still progress, in which case you can probably just train for more time.

@andorxornot This is what I get with your data:
Training outputs (@5k):

Watercolor painting of *:

A photo of * on the beach:

@XavierXiao I cropped out and trained on these 2 samples from your image:

Current outputs @4k steps with default parameters:

If you're using the default parameters but only 1 GPU, the difference might be because the LDM training script automatically scales LR by your number of GPUs and the batch size. Your effective LR is half of mine, which might be causing the difference. Can you try training with double the LR and letting me know if that improves things? If so, I might need to disable this scaling by default / add a warning to the readme.

Thanks for the reply. I am using two GPUs so that shouldn't be an issue. I tried larger LR but it is hard to say whether I obtain improvements. I can obtain similar results as yours. Obviously the resulting images are less realistic than the trash container examples in the same thread, so maybe the input images are less familiar  for the LDM model.
Some maybe unrelated things:

I got the following warning after every epoch, is that expected?

huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
To disable this warning, you can either:
        - Avoid using `tokenizers` before the fork if possible
        - Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
To disable this warning, you can either:
        - Avoid using `tokenizers` before the fork if possible
        - Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)

In the first epoch I got the following warning

home/.conda/envs/ldm/lib/python3.8/site-packages/pytorch_lightning/utilities/data.py:59: UserWarning: Trying to infer the `batch_size` from an ambiguous collection. The batch size we found is 20. To avoid any miscalculations, use `self.log(..., batch_size=batch_size)`.

I use the default config with bs=4, and I have 8 training images. Not sure what caused this.

In one over-night run, it seems like if we don't manually kill the process, it will run 1000 epochs, which is the max of pytorch lighting. So the max_step = 6100 is not effective?

@XavierXiao Warnings should both be fine.
max_step: It should be working. I'll look into it.

thanks for your tests! it seems that for one machine i had to raise the lr ten times

@andorxornot Well, if everything's working now, feel free to close the issue :smile: Otherwise let me know if you need more help

@rinongal I think I'm having a similar issue but not familiar with the format of the learning rate in order to increase it

@XodrocSO I think it might be worth a new issue, but when you open it could you please:

Check the input and reconstruction images in your log directory to see that they look fine.
Paste the config file you're using and let me know if you're using the official repo or some re-implementation and whether you changed anything else.
Upload an example of your current samples_scaled results.

Hopefully that will be enough to get started on figuring out the problem :)

@andorxornot Would it be convenient for you to share your images?

Thanks! I am using LDM version, with default setting in readme.  Here are some examples. I am trying to invert some images in MVTec for industrial quality inspection, and I attached the input (some capsules) and generated samples at 5k steps. Does this look reasonable? The inputs have very few variations (they look very similar to each other), is that the possible cause?

What is the effect of the image you generated later?


Added ColorScheme, updated ThemeData, ButtonTheme, material buttons

The goal of this PR is to introduce an overall material "color scheme" and to make it possible to redefine how a component's visual properties bind to the color scheme and to the existing material Theme.
This PR addresses the goal, but only for RaisedButton, FlatButton, OutlineButton. Hopefully it defines a pattern that can be extended to other components.
The new ColorScheme class is essentially a struct with 13 Material Design colors. ThemeData and  ButtonThemeData now have-a ColorScheme. In theory all of the colors in all of the components are defined by these colors. In practice, for the sake backwards compatibility, the Theme's buttonColor, disabledColor, highlightColor, and splashColor are also used if specified.
With one exception (the button text style) all of the buttons' visual properties are computed by ButtonThemeData. In all cases widget constructor parameters override the theme values.
All three button classes now inherit from MaterialButton. The .icon factory constructors, like RaisedButton.icon() create a new subclass, like RaisedButtonWithIcon, so that ButtonTheme can always compute colors based on the "type" of its MaterialButton.
All three button classes just configure an internal RawMaterialButton (as before). RawMaterialButtons do not depend on any theme.
The following new ButtonThemeData methods are used to configure the RawMaterialButton:
 Brightness getBrightness(MaterialButton button)
 ButtonTextTheme getTextTheme(MaterialButton button)
 Color getDisabledTextColor(MaterialButton button)
 Color getTextColor(MaterialButton button)
 Color getSplashColor(MaterialButton button)
 Color getHighlightColor(MaterialButton button)
 double getElevation(MaterialButton button)
 double getHighlightElevation(MaterialButton button)
 double getDisabledElevation(MaterialButton button)
 EdgeInsetsGeometry getPadding(MaterialButton button)
 ShapeBorder getShape(MaterialButton button)
 Duration getAnimationDuration(MaterialButton button)
 MaterialTapTargetSize getMaterialTapTargetSize(MaterialButton button)

This is RaisedButton's build method (it's typical).
@override
Widget build(BuildContext context) {
  final ThemeData theme = Theme.of(context);
  final ButtonThemeData buttonTheme = ButtonTheme.of(context);

  return RawMaterialButton(
    onPressed: onPressed,
    onHighlightChanged: onHighlightChanged,
    clipBehavior: clipBehavior,
    fillColor: buttonTheme.getFillColor(this),
    textStyle: theme.textTheme.button.copyWith(color: buttonTheme.getTextColor(this)),
    highlightColor: buttonTheme.getHighlightColor(this),
    splashColor: buttonTheme.getSplashColor(this),
    elevation: buttonTheme.getElevation(this),
    highlightElevation: buttonTheme.getHighlightElevation(this),
    disabledElevation: buttonTheme.getDisabledElevation(this),
    padding: buttonTheme.getPadding(this),
    constraints: buttonTheme.getConstraints(this),
    shape: buttonTheme.getShape(this),
    animationDuration: buttonTheme.getAnimationDuration(this),
    materialTapTargetSize: buttonTheme.getMaterialTapTargetSize(this),
    child: child,
  );
}

One consequence of moving this code from the button classes to ButtonTheme has been to eliminate some duplicate code.
When Theme is an InheritedModel, buttons will only depend on its 'ButtonTheme' aspect.
This PR introduces some (hopefully small) visual incompatibilities.

The highlight (pressed) color is now the button's text color, with opacity 0.16. Previously it was Color(0x66BCBCBC).
The ink splash color is now the button's text color, with opacity 0.12. Previously it was Color(0x66C8C8C8).

There's also one significant concession to backwards compatibility: ButtonTheme.buttonColor. This value is only used as the fill color for RaisedButtons. Its old default value, Colors.grey[300] is used instead of the button theme's ColorScheme.primary color. Apps can avoid the concession by configuring their Theme's buttonTheme.buttonColor with the primary color (the Flutter Gallery does this).
Still TBD (although probably not in this PR):
ThemeData.copyWith() doesn't neccessarily do what you want. If its ColorScheme or one of the colors that ButtonTheme depends on is changed, then it will be necessary to rebuild the ButtonTheme. But copyWith is intended to be a simple field copying method. So we'll need a .apply copying method, as with TextTheme.

@willlarche Currently the ColorScheme colors don't have doc strings. I'd appreciate it if you'd suggest some.
Currently primaryVariant and (oh boy) primaryVariant2 appear to be referred to as the "dark" and "light" variants in the "primary color" section of https://material.io/design/color/the-color-system.html. There's still time to call them "primaryDark" and "primaryLight", if only to make them easier to explain :-)

@ajsecord can you resolve the questions in https://github.com/flutter/flutter/pull/22013#issuecomment-424543665 ?

I can work with design to get descriptions of each of these colors. Don't block on me, I'll send a PR with the results. I agree about primaryVariant2, btw, it's a serious design smell.

This PR broke a devicelab test because not all public members are documented: https://flutter-dashboard.appspot.com/api/get-log?ownerKey=ahNzfmZsdXR0ZXItZGFzaGJvYXJkclgLEglDaGVja2xpc3QiOGZsdXR0ZXIvZmx1dHRlci9lZWEzNDY1YWU3NWFjNTQ0NWM1NDQ5MGM1NDIwNDcwMzJmOGY4MzE0DAsSBFRhc2sYgICAgICAhAgM

Fixed the dartdoc problems: https://github.com/flutter/flutter/pull/22592

Can we rename the onFoo colors (e.g. onSecondary) to something that doesn't look like a callback per the style guide naming convention?

Those are the official names from the guidelines so probably more confusing
to change them than keep them.
On Mon, Oct 8, 2018 at 19:59 Ian Hickson<EMAIL_ADDRESS>wrote:

Can we rename the onFoo colors (e.g. onSecondary) to something that
doesn't look like a callback per the style guide naming convention?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/pull/22013#issuecomment-428015803,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNm5RXIZ6OjtJa13AoN9e78MJJ-2UDgks5ui-bxgaJpZM4WvM96
.

The onFoo naming convention is described in the MD spec: https://material.io/design/color/the-color-system.html, search for: "On" colors (including the double quotes).
It's hard to say how confusing the spec'd names would actually be, given the clash with our conventions.
We could call them secondaryContrast (but that sounds like an aspect of the secondary color) or if we were seeking new naming lows "constrastsWithSecondary" or "legibleWhenPaintedOnSecondary".  Maybe secondaryForeground?


Fixed typo

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


chore(main): release 0.53.0

:robot: I have created a release beep boop
0.53.0 (2024-10-22)
Features

Datasets: dataset explorer v1 (c827924)

Bug Fixes

deps: update dependency @sentry/nextjs to v8.35.0 (84219a0)
deps: update dependency @types/lodash to v4.17.11 (e2c905e)
deps: update dependency @types/lodash to v4.17.12 (7f77f55)
deps: update dependency @types/node to v22.7.6 (cc3f86a)
deps: update dependency @types/node to v22.7.7 (b6e64d9)
deps: update dependency @types/node to v22.7.8 (967c0f2)
deps: update dependency i18next to v23.16.1 (bc951d8)
deps: update dependency i18next to v23.16.2 (3b60284)
deps: update dependency react-dropzone to v14.2.10 (af596e2)
deps: update dependency react-i18next to v15.1.0 (a1814a6)
deps: update nextjs monorepo to v15 (1312491)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

0.53.0
:sunflower:


DRILL-5313: Fix build failure in C++ client

Thanks for the actual fix. I will close this pull request.


Add ESRGAN+ support

Confirmed working

What's esrgan+‽

What's esrgan+‽

It's a small change in the esrgan architecture as explained in this paper: https://arxiv.org/abs/2001.08073
There have been a few models trained with it and pretty much every time one gets released people ask why they can't use it in Cupscale, so I added support for it.

This closes #93 btw


Consider a lower timeout in sleep mode

This came up in today's Cursorless meetup. One common user problem we've noticed people having is having a dedicated wake command in sleep mode, but having it (probably incorrectly) anchored on both ends to avoid false positives, like:
^talon wake$: ...
The problem is that then they get stuck in a loop, where they keep trying to say the wake phrase, but because they haven't hit the speech timeout, their anchored command is never recognized, and Talon never wakes.
Naturally the right solution is probably get rid of the preceding anchor, but @pokey had the simple suggestion of lowering the timeout in sleep mode (100ms). That would help people who do get caught with the this "inescapable loop" problem a little bit.
I can't think of a reason not to have a lower timeout in sleep mode -- can others?

It feels a bit weird that sleep mode should have a different timeout, might screw up some people's timing (eg. if they just speak slowly). But I guess if it's already screwing up people's timing maybe we should do it. I would like to hear @lunixbochs opinion on this since he raised the default timeout to 300ms and we're proposing changing that within sleep mode.

One concern with this approach is that it almost feels like we're trying to functionally un-anchor the command by lowering the speech timeout

Maybe do this?
^(talon wake)+

Please don't change the timeout in community repos.


Update derived charts list and link

Description of the change

Existing or Associated Issue(s)

Additional Information

Checklist

[ ] Chart version bumped in Chart.yaml according to semver.
[ ] Variables are documented in the values.yaml and added to the README.md. The helm-docs utility can be used to generate the necessary content. Use helm-docs --dry-run to preview the content.
[ ] JSON Schema generated.
[ ] List tests pass for Chart using the Chart Testing tool and the ct lint command.

No chart bump or schema generation should be needed as this is only a README.md update


Add new OTel compatible DB attributes

Details TBD.
Add support for OTel standard DB attributes to increase compatibility with OTel.

Draft CDD


udev rules and scripts should be (optionally) available in early-boot

There are situations where you require the block device mapping names to exist before you can mount the root volume in the early-boot process, and currently this package cannot be used there because it would require copying in Python.
One solution to this problem would be to rewrite the script to use nvme-cli >= 1.13, where the block device name can be grabbed with nvme amzn id-ctrl /dev/nvme0n1 | grep '^bdev' | awk '{ sub("/dev", ""); print $3 }' (sometimes the block device name begins with /dev, and this script is expected to strip that off). A more complicated Bash-only version could also be written to avoid needing to depend on grep and awk in the compact initrd/initramfs.
This solution works for EL8 and EL9 out of the box because both ship an nvme-cli that is new enough, but AL2023 and earlier ship too old of an nvme-cli for this to work. Since this repo primarily supports AL and AL does not typically support folks using non-default filesystems like ZFS, I figured contributing a PR that made this change would not be terribly useful. Since we need it (and in fact have already had this in place for years), these changes will exist, and I'm happy to strategize some way to make it work more broadly in this package (maybe different RPM specs? an RPM spec that uses macros to choose a strategy based on the OS?)

https://github.com/art19/amazon-ec2-utils/pull/2 implements this in our fork


Mapillary js

Continuing from #3014 , thanks to @peterneubauer.
Things remaining

[x] Toggle signs layer if and only if image layer is enabled.
[ ] Look into https://github.com/mapillary/mapillary-js/issues/133
[x] Async loading of CSS
[x] Async loading of JS

Build Process Issues:

The mapillary-js.min.js file is 1.1MB in size. To give some perspective, the entire iD.js file is roughly 2MB in size. If I try to add mapillary-js.min.js to js/lib folder the make process takes 3-4 minutes to compile. Currently, I am directly copying the mapillary-js.min.js to avoid concatenating it to iD.js.

The svg dependencies of mapillaryJS require them to be hosted on the same level as that of the Mapillary css file. So I am directly copying these files to dist folder as of now :(.

@bhousel @peterneubauer your views on this?

Hi there,
I upgraded to MapillaryJS 1.3 in https://github.com/openstreetmap/iD/pull/3014/commits/a2f3063227cf943aee3ff7f918c25add04faf979 which makes the local artifacts unnecessary, also the SVGs can be removed.
Regarding the API call- the image you are looking for is from today, we have some lag in the system. Try anything older than a day, e.g. https://a.mapillary.com/v2/nav/im/1gE6B94DP0iDmUHjtRFKcQ?client_id=NzNRM2otQkR2SHJzaXJmNmdQWVQ0dzo1ZWYyMmYwNjdmNDdlNmVi
/peter

I see that the in line mapillary icons and svg is still in here. Is that mandatory or could we just refer to the js and css in index.html for easier upgrade?

@peterneubauer we generally keep js/css libraries in the code base itself.
@bhousel to asynchronously load css/js do we want to use their CDN or host a copy within iD.

@bhousel when asynchronously loading css/js do we want to use their CDN or host a copy within iD?

Probably better to send this stuff to the CDN..  That helps the OSM folks a bit.

The implementation is almost complete.
Here is a gif to show how it looks like currently

The gif doesn't do it justice, but centerEase is now 👌
Before it was just firing off 10 little map moves.. Now we smoothly interpolate to the new location, adjusting the projection each animation frame and queueing redraw for later.

This is working alright!
Thanks @kepta and @peterneubauer for your work on this...
Merging 👍

Super work @kepta ! Also, is this working even for street signs correctly?

I guess we should soon implement submission of changes to the locations/angles to Mapillary :)

Also, is this working even for street signs correctly?

Yes, it's working for the signs layer also..  The one change we made is that now the photo layer must be activated before the signs layer can be activated.

I guess we should soon implement submission of changes to the locations/angles to Mapillary :)

Sure!  If there are some more API calls that would be useful to make, like for tagging or blurring or moving the markers, open a new issue so we can keep track of it..


WIP: Interface to pySMT

Use pySMT to provide access to SMT Solvers.
SMT expressions are constructed using pySMT methods, and are represented as pySMT expressions (FNode). This simplified the smt package but required some changes to the smttranslator.
The main difference in semantics between barf's smt and pySMT is the use of infix operators to denote signed operations. Barf assumes signed operations, but pySMT uses unsigned. Using the infix textual notation helps in being explicit and avoid this ambiguity: e.g., bv1.BVUDiv(bv2).

This is still work in progress.

Tests within the smt package pass (some have been modified accordingly).
Tests from other packages still fail
smttranslator does a lot of caching that is already performed by pySMT and should be simplified
The class BitVecArray should be removed.


Stacky McStackface is the new Sönke

You can use that:
      author_name: Stacky McStackface
      author_email<EMAIL_ADDRESS>
and it will also link to the bots profile and add the picture (not sure if it works with<EMAIL_ADDRESS>as well)

github@ should work as well, as long as it's one of the emails registered to the account.

Thanks both. Yes, the address is registered to that account.


Changing the random seed of the dolly model

Good day,
How can i change the random seed of the dolly model?
Regards,
Promise.

What seed do you mean? there are loads of places you might seed the training code, but what are you trying to achieve?
Ex: https://github.com/databrickslabs/dolly/blob/master/training/trainer.py#L148


Error Upgrading to 0.4.3

I installed dokku through the apt repo and trying to run apt-get upgrade to the latest version is running into an error:
...
User 'dokku' already exists
docker:x:999:dokku
gpasswd: user 'syslog
mark' does not exist
dpkg: error processing package dokku (--configure):
 subprocess installed post-installation script returned error exit status 3
Errors were encountered while processing:
 dokku
E: Sub-process /usr/bin/dpkg returned an error code (1)

From what I can tell this comes from the nginx-vhosts/install. In particular the change from f9e636ddb1c7b2442b1a7ae3cea7ce7aa49ed121 added the call to gpasswd. As it would happen my server has a group named admin which my user belongs to so egrep ^adm /etc/group | awk -F ":" '{ print $4 }' returns two lines
syslog
mark

and triggers the error. It would seem that changing this regex to ^adm: would match only the adm group rather than all groups which begin with adm but my Debian packaging skills are admittedly sub-par.

Whoops. I'll patch that.

This should be fixed, since the above PR has been merged. Should we close it?

Get into the same trouble when I installed dokku 0.4.7.
ubuntu version:
VERSION="14.04.3 LTS, Trusty Tahr"
dokku version:
0.4.7
error details:
...
User 'dokku' already exists
docker:x:999:yangchen,starding,yudong,dokku
/var/lib/dokku/plugins/enabled/00_dokku-standard/commands
/var/lib/dokku/plugins/enabled/20_events/commands
/var/lib/dokku/plugins/enabled/apps/commands
/var/lib/dokku/plugins/enabled/backup/commands
/var/lib/dokku/plugins/enabled/certs/commands
/var/lib/dokku/plugins/enabled/config/commands
/var/lib/dokku/plugins/enabled/docker-options/commands
/var/lib/dokku/plugins/enabled/domains/commands
/var/lib/dokku/plugins/enabled/enter/commands
/var/lib/dokku/plugins/enabled/git/commands
/var/lib/dokku/plugins/enabled/logs/commands
/var/lib/dokku/plugins/enabled/nginx-vhosts/commands
/var/lib/dokku/plugins/enabled/plugin/commands
gpasswd: user 'syslog
developer' does not exist
dpkg: error processing package dokku (--configure):
subprocess installed post-installation script returned error exit status 3
Errors were encountered while processing:
dokku
E: Sub-process /usr/bin/dpkg returned an error code (1)

@starding please open a new issue if you are still seeing this - we definitely fixed the previous bug and I'm not sure how you would be hitting the same issue.


AT+PING causes watchdog to reset

Hi all,
I just checked out and built the current versions of RTOS-SDK and esp-at. I noticed that a ping causes the module to reset. Can anyone else confirm this? Am I doing something wrong?
AT+PING="www.google.de"
+PING:30

OK

ets Jan  8 2013,rst cause:4, boot mode:(3,2)

wdt reset
load 0x40100000, len 7288, room 16
tail 8
chksum 0x91
load 0x3ffe8408, len 24, room 0
tail 8
chksum 0x18
load 0x3ffe8420, len 3532, room 0
tail 12
chksum 0x41
csum 0x41

ready
Best regards
Andreas

Hardware:
ESP8266EX_Demo_Board
Software:
AT+GMR
AT version:<IP_ADDRESS>-dev(f598046 - May 26 2020 08:25:03)
SDK version:v3.2-479-gcf83d22a
compile time(fe6f262):May 29 2020 09:41:01
Bin version:2.0.0(WROOM-02)
SDK: SHA-1: cf83d22a9b237c9e5933058455b725b531e8f86f
AT: SHA-1: fe6f26238d37db746e9eda681af5b7ce4249bbb1

@aheberer It looks work well.

From the version information, maybe you have a wrong commitID of SDK version.
As the IDF VERSION shows,
SDK has already updated to release/v3.3 and commitID came to c47938e9.
you can try with the following steps:
git reset --hard && git clean -xdff
git pull
export ESP_AT_PROJECT_PLATFORM=PLATFORM_ESP8266
export ESP_AT_MODULE_NAME=WROOM-02
export ESP_AT_PROJECT_PATH=$(pwd)
./esp-idf/tools/idf.py build

Hey ustccw,
thank you very much! That helped.
Now the SDK version is also v3.3-rc1 and the ping works fine.
Best regards
Andreas


Admin portal crash: can't locate momentjs-timezone

Issue Summary
While updating the Ghost package for Cloudron, the installation crashes when the admin portal is opened in the browser:
Uncaught Error: Could not find module `moment-timezone` imported from `ghost-admin/app`

With the same Dockerimage version 5.60.0 produces a working installation.
Thanks for any pointers on how to debug this.
Steps to Reproduce
Installed with:
ghost install 5.61.0 --no-prompt --no-stack --no-setup --no-start --dbhost notlocalhost --dir /home/cloudron/ghost

Ghost Version
5.61.0
Node.js Version
v18.12.1
How did you install Ghost?
Cloudron / Docker
Database type
MySQL 8
Browser & OS version
No response
Relevant log / error output
No response
Code of Conduct

[X] I agree to be friendly and polite to people in this repository

I can confirm the error with a normal installation

Yeb, I tried that with a normal VPS, and also replicated the issue offline. This is a whole console log when trying to attempt to go localhost/ghost.
GET
http://localhost:2368/ghost/assets/chunk.208.dbf172ad32f72f21a5dc.js

The resource from “http://localhost:2368/ghost/assets/chunk.208.dbf172ad32f72f21a5dc.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
[ghost](http://localhost:2368/ghost/)
InstallTrigger is deprecated and will be removed in the future. [vendor-3631184082d609038638c1e169a002e7.js:550:24](http://localhost:2368/ghost/assets/vendor-3631184082d609038638c1e169a002e7.js)
GET
http://localhost:2368/ghost/assets/chunk.208.dbf172ad32f72f21a5dc.js

Loading failed for the <script> with source “http://localhost:2368/ghost/assets/chunk.208.dbf172ad32f72f21a5dc.js”. [ghost:60:55](http://localhost:2368/ghost/)
The resource from “http://localhost:2368/ghost/assets/chunk.208.dbf172ad32f72f21a5dc.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
[ghost](http://localhost:2368/ghost/)
Uncaught Error: Could not find module `moment-timezone` imported from `ghost-admin/app`
    u http://localhost:2368/ghost/assets/vendor-3631184082d609038638c1e169a002e7.js:13
    u http://localhost:2368/ghost/assets/vendor-3631184082d609038638c1e169a002e7.js:13
    findDeps http://localhost:2368/ghost/assets/vendor-3631184082d609038638c1e169a002e7.js:25
    u http://localhost:2368/ghost/assets/vendor-3631184082d609038638c1e169a002e7.js:13
    requireModule http://localhost:2368/ghost/assets/vendor-3631184082d609038638c1e169a002e7.js:7
    <anonymous> http://localhost:2368/ghost/assets/ghost-4416ac3815c54eac76c2590d1154a628.js:6579
[vendor-3631184082d609038638c1e169a002e7.js:13:31](http://localhost:2368/ghost/assets/vendor-3631184082d609038638c1e169a002e7.js)

I have the same error when trying to install ghost 5.61.0 on local windows.
My admin page was stucked on loading page.
I just downgrande my local version to 5.50.4  to resolve.

The 5.61.0 release has been deprecated due to a broken admin area build. Downgrade to 5.60.0 or wait for 5.61.1

This should be fixed in v5.61.1 🙂

Thanks, I can confirm it fixed the issue :)


timed out waiting for the condition

Hello,
I'm not certain if this is a bug or a misconfiguration. I'm trying to use the secretproviderclass in azure to access a keyvault's contents. When applying a kubernetes yml, everything but the volumemount for the secrets appears to work. The volume instead times out and I get the following warning:
kind: Event
apiVersion: v1
metadata:
  name: -snip-
  namespace: -snip-
  uid: -snip-
  resourceVersion: '76510'
  creationTimestamp: '2024-11-20T16:40:34Z'
  managedFields:
    - manager: csi-secrets-store
      operation: Update
      apiVersion: v1
      time: '2024-11-20T21:52:16Z'
      fieldsType: FieldsV1
      fieldsV1:
        f:count: {}
        f:firstTimestamp: {}
        f:involvedObject: {}
        f:lastTimestamp: {}
        f:message: {}
        f:reason: {}
        f:source:
          f:component: {}
        f:type: {}
involvedObject:
  kind: Pod
  namespace: -snip-
  name: -snip-
  uid: -snip-
  apiVersion: v1
  resourceVersion: '10294622'
reason: FailedToCreateSecret
message: timed out waiting for the condition
source:
  component: csi-secrets-store-controller
firstTimestamp: '2024-11-20T16:40:34Z'
lastTimestamp: '2024-11-20T21:52:16Z'
count: 21
type: Warning
eventTime: null
reportingComponent: ''
reportingInstance: ''

The class in use looks like this:
piVersion: secrets-store.csi.x-k8s.io/v1
kind: SecretProviderClass
metadata:
  name: -snip-
  namespace: -snip-
spec:
  provider: azure
  parameters:
    usePodIdentity: "false"
    useVMManagedIdentity: "true"
    userAssignedIdentityID: -snip-
    keyvaultName: -snip-
    objects:  |
      array:
        - |
          objectName: -snip-
          objectType: secret
    tenantId: -snip-
  secretObjects:
  - secretName: -snip-
    data:
    - key: -snip-
      objectName: -snip-
    type: Opaque

The managed identity has the roles and access to the relevant nodes and the keyvault that it needs as best as I can tell, but this is a rather new thing to me (as you can probably tell).
Any advice on what I could've done wrong or what else I can try to check would be greatly appreciated.
Environment:

Kubernetes version: (use kubectl version and kubectl get nodes -o wide): 1.3
Cluster type: aks
below is to my best knowledge, the fellow who configured this is sick currently.
Installation method: (Helm , Deployment yamls, AKS managed add-on): aks managed add-on
Secrets Store CSI Driver version: (use the image tag): should be newest available
Azure Key Vault provider version: (use the image tag): should be newest available

Does anyone know an answer to this?


docs: translation Passing Props to a Component

Translation beta document - Passing Props to a Component

Conflicted.


possible issue in vercheck.py

I found following difference in the resulted logs

Analyzing supportconfig directory: scc_ABC-SGS-SP808_xxxxxx
product name = SUSE Linux Enterprise Server 15 SP1 x86_64 (id 1763, x86_64)
found 1171 total packages to check
gathering results...
Done.
writing CSV reports to scc_ABC-SGS-SP808_xxxxxx
notfound: gnome-desktop,2.28.2-0.6.18
different: gnome-desktop-lang,2.28.2-0.6.18,3.26.2-2.13
as package "gnome-desktop-lang" will be build as sub package of "gnome-desktop" i am pretty sure there is somewhere a error (probably parsing or program logic) hidden in vercheck.py
the affected packages according to rpm.txt
gnome-desktop                       SUSE Linux Enterprise 11            2.28.2-0.6.18
gnome-desktop-lang                  SUSE Linux Enterprise 11            2.28.2-0.6.18
probably they are leftovers from a upgrade from SLES11 to SLES15

You're right. I'm not checking whether the vendor matches the current system version.
Maybe I should add a new "unsupported"  report where I would place anything that doesn't match the current OS vendor, and remove it from the other reports before writing them. That would also cause the "notfound" report to be considerably smaller, as it usually also contains third-party packages.
What do you think?

From an high level perspective, separating supported (from contract) packages from the rest would be a big win, but I can imagine, that this is hard to achieve.
But the mentioned case is fishy: both packages derive from the same source, but end in different groups.

.. while anything resulting in an uncluttering notfound is welcomed.
Only packages from unknown sources should end in notfound.

Could you upload that supportconfig (or point it to me at concord/ziu), @pzirnik ?

Information has been provided via internal email.

I think I got an acceptable solution to this problem.
If we're dealing with a known enterprise distribution (sles/sled/sles_sap), the "Vendor" in the packages is usually "SUSE Linux Enterprise "  or "SUSE Linux Enterprise  ". The same machine can have packages listed as  "SUSE Linux Enterprise 15", "SUSE Linux Enterprise 15 SP3", and so on. This is based on two dozen or so test samples of supportconfig archives. I can cross this with the CPE identifier, extract the system version, and compose a valid partial string (like "SUSE Linux Enterprise 15") to compare the Vendor field to.
Whenever the package vendor does not match that partial string and is not found in the regular repositories for the product, it's appended to the "unsupported packages" list.
If the package vendor matches the partial string and is not found in the regular repositories for the product, it's appended to the "unknown packages" list.
Thus, in the supplied samples where there are leftover packages from a SLES 11 -> SLES 15 migration, these packages from SLES 11 will be placed in the "unsupported" list, along with other packages that have a vendor of "(none)" and others.
The "notfound" list will contain, for example, packages that have the correct vendor, but belong to a different product (like packages from PackageHub or SUSE Manager).
So far I've ran this modified version against all my samples, and it appears to be working fine.

Great !!! :-)


Context values injection

key: "some {ctx:context_val} value from contex

refactor key injection to "some {mdc:other_key} value from key"


python310Packages.osqp: 0.6.2.post0 -> 0.6.2.post5

Motivation for this change
I checked why #154235 had failed nixpkgs-review results and fixed it.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

Thanks @rmcgibbo.
Closes #154235.
Closes #152771.
Here's current status on nix-review for x86_64-linux:
8 packages failed to build:
python310Packages.qiskit-aer python310Packages.qiskit-aqua python310Packages.qiskit-finance python310Packages.qiskit-ibmq-provider python310Packages.qiskit-ignis python310Packages.qiskit-optimization python39Packages.qiskit python39Packages.qiskit-ibmq-provider

11 packages built:
python310Packages.cvxpy python310Packages.osqp python310Packages.scikit-survival python39Packages.cvxpy python39Packages.osqp python39Packages.qiskit-aer python39Packages.qiskit-aqua python39Packages.qiskit-finance python39Packages.qiskit-ignis python39Packages.qiskit-optimization python39Packages.scikit-survival

I think that several of the python39Package failures are on master (due to websocket-client issues), I'll push another PR to fix those. python3Packages.qiskit* seems to fail due to numba not being supported on python 3.10 with current numba release.

Superseded by #154969

Thanks.


NixPkg missing from gohugo.io website

Not really a bug, but I just wanted to let You know that there is a NixPkg (i did not package it, someone else did) of Hugo in the NixOS Repos (https://search.nixos.org).
You do not mention this Package on your Website, so I assumed You don't know about its Existence.
I didn't know how else to contact you, so feel free to close this at your discretion.
P.S. Thanks for all your great Work. I am just starting out with this Project, but I already love it :):)
P.P.S. Do You recommend me to use a native Package or a docker Container for someone starting out just now? :)

I didn't know how else to contact you

Please use the forum (https://discourse.gohugo.io/) for questions and troubleshooting. We prefer to use GitHub for verified bugs and vetted enhancements. Thanks.


Troubleshooting addition

Troubleshooting: In case you enable Docker support while creating the web API project, the backend will start using the docker profile and not be listening on the configured port 5001. Set your backend as Startup Project, then switch the profile using the launch button drop down to your "yourbackendapp" profile . After that set again to multiple startup projects on the solution context menu. I couldn't figure out where it is saved/configured which profile is started.

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

ID: c924f1c1-823e-3e29-bf09-405fc4c6bbb8
Version Independent ID: 585c2426-5f9b-8499-8eda-0e56bd64c93c
Content: Create an ASP.NET Core app with Vue - Visual Studio (Windows)
Content Source: docs/javascript/tutorial-asp-net-core-with-vue.md
Product: visual-studio-windows
Technology: vs-javascript
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@dleGoLi Thanks for the info! I'm adding this workaround to the troubleshooting section.


[Docs] Document Swift tools version - SE-0152

While we're not taking further Swift 3.1 changes for the release at this point, this is just an update to documentation in the repository and is fine to still take.


Support for bootstrap-ui datepicker

Basically, I just render a datepicker with all the attributes set to default if not overriden.
As in the example, a couple of attributes are needed (e-is-opened and e-ng-click).
I guess the example in the demo is good enough.
it fixes #255 and #248
Please let me know if something else is needed.
Cheers!

Hello, tried out this solution with 0.1.9 and bootstrap-tpls version 0.11.2.
Basically {{price.date || null}}
Transforms into input with a calender button, but the datepicker is not shown on neither input click nor button click. Can you please provide a working example? Thank you!

Sure, I just need to update the angular-xeditable demo page with the example on it.
I'll try to do as soon as possible, hopefully before next week.
Cheers

Hi again,
I still couldn't release the new version on the demo web, but I did a jsfiddle if you can find it useful.
(Disregard the lack of icons, haven't loaded the fonts on this example)
http://jsfiddle.net/NfPcH/7249/

Thanks a lot! :+1:

Also, i've noticed that using editable-bsdate with editable-form doesn't update the field in $data.
Looking at the code, i've changed line 100 in xeditable.js: ng-model="$data" to ng-model="$parent.$data"

@Painyjames  : Date picker is not working ..

    {{ (user.dob | date:"dd/MM/yyyy") || 'empty' }}

var app = angular.module("myApp", ["xeditable", "ui.bootstrap"]);
app.run(function(editableOptions) {
editableOptions.theme = 'bs3';
});
app.controller('BsdateCtrl', function($scope) {
$scope.user = {
dob: new Date(1984, 4, 15)
};
});


Update calendar

replace with official calendar,
re-calculate height on grid item resize.

todo: tests, button labels

ignore repeating button labels on below screenshots; I noticed after I made those pictures
@zmija they updated FC's standard theme; the header is now in a dark theme. Is this ok?

Out of the box; they also provide bootstrap theme (ignore the icons; I didn't set up FA so they are not rendering):

Ref https://github.com/cortezaproject/corteza-webapp-one/issues/37

Updates:

added custom theme (corteza) so it can use our color scheme,
used FC's default icons,
complete migration to official FC component (our current features preserved),
added tests.

A nice picture:

There's a double line/border between "day agenda" and "month list"?

@tjerman can you change the color of the events to "Corteza-blue", too?

@zmija by that you mean $primary from variables.scss?

yep

Done; I've made it a bit more flexible for when we have custom event types (reminders, user-defined, ...)


170322-1604 / add partnership page (WIP)

Let me know your thoughts! I think I'm on the right track...
Things that are missing:

translations
incorrect access display isn't yet finished
badoo is not done yet

Questions:

useEffect for checking partner access - am I using that correctly?
the very first page section text looks like it has more padding in Figma. Any ideas on how to do this with the flexible page section?

Questions:
useEffect for checking partner access - am I using that correctly?

yes perfectly!

the very first page section text looks like it has more padding in Figma. Any ideas on how to do this with the flexible page section?

yep thats something kinda new. it's a different font (montserrat) and line height. For the other pages (e.g. welcome), we style that introduction text in the code rather than from the page_section. Which you could also do here, as the introduction text isn't being used in the header (as it is on a non partner page, e.g. faq). So we could hard code the first page section, just for this partnerships page, using just the introduction text and styling it.
The other alternative is creating a new storyblok component like statement which has very similar styles/fields to the quote component, but isnt a blockquote with speech mark icon etc.


[WIP] REPL support

It's kind of hacky at this point, but it seems to work.

Awesome, this is probably the last feature I need to start trying it out

Agreed, this does feel like that last piece for it to be generally useful.

@ajoberstar Very nice, but now it would be cool if Cursive @cmf would recognize this automatically :) .

@aadrian Indeed it would. I think the classpath is configured wrong at this point. Haven't had time to think too much about it, but it's including the source set output which means you couldn't live edit your code and refresh the namespaces. Will still want output for things like Java, but want the source for Clojure.

I think I have the classpath working correctly. I was able to do some testing with Atom's proto-repl connected to the Gradle nrepl and it seemed to be working (assuming I was using tools.namespace 0.3.0 alphas).

Not sure how to write tests for this though.

This is ready to review now. Since I can't use stdin through Gradle's test kit I don't have a way to test the REPL in our suite, but did some manual testing.
I pushed out 0.3.0-rc.1 with this branches changes.
There are also updated docs in this branch.

And rc.2 coming out  now. Found a couple issues testing with Atom's proto-repl. BTW, will have a PR open with them soon to integrate Gradle support.

Certainly welcome feedback if anyone takes a look later, but merging in for now.


[video_player] Orientation wrong with video

Issue only appeared with a specific video. System's gallery handles correctly.
Steps to Reproduce

Run the example.
Play the video, no matter with .asset, .file, or .network with the media uri.
The video was rotated 180 degrees.

Or run this demo directly.
System's gallery seems correct.

Demo
System

[√] Flutter (Channel master, 2.1.0-13.0.pre.293, on Microsoft Windows [Version 10.0.19041.867], locale zh-CN)
    • Flutter version 2.1.0-13.0.pre.293 at J:\SDK\flutter-master
    • Framework revision 304f155ac2 (12 hours ago), 2021-03-27 14:22:36 -0700
    • Engine revision b5e15d055d
    • Dart version 2.13.0 (build 2.13.0-162.0.dev)
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[√] Connected device (1 available)
    • IN2020 (mobile)   • 4761b967 • android-arm64  • Android 11 (API 30)

@AlexV525
Does the same behavior occur using image_picker plugin example ?

Yes. It has the same behavior when testing with the image_picker plugin's example.

PS: The video is provided in the previous demo's repo.

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.3, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.0.3 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 4d7946a68d (10 days ago), 2021-03-18 17:24:33 -0700
    • Engine revision 3459eb2436
    • Dart version 2.12.2

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.54.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.20.0

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 14.4.1
    • macOS (desktop)           • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 89.0.4389.90

! Doctor found issues in 1 category.

Duplicate of https://github.com/flutter/flutter/issues/60327?

Hi @AlexV525,
Thanks for filing the issue, There's similar open issue #60327 describing this case, please follow-up in it for further updates. So closing this issue as a duplicate.
If you think this is not the case feel free to write back with relevant details and I will reopen it.
Thank you for your contribution.


If mouse is not present in VM machine Tests are not running.

Yes, this is by design. WinAppDriver requires an interactive session to run.


Add license file

Related Issue(s)
[feature] add license #17 DONE
Proposed Changes
Added MIT license file in github repo
Type of Change

[X] Documentation / ReadMe / Workflows
Other (If not in above options):

Your Idea for Level (GSSoC)

[ ] Level 1
[ ] Level 2
[ ] Level 3

Screenshots (if applicable)

Additional Notes
@praveenscience pls review the changes under GSSOC'23

Why do you wanna mention under GSSoC 23? 🤔


Image validation

- Do you want to request a feature or report a bug?
feature
- What is the current behavior?
No validation is available for the file/image widgets.
- If the current behavior is a bug, please provide the steps to reproduce.
- What is the expected behavior?
Allow files to be validated by max size, and images by width/height.

I like this a lot. One way I'd use it is to provide my users with a warning that the file they're about to publish is really big and could take too long to load. Or I might provide a warning when the image width is too small and that it may not look right

Would be great to have validations for:

Filesize
Extension
Width
Height
Aspect ratio (this would need to be a little bit fuzzy to deal with pixel-rounding).

How are you people currently preventing your users from uploading very large images? Or do you just resize them in the static site generator step? Do you have some hack in place, or use something like https://github.com/netlify/netlify-cms/blob/master/website/content/docs/uploadcare.md ? Thanks!
btw. I'm really looking forward to https://github.com/netlify/netlify-cms/issues/2243

one of my editors just upload a 58mb image to it. we need this.

As a stopgap, we could at least implement the file size check. The option would probably go into the YAML config like this?
  media_library:
    config:
      multiple: true # existing option
      maxFileSize: 100000  # in bytes

and then passed through the redux store all the way to src/components/MediaLibrary/MediaLibrary.js#handlePersist, where we could do something like:
if (file.size > config.maxFileSize) {
   // alert ?

What do you think?

Better than nothing

@mb21 that'd be a great PR, just needs to be camel_case (max_file_size).

closed in #3028


I can't change endpoints

it gets pink and do not change the endpoint

@sibelius Since 0.1.4 it should be fixed.

tks, can u add support to homebrew to make upgrades easier?

@sibelius Will look into auto-updates when I have time.

I've just updated and lost all my projects and query history

Since it's in heavy development data structures will change and due to available time I won't be writing migrations until it's stable. In case you're using MacOS, You can copy projects / queries files from /Users//Library/Application Support/graphiql-app to /Users//Library/Application Support/graphql-ide and it should work.


shortcuts for entry to nn prompts

Firstly, congratulations on a very comprehensive RPN implementation for the TI series! I love the 16C functions.
Being a 41C user, I'd love to see shortcuts for anything that prompts for nn like on the 41C. For example, STO 01 could be STO and first menu key which would allow for shortcuts for 01 through 05. Also use for FIX, STO * etc.
Not sure you could do 01 through 10 like on the 41C as if you used the MATH and 1/x rows the CLEAR key is there.
Keep up the good work :-)

Thanks for the kind words.
With regards to this feature, I've actually never owned or used a 41C, so I don't think I understand what you mean here. Are you saying that the 41C displays "1 2 3 4 5" for the soft menu buttons when you press STO or FIX? (First of all, I didn't know that the 41C has soft menu buttons... The LCD display of a 41C is a segmented display, not a dot-matrix, so how does that even work?) Maybe you can post some screenshots.
And do you want this feature because it saves you 1 keystroke?
One reason that I would deprioritize this feature is because it seems like it would require a more general implementation of the soft menu subsystem in RPN83P, and that's a LOT of work... to save 1 keystroke.

Apologies the description isn't very clear (especially if you've never used a 41c :-). Basically, top 2 rows of keys on the 41c series can be used for any nn and nnn prompt for the numbers 01 through 10 (or 001 through 010). It can be used for register access, labels and goto (once you have programming), FIX, shift, SIZE etc. There is no prompt on the screen and it is just a shortcut to save 1 or 2 key presses. As a regular 41c and dm41x user I user it all the time but understand you may not want to implement or may not be worth the effort.
I initially thought about named registers like the 35S but the CLEAR key clashes so you couldn't do that (to save a key too).

There is no prompt on the screen and it is just a shortcut to save 1 or 2 key presses. As a regular 41c and dm41x user I user it all the time but understand you may not want to implement or may not be worth the effort.

Ah, thanks for the explanation, so there is no soft menu system on the 41C. People just have to know that this feature of the 41C exists, which means that it is not very discoverable. One of my design goals of RPN83P is to maintain discoverability of the major features of the app, because I have so many calculators, that I cannot remember how to use most of their functions. I don't want the RPN83P to suffer a similar fate. I want most of its features discoverable through the menu system or through the buttons.
On the other hand, I do sympathize with the desire to reduce the number of keystrokes, even by 1. Even one keystroke can be a significant usability issue when performing repeated calculations on calculator form factor. So we have discoverability competing against usability.
In this case, I think discoverability wins due to a number of factors:

this feature exists only on the 41C
HP did not implement this feature on the 42S, which indicates to me that even HP did not think that this feature was critical
we could implement a limited version of this using the soft menu keys, but we can have only 5 option (0-4, or 1-5, etc), but I'm not sure that's worth the effort, because it takes time away from other features which are more important (at least to me)

So my current response to this feature is a "no". Sorry. (I will probably mark this as "Closed, Not Planned" at some point in the future.)

I initially thought about named registers like the 35S but the CLEAR key clashes so you couldn't do that (to save a key too).

These "named registers" on the 35s, is that like STO A or RCL C? How does the CLEAR key clash with that? In the next version of RPN83P, I have implement exactly this, using the A to Z variables provided by the TI-BASIC. They have to be typed in as STO ALPHA A ENTER, and 2ND RCL ALPHA C ENTER.

No problem at all, just my 2 cents :-)
Regarding alpha registers, the 35S doesn't need the ALPHA key to be pressed and you can select to the register letter directly as the letters don't clash with other keys that may be entered such as clear +-/. This isn't the case on the 83+. CLEAR is ok actually so I misread but  /- aren't. Hope that makes sense.


Underscores should not be replaced with spaces in values given from command line

Robot Framework 3.0 (Python 2.7.10 on win32)
When adding metadata with rebot, underscore in URL are replaced by space :
rebot -M mymetadata:http://path_with_underscore output.xml
In report, i have:
mymetadata:     http://path with underscore

It's a designed and documented feature underscores are converted to spaces when setting documentation and metadata with --doc and  --metadata options. I'm first to admit the design is not good, though.
The motivation has been making it easier to use spaces in these values, but that added convenience is not worth making it impossible to use actual underscore in values. If spaces are needed, it is possible to quote values (e.g. --doc "Hello, world!") or use the --escape option (e.g. --escape space:_ --doc Hello_world!.
Although I think this should be changed, we cannot change it in RF 3.0.x releases due to backwards compatibility concerns. Changing it in RF 3.1 is possible, though.

This seems to affect even more command line options than I thought. This ought to be a full list:

--name
--doc
--metadata
--tagdoc
--tagstatcombine
--logtitle
--reporttitle


[CON-199] Shell appears and doesn't close when starting Continue server on Windows

Describe the bug
Shell appears and doesn't close when starting Continue server on Windows
To Reproduce
Start Continue
Expected behavior
There should be no opened shell window
Screenshots
If applicable, add screenshots to help explain your problem.
Environment

Operating System: Windows
Continue Version: latest

CON-199

Looks like this is due to https://github.com/nodejs/node/issues/21825. I want to be sure I can test this before pushing, so will spend some time on that first. Will have fixed by no later than end of day.

This has been solved by using the windowsHide property and not the detached property.


ValidationError on BooleanField

When I pull TRUE or FALSE value from sheet it shows:
Exception has occurred: ValidationError
['“FALSE” value must be either True or False.']

But when I type True in sheet, it cast into all uppercase.

@sheiun one thing you should be able to do as a workaround is define a clean_FIELD_data method (where FIELD is the name of the field - from the sheet - that you need to convert). Inside that method, set the boolean value as appropriate

@steinbachr it seems still not work after define clean_{FIELD}_data method in model.

one other thing to try @sheiun, can you try defining a clean_row_data staticmethod on the model subclassing the mixin? That method takes row_data (a dict of row data from the sheet prior to upsert) and returns a dict of the data which will be used for the upsert operation. Can you try doing the transform there?

one other thing to try @sheiun, can you try defining a clean_row_data staticmethod on the model subclassing the mixin? That method takes row_data (a dict of row data from the sheet prior to upsert) and returns a dict of the data which will be used for the upsert operation. Can you try doing the transform there?

Doing sth like this?

class MyModel(SheetPullableMixin, models.Model):
    is_xxx = BooleanField()

    @staticmethod
    def clean_row_data(row_data):
        row_data['is_xxx'] = row_data['is_xxx'] == 'TRUE'
        return row_data

@steinbachr Thanks it works. And if doing the change in my pull request that can also transform by using clean_{field}_data.


Create the CSS endpoint

❗ IMPORTANT:
👁🗨 Check no one has claimed this task in the comments!
✏ Claim this task by stating you are working on it in the comments.

To ensure people have a chance to complete their task, PRs only be accepted from the first person that claimed the task. If you believe the task is stagnant, mention @MattCSmith, @notAnkur or @thisisabdus is the comments for review.

📚 User Story

I would like to be able to view general details about the css language, at the endpoint /v1/languages/css/

✔ Acceptance Criteria

[ ] Fill out as many of the fields you can or want to
[ ] Ensuring incomplete/unknown fields contain {{UNKNOWN}}
[ ] Run yarn test or npm test and fix any errors.
[ ] Create a PR which includes this issues's URL and detail its completeness

🦮 How To
Creating the general language file:
First we need to create the directory and file for the general language details endpoint, we do this by:

Creating a directory named css inside /json/languages/
Creating a file named css.js inside /json/languages/css/
Using the Example Language JSON below to create this file, fill out as many of the fields as you can manage, ensuring incomplete or unknown fields contain {{UNKNOWN}}.

Testing:
We now must run the tests to ensure that there are no issues in any of the JSON we have just written. You can do this by running: yarn test or npm test. Fixing any issue that pops up. PRs that fail testing cannot be merged and must be resolved first. If you get stuck, reach out in the comments or on Discord.
🖥 Example Language JSON
const css = {
  name: '{{UNKNOWN}}',
  description_short: '{{UNKNOWN}}',
  description: '{{UNKNOWN}}',
  paradigm: ['{{UNKNOWN}}'],
  developed_by: [
    {
      name: '{{UNKNOWN}}',
      endpoint: '{{UNKNOWN}}',
      website: '{{UNKNOWN}}',
      twitter: '{{UNKNOWN}}'
    }
  ],
  first_appeared: '{{UNKNOWN}}',
  version: {
    current_stable: {
      version_name: '{{UNKNOWN}}',
      code_name: '{{UNKNOWN}}',
      release_data: '{{UNKNOWN}}'
    },
    upcoming_version: {
      version_name: '{{UNKNOWN}}',
      code_name: '{{UNKNOWN}}',
      expected_release_date: '{{UNKNOWN}}'
    },
    all_versions: [
      {
        version_name: '{{UNKNOWN}}',
        code_name: '{{UNKNOWN}}',
        release_date: '{{UNKNOWN}}'
      },
    ],
  },
  typing_discipline: ['{{UNKNOWN}}'],
  platform: ['{{unknown}}'],
  operating_system: ['{{unknown}}'],
  license: ['{{unknown}}'],
  example_snippets: {
    hello_world: '{{UNKNOWN}}',
  },
};

module.exports = css;

@MattCSmith  I will work on this

Addressed in #23


added version string managing with bumpversion

Related issues
Refs: #247
Describe the changes made in this pull request
This PR adds a bumpversion configuration so bumping the version string is consistent across the following files:

CITATION.cff (2x, version as well as cff-version)
schema-guide.md
.zenodo.json
.bumpversion.cfg

Not 100% sure I like it, what do you think?
Instructions to review the pull request
git checkout 247-bumpversion
python3 -m venv env
source env/bin/activate
pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
bumpversion minor
git status  # <- should show updated files

(we should commit the bumped result if we decide to merge)

I think I like it. Good way to manage versions in the absence of a god tool to build everything in the repo.
However, when I acked "1\.1\.0", I still got a few results for which it isn't clear to me whether they shuold've been bumped as well:
examples/1.2.0/pass/bjmorgan/bsym/CITATION.cff
8:version: 1.1.0

examples/conftest.py
11:        "1.1.0",

Can you clarify?

examples/conftest.py
11:        "1.1.0",

Just in a list of available schema versions.

examples/1.2.0/pass/bjmorgan/bsym/CITATION.cff
8:version: 1.1.0

Actual version of the software. All clear now.

I guess we can always drop it again if it turns out we dont like it


Not working on new Intellij IDE UI

Hi, I'm using IntelliJ IDEA 2022.3.1 (Ultimate Edition), Build #IU-223.8214.52, built on December 20, 2022. I'm using the new UI and the plugin is not working. After I install it and restart the IDE it seems to uninstall by itself.

Hm, can you please verify it with another IJ Ultimate Version, 2023 EAP for example and with a IJ Community edition of 2022.3.1 ?
I'm always on the EAP editions with the new UI and it works flawlessly on my side:


Feature/317_relationships-interface

:tada: This PR is included in version 6.0.0-alfa.3 :tada:
The release is available on:

GitHub release
npm package (@sdk6 dist-tag)

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 6.0.0-beta.1 :tada:
The release is available on:

GitHub release
npm package (@sdk6 dist-tag)

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 6.0.0-rc.1 :tada:
The release is available on:

npm package (@prerelease dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


from rasa_core.utils import EndpointConfig ImportError: cannot import name 'EndpointConfig'

Rasa Core version:
0.8.2
Python version:
3
Operating system (windows, osx, ...):
ubuntu
Issue:
from rasa_core.utils import EndpointConfig

ImportError: cannot import name 'EndpointConfig'
Content of domain file (if used & relevant):

ImportError: cannot import name 'EndpointConfig' from 'rasa_core.utils'. I am getting same kind of error. I am using Rasa 1.1.3. Can anyone tell me which package to use for EndpointConfig?

@iamrajatroy if you are using rasa, you should not be importing anything from rasa_core, you should be importing from rasa.core.