text:
no pointcloud message published

Hi, I have a disparity image but when I run ros2 topic hz /points2, there is no output.

I attempted to use the zed2 camera's disparity image instead of isaac ros disparity image for the pointcloud and still, theres no output
[component_container-1] [INFO] [1671096454.236553058] [disparity.disparity_container]: Load Library: /isaac_ros/install/isaac_ros_stereo_image_proc/lib/libpoint_cloud_node.so
[component_container-1] [INFO] [1671096454.290832296] [NitrosContext]: [NitrosContext] Creating a new shared context
[component_container-1] [INFO] [1671096454.291127438] [disparity.disparity_container]: Found class: rclcpp_components::NodeFactoryTemplate<nvidia::isaac_ros::nitros::NitrosNode>
[component_container-1] [INFO] [1671096454.291191471] [disparity.disparity_container]: Found class: rclcpp_components::NodeFactoryTemplate<nvidia::isaac_ros::stereo_image_proc::PointCloudNode>
[component_container-1] [INFO] [1671096454.291204752] [disparity.disparity_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<nvidia::isaac_ros::stereo_image_proc::PointCloudNode>
[component_container-1] [INFO] [1671096454.298994417] [NitrosNode]: [NitrosNode] Initializing NitrosNode
[component_container-1] [INFO] [1671096454.299896196] [NitrosNode]: [NitrosNode] Starting NitrosNode
[component_container-1] [INFO] [1671096454.299940485] [NitrosNode]: [NitrosNode] Loading built-in preset extension specs
[component_container-1] [INFO] [1671096454.302319926] [NitrosNode]: [NitrosNode] Loading built-in extension specs
[component_container-1] [INFO] [1671096454.302443417] [NitrosNode]: [NitrosNode] Loading preset extension specs
[component_container-1] [INFO] [1671096454.303043941] [NitrosNode]: [NitrosNode] Loading extension specs
[component_container-1] [INFO] [1671096454.303087686] [NitrosNode]: [NitrosNode] Loading generator rules
[component_container-1] [INFO] [1671096454.303101542] [NitrosNode]: [NitrosNode] Loading extensions
[component_container-1] [INFO] [1671096454.303505551] [NitrosNode]: [NitrosContext] Loading extension: gxf/std/libgxf_std.so
[component_container-1] [INFO] [1671096454.306754354] [NitrosNode]: [NitrosContext] Loading extension: gxf/multimedia/libgxf_multimedia.so
[component_container-1] [INFO] [1671096454.307192507] [NitrosNode]: [NitrosContext] Loading extension: gxf/cuda/libgxf_cuda.so
[component_container-1] [INFO] [1671096454.308719227] [NitrosNode]: [NitrosContext] Loading extension: gxf/serialization/libgxf_serialization.so
[component_container-1] [INFO] [1671096454.310751653] [NitrosNode]: [NitrosContext] Loading extension: gxf/libgxf_point_cloud.so
[component_container-1] [INFO] [1671096454.360456748] [NitrosNode]: [NitrosContext] Loading extension: gxf/libgxf_synchronization.so
[component_container-1] [INFO] [1671096454.361779623] [NitrosNode]: [NitrosNode] Loading graph to the optimizer
[component_container-1] [INFO] [1671096454.365073195] [NitrosNode]: [NitrosNode] Running optimization
[component_container-1] [INFO] [1671096454.401619393] [NitrosNode]: [NitrosNode] Obtaining graph IO group info from the optimizer
[component_container-1] [INFO] [1671096454.402546580] [NitrosNode]: [NitrosNode] Creating negotiated publishers/subscribers
[component_container-1] [INFO] [1671096454.415402399] [NitrosNode]: [NitrosNode] Starting negotiation...
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/NitrosNode' in container '/disparity/disparity_container'
[component_container-1] [INFO] [1671096454.532808449] [NitrosContext]: [NitrosContext] Loading application: '/isaac_ros/install/isaac_ros_nitros/share/isaac_ros_nitros/config/type_adapter_nitros_context_graph.yaml'
[component_container-1] [INFO] [1671096454.533977594] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096454.593242694] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096454.594240987] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096454.718856371] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096454.799840418] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096454.925754421] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096454.987113326] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096454.998402840] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096455.004442005] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096455.005244262] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096455.130424842] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096455.131536513] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096455.198594895] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096455.199588740] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096455.331221614] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096455.332248131] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096455.400106979] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096455.401147224] [NitrosNode]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container-1] [INFO] [1671096455.416188848] [NitrosNode]: [NitrosNode] Starting post negotiation setup
[component_container-1] [INFO] [1671096455.416289618] [NitrosNode]: [NitrosNode] Getting data format negotiation results
[component_container-1] [INFO] [1671096455.416315859] [NitrosNode]: [NitrosPublisher] Negotiation failed
[component_container-1] [INFO] [1671096455.416329267] [NitrosNode]: [NitrosPublisher] Use only the compatible publisher: topic_name="/points2", data_format="nitros_point_cloud"
[component_container-1] [INFO] [1671096455.416344659] [NitrosNode]: [NitrosSubscriber] Negotiation failed
[component_container-1] [INFO] [1671096455.416354291] [NitrosNode]: [NitrosSubscriber] Use the compatible subscriber: topic_name="/zed2i/zed_node/disparity/disparity_image", data_format="nitros_disparity_image_32FC1"
[component_container-1] [INFO] [1671096455.416364276] [NitrosNode]: [NitrosSubscriber] Negotiation failed
[component_container-1] [INFO] [1671096455.416371316] [NitrosNode]: [NitrosSubscriber] Use the compatible subscriber: topic_name="/zed2i/zed_node/left_rgb/image_rect_color", data_format="nitros_image_bgr8"
[component_container-1] [INFO] [1671096455.416380052] [NitrosNode]: [NitrosSubscriber] Negotiation failed
[component_container-1] [INFO] [1671096455.416387028] [NitrosNode]: [NitrosSubscriber] Use the compatible subscriber: topic_name="/left/camera_info", data_format="nitros_camera_info"
[component_container-1] [INFO] [1671096455.416394740] [NitrosNode]: [NitrosSubscriber] Negotiation failed
[component_container-1] [INFO] [1671096455.416401012] [NitrosNode]: [NitrosSubscriber] Use the compatible subscriber: topic_name="/right/camera_info", data_format="nitros_camera_info"
[component_container-1] [INFO] [1671096455.416481334] [NitrosNode]: [NitrosNode] Exporting the final graph based on the negotiation results
[component_container-1] [INFO] [1671096455.466887531] [NitrosNode]: [NitrosNode] Wrote the final top level YAML graph to "/isaac_ros/install/isaac_ros_stereo_image_proc/share/isaac_ros_stereo_image_proc/CQWAUQOGNS.yaml"
[component_container-1] [INFO] [1671096455.466981037] [NitrosNode]: [NitrosNode] Calling user's pre-load-graph callback
[component_container-1] [INFO] [1671096455.467007054] [NitrosNode]: [PointCloudNode] preLoadGraphCallback().
[component_container-1] [INFO] [1671096455.467041647] [NitrosNode]: [NitrosNode] Loading application
[component_container-1] [INFO] [1671096455.467057903] [NitrosNode]: [NitrosContext] Loading application: '/isaac_ros/install/isaac_ros_stereo_image_proc/share/isaac_ros_stereo_image_proc/CQWAUQOGNS.yaml'
[component_container-1] 2022-12-15 09:27:35.469 WARN  gxf/std/yaml_file_loader.cpp@459: Using unregistered parameter 'disparity_image_input' in component ''.
[component_container-1] 2022-12-15 09:27:35.469 WARN  gxf/std/yaml_file_loader.cpp@459: Using unregistered parameter 'rgb_image_input' in component ''.
[component_container-1] 2022-12-15 09:27:35.469 WARN  gxf/std/yaml_file_loader.cpp@459: Using unregistered parameter 'left_cam_input' in component ''.
[component_container-1] 2022-12-15 09:27:35.469 WARN  gxf/std/yaml_file_loader.cpp@459: Using unregistered parameter 'right_cam_input' in component ''.
[component_container-1] 2022-12-15 09:27:35.469 WARN  gxf/std/yaml_file_loader.cpp@459: Using unregistered parameter 'disparity_image_output' in component ''.
[component_container-1] 2022-12-15 09:27:35.469 WARN  gxf/std/yaml_file_loader.cpp@459: Using unregistered parameter 'rgb_image_output' in component ''.
[component_container-1] 2022-12-15 09:27:35.469 WARN  gxf/std/yaml_file_loader.cpp@459: Using unregistered parameter 'left_cam_output' in component ''.
[component_container-1] 2022-12-15 09:27:35.469 WARN  gxf/std/yaml_file_loader.cpp@459: Using unregistered parameter 'right_cam_output' in component ''.
[component_container-1] [INFO] [1671096455.469809864] [NitrosNode]: [NitrosNode] Linking Nitros pub/sub to the loaded application
[component_container-1] [INFO] [1671096455.469913802] [NitrosNode]: [NitrosNode] Calling user's post-load-graph callback
[component_container-1] [INFO] [1671096455.469967883] [NitrosNode]: [NitrosContext] Initializing applicaiton...
[component_container-1] [INFO] [1671096455.517049244] [NitrosNode]: [NitrosContext] Running appliation...

Could you post a snippet of your launch file? It looks like disparity is fine but PointCloudNode is not running correctly and receiving the disparity for publishing to /points2. It is not clear why PointCloudNode appears as "/NitrosNode" in rQT either.

def generate_launch_description():
    disparity_node = ComposableNode(
        name='disparity',
        package='isaac_ros_stereo_image_proc',
        plugin='nvidia::isaac_ros::stereo_image_proc::DisparityNode',
        parameters=[{
                'backends': 'CUDA',
                'max_disparity': 64.0,
        }],
        remappings=[('/left/image_rect', '/zed2i/zed_node/left_rgb/image_rect_color'),
                    ('/right/image_rect','/zed2i/zed_node/right_rgb/image_rect_color'),
                    ('/left/camera_info','/zed2i/zed_node/left/camera_info'),
                    ('/right/camera_info','/zed2i/zed_node/right/camera_info'),
                    ]
        )

    pointcloud_node = ComposableNode(
        package='isaac_ros_stereo_image_proc',
        plugin='nvidia::isaac_ros::stereo_image_proc::PointCloudNode',
        parameters=[{
                'use_color': True,
        }],
        remappings=[('/left/image_rect_color', '/zed2i/zed_node/left_rgb/image_rect_color'),
                    ('/disparity','/zed2i/zed_node/disparity/disparity_image')])

    container = ComposableNodeContainer(
        name='disparity_container',
        namespace='disparity',
        package='rclcpp_components',
        executable='component_container',
        composable_node_descriptions=[pointcloud_node],
        output='screen'
    )

Not launching disparity as i'm using the one from ZED.

Could you also post the part where you're launching the ZED node? There may be something about the disparity image that ZED is publishing that is incompatible with PointCloudNode. If you can post the output (truncated of course) of ros2 topic echo on the topic for ZED's disparity image: /zed2i/zed_node/disparity/disparity_image, that would be helpful to see if different fields are populated than we expected.

