No intellisense when one argument is type hinted

Issue
If one argument of the init is type hinted it doesn't offer autocomplete
Environment data
pylance - v2021.5.2
Language Server version: v2021.5.2
OS and version: Win10, WSL1
Python version (& distribution if applicable, e.g. Anaconda): 3.8 Miniconda, using .venv
Expected behaviour
To offer autocomplete of object attributes
Actual behaviour
Not offering autocomplete of object attributes
Logs
No logs
Code Snippet / Additional information

@dataclass
class D:
    ko: str = 'koko'
    lo: str = 'lolo'

class A:
    def __init__(self, name, columns) -> None:
        self.name = name
        self.columns = columns

class B:
    def __init__(self, name: str, columns) -> None:
        self.name = name
        self.columns = columns

a = A('name', D())
b = B('name', D())

Offering autocomplete:

No autocomplete:

This is currently intended behavior; for unannotated functions, we will evaluate the function at each call site with the specific types for that call. But, the moment you add a type hint to the function, we assume you're going to fully type the function and no longer perform this analysis.
Is there a reason to only annotate one of the parameters?

This is currently intended behavior; for unannotated functions, we will evaluate the function at each call site with the specific types for that call. But, the moment you add a type hint to the function, we assume you're going to fully type the function and no longer perform this analysis.
Is there a reason to only annotate one of the parameters?

Ok, thanks.
Yes because that self.columns I am trying to create is actually a dataclass with database and dataframe columns inside.
Like the class D in code I provided. My goal is to have intellisense for columns,
f"SELECT {prices.columns.close} FROM {prices}" -> SELECT `prices`.close FROM `prices`

but I can't annotate the columns parameter because I won't to use different dataclasses each time to create columns.

I'm not sure if this is what you want, but this seems like a good place for a generic container:
from typing import Generic, TypeVar

_T = TypeVar('_T')

class A(Generic[_T]):
    def __init__(self, name: str, columns: _T) -> None:
        self.name = name
        self.columns = columns

b = A('name', D())
reveal_type(b.columns)  # D

That works!
for some reason I thought I would need to do
a = A[D]('name', D())

but I was wrong, thank you Sir!

No, that's what inferencing is for. 🙂

No, that's what inferencing is for. 🙂

Is that because of pylance or that's how python usually works?

Pylance; we know that when you pass D() that _T will be D for that instance of A, so you don't need to explicitly say what kind of A you're making. The context is enough.
At runtime, none of these type annotations actually do anything.

That's great, thank you for your hard work!


Can I disable cruise control

I just want to turn if off

Since CC is an essential component in the operator it cannot turned off. Your only options is to use one which is not managed by the operator. To do that you can use cruiseControlEndpoint field under the cruiseControlConfig to specify where the operator can access your CC.


Automatically publish the nightly version of kvrocks to docker hub in daily CI

Search before asking

[X] I had searched in the issues and found no similar issues.

Motivation
Refer to #689 and #691, since we build the nightly version of the docker image we can automatically publish it to some registries like the docker hub, e.g. some tags like nightly, nightly-20220629.
Solution
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Solved by #741, #746, #747 and #748.


ZHA: Aqara vibration sensor can be paired, but is missing after restart

The aqara vibration sensor can be paired and works. But after a restart of HA, it disappeared. It is no longer visible in HA.
Also, the temperature sensor sensor.lumi_lumi_vibration_aq1_02b5f9e3_1_1026 is wrong.
It is reporting always 33°C. Here it is 21°C. While there is a temperature cluster 0x0402, it returns a measured_value of "None". I don't know where the 33 does come from.
Another strange finding: there is a doorlock cluster 0x0101.
0x8f37:1:0x0b04 async_update
0x6426:1:0x0b04 async_update
[0x6426:1:0x0b04] ZCL request 0x000a: [[<Attribute attrid=1291 value=<TypeValue type=int16s, value=17>>]]
[0x6426:1:0x0b04] Attribute report received: active_power=17
Device 0xe03a (00:15:8d:00:02:b5:f9:e3) joined the network
[0xe03a] Requesting 'Node Descriptor'
Device 0xe03a (00:15:8d:00:02:b5:f9:e3) joined the network
Skip initialization for existing device 00:15:8d:00:02:b5:f9:e3
[0xe03a:zdo] ZDO request 0x0013: [57402, 00:15:8d:00:02:b5:f9:e3, 128]
[0xe03a:zdo] Unexpected ZDO reply 0x8002: [<Status.SUCCESS: 0>, 57402, <NodeDescriptor byte1=2 byte2=64 mac_capability_flags=128 manufacturer_code=4151 maximum_buffer_size=127 maximum_incoming_transfer_size=100 server_mask=0 maximum_outgoing_transfer_size=100 descriptor_capability_field=0>]
[0x2577:1:0x0500] ZCL request 0x0100: [36, 0, 0, 0]
Updated alarm state: 0
[0x2577:1:0x0500] No handler for cluster command 0
[0x2577:2:0x0406] ZCL request 0x000a: [[<Attribute attrid=0 value=<TypeValue type=bitmap8, value=0>>]]
[0x2577:2:0x0406] Attribute report received: occupancy=0
[0xe03a] Requesting Node Descriptor failed:
[0xe03a] Discovering endpoints
[0xe03a] Discovered endpoints: [1, 2]
[0xe03a:1] Discovering endpoint information
[0xe03a:1] Discovered endpoint information: <SimpleDescriptor endpoint=1 profile=260 device_type=10 device_version=1 input_clusters=[0, 3, 25, 257] output_clusters=[0, 4, 3, 5, 25, 257]>
[0xe03a:1] Manufacturer: LUMI
[0xe03a:1] Model: lumi.vibration.aq1
[0xe03a:2] Discovering endpoint information
[0xe03a:2] Discovered endpoint information: <SimpleDescriptor endpoint=2 profile=260 device_type=24322 device_version=1 input_clusters=[3, 18] output_clusters=[4, 3, 5, 18]>
Considering <class 'zigpy.quirks.smartthings.SmartthingsMultiPurposeSensor'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zigpy.quirks.kof.CeilingFan'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zigpy.quirks.keen.KeenTemperatureHumiditySensor'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zigpy.quirks.ikea.TradfriPlug'>
Fail because endpoint list mismatch: dict_keys([1, 2, 242]) {1, 2}
Considering <class 'zhaquirks.centralite.3130.CentraLite3130'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zhaquirks.centralite.3300S.CentraLite3300S'>
Fail because profile_id mismatch on at least one endpoint
Considering <class 'zhaquirks.centralite.3305S.CentraLite3305S'>
Fail because device_type mismatch on at least one endpoint
Considering <class 'zhaquirks.centralite.3310S.CentraLite3310S'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zhaquirks.centralite.3315S.CentraLite3315S'>
Fail because profile_id mismatch on at least one endpoint
Considering <class 'zhaquirks.centralite.3320.CentraLite3320'>
Fail because profile_id mismatch on at least one endpoint
Considering <class 'zhaquirks.centralite.3321S.CentraLite3321S'>
Fail because profile_id mismatch on at least one endpoint
Considering <class 'zhaquirks.centralite.ias.CentraLiteIASSensor'>
Fail because profile_id mismatch on at least one endpoint
Considering <class 'zhaquirks.centralite.motion.CentraLiteMotionSensor'>
Fail because profile_id mismatch on at least one endpoint
Considering <class 'zhaquirks.gledopto.gls007z.GLS007Z'>
Fail because endpoint list mismatch: dict_keys([12, 11, 13]) {1, 2}
Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
Fail because endpoint list mismatch: dict_keys([11, 13]) {1, 2}
Considering <class 'zhaquirks.hivehome.mot003V0.MOT003'>
Fail because endpoint list mismatch: dict_keys([6]) {1, 2}
Considering <class 'zhaquirks.hivehome.mot003V6.MOT003'>
Fail because endpoint list mismatch: dict_keys([6]) {1, 2}
Considering <class 'zhaquirks.innr.rs228t.RS228T'>
Fail because endpoint list mismatch: dict_keys([1, 242]) {1, 2}
Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zhaquirks.osram.a19rgbw.LIGHTIFYA19RGBW'>
Fail because endpoint list mismatch: dict_keys([3]) {1, 2}
Considering <class 'zhaquirks.osram.a19twhite.A19TunableWhite'>
Fail because endpoint list mismatch: dict_keys([3]) {1, 2}
Considering <class 'zhaquirks.osram.flexrgbw.FlexRGBW'>
Fail because endpoint list mismatch: dict_keys([3]) {1, 2}
Considering <class 'zhaquirks.osram.lightifyx4.LightifyX4'>
Fail because endpoint list mismatch: dict_keys([1, 2, 3, 4, 5, 6]) {1, 2}
Considering <class 'zhaquirks.philips.rwl021.PhilipsRWL021'>
Fail because profile_id mismatch on at least one endpoint
Considering <class 'zhaquirks.samjin.button.SamjinButton'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zhaquirks.samjin.button2.SamjinButton'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zhaquirks.sinope.thermostat.SinopeTechnologiesThermostat'>
Fail because endpoint list mismatch: dict_keys([1, 196]) {1, 2}
Considering <class 'zhaquirks.smartthings.motionv4.SmartThingsMotionV4'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zhaquirks.smartthings.multiv4.SmartThingsMultiV4'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zhaquirks.visonic.mct340e.MCT340E'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zhaquirks.xiaomi.aqara.cube_aqgl01.CubeAQGL01'>
Fail because endpoint list mismatch: dict_keys([1, 2, 3]) {1, 2}
Considering <class 'zhaquirks.xiaomi.aqara.magnet_aq2.MagnetAQ2'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zhaquirks.xiaomi.aqara.motion_aq2.MotionAQ2'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zhaquirks.xiaomi.aqara.motion_aq2b.MotionAQ2'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zhaquirks.xiaomi.aqara.remote_b286acn01.RemoteB286ACN01'>
Fail because endpoint list mismatch: dict_keys([1, 2, 3]) {1, 2}
Considering <class 'zhaquirks.xiaomi.aqara.sensor_swit.SwitchAQ3V2'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zhaquirks.xiaomi.aqara.sensor_switch_aq3.SwitchAQ3'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zhaquirks.xiaomi.aqara.switch_aq2.SwitchAQ2'>
Fail because endpoint list mismatch: dict_keys([1]) {1, 2}
Considering <class 'zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1'>
Found custom device replacement for 00:15:8d:00:02:b5:f9:e3: <class 'zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1'>
LUMI lumi.vibration.aq1: started configuration
node descriptor: [<Status.SUCCESS: 0>, 57402, <NodeDescriptor byte1=2 byte2=64 mac_capability_flags=128 manufacturer_code=4151 maximum_buffer_size=127 maximum_incoming_transfer_size=100 server_mask=0 maximum_outgoing_transfer_size=100 descriptor_capability_field=0>]
LUMI lumi.vibration.aq1: channel: zdo-LUMI lumi.vibration.aq1_ZDO async_configure stage succeeded
0xe03a:1:0x0000: finished channel configuration
initializing channel: basic from_cache: False
LUMI lumi.vibration.aq1: channel: basic-0xe03a:1:0x0000 async_configure stage succeeded
0xe03a:1:0x0500: started IASZoneChannel configuration
0xe03a:1:0x0001: bound  'power' cluster: Status.SUCCESS
0x8f37:1:0x0b04 async_update
0x6426:1:0x0b04 async_update
0xe03a:1:0x0402: Failed to bind 'temperature' cluster: [0xe03a:0:0x0021]: message send failure: EmberStatus.DELIVERY_FAILED
0xe03a:1:0x0500: Failed to bind 'ias_zone' cluster: [0xe03a:0:0x0021]: message send failure: EmberStatus.DELIVERY_FAILED
0xe03a:1:0x0001: failed to set reporting for 'battery_voltage' attr on 'power' cluster: [0xe03a:1:0x0001]: message send failure: EmberStatus.DELIVERY_FAILED
0xe03a:1:0x0402: failed to set reporting for 'measured_value' attr on 'temperature' cluster: [0xe03a:1:0x0402]: message send failure: EmberStatus.DELIVERY_FAILED
0xe03a:1:0x0402: finished channel configuration
LUMI lumi.vibration.aq1: channel: attribute-0xe03a:1:0x0402 async_configure stage succeeded
0xe03a:1:0x0500: Failed to write cie_addr: 00:0d:6f:00:0d:d0:28:7b to 'ias_zone' cluster: [0xe03a:1:0x0500]: message send failure: EmberStatus.DELIVERY_FAILED
0xe03a:1:0x0500: finished IASZoneChannel configuration
LUMI lumi.vibration.aq1: channel: ias_zone-0xe03a:1:0x0500 async_configure stage succeeded
0xe03a:1:0x0001: failed to set reporting for 'battery_percentage_remaining' attr on 'power' cluster: [0xe03a:1:0x0001]: message send failure: EmberStatus.DELIVERY_FAILED
0xe03a:1:0x0001: finished channel configuration
LUMI lumi.vibration.aq1: channel: power-0xe03a:1:0x0001 async_configure stage succeeded
0xe03a:1:0x0101: Failed to bind 'multistate_input' cluster: [0xe03a:0:0x0021]: message send failure: EmberStatus.DELIVERY_FAILED
[0xe03a:1:0x0101] 0 is not a valid attribute id
LUMI lumi.vibration.aq1 channel: attribute-0xe03a:1:0x0101 async_configure stage failed ex: object NoneType can't be used in 'await' expression
LUMI lumi.vibration.aq1: completed configuration
LUMI lumi.vibration.aq1: stored in registry: ZhaDeviceEntry(name='LUMI lumi.vibration.aq1', ieee='00:15:8d:00:02:b5:f9:e3', power_source=0, manufacturer_code=4151, last_seen=1563095964.4268718)
LUMI lumi.vibration.aq1: started initialization
entry loaded from storage: ZhaDeviceEntry(name='LUMI lumi.vibration.aq1', ieee='00:15:8d:00:02:b5:f9:e3', power_source=0, manufacturer_code=4151, last_seen=1563095964.4268718)
LUMI lumi.vibration.aq1: channel: zdo-LUMI lumi.vibration.aq1_ZDO async_initialize stage succeeded
initializing channel: power from_cache: False
LUMI lumi.vibration.aq1: channel: power-0xe03a:1:0x0001 async_initialize stage succeeded
initializing channel: attribute from_cache: False
LUMI lumi.vibration.aq1: channel: attribute-0xe03a:1:0x0402 async_initialize stage succeeded
initializing channel: ias_zone from_cache: False
LUMI lumi.vibration.aq1: channel: ias_zone-0xe03a:1:0x0500 async_initialize stage succeeded
initializing channel: basic from_cache: False
LUMI lumi.vibration.aq1: channel: basic-0xe03a:1:0x0000 async_initialize stage succeeded
initializing channel: attribute from_cache: False
LUMI lumi.vibration.aq1: channel: attribute-0xe03a:1:0x0101 async_initialize stage succeeded
LUMI lumi.vibration.aq1: power source: Battery or Unknown
LUMI lumi.vibration.aq1: completed initialization
[0xe03a:1:0x0000] Unexpected ZCL reply 0x0001: [[<ReadAttributeRecord attrid=7 status=0 value=3>]]
[0xe03a] Requesting 'Node Descriptor'
[0xe03a] Node Descriptor: <NodeDescriptor byte1=2 byte2=64 mac_capability_flags=128 manufacturer_code=4151 maximum_buffer_size=127 maximum_incoming_transfer_size=100 server_mask=0 maximum_outgoing_transfer_size=100 descriptor_capability_field=0>
0x8f37:1:0x0b04 async_update
0x6426:1:0x0b04 async_update

