Neccessary modification for scenario "Run, Pass and Shoot with Keeper"?

Hi, all!
I wanna switch to the 2 vs 2 scenario   "academy_run_pass_and_shoot_with_keeper", but that makes me so confused about the settings. I changed the arguments env as "academy_run_pass_and_shoot_with_keeper" and wish to control two players from left team, but the observation represent three players which are two players and a keepers. The default argument "active " of env.observation changes like "[0, 2], [1, 2]" rather than fixed like "[1, 2]" without keeper. What else should I change for adapting this multi-agent scenario? Thanks!

You can either control 3 players and use build_in action for goalkeeper or change scenario by setting controllable bit to the goalkeeper.

You can either control 3 players and use build_in action for goalkeeper or change scenario by setting controllable bit to the goalkeeper.

I changed the setting in the __init__ .py of this scenario and delete the parameter of the goalkeeper and set the number_of_left_players_agent_controls=2. Then I can control the fixed two players.

I changed the setting in the __init__ .py of this scenario and delete the parameter of the goalkeeper and set the number_of_left_players_agent_controls=2. Then I can control the fixed two players.

Does removing of the goalkeeper work at all? Game engine requires goalkeeper to be on the field. I think be doing that the game swapped one of your players for a goalkeeper.

Does removing of the goalkeeper work at all? Game engine requires goalkeeper to be on the field. I think be doing that the game swapped one of your players for a goalkeeper.

Sorry for my mistake, we deleted one of the original two players and maintained the goalkeeper and one player.

Sorry for my mistake, we deleted one of the original two players and maintained the goalkeeper and one player.

I still have a question about using the build-in action. How can I endow the goalkeeper with the build-in action to create the environment?

I still have a question about using the build-in action. How can I endow the goalkeeper with the build-in action to create the environment?