authors: MrOCW hemalshahNV


text:
Add a list slicing op

This adds an operator to slice rows of list columns. This will let us truncate list
column rows to only take the first N or last N items for instance.
Closes #734

Okay, I had to learn about writing CUDA kernels with Numba in order to understand this, but I read through it and it makes sense to me.

source: gharchive/pull-request

authors: benfred karlhigley

repo: NVIDIA/NVTabular

license_type: permissive

license_source: github-api


text:
print(logging_history) as as opposed to yield

https://github.com/AUTOMATIC1111/stable-diffusion-webui-extensions/pull/205#issuecomment-1766334220
this is a hotfix, consider it is just a code sample that will "suppress" the issue
this makes the user interface less pretty and makes the logs a bit unreadable leaving behind a currently useless output element
but at the very least it "makes it work" function over form

one major issue that I'm being experiencing randomly is this
it almost appear every time I try to export an engine
sometimes when this happens the process completely holds other times it continues I managed to get one successfully completed and use it to run sd with trt and I can say that it is significantly faster
but most of the time my engine fails to export, making this almost unusable
Building TensorRT engine for B:\GitHub\stable-diffusion-webui\models\Unet-onnx\Anime_Anything-V3.0_Anything-V3.0-fp16_Anything-V3.0-pruned-fp16_38c1ebe3.onnx
: B:\GitHub\stable-diffusion-webui\models\Unet-trt\Anime_Anything-V3.0_Anything-V3.0-fp16_Anything-V3.0-pruned-fp16_38c1ebe3_cc86_sample=1x4x64x64+2x4x64x64+
8x4x96x96-timesteps=1+2+8-encoder_hidden_states=1x77x768+2x77x768+8x154x768.trt
ERROR:asyncio:Exception in callback H11Protocol.timeout_keep_alive_handler()
handle: <TimerHandle when=355099.875 H11Protocol.timeout_keep_alive_handler()>
Traceback (most recent call last):
  File "B:\GitHub\stable-diffusion-webui\venv\lib\site-packages\h11\_state.py", line 249, in _fire_event_triggered_transitions
    new_state = EVENT_TRIGGERED_TRANSITIONS[role][state][event_type]
KeyError: <class 'h11._events.ConnectionClosed'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Programs\Python\3.10.6\lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "B:\GitHub\stable-diffusion-webui\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 363, in timeout_keep_alive_handler
    self.conn.send(event)
  File "B:\GitHub\stable-diffusion-webui\venv\lib\site-packages\h11\_connection.py", line 468, in send
    data_list = self.send_with_data_passthrough(event)
  File "B:\GitHub\stable-diffusion-webui\venv\lib\site-packages\h11\_connection.py", line 493, in send_with_data_passthrough
    self._process_event(self.our_role, event)
  File "B:\GitHub\stable-diffusion-webui\venv\lib\site-packages\h11\_connection.py", line 242, in _process_event
    self._cstate.process_event(role, type(event), server_switch_event)
  File "B:\GitHub\stable-diffusion-webui\venv\lib\site-packages\h11\_state.py", line 238, in process_event
    self._fire_event_triggered_transitions(role, event_type)
  File "B:\GitHub\stable-diffusion-webui\venv\lib\site-packages\h11\_state.py", line 251, in _fire_event_triggered_transitions
    raise LocalProtocolError(
h11._util.LocalProtocolError: can't handle event type ConnectionClosed when role=SERVER and state=SEND_RESPONSE

the engines does seem to be generated (saved to disk) but the profiles are just not created so webui doesn't see it
Cause and patch fix
as far that I can see this is caused by yield logging_history
I've made an edit to replace all  yield logging_history with print(logging_history) and it seems to work fine

Replaced yield by print and gr.Info in the hot_fix branch.
Please let me know if that version works for you. If that is the case, I'd close this PR.

tested as it works for me 👍

lol you beat me to it

authors: contentis w-e-w

repo: NVIDIA/Stable-Diffusion-WebUI-TensorRT

license: MIT


text:
Prelu and arange bugs🐛 [Bug] Encountered bug when using Torch-TensorRT

Bug Description

Prelu operator can not use normally，the output  data shape is incorrect.
aten::arange also with bugs that reports "upper bound and larger bound inconsistent with step sign".

To Reproduce

Expected behavior
In my opinion, the official need check some evaluators and converter implements，maybe not pass all test cases.
Environment

Build information about Torch-TensorRT can be found by turning on debug messages

Torch-TensorRT Version (e.g. 1.0.0):v1.0.0
PyTorch Version (e.g. 1.0):1.10
CPU Architecture:x86_64
OS (e.g., Linux):Linux
How you installed PyTorch (conda, pip, libtorch, source): pip
Build command you used (if compiling from source):
Are you using local sources or building from archives:
Python version:3.6.8
CUDA version:11.3
GPU models and configuration:
Any other relevant information:

Additional context

Could you provide us python code which has your pytorch models (with input shapes) for us to reproduce?

source: gharchive/issue

repo: NVIDIA/Torch-TensorRT


text:
Updating install docs with ORT version

Earth2Studio Pull Request
Description

ORT 1.18.0 seems to be causing some problems, updated to suggest 1.17.1
Checklist

[ ] I am familiar with the Contributing Guidelines.
[ ] New or existing tests cover these changes.
[ ] The documentation is up to date with these changes.
[ ] The CHANGELOG.md is up to date with these changes.
[ ] An issue is linked to this pull request.

Dependencies

/blossom-ci


text:
🐛[BUG]: Intermittent failures in test_healpix.py pytest.

Version
source - main
On which installation method(s) does this occur?
Docker
Describe the issue
The test_healpix.py can sometimes report a failure if run with the full pytest suite. This however passes if the test is executed individually. The error is similar to the issue here: https://github.com/Unidata/netcdf4-python/issues/1343. The discussion suggests issue with the particular netcdf version and potentially a newer version will help.
Downgrading the netcdf version to 1.6.5 also helps.
Minimum reproducible example
No response
Relevant log output
_______________________ test_open_time_series_on_the_fly _______________________

self = CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, '/data/nfs/modulus-data/datasets/healpix/merge/z1000.nc', mode=...r': True, 'diskless': False, 'persist': False, 'format': 'NETCDF4'}, manager_id='2509f805-6f7f-4ab1-952a-f9a698464d2c')
needs_lock = True

    def _acquire_with_cache_info(self, needs_lock=True):
        """Acquire a file, returning the file and whether it was cached."""
        with self._optional_lock(needs_lock):
            try:
>               file = self._cache[self._key]

/usr/local/lib/python3.10/dist-packages/xarray/backends/file_manager.py:211:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <xarray.backends.lru_cache.LRUCache object at 0x7fdf674382c0>
key = [<class 'netCDF4._netCDF4.Dataset'>, ('/data/nfs/modulus-data/datasets/healpix/merge/z1000.nc',), 'r', (('clobber', True), ('diskless', False), ('format', 'NETCDF4'), ('persist', False)), '2509f805-6f7f-4ab1-952a-f9a698464d2c']

    def __getitem__(self, key: K) -> V:
        # record recent use of the key by moving it to the front of the list
        with self._lock:
>           value = self._cache[key]
E           KeyError: [<class 'netCDF4._netCDF4.Dataset'>, ('/data/nfs/modulus-data/datasets/healpix/merge/z1000.nc',), 'r', (('clobber', True), ('diskless', False), ('format', 'NETCDF4'), ('persist', False)), '2509f805-6f7f-4ab1-952a-f9a698464d2c']

/usr/local/lib/python3.10/dist-packages/xarray/backends/lru_cache.py:56: KeyError

Environment details
No response

@daviddpruitt would you be able to look into this?

authors: ktangsali mnabian

repo: NVIDIA/modulus


text:
[auto-merge] branch-23.08 to branch-23.10 [skip ci] [bot]

auto-merge triggered by github actions on branch-23.08 to create a PR keeping branch-23.10 up-to-date. If this PR is unable to be merged due to conflicts, it will remain open until manually fix.

SUCCESS - auto-merge

repo: NVIDIA/spark-rapids-ml


text:
[BUG] GpuDeltaInvariantCheckerExec: Found an expression that shouldn't be here class org.apache.spark.sql.catalyst.expressions.Alias

Describe the bug
Customer query hit this:
: org.apache.spark.SparkException: Job aborted.
	at org.apache.spark.sql.rapids.GpuFileFormatWriter$.write(GpuFileFormatWriter.scala:267)
	at com.databricks.sql.transaction.tahoe.rapids.shims.GpuOptimisticTransactionBase.$anonfun$writeFiles$5(GpuOptimisticTransactionBase.scala:269)
	at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withCustomExecutionEnv$8(SQLExecution.scala:239)
	at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:386)
	at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withCustomExecutionEnv$1(SQLExecution.scala:186)
	at org.apache.spark.sql.SparkSession.withActive(SparkSession.scala:968)
	at org.apache.spark.sql.execution.SQLExecution$.withCustomExecutionEnv(SQLExecution.scala:141)
	at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:336)
	at com.databricks.sql.transaction.tahoe.rapids.shims.GpuOptimisticTransactionBase.writeFiles(GpuOptimisticTransactionBase.scala:228)
	at com.databricks.sql.transaction.tahoe.commands.WriteIntoDelta.liftedTree1$1(WriteIntoDelta.scala:321)
	at com.databricks.sql.transaction.tahoe.commands.WriteIntoDelta.write(WriteIntoDelta.scala:321)
	at com.databricks.sql.transaction.tahoe.rapids.shims.GpuWriteIntoDelta.$anonfun$run$1(GpuWriteIntoDelta.scala:44)
	at com.databricks.sql.transaction.tahoe.rapids.shims.GpuWriteIntoDelta.$anonfun$run$1$adapted(GpuWriteIntoDelta.scala:37)
	at com.databricks.sql.transaction.tahoe.rapids.shims.GpuDeltaLog.withNewTransaction(GpuDeltaLog.scala:56)
	at com.databricks.sql.transaction.tahoe.rapids.shims.GpuWriteIntoDelta.run(GpuWriteIntoDelta.scala:37)
	at com.nvidia.spark.rapids.delta.shims.GpuDeltaDataSource.createRelation(GpuDeltaDataSource.scala:57)
	at org.apache.spark.sql.execution.datasources.SaveIntoDataSourceCommand.run(SaveIntoDataSourceCommand.scala:47)
	at com.nvidia.spark.rapids.GpuExecutedCommandExec.sideEffectResult$lzycompute(GpuExecutedCommandExec.scala:51)
	at com.nvidia.spark.rapids.GpuExecutedCommandExec.sideEffectResult(GpuExecutedCommandExec.scala:49)
	at com.nvidia.spark.rapids.GpuExecutedCommandExec.executeCollect(GpuExecutedCommandExec.scala:60)
	at org.apache.spark.sql.execution.QueryExecution$$anonfun$$nestedInanonfun$eagerlyExecuteCommands$1$1.$anonfun$applyOrElse$1(QueryExecution.scala:160)
	at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withCustomExecutionEnv$8(SQLExecution.scala:239)
	at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:386)
	at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withCustomExecutionEnv$1(SQLExecution.scala:186)
	at org.apache.spark.sql.SparkSession.withActive(SparkSession.scala:968)
	at org.apache.spark.sql.execution.SQLExecution$.withCustomExecutionEnv(SQLExecution.scala:141)
	at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:336)
	at org.apache.spark.sql.execution.QueryExecution$$anonfun$$nestedInanonfun$eagerlyExecuteCommands$1$1.applyOrElse(QueryExecution.scala:160)
	at org.apache.spark.sql.execution.QueryExecution$$anonfun$$nestedInanonfun$eagerlyExecuteCommands$1$1.applyOrElse(QueryExecution.scala:156)
	at org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$transformDownWithPruning$1(TreeNode.scala:590)
	at org.apache.spark.sql.catalyst.trees.CurrentOrigin$.withOrigin(TreeNode.scala:168)
	at org.apache.spark.sql.catalyst.trees.TreeNode.transformDownWithPruning(TreeNode.scala:590)
	at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.org$apache$spark$sql$catalyst$plans$logical$AnalysisHelper$$super$transformDownWithPruning(LogicalPlan.scala:30)
	at org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper.transformDownWithPruning(AnalysisHelper.scala:268)
	at org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper.transformDownWithPruning$(AnalysisHelper.scala:264)
	at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDownWithPruning(LogicalPlan.scala:30)
	at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDownWithPruning(LogicalPlan.scala:30)
	at org.apache.spark.sql.catalyst.trees.TreeNode.transformDown(TreeNode.scala:566)
	at org.apache.spark.sql.execution.QueryExecution.$anonfun$eagerlyExecuteCommands$1(QueryExecution.scala:156)
	at org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper$.allowInvokingTransformsInAnalyzer(AnalysisHelper.scala:324)
	at org.apache.spark.sql.execution.QueryExecution.eagerlyExecuteCommands(QueryExecution.scala:156)
	at org.apache.spark.sql.execution.QueryExecution.commandExecuted$lzycompute(QueryExecution.scala:141)
	at org.apache.spark.sql.execution.QueryExecution.commandExecuted(QueryExecution.scala:132)
	at org.apache.spark.sql.execution.QueryExecution.assertCommandExecuted(QueryExecution.scala:186)
	at org.apache.spark.sql.DataFrameWriter.runCommand(DataFrameWriter.scala:959)
	at org.apache.spark.sql.DataFrameWriter.saveToV1Source(DataFrameWriter.scala:427)
	at org.apache.spark.sql.DataFrameWriter.saveInternal(DataFrameWriter.scala:338)
	at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:250)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:380)
	at py4j.Gateway.invoke(Gateway.java:295)
	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
	at py4j.commands.CallCommand.execute(CallCommand.java:79)
	at py4j.GatewayConnection.run(GatewayConnection.java:251)
	at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.IllegalArgumentException: Found an expression that shouldn't be here class org.apache.spark.sql.catalyst.expressions.Alias
	at com.nvidia.spark.rapids.GpuBindReferences$.$anonfun$postBindCheck$1(GpuBoundAttribute.scala:54)
	at com.nvidia.spark.rapids.GpuBindReferences$.$anonfun$postBindCheck$1$adapted(GpuBoundAttribute.scala:45)
	at org.apache.spark.sql.catalyst.trees.TreeNode.foreach(TreeNode.scala:363)
	at com.nvidia.spark.rapids.GpuBindReferences$.postBindCheck(GpuBoundAttribute.scala:45)
	at com.nvidia.spark.rapids.GpuBindReferences$.bindRefInternal(GpuBoundAttribute.scala:94)
	at com.nvidia.spark.rapids.GpuBindReferences$.bindGpuReference(GpuBoundAttribute.scala:101)
	at com.nvidia.spark.rapids.GpuBindReferences$.$anonfun$bindGpuReferences$1(GpuBoundAttribute.scala:111)
	at scala.collection.immutable.List.map(List.scala:297)
	at com.nvidia.spark.rapids.GpuBindReferences$.bindGpuReferences(GpuBoundAttribute.scala:111)
	at com.nvidia.spark.rapids.GpuProjectExec.doExecuteColumnar(basicPhysicalOperators.scala:154)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeColumnar$1(SparkPlan.scala:253)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:270)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:165)
	at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:266)
	at org.apache.spark.sql.execution.SparkPlan.executeColumnar(SparkPlan.scala:249)
	at com.databricks.sql.transaction.tahoe.rapids.shims.GpuDeltaInvariantCheckerExec.doExecuteColumnar(GpuDeltaInvariantCheckerExec.scala:48)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeColumnar$1(SparkPlan.scala:253)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:270)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:165)
	at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:266)
	at org.apache.spark.sql.execution.SparkPlan.executeColumnar(SparkPlan.scala:249)
	at com.nvidia.spark.rapids.GpuSortExec.doExecuteColumnar(GpuSortExec.scala:142)