Ubuntu 18.10, Home Assistant v. 0,94.4, Bitron Video Zigbee Stick

The door lock cluster is how Xiaomi implemented this. Welcome to Xiaomi. Temp sensors were removed in 95. What do you mean it’s gone after a restart?

After a restart of HA, the sensor it not visible in HA. It is like it never had been paired. Andin the ZHA settings, it is not under devices.

Look in the logs for something like left the network.

Here are the contents of zigbee.db for this device. I see that there are non.printable characters. Can this be the reason?
select * from attributes where ieee="00:15:8d:00:02:b5:f9:e3";
ieee|endpoint_id|cluster|attrid|value
00:15:8d:00:02:b5:f9:e3|1|0|4|LUMI
00:15:8d:00:02:b5:f9:e3|1|0|5|lumi.vibration.aq1
00:15:8d:00:02:b5:f9:e3|1|0|7|3
00:15:8d:00:02:b5:f9:e3|1|0|65281|!œ(!š!+
00:15:8d:00:02:b5:f9:e3|1|1|32|30
00:15:8d:00:02:b5:f9:e3|1|1|33|200
00:15:8d:00:02:b5:f9:e3|1|257|0|Tilt
00:15:8d:00:02:b5:f9:e3|1|257|85|2
00:15:8d:00:02:b5:f9:e3|1|257|1283|43
00:15:8d:00:02:b5:f9:e3|1|257|1285|3670016
00:15:8d:00:02:b5:f9:e3|1|257|1288|5209796313115
00:15:8d:00:02:b5:f9:e3|1|1026|0|3100

select * from clusters where ieee="00:15:8d:00:02:b5:f9:e3";
ieee|endpoint_id|cluster
00:15:8d:00:02:b5:f9:e3|1|0
00:15:8d:00:02:b5:f9:e3|1|3
00:15:8d:00:02:b5:f9:e3|1|25
00:15:8d:00:02:b5:f9:e3|1|257
00:15:8d:00:02:b5:f9:e3|2|3
00:15:8d:00:02:b5:f9:e3|2|18

select * from devices where ieee="00:15:8d:00:02:b5:f9:e3";
ieee|nwk|status
00:15:8d:00:02:b5:f9:e3|57402|2

select * from endpoints where ieee="00:15:8d:00:02:b5:f9:e3";
ieee|endpoint_id|profile_id|device_type|status
00:15:8d:00:02:b5:f9:e3|1|260|10|1
00:15:8d:00:02:b5:f9:e3|2|260|24322|1

select * from node_descriptors where ieee="00:15:8d:00:02:b5:f9:e3";
ieee|value
00:15:8d:00:02:b5:f9:e3|@7d

select * from output_clusters where ieee="00:15:8d:00:02:b5:f9:e3";
ieee|endpoint_id|cluster
00:15:8d:00:02:b5:f9:e3|1|0
00:15:8d:00:02:b5:f9:e3|1|3
00:15:8d:00:02:b5:f9:e3|1|4
00:15:8d:00:02:b5:f9:e3|1|5
00:15:8d:00:02:b5:f9:e3|1|25
00:15:8d:00:02:b5:f9:e3|1|257
00:15:8d:00:02:b5:f9:e3|2|3
00:15:8d:00:02:b5:f9:e3|2|4
00:15:8d:00:02:b5:f9:e3|2|5
00:15:8d:00:02:b5:f9:e3|2|18

And sth. from the log:
2019-07-14 11:18:54 DEBUG (MainThread) [zigpy.zdo] [0xe03a:zdo] ZDO request 0x0013: [57402, 00:15:8d:00:02:b5:f9:e3, 128]
2019-07-14 11:18:54 ERROR (MainThread) [bellows.ezsp] Exception running handler
Traceback (most recent call last):
  File "/home/nuc/.homeassistant/deps/lib/python3.7/site-packages/bellows/ezsp.py", line 242, in handle_callback
    handler(*args)
  File "/home/nuc/.homeassistant/deps/lib/python3.7/site-packages/bellows/zigbee/application.py", line 207, in ezsp_callback_handler
    self._handle_frame(*args)
  File "/home/nuc/.homeassistant/deps/lib/python3.7/site-packages/bellows/zigbee/application.py", line 230, in _handle_frame
    tsn, command_id, is_reply, args = self.deserialize(device, aps_frame.sourceEndpoint, aps_frame.clusterId, message)
TypeError: cannot unpack non-iterable NoneType object

Very often, I see this line in the log:
zigpy.exceptions.DeliveryError: [0x332c:1:0x0000]: message send failure: EmberStatus.DELIVERY_FAILED
Is there a problem with the zigbee stack in the usb stick?

can you update HA please and see if the issue persists? I'm on the latest and I cannot reproduce the issue.

I updated zha-quirks and zigpy.
But I have made fixes and enhancements to my HA version so I will not update from 0.94.4
I removed the non-printable characters from zigbee.db and I fixed a bug in zigpy-bellows and when I restart HA, the aq1-sensors are still there in the device list.
But it still becomes "unknown" after a few hours.

What did you fix in Zigpy-bellows? If there is a bug we should fix it for everyone.
Are the enhancements you have made in HA in the ZHA component?
The non printable characters are harmless I can assure you of that.
The “unknown” will happen after 2 hours if the device chooses a parent that doesn’t work with Xiaomi devices. Xiaomi doesn’t follow the specs and they suffer from compatibility issues with many routing devices. This is well documented on the net. Here are some resources I shared a while back on the forum: https://community.home-assistant.io/t/zha-zigbee-tested-devices-please-add-your-device-results/17718/677?u=dmulcahey feel free to give the links in that post a read.

This is the bug from bellows: https://github.com/zigpy/bellows/issues/175
I'm not sure if it is important or not.
In ZHA I changed in sensor.py the active_power_formatter,
and in zha/core/device.py the handling of args was wrong, I changed it to *args.split()

What was/is wrong in device.py? Same as bellows, if there is an issue I’d like to fix it for everyone. Line #’s and before / after please as well as a description of the problem would be appreciated.
Also, please note when you have modified core files in the future when you open issues.

I modified this in my private repository. Only for me.

So you won’t describe the issue in device.py that you fixed?

See here:
https://community.home-assistant.io/t/zha-issue-zigbee-cluster-command-does-not-work-as-expected/125695

Thanks!

I see this message very often:

Device 00:15:8d:00:02:b5:f9:e3 changed id (0xe03a => 0x4358)
Maybe this can cause problems?

It shouldn’t. Devices are allowed to change nwk addresses.

@martin3000 Do you have any CC2531 based routers in your environment?

Devices are allowed to change nwk addresses

They are, but check your logs, how many of messages do you have? I'm just concerned this indicates that network is always opened for joining (some firmare version of CC2531 routers were defaulting to allow joining all the time on a power cycle) and it actually means that device was off the network. IIRC per specs device should retain NWK even if they leave/sleep/loose their parent and should change NWK only open NWK conflict detection.

but check your logs, how many of messages do you have?

I mean how many of those do you have without calling zha.permit service 1st, ie network is not open for new joins.

I have only 4 of those message in 7 days.

I have only 4 of those message in 7 days.

5 changed ids today.
No cc2531. Only 1 smart plug and a zigbee bulb with mains power.

If somebody wants to extract the angle:
sensor:
 - platform: sql
    db_url: sqlite:////home/user/.homeassistant/zigbee.db
    scan_interval: 60
    queries:
      - name: aq1_angle
        query: "SELECT value FROM attributes where ieee = '00:15:8d:00:02:b5:f9:e3' and cluster = 257 and attrid = 1283"
        column: "value"
        unit_of_measurement: "°"

I give up. I sell these devices....

A note for future searchers:
I got the xiaomi/aqara vibration sensor stable but it took some effort.
I have seen the symptoms reported here and other threads.
Xiaomi sensors are notoriously picky about what zigbee routers they will stay paired with.
After trying recommended smart plugs as bridges, i found the CC2530+CC2591 with external antenna ($15, eBay) running the router firmware from the zigbee2mqtt project works well.
I can restart/reboot HA daily and the sensor stays paired and operational.  I have not had to re-pair since using the CC2530+CC2591.
Of course, when calling zha.permit, I provide the ieee address of the router so the vib sensor has only one router it can pair with.  I verify child-parent associations with zha_map text files.
Xiaomi sensors also do not seem to re-route when their parent router is unavailable.  No way to fix that.  My SmartThings button does a good job re-routing and finding better paths automatically, but costs more.
My coordinator is Conbee II.


Avoid Relative Paths in run.py

Having relative paths in commands/run.py, e.g. line 180: ../new_scenarios/pdfs/<name> results in the need to call run.py from inside commands subdirectory.
For Python 3 only, one possible solution would be to use:
import pathlib
project_root_dir = pathlib.Path(__file__).parent.parent.resolve()
# ...
gen_pdf_version(all_conds, f"{project_root_dir}/new_scenarios/pdfs/<name>, ...)

Of course one has to be careful to remember adjusting this when the project layout changes, but which should hopefully not happen often, if anytime.
Source: https://stackoverflow.com/a/3430395/4108363

Done! Thanks!


Linea zkEvm not working on testnet

Describe the bug
See title.
To Reproduce
Steps to reproduce the behavior:

Go to https://testnet.bridge.connext.network/TEST-from-optimism-to-linea?amount=1
See console errors.

Additional context
Check docs to make sure everything is set up right.
https://docs.linea.build/developers/use-message-bridge

Will fix with #4014


Add kinetic model notebook

To do:

instead of including copies of files from openneuro, can you include code for users to download them? see an example here
the json file for this example is not PET-BIDS compliant and that's why the SUVR code is failing. After downloading the json from openneuro, can you fix it (through code included in your .ipynb) so that there's only a single frame in "FrameDuration" and "FrameTimesStart", i.e.,"FrameTimesStart": [0],
"FrameDuration": [600000]

make sure that pre-commit checks pass: nox --session=pre-commit


fix line emphasis in template example

The wrong lines are highlighted in the Sample Heat template.
http://f5-openstack-heat-plugins.readthedocs.org/en/kilo/#usage

Also fixup symlink in doc for Ubuntu installations.
ln -s /usr/local/lib/python2.7/dist-packages/f5_heat /usr/lib/heat

Fixed has been merged into kilo.  Should close was fix makes it to master

Closing because issue didn't close automatically.


Decrypt hanging forever on bad encrypted sequence

In decrypt(), if buf is not a properly encrypted sequence, ursa will just hang there forever.
var buf = new Buffer('random stuff');
var decrypt = key.decrypt(buf); // hang here forever
Using latest 0.8.5

It's throwing an "error:0407A079:rsa routines:RSA_padding_check_PKCS1_OAEP:oaep decoding error" Error. Its not hanging. It seems my code is silently ignoring the exception. Sorry. Closing.


H2 not red?

Challenge Use a CSS Class to Style an Element has an issue.
User Agent is: Mozilla/5.0 (Linux; Android 4.4.2; SM-T231 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.105 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

Request you to please confirm in the Help Chat room, prior reporting as an issue.
Thanks and Happy Coding!

I've got the same issue. Using Chrome 49 on a mobile device (Samsung Galaxy Note 4).

All except the first box are marked good (h2 text is red is not green).

@raisedadead If you click the link the font color is not red despite having "correct" code.
@AdriaanLouw @Gero1369 Are either of you using a custom keyboard/keyboard app?
@AdriaanLouw In your case if you delete the first two spaces on line 2 the h2 element will change font colors. It seems you entered a non-standard white-space character or characters.

I'm using the default keyboard afaik. My OS was recently upgraded, but I'd doubt that has anything to do with the problem.
Thx!

If so, please try pressing "Reset" and typing out the code again. If that doesn't work try copying and pasting your own code (or the code in the first post) into the code editor.

Yes. It's black. I'll try typing out the code again after a reset. Thx.
Will reply in a few with results.

I removed all the whitespace in the CSS and was able to pass the tests.  Thx!

@sludge256 Thanks. I couldn't reproduce this, sorry about closing this as well in the first place, there wasn't any relevant info when this was first opened.
I'll leave you to sort this out.
But the looks of this is this device/browser specific?
Thanks again!

I'm having the same problem as @Gero1369
Please help.

use this code:

CatPhotoApp
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

This is an issue that I believe shows up only if you are using a particular browser in your mobile device. For me, it is chrome browser on my Moto E android device. It might be blank spaces, I don't know for sure but it definitely is an issue.

the solution is to also add a class to your HTML element like this
CatPhotoApp

The solution is to also add a class to your HTML, like this;
"CatPhotoApp"

The solution is to also add class to your HTML

the code which works for  this challenge is :

@chandramaniadil @mayunited12 @jincarrey Thanks.
But,
The issue here is not about the code being incorrect. Requesting everyone from posting more code snippets
The code editor (code mirror) seems broken on the specific devices as pointed out by @Gero1369  and @abhayIII.

I have the same bug on Android 5.0.0 running Google Chrome 49.0. I also have a custom SwiftKey keyboard.

Let's get this issue closed.
The solution as pointed above is either to switch to desktop sires or to remove blank spaces after the flower brackets. Trust me this is not an isolated issue. This keeps coming up every now and then. The only thing that seems to work is to remove blank spaces.

but that sometimes moves cursor up and delete some code too. @abhayIII

@abhayIII I completely agree and understand the frustration.
Here is what you happens when you use a visit the URL mentioned in the issue

THIS DOES NOT PASS THE CHALLENGE
And here is what happens you do a reset and remove all white spaces and just type in the code.

THIS PASSES THE CHALLENGE
Problem:
There is an extra " &npsp;" on the DOM, which of course messes up the rendering.

Its problem occurring in google chrome remove white spaces in line 2&3 it will work fine

I spent over an hour on this to no avail. Copied the same exact code from this thread and it passed.


display canonical version string on installed version

Sometimes it is useful not only to talk about MSS versions, seeing which build it is can be better
We should find an easy way to show a string similar to this in the help info of the gui
mamba list -c | grep mss

conda-forge/linux-64::mss-2.0.1-py39hf3d152e_0

Some problems may occure because the package was installed in the little time frame some library was updated and we have not created a new build.
If I would see this string and together a bug report with sqalchemy problems I could immediatly tell, take the _1 we fixed it :)

the version string can  be retrieved by
glob.glob(sys.prefix + '/conda-meta/mss-*')

current implementation is for the command line.

We look for a smarter solution than the one in the PR.

too complicated for some reason.


Set up docs PR deployment previews

https://github.com/marketplace/actions/deploy-pr-preview defines a way to publish docs PR previews to a subtree of venvstacks.lmstudio.ai
Being able to see the rendered docs can help with reviews (especially for the sphinx-autodoc based API docs), so adding that would be worthwhile.

This won't inherently work with our current publishing action (see https://github.com/peaceiris/actions-gh-pages/issues/718 )
Switching to https://github.com/JamesIves/github-pages-deploy-action instead would allow it to work, but makes the CNAME handling a bit clunkier (we have to commit the file and tell the workflows not to delete it, rather than specifying it in the workflow)

The CNAME handing in the alternative publication action is nicer than I thought - the action defaults to leaving the CNAME file on the publication branch alone, which means it respects the setting updates made through the GitHub web UI.


Extension breaks web app sync

When using the Todoist web app with the Todoist Shortcuts extension enabled in Chrome, actions taken from another Todoist app (Android and web confirmed) do not get synced automatically to the current Todoist web app. Disabling the extension and then reloading the web app restores the expected sync functionality.
Steps to reproduce

Open Today view in web app A and web app B.
Ensure Todoist Shortcuts extension is enabled for web app A.
Complete a task in web app B.
Notice that the task remains uncompleted in web app A.

Thanks for creating and sharing such a useful extension! Let me know if I can help with further debugging.

Good catch, thanks for reporting!
I can reproduce the problem, but after fiddling with it for a while, curiously sometimes the syncing does work, albeit usually after an abnormally long wait.  I tried commenting out a few likely suspects, and found that commenting out the top level call of registerTopMutationObservers resolves the issue.  It's a total mystery to me.
Here's what the stack of the handler for sync looks like when it works (it seems to start a timer that later does a render, or something like that):

Whereas here is the stack of a broken sync:

Pretty similar, but some differences.  I think this is likely an upstream Todoist bug, I don't think todoist-shortcuts is doing anything particularly wrong, I'm guessing it's just changing some timing characteristics to make the bad behavior more likely.

Thanks a lot for taking a closer look. I let Todoist support know about this issue and mentioned that it'd be great if one of their developers could chime in here. I wouldn't expect that to happen, but you never know.

:+1: A temporary workaround for now is that there is a binding for manually syncing - ctrl+s

Hmm actually manual sync doesn't seem to do the trick.  Curious!

Just installed the extension but can't seem to reproduce this issue 🤔
@ianmalott @mgsloan
From the request log, could you see if sync gets automatically triggered at first place?

Hi @stkao05, thanks for taking a look. I was able to confirm the original reported issue in version 44 of the extension, but it looks like the issue is partially fixed in version 45, which was released within the past day. That may be why you weren't able to reproduce the issue. Here's some inconsistent sync behavior I'm still seeing in version 45:
Adding a new task
This operation now gets synced as expected.
Deleting a task
This operation seems to not sync until a mouse hover event in the out-of-date app triggers a sync. This may be intentional behavior, but it doesn't match the sync behavior for other operations, like adding a new task. Plus, if your goal is to keep your hands on the keyboard, you might not move the mouse at all, and therefore not trigger a sync incidentally with a hover.
Updated (version 45) Steps to reproduce

Open Today view in web app A and web app B.
Ensure Todoist Shortcuts extension is enabled for web app A.
Delete a task in web app B.
Don't move your mouse around in web app A.
Notice that the task remains not deleted in web app A for up to a few minutes, maybe indefinitely.
Now move your mouse over various elements in web app A and notice the sync finally occur.

In my prior investigation, the behavior seemed to occur quite a bit less when I disabled some dom mutation observers. This leads me to believe that it's due to particulars of execution scheduling / timing, and that perhaps the problem is the unexpected delays due to the mutation observers.
It isn't surprising that this changed in version 45, because https://github.com/mgsloan/todoist-shortcuts/commit/2f17b9c5f2a8939632221c06551aa69c3267a4e8 does some intelligent filtering of some of the most common ignorable dom mutations.

Closing out as an old bug


clarification on refPaths and thisPaths of a call method

I have the following route:
{
    route: 'users.create',
    call(callPath, args) {
      const user = ...
      return Observable.fromPromise(user.save()).
        map(() => [
          {
            path: ['usersById', user.id],
          },
        ]);
    }
  }

I initially thought that refPaths are the paths that will be added to ['usersById', user.id] and retrieve fields of the newly created object, however when I make the following call:
model.call(
      ['users', 'create'],
      [args],
      [['email'], ['id']]
    ).then(console.log)

How to use refPaths? (I have read documentation and thought it should retrieve properties of a newly created object, if it received the path)
how can I query for something unrelated to the newly created object, i.e. [featuredProducts, {from: 0, to: 9}, 'title'], if I want to query first page's information in the same call to the server. Does it go to

I have read documentation multiple times and learned it by heart I think, however I am sure I misunderstanding everything about how call works... :(

There are three questions here (at least as far as i can see).

How to use refPaths
How to use thisPaths
Preloading data

Returning other data in a call

I'll answer them in order the best I can.  Before answering any of them I am going to first write a small example that will be applicable to 1 & 2.
// Here is the router that is returning data
var router = new Router([{
    route: 'lists[{keys}].add'
    call: function(callPath, args) {
        return listService.

            // Use the list Id to add the new item to the list.  The item is "whatever" that is in the args.
            add(callPath[1], args).
            map((newListItem) => {
                var listRef = {
                    path: ['lists', callPath[1], newListItem.index],
                    value: ref(['items', newListItem.id])
                };
                return listRef;
            });
    }
}]);

How to use refPaths
So the next problem is that now that we created a new item, all we get back is the reference at the index in the list.    Think again! We can use 2 methods to get that data back.

We can have the call function on the server just return that extra data.  This sucks because some systems may need different parts of the new items information, so there will be some over fetching.

We can use refPaths.  How refPaths work is that each reference returned by the call algorithm will get the refPaths concat'd and reran through the Router's matching algorithm.

So our model op looked like
model.call(['lists', 123, 'add'], [...], [['name'], ['type'], ['price']]).subscribe(...);

This means the router would initially call the add function.  Once complete would attach [['name'], ['type'], ['price']] to each reference.  This means that the matching algorithm would match the following paths.
call(['lists', 123, 'add']) -> [{
    path: ['lists', 123, 7],
    value: $ref(['items', 'ABC'])
}];

//Since there were 1 or more refPaths AND 1 or more references, then produce "get" paths
// From call's resulting references.
get([
    ['items', 'ABC', 'name'],
    ['items', 'ABC', 'type'],
    ['items', 'ABC', 'price']
]) -> { ... };

thisPaths
thisPaths allow for another way to post process a call request.  thisPaths will be concat'd with the following formula.
// Which would be optimizedCallPath = ['lists', 123, 'add'] in our example
var optimizedCallPath = optimized(callPath);

// thisPath would equal ['lists', 123] in the above example
var thisPathBase = optimizedCallPath.slice(0, optimizedCallPath.length - 1);

var fullThisPaths = thisPaths.map(x => thisPathBase.concat(x));

This is handy when you add something to the list and you want the length back of the list as well.  This could be done by simply having the callFunction return the length of the list as well, but much like before, it becomes a slippery slope of how much does the callFunction know about the clients and what information should it be responsible for returning.
Preloading data
This is probably the simplest answer to them all.  With call you can return whatever data you want!  So lets alter the above example to return the name of the item added to the list.
// Here is the router that is returning data
var router = new Router([{
    route: 'lists[{keys}].add'
    call: function(callPath, args) {
        return listService.

            // Use the list Id to add the new item to the list.  The item is "whatever" that is in the args.
            add(callPath[1], args).
            map((newListItem) => {
                var listRef = {
                    path: ['lists', callPath[1], newListItem.index],
                    value: ref(['items', newListItem.id])
                };
                var listName = {
                    path: ['items', newListItem.id, 'name'],
                    value: newListItem.name
                };
                return [listName, listRef];
            });
    }
}]);

I hope that answers your questions @almasakchabayev and merry new year!

@almasakchabayev I am going to assume that all is well.  If there are further questions, please feel free to re-open the ticket.

Hi ! I am having some trouble understanding the call method as well.
Right now I am able to add data but I have to manually refresh the browser for the data to be displayed (this is retrieved by my get call that is activated on load).
I have my data stored as this:

And my server side code:

Its a pity that the documentation is still so sparse,  I would recommend spending a little more effort in making the documentation more comprehensible , you may see a greater volume of mind-share in return.

Your code looks correct to me. Your Falcor model cache on the client should be up-to-date after the call is done. It's up to your app to update the view accordingly. It should make a new get (which won't trigger a new network round trip because everything is in the cache).
That's said you could optimize further. Your call handler as you show it is returning the new length along with the contact name, but that is not required. All the call handler should do is require the client to invalidate the length like this:
{ path: ['data', 'contacts', 'length'], invalidated: true }

This makes the minimal return payload from the call very small. If the clients want to get the updated length and new contact as part of the call it should request that through refPaths and thisPath.
Your code needs a few modifications to make this possible. Everything about this is documented here. In a nutshell, you need the function to be a child of the collection (data.contacts.add in your case) and you need the contacts in your list to be references to another collection that is indexed by ID (this is a good idea anyway for caching, because IDs never change, while indices do).
If you need more examples than what's in the documentation, you can have a look at this repo. Client code is here, server code is here.

@hgwood
Thank you for the in-depth response, I am most likely lacking some basic conceptual understanding of Falcor. I have watched all the videos by the Falcor team and a bunch of videos by some 3rd party developers - I also came across your talk as well and will check it out later tonight. Would be cool if there was a falcor tutorial that covered both server and client side on pluralsight. I will clone your falcorception repo and see if I can dupe and understand it. Thank you again!


Meaningful error reporting

Right now when the application fails, there are no errors shown in the console.
Each error should be shown in a meaningful manner, so the user understands what is going on.

I am going to close this issue and add a new one for making the app mroe robust


Add size or length operator?

Hi, would you accept a PR to add a size or length operator? I would implement it as described here: https://github.com/jwadhams/json-logic/issues/4. Though that issue provides a workaround it's a lot of code to do a very simple thing. Feel free to close this after replying.

Sure.


Type 'BrowserTracing[] is not assignable to type Integration

Environment
What version are you running?
"@angular/core": "^14.0.0",
"@capacitor/core": "4.0.1",
"@sentry/angular-ivy": "^7.69.0"
"@sentry/capacitor": "^0.12.3"
when add BrowserTracing method inside integrations return this message
Type 'BrowserTracing[]' is not assignable to type '(Integration[] | ((integrations: Integration[]) => Integration[])) & (Integration[] | ((integrations: Integration[]) => Integration[]))'.
Type 'BrowserTracing[]' is not assignable to type '((integrations: Integration[]) => Integration[]) & Integration[]'.
Type 'BrowserTracing[]' is not assignable to type '(integrations: Integration[]) => Integration[]'.
Type 'BrowserTracing[]' provides no match for the signature '(integrations: Integration[]): Integration[]'.ts(2322)
options.d.ts(274, 5): The expected type comes from property 'integrations' which is declared here on type 'CapacitorOptions & Options & BrowserClientReplayOptions & BrowserClientProfilingOptions'
(property) Options.integrations?: (Integration[] | ((integrations: Integration[]) => Integration[])) & (Integration[] | ((integrations: Integration[]) => Integration[]))
List of integrations that should be installed after SDK was initialized. Accepts either a list of integrations or a function that receives default integrations and returns a new, updated list.
ADD screenshot
Actual Result

Same problem on 0.13.0-beta.1

@vaguilarrebolledo you cannot use @sentry/capacitor": "^0.12.3 with @sentry/angular-ivy": "^7.69.0. it requires @sentry/angular-ivy": "^7.64.0 make sure to match the required version

will be fixed by https://github.com/getsentry/sentry-capacitor/pull/469

We're just waiting for a release from the Sentry Android SDK before pushing this fix to production, sorry for the delay.

Closing this since the version was released, feel free to reopen if needed.


Possible to open file from terminal

Description
Id like to have a command with which I can open a file from the vs code terminal. The file should then open with vs code.
Edit: Something like this: https://stackoverflow.com/questions/41377489/how-to-open-a-file-from-the-integrated-terminal-in-visual-studio-code

We pass the regular vscode command line so try to use the same flags.

This isn't currently possible but eventually it will be. Tracking for the feature can be found here: https://github.com/cdr/code-server/issues/164
We'll most likely detect if code-server is already running and if so we'll open the file in the existing instance.


Assert that an element is visible to the user.

bug #169
Method:
The "I should see assertion"
Expected Behavior:
Asserts that the user can see text on the screen.
Actual Behavior:
Asserts that text is anywhere in the DOM, but not necessarily visible to the user.
Cause:
The "I should see assertion" checks the DOM for text
Solution:
Check the position and visibility of all parent elements of a specified element that contains the text you are looking for.
Example:
"Test Text" should be fully displayed
Test Text

Paging @juanmrad to review the front-end work in this pull request!
Paging @fortoulrodolfo to review the back-end work in this pull request!
Paging @jose-ochoa to review the testing work in this pull request!

Manually reassigned reviewers on PR#191 to match this one because both versions needed the same update.


update and sort imports

Codecov Report
Attention: Patch coverage is 93.75000% with 1 line in your changes missing coverage. Please review.

Project coverage is 88.65%. Comparing base (f762a3d) to head (c6a0f17).

Files
Patch %
Lines

src/ansys/aedt/toolkits/antenna/backend/api.py
66.66%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #285   +/-   ##
=======================================
  Coverage   88.65%   88.65%
=======================================
  Files          12       12
  Lines        3262     3262
=======================================
  Hits         2892     2892
  Misses        370      370

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[FLINK-9470] Allow querying the key in KeyedProcessFunction

R: @kl0u @zentol

+1. I might forget to add the interfaces back then, would be good to have them

+1 Nice!

@kl0u I addressed your comments, PTAL. 😄

ProcessWindowFunction has a key parameter already.


transform-origin isn't recognized

Bug Report
🔎 Search Terms
"typescript transform-origin"
🕗 Version & Regression Information
Just added typescript to my project. Latest version.
⏯ Playground Link
Searched for a while on https://www.typescriptlang.org/play and couldn't find a way to add HTML, but if someone else wants to recreate or show me how to add HTML, I'm happy to reproduce there.
💻 Code
Inside an svg:
<text transform-origin="center" transform="rotate(30)" x="32" y="8">A</text>

🙁 Actual behavior

Argument of type '{ style: string; "transform-origin": string; transform: string; x: string; y: string; }' is not assignable to parameter of type 'HTMLProps<"text", SVGAttributes>'.
Object literal may only specify known properties, and '"transform-origin"' does not exist in type 'HTMLProps<"text", SVGAttributes>'.ts(2345)

🙂 Expected behavior
No error

transform-origin is a valid property for text and without it my code does not work.

I’m really confused; if this is in an .svg file then why does TypeScript care about it at all?  Because if it’s JSX, then the playground supports that.


⚠ Nebulance has degraded performance

In a29e2a7, Nebulance ($NBL) experienced degraded performance:

HTTP code: 200
Response time: 1607 ms

Resolved: Nebulance performance has improved in ee4dab2 after 5 minutes.


🎁 prepare release 0.9.6

Cutting a new release, this currently contains steps 1 through to 5 of Releasing Viceroy.

Below are the steps needed to do a Viceroy release:

Make sure the Viceroy version has been bumped up to the current release
version. You might need to bump the minor version (e.g. 0.2.0 to 0.3.0) if
there are any semver breaking changes. Review the changes since the last
release just to be sure.
Update the Cargo.lock files by running make generate-lockfile.
Update CHANGELOG.md so that it contains all of the updates since the
previous version as its own commit.
Create a local branch in the form release-x.y.z where x, y, and z are
the major, minor, and patch versions of Viceroy and have the tip of the
branch contain the Changelog commit.
Run make ci locally to make sure that everything will pass before pushing
the branch and opening up a PR.
After you get approval, run git tag vx.y.z HEAD && git push origin --tags.
Pushing this tag will kick off a build for all of the release artifacts.
After CI completes, we should publish each crate in the workspace to the
crates.io registry. Note that we must do this in order of dependencies. So,
(cd lib && cargo publish)
(cd cli && cargo publish)
Now, we should return to our release PR.
Update the version fields in lib/Cargo.toml and cli/Cargo.toml to the
next patch version (so z + 1).
Update the dependency on viceroy-lib in cli/Cargo.toml to the next
patch version.
Update all the lockfiles by running make generate-lockfile.
Restore the ## Unreleased header at the top of CHANGELOG.md.
Get another approval and merge when CI passes.

Released and ready for another review before merging 👍


Grammar update to refuse send more = money

WHITESPACE are no more skipped with -> skip in antlr but they are kept to distinguish words

see #106


New NodeLocalDNS API field

Which issue(s) this PR fixes:

Fixes #2235
What type of PR is this?
/kind feature
/kind api-change
Does this PR introduce a user-facing change? Then add your Release Note here:

New NodeLocalDNS API field

Documentation:

TBD

@xmudrii good catch. Fixed.

/cherrypick release/v1.5


feat: #1189 Update successful and warning notification when adding or deleting application admin

The error message is being dismissed when the user clicks something else
changed the error icon

Hi Jota, let's check sonar cloud first, there are some minor fixes we can do

I don't like calling resetNotification() at so many different places but at the same time I don't know a better alternative for that, so I think it is ok for now. Thanks Jota.

Me neither, I tried doing it in some reusable way but did not manage to find a suitable way


version-update:semver-major not working with pytest

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
pip
Package manager version
pip
Language version
python
Manifest location and content before the Dependabot update
No response
dependabot.yml content
version: 2
updates:

package-ecosystem: pip
directory: /
insecure-external-code-execution: allow
open-pull-requests-limit: 1
schedule:
interval: daily
commit-message:
prefix: '(dep-update) '
ignore:

dependency-name: "*"
update-types: ["version-update:semver-major"]

Updated dependency
dependencies = [
"pytest>7.0.0,<=7.4.4",
]
What you expected to see, versus what you actually saw
Dependabot should not exceed version 7.4.4 but dependabot actually updates to 8.3.2
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs

Smallest manifest that reproduces the issue
No response

I have reported a similar case, but in my case I suspect that the issue might be related to the way dependabot is calculating the ranges? And therefore is not respecting the ignore condition with version-update:semver-major.


TURBO REPO (Error: [prisma-field-encryption] Error: no encryption key provided.)

Issue description
Hi there, Thank you for that amazing package.
I have tried to use this package with turbo repo and it was working fine on local
But when I have put it in production (Vercel), I have got the following issue
Error: [prisma-field-encryption] Error: no encryption key provided.

What I have Tried

I have put the encryption key on my vercel project as always, (this was already made on first deployement)
Then I have changed the key name from my own to "PRISMA_FIELD_ENCRYPTION_KEY" as mentioned in your docs
But I still get the same issue

Solution found
Finally I had to take all my local env to .env.local (not version controlled) an encryption key to .env(version controlled) that is not secure. My project is private and I am alone on I think this is not secure. By the way it is working with this solution
Version
{
 "prisma": "^5.21.0",
 "prisma-field-encryption": "^1.6.0"
}

Have you declared the variable in your turbo.json file?
https://turbo.build/repo/docs/crafting-your-repository/using-environment-variables
The fact that all variables need to be whitelisted there, even if they are available on Vercel has bit me more than once.
The latest Turborepo update has a mechanism to warn you about undeclared variables.
https://turbo.build/blog/turbo-2-2-0


Enable redirect-to

I think this is the fix that was needed. It outputs pages within _redirect-to and replaces the hardcoded Teamup references with events and eventos.

Also, if this gets merged into prod, need to update the corresponding Haymarket documentation.

@lucienlizlepiorz I just took a look at this, checked it out locally, and it seems to work.


Add KUTTL make targets for telemetry

Depends-On: https://github.com/openstack-k8s-operators/telemetry-operator/pull/213

recheck

recheck

recheck

recheck

/ok-to-test

recheck

/override data-plane-adoption-github-rdo-centos-9-crc-single-node

/override rdoproject.org/github-check

Thanks for hints. Fixed dependencies (added kuttl_common_prep and heat) and added testDirs to config, because telemetry-operator gonna have more than one test suite.

Currently tests work, just timeouts too early during Prometheus init. Patch in operator [1] is already submitted.
[1] https://github.com/openstack-k8s-operators/telemetry-operator/pull/220

Ah, that's good point. Thanks for that. Do you mind submitting PR with this?

Your PR is merged. So what now? Do I need to do something else with this PR?

Your PR is merged. So what now? Do I need to do something else with this PR?

PR lgtm, IMO it can be merged now, but I don't have approver rights, @abays can you take a look when free?

/lgtm

/approve


Add a login button  or link

Is your feature request related to a problem? Please describe.
Is there a login link on the home page? I cant find it. It's frustrating to find where to login for reviewing. Adding a Login link at *the top would be helpful.

Describe alternatives you've considered
Alternative is to memorize that I need to login to Openreview.net not aclrollingreview.org

Thanks for the suggestion! I've implemented this.
The link goes to the list of ARR cycles in OpenReview. Going to the current cycle might be more convenient, but would also require updating every cycle.

That was super quick! Thank you.


ModuleNotFoundError: No module named 'deeppavlov' in Jupyter notebook

Hi everyone,
I've creates a virtual environment deepnlp and installed deeppavlov. Within the env, I can start python3 at the command line and execute 'import deeppavlov' without any problem. But when I run the same code in the Jupyter notebook within the kernel deepnlp selected, I got the following error:
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'deeppavlov'
Has anyone run into the same problem and found the problem?
I have the deeppavlov 0.6.1, and python 3.6.8.
Thanks.

Hi @weig2000,
This kind of looks like you have different environments selected. You can run
import sys
print(sys.executable)

In both to make sure that the environment is the same.

@yoptar Thanks. Indeed, they have different environments after running the statements as you suggeste above.
Somehow the python in the jupyter notebook used a different python, not the one in the virutal envirnment (deepnlp) even though the notebook was run in that env.
I simply removed the kernel (deepnlp) from jupyter and reinstall it, make sure everything is correct. This time it worked.


Not recognising AD group provided under access-group section to restrict access to a dashboard

We have setup LDAP authentication for ShinyProxy for our project.I am trying to restrict access to each dashboard by specifying the AD group list under the "access-groups" section , even though I am a member of AD group I am not able to see the dashboard.
Configuration file is as below
specs:
    id : xyz
    ...
    access-group : CN=xxxx

So when I give CN="value" or membeOf="value". Access group fails to recognise them and I am not able to see the dashboard.
Kindly request you to guide me in this.

Issue is resolved by passing group-search-filter: (member={0}) in the configuration file


GestureDetector onTap() requires two taps to fire

Hello again! I am running into a situation where GestureDetector often needs two taps to fire onTap()
This particular GestureDetector does have SingleChildScrollView as children inside drawer()
  @override
  Widget build(BuildContext context) {

    return GestureDetector(
      onTap: ()=>_toggleDrawer(),
      child: Container(
        margin: EdgeInsets.all(4.0),
        child: ClipRRect(
          borderRadius: BorderRadius.circular(32.0),
          child: Stack(
            children: <Widget>[
              SizeTransition(
                axis: Axis.vertical,
                axisAlignment: 0.5,
                sizeFactor: CurvedAnimation(
                  parent: _animationController,
                  curve: Curves.easeOut
                ),
                child: drawer(),
              ),
              top(),
            ],
          )
        )
      )
    );
  }
}

I just did some digging and it is firing 100% of the time, but not animating sometimes until the second tap.
Here is the entire Widget
class __ListItemState extends State<_ListItem> with SingleTickerProviderStateMixin{
  bool open = false;
  AnimationController _animationController;

  _toggleDrawer(){
    print('drawer!');
    if(open) _animationController.forward();
    else _animationController.reverse();

    setState(() {
      open = !open;
    });
  }

  @override
  void initState(){
    super.initState();
    _animationController = AnimationController(
      lowerBound: 0.3,
      duration: Duration(milliseconds: 150),
      vsync: this
    );
  }

  @override
  Widget build(BuildContext context) {

    return GestureDetector(
      onTap: ()=>_toggleDrawer(),
      child: Container(
        margin: EdgeInsets.all(4.0),
        child: ClipRRect(
          borderRadius: BorderRadius.circular(32.0),
          child: Stack(
            children: <Widget>[
              SizeTransition(
                axis: Axis.vertical,
                axisAlignment: 0.5,
                sizeFactor: CurvedAnimation(
                  parent: _animationController,
                  curve: Curves.easeOut
                ),
                child: drawer(),
              ),
              top(),
            ],
          )
        )
      )
    );
  }
}

OK I flipped these around and it appears to be working perfectly. Can someone give me insight what's going on here?
  _toggleDrawer(){

    setState(() {
      open = !open;
    });

    print('drawer! open is $open');

    if(open) _animationController.forward();
    else _animationController.reverse();

  }

Not sure what the question is. If you use ListView.builder() then items scrolled out of view lose state. If you want to prevent that, you need to take care of that.
I think https://docs.flutter.io/flutter/widgets/PageStorage-class.html can be used for that.

If you use a normal ListView they lose state when they are scrolled out of view as well. I don't think that's unique to ListView.builder()
My question is why does it take two taps to open freshly rendered (via scroll) drawer with
  _toggleDrawer(){
    if(open) _animationController.forward();
    else _animationController.reverse();

    setState(() {
      open = !open;
    });
  }

but only one tap with
  _toggleDrawer(){
    setState(() {
      open = !open;
    });

    if(open) _animationController.forward();
    else _animationController.reverse();
  }

I had the same problem

Hello, I had the same issue and i found that i reset my bool variable to null
if(isComingFromFavouriteScreen =! null && isComingFromFavouriteScreen == true) {
mylist.remove(_hadeth);
}
=! should be !=
Maybe that help if u made a typo mistake

Hi @lukepighetti
using this code sample
I do not experience the behaviour you are describing
on mobile with the latest master ;
nevertheless see this behaviour on dartpad.
Thank you

Verified this issue on latest master on mobile and web and observed that onTap is fired in one tap / click properly without any issues.
https://user-images.githubusercontent.com/67046386/103350878-6e099080-4ac7-11eb-9726-91aae3700841.mp4
https://user-images.githubusercontent.com/67046386/103350885-7235ae00-4ac7-11eb-83a1-3293dece1ab3.mov

flutter doctor -v

[✓] Flutter (Channel master, 1.26.0-2.0.pre.137, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-IN)
    • Flutter version 1.26.0-2.0.pre.137 at
      /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 8f5d0371af (4 days ago), 2020-12-26 11:07:36 +0330
    • Engine revision f5364860ab
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (4 available)
    • SM A260G (mobile)                   • 5200763ebcfa861f
      • android-arm    • Android 8.1.0 (API 27)
    • iPhone SE (2nd generation) (mobile) • 6C85835D-FBFD-4AB3-8DE8-B4FAD35E5367
      • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
    • macOS (desktop)                     • macos
      • darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)                        • chrome
      • web-javascript • Google Chrome 87.0.4280.88

