ECU-C not responding after xx time. + solution intent

I am a bit new to the ECU-C integration (less than 1 week).
but this morning the value in HASS flatlined. and when i looked in HASS, it say that the values where not undated for 3 hours (later they become Unavailible)
I had PCAP running, so if someone is intrested, i can make them availible. but my first conclusion is that the TCP session to the ECU is accepted, but the ECU just does not respond with the expected data.
I was able to recover from the situation WITHOUT power cycle the ECU !!!!
just 1 simple command is suficiant to reboot the ECU
curl "http:// < IP > /index.php/management/set_wlan_ap" -H "X-Requested-With: XMLHttpRequest" --data-raw "SSID=ECU-WIFI_local&channel=0&method=0&psk_wep=&psk_wpa="
hope that some one can automate this in the scripts. Let's say if the ECU did not respond for 5 times?

That is very good news, you might have to create a switch. After this you can call it in an automation. https://community.home-assistant.io/t/automation-execute-curl-command/134909/2
I'm interested in the PCAP logs, I never had a chance to analyze the traffic to the ECU-C because I only own the good old classic ECU-R. The ECU-R with ECU-ID's starting with 2162..... have the same problem (not responding after a while).

You can choose to scedule a restart once a week or shorter interval or you might check on {{ states('switch.ecu_query_device') }}
When all fails and cache limit is reached it will turn off if I'm not mistaken.

Got the .zip thnx

where did you see duplicate IP-address

In the ECU-C_Responding log: [Duplicate IP address detected for <IP_ADDRESS> (60:c5:a8:79:a0:b8) - also in use by 80:97:1b:02:1d:91 (frame 4)]
60:c5:a8:79:a0:b8 = A node from Beijing LT Honway Technology Co.,Ltd
80:97:1b:02:1d:91 = A node from Altenergy Power System,Inc. (your ECU)
The first could well be the bluetooth device in the Rpi, I'm not sure - just noticed this, might be nothing.

That is a intressting mistack from the ECU.
ECU Eth0 Mac Address | 80:97:1B:02:1D:91 (ip <IP_ADDRESS>)
ECU Wlan0 Mac Address | 60:C5:A8:79:A0:B8 (ip <IP_ADDRESS>)

@12christiaan Are you still testing the trigger on switch.ecu_query_device or are you scheduling the reset? I might add an sensor if switch.ecu_query_device isn't working.

yes, but i have to wait for the ECU to stop, to see if it works. can take a few days