I believe this is already fixed by #7455.  @tgravescs could you try running with a version that has that fix?

Verified with @tgravescs that this can be closed.

authors: jlowe tgravescs

repo: NVIDIA/spark-rapids


text:
Remove temporary logging and adjust test column names

Fixes #2494.
This removes the debug logging added in #2490.  It also adjusts the column names in test_round_robin_sort_fallback to disambiguate the schema from a very similar query being built in test_repartition_df.  As seen in the Dataproc test failures, the test that executes just before the one that fails ends up having the same schema, so it's not easy to tell if the test accidentally captured the plan from the previous query.  From the Dataproc test log before this change:
06:46:47  integration_tests/src/main/python/repart_test.py::test_repartition_df[4096-2345-[('a', Array(String))]][IGNORE_ORDER({'local': True})] PASSED [ 81%]
06:46:47  integration_tests/src/main/python/repart_test.py::test_round_robin_sort_fallback[[('a', Array(String))]][IGNORE_ORDER({'local': True}), ALLOW_NON_GPU(ShuffleExchangeExec,RoundRobinPartitioning)] FAILED [ 81%]

build


text:
Deploy integration-tests javadoc and sources

Deploy integration-tests Javadoc and sources to the Sonatype repo, otherwise, it will report below errors when closing the Sonatype staging jars:
"Event: Failed: Sources Validation"

"Event: Failed: Javadoc Validation"

Signed-off-by: Tim Liu timl@nvidia.com

build


text:
[Doc] Update gh-pages branch for 23.06.0 release [skip ci] [WIP]

Signed-off-by: liyuan yuali@nvidia.com
Merge changes from the main branch to gh-pages branch for v23.06.0 release.
View pages: https://nvliyuan.github.io/yuali-spark-rapids/docs/download.html
This pr will not be merged until the release is completed.

Found an issue in the config page, it cannot navigate to the advanced configs pages, I will wait for another pr draft by @HaoYang670 to fix it. Mark this pr as draft and WIP.

merge from upstream, verified advanced_config page works well.


text:
Using RTX Remix to enable DLSS and Reflex on any game

Compatibility in my opinion is Remix's biggest flaw right now. In gpu bound games where it only breaks them it would be nice to disable the pbr textures and ray tracing and use DLSS and Reflex to gain fps in those gpu bounds where remix can't do anything.

I guess this could be done in theory with how Remix is set up, though I'd question how useful it is as DLSS can only run on RTX cards (20 Series and up) whereas DXVK itself (which Remix is built on) only supports games using DirectX 11 and below (which hasn't been the latest version of DX for nearly 9 years now), so such things should run pretty well already on modern GPUs.
What games are you seeing that this would be useful on?

I'm on a 2080 super so it's not exactly a 4k card but it can do 60fps on dx9 games like l4d2 so when i first found out Remix wasn't compatible with it I saw that DLSS and Reflex in my case could still prove useful in giving me more input responsiveness but currently there is no way to disable ray tracing and the other features so the game becomes a broken eyesore.

Also another thing I forgot about, DLSS requires data from a game such as depth, normals and motion vectors. While this data does usually exist in most slightly more modern games it is non-trivial for Remix to know where these buffers are as Remix is more designed around replacing the entire renderer rather than adding on to it like something like ReShade would. As such there'd still be compatibility issues as not all games expose these buffers in easy to decipher ways (sometimes in non-trivial packed G-Buffer encodings etc).
Really a DLSS injector would be a better thing for a tool like ReShade to handle as it already has access to much of this data (though it may lack things like camera matrices for motion derivation) and compatibility with many games. Enabling Reflex would be doable for Remix though at least.

I see. Well. If anyone can do it surely the people that made the technology can. One can hope at least.

Yeah like I said it is possible to do, the compatibility just would not be very good and would require per-game configuration and may just not work with how some games render (which is pretty much the situation Remix is in right now, though it'd at least support D3D11 games and whatnot whereas Remix doesn't).
The concern more is just the large time investment to get such a thing working when it's not really what Remix is intended to do (Remix isn't a DLSS injector but rather a full renderer replacement). That's why Reflex injection would be more viable as unlike DLSS it doesn't need all this information from the game and could be easier to add in this way.

I mean.. isn't renderer replacement kinda what any DLSS injector would have to do anyway?
Like, I don't think it's something you can just casually sprinkle with reshade.
Btw reflex is really a fairly simple thing and it can already be enabled just about everywhere with specialK.

Thank you for reporting this issue and providing your insights. We appreciate your feedback and suggestions on enhancing RTX Remix. While adding DLSS and Reflex to games is an interesting idea, it falls outside the current design goals of Remix, which focuses on full renderer replacement rather than injecting specific features like DLSS.
Given the complexities and significant effort required for such modifications, we are closing this ticket for now. However, your input is valuable, and we will keep it in mind for future considerations.
Thank you for your understanding and continued support.

authors: NV-WendyGram anon-apple mirh rxsta

repo: NVIDIAGameWorks/rtx-remix


text:
[Runtime Bug]: rtx.captureHotKey = Not Working

Describe the bug
It looks like overwriting the rtx.conf command for rtx.captureHotKey = doesn't seem  to be working. I've been trying all different kinds of key strings to get it working, but it always defaults to CTRL, Shift, Q. I even tried removing the whitespaces from the custom string. For example,
rtx.captureHotKey = CTRL, Shift, P
rtx.captureHotKey = CTRL,SHIFT,P
rtx.captureHotKey = ALT, P
rtx.captureHotKey = I, O, P
It's strange because the game will allow me to capture through the GUI and the default shortcut, but won't allow capture through my custom command.
I had a brief conversation with NV_Mark in Discord who was very kind/helpful in  taking a peak at the problem and agreed that the behavior was not expected, and believed it perhaps had something to do with https://github.com/NVIDIAGameWorks/dxvk-remix/blob/main/src/util/config/config.cpp#L1316 .
How do you reproduce the bug?
Open rtx.conf, write a line rtx.captureHotKey = with any key combination available in the https://github.com/NVIDIAGameWorks/dxvk-remix/blob/3851ec6eb4ec0537288fb55588c22cdc662675a5/src/util/util_keybind.h#L86 directory. Launch game with remix, and see that your custom command won't generate a capture.
What is the expected behavior?
To allow our custom key to generate a capture.
Version
main+3851ec6e
Logs
remix-dxvk.log
d3d9.log
Crash dumps
No response
Media