! Doctor found issues in 1 category.

Closing this as fixed.


Library is slow on puzzmo.com

api:dev: [sdl-codegen]: Full run took 10523ms
api:dev: [sdl-codegen]: Full run took 8615ms
api:dev: schema types plugin changed: 8.616s

I dont mind if the first time is ok, if watcher makes it fine

It is roughly split:
api:dev: [sdl-codegen] Create shared schema files: 7.797s
api:dev: [sdl-codegen] Create DTS files for all services: 4.413s
api:dev: [sdl-codegen]: Full run took 12351ms

Without a deep look, I think this is slow because the AST  regenerates on each change, rather than at the end

For the shared schema:

~2s on prod
1s with tsMorph
300ms with  compiler factory API
40ms with prettier removed for formatting

So, I think the answer is that we're not going to do formatting outside of what typescript's printer offers

Fixed, and now running on our repo


API Functions

Description
Converted the previous API stubs to actual API calls based off the backend. Also created helper functions to handle HTTP requests and interceptors.
Fixes #96
How has this been tested?
Haven't created tests yet
Screenshots
N/A
Checklist
(Leave blank if not applicable)

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

Updated endpoints to match the refractor endpoints here https://github.com/SE701-T1/backend/pull/103


What's the planned futures?

I want to know What's the the next planned futures?
The todo for this project?

