cover.stop does not work with PowerView Hub 2.0 through HomeKit

Home Assistant release with the issue:

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

Hass.io
Component/platform:

https://www.home-assistant.io/components/homekit_controller/
Description of problem:
HomeKit support was recently added to my Hunter Douglass PowerView Hub 2.0. I added the hub and now can raise and lower the shades but there is no "stop" option and the cover.stop service has no effect. The blinds API do support a stop so this should be working here.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
discovery:
  enable:
    - homekit

Traceback (if applicable):

Additional information:

@dummptyhummpty I don't have one of these to test with and don't know how they even work in HA. But I am quite familiar with homekit_controller at this point. If I put together a branch/PR would you be able to test it? I wouldn't be able to provide packages so you'd have to be comfortable running from git yourself.
(It would be handy if a HA dev could tag this issue with the homekit_controller label so I don't lose track of it).

@Jc2k Sure. HA uses AIOPVAPI, but only scenes are implemented. I was able to hack together open, close, stop and position using MQTT covers, NodeRed and the undocumented(?) API. However it seems like it might be better to use HomeKit now that it's supported by the PowerView hub. I'm happy to test and am familiar enough with git that I can probably spin up a separate environment on my system.

@dummptyhummpty excellent! So i think the HomeKit characteristic that we need is hold - does this sound about right?

This characteristic causes the service such as door or window covering to stop at its current position. A value of 1 must hold the state of the accessory. For e.g, the window must stop moving when this characteristic is written a value of 1. A value of 0 should be ignored.
A write to Target Position (page 179) characteristic will release the hold.

@jc2k That sounds correct!

Cool, i'll try and slap something together.

@dummptyhummpty ok, here goes:
https://github.com/Jc2k/home-assistant/tree/homekit_cover_stop
It fixes a couple of things:

Sets the "supports stop" feature flag if the position.hold characteristic is present
Adds the stop_cover method
Stops trying to read values from position.hold - its a write-only characteristic
Fixes a breakage on master for close_cover

In terms of a testing environment - you should be able to copy the .homekit/pairing.json from you configuration directory between environments, but i would avoid having multiple HA's trying to use an accessory at once.
In light of the breakage I found with close_cover i'd like to make a PR for this ASAP - how long do you need to test?

@Jc2k I should be able to test it tonight (in about 5 hours or so).

Ahh thats great. In the mean time I got nervous about when the next release is and potentially breaking peoples setups 😭 so i've gone and sent in a PR for just the breakage part. I will be asleep when you test it (in UK) but if it works for you i'll send in a PR for the full thing and see if we can get it into the next release.

It didn't seem to work. The "stop" button doesn't show up between the up and down arrows on the cover entity and calling the cover.stop_cover service gives the following error:
2019-03-12 20:42:46 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.4386238760] 'position.hold' Traceback (most recent call last):   File "/homeassistant/components/websocket_api/commands.py", line 103, in handle_call_service     connection.context(msg))   File "/homeassistant/core.py", line 1138, in async_call     self._execute_service(handler, service_call))   File "/homeassistant/core.py", line 1160, in _execute_service     await handler.func(service_call)   File "/homeassistant/helpers/entity_component.py", line 188, in handle_service     self._platforms.values(), func, call, service_name   File "/homeassistant/helpers/service.py", line 312, in entity_service_call     future.result()  # pop exception if have   File "/homeassistant/helpers/service.py", line 326, in _handle_service_platform_call     await getattr(entity, func)(**data)   File "/homeassistant/components/homekit_controller/cover.py", line 242, in async_stop_cover     'iid': self._chars['position.hold'], KeyError: 'position.hold'

Hmm looks like your device doesn’t support position.hold... there’s a homekit_python CLI we can use to dump a list of supported characteristics. I’ll rustle up some instructions when I’m at a desk.

@Jc2k Shoot, that's frustrating. I'll see if I can find a technical contact at Hunter Douglas to reach out to, but it's probably better to focus the energy on improving the exiting Hunter Douglas component.

@dummptyhummpty hey - i was hoping to get some JSON output out of your device to make sure there isn't another characteristic we can use. I don't know how your HA is setup but does this command do anything?
First of all - find your pairing.json. It will be in the same place as your configuration.yml, so if you have /config/configuration.yml you should have a /config/.homekit/pairing.json. Look in it and there should be a section like this for each homekit device:
  "f0:00:00:00:00:00": {
    "AccessoryPairingID": "f0:00:00:00:00:00",
    "AccessoryLTPK": "...",
    "iOSPairingId": "...-70d2-4712-9f5d-...",
    "iOSDeviceLTSK": "....",
    "iOSDeviceLTPK": "....",
    "AccessoryIP": "192.168.1.zzz",
    "AccessoryPort": 8084
  }

Make a note of your AccessoryPairingID.
Now try running the command:
python3 -m homekit.get_accessories -f /config/.homekit/pairing.json -a "f0:00:00:00:00:00" -o json

But fix the path and accessory ids.
If you could send me your json that would be very helpful.