REMIX-3648 for tracking

authors: NV-LL skurtyyskirts


text:
update 0610 and 1721 ACS data for 2022 build

changes

many changes are related to previous manual data update for 2020
replace use of poetry process with requirements.txt
generalize update action/script so it isn't limited to 2020
add data for 2017 - 2021 (aka 2021) ACS data for the manual update
simplify dev container
fix test_metadata.py
update .gitignore and remove ad-hoc .gitignore approaches in init files
add example.env file

notes

Manual update run that generated 2021 ACS data

compared several variables in output to those in  Population Team's excel file and they align

Manual update run that generated new 2010 ACS data

compared to old data in edm-publishing and new values are 1.2542905 higher than old values

many changes here are from Andrew, Jingyi, and Sasha and were used to generate 2020 data. the last commit from their work was on August 3, 2022
previous 2010 data has been archived in edm-publishing by placing it in a 3-1-22 folder next to the new output. there was already a 10-6-21 folder

cc @fvankrieken for visibility on a recent not-small PR

repo: NYCPlanning/db-factfinder


text:
DSD-1386 & DSD-1388: new grays and better dark mode color values

Fixes JIRA ticket DSD-1386 & DSD-1388
This PR does the following:

Adds ui.gray.semi-medium and ui.gray.semi-dark to the color palette.
Updates the dark.ui.border.default design token to use ui.gray.semi-dark as its base.
Updates the dark.ui.border.hover design token to use ui.gray.semi-medium as its base.
Updates the dark.ui.disabled.primary design token to use ui.gray.dark as its base.
Updates the dark.ui.disabled.secondary design token to use ui.gray.x-dark as its base.
Updates the Toggle component to use ui.gray.semi-dark color for its background color.
Updates the List and StyledList components to use ui.gray.semi-dark for the bullet color in the "ul" variant.
Updates the Slider component to use ui.bg.active for the color of the track bar in the "disabled" state.

NOTE: Some additional updates are sprinkled throughout this update to cleanup and improve dark mode color values.
How has this been tested?

local Storybook

Accessibility concerns or updates

The new gray colors were added to give better options to meet color contrast compliance.

Checklist:

[ ] I have updated the Storybook documentation accordingly.
[ ] I have added relevant accessibility documentation for this pull request.
[ ] All new and existing tests passed.

Front End Review:

[ ] Review the Vercel preview deployment once it is ready.

The update looks good but one question, should the two new semi- colors be added in the "Colors" doc?

@EdwinGuzman Yes!  Good catch.  I thought about this while I was working, but then I got antsy and pushed the PR before I took care of it.

repo: NYPL/nypl-design-system


text:
inline keyboard support ?

https://core.telegram.org/bots/2-0-intro#new-inline-keyboards

Yes! Just updated module

Great! Thank you!

Sorry, but it seems to be that original scope methods don't work when calling in an inline keyboard's callback functions

(

Is there support for callback_data?
as well as Updating messages?
Can you show an example of inline buttons for the following situation?
-User types /command
-bot responds with inline keyboard [ desktop, tablet, mobile],
-user picks one
-bot saves response and updates message with more inline buttons [highest, medium, smallest],
-user picks again
-bot asks for a URL
-user enters url
-bot does stuff based on the given parameters
I am trying to log the button response, but can't seem to figure it out
  {
                text: '1',
                callback_data : '1',
                callback: ($) => {
                    console.log($.message.text)
                   // does not retrieve '1' like expected.
                }
  },

authors: Naltox paOol rsklyar vbifonixor

repo: Naltox/telegram-node-bot

license: mit

license_source: bigquery


text:
Support the Eloquent retrieved event

Eloquent added a retrieved event in 5.5 that we need to support as well.

Fixed in 0.8.5

repo: Nanigans/single-table-inheritance


text:
a mistyped error

https://github.com/NanoMichael/MicroTeX/blob/e3199b8b80d58717440a506fc7523d9f01b49bd6/src/atom/atom_char.cpp#L34
'it' is not belonged to symbolFormulaMappings, is the statement always true?

You are right. This code is searching in the cache to see if a 'SymbolAtom' has already been created, which does not affect the main process 😄.
By the way, the master branch is going to be deprecated, if you're interested, take a look at openmath branch.

authors: NanoMichael yifungkhong

repo: NanoMichael/MicroTeX


text:
Add missing ConfigureAwait(false) to avoid locking in case of paralle…

Hello guys,
I have added a ConfigureAwait(false) to the LoadAsync method because in case of parallel test execution the LoadAsync().Result call caused dead lock.
BTW it is strange why the Load method of the base class is not async.
Thanks,
Tamas

Sure thing


text:
Need to generate unique event ids rather than supply them as API arguments

The API call defined in index.js:91 currently requires that an eventid is passed in order to add the event to the database. We need to figure out a way to generate unique ids (and either change this API call or pass it into this API call)

In the Professor-sites branch, I made some changes to highlight what handling this would look like. Namely, I installed the node package uuid in order to generate IDs, and changed the database structure accordingly. At this point, we need to use the uuids to verify that REST API calls are being made by valid users (e.g. when add_events is called, send the uuid as well to make sure that the user is a class_admin of class classid before adding the event.). When login attempts are successful, a uuid will be returned and should be stored in localStorage.

This is implemented now in master, and is being done using MySQL's auto increment feature, which should guarantee that event ids are unique. These will be retrieved upon a call to get_events so they can be updated using the retrieved id.


text:
🛑 LRC BINUS SCHOOL Serpong is down

In c001ca8, LRC BINUS SCHOOL Serpong (http://serpong.binus-school.net/Library/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: LRC BINUS SCHOOL Serpong is back up in 557cf9e.

repo: NatanaelGeraldoS/BINUSWeb


text:
ModuleNotFoundError: No module named 'cv2.img_hash'; 'cv2' is not a package

ModuleNotFoundError: No module named 'cv2.img_hash'; 'cv2' is not a package

FAQ
推荐阅读《提问的智慧》

authors: JMBanDao NateScarlet

repo: NateScarlet/auto-derby


text:
Trying to contribute

Hi @NathanWalker ,
I need your module to work with angular-cli but it doesn't work with the last version, i modified the module that i made, largely inspired by yours, to make it work with latest version of angular. You can find it here:
https://github.com/rhanbIT/nativescript-ng2-cli-magic
There is also a problem with the template you were using to create the nativesript project so i created a new one:
https://github.com/rhanbIT/nativescript-ng2-cli-magic-template
I would like to include tests and everything to make it right but following your contributing's guideline npm test doesn't work, any steps actually worked.
Could i have some guidenance?
I propose myself to maintain the module i created which is yours but only for angular-cli (i unfortunately don't have enough time to maintain for all types of projects).
Cheers from France

Forget to tell you about my config:
Node v6.6.0
Npm v3.10.3
I also implemented the auto installation of nativescript-sass if the file angular-cli.json specify that the project use sass. But i still change the extension file in StyleUrls to .css since NativeScript doesn't support .sass directly.

Is this project still live?

Hi @rhanbIT thank you so much helping here.
I had paused some developments here mainly because I hope some tighter integrations can occur with angular cli soon per: https://github.com/angular/angular-cli/issues/698#issuecomment-271227616
However it's hard to say how soon that may happen so it would probably be worth updating a few things to make sure it's compliant with latest cli. I am very busy at moment while also preparing to move from OR > CA so won't be much help for another month, but could definitely entertain some PR's.
@Jonatthu please take the above into consideration; definitely still live if a PR could be provided allowing it to be compliant with latest cli version with hopes that within a couple months the issue stated above will provide more direct integration with angular cli (which was my hope all along before I created this plugin).

Fixed here, note new repo and install:
https://github.com/wwwalkerrun/nativescript-ngx-magic

authors: Jonatthu NathanWalker rhanbIT


text:
When parsing avr8eind.sla, use DEFAULT_REGISTER_SPACE instead of the one defined.

When parsing ghidra_9.1-BETA_DEV/Ghidra/Processors/Atmel/data/languages/avr8eind.sla, the DEFAULT_REGISTER_SPACE is used instead of the one defined in the sla file. Is this intended behaviour?
The file avr8eind.sla contains the following spaces:
<spaces defaultspace="code">
<space_other name="OTHER" index="1" bigendian="false" delay="0" size="8" physical="false"/>
<space_unique name="unique" index="2" bigendian="false" delay="0" size="4" physical="true"/>
<space name="code" index="3" bigendian="false" delay="1" size="3" wordsize="2" physical="true"/>
<space name="register" index="4" bigendian="false" delay="1" size="1" physical="true"/>
<space name="mem" index="5" bigendian="false" delay="1" size="2" physical="true"/>
</spaces>

We are looking at the register space. Because it has delay 1, it is assigned RAM type instead of REGISTER
https://github.com/NationalSecurityAgency/ghidra/blob/23d1e9ad22b875d68c70b6d22cb74767cf03be3e/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/SleighLanguage.java#L903-L910
So here, the DEFAULT_REGISTER_SPACE is used, because there is no space with REGISTER type:
https://github.com/NationalSecurityAgency/ghidra/blob/49c2010b63b56c8f20845f3970fedd95d003b1e9/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/DefaultAddressFactory.java#L115-L117
To Reproduce

download ghidra_9.1-BETA_DEV
./ghidraRun
open sla file.

Expected behavior
Not sure, but I would expect the register space of the SLA file to be used.
Environment (please complete the following information):

OS: macOS
Ghidra Version: ghidra_9.1-BETA_DEV

FYI: same holds for avr8.sla, avr8e.sla and avr8eind.sla.
No other sla files have this problem.

Looks like the issue is with the definition of the register space in the .sinc file: define space register type=ram_space size=1;

The register space has been moved out of a ram_space to a register_space.
The change is in master and the upcoming 9.2 release.
This was changed with the addition of support for the xmega chip and the movement of the generic registers out of memory on the xmega.

authors: GhidorahRex emteere felberj

repo: NationalSecurityAgency/ghidra


text:
Parallel decompiler/disassembler performance

This p/r has 3 commits which do the following:
1.) Remove synchronized bottlenecks in ContextCache and SleighLanguage
2.) store HighFunction.func.getEntryPoint() and HighFunction.func.getEntryPoint().getAddressSpace() to avoid expensive hits to the database lock.

#6649 is an issue solved by the first commit
#2791 has some old discussion on bottlenecks in parallel decompilation that the changes here mitigate (but not completely remove)


text:
Create new "My Skills" page

ability to view your progress and ranking in the dashboard for all projects that play with SkillTree - will eventually serve as the new landing page.

PR: #303

:+1:

authors: rmmayo sudo-may

repo: NationalSecurityAgency/skills-service


text:
Problem using firebase CompletionListener

This is the doc :
https://www.firebase.com/docs/android/guide/saving-data.html
ref.setValue("I'm writing data", new Firebase.CompletionListener() {
    @Override
    public void onComplete(FirebaseError firebaseError, Firebase firebase) {
        if (firebaseError != null) {
            System.out.println("Data could not be saved. " + firebaseError.getMessage());
        } else {
            System.out.println("Data saved successfully.");
        }
    }
});

Here's my nativescript code (dont use extend but directly using new and not extend as suggested) :
        var complete = new com.firebase.client.Firebase.CompletionListener({
            onComplete: function (err, firebase) {
                console.log('complete');
            }
        });
        _ref.child(url).setValue(object,complete);

The error is
com.tns.NativeScriptException:
Calling js method onClick failed

Error: com.firebase.client.FirebaseException: Failed to parse node with class class com.tns.gen.com.firebase.client.Firebase_CompletionListener_fservice_firebase_l221_c24__
    com.firebase.client.snapshot.NodeUtilities.NodeFromJSON(NodeUtilities.java:84)
    com.firebase.client.snapshot.NodeUtilities.NodeFromJSON(NodeUtilities.java:12)
    com.firebase.client.snapshot.PriorityUtilities.parsePriority(PriorityUtilities.java:29)
    com.firebase.client.Firebase.setValue(Firebase.java:268)
    com.tns.Platform.callJSMethodNative(Native Method)
    com.tns.Platform.dispatchCallJSMethodNative(Platform.java:812)
    com.tns.Platform.callJSMethod(Platform.java:711)
    com.tns.Platform.callJSMethod(Platform.java:690)
    com.tns.Platform.callJSMethod(Platform.java:680)

How to make it work or there's limitation in using class from java?
Thanks

Here's another reference but WORK, so I dont understand what I done wrong :)
    var auth = new com.firebase.client.Firebase.AuthResultHandler({
        onAuthenticated(authdata) {
            console.log('success');
        },
        onAuthenticationError(err) {
            console.log('failed');
        }
    });
    _ref.authWithPassword("jenny@example.com", "correcthorsebatterystaple", auth);

the doc is from https://www.firebase.com/docs/android/guide/user-auth.html

Hi @x4080
This doesn't seem to be {N} related. As far as I can see you call correctly the Firebase API. Also, it seems that FirebaseException indicates that it is an application error rather than {N} error. I dig a little and found this link https://groups.google.com/forum/#!topic/firebase-talk/lmWMY89urjc
Also, probably it is good idea to take a look at this plugin https://github.com/EddyVerbruggen/nativescript-plugin-firebase. You can find more info at https://www.firebase.com/blog/2016-01-11-getting-started-with-nativescript-firebase.html
HTH

Thanks for the answer, the link you gave me said the error is because of updatechildren and not because of set like i do, and he suggested that set is the way to go
And for the plugin, i think it just use try exxept and not the native server checking
But thanks anyeay

repo: NativeScript/android-runtime


text:
ImagePicker works with ImageAsset instead of ImageSource

Images and thumbs will be of type ImageAsset instead of ImageSource.
Thumb property of type ImageSource is deprecated, thumbAsset should be used instead.

Resolved with https://github.com/NativeScript/nativescript-imagepicker/pull/49 #49

repo: NativeScript/nativescript-imagepicker


text:
Add crash reporting

Consider making a plugin Crashlytics or a similar crash reporting tool.

See how we can report the JS call stack.

we can use Telerik analytics for this.

We can't add robust crash reporting for iOS at the current moment.

will we have it for Android?

Yes, it is enabled for Android and reports unhandled errors for iOS.

I've create a fabric plugin for nativescript. It supports basic Crashlytics usage and has also iOS support in the develop version.
I plan to release version 0.1.0 with stable API in january with support for iOS and Android.
If anyone would like to support the development, feel free to sent PR and/or donations ;)

