InvalidArgumentError: Contains an unknown columns. {'publisher_handle'}

Hi,
I am rebuild autoware with caret and try to get some latency information.
source /opt/ros/humble/setup.bash
source ~/ros2_caret_ws/install/local_setup.bash
source ~/autoware/install/local_setup.bash

export LD_PRELOAD=$(readlink -f ~/ros2_caret_ws/install/caret_trace/lib/libcaret.so)
# export CARET_IGNORE_NODES="/rviz*"
export CARET_IGNORE_TOPICS="/clock:/parameter_events"
export CARET_SELECT_NODES="/planning/mission_planning/mission_planner:/planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner"
# export CARET_SELECT_TOPICS="/planning/mission_planning/route"

ros2 launch autoware_launch planning_simulator.launch.xml map_path:=$HOME/autoware_map/sample-map-planning vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit

Finally, I get a path like this:
paths = arch.search_paths(
'/planning/mission_planning/mission_planner', # source node
'/planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner') # destination node

path:
- message_context: null
  node: /planning/mission_planning/mission_planner
- topic: /planning/mission_planning/route
- message_context: null
  node: /planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner

And path.verify() is true.
But when I want to visualization it, I got an error:
---------------------------------------------------------------------------
InvalidArgumentError                      Traceback (most recent call last)
/tmp/ipykernel_21223/2255407313.py in <module>
      2
      3 path = app.get_path('target_path')
----> 4 message_flow(path)

~/ros2_caret_ws/build/caret_analyze/caret_analyze/plot/bokeh/message_flow.py in message_flow(path, export_path, granularity, treat_drop_as_delay, lstrip_s, rstrip_s, use_sim_time)
     73     color_palette = ColorPalette(Bokeh8)
     74
---> 75     df = path.to_dataframe(treat_drop_as_delay=treat_drop_as_delay)
     76
     77     converter: Optional[ClockConverter] = None

~/ros2_caret_ws/build/caret_analyze/caret_analyze/runtime/path_base.py in to_dataframe(self, remove_dropped, treat_drop_as_delay, lstrip_s, rstrip_s, shaper)
    107
    108         """
--> 109         records = self.to_records()
    110         column_names = self.column_names
    111

~/ros2_caret_ws/build/caret_analyze/caret_analyze/runtime/path_base.py in to_records(self)
     41
     42         """
---> 43         return self.__records.clone()
     44
     45     @abstractmethod

~/ros2_caret_ws/build/caret_analyze/caret_analyze/runtime/path_base.py in __records(self)
     61     def __records(self) -> RecordsInterface:
     62         if self.__records_cache is None:
---> 63             self.__records_cache = self._to_records_core()
     64         return self.__records_cache
     65

~/ros2_caret_ws/build/caret_analyze/caret_analyze/runtime/path.py in _to_records_core(self)
    237     def _to_records_core(self) -> RecordsInterface:
    238         self._verify_path(self.node_paths)
--> 239         return RecordsMerged(self.child).data
    240
    241     @staticmethod

~/ros2_caret_ws/build/caret_analyze/caret_analyze/runtime/path.py in __init__(self, merge_targets)
    107         if len(merge_targets) == 0:
    108             raise InvalidArgumentError('There are no records to be merged.')
--> 109         self._data = self._merge_records(merge_targets)
    110
    111     @property

~/ros2_caret_ws/build/caret_analyze/caret_analyze/runtime/path.py in _merge_records(targets)
    123             targets = targets[1:]
    124
--> 125         first_element = targets[0].to_records()
    126         left_records = first_element
    127

~/ros2_caret_ws/build/caret_analyze/caret_analyze/runtime/path_base.py in to_records(self)
     41
     42         """
---> 43         return self.__records.clone()
     44
     45     @abstractmethod

~/ros2_caret_ws/build/caret_analyze/caret_analyze/runtime/path_base.py in __records(self)
     61     def __records(self) -> RecordsInterface:
     62         if self.__records_cache is None:
---> 63             self.__records_cache = self._to_records_core()
     64         return self.__records_cache
     65

~/ros2_caret_ws/build/caret_analyze/caret_analyze/runtime/communication.py in _to_records_core(self)
    267         """
    268         assert self._records_provider is not None
--> 269         records = self._records_provider.communication_records(self._val)
    270
    271         return records

~/ros2_caret_ws/build/caret_analyze/caret_analyze/infra/lttng/records_provider_lttng.py in communication_records(self, comm_val)
     93             return self._compose_intra_proc_comm_records(comm_val)
     94