@Jc2k Sorry for the delay, busy weekend. Here you go:
    {
        "aid": 1,
        "services": [
            {
                "type": "0000003E-0000-1000-8000-0026BB765291",
                "iid": 1,
                "hidden": false,
                "primary": false,
                "characteristics": [
                    {
                        "type": "00000014-0000-1000-8000-0026BB765291",
                        "iid": 2,
                        "perms": [
                            "pw"
                        ],
                        "format": "bool"
                    },
                    {
                        "type": "00000020-0000-1000-8000-0026BB765291",
                        "iid": 3,
                        "value": "HunterDouglas",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000021-0000-1000-8000-0026BB765291",
                        "iid": 4,
                        "value": "PowerView Hub 2.0",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000023-0000-1000-8000-0026BB765291",
                        "iid": 5,
                        "value": "Home",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000030-0000-1000-8000-0026BB765291",
                        "iid": 6,
                        "value": "E48FDBFB8B7FBA66",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000052-0000-1000-8000-0026BB765291",
                        "iid": 7,
                        "value": "2.0.950",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    }
                ]
            },
            {
                "type": "000000A2-0000-1000-8000-0026BB765291",
                "iid": 8,
                "hidden": false,
                "primary": false,
                "characteristics": [
                    {
                        "type": "00000037-0000-1000-8000-0026BB765291",
                        "iid": 9,
                        "value": "1.1.0",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    }
                ]
            }
        ]
    },
    {
        "aid": 2,
        "services": [
            {
                "type": "0000003E-0000-1000-8000-0026BB765291",
                "iid": 1,
                "hidden": false,
                "primary": false,
                "characteristics": [
                    {
                        "type": "00000014-0000-1000-8000-0026BB765291",
                        "iid": 2,
                        "perms": [
                            "pw"
                        ],
                        "format": "bool"
                    },
                    {
                        "type": "00000020-0000-1000-8000-0026BB765291",
                        "iid": 3,
                        "value": "HunterDouglas",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000021-0000-1000-8000-0026BB765291",
                        "iid": 4,
                        "value": "5 - Designer Roller & Screen Shades",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000023-0000-1000-8000-0026BB765291",
                        "iid": 5,
                        "value": "Kitchen Shade",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000030-0000-1000-8000-0026BB765291",
                        "iid": 6,
                        "value": "38956",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000052-0000-1000-8000-0026BB765291",
                        "iid": 7,
                        "value": "2.01.0000",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    }
                ]
            },
            {
                "type": "00000096-0000-1000-8000-0026BB765291",
                "iid": 8,
                "hidden": false,
                "primary": false,
                "characteristics": [
                    {
                        "type": "00000068-0000-1000-8000-0026BB765291",
                        "iid": 9,
                        "value": 98,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 100,
                        "minStep": 1,
                        "unit": "percentage"
                    },
                    {
                        "type": "0000008F-0000-1000-8000-0026BB765291",
                        "iid": 10,
                        "value": 0,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 1,
                        "minStep": 1
                    },
                    {
                        "type": "00000079-0000-1000-8000-0026BB765291",
                        "iid": 11,
                        "value": 1,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 1,
                        "minStep": 1
                    },
                    {
                        "type": "00000023-0000-1000-8000-0026BB765291",
                        "iid": 12,
                        "value": "Kitchen Shade",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    }
                ]
            },
            {
                "type": "0000008C-0000-1000-8000-0026BB765291",
                "iid": 13,
                "hidden": false,
                "primary": false,
                "characteristics": [
                    {
                        "type": "0000007C-0000-1000-8000-0026BB765291",
                        "iid": 14,
                        "value": 0,
                        "perms": [
                            "pr",
                            "pw",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 100,
                        "minStep": 1,
                        "unit": "percentage"
                    },
                    {
                        "type": "0000006D-0000-1000-8000-0026BB765291",
                        "iid": 15,
                        "value": 0,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 100,
                        "minStep": 1,
                        "unit": "percentage"
                    },
                    {
                        "type": "00000072-0000-1000-8000-0026BB765291",
                        "iid": 16,
                        "value": 2,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 2,
                        "minStep": 1
                    },
                    {
                        "type": "00000021-0000-1000-8000-0026BB765291",
                        "iid": 17,
                        "value": "primary",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000023-0000-1000-8000-0026BB765291",
                        "iid": 18,
                        "value": "Kitchen Shade",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    }
                ]
            }
        ]
    },
    {
        "aid": 3,
        "services": [
            {
                "type": "0000003E-0000-1000-8000-0026BB765291",
                "iid": 1,
                "hidden": false,
                "primary": false,
                "characteristics": [
                    {
                        "type": "00000014-0000-1000-8000-0026BB765291",
                        "iid": 2,
                        "perms": [
                            "pw"
                        ],
                        "format": "bool"
                    },
                    {
                        "type": "00000020-0000-1000-8000-0026BB765291",
                        "iid": 3,
                        "value": "HunterDouglas",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000021-0000-1000-8000-0026BB765291",
                        "iid": 4,
                        "value": "5 - Designer Roller & Screen Shades",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000023-0000-1000-8000-0026BB765291",
                        "iid": 5,
                        "value": "Bedroom Shade",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000030-0000-1000-8000-0026BB765291",
                        "iid": 6,
                        "value": "53909",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000052-0000-1000-8000-0026BB765291",
                        "iid": 7,
                        "value": "2.01.0000",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    }
                ]
            },
            {
                "type": "00000096-0000-1000-8000-0026BB765291",
                "iid": 8,
                "hidden": false,
                "primary": false,
                "characteristics": [
                    {
                        "type": "00000068-0000-1000-8000-0026BB765291",
                        "iid": 9,
                        "value": 86,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 100,
                        "minStep": 1,
                        "unit": "percentage"
                    },
                    {
                        "type": "0000008F-0000-1000-8000-0026BB765291",
                        "iid": 10,
                        "value": 0,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 1,
                        "minStep": 1
                    },
                    {
                        "type": "00000079-0000-1000-8000-0026BB765291",
                        "iid": 11,
                        "value": 0,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 1,
                        "minStep": 1
                    },
                    {
                        "type": "00000023-0000-1000-8000-0026BB765291",
                        "iid": 12,
                        "value": "Bedroom Shade",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    }
                ]
            },
            {
                "type": "0000008C-0000-1000-8000-0026BB765291",
                "iid": 13,
                "hidden": false,
                "primary": false,
                "characteristics": [
                    {
                        "type": "0000007C-0000-1000-8000-0026BB765291",
                        "iid": 14,
                        "value": 0,
                        "perms": [
                            "pr",
                            "pw",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 100,
                        "minStep": 1,
                        "unit": "percentage"
                    },
                    {
                        "type": "0000006D-0000-1000-8000-0026BB765291",
                        "iid": 15,
                        "value": 0,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 100,
                        "minStep": 1,
                        "unit": "percentage"
                    },
                    {
                        "type": "00000072-0000-1000-8000-0026BB765291",
                        "iid": 16,
                        "value": 2,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 2,
                        "minStep": 1
                    },
                    {
                        "type": "00000021-0000-1000-8000-0026BB765291",
                        "iid": 17,
                        "value": "primary",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000023-0000-1000-8000-0026BB765291",
                        "iid": 18,
                        "value": "Bedroom Shade",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    }
                ]
            }
        ]
    },
    {
        "aid": 4,
        "services": [
            {
                "type": "0000003E-0000-1000-8000-0026BB765291",
                "iid": 1,
                "hidden": false,
                "primary": false,
                "characteristics": [
                    {
                        "type": "00000014-0000-1000-8000-0026BB765291",
                        "iid": 2,
                        "perms": [
                            "pw"
                        ],
                        "format": "bool"
                    },
                    {
                        "type": "00000020-0000-1000-8000-0026BB765291",
                        "iid": 3,
                        "value": "HunterDouglas",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000021-0000-1000-8000-0026BB765291",
                        "iid": 4,
                        "value": "5 - Designer Roller & Screen Shades",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000023-0000-1000-8000-0026BB765291",
                        "iid": 5,
                        "value": "Balcony Shade",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000030-0000-1000-8000-0026BB765291",
                        "iid": 6,
                        "value": "896",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000052-0000-1000-8000-0026BB765291",
                        "iid": 7,
                        "value": "2.01.0000",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    }
                ]
            },
            {
                "type": "00000096-0000-1000-8000-0026BB765291",
                "iid": 8,
                "hidden": false,
                "primary": false,
                "characteristics": [
                    {
                        "type": "00000068-0000-1000-8000-0026BB765291",
                        "iid": 9,
                        "value": 85,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 100,
                        "minStep": 1,
                        "unit": "percentage"
                    },
                    {
                        "type": "0000008F-0000-1000-8000-0026BB765291",
                        "iid": 10,
                        "value": 0,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 1,
                        "minStep": 1
                    },
                    {
                        "type": "00000079-0000-1000-8000-0026BB765291",
                        "iid": 11,
                        "value": 0,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 1,
                        "minStep": 1
                    },
                    {
                        "type": "00000023-0000-1000-8000-0026BB765291",
                        "iid": 12,
                        "value": "Balcony Shade",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    }
                ]
            },
            {
                "type": "0000008C-0000-1000-8000-0026BB765291",
                "iid": 13,
                "hidden": false,
                "primary": false,
                "characteristics": [
                    {
                        "type": "0000007C-0000-1000-8000-0026BB765291",
                        "iid": 14,
                        "value": 40,
                        "perms": [
                            "pr",
                            "pw",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 100,
                        "minStep": 1,
                        "unit": "percentage"
                    },
                    {
                        "type": "0000006D-0000-1000-8000-0026BB765291",
                        "iid": 15,
                        "value": 40,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 100,
                        "minStep": 1,
                        "unit": "percentage"
                    },
                    {
                        "type": "00000072-0000-1000-8000-0026BB765291",
                        "iid": 16,
                        "value": 2,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 2,
                        "minStep": 1
                    },
                    {
                        "type": "00000021-0000-1000-8000-0026BB765291",
                        "iid": 17,
                        "value": "primary",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000023-0000-1000-8000-0026BB765291",
                        "iid": 18,
                        "value": "Balcony Shade",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    }
                ]
            }
        ]
    },
    {
        "aid": 5,
        "services": [
            {
                "type": "0000003E-0000-1000-8000-0026BB765291",
                "iid": 1,
                "hidden": false,
                "primary": false,
                "characteristics": [
                    {
                        "type": "00000014-0000-1000-8000-0026BB765291",
                        "iid": 2,
                        "perms": [
                            "pw"
                        ],
                        "format": "bool"
                    },
                    {
                        "type": "00000020-0000-1000-8000-0026BB765291",
                        "iid": 3,
                        "value": "HunterDouglas",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000021-0000-1000-8000-0026BB765291",
                        "iid": 4,
                        "value": "5 - Designer Roller & Screen Shades",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000023-0000-1000-8000-0026BB765291",
                        "iid": 5,
                        "value": "Library Shade",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000030-0000-1000-8000-0026BB765291",
                        "iid": 6,
                        "value": "16513",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000052-0000-1000-8000-0026BB765291",
                        "iid": 7,
                        "value": "2.01.0000",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    }
                ]
            },
            {
                "type": "00000096-0000-1000-8000-0026BB765291",
                "iid": 8,
                "hidden": false,
                "primary": false,
                "characteristics": [
                    {
                        "type": "00000068-0000-1000-8000-0026BB765291",
                        "iid": 9,
                        "value": 75,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 100,
                        "minStep": 1,
                        "unit": "percentage"
                    },
                    {
                        "type": "0000008F-0000-1000-8000-0026BB765291",
                        "iid": 10,
                        "value": 0,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 1,
                        "minStep": 1
                    },
                    {
                        "type": "00000079-0000-1000-8000-0026BB765291",
                        "iid": 11,
                        "value": 1,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 1,
                        "minStep": 1
                    },
                    {
                        "type": "00000023-0000-1000-8000-0026BB765291",
                        "iid": 12,
                        "value": "Library Shade",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    }
                ]
            },
            {
                "type": "0000008C-0000-1000-8000-0026BB765291",
                "iid": 13,
                "hidden": false,
                "primary": false,
                "characteristics": [
                    {
                        "type": "0000007C-0000-1000-8000-0026BB765291",
                        "iid": 14,
                        "value": 0,
                        "perms": [
                            "pr",
                            "pw",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 100,
                        "minStep": 1,
                        "unit": "percentage"
                    },
                    {
                        "type": "0000006D-0000-1000-8000-0026BB765291",
                        "iid": 15,
                        "value": 0,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 100,
                        "minStep": 1,
                        "unit": "percentage"
                    },
                    {
                        "type": "00000072-0000-1000-8000-0026BB765291",
                        "iid": 16,
                        "value": 2,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 2,
                        "minStep": 1
                    },
                    {
                        "type": "00000021-0000-1000-8000-0026BB765291",
                        "iid": 17,
                        "value": "primary",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000023-0000-1000-8000-0026BB765291",
                        "iid": 18,
                        "value": "Library Shade",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    }
                ]
            }
        ]
    },
    {
        "aid": 6,
        "services": [
            {
                "type": "0000003E-0000-1000-8000-0026BB765291",
                "iid": 1,
                "hidden": false,
                "primary": false,
                "characteristics": [
                    {
                        "type": "00000014-0000-1000-8000-0026BB765291",
                        "iid": 2,
                        "perms": [
                            "pw"
                        ],
                        "format": "bool"
                    },
                    {
                        "type": "00000020-0000-1000-8000-0026BB765291",
                        "iid": 3,
                        "value": "HunterDouglas",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000021-0000-1000-8000-0026BB765291",
                        "iid": 4,
                        "value": "5 - Designer Roller & Screen Shades",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000023-0000-1000-8000-0026BB765291",
                        "iid": 5,
                        "value": "Stair Shade",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000030-0000-1000-8000-0026BB765291",
                        "iid": 6,
                        "value": "35150",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000052-0000-1000-8000-0026BB765291",
                        "iid": 7,
                        "value": "2.01.0000",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    }
                ]
            },
            {
                "type": "00000096-0000-1000-8000-0026BB765291",
                "iid": 8,
                "hidden": false,
                "primary": false,
                "characteristics": [
                    {
                        "type": "00000068-0000-1000-8000-0026BB765291",
                        "iid": 9,
                        "value": 81,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 100,
                        "minStep": 1,
                        "unit": "percentage"
                    },
                    {
                        "type": "0000008F-0000-1000-8000-0026BB765291",
                        "iid": 10,
                        "value": 0,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 1,
                        "minStep": 1
                    },
                    {
                        "type": "00000079-0000-1000-8000-0026BB765291",
                        "iid": 11,
                        "value": 0,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 1,
                        "minStep": 1
                    },
                    {
                        "type": "00000023-0000-1000-8000-0026BB765291",
                        "iid": 12,
                        "value": "Stair Shade",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    }
                ]
            },
            {
                "type": "0000008C-0000-1000-8000-0026BB765291",
                "iid": 13,
                "hidden": false,
                "primary": false,
                "characteristics": [
                    {
                        "type": "0000007C-0000-1000-8000-0026BB765291",
                        "iid": 14,
                        "value": 0,
                        "perms": [
                            "pr",
                            "pw",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 100,
                        "minStep": 1,
                        "unit": "percentage"
                    },
                    {
                        "type": "0000006D-0000-1000-8000-0026BB765291",
                        "iid": 15,
                        "value": 0,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 100,
                        "minStep": 1,
                        "unit": "percentage"
                    },
                    {
                        "type": "00000072-0000-1000-8000-0026BB765291",
                        "iid": 16,
                        "value": 2,
                        "perms": [
                            "pr",
                            "ev"
                        ],
                        "format": "uint8",
                        "ev": false,
                        "minValue": 0,
                        "maxValue": 2,
                        "minStep": 1
                    },
                    {
                        "type": "00000021-0000-1000-8000-0026BB765291",
                        "iid": 17,
                        "value": "primary",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    },
                    {
                        "type": "00000023-0000-1000-8000-0026BB765291",
                        "iid": 18,
                        "value": "Stair Shade",
                        "perms": [
                            "pr"
                        ],
                        "format": "string"
                    }
                ]
            }
        ]
    }
]

Took me a while to get to it but it looks to me like - there is 1 bridge, and it has 5 covers attached to it. Each has a battery status service. Each as a window-covering service. The only writeable characteristic on the window-covering is public.hap.characteristic.position.target. Theres definitely no "stop moving" writeable characteristic. So we are stuck without a firmware update from HunterDouglas i think.

PR for cover stop support merged, still no word of support from Hunter Douglas but if they do add it this will start to work.
In the mean time, I think we can close this issue.

@Jc2k Thanks for doing that. I'll reach out to them and if anything else is needed I'll open a new issue. I'll close this.

No problem @dummptyhummpty - let me know if they get back to you.


Tests for POA edge-case(s) (single-read mostly)

We should probably just pass the read through the POA in the case the case of one read and make it the initial template.  I think it gets dodgy when we have one read from the back half and another read from the front half of a template.

@lhepler the BAM file at:
/home/UNIXHOME/ndelaney/smallProjects/etseng/badZ.bam
Contains one ZMW that was dumped with a really bad z-score based on two subreads.  CCS was run with the following options
  -minZScore=-500000 --maxDropFraction=1 --minPredictedAccuracy=0 --minPasses=0

Everything from POA to Consensus seems pretty broken, and the Z-scores are both super low (-5.47436, -3.8087).
 INITIAL POA            TATGTGTAATATAGCTCTCTTGTGCCGCCCAGTTTGTCGATCTCAGGTCAAGCTCAAGGATTGTTTAATGGCCACTGACAAAAGGTTACAACAGTTGCATCATTAACTGTGGCATGTAAAACCTGCCCCCTTCTGTTGATGCATAAAATCCACCAATAGAGGAAGATTCTTCCGTCAAGAATATAGGGTCTGGACTGATTACTATTTCTCGTAAATGCCGCAGCAGTTTCCAATCATAACAAACAAAAGGCCAAGCTTAGTAAGTACATAGATAAGCCCAATACTTTTGTGAAACCTGCCATAGCTAACAGAGAAATCATCCTGGAATCTGGGGGAAGTAGAGTCGGCTTGTTTCTTGAAAAACCAGGTTCCCTGGCATGTGACCAGTTAATAACATGAACTTTGAAGTGATCTGGTCCAGCATAGTTGTCTTTTGAGGCGAACAAATAGGGTTGATGGATTCTCATTACCAACACCTTAAATGTTGCAAAAGCGCTGCATGGGCTTCGAAGTGTCCTGGCCTACGTTTTGATGCAATCAGAAAAAGTTGCATATTCACGGCAGAACCCAGGAGGTAGATCGGGACCGGCGGGGTGCCCAGTTGGTACTCTGGCGGTAGTCTTCGAGTGCCTTTCCGGCCTGGGT
 READ 1                                                                                CAGCTGATCGCTATACCAGCCCTTATCTAGCCTTCTCTCAGCAGTGTCGACAGACCGAAACCAGAGCTGCGGATATGCGATTGCTATCTCATCCCCACAACCAACTTATTGCACAAGACGCGCCCAGGGATCTCCTAGCTGGCGTAATATGGCCTGGCTACGTTGTTTGCATCAACAAGGAAAGTTGCATATTCACGGCAGAACCCAGGAGGTAGATCGGGACCGGCGGGGTGCCCAGTTGGTACTCTGGCGGTAGTCTTCGAGTGCCTTTCCGGCCTGGGT
 READ 2 (RevComp)       TATGTGTAATATAGCTCTCTTGTGCCGCCCAGTTTGTCGATCTCAGGTCAAGCTCAAGGATTGTTTAATGGCCACTGACAAAAGGTTACAACAGTTGCATCATTAACTGTGGCATGTAAAACCTGCCCCCTTCTGTTGATGCATAAAATCCACCAATAGAGGAAGATTCTTCCGTCAAGAATATAGGGTCTGGACTGATTACTATTTCTCGTAAATGCCGCAGCAGTTTCCAATCATAACAAACAAAAGGCCAAGCTTAGTAAGTACATAGATAAGCCCAATACTTTTGTGAAACCTGCCATAGCTAACAGAGAAATCATCCTGGAATCTGGGGGAAGTAGAGTCGGCTTGTTTCTTGAAAAACCAGGTTCCCTGGCATGTGACCAGTTAATAACATGAACTTTGAAGTGATCTGGTCCAGCATAGTTGTCTTTTGAGGCGAACAAATAGGGTTGATGGATTCTCATTACCAACACCTTAAATGTTGCAAAAGCGCTGCATGGGCTTCGAAGTGTCCTGGCCTACGTTTTGATGCAATCAGAAAAAGTTGCATATCCCTTCACAGTTGTGGCCCCAGTTACTCTGCGTTAGATACACTTGCTTT
 Consensus 			          AGCTCAAGGATTGTTTAATGGCCACTGACAAAAGGTTACAACAGTTGCATCATTAACTGTGGCATGTAAAACCTGCCCCCTTCTGTTGATGCATAAAATCCACCAATAGAGGAAGATTCTTCCGTCAAGAATATAGGGTCTGGACTGATTACTATTTCTCGTAAATGCCGCAGCAGTTTCCAATCATAACAAACAAAAGGCCAAGCTTAGTAAGTACATAGATAAGCCCAATACTTTTGTGAAACCTGCCATAGCTAACAGAGAAATCATCCTGGAATCTGGGGGAAGTAGAGTCGGCTTGTTTCTTGAAAAACCAGGTTCCCTGGCATGTGACCAGTTAATAACATGAACTTTGAAGTGATCTGGTCCAGCATAGTTGTCTTTTGAGGCGAACAAATAGGGTTGATGCGATTGCTCATCTCACCCCAACCACCTTAATGTTGCACAAGACGCTGCCCATGGGACTCCCTGGCGTAAGTGTCCTGGCCTACGTTGTTTGCATGCAATCAAAAGTGCATCCCTCACAGTTGGCCCAGTTTGGTAACTTTTCACGGCAGAACCCAGGAGGTAGATCGGGACCGGCGGGGTGCCCAGTTGGTACTCTGGCGGTAGTCTTCGAGTGCCTTTCCGGCCTGGGT

BAM OUTPUT
m150521_125225_42141_c100722061910000001823149204301517_s1_p0/7108/ccs	4	*	0	255	*	*	0	0	AAGCTCAAGGATTGTTTAATGGCCACTGACAAAAGGTTACAACAGTTGCATCATTAACTGTGGCATGTAAAACCTGCCCCCTTCTGTTGATGCATAAAATCCACCAATAGAGGAAGATTCTTCCGTCAAGAATATAGGGTCTGGACTGATTACTATTTCTCGTAAATGCCGCAGCAGTTTCCAATCATAACAAACAAAAGGCCAAGCTTAGTAAGTACATAGATAAGCCCAATACTTTTGTGAAACCTGCCATAGCTAACAGAGAAATCATCCTGGAATCTGGGGGAAGTAGAGTCGGCTTGTTTCTTGAAAAACCAGGTTCCCTGGCATGTGACCAGTTAATAACATGAACTTTGAAGTGATCTGGTCCAGCATAGTTGTCTTTTGAGGCGAACAAATAGGGTTGATGCGATTGCTCATCTCACCCCAACCACCTTAATGTTGCACAAGACGCTGCCCATGGGACTCCCTGGCGTAAGTGTCCTGGCCTACGTTGTTTGCATGCAATCAAAAGTGCATCCCTCACAGTTGGCCCAGTTTGGTAACTTTTCACGGCAGAACCCAGGAGGTAGATCGGGACCGGCGGGGTGCCCAGTTGGTACTCTGGCGGTAGTCTTCGAGTGCCTTTCCGGCCTGGGT	/,))*)(+'+)(+)'++(,*'+',*)*)))&,,+'+'+))(,)*)'+))**)*(+(,)*))'+)**))&,,*',*)%,,,+'+(*)'+))*))**&,,+*',*',(,*)))'+(,))(+((+',)*)(,)(,*)*)&++))*'+))*))(+))*)'++(*))*',+*)',))*))*)'+*',(,*)**(,)',+)&,,+'+',(,))(+))*(,)*))**)))*(,)&,,(,*))&+++)))',+',*)',**)))*(,)*)))',+*)**',*'+(,*)*%+++*(,)*))))*)'+)(+)'++((+)%+++*',*'+'*&,,*'+)**))))',*)'+(,*(,)**)(,)'++)(,))))*)*'+)',*))**))'+)*(&+++))'+()(,)',+*)&++'+)962'261;$25%54&2'/"8($&%%'$$-04$5(%%233'$%:,%*33%2%:64%+<;#$.$%#/%011$%'#%$$&:6.<%66633'6$%942%56'31;%1##52/$0#$#"9%$$/%22%$#$%962%$##$$###"##$6-))',)*((+&++*',*',**)*))&,,*'+',)%,,,*)&++*)(+',**))))',)',**)*)(,))*)*)'+&,+'+','+)&,,-	RG:Z:9f2d31ee	np:i:0	pq:f:0.824774	rq:i:824	rs:B:i,2,0,0,0,0	sn:B:f,14.0804,8.38334,6.33849,7.13326	za:f:-4.27617	zm:i:7108	zs:B:f,-5.47436,-3.8087

Any chance we could fix this tomorrow?

Also, this template was refined by 99 applied mutations, far more than usual and likely leading to the slowdown.

So, I'm actually at a crossroads where I feel CCS is ill-defined for anything without at least a single full pass. I'm inclined to max(1, options.get("minPasses")) to deal with it, same as the old CCS--just because of the dilemma of 2-subread-neither-full-pass.

This is because the passthrough for those would generate 2 /ccs for a ZMW, which isn't supposed to happen.

Lance, let's change CCS so it is max(1, options.get("minPasses")) for now so we have a bug free tarball (I agree it's poorly defined, and so we should either handle it correctly or prevent it from happening).  Do you think we could push that today for @mseetin?
Let's then track down @etseng later and figure out what we can do to accommodate here.