I want to know What's the the next planned futures? The todo for this project?

finish the all issues


[SQL][Minor] Skip unresolved expression for InConversion

Merged build triggered.

Merged build started.

Test build #32705 has started for   PR 6145 at commit 5c8ac6b.

Test build #32705 has finished for   PR 6145 at commit 5c8ac6b.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32705/
Test FAILed.

Merged build finished. Test FAILed.

Retest this please

Merged build triggered.

Merged build started.

Test build #32747 has started for   PR 6145 at commit 5c8ac6b.

Test build #32747 has finished for   PR 6145 at commit 5c8ac6b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32747/
Test PASSed.

/cc @liancheng

Would you mind to add a test case for this? Otherwise LGTM, thanks!

The added clause makes the code path safer, but for now I couldn't think of a test case that makes the original code fail... I still tend to have this though.

yes, actually it is hard to give a test case for now, i met this issue on my inner branch with a tpcds sql.
that sql is invalid on the master branch so i can not add a test now.

I see. I'm merging this to master since it looks pretty safe.

I see. I'm merging this to master since it looks pretty safe.

@liancheng should this fix merge to branch-1.4 also?

Found a test case for you...
https://issues.apache.org/jira/browse/SPARK-8588
And we should merge this fix into branch 1.4. cc @marmbrus @liancheng

