T8124 camera error camera does not support record service

I have set up a conditional card based on the README and others sources I read from. I have T8400 cameras which are working fine but having issues with the T8124 (battery powered and P2P streaming).
On the card I can pretty much reliably turn P2P streaming on and off - I have also created an automation so that if it gets stuck at 'PREPARING' for more than 10 seconds the integration is reloaded to reset it. I can also take snapshots once the camera is streaming.
The only thing I can't figure out is how to get recording working.
Additional information
Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields;

Home Assistant Installation Type (OS - Supvervised - Core): Home Assistant OS 10.4
Home Assistant Core Version: core-2023.8.1
Eufy Security Add-on Version: 7.0.4
Eufy Security Integration Version: 1.6.2

Hardware Information;

Camera Model: T8124

Live Streaming Protocol (RTSP/P2P): P2P

Debug Logs from Home Assistant (https://github.com/fuatakgun/eufy_security/discussions/624) - Without this, I will automatically resolve this issue

Logger: homeassistant.components.websocket_api.http.connection
Source: components/camera/init.py:990
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 09:25:39 (5 occurrences)
Last logged: 09:53:26
[140646668983872] camera.T8124_cam does not support record service
[140646743354816] camera.T8124_cam does not support record service
[140646655199552] camera.T8124_cam does not support record service
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 226, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1974, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2011, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 870, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 942, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/camera/init.py", line 990, in async_handle_record_service
raise HomeAssistantError(f"{camera.entity_id} does not support record service")
homeassistant.exceptions.HomeAssistantError: camera.T8124_cam does not support record service

Output from the debug log when I press record on the card - I was sure record worked previously:
2023-08-22 17:16:55.520 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140462457274048] {'type': 'result', 'success': False, 'messageId': 'device.stop_livestream.ab8af', 'errorCode': 'device_livestream_not_running'}
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 226, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1974, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2011, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 828, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 870, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 942, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/eufy_security/camera.py", line 155, in _start_livestream
await self._stop_livestream()
File "/config/custom_components/eufy_security/camera.py", line 162, in _stop_livestream
await self.product.stop_livestream()
File "/config/custom_components/eufy_security/eufy_security_api/camera.py", line 159, in stop_livestream
await self.api.stop_livestream(self.product_type, self.serial_no)
File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 218, in stop_livestream
await self._send_message_get_response(OutgoingMessage(OutgoingMessageType.stop_livestream, serial_no=serial_no))
File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 319, in _send_message_get_response
return await future
^^^^^^^^^^^^
custom_components.eufy_security.eufy_security_api.exceptions.FailedCommandException: {'type': 'result', 'success': False, 'messageId': 'device.stop_livestream.ab8af', 'errorCode': 'device_livestream_not_running'}
2023-08-22 17:17:17.926 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140462457274048] Connection to add-on was broken. please reload the integration!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 226, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1974, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2011, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 828, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 870, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 942, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/eufy_security/camera.py", line 155, in _start_livestream
await self._stop_livestream()
File "/config/custom_components/eufy_security/camera.py", line 162, in _stop_livestream
await self.product.stop_livestream()
File "/config/custom_components/eufy_security/eufy_security_api/camera.py", line 159, in stop_livestream
await self.api.stop_livestream(self.product_type, self.serial_no)
File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 218, in stop_livestream
await self._send_message_get_response(OutgoingMessage(OutgoingMessageType.stop_livestream, serial_no=serial_no))
File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 317, in _send_message_get_response
await self.send_message(message.content)
File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 326, in send_message
await self._client.send_message(json.dumps(message))
File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 85, in send_message
raise WebSocketConnectionException("Connection to add-on was broken. please reload the integration!")
custom_components.eufy_security.eufy_security_api.exceptions.WebSocketConnectionException: Connection to add-on was broken. please reload the integration!
2023-08-22 17:17:22.500 INFO (MainThread) [aiortsp.rtsp.reader] try loading stream rtspt://<IP_ADDRESS>:8559/T8124P2022270E85
2023-08-22 17:17:22.500 INFO (MainThread) [aiortsp.rtsp.reader] connected!
2023-08-22 17:17:22.500 INFO (MainThread) [aiortsp.rtsp.reader] receiving interleaved RTP (0) and RTCP (1)
2023-08-22 17:17:22.503 INFO (MainThread) [aiortsp.rtsp.reader] session options: {'SETUP', 'TEARDOWN', 'GET_PARAMETER', 'RECORD', 'PAUSE', 'ANNOUNCE', 'DESCRIBE', 'PLAY'}
2023-08-22 17:17:23.050 INFO (MainThread) [aiortsp.rtsp.reader] using base url: rtsp://<IP_ADDRESS>:8559/T8124P2022270E85/
2023-08-22 17:17:23.053 INFO (MainThread) [aiortsp.rtsp.reader] setting up using URL: rtsp://<IP_ADDRESS>:8559/T8124P2022270E85/trackID=0
2023-08-22 17:17:23.054 INFO (MainThread) [aiortsp.rtsp.reader] stream correctly setup: <Response status=200 msg="OK"" headers={'cseq': '3', 'server': 'gortsplib', 'session': '1928670157', 'transport': 'RTP/AVP/TCP;unicast;interleaved=0-1'} content-length=0>
2023-08-22 17:17:23.055 INFO (MainThread) [aiortsp.rtsp.reader] session id:<PHONE_NUMBER>, timeout: 60, keep_alive: 54
2023-08-22 17:17:23.056 INFO (MainThread) [aiortsp.rtsp.reader] playing stream...
2023-08-22 17:17:23.056 INFO (MainThread) [aiortsp.rtsp.reader] start playing rtsp://<IP_ADDRESS>:8559/T8124P2022270E85/ at time now and speed 1...
2023-08-22 17:17:23.102 INFO (MainThread) [aiortsp.rtsp.reader] stopping stream...
2023-08-22 17:17:23.102 INFO (MainThread) [aiortsp.rtsp.reader] stopping session/playback...
2023-08-22 17:17:23.111 INFO (MainThread) [aiortsp.rtsp.reader] connection closed, error:
2023-08-22 17:17:23.112 INFO (MainThread) [aiortsp.rtsp.reader] connection to RTSP server <IP_ADDRESS>:8559 closed (error: None)
2023-08-22 17:17:33.290 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140462457274048] camera.T8124_cam does not support record service
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 226, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1974, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2011, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 870, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 942, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/camera/init.py", line 990, in async_handle_record_service
raise HomeAssistantError(f"{camera.entity_id} does not support record service")
homeassistant.exceptions.HomeAssistantError: camera.T8124_cam does not support record service
2023-08-22 17:17:35.030 DEBUG (Thread-68 (setup)) [custom_components.eufy_security.eufy_security_api] p2p 5 - q size: 7 - empty 0
2023-08-22 17:17:35.531 DEBUG (Thread-68 (setup)) [custom_components.eufy_security.eufy_security_api] p2p 5 - q size: 8 - empty 0
2023-08-22 17:17:41.039 DEBUG (Thread-68 (setup)) [custom_components.eufy_security.eufy_security_api] p2p 5 - q size: 8 - empty 0
2023-08-22 17:17:41.473 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140462457274048] camera.T8124_cam does not support record service
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 226, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1974, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2011, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 870, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 942, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/camera/init.py", line 990, in async_handle_record_service
raise HomeAssistantError(f"{camera.entity_id} does not support record service")
homeassistant.exceptions.HomeAssistantError: camera.T8124_cam does not support record service
2023-08-22 17:17:41.540 DEBUG (Thread-68 (setup)) [custom_components.eufy_security.eufy_security_api] p2p 5 - q size: 7 - empty 0
2023-08-22 17:17:42.041 DEBUG (Thread-68 (setup)) [custom_components.eufy_security.eufy_security_api] p2p 5 - q size: 8 - empty 0
2023-08-22 17:17:42.541 DEBUG (Thread-68 (setup)) [custom_components.eufy_security.eufy_security_api] p2p 5 - q size: 7 - empty 0
2023-08-22 17:17:43.042 DEBUG (Thread-68 (setup)) [custom_components.eufy_security.eufy_security_api] p2p 5 - q size: 7 - empty 0

This is all happening because I am too lazy to merge this into home assistant core. As they are making changes on code architecture of home assistant, I am missing to catch up with their latest changes. I will take a look at it.

By the way, the expected flow is;