---> 95         return self._compose_inter_proc_comm_records(comm_val)
     96
     97     def node_records(

~/ros2_caret_ws/build/caret_analyze/caret_analyze/infra/lttng/records_provider_lttng.py in _compose_inter_proc_comm_records(self, comm_value)
    758         callback_object = self._helper.get_subscription_callback_object_inter(subscription_cb)
    759
--> 760         records = self._source.inter_comm_records(publisher_handles, callback_object)
    761
    762         columns = [COLUMN_NAME.RCLCPP_PUBLISH_TIMESTAMP]

~/ros2_caret_ws/build/caret_analyze/caret_analyze/infra/lttng/records_provider_lttng.py in inter_comm_records(self, publisher_handles, callback_object)
   1429         drop = list(set(merged.columns) - set(columns))
   1430         merged.drop_columns(drop)
-> 1431         merged.reindex(columns)
   1432
   1433         return merged

~/ros2_caret_ws/build/caret_analyze/caret_analyze/record/record_cpp_impl.py in reindex(self, columns)
    177             msg = 'Contains an unknown columns. '
    178             msg += f'{miss_match_columns}'
--> 179             raise InvalidArgumentError(msg)
    180         self._records.reindex(columns)
    181         self._columns.reindex(columns)

InvalidArgumentError: Contains an unknown columns. {'publisher_handle'}

I have no idea why this error occurs and what does it mean. Could you help me to fix it?

Thanks for reporting the bug!
I hope that applying the following PR will solve the problem.
https://tier4.github.io/CARET_doc/latest/visualization/communication/pub_sub_information/applying PR.
However, there is a possibility that the latency cannot be calculated even if the error disappears after applying the PR.
It is also possible that CARET is not working properly or the topic name you are measuring is incorrect and so on.

First, please confirm that the error disappears after applying the patch.
After that, could you please check if publisher and subscription were working correctly?
Visualization methods are described here:
https://tier4.github.io/CARET_doc/latest/visualization/communication/pub_sub_information/

/planning/mission_planning/mission_planner

I have checked publisher and subscriber. I use `export CARET_SELECT_TOPICS="/planning/scenario_planning/scenario_selector/trajectory", but here are still some topics i do not want record has been recorded.
 topic_name                                                                                |   number_of_trace_points
-------------------------------------------------------------------------------------------------------------------------------------+--------------------------
 /localization/kinematic_state                                                                                |                    29586
 /parameter_events                                                                                |                     6734
 /planning/scenario_planning/scenario_selector/trajectory                                                                            |                     2825
...

I use it after export CARET_SELECT_NODES.
unknown columns disappear,  Failed to find any records that went through the path.There is a possibility that all records are lost. now. And when I in configuration phase, Tracer discarded 995 events is always here. But  ros2 caret topic_summary --trace_dir show trace points exist.

Thanks for reporting the bug! I hope that applying the following PR will solve the problem. tier4/CARET_analyze#210
cd ~/ros2_caret_ws/src/CARET_analyze/
git fetch
git checkout fix_unknown_columns

However, there is a possibility that the latency cannot be calculated even if the error disappears after applying the PR. It is also possible that CARET is not working properly or the topic name you are measuring is incorrect and so on.

First, please confirm that the error disappears after applying the patch.
After that, could you please check if publisher and subscription were working correctly?
Visualization methods are described here:
https://tier4.github.io/CARET_doc/latest/visualization/communication/pub_sub_information/

I have checked publisher and subscriber. I use `export CARET_SELECT_TOPICS="/planning/scenario_planning/scenario_selector/trajectory", but here are still some topics i do not want record has been recorded.
 topic_name                                                                                |   number_of_trace_points
-------------------------------------------------------------------------------------------------------------------------------------+--------------------------
 /localization/kinematic_state                                                                                |                    29586
 /parameter_events                                                                                |                     6734
 /planning/scenario_planning/scenario_selector/trajectory                                                                            |                     2825
...

I use it after export CARET_SELECT_NODES.
unknown columns disappear,  Failed to find any records that went through the path.There is a possibility that all records are lost. now. And when I in configuration phase, Tracer discarded 995 events is always here. But  ros2 caret topic_summary --trace_dir show trace points exist.

Thank you for the detailed report.
It seems that there is still an error in CARET_analyze if there is no measurement data.

ValueError: min() arg is an empty sequence

I will report them as bugs.
Above all, we need to make adjustments to prevent Tracer discarded, because if even one lost event occurs, it cannot be measured correctly.

Tracer discarded 995 events is always here

TOPIC_IGNORE and TOPIC_SELECT are currently not completely removed, but it reduces recording data.
The following is a count of the trace data in the demo code as a test.
export CARET_SELECT_TOPICS="/topic1"
$ ros2 launch caret_demos  end_to_end_sample_with_lttng_session.launch.py

$ ros2 caret topic_summary -d ~/.ros/tracing/e2e_sample/
 topic_name        |   number_of_trace_points
-------------------+--------------------------
 /topic1           |                      103
 /parameter_events |                        7
 /rosout           |                        7
 /caret/status     |                        1
 /drive            |                        1
 /topic2           |                        1
 /topic3           |                        1
 /topic4           |                        1

There is less data for topics that are not selected, which suppresses discarded.
For reference, I share the IGNORE environment variables we use to measure Autoware.
https://github.com/takeshi-iwanari/autoware/blob/16fb26f365df64c4b7e279df35bdc41b72d7732b/caret_topic_filter.bash
Alternatively, it also suppresses discarded to increase the buffer size.
This requires manually fixing the source code.
https://github.com/tier4/ros2_tracing/pull/1/files

Thanks for your help! It worked now. I got measurement data after rebuild rclcpp. Maybe I made some faults in building process.
This tool really help me a lot, thanks again.


antigen update not working inside script

Description
TL;DR, unixorn/autoupdate-antigen.zshplugin does not seem to be working.
Steps to reproduce
Minimal steps to reproduce this behavior:
1 - `antigen bundle unixorn/autoupdate-antigen.zshplugin`

Expected behavior:
Should auto update once a week and produce some output like this:
Updating<EMAIL_ADDRESS>Done. Took 0s.
Updating<EMAIL_ADDRESS>Done. Took 1s.
Updating<EMAIL_ADDRESS>Done. Took 0s.
Updating<EMAIL_ADDRESS>Done. Took 1s.
Updating<EMAIL_ADDRESS>Done. Took 1s.

Current behavior:
Never outputs anything.
Software version

antigen version
Antigen develop (d1dd78b)
Revision date: 2018-01-15 14:37:21 -0300
zsh --version
zsh 5.5.1 (x86_64-debian-linux-gnu)
uname -a
Linux (can't disclose)

Configuration

gist of .zshrc

source ~/.antigen/antigen.zsh
antigen use oh-my-zsh

# Plugins
antigen bundle git
antigen bundle sudo
antigen bundle history
antigen bundle extract
antigen bundle debian

antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle unixorn/autoupdate-antigen.zshplugin # Auto updates for antigen

# Theme
antigen bundle mafredri/zsh-async
antigen bundle sindresorhus/pure

antigen apply

More information
I went through the hassle of forking and rewriting the auto update plugin here.
After some debugging, it seems that everything in the plugin should work, except running antigen update or antigen selfupdate finishes instantly with no output.
I ran which antigen inside the script and it produced this output:
antigen () {
        local MATCH MBEGIN MEND
        [[ "$ZSH_EVAL_CONTEXT" =~ "toplevel:*" || "$ZSH_EVAL_CONTEXT" =~ "cmdarg:*" ]] && source "/my/usr/path/.antigen/antigen.zsh" && eval antigen $@
        return 0
}

It appears that [[ "$ZSH_EVAL_CONTEXT" =~ "toplevel:*" || "$ZSH_EVAL_CONTEXT" =~ "cmdarg:*" ]] evaluates to false. My question is, is this intended behavior for scripts? Why can we not use antigen update inside of a plugin?

Hi @jackcogdill,
have you found a solution to this problem? I would also like to call antigen update from a script of mine which executes update functions of several applications like Homebrew, SDKMAN, etc.
The following snippet inside a ZSH shell script doesn't do anything...
source·/usr/local/share/antigen/antigen.zsh
antigen·update

@svenjacobs I switched to using zplug since it seemed all around better.

I've also found that antigen selfupdate leaves me with antigen version at 2.2.2 (rather than 2.2.3 which has been released for "some time").
Might try zplug


[WFLY-19407] additional artifacts in EE BOMs

Issue: https://issues.redhat.com/browse/WFLY-19407

@jimma Please review.

Thanks @emmartins and @jimma


Work on vim8?

While I know that the project name has “Neovim” in it, it would be beneficial to state explicitly whether this supports only Neovim or Vim8 also. There are not many options for Haskell with Vim and many wonder.

I also wonder


Fixing filters when setting multiple filters per column

Fixing issue when the filters attribute of the perspective-viewer gets incorrectly set when multiple filters are set per column.

Looks good, thanks!


kind of worked but then stopped

my letter b doubles, but there is a delay. i can type the word bebcause, and you can see how it impacts me. I have gotten some improvement with varying time delays. I kept increasing it, but it is currently at 1,200 and still went wrong as demonstrated at the top of this. Do you know what could be happening?

weid. 1,200 is apparently too large a delay. Doesn't 40-80 range work for you?

I switched it back to 80 now. it doesn’t catch everything, but I have 215 shaky’s now, so it’s probably getting the majority.

On May 19, 2020, at 3:55 PM, _sam<EMAIL_ADDRESS>wrote:
weid. 1,200 is apparently too large a delay. Doesn't 40-80 range work for you?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/aahung/Unshaky/issues/158#issuecomment-630622970, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGDQWGPQGUNPN5SI55Y62K3RSIUPJANCNFSM4NANKXXQ.


Variables outside of a lambda function are not shown in debugger

Description:
$subject

Steps to reproduce:
Put a breakpoint inside a lambda function. You will see that the variables outside the lambda function are not shown.
github-main.txt
Affected Versions:
SLP8
OS, DB, other environment details and versions:
Mac

@riyafa Please note that this issue is still not resolved, as only the variables that are being used inside the lambda function are getting passed using the variable map. Therefore the rest of the variables are still not visible within the lambda function scope.

@NipunaRanasinghe we had an internal discussion and we came to understand that this issue is not directly relevant to runtime. This can be fixed by saving the variables from before the lambda as readonly and providing a view of them later when debugging inside the lambda. It has to be done at the debugger end. The variables that are passed to the lambda functions can be changed, hence they are made available via the local variable table from my PR.
I will removing the Team/jBallerina label from this issue, please let us know if required.

After having an internal discussion with the runtime team, it is decided to show only the lambda function's scope variables inside the lambda function. This behaviour is expected. If we want to see the variables outside the lambda function, we can simply click the respective stack frame on the call stack and see the visible variables.
This can be achieved after the improvement https://github.com/ballerina-platform/ballerina-lang/issues/31804.
Therefore closing this issue.


Error during PyYAML-5.4.1 install

Hi! I have encountered an issue when trying to deploy the starter kit. More specifically, it seems that pip install of PyYAML fails. Output from docker-compose:
Building beacon
Sending build context to Docker daemon  19.28MB
Step 1/22 : FROM python:3.10-buster AS BUILD
 ---> 31f7904d7bdb
Step 2/22 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> 2a877aa1d1ab
Step 3/22 : RUN apt-get update
 ---> Using cache
 ---> 6c996a191784
Step 4/22 : RUN apt-get install -y --no-install-recommends     ca-certificates pkg-config make     libssl-dev libffi-dev libpq-dev
 ---> Using cache
 ---> 81bbc6b543ac
Step 5/22 : RUN pip install --upgrade pip
 ---> Using cache
 ---> 2f2e60eb1dd0
Step 6/22 : COPY requirements.txt /tmp/requirements.txt
 ---> Using cache
 ---> a88d52cd59e2
Step 7/22 : RUN pip install -r /tmp/requirements.txt
 ---> Running in f742c9b53a9a
Collecting aiohttp==3.8.1 (from -r /tmp/requirements.txt (line 5))
  Downloading aiohttp-3.8.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 2.1 MB/s eta 0:00:00
Collecting aiohttp-cors==0.7.0 (from -r /tmp/requirements.txt (line 6))
  Downloading aiohttp_cors-0.7.0-py3-none-any.whl (27 kB)
Collecting asyncpg~=0.24.0 (from -r /tmp/requirements.txt (line 7))
  Downloading asyncpg-0.24.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (3.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 3.7 MB/s eta 0:00:00
Collecting pyyaml~=5.4.1 (from -r /tmp/requirements.txt (line 8))
  Downloading PyYAML-5.4.1.tar.gz (175 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 kB 5.9 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [62 lines of output]
      /tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
      !!

              ********************************************************************************
              The license_file parameter is deprecated, use license_files instead.

              By 2023-Oct-30, you need to update your project and remove deprecated calls
              or your builds will no longer be supported.

              See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
              ********************************************************************************

      !!
        parsed = self.parsers.get(option_name, lambda x: x)(value)
      running egg_info
      writing lib3/PyYAML.egg-info/PKG-INFO
      writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
      writing top-level names to lib3/PyYAML.egg-info/top_level.txt
      Traceback (most recent call last):
        File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 325, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in run_setup
          exec(code, locals())
        File "<string>", line 271, in <module>
        File "/tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup
          return distutils.core.setup(**attrs)
        File "/tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
        File "/tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1233, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 319, in run
          self.find_sources()
        File "/tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 327, in find_sources
          mm.run()
        File "/tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 549, in run
          self.add_defaults()
        File "/tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 587, in add_defaults
          sdist.add_defaults(self)
        File "/tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/command/sdist.py", line 113, in add_defaults
          super().add_defaults()
        File "/tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
          self._add_defaults_ext()
        File "/tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
          self.filelist.extend(build_ext.get_source_files())
        File "<string>", line 201, in get_source_files
        File "/tmp/pip-build-env-opy2fvg8/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
          raise AttributeError(attr)
      AttributeError: cython_sources
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
The command '/bin/sh -c pip install -r /tmp/requirements.txt' returned a non-zero code: 1
ERROR: Service 'beacon' failed to build : Build failed

Previously it worked without problems. It seems that there is an issue with PyYAML itself yaml/pyyaml#724.
OS: Debian 12
Docker version 20.10.24+dfsg1, build 297e129
docker-compose version 1.29.2
Python 3.11.2

Thanks @Ivarz for opening the issue. As @lgadelha suggested in the PR i just merged, the solution is changing the pyyaml version to 6.0.1 as it seems that cython had an update last month and now pyyaml 5.4.1 version failed to work properly with the new version of cython.


Support Signal Intermediate Throw and End Event in Camunda 8.3

[x] adjust signal-reference error messages

Related to https://github.com/camunda/camunda-modeler/issues/3555

Closed by https://github.com/camunda/linting/pull/53.


Usign Django-Admin-plus some applications are no longer accessible in the administration.

Some of the applications I use (created by me) are not more accesible (applications are not displayed in the back) if I active Django-Admin-Plus.
I use:
Django 1.8
Django Suit
Django Hosts
...

Usign "django.contrib.admin.apps.SimpleAdminConfig" and "admin.autodiscover()" works fine, but not if I add "admin.site = AdminSitePlus()" (before autodiscover).

If I do:
from django.contrib.admin.sites import AdminSite
admin.site = AdminSite()

The problem continues. It seems a problem if AdminSite is instantiated.

Usign:
from django.contrib.admin.sites import AdminSite, site

admin.site = site
admin.autodiscover()

works.

I think using AdminPlus, decorator admin.register not work anymore.

I confirm the problem. I will open a new task.


Add Stately

[X] I have read the guidelines for submitting issues

⚠ Is your feature request related to a problem? Please describe
Stately is a common KMM library for native threading, and we'd like to use it in refreshVersions, to get away from buildSrc completely.
https://github.com/touchlab/Stately
How we're using it for safe multithreading on native in KaMP Kit:    https://github.com/touchlab/KaMPKit/blob/main/shared/src/commonMain/kotlin/co/touchlab/kampkit/ktor/DogApiImpl.kt#L39
💡 Describe the solution you'd like
Just adding the 4 most common KMM dependencies:

co.touchlab:stately-common
co.touchlab:stately-concurrency
co.touchlab:stately-isolate
co.touchlab:stately-iso-collections

Not going to include all of the individual platform artifacts, just the KMM ones, as the individual artifacts by themselves don't serve much use. The common artifact will add the right ones for your various targets. Also, not including stately-collections as it is "pretty much deprecated"
🤚 Do you want to develop this feature yourself?

[X] Yes
[ ] No

This issue can be closed: has been fixed by #428


Improve js nk module httpRequest params handling

Made this commit part of another PR https://github.com/heroiclabs/nakama/pull/522.

Made this commit part of another PR https://github.com/heroiclabs/nakama/pull/522.


Make UnionPath behave as paths from ZipFileSystem do.

This changes the behaviour of union paths to match the behaviour from zip paths. To ensure this, all path tests are first run against a zip file system and it is asserted that they don't fail.
This will most likely break modlauncher and forge
Also the tests for the relativize method were moved from TestUnionFS to TestUnionPath.

I did some fixes to the Jar class so it works with the changes from this pull request now. There may be more things in securejarhandler that break with these changes though. Trying to run forge (in a forgedev environment) with this now results in the following exception:
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.toString()" because the return value of "java.nio.file.Path.getFileName()" is null
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.util.ServiceLoaderUtils.lambda$fileNameFor$2(ServiceLoaderUtils.java:50)
	at java.base/java.util.Optional.map(Optional.java:260)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.util.ServiceLoaderUtils.fileNameFor(ServiceLoaderUtils.java:50)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.LaunchPluginHandler.lambda$new$2(LaunchPluginHandler.java:50)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1850)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)
	at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.LaunchPluginHandler.<init>(LaunchPluginHandler.java:51)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.Launcher.<init>(Launcher.java:64)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
	at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
	at cpw.mods.bootstraplauncher@1.0.0/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149)

The specific crash provided uses an optional chain that defaults to the string "MISSING FILE". It would be good to investigate what the change from "" empty string to "MISSING FILE" would look like for consumers of ServiceLoadersUtils#fileNameFor. And if a null path should count as empty string still or "MISSING FILE".

Testing procedure is setup and completed.
Last call for this PR before I merge it in a couple of days.
The additional endpoint in #20 mentioned to get the proper paths of a mod needs to be added later.

I suspect that the performance tweaks have completely invalidated this PR. Can you re-evaluate if this is still appropriate?

I just merged the tests from this PR (which assert that UnionPath behaves the same as JarPath) with the performance tweaks and some of them still fail. So yes, it is still appropriate, ill update it to resolve the conflicts.

Not that I know of
@noeppi-noeppi ? You ran those tests before.

If it is still relevant to mimic the behaviour of ZipFileSystem, then yes. The UnionPath still behaves different than ZipPath. So if Lex statement here is still relevant, so is this PR.

This PR is included in the 1.19 milestone. I guess that means it’ll be merged right before 1.19, right?
In just two weeks, 1.21 releases. I think, it’s a bit late.


BulkPurge NullReferenceException When Topic Has No Subscriptions

Summary:
Selecting any of the options under Topics -> Purge will cause a Null Reference Exception if a Topic exists with no Subscriptions.
Expected behavior:

Select Topics -> Purge -> Messages, Dead-letter Queue Messages, or All Messages
The appropriate purge function is performed on all topics.

Actual behavior:

Select Topics -> Purge -> Messages, Dead-letter Queue Messages, or All Messages

The following message appears in the Log window:
<09:52:57> Exception: Object reference not set to an instance of an object.

Closed via https://github.com/paolosalvatori/ServiceBusExplorer/commit/bc288d24ca69f1a78a3739fae837967d11380ff7


Refactor css

Currently the css is in a single file.
Should be split and imported according to the component instead.

I'd like to help fix this.


Invert ensure_packages lower argument default

See: https://github.com/Fizzadar/pyinfra/issues/769#issuecomment-1059832256

Cancelling as this would actually be breaking, and https://github.com/Fizzadar/pyinfra/issues/779 is a cleaner solution.


Introduce Pangeo in the MOOC

We need to introduce Pangeo in the MOOC for instance when introducing the different EO platform.
For now I added Pangeo in the list of cloud-based EO platform providers.
See https://github.com/annefou/cubes-and-clouds/blob/platform/lectures/1.1_intro_platform/1.1_intro_platform.md
Your feedback is welcome.

Hi @annefou, maybe it would be worth to mention that the physical infrastructure where a Pangeo "platform" is currently running is the EOSC?
Reading through the content, it's incredible how the information we collected is already partly outdated: Microsoft Planetary Computer does not offer computing capabilities anymore...

@annefou please create a PR for this so that I can merge it.


Native Node.js WebSocket module

Trying to use the native node.js websocket module to further decrease the dependency count.

Closed as I figured out WebSocket is only for web


Tab Changes feeling slow

Hi Everyone,
Running on Device,  with JS Dev Mode turned off tab changes feel slow
The actual transition is fine, but the time in between pressing the button and then when the transition occurs is too long, it feels like there is a good second before the tab will actually change.
Tab Press -> Delay -> Transition to Tab
Any ideas?

just a thought.. do you have lazy rendering enabled?

I don't.. should I?
off of quick quess woudln't you want everything rendered as much as possible

Can you try enabling the lazy rendering of tabs (if you check the docs or other issues I'm sure you'll find the prop that does that) and see if that makes things better?

I noticed the same thing, primarily on Android, doesn't matter if lazy mode is enabled or not for me.

 Animations are slow when it's on
Try production build and check if it's still happening
If that still doesn't work, try settting swipeEnabled and animationEnabled to false. You can check the documentation for these props

@sanjayholla94 I know this probably makes me sound like a painful ametuer.. but whats the difference between a production build and a nonproduction build?
I assumed production just ment going into the settings and disabling JS dev mode

If you're running it on Android and integrating with existing code, then you can check this to create a production build https://facebook.github.io/react-native/docs/integration-with-existing-apps.html#creating-a-release-build-in-android-studio
I haven't worked on iOS but there must be something similar for it. I'm sure you can find it in the docs

Ah,
so I guess turning off JS Dev Mode isn't a good indicator of performance, as we should expect it to improve in Dev Mode as well?
@sanjayholla94

I'm not aware of any performance gain you'll get by release build, compared to running with devMode off and minification enabled @joecaraccio

Closing this since it's technically a duplicate of #739. Moreover I highly suggest that you check out my comments at the bottom of #608.
We know that there are some performance issues here and there, but most times it's about the way you structured your components.
A prod build VS a non prod build is quite different, the packager uses a lot of optimizations when creating the prod build.
If you see a huge perf gain by turning on the JS debugger it's because when it is active the JSCore that handles your JS code is on your laptop instead of the device you are using. So when this is the case is quite surely something related to your code.

@joecaraccio  you can

open chrome debugger
choose Performance Tab
click Record button
change tab
stop record

we can see cost time of each function

I found that I use withNavigation on my list <Item />,
like this
@withNavigation
class Item extends React.Component {
  render () {
    return (
      // ...
    )
 }
}

and when I change Tab, All <Item /> updated and that It cost so many time.
after that,  I add
  shouldComponentUpdate() {
    return false
  }

on my <Item /> component
haha, become faster.

You can use PureComponent also.


snowflake_schema crashing when importing

Terraform CLI and Provider Versions
Terraform v1.7.1
on darwin_amd64
+ provider registry.terraform.io/hashicorp/tls v4.0.5
+ provider registry.terraform.io/snowflake-labs/snowflake v0.84.1

Terraform Configuration
data "snowflake_database" "mydb" {
  name    = "mydb"
}

import {
  to = snowflake_schema.myschema
  id = "MYSCHEMA"
}

resource "snowflake_schema" "myschema" {
  database   = data.snowflake_database.mydb.name
  name       = "MYSCHEMA"
}

Expected Behavior
terraform plan -generate-config-out generated.tf succeeds and there's a snowflake_schema resource specified in generated.tf
Actual Behavior
snowflake_schema.myschema: Refreshing state... [id=MYSCHEMA]
Planning failed. Terraform encountered an error while generating this plan.

╷
│ Error: Plugin did not respond
│
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵
╷
│ Error: Plugin did not respond
│
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵

Stack trace from the terraform-provider-snowflake_v0.84.1 plugin:

panic: interface conversion: sdk.ObjectIdentifier is sdk.AccountObjectIdentifier, not sdk.DatabaseObjectIdentifier

goroutine 98 [running]:
github.com/Snowflake-Labs/terraform-provider-snowflake/pkg/resources.ReadSchema(0xc000977500, {0x2bc52a0?, 0xc000b9f5f0?})
	github.com/Snowflake-Labs/terraform-provider-snowflake/pkg/resources/schema.go:108 +0x84a
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0x2f52a28?, {0x2f52a28?, 0xc000d47950?}, 0xd?, {0x2bc52a0?, 0xc000b9f5f0?})
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.31.0/helper/schema/resource.go:783 +0x163
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc000b9a380, {0x2f52a28, 0xc000d47950}, 0xc00091b6c0, {0x2bc52a0, 0xc000b9f5f0})
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.31.0/helper/schema/resource.go:1089 +0x552
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xc000957d10, {0x2f52a28?, 0xc000d47800?}, 0xc000927f80)
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.31.0/helper/schema/grpc_provider.go:663 +0x48a
github.com/hashicorp/terraform-plugin-mux/tf5to6server.v5tov6Server.ReadResource({{0x2f68080?, 0xc000957d10?}}, {0x2f52a28?, 0xc000d47800?}, 0xc000927dc0?)
	github.com/hashicorp/terraform-plugin-mux@v0.13.0/tf5to6server/tf5to6server.go:176 +0x225