just to note: I've published a new version of my plugin. It now supports Crashlytics on iOS and Android with TypeScript support

@hypery2k Is it also possible to use with NS + plain JS? (we're not using TS or Angular)

authors: PanayotCankov PieterAelse hamorphis hypery2k valentinstoychev


text:
non angular version please..

when can we expect -- Feature request

Hi @narayananl23,
We have plans to create such an app, which provides non-angular samples.
Unfortunately, I cannot commit to an exact time frame when this will be ready, but we will work on it for some of the next NativeScript releases.

I was told in another comment that this would be worked on as soon as 2.5.0 was released.  Has that timeline been pushed back now?

Hi @randy-johnson ,
The timeline for this task been pushed back due to some major tasks. as I have mentioned we have plans to create such an app, unfortunately, I cannot commit to an exact time frame when this will be ready.

Alrighty.  Understood.  Thank you for the clarification.

authors: narayananl23 randy-johnson tsonevn


text:
Expose Alpha Blending mode for Draw2D API

[ ] Allow the user to set a custom alpha mode
[ ] Apply by default BlendMode::Over when drawing images to a RT clearing the background with transparent color.

More info: https://github.com/fand/notan-alpha-on-render-texture-test/issues/2

Related: https://github.com/dtrebilco/PreMulAlpha

repo: Nazariglez/notan


text:
New version 3.0 Support all countries

New version 3.0 Support all countries Full country name or  short name Like :
(UK/ United Kingdom ) - (USA-United states) - (Ma- Morocco) - (Egy- Egypt)
and make the code Kinda better , Hope you all love it and remember it's just a edit on Neon Project and ofc I have his permission ...
Project credits goes to @Ne10-Neon

Hey LKST, your suggestion has been implemented in v2.7. thanks for suggesting me this idea. see you soon!


text:
The wallet must be able to sweep keys + seeds

The wallet should not sweep a key or a seed by default, it should just load them and use their inputs when creating them. The API should support sweeping the funds from one key/seed into another.
It is fine if the graphical client combines loading + sweeping into a single action, but the backend should have these as two distinct operations.

can you clarify "use their inputs when creating them?"

*use the funds in the seeds and keys when creating new transactions

authors: DavidVorick lukechampine

repo: NebulousLabs/Sia


text:
🛑 Becpl Angular UI is down

In f0a5cd3, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in 861bba8 after 7 minutes.

repo: NehalDamania/becpl-uptime


text:
🛑 Becpl Angular UI is down

In c63a442, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in eba12b6 after 10 minutes.


text:
🛑 Becpl Angular UI is down

In 116ec95, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in a47b391 after 5 minutes.


text:
🛑 Becpl Angular UI is down

In 7bc84d5, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in 93fa245 after 7 minutes.


text:
🛑 Becpl Angular UI is down

In 65dbfb0, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in e45342d after 7 minutes.


text:
[2pt] Add item form page

Add item form page (button in details page)

connect to items endpoint

PR

authors: Nelitaa paulinagonzalezc

repo: Nelitaa/book-an-appointment-back-end


text:
Remove non-existent StageLine keymap from documentation

In #1572 I've accidentally added a ["L"] = "StageLine" keymap that does not exist in upstream HEAD. It is a feature that I'm working on locally. Sorry for the noise.

heh, no worries ;)

authors: CKolkey taketwo

repo: NeogitOrg/neogit


text:
[FEAT] Intent and Resource tests

Objective
Add intent and resource tests, similar to those in device controls skill
Initial Implementation Requirements

[ ] test_intents.yaml
[ ] test_resources.yaml
[ ] update automation

Other Considerations
No response

This skill should be replaced with https://github.com/NeonGeckoCom/skill-audio-recording


text:
Update ja.json

add MergeBlendshapes

Thank you for the update!

repo: Neos-Metaverse/NeosLocale


text:
Rodi cannot work with generic Protocols

For instance, I have the protocol:
from typing import Protocol, TypeVar, Type

T = TypeVar["T"]

class BuilderProtocol(Protocol[T]):
     def build(self, type_: Type[T]) -> T:
          ....

And implementation:
from some_module import Home

class HomeBuilder(BuilderProtocol[Home]):
     def build(self, type_: Type[Home]) -> Home:
          # some logic here

Then I am trying to use RODI:
from rodi import Container

container = Container()

container.register(HomeBuilder, BuilderProtocol)

builder = container.resolve(HomeBuilder)

There I get exception:
rodi.CannotResolveParameterException: Unable to resolve parameter 'args' when resolving 'HomeBuilder'

Likely, the issue is in this line.
Singature.from_callable returns (self, args, kwargs) -> None in the case of a generic Protocol class.
Probably, we should add exception here, like the following:
if param_name in ("self", "*args", "**kwargs"):
     continue

Hi @akhundMurad
You are not registering the types in the right order.
This works:
from rodi import Container
from typing import Generic, TypeVar, Type

T = TypeVar("T")

class BuilderProtocol(Generic[T]):

    def build(self, type_: Type[T]) -> T:
        ...

class Home: pass

class HomeBuilder(BuilderProtocol[Home]):
     def build(self, type_: Type[Home]) -> Home:
          # some logic here
          ...

container = Container()

container.register(BuilderProtocol, HomeBuilder)

builder = container.resolve(BuilderProtocol)

print(builder)

python main.py
<__main__.HomeBuilder object at 0x00000172E4C88650>

The idea is that you register a more generic type (like BuilderProtocol) to be resolved into a more concrete type so that part of your code can only be concerned / aware of the more generic type.
Example:
class CatsProvider:  # generic type, describing the protocol / abstract class
    def get_cats(self) -> list[Cat]:
        ...

class SQLiteCatsProvider(CatsProvider):  # concrete type that interacts with SQLite to store cats information
    ...

class BusinessClassConcernedWithHandlingCats:  # business class that is only concerned with using a CatsProvider and does not care if data is stored in SQLite, PostgreSQL, MongoDB, or any other persistence layer

    cats_provider: CatsProvider

container.register(CatsProvider, SQLiteCatsProvider)
container.register(BusinessClassConcernedWithHandlingCats)

bo = container.resolve(BusinessClassConcernedWithHandlingCats)
assert isinstance(bo.cats_provider, SQLiteCatsProvider)

This also makes it possible to plug-in different handlers by app configuration, like in this example project where 3 kinds of persistence layer are supported.
I hope this helps. 🙏🏼

Side note because in my first comment I used Generic instead of Protocol.
The problem here is that Protocol generates automatically an __init__ method that accepts any kind of argument (*args, **kwargs).
rodi does not like it because it cannot know how *args, **kwargs should be resolved.
So, to use Protocol, simply specify an __init__ method so that rodi doesn't have to guess what it should inject when instantiating, like in this example:
from rodi import Container
from typing import Protocol, TypeVar, Type

T = TypeVar("T")

class BuilderProtocol(Protocol[T]):

    def __init__(self) -> None:
         super().__init__()

    def build(self, type_: Type[T]) -> T:
        ...

class Home: pass

class HomeBuilder(BuilderProtocol[Home]):
     def build(self, type_: Type[Home]) -> Home:
          # some logic here
          ...

container = Container()

container.register(BuilderProtocol, HomeBuilder)

builder = container.resolve(BuilderProtocol)

print(builder)