Yea, I'm going to do that now. I'll even throw an error with minPasses < 1 just so users know.

Hi,
You forward to the wrong @etseng.
Sorry not let you know earlier.
Regards,
Eric
From: Nigel Delaney<EMAIL_ADDRESS>Sent: Wednesday, August 12, 2015 10:07 AM
To: PacificBiosciences/pbccs
Cc: Tseng, Eric
Subject: Re: [pbccs] Tests for POA edge-case(s) (single-read mostly) (#45)
Lance, let's change CCS so it is max(1, options.get("minPasses")) for now so we have a bug free tarball (I agree it's poorly defined, and so we should either handle it correctly or prevent it from happening). Do you think we could push that today for @mseetinhttps://github.com/mseetin?
Let's then track down @etsenghttps://github.com/etseng later and figure out what we can do to accommodate here.
—
Reply to this email directly or view it on GitHubhttps://github.com/PacificBiosciences/pbccs/issues/45#issuecomment-130372361.

I've tests for edge-cases in the POA in c58f65043a600dd0764ff4bfaaedd729faeac908, going to close this issue.

Lance & Nigel: @magdoll is the one you are looking for...not etseng, sorry.
I'm not entirely comfortable with losing anything that is not a full-pass. A few thoughts:
(a) full-pass means both SMRTadapters are seen? this means some actually "full-length" (contains both 5' and 3' end of the cDNA primer) reads might actually get thrown out.
(b) Iso-Seq makes use of non-full-length reads as well to stack them up for increasing depth for polishing.
I'm more concerned about this effect on (a) than (b), unless I'm convinced that the reads from (a) would have sucked anyway --- it might be the case.
It might be good for me to go look at 0-pass vs 1-pass full-length CCS reads and ask: are 0-pass CCS reads any good? because if they are, I want them output by CCS. I don't want to add an extra script that "fishes out" the 0-pass subreads from primary. That would break the existing Iso-Seq pipeline as we would have to add that extra step (and it just seems unsanitary to me). I'd rather have a (maybe equally unsanitary option) of adding something in CCS that says "--0pass_anyway" that forces to output 0-pass primary reads....
Hope that makes sense.