github.com/hashicorp/terraform-plugin-mux/tf6muxserver.(*muxServer).ReadResource(0x2f52a60?, {0x2f52a28?, 0xc000d47500?}, 0xc000927dc0)
	github.com/hashicorp/terraform-plugin-mux@v0.13.0/tf6muxserver/mux_server_ReadResource.go:35 +0x193
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ReadResource(0xc000b74280, {0x2f52a28?, 0xc000d46d50?}, 0xc00090b8c0)
	github.com/hashicorp/terraform-plugin-go@v0.20.0/tfprotov6/tf6server/server.go:787 +0x48b
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ReadResource_Handler({0x2b77380?, 0xc000b74280}, {0x2f52a28, 0xc000d46d50}, 0xc000977200, 0x0)
	github.com/hashicorp/terraform-plugin-go@v0.20.0/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:467 +0x169
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000ccd20, {0x2f52a28, 0xc000d46cc0}, {0x2f633e0, 0xc0006031e0}, 0xc000d4aa20, 0xc00081b440, 0x3f11a08, 0x0)
	google.golang.org/grpc@v1.60.0/server.go:1372 +0xe03
google.golang.org/grpc.(*Server).handleStream(0xc0000ccd20, {0x2f633e0, 0xc0006031e0}, 0xc000d4aa20)
	google.golang.org/grpc@v1.60.0/server.go:1783 +0xfec