I didn't have time to work on a documentation site for rodi, I'll document this detail when I get some time.

@RobertoPrevato thanks for the explanation, but, in my opinion, it is not good to define __init__ like this every time

My merge request could fix this issue entirely, and you even don't need to define __init__ with super

I am working on the library and want to add support of rodi.
Declining merge request means that users of the diator should add __init__  event if they don't need it.
It will give bad user experience to them :(

Sure, thanks @RobertoPrevato for your work :handshake:

Hi @akhundMurad
Thank You for your contribution. I merged your PR to main and I'm releasing 2.0.1 to PyPi tonight.

Thank you👍

authors: RobertoPrevato akhundMurad

repo: Neoteroi/rodi


text:
Change history page layout.

I need to change history layout, because it's very similar to Google Chrome's history, but i have no idea what can I change. Please write some suggestions in comments.

Hello @Sential . You're following the guidelines of Material Design, so the similarity is accepted. Otherwise, please refer to the Microsoft Edge design or the latest browsers like Brave Browser or Vivaldi Browser. You can take a cue from a similar to your project called "Liri Browser". And possible to find the repository on GitHub.

Best left Material Design. Appearance by. Me I like very much.

authors: Pietrafixa Sential vistafan12

repo: Nersent/Wexond


text:
Actions

For this milestone I have :

Implemented mission joining - Actions:
Implemented mission leaving - Actions:
Implemented switching badges for mission
Created "Mymissions file" to render the joined missions
Inserted "Mymissions file" into "MyProfile file"

Thanks for reviewing.

@Nessrine88 Hey Ness. Everything is running fine at my end.
So I'm to say:
Merge it, Merget it, Merge it!!  🚀

@jlberbesi  Thanks 😃


text:
Error handling with PVC creation on unavailable backend

Describe the bug
Trying to create a PVC on a backend that is unavailable will obviously fail. However, the error/warning messages one can read (in Trident logs or PVC Description) look off (the "pvc already exists" part):
Events:
  Type     Reason                Age                   From                                                                                Message
  ----     ------                ----                  ----                                                                                -------
  Normal   ProvisioningFailed    22m                   csi.trident.netapp.io                                                                   object is being deleted: tridenttransactions.trident.netapp.io "pvc-2fb94fcc-2aa6-48d4-aeb1-32b5ba9a4680" already exists
  Warning  ProvisioningFailed    22m                   csi.trident.netapp.io_trident-csi-d47f5f5c6-2mprf_2d124a62-f10c-4737-9fa4-8999f1301458  failed to provision volume with StorageClass "storage-class-san": rpc error: code = Unknown desc = object is being deleted: tridenttransactions.trident.netapp.io "pvc-2fb94fcc-2aa6-48d4-aeb1-32b5ba9a4680" already exists
  Warning  ProvisioningFailed    16m (x12 over 22m)    csi.trident.netapp.io_trident-csi-d47f5f5c6-2mprf_2d124a62-f10c-4737-9fa4-8999f1301458  failed to provision volume with StorageClass "storage-class-san": rpc error: code = Unknown desc = encountered error(s) in creating the volume: [Failed to create volume pvc-2fb94fcc-2aa6-48d4-aeb1-32b5ba9a4680 on storage pool aggr1 from backend SAN-secured: error checking for existing volume: Post "https://192.168.0.136/servlets/netapp.servlets.admin.XMLrequest_filer": dial tcp 192.168.0.136:443: connect: no route to host]

Environment
LoD Kubernetes v4 with the following upgrades

ONTAP 9.8P1
Trident 21.01.1

To Reproduce

modify all LIF of a SVM to status_admin = down
create a PVC & read the logs

Expected behavior
An error that looks more accurate

The error statements are modified over the few releases. Further, change made to Trident to poll backend and update the availability status. It is fixed with https://github.com/NetApp/trident/commit/458db05e6475ab095351848a849d4a5a8de3f937 and is included in Trident 23.07 release.

authors: YvosOnTheHub mravi-na

repo: NetApp/trident


text:
[AMORO-2568] Add the spark container as another native option

Why are the changes needed?

Close #2568 .
Brief change log

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before making a pull request

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

The spark container is a full feature, so I'd suggest that this PR also include the following：

Add configuration about SparkContainer in docs/admin-guides/manager-optimizers.  All supported properties should be listed.
Run the local test and take a screenshot of the test results in the PR's comments.
Add the configuration of the Spark Contianer as a comment in the default configuration file dist/.../conf/config.yaml

OK, I will complete the todo list late.

@baiyangtx Thanks a lot for your comments. I have tested in my local env, PTAL.

@baiyangtx Thanks a lot for your comments. I have tested in my local env, PTAL.

Could you add some screenshot?

LGTM，plz fix the conflict. I think this PR is already to be merged.

Fixed.

In addition, I think we should remove the spark-optimizer-job from amoro image.
see https://github.com/NetEase/amoro/blob/master/docker/amoro/Dockerfile#L40

Fixed, thx for your comments.

repo: NetEase/amoro


text:
Can't get the dashboard up and running

I have tried several different methods on getting hystrix to work and all of them failed.
I am trying to get this thing to launch in an weblogic container and even tried using the stand alone
If I run the following command
\Hystrix-master\hystrix-dashboard>gradle appRun --stacktrace
I get this error:
FAILURE: Build failed with an exception.

Where:
Build file 'D:\Users Documents\francois17\My Documents\component-management-framework\hystrix\Hystrix-master\build.gradle' line: 11

What went wrong:
An exception occurred applying plugin request [id: 'nebula.netflixoss', version: '3.4.0']

Failed to apply plugin [id 'nebula.netflixoss']
Cannot set property 'defaultVersionStrategy' on null object

Try:
Run with --info or --debug option to get more log output.

If I try and deploy the war in weblogic I get this error. Library cannot have Implementation-Version set, without also specifying its Specification-Version
If I try and make use of the standalone jar I get this error
Could not find or load main class com.github.kennedyoliveira.hystrix.contrib.standalone.dashboard.HystrixDashboardLauncher
I don't know what to do anymore

If you just want to simply run it you can try out this one.
https://github.com/kennedyoliveira/standalone-hystrix-dashboard

@Hillkorn I tried that already.
If I try and make use of the standalone jar I get this error
Could not find or load main class com.github.kennedyoliveira.hystrix.contrib.standalone.dashboard.HystrixDashboardLauncher

I checked the repository out and it worked without changing anything. Just ran "./gradlew run"

Hey @s4ndman1 do you have docker? If yes, you can run docker run --rm -ti -p 7979:7979 kennedyoliveira/hystrix-dashboard  and the app will be running on http://localhost:7979/hystrix-dashboard/ or you can checkout the project and run, like this:
git clone https://github.com/kennedyoliveira/standalone-hystrix-dashboard.git
cd standalone-hystrix-dashboard
./gradlew runDashboard

Closing due to inactivity

authors: Hillkorn kennedyoliveira mattrjacobs s4ndman1

repo: Netflix/Hystrix


text:
Switching HystrixRollingNumber impl from LongAdder/LongMaxUpdater to AtomicLong

This change is still awaiting thorough performance testing.  The intent is to remove references for sun.misc.Unsafe and to generally prefer a simpler data structure (if it doesn't cost us performance).

Might address #734 (@chrisbianca will verify)

NetflixOSS » Hystrix » Hystrix-pull-requests #120 SUCCESS
This pull request looks good


text:
Reformats files missed during cefe36cd679d0452079a35330075be72e1a76997

Some files were missed during #274

denominator-pull-requests #388 SUCCESS
This pull request looks good

NetflixOSS » denominator » denominator-pull-requests #13 SUCCESS
This pull request looks good

repo: Netflix/denominator


text:
Generating extended types that implement interfaces in the extension fails to generated the actual interface implementation

Given a simple GraphQL schema where a type is extended in multiple places and interfaces are implemented in those extensions, DGS codegen fails to generate the implementation in the java classes.
A small example:
interface A { name : String }

type Example implements A {
    name: String
}

interface B { age :Int }

extend type Example implements B{
    age :Int
}

generates the following java class which does not implement the also generated B interface:
public class Example implements org.example.codegen.types.A {
  private String name;
  private Integer age;

  // ... the rest of the code
}

The expected behaviour would be that the java class implements both A and B. Especially because the fields added by the extension are actually generated.

Hello, thank you for the report. I tested this out and was able to reproduce the reported behavior.
This has been added to the backlog and will be prioritized in the coming weeks.

authors: THE-ORONCO kailyak

repo: Netflix/dgs-codegen


text:
Increase the catch exception code

Increase the catch exception code to ensure that when the exception occurs can be friendly to return to the client side

@qiangdavidliu Hello, hope to pass this pr, the best wishes

Thanks @holy12345

repo: Netflix/eureka


text:
Serializing non-persistent relationships

Dear maintainers,
Given
Class Foo
  has_many :bars
end

foo = Foo.new
foo.bars.build(...)
foo.bars.build(...)

When I run FooSerializer.new(foo,{include: %i(bar)).serialized_hash, I expect the included section to have a length of 2 (2 bar object serializations). However, there is only 1 because non of the objects are persisted and thus both ids are nil. Since known_included_objects caches 'known' objects, the 2 bar objects are considered as the same object and thus only 1 is serialized.
I understand the reasoning behind the current implementation. Though I'm wondering if you guys ever came across the same issue and have any recommended solution?
Would setting a random value in id_from_record when record.id returns nil be a reasonable solution? Is there any risk to this?
ps. I'm serializing non-persistent records because my checkout and place-order uses the same services. The only difference is that checkout doesn't save all the 'built' records - but it still needs to serialize all the associations so that the client can display the checkout view.

Hi @zinosama ,
thanks for raising this issue! It is a very valid point and this is a usecase that many people will have. However, according to JSON API Spec, every object is supposed to have an ID without exceptions, so this is why we check for known_included_objects based on their ID. (Please see this: https://github.com/json-api/json-api/issues/648)
However, you have a workaroud here, thanks to @larissa's PR #331
Once this is merged, you'd be able to define an ID to your non-persistent objects right inside your serializer and it should work just fine: For eg, something like:
class MovieSerializer
  include FastJsonapi::ObjectSerializer
  set_id :id do |record|
   # return id for persistent models, else return random value for non persisent records
   record.id || SecureRandom.uuid
  end
end

If you cannot wait till this PR is merged, you can create another method in your model and do this
class Movie
  def id_for_serializer
    id || SecureRandom.uuid
  end
end

class MovieSerializer
  include FastJsonapi::ObjectSerializer
  set_id :id_for_serializer
end

Hope that helps!

Thanks for answer @manojmj92

authors: manojmj92 shishirmk zinosama


text:
Allow specification of a ScheduledExecutorService...

and use a FileSystem watch to observe changes to the annouce.version file.

Thanks again @brettwooldridge.  Released as v2.6.5.

authors: brettwooldridge dkoszewnik

repo: Netflix/hollow


text:
fix issue#446

Context
When running the source job example by following the Mantis document, error happened.
Exception in thread "main" java.lang.NoClassDefFoundError: com/netflix/spectator/api/Registry
Caused by: java.lang.ClassNotFoundException: com.netflix.spectator.api.Registr
Checklist

[ ] ./gradlew build compiles code correctly
[ ] Added new tests where applicable
[ ] ./gradlew test passes all tests
[ ] Extended README or added javadocs where applicable

@7ue5wu you might want to update https://github.com/Netflix/mantis/blob/master/mantis-runtime/build.gradle too.

Hi Andy, I already updated this one too. Is it the right update? I am confused because it seems nothing different when running after I update this one.

@7ue5wu you might want to update https://github.com/Netflix/mantis/blob/master/mantis-runtime/build.gradle too.

Hi Andy, I already updated this one too. Is it the right update? I am confused because it seems nothing different when running after I update this one.

A bit of context: these were made compileOnly to fix some dynamic load problem in our internal wrapper layer and this is no longer needed now. Also, I don't know if you still need to declare the dep in the runtime module anymore if it's using "implementation" directly in common (in that case you can remove the part in runtime).

@7ue5wu you might want to update https://github.com/Netflix/mantis/blob/master/mantis-runtime/build.gradle too.

Hi Andy, I already updated this one too. Is it the right update? I am confused because it seems nothing different when running after I update this one.

A bit of context: these were made compileOnly to fix some dynamic load problem in our internal wrapper layer and this is no longer needed now. Also, I don't know if you still need to declare the dep in the runtime module anymore if it's using "implementation" directly in common (in that case you can remove the part in runtime).

It seems we should still keep this part temporarily because the ServerSentRequestHandler still needs the libraries for now.   So I didn't change mantis-runtime/build.gradle and remain it onlyCompile. And the synthetic-sourcejob can run successfully.

@7ue5wu you might want to update https://github.com/Netflix/mantis/blob/master/mantis-runtime/build.gradle too.

Hi Andy, I already updated this one too. Is it the right update? I am confused because it seems nothing different when running after I update this one.

A bit of context: these were made compileOnly to fix some dynamic load problem in our internal wrapper layer and this is no longer needed now. Also, I don't know if you still need to declare the dep in the runtime module anymore if it's using "implementation" directly in common (in that case you can remove the part in runtime).

It seems we should still keep this part temporarily because the ServerSentRequestHandler still needs the libraries for now. So I didn't change mantis-runtime/build.gradle and remain it onlyCompile. And the synthetic-sourcejob can run successfully.

Since the common will now bring in the lib file, using "compileOnly" in the runtime will not remove it from the dep chain. I just feel that it's now a bit confusing using "compileOnly" in runtime when the lib is still going to be included.

@7ue5wu you might want to update https://github.com/Netflix/mantis/blob/master/mantis-runtime/build.gradle too.

Hi Andy, I already updated this one too. Is it the right update? I am confused because it seems nothing different when running after I update this one.

A bit of context: these were made compileOnly to fix some dynamic load problem in our internal wrapper layer and this is no longer needed now. Also, I don't know if you still need to declare the dep in the runtime module anymore if it's using "implementation" directly in common (in that case you can remove the part in runtime).

It seems we should still keep this part temporarily because the ServerSentRequestHandler still needs the libraries for now. So I didn't change mantis-runtime/build.gradle and remain it onlyCompile. And the synthetic-sourcejob can run successfully.

Since the common will now bring in the lib file, using "compileOnly" in the runtime will not remove it from the dep chain. I just feel that it's now a bit confusing using "compileOnly" in runtime when the lib is still going to be included.

Hi! I have already changed both of them to "Implementation", I think that can make sense this time and the example can run successfully now.

repo: Netflix/mantis


text:
Follow symlinks while packaging code

More context - https://gitter.im/metaflow_org/community?at=5e8ee0ad5d148a0460f4f8d6

I would like to upvote support for this functionality. I currently have a subclass in its own file that I would like to use across multiple flows and thought I was being smart by storing it in a central location in my repo and then symlinking to it only to find out Metaflow doesn't handle this.
Is there another suggested method that Metaflow supports that doesn't require having multiple hard copies of the same 'subclass' file in multiple directories alongside with their accompanying Flow files?

I would like to upvote support for this functionality. I currently have a subclass in its own file that I would like to use across multiple flows and thought I was being smart by storing it in a central location in my repo and then symlinking to it only to find out Metaflow doesn't handle this.
Is there another suggested method that Metaflow supports that doesn't require having multiple hard copies of the same 'subclass' file in multiple directories alongside with their accompanying Flow files?

This was fixed in #958.

authors: dpatschke romain-intel savingoyal

repo: Netflix/metaflow


text:
Fix bug where registry attempts to write to an undefined endpoint

I ran into this issue while running some tests.  The test environment does not define a Spectator endpoint, and when the registry for my app is stopped at the end of the tests, Spectator tries to publish but the endpoint is undefined, causing an error to be raised.
This PR modifies #send_metrics_now to only send if the uri is defined.
It includes a new test which will start and then stop a registry.  Before the fix, this would cause rake test to exit with code 1, but with this change it exits with code 0.

Yikes.  Looks like I merged this a while back.  Sorry.

repo: Netflix/spectator-rb


text:
Safely enable uploading report to Codecov

This is done by saving the coverage output as an workflow artifact then loading it on a separate job and uploading it to codecov.
The reason why this is necessary is because when running the juno-test workflow from a fork / untrusted dev, the secrets is not available. This is done in order to secure the secrets to being exposed from an atacker that might want to create a PR and get them. More info: https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
The second workflow will be trigger once the juno-test is completed so it only needs to download the artifact and upload to codecov. Since this workflow source code is only from main, in order for it to contain malicious code, it would've been required to go through a PR.
I've also added a small script to comment to the PR, so it's clear that the codecov will be uploaded shortly.  This can be reverted later on if it starts to become too spammy.

Testing new workflow - merging without waiting for 1 more approval

repo: NethermindEth/juno


text:
test_get_io_non_existant_file_writable_io: OSError: Could not identify IO for non_existant_file.nix

Greetings,
Describe the bug
When trying to integrate the new neo version 0.13.0 into Debian sid, I observe the following test error:
    def test_get_io_non_existant_file_writable_io():
        # use nixio for testing with writable io
        non_existant_file = Path("non_existant_file.nix")
        non_existant_file.unlink(missing_ok=True)
>       io = get_io(non_existant_file)

neo/test/iotest/test_get_io.py:36:
__ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

file_or_folder = PosixPath('non_existant_file.nix'), args = (), kwargs = {}, ios = [<class 'neo.io.nixio.NixIO'>, <class 'neo.io.nixio_fr.NixIO'>]
io = <class 'neo.io.nixio_fr.NixIO'>

    def get_io(file_or_folder, *args, **kwargs):
        """
        Return a Neo IO instance, guessing the type based on the filename suffix.
        """
        ios = list_candidate_ios(file_or_folder)
        for io in ios:
            try:
                return io(file_or_folder, *args, **kwargs)
            except:
                continue

>       raise IOError(f"Could not identify IO for {file_or_folder}")
E       OSError: Could not identify IO for non_existant_file.nix

neo/io/__init__.py:426: OSError

To Reproduce
I am running the test suite using:
NOSETESTS_NO_NETWORK=1 python3.12 -m pytest -v neo

Expected behaviour
I would have expected all tests to pass, be skipped or have expected failures marked as such.  :)
Environment:

OS: Debian sid
Python 3.12
Neo 0.13.0
NumPy 1.24.2

Have a nice day,  :)
Étienne.

@emollier,
Thanks for reporting. (and hope you're having a nice day too!)
So we are still trying to work on the no-network test framework (see #1263). I'll try to raise the priority of this since this has come up a couple times now.
Second this failure is due to the fact that this test requires a pip install nixio. If you want to make sure all tests pass (minus the issue with network-which we need to fix) you need to pip install neo[test].
https://github.com/NeuralEnsemble/python-neo/blob/0c175b4ece81cc588971a02069af5d87e91f9cb6/pyproject.toml#L47-L69
That being said I suppose we could flag this test so that if the user doesn't have nixio we don't run this test. I can draft a PR and see what the others think.
Cheers,
Zach

Hi Zach,
Thanks for the explanation, the initial error didn't make it obvious that it was caused by missing nixio.  I'll keep a tab to get this module available as a Debian package to resolve this.
Cheers,  :)
Étienne.

Making the nixio module available to the test environment resolved the issue; I close the entry.

repo: NeuralEnsemble/python-neo


text:
Update neo structure

This PR is a suggestion on how to update the neo object linking to include RegionsOfInterest and ChannelView in a consistent manner.
Currently, Groups accept also Segments as child objects, which I think is confounding the neo structure. Also RegionOfInterest was not considered as part of a neo structure yet. Since these are supposed to basically fulfill a masking functionality for ImageSequence their functionality is very similar to the one of ChannelViews for Signals. So my suggestion is to have Group and Segment at the same level and RegionOfInterest as well as ChannelView as optional level before linking to data object. This results in the following neo dependencies:

This PR also updates the corresponding neo structure diagram (as well as generation script).
@samuelgarcia @apdavison What do you think of this?
Fixes #1024

Hello @JuliaSprenger! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file doc/source/images/generate_diagram.py:

Line 67:66: E226 missing whitespace around arithmetic operator
Line 68:49: E226 missing whitespace around arithmetic operator
Line 69:49: E226 missing whitespace around arithmetic operator
Line 71:59: E226 missing whitespace around arithmetic operator
Line 73:33: E226 missing whitespace around arithmetic operator
Line 73:41: E226 missing whitespace around arithmetic operator
Line 75:47: E226 missing whitespace around arithmetic operator
Line 75:56: E226 missing whitespace around arithmetic operator
Line 77:68: E231 missing whitespace after ','
Line 77:70: E231 missing whitespace after ','
Line 126:30: E226 missing whitespace around arithmetic operator
Line 126:34: E226 missing whitespace around arithmetic operator
Line 135:47: E226 missing whitespace around arithmetic operator
Line 228:40: E226 missing whitespace around arithmetic operator
Line 230:34: E226 missing whitespace around arithmetic operator

In the file neo/core/regionofinterest.py:

Line 5:1: E302 expected 2 blank lines, found 1

The failing test is already fixed in #1025

I think it would be good to discuss the missing links and pieces in the Neo structure rather sooner than later. @apdavison What is your opinion on the suggestions here? Do you have an alternative organization in mind?

Here's a summary of the last discussion with @samuelgarcia @apdavison and @mdenker on this topic

there is no consensus on whether Groups should permit Segments as child objects. The strongest argument so far is to keep the object structure as little convoluted as possible for discovery/export/import purposes. Therefore I suggest keeping the current version in which Groups only can contain other Groups, DataObjects or masks of data objects (RegionOfInterest, ChannelView).
Another important point to be added (in another PR) would be the (optional) automatic linking of Spiketrains and Analogsignal traces upon loading. This link will not be explicitly saved when the block exported, but is on request generated when a block is loaded. We still need to decide on what criteria need to be fulfilled for a link to be generated. Is an identical channel_index annotation sufficient?

This PR is doing a lot of things. I think we should break it up into several PRs, then we can discuss each of them separately.
The first one is for making RegionOfInterest consistent with ChannelView: #1313
I'll follow up with PRs to:

remove Segment from the allowed types in Group
fix the figure generation script
remove old documentation

@apdavison can we clos this in favor of #1313 and #1314 ?

@alejoe91 we're still missing a PR to fix the figure generation script (the one which shows the Neo object relationship diagram). (That would need #1313 to be merged first.) I'd prefer to keep this PR open until we have either a PR or an issue for the figure generation, in case it gets forgotten.

#1384 fixes the figure generation script, and is the final PR needed to replace this one.


text:
Repair bad version in master

I push a bad version number in master, this should repair.

Coverage remained the same at 49.62% when pulling 5378f0381607a7bf278b9406c0d09a3bbd433973 on samuelgarcia:master into 37f974463136bb2c85b2ebfa8686385ed42c9955 on NeuralEnsemble:master.

authors: coveralls samuelgarcia


text:
ENG-5590 using UUID.randomUUID() to generate a random responseID

Using UUID.randomUUID() generate a random responseID. This will generate a different response ID for each event that requires it. This will not randomly increase. Example ids below from a sample app run on a Pixel4a
"responseId":"a75bc0623a972800"
"responseId":"ff88266abd62000"
"responseId":"95a7c502ed7a0400"
"responseId":"1806cad5bb204800"
"responseId":"4e5f8e4723d47000"
"responseId":"f25588839fffdc00"

The md5 hash usage in the requestId is not a sensitive location. RSA folks (@dbroeckelmanpost, @quacke-nid) please take a look and let me know. Thanks.

repo: Neuro-ID/neuroid-android-sdk


text:
Create a standalone NWB Inspector page

This PR creates a standalone NWB Inspector page similar to the DANDI Upload page. Now that we are inspecting files before preview, this is adjacent to #312—but not directly within scope of this issue.

Tried it out on a real DANDI set (locally downloaded) and worked great
Future items, as discussed, might be a separate button for single file (maybe shift/ctrl clicked multiple files, too?) vs folder mode
Would apply to DANDI upload as well

authors: CodyCBakerPhD garrettmflynn

repo: NeurodataWithoutBorders/nwb-guide


text:
Remove redundant sponsor logos

Massive search&replace so that only the main introduction page shows the sponsor logos (this seems to be consistent with the new tutorial material for Climatematch as well).

Apologies, closing this PR and moving the branch to the main NeuromatchAcademy repository instead of doing the PR from my personal fork.

repo: NeuromatchAcademy/course-content


text:
Automatic switching of issue tracking type per product

https://neworbit.tpondemand.com/entity/33351

Looks good!
One change that you could go on to make is to only get the project from TP if the TP entity being logged to is a bug (since we only care what the behaviour is for the project for bugs).
The way it is looks like it should work, but we're doing an unnecessary call to the TP API for non-bugs, making logging time slightly less efficient.

Great stuff, let's get this merged!

repo: NewOrbit/onetime-cli


text:
Add functional navigation bar

Added Features

[ ] Added functional Navigation Bar
[ ] Implemented a complete SPA
[ ] Passed all linter checks

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

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

repo: Newtayo/maths-magician


text:
Dockerfile update

Updating the Dockerfile to remove dtc compiler and add chip-dt-overlays apk due to CHIP_IO no longer requiring the dtc compiler as a build dependency.
chip-dt-overlays is required now due to CHIP_IO.OverlayManager using NTC dtbo files as they were way better than mine.

So I just tried running this @zerotri and it failed out on trying to find chip-dt-overlays.
Do you want me to remove that line?

Just fixed the Dockerfile for this PR so that it won't fail when building.


text:
client ip is always [Client 172.18.0.1]

Hi,
I'm running on a VPS which has ipv6 enabled. The Client IP always shows 172.18.0.1.
I tried looking up the same issue but I'm unable to solve it.
Im using Docker rootless.

That looks like it is the IP address of the gateway for your internal Docker subnet (I think that would be the only IP your container would see for traffic through IPv4+NAT). Have you set up experimental IPv6 support within Docker and the container (documented here)?.

authors: cjboyle rohankm

repo: NginxProxyManager/nginx-proxy-manager


text:
Error when trying to download

Here's the error:
Downloading Dungeon Crawler Carl 05 The Butchers Masquerade.m4a
Traceback (most recent call last):
File "/mediafire_bulk_downloader/mediafire.py", line 468, in
main()
File "/mediafire_bulk_downloader/mediafire.py", line 171, in main
get_file(key, args.output)
File "/mediafire_bulk_downloader/mediafire.py", line 366, in get_file
download_file(file_data)
File "/mediafire_bulk_downloader/mediafire.py", line 438, in download_file
r.raise_for_status()
File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://www.mediafire.com/file/j47w9wsiqp3ddr9/Dungeon_Crawler_Carl_05_The_Butchers_Masquerade.m4a/file

Can you access this URL in your browser? It appears to be a network issue. I downloaded this file without any errors.


text:
Cannot reach prefs stage/No indicator

System:
Arch Linux 5.6.3-arch1-1
Gnome 3
gnome-extensions version
3.36.1
After installing via gnome-extensions install twitch-chat-overlay@beeuwsaert.me.zip no indicator is present and it is not showing in gnome-extensions list nor in gnome-tweaks.
I cannot even reach it via gnome-extensions prefs twitch-chat-overlay
Am I missing something? (I am a noob in gnome extensions)

I needed to relogin for it to show up :+1:


text:
Initial UI tests

Testing on all pages and components of the UI

UI tests work on the homepage, but not elsewhere currently

Redundant due to unit tests


text:
🛑 cedro is down

In b860d90, cedro (https://www.cedro.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cedro is back up in 593c4a3.

repo: NicolasAbihaggle/serviciosestados


text:
"Dash Ranges" aren't handled properly by OMPEval

For example "A5s-A2s" is interpreted as "A5s" range, "Plus Ranges" like "A5s+" are interpreted normally.
For now i don't know how to fix this in the 'OMPEval' so i would just rebuild range string with "Dash Ranges" like this:
"A5s-A2s" -> "A5s,A4s,A3s,A2s"

Still the problem itself wasn't solved in OMPEval, I'm just using workaround to transform strings of that kind "A5s-A2s" -> "A5s,A4s,A3s,A2s" to get correct results from EquiryCalculator

repo: Nightfallen/EquiLand


text:
Web App For ML Capsule (this Project)

Create a website for this project , and
Attach description about the Project ,
Usecase,
Project Listed in ML capsule.

i would like to work on this issue, please assign it to me.

@kashishrajputt Please Ensure that you have made a PR regarding this a Week otherwise issue will be assigned to Others,

I agree to follow this project's Code of Conduct
I'm a GSSOC'24 contributor
I want to work on this issue.

Hi @Niketkumardheeryan  I am a GSSOC'24 Contributor and I would like to work on this issue.

@Pranali3103 you can now start working on it . please ensure to make a PR on time.

I'm a GSSOC'24 contributor.
Please assign this issue to me.

repo: Niketkumardheeryan/ML-CaPsule


text:
#839 Added CS:GO Round Winner Classification

DESCRIPTION
This is a classification problem where we we predict who wins individual snapshots of rounds. We use Logistic Regression, Decision Tree and Random Forest Classifier
WHAT I HAD DONE

Perfromed exploratory data analysis (EDA) on the given dataset
It starts with loading the dataset and viewing the top 5 rows
We calculate statistical data in the dataset
Then comes finding correlation between the features and also finding statistical values related to the dataset
Data visualization is done with libraries such as matplotlib and seaborn
Finally 3 different algorithms are used to find the best algorithm
Also accuracy score of each algorithm is calculated for comparison purpose with other algorithms

There are multiple projects' files in this PR. look into that.

@priyankeshh any update??

@Niketkumardheeryan  ive created a new PR fixing this


text:
I am a great lover of movies. they bring out the best in us and movie…

…s teach us the way to love.The lovers of movies are great people.

@harry30225 add a quote in data/data.json, don't change other files.


text:
Update README.md

Fixes #5

Hi @Soumya-Kushwaha ,
Thanks for the contribution. But, here's a glitch. The URL is https://ndtvapi.vercel.app/. Hence, the replacements should be done with respect to this URL.

Kindly make the relevant changes based on the mentioned sugesstions.
Thanks again for coming forward. 😊

@NishanthMuruganantham still not merged?

authors: NishanthMuruganantham Soumya-Kushwaha

repo: NishanthMuruganantham/ndtv-api


text:
🛑 JobDundho is down

In 85b4610, JobDundho (https://jobdundho.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: JobDundho is back up in cb1e0d3 after 22 minutes.

repo: NishidhJain/upptime-repo


text:
wrap_key: Don't ignore associated data

Cherry-pick of https://github.com/trussed-dev/trussed/pull/108

Done by #21

repo: Nitrokey/trussed


text:
apple/t2: init

Description of changes
This pull request adds all changes from https://github.com/kekrby/nixos-hardware as well as an update to the most recent kernel and a fix for keyboard backlight not working after suspend, making Apple Intel Macs with the T2 security chip quite usable overall.
Things done

[x] Tested the changes in your own NixOS Configuration
[x] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input

bors merge

repo: NixOS/nixos-hardware


text:
Index headers and shared library files

When making new packages, one often runs into compiler or linker errors where some header or library is missing. Currently there is no reliable way of finding the corresponding attribute name if the file names don't match naming conventions in Nixpkgs.
This is relevant for the @NixOS/documentation-team to teach basic skills in using the Nix ecosystem.
One idea is to have a separate tab or a parameter to search for these things. Otherwise one would get tons of results for keywords that are used often.

See also

#617

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/2023-07-20-documentation-team-meeting-notes-65/30876/1

repo: NixOS/nixos-search


text:
Organization of GNOME in nixpkgs

Describe the bug
We've been moving GNOME programs out of pkgs/desktops/gnome-3 to other places (like libraries) around nixpkgs.
This was nice because it calls things from all-packages.nix so there's no gnome3.* attribute. But this has another issue, there's no one place to find GNOME packages.
I would purpose that we:

move everything to being called top-level (so no gnome3.*)
but still organized under gnome-3.
inherit these attributes for backwards compat under gnome3.*

We still need the gnome3.* because of we want the updateScript tool to work on --argstr path gnome3.
I plan to do a similar thing with Pantheon. Things all being in one place is really useful because there's no "tagging" system or something similar.
What do you think @jtojnar ? I know we've been a bit confused on whether things should be moved to top-level, but I think it's the right way to go if things are still centrally organized in the tree. This will also give us a chance to fixup the directories in gnome-3, since some software has been moved around "categorically" (like World or Attic).

I've actually done this for gnome-tour https://github.com/NixOS/nixpkgs/commit/50ad33cd0208510397c2a8a5423bf4b90b35c5bb#diff-c1162ad1a7959a9c1a8402445740a879ac7f48da87eaf11160cb003a10cfd6ec

repo: NixOS/nixpkgs