my automation did not work (detecting the 'unav") needed to re-start manualy.

Have you looked at the state of switch.ecu_query_device?

automation
`- id: '1661155335281'
alias: Reboot ECU if unavailable readings.
description: ''
trigger:

platform: state
entity_id:

switch.ecu_query_device
to: unavailable
for:
hours: 0
minutes: 3
seconds: 0
condition: []
action:

service: shell_command.shell_reboot_ecu
data: {}
mode: single`

Did some testing also (ECU-R powered off). After using the cache five times, the ecu_query_device switch flips the 6th time but will not trigger the automation. Using the switch manually does trigger the automation. I'll look into this later.

my observation:

disconnect cable.

next polling of the ECU (0-5 minute):
ECU Using Cached Data turned on = binary_sensor.ecu_using_cached_data

25 minute later:
ECU Inverters became unavailable = sensor.ecu_inverters
ECU Inverters Online became unavailable = sensor.ecu_inverters_online
ECU Using Cached Data became unavailable = binary_sensor.ecu_using_cached_data
ECU Query Device became unavailable = switch.ecu_query_device

Cable back.

that is why i made the automation for "binary_sensor.ecu_using_cached_data"

You can also use (might be better to use because it is more generetic):
alias: Reboot ECU if unavailable readings
description: ""
trigger:
  - platform: state
    entity_id:
      - binary_sensor.ecu_using_cached_data
        to: unavailable
        condition: []
action:
  - service: shell_command.shell_reboot_ecu
    data: {}
    mode: single

@12christiaan Any news on the automation? I might include it in the next release and/or add your finding to the readme.

Last week I was testing with disconnecting the cable. now running for (almost) 3 days, so expect it to fail soon. (and hopefuly recover automaticly).

To day morning it started with failure @7:58. "Using cached data"
However, the system DID respond next Query and everything looked fine.
My automation did NOT trigger because it need 16 minute (3 query) to be active.
2022-08-31 07:53:19 DEBUG (SyncWorker_5) [custom_components.apsystems_ecur] Querying ECU
2022-08-31 07:53:34 DEBUG (SyncWorker_5) [custom_components.apsystems_ecur] Got data from ECU
2022-08-31 07:53:34 DEBUG (SyncWorker_5) [custom_components.apsystems_ecur] Returning {'model': 'YC600/DS3', ...............
2022-08-31 07:53:34 DEBUG (MainThread) [custom_components.apsystems_ecur] Finished fetching apsystems_ecur data in 15.035 seconds (success: True)
2022-08-31 07:58:34 DEBUG (SyncWorker_4) [custom_components.apsystems_ecur] Querying ECU
2022-08-31 07:58:39 WARNING (SyncWorker_4) [custom_components.apsystems_ecur.APSystemsSocket] b'4150...............
2022-08-31 07:58:39 WARNING (SyncWorker_4) [custom_components.apsystems_ecur] Using cached data from last successful communication from ECU.  Error: 'NoneType' object does not support item assignment
2022-08-31 15:14:24 DEBUG (SyncWorker_8) [custom_components.apsystems_ecur] Returning {'model': 'YC600/DS3', ...............
2022-08-31 15:14:24 DEBUG (MainThread) [custom_components.apsystems_ecur] Finished fetching apsystems_ecur data in 15.085 seconds (success: True)
3:14:24 PM - ECU Using Cached Data turned on
2022-08-31 15:19:24 DEBUG (SyncWorker_3) [custom_components.apsystems_ecur] Querying ECU
This is strange... There is NO responce. Nore end of the query. It looks IT DOES NOT time out.
Than at 15:30. My automation kicked in.
Triggered by the state of binary_sensor.ecu_using_cached_data at August 31, 2022 at 3:30:24 PM
Call service shell_command.shell_reboot_ecu
Finished at August 31, 2022 at 3:30:25 PM (runtime: 1.85 seconds)
2022-08-31 15:30:25 DEBUG (MainThread) [homeassistant.components.shell_command] Stdout of command: /usr/bin/curl "http://<IP_ADDRESS>/index.php/management/set_wlan_ap" -H "X-Requested-With: XMLHttre , return code: 0:
2022-08-31 15:30:25 DEBUG (MainThread) [homeassistant.components.shell_command] Stderr of command: /usr/bin/curl "http://<IP_ADDRESS>/index.php/management/set_wlan_ap" -H "X-Requested-With: XMLHttre , return code: 0:
Not sure why there ar 2 entries in the log.
The ECU was NOT being queried at this time. however the ECU seams fine and als the web interface was normaly availible.
I did manualy toggel the "ECU Query Device" switch @18:14
6:14:11 PM - ECU Query Device turned off triggered by service switch.turn_off
2022-08-31 18:14:11 DEBUG (SyncWorker_6) [custom_components.apsystems_ecur] Not querying ECU due to query=False
2022-08-31 18:14:11 DEBUG (MainThread) [custom_components.apsystems_ecur] Finished fetching apsystems_ecur data in 0.006 seconds (success: True)
This is also a very suspicious log entry. There is NO start of the query. so why there is a Finish?
or is this still the query that started @15:19????
In the TCP trace that was running there is NO information at this timestamp.
At this time manualy toggel the "ECU Query Device" switch @18:14 to ON.
6:14:40 PM - ECU Query Device turned on
Now the ECU is queried again, but still using the "cached data"
2022-08-31 18:14:30 DEBUG (SyncWorker_5) [custom_components.apsystems_ecur] Querying ECU
2022-08-31 18:14:30 WARNING (SyncWorker_3) [custom_components.apsystems_ecur.APSystemsSocket] b'415053313230313135303030313231353030303031323530323031000006ee000000a400000376202208311811340003000331303031344543552d432d5a5f43312e322e323031364575726f70652f416d7374657264616d80971b021d9160c5a879a0b8303000000000000000000000454e440a'
2022-08-31 18:14:40 WARNING (SyncWorker_3) [custom_components.apsystems_ecur] Using cached data from last successful communication from ECU. Error: 'NoneType' object does not support item assignment
2022-08-31 18:14:40 DEBUG (SyncWorker_3) [custom_components.apsystems_ecur] Returning {'model': 'YC600/DS3', ...............
2022-08-31 18:14:40 DEBUG (MainThread) [custom_components.apsystems_ecur] Finished fetching apsystems_ecur data in 10516.744 seconds (success: True)
2022-08-31 18:14:45 WARNING (SyncWorker_5) [custom_components.apsystems_ecur] Using cached data from last successful communication from ECU. Error: [Errno 9] Bad file descriptor
2022-08-31 18:14:45 DEBUG (SyncWorker_5) [custom_components.apsystems_ecur] Returning {'model': 'YC600/DS3', 'channel_qty': 2, 'power': [44, 33], 'voltage': [241, 241], 'inverters': {'704000024239'_id': '215000012502', 'today_energy': 7.56, 'lifetime_energy': 176.1, 'current_power': 1378, 'qty_of_inverters': 3, 'qty_of_online_inverters': 3, 'data_from_cache': True, 'querying': True}
2022-08-31 18:14:45 DEBUG (MainThread) [custom_components.apsystems_ecur] Finished fetching apsystems_ecur data in 15.028 seconds (success: True)
2022-08-31 18:19:45 DEBUG (SyncWorker_0) [custom_components.apsystems_ecur] Querying ECU
2022-08-31 18:19:50 WARNING (SyncWorker_0) [custom_components.apsystems_ecur.APSystemsSocket] b'415053313230313135303030313231353030303031323530323031000006ee000000dc00000378202208311816340003000331303031344543552d432d5a5f43312e322e323031364575726f70652f416d7374657264616d80971b021d9160c5a879a0b8303000000000000000000000454e440a'
2022-08-31 18:20:00 WARNING (SyncWorker_0) [custom_components.apsystems_ecur.APSystemsSocket] b'415053313130303932303030323030303100032022083118162670400002423901303101f40085002400eb002200eb70400002343501303101f40086002300e9002400e970400002368201303101f40084002c00eb002300eb454e440a'
2022-08-31 18:20:00 WARNING (SyncWorker_0) [custom_components.apsystems_ecur.APSystemsSocket] b'415053313130303339303033303030704000024239d3704000023435db704000023682de454e440a'
2022-08-31 18:20:00 DEBUG (SyncWorker_0) [custom_components.apsystems_ecur] Got data from ECU
2022-08-31 18:20:00 DEBUG (SyncWorker_0) [custom_components.apsystems_ecur] Returning {'model': 'YC600/DS3', 'channel_qty': 2, 'power': [44, 35], 'voltage': [235, 235], 'inverters': {'704000024239'_id': '215000012502', 'today_energy': 8.88, 'lifetime_energy': 177.4, 'current_power': 220, 'qty_of_inverters': 3, 'qty_of_online_inverters': 3, 'data_from_cache': False, 'querying': True}
2022-08-31 18:20:00 DEBUG (MainThread) [custom_components.apsystems_ecur] Finished fetching apsystems_ecur data in 15.068 seconds (success: True)
6:20:00 PM - ECU Using Cached Data turned off
From this moment the data is normaly arriving and looks working again.
My conclusion is:
The reset of the ECU DID work fine.
however the query proccess was hanging, so that the querying did not start.

Thanks for the comprehensive report, I see plenty of things to investigate/address again.

One consideration is not to mark the ECU as unavailable on the 6th attempt to read data but to toggle the query switch instead. The integration will now just cache indefinitely until the switch is flipped again. The switch thus also retains its original purpose; optionally stopping the ECU querying when the sun has set.
An additional advantage is that the entities remain intact and do not fill the dashboard with unavailable entity statuses, that might cause some panic.

Does this sound logical?
By the way, the switch bounced so I had to debounce that first. Maybe that's why the automation didn't work. In the meantime also corrected the raises on invalid data.

Ok, ready testing and updated my repository. Automation now works but under the condition that the querycache is also enabled. If you don't add the condition the automation will be triggered when you manually flip the switch. Automation would look like this:
- id: '[automation ID]'
  alias: When the ECU does not repond anymore
  description: ''
  trigger:
  - platform: state
    entity_id:
    - switch.ecu_query_device
    to: 'off'
  condition:
  - condition: and
    conditions:
    - condition: state
      entity_id: binary_sensor.ecu_using_cached_data
      state: 'on'
  action:
  - service: notify.mobile_app_iphone_from_Edwin
    data:
      message: ECU unavailable
      title: Error
  mode: single

The switch is not bounching anymore and the entities remain intact/enabled/available for automations.
If you'd like to test, you can download the sources https://github.com/HAEdwin/homeassistant-apsystems_ecur/archive/refs/heads/main.zip and replace the following files:
init.py
APSystemsSocket.py
switch.py

I will test.

I have updated the items you said. and chenged my automation to this.
Now wait for 3 or 4 day till automation is triggered.

id: '1661155335281'
alias: Reboot ECU if unavailable readings.
description: ''
trigger:

platform: state
entity_id:

binary_sensor.ecu_using_cached_data
to: 'on'
for:
hours: 0
minutes: 16
seconds: 0
from: 'off'
condition: []
action:

service: notify.mobile_app_21081111rg
data:
message: ECU unavailible
title: ECU
service: shell_command.shell_reboot_ecu
data: {}
delay:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
service: switch.turn_off
data: {}
target:
entity_id: switch.ecu_query_device
delay:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
service: switch.turn_on
data: {}
target:
entity_id: switch.ecu_query_device
mode: single

New versions here freezes also after a couple of days (ECU-C). Looks promising guys.

Yes, connected to ethernet. however the same service is availible via WiFi. I disconnected the WiFi, due to duplicated MAC error.

Just came home and saw that the ECU failed today.
both Automation where triggered.
1:05:20 PM - ECU Using Cached Data turned on
1:22:22 PM - ECU Query Device turned off triggered by automation ECU Reboot if unavailable readings. triggered by state of ECU Using Cached Data
1:23:22 PM - ECU Query Device turned on triggered by automation ECU Reboot if unavailable readings. triggered by state of ECU Using Cached Data
Neverhteless, the "ECU Using Cached Data" whent on, and never when off again.
I see that the Quering of the ECU stopped after the automation is triggered.
The automation switched "ECU Query Device" Off and ON but did not start Queriing.
 Exception error: 'NoneType' object does not support item assignment
2022-09-08 13:05:20 DEBUG (SyncWorker_3) [custom_components.apsystems_ecur] Returning {'model': 'YC600/DS3', 'channel_qty': 2, 'power': [222, 206], 'voltage': [240, 240], 'inverters': {'70400002423_id': '215000012502', 'today_energy': 1.91, 'lifetime_energy': 236.3, 'current_power': 1234, 'qty_of_inverters': 3, 'qty_of_online_inverters': 3, 'data_from_cache': True, 'querying': True}
2022-09-08 13:05:20 DEBUG (MainThread) [custom_components.apsystems_ecur] Finished fetching apsystems_ecur data in 15.767 seconds (success: True)
2022-09-08 13:10:20 DEBUG (SyncWorker_5) [custom_components.apsystems_ecur] Querying ECU
2022-09-08 13:21:22 DEBUG (MainThread) [homeassistant.components.shell_command] Stdout of command: /usr/bin/curl "http://<IP_ADDRESS>/index.php/management/set_wlan_ap" -H "X-Requested-With: XMLHttre , return code: 0:
2022-09-08 13:21:22 DEBUG (MainThread) [homeassistant.components.shell_command] Stderr of command: /usr/bin/curl "http://<IP_ADDRESS>/index.php/management/set_wlan_ap" -H "X-Requested-With: XMLHttre , return code: 0:
No more entries (from ECU) after this.

@12christiaan Thanks for the feedback. I'll have to check with you if expectations are correct. The integration never stops the process of updating with the set interval.
While the update process is running, it checks if caching is active, the ECU is reachable, the switch is on, etc. If you flip the ECU_Query_Device switch, the status of everything is only updated at the next interval that the update process is running. So don't expect a disabled cache right away, but wait for the minimum set interval before this changes.
I kind of assume that issues are handled unattended where you don't look at the dashboard. Perhaps you concluded too early that the process is returning to normal operations and the error in the log was an accidental interruption of the ongoing process.
So reproduce, flip the switch wait and see what is happening with the "ECU Using Cached Data" status after the set interval.
I would recommend testing after sunset by unplugging the ethernet cable and then waiting to see what happens without putting an automation on it. When you reconnect the Ethernet cable, the normal situation will return after the interval.

@12christiaan Your automation contains
- service: switch.turn_off
    data: {}
    target:
      entity_id: switch.ecu_query_device
  - delay:
      hours: 0
      minutes: 1
      seconds: 0
      milliseconds: 0
  - service: switch.turn_on
    data: {}
    target:
      entity_id: switch.ecu_query_device

But this is redundant because the integration allready flips the ECU Query Device switch off. The automation should therefor only check if [ECU Using Cached Data = On] AND [ECU Query Device = Off]. If these conditions are true, send the cURL and turn the switch [ECU Query Device] to on.
- id: '1661155335281'
  alias: Reboot ECU if unavailable readings.
  description: ''
  trigger:
  - platform: state
    entity_id:
    - binary_sensor.ecu_using_cached_data
    to: 'on'
  condition:
  - condition: and
    conditions:
    - condition: state
      entity_id: switch.ecu_query_device
      state: 'off'
  action:
  - service: notify.mobile_app_21081111rg
    data:
      message: ECU unavailible
      title: ECU
  - service: shell_command.shell_reboot_ecu
    data: {}
  - service: switch.turn_on
    data: {}
    target:
      entity_id: switch.ecu_query_device
  mode: single

I have seen that after re-installing the ECU-R integration in HACS en rebooting HA, the ECU-R will give the information just without any reboot or adjustments.

@Firegun1988 It depends on your ECU-R model whether you need to apply the automation. Older ECU-R models that start with 2160xxxxxx indeed have no problem that they get stuck. I will improve the readme with all the info supplied. Thanks all!

@12christiaan I'll add your findings and my automation to the readme and release a new version by the end of this month. Is the automation using the shell command correct the way I described it here?
In automations.yaml
- id: '1661155335281'
alias: Reboot ECU if unavailable readings
description: ""
trigger:
  - platform: state
    entity_id:
      - switch.ecu_query_device
    to: "off"
condition:
  - condition: and
    conditions:
      - condition: state
        entity_id: binary_sensor.ecu_using_cached_data
        state: "on"
action:
  - service: notify.mobile_app_iphone_van_edwin
    data:
      message: ECU unavailable
      title: ECU
  - service: shell_command.reset_ecu
    data: {}
  - delay:
      hours: 0
      minutes: 1
      seconds: 0
      milliseconds: 0
  - service: switch.turn_on
    data: {}
    target:
      entity_id: switch.ecu_query_device
mode: single

In configuration.yaml (don't forget to specify your ECU IP-Address):
shell_command:
  reset_ecu: "curl 'http://<ip-address>/index.php/management/set_wlan_ap' -H 'X-Requested-With: XMLHttpRequest' --data-raw 'SSID=ECU-WIFI_local&channel=0&method=0&psk_wep=&psk_wpa='"

Sorry, i am very bussy, no time to work on this.
for now i have disabled my automations, and send shell command very night, this works fine (for now).
My shell command

shell_command:
shell_reboot_ecu: '/usr/bin/curl "http://<IP_ADDRESS>/index.php/management/set_wlan_ap" -H "X-Requested-With: XMLHttpRequest" --data-raw "SSID=ECU-WIFI_local&channel=0&method=0&psk_wep=&psk_wpa=" --compressed  --insecure '

Added to release v1.2.18 thank you again @12christiaan. I will close this issue. Should there be any questions or comments on this issue, you are welcome to open a new issue and refer to this issue.

@12christiaan I could as well add an option to the configuration if you own the ECU-R (pro) or ECU-C model and call the URL from within the integration when reboot is applicable, that's much easier. Are you willing to test if I do?


Figure out how to add the pedigree to the inference

Inference of tree sequence with pedigrees? tsinfer does not support use of pedigree information. That is a whole new project. We will make a stab with Uni and Alpha tools.


Add End-to-End tests for the Miden Node

We need to define and run integration tests for the Miden Node.

Linked to:

https://github.com/0xPolygonMiden/miden-node/issues/93
https://github.com/0xPolygonMiden/miden-node/issues/144
https://github.com/0xPolygonMiden/miden-node/issues/145

I think this issue is more about an end-to-end test (E2E) instead of the Rust's integration tests. Here are a few notes that I believe are important for these types of tests:

CI:

The E2E only run after successful unit tests
Logs should be aggressively collected and persisted by the CI

Tests:

Have overridable timeouts for environment setup/teardown and test execution. default timeout for tests of around 30secs
Can skip the teardown on test failure
Must have automatic retries with a ressetable test timeout configurable by test and disabled by default

Environment:

Must be containerized

The rationale of the above is:

i. E2E tests are super slow, if the unit tests fail it doesn't make sense to waste CI time on the E2e tests
ii. Debugging E2E tests from CI can be challenging, and the logs are the only tool we have in some cases (specially when tests fail because the CI machines are not that powerful).
i. When debugging/running a single test, the setup/teardown time will dominate the test runtime, this means these settings should be different. The test timeout is important to detect issues that are outside of the test runner, and to incentivize good test writting.
ii. When debugging a test, it is useful to keep the environment around to inspect further.
iii. Flakiness is a given, retries on CI will be needed. Retries should be disabled by default because otherwise super badly written tests can get in, this setting is just a last resort kinda of tool.
i. it is impossible to do environment cleanup properly without it (e.g. double fork creates a daemon and there is no reliable way of caughting it without a cgroup). Using containers also allows for parallel test execution (useful when working on different branches).

Ideally we would also have:

The ability to run a new E2E test multiple times when it is introduced, say 5 times. To detect flakiness before merging a PR.
Collect some metrics about the tests, to know what is slow/flaky and needs an eye to improve
Test should be written with no assumption they have a clean slate. This would require a setup/teardown per test, which is super slow.

With the above said. I think the best approach here is to have a hand written test runner, that will setup the container environment first, and then call the tests (which can be a rust binary).

https://github.com/0xPolygonMiden/miden-node/pull/232#issuecomment-1943908346

@bobbinth would be glad to have your view and input on end-to-end tests that we could perform on the miden node.
Thanks

Is there something you need to close this issue? Are you actively working on it?

To be able to close this PR I need this PR to be merged, it has been approved it's a matter of hours before I can continue working on the end-to-end testing: #257

What is missing here? Do you need any support?

More research needs to be done regarding end-to-end testing for the Miden node.
Making sure that they provide value in terms of functionality verification.


I'm hoping this is correct

because if not the mixin makes little sense -- isn't it a hash containing a single key called users?

You are completely correctly, thanks for fixing this :)


feat(command): allow bar in command

allow following style

Jetpack 'roxma/nvim-yarp' | Jetpack 'roxma/vim-hug-neovim-rpc'

fix for using J  to state plugin by defining JetpackSync just after delcommand Jetpack, otherwise issue E464: Ambiguous use of user-defined command

Wow. What an awesome suggestion! Thank you so much.


[keyvault] Update migration and troubleshooting guides

Packages impacted by this PR

@azure/keyvault-certificates
@azure/keyvault-keys
@azure/keyvault-secrets

Issues associated with this PR

Fixes #26358

Describe the problem that is addressed by this PR
Documentation updates with new information reflecting recent changes and feedback; see corresponding .NET and Python PRs.

API change check
API changes are not detected in this pull request.


KAFKA-5049 Chroot check should be done for each ZkUtils instance

This PR is for https://issues.apache.org/jira/browse/KAFKA-5049?jql=project %3D KAFKA AND labels %3D newbie AND status %3D Open
This is for enabling check for chroot for each Zkutils instance.

@ijuma @granthenke @SinghAsDev @fpj Can u take a look and suggest some changes if necessary?

@junrao ^ this is for https://issues.apache.org/jira/browse/KAFKA-5049?jql=project %3D KAFKA AND labels %3D newbie AND status %3D Open
Can u have a look if possible ?

Ty @ijuma This was my first contribution to project :)

Hopefully first of many. :)


Workflow: can't add readiness probe healthcheck

Workflow client version: 2.4.0-78118eb
Workflow version: 2.4.2
Kubernetes version: 1.3.4
When I try to setup a readiness probe to my app I do:
$> deis healthchecks:set readiness httpGet 80 --path / --type web
Applying readinessProbe healthcheck... done

=== myapp Healthchecks

web:
--- Liveness
No liveness probe configured.

--- Readiness
Initial Delay (seconds): 50
Timeout (seconds): 50
Period (seconds): 10
Success Threshold: 1
Failure Threshold: 3
Exec Probe: N/A
HTTP GET Probe: Path="/" Port=80 HTTPHeaders=[]
TCP Socket Probe: N/A

So everything looks good, however when I deis healthcheks:list to ensure it's set:
$> deis healthchecks:list
=== myapp Healthchecks

web/cmd:
--- Liveness
No liveness probe configured.

--- Readiness
No readiness probe configured.

If I kubectl describe my pod, I have this:
Readiness:		exec [bash -c [[ '$(ps -p 1 -o args)' != *'bash /runner/init'* ]]] delay=30s timeout=5s period=5s #success=1 #failure=1

which seems to be the default probes and not the one I want. When I try to set the probe agains, I got this message:
Applying readinessProbe healthcheck... Error: Unknown Error (409): {"detail":"robin changed nothing - release stopped"}

Logs of the deis-controller pod doesn't show anything special.
Am I missing something or is this a bug ?

Tested again with workflow 2.6 and kubernetes 1.4, no more problem. However, deis healthchecks:list doesn't work as expected if I don't specify --type=web (even if web is shown in the output).
Anyway, closing

Sorry @robinmonjo! This was actually a fallout of a recent change made to deis healthchecks.
In the future, if you can file issues on deis/workflow, it'd be more likely that you'll get a response. This repo is for the v1 project which is only being maintained (passively) by myself and 2 other devs. No active development has been taken here for a while.
See duplicate issue: https://github.com/deis/controller/issues/1030


CentOS8: Cannot get Any X Apps to Work with WSL2.

Title says it. Can we not run X apps with WSL2 on CentOS8?

Title says it. Can we not run X apps with WSL2 on CentOS8?

I believe WSL2 does not support X apps for any distro, not just for CentOS

Yes, you have to install extra software to get X support.
https://stackoverflow.com/questions/61110603/how-to-set-up-working-x11-forwarding-on-wsl2
You have several options but I really like X411 from the app store. It is nice clean and works well. You do have to pay for it but I really enjoy it. You have free options but you get what you pay for.


PR to merge "validate-contact" to "main"

In this branch we have committed the following changes:

Fix the linters for html-css-js
Validate the contact form using javascript.
Created an errormessage for the presence of capital letters in the user-email.
Add necessary designs.

Hi @AliRezaBmeDu,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, that has the wrong PR. You submitted the "Portfolio: preserve data in the browser" milestone which is different from the submitted PR.
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Serializer does not check object for a prototype before calling hasOwnProperty()

Latest version.
https://github.com/googleapis/nodejs-firestore/search?q=hasOwnProperty&unscoped_q=hasOwnProperty
The bigger issue is that if I try to save an object into the firestore was created with Object.create(null), the save fails due to the object not having hasOwnProperty. It is quite difficult to debug as a result
Related reasoning and background and example code:

https://github.com/graphql/express-graphql/issues/177
https://github.com/graphql/graphql-js/pull/504
https://github.com/apollographql/apollo-server/issues/3149

Exact reasoning: https://github.com/graphql/express-graphql/issues/177#issuecomment-273955947

@praveenqlogic01  Thanks for your PR! We'll review this, make some changes to the PR, and then merge it in.

@lookfirst I've been trying to reproduce the error in tests on our master branch, but it seems that calling update, set, or create with Object.create(null) or {foo: Object.create(null)} all seem to work fine.
What is your entry point that causes failures?

I think you'd need to pass in a top level object to set and that object is going to need to have some properties on it.
const foo = Object.create(null);
foo.bar = 'ack';
set(foo);

Not sure if this has an effect on the codepath, but I also run everything through a transaction.
There is an example in this comment via this gist to build the object which would be passed through to the set.

@thebrianchen Thank you so much!


DataTable rows prop is reactive only once

Hi everyone. I found that the DataTable row prop is reactive only once. It won't update anymore after the first update is called. I have a code similar to this :

<script>
var data=[];

function testupdate(){
    data.push({ test: 1 })
    data = data
}
</script>

{JSON.stringify(data)}

<DataTable
   headers={[ {key:'test', value:'testing'}  ]}
   rows={data}
</DataTable>

My text generated by {JSON.stringify(data)} is updated when the function "testupdate()" is called (by a button or something similar). But my DataTable update only the first time, but not the others.
Can you help me fix this issue ? Thank you for your help.
(Nodejs v14.4.0 - Svelte npm 3.31.2 - Carbon components sveltes npm 0.26.0)

I found why.
DataTable won't update the row more than once if their is no "id" key. The ID must be unique. It can be a string or a number (they don't need to follow, you can randomize an ID, they just must be unique).

<script>
var data=[];

var id = 0;
function testupdate(){
    data.push({ id: id })
    id++
    data = data
}
</script>

{JSON.stringify(data)}

<DataTable
   headers={[ {key:'id', value:'identificator'}  ]}
   rows={data}
</DataTable>

The documentation said too little about the "ID" key. Maybe you should add a more explicit paragraph about the usage of ID's, or generate one automatically if none are set ?

I found why.
DataTable won't update the row more than once if their is no "id" key. The ID must be unique. It can be a string or a number (they don't need to follow, you can randomize an ID, they just must be unique).

<script>
var data=[];

var id = 0;
function testupdate(){
    data.push({ id: id })
    id++
    data = data
}
</script>

{JSON.stringify(data)}

<DataTable
   headers={[ {key:'id', value:'identificator'}  ]}
   rows={data}
</DataTable>

The documentation said too little about the "ID" key. Maybe you should add a more explicit paragraph about the usage of ID's, or generate one automatically if none are set ?


Incorporate History and Query Refinement into RAG Retrieval Flow

Enhance RAG Retrieval with Query Refinement and History Inclusion
This PR introduces several enhancements to the retrieval-augmented generation (RAG) workflow in the cel assistant. Key updates include:
Changes in Retrieval Workflow:

History Loading Before RAG Retrieval:

Refactored the sequence to load message history from the store before invoking the RAG retriever. This ensures that historical context is incorporated into the RAG query.
Code for loading and appending message history has been reorganized for better logical flow.

Query Refinement Integration:

Added a QueryRefiner class to enhance user queries before passing them to the RAG retriever.
The query refinement process uses the conversation history to generate concise and actionable queries while preserving user intent.

EnhancedRetriever Class:

Introduced the EnhancedRetriever class to integrate the query refinement process into the retrieval pipeline.
Queries are enhanced with historical context and passed to the base retriever for improved results.

Changes in Code:
process_new_message Function

Rearranged the order of operations:

Load message history from the store before RAG retrieval.
Incorporate the refined query when invoking the RAG retriever.

QueryRefiner Class

Refines the user’s query by leveraging the conversation history.
Removes unnecessary complexity to improve query effectiveness for vectorization and retrieval.

EnhancedRetriever Class

Combines the query refinement process with RAG retrieval.
Ensures that enhanced queries are used to fetch results, improving retrieval accuracy.

Benefits:

Improved Context Handling: By loading and appending message history earlier in the flow, the RAG retriever can better leverage historical context.
Query Optimization: Query refinement ensures that RAG queries are concise, precise, and more effective for retrieving relevant results.

Thank you Sergio this is a fantastic improvement in RAG.
QueryRefiner and EnhancedRetriever are very useful tools.


Show deployed model info & submit data from deployment view

As User I need additional tab in deployment view that will display model info and allow to submit data to deployed model and see the response (maybe the same way as it works in service-registry)

[ ] ODAHU ModelRoute operator should interact with ODAHU API instead of Kube API to fetch ODAHU CRD entities
[ ] ODAHU Syncer (Controller) should sync ModelRoute entity in the same way as other entities
[ ] ServiceCatalog should subscribe on ModelDeployment and ModelRoute changes streams in ODAHU API Server
[ ] ServiceCatalog should update Model metadata and endpoints info in local state
[ ] ODAHU UI fetch info about model metadata and route using ServiceCatalog new API


Consistent alias handling in zng type-related helpers

The zng package has a number of type related helpers such as zng.IsUnionType(),zng.IsContainerType(), zng.InnerType(), etc.
Their behavior is inconsistent wrt to aliases: some automatically access the underlying type when passed an alias, while others don't. We should make this consistent one way or the other.

Reminder: when we address this we should circle back to https://github.com/brimsec/zq/pull/2257#discussion_r584919027

We should do a final cleanup on all these now that the dust has settled on Zed.

We've mostly fixed this...


Update Latest Dependencies

This is an auto-generated PR with the latest dependency updates.

Codecov Report

Merging #69 (d8f902c) into main (678aa9d) will decrease coverage by 69.6%.
The diff coverage is n/a.

@@           Coverage Diff            @@
##            main     #69      +/-   ##
========================================
- Coverage   99.5%   29.9%   -69.5%
========================================
  Files         88      88
  Lines       2246    2246
========================================
- Hits        2234     671    -1563
- Misses        12    1575    +1563

Impacted Files
Coverage Δ

facilyst/models/utils.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/test_version.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/models/optimizers/hyperopt.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/mock_tests/test_wave.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/mock_tests/test_dates.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/mock_tests/test_features.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/models_tests/test_bert_qa.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/mock_tests/test_mock_utils.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/models_tests/test_hyperopt.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/utils_tests/test_cli_utils.py
0.0% <0.0%> (-100.0%)
:arrow_down:

... and 56 more

Continue to review full report at Codecov.

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


Soloseng/add-deployed-contract-artifacts

Added CR10 deployed contracts artifacts.
This is usefull for testing contract that need access to the deployed linked libraries

what about moving contractkit to dev dependency? (if not removing completel)?

what about moving contractkit to dev dependency? (if not removing completel)?

I moved it to dev dependencies, as it is still used to test the package.


Note down game idea

Idea has to be noted for further gameplay clarity
The gameplay revolves around the player captain steering the ship to achieve mission objectives. The player has to accomplish mission objectives while interacting with various staff that manage various aspects of the mission as well as the aircarrier. The mission aims to bring discipline, mental alertness and courageous behaviour from the player in order to finish the objective. The objective is basically a mission that brings man, metal and machine in a favourable combo to combat the devastation caused by natural calamity such as earthquake, floods, famine or drought such that the natural habitat post calamity comes in favour of the natural flora, fauna and people living in those areas.

Updated wiki and issue description. Updated Project description.


Refactor the solution and folder structure.

This PR includes:

Refactoring of solution and folder structure.
Updated the paths in build and publish tasks.
Updated the paths in docker files.

Solution structure:

Folder structure:

I would rename the file folder names SpecificationEF6 and SpecificationEFCore to match the solution folder names Specification.EntityFramework6 and Specification.EntityFrameworkCore. This would also be more consistent with the package names.

I started that way, but the path is getting too long. One of the projects hit 256 chars I think. So, it's a little compromise here :)

Ah, what the heck, let's do it that way. I was trying to be considerate for users, they might place the project folder in a nested location in their environment. But, it's better to be consistent.


updated get_spacings() to calculate dxy from 1D or 2D lat-lon values, independent of their dimension order

I updated get_spacings() in utils/general.py because previously this function assumed that for datasets with lon-lat coordinates, these were two-dimensional with 'lon' being the first dimension and 'lat' being the second dimension. I mistakenly introduced this with #65, and I think it is better to make the function more general so that it works for both 1D and 2D lat and lons and independent of their dimension order.

What is our policy on merging? Should @JuliaKukulies merge this, or should I given that I was the last reviewer?

We should probably set a policy for this. Personally I think it's best to leave it to whoever made the pull request in case they need to make any further additions/changes

Agreed with that, for PRs done by maintainers. For non-maintainers, maybe after the last review, ask (and tag them) about whether they are ready to merge?
I'll leave it to @JuliaKukulies for this one.

Sounds good, I agree with your suggestion @freemansw1  to leave it to the last reviewer for non-maintainers, but communicate with the person if they are ready. Good that you brought that up! Sorry @w-k-jones for having merged your last PR on the notebook update- next time I will leave it to you

Sorry @w-k-jones for having merged your last PR on the notebook update- next time I will leave it to you

No worries! It's not something we have a specific policy on yet, and often it's definitely easier for the approving reviewer to merge


Collection of Notion Apps and Libraries

Hey Dave,
i have started to create a open source project that lists open source projects around the new notion api.
https://github.com/MaaxGr/open-source-notionapi-apps
I have added your Python SDK to it. Is that okay for you?
btw: Is this already stable? Then you are the first inofficial api that is stable in that list :D
Kind Regards
Max

it works well, so I deployed XD
but there are some works left to be same as origial js sdk like logging support, type hint support..
It will be really helpful for add my package for it thx!
On May 14, 2021 1:21 PM +0900, Max @.***>, wrote:

Hey Dave,
i have started to create a open source project that lists open source projects around the new notion api.
https://github.com/MaaxGr/open-source-notionapi-apps
I have added your Python SDK to it. Is that okay for you?
btw: Is this already stable? Then you are the first inofficial api that is stable in that list :D
Kind Regards
Max
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Okay Dave, i have set your project as "Beta" in the list.
If you think it's stable enough: Drop me a line and i change it. (Or submit a pull request by yourself if you want)


 Feels like a miss, there's no good reason to not support it. We should maybe warn that there are better options, but it should probably still work.

env var CLOUDFLARE_API_TOKEN works well for me

Supporting this requires both CF_API_KEY and CF_EMAIL. This would then mean that instead of adding Authorization header to our requests we would add two other headers X-Auth-Key and X-Auth-Email.
Note sure, but I think supporting this might require considerable refactoring our of authentication code.
So for now, I would propose that we detect when these environment variables are set and issue a warning that they are not being used.

It requires a refactor, but not very much. I hacked a prototype together and it was fine. There's no urgent requirement for this so we can take our time on it.

OK - cool. It's in the backlog.


Debugging does not work for the XAF.Modules packages

Describe the bug
Nuget debugging as describe in HowToDebug does not work because VersionConverter does not rewrite symbols.

The DevExpress.XAF repository includes commit Debugging does not work for the XAF.Modules packages #359 that relate to this task. Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.

eXpand.lab Installer 18.2.703.4 includes commit Update Nuget packages #359 that relate to this task. Please test if it addresses the problem. If you use nuget add our LAB NugetServer as a nuget package source in VS.
. Thanks a lot for your contribution.

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.


Add a link to a Compliance report directly to an article body

It's just an idea, how to save time for readers who specifically interesting in Compliance questions.
If you will add link https://gallery.technet.microsoft.com/Overview-of-Azure-c1be3942 to this section https://docs.microsoft.com/en-us/azure/aks/intro-kubernetes#regulatory-compliance it will significantly reduce out time to google it or read closed issues to this article.

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

ID: ed330edc-c3ab-d053-faad-4dc5da373b48
Version Independent ID: 625ab8a7-8379-0a1c-c633-fa7bf80f161e
Content: Introduction to Azure Kubernetes Service
Content Source: articles/aks/intro-kubernetes.md
Service: container-service
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

@SychevIgor Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.
@iainfoulds Please take care of this issue.


added guide for anomalize

adding guide for anomalize functions

Hi @mdancho84, started with this guide for anomalize. I'll admit some of the details like the decomposition techniques and other parameters are pretty new to me, so I'm just researching as I go along.

Ok great start! Yeah unless you've been researching it for a long time it can take a bit.


Did not generate encrypted content with "--share"

I want to generate encrypted content and the hash password at once:
staticrypt .\example\index.html --short -p 123456 --share
But this command just output the hash password only, which the line below could generates the encrypted content.
staticrypt .\example\index.html --short -p 123456

Thanks for reporting - the behavior is as expected but the documentation is wrong, I'll fix that.
Behavior changed in staticrypt v3 which supports encrypting multiple files natively, to allow for getting the share link without having to re-encrypt something. I think another person was confused by the new behavior, so maybe this is debatable. I'd consider it a breaking change to change though, so it's now going to change right away.
If you want to do both in a single command you'll have to do
staticrypt .\example\index.html --short -p 123456 && staticrypt --short -p 123456 --share

(it's not* going to change right away)


Add class to create priors

Reads in an array like object of priors and the likelihood or prior distribution and maps them to the correct structure for specifying the priors.

Completed, see priors module


[BUG] DNS servers offered by DHCP server are not set in PXE boot installation

Describe the bug
The DNS servers offered by the DHCP server are not configured in the PXE boot installation time.
If the Harvester configuration file is served from a server that needs name resolution, the installation will fail.
To Reproduce
Steps to reproduce the behavior:

Create a DHCP server to offer IPs and DNS servers for PXE boot installation.
Perform PXE boot installation. The DNS servers are not configured correctly:

rancher:~ # cat /etc/resolv.conf
### /etc/resolv.conf is a symlink to /var/run/netconfig/resolv.conf
### autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
#     NETCONFIG_DNS_STATIC_SEARCHLIST
#     NETCONFIG_DNS_STATIC_SERVERS
#     NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
#     NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
### Call "netconfig update -f" to force adjusting of /etc/resolv.conf.

Expected behavior
The DNS servers provided by the DHCP server should be configured in the /etc/resolv.conf file.
Support bundle

Environment:

Harvester ISO version: v0.3.0-preview1
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): VM, Equnix.

Additional context

The name servers are set correctly during the initramfs stage, but not configured correctly in the real root.
This is an issue caused by the predictable interface name change.
Previously, we have a configuration file /etc/sysconfig/network/ifcfg-eth0 to make interface eth0 default to DHCP mode and wicked brings up eth0 in a later stage. The DNS serves will be re-configured at that time. The file is removed in the PR.
We also need to consider booting from another interface.
This only affects PXE boot installation. The DNS servers are set correctly if user boots from ISO.

@guangyee can u guys please help to verify if this is fixed in the master-head.iso. thanks

I was impacted by this issue and now it's ok with the last master-head.iso.
/etc/resolt.conf is filled with the good DNS information and I'm able to download the harvester ISO and the config file using the DNS name of my webserver.


Added support for cloudantdatabase

Description of your changes
Added support for cloudantdatabase

I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
Unit testing for client and controller code and manual testing with the cloud API for cloudant.

LGTM


[SPONSOR] Update View Shipment page after the status is set to Ready for Dispatch

After the tasks #60, #61 and #65 are completed, update the View Shipment page for SPONSOR with all the available information according to the mockups.

@klivit what kind of attached documents should we keep/show here? From my understanding there are some shipmentDocuments which will be added later when the shipment will be "In transit".

Kits' details are not available.


Letters collide on a multiline header

It happens with standard mode only.

The workaround I have came up with is to set .standard h1 { line-height: 1em; }
And the markdown mode has these lines:
.hack h1, .hack h2 {
    line-height: 30px;
}

Does my workaround seem fine to you? Are there any other tags to be checked and fixed?
I will create a PR with a fix.

I prefer something line-height>= 1.2 and <= 1.5
you may need to check all the headers, maybe a word-wrap: break-word too?

Yeap, word-wrap is totally required.
Without:

With:


return is not allowed within service resources

return is not allowed within service resources

We can use done statement to return from a resource.


S3C-1115 FT: Adds GCP Backend healthcheck

Changing base from master to rel/7.4
Refer to #1093

@ironman-machine r+

Hello @bennettbuchanan
"r+": Success

:hourglass: PR is now pending. CI build url: http://ci.ironmann.io/gh/scality/Integration/19193

:broken_heart: :umbrella: circleCI test failed.

@ironman-machine r+

Hello @bennettbuchanan
"r+": Success

:hourglass: PR is now pending. CI build url: http://ci.ironmann.io/gh/scality/Integration/19194

@ironman-machine
DEFAULT_BRANCH=rel/7.4
SCALITY_INTEGRATION_BRANCH=ultron/rel/7.4
SCALITY_S3_BRANCH=ft/S3C-1115/GCP-Healthcheck
try

Hello @alexanderchan-scality
"DEFAULT_BRANCH=rel/7.4": Success
"SCALITY_INTEGRATION_BRANCH=ultron/rel/7.4": Success
"SCALITY_S3_BRANCH=ft/S3C-1115/GCP-Healthcheck": Success
"try": Success: Try build successfully launched on 'http://ci.ironmann.io/gh/scality/Integration/19209' with the following env. args:
{
    "DEFAULT_BRANCH": "rel/7.4",
    "SCALITY_INTEGRATION_BRANCH": "ultron/rel/7.4",
    "REPO_NAME": "S3",
    "SCALITY_S3_BRANCH": "ft/S3C-1115/GCP-Healthcheck"
}

:hourglass: PR is now pending. CI build url: http://ci.ironmann.io/gh/scality/S3/10386


Add DP problems

Dynamic Programming has only CPP codes. I would like to add the Java codes for Kadane's Algorithm and Knapsack

I am a GSSOC '21 participant.
I wish to contribute a JAVA code for this issue:
My code will have comment lines to make it explanatory and understandable to everyone.
I will be very happy if I am assigned this issue and allowed to work on this.

I am a GSSOC 21 participant, I will like to work on this project, please assign me this

issue has to regarding a specific problem


Best practice to remove special comments /*! comment */

Hi all,
May I know what is the best way to remove special comments /*! comment */?
		.pipe(
			sass({
				includePaths: ["node_modules"],
				outputStyle: 'compressed',
			}).on("error", sass.logError)
		)

How can I get it to have special comments removed?

Yeah, don't use special comments in the first place :)

This isn't a Sass feature. We suggest looking at a css minifier plugin.


Unable to debug C# code and tests in the UI

My issue is that I am unable to debug C# code in vs code. I am however able to build my projects and run my tests in the integrated terminal.
I get the following error message when I open a C# project:

When I try to debug a test I get the following error:
Failed to start debugger: "System.ArgumentException: '' is not a valid version string.\nParameter name: value\n at NuGet.Versioning.SemanticVersion.Parse (System.String value) [0x0001c] in <4853a90612074646a7605745843002d3>:0 \n at OmniSharp.Services.DotNetCliService.GetVersion (System.String workingDirectory) [0x00011] in :0 \n at OmniSharp.DotNetTest.TestManager.Create (Microsoft.CodeAnalysis.Project project, OmniSharp.Services.IDotNetCliService dotNetCli, OmniSharp.Eventing.IEventEmitter eventEmitter, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) [0x0000c] in <4aaef988dc824a03ae865c14f4dd306d>:0 \n at OmniSharp.DotNetTest.TestManager.Start (Microsoft.CodeAnalysis.Project project, OmniSharp.Services.IDotNetCliService dotNetCli, OmniSharp.Eventing.IEventEmitter eventEmitter, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) [0x00000] in <4aaef988dc824a03ae865c14f4dd306d>:0 \n at OmniSharp.DotNetTest.Services.BaseTestService.CreateTestManager (System.String fileName) [0x00011] in <4aaef988dc824a03ae865c14f4dd306d>:0 \n at OmniSharp.DotNetTest.Services.DebugTestService.Handle (OmniSharp.DotNetTest.Models.DebugTestGetStartInfoRequest request) [0x00007] in <4aaef988dc824a03ae865c14f4dd306d>:0 \n at OmniSharp.Endpoint.Exports.RequestHandlerExportHandler2[TRequest,TResponse].Handle (TRequest request) [0x00000] in :0 \n  at OmniSharp.Endpoint.EndpointHandler2+d__18[TRequest,TResponse].MoveNext () [0x0008a] in :0 \n--- End of stack trace from previous location where exception was thrown ---\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 \n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 \n at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 \n at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in :0 \n  at OmniSharp.Endpoint.EndpointHandler2+d__16[TRequest,TResponse].MoveNext () [0x0024b] in :0 \n--- End of stack trace from previous location where exception was thrown ---\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0 \n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0 \n at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0 \n at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in :0 \n at OmniSharp.Stdio.Host+d__13.MoveNext () [0x000e7] in <5e8e2ad26ef5465098aa876c7f625e58>:0 "
It seems as though these errors will be related to the same issue.
Here is my output for dotnet --info :
.NET Core SDK (reflecting any global.json): Version: 2.1.500 Commit: b68b931422
Runtime Environment: OS Name: Mac OS X OS Version: 10.13 OS Platform: Darwin RID: osx.10.13-x64 Base Path: /usr/local/share/dotnet/sdk/2.1.500/
Host (useful for support): Version: 2.1.6 Commit: 3f4f8eebd8
.NET Core SDKs installed: 2.1.500 [/usr/local/share/dotnet/sdk]
.NET Core runtimes installed: Microsoft.AspNetCore.All 2.1.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.1.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.1.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download
Things I have tried:
closing and reopening vs code

creating a new C# project
Uninstalling and reinstalling vs code, dotnet runtimes and the SDK
Has anyone experienced this issue? If so please let me know how you resolved it?

I did create a bug report in the Omnisharp repo, it still has not been looked at. Someone seemed to think it is something do to with my PATH configuration.

@haridasnykiel can you please file this against https://github.com/OmniSharp/omnisharp-vscode/ This error message come from the OmniSharp extension. Thanks.


[SUPPORT] Optimize snapshot management, such as specifying snapshot names, support Branch, tag

The discussion of iceberg ：
https://docs.google.com/document/d/1PvxK_0ebEoX3s7nS6-LOJJZdBYr_olTWH9oepNUfJ-A/edit#

@melin Thanks for the feature request.  Feel free to create a Jira ticket here to track this.

I have created a tracking jira here. https://issues.apache.org/jira/browse/HUDI-4092
Feel free to add more info.
thanks for the request


Can I use next secnario?

We are distributors CSP tier2 and Cloud Service Provider business.
We are trying to install AzureStack an identity provider with ADFS.
Connected Scenarios -> ADFS ID Provider -> Consumption based billing
In this case, I wonder how multi tenant can be activated and charged.

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

ID: 96564b09-5095-0b3e-e1ba-24c0e1ffc295
Version Independent ID: 1539d943-6bee-60f2-5e44-20372b42d43e
Content: Azure Stack integrated systems connection models
Content Source: articles/azure-stack/azure-stack-connection-models.md
Service: azure-stack
GitHub Login: @jeffgilb
Microsoft Alias: jeffgilb

@niceysj Please take a look at this document. It talks about how to enable multi-tenancy in azure stack.

@niceysj We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


fix: dfget daemon console log invalid

Signed-off-by: Jim Ma<EMAIL_ADDRESS>
Description

Related Issue

Motivation and Context

Screenshots (if appropriate)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.

Codecov Report

Merging #1275 (0d36a87) into main (0ca681c) will increase coverage by 0.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1275      +/-   ##
==========================================
+ Coverage   45.90%   46.02%   +0.12%
==========================================
  Files         135      135
  Lines       11341    11347       +6
==========================================
+ Hits         5206     5223      +17
+ Misses       5569     5554      -15
- Partials      566      570       +4

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
46.02% <ø> (+0.12%)
:arrow_up:

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

Impacted Files
Coverage Δ

cdn/supervisor/progress/progress.go
90.62% <0.00%> (-6.25%)
:arrow_down:

scheduler/config/config.go
47.41% <0.00%> (-2.59%)
:arrow_down:

...ent/daemon/peer/peertask_piecetask_synchronizer.go
43.81% <0.00%> (-2.58%)
:arrow_down:

scheduler/service/service.go
86.87% <0.00%> (+0.65%)
:arrow_up:

client/daemon/peer/peertask_piecetask_poller.go
47.10% <0.00%> (+16.66%)
:arrow_up:


DIVE importMedia structure[FEATURE]

@subdavis  - for discussion.
Discussion about the structure of the importMedia function currently located in ./backend/native.
There are slight differences to how ffprobe and ffmpeg are called between the different platform Operating Systems so we need to account for this.
Things that the importMedia function needs to handle based on platform:

Test video files with ffprobe to determine if they need conversion
Convert video files if required using ffmpeg
Convert image files if required

Problem:
Right now the importMedia function is in common.ts and the platforms for linux/windows both reference common.ts creating  circular dependency if we try to place plaform functions for ffprobe and ffmpeg conversions in there.  So this is mostly an organizational issue.
Options:

We break out the importMedia into a higher level which imports the functions from common/linux/windows and utilizes them to perform the import/ffprobe/transcode process and kick off jobs as needed.
Pass in an object to the importMedia call with the relevant functions to call for the ffprobe/transcode processes.
We make it more like the web version were we have an additional endpoint called postprocess which is done after the initial JSON meta creation where it then views the files and modifies them as needed.  It could be done in Recents.vue right after importMedia is returned. (not my favorite because it requires modification of metaJSON after it is returned once).

We break out the importMedia into a higher level which imports the functions from common/linux/windows and utilizes them to perform the import/ffprobe/transcode process and kick off jobs as needed.

I would prefer to isolate the platform branching logic so if (platform === 'windows') isn't something that can just happen anywhere.  Excluding this to backend/native/ipcService.ts would be ideal.  I'd suggest moving importMedia from HTTP to IPC for this reason.

Pass in an object to the importMedia call with the relevant functions to call for the ffprobe/transcode processes.

For a pseudocode example, I think this works nicely.
ipcMain.handle('import-media', async (_, path: string) => {
  const ret = await common.importMedia(path, {
    ffprobeMethod: currentPlatform.ffprobeMethod,
    ffmpegMethod: currentPlatorm.ffmpegMethod,
  });
  return ret;
});

> We make it more like the web version were we have an additional endpoint called postprocess which is done after the initial JSON meta creation where it then views the files and modifies them as needed.

I'd rather not do this.

We break out the importMedia into a higher level which imports the functions from common/linux/windows and utilizes them to perform the import/ffprobe/transcode process and kick off jobs as needed.

I would prefer to isolate the platform branching logic so if (platform === 'windows') isn't something that can just happen anywhere.  Excluding this to backend/native/ipcService.ts would be ideal.  I'd suggest moving importMedia from HTTP to IPC for this reason.

Pass in an object to the importMedia call with the relevant functions to call for the ffprobe/transcode processes.

For a pseudocode example, I think this works nicely.
ipcMain.handle('import-media', async (_, path: string) => {
  const ret = await common.importMedia(path, {
    ffprobeMethod: currentPlatform.ffprobeMethod,
    ffmpegMethod: currentPlatorm.ffmpegMethod,
  });
  return ret;
});

> We make it more like the web version were we have an additional endpoint called postprocess which is done after the initial JSON meta creation where it then views the files and modifies them as needed.

I'd rather not do this.

I don't know why that didn't enter my head as an option.  I wanted to reuse the nice platform stuff we had in ipcService, I just didn't think of moving importMedia into the ipcService.  I like this method as well, thanks.

I don't know why that didn't enter my head as an option.  I wanted to reuse the nice platform stuff we had in ipcService, I just didn't think of moving importMedia into the ipcService.  I like this method as well, thanks.

closing, it has been implemented


Add a wait function to the phaster demo notebook

Phaster, an outside program that we're using to find prophages in genomes, is occasionally giving a weird error where the API request requests.get(apiurl) returns <Response [520]>, then a few seconds to minutes later it returns <Response [200]>, the normal and correct response. This is probably an issue with Phaster and not us, but to get around it we could add a function that waits and tries again every few seconds until an intolerably long time has passed (maybe 20 seconds?).
This function would go in the following code block:
except ValueError:  # includes simplejson.decoder.JSONDecodeError
    # wait a delay and try again
    result = wait_for_phaster(max_wait)  # THIS IS THE NEW FUNCTION
    # if end result is success, keep going. Otherwise, print an error message
        print("Error acquiring results for accession %s" %acc)

An exponentially distributed set of wait times would be great, something like [1,2,4,7,20] (or just use an actual exponential distribution).

hi @mbonsma , I see you use 'time.sleep(2)' in the third code cell at here:  phageParser/demos/Phaster.ipynb  Is this demo Juypter notebook the place you want to have "exponentially auto retry"?

@yuzhoux, yes, exactly! The next block also does the same thing and it should be used there too.


Am I an affiliate for using this?

I have read the CLA and while I am not a lawyer, the main doubt I had was this:

"Thank you for your interest in contributing to open source software projects (“Projects”) made available by SAP SE or its affiliates (“SAP”)"

Am I supposed to copy that file in a new gist and change that for my company? Or am I supposed to keep it as-is? In the last case I'd need to be an affiliate of SAP SE, am I an affiliate of SAP SE for using this project?

You would either create your own or copy and paste and remove SAP with s.th. else. For more context, see https://opensource.guide/legal/


random generator at users' option

trait SerdeEncrypt {
    type Rng: SecureRng;

    fn rng(&self) -> &mut Self::Rng { ... }
}

?

I feel not necessary for now


"Upgrade" in Home Assistant kills Alexa Home

Reference: https://github.com/hassio-addons/addon-node-red/releases
The upgrade to Version 12.0.2 in Home Assistant deleted Alexa Home nodes.  Are you aware of this?

Have you read the release notes, it explicitly says the nodes have been removed. Not sure what you expect me to do about this?

I had auto-update turned on and didn't even know there was an update until after everything stopped working.

But that's between you and HomeAssistant, not this skill.
Auto enabling updates that have major version number changes is always going to break things.


[Bug]: Problem with hop-web build from source

Apache Hop version?
2.11.0
Java version?
openjdk version "17.0.13" 2024-10-15 LTS
Operating system
Linux
What happened?
After build of source distribution, the instructions at https://hop.apache.org/dev-manual/latest/hopweb/index.html say
"unzip assemblies/plugins/dist/target/hop-assemblies-*.zip -d $CATALINA_HOME/"
However the path 'assemblies/plugins/dist' does not exist. Only 'assemblies/plugins/target' path exists
Also, the instructions to fix script classpaths assume the scripts exist in ${CATALINA_HOME}/webapps/ROOT, however at no point is there any mention of how they got there.
Issue Priority
Priority: 3
Issue Component
Component: Hop Web

[apache@apchop01 hop]$ mvn -version
Apache Maven 3.6.3 (Red Hat 3.6.3-15)
Maven home: /usr/share/maven
Java version: 17.0.13, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-17-openjdk-<IP_ADDRESS>.11-4.0.1.el9.x86_64
Default locale: en_AU, platform encoding: UTF-8
OS name: "linux", version: "5.15.0-3<IP_ADDRESS>.el9uek.x86_64", arch: "amd64", family: "unix"

build.log

.take-issue


Can't read characteristic values

I'm having an issue and i don't know how to solve it. I'm discovering, filtering and connecting successfully to my devices, but when I try to get the data, the android logcat don't debug any information. I'm using the same code of the sample but changing the Uuid. I made a test for that characteristic with nrf connect and got what you can see in the second image. Any hint on how to solve this? Is it because of disabled notifications? If so, do you know how can i enable it?

Hi @JaviNunsys , we've got a known bug at the moment, can you try using lowercase server and characteristic UUID and see if that works. I'm writing a pull request but I don't have write access to the repo so have to wait for Velorexe to approve.

Did that fix it @JaviNunsys? I'll repopen if you are still having issues.

Hi! I forgot to post the solution. The problem was the execution order. I wasn't waiting enough for the sensor to be ready before trying to subscribe the characteristic


Add link to instalation guide on ok1kvk.cz

Thanks a lot! I didn't merge this because it has typo and added within new commit.


Fix the verify signature to not mutate the object

#58  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @zhenlu and the rest of your teammates on  Graphite


Adding Ord to non-builtin floats

Since the magic works on anything laid out like an IEEE float, it might be a good idea to add some way to apply the macro to crate floats like these in half-rs (f16, bf16) and f128. I am not sure what the best way to do it is -- can we just export the whole macro?

That would be possible, yes.

I mean, the big downside of trying to do that is it'll make the crate a lot more complicated. Right now, FloatOrd isn't even a trait, but it would kinda have to be for this to work. It would also benefit from Safe Transmute, which doesn't exist yet.


Incorrect operator property for visual script nodes.

Godot version
4.0 Dev (92f75046378a63b46946e8acbd7c224f027ebfa5)
System information
Windows 10, OpenGL ES 3.0 Renderer: AMD Radeon(TM) Vega 10 Graphics
Issue description
Name of the operator property in the inspector does not match with the type of Visual Script node. This is happening for bitwise and logical operator nodes.
The issue is not observed in 3.3.x stable builds. I believe this is side effect of new implementation of variant operators added in https://github.com/godotengine/godot/pull/43323.
Please check the screenshot animation below for exact issue.

I have made required changes to fix this issue, will submit the PR as well for review.
Steps to reproduce

Add visual script to any node
Inside visual script editor add a node "Bitwise Shift Left".
Observe that operator property in inspector shows "concatenate"
Add another node "Logical AND", observe the operator property in the inspector shows "Bit Negate"

Minimal reproduction project
I will submit if can't be re-produced with steps given.

Note: related PR merged recently #49831 (fixes a similar issue but for captions).


luci-app-firewall: update Japanese translation

Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi<EMAIL_ADDRESS>

Thanks merged


[Feedback] and Question

Thank you very much for making this!!
It's very friendly and clean UI! 😀
Thank you!
And also I have one question,
What am I not allowed to edit?

And also how to edit the logo or the title like  I want to change UIISC to my branding,
Please do answer!

@arcenas090 you can edit the title in file core.php

Thanks for replying to arcenas, you also solved my question. Nice theme :smile:


Added landing page

#206 issue resolved
I have created this design and animation

after this animation, this automatically redirects to the index page from where the user can continue using the website
Please review it and update me If required any more updates or changes
If possible please consider it under hard tag : )

Hello @narayan954
Please help me how to deal with these issues

Hello @narayan954 Please help me how to deal with these issues

what issue?

Hi @AK-shat-JAIN , instead of a separate html file, can you create this animation as a component, that renders for some seconds and then the main app loads. It can be added in between the index.js and app.js. As this is a single page react application, so a separate page doesn't make much sense and components are preferred more.

Also, please remove that white border.

Hlo @narayan954 Sr
I have very less experience with React components
That's why I have created This as a separate HTML file
The white border I added as It looks nice, now as you said I will remove it and push changes

https://user-images.githubusercontent.com/84455686/221418899-01887d69-5b55-4851-80e5-6c34ca808eaa.mp4
That's how it looks...

https://user-images.githubusercontent.com/84455686/221418899-01887d69-5b55-4851-80e5-6c34ca808eaa.mp4
That's how it looks...

that's not how react applications are deployed, it'll need to be explicitly configured to be deployed like this. Instead a component is preferable which shall be taken care of by react in production as well.

I can take care of the component aspect ,but you should know as well as components are the basics of react.

I can take care of the component aspect ,but you should know as well as components are the basics of react. Also, I'll have to increase the difficulty to medium if I do that part.

ok Sr,
I am sorry if any trouble cause due to me

ok Sr, I am sorry if any trouble cause due to me

it's okay, you can push the change(remove white border) so I can do my part

Ok sr I do that within an hour

done sr

Hello Sr @narayan954 is there any more change I can do?

I'll look into it and confirm

ok @narayan954

Hi @AK-shat-JAIN , I made the animation as a component, now can you fix the css styles for it to be compatible with our page. Else, I think we might have to use iframe instead to load the animation properly

Hii @narayan954 ,
I will surely try for the same and update you 👍

Hey @narayan954
Please have a look I have linked that with an already created landing.css file

@narayan954 Sr
Please update about it

@narayan954 Sr Please update about it

Hi, I have my college exams going on that's why I'm less available for one more day. Sorry for the inconvenience, but can you check if the animation intended is working correctly or not on your side as well. It's not working as intended for the changes you've provided. I believe some of the css properties are being overwritten and they need to be configured somehow to make the animation as it was intended to. Index.css styles are overwriting the styles, so you can write the necessary css in index.css only. Landing.css doesn't have much priority so it's better to be left that way I changed it.
As a final resort we might've to go with the current animation, but that's not what we intend to do, right?

@narayan954 I tried out to delete copy of CSS from index.css which is already present in landing.css

@narayan954 I tried out to delete copy of CSS from index.css which is already present in landing.css

but that doesn't solves the issue, that's just extra and not what I meant.

@narayan954 I tried out to delete copy of CSS from index.css which is already present in landing.css

but that doesn't solves the issue, that's just extra and not what I meant.

@narayan954 then how to do that
Sry Buddy, I am not getting it 😥

@narayan954 I tried out to delete copy of CSS from index.css which is already present in landing.css

but that doesn't solves the issue, that's just extra and not what I meant.

@narayan954 then how to do that Sry Buddy, I am not getting it disappointed_relieved

try an image instead of svg

I can try to do it with image

Hey @narayan954
replaced svg with its image

Hey @narayan954 replaced svg with its image

HI there, svg was better than this image but that's ok... and I'll fix it to my requirements now :)

thanks for your contribution! :)

Thanks Sr greatfull of this


Refactor to enable more than one way of creating tiles from points.

This is for creating colored xrays in a followup PR.

Merge requested by authorized user SirVer. Merge queue now has a length of 1.


Editor cookie

useEditorInFrontend cookie (some users can set this in the frontend) and should allow users to use the editor in the frontend in production (and staging as well).
(based on #249)

Fixed by https://github.com/serlo/serlo.org-cloudflare-worker/pull/251


tailscale: 1.48.2 -> 1.50.0

Signed-off-by: Muhammad Falak R Wani<EMAIL_ADDRESS>Description of changes
Diff: https://github.com/tailscale/tailscale/compare/v1.48.2...v1.50.0
Changelog: https://github.com/tailscale/tailscale/releases/tag/v1.50.0

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg eval

Result of nixpkgs-review pr 257364 run on x86_64-linux 1

2 packages built:

tailscale
trayscale


Pilet debug crashes with "RangeError: Invalid WebSocket frame: invalid status code 22373"

Bug Report
For more information, see the CONTRIBUTING guide.
Prerequisites

[-] Can you reproduce the problem in a MWE?
[x] Are you running the latest version?
[x] Did you perform a search in the issues?

Environment Details and Version
MacOS 11.3 Beta (20E5196f), Safari 14.1 (166<IP_ADDRESS>.2), piral-cli and piral-cli-webpack 0.12.4
Description
The app uses Keycloak and on first access to the pilet after authentication pilet debug crashes with the following stack trace:
events.js:292
      throw er; // Unhandled 'error' event
      ^

RangeError: Invalid WebSocket frame: invalid status code 22373
    at Receiver.controlMessage (/Users/work/IdeaProjects/wrwks/smp/smp-controlling-ui/node_modules/kras/dist/server/index.js:52619:18)
    at Receiver.getData (/Users/work/IdeaProjects/wrwks/smp/smp-controlling-ui/node_modules/kras/dist/server/index.js:52507:42)
    at Receiver.startLoop (/Users/work/IdeaProjects/wrwks/smp/smp-controlling-ui/node_modules/kras/dist/server/index.js:52311:22)
    at Receiver._write (/Users/work/IdeaProjects/wrwks/smp/smp-controlling-ui/node_modules/kras/dist/server/index.js:52247:10)
    at writeOrBuffer (internal/streams/writable.js:358:12)
    at Receiver.Writable.write (internal/streams/writable.js:303:10)
    at Socket.socketOnData (/Users/work/IdeaProjects/wrwks/smp/smp-controlling-ui/node_modules/kras/dist/server/index.js:20847:35)
    at Socket.emit (events.js:315:20)
    at addChunk (internal/streams/readable.js:309:12)
    at readableAddChunk (internal/streams/readable.js:284:9)
Emitted 'error' event on WebSocket instance at:
    at Receiver.receiverOnError (/Users/work/IdeaProjects/wrwks/smp/smp-controlling-ui/node_modules/kras/dist/server/index.js:20752:13)
    at Receiver.emit (events.js:315:20)
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at emitErrorCloseNT (internal/streams/destroy.js:74:3)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  [Symbol(status-code)]: 1002

Steps to Reproduce

Start pilet debug
Load URL
Authenticate with Keycloak
Click on link to pilet in the browser

Expected behavior
The pilet's page will be loaded.
Actual behavior
The app crashes.
Possible Origin / Solution
[Optionally, share your idea to fix the issue]

Can you provide a simple MWE? Right now there is no way we can investigate this.


Track push notification toggles

In advance of some pretty serious marketing initiatives, I thought it would be useful to track push notification option toggles from our user profile page in the app. This PR adds:

a screen/page owner type of 'profile' to get started — we'll eventually need to revisit tracking of that screen, too
push notification types
new context module for the push notifications screen within profile
a whole new toggledNotification action

Let me know if this makes sense!

:rocket: PR was released in v1.55.1 :rocket:


missing tags for v14.x

latest tag is 13.0.0, while latest released nuget package is 14.0.2
/cc @dsyme

I did the 14.0.2 release from Microsoft/visualfsharp.


Upgrade emoji-datasource data to version 14.0.0

Hey! Thanks for creating this gem.
I tried to upgrade data file by running yarn and it looks that it works (checked by looking up new melting_face emoji), but please re-check.
Can you also release a new version to RubyGems? Thanks!

@Envek Thanks for PR! Released v14.0.0 to RubyGems


tHE GEN DOES NOT WORK

THE GEN DOES NOT WORK

this repo virus they use pyarmor so that the virus codes are not visible and they make the codes not visible

We have over 150+ stars used by 1000+ users.
the gen is outdated have some issues would be fixed with new update

this repo virus they use pyarmor so that the virus codes are not visible and they make the codes not visible

Excuse lol we have over 150+ stars and 1000+ happy users who tried it. code is encrypted to save it from skids like u who copies code and upload on there repo

Code is about to be public once we update everything
Yes, I can upload it to any hacking forums. But that's my choice u r not the one judging what should I do or not


UI issues I noticed

Channel tabs on the 2012 and Early 2013 layouts are smushed together (and also the UI itself doesn't become bright when it light mode)

Icons on 2014-2017 layouts are a mix of the correct and current icons

Channel tabs on the 2012 and Early 2013 layouts are smushed together (and also the UI itself doesn't become bright when it light mode)

This is due to the minor redesign they rolled out to presumably everyone yesterday. 1.2.3 fixed most of the issues this redesign caused, but I guess some things slipped through the cracks. Will be fixed hopefully soon.

Icons on 2014-2017 layouts are a mix of the correct and current icons

That Podcasts button is relatively new so I haven't gotten around to replacing the icon, but I don't have that "Shopping" button yet, so I can't fix this right now. No clue why the Movies & TV button isn't using the correct icon on your end.

Channel tabs on the 2012 and Early 2013 layouts are smushed together (and also the UI itself doesn't become bright when it light mode)

This is due to the minor redesign they rolled out to presumably everyone yesterday. 1.2.3 fixed most of the issues this redesign caused, but I guess some things slipped through the cracks. Will be fixed hopefully soon.

Icons on 2014-2017 layouts are a mix of the correct and current icons

That Podcasts button is relatively new so I haven't gotten around to replacing the icon, but I don't have that "Shopping" button yet, so I can't fix this right now. No clue why the Movies & TV button isn't using the correct icon on your end.

I also don't have the correct Movies & TV icon

CT 1.3.0 Beta fixed the Movies & TV Icon


file is marked as an undefined variable

Python Version  3.7
LS Version <IP_ADDRESS>
Python code:
print(__file__)

Need to add default globals to global scope.


Implement Updated Header

Definition of Ready

[x] Does this meet the INVEST criteria?
[x] Does this have a clearly defined user?
[x] Does this have an estimate?
[x] Does this have acceptance criteria?
[x] Does this have sufficient context (wireframes, business rules, etc.)?
[x] Is this traceable to a feature, epic, or PI?

Acceptance Criteria
As the EPA I want the updated header to be displayed so that it is compliant with the updated template
Given a user has accessed the EASEY In functionality
When the application is displayed
Then it is displayed with the updated header
Given a user has accessed the EASEY In functionality in a lower (non-prod) environment
When the application is displayed
Then the system will indicate this is a sandbox (non-prod) environment
Given the updated header is displayed
When the menu option is chosen
Then the menu bar is displayed
And provides the option to close the menu (no links in menu )
Assumption: Search results are controlled by the EPA website and search service and are out of scope for this story
From MI, EPA search link is one line 48: https://github.com/USEPA/OneEPA-Standalone-App-Template/blob/master/index.html
Developer link for the wide template: https://xd.adobe.com/view/08505c73-3291-4c0a-819f-982951ae417f-5d03/specs/ (open the code tab "</>" to view downloadable assets, EPA Logo an EPA Seal, both available as SVG, PNG, and PDF)
Developer link for the wide template: https://xd.adobe.com/view/08505c73-3291-4c0a-819f-982951ae417f-5d03/specs/ (open the code tab "</>" to view downloadable assets, EPA Logo an EPA Seal, both available as SVG, PNG, and PDF)
Definition of Done

[x] Have all Acceptance Criteria been agreed to and validated by the scrum team?
[ ] Has the code been unit tested and peer reviewed?
[x] Have the functional tests been executed?
[x] Have all defects been reviewed and dispositioned, resolved, or deferred?
[ ] Has the user story been accepted by the Product Owner?
[x] Is the user story ready to be deployed to the staging/integration environment?

Test Case: #725 - Passed

Product Owner has approved the story – Ticket closed.


Cow: Watch joinedbyloveinmarriage.info

Cow requests the watch of the watch_keyword joinedbyloveinmarriage\.info. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

joinedbyloveinmarriage\.info has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


Make evaluation subclass for europarl2

The europarl2 dataset needs evaluation subclass(es).

Added in https://github.com/saattrupdan/ScandEval/commit/af4ad8e343684b0f71356331587d0876fe4f0760.


Monaco Editor should use the light mode in the light version of the learn app.

The theme to be used on the monaco editor should be light one on the light version of learn

https://microsoft.github.io/monaco-editor/

This issue looks easy. I'll grab this one and take it as a chance to try out this repo.


Edit functionality not working for Relationship Field (sqlmodel)

Checklist

[X] The bug is reproducible against the latest release or master.
[X] There are no similar issues or pull requests to fix it yet.

Describe the bug
When we go on the sql edit admin interface, the Relationship field are not correctly displayed. see the sample code. Only one relation is created between foos and bars. But here is what is displayed

And when we click on edit

On the detailed view everything is fine though

Steps to reproduce the bug
Sample code
from sqlmodel import Field
from sqlmodel import Relationship
from sqlmodel import SQLModel
from typing import Optional, List
from app.db import create_db_and_tables
from sqlmodel import Session
from app.db import engine
from sqladmin import ModelAdmin
from app.app import admin

class FooTable(SQLModel, table=True):
    """
    FooTable class, in one to many relationship with BarTable
    """
    __tablename__ = 'foo_table'
    id: Optional[int] = Field(default=None, primary_key=True)
    value: float
    bars: List['BarTable'] = Relationship(back_populates='foo')

class BarTable(SQLModel, table=True):
    """
    BarTable class, in many to one relationship with FooTable
    """
    __tablename__ = 'bar_table'
    id: Optional[int] = Field(default=None, primary_key=True)
    foo_id: Optional[int] = Field(default=None, foreign_key='foo_table.id')
    foo: Optional['FooTable'] = Relationship(back_populates='bars')
create_db_and_tables(BarTable)

with Session(engine) as session:
    for i in range(100):
        session.add(FooTable(value=i))
        session.add(BarTable(value=i))
    foo_100 = FooTable(value=100)
    session.add(foo_100)
    session.add(BarTable(value=i, foo=foo_100))
    session.commit()

class FooAdmin(ModelAdmin, model=FooTable):
    column_list = [FooTable.id, FooTable.value]

class BarAdmin(ModelAdmin, model=BarTable):
    column_list = [BarTable.id]

admin.add_view(FooAdmin)
admin.add_view(BarAdmin)

Expected behavior
Either the Relationship field should not be edited, or just the foreign key field should appear in the edit template.
Actual behavior
The relationship Fields cannot be edited AND the whole other table is displayed there
Debugging material
No response
Environment

Python 3.10 (python:3.10-slim base image). Latest sqladmin==0.3.0
Additional context
No response

Yep it does. Basically never show all possible other rows of another table in relationship (as the table could be 10M line long as in my case) :).

yeah, that's a very common use-case, in Django I think that's autocomplete_fields but in Flask-Admin that would be form_ajax_refs.

And when do you think it will have its equivalent in sqladmin? :)

The PR is almost ready, I just need to add the test coverage for it. I will let you know when it's merged and ideally get it tested by you before the new release :)

With pleasure!

@tepelbaum This is merged, it would be great if you can check out the main branch too.

Hi Amin! I'll do just that :)

Merged in https://github.com/aminalaee/sqladmin/pull/292 and will be available in 0.5.0.

Awesome! When is 0.5.0 planned?

Just released :)

Awesome! Thanks!!


feat: adding truncate metric control on timeseries charts

SUMMARY
Currently, there is a mechanism that metrics truncate when there is only a single metric in time-series Charts. The original PR is at here. this PR provides a new control to show the metric.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
After
https://user-images.githubusercontent.com/2016594/173509130-6e620dfc-d321-4d2b-9aad-1709db525c58.mov
TESTING INSTRUCTIONS

Create a Line chart by birht_names
Select sum_num to metrics
Select gender to dimension
Uncheck Truncate metric, the sum_num will show in the results pane and legend
Check Truncate metric, the sum_num will not show in the results pane and legend

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up


Remove SyncClusters

This seems the cause problems, see #179
I think this can savely removed. Test agree so far.

@bketelsen this is a carry over from SkyDNS1, I have no idea what SyncCluster does and how important it is...

it’s a carryover from old school etcd.  You can rip it out.

On Jun 9, 2015, at 2:15 PM, Miek Gieben<EMAIL_ADDRESS>wrote:
@bketelsen https://github.com/bketelsen this is a carry over from SkyDNS1, I have no idea what SyncCluster does and how important it is...
—
Reply to this email directly or view it on GitHub https://github.com/skynetservices/skydns/pull/190#issuecomment-110468768.

[ Quoting<EMAIL_ADDRESS>in "Re: [skydns] Remove SyncClusters (#..." ]

it’s a carryover from old school etcd.  You can rip it out.

thanks!


Add support for huggingface embedding models

Is your feature request related to a problem? Please describe.
A user currently cannot add their own embedding models.
Describe the solution you'd like
To integrate with hugging face.
Additional context

See embeddings.py in the experiment branch
This seems promising: https://docs.trychroma.com/embeddings/hugging-face

I'll be able to hack this out by this weekend, but if anyone would like to give it a shot for the experiment branch. Please ping!


2.2.0 minor release introduces breaking changes

Hi,
I am generally curious as to why 2.2.0 was released with such a breaking change to installation / usage for a minor version vs a major version? Also the release notes are not accurate as aws is not a valid extra for installation.

Thank you for pointing this out @johntmyers . Sounds like we failed to increment the version number correctly (again, argh).
@piskvorky I think the way forward is:

Release 2.2.1 with the old dependency behavior
Fix release notes (the extra name is s3, not aws. The README is correct, but release notes are wrong)
Release 3.0.0 with the new dependency behavior

WDYT?

I agree. Such major breaking changes should come in a major release. How much work is reverting for 2.2.1?
Because the other option is to scratch (delete) 2.2.0 and release 3.0.0 outright.

https://pypi.org/project/smart-open/2.2.1/


Validate Binary Search Tree under LGMSOC'21

Aim
I Would lile to work on this issue by setting the ranges for the every node in c++
Details
Validate Binary Search Tree
Medium
Given the root of a binary tree, determine if it is a valid binary search tree (BST).
A valid BST is defined as follows:
The left subtree of a node contains only nodes with keys less than the node's key.
The right subtree of a node contains only nodes with keys greater than the node's key.
Both the left and right subtrees must also be binary search trees.
Example 1:
Input: root = [2,1,3]
Output: true
Programming language

[ ] C
[x] C++
[ ] Java
[ ] Python

Please assign me this issue sir @Ayush7614 @ravikr126 @Ayush12062000


OC-544: Sets fields on response message.

SonarQube analysis reported 1 issue
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 BaseMessageProcessor.java#L82: Remove the declaration of thrown exception 'javax.jms.JMSException', as it cannot be thrown from method's body.

SonarQube analysis reported 1 issue
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 BaseMessageProcessor.java#L82: Remove the declaration of thrown exception 'javax.jms.JMSException', as it cannot be thrown from method's body.

SonarQube analysis reported 1 issue
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 BaseMessageProcessor.java#L82: Remove the declaration of thrown exception 'javax.jms.JMSException', as it cannot be thrown from method's body.


MAINT: Remove Python2 cStringStream

Continued work to remove all Python2 Code #11584
I don't have a good understanding of the lifecycle of py3k.h, please excuse me if I'm being haste.
From Numpy commits I came away with the idea that you could delete the compatibility functions once they were cleaned up entirely in the code base. If this is not true then I'm acting in haste and I can close this PR

Travis errors are the same as in some of my other recent PRs
________________________________ test_lsmr[COO] ________________________________
and
____________________ TestCurveFit.test_curvefit_covariance _____________________
both appear related to relative error being slightly higher than the threshold

yes, please ignore TestCurveFit failures, there's a separate issue open for those

Ping, this is waiting on an answer about if py3k.h code lifecycle (e.g. can be deleted).

Ping, this is waiting on an answer about if py3k.h code lifecycle (e.g. can be deleted).

Yes, py3k.h headers can all be cleaned up at this point.

Given py3k.h can be cleaned up IMO this just deletes dead code and is a safe change

LGTM, merged. Thanks @sethtroisi