keep home assistant based streaming enabled on the configuration (DO NOT CHECK this: Do not use STREAM module inside Home Assistant (if you do not watch the video inside Home Assistant native streaming or you are using WebRTC, enable this to decrease CPU usage)
start live stream and wait for couple of seconds to be sure that it is ready
try record service.

I had checked the box in the configuration:

keep home assistant based streaming enabled on the configuration (DO NOT CHECK this: Do not use STREAM module inside Home Assistant (if you do not watch the video inside Home Assistant native streaming or you are using WebRTC, enable this to decrease CPU usage)

I have now unchecked it, reloaded the integration and all works as it should. Thanks for the pointer.


请问下作者，frank是否可以查询隐藏战绩呢？如果可以的话，是否违反拳头的api使用公约呢

拳头api文档描述的是：
Products cannot identify or analyze players who are deliberately hidden by the game.
在游戏里设定隐藏战绩的玩家，是否算是deliberately hidden by the game？

frank之前是可以查询查询战绩的，包括隐藏战绩的召唤师，后面被官方警告了，就下架了查询战绩的功能
Sent from my iPhone

On May 31, 2023, at 14:15, faker @.***> wrote:
deliberately

腾讯Sent from my iPhoneOn May 31, 2023, at 15:00, faker @.***> wrote:
@Java-S12138 官方是指拳头还是腾讯或者wegame？
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

好的 谢谢啦


Detected human–object interactions on video

Hi! How could I detect human–object interactions on video like your demo on data in the wild?
Thank you!

Hi @rouge012,
I didn't put together a script that generates the .gif demo directly. To get something similar to that, you could just extract the frames from your videos and run inference on each one of them. The inference.py script would be a good starting point. It should be fairly easy to modify. After you get the visualistaions for each frame, there are softwares that can stitch them into a .gif file.
Hope that answers your question.
Fred.


Correct link syntax in README.md

The types of parentheses seem to have been used in reverse.

Thanks!


[WIP][18.09 backport] sync with master

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "18.09_update_to_master" git@github.com:thaJeztah/libnetwork.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842354508032
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

@thaJeztah Could you please rebase this?

closing this, as 18.09 is EOL


Support TypeVar

Boo! :( I was excited to use pylyzer but this missing feature is a dealbreaker for me.
Here's sample code to reproduce the issue:
from typing import TypeVar

class Vegetable:
    pass

class Potato(Vegetable):
    pass

class Carrot(Vegetable):
    pass

T = TypeVar('T', Potato, Carrot)

def get_vegetable() -> T:
    # Return an instance of either Potato or Carrot
    return Potato()

pylyzer output without any special arguments:
Found 3 errors: blabla.py
Error[#0591]: File ./fp_link_backend/sql_app/blabla.py, line 12, <module>.T

12 | T = TypeVar('T', Potato, Carrot)
   :     -------
   :           |- expected: Subroutine
   :           `- but found: {typing.TypeVar}

TypeError: the type of TypeVar is mismatched

Error[#0596]: File ./fp_link_backend/sql_app/blabla.py, line 14, <module>

14 | def get_vegetable() -> T:
   :                        -

NameError: Type T is not defined

Error[#0596]: File ./fp_link_backend/sql_app/blabla.py, line 14, <module>.get_vegetable

14 | def get_vegetable() -> T:
   :                        -
   :                        `- exists a similar name type: T

NameError: Type T is not defined

implemented in v0.0.60 (ce122851437e5cd44fde78f8e27abfaabc4a91d9).


init containers always shown

Hi there,
Report
I installed version 0.2.9 of kubectl ice and the help page says that init containers are omitted in cpu and memory outputs.
But regardless of whether I set the -i, --include-init flag or not, init containers are always shown in my output.
Expected Behavior
Omit init containers in cpu and memory output by default.
See: -i, --include-init                   include init container(s) in the output, by default init containers are hidden
Actual Behavior
I get init containers in my output every time, regardless of the flag.
Description of my pod:
Init Containers:
  certs:
    Container ID:  <redacted>
    Image:         <redacted>
    Image ID:      <redacted>
    Port:          <none>
    Host Port:     <none>
    Command:
      /bin/sh
      -c
      cp -r /etc/ssl/certs /transfer

    State:          Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      Wed, 14 Sep 2022 20:28:19 +0200
      Finished:     Wed, 14 Sep 2022 20:28:19 +0200
    Ready:          True
    Restart Count:  0
    Limits:
      cpu:     100m
      memory:  256Mi
    Requests:
      cpu:        100m
      memory:     128Mi
    Environment:  <none>
    Mounts:
      /transfer from transfer (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-abcde (ro)
Containers:
  application:
    Container ID:   <redacted>
    Image:          <redacted>
    Image ID:       <redacted>
    Port:           80/TCP
    Host Port:      0/TCP
    State:          Running

kubectl ice cpu output:
❯ kubectl ice cpu application-p-0
CONTAINER        USED  REQUEST  LIMIT  %REQ  %LIMIT
certs            0m    100m     100m   -     -
application      7m    200m     500m   3.36  1.34

kubectl ice version
❯ kubectl-ice -v
kubectl-ice version 0.2.9

Kubernetes Version
1.22.13

Thanks for pointing this out I somehow missed that. A new release is rolling out v0.2.10 that correctly hides the init containers for cpu and memory views

Thanks for pointing this out I somehow missed that. A new release is rolling out v0.2.10 that correctly hides the init containers for cpu and memory views

Thanks for your fast answer. I upgraded to v0.2.10 and can confirm, that everything works as expected.


[master] Update GitHub Actions

Copied from https://github.com/knative-sandbox/.github/tree/master/workflow-templates.
/assign n3wscott vaikas
/cc n3wscott vaikas

/hold
@n3wscott was there a particular reason why the names were not matched? I can:

Remove the existing ones
merge this one in

I would prefer for them to be consistently synced, unless there's a reason, hence checking.

Old actions removed in #30
/unhold

/lgtm
/approve


Compiling optionally creates a video compliation of the quotes from the movie

Not quite sure how to do it, but it'd be really fun to have a video (or maybe the metadata to build a video) that would combine clips that contain the quotes into a playable video in the order the program is execute or just parsed.

If anyone wants to work on this, I put a little starter code in #43.
It looks like ffpmeg should do the trick nicely. Here's some documentation:
https://trac.ffmpeg.org/wiki/Concatenate
So then you'd have to gather all the relevant video clips and put them into a folder accessible to the console app. Hardcode their relative paths in order, then in the relevant if clause, create a list of the clips in order. Execute the concatenation command line they provided (programmatically, ideally) to create the results, passing it the output file path.


Custom models cannot be created on D: drive

Could not create a custom model on D: drive. Model could be created on C: drive

Ok, good to know. I'll add it to the documentation.


tensorflow_self_check.py needs updates for CUD 9.0 to look for cudnn64_7.dll

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Win 7
TensorFlow installed from (source or binary): pip.exe install --upgrade tensorflow-gpu
TensorFlow version (use command below):  b'unknown' '1.5.0'
Python version: 3.6.4
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: 9.0
GPU model and memory: NVIDIA GeForce GTX 660
Exact command to reproduce:tensorflow_self_check.py

Describe the problem
The current tensorflow_self_check.py script needs updates for CUDA 9.0 for use with tensorflow 1.5.0.
I followed the script error messages and suggestions and removed CUDA 9.0 and installed the older CUDA 8.0 and the requisite cudnn64_6.dll. The script told me that I had all the required .dll, but tensorflow was still not working and to go file a bug report.
When I manually did "import tensorflow" and followed the detailed error messages, I realized that tensorflow 1.5.0 really does support CUDA 9.0 and really does want cudnn64_7.dll, see below.
ImportError: Could not find 'cudnn64_7.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Note that installing cuDNN is a separate step from installing CUDA, and this DLL is often found in a different directory from the CUDA DLLs. You may install the necessary DLL by downloading cuDNN 7 from this URL: https://developer.nvidia.com/cudnn
With CUD 9.0 and cudnn64_7.dll installed, tensorflow 1.5.0 is working, GPU is enabled. The tensorflow_self_check.py needs an update to look for cudnn64_7.dll. Maybe also get rid of code that looks for older dll versions?
Source code / logs
N/A

Did you refer to https://gist.github.com/mrry/ee5dbcfdd045fa48a27d56664411d41c#file-tensorflow_self_check-py-L2
Maybe post an issue there?

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?

Comment from mrry on Mar 5:  Just a note to anybody who is still using this script: since TF 1.4, the checks have been integrated into TensorFlow when you import tensorflow, and this script is no longer maintained. In particular, TF 1.5 and 1.6 require a newer version of CUDA (9.0) and cuDNN (7.0), and you may need to upgrade your CUDA/cuDNN installation to get these.
So that clarifies the script is now longer supported.
It appears that the references to this script have been removed from the install pages, so there are no loose ends.
Closing bug report


Add functional test for datasources at observability dashboards plugin

Description
Add functional test for datasources at observability dashboards plugin
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

facing error for OS run up step in observability e2e workflow (https://github.com/opensearch-project/opensearch-dashboards-functional-test/actions/runs/7402681376/job/20141042426?pr=987#step:6:13289):
Error: 1-03T21:40:09,706][ERROR][o.o.b.OpenSearchUncaughtExceptionHandler] [fv-az1016-625] uncaught exception in thread [main]
org.opensearch.bootstrap.StartupException: java.lang.IllegalStateException: failed to load plugin class [org.opensearch.security.OpenSearchSecurityPlugin]
	at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:184) ~[opensearch-3.0.0.jar:3.0.0]
	at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:171) ~[opensearch-3.0.0.jar:3.0.0]
	at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:104) ~[opensearch-3.0.0.jar:3.0.0]
	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138) ~[opensearch-cli-3.0.0.jar:3.0.0]
	at org.opensearch.cli.Command.main(Command.java:101) ~[opensearch-cli-3.0.0.jar:3.0.0]
	at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:137) ~[opensearch-3.0.0.jar:3.0.0]
	at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:103) ~[opensearch-3.0.0.jar:3.0.0]
Caused by: java.lang.IllegalStateException: failed to load plugin class [org.opensearch.security.OpenSearchSecurityPlugin]
	at org.opensearch.plugins.PluginsService.loadPlugin(PluginsService.java:791) ~[opensearch-3.0.0.jar:3.0.0]
	at org.opensearch.plugins.PluginsService.loadBundle(PluginsService.java:731) ~[opensearch-3.0.0.jar:3.0.0]
	at org.opensearch.plugins.PluginsService.loadBundles(PluginsService.java:533) ~[opensearch-3.0.0.jar:3.0.0]
	at org.opensearch.plugins.PluginsService.<init>(PluginsService.java:195) ~[opensearch-3.0.0.jar:3.0.0]
	at org.opensearch.node.Node.<init>(Node.java:484) ~[opensearch-3.0.0.jar:3.0.0]
	at org.opensearch.node.Node.<init>(Node.java:411) ~[opensearch-3.0.0.jar:3.0.0]
	at org.opensearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:242) ~[opensearch-3.0.0.jar:3.0.0]
	at org.opensearch.bootstrap.Bootstrap.setup(Bootstrap.java:242) ~[opensearch-3.0.0.jar:3.0.0]
	at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:404) ~[opensearch-3.0.0.jar:3.0.0]
	at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:180) ~[opensearch-3.0.0.jar:3.0.0]
	... 6 more

Will be unblocked when #981 is merged