Rule template-accessibility-elements-content not found

Using 5.0.0-beta.2, I've got the following error:
Could not find implementations for the following rules specified in the configuration:
    template-accessibility-elements-content

using the following tslint.json:
"template-accessibility-alt-text": true,
// not found in 5.0.0-beta.2
"template-accessibility-elements-content": true,
"template-accessibility-label-for": true,
"template-accessibility-tabindex-no-positive": true,
"template-accessibility-valid-aria": true,

Note that the other rules are found, so I may be missing something, but I think the name is correct (see https://github.com/mgechev/codelyzer/blob/master/src/templateAccessibilityElementsContentRule.ts#L44).
The error was already present in beta.0 and beta.1.

Indeed, This rule is missing in the file https://github.com/mgechev/codelyzer/blob/master/src/index.ts


apidocs: make linter return an exit code in case of errors

Codecov Report

Merging #1564 (1a29ea7) into main (5fd3d15) will increase coverage by 0.01%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #1564      +/-   ##
==========================================
+ Coverage   65.21%   65.22%   +0.01%
==========================================
  Files          86       86
  Lines        9408     9408
==========================================
+ Hits         6135     6136       +1
+ Misses       2825     2824       -1
  Partials      448      448

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


Remove 404 and archived started projects

This cleans up starter projects that where the source code repo or the example 404s.

eastlopestudio - example 404s, archived
rocket11ty - source code 404s
11ty-high-performance-latex-blog - source code and example both 404
about-me - archived and repo contents deleted
trey-books - archived, example 404s

Not removed in this PR but noted here as archived

eleventy-tailwindcss-alpinejs-starter - archived
resume-template - archived
eleventy-portway - archived
11r - archived
blank2 - archived
eleventy-solo-starter-njk - archived
eleventy-kickstart-blog - archived

Hmmmmmmm… I’m a little wary to remove sites that are archived without the original author’s permission—there is still value in archived code. It’s be better to mark those as archived and add some design treatment there.
Definitely on board with removing the 404s though. Can we have separate PRs?

I've updated this PR to only remove the 5 that 404 either the example or the source.

Thank you!!


Round percentages down

Sometimes when cells are near 100% but not they appear as 100% which is misleading. Going to round all percentages down to the nearest integer.
Test Notes

Verify that site 106-RhoTest has 42% entered, not 43%, both in the heat map table and in the exports.
(Or find another cell that would differ, now that everything is rounded down)

Tested and confirmed that numbers are now being rounded down


Bump testcafe-hammerhead (v17.1.8). Bump version (v1.8.8-alpha.1)

https://dev.azure.com/DevExpressTestCafe/testcafebuildbot-testcafe/_build/results?buildId=6033&view=results
https://dev.azure.com/DevExpressTestCafe/testcafebuildbot-testcafe/_build/results?buildId=6032&view=results
Tests passed for the commit with the updated Hammerhead. Azure has some problems with detecting changes, likely due to yesterday GitHub incident.


Selecting reads from assembly and RNA-Seq pop-up window does not auto-fill the reads box

There are some issues with adding fastq files from workspace.  They select them from the pop-up window, click okay, and the pop-up closes.  But the name does not appear in the readfile box!     Users are having to go back and try several times.  Sometimes you can see it in the drop-down box, but not auto-filled

sorry for the delay response on this, but i have hard time to reproduce it. @ARWattam do you know what kind of OS/browser?
@nconrad is this the same odd problem we ran into a couple months ago? i remember you fixed it in WOS.deselect event, is that the same thing?

I have no idea what is happening this time.  I made a number of changes and all issues were resolved as far as I know.   I'm not able to replicate either.

this might relates to #2142

since it has been for several months since last comment and we do not hear similar complaint, i will go ahead to close this issue.


show percentage of votes remaining

hi. Fantastic page, we are really enjoing.
In the columnt "votes remaining" may you show the percentage as well as the absolute number?
For example, in Georgia it would be 4500 / 5000000 * 100 = 0.09%
but in Penn it would be 141000 / 6600000  * 100 =  2.13%
thanks
a.

Hi!
I would love to add this functionality.
Can you guide me with where I've to do the changes?
Thanks.

Hey there, we discussed this internally and don't really want to add this functionality. Part of the problem with this is that the votes remaining is already an unofficial estimate, and we don't want to add more information which is fundamentally uncertain.


Look into Hatch

https://github.com/pypa/hatch
Seems to be the recommended packaging tool now:
https://packaging.python.org/en/latest/tutorials/packaging-projects/

Finish reading:

https://packaging.python.org/en/latest/specifications/declaring-project-metadata/#declaring-project-metadata
https://hatch.pypa.io/latest/config/project-templates/
https://packaging.python.org/en/latest/tutorials/packaging-projects/


Fix release note dates

Fixes https://github.com/microsoft/azuredatastudio/issues/9447

@Charles-Gagnon : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good. Thanks @Charles-Gagnon


Model Definition Front Strides

Hey team! I'm looking into the model definition here.
Should
 front_strides=[[(1,2), (2,1)], [(1,2), (2,1)],
                [(1,2), (2,1)], [(1,2), (2,1)],
                [(1,1), (2,1)], [(1,2), (2,1)],
                [(1,1), (2,1)], [(1,2), (2,1)]],

be
 front_strides=[[(1,2), (2,1)], [(1,2), (2,1)],
                [(1,2), (2,1)], [(1,2), (2,1)],
                [(1,2), (2,1)], [(1,2), (2,1)],
                [(1,2), (2,1)], [(1,2), (2,1)]],

Or is the former intended and, if so, why?

@daniel-deychakiwsky I can't quite remember now, but there was likely no significant reason.
We reduced dimensions by using strides instead of pooling. Input shape was not square (T x F spectrogram, where T is not F), and continuously using [(1,2), (2,1)] would waste parameters.


Build Failure for linux-aarch64 Due to Soundfile Platform Tag Support

Hi!
I encountered an issue while building the package for linux-aarch64. The build process failed with the following error message:
import: 'soundfile'
import: 'soundfile'
+ pip check
soundfile 0.12.1 is not supported on this platform
WARNING: Tests failed for pysoundfile-0.12.1-py39hd43f75c_0.tar.bz2 - moving package to /opt/conda/conda-bld/broken
TESTS FAILED: pysoundfile-0.12.1-py39hd43f75c_0.tar.bz2
bash-4.2# pip check pysound
No broken requirements found.
bash-4.2# pip check soundfile
No broken requirements found.

Possible Cause:
I believe this issue is related to the platform tags defined in the setup.py file. Specifically, lines 65-89 may be causing pip check to consider the package unsupported on this architecture.
Related Information:
Additionally, this might be tied to a more stringent check introduced in recent versions of pip, as discussed in this issue.
Could you please investigate if the platform tags can be adjusted to ensure compatibility with linux-aarch64? This change would help facilitate building and testing on this architecture.
Thank you!

If you could share your suggestions in a pull request, I'd be most grateful. We can run and debug things from there together.


Telemetry: Error report ID

After submitting an error report, it would be a nice addition to provide the user with an ID that they can use to communicate stack traces/reports on GH issues/other communication channels with us.

Fixed in latest alpha.
You can try it out with npm i -g prisma2@alpha.

Unfortunately not testable on Windows with https://github.com/prisma/prisma2/issues/617


Sourcemaps always report position 0

In this function the sourcemap positions are always returned as position 0. This breaks mapping back to the original source and coverage reporting.
https://github.com/KeJunMao/unplugin-preprocessor-directives/blob/667aca04e39db449f4fe533e10f22d1dc7054735/src/core/context/index.ts#L88
  transformWithMap(code: string, _id: string) {
    const generated = this.transform(code, _id)
    if (generated) {
      const ms = new MagicString(code, { filename: _id })
      ms.overwrite(0, code.length, generated)
      return {
        code: ms.toString(),
        map: ms.generateMap({ hires: true }),
      }
    }
  }

A simpler reproducible example (effectively the same code):
import MagicString from 'magic-string';

const code = `const answer = 42;\n\nconsole.log("The answer is", answer);`;
const generated = code;

const ms = new MagicString(code, { filename: 'test.ts' })
ms.overwrite(0, code.length, generated)
console.log(ms.generateMap({ hires: true }));

Returns:
SourceMap {
  version: 3,
  file: undefined,
  sources: [ '' ],
  sourcesContent: undefined,
  names: [],
  mappings: 'AAAA;AAAA'
}

AAAA is position 0 for both statements.

In this function the sourcemap positions are always returned as position 0. This breaks mapping back to the original source and coverage reporting.
https://github.com/KeJunMao/unplugin-preprocessor-directives/blob/667aca04e39db449f4fe533e10f22d1dc7054735/src/core/context/index.ts#L88
  transformWithMap(code: string, _id: string) {
    const generated = this.transform(code, _id)
    if (generated) {
      const ms = new MagicString(code, { filename: _id })
      ms.overwrite(0, code.length, generated)
      return {
        code: ms.toString(),
        map: ms.generateMap({ hires: true }),
      }
    }
  }

A simpler reproducible example (effectively the same code):
import MagicString from 'magic-string';

const code = `const answer = 42;\n\nconsole.log("The answer is", answer);`;
const generated = code;

const ms = new MagicString(code, { filename: 'test.ts' })
ms.overwrite(0, code.length, generated)
console.log(ms.generateMap({ hires: true }));

Returns:
SourceMap {
  version: 3,
  file: undefined,
  sources: [ '' ],
  sourcesContent: undefined,
  names: [],
  mappings: 'AAAA;AAAA'
}

AAAA is position 0 for both statements.

It seems adding if condition can fix this:
`
import MagicString from 'magic-string';
const code = const answer = 42;\n\nconsole.log("The answer is", answer);;
const generated = code;
const ms = new MagicString(code, { filename: 'test.ts' })
if (code !== generated) {
ms.overwrite(0, code.length, generated);
}
console.log(ms.generateMap({ hires: true }));
Returns:
SourceMap {
version: 3,
file: undefined,
sources: [ '' ],
sourcesContent: undefined,
names: [],
mappings: 'AAAA,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC'
}
`

@cookabc - it's not really a fix... it's a fix for the case where the transformed code is the same as the original. I expect in this case, the unplugin processor hasn't done the work it may have needed to do.
Regardless, it's probably a good interim fix for when unplugin doesn't modify the code but it doesn't address the issue for when unplugin does modify the code.

@cookabc - it's not really a fix... it's a fix for the case where the transformed code is the same as the original. I expect in this case, the unplugin processor hasn't done the work it may have needed to do.
Regardless, it's probably a good interim fix for when unplugin doesn't modify the code but it doesn't address the issue for when unplugin does modify the code.

After some investigation, I believe this might be a rather difficult one than good first issue

Is there any plan to fix this soon? Interestingly enough, a second plugin I found that provides similar functionality, has this problem too: https://github.com/LZS911/vite-plugin-conditional-compile/issues/5


add styles to the navbar on product page

What are the relevant tickets?
Fix https://github.com/mitodl/hq/issues/2973
Fix https://github.com/mitodl/hq/issues/2769
Fix https://github.com/mitodl/hq/issues/2838
Description (What does it do?)
Updates the style for  the navbar on product page:

The links hover over the whole tab rather than just the words.
Adjusted some of styles to match the figma design
Active tab is changes color
Navbar is fixed at top of page

Screenshots (if appropriate):

How can this be tested?
Look at the design in the issue. Go to product page and hover over the navbar. It should be visible that the menu is clickable.
When you select a tab it should scroll to the location on the page. The active tab changes based on the position of the scroll.

Does this PR address any of the other issues about this navbar?
Here's a quick list. They might not all be relevant.

https://github.com/mitodl/hq/issues/2769
https://github.com/mitodl/hq/issues/2973
https://github.com/mitodl/hq/issues/2840
https://github.com/mitodl/hq/issues/2838
https://github.com/mitodl/hq/issues/2769

We decided to change the mobile navbar into a dropdown menu. So I am going to add this to this PR.

@annagav Here is the dropdown UI we discussed earlier. I am also providing styling instructions to achieve the required styles."

BG & spacing of dropdown wrapper - sticky-top or mobile-nav-dropdown (whichever has the BG)

background: #eff3f6;
padding: 15px;

dropdown menu styles

padding: 10px 15px;
background: white;
width: 100%;
color: #03152D;
color: #03152D;
text-align: left;
display: flex;
justify-content: space-between;
align-items: center;

.dropdown-menu.show

width: 100%;

Updated screenshots:

@annagav Shadow looks good on mobile. Just one request: can you remove the shadow from the desktop view please?

@jkachel I was able to make the scroll be a bit smoother. It gets pretty good when the sisze of the section is above 500px. When you scroll down it selects the section that appears at the bottom, and when you scroll up it selects the section that is currently at the top.


Make sure there is no extra signing by Ledger

Clarification and motivation
We have simulateTransaction that calls tezos-client transfer bla-bla -D (i. e. in dry run mode). I suspect that for this reason we have to sign each operation twice. It's very bad UX for Ledger users and somewhat bad UX for people with encrypted keys (and unencrypted keys shouldn't be used for anything beside testing I think).
I have checked that tezos-client transfer 0.0001 from mainnet-admin to tz1Ms51iinp8pA6eTkuLHC9UEgcam3E42aUa --burn-cap 1.257 -D asked me for a password from my mainnet-admin address (it's encrypted). So I am quite sure the same will happen in TZBTC (for Ledger as well).
Acceptance criteria
For each injected operation tzbtc-client should require signature at most once.
P. S. It might be a good idea to switch to morley-client first.

P. S. It might be a good idea to switch to morley-client first.

Not because there is no such problem but because we should fix it there as well.


Blazor WebAssembly Builder

Website:- https://blazatech.com/
Generates a Complete Business Online Application instantly.
Built with ASP.NET 5.0 Blazor WebAssembly.
Prerendered with Login Authority.
Has all necessary functionality, for a database application (eg CRUD)
Create, Read, Update, Delete.
Automatically resizes to adapt to any device, including smart phones.
Generates all the necessary code (ie Pages, Components, etc), in seconds.
Customized easily in Visual Studio 2019.
Export to PDF and spreadsheet functionality.
Contact:- Kalvin Ernst<EMAIL_ADDRESS>

Thanks but BlazorSize from Ed Charbeneau is already mentionned.

Thanks but BlazorSize from Ed Charbeneau is already mentionned.


An attempt

It's kinda how I saw it in forever engines source code, look around line 1272 in PlayState

is this ready to be pushed?

actually, hang on

ok there

kk

kk


Firefox: Pre-Publish Fixes

The changes presented here are mostly bug fixes & tune-ups before publication to the marketplace.
Description
The main goal of this pr is to address the following issues:
Secondary Button in Druthers
I've noticed when switching from a character that does not have a secondary background to a new character that has a secondary background in druthers, the secondary background checkbox will not appear until after clicking Apply. Performing the opposite sequence, the secondary background checkbox will still be visible until Apply is clicked.
This is an issue as now the character that does not have a secondary background will have a visible secondary background checkbox indicating it does have a secondary background.
Secondary Button Refresh
When clicking the secondary background checkbox the Options Page does an unnecessary refresh. The Options Page does not need to be included in the refresh sequence as no secondary theme is applied here.
New Settings Button
Right now the settings button does not have a complete indication of a clickable link. For the most part, it is missing important pseudo class*(es)* which defines its affordance, specifically hover.
Motivation and Context

https://github.com/doki-theme/doki-theme-web/pull/86#pullrequestreview-847202640
Screenshots (if appropriate):
Extra Refresh Problem
https://user-images.githubusercontent.com/23222943/148665879-97f549b6-3b68-4bb0-a435-7505c967349b.mp4
Secondary Button Problem
https://user-images.githubusercontent.com/23222943/148665904-5a594b86-2022-47bc-926a-863f9d8d448b.mp4
Types of changes

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

Checklist:

[ ] I updated the version (base package.json and re-built the master extension).
[ ] I updated the changelog with the new functionality.

Ready for review!

Since this still has the stuff from #86 (which hasn't been merged yet), I'm just going to include it in there https://github.com/doki-theme/doki-theme-web/pull/86/commits/9d6123fe26fcfe1907d1774bc4a49b5e6fd44eae and close this pr. Thanks for putting the effort in for creating the pr though.


Transaction still starting despite Invalid response from Central System

I'm trying to start a transaction from the CP using the following idTag FFFFFF the Central System fails it but the charger still tries to start a charge with a different idTag "A0-00-00-00"
is this intended?
Here are the logs:
[OcppOperation] Sent requirement (success): [2,"531531534","Authorize",{"idTag":"FFFFFF"}]
[OcppClientSocket] get text: [3,"531531534",{"idTagInfo":{"status":"Invalid"}}]
[Authorize] Request has been denied![ConnectorMeterValuesRecorder] Called readEnergyActiveImportRegister(), but no energySampler or handling strategy set!
[ChargePointStatusService] Authorize connector though there is no unbound ID tag
[ChargePointStatusService] Connector 1 occupies idTag
[StartTransaction] StartTransaction initiated!
[OcppOperation] Sent requirement (success): [2,"531531535","StartTransaction",{"connectorId":1,"meterStart":0,"timestamp":"2021-09-22T20:57:14.000Z","idTag":"A0-00-00-00"}]
[SmartChargingService] New Limit! Values: {scheduled at = 2021-09-22T20:57:14.000Z, nextChange = 2037-01-01T00:00:00.000Z, limit = 11000.00}

And the code I'm running to execute this:
authorize(
            rfidTag,
            [](JsonObject confMsg) {
                startTransaction([](JsonObject conf) {
                    Log.infoln("[EVSE] Successfully authorized and started transaction");
                    EasyBuzzer.beep(1000, 2);
                    setState(true);
                });
            },
            nullptr, nullptr,
            [](const char *code, const char *description, JsonObject details) {
                printError(code, description);
                setState(false);
            });

Turns out you need to parse the response from the authorize callback if anyone finds this the following code worked for me:
    authorize(
            rfidTag,
            [](JsonObject confMsg) {
                const char *status = confMsg["idTagInfo"]["status"];

                if (String("Accepted").equals(status)) {
                    startTransaction([](JsonObject conf) {
                        Log.infoln("[EVSE] Successfully authorized and started transaction");
                        EasyBuzzer.beep(1000, 2);
                        setState(true);
                    });
                } else {
                    Log.infoln("status=%s", status);
                    ledController.setColor(RED);
                    EasyBuzzer.beep(700, 2);
                }
            },
            nullptr, nullptr,
            [](const char *code, const char *description, JsonObject details) {
                printError(code, description);
                setState(false);
            });


Fix: Add path to load external rules

Pull request checklist
Make sure you:

[X] Signed the Contributor License Agreement
[X] Followed the commit message guidelines

For non-trivial changes, please make sure you also:

[ ] Added/Updated related documentation.
[ ] Added/Updated related tests.

Short description of the change(s)

@molant Nope, it doesn't work without the dist part.

What are the files under process.cwd()? Also, can you paste the package.json of the project?

@molant  Under process.cwd() are dist, node_modules, src, tests, package.json, .sonarwharc and etc. When I run the external rules like jsll, I cd to jsll folder first and ran node node_modules\sonarwhal\dist\src\bin\sonarwhal.js ${url} inside the jsll folder. And the package.json content is as below.
{
  "author": "Microsoft",
  "ava": {
    "babel": {
      "presets": []
    },
    "concurrency": 5,
    "failFast": false,
    "files": [
      "dist/tests/**/*.js"
    ],
    "timeout": "1m"
  },
  "dependencies": {
    "locale-code": "^1.1.1"
  },
  "description": "sonarwhal rule to validate Microsoft's JSLL configuration.",
  "devDependencies": {
    "ava": "^0.25.0",
    "cpx": "^1.5.0",
    "eslint": "^4.18.2",
    "eslint-plugin-import": "^2.8.0",
    "eslint-plugin-markdown": "^1.0.0-beta.7",
    "eslint-plugin-typescript": "^0.9.0",
    "express": "^4.16.2",
    "lodash.clonedeep": "^4.5.0",
    "markdownlint-cli": "^0.7.0",
    "npm-link-check": "^2.0.0",
    "npm-run-all": "^4.1.2",
    "nyc": "^11.4.1",
    "rimraf": "^2.6.2",
    "sonarwhal": "^0.27.0",
    "typescript": "^2.6.2",
    "typescript-eslint-parser": "^14.0.0"
  },
  "engines": {
    "node": ">=8.0.0"
  },
  "files": [
    "dist/src",
    "npm-shrinkwrap.json"
  ],
  "homepage": "https://sonarwhal.com",
  "keywords": [
    "jsll",
    "sonarwhal",
    "sonarwhal-rule",
    "jsll",
    "jsll-rule"
  ],
  "license": "Apache-2.0",
  "main": "dist/src/index.js",
  "name": "@sonarwhal/rule-jsll",
  "peerDependencies": {
    "sonarwhal": "^0.27.0"
  },
  "scripts": {
    "build": "npm run clean && npm-run-all build:*",
    "build-release": "npm run clean && npm run build:assets && tsc --inlineSourceMap false --removeComments true",
    "build:assets": "cpx \"./{src,tests}/**/{!(*.ts),.!(ts)}\" dist",
    "build:ts": "tsc",
    "clean": "rimraf dist",
    "lint": "npm-run-all lint:*",
    "lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path .eslintignore --report-unused-disable-directives",
    "lint:md": "markdownlint --ignore CHANGELOG.md *.md",
    "test": "npm run lint && npm run build && nyc ava",
    "watch": "npm run build && npm-run-all --parallel -c watch:*",
    "watch:assets": "npm run build:assets -- -w --no-initial",
    "watch:test": "ava --watch",
    "watch:ts": "npm run build:ts -- --watch"
  },
  "repository": "Microsoft/sonarwhal-microsoft-rules",
  "version": "0.1.0"
}

I don't get why it doesn't work with the package.json in there pointing to the right main 😞
Let's get this merge then.

@molant Ah sorry I misunderstood you. You meant remove /dist/src/index.js all that but only use process.cwd(), right? I tried again and that works. I will make another PR, sorry for the misunderstanding.


[CI] Add support of python 3.5 and use major django releases

Codecov Report

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

@@          Coverage Diff           @@
##           master    #391   +/-   ##
======================================
  Coverage    90.4%   90.4%
======================================
  Files          43      43
  Lines        2846    2846
======================================
  Hits         2573    2573
  Misses        273     273

Continue to review full report at Codecov.

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


启动报错 [ERROR] Could not resolve "mars3d-cesium"

[ERROR] Could not resolve "mars3d-cesium"
node_modules/mars3d/dist/mars3d.js:10:108:
  10 │ ...rts, (window.Cesium || require('mars3d-cesium')), (window.turf ||<EMAIL_ADDRESS>     ╵                                   ~~~~~~~~~~~~~~~

You can mark the path "mars3d-cesium" as external to exclude it from the bundle, which will
remove this error. You can also surround this "require" call with a try/catch block to
handle this failure at run-time instead of bundle-time.
X [ERROR] Could not resolve "@turf/turf"
node_modules/mars3d/dist/mars3d.js:10:151:
  10 │ ...w.Cesium || require('mars3d-cesium')), (window.turf || require('@turf/turf'))) :
     ╵                                                                   ~~~~~~~~~~~~