@scwf @cloud-fan Thanks! I'm merging this to branch-1.4.


Replace local files with dummy files when using s3

Found this idea by @joepagan on another issue https://github.com/aelvan/Imager-Craft/issues/65, thought it deserved its own thread. Replacing the local images with empty files would save a lot of wasted space.

Hey @aelvan
Wondering if you would ever consider this going forward?
Larger sites that could have 50,000+ product pages would have multiple versions of the same image is definitely going to be an issue in this case.
It would certainly be nice to be given the option if one dev wanted speed, or, another dev wanted storage space.
As an alternative quick fix, what if you were to use a 0 byte txt file locally in it's place instead? If the txt file is deleted regen the transform and upload?
Might be better to have an assettransformindex table like craft does to know if the transform has been generated, but, I appreciate that could be a bit more work.

This wont be fixed for the Craft 2 version. I'll take it into consideration when I port the plugin to Craft 3.


Multi-Bread needed

When I use another own building CRUD system, building multi-Bread on one table is very common.
e.g. I have a table contain all "messages", I want to build a private message BREAD also base on the same table, I want to build another ADMIN ALL messages BREAD, Multi-Bread will be very simple to handle of it.
Hope it could be considered in the future release.
Amazing Product! Move on...

Sorry for misleading, I just found multi-bread is supported in Voyager, just no obvious link for it.