You create the environment the normal way, just make sure to use a full/v2
action set (example
https://github.com/google-research/football/blob/0856c8b730fffb12451a9470541755a715d73ece/gfootball/play_game.py#L47).
Then for the goalkeeper keep generating build-in action
https://github.com/google-research/football/blob/master/gfootball/doc/observation.md#v2-action-set
On Tue, Jan 19, 2021 at 10:43 AM Linghui Meng<EMAIL_ADDRESS>wrote:

I still have a question about using the build-in action. How can I endow
the goalkeeper with the build-in action to create the environment?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/google-research/football/issues/255#issuecomment-762724940,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMK2SVW23BG7KO5AEVRPTOLS2VH2LANCNFSM4WF7KMJQ
.

You create the environment the normal way, just make sure to use a full/v2
action set (example
https://github.com/google-research/football/blob/0856c8b730fffb12451a9470541755a715d73ece/gfootball/play_game.py#L47).
Then for the goalkeeper keep generating build-in action
https://github.com/google-research/football/blob/master/gfootball/doc/observation.md#v2-action-set
On Tue, Jan 19, 2021 at 10:43 AM Linghui Meng<EMAIL_ADDRESS>wrote:

I still have a question about using the build-in action. How can I endow
the goalkeeper with the build-in action to create the environment?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/google-research/football/issues/255#issuecomment-762724940,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMK2SVW23BG7KO5AEVRPTOLS2VH2LANCNFSM4WF7KMJQ
.

If you use create_environment then you can use other_config_options
https://github.com/google-research/football/blob/0856c8b730fffb12451a9470541755a715d73ece/gfootball/env/__init__.py#L105
to
set up action set.
On Tue, Jan 19, 2021 at 3:13 PM Piotr Stanczyk<EMAIL_ADDRESS>wrote:

You create the environment the normal way, just make sure to use a full/v2
action set (example
https://github.com/google-research/football/blob/0856c8b730fffb12451a9470541755a715d73ece/gfootball/play_game.py#L47).
Then for the goalkeeper keep generating build-in action
https://github.com/google-research/football/blob/master/gfootball/doc/observation.md#v2-action-set
On Tue, Jan 19, 2021 at 10:43 AM Linghui Meng<EMAIL_ADDRESS>wrote:

I still have a question about using the build-in action. How can I endow
the goalkeeper with the build-in action to create the environment?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/google-research/football/issues/255#issuecomment-762724940,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMK2SVW23BG7KO5AEVRPTOLS2VH2LANCNFSM4WF7KMJQ
.

If you use create_environment then you can use other_config_options
https://github.com/google-research/football/blob/0856c8b730fffb12451a9470541755a715d73ece/gfootball/env/__init__.py#L105
to
set up action set.
On Tue, Jan 19, 2021 at 3:13 PM Piotr Stanczyk<EMAIL_ADDRESS>wrote:

You create the environment the normal way, just make sure to use a full/v2
action set (example
https://github.com/google-research/football/blob/0856c8b730fffb12451a9470541755a715d73ece/gfootball/play_game.py#L47).
Then for the goalkeeper keep generating build-in action
https://github.com/google-research/football/blob/master/gfootball/doc/observation.md#v2-action-set
On Tue, Jan 19, 2021 at 10:43 AM Linghui Meng<EMAIL_ADDRESS>wrote:

I still have a question about using the build-in action. How can I endow
the goalkeeper with the build-in action to create the environment?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/google-research/football/issues/255#issuecomment-762724940,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMK2SVW23BG7KO5AEVRPTOLS2VH2LANCNFSM4WF7KMJQ
.

When I create the environment with env = football_env.create_environment(env_name=args.football_env, number_of_left_players_agent_controls=3, representation="raw", stacked=False, logdir='/tmp/football', write_goal_dumps=False, write_full_episode_dumps=False, render=False, other_config_options={'action_set': 'full'}). And I wanna know whether the order of actions for stepping into the env is fixed like keeper, the first player and the other player over states.

When I create the environment with env = football_env.create_environment(env_name=args.football_env, number_of_left_players_agent_controls=3, representation="raw", stacked=False, logdir='/tmp/football', write_goal_dumps=False, write_full_episode_dumps=False, render=False, other_config_options={'action_set': 'full'}). And I wanna know whether the order of actions for stepping into the env is fixed like keeper, the first player and the other player over states.

If you control all the players on the team then order is fixed (still, you
need to check the initial order by processing observations returned by the
env.reset()). If not all players are controlled then the order can change
when a controlled player switch happens.
On Tue, Jan 19, 2021 at 3:38 PM Linghui Meng<EMAIL_ADDRESS>wrote:

When I create the environment with env =
football_env.create_environment(env_name=args.football_env,
number_of_left_players_agent_controls=3, representation="raw",
stacked=False, logdir='/tmp/football', write_goal_dumps=False,
write_full_episode_dumps=False, render=False,
other_config_options={'action_set': 'full'}). And I wanna know whether
the order of actions for stepping into the env is fixed like keeper, the
first player and the other player over states.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/google-research/football/issues/255#issuecomment-762881985,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMK2SVUFISAUBKN57ZWMS5TS2WKPRANCNFSM4WF7KMJQ
.

If you control all the players on the team then order is fixed (still, you
need to check the initial order by processing observations returned by the
env.reset()). If not all players are controlled then the order can change
when a controlled player switch happens.
On Tue, Jan 19, 2021 at 3:38 PM Linghui Meng<EMAIL_ADDRESS>wrote:

When I create the environment with env =
football_env.create_environment(env_name=args.football_env,
number_of_left_players_agent_controls=3, representation="raw",
stacked=False, logdir='/tmp/football', write_goal_dumps=False,
write_full_episode_dumps=False, render=False,
other_config_options={'action_set': 'full'}). And I wanna know whether
the order of actions for stepping into the env is fixed like keeper, the
first player and the other player over states.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/google-research/football/issues/255#issuecomment-762881985,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMK2SVUFISAUBKN57ZWMS5TS2WKPRANCNFSM4WF7KMJQ
.

I got it! Great thanks for your clear demonstration.

I got it! Great thanks for your clear demonstration.


Local variable "operators" is expected to be a string in backend module

Local variable "operators" is expected to be a string in backend module

Expected type: string

Actual type: list

Steps to reproduce:
sh setup.sh

Output:
2018/04/11 16:24:53 [DEBUG] plugin: waiting for all plugin processes to complete...
Error: Error asking for user input: 1 error(s) occurred:

* module.backend.var.operators:
variable operators in module backend should be type string, got list

Version:
terraform --version
Terraform v0.11.7
+ provider.aws (unversioned)
+ provider.template v1.0.0

Thanks @mskutin for the ticket! Could you verify if PR is fixing the problem for you?


fixed path glob separator on Windows (packages-list)

globby requires the use of forward slashes as path separators and on Windows OS Path.join will use backslashes in creating the path. This change replaces backslashes to forward slashes to fix globby results for Windows. More info https://github.com/sindresorhus/globby/issues/179

Thanks! I don't use windows so subtle differences like this get missed.
Some issues with lint... I can clean those up.

Released in 1.0.2


Update to latest Intellij version

Upgraded to 14.1.4

Travis CI is breaking with the following error:
Unable to find module 'boxen/puppet-boxen' on https://github.com

Not sure its setup correctly or something has changed.


Auth: attach house model to django user

Relevant issue: #91 #84

Change the House model to be with a one-to-one relationship with the Django user model
fix the create_mock_data to the new data models
Change the login page to be Django user login
Add House after the first Login with the Django user

More Tests will be added soon

Can you add screenshots? @ronyyosef
thanks

Login page

Sign up page

Create house view after first sign up

Added option to give the create_mock_data input of how many users to create, default 500
Mock users format:
username: username 1...500
password: password

Could you attach the screenshots to the first comment of the PR?
So it would be more visible

Hey Rony Nice work on the PR I have left you some comments
Don't you think this PR is a bit too big? Do you think it could be devided to several PRs? Also there is something wrong with the commits, I think it's the new lines missing at the end of some files, I tried to find them all, and marked them 👍

Yee, this PR is a big big, A lot of things depend on house so I have to fix all after I change the data model
thanks, I will go trow all of them tomorrow

How this test don't fail?
You deleted HouseIdForm
@ronyyosef

How this test don't fail?
You deleted HouseIdForm
@ronyyosef

 How does this test not fall? You deleted HouseIdForm
@ronyyosef

Well, it's not a test, its just a fixture
Thanks for noticing, I will remove this because its not needed anymore

@svatares The comments were fixed/ answered

I cant select a country when I am trying to add my house

A tick box is missing

bought errors are because of material library that was added
I will fix it in a moment and we can merge it

@adiabramovitch Fixed

I still can't see a country or a city
isn't this PR blocked by Lior's PR?

Lior's
It's not blocked by any PR
hmmm, Its works on my computer
let me try on my laptop, maybe something with the screen size

I tried it on a different computer and it works. can you please delete your DB, create a new one and try it again?

I tried it on a different computer and it works. can you please delete your DB, create a new one and try it again?
This is what I did in the first place and still from some reason it does not work

@svatares ready for merge

@ronyyosef I also tried and it works fine.
There is one issue though, when singing-up, the public checkbox is required, while it should be optional.
Meaning, right now, a user can't create a house which is private.
Please fix that, and add a test that checks both cases, that a public/private houses can be generated

Thank you for the quick response @ronyyosef 💪

Thank you for noticing, It was a bug
Fixed now
here are the tests that check the fix:


Model Toggling UI Improvements

There has been a discussion where it is difficult to have to scroll back and forth toggling model-runs on/off to do comparisons.  A discussion/plan is needed to improve this workflow to make it easier to toggle them.  Below are some suggestions that could make some things easier:

Implement text filtering for model runs so that similarly named model runs are right next to each other in the list and can be toggled on/off easily
Create a secondary list of the toggled on model-runs and be able to disable/active them quickly.  This secondary list would only include those items that have been toggled on already.

I think the next step would be getting a demo or discussion with users to determine what workflow/modifications would best suit their use case.

#422 Fixes this a bit to be able to toggle on groundtruth and other elements.


Not building on esp-idf-sys master (5.1) from directory

Hi,
Setting
IDF_PATH = { value = "/[..]/esp-idf" }

in .cargo/config.toml, pointing to a recent clone (09f7589ef23a6b78339224efd372257a57e1be4b) of the esp-idf repository, esp-idf does not build:
error: failed to run custom build command for `esp-idf-sys v0.31.9`

Caused by:
  process didn't exit successfully: `/home/akos/projects/rust/esp-rs/esp-doorlock/target/release/build/esp-idf-sys-fce0880a7ca583e1/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=ESP_IDF_TOOLS_INSTALL_DIR
  cargo:rerun-if-env-changed=ESP_IDF_SDKCONFIG
  cargo:rerun-if-env-changed=ESP_IDF_SDKCONFIG_DEFAULTS
  cargo:rerun-if-env-changed=MCU
  cargo:rerun-if-env-changed=ESP_IDF_SYS_ROOT_CRATE
  cargo:rerun-if-env-changed=ESP_IDF_VERSION
  cargo:rerun-if-env-changed=ESP_IDF_REPOSITORY
  cargo:rerun-if-env-changed=ESP_IDF_CMAKE_GENERATOR
  cargo:rerun-if-env-changed=IDF_PATH
  cargo:rerun-if-env-changed=ESP_IDF_COMPONENTS
  cargo:rerun-if-changed=/home/akos/projects/rust/esp-rs/esp-doorlock/sdkconfig.defaults
  CMAKE_PREFIX_PATH_riscv32imc-esp-espidf = None
  CMAKE_PREFIX_PATH_riscv32imc_esp_espidf = None
  TARGET_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = None
  CMAKE_riscv32imc-esp-espidf = None
  CMAKE_riscv32imc_esp_espidf = None
  TARGET_CMAKE = None
  CMAKE = None
  running: "cmake" "/home/akos/projects/rust/esp-rs/esp-doorlock/target/riscv32imc-esp-espidf/release/build/esp-idf-sys-740a94ad1cf0d2c8/out" "-G" "Ninja" "-DCMAKE_TOOLCHAIN_FILE=/home/akos/projects/rust/esp-rs/esp-idf/tools/cmake/toolchain-esp32c3.cmake" "-DCMAKE_BUILD_TYPE=" "-DPYTHON=/home/akos/.espressif/python_env/idf5.1_py3.10_env/bin/python" "-DCMAKE_INSTALL_PREFIX=/home/akos/projects/rust/esp-rs/esp-doorlock/target/riscv32imc-esp-espidf/release/build/esp-idf-sys-740a94ad1cf0d2c8/out" "-DCMAKE_C_FLAGS= -march=rv32imc -ffunction-sections -fdata-sections -march=rv32imc -mabi=ilp32 -mcmodel=medany" "-DCMAKE_CXX_FLAGS= -march=rv32imc -ffunction-sections -fdata-sections -march=rv32imc -mabi=ilp32 -mcmodel=medany" "-DCMAKE_ASM_FLAGS=  -ffunction-sections -fdata-sections -march=rv32imc -mabi=ilp32 -mcmodel=medany"
  -- Checking Python dependencies...
  pkg_resources cannot be imported. The most common cause is a missing pip or setuptools package. If you've installed a custom Python then these packages are provided separately and have to be installed as well. Please refer to the Get Started section of the ESP-IDF Programming Guide for setting up the required packages.
  Skipping the download of /home/akos/projects/rust/esp-rs/esp-doorlock/.embuild/espressif/espidf.constraints.v5.1.txt because it was downloaded recently.
  Constraint file: /home/akos/projects/rust/esp-rs/esp-doorlock/.embuild/espressif/espidf.constraints.v5.1.txt
  Requirement files:
   - /home/akos/projects/rust/esp-rs/esp-idf/tools/requirements/requirements.core.txt
  Python being checked: /home/akos/projects/rust/esp-rs/esp-doorlock/.embuild/espressif/python_env/idf5.1_py3.10_env/bin/python
  -- Configuring incomplete, errors occurred!
  See also "/home/akos/projects/rust/esp-rs/esp-doorlock/target/riscv32imc-esp-espidf/release/build/esp-idf-sys-740a94ad1cf0d2c8/out/build/CMakeFiles/CMakeOutput.log".

  --- stderr
  Build configuration: BuildConfig {
      esp_idf_tools_install_dir: None,
      esp_idf_sdkconfig: None,
      esp_idf_sdkconfig_defaults: None,
      mcu: None,
      native: NativeConfig {
          esp_idf_version: Some(
              Tag(
                  "v5.1",
              ),
          ),
          esp_idf_repository: None,
          esp_idf_cmake_generator: None,
          idf_path: Some(
              "/home/akos/projects/rust/esp-rs/esp-idf",
          ),
          extra_components: [],
          esp_idf_components: None,
      },
      esp_idf_sys_root_crate: None,
  }
  Using activated esp-idf v5.1.0 environment at '/home/akos/projects/rust/esp-rs/esp-idf'
  CMake Error at /home/akos/projects/rust/esp-rs/esp-idf/tools/cmake/build.cmake:345 (message):
    Failed to run Python dependency check.  Python:
    /home/akos/.espressif/python_env/idf5.1_py3.10_env/bin/python, Error: 255
  Call Stack (most recent call first):
    /home/akos/projects/rust/esp-rs/esp-idf/tools/cmake/build.cmake:480 (__build_check_python)
    CMakeLists.txt:14 (idf_build_process)

  thread 'main' panicked at '
  command did not execute successfully, got: exit status: 1

  build script failed, must exit now', /home/akos/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.48/src/lib.rs:975:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Try using esp-idf-sys master (it could be related to this). Also, it seems that esp-idf-sys detected an activated esp-idf environment (i.e. after export.sh was sourced), is this desired?

Well I was trying whatever I could think of to make it compile. I got it working by sourcing the export.sh and setting the IDF toolchain env to fromenv.
Tbh I have no idea what needs to be set up to use a cloned version of the IDF, some more thorough documentation would be nice.

I'll try esp IDF sys master tomorrow. I did have an issue with time_t not being 64bits, but adding the flag did not help, so wound up forking that too, and removing the checks.... And the code compiles and runs correctly, but seems super fishy.

To use your own esp-idf repository, you should only need to set IDF_PATH (without sourcing ./export.sh), and esp-idf-sys will install all the required tools in the location configured by ESP_IDF_TOOLS_INSTALL_DIR or the <workspace-dir>/.embuild/espressif folder by default.
(Note though that you need llvm, git and python installed.)
If you run with cargo build -vv it will show the build script output.
If there is an error installing the tools (i.e. checking the python dependencies fails), it may be worth it to remove the <install dir> and let it install again.

Yeah that fixed it thanks! How can I invoke tools such as otatool though?

or idf itself?

I'll try esp IDF sys master tomorrow. I did have an issue with time_t not being 64bits, but adding the flag did not help, so wound up forking that too, and removing the checks.... And the code compiles and runs correctly, but seems super fishy.

Do you need to use ESP IDF 5 or 5.1? See #137

To use your own esp-idf repository, you should only need to set IDF_PATH (without sourcing ./export.sh), and esp-idf-sys will install all the required tools in the location configured by ESP_IDF_TOOLS_INSTALL_DIR or the <workspace-dir>/.embuild/espressif folder by default. (Note though that you need llvm, git and python installed.)
If you run with cargo build -vv it will show the build script output.
If there is an error installing the tools (i.e. checking the python dependencies fails), it may be worth it to remove the <install dir> and let it install again.

@N3xed Using an activated ESP IDF environment used to work for ESP IDF < 5. What changed in ESP IDF 5? I vaguely remember some python related issue. Can we fix that?

Using an activated ESP IDF environment used to work for ESP IDF < 5. What changed in ESP IDF 5? I vaguely remember some python related issue. Can we fix that?

That issue where an incorrect python was used, is already fixed on master. I haven't released it yet since there could be some more changes related to esp-idf v5.

Using an activated ESP IDF environment used to work for ESP IDF < 5. What changed in ESP IDF 5? I vaguely remember some python related issue. Can we fix that?

That issue where an incorrect python was used, is already fixed on master. I haven't released it yet since there could be some more changes related to esp-idf v5.
It only happens when ESP_IDF_TOOLS_INSTALL_DIR is unset

OK. Let's wait until #137 is fixed, we then test the time_t thing and if it works OK we release.

Nuking the .embuild fixed the issue, except the TIME64 stuff.

workaround for the time64 stuff:
Manually edit ~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/Cargo.toml to include latest libc:
libc = { git = "https://github.com/rust-lang/libc.git", default-features = false, features = ['rustc-dep-of-std'] }

I also updated my binary crate's Cargo.toml to include:
[patch.crates-io]
libc = { git = "https://github.com/rust-lang/libc.git" }

but I'm not 100% sure this is necessary.
You will also need to add the following to .cargo/config.toml
rustflags = "--cfg espidf_time64 -C default-linker-libraries "

but I'm not 100% sure this is necessary

It is not. If the two checks (for STD and libc) don't trigger, all is OK.

Fixed since quite some time ago.


Fail to build ./packages/protocol

Expected Behavior
Build resulting in ./build
Current Behavior
Running npm install results in error
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>...

Running yarn run test results in error
Error: Cannot find module 'ts-node/register'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/jonch/Desktop/Programming/blockchain/celo-monorepo/packages/protocol/truffle-config.js:2:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)

    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at Object.require (internal/modules/cjs/helpers.js:25:18)
    at Function.load (/home/jonch/Desktop/Programming/blockchain/celo-monorepo/packages/protocol/node_modules/truffle/build/webpack:/packages/config/d
ist/index.js:161:1)
    at Function.detect (/home/jonch/Desktop/Programming/blockchain/celo-monorepo/packages/protocol/node_modules/truffle/build/webpack:/packages/config
/dist/index.js:150:1)
    at Object.run (/home/jonch/Desktop/Programming/blockchain/celo-monorepo/packages/protocol/node_modules/truffle/build/webpack:/packages/core/lib/co
mmands/compile.js:53:1)
    at Command.run (/home/jonch/Desktop/Programming/blockchain/celo-monorepo/packages/protocol/node_modules/truffle/build/webpack:/packages/core/lib/c
ommand.js:136:1)
    at Object.<anonymous> (/home/jonch/Desktop/Programming/blockchain/celo-monorepo/packages/protocol/node_modules/truffle/build/webpack:/packages/cor
e/cli.js:52:1)
    at __webpack_require__ (/home/jonch/Desktop/Programming/blockchain/celo-monorepo/packages/protocol/node_modules/truffle/build/webpack:/webpack/boo
tstrap 12cfd8a35e0f27e895aa:19:1)
    at /home/jonch/Desktop/Programming/blockchain/celo-monorepo/packages/protocol/node_modules/truffle/build/webpack:/webpack/bootstrap 12cfd8a35e0f27
e895aa:62:1
    at Object.<anonymous> (/home/jonch/Desktop/Programming/blockchain/celo-monorepo/packages/protocol/node_modules/truffle/build/cli.bundled.js:68:10)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)

Have you successfully ran yarn install in the top level of the monorepo on your currently checked out commit?

I tried npm install, but I noticed that the @celo/pkg-name/@ver_num-dev package versions are not available on npm registry. I either changed to the non -dev versions or installed locally.
Was I supposed to run npm install in packages?

Was I supposed to run npm install in packages rather than in packages/protocol?

If you're working with a full monrepo checkout, you'll likely need to yarn install from the root directory (so not even  packages/, but the very root of the repo) before working with individual packages.

I see, I will do that in the future, thanks!


Erhalte bei Temperatur immer Wert 0 (Grad C oder %)

Hallo,
habe den HAM-Adapter in Iobroker installiert (PI 3B).
Findet auch den Sense Guard bzw. die Sensoren via Login/PW. Allerdings werden als Temperatur immer 0°C respektive 0% bei Luftfeuchtigkeit angezeigt.
Gibt es da noch einen Trick?
Besten Dank und Grüße
Hi,
I installed the HAM-Adapter in iobroker (Pi 3B)
The plugin connects to sense guard and sensors via login/PW. But temperatures and humidity allways show 0°C respectively 0% humidity.
Any trick needed?
Thanks and kind regards

Im using this from Homebridge directly, so its not so easy for me to check what is breaking with HAM-adapter in IOBroker. Is it possible to paste the homebridge log when its running in debug mode and where the SHTF mode is enabled in the Ondus plugin?

Hi,
I'm new in github and I want first to say thank you for the plugin and sorry for my english (I'm french...).
I'm not an apple-ios user, I installed homebridge plugin in jeedom, I use grohe-sense (ondus) and gsh plugin in homebridge and I add homebridge device to google home app. Like that I'm able to get all my domotic in google home app.
I was happy when I found the ondus homebridge plugin because there is no jeedom plugin to manage directly my grohe sense guard and I really want to manage it with all my domotic with only one app.
I have the same problem, the temperature always shows 0°. Here the log :
[12/8/2023, 9:08:35 PM] [Ondus] [MON GUARD] Triggered GET LeakDetected:
[12/8/2023, 9:08:35 PM] [Ondus] getApplianceInfo(): Retrieving info about locationID=1381797 roomID=1205750 applianceID=83f00b07-83a9-4c74-857f-a2ef4087f2e5
[12/8/2023, 9:08:35 PM] [Ondus] getURL(): GET:  https://idp2-apigw.cloud.grohe.com/v3/iot/locations/1381797/rooms/1205750/appliances/83f00b07-83a9-4c74-857f-a2ef4087f2e5/notifications
2023-12-08T21:08:35.126Z superagent GET https://idp2-apigw.cloud.grohe.com/v3/iot/locations/1381797/rooms/1205750/appliances/83f00b07-83a9-4c74-857f-a2ef4087f2e5/notifications
[12/8/2023, 9:08:35 PM] [Ondus] [MON GUARD] Triggered GET CurrentTemperature
[12/8/2023, 9:08:35 PM] [Ondus] [MON GUARD] Updating temperature, flowrate, and pressure levels
[12/8/2023, 9:08:35 PM] [Ondus] getApplianceInfo(): Retrieving info about locationID=1381797 roomID=1205750 applianceID=83f00b07-83a9-4c74-857f-a2ef4087f2e5
[12/8/2023, 9:08:35 PM] [Ondus] getURL(): GET:  https://idp2-apigw.cloud.grohe.com/v3/iot/locations/1381797/rooms/1205750/appliances/83f00b07-83a9-4c74-857f-a2ef4087f2e5/data?from=2023-12-08
2023-12-08T21:08:35.129Z superagent GET https://idp2-apigw.cloud.grohe.com/v3/iot/locations/1381797/rooms/1205750/appliances/83f00b07-83a9-4c74-857f-a2ef4087f2e5/data?from=2023-12-08
[12/8/2023, 9:08:35 PM] [Ondus] [MON GUARD] Triggered GET Active
[12/8/2023, 9:08:35 PM] [Ondus] [MON GUARD] Retrieving main water inlet valve state
[12/8/2023, 9:08:35 PM] [Ondus] getURL(): GET:  https://idp2-apigw.cloud.grohe.com/v3/iot/locations/1381797/rooms/1205750/appliances/83f00b07-83a9-4c74-857f-a2ef4087f2e5/command
2023-12-08T21:08:35.227Z superagent GET https://idp2-apigw.cloud.grohe.com/v3/iot/locations/1381797/rooms/1205750/appliances/83f00b07-83a9-4c74-857f-a2ef4087f2e5/data?from=2023-12-08 -> 404
2023-12-08T21:08:35.230Z superagent GET https://idp2-apigw.cloud.grohe.com/v3/iot/locations/1381797/rooms/1205750/appliances/83f00b07-83a9-4c74-857f-a2ef4087f2e5/command
[12/8/2023, 9:08:35 PM] [Ondus] [MON GUARD] Unable to update temperature: getURL(): Unexpected server response: Error: Not Found
2023-12-08T21:08:35.286Z superagent GET https://idp2-apigw.cloud.grohe.com/v3/iot/locations/1381797/rooms/1205750/appliances/83f00b07-83a9-4c74-857f-a2ef4087f2e5/notifications -> 200
[12/8/2023, 9:08:35 PM] [Ondus] [MON GUARD] handleLeakDetectedGet().getApplianceNotifications() API RSP:
"[{"appliance_id":"83f00b07-83a9-4c74-857f-a2ef4087f2e5","id":"ec0664f8-da8c-471b-ad4b-6044b980f707","category":10,"is_read":true,"timestamp":"1970-01-01T01:33:43.000+01:00","type":460,"threshold_quantity":"no","threshold_type":"no"}]"
[12/8/2023, 9:08:35 PM] [Ondus] [MON GUARD] Processing 1 notifications ...
[12/8/2023, 9:08:35 PM] [Ondus] [MON GUARD] 1970-01-01T01:33:43.000+01:00 => Firmware update available
2023-12-08T21:08:35.530Z superagent GET https://idp2-apigw.cloud.grohe.com/v3/iot/locations/1381797/rooms/1205750/appliances/83f00b07-83a9-4c74-857f-a2ef4087f2e5/command -> 200
[12/8/2023, 9:08:35 PM] [Ondus] [MON GUARD] Main water inlet valve is open
I always get an error with temperature refreshing : "Unable to update temperature: getURL(): Unexpected server response: Error: Not Found". SHFT mode is enabled and I saw another strange thing : "[12/8/2023, 9:08:35 PM] [Ondus] [MON GUARD] 1970-01-01T01:33:43.000+01:00 => Firmware update available". Indeed, system is up to date when I check with grohe sense app and the date seems really strange (1970!). Finally there is a difference of one hour between the logs time and the real time.
I first though there were a problem with a missing dependency but I saw in logs superagent were present. After that I though It may be because I'm using login/password credentials and not a refresh token but API connexion seems OK too.
I hope you will be able to help me.
Thank you.

Try v1.5.1 which adapts to a Grohe REST API change. This should fix your temp reading.


[Platform]: removing subtext from evidence summary

[Platform]: removing subtext from evidence summary
Description
Removing subtext from evidence summary
Issue: # https://github.com/opentargets/issues/issues/3330
Deploy preview: https://deploy-preview-387--ot-platform.netlify.app
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

[x] Test A: go to evidence page and see the summary cards

Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

For now it makes sense to have data type of section aggregation. closing this


Automated building of Sphinx documentation

Description
Automated building of the documentation and host somewhere.
Options are

ReadTheDocs
Github pages

+1. Read the docs seems more common to me.

Yes, seems like the best long term solution to me as well.


Flutter/gradle downloading jar, read timed out, couldn't get something from google cloud storage

I recently performed a flutter clean and when I tried to rebuild my app I consistently stumbled into the error below. It seems to suggest it has trouble downloading the file, but I am able to download the file manually just fine.
Is there anything I can do to resolve this promptly, this literally makes flutter unusable for me right now, unable to make new builds. Is it possible to for example manually supply the download .jar files somehow, stick them in a folder, so it "downloads" them from there or something?
FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':app:debugCompileClasspath'.
   > Could not download armeabi_v7a_debug.jar (io.flutter:armeabi_v7a_debug:1.0.0-a252ec09b74cca0f8d8d3450566bf77c77f81e8d)
      > Could not get resource 'https://storage.googleapis.com/download.flutter.io/io/flutter/armeabi_v7a_debug/1.0.0-a252ec09b74cca0f8d8d3450566bf77c77f81e8d/armeabi_v7a_debug-1.0.0-a252ec09b74cca0f8d8d3450566bf77c77f81e8d.jar'.
         > Read timed out
 to get full insights.

Here is the output of flutter doctor -v
[√] Flutter (Channel dev, 2.1.0-10.0.pre, on Microsoft Windows [Version 10.0.18362.1256], locale en-US)
    • Flutter version 2.1.0-10.0.pre at D:\SDK\flutter
    • Framework revision cc9b78fc5c (12 days ago), 2021-02-25 13:26:03 -0800
    • Engine revision a252ec09b7
    • Dart version 2.13.0 (build 2.13.0-77.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at D:\SDK\android-sdk
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = D:\SDK\android-sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.5.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.5.30002.166
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.54.1)
    • VS Code at C:\Users\phpfr\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.20.0

[√] Connected device (2 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.18362.1256]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 88.0.4324.190

• No issues found!

So far I've tried a lot of suggestions from stack overflow and so far none of the solutions have worked. I've deleted the entire .gradle folder in %USERPROFILE% (after which now it gives three dependencies that are missing, that it cannot download anymore!) but my builds remain fundamentally broken after having upgraded to 2.0.12-pre.
With my old .gradle directory in %USERPROFILE% I am able to make debug builds and run it directly on the phone just fine, but especially when i made a release apk I got confronted with this behavior, that I decided to flutter clean.
Please note that I didn't really have any issues whatsoever before my upgrade. I can download those files just fine through firefox or chrome manually, so why does gradle claim there is an error i cannot comprehend, but clearly diagnosing it is not an easy feat, as gradle seems to be embedded in a flutter like a true black box.

Also update:  I've literally just tried to recreate the folder structure in .gradle directly, manually supplementing the missing jar files in the allegedly the directories where I think they needed to be, and the same errors just popup when rebuilding, I just followed the pattern that I was able to discover made hash directories, put the jar file in, and still didn't pick it up.
Invalidated cache and restarted android studio about 7 times now and nothing seems to help. Please help or give me some assistance on this problem.


Query jobs can report negative times

We have seen this happen but don't have a reliable repro. There are a few possibilities:

BQ is giving us statistics with creationTime > endTime
we are somehow calling Job._refresh_state and setting the end time before the start time is set
we are getting one of endTime or creationTime from BQ, and setting the other ourselves. We could end up with a negative value is these have different clocks, timezone issues, or if the endTime is returned by BQ and is from a cached query so it is earlier

Until we have a repro and now for sure, we should address this at least in the following ways:

if the BQ statistics include creationTime or endTime, only use these if they are both included and endTime > creationTime, so we don't mix our times with BQs times or use bad values from BQ
if we are setting endTime ourselves from the current time, make sure that the start time is already set; if not set it to the same as the end time.

This should prevent at least the three cases listed above.

Have not seen this since the above changes so assuming it is fixed; we can create a new issue if we see it again.


if list has duplicates, result is in unexpected order

Describe the bug
If a list has multiple objects that are identical, then the library does not work as expected. Dragging produces an incorrect order.
To Reproduce
Steps to reproduce the behavior:
Start with a list with some identical objects, for example: A,B,A
Drag the second A to go to the very start of the list.
Expected behavior
The resulting list should be A,A,B, but it's actually still A,B,A
Using library version 2.4.1.
Additional context
I found the reason for the bug, it's because Drop(IDropInfo dropInfo) is using IndexOf to find the item being dragged.  So the problem is that it believes that the first A was dragged, because IndexOf defaults to the first instance it finds if there are multiple identical objects.
I think a reasonable solution is just to instead look at dropInfo.DragInfo.SourceIndex to find the object that should move to a new position.

@bradwbradw Drag&Drop operations on a list which can contains duplicate items is not so easy at first glance. Because the library uses the IndexOf method to get the correct index of the dragged items. Your solution may work with only one item, but not with multiple one. So my solution/suggestion is to put your values in a proxy object and work with this. I tested this with strings, so maybe it will not work for you.
Here is the proxy class
public class DragDropObjectModel<T>
{
    public DragDropObjectModel(T aValue)
    {
        this.Value = aValue;
    }

    public T Value { get; }

    public override string ToString()
    {
        return this.Value.ToString();
    }
}

and here the usage in my sample app
public ObservableCollection<DragDropObjectModel<string>> Collection5 { get; set; } = new(new[] { "A", "B", "A", "A", "A", "B" }.Select(x => new DragDropObjectModel<string>(x)));

public ObservableCollection<DragDropObjectModel<string>> Collection6 { get; set; } = new();

<Grid>
    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="*" />
        <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>

    <ListBox x:Name="LeftBoundListBox"
             Grid.Column="0"
             dd:DragDrop.CanDragWithMouseRightButton="True"
             dd:DragDrop.DropTargetAdornerBrush="Coral"
             dd:DragDrop.IsDragSource="True"
             dd:DragDrop.IsDropTarget="True"
             dd:DragDrop.UseDefaultEffectDataTemplate="True"
             ItemsSource="{Binding Data.Collection5}" />
    <ListBox x:Name="RightBoundListBox"
             Grid.Column="1"
             dd:DragDrop.DropTargetAdornerBrush="Coral"
             dd:DragDrop.IsDragSource="True"
             dd:DragDrop.IsDropTarget="True"
             dd:DragDrop.ShowAlwaysDropTargetAdorner="True"
             ItemsSource="{Binding Data.Collection6}" />
</Grid>

Thanks
I ended up just wrapping my object in a container class, which are unique, so pretty similar to what you suggested.
I tried to override your lib and replace IndexOf with using DragInfo's value, but then I got problems trying to drag multiple items.  It would behave differently depending on which single item out of the selected set I clicked on to drag
If I were writing this lib, I would consolide the code so that dragging arrays and single objects use the exact same code path, so single objects are represented as an array with one object. I'd pass an array of selected indeces in DragInfo and use that instead of IndexOf, cause it's closer to the truth.  Why even pass an index in DragInfo if it's just going to use IndexOf anyway?  I think single objects, arrays, duplicates, uniques would all behave consistently with that change.
That's just me though.  Thanks for the lib!

Thanks
I ended up just wrapping my object in a container class, which are unique, so pretty similar to what you suggested.
I tried to override your lib and replace IndexOf with using DragInfo's value, but then I got problems trying to drag multiple items. It would behave differently depending on which single item out of the selected set I clicked on to drag

Yes, that's exactly the problem here.

If I were writing this lib, I would consolide the code so that dragging arrays and single objects use the exact same code path, so single objects are represented as an array with one object. I'd pass an array of selected indeces in DragInfo and use that instead of IndexOf, cause it's closer to the truth.

This is exactly the kind of solution I had in mind. But this can't be implemented this way, because an ItemsControl can also have a filtered list and then the indices in the view don't match the one in the collection. So you have to work with IndexOf in the original collection.

Why even pass an index in DragInfo if it's just going to use IndexOf anyway? I think single objects, arrays, duplicates, uniques would all behave consistently with that change.

Yes, that's correct, but not so easy to implement. In most cases the IndexOf works because you have unique items.

That's just me though. Thanks for the lib!

Thank you! 🙏🏻


Edited node wiggles when panning the scene on non-default zoom level

Discord username
No response
What type of issue is this?
Permanent – Occurring repeatably
Is this issue blocking you from using Enso?

[ ] Yes, I can't use Enso because of this issue.

Is this a regression?

[ ] Yes, previous version of Enso did not have this issue.

What issue are you facing?
https://user-images.githubusercontent.com/6566674/234887288-dae20803-4309-4280-8c9b-0f3235571cd1.mp4
I have been spotting this issue for some time. It probably does not make sense to bisect it. The issue is probably in the algorithm for the searcher camera position updates.
Expected behaviour
The edited node must be aligned to the CB.
How we can reproduce it?
No response
Screenshots or screencasts
No response
Enso Version
0c7c3bdeaf914c74e8d8af02c482454a1b01f8a8
Browser or standalone distribution
Standalone distribution
Browser Version or standalone distribution
standalone
Operating System
MacOS
Operating System Version
No response
Hardware you are using
No response

Reproduced on 7e333000130ea539fe82d5f5942f23047c92fe3a

The cameras are updated asynchronously via the FRP batch mechanism. It is supposed to finish before anything observes it, but it was the cause of one bug I just fixed so it'd be a direction to look in to


Removed obsolete sections from the reference index page

Removed some obsolete sections from the reference docs index page. The sections are now duplicated in the overview page:
https://www.kubeflow.org/docs/reference/overview/
The index page need only contain a list of pages in the reference section.
Fixes https://github.com/kubeflow/website/issues/1309

This change is

/assign @abhi-g

Preview:

https://deploy-preview-1310--competent-brattain-de2d6d.netlify.com/docs/reference/

/lgtm
/approve


beginDialog inside a for loop?

I've got a list of text questions. I want to loop over them and start a new 'ask' dialog to prompt the user for the question then store their response.
for(var q in questions) {       session.beginDialog('/ask'); }
This does not work I get the following error:
Oops. Something went wrong and we need to start over.
Error: Dialog[BotBuilder:/ask] not found.
But if I take it out of the for loop it works. What is the correct way to do this?

Take a look at the waterfall code samples here: https://github.com/Microsoft/BotBuilder/tree/master/Node/examples#basic-techniques

In that example I need to write out a function() {prompt} followed by a function(session, results) for every question.
I am pulling a list of questions from a database (which changes every time) and I want to ask these questions and store the result?
It seems to me that I would need to hard code each of the questions with it's own function. But if I have a different number of question each time this won't work.

Here's an example of using replaceDialog() to create a simple loop over a dynamic set of questions. You could easily expand this to be more complicated:
bot.dialog('/', [
    function (session) {
        session.beginDialog('/q&a');
    },
    function (session, results) {
        session.send("Thanks %(name)s... You're %(age)s and located in %(state)s.", results.response);
    }
]);

bot.dialog('/q&a', [
    function (session, args) {
        // Save previous state (create on first call)
        session.dialogData.index = args ? args.index : 0;
        session.dialogData.form = args ? args.form : {};

        // Prompt user for next field
        builder.Prompts.text(session, questions[session.dialogData.index].prompt);
    },
    function (session, results) {
        // Save users reply
        var field = questions[session.dialogData.index++].field;
        session.dialogData.form[field] = results.response;

        // Check for end of form
        if (session.dialogData.index >= questions.length) {
            // Return completed form
            session.endDialogWithResult({ response: session.dialogData.form });
        } else {
            // Next field
            session.replaceDialog('/q&a', session.dialogData);
        }
    }
]);

var questions = [
    { field: 'name', prompt: "What's your name?" },
    { field: 'age', prompt: "How old are you?" },
    { field: 'state', prompt: "What state are you in?" }
];

Thank you this worked for me.


Skillmap: The content not accurate for step 4 in "Simple Enemies"

Describe the bug
Skillmap: The content not accurate for step 4 in "Simple Enemies"
Steps to reproduce the behavior
1.Navigate to https://arcade.makecode.com/beta#
2.Tutorials---->Game Maker Guide
3.Learn to Make a Platformer------->Simple Enemies------>START
4.Click step 4
Actual behavior
This step needs to set myEnemy to sprite of kind Enemy. But lack of changing kind from Player to Enemy.

Additional context
1.OS: Windows(rs6)
2.arcade version: 1.3.25
3.Microsoft MakeCode version: 6.8.11

Great find!  Fixing now.

Great find!  Fixing now.


F battery indicator

Added Battery level for SecurityCameraAccessory, did some cleanup and unintended formatting.

Something is still wrong when setting up the batterylevel. Will look more into it tomorrow.

Realized the batterylevel had to be added as a new service instead of adding a new characteristic.


Fix JS engine reloading in .NET Core

Fixes #554
It looks like this has never worked correctly with .NET Core...
JSPool looks for an exact match when a file changed event is raised, but we weren't first transforming the forwardslashes into backslashes.

Tested on both OS X and Windows. @Daniel15 can you cut a release with this fix?

Sure, I can do that once I'm home tonight.
Sent from my phone.
On Sun, Aug 12, 2018, 1:03 PM Dustin Masters<EMAIL_ADDRESS>wrote:

Tested on both OS X and Windows. @Daniel15 https://github.com/Daniel15
can you cut a release with this fix?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/reactjs/React.NET/pull/580#issuecomment-412368112,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFnHccCTQvURnqqTxe4WpweOSA1heiNks5uQIoogaJpZM4V5Z3g
.

Actually I won't get time tonight but I can do it tomorrow.
Sent from my phone.
On Sun, Aug 12, 2018, 8:27 PM Daniel Lo Nigro<EMAIL_ADDRESS>wrote:

Sure, I can do that once I'm home tonight.
Sent from my phone.
On Sun, Aug 12, 2018, 1:03 PM Dustin Masters<EMAIL_ADDRESS>wrote:

Tested on both OS X and Windows. @Daniel15 https://github.com/Daniel15
can you cut a release with this fix?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/reactjs/React.NET/pull/580#issuecomment-412368112,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFnHccCTQvURnqqTxe4WpweOSA1heiNks5uQIoogaJpZM4V5Z3g
.

Preparing this for release now. Just cherry-picking into the stable branch and verifying that everything is OK.
I wonder if JSPool should normalize the path itself, too. What do you think @dustinsoftware?

That thought occurred to me as well. It seems like JSPool should either
assert that the path is well formatted (no forward slashes on windows or
backslashes on non-Windows), or attempt to normalize it (which could hide
bugs). If the former is straight forward to do then that would probably be
better.
On Mon, Aug 13, 2018 at 22:07, Daniel Lo Nigro<EMAIL_ADDRESS>wrote:

Preparing this for release now. Just cherry-picking into the stable branch
and verifying that everything is OK.
I wonder if JSPool should normalize the path itself, too. What do you
think @dustinsoftware https://github.com/dustinsoftware?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/reactjs/React.NET/pull/580#issuecomment-412755848,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA5hFm5-i7WgfDElPbzjyv6GwnuCG8h8ks5uQlr2gaJpZM4V5Z3g
.


Update initializesecuritycontext--general.md

More typos referencing "constrained delegation" which should be "security package"

Thanks for your contribution @fran-ki.  I've merged your changes and they should be live soon.


Less API using power-assert

I just want to share my demo, so feel free to close this PR. Just ignore it if you don't like it.
Added t.ok(value, [message]) using power-assert. It shows descriptive assertion message by parsing the JS expression.
example
test((t) => {
  var a = { name: 'foo' }

  t.ok(a.name === 'bar')

  t.end()
})

shows a message like this.
> ava

  ✖ [anonymous]   # test.js:26
  t.ok(a.name === 'bar')
       | |    |
       | |    false
       | "foo"
       Object{name:"foo"}

  --- [string] 'bar'
  +++ [string] a.name
  @@ -1,3 +1,3 @@
  -bar

apis
t.true(true)
t.is('foo', 'foo');
t.not('foo', 'bar');
t.same({a: 'a'}, {a: 'a'});
t.regexTest(/^abc$/, 'abc');

with power-assert:
var deepEqual = require('deep-equal');

t.ok(true);
t.ok('foo' === 'foo');
t.ok('foo' !== 'bar');
t.ok(deepEqual({a: 'a'}, {a: 'a'}));
t.ok(/^abc$/.test('ab'));

more example
  ✖ [anonymous]   # test.js:44

  t.ok(deepEqual(a, b))
       |         |  |
       |         |  ["a","a"]
       false     ["a","b"]

  ✖ [anonymous]   # test.js:50

  t.ok(/^abc$/.test(`ab${ s }`))
               |    |     |
               |    "aba" "a"
               false

I know custom assertion is supported on ava and it worked pretty well.
But I wanted to use t.plan() and that assertion function with ava's minimal interface.

It'd be nice if this translated into some way to hook into Ava to allow it to use any arbitrary assertion library, including support for t.plan().

@uiureo why did you close? :o

Because I don't intend this PR to be merged. I don't want the opened state to bother you guys.

It'd be nice if this translated into some way to hook into Ava to allow it to use any arbitrary assertion library, including support for t.plan().

That's the very thing I want.
I'm looking into the code and I would try if I come up with some way.
Related: #25

:+1: sounds good

I'd like to keep this open for a while so people can see it. I think power-assert is really cool and I actually considered including it in AVA early on. The reasons I didn't were the compile step (which is not a problem now that we include Babel by default) and the result, while being very informative, is a bit noisy. foo === bar is a lot clearer and faster to grasp. Is there any way to simplify the output?

the result, while being very informative, is a bit noisy. foo === bar is a lot clearer and faster to grasp. Is there any way to simplify the output?

I agree its output is a little bit noisy. It seems you can write custom output formatter in power-assert.
https://github.com/power-assert-js/power-assert#optionsoutput
https://github.com/power-assert-js/power-assert-formatter
FYI @twada

Hi, I'm creator of power-assert.
Thank you for mentioning me @uiureo.
I'm very interested in AVA now.
power-assert output consists of 4 parts, rendered by 4 renderers (file, assertion, diagram, and binary-expression).
And you can omit each part from output through customization API.
For example, output below
  # test.js:26
  t.ok(a.name === 'bar')
       | |    |
       | |    false
       | "foo"
       Object{name:"foo"}
  --- [string] 'bar'
  +++ [string] a.name
  @@ -1,3 +1,3 @@
  -bar

file renderer produces,
   # test.js:26

assertion renderer produces,
  t.ok(a.name === 'bar')

diagram renderer produces,
       | |    |
       | |    false
       | "foo"
       Object{name:"foo"}

and binary-expression renderer produces
  --- [string] 'bar'
  +++ [string] a.name
  @@ -1,3 +1,3 @@
  -bar

To disable verbose graph, remove diagram renderer from output.renderers by using customize method. For example, this configuration
var assert = require('power-assert').customize({
    output: {
        renderers: [
            './built-in/file',
            './built-in/assertion',
            './built-in/binary-expression'
        ]
    }
});

produces output as below.
  # test.js:26
  t.ok(a.name === 'bar')

  --- [string] 'bar'
  +++ [string] a.name
  @@ -1,3 +1,3 @@
  -bar

And of course, I want to hear your request, and create custom formatter for AVA!

To be honest, the binary renderer is the part that seems noisy to me. The diagram is what makes it super useful.

Instead of:
  # test.js:26
  t.ok(a.name === 'bar')
       | |    |
       | |    false
       | "foo"
       Object{name:"foo"}
  --- [string] 'bar'
  +++ [string] a.name
  @@ -1,3 +1,3 @@
  -bar

I think I would want something like:
  # test.js:26
  a.name === 'bar'
     |
     |
   "foo"

Hi @Qix-

To be honest, the binary renderer is the part that seems noisy to me. The diagram is what makes it super useful.

Understood. You can disable binary-expression renderer by removing './built-in/binary-expression' from output.renderers
var assert = require('power-assert').customize({
    output: {
        renderers: [
            './built-in/file',
            './built-in/assertion',
            './built-in/diagram'
        ]
    }
});

You'll see output like
  # test.js:26
  t.ok(a.name === 'bar')
       | |    |
       | |    false
       | "foo"
       Object{name:"foo"}

Very tempting to switch from should. I'll play with it a bit more.

I'm glad to hear that! :smile:

Hi @sindresorhus, thank you for your request.
I'll create succinct output renderer for AVA!

@twada Any updates? Would really like to use power-assert to improve AVAs assert output.

@sindresorhus I've extracted power-assert-renderers module out and now creating less-noisy succinct-diagram renderer for AVA.
I would like you to see succinct-diagram-test.js.
(You'll see assert or t.ok calls are still remaining in output, but it's a bit difficult to remove for now)
If you like it, I'm going to integrate it into this pull-req and also power-assert master.

@twada Yes, looks very good. I'm fine with this for now. Would be awesome if you would integrate into this PR and fix the merge conflict.

Really exciting stuff.

I did quick hack to use the succinct renderer and fixed the merge conflict.
Now the output looks like this:
❯ npm test

> ava

  ✖ [anonymous]
  t.ok(a.name === 'bar')
         |
         "foo"

  1 test failed

  1. [anonymous]
  AssertionError:
  t.ok(a.name === 'bar')
         |
         "foo"
    at decoratedAssert (/Users/zat/.ghq/github.com/sindresorhus/ava/node_modules/power-assert/node_modules/empower/lib/decorate.js:42:30)
    at Function.powerAssert (/Users/zat/.ghq/github.com/sindresorhus/ava/node_modules/power-assert/node_modules/empower/index.js:58:32)
    at Test.ok (/Users/zat/.ghq/github.com/sindresorhus/ava/lib/test.js:85:15)
    at Test.fn (/Users/zat/.ghq/github.com/uiureo/ava-power-assert-example/test.js:26:5)
    at Test.<anonymous> (/Users/zat/.ghq/github.com/sindresorhus/ava/lib/test.js:124:19)
    at tryCatcher (/Users/zat/.ghq/github.com/sindresorhus/ava/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._resolveFromResolver (/Users/zat/.ghq/github.com/sindresorhus/ava/node_modules/bluebird/js/main/promise.js:480:31)
    at new Promise (/Users/zat/.ghq/github.com/sindresorhus/ava/node_modules/bluebird/js/main/promise.js:70:37)
    at Test.run (/Users/zat/.ghq/github.com/sindresorhus/ava/lib/test.js:110:9)
    at tryCatcher (/Users/zat/.ghq/github.com/sindresorhus/ava/node_modules/bluebird/js/main/util.js:26:23)
    at ReductionPromiseArray._promiseFulfilled (/Users/zat/.ghq/github.com/sindresorhus/ava/node_modules/bluebird/js/main/reduce.js:105:38)
    at ReductionPromiseArray.init [as _init$] (/Users/zat/.ghq/github.com/sindresorhus/ava/node_modules/bluebird/js/main/promise_array.js:92:18)
    at ReductionPromiseArray.init (/Users/zat/.ghq/github.com/sindresorhus/ava/node_modules/bluebird/js/main/reduce.js:42:10)
    at Async._drainQueue (/Users/zat/.ghq/github.com/sindresorhus/ava/node_modules/bluebird/js/main/async.js:128:12)
    at Async._drainQueues (/Users/zat/.ghq/github.com/sindresorhus/ava/node_modules/bluebird/js/main/async.js:133:10)
    at Async.drainQueues (/Users/zat/.ghq/github.com/sindresorhus/ava/node_modules/bluebird/js/main/async.js:15:14)

npm ERR! Test failed.  See above for more details.

@uiureo Thanks for responding so quickly, nice to see this being merged!

@twada Can you review?

@sindresorhus

@twada Can you review?

Sure!

Squashed commits.  I'll write some test.

@twada Can you explain what the modifyMessageOnRethrow option does? Should we enable it?

@sindresorhus modifyMessageOnRethrow option indicates whether to modify AssertionError message on (re)throwing AssersionError or not.

Should we enable it?

You are right. Should be true in this case.

I've tried to add patterns like this:
	plugins: [
		createEspowerPlugin(require('babel-core'), {
			patterns: [
				't.ok(value, [message])',
				't.notOk(value, [message])',
				't.true(value, [message])',
				't.false(value, [message])',
				't.is(value, expected, [message])',
				't.not(value, expected, [message])',
				't.same(value, expected, [message])',
				't.notSame(value, expected, [message])',
				't.regexTest(regex, contents, [message])'
			]
		})
	]

test((t) => {
  var a = 'foo'
  t.is(a, 'bar')
  t.end()
})

But I got weird output like this.
  ✖ [anonymous]
  t.ok(a.name !== 'foo')
         |
         "foo"

  ✖ [anonymous] { powerAssertContext: { value: 'foo', events: [ [Object] ] },
  source: { content: 't.is(a, \'bar\')', filepath: 'test.js', line === 'bar'

t.ok() works correctly.

@uiureo Thank you for reporting.
In this case, intrumentation patterns in lib/babel.js should be the same.
So please configure lib/babel.js and try again.
function enhanceAssert(assert) {
    empower(assert,
        powerAssertFormatter({
            renderers: [
                powerAssertRenderers.AssertionRenderer,
                powerAssertRenderers.SuccinctRenderer
            ]
        }),
        {
            destructive: true,
            modifyMessageOnRethrow: true,
            saveContextOnRethrow: false,
            patterns: [
                't.ok(value, [message])',
                't.notOk(value, [message])',
                't.true(value, [message])',
                't.false(value, [message])',
                't.is(value, expected, [message])',
                't.not(value, expected, [message])',
                't.same(value, expected, [message])',
                't.notSame(value, expected, [message])',
                't.regexTest(regex, contents, [message])'
            ]
        }
    );
}

@twada
Ah, I missed the point.
It works right. Thanks for help.

@sindresorhus I've done some tweaks. Can you review again?

Landed. Woop woop. Great work @uiureo. And thanks for reviewing @twada :)

Thanks a lot @sindresorhus @twada. I couldn't do this without your great help :)

@sindresorhus Wow I'm very glad to see this pull-req is getting merged!! :tada:
Thank you so much @uiureo for your great work!


⚠ Thumbnails API Endpoint has degraded performance

In 9942950, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 1277 ms

Resolved: Thumbnails API Endpoint performance has improved in 8acaa33 after 9 minutes.


Unable to get value of the property 'tagName' in IE8, IE9

Hi, I'm loading videos in via ajax:
function showContentSites(id) {
        $.post("/assets/includes/contentSites.php?id=id", {
            id: id
        },
        function (data) {
            $("#content-display article").html(data).show();
            $("video, audio").mediaelementplayer({pluginPath: '/assets/js/mediaelements/'});
        });
    }

This works perfectly fine in IE8 & IE9 casually browsing, allowing the ajax to load and the javascript to do its thing. But if I start clicking my nav links quickly, loading the ajax content in before the previous call finishes, effectively disrupting mediaelements.js as it is working on the video tag, I get the following error in IE9:
Unable to get value of the property 'tagName': object is null or undefined
I tried something like this, but to no avail:
function showContentSites(id) {
        $.post("/assets/includes/contentSites.php?id=id", {
            id: id
        },
        function (data) {
            $("#content-display article").html(data).show();
            if($('.mejs-video').length > 0) {
                console.log("already exists");
            } else {
                $("video, audio").mediaelementplayer({pluginPath: '/assets/js/mediaelements/'});
            }

        });
    }

Any ideas?

@yahreen Is this still an issue?

@yahreen Closing old issues. If you'd like to reopen this, let us know. Thanks!


Intra-Cassandra tracking doesn't work

While the Python->Cassandra span context is transmitted correctly, the intra-node comms is not. The end result looks something like this:

I think I finally figured out how this system works.

It works if a follower Cassandra is asked just once. If it's asked twice, then it's TimeUUIDs get messed up. If a follower is asked only once the end result looks like that:

I plan to completely get rid of TimeUUIDs to mark traces, instead preferring them to extract them from headers, as I've verified the replicas send back jaeger-traces as customPayload.


When upgrading to 0.64-rc3, error: Cycle in dependencies between targets 'FBReactNativeSpec'

Description
When upgrading to 0.64-rc3, I was stuck for many hours today on this compliation error:
Cycle in dependencies between targets 'BVLinearGradient' and 'FBReactNativeSpec'.
The initial target is irrelevant; if I removed BVLinearGradient it would still happen for many different native libraries and FBReactNativeSpec.
React Native version:
0.64-rc3 on iOS
Steps To Reproduce
Repro was consistent in my project. Maybe has something to do with the fact that I use use_frameworks!, and in the latest sample Podfile React Native does not include this directive.
Workaround
I was able to workaround this issue (and thus want to document it here for others who may get stuck) by:
Navigating to the FBReactNativeSpec target in the Pods project and deleting [CP-User] Generate Specs step.
I then navigated in the terminal to:
<project>/node_modules/react-native/scripts
And I manually ran from the terminal:
./generate-specs.sh

Make sure to update all your dependencies that rely on React as a dependency in podspec to a version that relies on React-Core. (Just ran into this issue a few hours ago)

I am pretty confident this is not an upgrade issue. Every single time I run pod install, I see [CP-User] Generate Specs re-added to FBReactNativeSpec and I must delete it each time to ensure the build does not fail with this message.

I seem to be running into the same issue.
The workaround by @esilverberg does work but needs to be done after every pod install.
Showing All Messages
Cycle inside FBReactNativeSpec; building could produce unreliable results. This usually can be resolved by moving the shell script phase '[CP-User] Generate Specs' so that it runs before the build phase that depends on its outputs.
Cycle details:
→ Target 'FBReactNativeSpec' has link command with output '/Users/schmidi/Library/Developer/Xcode/DerivedData/xx-gvguladiqholtqeybzaixjacqpek/Build/Products/Debug-iphoneos/FBReactNativeSpec/FBReactNativeSpec.framework/FBReactNativeSpec'
○ Target 'FBReactNativeSpec' has compile command with input '/Users/schmidi/Projects/git/xx-12/code/ios/Pods/Target Support Files/FBReactNativeSpec/FBReactNativeSpec-dummy.m'
○ That command depends on command in Target 'FBReactNativeSpec': script phase “[CP-User] Generate Specs”
○ Target 'FBReactNativeSpec' has copy command from '/Users/schmidi/Projects/git/xx-12/code/node_modules/react-native/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec.h' to '/Users/schmidi/Library/Developer/Xcode/DerivedData/xx-gvguladiqholtqeybzaixjacqpek/Build/Products/Debug-iphoneos/FBReactNativeSpec/FBReactNativeSpec.framework/Headers/FBReactNativeSpec.h'
○ That command depends on command in Target 'FBReactNativeSpec': script phase “[CP-User] Generate Specs”

Raw dependency cycle trace:

target:  ->

node: <all> ->

command: <all> ->

node: /Users/schmidi/Library/Developer/Xcode/DerivedData/xx-gvguladiqholtqeybzaixjacqpek/Build/Products/Debug-iphoneos/FBReactNativeSpec/FBReactNativeSpec.framework/FBReactNativeSpec ->

command: target-FBReactNativeSpec-596df37657fef3d87ef16631abbc611bd8e73feadee6a8e5c14524fc300acaed-:Debug:Ld /Users/schmidi/Library/Developer/Xcode/DerivedData/xx-gvguladiqholtqeybzaixjacqpek/Build/Products/Debug-iphoneos/FBReactNativeSpec/FBReactNativeSpec.framework/FBReactNativeSpec normal ->

node: /Users/schmidi/Library/Developer/Xcode/DerivedData/xx-gvguladiqholtqeybzaixjacqpek/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Objects-normal/arm64/FBReactNativeSpec-dummy.o ->

command: target-FBReactNativeSpec-596df37657fef3d87ef16631abbc611bd8e73feadee6a8e5c14524fc300acaed-:Debug:CompileC /Users/schmidi/Library/Developer/Xcode/DerivedData/xx-gvguladiqholtqeybzaixjacqpek/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Objects-normal/arm64/FBReactNativeSpec-dummy.o /Users/schmidi/Projects/git/xx-12/code/ios/Pods/Target Support Files/FBReactNativeSpec/FBReactNativeSpec-dummy.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler ->

node: <target-FBReactNativeSpec-596df37657fef3d87ef16631abbc611bd8e73feadee6a8e5c14524fc300acaed--phase1--cp-user--generate-specs> ->

command: Gate target-FBReactNativeSpec-596df37657fef3d87ef16631abbc611bd8e73feadee6a8e5c14524fc300acaed--phase1--cp-user--generate-specs ->

node: /Users/schmidi/Library/Developer/Xcode/DerivedData/xx-gvguladiqholtqeybzaixjacqpek/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/DerivedSources/codegen-FBReactNativeSpec.log ->

command: target-FBReactNativeSpec-596df37657fef3d87ef16631abbc611bd8e73feadee6a8e5c14524fc300acaed-:Debug:PhaseScriptExecution [CP-User] Generate Specs /Users/schmidi/Library/Developer/Xcode/DerivedData/xx-gvguladiqholtqeybzaixjacqpek/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Script-1E8DC3BEC0135B5B2A4A2B289C3C530F.sh ->

node: /Users/schmidi/Library/Developer/Xcode/DerivedData/xx-gvguladiqholtqeybzaixjacqpek/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Script-1E8DC3BEC0135B5B2A4A2B289C3C530F.sh ->

command: target-FBReactNativeSpec-596df37657fef3d87ef16631abbc611bd8e73feadee6a8e5c14524fc300acaed-:Debug:WriteAuxiliaryFile /Users/schmidi/Library/Developer/Xcode/DerivedData/xx-gvguladiqholtqeybzaixjacqpek/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Script-1E8DC3BEC0135B5B2A4A2B289C3C530F.sh ->

node: <target-FBReactNativeSpec-596df37657fef3d87ef16631abbc611bd8e73feadee6a8e5c14524fc300acaed--phase0-copy-headers> ->

command: Gate target-FBReactNativeSpec-596df37657fef3d87ef16631abbc611bd8e73feadee6a8e5c14524fc300acaed--phase0-copy-headers ->

node: /Users/schmidi/Library/Developer/Xcode/DerivedData/xx-gvguladiqholtqeybzaixjacqpek/Build/Products/Debug-iphoneos/FBReactNativeSpec/FBReactNativeSpec.framework/Headers/FBReactNativeSpec.h ->

command: target-FBReactNativeSpec-596df37657fef3d87ef16631abbc611bd8e73feadee6a8e5c14524fc300acaed-:Debug:CpHeader /Users/schmidi/Projects/git/xx-12/code/node_modules/react-native/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec.h /Users/schmidi/Library/Developer/Xcode/DerivedData/xx-gvguladiqholtqeybzaixjacqpek/Build/Products/Debug-iphoneos/FBReactNativeSpec/FBReactNativeSpec.framework/Headers/FBReactNativeSpec.h ->

node: /Users/schmidi/Projects/git/xx-12/code/node_modules/react-native/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec.h/ ->

directoryTreeSignature: � ->

directoryContents: /Users/schmidi/Projects/git/xx-12/code/node_modules/react-native/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec.h ->

node: /Users/schmidi/Projects/git/xx-12/code/node_modules/react-native/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec.h ->

command: target-FBReactNativeSpec-596df37657fef3d87ef16631abbc611bd8e73feadee6a8e5c14524fc300acaed-:Debug:PhaseScriptExecution [CP-User] Generate Specs /Users/schmidi/Library/Developer/Xcode/DerivedData/xx-gvguladiqholtqeybzaixjacqpek/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Script-1E8DC3BEC0135B5B2A4A2B289C3C530F.sh

don't know if related, but I had similar problems and workaround works. but my issue was related to thing that I started ios build with yarn. it's related somehow to the fact that this Generate Specs is npm script and won't execute correctly if you run with yarn.  after I tried just npx react-native run-ios from manual -> build success.

This is not resolved. Still happens on 0.64.x

Same problem here.

We've fixed this by moving the build phase that react native adds before the headers phase (It is added after by default)

Is there a release ?

Same problem goes for me, what is the solution ?

We've fixed this by moving the build phase that react native adds before the headers phase (It is added after by default)

How did you do that ?

@JB-CHAUVIN
Click on the Pods project on the left sidebar
Go under Build Phases
Make sure [CP-User] Generate Specs is before Headers

Is there a permanent patch for this? Because the fix works the problem is that we have to re-do it every time we run pod install

We should probably ask FB to re-open this issue, since it seems clear that it is affecting multiple people and is not resolved in the release version.

@JB-CHAUVIN
Click on the Pods project on the left sidebar
Go under Build Phases
Make sure [CP-User] Generate Specs is before Headers

Thanks for your reply,
I do not find this step :(

@JB-CHAUVIN  when you select pods on left sidebar, select `FBReactNativeSpec ` and then you will see this

Great thanks for the replies,
I can confirm that @tushar-singhal @paulxuca solution is working.
And I can confirm that we need a permanent fix for this problem !

Workaround works but doing it each time we use pod install wasn't a solution.
In our case only getting rid of use_frameworks! helped. Luckily, it turned out that we don't need it anymore

Here is a proposed solution from @gmapnl in the react-native-screens project:
https://github.com/software-mansion/react-native-screens/issues/842#issuecomment-812543933
post_install do |installer|
  react_native_post_install(installer)

  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
    end

    if (target.name&.eql?('FBReactNativeSpec'))
      target.build_phases.each do |build_phase|
        if (build_phase.respond_to?(:name) && build_phase.name.eql?('[CP-User] Generate Specs'))
          target.build_phases.move(build_phase, 0)
        end
      end
    end
  end
end

@esilverberg  recommended fix works perfectly well. No need to for any more manual steps.
But still the underlying issue must be fixed in RN!

The fix is not working for us in github actions... Not sure why.
Does anyone know if that's already fixed in any of the nightly builds?

Any updates on this? Just ran into this issue on 0.64.2.

If you have the issue with BVLinearGradient, this fix is in https://github.com/react-native-linear-gradient/react-native-linear-gradient/pull/500 but has not been released yet. You should specify react-native-linear-gradient version from git like this
package.json
  "react-native-linear-gradient": "https://github.com/react-native-linear-gradient/react-native-linear-gradient#0e3af58",

It's not a react native issue per se.
If you have a cycle issue that is mentioning another lib, you should update the lib or open an issue for the lib (and/or patch the lib by replacing in dependency React to React-Core like in the PR above (use https://www.npmjs.com/package/patch-package if needed).
If you have the cycle issue without any explicit deps except FBReactNativeSpec, you might need to have a look to https://github.com/facebook/react-native/issues/31149 where you will find a workaround.

@JB-CHAUVIN
Click on the Pods project on the left sidebar Go under Build Phases Make sure [CP-User] Generate Specs is before Headers

If anyone finds that this fix doesn't work, deleting the [CP-User] Generate spec completely worked for me. App complies/runs as expected.

This helped me
sudo arch -x86_64 gem install ffi
arch -x86_64 pod install


CUDA error: invalid device ordinal  (Finetuning with only one GPU)

Hi Xiaoxin,
I want to express my appreciation for the incredible work you and your team are doing.
But I encounted a problem: When I attempt to run the process on a single GPU, I get the following error:
Traceback (most recent call last):
  File "/home/ dr/research/G-Retriever/train.py", line 146, in <module>
    main(args)
  File "/home/ dr/research/G-Retriever/train.py", line 48, in main
    model = load_model[args.model_name](graph_type=dataset.graph_type, args=args, init_prompt=dataset.prompt)
  File "/home/ dr/research/G-Retriever/src/model/graph_llm.py", line 43, in __init__
    model = AutoModelForCausalLM.from_pretrained(
  File "/opt/anaconda3/envs/ dr-g_ret/lib/python3.9/site-packages/transformers/models/auto/auto_factory.py", line 564, in from_pretrained
    return model_class.from_pretrained(
  File "/opt/anaconda3/envs/ dr-g_ret/lib/python3.9/site-packages/transformers/modeling_utils.py", line 4225, in from_pretrained
    ) = cls._load_pretrained_model(
  File "/opt/anaconda3/envs/ dr-g_ret/lib/python3.9/site-packages/transformers/modeling_utils.py", line 4728, in _load_pretrained_model
    new_error_msgs, offload_index, state_dict_index = _load_state_dict_into_meta_model(
  File "/opt/anaconda3/envs/ dr-g_ret/lib/python3.9/site-packages/transformers/modeling_utils.py", line 993, in _load_state_dict_into_meta_model
    set_module_tensor_to_device(model, param_name, param_device, **set_module_kwargs)
  File "/opt/anaconda3/envs/ dr-g_ret/lib/python3.9/site-packages/accelerate/utils/modeling.py", line 329, in set_module_tensor_to_device
    new_value = value.to(device)
RuntimeError: CUDA error: invalid device ordinal
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

When I use two GPUs, the process runs without any issues. However, due to limited resources, using two GPUs is not feasible for me.
Could you please advise on how I might be able to successfully run the fine-tuning on just one GPU?
To roproduce the bug, run:
CUDA_VISIBLE_DEVICES=0 python train.py --dataset webqsp --model_name graph_llm --llm_frozen False

I think you could follow the suggestion reported here: https://github.com/XiaoxinHe/G-Retriever/issues/29.

In general, you could try with my fork in the colab branch, in which I tried to address some of the issues related to the usage of one GPU: https://github.com/giuseppefutia/G-Retriever/tree/colab.
I tested with the following command and it should work:
!CUDA_LAUNCH_BLOCKING=1 python train.py --dataset webqsp --model_name graph_llm --llm_frozen False --batch_size 1 --eval_batch_size 2


Regarding validation error message position

Description of issue
I'm not able to position the Yup validation error message
Usage example
This is an  element:
<Input name="username" type="text" placeholder="Username" />

And I'm using this validation for the username field:
const schema = Yup.object().shape({
  username: Yup.string().required('Username is required')
})

The validation is called when the username field is empty and the message Username is required show up just after the <Input> field. After the validation message is called this is what I have:
<input type="text" placeholder="Username" id="username" name="username" aria-label="username" value="">
Username is required

Is it possible to position the validation message in another place?

Hi @converge, where do you want to show the message? If it's like above the input you can use order property from CSS with display: flex around the input and the error to achieve that.
Do you have any suggestions about position options we could give to the user?

I'm used to work with Formik approach, and it's quite nice:
<ErrorMessage name='email' className='field-validation' component='div' />

You have this ErrorMessage component, in this way, we're free for positioning the error message/element anywhere, just referencing it by name.
What are your thoughts?

@converge I think it would be good if you could give us a real example showing where you want to put error messages.
I know Formik is very elastic as it exposes API's for almost everything, but each of these components need to listen to input changes so many renders are executed in background.
The main focus of unform is to be performatic so we need to study it limitations and see if we can add more API's to handle these edge cases like error message location.

I think I could pass one or more className to span through the parent input. It is possible?I think I could pass one or more className to span through the parent input. It is possible?

@joaogn Today we don't supporting passing any props to error span, but we're welcome to receive contributions.

I'm missing that as well. Unform is rich on making our lives simple while creating forms, but poor on error customisation. Not all forms can display errors using , and that's when things get complicated. While having error handling automatically done by the library is good in many situations, there are others that are not really positive.
It might be a good idea to have a way to tell Unform to not display the errors below the fields, but instead pass the list of errors in the submit function, like:
<Form
  enableDefaultValidation={false}
  onSubmit={(data: any, errors: Array<{ field: string, error: string }>) => {}}>
...
</Form>

This way we would be able to grab all the errors and handle them in the way we want, while keeping the current behaviour for the other cases.

Tbm estou com problemas para usá-lo no theme Argon, pois o erro é inserido numa div.

One suggestion would be something to handle javascript errors.
For example:
1 - I click submit
2 - Yup Verification Finds Validation Failure
3 - Instead of appearing a message below the input, have an error "observer".
4 - Send and handle this error as desired by the application

Unform released version 2.0 🎉
Now the library does not includes it's own components of Input, Select, etc.
So you need to create your custom input with Unform's useField API.
This way, you can customize the error position and all the other input styles.
Check this guide to start creating your custom input.


Fixed issue with RxIndicatorSampleExtFrame

Resolving an issue when reading packets from an XBee 900HP with cyclic
data sampling. Removed SerializeWhen attributes from AnalogSamples.
Modified frame inheritance. Fixed FieldCount path string for
AnalogSamples.

Thanks!  Just pushed as part of 1.9.

hi jefffhaynes....i would like to ask a few questions on xbee, can we communicate using email?

Sure
On Thu, Apr 7, 2016 at 8:27 PM -0700, "izham0108"<EMAIL_ADDRESS>wrote:
hi jefffhaynes....i would like to ask a few questions on xbee, can we communicate using email?
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub

Great! Can I have your email address?
Here is mine<EMAIL_ADDRESS>


Support .vue files

Would it be possible to add support for .vue file types?
These typically contain an import section which would greatly benefit this plugin.
Had a look at the current customization options and I don't think it is currently possible.

+1 same to me.


FST tracer produces empty file

Hello,
I want to confirm that I'm not using the tool incorrectly. When I run one of the examples (e.g., simple_system with the -t flag) that instantiates a tracer, I'm only getting empty fst traces (they are all exactly 119B in size, no matter which example I run). The ftr tracing part seems to be working fine.
However, when I switch the tracing format to SC_VCD, a valid VCD file is generated that can be opened by the regular trace file viewer. Am I doing something wrong?
I tested both the 2024.07 version and also the current development version. My SystemC version is 2.3.4.

Hi Derek, can you bvriefly describe the environment you are working in (OS, compiler, etc.)?

Sure, I'm on Fedora 41 and compiled the project using gcc 14.2.1. Both SystemC (2.3.4) itself and SCC is compiled with C++17.
The boost version is 1.83.0 and zlib-ng is 2.1.7. Is there any else information that might be useful?

I cannot verify this. I used a docker container:
docker pull fedora:41 && docker run --rm -ti fedora:41 bash
dnf install gcc g++  cmake ninja git -y
git clone -b develop --recursive https://github.com/Minres/SystemC-Components.git
cd SystemC-Components/
python3 -mvenv .venv
 . .venv/bin/activate
pip3 install 'conan<2.0'
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_STANDARD=17
cmake --build build -j12
build/examples/simple_system/simple_system -t

works well and produces a valid FST file. Even when moving fmt to version 11.0.1 and spdlog to 1.14 (using the changes from #60) the FST file gets created properly.

I did some tinkering and when enabling conan, it did also work for me. However, as soon as I link my system-installed SystemC instead of the one built by conan, it doesn't work anymore.
My originally used SystemC is just the plain, unmodified 2.3.4 version built and installed with CMake, so I tought it should work.

How do you build the SystemC library?

I see, thanks for pointing that out! Now it works for me.
Maybe this is something worth noting in the README, as this is a default setting set by SystemC? Other users might stumble upon this too.


Gravityburst ban appeal

I am very sorry for what I did, I was making bad things and bad signs in the server for about 2 hours and I am very sorry that was a little over 6 months I think, I am now more mature and I think I should get another chance even though you guys may not forgive me. Thank you for listening
Discord Gravity#9158
MINECRAFT USERNAME: Gravityburst

I am so sorry for what i did

No.

sorry i made another one i think this one got closed?

Yeah haha sorry I totally did it on purpose


Create wireframe images for the list items on the Components and Layout Patterns overview pages

As an IBM.com library adopter, I need to see not only the list but the image of the component or layout pattern so I can quickly find what I need on the Components and Layout Patterns overview pages.
Tasks

Create wireframe images for available Components and Layout Patterns on the current overview pages.
Review the images with Wonil and stream leads for feedback.
Finalize the images and have them ready for the website update.

Acceptance criteria

[ ] All listed components and layout patterns have a wireframe image for representation.

@jacobottesen-dgc The set up on the Carbon website Components Overview page will be our reference and goal.

Meeting with Jenny on July 6th to review a few wireframe designs.

Testing

@JennySanchez I've finished all the components, would you mind reviewing these for visual feedback?

Thank you, @jacobottesen-dgc
Let me know if you have any questions after taking a look at the few things shared below.

For the "Call out", I think the gray background is not part of it.
For the "Card group" is incorrect. It should look like a group of cards. It currently looks exactly like the Button Group above.
For the "Content item horizontal", maybe update the second link to be a different action icon? Right now it has two exactly same sets of CTAs and it looks like it's a mistake. See Storybook for reference here.
For the "Feature card", should the arrow in Blue 60?
For the "Image" it looks accurate but I wonder if there's something else we can do to make it more interesting? Instead of a gray square? What do you think?
For the "Link list", (If it's the default version) I believe there's dividing line in between each link. See Storybook for reference here.
For the "Local modal", are the CTA arrows missing? See Storybook for reference here.

Finished all wireframes for components and pattern. Waiting for review/approval from design team

View all wireframes images in sketch file: https://ibm.box.com/s/7gvawiosegrq99gkdauxvvem81ls7poy


format config as YAML

What do you think is the effort to support a YAML based config file in MM? I often have typos in the JSON and think that YAML would be a lot easier to maintain.

Nah, not worth it.
This is one of the reasons: https://docs.magicmirror.builders/getting-started/manifesto.html

And with that I mean, taking away hurdles like json doesn't teach you anything.

Doesnt yaml have the problem of requiring correct intendation?

every language has its quirks. for the untrained they are all mine fields
thats why I created the form based config.  config should not be like this. its the least important part of the solution, and currently causes the most trouble

I often have typos in the JSON

Its no JSON but a javascript object.

and think that YAML would be a lot easier to maintain.

That depends on the person using it.

Doesnt yaml have the problem of requiring correct intendation?

corrrect, and if you ever had a tab instead of spaces in a yaml file you often get no leading error message from the tools using this incorrect file ... real fun.

every language has its quirks. for the untrained they are all mine fields

👍


Change heading copy for brief responses application

Don't merge this PR before merging this PR: https://github.com/alphagov/digitalmarketplace-brief-responses-frontend/pull/16

Annoyingly we'll need two versions of each test, so that they'll pass on both preview and staging as we deploy.
So something like:
# old version
@skip-local @skip-preview
When I enter<EMAIL_ADDRESS>in the 'respondToEmailAddress' field
    And I click 'Save and continue'
   Then I am on the 'Check your answers' page
   ...

# new version
@skip-staging
When I enter<EMAIL_ADDRESS>in the 'respondToEmailAddress' field
    And I click 'Save and continue'
   Then I am on the 'Check and submit your answers' page
   ...


Investigate other javascript diffing libraries

Would like to investigate alternatives to jsdiff such as google-diff-match-patch, prettydiff, etc. My hope is a new library would improve performance and/or diff success.

I'd like to request adding wikEd diff (project discussion page, online interface) to the list of javascript diffing libraries to be integrated eventually. It does quite a good job of handling "block moves" in diffs


opendht: 1.7.1 -> 1.7.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/opendht/versions.
These checks were done:

built on NixOS
ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtnode -h’ got 0 exit code
ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtnode --help’ got 0 exit code
ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtnode help’ got 0 exit code
ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtchat -h’ got 0 exit code
ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtchat --help’ got 0 exit code
ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtscanner -h’ got 0 exit code
ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtscanner --help’ got 0 exit code
found 1.7.2 with grep in /nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2
directory tree listing: https://gist.github.com/bae66cd16ade0c7ae0789b34e0528267

cc @Radvendii @olynch for testing

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: opendht
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: opendht
Partial log (click to expand)
shrinking /nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/lib/libopendht.so.0.0.0
shrinking /nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtnode
shrinking /nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtchat
shrinking /nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtscanner
gzipping man pages under /nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/lib  /nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin
patching script interpreter paths in /nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2
checking for references to /build in /nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2...
/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2

Success on aarch64-linux (full log)
Attempted: opendht
Partial log (click to expand)
shrinking /nix/store/ph3qindxphyhrzfvzmrp9mvfklbrsp81-opendht-1.7.2/bin/dhtscanner
shrinking /nix/store/ph3qindxphyhrzfvzmrp9mvfklbrsp81-opendht-1.7.2/bin/dhtchat
shrinking /nix/store/ph3qindxphyhrzfvzmrp9mvfklbrsp81-opendht-1.7.2/bin/dhtnode
shrinking /nix/store/ph3qindxphyhrzfvzmrp9mvfklbrsp81-opendht-1.7.2/lib/libopendht.so.0.0.0
gzipping man pages under /nix/store/ph3qindxphyhrzfvzmrp9mvfklbrsp81-opendht-1.7.2/share/man/
strip is /nix/store/gp7fylxwn18b7pl2c18ks89hsiaxyfvf-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ph3qindxphyhrzfvzmrp9mvfklbrsp81-opendht-1.7.2/lib  /nix/store/ph3qindxphyhrzfvzmrp9mvfklbrsp81-opendht-1.7.2/bin
patching script interpreter paths in /nix/store/ph3qindxphyhrzfvzmrp9mvfklbrsp81-opendht-1.7.2
checking for references to /build in /nix/store/ph3qindxphyhrzfvzmrp9mvfklbrsp81-opendht-1.7.2...
/nix/store/ph3qindxphyhrzfvzmrp9mvfklbrsp81-opendht-1.7.2


Fix #1033 prevent static properties from serializing

See #1033 for additional information.

Great, thanks!


Add pages for merge queues and Mergify

Add usage of merge queues to Rush's best practices
Document integration of Mergify with Rush
Link to the upcoming https://github.com/tiktok/project-impact-graph effort

@Syffe @sileht  FYI


Documentation for branch filter for pipeline resources is wrong

branch: string  # branch to pick the artifact, optional; defaults to all branches; Used only for manual or scheduled triggers

This is wrong. This filter is used for pipeline triggers as well.

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

ID: ee4ec9d0-e0d5-4fb4-7c3e-b84abfa290c2
Version Independent ID: 3e2b80d9-30e5-0c48-49f0-4fcdfedf5eee
Content: Resources - Azure Pipelines
Content Source: docs/pipelines/process/resources.md
Product: devops
Technology: devops-cicd-process
GitHub Login: @juliakm
Microsoft Alias: jukullam

#reassign steved0x


progress in tutorial

Coverage increased (+5.7%) to 42.529% when pulling b64703588de4ccf8470fc20c11ea97ea6717cdde on norges:tutorial_wip into d5fd52c818b07dcac4abe7eb852a216c80b6fde2 on keeppythonweird:master.


[Bug]: error: ‘numeric_limits’ is not a member of ‘std’

Describe the issue
Compilation fails with gcc/11.2.1 and gcc/12.1.1.
abseil-cpp/absl/synchronization/internal/graphcycles.cc:451:26: error: ‘numeric_limits’ is not a member of ‘std’
451 |   if (x->version == std::numeric_limits<uint32_t>::max()) {
|                          ^~~~~~~~~~~~~~
abseil-cpp/absl/synchronization/internal/graphcycles.cc:451:49: error: expected primary-expression before ‘>’ token
451 |   if (x->version == std::numeric_limits<uint32_t>::max()) {
|                                                 ^
abseil-cpp/absl/synchronization/internal/graphcycles.cc:451:52: error: ‘::max’ has not been declared; did you mean ‘std::max’?
451 |   if (x->version == std::numeric_limits<uint32_t>::max()) {
|                                                    ^~~
|                                                    std::max
Steps to reproduce the problem
It was part of gRPC building via
FetchContent_Declare(grpc
GIT_REPOSITORY https://github.com/grpc/grpc.git
GIT_TAG        v1.28.0)
What version of Abseil are you using?
commit b832dce8489ef7b6231384909fd9b68d5a5ff2b7 (HEAD, tag: 20200225)
Author: Abseil Team<EMAIL_ADDRESS>Date:   Tue Feb 25 22:27:31 2020 +0100
What operating system and version are you using?
linux toss 4 (4.18.0-4<IP_ADDRESS>toss.t4.x86_64). It is based on redhat deployed on LLNL systems.
What compiler and version are you using?
gcc/11.2.1 and gcc/12.1.1.
What build system are you using?
cmake/3.26.3
Additional context
Simply adding "#include " fixes the issue.

https://github.com/abseil/abseil-cpp/blob/lts_2023_01_25/absl/synchronization/internal/graphcycles.cc#L40

What version of Abseil are you using?
commit b832dce (HEAD, tag: 20200225) Author: Abseil Team<EMAIL_ADDRESS>Date: Tue Feb 25 22:27:31 2020 +0100

This issue has been fixed for nearly 3 years. Update to a more recent version.


Serialize problems

@phschiele: What's the latest state on serialization of cvxpy problems? Is it safe to use for now pickle? I remember there was an alternative to pickle that's more powerful but I forgot the name

@tschm Maybe you mean dill? Right now, serialization is not officially supported.
It should work for most simple/unsolved problems, though.
The best workaround so far is described here:
https://github.com/cvxpy/cvxpy/issues/1438#issuecomment-879081133


The field 'Client.matters' has been declared as LINKSET but contains a null record (probably a deleted record?)

We have sent you some code to reproduce the error privately. It looks to us that it is something to do with orient's lazy loading - if we go through and print the values out before committing the transaction everything works fine. This is in a single database (not distributed) and seems to have been introduced since 2.0.1 as the code I sent passes when using 2.0.1.

Thank you @gemmell
Going to debug and let you know.

Great, let me know if you need clarification on anything.

Tested with 2.0.2 and works. The first release broken is 2.0.3. We're investigating the commit caused this problem.

fixed in 2.0.x and develop branch the fix will be out with 2.0.9.
relative commit : https://github.com/orientechnologies/orientdb/commit/5e41595f7909264b93b13143c60cda9c89f346df
closing


Support multiple models registration in @admin.register fixer

Addresses point number 2 (Multiple model registration) of #190
Following a review on the initial @admin.register fixer, I've also updated documentation links to /en/stable/releases/ to remove yellow/red banners.

Following a review on the initial @admin.register fixer, I've also updated documentation links to /en/stable/releases/ to remove yellow/red banners.

I'd prefer not to do this for documentation versions that are still online. It's better to link to the Django 3.1 version of the 3.1 release notes, rather than the Django 4.1 version of the 3.1 release notes, to avoid confusion. I only suggested it for Django 1.7 because it's offline and you found you needed to link to the dev version, but stable` is better there since it doesn't have the yellow "future version" banner. Can you undo the changes here? 😅

Also in general please split PR's if they touch orthogonal areas of the code.