You can mark the path "@turf/turf" as external to exclude it from the bundle, which will
remove this error. You can also surround this "require" call with a try/catch block to
handle this failure at run-time instead of bundle-time.
node版本14.18.0 尝试切换到18.15.0 也还是报同样的错误

没有复现问题，我拉了一个最新仓库代码，npm i 后 npm run serve正常运行成功了


'Play' in editor hangs waiting for REPL

In Windows 7, I'm having an issue with the Unity Editor's play functionality and the REPL. Press 'Play' and the editor will hang waiting for a message from the REPL. Any command seems to work.
To reproduce, in a new, properly set up project, with all of the Arcadia files under /Assets/Arcadia, .net 2.0 (not subset), and run-in-background on. Totally empty new scene. Connect a REPL client, via repl-client.rb.
; Clojure Unity REPL
; Clojure 1.7.0-master-SNAPSHOT
; Unity 4.5.5f1 (7684ad0c5a44)
; Mono 2.0 (Visual Studio built mono)
nil

user=> (+ 1 1)
2 ; the command works

user=> (use 'arcadia.core)
nil

user=> (create-primitive :cube)
#<GameObject Cube (UnityEngine.GameObject)> ; Unity connection is fine

; press play here, Unity editor appears to hang

user=> (+ 1 1) ; enter any command here, press enter

; no response in the REPL. Unity will start play mode a few moments later.
; REPL is hung, though; won't respond

;; You can start a new REPL client and it will connect just fine
;; But play mode will still freeze Unity without REPL input, and
;; the REPL will freeze after sending the last command.

I did alter the path code in ClojureAssetPostprocessor.cs to work with Windows paths, which may or may not affect this. I'd be interested in hearing if other Windows users have observed this behavior. Note that I don't get this when I open parade-route.

I've been looking at this issue again now that global game jam 2015 is upon us! I'm pretty sure that Unity will hang when there is a thread that is blocking when it tries to reload the assemblies (i.e. after editing a script or when entering play mode).
You can reproduce this with:
(defn do-thread! [proc]
  (doto (Thread. (gen-delegate ThreadStart [] (proc))) .Start))

(defn block-forever []
  (do-thread!
   (fn []
     (let [f (future (while true nil))]
       @f))))

Run (block-forever) somehow (i.e. REPL or add an editor button that triggers it) and you will find that Unity hangs if you hit play mode or modify a script file. If you open up Editor.log it will be stuck on this line:

Reloading assemblies for play mode.
Begin MonoManager ReloadAssembly

Oh that makes sense, actually. As we understand it, when Unity enters play mode or reloads the assemblies it actually pulls the Mono VM out of memory and reinitializes it. It could be that if Mono has some non-resolved threads Unity waits for them to terminate before moving on. If the the there are threads that never terminate, e.g. your example or the REPL messing up, Unity might hang.
I'll dig around a bit in the next day or so to confirm or deny. Just to be sure, you're testing off of develop, not master, right?

Sweet. I'm using the new-layout branch which I think is up-to-date with develop.

Good to know. We merged new-layout into develop a while back. Switch over when you can for the fixes we've made since then.

This is fixed after todays pushes. Unity will still hang when you quit if the REPL is open on Windows 7. Still working on a fix for that...


Change the "Cross-context transaction (relational databases only)"

I propose to change the section "Cross-context transaction (relational databases only)".
Current approach as it now stands suggest to change the super class constructor signature of DbContext, this can be cumbersome since everyone who develops DbContext super classes need to change their constructors.
With my approach below it is not required to refactor your precious DbContexts which may be separated in different projects etc. The super classes of DbContext can be "regular" and have a DbContextOptions as a argument as in every other example. The trick is then to provide the connection to shared contexts using the regular AddDbContext configuration.

Create a simple DI class that wraps the shared connection e.g.

/// <summary>
/// This allows to share a DbConnection within a scope, e.g. between DbContexts so they can perform transactions
/// </summary>
public class DbContextConnectionConfiguration : IDisposable
{
    private readonly DbConnection _dbConnection;
    private readonly Action<DbConnection, DbContextOptionsBuilder> _configuration;
    private readonly bool _dispose;

    public DbContextConnectionConfiguration(DbConnection dbConnection, Action<DbConnection, DbContextOptionsBuilder> configuration, bool dispose = true)
    {
        _dbConnection = dbConnection;
        _configuration = configuration;
        _dispose = dispose;
    }

    public void Configure(DbContextOptionsBuilder optionsBuilder)
    {
        _configuration(_dbConnection, optionsBuilder);
    }

    public void Dispose()
    {
        if (_dispose) {
            _dbConnection.Dispose();
        }
    }
}

Now only thing required is to inject this to AddDbContext calls in Startup.cs:
public void ConfigureServices(IServiceCollection services)
{
    services.AddScoped(t => new DbContextConnectionConfiguration(
            new SqliteConnection(Configuration.GetConnectionString("Default")),
            (c, o) => o.UseSqlite(c)
    ));
    services.AddDbContext<YourFirstDbContext>((s, o) =>
    {
        s.GetService<DbContextConnectionConfiguration>().Configure(o);
    });
    services.AddDbContext<YourSecondDbContext>((s, o) =>
    {
        s.GetService<DbContextConnectionConfiguration>().Configure(o);
    });
}

That's it, there is no need to refactor your DbContext's just to share a connection.

@Ciantic Can you please provide a link to the doc to which this pertains?

@scottaddie sure; here: https://docs.microsoft.com/en-us/ef/core/saving/transactions

Moved to https://github.com/aspnet/EntityFramework.Docs/issues/471


Back button load previous screen instead of navigate to previous page

When a user loads a screen expects that the back button (left arrow) will go him to the screens view. The current situation is that this button loads previous screen, which is against user expectations.
I make an issue because I think this design leads to a usability issue.

Tooltips for the admin screen preview controls are added in v1.12.0 release.


added Button to Open Circuit Link in Browser

Fixes #261
Describe the changes you have made in this PR -
added button that opens the circuit link in device default browser
Screenshots of the changes (If any) -

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

@vedant-jain03 it's ready to be merged

@Tanmoy741127 @sainideepanshu199 Here as well launchURL function could be used in alot of places, we should not be causing effects in other parts of the apps.

ok !

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 8 (50.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.008%) to 64.621%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/utils/url_launcher.dart
0
1
0.0%

lib/ui/views/projects/project_details_view.dart
4
7
57.14%

Totals

Change from base Build<PHONE_NUMBER>:
-0.008%

Covered Lines:
4044

Relevant Lines:
6258

💛  - Coveralls

i am getting errors in some files , can anyone tell why is this error

i am getting errors in some files , can anyone tell why is this error

The issue due to some unresolved third party package . Run flutter pub get and check whether the issue got fixed.

i am getting errors in some files , can anyone tell why is this error

The issue due to some unresolved third party package import maybe. Run flutter pub get and check whether the issue got fixed.

no even after running flutter pub get , i am getting same issue

i am getting errors in some files , can anyone tell why is this error

The issue due to some unresolved third party package import maybe. Run flutter pub get and check whether the issue got fixed.

no even after running flutter pub get , i am getting same issue

Can you hover on the issue and check whether it's a import issue or deprecation warning

i am getting errors in some files , can anyone tell why is this error

The issue due to some unresolved third party package import maybe. Run flutter pub get and check whether the issue got fixed.

no even after running flutter pub get , i am getting same issue

Can you hover on the issue and check whether it's a import issue or deprecation warning

mostly errors are due to argument cannot be assigned to parameter

i am getting errors in some files , can anyone tell why is this error

The issue due to some unresolved third party package import maybe. Run flutter pub get and check whether the issue got fixed.

no even after running flutter pub get , i am getting same issue

Can you hover on the issue and check whether it's a import issue or deprecation warning

mostly errors are due to argument cannot be assigned to parameter

Ok I will check

i am getting errors in some files , can anyone tell why is this error

The issue due to some unresolved third party package import maybe. Run flutter pub get and check whether the issue got fixed.

no even after running flutter pub get , i am getting same issue

Can you hover on the issue and check whether it's a import issue or deprecation warning

mostly errors are due to argument cannot be assigned to parameter

Ok I will check

is their any update on these errors as i am still getting these errors and it's giving problem in the build and development of app. please tell if i am the only one facing the problem.

i am getting errors in some files , can anyone tell why is this error

The issue due to some unresolved third party package import maybe. Run flutter pub get and check whether the issue got fixed.

no even after running flutter pub get , i am getting same issue

Can you hover on the issue and check whether it's a import issue or deprecation warning

mostly errors are due to argument cannot be assigned to parameter

Ok I will check

is their any update on these errors as i am still getting these errors and it's giving problem in the build and development of app. please tell if i am the only one facing the problem.

I haven't got time to check, will trying to check today

i am getting errors in some files , can anyone tell why is this error

The issue due to some unresolved third party package import maybe. Run flutter pub get and check whether the issue got fixed.

no even after running flutter pub get , i am getting same issue

Can you hover on the issue and check whether it's a import issue or deprecation warning

mostly errors are due to argument cannot be assigned to parameter

Ok I will check

is their any update on these errors as i am still getting these errors and it's giving problem in the build and development of app. please tell if i am the only one facing the problem.

I have checked in my local system, I have not that issue you said.

i am getting errors in some files , can anyone tell why is this error

The issue due to some unresolved third party package import maybe. Run flutter pub get and check whether the issue got fixed.

no even after running flutter pub get , i am getting same issue

Can you hover on the issue and check whether it's a import issue or deprecation warning

mostly errors are due to argument cannot be assigned to parameter

Ok I will check

is their any update on these errors as i am still getting these errors and it's giving problem in the build and development of app. please tell if i am the only one facing the problem.

I have checked in my local system, I have not that issue you said.

what shall i do then

i am getting errors in some files , can anyone tell why is this error

The issue due to some unresolved third party package import maybe. Run flutter pub get and check whether the issue got fixed.

no even after running flutter pub get , i am getting same issue

Can you hover on the issue and check whether it's a import issue or deprecation warning

mostly errors are due to argument cannot be assigned to parameter

Ok I will check

is their any update on these errors as i am still getting these errors and it's giving problem in the build and development of app. please tell if i am the only one facing the problem.

I have checked in my local system, I have not that issue you said.

what shall i do then

Try to run/build the app . Sometime the errors show due to vscode issues.

can anyone tell the status of this pr, does it has errors or is it not reviewed till now.


[E2E test] Adding and deleting a single node

E2E test for a single node

@youngsun4786 @Jin1L
let's gooooo!
can be done via reflect.run

Let's goooooo

@youngsun4786 @Jin1L let's gooooo!
can be done via reflect.run

Made it in Reflect.run


Get the wrong Content expiration

The content expiration time we set is : 2015-8-16　00:00:00
When decrypting this file, we use the following code to get this value, which is 2015-8-15　16:00:00 (8 hour difference)

PS:

In Windows, the content expiration time got by MSICP is correct (2015-8-16　00:00:00).
Both of on-premis server and Azure server have this issue.

Fixed by PR: https://github.com/AzureAD/rms-sdk-for-cpp/pull/99


Converting non-GIF to GIF defaults to loop forever

Question about an existing feature
What are you trying to achieve?
When naively converting non-GIF to GIF, the output GIF is set to loop forever. It might make more sense to default to 1 instead.
When you searched for similar issues, what did you find that might be related?
I did not find anything related to loop forever.
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this question
const sharp = require('sharp');

async function main() {
  await sharp(process.argv[2]).gif().toFile('out.gif');
  console.log(await sharp('out.gif').metadata());
}

main();

will have metadata loop: 0 when passed in a non-GIF but loop: 1 when passed in a non-animated GIF. In practice, they probably display the same but the output is technically an infinitely looping GIF with 1 frame. Tools like gifsicle also indicate "loop forever" on the output image.
Please provide sample image(s) that help explain this question

PNG input -> "animated" GIF output
non-animated GIF input -> non-animated GIF output

As you've seen, loop is not set for non-animated images, so the output will either use the loop value from the input or default to -1, which is "loop forever".
We'll need to copy/set loop to 1 when the page count is also 1, somewhere around here:
https://github.com/lovell/sharp/blob/eacb8337fa0b868fcdffefd422acee4816fc428f/src/common.cc#L570-L571


Unreachable device status

Is there a way that allows for unreachable devices to be displayed as "off"?
I have a Hue bulb in a socket that is "classically" switched by a wall switch. The issue I have is that if I switch the bulb off using the wall switch (The bulb is now unreachable) it is still displayed as "On" in my HomeKit.

Set the wallSwitch setting on the accessory, see https://github.com/ebaauw/homebridge-deconz/wiki/Dynamic-Configuration#settings-2.
Note that I don’t recommend using traditional wall switches for smart lights.  It might take several minutes for deCONZ to realise that the light is no longer reachable.  Also, powering down routers might have a negative impact on the Zigbee network.

Got it! I never thought about the (rather obvious) fact that I am disturbing the zigbee mesh by removing and adding routers. Thanks for pointing that out.


Yaml file

So after creating .yaml file how i load it to evilginx, as in my case it does not loads it automatically?

Did it, not loading it in! Thanks

I worked my o365 phishlets with the author on icq https://icq.im/mrgretzky now forwarding results to mail..... So I believe could fix your


Optionally append to existing data files

Currently old data files will be overwritten, but it would be better if they could be
appended to.
@jonemurray Is this a feature you'd like?

It seems this isn't something the researchers actually want.

Over writing log data is not good and should be made impossible to do, that’s one reason for embedded time stamps in the filename
Sent from Outlook for iOShttps://aka.ms/o0ukef

From: Alex Dewar @.>
Sent: Tuesday, April 18, 2023 6:13:03 PM
To: ImperialCollegeLondon/FINESSE @.>
Cc: Murray, Jonathan E @.>; Mention @.>
Subject: Re: [ImperialCollegeLondon/FINESSE] Optionally append to existing data files (Issue #201)
This email from @.*** originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders listhttps://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address.
It seems this isn't something the researchers actually want.
—
Reply to this email directly, view it on GitHubhttps://github.com/ImperialCollegeLondon/FINESSE/issues/201#issuecomment-1513524197, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A32RD2ICGT7OJZRBBE7TOHTXB3DR7ANCNFSM6AAAAAAXCRQDP4.
You are receiving this because you were mentioned.Message ID: @.***>

Sounds good.
I've added a warning box if the user tries to overwrite data now. Re automatically adding timestamps to filenames: I think this is probably something we should talk about in person.
I'll close this issue.

Any time you want to drop by to talk let me know.
Cheers, Jon.
From: Alex Dewar @.>
Sent: 19 April 2023 09:56
To: ImperialCollegeLondon/FINESSE @.>
Cc: Murray, Jonathan E @.>; Mention @.>
Subject: Re: [ImperialCollegeLondon/FINESSE] Optionally append to existing data files (Issue #201)
This email from @.*** originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders listhttps://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address.
Sounds good.
I've added a warning box if the user tries to overwrite data now. Re automatically adding timestamps to filenames: I think this is probably something we should talk about in person.
I'll close this issue.
—
Reply to this email directly, view it on GitHubhttps://github.com/ImperialCollegeLondon/FINESSE/issues/201#issuecomment-1514373465, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A32RD2OROWLGPPILVFXKM2LXB6SBXANCNFSM6AAAAAAXCRQDP4.
You are receiving this because you were mentioned.Message ID: @.***>


Add "Ctrl + K" AI-Powered Code Editing feature to VS Code

I'd like to request the addition of a "Ctrl + K" feature in VS Code, similar to what's available in the Cursor editor.
The description of the feature is here: https://www.cursor.com/features
See this comment by @levelsio for the motivation: https://twitter.com/levelsio/status/1825321031231213586
Ok now 2 weeks on Cursor
It's great
I only use CMD+K now which is inline prompt box
You tell it to do something and it writes the code for you and you can Accept or Reject

See https://code.visualstudio.com/docs/copilot/getting-started#_refactor-your-code-through-ai-chat


Added New Login page in Glassmorphism design

@MohamedMafaz Can you please share the screenshot of the changes you are trying to make ?


[SUGGESTION] Custom Themes Resource

First of all, I must say that you have a wonderful application here. GPMDP is very well made, and I'm glad to say that I will be using it nearly daily.
I have spent a while Googling for custom themes for this app, however all I have been able to find are themes that too closely resemble the built-in dark theme. I would like to suggest a place where people can upload all their themes for convenience or a place where people can request for a theme to be made. This would make it easier for users to find themes for the application and you could possibly integrate it within GPMDP in the future for ease of access.

I would suggest making your theme a gist here on github and adding it to our wiki with a screenshot:
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/wiki/Themes

This is not something we're going to build (a repository of themes), if you want to put your theme on the Wiki by all means do.


Does runv have plans to support hardware passthrough?

I am still in the process of trying to understand the runv project but I notice you mention that you have no support for the OCI devices section. Are there any thoughts or plans on trying to address this using hypervisor hardware pass through capabilities? It would be particularlly interesting to be able to use hardware pass though  to run gpu applications in a hypervisor container.

Once discussed with @gnawux for several times, let him to take over here.
At the same time we are also working on kubernetes upstream to make Pod level devices happen.

@Esarak
runV is a virtualized container runtime, i.e. implement OCI interface with hypervisors, just like a VM at the bottom. As a result of the harder isolation, you could not map /dev filesystem into a VM, which is those in the device section.
However, the virtualization technology has mature hardware passthrough support already, and could be support in runV.