Hi @vFire, I don't know how you handled to have a Multi BREAD system, perhaps you're referring to a different feature.
The Multi BREAD is on our to do list, and it consists of having multiple entries on tables data_types and data_rows.
Thanks for your message. Closing this issue now.

Since version laraveladminpanel 0.4 you can create many CRUDs for one table. Access rights are differentiated at the model level.
Repo: https://github.com/laraveladminpanel/admin
Documentation: https://laravel-admin-panel.readme.io/docs/crud-builder


test(SPV-1058): env variable to use file db or postgres instead of memory

Pull Request Checklist

[ ] 📖 I created my PR using provided  : CODE_STANDARDS
[ ] 📖 I have read the short Code of Conduct: CODE_OF_CONDUCT
[ ] 🏠 I tested my changes locally.
[ ] ✅ I have provided tests for my changes.
[ ] 📝 I have used conventional commits.
[ ] 📗 I have updated any related documentation.
[ ] 💾 PR was issued based on the Github or Jira issue.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 56.00000% with 11 lines in your changes missing coverage. Please review.

Project coverage is 45.46%. Comparing base (5623226) to head (03eb853).

Files with missing lines
Patch %
Lines

engine/testabilities/fixture_engine.go
56.00%
8 Missing and 3 partials :warning:

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #772      +/-   ##
==========================================
- Coverage   45.46%   45.46%   -0.01%
==========================================
  Files         339      339
  Lines       17416    17435      +19
==========================================
+ Hits         7919     7927       +8
- Misses       8906     8914       +8
- Partials      591      594       +3

Flag
Coverage Δ

unittests
45.46% <56.00%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines
Coverage Δ

engine/testabilities/fixture_engine.go
87.17% <56.00%> (-8.74%)
:arrow_down:

Continue to review full report in Codecov by Sentry.

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


Doesn't connect to any WiFi if multiple access points are available

Hi, I've eventually built and put into a wooden container the ESP32 radio. It's mostly functional (some hiccups when accessing the SD card)  but it shows an unexpected behaviour when it's located in a room where the two WiFi networks I've at home overlap themselves (different names, different passwords, of course).
In a two-three meter range from the AP the ESP32 Radio connects to the closest WiFi but when it's placed further it doesn't connect neither to the still physically closest AP nor to the other one (physically closest may not necessarily means a stronger signal level/quality) which is further, and it reverts to creating its own AP.
Has anybody encountered a similar problem and/or know if there is a solution to it?
Thank you

On testing my ESP32-radio pcb with adding several changes to the configuration I ended up with problems with Wifi and streaming dropouts. Got this fixed be erasing flash and completly new programming. Maybe you give it a try - good luck

Many thanks for the suggestion but I'm afraid it's not going to work. I've built a first prototype which has seen multiple installations of the SW but the final version has been implemented on a brand new ESP32, completely clean.
I may give a try but not in the near future. In case I'll post the results.
Have a good day


VS Code adds all files from user folder to git

VSCode Version: Code 1.18.0 (dcee2202709a4f223185514b9275aa4229841aa7, 2017-11-08T21:22:49.932Z)
OS Version: Windows_NT x64 10.0.15063
Extensions:

Extension
Author (truncated)
Version

html-snippets
abu
0.1.0

vscode-javascript-snippet-pack
aka
0.1.5

Bookmarks
ale
0.17.0

project-manager
ale
0.23.0

vs-code-css-comments
ash
1.0.3

path-intellisense
chr
1.4.2

bracket-pair-colorizer
Coe
0.10.13

vscode-eslint
dba
1.4.3

vscode-dash
dee
1.7.1

es7-react-js-snippets
dsz
1.2.0

gitlens
eam
6.0.0

vscode-html-css
ecm
0.1.8

EditorConfig
Edi
0.11.1

vscode-npm-script
eg2
0.3.3

RunOnSave
eme
0.0.16

prettier-vscode
esb
0.24.0

auto-close-tag
for
0.5.3

auto-rename-tag
for
0.0.15

ftp-simple
hum
0.5.8

vscode-codemetrics
kis
1.10.0

HTMLHint
mka
0.4.0

vscode-attrs-sorter
mrm
2.1.0

vscode-postcss-sorting
mrm
3.0.1

vscode-stylefmt
mrm
2.5.0

node-debug2
ms-
1.18.4

sublime-keybindings
ms-
3.0.3

debugger-for-chrome
msj
3.5.0

vscode-jest
Ort
2.4.5

emoji
Per
0.0.3

ejs-language-support
Qas
0.0.1

vscode-icons
rob
7.17.0

sass-indented
rob
1.4.5

code-settings-sync
Sha
2.8.5

stylelint
shi
0.30.0

vscode-csstree
sme
0.5.0

vscode-react-native
vsm
0.5.2

quokka-vscode
Wal
1.0.79

vscode-todo-highlight
way
0.5.11

twig
wha
1.0.2

change-case
wma
1.0.0

JavaScriptSnippets
xab
1.5.0

ReactSnippets
xab
1.5.0

html-css-class-completion
Zig
1.14.0

(4 theme extensions excluded)

Steps to Reproduce:

Create a git repository in user folder
Run VS Code
Open any project folder with or w/o git repository inside
Deleting git repository from user folder fix the issue

Reproduces without extensions: Yes

Run git rev-parse --show-toplevel to find out where your git repository root is. If that should not be a git repository, then delete the .git folder contained within it.

@joaomoreno that's true, that's what I did after I found an issue. I suppose VS Code would use my project git repository instead of user folder repository, isn't that a bug?

VS Code will use your project git repository, even if it is contained within your home directory. You just need to open a file or open the root of that repository as a folder in VS Code.


devlog: Fix mobile appearance

Current theme's CSS seems to be broken on mobile devices (it uses pixels all over the place).
Either fix the current theme or pick another one.

Closed by https://github.com/ozkriff/ozkriff.github.io-src/commit/84f21ecdad9b3d09d45e45406ded05fb5423df9b


Implement opt_einsum for generated eT H Z code

Running hexahelicene without the optimized einsum's is prohibitively slow.
These equations are not yet implemented for eT H Z ansatz OR full cc
See at
https://github.com/ngraymon/termfactory/blob/32210a60cc62dc6cfa59f0856d9d98914aac99b5/tests/deep/files/test_code_full_cc/code_output_full_cc_equations.py#L313
that the code assumes the user provides the optimized paths which is no longer the case in the latest t-amplitude branch. We should generate this in the same way as they are generated for code_dt_equations.py
Additionally in the functions that are called the opt_path parameter doesn't actually get used.
https://github.com/ngraymon/termfactory/blob/32210a60cc62dc6cfa59f0856d9d98914aac99b5/tests/deep/files/test_code_full_cc/code_output_full_cc_equations.py#L187
A good example is this test file where we can see the opt_einsum path list
And in the  write_optimized_vecc_paths_function_high_order_out.py file we can see how the oe.contract_expressions are supposed to be used.

As a primer and to refresh myself on the simpler CC style I fixed dt_amplitudes opt_einsum path generator; see #75

Okay so now I should be better prepared to handle this issue after fixing #76

Testing on first implementation of opt_einsum calls with optimized paths:
Testing eT_zhz_eqs_H_2_P_4_T_1_exp_4_Z_3.py with linear Cytosine with Z3 T1 terms in the integrator
cytosine_withopt_z3.txt
cytosine_noopt_z3.txt
We see a total time of 38.716s for einsum calls with optimized paths versus 39.410 with no optimized paths.
This is for 25 integration steps where both approaches were able to propagate to 1.813347e-01 fs
The optimized took 1.655s per rk_step versus 1.686s for un-optimized.
Estimating a somewhat consistent rate of 25 steps to 0.1813347fs it takes ~ 275 steps to get to 50fs.
So the optimized code should save 8 seconds or so?
Maybe try hexahelicene.