google.golang.org/grpc.(*Server).serveStreams.func2.1()
	google.golang.org/grpc@v1.60.0/server.go:1016 +0x59
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 26
	google.golang.org/grpc@v1.60.0/server.go:1027 +0x115

Error: The terraform-provider-snowflake_v0.84.1 plugin crashed!

This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.

Steps to Reproduce

terraform plan -generate-config-out generated.tf

How much impact is this issue causing?
High
Logs
No response
Additional Information
No response

I've tested back to v0.74.0. This same error occurs all the way back to v0.76.0. There's a different SIGSEGV error in v0.75.0 and v0.74.0.

Hey @jmkacz. Thanks for reaching out.
You have to use the fully qualified name for the schema (db.schema). Please let me know if that helps.

Hey @jmkacz. Did you have a chance to test the solution? Can we close the issue?

Same issue with schema import on v0.86.0.

@gespinal did you try the above suggestion https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/2449#issuecomment-1918529141?

@sfc-gh-asawicki yeah, it didn't work.
data "snowflake_database" "mydb" {
  name     = "MYDB"
}

import {
  to = snowflake_schema.myschema
  id = "MYDB.MYSCHEMA"
}

resource "snowflake_schema" "myschema" {
  database   = data.snowflake_database.mydb.name
  name       = "MYSCHEMA"
}

Hey @gespinal. I wasn't clear enough. If you check the documentation: https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs/resources/schema#import you will see, that the id used for import is | separated. If you will change your code to:
data "snowflake_database" "mydb" {
  name     = "MYDB"
}

import {
  to = snowflake_schema.myschema
  id = "MYDB|MYSCHEMA"
}

resource "snowflake_schema" "myschema" {
  database   = data.snowflake_database.mydb.name
  name       = "MYSCHEMA"
}

it should work like a charm (I tested it myself to be sure).

Thanks very much @jmkacz, validated.

@jmkacz I will close this issue. Please check the solution mentioned and open a new ticket if needed.


PROD.DAT Extended descriptions

Documentation suggests field 1 max size is 500 and field 2 max size is 255.
But then in description for ext 2 says "this field and ExtDescription1 are combined by the program to populate the 10 rows of 50 characters, i.e. the limit is 500"
CLARIFY and UPDATE

Fixed 21/02/2018


Adding action 'Create Outlook Calendar Event using Microsoft Graph'

This action creates an event in a user's Outlook calendar using the Microsoft Graph API. Please find the repo here - Link to the repo Thank you.

@anoopt your changes have been merged, thanks for your contribution 👍


feat(fw): Call evmone-eofparse on EOF tests filling

🗒 Description
Adds EOF exception checking using evmone-eofparse tool. Prints a nice message now if expected exception does not match returned by evmone or if valid eof test fails on evmone and so on.
🔗 Related Issues

✅ Checklist

[x] All: Set appropriate labels for the changes.
[x] All: Considered squashing commits to improve commit history.
[ ] All: Added an entry to CHANGELOG.md.
[ ] All: Considered updating the online docs in the ./docs/ directory.
[x] Tests: All converted JSON/YML tests from ethereum/tests have been added to converted-ethereum-tests.txt.
[x] Tests: Included the type and version of evm t8n tool used to locally execute test cases:  e.g., ref with commit hash or geth 1.13.1-stable-3f40e65.
[x] Tests: Ran mkdocs serve locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.

this PR consumes https://github.com/ethereum/execution-spec-tests/pull/516  that introduced  this feature example use

It would be nice if this could be made generic in a manner like TransitionTool is made generic, I expect each client to expose their own tool.
Also, I would like a format that accepts required arguments.  Besu's equivelant is evmtool code-validation and that won't pass the binary string matching task ask it is a binary plus an argument.
Combine this with the fork being validated possibly being another argument.

It would be nice if this could be made generic in a manner like TransitionTool is made generic, I expect each client to expose their own tool.
Also, I would like a format that accepts required arguments. Besu's equivelant is evmtool code-validation and that won't pass the binary string matching task ask it is a binary plus an argument.
Combine this with the fork being validated possibly being another argument.

I think @danceratopz might know a bit better than I do how to implement something along these lines.
We might need to create another package like we currently have evm_transition_tool, maybe a eof_tool with all different flavors of EOF tools implemented.
We might also need to implement new parameters to configure it in the pytest_plugins/test_filler.
My main ask when we implement this is that the normal test filling process does not fail if there no eof tool installed, only fails if we are trying to fill an EOF test.

we stick to evmone-eofparse for verification for now till later when we refactor tooling capture

My main ask when we implement this is that the normal test filling process does not fail if there no eof tool installed, only fails if we are trying to fill an EOF test.

@marioevz, Regarding this, we warn at the end of the test session if evmone-eofparse was not found:


libkbfs: expose moved-away local conflict views as real TLFs