The observability workflow is stucking there for 4+ hrs (See log: https://github.com/opensearch-project/opensearch-dashboards-functional-test/actions/runs/7506009472/job/20436491850?pr=987).
According to the above, I have run my code change on my local and here are the results:
Headless run in terminal:

Recorded video in browser:
https://github.com/opensearch-project/opensearch-dashboards-functional-test/assets/109499885/b8f33de1-0218-4366-9c11-d15012cc8d13
(cc. @Hailong-am , @ruanyl , @wanglam )

stucking there for 4+ hrs
@RyanL1997 , I am sorry to say that Cypress(9.6.0) with latest Chrome/Chromium browser is using up the memory in github CI and thus hang the test case.

For now we recommend you post the test result in your local env as a workaround.


Update MD file on new branch 2017-17-19_15-11-14

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Search Element in sorted and rotated array

Add comment to get assigned to your desired language.
Follow Submission directory Structure for PR merge.
Submission Title
Sorted and Rotated Array Search
Submission Type
Data Structure
Submission Description
Write a program to search an array of size n where the array is sorted and rotated by k.
Submission Directory
Data_Structures => Array => Rotated_Array_Search.extension
Language

[ ]  C++
[x]  C
[ ]  Python
[ ] Java
[ ] C#
[ ] JavaScript

Hi @krishrahul98, I would like to code this in C

Hi @krishrahul98, I would like to code this in C

Sure

I want to implement this in python

I want to implement this in python

Assigned for Python

Hey! I would like to take this up in Java.
Thank you

Hey! I would like to take this up in Java.
Thank you

Assigned for Java

Hi, I would like to code this in C++

Hi, I would like to code this in C++

@Aaditree Assigned for C++

Hi, I would like to code this in C++

@Aaditree Assigned for C++

Done and pulled the request.

Hi, I would like to code this in C++

@Aaditree Assigned for C++

Done and pulled the request.

Yes I have merged your PR.

Hi, @krishrahul98, please assign C# to me.

Hi, @krishrahul98, please assign C# to me.

@asamant Assigned for C#

Hi , please assign me for JavaScript

Hi , please assign me for JavaScript

@Bhavay192 Assigned for Javascript

I would like to code this in c++. Please assign me this issue.

I would like to code this in c++. Please assign me this issue.

@sourabhjain9887 In C++ code is already implemented. Please choose another issue or raise a new one with your choice of DSA problem.


Generate next step for the current pipeline in a generic way

Is it possible for a plugin to generate the next step in the pipeline in a generic way (or could it be implemented)? This would make it possible to provide opinionated defaults to build projects (kinda like travis). You could implement a plugin that detects build tools, the used language, ... and perform a default build. E.g. if a pom.xml is present in the cloned repository -> use maven:latest and execute mvn install && mvn test.
Just as drone is opinionated to use git to clone the repository, many projects could be build that way without a need to create a .drone.yml. So if no configuration is present in a repositroy it would default to plugin/git -> plugin/opinionated-build -> what ever is returned by the previous step.
I think this might already be possible by using Docker in Docker and performing the build inside the same container as the detection plugin but it would be cleaner to generate a separate step in the pipeline for the build itself.

This is not something that is possible with the current yaml configuration. There is an exploratory effort to support a javascript build script (e.g .drone.js file) as an alternative to the the yaml configuration file. If the .drone.js proposal is adopted something like this would be possible, however, it is not something we are considering providing with the yaml integration.


python312Packages.circus: allow local networking to fix darwin tests

Things done
Tests are hanging and failing when trying to rebuild this package on the darwin builder.
Adding __darwinAllowLocalNetworking = true; fixes this problem.

python312Packages.circus: add GaetanLepage as maintainer
python312Packages.circus: allow local networking to fix darwin tests

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 346824

x86_64-linux

aarch64-linux

x86_64-darwin

:white_check_mark: 6 packages built:

circus
circus.dist
python311Packages.circus
python311Packages.circus.dist
python312Packages.circus
python312Packages.circus.dist

aarch64-darwin

:white_check_mark: 6 packages built:

circus
circus.dist
python311Packages.circus
python311Packages.circus.dist
python312Packages.circus
python312Packages.circus.dist


Flutter driver for iOS Real Device (Hybrid App)

The server is running
[2021-02-23 07:27:36][Appium] Welcome to Appium v1.18.3
[2021-02-23 07:27:36][Appium] Non-default server args:
[2021-02-23 07:27:36][Appium]   allowCors: true
[2021-02-23 07:27:36][Appium]   logTimestamp: true
[2021-02-23 07:27:36][Appium]   localTimezone: true
[2021-02-23 07:27:36][Appium]   relaxedSecurityEnabled: true
[2021-02-23 07:27:36][Appium]   allowInsecure: {
[2021-02-23 07:27:36][Appium]   }
[2021-02-23 07:27:36][Appium]   denyInsecure: {
[2021-02-23 07:27:36][Appium]   }
[2021-02-23 07:27:36][Appium] You have enabled CORS requests from any host. Be careful not to visit sites which could maliciously try to start Appium sessions on your machine
[2021-02-23 07:27:36][Appium] Appium REST http interface listener started on <IP_ADDRESS>:4723
[2021-02-23 07:27:52][HTTP] --> POST /wd/hub/session
[2021-02-23 07:27:52][HTTP] {"desiredCapabilities":{"automationName":"Flutter","bundleId":"xxxxxxx","deviceName":"iPad","platformName":"iOS","platformVersion":"13.3","retryBackoffTime":500,"startIWDP":true,"udid":"auto","newCommandTimeout":0,"connectHardwareKeyboard":true}}
[2021-02-23 07:27:52][MJSONWP] Calling AppiumDriver.createSession() with args: [{"automationName":"Flutter","bundleId":"xxxxxxxxxxx","deviceName":"iPad","platformName":"iOS","platformVersion":"13.3","retryBackoffTime":500,"startIWDP":true,"udid":"auto","newCommandTimeout":0,"connectHardwareKeyboard":true},null,null]
[2021-02-23 07:27:52][BaseDriver] Event 'newSessionRequested' logged at<PHONE_NUMBER>077 (19:27:52 GMT+0800 (中国标准时间))
[2021-02-23 07:27:52][Appium] Appium v1.18.3 creating new FlutterDriver (v0.0.23) session
[2021-02-23 07:27:52][Appium] Applying relaxed security to 'FlutterDriver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[2021-02-23 07:27:52][BaseDriver] Creating session with MJSONWP desired capabilities: {
[2021-02-23 07:27:52][BaseDriver]   "automationName": "Flutter",
[2021-02-23 07:27:52][BaseDriver]   "bundleId": "xxxxxxxxxxxx",
[2021-02-23 07:27:52][BaseDriver]   "deviceName": "iPad",
[2021-02-23 07:27:52][BaseDriver]   "platformName": "iOS",
[2021-02-23 07:27:52][BaseDriver]   "platformVersion": "13.3",
[2021-02-23 07:27:52][BaseDriver]   "retryBackoffTime": 500,
[2021-02-23 07:27:52][BaseDriver]   "startIWDP": true,
[2021-02-23 07:27:52][BaseDriver]   "udid": "auto",
[2021-02-23 07:27:52][BaseDriver]   "newCommandTimeout": 0,
[2021-02-23 07:27:52][BaseDriver]   "connectHardwareKeyboard": true
[2021-02-23 07:27:52][BaseDriver] }
[2021-02-23 07:27:52][BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[2021-02-23 07:27:52][BaseDriver]   bundleId
[2021-02-23 07:27:52][BaseDriver]   retryBackoffTime
[2021-02-23 07:27:52][BaseDriver]   startIWDP
[2021-02-23 07:27:52][BaseDriver]   connectHardwareKeyboard
[2021-02-23 07:27:52][BaseDriver] Session created with session id: bc6cc611-c291-4385-a870-df8e9751c7ec
[2021-02-23 07:27:52][FlutterDriver] Starting an IOS proxy session
[2021-02-23 07:27:52][BaseDriver] Creating session with MJSONWP desired capabilities: {
[2021-02-23 07:27:52][BaseDriver]   "automationName": "Flutter",
[2021-02-23 07:27:52][BaseDriver]   "bundleId": "xxxxxxxxxxxx",
[2021-02-23 07:27:52][BaseDriver]   "deviceName": "iPad",
[2021-02-23 07:27:52][BaseDriver]   "platformName": "iOS",
[2021-02-23 07:27:52][BaseDriver]   "platformVersion": "13.3",
[2021-02-23 07:27:52][BaseDriver]   "retryBackoffTime": 500,
[2021-02-23 07:27:52][BaseDriver]   "startIWDP": true,
[2021-02-23 07:27:52][BaseDriver]   "udid": "auto",
[2021-02-23 07:27:52][BaseDriver]   "newCommandTimeout": 0,
[2021-02-23 07:27:52][BaseDriver]   "connectHardwareKeyboard": true
[2021-02-23 07:27:52][BaseDriver] }
[2021-02-23 07:27:52][BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[2021-02-23 07:27:52][BaseDriver]   retryBackoffTime
[2021-02-23 07:27:52][BaseDriver] Session created with session id: e7ef7f3d-0e7d-4aab-9d48-687fb9b7d328
[2021-02-23 07:27:52][XCUITest] Current user: 'hailong.chen'
[2021-02-23 07:27:52][XCUITest] Auto-detecting real device udid...
[2021-02-23 07:27:52][XCUITest] Detected real device udid: 'c5bc6919bc703e911c84e0603f17d1************'
[2021-02-23 07:27:52][XCUITest] Creating iDevice object with udid 'c5bc6919bc703e911c84e0603f17d1********'
[2021-02-23 07:27:52][XCUITest] Determining device to run tests on: udid: 'c5bc6919bc703e911c84e0603f*********, real device: true
[2021-02-23 07:27:52][BaseDriver] Event 'xcodeDetailsRetrieved' logged at<PHONE_NUMBER>117 (19:27:52 GMT+0800 (中国标准时间))
[2021-02-23 07:27:52][BaseDriver] Event 'appConfigured' logged at<PHONE_NUMBER>117 (19:27:52 GMT+0800 (中国标准时间))
[2021-02-23 07:27:52][BaseDriver] Event 'resetStarted' logged at<PHONE_NUMBER>117 (19:27:52 GMT+0800 (中国标准时间))
[2021-02-23 07:27:52][XCUITest] Reset: running ios real device reset flow
[2021-02-23 07:27:52][BaseDriver] Event 'resetComplete' logged at<PHONE_NUMBER>117 (19:27:52 GMT+0800 (中国标准时间))
[2021-02-23 07:27:52][WebDriverAgent] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent'
[2021-02-23 07:27:52][WebDriverAgent] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[2021-02-23 07:27:52][XCUITest] Crash reports root '/Users/hailong.chen/Library/Logs/CrashReporter/MobileDevice/ipad4.hailong' does not exist. Got nothing to gather.
[2021-02-23 07:27:52][BaseDriver] Event 'logCaptureStarted' logged at<PHONE_NUMBER>368 (19:27:52 GMT+0800 (中国标准时间))
[2021-02-23 07:27:52][XCUITest] Setting up real device
[2021-02-23 07:27:52][WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[2021-02-23 07:27:52][DevCon Factory] Requesting connection for device c5bc6919bc703e911c84e0603f17d1ef7222034e on local port 8100, device port 8100
[2021-02-23 07:27:52][DevCon Factory] Cached connections count: 1
[2021-02-23 07:27:52][DevCon Factory] Found cached connections on port #8100: ["c5bc6919bc703e911c84e0603f17d1ef7222034e:8100"]
[2021-02-23 07:27:52][DevCon Factory] Port #8100 is busy. Did you quit the previous driver session(s) properly?
[2021-02-23 07:27:52][DevCon Factory] Trying to release the port
[2021-02-23 07:27:52][DevCon Factory] Releasing the listener for 'c5bc6919bc703e911c84e0603f17d1ef7222034e:8100'
[2021-02-23 07:27:52][iProxy@c5bc6919:8100] Closing the connection
[2021-02-23 07:27:52][iProxy@c5bc6919:8100] The connection has been closed
[2021-02-23 07:27:52][DevCon Factory] Port #8100 has been successfully released after 1ms
[2021-02-23 07:27:52][DevCon Factory] Successfully requested the connection for c5bc6919bc703e911c84e0603f17d1ef7222034e:8100
[2021-02-23 07:27:52][XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[2021-02-23 07:27:52][WD Proxy] Matched '/status' to command name 'getStatus'
[2021-02-23 07:27:52][WD Proxy] Proxying [GET /status] to [GET http://<IP_ADDRESS>:8100/status] with no body
[2021-02-23 07:27:52][WD Proxy] Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"testmanagerdVersion":28,"name":"iOS","sdkVersion":"14.2","version":"13.3.1"},"ios":{"ip":"<IP_ADDRESS>"},"ready":true,"build":{"time":"Feb 23 2021 10:24:16","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"}},"sessionId":"2A9537FF-6629-4386-AFB0-6ED9D2857AFF"}
[2021-02-23 07:27:52][WebDriverAgent] Upgrade timestamp of the currently bundled WDA:<PHONE_NUMBER>580
[2021-02-23 07:27:52][WebDriverAgent] Upgrade timestamp of the WDA on the device: undefined
[2021-02-23 07:27:52][WebDriverAgent] Will reuse previously cached WDA instance at 'http://<IP_ADDRESS>:8100/' with 'com.facebook.WebDriverAgentRunner'. Set the wdaLocalPort capability to a value different from 8100 if this is an undesired behavior.
[2021-02-23 07:27:52][XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval
[2021-02-23 07:27:52][XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[2021-02-23 07:27:52][BaseDriver] Event 'wdaStartAttempted' logged at<PHONE_NUMBER>643 (19:27:52 GMT+0800 (中国标准时间))
[2021-02-23 07:27:52][WebDriverAgent] Using provided WebdriverAgent at 'http://<IP_ADDRESS>:8100/'
[2021-02-23 07:27:52][WD Proxy] Matched '/status' to command name 'getStatus'
[2021-02-23 07:27:52][WD Proxy] Proxying [GET /status] to [GET http://<IP_ADDRESS>:8100/status] with no body
[2021-02-23 07:27:52][WD Proxy] Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"testmanagerdVersion":28,"name":"iOS","sdkVersion":"14.2","version":"13.3.1"},"ios":{"ip":"<IP_ADDRESS>"},"ready":true,"build":{"time":"Feb 23 2021 10:24:16","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"}},"sessionId":"2A9537FF-6629-4386-AFB0-6ED9D2857AFF"}
[2021-02-23 07:27:52][BaseDriver] Event 'wdaSessionAttempted' logged at<PHONE_NUMBER>654 (19:27:52 GMT+0800 (中国标准时间))
[2021-02-23 07:27:52][XCUITest] Sending createSession command to WDA
[2021-02-23 07:27:52][WD Proxy] Matched '/session' to command name 'createSession'
[2021-02-23 07:27:52][WD Proxy] Proxying [POST /session] to [POST http://<IP_ADDRESS>:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"xxxxxxxxxxxxx","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}],"alwaysMatch":{}}}
[2021-02-23 07:27:54][WebDriverAgent] Parsed BUILD_DIR configuration value: '/Users/hailong.chen/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products'
[2021-02-23 07:27:54][WebDriverAgent] Got derived data root: '/Users/hailong.chen/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp'
[2021-02-23 07:27:56][WD Proxy] Got response with status 200: {"value":{"sessionId":"466BA8FF-B17F-4CE8-8C76-3AC1B6911E43","capabilities":{"device":"ipad","browserName":"xxxxxxxxxxx","sdkVersion":"13.3.1","CFBundleIdentifier":"xxxxxxxxxxxx"}},"sessionId":"466BA8FF-B17F-4CE8-8C76-3AC1B6911E43"}
[2021-02-23 07:27:56][WD Proxy] Determined the downstream protocol as 'W3C'
[2021-02-23 07:27:56][BaseDriver] Event 'wdaSessionStarted' logged at<PHONE_NUMBER>751 (19:27:56 GMT+0800 (中国标准时间))
[2021-02-23 07:27:56][BaseDriver] Event 'wdaStarted' logged at<PHONE_NUMBER>752 (19:27:56 GMT+0800 (中国标准时间))
[2021-02-23 07:27:56][XCUITest] Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior.
[2021-02-23 07:27:56][BaseDriver] Event 'orientationSet' logged at<PHONE_NUMBER>753 (19:27:56 GMT+0800 (中国标准时间))
[2021-02-23 07:27:56][BaseDriver] The value of 'elementResponseAttributes' setting did not change. Skipping the update for it
[2021-02-23 07:27:56][BaseDriver] The value of 'shouldUseCompactResponses' setting did not change. Skipping the update for it
[2021-02-23 07:27:56][FlutterDriver] Deleting Flutter Driver session
[2021-02-23 07:27:56][BaseDriver] Event 'newSessionStarted' logged at<PHONE_NUMBER>771 (19:27:56 GMT+0800 (中国标准时间))
[2021-02-23 07:27:56][MJSONWP] Encountered internal error running command: TypeError: Cannot read property 'match' of undefined
[2021-02-23 07:27:56][MJSONWP]     at Object.exports.processLogToGetobservatory (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/build/driver/lib/sessions/observatory.js:128:9)
[2021-02-23 07:27:56][MJSONWP]     at Object.exports.getObservatoryWsUri (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/ios.ts:30:21)
[2021-02-23 07:27:56][MJSONWP]     at Object.exports.startIOSSession (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/ios.ts:22:28)
[2021-02-23 07:27:56][MJSONWP]     at runMicrotasks ()
[2021-02-23 07:27:56][MJSONWP]     at processTicksAndRejections (internal/process/task_queues.js:85:5)
[2021-02-23 07:27:56][MJSONWP]     at FlutterDriver.exports.createSession (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/session.ts:15:47)
[2021-02-23 07:27:56][MJSONWP]     at AppiumDriver.createSession (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/lib/appium.js:358:35)
[2021-02-23 07:27:56][MJSONWP] Destroying socket connection
[2021-02-23 07:27:56][HTTP] <-- POST /wd/hub/session 500 4697 ms - 178
[2021-02-23 07:27:56][HTTP]
[2021-02-23 07:27:56][HTTP] --> DELETE /wd/hub/session
[2021-02-23 07:27:56][HTTP] {}
[2021-02-23 07:27:56][HTTP] No route found. Setting content type to 'text/plain'
[2021-02-23 07:27:56][HTTP] <-- DELETE /wd/hub/session 404 6 ms - 57
[2021-02-23 07:27:56][HTTP]

The App is hybrid. flutter embedded.

In which file enableFlutterDriverExtension() has been added?

@shibupanda
The following steps in Hybrid Project is set:
dev_dependencies: 	test: any 	flutter_test: 		sdk: flutter 	flutter_driver: 		sdk: flutter
void main() { 	enableFlutterDriverExtension(); 	runApp(MyApp()); }

@hailongchen-chowbus is the file name is main.dart?

@hailongchen-chowbus is the file name is main.dart?

"dependencies" is configuration in pubspec.yaml file;
"main" is in main.dart file

How about the latest appium@beta?
Please make sure your flutter-driver is 0.0.28+.

Still error even though Appium_1.20.2, it's the same error info.
And...I've refactored the test environment, flutter-driver is the newest
@KazuCocoa
Do your team has ios real devices, hybrid application (flutter embedded)?

No, i haven't tried.
Technically, flutter-driver only needs websocket to Dart VM running on a device. The URL is exposed by enableFlutterDriverExtension.
As debug, you can check if the iOS device's system log has a line like Observatory listening on xxxx. If it did not exist, this flutter driver cannot interact with the DartVM layer technically. It means this driver does not work for it.
https://github.com/truongsinh/appium-flutter-driver/blob/master/driver/lib/sessions/observatory.ts#L143

@KazuCocoa
actually, I've read all the issues and the communication theory about flutter driver before.
uh.... thank your suggestion @KazuCocoa
I'll try again.

The App is hybrid. flutter embedded.

我们公司也是混合app，inspector元素识别不了，你是怎么识别的？（纯flutter的app可以识别）

For iOS real devices, https://appium.io/docs/en/drivers/ios-xcuitest/#accessibility-preferences-fine-tuning this accessibility preference helped a couple of friends of mine. Nothing we can do except for it so far.

@wenhuichen  你可以在iOS的设置中，将"读取屏幕"选型打开

I show you the screenshots.
the settings contents are in file {project}/pubspec.yaml.
[image: image.png]
enableFlutterDriverExtension() was added in  {project} /lib
https://github.com/FanTuanEats/restaurant_app/tree/dev/lib/main.dart .
But now our developers have removed the code.
shibupanda @.***> 于2021年2月26日周五 上午3:00写道：

In which file enableFlutterDriverExtension() has been added?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/truongsinh/appium-flutter-driver/issues/145#issuecomment-786129008,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARZBL2E4K3TCKSK5CY6STJTTA2M4NANCNFSM4YCKDUMQ
.

the automation for ios real devices is available?

the automation for ios real devices is available?

Not yet

I assume https://github.com/appium-flutter-driver/appium-flutter-driver/pull/135 https://github.com/appium-flutter-driver/appium-flutter-driver/pull/130 fixed this issue. v0.0.29.
(iOS 14+ requires profile build tho by Flutter)


Accept credentials as impl Read

Currently, the credentials are expected to be passed as a path to a file on disk, but as type &str. These changes update the interface to accept anything that impl Read, which means you can pass a file handle, &[u8], buffers, etc.
This constitutes a breaking change in the interface; the burden is put on the caller to open the file, read the file, get the credentials from the environment, etc. However, the advantage is that the interface is more flexible.
I also updated all the existing tests to succeed, and added a test verifying that it also succeeds when passing the credentials as a byte slice.
If the breaking change is a problem, we could also leave the impl Read interface on the TokenManager itself, but provide an additional top-level function called something like
create_shared_token_manager_from_slice, or ..._from_reader, etc. I personally prefer the cleaner single flexible entrypoint, but it's not my project!

This looks pretty good, thank you! I will try to take a look at this this or next weekend

Cool! Hope it's helpful.

I just pushed changes to (hopefully) fix the failing rustfmt check.

To fix the rustfmt check you dont need the rustfmt.toml. just run the rustfmt command in your terminal before pushing it to the repo. Then everything is formatted correctly

It looks good to me. If you remove the rustfmt.toml and format your code, I can merge it. Also FYI, I added a CONSTRIBUTION.md file. By contributing to this project, you agree that your contributions will be licensed under the same license as the project (see LICENSE file)

To fix the rustfmt check you dont need the rustfmt.toml. just run the rustfmt command in your terminal before pushing it to the repo. Then everything is formatted correctly

The problem with that is that I have workstation rustfmt settings in ~/.config/rustfmt/rustfmt.toml that are used by default if there's no rustfmt.toml in a given repo. So if I just run cargo fmt it will reformat files to match my settings. Not a huge deal, but either way I'll need that empty file at least temporarily in order to apply the formatting.

I just pushed changes to (hopefully) fix the failing rustfmt check.

I guess it prob wasn't clear; the changes I'm talking about here were to my actual contributions. I also added that rustfmt.toml just so I could consistently run rustfmt. At any rate, I've pulled the rustfmt commit out.

Thank you for contributing :)

Closes #12


Are we okay saying '95% credibility interval' when really it's the 2.5% to 97.5% quantiles?

I think there's both terms in the document, but I suspect it's usually calculated as the 2.5-97.5% interval (which technically I think isn't necessarily the 95% credibility interval, or is it?). Just wanted to check, since I think we (Paul Starr and us) avoided saying 95% interval in previous assessments.
I've added something like "We calculate the bounds of 95% credibility intervals as the 2.5% quantile and the 97.5% quantile of posterior distributions, to give equal-tailed intervals." to the end of section 3.6 describing the base model.
A quick look on Wikipedia (tsk tsk) says that credible intervals can be defined in different ways. So for now I'll add the text and see if anyone objects, or points out that sometimes we do actually calculate the other type, which is the highest posterior density interval but that's fiddly to calculate.

Yes, credibility intervals in Bayesian statistics can be defined in many different ways, one of which is to use quantiles.  I like this method for this assessment because we define point estimates as the median, and if we define the interval based on quantiles, we can think of this as the probability that things are greater or less than a certain point.  I think one of Gelman's books defines credibility interval in this way.
I'm going to close this, but we can reopen it if anyone disagrees.


Log peer count when waiting for signal

What does this PR do?
Add peer count to signal_and_wait logs.
Motivation
Improve visibility into incorrect behavior.
Additional Notes
Written in pairing with @blt.

#970
#969  👈
main

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

Join @GeorgeHahn and the rest of your teammates on  Graphite

Merge activity

Sep 4, 1:20 PM EDT: @blt started a stack merge that includes this pull request via Graphite.


Cannot Build Solution [BUG]

Downloaded Crypto-Notepad version <IP_ADDRESS> on 8/19/20.
Downloaded Visual Studio Community 2019, downloaded Microsoft .NET Framework 4.6.1 Targeting Pack, Targeting Pack (ENU), and SDK.
Started "Build Solution", and received the following errors:
1>C:\Users\Paul\Downloads\Crypto-Notepad-master\Crypto Notepad\Forms\PasswordGeneratorFrom.cs(52,72,52,86): error CS0012: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

1>C:\Users\Paul\Downloads\Crypto-Notepad-master\Crypto Notepad\Forms\PasswordGeneratorFrom.cs(56,23,61,71): error CS0012: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

Don't know what to do at this point.
Expected behavior
A successful Build.
Software version (please complete the following information):

OS version =  Windows 10

Hi.
I just downloaded Crypto-Notepad 1.6.7 to virtual machine with Windows 10 and visual studio:
Microsoft Visual Studio Community 2019
Version 16.6.5
VisualStudio.16.Release/16.6.5+30320.27
Microsoft .NET Framework
Version 4.8.03752

And build was sucsefull:
1>------ Build started: Project: Crypto Notepad, Configuration: Debug Any CPU ------
1>  Crypto Notepad -> C:\Users\Sigmanor\source\repos\Crypto-Notepad\Crypto Notepad\bin\Debug\Crypto Notepad.exe
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

So I think you just missed to install some package while installing VS.

Yes, I un-installed / re-installed Visual, and everything is OK.


Support installing the GCS connector after deploying Ambari using the Web UI

Currently ambari_manual_env.sh allows the user to use Ambari to manually install HDP components, but it lacks the GCS connector. Manually installing the connector afterwards is rather difficult.
The ambari_env.sh post-install scripts need to be slightly reworked to work on a manual deployment.

Fixed in https://github.com/GoogleCloudPlatform/bdutil/pull/19.


Could not load file or assembly Microsoft.DotNet.ProjectModel

When trying to run this on Windows 10, it crashes. (And yes, I've installed, re-installed and re-re-installed .NET Core 1.0)
Console output:
C:\Dev\Git\DotNetCoreKoans>dotnet restore
log  : Restoring packages for C:\Dev\Git\DotNetCoreKoans\project.json...
log  : Restoring packages for tool 'Microsoft.DotNet.Watcher.Tools' in C:\Dev\Git\DotNetCoreKoans\project.json...
log  : Lock file has not changed. Skipping lock file write. Path: C:\Dev\Git\DotNetCoreKoans\project.lock.json
log  : C:\Dev\Git\DotNetCoreKoans\project.json
log  : Restore completed in 2079ms.

C:\Dev\Git\DotNetCoreKoans>dotnet watch run
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.DotNet.ProjectModel, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
   at Microsoft.DotNet.Watcher.Tools.Program.<>c__DisplayClass3_0.<MainInternal>b__0()
   at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
   at Microsoft.DotNet.Watcher.Tools.Program.MainInternal(String[] args, CancellationToken cancellationToken)
   at Microsoft.DotNet.Watcher.Tools.Program.Main(String[] args)

Thanks, I will take a look once I finish the refactoring work I am on now.

@arntj
I committed my refactoring changes up to this point and ran the koans from my windows 10 vm. I seem to be running it fine. Could you try pulling latest and giving it another shot?
If it is still failing can you show me the output of dotnet --info?
This is what it looks like on my system:
C:\src\DotNetCoreKoans [master ≡]> dotnet --info
.NET Command Line Tools (1.0.0-preview2-003121)

Product Information:
 Version:            1.0.0-preview2-003121
 Commit SHA-1 hash:  1e9d529bc5

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.14393
 OS Platform: Windows
 RID:         win10-x64
C:\src\DotNetCoreKoans [master ≡]>

Thanks for looking into this.
I'm absolutely sure I have the latest version of this repo. I tried deleting it and cloning it again just to make sure, still the same error. Seems like we have the exact same .net Core version, too. (Windows version is a bit different, but I don't think it should matter that much.)
C:\Dev\Git\DotNetCoreKoans>dotnet --info
.NET Command Line Tools (1.0.0-preview2-003121)

Product Information:
 Version:            1.0.0-preview2-003121
 Commit SHA-1 hash:  1e9d529bc5

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.10586
 OS Platform: Windows
 RID:         win10-x64

The strange thing is that I actually seem to have Microsoft.DotNet.ProjectModel (1.0.0-rc3-003121), but it somehow doesn't get detected.

Try deleting the project.lock.json and running dotnet restore again. Does the newly generated file contain a reference to Microsoft.DotNet.ProjectModel?

Yes, it's referenced several places in the file.

Hrm.. Let's try forcing a redownload of everything. Run this in powershell ren ~/.nuget/packages -newName 'packages.old', it will rename your local package cache and force the dotnet restore cli command to redownload everything into a new packages directory.

It works now. Thanks! :+1:

Thanks for working through the issue with me. You are the best!

GitHub Selfies


Incorrect Ubuntu Update Command

sudo yum update incorrect for Ubuntu, command should be sudo apt-get update
Thanks to @domccune, @mistalove @gamaxwel

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

@asudbring - Can you review this old PR and determine whether it needs to be closed or merged?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.

Updated in another PR.
#please-close

#please-close


A power problem in Jetson Nano

When I ran my deep learning model last week, it worked well .Today when it was running,  its CPU temperature is too high and automatically shut down. Is there any way to check the cause of abnormal temperature?

Hi @Wadaxivan, you may want to post your question about thermals to the Jetson Nano forums:  https://forums.developer.nvidia.com/c/agx-autonomous-machines/jetson-embedded-systems/jetson-nano/76
If you want to get a fan, until then you could always run your Nano in 5W power mode with sudo nvpmodel -m 1

OK! I am so sorry.


Update diagrams required for FedRAMP compliance

Review the FedRAMP Authorization Boundary Guidance and highlight any gaps in the current system diagram and data flow boundary.
The specific diagrams required by FedRAMP can be found in section 9 in the SSP moderate template in figures 9-1, 9-2 and 10-1.

Wrong repo.


throw error if queryString includes a cursor

Cashay uses cursor-based pagination and assumes that you start from the beginning or the end of an array of documents. This has a ton of benefits:

We can detect BOF, EOF, which is equivalent to hasNextPage, hasPreviousPage.
It's a best practice
there are times you might need an array starting at a certain index. For example, you search for a string in a slack chat. The result is an array that has 10 chat lines above & 10 chat lines below. The way to accomplish this would be to perform the search on the server & return array.slice(n - 10, n + 10).
it makes mutationHandlers much more efficient. That's because a paginated array in a query is a subset of the array stored in the redux state. For example, you may have a query that wants the first 3 docs, but your local state has the first 10 docs. So, when your mutationHandler receives [1,2,3] and mutates it (eg deletes 1 and adds one, so the result is  [1,3,4], I can simply splice out the old & splice in the new. This is very difficult if the array doesn't at the beginning or end (that's because i can't determine the start & end index based solely on the length of the array in the query).

For these reasons, when initializing a query, if before or after are present, an error should be thrown. Forcing best practices. it's a good thing!

updated in v0.16.0


run-dev: Fix dev url showing extra port when EXTERNAL_HOST is specified.

#17054
Testing plan:
Tested with linter and local tests.
GIFs or screenshots:

Merged, thanks everyone!
@Riken-Shah a bit of feedback -- you generally need to post a comment on GitHub when you've updated the code and are ready for a next review; GitHub doesn't reliably do notification when you just push changes, and even if it did, that doesn't provide the explicit clarity that it's ready for someone to look at (vs. you pushed to see CI output).

Merged, thanks everyone!
@Riken-Shah a bit of feedback -- you generally need to post a comment on GitHub when you've updated the code and are ready for a next review; GitHub doesn't reliably do notification when you just push changes, and even if it did, that doesn't provide the explicit clarity that it's ready for someone to look at (vs. you pushed to see CI output).


active_rotated_filter_forward miss in module _ext

Checklist

I have searched related issues but cannot get the expected help.
I have read related documents and don't know what to do.

Describe the question you meet
It noticed error of "active_rotated_filter_forward miss in module _ext" in:
mmcls\models\backbones\conformer.py", line 9,
ps: I have successfully used mmdetection with the customer dataset very well, which installed mmcv=1.3.17. I update it to 1.4.7 today.

e.., it caused by 'pip install mmcv', where should be: 'pip install mmcv-full'


Review requirements for METADATA.pb font.full_name

It seems to me that the font.full_name entries on a METADATA.pb file should adhere to the exact same rules as the fonts' NAMEID_FONT_FULL_NAME entries on the name table (nameid=4).
At least com.google.fonts/check/094 - "METADATA.pb font.full_name value matches fullname declared on the name table?" - enforces that exact match.
While com.google.fonts/check/159 - "Check name table: FULL_FONT_NAME entries." - has exceptions for the occurrence of "Regular" on the full name entry as discussed with @davelab6 at https://github.com/googlefonts/fontbakery/issues/1517#issue-250685281, there's another check where the rules are much simpler and thus inconsistent:

com.google.fonts/check/096 - "METADATA.pb font.full_name and font.post_script_name fields have equivalent values ?"

https://github.com/felipesanches/fontbakery/blob/71e658a0e927975caf1e7bc9d1f43c0b3ff3a474/tests/specifications/googlefonts_test.py#L1090-L1150

Specially this part demands a review:

https://github.com/felipesanches/fontbakery/blob/71e658a0e927975caf1e7bc9d1f43c0b3ff3a474/tests/specifications/googlefonts_test.py#L1112-L1126

A relevant question here is:
Which systems rely on the data stored in the METADATA.pb files and which requirements do those systems impose on the data fields? Those requirements should translate into fontbakery checks (either existing ones or new ones if needed).

Check 094 is a simple one, which is needed to ensure that the metadata info continues to match what is in the font. That's why it is not applying the same rules, because we have many fonts that don't pass  check 159 - which is is probably correct - and when we correct them we need to also update the meta data file, which this check will catch.
I guess check 096 should probably be changed to allow for what 159 allows.


Run At Every Minute of A Given Hour

This simple rule:
cron.schedule("* 12 * *  1-5", () => {})
does not fire any event.
I was supposed that it should fire at every minute of the hour 12.

Hey @japita-se
I did test:
My current hour is 10, so:
const cron = require('node-cron');

cron.schedule("* 10 * * 1-5", () => {
  console.log('every minute');
});

And it works fine:

I forgot to say that I set also the timezone option to Europe/Rome (which is my current timezone).


niftiimage check should change

niftiimage is not the right class to check, should check instead analyze or even better use nilearn functions like check niimg

Lacks a proper usecase. Closing for the moment.


refactor: remove deprecated data operation interface

Ⅰ. Describe what this PR does
There are some methods and interface not used any more in the Engine/Implment, remove these to keep interface clear.
Ⅱ. Does this pull request fix one issue?

fixes #XXXX
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/test fluid-e2e

/retest


Incorrect OP2 subcase id

EB-ALL-ELEM-TEST-LANCZOS-MODE-2-DPB.txt
This example was from the benchmark tests.  This is a regression that was not seen in 15.1, but is seen in 15.1.1 and subsequent versions.
15.1.1
displacements[0]
  isubcase = 0
  type=RealDisplacementArray ntimes=1 nnodes=13, table_name=OUGV1
  data: [t1, t2, t3, r1, r2, r3] shape=[1, 13, 6] dtype=float32
  node_gridtype.shape = (13, 2)
  sort1
  modes = [2]; dtype=int32
  eigns = [359293.219]; dtype=float64
  mode_cycles = [599.411]; dtype=float64

displacements[1]
  isubcase = 1
  type=RealDisplacementArray ntimes=1 nnodes=13, table_name=OUGV1
  data: [t1, t2, t3, r1, r2, r3] shape=[1, 13, 6] dtype=float32
  node_gridtype.shape = (13, 2)
  sort1
  modes = [1]; dtype=int32
  eigns = [175725.922]; dtype=float64
  mode_cycles = [419.197]; dtype=float64

15.1
displacements[1]
  isubcase = 1
  type=RealDisplacementArray ntimes=1 nnodes=13, table_name=OUGV1
  data: [t1, t2, t3, r1, r2, r3] shape=[1, 13, 6] dtype=float32
  node_gridtype.shape = (13, 2)
  sort1
  modes = [1]; dtype=int32
  eigns = [175725.922]; dtype=float64
  mode_cycles = [419.197]; dtype=float64

It also looks like there is an extra mode.  It's unclear why this affects the subcase id.

Also of note, the eigenvectors are incorrectly flagged as displacements


how to create face matching on webcam

I see on YouTube face matching can be done on a webcam https://www.youtube.com/watch?v=kcBi6AY96Dw,
does anyone have the code
I need web verification using face
please

i just made it

Hi, could you post your code? I am trying to makes face recognition system too and facing a lot of issues. It would be a great help! Thank you

@idkidk-idk @fuadkhalis Can you share the link?

@fuadkhalis please share your code thank you in advance


Support tomcat 8 natively

Tomcat 8 removed JasperListener.
Using the following template https://github.com/silpion/ansible-tomcat/blob/master/templates/server.xml.j2#L21 Tomcat 8 boot failed.
I know we can add our custom template by using tomcat_server_xml_template but it can be great to support Tomcat 8 natively because Tomcat 7 becomes an old man :)

Hi, I've a local feature branch for tomcat8 already which has JasperListener removed for tomcat 8.

Implemented with current release. Sorry for the long time to wait. If in doubt have a look at my post to ansible-project mailing list.


Bump Dependencies #1002

Bumps dependencies for product-is.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


fix maxSpareLinks logic

The logic would increase the number of spare links even
when it wasn't adding to their number.

Codecov Report

Merging #2 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #2   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines         128    130    +2
=====================================
+ Hits          128    130    +2

Impacted Files
Coverage Δ

deque.go
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


feat: sharing time range

Add ability to select a sharing time range.

Codecov Report

Merging #5 (33249cd) into main (d78828b) will decrease coverage by 0.68%.
The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
- Coverage   25.34%   24.66%   -0.68%
==========================================
  Files          26       26
  Lines        2541     2611      +70
  Branches      106      106
==========================================
  Hits          644      644
- Misses       1897     1967      +70

Flag
Coverage Δ

signaling
77.64% <ø> (ø)

unittests
24.66% <0.00%> (-0.68%)
:arrow_down:

web
20.97% <0.00%> (-0.62%)
:arrow_down:

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

Impacted Files
Coverage Δ

apps/web/src/features/contact/ContactAdd.vue
0.00% <0.00%> (ø)

apps/web/src/features/contact/Contacts.vue
0.00% <0.00%> (ø)

apps/web/src/store/useContactsStore.ts
0.00% <0.00%> (ø)

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


Remove unnecessary dynamic casts

what
This short PR removes a number of dynamic_cast casts in the codebase, some of which are performed twice and could be rewritten to perform the runtime cast only once.
why
dynamic_cast is performed at runtime and requires inspecting the object's RTTI information to perform the cast. Executing it more than once incurs a bit of a performance cost that could be avoided by rewriting the code snippet. Additionally, the rewritten code is shorter and thus easier to read and maintain.
For example (from src/rule_with_actions.cc):
                    } else if (dynamic_cast<actions::Severity *>(a)) {
                        m_severity = dynamic_cast<actions::Severity *>(a);

can be rewritten as:
                    } else if (auto sa = dynamic_cast<actions::Severity *>(a)) {
                        m_severity = sa;

misc
This is part of a series of PRs to improve performance of the library (2/n). Previous: #3164

Thanks - I tried to measure the performance with this patch, but didn't get any significant difference (but it might improve it in real environments).
Never mind, the patch makes the code more visible indeed, going to merge.

Thanks - I tried to measure the performance with this patch, but didn't get any significant difference (but it might improve it in real environments).

That's right, these changes are not going to make a noticeable difference, but the goal is to shave off as much as possible over time.


clicking on Dashboard disables auto refresh and removes refresh counter but leaves 's'

Before clicking on the Dashboard button (at the top)

After clicking on Dashboard

This bug is also present in deployments page.  For sure in other pages also.


trezor-suite: 24.8.3 -> 24.11.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/trezor/trezor-suite/releases.
meta.description for trezor-suite is: Trezor Suite - Desktop App for managing crypto
meta.homepage for trezor-suite is: https://suite.trezor.io
meta.changelog for trezor-suite is: https://github.com/trezor/trezor-suite/releases/tag/v24.9.2
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 24.9.2 with grep in /nix/store/h4w85cy7nxk8y1pdx9gyb67mcz5dbrnf-trezor-suite-24.9.2
found 24.9.2 in filename of file in /nix/store/h4w85cy7nxk8y1pdx9gyb67mcz5dbrnf-trezor-suite-24.9.2

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

trezor-suite

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/h4w85cy7nxk8y1pdx9gyb67mcz5dbrnf-trezor-suite-24.9.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A trezor-suite https://github.com/r-ryantm/nixpkgs/archive/df8cd33c7053bcb2c548961042fc74aa7d36c435.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/df8cd33c7053bcb2c548961042fc74aa7d36c435#trezor-suite

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/h4w85cy7nxk8y1pdx9gyb67mcz5dbrnf-trezor-suite-24.9.2
ls -la /nix/store/h4w85cy7nxk8y1pdx9gyb67mcz5dbrnf-trezor-suite-24.9.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

trezor-suite

Maintainer pings
cc @prusnak for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/trezor/trezor-suite/releases.
meta.description for trezor-suite is: Trezor Suite - Desktop App for managing crypto
meta.homepage for trezor-suite is: https://suite.trezor.io
meta.changelog for trezor-suite is: https://github.com/trezor/trezor-suite/releases/tag/v24.11.1
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 24.11.1 with grep in /nix/store/07fzgd7lawx05c6lq3csaby8rvvycabs-trezor-suite-24.11.1
found 24.11.1 in filename of file in /nix/store/07fzgd7lawx05c6lq3csaby8rvvycabs-trezor-suite-24.11.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

trezor-suite

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/07fzgd7lawx05c6lq3csaby8rvvycabs-trezor-suite-24.11.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A trezor-suite https://github.com/r-ryantm/nixpkgs/archive/236bd64a7ae57c9f80ea7f0b2a583ea6757bf8a2.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/236bd64a7ae57c9f80ea7f0b2a583ea6757bf8a2#trezor-suite

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/07fzgd7lawx05c6lq3csaby8rvvycabs-trezor-suite-24.11.1
ls -la /nix/store/07fzgd7lawx05c6lq3csaby8rvvycabs-trezor-suite-24.11.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

trezor-suite

Maintainer pings
cc @prusnak for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

superseded by https://github.com/NixOS/nixpkgs/pull/360615


mac tool_integration_tests flakey

Example failures:

https://ci.chromium.org/ui/p/flutter/builders/prod/Mac tool_integration_tests_4_4/13284
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac tool_integration_tests_4_4/13279

log
11:54 +26 -1: test/integration.shard/overall_experience_test.dart: flutter error messages include a DevTools link [E]
  Expected: [
              <a string starting with 'Performing hot reload...'>,
              '',
              '══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════',
              'The following assertion was thrown during layout:',
              'A RenderFlex overflowed by 69200 pixels on the right.',
              '',
              'The relevant error-causing widget was:',
              <match '^  Row .+flutter/dev/integration_tests/ui/lib/overflow\.dart:32:18$'>,
              '',
              'To inspect this widget in Flutter DevTools, visit:',
              <a string starting with 'http'>,
              '',
              'The overflowing RenderFlex has an orientation of Axis.horizontal.',
              'The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and',
              'black striped pattern. This is usually caused by the contents being too big for the RenderFlex.',
              'Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the',
              'RenderFlex to fit within the available space instead of being sized to their natural size.',
              'This is considered an error condition because it indicates that there is content that cannot be',
              'seen. If the content is legitimately bigger than the available space, consider clipping it with a',
              'ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,',
              'like a ListView.',
              <match '^The specific RenderFlex in question is: RenderFlex#..... OVERFLOWING:$'>,
              <a string starting with '  creator: Row ← Test ← '>,
              <contains ' ← '>,
              ...
            ]
    Actual: [
              'Performing hot reload...                                        ',
              '',
              '══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════',
              'The following assertion was thrown during layout:',
              'A RenderFlex overflowed by 69200 pixels on the right.',
              '',
              'The relevant error-causing widget was:',
              '  Row',
              '  Row:file:///Volumes/Work/s/wqqfk1oof/ir/x/w/flutter/dev/integration_tests/ui/lib/overflow.dart:32:18',
              '',
              'To inspect this widget in Flutter DevTools, visit:',
              'http://<IP_ADDRESS>:9103/#/inspector?uri=http%3A%2F%2F<IP_ADDRESS>%3A53748%2FxBZU--LDV2g%3D%2F&inspectorRef=inspector-0',
              '',
              'The overflowing RenderFlex has an orientation of Axis.horizontal.',
              'The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and',
              'black striped pattern. This is usually caused by the contents being too big for the RenderFlex.',
              'Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the',
              'RenderFlex to fit within the available space instead of being sized to their natural size.',
              'This is considered an error condition because it indicates that there is content that cannot be',
              'seen. If the content is legitimately bigger than the available space, consider clipping it with a',
              'ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,',
              'like a ListView.',
              'The specific RenderFlex in question is: RenderFlex#fbc68 OVERFLOWING:',
              '  creator: Row ← Test ← Semantics ← Builder ← RepaintBoundary-[GlobalKey#85f27] ← IgnorePointer ←',
              ...
            ]
     Which: at location [7] is '  Row' which does not match match '^  Row .+flutter/dev/integration_tests/ui/lib/overflow\.dart:32:18$'

This appears to be a flutter run e2e test. Punting this over to the tools team for now.

Closing as stale.


Solution for exercise - Lecture 13

Hi @LechGrzelak  great course! really like it
for lecture 13 where is the solution located.
Kind regards and thanks,
Andrew

hello Andrew,
Thanks for your message. Nice to hear you liked the course.
Unfortunately, the solutions are unavailable because they would be "market
data specific".
However, if you just amend the code that is available- I'm pretty sure you
will complete the tasks.
Best wishes,
Lech
On Fri, 10 Mar 2023 at 03:01, andrewcz @.***> wrote:

Hi @LechGrzelak https://github.com/LechGrzelak great course! really
like it
for lecture 13 where is the solution located.
Kind regards and thanks,
Andrew
—
Reply to this email directly, view it on GitHub
https://github.com/LechGrzelak/FinancialEngineering_IR_xVA/issues/2, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEJBBMWWQ4LYLPN6OWI6AZLW3KDQDANCNFSM6AAAAAAVV3AXBM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @LechGrzelak  thank you for clarifying, I have a few follow-up questions -
Can you note the start of the line where the code is to be modified? What data is required, is it just stock prices?
For lectures 12 and 13, is there further information about VAR and XVA in book with code examples? I'm looking for further examples in regards to var and xva.
Thank you in advance for your help.

Yes, there are more examples regarding xVA in the book.
Regarding the question about the line of the code you need to modify-
please follow the course first, then it will be clear what needs to be done.
On Tue, 14 Mar 2023 at 12:40, andrewcz @.***> wrote:

Hi @LechGrzelak https://github.com/LechGrzelak thank you for
clarifying, I have a few follow-up questions -
Can you note the start of the line where the code is to be modified? What
data is required, is it just stock prices?
For lectures 12 and 13, is there further information about VAR and XVA in
book with code examples? I'm looking for further examples in regards to var
and xva.
Thank you in advance for your help.
—
Reply to this email directly, view it on GitHub
https://github.com/LechGrzelak/FinancialEngineering_IR_xVA/issues/2#issuecomment-1467940218,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEJBBMUKHQFKBZF5JMLZ5KDW4BKKZANCNFSM6AAAAAAVV3AXBM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thank you @LechGrzelak much appreciated.
Just wondering is there a solution for lecture 12 .
Best,
Andrew


feat(sdk-iot): Add constructors for initializing IotHubServiceClient

API design doc is here: https://github.com/Azure/azure-sdk-for-net/blob/feature/iot/abmisr/constructors/sdk/iot/Azure.Iot.Hub.Service/src/API Design.md#constructors
The constructors now look like the following:
public IotHubServiceClient(string connectionString) {}
public IotHubServiceClient(string connectionString, IotHubServiceClientOptions options) {}
public IotHubServiceClient(Uri endpoint, IotHubSasCredential credential, IotHubServiceClientOptions options = default) {}

// TODO: Will be added once service implement's OAuth support
public IotHubServiceClient(Uri endpoint, TokenCredential credential, IotHubServiceClientOptions options = default) {}

This will give beginners the convenience of using the “connection string” constructor, while still familiarizing them with a constructor that takes in an endpoint, and the credential separately. Eventually, when the service does support OAuth tokens, this would hopefully make the transition to using TokenCredential easier.
An example on how to use the constructors:
string connectionString = "HostName=<hub_hostname>.azure-devices.net;SharedAccessKeyName=<shared_access_policy>;SharedAccessKey=<shared_access_key>";

Option 1:
var endpoint = new Uri("http:<hub_hostname>.azure-devices.net");
var credential = new IotHubSasCredential("shared_access_policy", "shared_access_key", TimeSpan.FromMinutes(5));
var client = new IotHubServiceClient(endpoint, credential);

Option 2:
var client = new IotHubServiceClient(connectionString);

We want to encourage customers to use Option 1, so that they can be familiarized with passing in a Uri endpoint and credential type to the client constructor.

I can see many potential candidates for Unit tests. Please make sure we have good unit test coverage.

LGTM, Please include unit tests around internal code

Thanks for the review, @azabbasi ; the unit tests are coming in the next PR.


Error in incremental model using a field name called location

We have an incremental model with a filed name that called location.
It seems to be a reserved name in impala so we create the table with the following command:
,cast(s.`location` as string) `location`

This seems to work in impala but it fails in dbt while using incremental model because dbt an insert creates a script which use location without the quotes.
error:
11:58:34    Encountered: LOCATION
11:58:34    Expected: DEFAULT, IDENTIFIER
11:58:34
11:58:34    CAUSED BY: Exception: Syntax error

Example from the compiled code
insert into table_name (location)
(select location from table_name__dbt_tmp)

Versions:
dbt-core 1.4.9
dbt-impala 1.4.0

Apparently, "location" is a keyword in Impala: https://impala.apache.org/docs/build/html/topics/impala_reserved_words.html
Probably the solution would be to add quote to the fields.

Using the quotes works for normal tables:
    config(
        materialized='table'
    )

It fails however in incremental moldes
    config(
        materialized='incremental'
    )

The quotes are not passed in the select clause in the insert statement from the temp to the table
insert into table_name (location)
(select **location** from table_name__dbt_tmp)

Is there any workaroud/dbt-macro for passing the quotes?


[lit-starter-js] Lit 2.0 issues - Serve, Test

Hey,

npm run serve works fine at the beginning but fails after running npm run docs.

I receive this error: "cp is not found"

When running npm test I receive

After running npm run docs I always receive not found (404)

@AndrewJakubowicz Please verify if this is fixed and close if so.

I'll close this for now. If it's still an issue, we can re-open.


Legacy system wind-down strategy & game plan

Need to itemize all the things that need to be turned off, and understand what is dependent on those things.

This is the strategy doc! https://docs.google.com/document/d/18T655upPe_93W4_026hZhbUb5pXlXngBh8GL6fzInfo/edit#heading=h.2po3uy3prmmg


(v3) AttributeError in session.get_containers and get_instruments

overview
I'm unable to call session.get_intruments() and session.get_containers() via RPC, but I don't think it's RPC specific. It also may be related to the API setup problems I was having this morning (2017-10-02).
This issue is for:

[X] Bug
[X] API
[X] v3.x.x
[X] All OSes

expected or desired behavior
Calling session.get_containers() and session.get_instruments() should return containers and instruments.
actual behavior
Both methods error out for me:

get_instruments: AttributeError: 'Container' object has no attribute 'name'
get_containers: AttributeError: 'Pipette' object has no attribute 'get_name'

steps to reproduce problem
In app/ui/robot/api-client/client.js, I added the following debugging lines to handleApiSession:
  function handleApiSession (apiSession) {
    const {name, protocol_text, commands, command_log, state} = apiSession
    const protocolCommands = []
    const protocolCommandsById = {}

    apiSession.get_instruments()
      .then((instruments) => console.log('instruments', instruments))
      .catch((error) => console.error('error getting instruments', error))

    apiSession.get_containers()
      .then((instruments) => console.log('containers', instruments))
      .catch((error) => console.error('error getting containers', error))

    // ...

The errors will print in the log after uploading a protocol

Fixed in 7e7b29820ebe932303fe46d568bdd9cee7ee7a6e please confirm

Confirmed fixed


Master => develop

Merge latest release back into develop

Builds ready [20d4a2b]builds: chrome, firefox, opera
bundle viz: background, ui, portal-inpage, portal-contentscript, ui-libs, bg-libs, phishing-detect
dep viz: background
all artifacts


Migrate from deprecated gradle getGenerateBuildConfig to buildFeatures

Currently, the library is using getGenerateBuildConfig in the Android build.gradle.
That method is now deprecated in favour of buildFeatures.buildConfig.
> Configure project :flutter_custom_tabs
WARNING:API 'variant.getGenerateBuildConfig()' is obsolete and has been replaced with 'variant.getGenerateBuildConfigProvider()'.
It will be removed in version 7.0 of the Android Gradle plugin.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
REASON: Called from: /Users/davidmigloz/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-1.0.2/android/build.gradle:37
WARNING: Debugging obsolete API calls can take time during configuration. It's recommended to not keep it on at all times.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

@davidmigloz
Sorry for the late reply.
Thanks for the PR!!


Rename github repository

It seems like this repository should be renamed from girder_db_items to database_assetstore.  I think that @ronichoudhury, @aashish24, and @dorukozturk are using it, so I'd like to make sure this won't break their process too badly if it is renamed.

My process involves Ansible cloning this repository into Girder's plugins directory, using database_assetstore as the name of the cloned directory. In other cases I clone the directory by hand (omitting the rename bit by force of habit) then symlinking it to database_assetstore in the plugins directory. In both cases, renaming this repo would be welcome.

I think the renaming makes sense for the plugin as it stands, but @zachmullen's comment in Girder (https://github.com/girder/girder/pull/1559#issuecomment-244990293) makes me think there first needs to be a discussion of where this is headed, or else another rename may be required.

Done.  Another rename may be required, but github will handle the redirection, so it shouldn't be a big deal.


Payment issue

addPaymentSource
TypeError: Cannot read property 'val' of undefined at exports.addPaymentSource.functions.database.ref.onWrite.event (/user_code/index.js:70:28) at Object. (/user_code/node_modules/firebase-functions/lib/cloud-functions.js:112:27) at next (native) at /user_code/node_modules/firebase-functions/lib/cloud-functions.js:28:71 at __awaiter (/user_code/node_modules/firebase-functions/lib/cloud-functions.js:24:12) at cloudFunction (/user_code/node_modules/firebase-functions/lib/cloud-functions.js:82:36) at /var/tmp/worker/worker.js:728:24 at process._tickDomainCallback (internal/process/next_tick.js:135:7)

@alexabbott

Any idea???
@alexabbott


fix(vite.config): mdi icon convert camelCase to kebab-case

When the previous solution encounters mdiBattery80, it will be converted to mdi-battery-8-0.
When using mdi-battery-80, an error that the icon cannot be found will be prompted.
This solution first converts uppercase letters and then matches one or more numbers.
There are some weird names here, such as mdiBattery10Bluetooth.  : )

Thank you very much!


Bottom bar doesn't show on warnings

The bottom bar pops up when you have an error, but it doesn't show if you have a warning.

https://github.com/rainlizard/ScriptNameOnTop/commit/ebcea2872d4dcb16977a5146107220d4883c1bfd
I've added a constant for it, set WARNINGS_SHOW_BOTTOM_BAR to true. But I wouldn't use this myself since warnings are already present in the debugger and this just causes the bottom bar to constantly be visible for those who only clear out all the warnings once in a blue moon.

Thanks.  I like having these pop up as I'm writing the code, not just when it runs.


[Mobile clients]Links to come in a markdown format

Issue description: In attempts to display IPs with hyperlinks within Adaptive card, the mobile app does not convert Markdown format text and displays raw string.
Please see attachment below, Network(s) column
While on the desktop version the IPs are formatted and displayed correctly.

@shalinijoshi19

@paulcam206 / @jwoo-msft this again seems to be another instance of #1984. Specifically for iOS or Android do markdown style hyperlinks not work ? @anbah34 what renderer platform are you using in your app on the desktop again?

@anbah34 can you share your json payload here?
thanks

@paulcam206 / @jwoo-msft this again seems to be another instance of #1984. Specifically for iOS or Android do markdown style hyperlinks not work ? @anbah34 what renderer platform are you using in your app on the desktop again?

It's hard to tell what's going on without the actual payload. It's probably due to some characters inside markdown link.

@anbah34 / @VikrantSingh01 this is another one that we are requesting more data for - Do you happen to have the json payload for this at all?

@anbah34 / @VikrantSingh01 this is another one that we are requesting more data for - Do you happen to have the json payload for this at all?

@shalinijoshi19
I went ahead and manually type the string from the image to the sample app. I couldn't repo this issue.

@anbah34 Could you please follow up with the repro steps. Especially, a payload, please?

@anbah34 as we have discussed. This is no repro. Please re-open the issue if this issue re-occurs.


Align transcript and speech (US + UK)

Hi All,
Thank you for this amazing repo really nice work!
We wish to align transcript and speech (english UK + US) what is the correct way to do it?
If it's possible we prefer to use ARPA phone set.
Thank you in advance!
@yochaiye

Just to add - we tried to used Use Case 1 with the English MFA dictionary v2_0_0 which covers both UK and US English, but this dictionary does not cover many words included in our dataset

Ok, I've added a new Use Case 2 here: https://montreal-forced-aligner.readthedocs.io/en/latest/first_steps/index.html#use-cases, with some extra functionality for expanding pronunciation dictionaries in 2.2.3, so if you update to that and run through the steps there, you should be able to expand out any of the pretrained dictionaries.
I will say that I do not recommend ARPA for UK English, given that it's only been trained on 1K hours of US English and ARPA only makes sense for US English, so I would not be surprised to see it struggle with r-lessness.  The English MFA model has more UK English and world Englishes training data (though it is still slanted towards US dialects, which I'm hoping to address a bit in a new release soon ish).  The English MFA dictionary contains all pronunciations for all dialects, so if you want to constrain the pronunciation space to just UK English for your UK speakers and just US for your US speakers, you can specify per-speaker dictionaries: https://montreal-forced-aligner.readthedocs.io/en/latest/user_guide/dictionary.html#per-speaker-dictionaries for use with the English MFA model.
Hope that helps!

Thank you @mmcauliffe  for your fast response.
For the phase of creating OOVS file by running:
mfa g2p ~/mfa_data/my_corpus english_us_arpa ~/mfa_data/g2pped_oovs.txt --dictionary_path english_us_arpa
What is the expected structure for the corpus file? one unified txt file with multiple lines for each sample? single line with all text? (if it's non of the above please help us understand what is the correct structure)
Thanks.

The general format for corpora in MFA is https://montreal-forced-aligner.readthedocs.io/en/latest/user_guide/corpus_structure.html, but for the g2p command it'll use any text files (.txt, .lab, and .TextGrid) you have in the corpus directory for constructing the word list to run G2P on.

Thank you for your response @mmcauliffe.
Our dataset contains a mix of English US and UK without the metadata of which sample is US/UK.
I guess there is no g2p that handles such case so I wonder which use case we should follow. Would that still be case 2 or maybe case 5 is what we are looking for?