Hexahelicene:
only 25 integration steps because this one takes so long
25_hexzhelicene_withopt_z3.txt
We see a total time of 344.653s for einsum calls with optimized paths versus 86.886 with no optimized paths.
Both approaches were able to propagate to 2.549166e-01fs
The optimized took 11.385s per rk_step versus s for un-optimized.
Estimating a somewhat consistent rate of 25 steps to 2.549166e-01fs it takes ~ 196 batches of 25 steps (4903) to get to 50fs.
So the optimized code should take about 2243s, approximately 37~38 minutes.
This should save about s on the unoptimized code which is projected to take
*still waiting on the un-optimized to finish

Changes pushed to t-amplitudes and Hexahelicene spectra is being generated. Changes seem to be working, but there is more improvements that can be done so it might be best to wait before a pull-request.


test: add cloud-init test in vmdk image test

This PR uses cloud-init to configure user and ssh key instead of using bib.

/test-cs9-dev-bib-image

ami, qcow2 and vmdk for x86_64 passed. Looks testing farm has issue to deploy ARM runner. Landing this PR is acceptable.


Roboto 404 on Get Request (Dashboard page load).

I'm submitting a ...
[x] bug report

Do you want to request a feature or report a bug?
I have a weird bug, I installed the Roboto fonts, updated the SASS files and all of that, but when I navigate to the Dashboard I get the following errors in console:

Hey @Bengejd, well, without some examples of what you are doing/trying to achieve we won't be able to help, unfortunately.

@Bengejd What version of the upstream repo do you use?

I had the same issue but when i run the command npm install once again everything were solved. Hope this help


Configurable Build Task

This change will allow Build Tasks to be enabled or disabled using the Config API.
I noticed on another project that certain tasks (such as those from modules) were not able to be enabled or disabled via the Config system. This change will allow those tasks to be disabled by a developer by setting the $enable variable to true or false in their project's .yml files.
It should work on older versions of SilverStripe as well, but since I had to change the visibility and scope of the $enable variable, it's a potentially breaking change for legacy code.

I'll have a look at the failing tests over the weekend

how was the weekend :)

@silverstripe-elliot can you please tag with API label so it'll go into our changelog notice too? Thanks. :)
Fixing the tests is as simple as changing the test classes protected $enabled to private static $enabled too.
Also fix TaskRunner
protected function taskEnabled($class)
{
-    $reflectionClass = new ReflectionClass($class);
-    if ($reflectionClass->isAbstract()) {
-        return false;
-    } elseif (!singleton($class)->isEnabled()) {
-        return false;
-    }
-
-    return true;
+   return Config::inst()->get($class, 'enabled');
}


ISPN-13732 Adding jdbc type BIT and TIME

https://issues.redhat.com/browse/ISPN-13732

What database are you using @varunshastry ? DATE iirc had a different issue with a specific database provider I believe. Also we will need to add a test for these data types so we can verify they work across the various providers.

@wburns MySQL (8.0.25) is the database. The build has some failed tests https://ci.infinispan.org/job/Infinispan/job/PR-9916/2/ . How can I run these tests locally? I'm getting the following error in "Infinispan Commons" maven project on running "mvn verify" :
[ERROR] Failed to execute goal org.infinispan.maven-plugins:proto-schema-compatibility:1.0.2.Final:proto-schema-compatibility-check (default) on project infinispan-commons: Backwards compatibility check failed with: [protolock]: lstat <...>/infinispan-src/commons/all/target/classes/proto: no such file or directory

That link doesn't have any failures related to your changes. I wouldn't expect your PR to break anything as the SQL Store tests aren't using the datatypes you added in any tests currently.

@wburns  Add a junit test for AbstractSchemaJdbcStore

@wburns I'm not able to run the tests locally. Currently, the build has a test failure https://ci.infinispan.org/job/Infinispan/job/PR-9916/6/testReport/junit/org.infinispan.server.persistence/JdbcStringBasedCacheStorePassivation/testFailoverWithPassivation_mysql_

This needs rebasing. Please reopen a new PR.


[SPARK-12317][SQL]Support configurable value in SQLConf file

Hello: adding the configure value for  AUTO_BROADCASTJOIN_THRESHOLD and DEFAULT_SIZE_IN_BYTES.

Can one of the admins verify this patch?