When a user calls keybase fs clear-conflicts, it renames the stuck conflict journal to a backup directory, but doesn't delete it.  The user would then have access to the "master" view of the TLF via the usual path (e.g., /keybase/private/alice,bob), but might want to retrieve and manually copy changes from the old conflict branch into the master view again, in hopes that the conflict doesn't recur this time.
So this PR exposes that stuck, local conflict view as a read-only TLF under a new path.  In the above example, the new path would be /keybase/private/alice,bob (local conflicted copy 2019-05-16 #1), if they cleared the conflict on 5/16/19 UTC time.  Since they could theoretically clear multiple conflicts on the same day, we also support #2, #3, etc in this name.  (Old-style, pre-iteam TLFs omit the #1 when there's only one, but the service expects it to always be there for new, iteam-backed TLFs.)
But because we put this in the favorites list as a new TLF (as opposed to something like .kbfs_archived_rev= directories that live under the main TLF itself), we needed to give it a unique TLF ID. This turns out to be pretty challenging, as it needs to be plumbed through to where handles are created.  Much of the development time came to shaking out corner cases related to that, and fixing latent bugs that it exposed.
This works by the JournalManager scanning all backup directories on startup, creating fake TLF IDs for each of them, and maintaining a map from the real TLF ID plus the date+number conflict suffix to the fake ID.  The journal serves that as the TLF ID whenever a handle lookup needs to find the TLF ID for the handle.  From there, the journal just serves any data requested for the fake TLF ID from that backup directory.
This also adds a new TLF handle extension type for local conflicts, and treats handles with those conflicts specially in some places (like when looking up the TLF ID).  This extension type isn't known by either the service or the mdserver, so it needs to be stripped out before communicating with them, to ensure we get the data corresponding to the "master" TLF.
I didn't bother making this conflict-clearing stuff work with the other type of TLF-level conflict, when an SBS resolution conflicts.  I figured the possibility of a stuck conflict on one of those folders is so remote that it isn't worth our time to support it.  (The client will panic in that case, I think.)  If anyone feels strongly we should support it, let me know.
The local conflict view TLFs are returned in the favorites list, so that the user can easily find them from the CLI.  In addition to the conflict suffix described above, they are also given a new conflict type to show that they have been moved away from the master view.
The commits are separately reviewable, if that's preferred.
Issue: KBFS-4138

Thanks Strib! I haven’t looked at code yet, but one question for now, would it make sense to include “utc” in the suffix so it’s clear it’s not local time? I think end users may not think about UTC most of time. Not in this era anyways!

Thanks Strib! I haven’t looked at code yet, but one question for now, would it make sense to include “utc” in the suffix so it’s clear it’s not local time? I think end users may not think about UTC most of time. Not in this era anyways!

We don't do that for SBS conflicts on chris's orders, so I went with consistency here.  Also, it would be hard to make the parsing code work for both cases at the same time if we changed it.  I think it's so rare it shouldn't matter.

@songgao I updated this PR to set the conflict state right on each favorite for the server view and the local views.


Fix readme preview issue

Hey @bennyhuo.
These (seemingly?) unnecessary characters '~~~~' in the ReadMe.md file are causing issues while rendering the markdown preview. Removing those characters is fixing the issue, and the thing renders fine.
This PR just removes those characters.

Thank you!


List Text Indexes Correctly

Text indexes are created in the form of {"name": "fieldname",
"type":"datatype"}. This differs from view based indexes that
are in the form of {"field":"sortdirection"}. When presenting
the text index fields, we display for each field "fieldname":"datatype".
FogBugzID:46012

Tested. +1 from me

+1


Update Windows CI

Ported the updated Windows CI solutions from https://github.com/hylo-lang/hylo

Thanks!


Additional fixes, refactors, and docs

Supersedes #4

https://github.com/kubernetes-sigs/windows-gmsa/pull/123


Lifetimes problem with CollisionWorld::interferences_with_ray

This function: http://ncollide.org/rustdoc/ncollide/world/struct.CollisionWorld.html#method.interferences_with_ray
has the same lifetime for the passed ray and the groups as self which means that something like:
fn ray_intersect(&self) -> Option<&UserData>{
    let ray = ...;
    self.world.interferences_with_ray(&ray, &self.groups)
}

being ray_intersect a function of a struct containing a CollisionWorld and CollisionGroups (although collision groups suffers the same problem if created in the function) won't compile cause ray doesn't live as much as self.
Not sure but wondering if changing the lifetimes of ray and groups to:
fn interferences_with_ray<'a,'b>(&'a self, ray: &'b Ray<P>, groups: &'b CollisionGroups)

would allow to do this, since it doesn't look like the ray or the groups need to live as long as the world.

(I am on master 0.14 tag)
if you want to be able to write this:
fn test_ray_intersect() {
    struct Foo {
        world: CollisionWorld<::na::Point2<f32>, ::na::Isometry2<f32>, usize>,
    }

    impl Foo {
        fn ray_intersect(&self) -> Option<(&CollisionObject<::na::Point2<f32>, ::na::Isometry2<f32>, usize>, RayIntersection<::na::Vector2<f32>>)> {
            let ray = unsafe { ::std::mem::uninitialized() };
            let group = unsafe { ::std::mem::uninitialized() };
            self.world.interferences_with_ray(&ray, &group).next()
        }
    }
}

then it is possible by adding some lifetimes in the code: diff:
diff --git a/ncollide_pipeline/world/collision_world.rs b/ncollide_pipeline/world/collision_world.rs
index 5ac086bb..1abf5518 100644
--- a/ncollide_pipeline/world/collision_world.rs
+++ b/ncollide_pipeline/world/collision_world.rs
@@ -260,11 +260,11 @@ impl<P: Point, M: Isometry<P>, T> CollisionWorld<P, M, T> {

     /// Computes the interferences between every rigid bodies on this world and a ray.
     #[inline]
-    pub fn interferences_with_ray<'a>(
+    pub fn interferences_with_ray<'a, 'b>(
         &'a self,
-        ray: &'a Ray<P>,
-        groups: &'a CollisionGroups,
-    ) -> InterferencesWithRay<'a, P, M, T> {
+        ray: &'b Ray<P>,
+        groups: &'b CollisionGroups,
+    ) -> InterferencesWithRay<'a, 'b, P, M, T> {
         // FIXME: avoid allocation.
         let mut handles = Vec::new();
         self.broad_phase.interferences_with_ray(ray, &mut handles);
@@ -343,14 +343,14 @@ impl<P: Point, M: Isometry<P>, T> CollisionWorld<P, M, T> {
 }

 /// Iterator through all the objects on the world that intersect a specific ray.
-pub struct InterferencesWithRay<'a, P: 'a + Point, M: 'a, T: 'a> {
-    ray: &'a Ray<P>,
+pub struct InterferencesWithRay<'a, 'b, P: 'a + Point, M: 'a, T: 'a> {
+    ray: &'b Ray<P>,
     objects: &'a CollisionObjectSlab<P, M, T>,
-    groups: &'a CollisionGroups,
+    groups: &'b CollisionGroups,
     handles: IntoIter<&'a CollisionObjectHandle>,
 }

-impl<'a, P: Point, M: Isometry<P>, T> Iterator for InterferencesWithRay<'a, P, M, T> {
+impl<'a, 'b, P: Point, M: Isometry<P>, T> Iterator for InterferencesWithRay<'a, 'b, P, M, T> {
     type Item = (&'a CollisionObject<P, M, T>, RayIntersection<P::Vector>);

     #[inline]

same thing should be done then for AABB and point interferences.
Also as a side note Interferences structures are not public and they should be
@sebcrozet if you want I can open 2 PR:

first with public interferences struct
second with additional lifetime for the 3 interferences

@thiolliere You are correct! I'd be thankful to accept your two PR.

This should be fixed by #184. Please reopen if this does not fit your use-case @arturoc .

haven't tried it but that looks correct. thanks!


[BUG] install_depthai.sh - 'libtbb2' replaced

Running the installation script on Ubuntu 23.04 using sudo wget -qO- https://docs.luxonis.com/install_depthai.sh | bash returns the following output before terminating:

Package libtbb2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libtbbmalloc2
E: Package 'libtbb2' has no installation candidate
Failed installing dependencies. Could be a bug in the installer or unsupported platform. Open a bug report over at https://github.com/luxonis/depthai - exited with status 100 at line 116
Failed installing dependencies. Could be a bug in the installer or unsupported platform. Open a bug report over at https://github.com/luxonis/depthai - exited with status 100 at line 192

As the output implies, it sounds like the script at https://docs.luxonis.com/install_dependencies.sh should be modified within readonly ubuntu_pkgs=( on line 25 such that libtbb2 is replaced with libtbbmalloc2.

Seen this often with non-LTS releases... would you have a change to check with e.g. Ubuntu 22.04 (LTS) (or do a quick check within a Ubuntu-LTS docker container)?

I spun up a 22.04.2 Desktop AMD64 virtual machine and the DepthAI installation process completed successfully.
Perhaps libtbb2 should be moved from ubuntu_pkgs into ubuntu_pkgs_pre22_04, while libtbbmalloc2 should be inside ubuntu_pkgs_post22_04 within the install_dependencies.sh script ?


[EVENT] Smithsonian

Summary
Teaching a course for about 20 users 7/24 - 8/5.  Having sufficient EC2 instances warmed up (8Gb and 1 cpu per user for around 20 users) would make the instructor's life a lot easier.
[Request received over email]
Event Info

Community Representative: @aewhite100
Event begin: 2023-07-24
Event end: 2023-08-05
Active times: all day
Number of attendees: 20
Hub Events Calendar

Hub info

Hub URL: https://smithsonian.2i2c.cloud/
Hub decommissioned after event?: no

Task List
Before the event

[ ] Dates confirmed with the community representative and added to Hub Events Calendar.
[ ] Quotas from the cloud provider are high-enough to handle expected usage.
[ ] One week before event Hub is running.
[ ] Confirm with Community Representative that their workflows function as expected.

👉Template message to send to community representative
Hey {{ COMMUNITY REPRESENTATIVE }}, the date of your event is getting close!

Could you please confirm that your hub environment is ready-to-go, and matches your hub's infrastructure setup, by ensuring the following things:
- [ ] Confirm that the "Event Info" above is correct
- [ ] On your hub: log-in and authentication works as-expected
- [ ] `nbgitpuller` links you intend to use resolve properly
- [ ] Your notebooks and content run as-expected

[ ] 1 day before event, either a separate nodegroup is provisioned for the event or the cluster is scaled up.

During and after event

[ ] Confirm event is finished.
[ ] Nodegroup created for the hub is decommissioned / cluster is scaled down.
[ ] Hub decommissioned (if needed).
[ ] Debrief with community representative.

👉Template debrief to send to community representative
Hey {{ COMMUNITY REPRESENTATIVE }}, your event appears to be over 🎉

We hope that your hub worked out well for you! We are trying to understand where we can improve our hub infrastructure and setup around events, and would love any feedback that you're willing to give. Would you mind answering the following questions? If not, just let us know and that is no problem!

- Did the infrastructure behave as expected?
- Anything that was confusing or could be improved?
- Any extra functionality you wish you would have had?
- Could you share a story about how you used the hub?

- Any other feedback that you'd like to share?

This has been scaled. I suggest we leave this open until the event is over and we can revert #2856

Thank you @sgibson91 !

Thanks again for the help everyone!
-Alex White

From: James Munroe @.>
Sent: Tuesday, July 25, 2023 8:57:20 AM
To: 2i2c-org/infrastructure @.>
Cc: White, Alexander E. @.>; Mention @.>
Subject: Re: [2i2c-org/infrastructure] [EVENT] Smithsonian (Issue #2854)
External Email - Exercise Caution
Thank you @sgibson91https://github.com/sgibson91 !
—
Reply to this email directly, view it on GitHubhttps://github.com/2i2c-org/infrastructure/issues/2854#issuecomment-1649898129, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEGGYQRSVQEEDHLCU7XZ34DXR7GEBANCNFSM6AAAAAA2U4RQ7Y.
You are receiving this because you were mentioned.Message ID: @.***>

Hey @aewhite100, your event appears to be over 🎉
We hope that your hub worked out well for you! We are trying to understand where we can improve our hub infrastructure and setup around events, and would love any feedback that you're willing to give. Would you mind answering the following questions? If not, just let us know and that is no problem!

Did the infrastructure behave as expected?

Anything that was confusing or could be improved?

Any extra functionality you wish you would have had?

Could you share a story about how you used the hub?

Any other feedback that you'd like to share?

Lastly, are we good to begin scaling the cluster down?

Thanks Sarah. We are good to scale down now.
Everything worked exactly as expected. Students were able to get access to our hub quickly and easily. No extra functionality needed this time around.
This hub was used for an intercurricular course on data science and tropical biology held at the Smithsonian Tropical Research Institute in Panama (https://github.com/sidatasciencelab/UCSB_SI_scholars_STRI). All of our students are part of the UCSB-Smithsonian Scholars program (https://sidatasciencelab.github.io/education/si_scholars.html). Access to these compute resources is critical as we hold the course in remote locations and students are not always traveling with sophisticated compute hardware. The course was a huge success and our hub infrastructure was an important part of that success.
Thanks again,
Alex
Alexander E. White, PhD (he/him/his)
Biodiversity Research Data Scientist
Data Science Lab | https://datascience.si.edu/
Office of the Chief Information Officer
Smithsonian Institution | Washington D.C.
From: Sarah Gibson @.>
Date: Wednesday, August 9, 2023 at 6:01 AM
To: 2i2c-org/infrastructure @.>
Cc: White, Alexander E. @.>, Mention @.>
Subject: Re: [2i2c-org/infrastructure] [EVENT] Smithsonian (Issue #2854)
External Email - Exercise Caution
Hey @aewhite100https://github.com/aewhite100, your event appears to be over 🎉
We hope that your hub worked out well for you! We are trying to understand where we can improve our hub infrastructure and setup around events, and would love any feedback that you're willing to give. Would you mind answering the following questions? If not, just let us know and that is no problem!

Did the infrastructure behave as expected?
Anything that was confusing or could be improved?
Any extra functionality you wish you would have had?
Could you share a story about how you used the hub?
Any other feedback that you'd like to share?

Lastly, are we good to begin scaling the cluster down?
—
Reply to this email directly, view it on GitHubhttps://github.com/2i2c-org/infrastructure/issues/2854#issuecomment-1671114094, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEGGYQRB5DW6VVYCGL6VVY3XUNUYJANCNFSM6AAAAAA2U4RQ7Y.
You are receiving this because you were mentioned.Message ID: @.***>


[WIP] Fix: When validating repositories, attempt to find by html_url, not by name

This PR

[x] enhances tests covering ZfModule\Service\Module by re-using repository provider method repository()
[x] fixes an issue where when validating repositories fetched from GitHub, the mapper would look up modules by name, not url, and in result, render other's modules under your account

Fixes #246.
Steps required to reproduce

create a repository on GitHub with the same name as a registered on, e.g., ZF2-AcYaml https://github.com/localheinz/ZF2-AcYaml
sign in with GitHub to http://modules.zendframework.com
navigate to http://modules.zendframework.com/user

Before

After

/cc @ins0

@localheinz merged, thanks!

That was quick, @Ocramius, thank you!


datepicker selected value issue

 is not selecting any value and causing 'undefined' issue. I can see the console.log message from this class in dev tool 'selectedChanged undefined'.

Strange, I've never seen that before.. Do you see any other errors?
Can you show a snippet on how you use it?

no errors :( here is the snippet.

I think you've missed the snippet.. :smile:
Unfortunately I just noticed that the log output from valueChanged selectedChanged undefined is outputting the wrong variable so this output is nonsense essentially.
Is that behaviour just from clicking a date on the picker or where does it come from?

Can you try with the current version (0.2.3)? There have been some minor adjustments to DatePicker.

Sure.
Thanks,
Vikas Dangwal
On Wed, Mar 30, 2016 at 12:21 PM -0700, "Daniel Bendel"<EMAIL_ADDRESS>wrote:
Can you try with the current version (0.2.3)? There have been some minor adjustments to DatePicker.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/146#issuecomment-203593721

Hi Dan,
I have attached couple of screenshots and also below the code snippet how i am using it. Please let me know if you see any issue here? I am still not able to get the selected date set to my property 'travelDate'.
  Travel Date
Class Declaration:
export class Meeting extends BaseModel {    /**     *     /    constructor() {        super();        this.meetingAttendees=new Array();    }    /* Primary Key /    id: number;    /* Date Travelled */    travelDate?: Date;
Thanks,
Vikas Dangwal
Date: Wed, 30 Mar 2016 19:23:41 +0000
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [aurelia-ui-toolkits/aurelia-materialize-bridge] datepicker selected value issue (#146)
Sure.
Thanks,
Vikas Dangwal
On Wed, Mar 30, 2016 at 12:21 PM -0700, "Daniel Bendel"
<EMAIL_ADDRESS>wrote:
Can you try with the current version (0.2.3)? There have been some minor adjustments to DatePicker.
—
You are receiving this because you authored the thread.
Reply to this email directly or
view it on GitHub

Unfortunately, I didn't get your screenshots. Maybe it doesn't work if you answer by email, but I don't know.
I've formatted your code a little for me to have a look later. It's getting late actually. :smile:

  Travel Date

  <input md-datepicker="container: body;" id="travelDate" type="date" placeholder="pick a date" value.two-way="CurrentMeeting.travelDate"/>

export class Meeting extends BaseModel {
  /**     *     */
  constructor() {
    super();
    this.meetingAttendees=new Array<MeetingAttendee>();
  }
  /** Primary Key */
  id: number;
  /** Date Travelled */
  travelDate?: Date;
}

Does that work without inheritance? I've read somewhere that bindings don't work with inherited classes. I need to look it up to be sure.

Thank you. Is there any other way i can send you screenshots? If you dont mind, may be your personal email (wont bother you dont worry). :)
Thanks,
Vikas Dangwal
Date: Wed, 30 Mar 2016 13:12:38 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [aurelia-ui-toolkits/aurelia-materialize-bridge] datepicker selected value issue (#146)
Unfortunately, I didn't get your screenshots. Maybe it doesn't work if you answer by email, but I don't know.
I've formatted your code a little for me to have a look later. It's getting late actually.

Travel Date

export class Meeting extends BaseModel {
/**     *     /
constructor() {
super();
this.meetingAttendees=new Array();
}
/* Primary Key /
id: number;
/* Date Travelled */
travelDate?: Date;
}
Does that work without inheritance? I've read somewhere that bindings don't work with inherited classes. I need to look it up to be sure.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

<EMAIL_ADDRESS>Or paste it into GitHub. :smile:

Oh, that value binding needs to be in the datepicker attribute.

The example in the catalog app actually doesn't show ot.
I'll create an issue to update the catalog.

you mean md-value.bind="..."?
Thanks,
Vikas Dangwal
Date: Wed, 30 Mar 2016 13:15:37 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [aurelia-ui-toolkits/aurelia-materialize-bridge] datepicker selected value issue (#146)
Oh, that value binding needs to be in the datepicker attribute.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

Like this:
<input md-datepicker="container: body; value.two-way: CurrentMeeting.travelDate;" id="travelDate" type="date" placeholder="pick a date" />

Sorry for the spam. :smile:

got you. Let me try that and will let you know if works.
Thanks,
Vikas Dangwal
Date: Wed, 30 Mar 2016 13:17:56 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [aurelia-ui-toolkits/aurelia-materialize-bridge] datepicker selected value issue (#146)
Like this:

Sorry for the spam.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

😈 changing code as per your suggestion it works :) However i will have to change the format of the date as my WebAPI rejecting request as not a valid format like below.
travelDate=Thu Mar 17 2016 00:00:00 GMT-0400 (Eastern Daylight Time)
Thanks,
Vikas Dangwal
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: RE: [aurelia-ui-toolkits/aurelia-materialize-bridge] datepicker selected value issue (#146)
Date: Wed, 30 Mar 2016 16:18:28 -0400
got you. Let me try that and will let you know if works.
Thanks,
Vikas Dangwal
Date: Wed, 30 Mar 2016 13:17:56 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [aurelia-ui-toolkits/aurelia-materialize-bridge] datepicker selected value issue (#146)
Like this:

Sorry for the spam.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

Great!
However, what you get should be a Date object, not a string. Does that work?
If so, you can of course format it in any way you want (probably JSON.stringify for WebApi).

one more thing, when i select the date from picker, it update the UI, but as soon as picker get closed, my control revert back to Today current date. Is it normal?
Thanks,
Vikas Dangwal
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: RE: [aurelia-ui-toolkits/aurelia-materialize-bridge] datepicker selected value issue (#146)
Date: Wed, 30 Mar 2016 16:26:55 -0400
😈 changing code as per your suggestion it works :) However i will have to change the format of the date as my WebAPI rejecting request as not a valid format like below.
travelDate=Thu Mar 17 2016 00:00:00 GMT-0400 (Eastern Daylight Time)
Thanks,
Vikas Dangwal
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: RE: [aurelia-ui-toolkits/aurelia-materialize-bridge] datepicker selected value issue (#146)
Date: Wed, 30 Mar 2016 16:18:28 -0400
got you. Let me try that and will let you know if works.
Thanks,
Vikas Dangwal
Date: Wed, 30 Mar 2016 13:17:56 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [aurelia-ui-toolkits/aurelia-materialize-bridge] datepicker selected value issue (#146)
Like this:

Sorry for the spam.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

one more thing, when i select the date from picker, it update the UI, but as soon as picker get closed, my control revert back to Today current date. Is it normal?

No, that's not normal.
Now, that's hard to see from your examples - at least for me.
I sometimes got this with other bindings interfering. For example I had an input connected to a variable which was connected to a progress bar. I couldn't set the progress bar to null because the input would change it to '' (empty string).
But that's just a guess.

When you close the picker, this is executed:
  onClose() {
    let selected = this.picker.get('select');
    this.value = selected ? selected.obj : null;
  }

But it's not an explanation. Both my guesses would lead to the control being empty (with value being null).. So your control is set to today but the model is correct? Or is it also set to today?


How to increase 'grpc.max_send_message_length' and 'grpc.max_receive_message_length'?

Thanks for this repo, I was able to easily implement it.
Coming to the issue, I am getting this error "Received message larger than max (9216051 vs. 4194304)","grpc_status":8}" whenever I am sending a bigger image. Is there a way to increase the grpc.max_send_message_length and grpc.max_receive_message_length ?

Hi @bendangnuksung thanks for checking out my project. The code to configure the size of message is not updated to the pip repository. Use the method 2 mentioned in readme to install and you should see the option to set limit for message size via the command line

@Abhijit-2592 Thank you for the response. I have tried Method 2 as you suggested, it did install the package but it didn't show any option to set the message size. I press ctrl+c when it prompted for UserId and password as mentioned in the README.
I also encountered some small problems when trying to install using method 2 which I was able to solve installing some pre-requirements packages: grpcio-tools, twine, protobuf-compiler

@bendangnuksung. Just checking did you install from the newly created wheel (from method 2) and uninstalled the pip version? try python -m model_server.runserver --help from the command line. It will show command line arguments to change what you require.

Thanks @Abhijit-2592 I totally misunderstood when you said

Use the method 2 mentioned in readme to install and you should see the option to set limit for message size

I thought I need to set the limit during the installation.
Once again thanks for the help and great repo 👍
One more question which is out from the topic. Does the model_server supports stream-unary or stream-stream  data transmission?

Finally solved it, what I needed was to increase the max_receive_message_length in client code.
...
options = [('grpc.max_receive_message_length', 100 * 1024 * 1024)]
channel = grpc.insecure_channel('localhost:5001', options=options)
...


feat: Add config package

Adds the config package used to configure mocktimism

Needs additional validation in a future pr.
https://github.com/ethereum-optimism/mocktimism/issues/2

Current dependencies on/for this PR:

main

PR #14

PR #15

PR #16

PR #17

PR #18

PR #20

PR #21

PR #22   👈

This comment was auto-generated by Graphite.


fix(material/sort): If there is no direction, setting active as empty

Fixes #15169

@Suresh918 Can you rebase this for us?

Closing since this breaks many internal applications which have built assumptions around this behavior.


Add testing configuration note #252

Thanks @tpetrone!

@jpadilla When you can a chance can you please review?
I'm thinking it's time for a new release, v4.0.5? Changes are this and the FastBoot stuff.

@fenichelar let's do it, thanks!


Consider implementing controller- or ORM-level caching

+100

I'm interested in integrating https://www.npmjs.com/package/cache-manager with https://github.com/node-machine/machine -- which then would make it easy for wl to leverage that (lets continue the discussion here: https://groups.google.com/forum/?hl=en#!forum/node-machine)


Dataframe set_index(inplace=True) doesn't work

Fairly straightforward one, but I may have done something stupid:
import pandas as pd
import dask.dataframe as dd

df = pd.DataFrame({
        'a': [9, 8, 7],
        'b': [6, 5, 4],
        'c': [3, 2, 1]
})
ddf = dd.from_pandas(df, npartitions=1)
print('Rows: {}'.format(df.index.values))

df.set_index('a', inplace=True)
print('Pandas: {}'.format(df.index.values))

ddf.set_index('a', inplace=True)
print('Dask - inplace=True: {}'.format(ddf.index.values.compute()))

ddf = ddf.set_index('a')
print('Dask: {}'.format(ddf.index.values.compute()))

The output for this is:
Rows: [0 1 2]
Pandas: [9 8 7]
Dask - inplace=True: [0 1 2]
Dask: [7 8 9]

So set_index(col, inplace=True) doesn't work. Expected behaviour would be a warning or an error that this is an unsupported argument. The sort on index also differs but is documented and makes sense anyway.

I agree that an error here would be best.  Is it just this keyword, or do
we silently ignore all unknown keywords in that function?
On Thu, Feb 14, 2019 at 3:59 AM Sam Mangham<EMAIL_ADDRESS>wrote:

Fairly straightforward one, but I may have done something stupid:
import pandas as pd
import dask.dataframe as dd
df = pd.DataFrame({
'a': [9, 8, 7],
'b': [6, 5, 4],
'c': [3, 2, 1]
})
ddf = dd.from_pandas(df, npartitions=1)
print('Rows: {}'.format(df.index.values))
df.set_index('a', inplace=True)
print('Pandas: {}'.format(df.index.values))
ddf.set_index('a', inplace=True)
print('Dask - inplace=True: {}'.format(ddf.index.values.compute()))
ddf = ddf.set_index('a')
print('Dask: {}'.format(ddf.index.values.compute()))
The output for this is:
Rows: [0 1 2]
Pandas: [9 8 7]
Dask - inplace=True: [0 1 2]
Dask: [7 8 9]
So set_index(col, inplace=True) doesn't work. Expected behaviour would be
a warning or an error that this is an unsupported argument. The sort on
index also differs but is documented and makes sense anyway.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/4484, or mute the thread
https://github.com/notifications/unsubscribe-auth/AASszJB4jN0rwJdluRsLtChypirDKhl6ks5vNU-xgaJpZM4a7cdf
.


Add no metrics troubleshooting section

Update troubleshooting section for no BOSH System metrics to include multiple causes/solutions
Add new 'no ingested metrics' section
Document new alerts around ingested metrics

[#158568445]
Signed-off-by: Glenn Oppegard<EMAIL_ADDRESS>

Thanks for these @mklanjsek !


⚠ Bofrost.at has degraded performance

In b15bfba, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1848 ms

Resolved: Bofrost.at performance has improved in 0b3c3d7 after 6 minutes.


Add support for key prefixes in vault paths

#488 Add support for key prefixes in vault paths

Thank you for your contribution. That's merged and polished now.


Rookie question

Hi Guys
Sorry for rookie question here:
I would like to write a part of code in my tool, that will connect to discord, read channels and parse text.
The tool is written in .netcore, (project.json created by dotnet new)  and I want to keep it multiplatform.
When I added a dependency in my app to Discord.Net in Nuget, I've got an error, that "Nito.AsyncEx 3.0.1 is not compatible with netcoreapp1.1".
This my project.json  now:
{
  "version": "1.0.0-*",
  "buildOptions": {
    "debugType": "portable",
    "emitEntryPoint": true
  },
  "dependencies": {
       "Discord.Net": "*"
  },
  "frameworks": {
    "netcoreapp1.1": {
      "dependencies": {
        "Microsoft.NETCore.App": {
          "type": "platform",
          "version": "1.1.0"
        }
      },
      "imports": "dnxcore50"
    }
  }
}

So how can get this fixed and my tool, still , a multiplatform ?
The tool is my first c# project since many years :)
Thank you!

Thanks
Dev docs (https://discord.foxbot.me/docs/guides/intro.html) says, that I need to use https://www.myget.org/F/discord-net/api/v3/index.json . I have no idea how to use it "dotnet restore" ...

1.0 is still in development, try targeting 1.0.0-rc-*

Thanks ! it worked!! Closing then :-)

Late to the party, fox~

I'll check it out. I distribute the app/tool only as source code, so Nuget.Config is enough at this moment. :) Thanks !


CHANGELOG: Mark v0.32 as in progress

[ ] I added CHANGELOG entry for this change.
[x] Change is not relevant to the end user.

Changes
Mark v0.32 as in progress and update VERSION on main.
This is quite a large release so let me know if I've missed any changelog entries!
Waiting on https://github.com/thanos-io/thanos/pull/6582 to be merged for actual rc cc: @GiedriusS 🙂
Verification

Docs check fails due to the release link.

Do we want to update dependencies like objstore and promql-engine?

We can as we are waiting for #6582 , should I update both here, or are you waiting for a specific change?

I was just thinking we should pull in latest versions from these dependencies. I wanted to make sure we get https://github.com/thanos-io/promql-engine/pull/298 in as well.

Sure! Updating here: https://github.com/thanos-io/thanos/pull/6618


Fix/23003: Placeholders are overlapping with auto-filled text

Details
Placeholders are overlapping with auto-filled text. We need to update the state of label after running animation to fix that
Fixed Issues

$ https://github.com/Expensify/App/issues/23003
PROPOSAL: https://github.com/Expensify/App/issues/23003#issuecomment-1643778453
Tests

Make sure you are already logged out before visiting this link, if not reload the page after logging out.
Let the Login details be auto-filled (make sure not to click anywhere on the page before performing the next step)
Click on the share button on the address bar
Verify that the placeholder should not overlap auto-filled text

[x] Verify that no errors appear in the JS console

Offline tests

NA
QA Steps

Make sure you are already logged out before visiting this link, if not reload the page after logging out.
Let the Login details be auto-filled (make sure not to click anywhere on the page before performing the next step)
Click on the share button on the address bar
Verify that the placeholder should not overlap auto-filled text

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/Expensify/App/assets/129500732/494e7edb-4eda-4742-9254-a745ea197acb

Mobile Web - Chrome
https://github.com/Expensify/App/assets/129500732/b1a65d4e-9893-40e1-b061-4879490fe3e0

Mobile Web - Safari
https://github.com/Expensify/App/assets/129500732/a11f97d5-6d6a-4367-8e8e-9207051f3271

Desktop
This PR is only visible on web

iOS
This PR is only visible on web

Android
This PR is only visible on web

@dukenv0307 please pull main

Found regression: label is not activated first time even though focused (for test, you should not have any autofill on browser or enable Use your screen lock when filling passwords in chrome password setting)
https://github.com/Expensify/App/assets/108292595/73734431-e737-4d58-909d-fe71f8c297b8

@dukenv0307 are you investigating?
Here's root cause:
https://stackoverflow.com/questions/55198517/react-usestate-why-settimeout-function-does-not-have-latest-state-value

So I suggest that we should always use runAfterInteractions instead of only the first time

yes but as this is general component, it will apply to all inputs throughout the app where runAfterInteractions is not needed at all

@situchan We can use accessibilityLabel props or label props to know that it is login form and then use runAfterInteractions like this
if (props.accessibilityLabel={translate('loginForm.phoneOrEmail')}) {

            InteractionManager.runAfterInteractions(() => {
                if (hasValueRef.current || isFocused || isInputAutoFilled(input.current)) {
                    activateLabel();
                } else {
                    deactivateLabel();
                }
            });
        }

What do you think about this way?

That's an intelligent idea. You think it's better than introducing new prop?

As this is tricky, I think we can fix only original issue without InteractionManager.runAfterInteractions. We can leave the 2nd issue I reported as is for now as it's edge case - user will not be likely to leave app before loading login screen after launch.
What do you think?
cc: @francoisl

An alternative would be to introduce a new boolean prop such as useInteractionManagerOnFocusChangeEffects (terrible name but I can't think of something better right now), and then pass it on the inputs of the login page?
If that's not an option, then yes I'd say let's just fix the original issue without using runAfterInteractions. While the accessibility prop solution would work, it sounds like it would become messy to maintain if we end up making new pages that would require the same logic.

If that's not an option, then yes I'd say let's just fix the original issue without using runAfterInteractions

I am 👍 on this.

For crash safe, let's add !input || condition here:
https://github.com/Expensify/App/blob/6e055d073dff463097e5fed7cfed234bcfcde845/src/libs/isInputAutoFilled.js#L9

Please add a note explaining why this was done and remove the Emergency label if this is not an emergency.

Tests were passing, I think this is a bug with melvin.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/francoisl in version: 1.3.56-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@dukenv0307 Can you update the steps? What link are we visiting? need more details to QA

@dukenv0307 Can you update the steps? What link are we visiting? need more details to QA

It's just app start link
https://staging.new.expensify.com/

🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.56-24 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


ProcessStartInfo.UseShellExecute documentation should note that on .NET Core default is false

@vanillajonathan commented on Sat Sep 09 2017
The documentation for the UseShellExecute property in the ProcessStartInfo class states the following:

Gets or sets a value indicating whether to use the operating system shell to start the process. Returns: true if the shell should be used when starting the process; false if the process should be created directly from the executable file. The default is true.

This seems to be inconsistent with the actual behavior.
using System;
using System.Diagnostics;

namespace Example
{
    class Program
    {
        static void Main(string[] args)
        {
            var info = new ProcessStartInfo()
            {
                // UseShellExecute = true,
            };

            Console.WriteLine($"UseShellExecute: {info.UseShellExecute}");
        }
    }
}

Which prints out:

UseShellExecute: False

Reference:
https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.Process/src/System/Diagnostics/ProcessStartInfo.Unix.cs#L41

@joshudson commented on Sat Sep 09 2017
What OS?

@vanillajonathan commented on Sat Sep 09 2017
Linux.
$ dotnet --version
2.0.0
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.10
DISTRIB_CODENAME=artful
DISTRIB_DESCRIPTION="Ubuntu Artful Aardvark (development branch)"

@danmosemsft commented on Sat Sep 09 2017
We chose the opposite default for core. See https://github.com/dotnet/corefx/issues/18949
Docs need an issue in the docs repo probably.

@danmosemsft so is the default false to all .NET Core implementations, right?
It also seems we should document that this API throws PlatformNotSupportedException for UWP. Correct?
Also, I'm wondering how we can better track changes that have doc impact. Maybe the issues can have a special label or do we immediately open an issue here? By looking at this, it seems that only the wiki doc impact was considered.

@mairaw yes default false on all .NET Core implementations. PNSE on UWP.
There are other limitations to document for UWP of course. A high level list is at : https://github.com/dotnet/corefx/wiki/UWP-Compat
This is a superset of the .NET Core list at https://github.com/dotnet/corefx/wiki/ApiCompat which I believe you and Paulo have discussed documenting.

Thanks @danmosemsft! Yes, @pjanotti and I started discussing this but haven't finalized a plan yet.

@mairaw small aside: on Windows Nano it is possible to set this property to true but the Process.Start() will throw PNSE.


Add new cargo bike GraphHopper profile

If available, link to the ticket
Closes: #629
❗ Wait with merging until the GraphHopper is properly upgraded. As of now it does not have this profile.
QA Checklist
Author

[x] Code Review
[ ] Functionality Tested (iOS and Android + different screens)
[ ] Light/Dark Mode Tested
[ ] Performance/Energy Consumption Tested (especially in ride view)

Reviewer

[ ] Code Review
[ ] Functionality Tested (iOS and Android + different screens)
[ ] Light/Dark Mode Tested
[ ] Performance/Energy Consumption Tested (especially in ride view)

The updated GraphHopper is deployed now. Thus, this can be reviewed now. @PaulPickhardt (OSM and DRN should work).

@adeveloper-wq tested in production. Only DRN worked. OSM did not have the cargo default profile. Maybe the service is not updated yet in production. I will have a look.
Should it also work in release currently or do we update release later?
For me, it did not work when testing.

It should also work in RELEASE.

Release and production OSM is now updated. Works fine!


Image loading failed : FFImageLoading.Exceptions.DownloadHttpStatusCodeException

Description
App gets crashed when the image retrieved from a URL is not found (404 error)
Steps to Reproduce
App gets crashed when the source of the image is retrieved from a URL, where the resource is not found (404 error)
Expected Behavior
Not get crashed
Actual Behavior
App gets crashed
Basic Information

Version with issue:
Xamarin.FFImageLoading v<IP_ADDRESS>1
Xamarin.FFImageLoading.Forms v<IP_ADDRESS>9

Platform: iOS

Reproduction Link / Code
<ffimageloading:CachedImage Aspect="Fill" Source="{Binding ImgURL}" LoadingDelay="0" CacheDuration="59999" HorizontalOptions="Fill" />
Stack Trace
Image loading failed: http://xyz.com/blah.png?;160x0
FFImageLoading.Exceptions.DownloadHttpStatusCodeException: NotFound
<title>404 Not Found</title>

404 Not Found

  at FFImageLoading.Cache.DownloadCache+<DownloadAsync>d__16.MoveNext () [0x00266] in C:\projects\ffimageloading\source\FFImageLoading.Common\Cache\DownloadCache.cs:119
--- End of stack trace from previous location where exception was thrown ---
  at FFImageLoading.Cache.DownloadCache+<>c__DisplayClass15_0+<<DownloadAndCacheIfNeededAsync>b__0>d.MoveNext () [0x00050] in C:\projects\ffimageloading\source\FFImageLoading.Common\Cache\DownloadCache.cs:58
--- End of stack trace from previous location where exception was thrown ---
  at FFImageLoading.Retry+<DoAsync>d__0`1[T].MoveNext () [0x00189] in <eb932715e03b4269a2939e4cee76e949>:0
--- End of st
ack trace from previous location where exception was thrown ---
  at FFImageLoading.Cache.DownloadCache+<DownloadAndCacheIfNeededAsync>d__15.MoveNext () [0x00401] in C:\projects\ffimageloading\source\FFImageLoading.Common\Cache\DownloadCache.cs:57
--- End of stack trace from previous location where exception was thrown ---
  at FFImageLoading.DataResolvers.UrlDataResolver+<Resolve>d__7.MoveNext () [0x00045] in C:\projects\ffimageloading\source\FFImageLoading.Common\DataResolvers\UrlDataResolver.cs:22
--- End of stack trace from previous location where exception was thrown ---
  at FFImageLoading.DataResolvers.WrappedDataResolver+<Resolve>d__2.MoveNext () [0x00044] in C:\projects\ffimageloading\source\FFImageLoading.Common\DataResolvers\WrappedDataResolver.cs:21
--- End of stack trace from previous location where exception was thrown ---
  at FFImageLoading.Work.ImageLoaderTask`3+<RunAsync>d__109[TDecoderContainer,TImageContainer,TImageView].MoveNext () [0x0032d] in <eb932715e03b4269a2939e4cee76e949>:0

Kindly provide a solution. Thanks!

I can see one or two similar issues with this title, but the stack trace and the image source are different in those cases...

is there any update on this issue? I am having the same issue trying to load from unsplash

Same issue here.
App getting slower.

is there any update on this issue? I am having the same issue trying to load from unsplash

Same issue here.
App getting slower.


S3 - NoCredentialProviders

My registry is not successfully contacting AWS to log into S3, much less actually store images.
 Deprecated. \n\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors"}

There is no _ between access/secret and key  in the S3 environment variable name.
If you look at the logs in your container you should see a message about those environment variables being ignored.

That appears to have been it. The logs were not making it through to journalctl either. Thanks for the reminder to look in the container. Thanks much!

I had that problem when s3 bucket was empty. After I put sample /docker/sample.file into the bucket it starts works for me. Maybe it is better to reopen the issue?

@ffedoroff It's a health check that prevents the registry from operating if it can't reach the backed or it is misconfigured. In the case of this issue, the user had misconfigured the registry backend with the wrong auth credentials. Your problem is completely unrelated, other than that the health check failed when it couldn't list the backend registry resources. If you think you have a problem, then please file a separate issue.

REGISTRY_STORAGE_S3_ENCYPT is also mispelled.