@kevinyu98 I think we can add a new method like intConfWithMem, and also need to check the value in bytes need to LessThanOrEqual Int.MaxValue.
K/KB/M/MB is equals to k/kb/m/mb, right? See the code from JavaUtils below.
  private static long parseByteString(String str, ByteUnit unit) {
    String lower = str.toLowerCase().trim();

@watermen thanks for your input. It is good idea if we decide to go with approach 2. create a new method of intConf for AUTO_BROADCASTJOIN_THRESHOLD.
If we decide to go with approach 3, then we may need to change the parseByteString part to distinct lower and upper case.
@srowen what do you think? Thanks.

It does seem like you would want a separate utility method for handling configuration values that are intended to be memory sizes.
Don't make up new behavior; just use the behavior from the Utils method. In particular, technically, "k" means 1000 and "Ki" means 1024, but I think we follow the JVM memory string conventions instead.
I don't see why toString.toInt solves an overflow problem. You get a long back, and if one particular value must be an int, simply handle argument checking for that value directly. No need for new methods.

@srowen Thanks Sean, I will create a new method of intConf for AUTO_BROADCASTJOIN_THRESHOLD. Will update the PR soon.

@kevinyu98  are you still working on this one?

@srowen Hello Sean, yes, sorry for the delay. I will submit the updated PR today.

@srowen Hello Sean: I am sorry that I have't been able to submit the PR yet. I will conti. work on it tomorrow.

@srowen Hello Sean: I have submit the new code, can you help review? Thanks a lot.

Are there other configs that should take a memory string?

@kevinyu98 are you still working on this?

@kevinyu98 are you still working on this?

Hello Sean: Sorry for the delay. Yes, I have made most code changes, and I will try to finish it up soon and do more testing. Will keep you updated. Thanks, Happy New Year !

Hello Sean: Sorry for the delay. Yes, I have made most code changes, and I will try to finish it up soon and do more testing. Will keep you updated. Thanks, Happy New Year !

@srowen Hello Sean: Sorry for taking so long. Can you review the code? Thanks. Kevin

This seems like a nice convenience for the users.  A few comments:

The description / title could be improved.  Some think about support units for configuration.
Do we really need both an Int and a Long version? (maybe we do)
Sean's suggestions seems good, but I would include a better error than the default for the require.

Hello @srowen @marmbrus @viirya : I have made the code changes, and change the title based on the comments. Can you help review the codes? Thanks.

I have the same question as @marmbrus, do we need two methods for int and long? Looks like they are very similar.

Besides, -1 and -1g will be the same or different behavior?

Hello @viirya : Good Point. I just test it, -1 and -1g will have different behavior. It will take -1, and throw IllegalArgumentException for -1g. Thanks.

@viirya @yhuai @srowen @marmbrus @concretevitamin: SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE was added by spark-9850, PR#9276, I am including Yin ,
Michael set the autoBroadcastJoinThreshold to 10 * 1024 * 1024 through PR3064,
spark-2393 set the autoBroadcastJoinThreshold to Int.
I am not sure which one to choose either, so I cc on the persons who introduce these two fields. Thanks for your input.

I think just long is fine for now.  The title still has spelling errors and is really long.  I would say:
[SPARK-12317][SQL] Support units (m,k,g) in SQLConf. In the description of the PR (which becomes the rest of the commit message) you can spell out which options you change and more details.

Hello @marmbrus, thanks. So your mean I can remove the code change for intMemConf, and keep the code for longMemConf for this jira? I will make the PR title and description changes. I need to close this PR, open another one, seems there is some issues when I did last git push.


feat: knowledge graph storage

Description
For advanced RAG, we will implement know graph retriever, the storage for knowledge graph is required.
Motivation and Context
Why is this change required? What problem does it solve?
close #449

[x] I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds core functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (update in the documentation)
[ ] Example (update in the folder of example)

Implemented Tasks

[ ] Subtask 1
[ ] Subtask 2
[ ] Subtask 3

Checklist
Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

[ ] I have read the CONTRIBUTION guide. (required)
[ ] My change requires a change to the documentation.
[ ] I have updated the tests accordingly. (required for a bug fix or a new feature)
[ ] I have updated the documentation accordingly.

Summary by CodeRabbit

New Features

Introduced a base class for graph storage functionality to standardize interactions with various storage systems.
Added support for Neo4j databases as a graph storage option, including capabilities for schema management, node and relationship manipulation, and query execution.

@coderabbitai review

It can be merged after resolving the conflict in the "poetry.lock".


[0.9.6] CA M2S2_GEN2_F2F_22 test fails

UVM_INFO ./eximius/0.9.6/ca/dv/tb/../export_src/ca_scoreboard.sv(527) @ 2902000: uvm_test_top.ca_top_env.ca_scoreboard [verify_rx_dout] xfer_cnt: 238 DIE_B tx_din -- > AIB --> DIE_A rx_dout Pass
UVM_ERROR ./eximius/0.9.6/ca/dv/export_src/./ca_tx_tb_in_mon.sv(342) @ 2902500: uvm_test_top.ca_top_env.ca_die_a_tx_tb_in_agent.mon [mon_tx_tb_in] BAD case in is_stb
UVM_ERROR ./eximius/0.9.6/ca/dv/export_src/./ca_tx_tb_in_mon.sv(342) @ 2902500: uvm_test_top.ca_top_env.ca_die_b_tx_tb_in_agent.mon [mon_tx_tb_in] BAD case in is_stb
UVM_INFO ./eximius/0.9.6/ca/dv/tb/../export_src/ca_scoreboard.sv(527) @ 2902500: uvm_test_top.ca_top_env.ca_scoreboard [verify_rx_dout] xfer_cnt: 239 DIE_B tx_din -- > AIB --> DIE_A rx_dout Pass
drv_tfr_complete_ab 1
UVM_INFO ./eximius/0.9.6/ca/dv/tb/../export_src/ca_scoreboard.sv(527) @ 2903000: uvm_test_top.ca_top_env.ca_scoreboard [verify_rx_dout] xfer_cnt: 240 DIE_B tx_din -- > AIB --> DIE_A rx_dout Pass
UVM_INFO ./0.9.6/ca/dv/tb/../tests/ca_aln_err_afly0_by_incorrect_stb_test.sv(160) @ 2903000: uvm_test_top [ca_aln_err_afly0_by_incorrect_stb_test ::run_phase] after_1st drv_tfr_complete..
Command to reproduce:
./simv +UVM_TESTNAME=ca_aln_err_afly0_by_incorrect_stb_test_c +ntb_random_seed=13374881 +UVM_VERBOSITY=UVM_LOW +AIB_IF_COUNT=1 +AIB_CONFIG_DIR=./ +AIB_MASTER_CONFIG_FILE=./master_0_config_aib.dat +AIB_SLAVE_CONFIG_FILE=./slave_0_config_aib.dat -l ./logs/sim_m2s2.log

shared vpd and log files

CA DV issue addressed in 0.9.7 release

Still fails:
UVM_ERROR ./0.9.7/ca/dv/export_src/./ca_tx_tb_in_mon.sv(342) @ 3352500: uvm_test_top.ca_top_env.ca_die_b_tx_tb_in_agent.mon [mon_tx_tb_in] BAD case in is_stb
UVM_INFO ./0.9.7/ca/dv/tb/../export_src/ca_scoreboard.sv(522) @ 3352500: uvm_test_top.ca_top_env.ca_scoreboard [verify_rx_dout] xfer_cnt: 239 DIE_A tx_din -- > AIB --> DIE_B rx_dout Pass

Report counts by severity
UVM_INFO : 1099
UVM_WARNING :    0
UVM_ERROR :    1
UVM_FATAL :    0
** Report counts by id
[AIB ENV CFG]     1
[CA_CFG]    14
[CHECK_PHASE]     1
[GLOBAL_TIMER]     2
[MASTER CFG]     8
[RESET DRV]     1
[RNTST]     1
[SLAVE CFG]     8
[TEST_DONE]     1
[UVMTOP]     2
[aib_master_data_monitor]     8
[aib_master_por_driver]    36
[aib_master_prog_default_sequence]     2
[aib_master_prog_driver]     1
[aib_slave_data_monitor]    16
[aib_slave_por_agent]     1
[aib_slave_por_agent build_phase ]     1
[aib_slave_por_driver]    54
[aib_slave_prog_driver]    32
[aib_vip_top]     1
[base_ca_test_c::build_phase]     2
[base_test]     2
[body]     6
[build_phase]     3
[ca_aln_err_afly0_by_incorrect_stb_test]     2
[ca_aln_err_afly0_by_incorrect_stb_test ::run_phase]     1
[ca_aln_err_afly0_by_incorrect_stb_test_c]     3
[ca_rx_tb_in_agent_c::new]     4
[ca_rx_tb_in_drv_c::new]     4
[ca_rx_tb_in_mon_c::new]     4
[ca_top_env_c::build_phase]     2
[ca_top_env_c::connect_phase]     2
[ca_tx_tb_in_agent_c::new]     4
[ca_tx_tb_in_mon_c::new]     4
[ca_tx_tb_out_agent_c::new]     4
[ca_tx_tb_out_drv_c::new]     4
[ca_tx_tb_out_mon_c::new]     4
[calc_stb_beat]   170
[chan_delay_agent_c::new]    48
[chan_delay_drv_c::new]    48
[chan_delay_mon_c::new]    48
[check_phase]   113
[ck_eot]     1
[ck_xfer_cnt]     2
[drv_reset]     1
[final_phase]     3
[gen_stb_beat]     6
[generate_stb_beat]     1
[intel_aib_base_test]     2
[intel_aib_init_base_test]    24
[mon_reset]     1
[mon_tx_tb_in]     1
[verify_rx_dout]   385

./simv +UVM_TESTNAME=ca_aln_err_afly0_by_incorrect_stb_test_c +ntb_random_seed=41142320 +UVM_VERBOSITY=UVM_LOW +AIB_IF_COUNT=1 +AIB_CONFIG_DIR=./ +AIB_MASTER_CONFIG_FILE=./master_0_config_aib.dat +AIB_SLAVE_CONFIG_FILE=./slave_0_config_aib.dat -l ./logs/ca_tb.log

A test rerun with mentioned seed in above latest reporting, still passed at Eximius on xcelium.
Could there be a possibility the way VCS handles this!
Please share failing log and waves.
Attached are our screenshots of passed test

extract from our log:
++++++++++++++++
/g/proj/customer/intel/ship/users/sameerkk/ship_rel/design/ca/dv/tb/ca_top_tb.sv
-top ca_top_tb
+UVM_TESTNAME=ca_aln_err_afly0_by_incorrect_stb_test_c
-l ca_tb.log
-f /g/proj/customer/intel/ship/users/sameerkk/ship_rel/design/ca/dv/../rtl/ca.f
++++++++++++++++
-svseed 41142320
User defined plus("+") options:
+UVM_VERBOSITY=UVM_LOW
+AIB_IF_COUNT=1
+AIB_TRANS_COUNT=120
+AIB_CONFIG_DIR=./
+AIB_MASTER_CONFIG_FILE=./master_0_config_aib.dat
+AIB_SLAVE_CONFIG_FILE=./slave_0_config_aib.dat
++++++++++++++++
/////////////////////////
// SvtTestEpilog: Test Passed //
/////////////////////////
UVM_INFO /g/proj/customer/intel/ship/users/sameerkk/ship_rel/design/aib/dv/tests/intel_aib_base_test.sv(303) @ 3369500: uvm_test_top [final_phase] Exiting...
UVM_INFO /g/tools/cadence/XCELIUMMAIN/20.09.001_Base/tools/methodology/UVM/CDNS-1.2/sv/src/base/uvm_report_catcher.svh(705) @ 3369500: reporter [UVM/REPORT/CATCHER]
--- UVM Report catcher Summary ---
Number of demoted UVM_FATAL reports  :    0
Number of demoted UVM_ERROR reports  :    0
Number of demoted UVM_WARNING reports:    0
Number of caught UVM_FATAL reports   :    0
Number of caught UVM_ERROR reports   :    0
Number of caught UVM_WARNING reports :    0
UVM_INFO /g/tools/cadence/XCELIUMMAIN/20.09.001_Base/tools/methodology/UVM/CDNS-1.2/sv/src/base/uvm_report_server.svh(847) @ 3369500: reporter [UVM/REPORT/SERVER]
--- UVM Report Summary ---
** Report counts by severity
UVM_INFO :  644
UVM_WARNING :    0
UVM_ERROR :    0
UVM_FATAL :    0
** Report counts by id
[AIB ENV CFG]     1
[CA_CFG]    14
[CHECK_PHASE]     1
[GLOBAL_TIMER]     2

fails in 0.9.8
UVM_INFO./eximius/0.9.8/ca/dv/export_src/./ca_tx_tb_out_drv.sv(493) @ 3369500: uvm_test_top.ca_top_env.ca_die_b_tx_tb_out_agent.drv [check_phase] Starting ca_tx_tb_out_drv check_phase...
UVM_INFO ./eximius/0.9.8/ca/dv/export_src/./ca_tx_tb_out_drv.sv(502) @ 3369500: uvm_test_top.ca_top_env.ca_die_b_tx_tb_out_agent.drv [check_phase] DIE_B ca_tx_tb_out_drv check_phase ok
UVM_INFO./eximius/0.9.8/ca/dv/tb/../export_src/ca_scoreboard.sv(572) @ 3369500: uvm_test_top.ca_top_env.ca_scoreboard [CHECK_PHASE] Starting scoreboard check_phase...
UVM_WARNING ./eximius/0.9.8/ca/dv/tb/../export_src/ca_scoreboard.sv(552) @ 3369500: uvm_test_top.ca_top_env.ca_scoreboard [check_queue] die_a_tx_din_q NOT empty: 1 first item:
UVM_INFO./eximius/0.9.8/ca/dv/tb/../export_src/ca_scoreboard.sv(557) @ 3369500: uvm_test_top.ca_top_env.ca_scoreboard [check_phase] die_b_tx_din_q empty: ok
UVM_INFO./eximius/0.9.8/ca/dv/tb/../export_src/ca_scoreboard.sv(557) @ 3369500: uvm_test_top.ca_top_env.ca_scoreboard [check_phase] die_a_exp_rx_dout_q empty: ok
UVM_INFO ./eximius/0.9.8/ca/dv/tb/../export_src/ca_scoreboard.sv(557) @ 3369500: uvm_test_top.ca_top_env.ca_scoreboard [check_phase] die_b_exp_rx_dout_q empty: ok
UVM_ERROR./eximius/0.9.8/ca/dv/tb/../export_src/ca_scoreboard.sv(583) @ 3369500: uvm_test_top.ca_top_env.ca_scoreboard [check_phase] >> FAIL <<  Please see above msg
to reproduce:
./eximius/0.9.8/ca/dv/nightly/M2S2_GEN2_F2F_22/./simv +UVM_TESTNAME=ca_aln_err_afly0_by_incorrect_stb_test_c +ntb_random_seed=55379391 +UVM_VERBOSITY=UVM_LOW +AIB_IF_COUNT=1 +AIB_CONFIG_DIR=./ +AIB_MASTER_CONFIG_FILE=./master_0_config_aib.dat +AIB_SLAVE_CONFIG_FILE=./slave_0_config_aib.dat -l ./logs/ca_t

sent log and VPD files

The log you sent shows passing sims with no UVM_ERROR messages. Looking at the above, the test you reported failing was M2S2_GEN2_F2F_22. You sent a filed labeled M2S2_GEN2_Q2Q_1.tgz. Did you send the wrong waves/files?

uploaded correct logs and VPD  in M2S2_GEN2_F2F_22.tgz

This issue should be fixed in the Feb 18 release.

fixed in 1.0


[CVAT-UI]: Appearance settings in AAM, keyframe navigation and other buttons in AAM

Motivation and context
Implementation of some features that have been requested by internal team
Changes:

Component/container refactoring to reuse existing components in different places. Some files have been spitted because a lot of components in the same file.
Appearance block in AAM
Block with some switchers in AAM

Resolve #1423
Resolve #1422
How has this been tested?
Manual testing
Checklist

[x] I submit my changes into the develop branch
[x] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[x] I have linked related issues (read github docs)
[x] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Pull Request Test Coverage Report for Build 6232

0 of 0   changed or added relevant lines in 0 files are covered.
6 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 65.103%

Files with Coverage Reduction
New Missed Lines
%

cvat/apps/engine/media_extractors.py
6
75.88%

Totals

Change from base Build 6228:
-0.02%

Covered Lines:
11030

Relevant Lines:
16532

💛  - Coveralls

@bsekachev, get some issue when changed between frames/objects.

@ActiveChooN
Try to hide a rect or do it outside, then open AAM and go to this shape and you get the same result in develop,
But in this patch I tried to fix it. It seems not completely. I need specific info about shape where you get such a result

@bsekachev, if I enter the wrong filter then the filter input field disappears. So i need to change standard mode to fix filter.

@bsekachev, also i have an idea. It is not directly related with this PR. I guess it will be more convenient to start attributes shortcuts ordering from 1 not from 0, like it placed on keyboard. So label attribute shortcuts will be 1, 2 ... 9, 0 and not 0, 1, 2 ... 9.

@bsekachev, also i have an idea. It is not directly related with this PR. I guess it will be more convenient to start attributes shortcuts ordering from 1 not from 0, like it placed on keyboard. So label attribute shortcuts will be 1, 2 ... 9, 0 and not 0, 1, 2 ... 9.

We use 0,1,2,3 because of historycal reasons. Our annotators use numpad keyboard.
We can discuss the idea on the meeting, but I think there won't be positive feedback from annotators

@bsekachev, if I enter the wrong filter or filter with empty result then the filter input field disappears. So i need to change standard mode to fix filter.

Again, the same in develop. But I fixed it here.


[Select] Add optgroup support

Would be a good addition to the current Select. Found this old Issues (#5521) for this feature but nothing happend yet.
Maybe something like this
<Select>
+    <MenuGroup label="optgroup label">
        <MenuItem value={10}>Ten</MenuItem>
        <MenuItem value={20}>Twenty</MenuItem>
        <MenuItem value={30}>Thirty</MenuItem>
+    </MenuGroup>
</Select>

https://www.w3schools.com/tags/tag_optgroup.asp

@Skaronator I think that it's a duplicate of #2671


Upgrade cucumber rails and other gems

This is a follow up on #401
List of circle ci images here: https://circleci.com/docs/2.0/circleci-images/#ruby

Dockerfile will also need an update to use the new ruby version
currently is using FROM ruby:2.6.5-alpine
as well as bundler bundler -v 1.17.3 etc.